Found 461 repositories(showing 30)
chrisneagu
NOTICE This repository contains the public FTC SDK for the SKYSTONE (2019-2020) competition season. If you are looking for the current season's FTC SDK software, please visit the new and permanent home of the public FTC SDK: FtcRobotController repository Welcome! This GitHub repository contains the source code that is used to build an Android app to control a FIRST Tech Challenge competition robot. To use this SDK, download/clone the entire project to your local computer. Getting Started If you are new to robotics or new to the FIRST Tech Challenge, then you should consider reviewing the FTC Blocks Tutorial to get familiar with how to use the control system: FTC Blocks Online Tutorial Even if you are an advanced Java programmer, it is helpful to start with the FTC Blocks tutorial, and then migrate to the OnBot Java Tool or to Android Studio afterwards. Downloading the Project If you are an Android Studio programmer, there are several ways to download this repo. Note that if you use the Blocks or OnBot Java Tool to program your robot, then you do not need to download this repository. If you are a git user, you can clone the most current version of the repository: git clone https://github.com/FIRST-Tech-Challenge/SKYSTONE.git Or, if you prefer, you can use the "Download Zip" button available through the main repository page. Downloading the project as a .ZIP file will keep the size of the download manageable. You can also download the project folder (as a .zip or .tar.gz archive file) from the Downloads subsection of the Releases page for this repository. Once you have downloaded and uncompressed (if needed) your folder, you can use Android Studio to import the folder ("Import project (Eclipse ADT, Gradle, etc.)"). Getting Help User Documentation and Tutorials FIRST maintains online documentation with information and tutorials on how to use the FIRST Tech Challenge software and robot control system. You can access this documentation using the following link: SKYSTONE Online Documentation Note that the online documentation is an "evergreen" document that is constantly being updated and edited. It contains the most current information about the FIRST Tech Challenge software and control system. Javadoc Reference Material The Javadoc reference documentation for the FTC SDK is now available online. Click on the following link to view the FTC SDK Javadoc documentation as a live website: FTC Javadoc Documentation Documentation for the FTC SDK is also included with this repository. There is a subfolder called "doc" which contains several subfolders: The folder "apk" contains the .apk files for the FTC Driver Station and FTC Robot Controller apps. The folder "javadoc" contains the JavaDoc user documentation for the FTC SDK. Online User Forum For technical questions regarding the Control System or the FTC SDK, please visit the FTC Technology forum: FTC Technology Forum Release Information Version 5.5 (20200824-090813) Version 5.5 requires Android Studio 4.0 or later. New features Adds support for calling custom Java classes from Blocks OpModes (fixes SkyStone issue #161). Classes must be in the org.firstinspires.ftc.teamcode package. Methods must be public static and have no more than 21 parameters. Parameters declared as OpMode, LinearOpMode, Telemetry, and HardwareMap are supported and the argument is provided automatically, regardless of the order of the parameters. On the block, the sockets for those parameters are automatically filled in. Parameters declared as char or java.lang.Character will accept any block that returns text and will only use the first character in the text. Parameters declared as boolean or java.lang.Boolean will accept any block that returns boolean. Parameters declared as byte, java.lang.Byte, short, java.lang.Short, int, java.lang.Integer, long, or java.lang.Long, will accept any block that returns a number and will round that value to the nearest whole number. Parameters declared as float, java.lang.Float, double, java.lang.Double will accept any block that returns a number. Adds telemetry API method for setting display format Classic Monospace HTML (certain tags only) Adds blocks support for switching cameras. Adds Blocks support for TensorFlow Object Detection with a custom model. Adds support for uploading a custom TensorFlow Object Detection model in the Manage page, which is especially useful for Blocks and OnBotJava users. Shows new Control Hub blink codes when the WiFi band is switched using the Control Hub's button (only possible on Control Hub OS 1.1.2) Adds new warnings which can be disabled in the Advanced RC Settings Mismatched app versions warning Unnecessary 2.4 GHz WiFi usage warning REV Hub is running outdated firmware (older than version 1.8.2) Adds support for Sony PS4 gamepad, and reworks how gamepads work on the Driver Station Removes preference which sets gamepad type based on driver position. Replaced with menu which allows specifying type for gamepads with unknown VID and PID Attempts to auto-detect gamepad type based on USB VID and PID If gamepad VID and PID is not known, use type specified by user for that VID and PID If gamepad VID and PID is not known AND the user has not specified a type for that VID and PID, an educated guess is made about how to map the gamepad Driver Station will now attempt to automatically recover from a gamepad disconnecting, and re-assign it to the position it was assigned to when it dropped If only one gamepad is assigned and it drops: it can be recovered If two gamepads are assigned, and have different VID/PID signatures, and only one drops: it will be recovered If two gamepads are assigned, and have different VID/PID signatures, and BOTH drop: both will be recovered If two gamepads are assigned, and have the same VID/PID signatures, and only one drops: it will be recovered If two gamepads are assigned, and have the same VID/PID signatures, and BOTH drop: neither will be recovered, because of the ambiguity of the gamepads when they re-appear on the USB bus. There is currently one known edge case: if there are two gamepads with the same VID/PID signature plugged in, but only one is assigned, and they BOTH drop, it's a 50-50 chance of which one will be chosen for automatic recovery to the assigned position: it is determined by whichever one is re-enumerated first by the USB bus controller. Adds landscape user interface to Driver Station New feature: practice timer with audio cues New feature (Control Hub only): wireless network connection strength indicator (0-5 bars) New feature (Control Hub only): tapping on the ping/channel display will switch to an alternate display showing radio RX dBm and link speed (tap again to switch back) The layout will NOT autorotate. You can switch the layout from the Driver Station's settings menu. Breaking changes Removes support for Android versions 4.4 through 5.1 (KitKat and Lollipop). The minSdkVersion is now 23. Removes the deprecated LinearOpMode methods waitOneFullHardwareCycle() and waitForNextHardwareCycle() Enhancements Handles RS485 address of Control Hub automatically The Control Hub is automatically given a reserved address Existing configuration files will continue to work All addresses in the range of 1-10 are still available for Expansion Hubs The Control Hub light will now normally be solid green, without blinking to indicate the address The Control Hub will not be shown on the Expansion Hub Address Change settings page Improves REV Hub firmware updater The user can now choose between all available firmware update files Version 1.8.2 of the REV Hub firmware is bundled into the Robot Controller app. Text was added to clarify that Expansion Hubs can only be updated via USB. Firmware update speed was reduced to improve reliability Allows REV Hub firmware to be updated directly from the Manage webpage Improves log viewer on Robot Controller Horizontal scrolling support (no longer word wrapped) Supports pinch-to-zoom Uses a monospaced font Error messages are highlighted New color scheme Attempts to force-stop a runaway/stuck OpMode without restarting the entire app Not all types of runaway conditions are stoppable, but if the user code attempts to talk to hardware during the runaway, the system should be able to capture it. Makes various tweaks to the Self Inspect screen Renames "OS version" entry to "Android version" Renames "WiFi Direct Name" to "WiFi Name" Adds Control Hub OS version, when viewing the report of a Control Hub Hides the airplane mode entry, when viewing the report of a Control Hub Removes check for ZTE Speed Channel Changer Shows firmware version for all Expansion and Control Hubs Reworks network settings portion of Manage page All network settings are now applied with a single click The WiFi Direct channel of phone-based Robot Controllers can now be changed from the Manage page WiFi channels are filtered by band (2.4 vs 5 GHz) and whether they overlap with other channels The current WiFi channel is pre-selected on phone-based Robot Controllers, and Control Hubs running OS 1.1.2 or later. On Control Hubs running OS 1.1.2 or later, you can choose to have the system automatically select a channel on the 5 GHz band Improves OnBotJava New light and dark themes replace the old themes (chaos, github, chrome,...) the new default theme is light and will be used when you first update to this version OnBotJava now has a tabbed editor Read-only offline mode Improves function of "exit" menu item on Robot Controller and Driver Station Now guaranteed to be fully stopped and unloaded from memory Shows a warning message if a LinearOpMode exists prematurely due to failure to monitor for the start condition Improves error message shown when the Driver Station and Robot Controller are incompatible with each other Driver Station OpMode Control Panel now disabled while a Restart Robot is in progress Disables advanced settings related to WiFi direct when the Robot Controller is a Control Hub. Tint phone battery icons on Driver Station when low/critical. Uses names "Control Hub Portal" and "Control Hub" (when appropriate) in new configuration files Improve I2C read performance Very large improvement on Control Hub; up to ~2x faster with small (e.g. 6 byte) reads Not as apparent on Expansion Hubs connected to a phone Update/refresh build infrastructure Update to 'androidx' support library from 'com.android.support:appcompat', which is end-of-life Update targetSdkVersion and compileSdkVersion to 28 Update Android Studio's Android plugin to latest Fix reported build timestamp in 'About' screen Add sample illustrating manual webcam use: ConceptWebcam Bug fixes Fixes SkyStone issue #248 Fixes SkyStone issue #232 and modifies bulk caching semantics to allow for cache-preserving MANUAL/AUTO transitions. Improves performance when REV 2M distance sensor is unplugged Improves readability of Toast messages on certain devices Allows a Driver Station to connect to a Robot Controller after another has disconnected Improves generation of fake serial numbers for UVC cameras which do not provide a real serial number Previously some devices would assign such cameras a serial of 0:0 and fail to open and start streaming Fixes ftc_app issue #638. Fixes a slew of bugs with the Vuforia camera monitor including: Fixes bug where preview could be displayed with a wonky aspect ratio Fixes bug where preview could be cut off in landscape Fixes bug where preview got totally messed up when rotating phone Fixes bug where crosshair could drift off target when using webcams Fixes issue in UVC driver on some devices (ftc_app 681) if streaming was started/stopped multiple times in a row Issue manifested as kernel panic on devices which do not have this kernel patch. On affected devices which do have the patch, the issue was manifest as simply a failure to start streaming. The Tech Team believes that the root cause of the issue is a bug in the Linux kernel XHCI driver. A workaround was implemented in the SDK UVC driver. Fixes bug in UVC driver where often half the frames from the camera would be dropped (e.g. only 15FPS delivered during a streaming session configured for 30FPS). Fixes issue where TensorFlow Object Detection would show results whose confidence was lower than the minimum confidence parameter. Fixes a potential exploitation issue of CVE-2019-11358 in OnBotJava Fixes changing the address of an Expansion Hub with additional Expansion Hubs connected to it Preserves the Control Hub's network connection when "Restart Robot" is selected Fixes issue where device scans would fail while the Robot was restarting Fix RenderScript usage Use androidx.renderscript variant: increased compatibility Use RenderScript in Java mode, not native: simplifies build Fixes webcam-frame-to-bitmap conversion problem: alpha channel wasn't being initialized, only R, G, & B Fixes possible arithmetic overflow in Deadline Fixes deadlock in Vuforia webcam support which could cause 5-second delays when stopping OpMode Version 5.4 (20200108-101156) Fixes SkyStone issue #88 Adds an inspection item that notes when a robot controller (Control Hub) is using the factory default password. Fixes SkyStone issue #61 Fixes SkyStone issue #142 Fixes ftc_app issue #417 by adding more current and voltage monitoring capabilities for REV Hubs. Fixes a crash sometimes caused by OnBotJava activity Improves OnBotJava autosave functionality ftc_app #738 Fixes system responsiveness issue when an Expansion Hub is disconnected Fixes issue where IMU initialization could prevent Op Modes from stopping Fixes issue where AndroidTextToSpeech.speak() would fail if it was called too early Adds telemetry.speak() methods and blocks, which cause the Driver Station (if also updated) to speak text Adds and improves Expansion Hub-related warnings Improves Expansion Hub low battery warning Displays the warning immediately after the hub reports it Specifies whether the condition is current or occurred temporarily during an OpMode run Displays which hubs reported low battery Displays warning when hub loses and regains power during an OpMode run Fixes the hub's LED pattern after this condition Displays warning when Expansion Hub is not responding to commands Specifies whether the condition is current or occurred temporarily during an OpMode run Clarifies warning when Expansion Hub is not present at startup Specifies that this condition requires a Robot Restart before the hub can be used. The hub light will now accurately reflect this state Improves logging and reduces log spam during these conditions Syncs the Control Hub time and timezone to a connected web browser programming the robot, if a Driver Station is not available. Adds bulk read functionality for REV Hubs A bulk caching mode must be set at the Hub level with LynxModule#setBulkCachingMode(). This applies to all relevant SDK hardware classes that reference that Hub. The following following Hub bulk caching modes are available: BulkCachingMode.OFF (default): All hardware calls operate as usual. Bulk data can read through LynxModule#getBulkData() and processed manually. BulkCachingMode.AUTO: Applicable hardware calls are served from a bulk read cache that is cleared/refreshed automatically to ensure identical commands don't hit the same cache. The cache can also be cleared manually with LynxModule#clearBulkCache(), although this is not recommended. (advanced users) BulkCachingMode.MANUAL: Same as BulkCachingMode.AUTO except the cache is never cleared automatically. To avoid getting stale data, the cache must be manually cleared at the beginning of each loop body or as the user deems appropriate. Removes PIDF Annotation values added in Rev 5.3 (to AndyMark, goBILDA and TETRIX motor configurations). The new motor types will still be available but their Default control behavior will revert back to Rev 5.2 Adds new ConceptMotorBulkRead sample Opmode to demonstrate and compare Motor Bulk-Read modes for reducing I/O latencies. Version 5.3 (20191004-112306) Fixes external USB/UVC webcam support Makes various bugfixes and improvements to Blocks page, including but not limited to: Many visual tweaks Browser zoom and window resize behave better Resizing the Java preview pane works better and more consistently across browsers The Java preview pane consistently gets scrollbars when needed The Java preview pane is hidden by default on phones Internet Explorer 11 should work Large dropdown lists display properly on lower res screens Disabled buttons are now visually identifiable as disabled A warning is shown if a user selects a TFOD sample, but their device is not compatible Warning messages in a Blocks op mode are now visible by default. Adds goBILDA 5201 and 5202 motors to Robot Configurator Adds PIDF Annotation values to AndyMark, goBILDA and TETRIX motor configurations. This has the effect of causing the RUN_USING_ENCODERS and RUN_TO_POSITION modes to use PIDF vs PID closed loop control on these motors. This should provide more responsive, yet stable, speed control. PIDF adds Feedforward control to the basic PID control loop. Feedforward is useful when controlling a motor's speed because it "anticipates" how much the control voltage must change to achieve a new speed set-point, rather than requiring the integrated error to change sufficiently. The PIDF values were chosen to provide responsive, yet stable, speed control on a lightly loaded motor. The more heavily a motor is loaded (drag or friction), the more noticable the PIDF improvement will be. Fixes startup crash on Android 10 Fixes ftc_app issue #712 (thanks to FROGbots-4634) Fixes ftc_app issue #542 Allows "A" and lowercase letters when naming device through RC and DS apps. Version 5.2 (20190905-083277) Fixes extra-wide margins on settings activities, and placement of the new configuration button Adds Skystone Vuforia image target data. Includes sample Skystone Vuforia Navigation op modes (Java). Includes sample Skystone Vuforia Navigation op modes (Blocks). Adds TensorFlow inference model (.tflite) for Skystone game elements. Includes sample Skystone TensorFlow op modes (Java). Includes sample Skystone TensorFlow op modes (Blocks). Removes older (season-specific) sample op modes. Includes 64-bit support (to comply with Google Play requirements). Protects against Stuck OpModes when a Restart Robot is requested. (Thanks to FROGbots-4634) (ftc_app issue #709) Blocks related changes: Fixes bug with blocks generated code when hardware device name is a java or javascript reserved word. Shows generated java code for blocks, even when hardware items are missing from the active configuration. Displays warning icon when outdated Vuforia and TensorFlow blocks are used (SkyStone issue #27) Version 5.1 (20190820-222104) Defines default PIDF parameters for the following motors: REV Core Hex Motor REV 20:1 HD Hex Motor REV 40:1 HD Hex Motor Adds back button when running on a device without a system back button (such as a Control Hub) Allows a REV Control Hub to update the firmware on a REV Expansion Hub via USB Fixes SkyStone issue #9 Fixes ftc_app issue #715 Prevents extra DS User clicks by filtering based on current state. Prevents incorrect DS UI state changes when receiving new OpMode list from RC Adds support for REV Color Sensor V3 Adds a manual-refresh DS Camera Stream for remotely viewing RC camera frames. To show the stream on the DS, initialize but do not run a stream-enabled opmode, select the Camera Stream option in the DS menu, and tap the image to refresh. This feature is automatically enabled when using Vuforia or TFOD—no additional RC configuration is required for typical use cases. To hide the stream, select the same menu item again. Note that gamepads are disabled and the selected opmode cannot be started while the stream is open as a safety precaution. To use custom streams, consult the API docs for CameraStreamServer#setSource and CameraStreamSource. Adds many Star Wars sounds to RobotController resources. Added SKYSTONE Sounds Chooser Sample Program. Switches out startup, connect chimes, and error/warning sounds for Star Wars sounds Updates OnBot Java to use a WebSocket for communication with the robot The OnBot Java page no longer has to do a full refresh when a user switches from editing one file to another Known issues: Camera Stream The Vuforia camera stream inherits the issues present in the phone preview (namely ftc_app issue #574). This problem does not affect the TFOD camera stream even though it receives frames from Vuforia. The orientation of the stream frames may not always match the phone preview. For now, these frames may be rotated manually via a custom CameraStreamSource if desired. OnBotJava Browser back button may not always work correctly It's possible for a build to be queued, but not started. The OnBot Java build console will display a warning if this occurs. A user might not realize they are editing a different file if the user inadvertently switches from one file to another since this switch is now seamless. The name of the currently open file is displayed in the browser tab. Version 5.0 (built on 19.06.14) Support for the REV Robotics Control Hub. Adds a Java preview pane to the Blocks editor. Adds a new offline export feature to the Blocks editor. Display wifi channel in Network circle on Driver Station. Adds calibration for Logitech C270 Updates build tooling and target SDK. Compliance with Google's permissions infrastructure (Required after build tooling update). Keep Alives to mitigate the Motorola wifi scanning problem. Telemetry substitute no longer necessary. Improves Vuforia error reporting. Fixes ftctechnh/ftc_app issues 621, 713. Miscellaneous bug fixes and improvements. Version 4.3 (built on 18.10.31) Includes missing TensorFlow-related libraries and files. Version 4.2 (built on 18.10.30) Includes fix to avoid deadlock situation with WatchdogMonitor which could result in USB communication errors. Comm error appeared to require that user disconnect USB cable and restart the Robot Controller app to recover. robotControllerLog.txt would have error messages that included the words "E RobotCore: lynx xmit lock: #### abandoning lock:" Includes fix to correctly list the parent module address for a REV Robotics Expansion Hub in a configuration (.xml) file. Bug in versions 4.0 and 4.1 would incorrect list the address module for a parent REV Robotics device as "1". If the parent module had a higher address value than the daisy-chained module, then this bug would prevent the Robot Controller from communicating with the downstream Expansion Hub. Added requirement for ACCESS_COARSE_LOCATION to allow a Driver Station running Android Oreo to scan for Wi-Fi Direct devices. Added google() repo to build.gradle because aapt2 must be downloaded from the google() repository beginning with version 3.2 of the Android Gradle Plugin. Important Note: Android Studio users will need to be connected to the Internet the first time build the ftc_app project. Internet connectivity is required for the first build so the appropriate files can be downloaded from the Google repository. Users should not need to be connected to the Internet for subsequent builds. This should also fix buid issue where Android Studio would complain that it "Could not find com.android.tools.lint:lint-gradle:26.1.4" (or similar). Added support for REV Spark Mini motor controller as part of the configuration menu for a servo/PWM port on the REV Expansion Hub. Provide examples for playing audio files in an Op Mode. Block Development Tool Changes Includes a fix for a problem with the Velocity blocks that were reported in the FTC Technology forum (Blocks Programming subforum). Change the "Save completed successfully." message to a white color so it will contrast with a green background. Fixed the "Download image" feature so it will work if there are text blocks in the op mode. Introduce support for Google's TensorFlow Lite technology for object detetion for 2018-2019 game. TensorFlow lite can recognize Gold Mineral and Silver Mineral from 2018-2019 game. Example Java and Block op modes are included to show how to determine the relative position of the gold block (left, center, right). Version 4.1 (released on 18.09.24) Changes include: Fix to prevent crash when deprecated configuration annotations are used. Change to allow FTC Robot Controller APK to be auto-updated using FIRST Global Control Hub update scripts. Removed samples for non supported / non legal hardware. Improvements to Telemetry.addData block with "text" socket. Updated Blocks sample op mode list to include Rover Ruckus Vuforia example. Update SDK library version number. Version 4.0 (released on 18.09.12) Changes include: Initial support for UVC compatible cameras If UVC camera has a unique serial number, RC will detect and enumerate by serial number. If UVC camera lacks a unique serial number, RC will only support one camera of that type connected. Calibration settings for a few cameras are included (see TeamCode/src/main/res/xml/teamwebcamcalibrations.xml for details). User can upload calibration files from Program and Manage web interface. UVC cameras seem to draw a fair amount of electrical current from the USB bus. This does not appear to present any problems for the REV Robotics Control Hub. This does seem to create stability problems when using some cameras with an Android phone-based Robot Controller. FTC Tech Team is investigating options to mitigate this issue with the phone-based Robot Controllers. Updated sample Vuforia Navigation and VuMark Op Modes to demonstrate how to use an internal phone-based camera and an external UVC webcam. Support for improved motor control. REV Robotics Expansion Hub firmware 1.8 and greater will support a feed forward mechanism for closed loop motor control. FTC SDK has been modified to support PIDF coefficients (proportional, integral, derivative, and feed forward). FTC Blocks development tool modified to include PIDF programming blocks. Deprecated older PID-related methods and variables. REV's 1.8.x PIDF-related changes provide a more linear and accurate way to control a motor. Wireless Added 5GHz support for wireless channel changing for those devices that support it. Tested with Moto G5 and E4 phones. Also tested with other (currently non-approved) phones such as Samsung Galaxy S8. Improved Expansion Hub firmware update support in Robot Controller app Changes to make the system more robust during the firmware update process (when performed through Robot Controller app). User no longer has to disconnect a downstream daisy-chained Expansion Hub when updating an Expansion Hub's firmware. If user is updating an Expansion Hub's firmware through a USB connection, he/she does not have to disconnect RS485 connection to other Expansion Hubs. The user still must use a USB connection to update an Expansion Hub's firmware. The user cannot update the Expansion Hub firmware for a downstream device that is daisy chained through an RS485 connection. If an Expansion Hub accidentally gets "bricked" the Robot Controller app is now more likely to recognize the Hub when it scans the USB bus. Robot Controller app should be able to detect an Expansion Hub, even if it accidentally was bricked in a previous update attempt. Robot Controller app should be able to install the firmware onto the Hub, even if if accidentally was bricked in a previous update attempt. Resiliency FTC software can detect and enable an FTDI reset feature that is available with REV Robotics v1.8 Expansion Hub firmware and greater. When enabled, the Expansion Hub can detect if it hasn't communicated with the Robot Controller over the FTDI (USB) connection. If the Hub hasn't heard from the Robot Controller in a while, it will reset the FTDI connection. This action helps system recover from some ESD-induced disruptions. Various fixes to improve reliability of FTC software. Blocks Fixed errors with string and list indices in blocks export to java. Support for USB connected UVC webcams. Refactored optimized Blocks Vuforia code to support Rover Ruckus image targets. Added programming blocks to support PIDF (proportional, integral, derivative and feed forward) motor control. Added formatting options (under Telemetry and Miscellaneous categories) so user can set how many decimal places to display a numerical value. Support to play audio files (which are uploaded through Blocks web interface) on Driver Station in addition to the Robot Controller. Fixed bug with Download Image of Blocks feature. Support for REV Robotics Blinkin LED Controller. Support for REV Robotics 2m Distance Sensor. Added support for a REV Touch Sensor (no longer have to configure as a generic digital device). Added blocks for DcMotorEx methods. These are enhanced methods that you can use when supported by the motor controller hardware. The REV Robotics Expansion Hub supports these enhanced methods. Enhanced methods include methods to get/set motor velocity (in encoder pulses per second), get/set PIDF coefficients, etc.. Modest Improvements in Logging Decrease frequency of battery checker voltage statements. Removed non-FTC related log statements (wherever possible). Introduced a "Match Logging" feature. Under "Settings" a user can enable/disable this feature (it's disabled by default). If enabled, user provides a "Match Number" through the Driver Station user interface (top of the screen). The Match Number is used to create a log file specifically with log statements from that particular Op Mode run. Match log files are stored in /sdcard/FIRST/matlogs on the Robot Controller. Once an op mode run is complete, the Match Number is cleared. This is a convenient way to create a separate match log with statements only related to a specific op mode run. New Devices Support for REV Robotics Blinkin LED Controller. Support for REV Robotics 2m Distance Sensor. Added configuration option for REV 20:1 HD Hex Motor. Added support for a REV Touch Sensor (no longer have to configure as a generic digital device). Miscellaneous Fixed some errors in the definitions for acceleration and velocity in our javadoc documentation. Added ability to play audio files on Driver Station When user is configuring an Expansion Hub, the LED on the Expansion Hub will change blink pattern (purple-cyan) to indicate which Hub is currently being configured. Renamed I2cSensorType to I2cDeviceType. Added an external sample Op Mode that demonstrates localization using 2018-2019 (Rover Ruckus presented by QualComm) Vuforia targets. Added an external sample Op Mode that demonstrates how to use the REV Robotics 2m Laser Distance Sensor. Added an external sample Op Mode that demonstrates how to use the REV Robotics Blinkin LED Controller. Re-categorized external Java sample Op Modes to "TeleOp" instead of "Autonomous". Known issues: Initial support for UVC compatible cameras UVC cameras seem to draw significant amount of current from the USB bus. This does not appear to present any problems for the REV Robotics Control Hub. This does seem to create stability problems when using some cameras with an Android phone-based Robot Controller. FTC Tech Team is investigating options to mitigate this issue with the phone-based Robot Controllers. There might be a possible deadlock which causes the RC to become unresponsive when using a UVC webcam with a Nougat Android Robot Controller. Wireless When user selects a wireless channel, this channel does not necessarily persist if the phone is power cycled. Tech Team is hoping to eventually address this issue in a future release. Issue has been present since apps were introduced (i.e., it is not new with the v4.0 release). Wireless channel is not currently displayed for WiFi Direct connections. Miscellaneous The blink indication feature that shows which Expansion Hub is currently being configured does not work for a newly created configuration file. User has to first save a newly created configuration file and then close and re-edit the file in order for blink indicator to work. Version 3.6 (built on 17.12.18) Changes include: Blocks Changes Uses updated Google Blockly software to allow users to edit their op modes on Apple iOS devices (including iPad and iPhone). Improvement in Blocks tool to handle corrupt op mode files. Autonomous op modes should no longer get switched back to tele-op after re-opening them to be edited. The system can now detect type mismatches during runtime and alert the user with a message on the Driver Station. Updated javadoc documentation for setPower() method to reflect correct range of values (-1 to +1). Modified VuforiaLocalizerImpl to allow for user rendering of frames Added a user-overrideable onRenderFrame() method which gets called by the class's renderFrame() method. Version 3.5 (built on 17.10.30) Changes with version 3.5 include: Introduced a fix to prevent random op mode stops, which can occur after the Robot Controller app has been paused and then resumed (for example, when a user temporarily turns off the display of the Robot Controller phone, and then turns the screen back on). Introduced a fix to prevent random op mode stops, which were previously caused by random peer disconnect events on the Driver Station. Fixes issue where log files would be closed on pause of the RC or DS, but not re-opened upon resume. Fixes issue with battery handler (voltage) start/stop race. Fixes issue where Android Studio generated op modes would disappear from available list in certain situations. Fixes problem where OnBot Java would not build on REV Robotics Control Hub. Fixes problem where OnBot Java would not build if the date and time on the Robot Controller device was "rewound" (set to an earlier date/time). Improved error message on OnBot Java that occurs when renaming a file fails. Removed unneeded resources from android.jar binaries used by OnBot Java to reduce final size of Robot Controller app. Added MR_ANALOG_TOUCH_SENSOR block to Blocks Programming Tool. Version 3.4 (built on 17.09.06) Changes with version 3.4 include: Added telemetry.update() statement for BlankLinearOpMode template. Renamed sample Block op modes to be more consistent with Java samples. Added some additional sample Block op modes. Reworded OnBot Java readme slightly. Version 3.3 (built on 17.09.04) This version of the software includes improves for the FTC Blocks Programming Tool and the OnBot Java Programming Tool. Changes with verion 3.3 include: Android Studio ftc_app project has been updated to use Gradle Plugin 2.3.3. Android Studio ftc_app project is already using gradle 3.5 distribution. Robot Controller log has been renamed to /sdcard/RobotControllerLog.txt (note that this change was actually introduced w/ v3.2). Improvements in I2C reliability. Optimized I2C read for REV Expansion Hub, with v1.7 firmware or greater. Updated all external/samples (available through OnBot and in Android project folder). Vuforia Added support for VuMarks that will be used for the 2017-2018 season game. Blocks Update to latest Google Blockly release. Sample op modes can be selected as a template when creating new op mode. Fixed bug where the blocks would disappear temporarily when mouse button is held down. Added blocks for Range.clip and Range.scale. User can now disable/enable Block op modes. Fix to prevent occasional Blocks deadlock. OnBot Java Significant improvements with autocomplete function for OnBot Java editor. Sample op modes can be selected as a template when creating new op mode. Fixes and changes to complete hardware setup feature. Updated (and more useful) onBot welcome message. Known issues: Android Studio After updating to the new v3.3 Android Studio project folder, if you get error messages indicating "InvalidVirtualFileAccessException" then you might need to do a File->Invalidate Caches / Restart to clear the error. OnBot Java Sometimes when you push the build button to build all op modes, the RC returns an error message that the build failed. If you press the build button a second time, the build typically suceeds. Version 3.2 (built on 17.08.02) This version of the software introduces the "OnBot Java" Development Tool. Similar to the FTC Blocks Development Tool, the FTC OnBot Java Development Tool allows a user to create, edit and build op modes dynamically using only a Javascript-enabled web browser. The OnBot Java Development Tool is an integrated development environment (IDE) that is served up by the Robot Controller. Op modes are created and edited using a Javascript-enabled browser (Google Chromse is recommended). Op modes are saved on the Robot Controller Android device directly. The OnBot Java Development Tool provides a Java programming environment that does NOT need Android Studio. Changes with version 3.2 include: Enhanced web-based development tools Introduction of OnBot Java Development Tool. Web-based programming and management features are "always on" (user no longer needs to put Robot Controller into programming mode). Web-based management interface (where user can change Robot Controller name and also easily download Robot Controller log file). OnBot Java, Blocks and Management features available from web based interface. Blocks Programming Development Tool: Changed "LynxI2cColorRangeSensor" block to "REV Color/range sensor" block. Fixed tooltip for ColorSensor.isLightOn block. Added blocks for ColorSensor.getNormalizedColors and LynxI2cColorRangeSensor.getNormalizedColors. Added example op modes for digital touch sensor and REV Robotics Color Distance sensor. User selectable color themes. Includes many minor enhancements and fixes (too numerous to list). Known issues: Auto complete function is incomplete and does not support the following (for now): Access via this keyword Access via super keyword Members of the super cloass, not overridden by the class Any methods provided in the current class Inner classes Can't handle casted objects Any objects coming from an parenthetically enclosed expression Version 3.10 (built on 17.05.09) This version of the software provides support for the REV Robotics Expansion Hub. This version also includes improvements in the USB communication layer in an effort to enhance system resiliency. If you were using a 2.x version of the software previously, updating to version 3.1 requires that you also update your Driver Station software in addition to updating the Robot Controller software. Also note that in version 3.10 software, the setMaxSpeed and getMaxSpeed methods are no longer available (not deprecated, they have been removed from the SDK). Also note that the the new 3.x software incorporates motor profiles that a user can select as he/she configures the robot. Changes include: Blocks changes Added VuforiaTrackableDefaultListener.getPose and Vuforia.trackPose blocks. Added optimized blocks support for Vuforia extended tracking. Added atan2 block to the math category. Added useCompetitionFieldTargetLocations parameter to Vuforia.initialize block. If set to false, the target locations are placed at (0,0,0) with target orientation as specified in https://github.com/gearsincorg/FTCVuforiaDemo/blob/master/Robot_Navigation.java tutorial op mode. Incorporates additional improvements to USB comm layer to improve system resiliency (to recover from a greater number of communication disruptions). Additional Notes Regarding Version 3.00 (built on 17.04.13) In addition to the release changes listed below (see section labeled "Version 3.00 (built on 17.04.013)"), version 3.00 has the following important changes: Version 3.00 software uses a new version of the FTC Robocol (robot protocol). If you upgrade to v3.0 on the Robot Controller and/or Android Studio side, you must also upgrade the Driver Station software to match the new Robocol. Version 3.00 software removes the setMaxSpeed and getMaxSpeed methods from the DcMotor class. If you have an op mode that formerly used these methods, you will need to remove the references/calls to these methods. Instead, v3.0 provides the max speed information through the use of motor profiles that are selected by the user during robot configuration. Version 3.00 software currently does not have a mechanism to disable extra i2c sensors. We hope to re-introduce this function with a release in the near future. Version 3.00 (built on 17.04.13) *** Use this version of the software at YOUR OWN RISK!!! *** This software is being released as an "alpha" version. Use this version at your own risk! This pre-release software contains SIGNIFICANT changes, including changes to the Wi-Fi Direct pairing mechanism, rewrites of the I2C sensor classes, changes to the USB/FTDI layer, and the introduction of support for the REV Robotics Expansion Hub and the REV Robotics color-range-light sensor. These changes were implemented to improve the reliability and resiliency of the FTC control system. Please note, however, that version 3.00 is considered "alpha" code. This code is being released so that the FIRST community will have an opportunity to test the new REV Expansion Hub electronics module when it becomes available in May. The developers do not recommend using this code for critical applications (i.e., competition use). *** Use this version of the software at YOUR OWN RISK!!! *** Changes include: Major rework of sensor-related infrastructure. Includes rewriting sensor classes to implement synchronous I2C communication. Fix to reset Autonomous timer back to 30 seconds. Implementation of specific motor profiles for approved 12V motors (includes Tetrix, AndyMark, Matrix and REV models). Modest improvements to enhance Wi-Fi P2P pairing. Fixes telemetry log addition race. Publishes all the sources (not just a select few). Includes Block programming improvements Addition of optimized Vuforia blocks. Auto scrollbar to projects and sounds pages. Fixed blocks paste bug. Blocks execute after while-opModeIsActive loop (to allow for cleanup before exiting op mode). Added gyro integratedZValue block. Fixes bug with projects page for Firefox browser. Added IsSpeaking block to AndroidTextToSpeech. Implements support for the REV Robotics Expansion Hub Implements support for integral REV IMU (physically installed on I2C bus 0, uses same Bosch BNO055 9 axis absolute orientation sensor as Adafruit 9DOF abs orientation sensor). - Implements support for REV color/range/light sensor. Provides support to update Expansion Hub firmware through FTC SDK. Detects REV firmware version and records in log file. Includes support for REV Control Hub (note that the REV Control Hub is not yet approved for FTC use). Implements FTC Blocks programming support for REV Expansion Hub and sensor hardware. Detects and alerts when I2C device disconnect. Version 2.62 (built on 17.01.07) Added null pointer check before calling modeToByte() in finishModeSwitchIfNecessary method for ModernRoboticsUsbDcMotorController class. Changes to enhance Modern Robotics USB protocol robustness. Version 2.61 (released on 16.12.19) Blocks Programming mode changes: Fix to correct issue when an exception was thrown because an OpticalDistanceSensor object appears twice in the hardware map (the second time as a LightSensor). Version 2.6 (released on 16.12.16) Fixes for Gyro class: Improve (decrease) sensor refresh latency. fix isCalibrating issues. Blocks Programming mode changes: Blocks now ignores a device in the configuration xml if the name is empty. Other devices work in configuration work fine. Version 2.5 (internal release on released on 16.12.13) Blocks Programming mode changes: Added blocks support for AdafruitBNO055IMU. Added Download Op Mode button to FtcBocks.html. Added support for copying blocks in one OpMode and pasting them in an other OpMode. The clipboard content is stored on the phone, so the programming mode server must be running. Modified Utilities section of the toolbox. In Programming Mode, display information about the active connections. Fixed paste location when workspace has been scrolled. Added blocks support for the android Accelerometer. Fixed issue where Blocks Upload Op Mode truncated name at first dot. Added blocks support for Android SoundPool. Added type safety to blocks for Acceleration. Added type safety to blocks for AdafruitBNO055IMU.Parameters. Added type safety to blocks for AnalogInput. Added type safety to blocks for AngularVelocity. Added type safety to blocks for Color. Added type safety to blocks for ColorSensor. Added type safety to blocks for CompassSensor. Added type safety to blocks for CRServo. Added type safety to blocks for DigitalChannel. Added type safety to blocks for ElapsedTime. Added type safety to blocks for Gamepad. Added type safety to blocks for GyroSensor. Added type safety to blocks for IrSeekerSensor. Added type safety to blocks for LED. Added type safety to blocks for LightSensor. Added type safety to blocks for LinearOpMode. Added type safety to blocks for MagneticFlux. Added type safety to blocks for MatrixF. Added type safety to blocks for MrI2cCompassSensor. Added type safety to blocks for MrI2cRangeSensor. Added type safety to blocks for OpticalDistanceSensor. Added type safety to blocks for Orientation. Added type safety to blocks for Position. Added type safety to blocks for Quaternion. Added type safety to blocks for Servo. Added type safety to blocks for ServoController. Added type safety to blocks for Telemetry. Added type safety to blocks for Temperature. Added type safety to blocks for TouchSensor. Added type safety to blocks for UltrasonicSensor. Added type safety to blocks for VectorF. Added type safety to blocks for Velocity. Added type safety to blocks for VoltageSensor. Added type safety to blocks for VuforiaLocalizer.Parameters. Added type safety to blocks for VuforiaTrackable. Added type safety to blocks for VuforiaTrackables. Added type safety to blocks for enums in AdafruitBNO055IMU.Parameters. Added type safety to blocks for AndroidAccelerometer, AndroidGyroscope, AndroidOrientation, and AndroidTextToSpeech. Version 2.4 (released on 16.11.13) Fix to avoid crashing for nonexistent resources. Blocks Programming mode changes: Added blocks to support OpenGLMatrix, MatrixF, and VectorF. Added blocks to support AngleUnit, AxesOrder, AxesReference, CameraDirection, CameraMonitorFeedback, DistanceUnit, and TempUnit. Added blocks to support Acceleration. Added blocks to support LinearOpMode.getRuntime. Added blocks to support MagneticFlux and Position. Fixed typos. Made blocks for ElapsedTime more consistent with other objects. Added blocks to support Quaternion, Velocity, Orientation, AngularVelocity. Added blocks to support VuforiaTrackables, VuforiaTrackable, VuforiaLocalizer, VuforiaTrackableDefaultListener. Fixed a few blocks. Added type checking to new blocks. Updated to latest blockly. Added default variable blocks to navigation and matrix blocks. Fixed toolbox entry for openGLMatrix_rotation_withAxesArgs. When user downloads Blocks-generated op mode, only the .blk file is downloaded. When user uploads Blocks-generated op mode (.blk file), Javascript code is auto generated. Added DbgLog support. Added logging when a blocks file is read/written. Fixed bug to properly render blocks even if missing devices from configuration file. Added support for additional characters (not just alphanumeric) for the block file names (for download and upload). Added support for OpMode flavor (“Autonomous” or “TeleOp”) and group. Changes to Samples to prevent tutorial issues. Incorporated suggested changes from public pull 216 (“Replace .. paths”). Remove Servo Glitches when robot stopped. if user hits “Cancels” when editing a configuration file, clears the unsaved changes and reverts to original unmodified configuration. Added log info to help diagnose why the Robot Controller app was terminated (for example, by watch dog function). Added ability to transfer log from the controller. Fixed inconsistency for AngularVelocity Limit unbounded growth of data for telemetry. If user does not call telemetry.update() for LinearOpMode in a timely manner, data added for telemetry might get lost if size limit is exceeded. Version 2.35 (released on 16.10.06) Blockly programming mode - Removed unnecesary idle() call from blocks for new project. Version 2.30 (released on 16.10.05) Blockly programming mode: Mechanism added to save Blockly op modes from Programming Mode Server onto local device To avoid clutter, blocks are displayed in categorized folders Added support for DigitalChannel Added support for ModernRoboticsI2cCompassSensor Added support for ModernRoboticsI2cRangeSensor Added support for VoltageSensor Added support for AnalogInput Added support for AnalogOutput Fix for CompassSensor setMode block Vuforia Fix deadlock / make camera data available while Vuforia is running. Update to Vuforia 6.0.117 (recommended by Vuforia and Google to close security loophole). Fix for autonomous 30 second timer bug (where timer was in effect, even though it appeared to have timed out). opModeIsActive changes to allow cleanup after op mode is stopped (with enforced 2 second safety timeout). Fix to avoid reading i2c twice. Updated sample Op Modes. Improved logging and fixed intermittent freezing. Added digital I/O sample. Cleaned up device names in sample op modes to be consistent with Pushbot guide. Fix to allow use of IrSeekerSensorV3. Version 2.20 (released on 16.09.08) Support for Modern Robotics Compass Sensor. Support for Modern Robotics Range Sensor. Revise device names for Pushbot templates to match the names used in Pushbot guide. Fixed bug so that IrSeekerSensorV3 device is accessible as IrSeekerSensor in hardwareMap. Modified computer vision code to require an individual Vuforia license (per legal requirement from PTC). Minor fixes. Blockly enhancements: Support for Voltage Sensor. Support for Analog Input. Support for Analog Output. Support for Light Sensor. Support for Servo Controller. Version 2.10 (released on 16.09.03) Support for Adafruit IMU. Improvements to ModernRoboticsI2cGyro class Block on reset of z axis. isCalibrating() returns true while gyro is calibration. Updated sample gyro program. Blockly enhancements support for android.graphics.Color. added support for ElapsedTime. improved look and legibility of blocks. support for compass sensor. support for ultrasonic sensor. support for IrSeeker. support for LED. support for color sensor. support for CRServo prompt user to configure robot before using programming mode. Provides ability to disable audio cues. various bug fixes and improvements. Version 2.00 (released on 16.08.19) This is the new release for the upcoming 2016-2017 FIRST Tech Challenge Season. Channel change is enabled in the FTC Robot Controller app for Moto G 2nd and 3rd Gen phones. Users can now use annotations to register/disable their Op Modes. Changes in the Android SDK, JDK and build tool requirements (minsdk=19, java 1.7, build tools 23.0.3). Standardized units in analog input. Cleaned up code for existing analog sensor classes. setChannelMode and getChannelMode were REMOVED from the DcMotorController class. This is important - we no longer set the motor modes through the motor controller. setMode and getMode were added to the DcMotor class. ContinuousRotationServo class has been added to the FTC SDK. Range.clip() method has been overloaded so it can support this operation for int, short and byte integers. Some changes have been made (new methods added) on how a user can access items from the hardware map. Users can now set the zero power behavior for a DC motor so that the motor will brake or float when power is zero. Prototype Blockly Programming Mode has been added to FTC Robot Controller. Users can place the Robot Controller into this mode, and then use a device (such as a laptop) that has a Javascript enabled browser to write Blockly-based Op Modes directly onto the Robot Controller. Users can now configure the robot remotely through the FTC Driver Station app. Android Studio project supports Android Studio 2.1.x and compile SDK Version 23 (Marshmallow). Vuforia Computer Vision SDK integrated into FTC SDK. Users can use sample vision targets to get localization information on a standard FTC field. Project structure has been reorganized so that there is now a TeamCode package that users can use to place their local/custom Op Modes into this package. Inspection function has been integrated into the FTC Robot Controller and Driver Station Apps (Thanks Team HazMat… 9277 & 10650!). Audio cues have been incorporated into FTC SDK. Swap mechanism added to FTC Robot Controller configuration activity. For example, if you have two motor controllers on a robot, and you misidentified them in your configuration file, you can use the Swap button to swap the devices within the configuration file (so you do not have to manually re-enter in the configuration info for the two devices). Fix mechanism added to all user to replace an electronic module easily. For example, suppose a servo controller dies on your robot. You replace the broken module with a new module, which has a different serial number from the original servo controller. You can use the Fix button to automatically reconfigure your configuration file to use the serial number of the new module. Improvements made to fix resiliency and responsiveness of the system. For LinearOpMode the user now must for a telemetry.update() to update the telemetry data on the driver station. This update() mechanism ensures that the driver station gets the updated data properly and at the same time. The Auto Configure function of the Robot Controller is now template based. If there is a commonly used robot configuration, a template can be created so that the Auto Configure mechanism can be used to quickly configure a robot of this type. The logic to detect a runaway op mode (both in the LinearOpMode and OpMode types) and to abort the run, then auto recover has been improved/implemented. Fix has been incorporated so that Logitech F310 gamepad mappings will be correct for Marshmallow users. Release 16.07.08 For the ftc_app project, the gradle files have been modified to support Android Studio 2.1.x. Release 16.03.30 For the MIT App Inventor, the design blocks have new icons that better represent the function of each design component. Some changes were made to the shutdown logic to ensure the robust shutdown of some of our USB services. A change was made to LinearOpMode so as to allow a given instance to be executed more than once, which is required for the App Inventor. Javadoc improved/updated. Release 16.03.09 Changes made to make the FTC SDK synchronous (significant change!) waitOneFullHardwareCycle() and waitForNextHardwareCycle() are no longer needed and have been deprecated. runOpMode() (for a LinearOpMode) is now decoupled from the system's hardware read/write thread. loop() (for an OpMode) is now decoupled from the system's hardware read/write thread. Methods are synchronous. For example, if you call setMode(DcMotorController.RunMode.RESET_ENCODERS) for a motor, the encoder is guaranteed to be reset when the method call is complete. For legacy module (NXT compatible), user no longer has to toggle between read and write modes when reading from or writing to a legacy device. Changes made to enhance reliability/robustness during ESD event. Changes made to make code thread safe. Debug keystore added so that user-generated robot controller APKs will all use the same signed key (to avoid conflicts if a team has multiple developer laptops for example). Firmware version information for Modern Robotics modules are now logged. Changes made to improve USB comm reliability and robustness. Added support for voltage indicator for legacy (NXT-compatible) motor controllers. Changes made to provide auto stop capabilities for op modes. A LinearOpMode class will stop when the statements in runOpMode() are complete. User does not have to push the stop button on the driver station. If an op mode is stopped by the driver station, but there is a run away/uninterruptible thread persisting, the app will log an error message then force itself to crash to stop the runaway thread. Driver Station UI modified to display lowest measured voltage below current voltage (12V battery). Driver Station UI modified to have color background for current voltage (green=good, yellow=caution, red=danger, extremely low voltage). javadoc improved (edits and additional classes). Added app build time to About activity for driver station and robot controller apps. Display local IP addresses on Driver Station About activity. Added I2cDeviceSynchImpl. Added I2cDeviceSync interface. Added seconds() and milliseconds() to ElapsedTime for clarity. Added getCallbackCount() to I2cDevice. Added missing clearI2cPortActionFlag. Added code to create log messages while waiting for LinearOpMode shutdown. Fix so Wifi Direct Config activity will no longer launch multiple times. Added the ability to specify an alternate i2c address in software for the Modern Robotics gyro. Release 16.02.09 Improved battery checker feature so that voltage values get refreshed regularly (every 250 msec) on Driver Station (DS) user interface. Improved software so that Robot Controller (RC) is much more resilient and “self-healing” to USB disconnects: If user attempts to start/restart RC with one or more module missing, it will display a warning but still start up. When running an op mode, if one or more modules gets disconnected, the RC & DS will display warnings,and robot will keep on working in spite of the missing module(s). If a disconnected module gets physically reconnected the RC will auto detect the module and the user will regain control of the recently connected module. Warning messages are more helpful (identifies the type of module that’s missing plus its USB serial number). Code changes to fix the null gamepad reference when users try to reference the gamepads in the init() portion of their op mode. NXT light sensor output is now properly scaled. Note that teams might have to readjust their light threshold values in their op modes. On DS user interface, gamepad icon for a driver will disappear if the matching gamepad is disconnected or if that gamepad gets designated as a different driver. Robot Protocol (ROBOCOL) version number info is displayed in About screen on RC and DS apps. Incorporated a display filter on pairing screen to filter out devices that don’t use the “-“ format. This filter can be turned off to show all WiFi Direct devices. Updated text in License file. Fixed formatting error in OpticalDistanceSensor.toString(). Fixed issue on with a blank (“”) device name that would disrupt WiFi Direct Pairing. Made a change so that the WiFi info and battery info can be displayed more quickly on the DS upon connecting to RC. Improved javadoc generation. Modified code to make it easier to support language localization in the future. Release 16.01.04 Updated compileSdkVersion for apps Prevent Wifi from entering power saving mode removed unused import from driver station Corrrected "Dead zone" joystick code. LED.getDeviceName and .getConnectionInfo() return null apps check for ROBOCOL_VERSION mismatch Fix for Telemetry also has off-by-one errors in its data string sizing / short size limitations error User telemetry output is sorted. added formatting variants to DbgLog and RobotLog APIs code modified to allow for a long list of op mode names. changes to improve thread safety of RobocolDatagramSocket Fix for "missing hardware leaves robot controller disconnected from driver station" error fix for "fast tapping of Init/Start causes problems" (toast is now only instantiated on UI thread). added some log statements for thread life cycle. moved gamepad reset logic inside of initActiveOpMode() for robustness changes made to mitigate risk of race conditions on public methods. changes to try and flag when WiFi Direct name contains non-printable characters. fix to correct race condition between .run() and .close() in ReadWriteRunnableStandard. updated FTDI driver made ReadWriteRunnableStanard interface public. fixed off-by-one errors in Command constructor moved specific hardware implmentations into their own package. moved specific gamepad implemnatations to the hardware library. changed LICENSE file to new BSD version. fixed race condition when shutting down Modern Robotics USB devices. methods in the ColorSensor classes have been synchronized. corrected isBusy() status to reflect end of motion. corrected "back" button keycode. the notSupported() method of the GyroSensor class was changed to protected (it should not be public). Release 15.11.04.001 Added Support for Modern Robotics Gyro. The GyroSensor class now supports the MR Gyro Sensor. Users can access heading data (about Z axis) Users can also access raw gyro data (X, Y, & Z axes). Example MRGyroTest.java op mode included. Improved error messages More descriptive error messages for exceptions in user code. Updated DcMotor API Enable read mode on new address in setI2cAddress Fix so that driver station app resets the gamepads when switching op modes. USB-related code changes to make USB comm more responsive and to display more explicit error messages. Fix so that USB will recover properly if the USB bus returns garbage data. Fix USB initializtion race condition. Better error reporting during FTDI open. More explicit messages during USB failures. Fixed bug so that USB device is closed if event loop teardown method was not called. Fixed timer UI issue Fixed duplicate name UI bug (Legacy Module configuration). Fixed race condition in EventLoopManager. Fix to keep references stable when updating gamepad. For legacy Matrix motor/servo controllers removed necessity of appending "Motor" and "Servo" to controller names. Updated HT color sensor driver to use constants from ModernRoboticsUsbLegacyModule class. Updated MR color sensor driver to use constants from ModernRoboticsUsbDeviceInterfaceModule class. Correctly handle I2C Address change in all color sensors Updated/cleaned up op modes. Updated comments in LinearI2cAddressChange.java example op mode. Replaced the calls to "setChannelMode" with "setMode" (to match the new of the DcMotor method). Removed K9AutoTime.java op mode. Added MRGyroTest.java op mode (demonstrates how to use MR Gyro Sensor). Added MRRGBExample.java op mode (demonstrates how to use MR Color Sensor). Added HTRGBExample.java op mode (demonstrates how to use HT legacy color sensor). Added MatrixControllerDemo.java (demonstrates how to use legacy Matrix controller). Updated javadoc documentation. Updated release .apk files for Robot Controller and Driver Station apps. Release 15.10.06.002 Added support for Legacy Matrix 9.6V motor/servo controller. Cleaned up build.gradle file. Minor UI and bug fixes for driver station and robot controller apps. Throws error if Ultrasonic sensor (NXT) is not configured for legacy module port 4 or 5. Release 15.08.03.001 New user interfaces for FTC Driver Station and FTC Robot Controller apps. An init() method is added to the OpMode class. For this release, init() is triggered right before the start() method. Eventually, the init() method will be triggered when the user presses an "INIT" button on driver station. The init() and loop() methods are now required (i.e., need to be overridden in the user's op mode). The start() and stop() methods are optional. A new LinearOpMode class is introduced. Teams can use the LinearOpMode mode to create a linear (not event driven) program model. Teams can use blocking statements like Thread.sleep() within a linear op mode. The API for the Legacy Module and Core Device Interface Module have been updated. Support for encoders with the Legacy Module is now working. The hardware loop has been updated for better performance.
danderfer
According to all known laws of aviation, there is no way that a bee should be able to fly. Its wings are too small to get its fat little body off the ground. The bee, of course, flies anyway. Because bees don’t care what humans think is impossible.” SEQ. 75 - “INTRO TO BARRY” INT. BENSON HOUSE - DAY ANGLE ON: Sneakers on the ground. Camera PANS UP to reveal BARRY BENSON’S BEDROOM ANGLE ON: Barry’s hand flipping through different sweaters in his closet. BARRY Yellow black, yellow black, yellow black, yellow black, yellow black, yellow black...oohh, black and yellow... ANGLE ON: Barry wearing the sweater he picked, looking in the mirror. BARRY (CONT’D) Yeah, let’s shake it up a little. He picks the black and yellow one. He then goes to the sink, takes the top off a CONTAINER OF HONEY, and puts some honey into his hair. He squirts some in his mouth and gargles. Then he takes the lid off the bottle, and rolls some on like deodorant. CUT TO: INT. BENSON HOUSE KITCHEN - CONTINUOUS Barry’s mother, JANET BENSON, yells up at Barry. JANET BENSON Barry, breakfast is ready! CUT TO: "Bee Movie" - JS REVISIONS 8/13/07 1. INT. BARRY’S ROOM - CONTINUOUS BARRY Coming! SFX: Phone RINGING. Barry’s antennae vibrate as they RING like a phone. Barry’s hands are wet. He looks around for a towel. BARRY (CONT’D) Hang on a second! He wipes his hands on his sweater, and pulls his antennae down to his ear and mouth. BARRY (CONT'D) Hello? His best friend, ADAM FLAYMAN, is on the other end. ADAM Barry? BARRY Adam? ADAM Can you believe this is happening? BARRY Can’t believe it. I’ll pick you up. Barry sticks his stinger in a sharpener. SFX: BUZZING AS HIS STINGER IS SHARPENED. He tests the sharpness with his finger. SFX: Bing. BARRY (CONT’D) Looking sharp. ANGLE ON: Barry hovering down the hall, sliding down the staircase bannister. Barry’s mother, JANET BENSON, is in the kitchen. JANET BENSON Barry, why don’t you use the stairs? Your father paid good money for those. "Bee Movie" - JS REVISIONS 8/13/07 2. BARRY Sorry, I’m excited. Barry’s father, MARTIN BENSON, ENTERS. He’s reading a NEWSPAPER with the HEADLINE, “Queen gives birth to thousandtuplets: Resting Comfortably.” MARTIN BENSON Here’s the graduate. We’re very proud of you, Son. And a perfect report card, all B’s. JANET BENSON (mushing Barry’s hair) Very proud. BARRY Ma! I’ve got a thing going here. Barry re-adjusts his hair, starts to leave. JANET BENSON You’ve got some lint on your fuzz. She picks it off. BARRY Ow, that’s me! MARTIN BENSON Wave to us. We’ll be in row 118,000. Barry zips off. BARRY Bye! JANET BENSON Barry, I told you, stop flying in the house! CUT TO: SEQ. 750 - DRIVING TO GRADUATION EXT. BEE SUBURB - MORNING A GARAGE DOOR OPENS. Barry drives out in his CAR. "Bee Movie" - JS REVISIONS 8/13/07 3. ANGLE ON: Barry’s friend, ADAM FLAYMAN, standing by the curb. He’s reading a NEWSPAPER with the HEADLINE: “Frisbee Hits Hive: Internet Down. Bee-stander: “I heard a sound, and next thing I knew...wham-o!.” Barry drives up, stops in front of Adam. Adam jumps in. BARRY Hey, Adam. ADAM Hey, Barry. (pointing at Barry’s hair) Is that fuzz gel? BARRY A little. It’s a special day. Finally graduating. ADAM I never thought I’d make it. BARRY Yeah, three days of grade school, three days of high school. ADAM Those were so awkward. BARRY Three days of college. I’m glad I took off one day in the middle and just hitchhiked around the hive. ADAM You did come back different. They drive by a bee who’s jogging. ARTIE Hi Barry! BARRY (to a bee pedestrian) Hey Artie, growing a mustache? Looks good. Barry and Adam drive from the suburbs into the city. ADAM Hey, did you hear about Frankie? "Bee Movie" - JS REVISIONS 8/13/07 4. BARRY Yeah. ADAM You going to his funeral? BARRY No, I’m not going to his funeral. Everybody knows you sting someone you die, you don’t waste it on a squirrel. He was such a hot head. ADAM Yeah, I guess he could’ve just gotten out of the way. The DRIVE through a loop de loop. BARRY AND ADAM Whoa...Whooo...wheee!! ADAM I love this incorporating the amusement park right into our regular day. BARRY I guess that’s why they say we don’t need vacations. CUT TO: SEQ. 95 - GRADUATION EXT. GRADUATION CEREMONY - CONTINUOUS Barry and Adam come to a stop. They exit the car, and fly over the crowd to their seats. * BARRY * (re: graduation ceremony) * Boy, quite a bit of pomp...under * the circumstances. * They land in their seats. BARRY (CONT’D) Well Adam, today we are men. "Bee Movie" - JS REVISIONS 8/13/07 5. ADAM We are. BARRY Bee-men. ADAM Amen! BARRY Hallelujah. Barry hits Adam’s forehead. Adam goes into the rapture. An announcement comes over the PA. ANNOUNCER (V.O) Students, faculty, distinguished bees...please welcome, Dean Buzzwell. ANGLE ON: DEAN BUZZWELL steps up to the podium. The podium has a sign that reads: “Welcome Graduating Class of:”, with train-station style flipping numbers after it. BUZZWELL Welcome New Hive City graduating class of... The numbers on the podium change to 9:15. BUZZWELL (CONT’D) ...9:15. (he clears his throat) And that concludes our graduation ceremonies. And begins your career at Honex Industries. BARRY Are we going to pick our job today? ADAM I heard it’s just orientation. The rows of chairs change in transformer-like mechanical motion to Universal Studios type tour trams. Buzzwell walks off stage. BARRY (re: trams) Whoa, heads up! Here we go. "Bee Movie" - JS REVISIONS 8/13/07 6. SEQ. 125 - “FACTORY” FEMALE VOICE (V.O) Keep your hands and antennas inside the tram at all times. (in Spanish) Dejen las manos y antennas adentro del tram a todos tiempos. BARRY I wonder what it’s going to be like? ADAM A little scary. Barry shakes Adam. BARRY AND ADAM AAHHHH! The tram passes under SIGNS READING: “Honex: A Division of Honesco: A Part of the Hexagon Group.” TRUDY Welcome to Honex, a division of Honesco, and a part of the Hexagon group. BARRY This is it! The Honex doors OPEN, revealing the factory. BARRY (CONT’D) Wow. TRUDY We know that you, as a bee, have worked your whole life to get to the point where you can work for your whole life. Honey begins when our valiant pollen jocks bring the nectar to the hive where our top secret formula is automatically color-corrected, scent adjusted and bubble contoured into this... Trudy GRABS a TEST TUBE OF HONEY from a technician. "Bee Movie" - JS REVISIONS 8/13/07 7. TRUDY (CONT’D) ...soothing, sweet syrup with its distinctive golden glow, you all know as... EVERYONE ON THE TRAM (in unison) H-o-n-e-y. Trudy flips the flask into the crowd, and laughs as they all scramble for it. ANGLE ON: A GIRL BEE catching the honey. ADAM (sotto) That girl was hot. BARRY (sotto) She’s my cousin. ADAM She is? BARRY Yes, we’re all cousins. ADAM Right. You’re right. TRUDY At Honex, we also constantly strive to improve every aspect of bee existence. These bees are stress testing a new helmet technology. ANGLE ON: A STUNT BEE in a HELMET getting hit with a NEWSPAPER, then a SHOE, then a FLYSWATTER. He gets up, and gives a “thumb’s up”. The graduate bees APPLAUD. ADAM (re: stunt bee) What do you think he makes? BARRY Not enough. TRUDY And here we have our latest advancement, the Krelman. "Bee Movie" - JS REVISIONS 8/13/07 8. BARRY Wow, what does that do? TRUDY Catches that little strand of honey that hangs after you pour it. Saves us millions. ANGLE ON: The Krelman machine. Bees with hand-shaped hats on, rotating around a wheel to catch drips of honey. Adam’s hand shoots up. ADAM Can anyone work on the Krelman? TRUDY Of course. Most bee jobs are small ones. But bees know that every small job, if it’s done well, means a lot. There are over 3000 different bee occupations. But choose carefully, because you’ll stay in the job that you pick for the rest of your life. The bees CHEER. ANGLE ON: Barry’s smile dropping slightly. BARRY The same job for the rest of your life? I didn’t know that. ADAM What’s the difference? TRUDY And you’ll be happy to know that bees as a species haven’t had one day off in 27 million years. BARRY So you’ll just work us to death? TRUDY (laughing) We’ll sure try. Everyone LAUGHS except Barry. "Bee Movie" - JS REVISIONS 8/13/07 9. The tram drops down a log-flume type steep drop. Cameras flash, as all the bees throw up their hands. The frame freezes into a snapshot. Barry looks concerned. The tram continues through 2 doors. FORM DISSOLVE TO: SEQ. 175 - “WALKING THE HIVE” INT. HONEX LOBBY ANGLE ON: The log-flume photo, as Barry looks at it. ADAM Wow. That blew my mind. BARRY (annoyed) “What’s the difference?” Adam, how could you say that? One job forever? That’s an insane choice to have to make. ADAM Well, I’m relieved. Now we only have to make one decision in life. BARRY But Adam, how could they never have told us that? ADAM Barry, why would you question anything? We’re bees. We’re the most perfectly functioning society on Earth. They walk by a newspaper stand with A SANDWICH BOARD READING: “Bee Goes Berserk: Stings Seven Then Self.” ANGLE ON: A BEE filling his car’s gas tank from a honey pump. He fills his car some, then takes a swig for himself. NEWSPAPER BEE (to the bee guzzling gas) Hey! Barry and Adam begin to cross the street. "Bee Movie" - JS REVISIONS 8/13/07 10. BARRY Yeah but Adam, did you ever think that maybe things work a little too well around here? They stop in the middle of the street. The traffic moves perfectly around them. ADAM Like what? Give me one example. BARRY (thinks) ...I don’t know. But you know what I’m talking about. They walk off. SEQ. 400 - “MEET THE JOCKS” SFX: The SOUND of Pollen Jocks. PAN DOWN from the Honex statue. J-GATE ANNOUNCER Please clear the gate. Royal Nectar Force on approach. Royal Nectar Force on approach. BARRY Wait a second. Check it out. Hey, hey, those are Pollen jocks. ADAM Wow. FOUR PATROL BEES FLY in through the hive’s giant Gothic entrance. The Patrol Bees are wearing fighter pilot helmets with black visors. ADAM (CONT’D) I’ve never seen them this close. BARRY They know what it’s like to go outside the hive. ADAM Yeah, but some of them don’t come back. "Bee Movie" - JS REVISIONS 8/13/07 11. The nectar from the pollen jocks is removed from their backpacks, and loaded into trucks on their way to Honex. A SMALL CROWD forms around the Patrol Bees. Each one has a PIT CREW that takes their nectar. Lou Loduca hurries a pit crew along: LOU LODUCA You guys did great! You’re monsters. You’re sky freaks! I love it! I love it! SCHOOL GIRLS are jumping up and down and squealing nearby. BARRY I wonder where those guys have just been? ADAM I don’t know. BARRY Their day’s not planned. Outside the hive, flying who-knows-where, doing who-knows-what. ADAM You can’t just decide one day to be a Pollen Jock. You have to be bred for that. BARRY Right. Pollen Jocks cross in close proximity to Barry and Adam. Some pollen falls off, onto Barry and Adam. BARRY (CONT’D) Look at that. That’s more pollen than you and I will ever see in a lifetime. ADAM (playing with the pollen) It’s just a status symbol. I think bees make too big a deal out of it. BARRY Perhaps, unless you’re wearing it, and the ladies see you wearing it. ANGLE ON: Two girl bees. "Bee Movie" - JS REVISIONS 8/13/07 12. ADAM Those ladies? Aren’t they our cousins too? BARRY Distant, distant. ANGLE ON: TWO POLLEN JOCKS. JACKSON Look at these two. SPLITZ Couple of Hive Harrys. JACKSON Let’s have some fun with them. The pollen jocks approach. Barry and Adam continue to talk to the girls. GIRL 1 It must be so dangerous being a pollen jock. BARRY Oh yeah, one time a bear had me pinned up against a mushroom. He had one paw on my throat, and with the other he was slapping me back and forth across the face. GIRL 1 Oh my. BARRY I never thought I’d knock him out. GIRL 2 (to Adam) And what were you doing during all of this? ADAM Obviously I was trying to alert the authorities. The girl swipes some pollen off of Adam with a finger. BARRY (re: pollen) I can autograph that if you want. "Bee Movie" - JS REVISIONS 8/13/07 13. JACKSON Little gusty out there today, wasn’t it, comrades? BARRY Yeah. Gusty. BUZZ You know, we’re going to hit a sunflower patch about six miles from here tomorrow. BARRY Six miles, huh? ADAM (whispering) Barry. BUZZ It’s a puddle-jump for us. But maybe you’re not up for it. BARRY Maybe I am. ADAM (whispering louder) You are not! BUZZ We’re going, oh-nine hundred at JGate. ADAM (re: j-gate) Whoa. BUZZ (leaning in, on top of Barry) What do you think, Buzzy Boy? Are you bee enough? BARRY I might be. It all depends on what oh-nine hundred means. CUT TO: SEQ. 450 - “THE BALCONY” "Bee Movie" - JS REVISIONS 8/13/07 14. INT. BENSON HOUSE BALCONY - LATER Barry is standing on the balcony alone, looking out over the city. Martin Benson ENTERS, sneaks up behind Barry and gooses him in his ribs. MARTIN BENSON Honex! BARRY Oh, Dad. You surprised me. MARTIN BENSON (laughing) Have you decided what you’re interested in, Son? BARRY Well, there’s a lot of choices. MARTIN BENSON But you only get one. Martin LAUGHS. BARRY Dad, do you ever get bored doing the same job every day? MARTIN BENSON Son, let me tell you something about stirring. (making the stirring motion) You grab that stick and you just move it around, and you stir it around. You get yourself into a rhythm, it’s a beautiful thing. BARRY You know dad, the more I think about it, maybe the honey field just isn’t right for me. MARTIN BENSON And you were thinking of what, making balloon animals? That’s a bad job for a guy with a stinger. "Bee Movie" - JS REVISIONS 8/13/07 15. BARRY Well no... MARTIN BENSON Janet, your son’s not sure he wants to go into honey. JANET BENSON Oh Barry, you are so funny sometimes. BARRY I’m not trying to be funny. MARTIN BENSON You’re not funny, you’re going into honey. Our son, the stirrer. JANET BENSON You’re going to be a stirrer?! BARRY No one’s listening to me. MARTIN BENSON Wait until you see the sticks I have for you. BARRY I can say anything I want right now. I’m going to get an ant tattoo. JANET BENSON Let’s open some fresh honey and celebrate. BARRY Maybe I’ll pierce my thorax! MARTIN BENSON (toasting) To honey! BARRY Shave my antennae! JANET BENSON To honey! "Bee Movie" - JS REVISIONS 8/13/07 16. BARRY Shack up with a grasshopper, get a gold tooth, and start calling everybody “Dawg.” CUT TO: SEQ. 760 - “JOB PLACEMENT” EXT. HONEX LOBBY - CONTINUOUS ANGLE ON: A BEE BUS STOP. One group of bees stands on the pavement, as another group hovers above them. A doubledecker bus pulls up. The hovering bees get on the top level, and the standing bees get on the bottom. Barry and Adam pull up outside of Honex. ADAM I can’t believe we’re starting work today. BARRY Today’s the day. Adam jumps out of the car. ADAM (O.C) Come on. All the good jobs will be gone. BARRY Yeah, right... ANGLE ON: A BOARD READING: “JOB PLACEMENT BOARD”. Buzzwell, the Bee Processor, is at the counter. Another BEE APPLICANT, SANDY SHRIMPKIN is EXITING. SANDY SHRIMPKIN Is it still available? BUZZWELL Hang on. (he looks at changing numbers on the board) Two left. And...one of them’s yours. Congratulations Son, step to the side please. "Bee Movie" - JS REVISIONS 8/13/07 17. SANDY SHRIMPKIN Yeah! ADAM (to Sandy, leaving) What did you get? SANDY SHRIMPKIN Picking the crud out. That is stellar! ADAM Wow. BUZZWELL (to Adam and Barry) Couple of newbies? ADAM Yes Sir. Our first day. We are ready. BUZZWELL Well, step up and make your choice. ANGLE ON: A CHART listing the different sectors of Honex. Heating, Cooling, Viscosity, Krelman, Pollen Counting, Stunt Bee, Pouring, Stirrer, Humming, Regurgitating, Front Desk, Hair Removal, Inspector No. 7, Chef, Lint Coordinator, Stripe Supervisor, Antennae-ball polisher, Mite Wrangler, Swatting Counselor, Wax Monkey, Wing Brusher, Hive Keeper, Restroom Attendant. ADAM (to Barry) You want to go first? BARRY No, you go. ADAM Oh my. What’s available? BUZZWELL Restroom attendant is always open, and not for the reason you think. ADAM Any chance of getting on to the Krelman, Sir? BUZZWELL Sure, you’re on. "Bee Movie" - JS REVISIONS 8/13/07 18. He plops the KRELMAN HAT onto Adam’s head. ANGLE ON: The job board. THE COLUMNS READ: “OCCUPATION” “POSITIONS AVAILABLE”, and “STATUS”. The middle column has numbers, and the right column has job openings flipping between “open”, “pending”, and “closed”. BUZZWELL (CONT’D) Oh, I’m sorry. The Krelman just closed out. ADAM Oh! He takes the hat off Adam. BUZZWELL Wax Monkey’s always open. The Krelman goes from “Closed” to “Open”. BUZZWELL (CONT’D) And the Krelman just opened up again. ADAM What happened? BUZZWELL Well, whenever a bee dies, that’s an opening. (pointing at the board) See that? He’s dead, dead, another dead one, deady, deadified, two more dead. Dead from the neck up, dead from the neck down. But, that’s life. ANGLE ON: Barry’s disturbed expression. ADAM (feeling pressure to decide) Oh, this is so hard. Heating, cooling, stunt bee, pourer, stirrer, humming, inspector no. 7, lint coordinator, stripe supervisor, antenna-ball polisher, mite wrangler-- Barry, Barry, what do you think I should-- Barry? Barry? "Bee Movie" - JS REVISIONS 8/13/07 19. Barry is gone. CUT TO: SEQ. 775 - “LOU LODUCA SPEECH” EXT. J-GATE - SAME TIME Splitz, Jackson, Buzz, Lou and two other BEES are going through final pre-flight checks. Barry ENTERS. LOU LODUCA Alright, we’ve got the sunflower patch in quadrant nine. Geranium window box on Sutton Place... Barry’s antennae rings, like a phone. ADAM (V.O) What happened to you? Where are you? Barry whispers throughout. BARRY I’m going out. ADAM (V.O) Out? Out where? BARRY Out there. ADAM (V.O) (putting it together) Oh no. BARRY I have to, before I go to work for the rest of my life. ADAM (V.O) You’re going to die! You’re crazy! Hello? BARRY Oh, another call coming in. "Bee Movie" - JS REVISIONS 8/13/07 20. ADAM (V.O) You’re cra-- Barry HANGS UP. ANGLE ON: Lou Loduca. LOU LODUCA If anyone’s feeling brave, there’s a Korean Deli on 83rd that gets their roses today. BARRY (timidly) Hey guys. BUZZ Well, look at that. SPLITZ Isn’t that the kid we saw yesterday? LOU LODUCA (to Barry) Hold it son, flight deck’s restricted. JACKSON It’s okay Lou, we’re going to take him up. Splitz and Jackson CHUCKLE. LOU LODUCA Really? Feeling lucky, are ya? A YOUNGER SMALLER BEE THAN BARRY, CHET, runs up with a release waiver for Barry to sign. CHET Sign here. Here. Just initial that. Thank you. LOU LODUCA Okay, you got a rain advisory today and as you all know, bees cannot fly in rain. So be careful. As always, (reading off clipboard) watch your brooms, hockey sticks, dogs, birds, bears, and bats. "Bee Movie" - JS REVISIONS 8/13/07 21. Also, I got a couple reports of root beer being poured on us. Murphy’s in a home because of it, just babbling like a cicada. BARRY That’s awful. LOU LODUCA And a reminder for all you rookies, bee law number one, absolutely no talking to humans. Alright, launch positions! The Jocks get into formation, chanting as they move. LOU LODUCA (CONT’D) Black and Yellow! JOCKS Hello! SPLITZ (to Barry) Are you ready for this, hot shot? BARRY Yeah. Yeah, bring it on. Barry NODS, terrified. BUZZ Wind! - CHECK! JOCK #1 Antennae! - CHECK! JOCK #2 Nectar pack! - CHECK! JACKSON Wings! - CHECK! SPLITZ Stinger! - CHECK! BARRY Scared out of my shorts - CHECK. LOU LODUCA Okay ladies, let’s move it out. Everyone FLIPS their goggles down. Pit crew bees CRANK their wings, and remove the starting blocks. We hear loud HUMMING. "Bee Movie" - JS REVISIONS 8/13/07 22. LOU LODUCA (CONT'D) LOU LODUCA (CONT’D) Pound those petunia's, you striped stem-suckers! All of you, drain those flowers! A FLIGHT DECK GUY in deep crouch hand-signals them out the archway as the backwash from the bee wings FLUTTERS his jump suit. Barry follows everyone. SEQ. 800 - “FLYING WITH THE JOCKS” The bees climb above tree tops in formation. Barry is euphoric. BARRY Whoa! I’m out! I can’t believe I’m out! So blue. Ha ha ha! (a beat) I feel so fast...and free. (re: kites in the sky) Box kite! Wow! They fly by several bicyclists, and approach a patch of flowers. BARRY (CONT'D) Flowers! SPLITZ This is blue leader. We have roses visual. Bring it around thirty degrees and hold. BARRY (sotto) Roses. JACKSON Thirty degrees, roger, bringing it around. Many pollen jocks break off from the main group. They use their equipment to collect nectar from flowers. Barry flies down to watch the jocks collect the nectar. JOCK Stand to the side kid, it’s got a bit of a kick. The jock fires the gun, and recoils. Barry watches the gun fill up with nectar. "Bee Movie" - JS REVISIONS 8/13/07 23. BARRY Oh, that is one Nectar Collector. JOCK You ever see pollination up close? BARRY No, Sir. He takes off, and the excess pollen dust falls causing the flowers to come back to life. JOCK (as he pollinates) I pick some pollen up over here, sprinkle it over here, maybe a dash over there, pinch on that one...see that? It’s a little bit of magic, ain’t it? The FLOWERS PERK UP as he pollinates. BARRY Wow. That’s amazing. Why do we do that? JOCK ...that’s pollen power, Kid. More pollen, more flowers, more nectar, more honey for us. BARRY Cool. The Jock WINKS at Barry. Barry rejoins the other jocks in the sky. They swoop in over a pond, kissing the surface. We see their image reflected in the water; they’re really moving. They fly over a fountain. BUZZ I’m picking up a lot of bright yellow, could be daisies. Don’t we need those? SPLITZ Copy that visual. We see what appear to be yellow flowers on a green field. "Bee Movie" - JS REVISIONS 8/13/07 24. They go into a deep bank and dive. BUZZ Hold on, one of these flowers seems to be on the move. SPLITZ Say again...Are you reporting a moving flower? BUZZ Affirmative. SEQ. 900 - “TENNIS GAME” The pollen jocks land. It is a tennis court with dozens of tennis balls. A COUPLE, VANESSA and KEN, plays tennis. The bees land right in the midst of a group of balls. KEN (O.C) That was on the line! The other bees start walking around amongst the immense, yellow globes. SPLITZ This is the coolest. What is it? They stop at a BALL on a white line and look up at it. JACKSON I don’t know, but I’m loving this color. SPLITZ (smelling tennis ball) Smells good. Not like a flower. But I like it. JACKSON Yeah, fuzzy. BUZZ Chemical-y. JACKSON Careful, guys, it’s a little grabby. Barry LANDS on a ball and COLLAPSES. "Bee Movie" - JS REVISIONS 8/13/07 25. BARRY Oh my sweet lord of bees. JACKSON Hey, candy brain, get off there! Barry attempts to pulls his legs off, but they stick. BARRY Problem! A tennis shoe and a hand ENTER FRAME. The hand picks up the ball with Barry underneath it. BARRY (CONT'D) Guys! BUZZ This could be bad. JACKSON Affirmative. Vanessa walks back to the service line, BOUNCES the ball. Each time it BOUNCES, the other bees cringe and GASP. ANGLE ON: Barry, terrified. Pure dumb luck, he’s not getting squished. BARRY (with each bounce) Very close...Gonna Hurt...Mamma’s little boy. SPLITZ You are way out of position, rookie. ANGLE ON: Vanessa serving. We see Barry and the ball up against the racket as she brings it back. She tosses the ball into the air; Barry’s eyes widen. The ball is STRUCK, and the rally is on. KEN Coming in at you like a missile! Ken HITS the ball back. Barry feels the g-forces. ANGLE ON: The Pollen Jocks watching Barry pass by them in SLOW MOTION. "Bee Movie" - JS REVISIONS 8/13/07 26. BARRY (in slow motion) Help me! JACKSON You know, I don't think these are flowers. SPLITZ Should we tell him? JACKSON I think he knows. BARRY (O.S) What is this?! Vanessa HITS a high arcing lob. Ken waits, poised for the return. We see Barry having trouble maneuvering the ball from fatigue. KEN (overly confident) Match point! ANGLE ON: Ken running up. He has a killer look in his eyes. He’s going to hit the ultimate overhead smash. KEN (CONT'D) You can just start packing up Honey, because I believe you’re about to eat it! ANGLE ON: Pollen Jocks. JACKSON Ahem! Ken is distracted by the jock. KEN What? No! He misses badly. The ball rockets into oblivion. Barry is still hanging on. ANGLE ON: Ken, berating himself. KEN (CONT’D) Oh, you cannot be serious. We hear the ball WHISTLING, and Barry SCREAMING. "Bee Movie" - JS REVISIONS 8/13/07 27. BARRY Yowser!!! SEQ. 1000 - “SUV” The ball flies through the air, and lands in the middle of the street. It bounces into the street again, and sticks in the grille of an SUV. INT. CAR ENGINE - CONTINUOUS BARRY’S POV: the grille of the SUV sucks him up. He tumbles through a black tunnel, whirling vanes, and pistons. BARRY AHHHHHHHHHHH!! OHHHH!! EECHHH!! AHHHHHH!! Barry gets chilled by the A/C system, and sees a frozen grasshopper. BARRY (CONT’D) (re: grasshopper) Eww, gross. CUT TO: INT. CAR - CONTINUOUS The car is packed with a typical suburban family: MOTHER, FATHER, eight-year old BOY, LITTLE GIRL in a car seat and a GRANDMOTHER. A big slobbery DOG is behind a grate. Barry pops into the passenger compartment, hitting the Mother’s magazine. MOTHER There’s a bee in the car! They all notice the bee and start SCREAMING. BARRY Aaahhhh! Barry tumbles around the car. We see the faces from his POV. MOTHER Do something! "Bee Movie" - JS REVISIONS 8/13/07 28. FATHER I’m driving! Barry flies by the little girl in her CAR SEAT. She waves hello. LITTLE GIRL Hi, bee. SON He’s back here! He’s going to sting me! The car SWERVES around the road. Barry flies into the back, where the slobbery dog SNAPS at him. Barry deftly avoids the jaws and gross, flying SPITTLE. MOTHER Nobody move. If you don’t move, he won’t sting you. Freeze! Everyone in the car freezes. Barry freezes. They stare at each other, eyes going back and forth, waiting to see who will make the first move. Barry blinks. GRANNY He blinked! Granny pulls out a can of HAIR SPRAY. SON Spray him, Granny! Granny sprays the hair spray everywhere. FATHER What are you doing? GRANNY It’s hair spray! Extra hold! MOTHER Kill it! Barry gets sprayed back by the hair spray, then sucked out of the sunroof. CUT TO: "Bee Movie" - JS REVISIONS 8/13/07 29. EXT. CITY STREET - CONTINUOUS BARRY Wow. The tension level out here is unbelievable. I’ve got to get home. As Barry flies down the street, it starts to RAIN. He nimbly avoids the rain at first. BARRY (CONT’D) Whoa. Whoa! Can’t fly in rain! Can’t fly in rain! Can’t fly in-- A couple of drops hit him, his wings go limp and he starts falling. BARRY (CONT'D) Mayday! Mayday! Bee going down! Barry sees a window ledge and aims for it and just makes it. Shivering and exhausted, he crawls into an open window as it CLOSES. SEQ. 1100 - “VANESSA SAVES BARRY” INT. VANESSA’S APARTMENT - CONTINUOUS Inside the window, Barry SHAKES off the rain like a dog. Vanessa, Ken, Andy, and Anna ENTER the apartment. VANESSA Ken, can you close the window please? KEN Huh? Oh. (to Andy) Hey, check out my new resume. I made it into a fold-out brochure. You see? It folds out. Ken holds up his brochure, with photos of himself, and a resume in the middle. ANGLE ON: Barry hiding behind the curtains, as Ken CLOSES THE WINDOW. "Bee Movie" - JS REVISIONS 8/13/07 30. BARRY Oh no, more humans. I don’t need this. Barry HOVERS up into the air and THROWS himself into the glass. BARRY (CONT’D) (dazed) Ow! What was that? He does it again, and then multiple more times. BARRY (CONT'D) Maybe this time...this time, this time, this time, this time, this time, this time, this time. Barry JUMPS onto the drapes. BARRY (CONT'D) (out of breath) Drapes! (then, re: glass) That is diabolical. KEN It’s fantastic. It’s got all my special skills, even my top ten favorite movies. ANDY What’s your number one? Star Wars? KEN Ah, I don’t go for that, (makes Star Wars noises), kind of stuff. ANGLE ON: Barry. BARRY No wonder we’re not supposed to talk to them. They’re out of their minds. KEN When I walk out of a job interview they’re flabbergasted. They can’t believe the things I say. Barry looks around and sees the LIGHT BULB FIXTURE in the middle of the ceiling. "Bee Movie" - JS REVISIONS 8/13/07 31. BARRY (re: light bulb) Oh, there’s the sun. Maybe that’s a way out. Barry takes off and heads straight for the light bulb. His POV: The seventy-five watt label grows as he gets closer. BARRY (CONT’D) I don’t remember the sun having a big seventy five on it. Barry HITS the bulb and is KNOCKED SILLY. He falls into a BOWL OF GUACAMOLE. Andy dips his chip in the guacamole, taking Barry with it. ANGLE ON: Ken and Andy. KEN I’ll tell you what. You know what? I predicted global warming. I could feel it getting hotter. At first I thought it was just me. Barry’s POV: Giant human mouth opening. KEN (CONT’D) Wait! Stop! Beeeeeee! ANNA Kill it! Kill it! They all JUMP up from their chairs. Andy looks around for something to use. Ken comes in for the kill with a big TIMBERLAND BOOT on each hand. KEN Stand back. These are winter boots. Vanessa ENTERS, and stops Ken from squashing Barry. VANESSA (grabs Ken’s arm) Wait. Don’t kill him. CLOSE UP: on Barry’s puzzled face. KEN You know I’m allergic to them. This thing could kill me. "Bee Movie" - JS REVISIONS 8/13/07 32. VANESSA Why does his life have any less value than yours? She takes a GLASS TUMBLER and places it over Barry. KEN Why does his life have any less value than mine? Is that your statement? VANESSA I’m just saying, all life has value. You don’t know what he’s capable of feeling. Barry looks up through the glass and watches this conversation, astounded. Vanessa RIPS Ken’s resume in half and SLIDES it under the glass. KEN (wistful) My brochure. There’s a moment of eye contact as she carries Barry to the window. She opens it and sets him free. VANESSA There you go, little guy. KEN (O.C) I’m not scared of them. But, you know, it’s an allergic thing. ANDY (O.C) * Hey, why don’t you put that on your * resume-brochure? * KEN (O.C) It’s not funny, my whole face could puff up. ANDY (O.C) Make it one of your “Special Skills.” KEN (O.C) You know, knocking someone out is also a special skill. CUT TO: "Bee Movie" - JS REVISIONS 8/13/07 33. EXT. WINDOWSILL - CONTINUOUS Barry stares over the window frame. He can’t believe what’s just happened. It is still RAINING. DISSOLVE TO: SEQ. 1200 - “BARRY SPEAKS” EXT. WINDOWSILL - LATER Barry is still staring through the window. Inside, everyone’s saying their good-byes. KEN Vanessa, next week? Yogurt night? VANESSA Uh, yeah sure Ken. You know, whatever. KEN You can put carob chips on there. VANESSA Good night. KEN (as he exits) Supposed to be less calories, or something. VANESSA Bye. She shuts the door. Vanessa starts cleaning up. BARRY I’ve got to say something. She saved my life. I’ve got to say something. Alright, here it goes. Barry flies in. "Bee Movie" - JS REVISIONS 8/13/07 34. INT. VANESSA’S APARTMENT - CONTINUOUS Barry hides himself on different PRODUCTS placed along the kitchen shelves. He hides on a Bumblebee Tuna can, and a “Greetings From Coney Island” MUSCLE-MAN POSTCARD on the fridge. BARRY (on fridge) What would I say? (landing on a bottle) I could really get in trouble. He stands looking at Vanessa. BARRY (CONT'D) It’s a bee law. You’re not supposed to talk to a human. I can’t believe I’m doing this. I’ve got to. Oh, I can’t do it! Come on! No, yes, no, do it! I can’t. How should I start it? You like jazz? No, that’s no good. Here she comes. Speak, you fool. As Vanessa walks by, Barry takes a DEEP BREATH. BARRY (CONT’D) (cheerful) Umm...hi. Vanessa DROPS A STACK OF DISHES, and HOPS BACK. BARRY (CONT’D) I’m sorry. VANESSA You’re talking. BARRY Yes, I know, I know. VANESSA You’re talking. BARRY I know, I’m sorry. I’m so sorry. VANESSA It’s okay. It’s fine. It’s just, I know I’m dreaming, but I don’t recall going to bed. "Bee Movie" - JS REVISIONS 8/13/07 35. BARRY Well, you know I’m sure this is very disconcerting. VANESSA Well yeah. I mean this is a bit of a surprise to me. I mean...you’re a bee. BARRY Yeah, I am a bee, and you know I’m not supposed to be doing this, but they were all trying to kill me and if it wasn’t for you...I mean, I had to thank you. It’s just the way I was raised. Vanessa intentionally JABS her hand with a FORK. VANESSA Ow! BARRY That was a little weird. VANESSA (to herself) I’m talking to a bee. BARRY Yeah. VANESSA I’m talking to a bee. BARRY Anyway... VANESSA And a bee is talking to me... BARRY I just want you to know that I’m grateful, and I’m going to leave now. VANESSA Wait, wait, wait, wait, how did you learn to do that? BARRY What? "Bee Movie" - JS REVISIONS 8/13/07 36. VANESSA The talking thing. BARRY Same way you did, I guess. Mama, Dada, honey, you pick it up. VANESSA That’s very funny. BARRY Yeah. Bees are funny. If we didn’t laugh, we’d cry. With what we have to deal with. Vanessa LAUGHS. BARRY (CONT’D) Anyway. VANESSA Can I, uh, get you something? BARRY Like what? VANESSA I don’t know. I mean, I don’t know. Coffee? BARRY Well, uh, I don’t want to put you out. VANESSA It’s no trouble. BARRY Unless you’re making anyway. VANESSA Oh, it takes two minutes. BARRY Really? VANESSA It’s just coffee. BARRY I hate to impose. "Bee Movie" - JS REVISIONS 8/13/07 37. VANESSA Don’t be ridiculous. BARRY Actually, I would love a cup. VANESSA Hey, you want a little rum cake? BARRY I really shouldn’t. VANESSA Have a little rum cake. BARRY No, no, no, I can’t. VANESSA Oh, come on. BARRY You know, I’m trying to lose a couple micrograms here. VANESSA Where? BARRY Well... These stripes don’t help. VANESSA You look great. BARRY I don’t know if you know anything about fashion. Vanessa starts POURING the coffee through an imaginary cup and directly onto the floor. BARRY (CONT'D) Are you alright? VANESSA No. DISSOLVE TO: SEQ. 1300 - “ROOFTOP COFFEE” "Bee Movie" - JS REVISIONS 8/13/07 38. EXT. VANESSA’S ROOF - LATER Barry and Vanessa are drinking coffee on her roof terrace. He is perched on her keychain. BARRY ...He can’t get a taxi. He’s making the tie in the cab, as they’re flying up Madison. So he finally gets there. VANESSA Uh huh? BARRY He runs up the steps into the church, the wedding is on... VANESSA Yeah? BARRY ...and he says, watermelon? I thought you said Guatemalan. VANESSA Uh huh? BARRY Why would I marry a watermelon? Barry laughs. Vanessa doesn’t. VANESSA Oh! Is that, uh, a bee joke? BARRY Yeah, that’s the kind of stuff that we do. VANESSA Yeah, different. A BEAT. VANESSA (CONT’D) So anyway...what are you going to do, Barry? "Bee Movie" - JS REVISIONS 8/13/07 39. BARRY About work? I don’t know. I want to do my part for the hive, but I can’t do it the way they want. VANESSA I know how you feel. BARRY You do? VANESSA Sure, my parents wanted me to be a lawyer or doctor, but I wanted to be a florist. BARRY Really? VANESSA My only interest is flowers. BARRY Our new queen was just elected with that same campaign slogan. VANESSA Oh. BARRY Anyway, see there’s my hive, right there. You can see it. VANESSA Oh, you’re in Sheep Meadow. BARRY (excited) Yes! You know the turtle pond? VANESSA Yes? BARRY I’m right off of that. VANESSA Oh, no way. I know that area. Do you know I lost a toe-ring there once? BARRY Really? "Bee Movie" - JS REVISIONS 8/13/07 40. VANESSA Yes. BARRY Why do girls put rings on their toes? VANESSA Why not? BARRY I don’t know. It’s like putting a hat on your knee. VANESSA Really? Okay. A JANITOR in the background changes a LIGHTBULB. To him, it appears that Vanessa is talking to an imaginary friend. JANITOR You all right, ma’am? VANESSA Oh, yeah, fine. Just having two cups of coffee. BARRY Anyway, this has been great. (wiping his mouth) Thanks for the coffee. Barry gazes at Vanessa. VANESSA Oh yeah, it’s no trouble. BARRY Sorry I couldn’t finish it. Vanessa giggles. BARRY (CONT'D) (re: coffee) If I did, I’d be up the rest of my life. Ummm. Can I take a piece of this with me? VANESSA Sure. Here, have a crumb. She takes a CRUMB from the plate and hands it to Barry. "Bee Movie" - JS REVISIONS 8/13/07 41. BARRY (a little dreamy) Oh, thanks. VANESSA Yeah. There is an awkward pause. BARRY Alright, well then, I guess I’ll see you around, or not, or... VANESSA Okay Barry. BARRY And thank you so much again, for before. VANESSA Oh that? BARRY Yeah. VANESSA Oh, that was nothing. BARRY Well, not nothing, but, anyway... Vanessa extends her hand, and shakes Barry’s gingerly. The Janitor watches. The lightbulb shorts out. The Janitor FALLS. CUT TO: SEQ. 1400 - “HONEX” INT. HONEX BUILDING - NEXT DAY ANGLE ON: A TEST BEE WEARING A PARACHUTE is in a wind tunnel, hovering through increasingly heavy wind. SIGNS UNDER A FLASHING LIGHT READ: “Test In Progress” & “Hurricane Survival Test”. 2 BEES IN A LAB COATS are observing behind glass. "Bee Movie" - JS REVISIONS 8/13/07 42. LAB COAT BEE 1 This can’t possibly work. LAB COAT BEE 2 Well, he’s all set to go, we may as well try it. (into the mic) Okay Dave, pull the chute. The test bee opens his parachute. He’s instantly blown against the rear wall. Adam and Barry ENTER. ADAM Sounds amazing. BARRY Oh, it was amazing. It was the scariest, happiest moment of my life. ADAM Humans! Humans! I can’t believe you were with humans! Giant scary humans! What were they like? BARRY Huge and crazy. They talk crazy, they eat crazy giant things. They drive around real crazy. ADAM And do they try and kill you like on TV? BARRY Some of them. But some of them don’t. ADAM How’d you get back? BARRY Poodle. ADAM Look, you did it. And I’m glad. You saw whatever you wanted to see out there, you had your “experience”, and now you’re back, you can pick out your job, and everything can be normal. "Bee Movie" - JS REVISIONS 8/13/07 43. ANGLE ON: LAB BEES examining a CANDY CORN through a microscope. BARRY Well... ADAM Well? BARRY Well, I met someone. ADAM You met someone? Was she Bee-ish? BARRY Mmm. ADAM Not a WASP? Your parents will kill you. BARRY No, no, no, not a wasp. ADAM Spider? BARRY You know, I’m not attracted to the spiders. I know to everyone else it’s like the hottest thing with the eight legs and all. I can’t get by that face. Barry makes a spider face. ADAM So, who is she? BARRY She’s a human. ADAM Oh no, no, no, no. That didn’t happen. You didn’t do that. That is a bee law. You wouldn’t break a bee law. BARRY Her name’s Vanessa. "Bee Movie" - JS REVISIONS 8/13/07 44. ADAM Oh, oh boy! BARRY She’s so-o nice. And she’s a florist! ADAM Oh, no. No, no, no! You’re dating a human florist? BARRY We’re not dating. ADAM You’re flying outside the hive. You’re talking to human beings that attack our homes with power washers and M-80’s. That’s 1/8 of a stick of dynamite. BARRY She saved my life. And she understands me. ADAM This is over. Barry pulls out the crumb. BARRY Eat this. Barry stuffs the crumb into Adam’s face. ADAM This is not over. What was that? BARRY They call it a crumb. ADAM That was SO STINGING STRIPEY! BARRY And that’s not even what they eat. That just falls off what they eat. Do you know what a Cinnabon is? ADAM No. "Bee Movie" - JS REVISIONS 8/13/07 45. BARRY It’s bread... ADAM Come in here! BARRY and cinnamon, ADAM Be quiet! BARRY and frosting...they heat it up-- ADAM Sit down! INT. ADAM’S OFFICE - CONTINUOUS BARRY Really hot! ADAM Listen to me! We are not them. We’re us. There’s us and there’s them. BARRY Yes, but who can deny the heart that is yearning... Barry rolls his chair down the corridor. ADAM There’s no yearning. Stop yearning. Listen to me. You have got to start thinking bee, my friend. ANOTHER BEE JOINS IN. ANOTHER BEE Thinking bee. WIDER SHOT AS A 3RD BEE ENTERS, popping up over the cubicle wall. 3RD BEE Thinking bee. EVEN WIDER SHOT AS ALL THE BEES JOIN IN. "Bee Movie" - JS REVISIONS 8/13/07 46. OTHER BEES Thinking bee. Thinking bee. Thinking bee. CUT TO: SEQ. 1500 - “POOLSIDE NAGGING” EXT. BACKYARD PARENT’S HOUSE - DAY Barry sits on a RAFT in a hexagon honey pool, legs dangling into the water. Janet Benson and Martin Benson stand over him wearing big, sixties sunglasses and cabana-type outfits. The sun shines brightly behind their heads. JANET BENSON (O.C) There he is. He’s in the pool. MARTIN BENSON You know what your problem is, Barry? BARRY I’ve got to start thinking bee? MARTIN BENSON Barry, how much longer is this going to go on? It’s been three days. I don’t understand why you’re not working. BARRY Well, I’ve got a lot of big life decisions I’m thinking about. MARTIN BENSON What life? You have no life! You have no job! You’re barely a bee! Barry throws his hands in the air. BARRY Augh. JANET BENSON Would it kill you to just make a little honey? Barry ROLLS off the raft and SINKS to the bottom of the pool. We hear his parents’ MUFFLED VOICES from above the surface. "Bee Movie" - JS REVISIONS 8/13/07 47. JANET BENSON (CONT'D) (muffled) Barry, come out from under there. Your father’s talking to you. Martin, would you talk to him? MARTIN BENSON Barry, I’m talking to you. DISSOLVE TO: EXT. PICNIC AREA - DAY MUSIC: “Sugar Sugar” by the Archies. Barry and Vanessa are having a picnic. A MOSQUITO lands on Vanessa’s leg. She SWATS it violently. Barry’s head whips around, aghast. They stare at each other awkwardly in a frozen moment, then BURST INTO HYSTERICAL LAUGHTER. Vanessa GETS UP. VANESSA You coming? BARRY Got everything? VANESSA All set. Vanessa gets into a one-man Ultra Light plane with a black and yellow paint scheme. She puts on her helmet. BARRY You go ahead, I’ll catch up. VANESSA (come hither wink) Don’t be too long. The Ultra Light takes off. Barry catches up. They fly sideby-side. VANESSA (CONT’D) Watch this! Vanessa does a loop, and FLIES right into the side of a mountain, BURSTING into a huge ball of flames. "Bee Movie" - JS REVISIONS 8/13/07 48. BARRY (yelling, anguished) Vanessa! EXT. BARRY’S PARENT’S HOUSE - CONTINUOUS ANGLE ON: Barry’s face bursting through the surface of the pool, GASPING for air, eyes opening in horror. MARTIN BENSON We’re still here, Barry. JANET BENSON I told you not to yell at him. He doesn’t respond when you yell at him. MARTIN BENSON Then why are you yelling at me? JANET BENSON Because you don’t listen. MARTIN BENSON I’m not listening to this. Barry is toweling off, putting on his sweater. BARRY Sorry Mom, I’ve got to go. JANET BENSON Where are you going? BARRY Nowhere. I’m meeting a friend. Barry JUMPS off the balcony and EXITS. JANET BENSON (calling after him) A girl? Is this why you can’t decide? BARRY Bye! JANET BENSON I just hope she’s Bee-ish. CUT TO: "Bee Movie" - JS REVISIONS 8/13/07 49. SEQ. 1700 - “STREETWALK/SUPERMARKET” EXT. VANESSA’S FLORIST SHOP - DAY Vanessa FLIPS the sign to say “Sorry We Missed You”, and locks the door. ANGLE ON: A POSTER on Vanessa’s door for the Tournament of Roses Parade in Pasadena. BARRY So they have a huge parade of just flowers every year in Pasadena? VANESSA Oh, to be in the Tournament of Roses, that’s every florist’s dream. Up on a float, surrounded by flowers, crowds cheering. BARRY Wow, a tournament. Do the roses actually compete in athletic events? VANESSA No. Alright, I’ve got one. How come you don’t fly everywhere? BARRY It’s exhausting. Why don’t you run everywhere? VANESSA Hmmm. BARRY Isn’t that faster? VANESSA Yeah, okay. I see, I see. Alright, your turn. Barry and Vanessa walk/fly down a New York side street, no other pedestrians near them. BARRY Ah! Tivo. You can just freeze live TV? That’s insane. "Bee Movie" - JS REVISIONS 8/13/07 50. VANESSA What, you don’t have anything like that? BARRY We have Hivo, but it’s a disease. It’s a horrible, horrible disease. VANESSA Oh my. They turn the corner onto a busier avenue and people start to swat at Barry. MAN Dumb bees! VANESSA You must just want to sting all those jerks. BARRY We really try not to sting. It’s usually fatal for us. VANESSA So you really have to watch your temper? They ENTER a SUPERMARKET. CUT TO: INT. SUPERMARKET BARRY Oh yeah, very carefully. You kick a wall, take a walk, write an angry letter and throw it out. You work through it like any emotion-- anger, jealousy, (under his breath) lust. Barry hops on top of some cardboard boxes in the middle of an aisle. A stock boy, HECTOR, whacks him with a rolled up magazine. VANESSA (to Barry) Oh my goodness. Are you okay? "Bee Movie" - JS REVISIONS 8/13/07 51. BARRY Yeah. Whew! Vanessa WHACKS Hector over the head with the magazine. VANESSA (to Hector) What is wrong with you?! HECTOR It’s a bug. VANESSA Well he’s not bothering anybody. Get out of here, you creep. Vanessa pushes him, and Hector EXITS, muttering. BARRY (shaking it off) What was that, a Pick and Save circular? VANESSA Yeah, it was. How did you know? BARRY It felt like about ten pages. Seventy-five’s pretty much our limit. VANESSA Boy, you’ve really got that down to a science. BARRY Oh, we have to. I lost a cousin to Italian Vogue. VANESSA I’ll bet. Barry stops, sees the wall of honey jars. BARRY What, in the name of Mighty Hercules, is this? How did this get here? Cute Bee? Golden Blossom? Ray Liotta Private Select? VANESSA Is he that actor? "Bee Movie" - JS REVISIONS 8/13/07 52. BARRY I never heard of him. Why is this here? VANESSA For people. We eat it. BARRY Why? (gesturing around the market) You don’t have enough food of your own? VANESSA Well yes, we-- BARRY How do you even get it? VANESSA Well, bees make it... BARRY I know who makes it! And it’s hard to make it! There’s Heating and Cooling, and Stirring...you need a whole Krelman thing. VANESSA It’s organic. BARRY It’s our-ganic! VANESSA It’s just honey, Barry. BARRY Just...what?! Bees don’t know about this. This is stealing. A lot of stealing! You’ve taken our homes, our schools, our hospitals. This is all we have. And it’s on sale? I’m going to get to the bottom of this. I’m going to get to the bottom of all of this! He RIPS the label off the Ray Liotta Private Select. CUT TO: "Bee Movie" - JS REVISIONS 8/13/07 53. SEQ. 1800 - “WINDSHIELD” EXT. BACK OF SUPERMARKET LOADING DOCK - LATER THAT DAY Barry disguises himself by blacking out his yellow lines with a MAGIC MARKER and putting on some war paint. He sees Hector, the stock boy, with a knife CUTTING open cardboard boxes filled with honey jars. MAN You almost done? HECTOR Almost. Barry steps in some honey, making a SNAPPING noise. Hector stops and turns. HECTOR (CONT’D) He is here. I sense it. Hector grabs his BOX CUTTER. Barry REACTS, hides himself behind the box again. HECTOR (CONT’D) (talking too loud, to no one in particular) Well, I guess I’ll go home now, and just leave this nice honey out, with no one around. A BEAT. Hector pretends to exit. He takes a couple of steps in place. ANGLE ON: The honey jar. Barry steps out into a moody spotlight. BARRY You’re busted, box boy! HECTOR Ah ha! I knew I heard something. So, you can talk. Barry flies up, stinger out, pushing Hector up against the wall. As Hector backs up, he drops his knife. BARRY Oh, I can talk. And now you’re going to start talking. "Bee Movie" - JS REVISIONS 8/13/07 54. Where are you getting all the sweet stuff? Who’s your supplier?! HECTOR I don’t know what you’re talking about. I thought we were all friends. The last thing we want to do is upset any of you...bees! Hector grabs a PUSHPIN. Barry fences with his stinger. HECTOR (CONT’D) You’re too late. It’s ours now! BARRY You, sir, have crossed the wrong sword. HECTOR You, sir, are about to be lunch for my iguana, Ignacio! Barry and Hector get into a cross-swords, nose-to-nose confrontation. BARRY Where is the honey coming from? Barry knocks the pushpin out of his hand. Barry puts his stinger up to Hector’s nose. BARRY (CONT'D) Tell me where?! HECTOR (pointing to a truck) Honey Farms. It comes from Honey Farms. ANGLE ON: A Honey Farms truck leaving the parking lot. Barry turns, takes off after the truck through an alley. He follows the truck out onto a busy street, dodging a bus, and several cabs. CABBIE Crazy person! He flies through a metal pipe on the top of a truck. BARRY OOOHHH! "Bee Movie" - JS REVISIONS 8/13/07 55. BARRY (CONT'D) Barry grabs onto a bicycle messenger’s backpack. The honey farms truck starts to pull away. Barry uses the bungee cord to slingshot himself towards the truck. He lands on the windshield, where the wind plasters him to the glass. He looks up to find himself surrounded by what appear to be DEAD BUGS. He climbs across, working his way around the bodies. BARRY (CONT’D) Oh my. What horrible thing has happened here? Look at these faces. They never knew what hit them. And now they’re on the road to nowhere. A MOSQUITO opens his eyes. MOOSEBLOOD Pssst! Just keep still. BARRY What? You’re not dead? MOOSEBLOOD Do I look dead? Hey man, they will wipe anything that moves. Now, where are you headed? BARRY To Honey Farms. I am onto something huge here. MOOSEBLOOD I’m going to Alaska. Moose blood. Crazy stuff. Blows your head off. LADYBUG I’m going to Tacoma. BARRY (to fly) What about you? MOOSEBLOOD He really is dead. BARRY Alright. The WIPER comes towards them. "Bee Movie" - JS REVISIONS 8/13/07 56. MOOSEBLOOD Uh oh. BARRY What is that? MOOSEBLOOD Oh no! It’s a wiper, triple blade! BARRY Triple blade? MOOSEBLOOD Jump on. It’s your only chance, bee. They hang on as the wiper goes back and forth. MOOSEBLOOD (CONT'D) (yelling to the truck driver through the glass) Why does everything have to be so dog-gone clean?! How much do you people need to see? Open your eyes! Stick your head out the window! CUT TO: INT. TRUCK CAB SFX: Radio. RADIO VOICE For NPR News in Washington, I’m Carl Kasell. EXT. TRUCK WINDSHIELD MOOSEBLOOD But don’t kill no more bugs! The Mosquito is FLUNG off of the wiper. MOOSEBLOOD (CONT'D) Beeeeeeeeeeeeee! BARRY Moose blood guy! "Bee Movie" - JS REVISIONS 8/13/07 57. Barry slides toward the end of the wiper, is thrown off, but he grabs the AERIAL and hangs on for dear life. Barry looks across and sees a CRICKET on another vehicle in the exact same predicament. They look at each other and SCREAM in unison. BARRY AND CRICKET Aaaaaaaaaah! ANOTHER BUG grabs onto the aerial, and screams as well. INT. TRUCK CAB - SAME TIME DRIVER You hear something? TRUCKER PASSENGER Like what? DRIVER Like tiny screaming. TRUCKER PASSENGER Turn off the radio. The driver reaches down and PRESSES a button, lowering the aerial. EXT. TRUCK WINDSHIELD - SAME TIME Barry and the other bug do a “choose up” to the bottom, Barry wins. BARRY Aha! Then he finally has to let go and gets thrown into the truck horn atop cab. Mooseblood is inside. MOOSEBLOOD Hey, what’s up bee boy? BARRY Hey, Blood! DISSOLVE TO: "Bee Movie" - JS REVISIONS 8/13/07 58. INT. TRUCK HORN - LATER BARRY ...and it was just an endless row of honey jars as far as the eye could see. MOOSEBLOOD Wow. BARRY So I’m just assuming wherever this honey truck goes, that’s where they’re getting it. I mean, that honey’s ours! MOOSEBLOOD Bees hang tight. BARRY Well, we’re all jammed in there. It’s a close community. MOOSEBLOOD Not us, man. We’re on our own. Every mosquito is on his own. BARRY But what if you get in trouble? MOOSEBLOOD Trouble? You're a mosquito. You're in trouble! Nobody likes us. They’re just all smacking. People see a mosquito, smack, smack! BARRY At least you’re out in the world. You must meet a lot of girls. MOOSEBLOOD Mosquito girls try to trade up; get with a moth, dragonfly...mosquito girl don’t want no mosquito. A BLOOD MOBILE pulls up alongside. MOOSEBLOOD (CONT'D) Whoa, you have got to be kidding me. Mooseblood’s about to leave the building. So long bee. "Bee Movie" - JS REVISIONS 8/13/07 59. Mooseblood EXITS the horn, and jumps onto the blood mobile. MOOSEBLOOD (CONT'D) Hey guys. I knew I’d catch you all down here. Did you bring your crazy straws? CUT TO: SEQ. 1900 - “THE APIARY” EXT. APIARY - LATER Barry sees a SIGN, “Honey Farms” The truck comes to a stop. SFX: The Honey farms truck blares its horn. Barry flies out, lands on the hood. ANGLE ON: Two BEEKEEPERS, FREDDY and ELMO, walking around to the back of the gift shop. Barry follows them, and lands in a nearby tree FREDDY ...then we throw it in some jars, slap a label on it, and it’s pretty much pure profit. BARRY What is this place? ELMO Bees got a brain the size of a pinhead. FREDDY They are pinheads. The both LAUGH. ANGLE ON: Barry REACTING. They arrive at the back of the shop where one of them opens a SMOKER BOX. FREDDY (CONT’D) Hey, check out the new smoker. "Bee Movie" - JS REVISIONS 8/13/07 60. ELMO Oh, Sweet. That’s the one you want. FREDDY The Thomas 3000. BARRY Smoker? FREDDY 90 puffs a minute, semi-automatic. Twice the nicotine, all the tar. They LAUGH again, nefariously. FREDDY (CONT’D) Couple of breaths of this, and it knocks them right out. They make the honey, and we make the money. BARRY “They make the honey, and we make the money?” Barry climbs onto the netting of Freddy’s hat. He climbs up to the brim and looks over the edge. He sees the apiary boxes as Freddy SMOKES them. BARRY (CONT'D) Oh my. As Freddy turns around, Barry jumps into an open apiary box, and into an apartment. HOWARD and FRAN are just coming to from the smoking. BARRY (CONT’D) What’s going on? Are you okay? HOWARD Yeah, it doesn’t last too long. HE COUGHS a few times. BARRY How did you two get here? Do you know you’re in a fake hive with fake walls? HOWARD (pointing to a picture on the wall) "Bee Movie" - JS REVISIONS 8/13/07 61. Our queen was moved here, we had no choice. BARRY (looking at a picture on the wall) This is your queen? That’s a man in women’s clothes. That’s a dragqueen! The other wall opens. Barry sees the hundreds of apiary boxes. BARRY (CONT'D) What is this? Barry pulls out his camera, and starts snapping. BARRY (CONT’D) Oh no. There’s hundreds of them. (V.O, as Barry takes pictures) Bee honey, our honey, is being brazenly stolen on a massive scale. CUT TO: SEQ. 2100 - “BARRY TELLS FAMILY” INT. BARRY’S PARENT’S HOUSE - LIVING ROOM - LATER Barry has assembled his parents, Adam, and Uncle Carl. BARRY This is worse than anything the bears have done to us. And I intend to do something about it. JANET BENSON Oh Barry, stop. MARTIN BENSON Who told you that humans are taking our honey? That’s just a rumor. BARRY Do these look like rumors? Barry throws the PICTURES on the table. Uncle Carl, cleaning his glasses with his shirt tail, digs through a bowl of nuts with his finger. "Bee Movie" - JS REVISIONS 8/13/07 62. HOWARD (CONT'D) UNCLE CARL That’s a conspiracy theory. These are obviously doctored photos. JANET BENSON Barry, how did you get mixed up in all this? ADAM (jumping up) Because he’s been talking to humans! JANET BENSON Whaaat? MARTIN BENSON Talking to humans?! Oh Barry. ADAM He has a human girlfriend and they make out! JANET BENSON Make out? Barry? BARRY We do not. ADAM You wish you could. BARRY Who’s side are you on? ADAM The bees! Uncle Carl stands up and pulls his pants up to his chest. UNCLE CARL I dated a cricket once in San Antonio. Man, those crazy legs kept me up all night. Hotcheewah! JANET BENSON Barry, this is what you want to do with your life? BARRY This is what I want to do for all our lives. Nobody works harder than bees. "Bee Movie" - JS REVISIONS 8/13/07 63. Dad, I remember you coming home some nights so overworked, your hands were still stirring. You couldn’t stop them. MARTIN BENSON Ehhh... JANET BENSON (to Martin) I remember that. BARRY What right do they have to our hardearned honey? We’re living on two cups a year. They’re putting it in lip balm for no reason what-soever. MARTIN BENSON Even if it’s true, Barry, what could one bee do? BARRY I’m going to sting them where it really hurts. MARTIN BENSON In the face? BARRY No. MARTIN BENSON In the eye? That would really hurt. BARRY No. MARTIN BENSON Up the nose? That’s a killer. BARRY No. There’s only one place you can sting the humans. One place where it really matters. CUT TO: SEQ. 2300 - “HIVE AT 5 NEWS/BEE LARRY KING” "Bee Movie" - JS REVISIONS 8/13/07 64. BARRY (CONT'D) INT. NEWS STUDIO - DAY DRAMATIC NEWS MUSIC plays as the opening news sequence rolls. We see the “Hive at Five” logo, followed by shots of past news events: A BEE freeway chase, a BEE BEARD protest rally, and a BEAR pawing at the hive as the BEES flee in panic. BOB BUMBLE (V.O.) Hive at Five, the hive’s only full hour action news source... SHOTS of NEWSCASTERS flash up on screen. BOB BUMBLE (V.O.) (CONT'D) With Bob Bumble at the anchor desk... BOB has a big shock of anchorman hair, gray temples and overly white teeth. BOB BUMBLE (V.O.) (CONT'D) ...weather with Storm Stinger, sports with Buzz Larvi, and Jeanette Chung. JEANETTE is an Asian bee. BOB BUMBLE (CONT'D) Good evening, I’m Bob Bumble. JEANETTE CHUNG And I’m Jeanette Chung. BOB BUMBLE Our top story, a tri-county bee, Barry Benson... INSERT: Barry’s graduation picture. BOB BUMBLE (CONT'D) ...is saying he intends to sue the human race for stealing our honey, packaging it, and profiting from it illegally. CUT TO: "Bee Movie" - JS REVISIONS 8/13/07 65. INT. BEENN STUDIO - BEE LARRY KING LIVE BEE LARRY KING, wearing suspenders and glasses, is interviewing Barry. A LOWER-THIRD CHYRON reads: “Bee Larry King Live.” BEE LARRY KING Don’t forget, tomorrow night on Bee Larry King, we are going to have three former Queens all right here in our studio discussing their new book, “Classy Ladies,” out this week on Hexagon. (to Barry) Tonight, we’re talking to Barry Benson. Did you ever think, I’m just a kid from the hive, I can’t do this? BARRY Larry, bees have never been afraid to change the world. I mean, what about Bee-Columbus? Bee-Ghandi? Be-geesus? BEE LARRY KING Well, where I’m from you wouldn’t think of suing humans. We were thinking more like stick ball, candy stores. BARRY How old are you? BEE LARRY KING I want you to know that the entire bee community is supporting you in this case, which is certain to be the trial of the bee century. BARRY Thank you, Larry. You know, they have a Larry King in the human world, too. BEE LARRY KING It’s a common name. Next week on Bee Larry King... "Bee Movie" - JS REVISIONS 8/13/07 66. BARRY No, I mean he looks like you. And he has a show with suspenders and different colored dots behind him. BEE LARRY KING Next week on Bee Larry King... BARRY Old guy glasses, and there’s quotes along the bottom from the guest you’re watching even though you just heard them... BEE LARRY KING Bear week next week! They’re scary, they’re hairy, and they’re here live. Bee Larry King EXITS. BARRY Always leans forward, pointy shoulders, squinty eyes... (lights go out) Very Jewish. CUT TO: SEQ. 2400 - “FLOWER SHOP” INT. VANESSA’S FLOWER SHOP - NIGHT Stacks of law books are piled up, legal forms, etc. Vanessa is talking with Ken in the other room. KEN Look, in tennis, you attack at the point of weakness. VANESSA But it was my grandmother, Ken. She’s 81. KEN Honey, her backhand’s a joke. I’m not going to take advantage of that? "Bee Movie" - JS REVISIONS 8/13/07 67. BARRY (O.C) Quiet please. Actual work going on here. KEN Is that that same bee? BARRY (O.C) Yes it is. VANESSA I’m helping him sue the human race. KEN What? Barry ENTERS. BARRY Oh, hello. KEN Hello Bee. Barry flies over to Vanessa. VANESSA This is Ken. BARRY Yeah, I remember you. Timberland, size 10 1/2, Vibram sole I believe. KEN Why does he talk again, Hun? VANESSA (to Ken, sensing the tension) Listen, you’d better go because we’re really busy working. KEN But it’s our yogurt night. VANESSA (pushing him out the door) Oh...bye bye. She CLOSES the door. KEN Why is yogurt night so difficult?! "Bee Movie" - JS REVISIONS 8/13/07 68. Vanessa ENTERS the back room carrying coffee. VANESSA Oh you poor thing, you two have been at this for hours. BARRY Yes, and Adam here has been a huge help. ANGLE ON: A EMPTY CINNABON BOX with Adam asleep inside, covered in frosting. VANESSA How many sugars? BARRY Just one. I try not to use the competition. So, why are you helping me, anyway? VANESSA Bees have good qualities. BARRY (rowing on the sugar cube like a gondola) Si, Certo. VANESSA And it feels good to take my mind off the shop. I don’t know why, instead of flowers, people are giving balloon bouquets now. BARRY Yeah, those are great...if you’re 3. VANESSA And artificial flowers. BARRY (re: plastic flowers) Oh, they just get me psychotic! VANESSA Yeah, me too. BARRY The bent stingers, the pointless pollination. "Bee Movie" - JS REVISIONS 8/13/07 69. VANESSA Bees must hate those fake plastic things. BARRY There’s nothing worse than a daffodil that’s had work done. VANESSA (holding up the lawsuit documents) Well, maybe this can make up for it a little bit. CUT TO: EXT. VANESSA’S FLORIST SHOP They EXIT the store, and cross to the mailbox. VANESSA You know Barry, this lawsuit is a pretty big deal. BARRY I guess. VANESSA Are you sure that you want to go through with it? BARRY Am I sure? (kicking the envelope into the mailbox) When I’m done with the humans, they won’t be able to say, “Honey, I’m home,” without paying a royalty. CUT TO: SEQ. 2700 - “MEET MONTGOMERY” EXT. MANHATTAN COURTHOUSE - DAY P.O.V SHOT - A camera feed turns on, revealing a newsperson. "Bee Movie" - JS REVISIONS 8/13/07 70. PRESS PERSON #2 (talking to camera) Sarah, it’s an incredible scene here in downtown Manhattan where all eyes and ears of the world are anxiously waiting, because for the first time in history, we’re going to hear for ourselves if a honey bee can actually speak. ANGLE ON: Barry, Vanessa, and Adam getting out of the cab. The press spots Barry and Vanessa and pushes in. Adam sits on Vanessa’s shoulder. INT. COURTHOUSE - CONTINUOUS Barry, Vanessa, and Adam sit at the Plaintiff’s Table. VANESSA (turns to Barry) What have we gotten into here, Barry? BARRY I don’t know, but it’s pretty big, isn’t it? ADAM I can’t believe how many humans don’t have to be at work during the day. BARRY Hey, you think these billion dollar multinational food companies have good lawyers? CUT TO: EXT. COURTHOUSE STEPS - CONTINUOUS A BIG BLACK CAR pulls up. ANGLE ON: the grill filling the frame. We see the “L.T.M” monogram on the hood ornament. The defense lawyer, LAYTON T. MONTGOMERY comes out, squashing a bug on the pavement. CUT TO: "Bee Movie" - JS REVISIONS 8/13/07 71. INT. COURTHOUSE - CONTINUOUS Barry SHUDDERS. VANESSA What’s the matter? BARRY I don’t know. I just got a chill. Montgomery ENTERS. He walks by Barry’s table shaking a honey packet. MONTGOMERY Well, if it isn’t the B-Team. (re: the honey packet) Any of you boys work on this? He CHUCKLES. The JUDGE ENTERS. SEQ. 3000 - “WITNESSES” BAILIFF All rise! The Honorable Judge Bumbleton presiding. JUDGE (shuffling papers) Alright...Case number 4475, Superior Court of New York. Barry Bee Benson vs. the honey industry, is now in session. Mr. Montgomery, you are representing the five major food companies, collectively. ANGLE ON: Montgomery’s BRIEFCASE. It has an embossed emblem of an EAGLE, holding a gavel in one talon and a briefcase in the other. MONTGOMERY A privilege. JUDGE Mr. Benson. Barry STANDS. JUDGE (CONT’D) You are representing all bees of the world? "Bee Movie" - JS REVISIONS 8/13/07 72. Montgomery, the stenographer, and the jury lean in. CUT TO: EXT. COURTHOUSE - CONTINUOUS The spectators outside freeze. The helicopters angle forward to listen closely. CUT TO: INT. COURTHOUSE BARRY Bzzz bzzz bzzz...Ahh, I’m kidding, I’m kidding. Yes, your honor. We are ready to proceed. ANGLE ON: Courtroom hub-bub. JUDGE And Mr. Montgomery, your opening statement, please. Montgomery rises. MONTGOMERY (grumbles, clears his throat) Ladies and gentlemen of the jury. My grandmother was a simple woman. Born on a farm, she believed it was man's divine right to benefit from the bounty of nature God put before us. If we were to live in the topsy-turvy world Mr. Benson imagines, just think of what it would mean. Maybe I would have to negotiate with the silk worm for the elastic in my britches. Talking bee. How do we know this isn’t some sort of holographic motion picture capture Hollywood wizardry? They could be using laser beams, robotics, ventriloquism, cloning...for all we know he could be on steroids! Montgomery leers at Barry, who moves to the stand. "Bee Movie" - JS REVISIONS 8/13/07 73. JUDGE Mr. Benson? Barry makes his opening statement. BARRY Ladies and Gentlemen of the jury, there’s no trickery here. I’m just an ordinary bee. And as a bee, honey’s pretty important to me. It’s important to all bees. We invented it, we make it, and we protect it with our lives. Unfortunately, there are some people in this room who think they can take whatever they want from us cause we’re the little guys. And what I’m hoping is that after this is all over, you’ll see how by taking our honey, you’re not only taking away everything we have, but everything we are. ANGLE ON: Vanessa smiling. ANGLE ON: The BEE GALLERY wiping tears away. CUT TO: INT. BENSON HOUSE Barry’s family is watching the case on TV. JANET BENSON Oh, I wish he would dress like that all the time. So nice... CUT TO: INT. COURTROOM - LATER JUDGE Call your first witness. CUT TO: "Bee Movie" - JS REVISIONS 8/13/07 74. INT. COURTHOUSE - LATER BARRY So, Mr. Klauss Vanderhayden of Honey Farms. Pretty big company you have there? MR. VANDERHAYDEN I suppose so. BARRY And I see you also own HoneyBurton, and Hon-Ron. MR. VANDERHAYDEN Yes. They provide beekeepers for our farms. BARRY Beekeeper. I find that to be a very disturbing term, I have to say. I don’t imagine you employ any bee free-ers, do you? MR. VANDERHAYDEN No. BARRY I’m sorry. I couldn’t hear you. MR. VANDERHAYDEN (louder) No. BARRY No. Because you don’t free bees. You keep bees. And not only that, it seems you thought a bear would be an appropriate image for a jar of honey? MR. VANDERHAYDEN Well, they’re very lovable creatures. Yogi-bear, Fozzy-bear, Build-a-bear. BARRY Yeah, you mean like this?! Vanessa and the SUPERINTENDANT from her building ENTER with a GIANT FEROCIOUS GRIZZLY BEAR. He has a neck collar and chains extending from either side. "Bee Movie" - JS REVISIONS 8/13/07 75. By pulling the chains, they bring him directly in front of Vanderhayden. The bear LUNGES and ROARS. BARRY (CONT'D) Bears kill bees! How would you like his big hairy head crashing into your living room? Biting into your couch, spitting out your throwpillows...rowr, rowr! The bear REACTS. BEAR Rowr!! BARRY Okay, that’s enough. Take him away. Vanessa and the Superintendant pull the bear out of the courtroom. Vanderhayden TREMBLES. The judge GLARES at him. CUT TO: INT. COURTROOM- A LITTLE LATER Barry questions STING. BARRY So, Mr. Sting. Thank you for being here. Your name intrigues me, I have to say. Where have I heard it before? STING I was with a band called "The Police". BARRY But you've never been a police officer of any kind, have you? STING No, I haven't. "Bee Movie" - JS REVISIONS 8/13/07 76. BARRY No, you haven’t. And so, here we have yet another example of bee culture being casually stolen by a human for nothing more than a prance-about stage name. STING Oh please. BARRY Have you ever been stung, Mr. Sting? Because I'm feeling a little stung, Sting. Or should I say, (looking in folder) Mr. Gordon M. Sumner? The jury GASPS. MONTGOMERY (to his aides) That’s not his real name? You idiots! CUT TO: INT. COURTHOUSE- LATER BARRY Mr. Liotta, first may I offer my belated congratulations on your Emmy win for a guest spot on E.R. in 2005. LIOTTA Thank you. Thank you. Liotta LAUGHS MANIACALLY. BARRY I also see from your resume that you’re devilishly handsome, but with a churning inner turmoil that’s always ready to blow. LIOTTA I enjoy what I do. Is that a crime? "Bee Movie" - JS REVISIONS 8/13/07 77. BARRY Not yet it isn’t. But is this what it’s come to for you, Mr. Liotta? Exploiting tiny helpless bees so you don’t have to rehearse your part, and learn your lines, Sir? LIOTTA Watch it Benson, I could blow right now. BARRY This isn’t a goodfella. This is a badfella! LIOTTA (exploding, trying to smash Barry with the Emmy) Why doesn’t someone just step on this little creep and we can all go home? You’re all thinking it. Say it! JUDGE Order! Order in this courtroom! A MONTAGE OF NEWSPAPER HEADLINES FOLLOWS: NEW YORK POST: “Bees to Humans: Buzz Off”. NEW YORK TELEGRAM: “Sue Bee”. DAILY VARIETY: “Studio Dumps Liotta Project. Slams Door on Unlawful Entry 2.” CUT TO: SEQ. 3175 - “CANDLELIGHT DINNER” INT. VANESSA’S APARTMENT Barry and Vanessa are having a candle light dinner. Visible behind Barry is a “LITTLE MISSY” SET BOX, with the flaps open. BARRY Well, I just think that was awfully nice of that bear to pitch in like that. "Bee Movie" - JS REVISIONS 8/13/07 78. VANESSA I’m telling you, I think the jury’s on our side. BARRY Are we doing everything right...you know, legally? VANESSA I’m a florist. BARRY Right, right. Barry raises his glass. BARRY (CONT’D) Well, here’s to a great team. VANESSA To a great team. They toast. Ken ENTERS KEN Well hello. VANESSA Oh...Ken. BARRY Hello. VANESSA I didn’t think you were coming. KEN No, I was just late. I tried to call. But, (holding his cell phone) the battery... VANESSA I didn’t want all this to go to waste, so I called Barry. Luckily he was free. BARRY Yeah. KEN (gritting his teeth) Oh, that was lucky. "Bee Movie" - JS REVISIONS 8/13/07 79. VANESSA Well, there’s still a little left. I could heat it up. KEN Yeah, heat it up. Sure, whatever. Vanessa EXITS. Ken and Barry look at each other as Barry eats. BARRY So, I hear you’re quite a tennis player. I’m not much for the game myself. I find the ball a little grabby. KEN That’s where I usually sit. Right there. VANESSA (O.C) Ken, Barry was looking at your resume, and he agreed with me that “eating with chopsticks” isn’t really a special skill. KEN (to Barry) You think I don’t see what you’re doing? BARRY Hey look, I know how hard it is trying to find the right job. We certainly have that in common. KEN Do we? BARRY Well, bees have 100% employment, of course. But we do jobs like taking the crud out. KEN That’s just what I was thinking about doing. Ken holds his table knife up. It slips out of his hand. He goes under the table to pick it up. "Bee Movie" - JS REVISIONS 8/13/07 80. VANESSA Ken, I let Barry borrow your razor for his fuzz. I hope that was alright. Ken hits his head on the table. BARRY I’m going to go drain the old stinger. KEN Yeah, you do that. Barry EXITS to the bathroom, grabbing a small piece of a VARIETY MAGAZINE on the way. BARRY Oh, look at that. Ken slams the champagne down on the table. Ken closes his eyes and buries his face in his hands. He grabs a magazine on the way into the bathroom. SEQ. 2800 - “BARRY FIGHTS KEN” INT. BATHROOM - CONTINUOUS Ken ENTERS, closes the door behind him. He’s not happy. Barry is washing his hands. He glances back at Ken. KEN You know, I’ve just about had it with your little mind games. BARRY What’s that? KEN Italian Vogue. BARRY Mamma Mia, that’s a lot of pages. KEN It’s a lot of ads. BARRY Remember what Van said. Why is your life any more valuable than mine? "Bee Movie" - JS REVISIONS 8/13/07 81. KEN It’s funny, I just can’t seem to recall that! Ken WHACKS at Barry with the magazine. He misses and KNOCKS EVERYTHING OFF THE VANITY. Ken grabs a can of AIR FRESHENER. KEN (CONT'D) I think something stinks in here. He sprays at Barry. BARRY I love the smell of flowers. KEN Yeah? How do you like the smell of flames? Ken lights the stream. BARRY Not as much. Barry flies in a circle. Ken, trying to stay with him, spins in place. ANGLE ON: Flames outside the bathroom door. Ken slips on the Italian Vogue, falls backward into the shower, pulling down the shower curtain. The can hits him in the head, followed by the shower curtain rod, and the rubber duck. Ken reaches back, grabs the handheld shower head. He whips around, looking for Barry. ANGLE ON: A WATERBUG near the drain. WATERBUG Waterbug. Not taking sides. Barry is on the toilet tank. He comes out from behind a shampoo bottle, wearing a chapstick cap as a helmet. BARRY Ken, look at me! I’m wearing a chapstick hat. This is pathetic. ANGLE ON: Ken turning the hand shower nozzle from “GENTLE”, to “TURBO”, to “LETHAL”. "Bee Movie" - JS REVISIONS 8/13/07 82. KEN I’ve got issues! Ken fires the water at Barry, knocking him into the toilet. The items from the vanity (emory board, lipstick, eye curler, etc.) are on the toilet seat. Ken looks down at Barry. KEN (CONT'D) Well well well, a royal flush. BARRY You’re bluffing. KEN Am I? Ken flushes the toilet. Barry grabs the Emory board and uses it to surf. He puts his hand in the water while he’s surfing. Some water splashes on Ken. BARRY Surf’s up, dude! KEN Awww, poo water! He does some skate board-style half-pipe riding. Barry surfs out of the toilet. BARRY That bowl is gnarly. Ken tries to get a shot at him with the toilet brush. KEN Except for those dirty yellow rings. Vanessa ENTERS. VANESSA Kenneth! What are you doing? KEN You know what? I don’t even like honey! I don’t eat it! VANESSA We need to talk! "Bee Movie" - JS REVISIONS 8/13/07 83. She pulls Ken out by his ear. Ken glares at Barry. CUT TO: INT. HALLWAY - CONTINUOUS VANESSA He’s just a little bee. And he happens to be the nicest bee I’ve met in a long time. KEN Long time? What are you talking about? Are there other bugs in your life? VANESSA No, but there are other things bugging me in life. And you’re one of them! KEN Fine! Talking bees, no yogurt night...my nerves are fried from riding on this emotional rollercoaster. VANESSA Goodbye, Ken. KEN Augh! VANESSA Whew! Ken EXITS, then re-enters frame. KEN And for your information, I prefer sugar-free, artificial sweeteners, made by man! He EXITS again. The DOOR SLAMS behind him. VANESSA (to Barry) I’m sorry about all that. Ken RE-ENTERS. "Bee Movie" - JS REVISIONS 8/13/07 84. KEN I know it’s got an aftertaste! I like it! BARRY (re: Ken) I always felt there was some kind of barrier between Ken and me. (puts his hands in his pockets) I couldn’t overcome it. Oh well. VANESSA Are you going to be okay for the trial tomorrow? BARRY Oh, I believe Mr. Montgomery is about out of ideas. CUT TO: SEQ. 3300 - “ADAM STINGS MONTY” INT. COURTROOM - NEXT DAY ANGLE ON: Medium shot of Montgomery standing at his table. MONTGOMERY We would like to call Mr. Barry Benson Bee to the stand. ADAM (whispering to Vanessa) Now that’s a good idea. (to Barry) You can really see why he’s considered one of the very best lawyers-- Oh. Barry rolls his eyes. He gets up, takes the stand. A juror in a striped shirt APPLAUDS. MR. GAMMIL (whispering) Layton, you’ve got to weave some magic with this jury, or it’s going to be all over. Montgomery is holding a BOOK, “The Secret Life of Bees”. "Bee Movie" - JS REVISIONS 8/13/07 85. MONTGOMERY (confidently whispering) Oh, don’t worry Mr. Gammil. The only thing I have to do to turn this jury around is to remind them of what they don’t like about bees. (to Gammil) You got the tweezers? Mr. Gammil NODS, and pats his breast pocket. MR. GAMMIL Are you allergic? MONTGOMERY Only to losing, son. Only to losing. Montgomery approaches the stand. MONTGOMERY (CONT’D) Mr. Benson Bee. I’ll ask you what I think we’d all like to know. What exactly is your relationship to that woman? Montgomery points to Vanessa. BARRY We’re friends. MONTGOMERY Good friends? BARRY Yes. MONTGOMERY (softly in Barry’s face) How good? BARRY What? MONTGOMERY Do you live together? BARRY Wait a minute, this isn’t about-- "Bee Movie" - JS REVISIONS 8/13/07 86. MONTGOMERY Are you her little... (clearing throat) ... bed bug? BARRY (flustered) Hey, that’s not the kind of-- MONTGOMERY I’ve seen a bee documentary or two. Now, from what I understand, doesn’t your Queen give birth to all the bee children in the hive? BARRY Yeah, but-- MONTGOMERY So those aren’t even your real parents! ANGLE ON: Barry’s parents. MARTIN BENSON Oh, Barry. BARRY Yes they are! ADAM Hold me back! Vanessa holds him back with a COFFEE STIRRER. Montgomery points to Barry’s parents. MONTGOMERY You’re an illegitimate bee, aren’t you Benson? ADAM He’s denouncing bees! All the bees in the courtroom start to HUM. They’re agitated. MONTGOMERY And don’t y’all date your cousins? "Bee Movie" - JS REVISIONS 8/13/07 87. VANESSA (standing, letting go of Adam) Objection! Adam explodes from the table and flies towards Montgomery. ADAM I’m going to pin cushion this guy! Montgomery turns around and positions himself by the judge’s bench. He sticks his butt out. Montgomery winks at his team. BARRY Adam, don’t! It’s what he wants! Adam shoves Barry out of the way. Adam STINGS Montgomery in the butt. The jury REACTS, aghast. MONTGOMERY Ow! I’m hit! Oh, lordy, I am hit! The judge BANGS her gavel. JUDGE Order! Order! Please, Mr. Montgomery. MONTGOMERY The venom! The venom is coursing through my veins! I have been felled by a wing-ed beast of destruction. You see? You can’t treat them like equals. They’re strip-ed savages! Stinging’s the only thing they know! It’s their way! ANGLE ON: Adam, collapsed on the floor. Barry rushes to his side. BARRY Adam, stay with me. ADAM I can’t feel my legs. Montgomery falls on the Bailiff. BAILIFF Take it easy. "Bee Movie" - JS REVISIONS 8/13/07 88. MONTGOMERY Oh, what angel of mercy will come forward to suck the poison from my heaving buttocks? The JURY recoils. JUDGE Please, I will have order in this court. Order! Order, please! FADE TO: SEQ. 3400 - “ADAM AT HOSPITAL” INT. HOSPITAL - STREET LEVEL ROOM - DAY PRESS PERSON #1 (V.O) The case of the honey bees versus the human race took a pointed turn against the bees yesterday, when one of their legal team stung Layton T. Montgomery. Now here’s Don with the 5-day. A NURSE lets Barry into the room. Barry CARRIES a FLOWER. BARRY Thank you. Barry stands over Adam, in a bed. Barry lays the flower down next to him. The TV is on. BARRY (CONT'D) Hey buddy. ADAM Hey. BARRY Is there much pain? Adam has a BEE-SIZED PAINKILLER HONEY BUTTON near his head that he presses. ADAM (pressing the button) Yeah...I blew the whole case, didn’t I? "Bee Movie" - JS REVISIONS 8/13/07 89. BARRY Oh, it doesn’t matter. The important thing is you’re alive. You could have died. ADAM I’d be better off dead. Look at me. Adam THROWS the blanket off his lap, revealing a GREEN SANDWICH SWORD STINGER. ADAM (CONT’D) (voice cracking) They got it from the cafeteria, they got it from downstairs. In a tuna sandwich. Look, there’s a little celery still on it. BARRY What was it like to sting someone? ADAM I can’t explain it. It was all adrenaline...and then...ecstasy. Barry looks at Adam. BARRY Alright. ADAM You think that was all a trap? BARRY Of course. I’m sorry. I flew us right into this. What were we thinking? Look at us, we’re just a couple of bugs in this world. ADAM What do you think the humans will do to us if they win? BARRY I don’t know. ADAM I hear they put the roaches in motels. That doesn’t sound so bad. "Bee Movie" - JS REVISIONS 8/13/07 90. BARRY Adam, they check in, but they don’t check out. Adam GULPS. ADAM Oh my. ANGLE ON: the hospital window. We see THREE PEOPLE smoking outside on the sidewalk. The smoke drifts in. Adam COUGHS. ADAM (CONT’D) Say, could you get a nurse to close that window? BARRY Why? ADAM The smoke. Bees don’t smoke. BARRY Right. Bees don’t smoke. Bees don’t smoke! But some bees are smoking. Adam, that’s it! That’s our case. Adam starts putting his clothes on. ADAM It is? It’s not over? BARRY No. Get up. Get dressed. I’ve got to go somewhere. You get back the court and stall. Stall anyway you can. CUT TO: SEQ. 3500 - “SMOKING GUN” INT. COURTROOM - THE NEXT DAY Adam is folding a piece of paper into a boat. ADAM ...and assuming you’ve done step 29 correctly, you’re ready for the tub. "Bee Movie" - JS REVISIONS 8/13/07 91. ANGLE ON: The jury, all with paper boats of their own. JURORS Ooh. ANGLE ON: Montgomery frustrated with Gammil, who’s making a boat also. Monty crumples Gammil’s boat, and throws it at him. JUDGE Mr. Flayman? ADAM Yes? Yes, Your Honor? JUDGE Where is the rest of your team? ADAM (fumbling with his swordstinger) Well, your honor, it’s interesting. You know Bees are trained to fly kind of haphazardly and as a result quite often we don’t make very good time. I actually once heard a pretty funny story about a bee-- MONTGOMERY Your Honor, haven’t these ridiculous bugs taken up enough of this court’s valuable time? Montgomery rolls out from behind his table. He’s suspended in a LARGE BABY CHAIR with wheels. MONTGOMERY (CONT'D) How much longer are we going to allow these absurd shenanigans to go on? They have presented no compelling evidence to support their charges against my clients who have all run perfectly legitimate businesses. I move for a complete dismissal of this entire case. JUDGE Mr. Flayman, I am afraid I am going to have to consider Mr. Montgomery’s motion. "Bee Movie" - JS REVISIONS 8/13/07 92. ADAM But you can’t. We have a terrific case. MONTGOMERY Where is your proof? Where is the evidence? Show me the smoking gun. Barry bursts through the door. BARRY Hold it, your honor. You want a smoking gun? Here is your smoking gun. Vanessa ENTERS, holding a bee smoker Vanessa slams the beekeeper's SMOKER onto the judge’s bench. JUDGE What is that? BARRY It’s a Bee smoker. Montgomery GRABS the smoker. MONTGOMERY What, this? This harmless little contraption? This couldn’t hurt a fly, let alone a bee. He unintentionally points it towards the bee gallery, KNOCKING THEM ALL OUT. The jury GASPS. The press SNAPS pictures of them. BARRY Members of the jury, look at what has happened to bees who have never been asked, "Smoking or Non?" Is this what nature intended for us? To be forcibly addicted to these smoke machines in man-made wooden slat work camps? Living out our lives as honey slaves to the white man? Barry gestures dramatically towards Montgomery's racially mixed table. The BLACK LAWYER slowly moves his chair away. GAMMIL What are we going to do? "Bee Movie" - JS REVISIONS 8/13/07 93. MONTGOMERY (to Pross) He's playing the species card. Barry lands on the scale of justice, by the judge’s bench. It balances as he lands. BARRY Ladies and gentlemen, please, FreeThese-Bees! ANGLE ON: Jury, chanting "Free the bees". JUDGE The court finds in favor of the bees. The chaos continues. Barry flies over to Vanessa, with his hand up for a “high 5”. BARRY Vanessa, we won! VANESSA Yay! I knew you could do it. Highfive! She high 5’s Barry, sending him crashing to the table. He bounces right back up. VANESSA (CONT'D) Oh, sorry. BARRY Ow!! I’m okay. Vanessa, do you know what this means? All the honey is finally going to belong to the bees. Now we won’t have to work so hard all the time. Montgomery approaches Barry, surrounded by the press. The cameras and microphones go to Montgomery. MONTGOMERY (waving a finger) This is an unholy perversion of the balance of nature, Benson! You’ll regret this. ANGLE ON: Barry’s ‘deer in headlights’ expression, as the press pushes microphones in his face. "Bee Movie" - JS REVISIONS 8/13/07 94. PRESS PERSON 1 Barry, how much honey do you think is out there? BARRY Alright, alright, one at a time... SARAH Barry, who are you wearing? BARRY Uhhh, my sweater is Ralph Lauren, and I have no pants. The Press follows Barry as he EXITS. ANGLE ON: Adam and Vanessa. ADAM (putting papers away) What if Montgomery’s right? VANESSA What do you mean? ADAM We’ve been living the bee way a long time. 27 million years. DISSOLVE TO: SEQ. 3600 - “HONEY ROUNDUP” EXT. HONEY FARMS APIARY - MONTAGE SARAH (V.O) Congratulations on your victory. What are you going to demand as a settlement? BARRY (V.O) (over montage) First, we’re going to demand a complete shutdown of all bee work camps. Then, we want to get back all the honey that was ours to begin with. Every last drop. We demand an end to the glorification of the bear as anything more than a filthy, smelly, big-headed, bad breath, stink-machine. "Bee Movie" - JS REVISIONS 8/13/07 95. I believe we’re all aware of what they do in the woods. We will no longer tolerate derogatory beenegative nick-names, unnecessary inclusion of honey in bogus health products, and la-dee-da tea-time human snack garnishments. MONTAGE IMAGES: Close-up on an ATF JACKET, with the YELLOW LETTERS. Camera pulls back. We see an ARMY OF BEE AND HUMAN AGENTS wearing hastily made “Alcohol, Tobacco, Firearms, and Honey” jackets. Barry supervises. The gate to Honey Farms is locked permanently. All the smokers are collected and locked up. All the bees leave the Apiary. CUT TO: EXT. ATF OUTSIDE OF SUPERMARKET - MONTAGE Agents begin YANKING honey off the supermarket shelves, and out of shopping baskets. CUT TO: EXT. NEW HIVE CITY - MONTAGE The bees tear down a honey-bear statue. CUT TO: EXT. YELLOWSTONE FOREST - MONTAGE POV of a sniper’s crosshairs. An animated BEAR character looka-like, turns his head towards camera. BARRY Wait for my signal. ANGLE ON: Barry lowering his binoculars. BARRY (CONT'D) Take him out. The sniper SHOOTS the bear. It hits him in the shoulder. The bear looks at it. He gets woozy and the honey jar falls out of his lap, an ATF&H agent catches it. "Bee Movie" - JS REVISIONS 8/13/07 96. BARRY (V.O) (CONT'D) ATF&H AGENT (to the bear’s pig friend) He’ll have a little nausea for a few hours, then he’ll be fine. CUT TO: EXT. STING’S HOUSE - MONTAGE ATF&H agents SLAP CUFFS on Sting, who is meditating. STING But it’s just a prance-about stage name! CUT TO: INT. A WOMAN’S SHOWER - MONTAGE A WOMAN is taking a shower, and using honey shampoo. An ATF&H agent pulls the shower curtain aside, and grabs her bottle of shampoo. The woman SCREAMS. The agent turns to the 3 other agents, and Barry. ANGLE ON: Barry looking at the label on the shampoo bottle, shaking his head and writing in his clipboard. CUT TO: EXT. SUPERMARKET CAFE - MONTAGE Another customer, an old lady having her tea with a little jar of honey, gets her face pushed down onto the table and turned to the side by two agents. One of the agents has a gun on her. OLD LADY Can’t breathe. CUT TO: EXT. CENTRAL PARK - MONTAGE An OIL DRUM of honey is connected to Barry’s hive. "Bee Movie" - JS REVISIONS 8/13/07 97. BARRY Bring it in, boys. CUT TO: SEQ. 3650 - “NO MORE WORK” INT. HONEX - MONTAGE ANGLE ON: The honey goes past the 3-cup hash-mark, and begins to overflow. A WORKER BEE runs up to Buzzwell. WORKER BEE 1 Mr. Buzzwell, we just passed 3 cups, and there’s gallons mores coming. I think we need to shutdown. KEYCHAIN BEE (to Buzzwell) Shutdown? We’ve never shutdown. ANGLE ON: Buzzwell overlooking the factory floor. BUZZWELL Shutdown honey production! Stop making honey! ANGLE ON: TWO BEES, each with a KEY. BUZZWELL (CONT’D) Turn your key, Sir! They turn the keys simultaneously, War Games-style, shutting down the honey machines. ANGLE ON: the Taffy-Pull machine, Centrifuge, and Krelman all slowly come to a stop. The bees look around, bewildered. WORKER BEE 5 What do we do now? A BEAT. WORKER BEE 6 Cannon ball!! He jumps into a HONEY VAT, doesn’t penetrate the surface. He looks around, and slowly sinks down to his waist. "Bee Movie" - JS REVISIONS 8/13/07 98. EXT. HONEX FACTORY THE WHISTLE BLOWS, and the bees all stream out the exit. CUT TO: INT. J-GATE - CONTINUOUS Lou Loduca gives orders to the pollen jocks. LOU LODUCA We’re shutting down honey production. Mission abort. CUT TO: EXT. CENTRAL PARK Jackson receives the orders, mid-pollination. JACKSON Aborting pollination and nectar detail. Returning to base. CUT TO: EXT. NEW HIVE CITY ANGLE ON: Bees, putting sun-tan lotion on their noses and antennae, and sunning themselves on the balconies of the gyms. CUT TO: EXT. CENTRAL PARK ANGLE ON: THE FLOWERS starting to DROOP. CUT TO: INT. J-GATE J-Gate is deserted. CUT TO: "Bee Movie" - JS REVISIONS 8/13/07 99. EXT. NEW HIVE CITY ANGLE ON: Bees sunning themselves. A TIMER DINGS, and they all turn over. CUT TO: EXT. CENTRAL PARK TIME LAPSE of Central Park turning brown. CUT TO: EXT. VANESSA’S FLORIST SHOP CLOSE-UP SHOT: Vanessa writes “Sorry. No more flowers.” on a “Closed” sign, an turns it facing out. CUT TO: SEQ. 3700 - “IDLE HIVE” EXT. NEW HIVE CITY - DAY Barry flies at high speed. TRACKING SHOT into the hive, through the lobby of Honex, and into Adam’s office. CUT TO: INT. ADAM’S OFFICE - CONTINUOUS Barry meets Adam in his office. Adam’s office is in disarray. There are papers everywhere. He’s filling up his cardboard hexagon box. BARRY (out of breath) Adam, you wouldn’t believe how much honey was out there. ADAM Oh yeah? BARRY What’s going on around here? Where is everybody? Are they out celebrating? "Bee Movie" - JS REVISIONS 8/13/07 100. ADAM (exiting with a cardboard box of belongings) No, they’re just home. They don’t know what to do. BARRY Hmmm. ADAM They’re laying out, they’re sleeping in. I heard your Uncle Carl was on his way to San Antonio with a cricket. BARRY At least we got our honey back. They walk through the empty factory. ADAM Yeah, but sometimes I think, so what if the humans liked our honey? Who wouldn’t? It’s the greatest thing in the world. I was excited to be a part of making it. ANGLE ON: Adam’s desk on it’s side in the hall. ADAM (CONT’D) This was my new desk. This was my new job. I wanted to do it really well. And now...and now I can’t. Adam EXITS. CUT TO: SEQ. 3900 - “WORLD WITHOUT BEES” INT. STAIRWELL Vanessa and Barry are walking up the stairs to the roof. BARRY I don’t understand why they’re not happy. We have so much now. I thought their lives would be better. "Bee Movie" - JS REVISIONS 8/13/07 101. VANESSA Hmmm. BARRY They’re doing nothing. It’s amazing, honey really changes people. VANESSA You don’t have any idea what’s going on, do you? BARRY What did you want to show me? VANESSA This. They reach the top of the stairs. Vanessa opens the door. CUT TO: EXT. VANESSA’S ROOFTOP - CONTINUOUS Barry sees Vanessa’s flower pots and small garden have all turned brown. BARRY What happened here? VANESSA That is not the half of it... Vanessa turns Barry around with her two fingers, revealing the view of Central Park, which is also all brown. BARRY Oh no. Oh my. They’re all wilting. VANESSA Doesn’t look very good, does it? BARRY No. VANESSA And who’s fault do you think that is? "Bee Movie" - JS REVISIONS 8/13/07 102. BARRY Mmmm...you know, I’m going to guess, bees. VANESSA Bees? BARRY Specifically me. I guess I didn’t think that bees not needing to make honey would affect all these other things. VANESSA And it’s not just flowers. Fruits, vegetables...they all need bees. BARRY Well, that’s our whole SAT test right there. VANESSA So, you take away the produce, that affects the entire animal kingdom. And then, of course... BARRY The human species? VANESSA (clearing throat) Ahem! BARRY Oh. So, if there’s no more pollination, it could all just go south here, couldn’t it? VANESSA And I know this is also partly my fault. Barry takes a long SIGH. BARRY How about a suicide pact? VANESSA (not sure if he’s joking) How would we do it? BARRY I’ll sting you, you step on me. "Bee Movie" - JS REVISIONS 8/13/07 103. VANESSA That just kills you twice. BARRY Right, right. VANESSA Listen Barry. Sorry but I’ve got to get going. She EXITS. BARRY (looking out over the park) Had to open my mouth and talk... (looking back) Vanessa..? Vanessa is gone. CUT TO: SEQ. 3935 - “GOING TO PASADENA” EXT. NY STREET - CONTINUOUS Vanessa gets into a cab. Barry ENTERS. BARRY Vanessa. Why are you leaving? Where are you going? VANESSA To the final Tournament of Roses parade in Pasadena. They moved it up to this weekend because all the flowers are dying. It’s the last chance I’ll ever have to see it. BARRY Vanessa, I just want to say I’m sorry. I never meant it to turn out like this. VANESSA I know. Me neither. Vanessa cab drives away. "Bee Movie" - JS REVISIONS 8/13/07 104. BARRY (chuckling to himself) Tournament of Roses. Roses can’t do sports. Wait a minute...roses. Roses? Roses!? Vanessa! Barry follows shortly after. He catches up to it, and he pounds on the window. Barry follows shortly after Vanessa’s cab. He catches up to it, and he pounds on the window. INT. TAXI - CONTINUOUS Barry motions for her to roll the window down. She does so. BARRY Roses?! VANESSA Barry? BARRY (as he flies next to the cab) Roses are flowers. VANESSA Yes, they are. BARRY Flowers, bees, pollen! VANESSA I know. That’s why this is the last parade. BARRY Maybe not. The cab starts pulling ahead of Barry. BARRY (CONT'D) (re: driver) Could you ask him to slow down? VANESSA Could you slow down? The cabs slows. Barry flies in the window, and lands in the change box, which closes on him. "Bee Movie" - JS REVISIONS 8/13/07 105. VANESSA (CONT'D) Barry! Vanessa lets him out. Barry stands on the change box, in front of the driver’s license. BARRY Okay, I made a huge mistake! This is a total disaster, and it’s all my fault! VANESSA Yes, it kind of is. BARRY I’ve ruined the planet. And, I wanted to help with your flower shop. Instead, I’ve made it worse. VANESSA Actually, it’s completely closed down. BARRY Oh, I thought maybe you were remodeling. Nonetheless, I have another idea. And it’s greater than all my previous great ideas combined. VANESSA I don’t want to hear it. Vanessa closes the change box on Barry. BARRY (opening it again) Alright, here’s what I’m thinking. They have the roses, the roses have the pollen. I know every bee, plant, and flower bud in this park. All we’ve got to do is get what they’ve got back here with what we’ve got. VANESSA Bees... BARRY Park... VANESSA Pollen... "Bee Movie" - JS REVISIONS 8/13/07 106. BARRY Flowers... VANESSA Repollination! BARRY (on luggage handle, going up) Across the nation! CUT TO: SEQ. 3950 - “ROSE PARADE” EXT. PASADENA PARADE BARRY (V.O) Alright. Tournament of Roses. Pasadena, California. They’ve got nothing but flowers, floats, and cotton candy. Security will be tight. VANESSA I have an idea. CUT TO: EXT. FLOAT STAGING AREA ANGLE ON: Barry and Vanessa approaching a HEAVILY ARMED GUARD in front of the staging area. VANESSA Vanessa Bloome, FTD. Official floral business. He leans in to look at her badge. She SNAPS IT SHUT, VANESSA (CONT’D) Oh, it’s real. HEAVILY ARMED GUARD Sorry ma’am. That’s a nice brooch, by the way. VANESSA Thank you. It was a gift. "Bee Movie" - JS REVISIONS 8/13/07 107. They ENTER the staging area. BARRY (V.O) Then, once we’re inside, we just pick the right float. VANESSA How about the Princess and the Pea? BARRY Yeah. VANESSA I can be the princess, and-- BARRY ...yes, I think-- VANESSA You could be-- BARRY I’ve-- VANESSA The pea. BARRY Got it. CUT TO: EXT. FLOAT STAGING AREA - A FEW MOMENTS LATER Barry, dressed as a PEA, flies up and hovers in front of the princess on the “Princess and the Pea” float. The float is sponsored by Inflat-a-bed and a SIGN READS: “Inflat-a-bed: If it blows, it’s ours.” BARRY Sorry I’m late. Where should I sit? PRINCESS What are you? BARRY I believe I’m the pea. PRINCESS The pea? It’s supposed to be under the mattresses. "Bee Movie" - JS REVISIONS 8/13/07 108. BARRY Not in this fairy tale, sweetheart. PRINCESS I’m going to go talk to the marshall. BARRY You do that. This whole parade is a fiasco! She EXITS. Vanessa removes the step-ladder. The princess FALLS. Barry and Vanessa take off in the float. BARRY (CONT’D) Let’s see what this baby will do. ANGLE ON: Guy with headset talking to drivers. HEADSET GUY Hey! The float ZOOMS by. A young CHILD in the stands, TIMMY, cries. CUT TO: EXT. FLOAT STAGING AREA - A FEW MOMENTS LATER ANGLE ON: Vanessa putting the princess hat on. BARRY (V.O) Then all we do is blend in with traffic, without arousing suspicion. CUT TO: EXT. THE PARADE ROUTE - CONTINUOUS The floats go flying by the crowds. Barry and Vanessa’s float CRASHES through the fence. CUT TO: "Bee Movie" - JS REVISIONS 8/13/07 109. EXT. LA FREEWAY Vanessa and Barry speed, dodging and weaving, down the freeway. BARRY (V.O) And once we’re at the airport, there’s no stopping us. CUT TO: EXT. LAX AIRPORT Barry and Vanessa pull up to the curb, in front of an TSA AGENT WITH CLIPBOARD. TSA AGENT Stop. Security. Did you and your insect pack your own float? VANESSA (O.C) Yes. TSA AGENT Has this float been in your possession the entire time? VANESSA (O.C) Since the parade...yes. ANGLE ON: Barry holding his shoes. TSA AGENT Would you remove your shoes and everything in your pockets? Can you remove your stinger, Sir? BARRY That’s part of me. TSA AGENT I know. Just having some fun. Enjoy your flight. CUT TO: EXT. RUNWAY Barry and Vanessa’s airplane TAKES OFF. "Bee Movie" - JS REVISIONS 8/13/07 110. BARRY (O.C) Then, if we’re lucky, we’ll have just enough pollen to do the job. DISSOLVE TO: SEQ. 4025 - “COCKPIT FIGHT” INT. AIRPLANE Vanessa is on the aisle. Barry is on a laptop calculating flowers, pollen, number of bees, airspeed, etc. He does a “Stomp” dance on the keyboard. BARRY Can you believe how lucky we are? We have just enough pollen to do the job. I think this is going to work, Vanessa. VANESSA It’s got to work. PILOT (V.O) Attention passengers. This is Captain Scott. I’m afraid we have a bit of bad weather in the New York area. And looks like we’re going to be experiencing a couple of hours delay. VANESSA Barry, these are cut flowers with no water. They’ll never make it. BARRY I’ve got to get up there and talk to these guys. VANESSA Be careful. Barry flies up to the cockpit door. CUT TO: INT. COCKPIT - CONTINUOUS A female flight attendant, ANGELA, is in the cockpit with the pilots. "Bee Movie" - JS REVISIONS 8/13/07 111. There’s a KNOCK at the door. BARRY (C.O) Hey, can I get some help with this Sky Mall Magazine? I’d like to order the talking inflatable travel pool filter. ANGELA (to the pilots, irritated) Excuse me. CUT TO: EXT. CABIN - CONTINUOUS Angela opens the cockpit door and looks around. She doesn’t see anybody. ANGLE ON: Barry hidden on the yellow and black “caution” stripe. As Angela looks around, Barry zips into the cockpit. CUT TO: INT. COCKPIT BARRY Excuse me, Captain. I am in a real situation here... PILOT (pulling an earphone back, to the co-pilot) What did you say, Hal? CO-PILOT I didn’t say anything. PILOT (he sees Barry) Ahhh! Bee! BARRY No, no! Don’t freak out! There’s a chance my entire species-- CO-PILOT (taking off his earphones) Ahhh! "Bee Movie" - JS REVISIONS 8/13/07 112. The pilot grabs a “DUSTBUSTER” vacuum cleaner. He aims it around trying to vacuum up Barry. The co-pilot faces camera, as the pilot tries to suck Barry up. Barry is on the other side of the co-pilot. As they dosey-do, the toupee of the co-pilot begins to come up, still attached to the front. CO-PILOT (CONT'D) What are you doing? Stop! The toupee comes off the co-pilot’s head, and sticks in the Dustbuster. Barry runs across the bald head. BARRY Wait a minute! I’m an attorney! CO-PILOT Who’s an attorney? PILOT Don’t move. The pilot uses the Dustbuster to try and mash Barry, who is hovering in front of the co-pilot’s nose, and knocks out the co-pilot who falls out of his chair, hitting the life raft release button. The life raft inflates, hitting the pilot, knocking him into a wall and out cold. Barry surveys the situation. BARRY Oh, Barry. CUT TO: INT. AIRPLANE CABIN Vanessa studies her laptop, looking serious. SFX: PA CRACKLE. BARRY (V.O) (in captain voice) Good afternoon passengers, this is your captain speaking. Would a Miss Vanessa Bloome in 24F please report to the cockpit. And please hurry! "Bee Movie" - JS REVISIONS 8/13/07 113. ANGLE ON: The aisle, and Vanessa head popping up. CUT TO: INT. COCKPIT Vanessa ENTERS. VANESSA What happened here? BARRY I tried to talk to them, but then there was a Dustbuster, a toupee, a life raft exploded...Now one’s bald, one’s in a boat, and they’re both unconscious. VANESSA Is that another bee joke? BARRY No. No one’s flying the plane. The AIR TRAFFIC CONTROLLER, BUD, speaks over the radio. BUD This is JFK control tower. Flight 356, what’s your status? Vanessa presses a button, and the intercom comes on. VANESSA This is Vanessa Bloome. I’m a florist from New York. BUD Where’s the pilot? VANESSA He’s unconscious and so is the copilot. BUD Not good. Is there anyone onboard who has flight experience? A BEAT. BARRY As a matter of fact, there is. "Bee Movie" - JS REVISIONS 8/13/07 114. BUD Who’s that? VANESSA Barry Benson. BUD From the honey trial? Oh great. BARRY Vanessa, this is nothing more than a big metal bee. It’s got giant wings, huge engines. VANESSA I can’t fly a plane. BARRY Why not? Isn’t John Travolta a pilot? VANESSA Yes? BARRY How hard could it be? VANESSA Wait a minute. Barry, we’re headed into some lightning. CUT TO: Vanessa shrugs, and takes the controls. SEQ. 4150 - “BARRY FLIES PLANE” INT. BENSON HOUSE The family is all huddled around the TV at the Benson house. ANGLE ON: TV. Bob Bumble is broadcasting. BOB BUMBLE This is Bob Bumble. We have some late-breaking news from JFK airport, where a very suspenseful scene is developing. Barry Benson, fresh off his stunning legal victory... "Bee Movie" - JS REVISIONS 8/13/07 115. Adam SPRAYS a can of HONEY-WHIP into his mouth. ADAM That’s Barry. BOB BUMBLE ...is now attempting to land a plane, loaded with people, flowers, and an incapacitated flight crew. EVERYONE Flowers?! CUT TO: INT. AIR TRAFFIC CONTROL TOWER BUD Well, we have an electrical storm in the area, and two individuals at the controls of a jumbo jet with absolutely no flight experience. JEANETTE CHUNG Just a minute, Mr. Ditchwater, there’s a honey bee on that plane. BUD Oh, I’m quite familiar with Mr. Benson’s work, and his no-account compadres. Haven’t they done enough damage already? JEANETTE CHUNG But isn’t he your only hope right now? BUD Come on, technically a bee shouldn’t be able to fly at all. CUT TO: INT. COCKPIT. Barry REACTS BUD The wings are too small, their bodies are too big-- "Bee Movie" - JS REVISIONS 8/13/07 116. BARRY (over PA) Hey, hold on a second. Haven’t we heard this million times? The surface area of the wings, and the body mass doesn’t make sense? JEANETTE CHUNG Get this on the air. CAMERAMAN You got it! CUT TO: INT. BEE TV CONTROL ROOM An engineer throws a switch. BEE ENGINEER Stand by. We’re going live. The “ON AIR” sign illuminates. CUT TO: INT. VARIOUS SHOTS OF NEW HIVE CITY The news report plays on TV. The pollen jocks are sitting around, playing paddle-ball, Wheel-o, and one of them is spinning his helmet on his finger. Buzzwell is in an office cubicle, playing computer solitaire. Barry’s family and Adam watch from their living room. Bees sitting on the street curb turn around to watch the TV. BARRY Mr. Ditchwater, the way we work may be a mystery to you, because making honey takes a lot of bees doing a lot of small jobs. But let me tell you something about a small job. If you do it really well, it makes a big difference. More than we realized. To us, to everyone. That’s why I want to get bees back to doing what we do best. "Bee Movie" - JS REVISIONS 8/13/07 117. Working together. That’s the bee way. We’re not made of Jello. We get behind a fellow. Black and yellow. CROWD OF BEES Hello! CUT TO: INT. COCKPIT Barry is giving orders to Vanessa. BARRY Left, right, down, hover. VANESSA Hover? BARRY Forget hover. VANESSA You know what? This isn’t so hard. Vanessa pretends to HONK THE HORN. VANESSA (CONT’D) Beep, beep! Beep, beep! A BOLT OF LIGHTNING HITS the plane. The plane takes a sharp dip. VANESSA (CONT’D) Barry, what happened? BARRY (noticing the control panel) Wait a minute. I think we were on autopilot that whole time. VANESSA That may have been helping me. BARRY And now we’re not! VANESSA (V.O.) (folding her arms) Well, then it turns out I cannot fly a plane. "Bee Movie" - JS REVISIONS 8/13/07 118. BARRY (CONT'D) Vanessa struggles with the yoke. CUT TO: EXT. AIRPLANE The airplane goes into a steep dive. CUT TO: SEQ. 4175 - “CRASH LANDING” INT. J-GATE An ALERT SIGN READING: “Hive Alert. We Need:” Then the SIGNAL goes from “Two Bees” “Some Bees” “Every Bee There Is” Lou Loduca gathers the pollen jocks at J-Gate. LOU LODUCA All of you, let’s get behind this fellow. Move it out! The bees follow Lou Loduca, and EXIT J-Gate. CUT TO: INT. AIRPLANE COCKPIT BARRY Our only chance is if I do what I would do, and you copy me with the wings of the plane! VANESSA You don’t have to yell. BARRY I’m not yelling. We happen to be in a lot of trouble here. VANESSA It’s very hard to concentrate with that panicky tone in your voice. BARRY It’s not a tone. I’m panicking! CUT TO: "Bee Movie" - JS REVISIONS 8/13/07 119. EXT. JFK AIRPORT ANGLE ON: The bees arriving and massing at the airport. CUT TO: INT. COCKPIT Barry and Vanessa alternately SLAP EACH OTHER IN THE FACE. VANESSA I don’t think I can do this. BARRY Vanessa, pull yourself together. Listen to me, you have got to snap out of it! VANESSA You snap out of it! BARRY You snap out of it! VANESSA You snap out of it! BARRY You snap out of it! VANESSA You snap out of it! CUT TO: EXT. AIRPLANE A GIGANTIC SWARM OF BEES flies in to hold the plane up. CUT TO: INT. COCKPIT - CONTINUOUS BARRY You snap out of it! VANESSA You snap out of it! "Bee Movie" - JS REVISIONS 8/13/07 120. BARRY You snap-- VANESSA Hold it! BARRY (about to slap her again) Why? Come on, it’s my turn. VANESSA How is the plane flying? Barry’s antennae ring. BARRY I don’t know. (answering) Hello? CUT TO: EXT. AIRPLANE ANGLE ON: The underside of the plane. The pollen jocks have massed all around the underbelly of the plane, and are holding it up. LOU LODUCA Hey Benson, have you got any flowers for a happy occasion in there? CUT TO: INT. COCKPIT Lou, Buzz, Splitz, and Jackson come up alongside the cockpit. BARRY The pollen jocks! VANESSA They do get behind a fellow. BARRY Black and yellow. LOU LODUCA (over headset) Hello. "Bee Movie" - JS REVISIONS 8/13/07 121. Alright you two, what do you say we drop this tin can on the blacktop? VANESSA What blacktop? Where? I can’t see anything. Can you? BARRY No, nothing. It’s all cloudy. CUT TO: EXT. RUNWAY Adam SHOUTS. ADAM Come on, you’ve got to think bee, Barry. Thinking bee, thinking bee. ANGLE ON: Overhead shot of runway. The bees are in the formation of a flower. In unison they move, causing the flower to FLASH YELLOW AND BLACK. BEES (chanting) Thinking bee, thinking bee. CUT TO: INT. COCKPIT We see through the swirling mist and clouds. A GIANT SHAPE OF A FLOWER is forming in the middle of the runway. BARRY Wait a minute. I think I’m feeling something. VANESSA What? BARRY I don’t know, but it’s strong. And it’s pulling me, like a 27 million year old instinct. Bring the nose of the plane down. "Bee Movie" - JS REVISIONS 8/13/07 122. LOU LODUCA (CONT'D) EXT. RUNWAY All the bees are on the runway chanting “Thinking Bee”. CUT TO: INT. CONTROL TOWER RICK What in the world is on the tarmac? ANGLE ON: Dave OTS onto runway seeing a flower being formed by millions of bees. BUD Get some lights on that! CUT TO: EXT. RUNWAY ANGLE ON: AIRCRAFT LANDING LIGHT SCAFFOLD by the side of the runway, illuminating the bees in their flower formation. INT. COCKPIT BARRY Vanessa, aim for the flower! VANESSA Oh, okay? BARRY Cut the engines! VANESSA Cut the engines? BARRY We’re going in on bee power. Ready boys? LOU LODUCA Affirmative. CUT TO: "Bee Movie" - JS REVISIONS 8/13/07 123. INT. AIRPLANE COCKPIT BARRY Good, good, easy now. Land on that flower! Ready boys? Give me full reverse. LOU LODUCA Spin it around! The plane attempts to land on top of an “Aloha Airlines” plane with flowers painted on it. BARRY (V.O) I mean the giant black and yellow pulsating flower made of millions of bees! VANESSA Which flower? BARRY That flower! VANESSA I’m aiming at the flower! The plane goes after a FAT GUY IN A HAWAIIAN SHIRT. BARRY (V.O) That’s a fat guy in a flowered shirt! The other other flower! The big one. He snaps a photo and runs away. BARRY (CONT'D) Full forward. Ready boys? Nose down. Bring your tail up. Rotate around it. VANESSA Oh, this is insane, Barry. BARRY This is the only way I know how to fly. CUT TO: "Bee Movie" - JS REVISIONS 8/13/07 124. AIR TRAFFIC CONTROL TOWER BUD Am I koo-koo kachoo, or is this plane flying in an insect-like pattern? CUT TO: EXT. RUNWAY BARRY (V.O) Get your nose in there. Don’t be afraid of it. Smell it. Full reverse! Easy, just drop it. Be a part of it. Aim for the center! Now drop it in. Drop it in, woman! The plane HOVERS and MANEUVERS, landing in the center of the giant flower, like a bee. The FLOWERS from the cargo hold spill out onto the runway. INT. AIPLANE CABIN The passengers are motionless for a beat. PASSENGER Come on already! They hear the “ding ding”, and all jump up to grab their luggage out of the overheads. SEQ. 4225 - “RUNWAY SPEECH” EXT. RUNWAY - CONTINUOUS The INFLATABLE SLIDES pop out the side of the plane. The passengers escape. Barry and Vanessa slide down out of the cockpit. Barry and Vanessa exhale a huge breath. VANESSA Barry, we did it. You taught me how to fly. Vanessa raises her hand up for a high five. "Bee Movie" - JS REVISIONS 8/13/07 125. BARRY Yes. No high five. VANESSA Right. ADAM Barry, it worked. Did you see the giant flower? BARRY What giant flower? Where? Of course I saw the flower! That was genius, man. Genius! ADAM Thank you. BARRY But we’re not done yet. Barry flies up to the wing of the plane, and addresses the bee crowd. BARRY (CONT’D) Listen everyone. This runway is covered with the last pollen from the last flowers available anywhere on Earth. That means this is our last chance. We’re the only ones who make honey, pollinate flowers, and dress like this. If we’re going to survive as a species, this is our moment. So what do you all say? Are we going to be bees, or just Museum of Natural History key chains? BEES We’re bees! KEYCHAIN BEE Keychain! BARRY Then follow me... Except Keychain. BUZZ Hold on Barry. You’ve earned this. Buzz puts a pollen jock jacket and helmet with Barry’s name on it on Barry. "Bee Movie" - JS REVISIONS 8/13/07 126. BARRY I’m a pollen jock! (looking at the jacket. The sleeves are a little long) And it’s a perfect fit. All I’ve got to do are the sleeves. The Pollen Jocks toss Barry a gun. BARRY (CONT’D) Oh yeah! ANGLE ON: Martin and Janet Benson. JANET BENSON That’s our Barry. All the bees descend upon the flowers on the tarmac, and start collecting pollen. CUT TO: SEQ. 4250 - “RE-POLLINATION” EXT. SKIES - CONTINUOUS The squadron FLIES over the city, REPOLLINATING trees and flowers as they go. Barry breaks off from the group, towards Vanessa’s flower shop. CUT TO: EXT. VANESSA’S FLOWER SHOP - CONTINUOUS Barry REPOLLINATES Vanessa’s flowers. CUT TO: EXT. CENTRAL PARK - CONTINUOUS ANGLE ON: Timmy with a frisbee, as the bees fly by. TIMMY Mom, the bees are back! "Bee Movie" - JS REVISIONS 8/13/07 127. Central Park is completely repollinated by the bees. DISSOLVE TO: INT. HONEX - CONTINUOUS Honex is back to normal and everyone is busily working. ANGLE ON: Adam, putting his Krelman hat on. ADAM If anyone needs to make a call, now’s the time. I’ve got a feeling we’ll be working late tonight! The bees CHEER. CUT TO: SEQ. 4355 EXT: VANESSA’S FLOWER SHOP With a new sign out front. “Vanessa & Barry: Flowers, Honey, Legal Advice” DISSOLVE TO: INT: FLOWER COUNTER Vanessa doing a brisk trade with many customers. CUT TO: INT: FLOWER SHOP - CONTINUOUS Vanessa is selling flowers. In the background, there are SHELVES STOCKED WITH HONEY. VANESSA (O.C.) Don’t forget these. Have a great afternoon. Yes, can I help who’s next? Who’s next? Would you like some honey with that? It is beeapproved. SIGN ON THE BACK ROOM DOOR READS: “Barry Benson: Insects at Law”. "Bee Movie" - JS REVISIONS 8/13/07 128. Camera moves into the back room. ANGLE ON: Barry. ANGLE ON: Barry’s COW CLIENT. COW Milk, cream, cheese...it’s all me. And I don’t see a nickel. BARRY Uh huh? Uh huh? COW (breaking down) Sometimes I just feel like a piece of meat. BARRY I had no idea. VANESSA Barry? I’m sorry, have you got a moment? BARRY Would you excuse me? My mosquito associate here will be able to help you. Mooseblood ENTERS. MOOSEBLOOD Sorry I’m late. COW He’s a lawyer too? MOOSEBLOOD Ma’am, I was already a bloodsucking parasite. All I needed was * a briefcase. * ANGLE ON: Flower Counter. VANESSA (to customer) Have a great afternoon! (to Barry) Barry, I just got this huge tulip order for a wedding, and I can’t get them anywhere. "Bee Movie" - JS REVISIONS 8/13/07 129. BARRY Not a problem, Vannie. Just leave it to me. Vanessa turns back to deal with a customer. VANESSA You’re a life-saver, Barry. (to the next customer) Can I help who’s next? Who’s next? ANGLE ON: Vanessa smiling back at Barry. Barry smiles too, then snaps himself out of it. BARRY (speaks into his antennae) Alright. Scramble jocks, it’s time to fly! VANESSA Thank you, Barry! EXT. FLOWER SHOP - CONTINUOUS ANGLE ON: Ken and Andy walking down the street. KEN (noticing the new sign) Augh! What in the world? It’s that bee again! ANDY (guiding Ken protectively) Let it go, Kenny. KEN That bee is living my life! When will this nightmare end? ANDY Let it all go. They don’t break stride. ANGLE ON: Camera in front of Barry as he flies out the door and up into the sky. Pollen jocks fold in formation behind him as they zoom into the park. BARRY (to Splitz) Beautiful day to fly. "Bee Movie" - JS REVISIONS 8/13/07 130. JACKSON Sure is. BARRY Between you and me, I was dying to get out of that office. FADE OUT: "Bee Movie" - JS REVISIONS 8/13/07 131.
OG-Frogger
javascript:(function()%7Bfunction start() %7B%0A loadGUI()%3B%0A addUtils()%3B%0A%7D%0A%0Afunction wait(time) %7B%0A return new Promise(resolve %3D> setTimeout(resolve%2C time))%3B%0A%7D%0A%0Avar getValues %3D () %3D> new Promise((e%2C t) %3D> %7B%0A try %7B%0A let n %3D window.webpackJsonp.map(e %3D> Object.keys(e%5B1%5D).map(t %3D> e%5B1%5D%5Bt%5D)).reduce((e%2C t) %3D> %5B...e%2C ...t%5D%2C %5B%5D).find(e %3D> %2F%5Cw%7B8%7D-%5Cw%7B4%7D-%5Cw%7B4%7D-%5Cw%7B4%7D-%5Cw%7B12%7D%2F.test(e.toString()) %26%26 %2F%5C(new TextEncoder%5C)%5C.encode%5C(%5C"(.%2B%3F)%5C"%5C)%2F.test(e.toString())).toString()%3B%0A e(%7B%0A blooketBuild%3A n.match(%2F%5Cw%7B8%7D-%5Cw%7B4%7D-%5Cw%7B4%7D-%5Cw%7B4%7D-%5Cw%7B12%7D%2F)%5B0%5D%2C%0A secret%3A n.match(%2F%5C(new TextEncoder%5C)%5C.encode%5C(%5C"(.%2B%3F)%5C"%5C)%2F)%5B1%5D%0A %7D)%0A %7D catch %7B%0A t("Could not fetch auth details")%0A %7D%0A%7D)%3B%0Avar encodeValues %3D async (e%2C t) %3D> %7B%0A let d %3D window.crypto.getRandomValues(new Uint8Array(12))%3B%0A return window.btoa(Array.from(d).map(e %3D> String.fromCharCode(e)).join("") %2B Array.from(new Uint8Array(await window.crypto.subtle.encrypt(%7B%0A name%3A "AES-GCM"%2C%0A iv%3A d%0A %7D%2C await window.crypto.subtle.importKey("raw"%2C await window.crypto.subtle.digest("SHA-256"%2C (new TextEncoder).encode(t))%2C %7B%0A name%3A "AES-GCM"%0A %7D%2C !1%2C %5B"encrypt"%5D)%2C (new TextEncoder).encode(JSON.stringify(e))))).map(e %3D> String.fromCharCode(e)).join(""))%0A%7D%3B%0A%0A%0Afunction loadGUI() %7B%0A var frame %3D document.createElement("iframe")%3B%0A frame.id %3D "blooo"%0A frame.style.display %3D "none"%3B%0A frame.style.width %3D "1px"%3B%0A frame.style.height %3D "1px"%0A document.body.appendChild(frame)%3B%0A%0A window.alert %3D frame.contentWindow.alert%3B%0A window.prompt %3D frame.contentWindow.prompt%3B%0A window.confirm %3D frame.contentWindow.confirm%3B%0A%0A%0A let element %3D document.createElement('div')%3B%0A element.innerHTML %3D %60<div id%3D"GUI"> <style>details > summary%7Bcursor%3A pointer%3B transition%3A 1s%3B list-style%3A circle%3B%7D.hack%7Bborder%3A none%3B background%3A hsl(0%2C 0%25%2C 20%25)%3B padding%3A 7px%3B margin%3A 5px%3B width%3A 70%25%3B color%3A white%3B transition%3A 0.1s%3B border-radius%3A 5px%3B cursor%3A pointer%3B%7D.hack%3Ahover%7Bbackground%3A hsl(0%2C 1%25%2C 31%25)%3B%7D<%2Fstyle> <div style%3D"cursor%3A all-scroll%3B padding-top%3A 2px%3B font-size%3A 1.5rem%3B text-align%3A center%3B">Toad_UI<button id%3D"gui-" style%3D"background%3A black%3B height%3A 45px%3B width%3A 45px%3B border%3A none%3B cursor%3A pointer%3B position%3A absolute%3B top%3A -10px%3B right%3A 90%25%3B font-size%3A 2.5rem%3B border-radius%3A 10px%3B font-family%3A Nunito%3B font-weight%3A bolder%3B padding-top%3A -10px%3B padding-right%3A -15px%3B color%3A white%3B">-<%2Fbutton> <button id%3D"guiX" style%3D"background%3A black%3B height%3A 45px%3B width%3A 45px%3B border%3A none%3B cursor%3A pointer%3B position%3A absolute%3B top%3A -10px%3B right%3A -10px%3B font-size%3A 1.5rem%3B border-radius%3A 10px%3B font-family%3A Nunito%3B font-weight%3A bolder%3B padding-top%3A 10px%3B padding-right%3A 15px%3B color%3A white%3B">X<%2Fbutton> <%2Fdiv><div style%3D"display%3A block%3B margin%3A 10px%3B min-height%3A 70px%3B"> <div id%3D"curPage">No Game Found?<%2Fdiv><div id%3D"name">Name%3A None<%2Fdiv><div>(E To Hide UI)<%2Fdiv><details open%3D""> <summary style%3D"padding%3A 10px%3B font-size%3A 1.5em%3B font-weight%3A bolder">Main Mods<%2Fsummary> <button id%3D"token" class%3D"hack">Daily 500 Tokens/XP<%2Fbutton> <button id%3D"spoof" class%3D"hack">Unlock Blooks<%2Fbutton> <button id%3D"open" class%3D"hack">Spam Open Boxes<%2Fbutton> <button id%3D"sell" class%3D"hack"> Sell Duplicates<%2Fbutton> <button id%3D"correct" class%3D"hack">All Answer Correct<%2Fbutton> <%2Fdetails><br><div id%3D"LoadedGame"> <%2Fdiv><div> Open source on <a href%3D"https%3A%2F%2F">Deez<%2Fa><%2Fdiv><%2Fdiv>%60%3B%0A element.style %3D %60width%3A 350px%3B background%3A rgb(64%2C 64%2C 64)%3B border-radius%3A 8px%3B position%3A absolute%3B text-align%3A center%3B font-family%3A Nunito%3B color%3A white%3B overflow%3A hidden%3B top%3A 5%25%3B left%3A 40%25%3B%60%3B%0A document.body.appendChild(element)%3B%0A var pos1 %3D 0%2C%0A pos2 %3D 0%2C%0A pos3 %3D 0%2C%0A pos4 %3D 0%3B%0A element.onmousedown %3D ((e %3D window.event) %3D> %7B%0A e.preventDefault()%3B%0A pos3 %3D e.clientX%3B%0A pos4 %3D e.clientY%3B%0A document.onmouseup %3D (() %3D> %7B%0A document.onmouseup %3D null%3B%0A document.onmousemove %3D null%3B%0A %7D)%3B%0A document.onmousemove %3D ((e) %3D> %7B%0A e %3D e %7C%7C window.event%3B%0A e.preventDefault()%3B%0A pos1 %3D pos3 - e.clientX%3B%0A pos2 %3D pos4 - e.clientY%3B%0A pos3 %3D e.clientX%3B%0A pos4 %3D e.clientY%3B%0A let top %3D (element.offsetTop - pos2) > 0 %3F (element.offsetTop - pos2) %3A 0%3B%0A let left %3D (element.offsetLeft - pos1) > 0 %3F (element.offsetLeft - pos1) %3A 0%3B%0A element.style.top %3D top %2B "px"%3B%0A element.style.left %3D left %2B "px"%3B%0A %7D)%3B%0A %7D)%3B%0A%7D%0Astart()%3B%0Aasync function debuggerHelp(how) %7B%0A const response %3D await fetch(%27https%3A%2F%2Fapi.blooket.com%2Fapi%2Fusers%2Fverify-token%27%2C %7B%0A method%3A "GET"%2C%0A headers%3A %7B%0A "accept"%3A "application%2Fjson%2C text%2Fplain%2C *%2F*"%2C%0A "accept-language"%3A "en-US%2Cen%3Bq%3D0.9%2Cru%3Bq%3D0.8"%2C%0A %7D%2C%0A credentials%3A "include"%0A %7D)%3B%0A const data %3D await response.json()%3B%0A let name %3D data.name%3B%0A let role %3D data.role%3B%0A window.blooketname %3D name%3B%0A window.blooketrole %3D role%3B%0A startDebugger(name)%3B%0A%7D%0A%0Afunction addtokens(event) %7B%0A try %7B%0A fetch("https%3A%2F%2Fapi.blooket.com%2Fapi%2Fusers"%2C %7B%0A credentials%3A "include"%0A %7D).then(x %3D> x.json()).then(x %3D> %7B%0A getValues().then(async e %3D> %7B%0A fetch("https%3A%2F%2Fapi.blooket.com%2Fapi%2Fusers%2Fadd-rewards"%2C %7B%0A method%3A "put"%2C%0A credentials%3A "include"%2C%0A headers%3A %7B%0A "content-type"%3A "application%2Fjson"%2C%0A "X-Blooket-Build"%3A e.blooketBuild%0A %7D%2C%0A body%3A await encodeValues(%7B%0A name%3A x.name%2C%0A addedTokens%3A 500%2C%0A addedXp%3A 300%0A %7D%2C e.secret)%0A %7D).then(() %3D> alert(%27Added daily rewawrds!%27)).catch(() %3D> alert(%27There was an error when adding rewards!%27))%3B%0A %7D).catch(() %3D> alert(%27There was an error encoding requests!%27))%3B%0A %7D).catch(() %3D> alert(%27There was an error getting username!%27))%3B%0A window.console.clear()%0A %7D catch (hack) %7B%0A if (confirm(%27An error has occured%2C would you like to open the debugger%3F%27)) %7B%0A debuggerHelp()%0A %7D%3B%0A %7D%3B%0A%7D%3B%0A%0Afunction selldupes(event) %7B%0A fetch("https%3A%2F%2Fapi.blooket.com%2Fapi%2Fusers"%2C %7B%0A credentials%3A "include"%0A %7D).then(x %3D> x.json()).then(x %3D> %7B%0A let blooks %3D Object.entries(x.unlocks).map(x %3D> %5Bx%5B0%5D%2C x%5B1%5D - 1%5D).filter(x %3D> x%5B1%5D > 0)%3B%0A let wait %3D ms %3D> new Promise(r %3D> setTimeout(r%2C ms))%3B%0A getValues().then(async e %3D> %7B%0A let error %3D false%3B%0A alert(%27Selling duplicate blooks%2C please wait%27)%3B%0A for (let %5Bblook%2C numSold%5D of blooks) %7B%0A fetch("https%3A%2F%2Fapi.blooket.com%2Fapi%2Fusers%2Fsellblook"%2C %7B%0A method%3A "put"%2C%0A credentials%3A "include"%2C%0A headers%3A %7B%0A "content-type"%3A "application%2Fjson"%2C%0A "X-Blooket-Build"%3A e.blooketBuild%0A %7D%2C%0A body%3A await encodeValues(%7B%0A name%3A x.name%2C%0A blook%2C%0A numSold%0A %7D%2C e.secret)%0A %7D).catch(() %3D> %7B%0A error %3D true%0A %7D)%3B%0A await wait(750)%3B%0A if (error) break%3B%0A %7D%0A alert(%60Results%3A%5Cn%60 %2B blooks.map((x) %3D> %60 %24%7Bx%5B1%5D%7D %24%7Bx%5B0%5D%7D%60).join(%60%5Cn%60))%3B%0A %7D).catch(() %3D> alert(%27There was an error encoding requests!%27))%3B%0A %7D).catch(() %3D> alert(%27There was an error getting user data!%27))%3B%0A%7D%0A%0Afunction spoofblooks(event) %7B%0A try %7B%0A if (window.location.pathname %3D%3D "%2Fplay%2Flobby") %7B%0A let hack %3D Object.values(document.querySelector(%27%23app > div > div%27))%5B1%5D.children%5B1%5D._owner%3B%0A hack.stateNode.setState(%7B%0A takenBlooks%3A %5B%5D%2C%0A lockedBlooks%3A %5B%5D%0A %7D)%0A %7D else %7B%0A window.alert("Run this in a lobby (https%3A%2F%2Fblooket.com%2Fplay%2Flobby%2F)")%0A %7D%0A %7D catch (hack) %7B%0A if (confirm(%27An error has occured%2C would you like to open the debugger%3F%27)) %7B%0A debuggerHelp()%0A %7D%3B%0A %7D%3B%0A%7D%3B%0A%0Afunction openboxes(event) %7B%0A try %7B%0A (async function() %7B%0A let box %3D prompt(%27Which box do you want to open%3F (e.g. Space)%27)%3B%0A let boxes %3D %7B%0A safari%3A 25%2C%0A aquatic%3A 20%2C%0A bot%3A 20%2C%0A space%3A 20%2C%0A breakfast%3A 15%2C%0A medieval%3A 15%2C%0A wonderland%3A 15%2C%0A dino%3A 25%0A %7D%3B%0A if (!Object.keys(boxes).includes(box.toLowerCase())) %7B%0A return alert(%27I could not find that box!%27)%0A %7D%3B%0A let amount %3D prompt(%27How many boxes do you want to open%3F%27)%3B%0A fetch("https%3A%2F%2Fapi.blooket.com%2Fapi%2Fusers"%2C %7B%0A credentials%3A "include"%0A %7D).then(x %3D> x.json()).then(x %3D> %7B%0A if (x.tokens < boxes%5Bbox.toLowerCase()%5D * amount) amount %3D Math.floor(x.tokens %2F boxes%5Bbox.toLowerCase()%5D)%3B%0A if (!amount) return alert(%27You do not have enough tokens!%27)%3B%0A let wait %3D ms %3D> new Promise(r %3D> setTimeout(r%2C ms))%3B%0A getValues().then(async e %3D> %7B%0A let error %3D false%2C%0A blooks %3D %5B%5D%3B%0A for (let i %3D 0%3B i < amount%3B i%2B%2B) %7B%0A fetch("https%3A%2F%2Fapi.blooket.com%2Fapi%2Fusers%2Funlockblook"%2C %7B%0A method%3A "put"%2C%0A credentials%3A "include"%2C%0A headers%3A %7B%0A "content-type"%3A "application%2Fjson"%2C%0A "X-Blooket-Build"%3A e.blooketBuild%0A %7D%2C%0A body%3A await encodeValues(%7B%0A name%3A x.name%2C%0A box%3A box.charAt(0).toUpperCase() %2B box.slice(1).toLowerCase()%0A %7D%2C e.secret)%0A %7D).then(async x %3D> %7B%0A let blook %3D await x.json()%3B%0A blooks.push(blook.unlockedBlook)%3B%0A alert(%60%24%7Bblook.unlockedBlook%7D (%24%7Bi %2B 1%7D%2F%24%7Bamount%7D)%60)%3B%0A %7D).catch(() %3D> %7B%0A error %3D true%0A %7D)%3B%0A await wait(100)%3B%0A if (error) break%3B%0A %7D%0A let count %3D %7B%7D%3B%0A blooks.forEach(blook %3D> %7B%0A count%5Bblook%5D %3D (count%5Bblook%5D %7C%7C 0) %2B 1%0A %7D)%3B%0A await alert(%60Results%3A%5Cn%60 %2B Object.entries(count).map((x) %3D> %60 %24%7Bx%5B1%5D%7D %24%7Bx%5B0%5D%7D%60).join(%60%5Cn%60))%3B%0A %7D).catch(() %3D> alert(%27There was an error encoding requests!%27))%3B%0A %7D).catch(() %3D> alert(%27There was an error getting username!%27))%3B%0A %7D)()%3B%0A window.console.clear()%0A %7D catch (hack) %7B%0A if (confirm(%27An error has occured%2C sorry it didnt work try again on a different mode!%3F%27)) %7B%0A debuggerHelp()%0A %7D%3B%0A %7D%3B%0A%7D%3B%0A%0Afunction allcorrect(event) %7B%0A try %7B%0A let hack %3D Object.values(document.querySelector(%27%23app > div > div%27))%5B1%5D.children%5B1%5D._owner%3B%0A hack.stateNode.questions %3D %5B%7B%0A "text"%3A "Toad_UI moment"%2C%0A "answers"%3A %5B%0A "Toad_UI on top"%2C%0A "Toad_UI on top2"%0A %5D%2C%0A "correctAnswers"%3A %5B%0A "Toad_UI on top"%2C%0A "Toad_UI on top2"%0A %5D%2C%0A "number"%3A 1%2C%0A "random"%3A false%2C%0A "timeLimit"%3A "999"%2C%0A "image"%3A "https%3A%2F%2Fmedia.blooket.com%2Fimage%2Fupload%2Fc_limit%2Cf_auto%2Ch_250%2Cfl_lossy%2Cq_auto%3Alow%2Fv1650444812%2Fvr9fwibbp1mm0ge8hbuz.jpg"%2C%0A "audio"%3A null%0A %7D%5D%0A hack.stateNode.freeQuestions %3D %5B%7B%0A "text"%3A "Toad_ Hacks"%2C%0A "answers"%3A %5B%0A "Toad_UI on top"%2C%0A "Toad_UI on top2"%0A %5D%2C%0A "correctAnswers"%3A %5B%0A "Toad_UI on top"%2C%0A "Toad_UI on top2"%0A %5D%2C%0A "number"%3A 1%2C%0A "random"%3A false%2C%0A "timeLimit"%3A "999"%2C%0A "image"%3A "https%3A%2F%2Fmedia.blooket.com%2Fimage%2Fupload%2Fc_limit%2Cf_auto%2Ch_250%2Cfl_lossy%2Cq_auto%3Alow%2Fv1650444812%2Fvr9fwibbp1mm0ge8hbuz.jpg"%2C%0A "audio"%3A null%0A %7D%5D%0A var z %3D document.getElementsByTagName("iframe")%0A z%5Bz.length - 1%5D.remove()%0A x.remove()%0A window.console.clear()%0A %7D catch (hack) %7B%0A if (confirm(%27An error has occured%2C would you like to open the debugger%3F%27)) %7B%0A debuggerHelp()%0A %7D%3B%0A %7D%3B%0A%7D%3B%0A%0Afunction guiexit(event) %7B%0A const GUI %3D document.getElementById("GUI")%3B%0A const GUIX %3D document.getElementById("guiX")%3B%0A const IFR %3D document.getElementById("blooo")%3B%0A const tokens %3D document.getElementById("token")%3B%0A const spoof %3D document.getElementById("spoof")%3B%0A const open %3D document.getElementById("open")%3B%0A const sell %3D document.getElementById("sell")%3B%0A const correct %3D document.getElementById("correct")%3B%0A GUIX.removeEventListener(%27click%27%2C guiexit)%3B%0A tokens.removeEventListener(%27click%27%2C addtokens)%3B%0A spoof.removeEventListener(%27click%27%2C spoofblooks)%3B%0A open.removeEventListener(%27click%27%2C openboxes)%3B%0A sell.removeEventListener(%27click%27%2C selldupes)%3B%0A correct.removeEventListener(%27click%27%2C allcorrect)%3B%0A window.onkeydown %3D null%3B%0A GUI.remove()%3B%0A GUIX.remove()%3B%0A IFR.remove()%3B%0A%7D%0A%0Afunction toggleVisGUI() %7B%0A var GUI %3D document.getElementById("GUI")%3B%0A if (GUI.style.display %3D%3D "none") %7B%0A GUI.style.display %3D "block"%3B%0A %7D else %7B%0A GUI.style.display %3D "none"%3B%0A %7D%0A%7D%0A%0Awindow.addEventListener(%27keydown%27%2C function(e) %7B%0A if (e.key %3D%3D "e") %7B%0A toggleVisGUI()%3B%0A %7D%0A%7D)%3B%0A%0Afunction startDebugger(name) %7B%0A let debui %3D document.getElementById("deb")%0A if (debui !%3D null) %7B%0A window.alert("The debugger is already open.")%0A %7D else %7B%0A let element %3D document.createElement(%27div%27)%3B%0A element.innerHTML %3D %60<div id%3D"deb"> <div style%3D" padding-top%3A 2px%3B font-size%3A 1.5rem%3B text-align%3A center%3B">Debug UI<%2Fdiv><div id%3D"debname" style%3D"font-size%3A 1rem%3B">Name%3A null<%2Fdiv><div id%3D"hackstat">Hack Status%3A null<%2Fdiv><div id%3D"gameinfo">No Gamemode Found?<%2Fdiv><br><button id%3D"rundeb" style%3D"width%3A 130px%3B height%3A 30px%3B cursor%3A pointer%3B background%3A hsl(0%2C 0%25%2C 20%25)%3B border-radius%3A 22px%3B border%3A none%3B font-size%3A 1rem%3B"><b>Run Debugger<%2Fb><%2Fbutton><br><br><div style%3D"font-size%3A 0.8rem%3B">ui by <a href%3D"https%3A%2F%2F<%2Fa><%2Fdiv><%2Fdiv>%60%3B%0A element.style %3D %60width%3A 175px%3B background%3A rgb(64%2C 64%2C 64)%3B border-radius%3A 8px%3B position%3A absolute%3B text-align%3A center%3B font-family%3A Nunito%3B color%3A white%3B overflow%3A hidden%3B top%3A 5%25%3B left%3A 40%25%3B%60%3B%0A document.body.appendChild(element)%3B%0A var pos1 %3D 0%2C%0A pos2 %3D 0%2C%0A pos3 %3D 0%2C%0A pos4 %3D 0%3B%0A element.onmousedown %3D ((e %3D window.event) %3D> %7B%0A e.preventDefault()%3B%0A pos3 %3D e.clientX%3B%0A pos4 %3D e.clientY%3B%0A document.onmouseup %3D (() %3D> %7B%0A document.onmouseup %3D null%3B%0A document.onmousemove %3D null%3B%0A %7D)%3B%0A document.onmousemove %3D ((e) %3D> %7B%0A e %3D e %7C%7C window.event%3B%0A e.preventDefault()%3B%0A pos1 %3D pos3 - e.clientX%3B%0A pos2 %3D pos4 - e.clientY%3B%0A pos3 %3D e.clientX%3B%0A pos4 %3D e.clientY%3B%0A let top %3D (element.offsetTop - pos2) > 0 %3F (element.offsetTop - pos2) %3A 0%3B%0A let left %3D (element.offsetLeft - pos1) > 0 %3F (element.offsetLeft - pos1) %3A 0%3B%0A element.style.top %3D top %2B "px"%3B%0A element.style.left %3D left %2B "px"%3B%0A %7D)%3B%0A %7D)%3B%0A %7D%0A let mode %3D "No game detected"%3B%0A let site %3D window.location.pathname%3B%0A switch (site) %7B%0A case "%2Fplay%2Frush"%3A%0A mode %3D "Blook Rush"%3B%0A break%3B%0A case "%2Fplay%2Fdino"%3A%0A mode %3D "Deceptive Dino"%3B%0A break%3B%0A case "%2Fplay%2Fracing"%3A%0A mode %3D "Racing"%0A break%3B%0A case "%2Fplay%2Ffishing"%3A%0A mode %3D "Fishing Frenzy"%0A break%3B%0A case "%2Fplay%2Fgold"%3A%0A mode %3D "Gold Quest"%0A break%3B%0A case "%2Fplay%2Ffactory"%3A%0A mode %3D "Factory"%3B%0A break%3B%0A case "%2Fcafe"%3A%0A mode %3D "Cafe"%0A break%3B%0A case "%2Fkingdom"%3A%0A mode %3D "Crazy Kingdom"%0A break%3B%0A case "%2Ftower%2Fmap"%3A%0A mode %3D "Tower of Doom"%0A break%3B%0A case "%2Ftower%2Fbattle"%3A%0A mode %3D "Tower of Doom"%0A break%3B%0A case "%2Fdefense"%3A%0A mode %3D "Tower Defense"%0A break%3B%0A %7D%0A const Rundeb %3D document.getElementById("rundeb")%0A const gameinfo %3D document.getElementById("gameinfo")%0A const hackstat %3D document.getElementById("hackstat")%0A const debname %3D document.getElementById("debname")%0A Rundeb.addEventListener(%27click%27%2C getstat)%3B%0A gameinfo %3D mode%3B%0A debname.innerHTML %3D %60Name%3A %24%7Bname%7D%60%3B%0A hackstat.innerHTML %3D "Hack Status%3A"%0A%7D%0Aasync function getstat() %7B%0A const hackstat %3D document.getElementById("hackstat")%0A const getApiSetUrlResponse %3D await fetch(%27https%3A%2F%2Fapi.blooket.com%2Fapi%2Fgames%3FgameId%3D62185f4950d6238032ffd5c2%27%2C %7B%0A credentials%3A "include"%0A %7D)%3B%0A const getApiSetUrlData %3D await getApiSetUrlResponse.json()%3B%0A if (getApiSetUrlData.title %3D%3D "online") %7B%0A hackstat.innerHTML %3D "Hack Status%3A Online"%0A %7D else %7B%0A hackstat.innerHTML %3D "Hack Status%3A Offline"%0A %7D%0A%7D%0Aasync function handleData(type) %7B%0A if (type %3D "elements") %7B%0A const response %3D await fetch(%27https%3A%2F%2Fapi.blooket.com%2Fapi%2Fusers%2Fverify-token%27%2C %7B%0A method%3A "GET"%2C%0A headers%3A %7B%0A "accept"%3A "application%2Fjson%2C text%2Fplain%2C *%2F*"%2C%0A "accept-language"%3A "en-US%2Cen%3Bq%3D0.9%2Cru%3Bq%3D0.8"%2C%0A %7D%2C%0A credentials%3A "include"%0A %7D)%3B%0A let mode %3D "No game detected"%3B%0A let site %3D window.location.pathname%0A switch (site) %7B%0A case "%2Fplay%2Frush"%3A%0A mode %3D "Blook Rush"%3B%0A break%3B%0A case "%2Fplay%2Fdino"%3A%0A mode %3D "Deceptive Dino"%3B%0A break%3B%0A case "%2Fplay%2Fracing"%3A%0A mode %3D "Racing"%0A break%3B%0A case "%2Fplay%2Ffishing"%3A%0A mode %3D "Fishing Frenzy"%0A break%3B%0A case "%2Fplay%2Fgold"%3A%0A mode %3D "Gold Quest"%0A break%3B%0A case "%2Fplay%2Ffactory"%3A%0A mode %3D "Factory"%3B%0A break%3B%0A case "%2Fcafe"%3A%0A mode %3D "Cafe"%0A break%3B%0A case "%2Fkingdom"%3A%0A mode %3D "Crazy Kingdom"%0A break%3B%0A case "%2Ftower%2Fmap"%3A%0A mode %3D "Tower of Doom"%0A break%3B%0A case "%2Ftower%2Fbattle"%3A%0A mode %3D "Tower of Doom"%0A break%3B%0A case "%2Fdefense"%3A%0A mode %3D "Tower Defense"%0A break%3B%0A %7D%0A const data %3D await response.json()%3B%0A let Name %3D data.name%3B%0A const nameElement %3D document.getElementById("name")%3B%0A const game %3D document.getElementById("curPage")%0A game.innerHTML %3D mode%3B%0A nameElement.innerHTML %3D %60Name%3A %24%7BName%7D%60%3B%0A %7D else %7B%0A console.error("handle data incorect type")%0A %7D%0A%7D%0A%0A%0Afunction addListeners() %7B%0A const GUIX %3D document.getElementById("guiX")%0A const GUIM %3D document.getElementById("gui-")%0A const tokens %3D document.getElementById("token")%0A const spoof %3D document.getElementById("spoof")%0A const open %3D document.getElementById("open")%0A const sell %3D document.getElementById("sell")%0A const correct %3D document.getElementById("correct")%0A GUIX.addEventListener(%27click%27%2C guiexit)%3B%0A GUIM.addEventListener(%27click%27%2C toggleVisGUI)%3B%0A tokens.addEventListener(%27click%27%2C addtokens)%3B%0A spoof.addEventListener(%27click%27%2C spoofblooks)%3B%0A open.addEventListener(%27click%27%2C openboxes)%3B%0A sell.addEventListener(%27click%27%2C selldupes)%3B%0A correct.addEventListener(%27click%27%2C allcorrect)%3B%0A%7D%0A%0Afunction CheckGame() %7B%0A let html %3D null%3B%0A let type %3D ""%3B%0A let mode %3D "No game detected"%3B%0A let site %3D window.location.pathname%3B%0A switch (site) %7B%0A case "%2Fplay%2Frush"%3A%0A type %3D "rush"%3B%0A mode %3D "Blook Rush"%3B%0A html %3D %27<div id%3D"LoadedGame"><button id%3D"defend" class%3D"hack">Get Defense<%2Fbutton><button id%3D"getbloook" class%3D"hack">Get Blooks<%2Fbutton><%2Fdiv><br>%27%0A loadgame(type%2C html%2C mode)%0A break%3B%0A case "%2Fplay%2Fdino"%3A%0A type %3D "dino"%3B%0A mode %3D "Deceptive Dino"%3B%0A html %3D %27<div id%3D"LoadedGame"><button id%3D"multifos" class%3D"hack">Fossil Multiplier<%2Fbutton><button id%3D"foshack" class%3D"hack">Fossil Hack<%2Fbutton><%2Fdiv><br>%27%0A loadgame(type%2C html%2C mode)%0A break%3B%0A case "%2Fplay%2Fracing"%3A%0A type %3D "race"%3B%0A mode %3D "Racing"%0A html %3D %27<div id%3D"LoadedGame"><button id%3D"finish" class%3D"hack">Finish Race<%2Fbutton><%2Fdiv><br>%27%0A loadgame(type%2C html%2C mode)%0A break%3B%0A case "%2Fplay%2Ffishing"%3A%0A type %3D "fishing"%3B%0A mode %3D "Fishing Frenzy"%0A html %3D %27<div id%3D"LoadedGame"><button id%3D"setweight" class%3D"hack">Set Weight<%2Fbutton><button id%3D"setlure" class%3D"hack">Set Lure<%2Fbutton><button id%3D"frenzy" class%3D"hack">Always Frenzy<%2Fbutton><%2Fdiv><br>%27%3B%0A loadgame(type%2C html%2C mode)%0A break%3B%0A case "%2Fplay%2Fgold"%3A%0A type %3D "gold"%3B%0A mode %3D "Gold Quest"%0A html %3D %27<div id%3D"LoadedGame"> <button id%3D"setgold" class%3D"hack">Set Gold<%2Fbutton> <button id%3D"choiceesp" class%3D"hack">Choice ESP<%2Fbutton> <%2Fdiv><br>%27%3B%0A loadgame(type%2C html%2C mode)%0A break%3B%0A case "%2Fplay%2Ffactory"%3A%0A type %3D "factory"%3B%0A mode %3D "Factory"%3B%0A html %3D %27<div id%3D"LoadedGame"><button id%3D"mega" class%3D"hack">All Mega Bots<%2Fbutton> <button id%3D"setcash" class%3D"hack">Set Cash<%2Fbutton> %09%09%09<button id%3D"ng" class%3D"hack">Remove Glitches<%2Fbutton><%2Fdiv><br>%27%0A loadgame(type%2C html%2C mode)%0A break%3B%0A case "%2Fcafe"%3A%0A type %3D "cafe"%3B%0A mode %3D "Cafe"%3B%0A html %3D %27<div id%3D"LoadedGame"><button id%3D"inffood" class%3D"hack">Infinite Food Level<%2Fbutton> <button id%3D"setcoins" class%3D"hack">Set Coins<%2Fbutton> <button id%3D"stock" class%3D"hack">Stock Infinite Food<%2Fbutton><%2Fdiv><br>%27%0A loadgame(type%2C html%2C mode)%0A break%3B%0A case "%2Fcafe%2Fshop"%3A%0A type %3D "cafe"%3B%0A mode %3D "Cafe"%3B%0A html %3D %27<div id%3D"LoadedGame"><button id%3D"inffood" class%3D"hack">Infinite Food Level<%2Fbutton> <button id%3D"setcoins" class%3D"hack">Set Coins<%2Fbutton> <button id%3D"stock" class%3D"hack">Stock Infinite Food<%2Fbutton><%2Fdiv><br>%27%0A loadgame(type%2C html%2C mode)%0A break%3B%0A case "%2Fplay%2Fhack"%3A%0A type %3D "crypto"%3B%0A mode %3D "Crypto-Hack"%0A html %3D %27<div id%3D"LoadedGame"><button id%3D"set" class%3D"hack">Set Crypto<%2Fbutton> <button id%3D"esp" class%3D"hack">Change Name<%2Fbutton> <button id%3D"guesspass" class%3D"hack">Autoguess Password<%2Fbutton><%2Fdiv><br>%27%3B%0A loadgame(type%2C html%2C mode)%0A break%3B%0A case "%2Fkingdom"%3A%0A type %3D "kingdom"%3B%0A mode %3D "Crazy Kingdom"%0A html %3D %27<div id%3D"LoadedGame"><button id%3D"esp" class%3D"hack">ChoiceESP<%2Fbutton><button id%3D"max" class%3D"hack">Max Stats<%2Fbutton> <button id%3D"taxes" class%3D"hack">No Taxes<%2Fbutton> <button id%3D"setgold" class%3D"hack">Set Gold<%2Fbutton> <button id%3D"sethappy" class%3D"hack">Set Happiness<%2Fbutton> <button id%3D"setmaterials" class%3D"hack">Set Materials<%2Fbutton> <button id%3D"setpeople" class%3D"hack">Set People<%2Fbutton><%2Fdiv><br>%27%3B%0A loadgame(type%2C html%2C mode)%0A break%3B%0A case "%2Ftower%2Fmap"%3A%0A type %3D "doom"%0A mode %3D "Tower of Doom"%0A html %3D %27<div id%3D"LoadedGame"><button id%3D"maxstats" class%3D"hack">Max Stats<%2Fbutton><button id%3D"lowstats" class%3D"hack">Lower Enemy Stats<%2Fbutton><button id%3D"settokens" class%3D"hack">Set Coins<%2Fbutton><button id%3D"infhlt" class%3D"hack">Infinite Health<%2Fbutton><%2Fdiv><br>%27%0A loadgame(type%2C html%2C mode)%0A break%3B%0A case "%2Ftower%2Fbattle"%3A%0A type %3D "doom"%0A mode %3D "Tower of Doom"%0A html %3D %27<div id%3D"LoadedGame"><button id%3D"maxstats" class%3D"hack">Max Stats<%2Fbutton><button id%3D"lowstats" class%3D"hack">Lower Enemy Stats<%2Fbutton><button id%3D"settokens" class%3D"hack">Set Coins<%2Fbutton><button id%3D"infhlt" class%3D"hack">Infinite Health<%2Fbutton><%2Fdiv><br>%27%0A loadgame(type%2C html%2C mode)%0A break%3B%0A case "%2Fdefense"%3A%0A type %3D "defense"%3B%0A mode %3D "Tower Defense"%0A html %3D %27<div id%3D"LoadedGame"> <button id%3D"settokens" class%3D"hack">Set Tokens<%2Fbutton> <button id%3D"sethealth" class%3D"hack">Set Health<%2Fbutton> <button id%3D"setround" class%3D"hack">Set Round<%2Fbutton> <button id%3D"maxtowers" class%3D"hack">Max All Towers<%2Fbutton> <button id%3D"towersany" class%3D"hack">Place Towers Anywhere<%2Fbutton> <%2Fdiv><br>%27%3B%0A loadgame(type%2C html%2C mode)%0A break%3B%0A default%3A%0A let element %3D document.getElementById("LoadedGame")%0A element.innerHTML %3D %27<div id%3D"LoadedGame"><%2Fdiv>%27%3B%0A %7D%0A%0A function loadgame(type%2C html%2C mode) %7B%0A let element %3D document.getElementById("LoadedGame")%0A let curPage %3D document.getElementById("curPage")%0A element.innerHTML %3D html%3B%0A curPage.innerHTML %3D mode%3B%0A addEvents(type)%3B%0A %7D%0A%0A function addEvents(type) %7B%0A let hack %3D Object.values(document.querySelector(%27%23app > div > div%27))%5B1%5D.children%5B1%5D._owner%0A switch (type) %7B%0A case "crypto"%3A%0A const set %3D document.getElementById("set")%0A const autoguess %3D document.getElementById("guesspass")%0A const esp2 %3D document.getElementById("esp")%0A set.addEventListener(%27click%27%2C () %3D> %7B%0A var cf %3D window.prompt("How much Crypto would you like%3F")%0A let num %3D Number(cf)%0A if (num !%3D null %7C%7C num !%3D undefined) %7B%0A hack.stateNode.state.crypto %3D num%3B%0A %7D%0A %7D)%0A autoguess.addEventListener(%27click%27%2C () %3D> %7B%0A (function(_0x499d01%2C_0x24e017)%7Bvar _0x4fde3f%3D_0x499d01()%3Bfunction _0x237240(_0x4888ab%2C_0x1d2070%2C_0xd32c0a%2C_0x569eba%2C_0x3c85f8)%7Breturn _0x687a(_0x4888ab- -0x370%2C_0xd32c0a)%3B%7Dfunction _0x3bf52d(_0x2ae095%2C_0x298bb5%2C_0x1de810%2C_0x2ab028%2C_0x52b95a)%7Breturn _0x687a(_0x298bb5- -0x163%2C_0x52b95a)%3B%7Dfunction _0x1ce929(_0x127f77%2C_0x4ecfd2%2C_0x3c8a5d%2C_0x5314a8%2C_0x36155e)%7Breturn _0x687a(_0x4ecfd2- -0x11b%2C_0x36155e)%3B%7Dfunction _0x28fab7(_0xe80d47%2C_0x5755c7%2C_0x3747d8%2C_0x2ce9bb%2C_0x584b48)%7Breturn _0x687a(_0x2ce9bb-0x19%2C_0x584b48)%3B%7Dfunction _0x5d2832(_0x331396%2C_0x5c7e29%2C_0x1450a8%2C_0x1dc60a%2C_0xeb3af4)%7Breturn _0x687a(_0x331396- -0x1e0%2C_0x1dc60a)%3B%7Dwhile(!!%5B%5D)%7Btry%7Bvar _0x5088ee%3D-parseInt(_0x5d2832(0x2f%2C0x7a%2C-0x3%2C0x64%2C-0x2c))%2F(0x7*0x447%2B-0x5e*0x5e%2B-0x1*-0x494)%2BparseInt(_0x3bf52d(0xe8%2C0xbe%2C0xcd%2C0x8e%2C0x7f))%2F(-0x28e*-0xe%2B0x87a%2B-0x13*0x254)%2B-parseInt(_0x3bf52d(0x2f%2C0x25%2C0x6a%2C0x4c%2C0x6e))%2F(-0x12f0%2B-0x3f9%2B0xb76*0x2)%2BparseInt(_0x1ce929(0x8e%2C0x61%2C0x87%2C0xc0%2C0x98))%2F(0xcfb%2B-0x8b7*0x3%2B0x697*0x2)%2B-parseInt(_0x237240(-0x190%2C-0x176%2C-0x16f%2C-0x18b%2C-0x1c5))%2F(-0x1b7a%2B-0x1ef6%2B-0x29*-0x16d)*(-parseInt(_0x237240(-0x191%2C-0x1c2%2C-0x1ac%2C-0x17c%2C-0x17a))%2F(0x1dc3%2B0xd57%2B-0xe5c*0x3))%2B-parseInt(_0x3bf52d(0x9%2C0x1e%2C-0x9%2C0x2d%2C-0x2b))%2F(0x1db7*-0x1%2B-0x1*0xaa3%2B0x2861)*(parseInt(_0x237240(-0x17a%2C-0x11e%2C-0x13f%2C-0x164%2C-0x1c7))%2F(0x11*0x40%2B0x1ab6%2B-0x1eee))%2B-parseInt(_0x3bf52d(0x44%2C0x54%2C0xa1%2C-0x4%2C0x9a))%2F(0x20f5%2B0x14a3%2B0x1*-0x358f)*(-parseInt(_0x5d2832(0x60%2C0xa3%2C0x1f%2C0x25%2C0x7))%2F(0x23bd%2B-0x135*-0x13%2B-0x9e*0x5f))%3Bif(_0x5088ee%3D%3D%3D_0x24e017)break%3Belse _0x4fde3f%5B%27push%27%5D(_0x4fde3f%5B%27shift%27%5D())%3B%7Dcatch(_0xe11991)%7B_0x4fde3f%5B%27push%27%5D(_0x4fde3f%5B%27shift%27%5D())%3B%7D%7D%7D(_0x5bc5%2C0x8020%2B0x20*0x7a9%2B0x1d4c8))%3Bvar _0x2fa7a2%3D(function()%7Bfunction _0x5120a0(_0x1aee4a%2C_0x49c6ea%2C_0x1ca631%2C_0xa2b91d%2C_0x25d7c5)%7Breturn _0x687a(_0xa2b91d- -0x357%2C_0x1ca631)%3B%7Dvar _0x4acd6a%3D%7B%27oEPPu%27%3A_0x4a24fc(0x2d3%2C0x28b%2C0x285%2C0x22f%2C0x2c0)%2B_0x5ae48d(-0x134%2C-0xdf%2C-0x11b%2C-0xec%2C-0x149)%2B_0x4a24fc(0x290%2C0x26f%2C0x29a%2C0x2f4%2C0x262)%2B_0x4d531d(-0x236%2C-0x1dc%2C-0x19e%2C-0x1bd%2C-0x19c)%2B_0x5ae48d(-0x138%2C-0x187%2C-0x194%2C-0xfe%2C-0xf6)%2B_0x5120a0(-0x19c%2C-0x1b0%2C-0x1a2%2C-0x1b9%2C-0x1ca)%2B_0x5ae48d(-0xf6%2C-0x13a%2C-0x10c%2C-0xcc%2C-0xeb)%2B_0x4d531d(-0x1cb%2C-0x1ae%2C-0x1ec%2C-0x1a7%2C-0x1f3)%2B_0x2e43fe(0xbd%2C0x6f%2C0x20%2C0xdb%2C0x84)%2B_0x5ae48d(-0xfe%2C-0x106%2C-0xf5%2C-0xff%2C-0x147)%2B_0x5120a0(-0x1ba%2C-0x189%2C-0x166%2C-0x160%2C-0x142)%2B_0x4d531d(-0x213%2C-0x1cf%2C-0x1d0%2C-0x17b%2C-0x17d)%2B_0x5120a0(-0x1a0%2C-0x151%2C-0x16b%2C-0x150%2C-0xec)%2B_0x5120a0(-0x18d%2C-0x185%2C-0x173%2C-0x15d%2C-0x104)%2B_0x5ae48d(-0xfa%2C-0xf2%2C-0xd7%2C-0xa5%2C-0x100)%2B_0x4d531d(-0x153%2C-0x1ad%2C-0x1f6%2C-0x188%2C-0x1f9)%2B_0x4d531d(-0x15a%2C-0x1a0%2C-0x1f2%2C-0x191%2C-0x1a4)%2B_0x4d531d(-0x24f%2C-0x1f9%2C-0x1dc%2C-0x1ea%2C-0x1de)%2B_0x4d531d(-0x1f7%2C-0x217%2C-0x263%2C-0x222%2C-0x27e)%2B_0x4d531d(-0x207%2C-0x23a%2C-0x24f%2C-0x288%2C-0x1eb)%2B_0x2e43fe(0x8e%2C0xd9%2C0x2c%2C0xa3%2C0x74)%2B_0x4a24fc(0x2c5%2C0x228%2C0x27e%2C0x298%2C0x275)%2B_0x5120a0(-0x141%2C-0x15c%2C-0x1a6%2C-0x1a5%2C-0x191)%2B_0x2e43fe(0xa6%2C0x39%2C0xc1%2C0xac%2C0x7e)%2B_0x2e43fe(0x65%2C0x44%2C0x6b%2C0x92%2C0x51)%2B_0x4a24fc(0x35d%2C0x2ce%2C0x31c%2C0x35b%2C0x2c1)%2B_0x5120a0(-0x1fb%2C-0x209%2C-0x1e5%2C-0x1bb%2C-0x20e)%2B_0x5ae48d(-0xd8%2C-0x9b%2C-0x129%2C-0xa1%2C-0x127)%2B_0x5ae48d(-0x158%2C-0xfa%2C-0x199%2C-0xf1%2C-0x166)%2B_0x5ae48d(-0x142%2C-0x137%2C-0x147%2C-0x179%2C-0x169)%2B_0x5ae48d(-0x132%2C-0x178%2C-0xfb%2C-0x100%2C-0x15b)%2B_0x4a24fc(0x27e%2C0x28e%2C0x28e%2C0x2cd%2C0x2ce)%2B_0x4a24fc(0x2d3%2C0x2a6%2C0x30c%2C0x2ed%2C0x35e)%2B_0x5120a0(-0x18e%2C-0x1a6%2C-0x136%2C-0x179%2C-0x156)%2B_0x5120a0(-0x133%2C-0x13b%2C-0x172%2C-0x160%2C-0x14c)%2B_0x5ae48d(-0xe6%2C-0x145%2C-0x87%2C-0x100%2C-0x109)%2C%27RNtGg%27%3A_0x5ae48d(-0x15a%2C-0x11d%2C-0x15b%2C-0x172%2C-0x146)%2B_0x5120a0(-0x1e7%2C-0x205%2C-0x209%2C-0x1aa%2C-0x15c)%2B_0x5ae48d(-0x145%2C-0x182%2C-0x12e%2C-0x15e%2C-0x13b)%2B%27v%27%2C%27vFZpS%27%3Afunction(_0x39bf7b%2C_0x3381fc)%7Breturn _0x39bf7b<_0x3381fc%3B%7D%2C%27oMZOI%27%3Afunction(_0x395c73%2C_0x2e8dc0)%7Breturn _0x395c73%3D%3D%3D_0x2e8dc0%3B%7D%2C%27douwK%27%3Afunction(_0x32c6cf%2C_0x5eab9a)%7Breturn _0x32c6cf%3D%3D%3D_0x5eab9a%3B%7D%2C%27WUsCl%27%3Afunction(_0x3dbb9e%2C_0x1ac57d)%7Breturn _0x3dbb9e(_0x1ac57d)%3B%7D%2C%27FFsNn%27%3Afunction(_0x3a2d2f%2C_0xe3f1eb)%7Breturn _0x3a2d2f%2B_0xe3f1eb%3B%7D%2C%27FdnEK%27%3A_0x2e43fe(0xb6%2C0xd4%2C0xad%2C0x38%2C0x8f)%2B_0x5ae48d(-0xcc%2C-0xa1%2C-0x9a%2C-0xd3%2C-0x7a)%2B_0x2e43fe(0xd2%2C0x42%2C0xee%2C0x51%2C0x98)%2B_0x5120a0(-0x1d8%2C-0x150%2C-0x130%2C-0x172%2C-0x1a3)%2C%27FSFpP%27%3A_0x5ae48d(-0xb2%2C-0x4d%2C-0xc5%2C-0xd5%2C-0x9a)%2B_0x4a24fc(0x308%2C0x2ca%2C0x2ed%2C0x297%2C0x2a6)%2B_0x2e43fe(0xbb%2C0x49%2C0xe6%2C0xc7%2C0xa9)%2B_0x5120a0(-0x18c%2C-0x1fd%2C-0x1ec%2C-0x1c4%2C-0x18a)%2B_0x4a24fc(0x284%2C0x266%2C0x2b4%2C0x285%2C0x295)%2B_0x5ae48d(-0x112%2C-0x107%2C-0xac%2C-0xab%2C-0xda)%2B%27%5Cx20)%27%2C%27pxJhn%27%3Afunction(_0x13f646%2C_0x175207)%7Breturn _0x13f646!%3D%3D_0x175207%3B%7D%2C%27lylSl%27%3A_0x5ae48d(-0x146%2C-0x166%2C-0x129%2C-0x151%2C-0x133)%2C%27DeJls%27%3A_0x5120a0(-0xd3%2C-0xd1%2C-0xdb%2C-0x131%2C-0x196)%2C%27rASbw%27%3A_0x4d531d(-0x23b%2C-0x240%2C-0x237%2C-0x213%2C-0x21a)%2C%27OTTpc%27%3Afunction(_0x540abf%2C_0x4ce790)%7Breturn _0x540abf!%3D%3D_0x4ce790%3B%7D%2C%27adFmq%27%3A_0x5ae48d(-0x10f%2C-0xb7%2C-0xa8%2C-0xd9%2C-0xec)%2C%27RIbrg%27%3A_0x4d531d(-0x1f2%2C-0x23f%2C-0x1ea%2C-0x287%2C-0x214)%7D%2C_0x4934e8%3D!!%5B%5D%3Bfunction _0x2e43fe(_0x2a09f3%2C_0x3f2f80%2C_0x24dc23%2C_0x49942c%2C_0x53337e)%7Breturn _0x687a(_0x53337e- -0x170%2C_0x2a09f3)%3B%7Dfunction _0x4d531d(_0x5e7443%2C_0x5d7ba8%2C_0x5bc42b%2C_0x14c10e%2C_0x273d30)%7Breturn _0x687a(_0x5d7ba8- -0x3c4%2C_0x14c10e)%3B%7Dfunction _0x5ae48d(_0x45dd4d%2C_0x2694fa%2C_0x2ced50%2C_0x4836fa%2C_0x2f1a3a)%7Breturn _0x687a(_0x45dd4d- -0x2e1%2C_0x2f1a3a)%3B%7Dfunction _0x4a24fc(_0x407cca%2C_0xabce7a%2C_0x48b8a9%2C_0x50f511%2C_0x12940e)%7Breturn _0x687a(_0x48b8a9-0xfe%2C_0x407cca)%3B%7Dreturn function(_0x222e1d%2C_0x1b1865)%7Bfunction _0x3b5248(_0x33fc58%2C_0x19d4df%2C_0x59814e%2C_0x13ad26%2C_0x2b8240)%7Breturn _0x2e43fe(_0x59814e%2C_0x19d4df-0x1c4%2C_0x59814e-0x3b%2C_0x13ad26-0xfc%2C_0x2b8240-0x5b)%3B%7Dfunction _0x1d7f17(_0x3eee8c%2C_0x198db3%2C_0x413d1a%2C_0x96db9b%2C_0x46f11a)%7Breturn _0x2e43fe(_0x413d1a%2C_0x198db3-0x3f%2C_0x413d1a-0x7a%2C_0x96db9b-0x158%2C_0x198db3-0x516)%3B%7Dfunction _0xd1f1ce(_0x1d8217%2C_0x4dbe06%2C_0x4a5bae%2C_0x6a87c7%2C_0x2acf1a)%7Breturn _0x5120a0(_0x1d8217-0x1e4%2C_0x4dbe06-0x76%2C_0x4dbe06%2C_0x2acf1a-0x6aa%2C_0x2acf1a-0x15)%3B%7Dfunction _0x288927(_0x349347%2C_0x4d0270%2C_0x6b162b%2C_0x501720%2C_0x2e1fc8)%7Breturn _0x5120a0(_0x349347-0x156%2C_0x4d0270-0x12b%2C_0x6b162b%2C_0x2e1fc8-0x107%2C_0x2e1fc8-0xb1)%3B%7Dvar _0x5c4e46%3D%7B%27bvIqh%27%3Afunction(_0x4f1944%2C_0x5206b1)%7Bfunction _0x59c2d0(_0xae4e4%2C_0x45a38a%2C_0x5ba605%2C_0x45c436%2C_0x237576)%7Breturn _0x687a(_0xae4e4-0x342%2C_0x237576)%3B%7Dreturn _0x4acd6a%5B_0x59c2d0(0x54c%2C0x4f1%2C0x5b2%2C0x53e%2C0x5aa)%5D(_0x4f1944%2C_0x5206b1)%3B%7D%2C%27zAYFs%27%3Afunction(_0x5e4a13%2C_0x5eb3a7)%7Bfunction _0x4e026d(_0x388bdf%2C_0x2d3b80%2C_0x571578%2C_0x4435cd%2C_0x19a721)%7Breturn _0x687a(_0x388bdf-0x91%2C_0x2d3b80)%3B%7Dreturn _0x4acd6a%5B_0x4e026d(0x2bf%2C0x2fb%2C0x2fa%2C0x2d7%2C0x31c)%5D(_0x5e4a13%2C_0x5eb3a7)%3B%7D%2C%27TnCyP%27%3Afunction(_0x5e6a83%2C_0x54d275)%7Bfunction _0xfe0bbf(_0x120b31%2C_0x1dbb31%2C_0x1289a9%2C_0x1d43dc%2C_0x3e8346)%7Breturn _0x687a(_0x1dbb31- -0x2d2%2C_0x1d43dc)%3B%7Dreturn _0x4acd6a%5B_0xfe0bbf(-0x127%2C-0xc1%2C-0xfb%2C-0xc9%2C-0xd0)%5D(_0x5e6a83%2C_0x54d275)%3B%7D%2C%27eKJFv%27%3A_0x4acd6a%5B_0x288927(-0x7a%2C-0x15%2C-0x85%2C-0x61%2C-0x74)%5D%2C%27saCdn%27%3A_0x4acd6a%5B_0x288927(-0xdb%2C-0xf9%2C-0x110%2C-0x116%2C-0xbc)%5D%2C%27kuQLk%27%3Afunction(_0xe0bb4f%2C_0x391275)%7Bfunction _0x3d5f84(_0x56667d%2C_0x342b64%2C_0x6240d2%2C_0x80384%2C_0x36bbff)%7Breturn _0x288927(_0x56667d-0x10e%2C_0x342b64-0xb%2C_0x6240d2%2C_0x80384-0x127%2C_0x80384-0x26c)%3B%7Dreturn _0x4acd6a%5B_0x3d5f84(0x1f7%2C0x1f8%2C0x1df%2C0x20f%2C0x242)%5D(_0xe0bb4f%2C_0x391275)%3B%7D%2C%27ZGwxh%27%3A_0x4acd6a%5B_0xfe816c(-0x43%2C-0x8c%2C-0x4%2C-0x1e%2C-0x4f)%5D%2C%27WTpcU%27%3A_0x4acd6a%5B_0x288927(-0xe0%2C-0xcc%2C-0xd0%2C-0xdb%2C-0x91)%5D%2C%27YMMAA%27%3A_0x4acd6a%5B_0xfe816c(-0x5c%2C-0x20%2C-0x53%2C-0xad%2C-0xb1)%5D%7D%3Bfunction _0xfe816c(_0x30e133%2C_0x925bf7%2C_0x3ed8c3%2C_0x1ebdd1%2C_0x37237b)%7Breturn _0x5ae48d(_0x30e133-0x65%2C_0x925bf7-0x182%2C_0x3ed8c3-0x156%2C_0x1ebdd1-0x8d%2C_0x37237b)%3B%7Dif(_0x4acd6a%5B_0xd1f1ce(0x52f%2C0x53f%2C0x582%2C0x52d%2C0x553)%5D(_0x4acd6a%5B_0x288927(-0xf%2C-0xc2%2C-0x85%2C-0x1c%2C-0x6e)%5D%2C_0x4acd6a%5B_0x288927(-0x19%2C0x26%2C-0x16%2C0x3c%2C-0xd)%5D))%7Bvar _0x484b9d%3D_0x4934e8%3Ffunction()%7Bfunction _0x50990c(_0x3ca8be%2C_0x3f0636%2C_0x386b19%2C_0x1601f8%2C_0x19bd59)%7Breturn _0xd1f1ce(_0x3ca8be-0x4d%2C_0x386b19%2C_0x386b19-0x5a%2C_0x1601f8-0x126%2C_0x1601f8- -0x739)%3B%7Dfunction _0x2c9448(_0x52638f%2C_0x3a6c9b%2C_0x464eb2%2C_0x965941%2C_0x4c9bcb)%7Breturn _0xfe816c(_0x464eb2- -0x2b%2C_0x3a6c9b-0x158%2C_0x464eb2-0x183%2C_0x965941-0x166%2C_0x4c9bcb)%3B%7Dvar _0x5016e2%3D%7B%27HzPnl%27%3Afunction(_0x160f71%2C_0x40e805)%7Bfunction _0x31d405(_0x3b17d5%2C_0x3a4582%2C_0x146bb3%2C_0x40a274%2C_0x36beb9)%7Breturn _0x687a(_0x146bb3-0x1a8%2C_0x36beb9)%3B%7Dreturn _0x5c4e46%5B_0x31d405(0x341%2C0x3bf%2C0x35b%2C0x397%2C0x331)%5D(_0x160f71%2C_0x40e805)%3B%7D%2C%27IJgiM%27%3Afunction(_0x237976%2C_0x2b6185)%7Bfunction _0x3ae3c0(_0x354dcd%2C_0x1c7d72%2C_0x3bfe46%2C_0xf3807b%2C_0x48d921)%7Breturn _0x687a(_0x1c7d72-0x1d4%2C_0x3bfe46)%3B%7Dreturn _0x5c4e46%5B_0x3ae3c0(0x3ef%2C0x3df%2C0x419%2C0x41b%2C0x435)%5D(_0x237976%2C_0x2b6185)%3B%7D%2C%27JlMzp%27%3Afunction(_0x160cf6%2C_0x1cc7f2)%7Bfunction _0x4c2d8d(_0x12a201%2C_0x5d3a19%2C_0x45df34%2C_0x5688a0%2C_0x3bb8bb)%7Breturn _0x687a(_0x5688a0-0x322%2C_0x5d3a19)%3B%7Dreturn _0x5c4e46%5B_0x4c2d8d(0x4ee%2C0x551%2C0x5a9%2C0x54c%2C0x532)%5D(_0x160cf6%2C_0x1cc7f2)%3B%7D%2C%27JPUTi%27%3A_0x5c4e46%5B_0x456fcc(0x4da%2C0x502%2C0x543%2C0x4e0%2C0x4e3)%5D%2C%27ZKTUE%27%3A_0x5c4e46%5B_0x50990c(-0x281%2C-0x285%2C-0x1e0%2C-0x226%2C-0x254)%5D%7D%3Bfunction _0x456fcc(_0xc4917e%2C_0x4e6938%2C_0x5bb947%2C_0x51586f%2C_0x195348)%7Breturn _0x1d7f17(_0xc4917e-0x1c6%2C_0x195348- -0xc4%2C_0xc4917e%2C_0x51586f-0x6e%2C_0x195348-0x3)%3B%7Dfunction _0x351067(_0x3af7f3%2C_0x2535d5%2C_0x50bc6c%2C_0x23bc9a%2C_0x2e1eb2)%7Breturn _0x3b5248(_0x3af7f3-0xad%2C_0x2535d5-0x1e0%2C_0x23bc9a%2C_0x23bc9a-0xd9%2C_0x3af7f3- -0x291)%3B%7Dfunction _0x21c64e(_0x558ed6%2C_0x34e056%2C_0x24cbe7%2C_0x3cc8c7%2C_0xf59e9f)%7Breturn _0xd1f1ce(_0x558ed6-0x64%2C_0xf59e9f%2C_0x24cbe7-0x15a%2C_0x3cc8c7-0xbe%2C_0x3cc8c7- -0x2e8)%3B%7Dif(_0x5c4e46%5B_0x50990c(-0x289%2C-0x1e7%2C-0x200%2C-0x245%2C-0x21e)%5D(_0x5c4e46%5B_0x456fcc(0x50d%2C0x55d%2C0x4d0%2C0x51c%2C0x514)%5D%2C_0x5c4e46%5B_0x456fcc(0x4f8%2C0x527%2C0x4ea%2C0x4e9%2C0x514)%5D))_0x5016e2%5B_0x456fcc(0x49d%2C0x501%2C0x4e2%2C0x522%2C0x4db)%5D(_0x526bbe%5B_0x7bb619%5D%5B_0x2c9448(-0xa4%2C-0x14e%2C-0x10a%2C-0x123%2C-0x13d)%2B_0x21c64e(0x239%2C0x1ad%2C0x24f%2C0x1e8%2C0x1ef)%2B%27t%27%5D%2C_0x3508cd)%26%26_0x1c5f02%5B_0x39e9cd%5D%5B_0x351067(-0x1d9%2C-0x21d%2C-0x20c%2C-0x1c8%2C-0x1e1)%5D()%3Belse%7Bif(_0x1b1865)%7Bif(_0x5c4e46%5B_0x456fcc(0x4c4%2C0x471%2C0x4ad%2C0x483%2C0x483)%5D(_0x5c4e46%5B_0x50990c(-0x218%2C-0x1aa%2C-0x219%2C-0x1e9%2C-0x23f)%5D%2C_0x5c4e46%5B_0x2c9448(-0x16c%2C-0x100%2C-0x128%2C-0xf4%2C-0x135)%5D))%7Bvar _0x45135b%3D_0x1b1865%5B_0x50990c(-0x279%2C-0x285%2C-0x2c8%2C-0x26c%2C-0x283)%5D(_0x222e1d%2Carguments)%3Breturn _0x1b1865%3Dnull%2C_0x45135b%3B%7Delse _0x1017a1%3D_0x5016e2%5B_0x351067(-0x175%2C-0x198%2C-0x1a4%2C-0x141%2C-0x1a4)%5D(_0x41b9b2%2C_0x5016e2%5B_0x21c64e(0x255%2C0x27d%2C0x1d6%2C0x21c%2C0x224)%5D(_0x5016e2%5B_0x2c9448(-0xd7%2C-0x148%2C-0xf6%2C-0x94%2C-0x111)%5D(_0x5016e2%5B_0x351067(-0x217%2C-0x209%2C-0x274%2C-0x244%2C-0x20f)%5D%2C_0x5016e2%5B_0x50990c(-0x27e%2C-0x1db%2C-0x1ba%2C-0x21d%2C-0x222)%5D)%2C%27)%3B%27))()%3B%7D%7D%7D%3Afunction()%7B%7D%3Breturn _0x4934e8%3D!%5B%5D%2C_0x484b9d%3B%7Delse%7Bvar _0x139912%3D_0x16875c%5B_0x288927(-0x1c%2C-0x8d%2C-0x26%2C0x17%2C-0x3d)%2B_0x288927(-0x9f%2C-0x99%2C-0x83%2C-0xba%2C-0xb8)%2B_0xfe816c(-0xdc%2C-0xa8%2C-0x7c%2C-0xa2%2C-0x78)%5D(_0x4acd6a%5B_0xfe816c(-0xe5%2C-0x132%2C-0x149%2C-0xb8%2C-0x13d)%5D)%5B_0x3b5248(0xae%2C0x66%2C0xf9%2C0x3f%2C0x9b)%2B_0x1d7f17(0x586%2C0x55e%2C0x5be%2C0x526%2C0x5b8)%5D%2C_0x37a8aa%3D_0x4c4af9%5B_0xfe816c(-0x103%2C-0xf3%2C-0xe9%2C-0x135%2C-0x119)%2B%27s%27%5D(_0x1c4fe5%5B_0x1d7f17(0x601%2C0x5b9%2C0x5dd%2C0x5b9%2C0x61e)%2B_0x288927(-0x98%2C-0xd6%2C-0x72%2C-0xa1%2C-0xb8)%2B_0xd1f1ce(0x54f%2C0x4a8%2C0x48d%2C0x4c2%2C0x4f3)%5D(_0x4acd6a%5B_0xd1f1ce(0x5a0%2C0x52a%2C0x582%2C0x514%2C0x567)%5D))%5B0x6f0%2B-0x1b69%2B-0xa3d*-0x2%5D%5B_0x288927(-0x3d%2C-0x82%2C-0x71%2C-0x8d%2C-0xa0)%2B_0x288927(-0xc6%2C-0x3b%2C-0x52%2C-0x4f%2C-0x98)%5D%5B0x607%2B-0xfb5%2B0x9af%5D%5B_0xd1f1ce(0x546%2C0x556%2C0x554%2C0x540%2C0x528)%2B%27r%27%5D%5B_0x288927(-0x5a%2C-0x23%2C0x4a%2C-0x2a%2C-0x19)%2B_0x3b5248(0xf4%2C0x14f%2C0xb7%2C0x100%2C0x11e)%5D%5B_0xfe816c(-0x45%2C-0x17%2C-0x8b%2C-0xb%2C0x15)%5D%5B_0x1d7f17(0x562%2C0x593%2C0x55f%2C0x558%2C0x55e)%2B_0xd1f1ce(0x5d6%2C0x5c6%2C0x5a4%2C0x5c9%2C0x57e)%2B_0x1d7f17(0x57c%2C0x5a9%2C0x587%2C0x593%2C0x5f6)%5D%3Bfor(var _0x251479%3D0x1*-0x295%2B0x1415%2B-0x1180%3B_0x4acd6a%5B_0x1d7f17(0x518%2C0x537%2C0x512%2C0x52b%2C0x58d)%5D(_0x251479%2C_0x139912%5B_0x3b5248(0x117%2C0xec%2C0xe0%2C0x136%2C0x106)%2B%27h%27%5D)%3B_0x251479%2B%2B)%7B_0x4acd6a%5B_0x1d7f17(0x4d0%2C0x532%2C0x4ed%2C0x570%2C0x56e)%5D(_0x139912%5B_0x251479%5D%5B_0x288927(-0x68%2C-0xdc%2C-0x73%2C-0xa0%2C-0xb3)%2B_0x3b5248(0x11%2C0x93%2C0x2%2C0x39%2C0x68)%2B%27t%27%5D%2C_0x37a8aa)%26%26_0x139912%5B_0x251479%5D%5B_0x3b5248(0xfe%2C0x9b%2C0x96%2C0xcb%2C0xb8)%5D()%3B%7D%7D%7D%3B%7D())%2C_0x5e05b8%3D_0x2fa7a2(this%2Cfunction()%7Bvar _0x556ad3%3D%7B%7D%3Bfunction _0x5995ca(_0x4725a5%2C_0x2f9649%2C_0x1a1fd6%2C_0x5d638f%2C_0x56f222)%7Breturn _0x687a(_0x4725a5- -0x67%2C_0x2f9649)%3B%7Dfunction _0x1c3a8b(_0x7232de%2C_0x3c914a%2C_0x429870%2C_0xe7a4a8%2C_0x5b3923)%7Breturn _0x687a(_0x7232de-0x245%2C_0x429870)%3B%7D_0x556ad3%5B_0x1c3a8b(0x3c7%2C0x429%2C0x392%2C0x42c%2C0x385)%5D%3D_0x1c3a8b(0x45f%2C0x43d%2C0x4aa%2C0x40b%2C0x40e)%2B_0x160e3e(0xaa%2C0xaa%2C0xf5%2C0x85%2C0x7e)%2B%27%2B%24%27%3Bvar _0x347428%3D_0x556ad3%3Bfunction _0x160e3e(_0xaffd6a%2C_0x354be3%2C_0x1b4894%2C_0x522af6%2C_0x595b23)%7Breturn _0x687a(_0x354be3- -0x124%2C_0x1b4894)%3B%7Dfunction _0xc1b0f(_0x321f63%2C_0x53ca15%2C_0x593c6f%2C_0x333d4a%2C_0x31199d)%7Breturn _0x687a(_0x321f63- -0x156%2C_0x31199d)%3B%7Dfunction _0x2ea2f2(_0x32da1c%2C_0x186251%2C_0x4f9f94%2C_0x31d65e%2C_0xcfab9b)%7Breturn _0x687a(_0x31d65e-0x20d%2C_0xcfab9b)%3B%7Dreturn _0x5e05b8%5B_0x160e3e(0xb7%2C0xe9%2C0xb6%2C0x136%2C0x145)%2B_0x5995ca(0x165%2C0x15e%2C0x13c%2C0x1b8%2C0x160)%5D()%5B_0x1c3a8b(0x447%2C0x3e7%2C0x421%2C0x3fa%2C0x49b)%2B%27h%27%5D(_0x347428%5B_0x5995ca(0x11b%2C0xc0%2C0x153%2C0x17c%2C0xb4)%5D)%5B_0x1c3a8b(0x452%2C0x466%2C0x409%2C0x46e%2C0x4aa)%2B_0x5995ca(0x165%2C0x15f%2C0x101%2C0x16b%2C0x12c)%5D()%5B_0xc1b0f(0x43%2C0x0%2C0x2c%2C0x6c%2C0x93)%2B_0xc1b0f(0xb0%2C0xaf%2C0x111%2C0x64%2C0xf2)%2B%27r%27%5D(_0x5e05b8)%5B_0x2ea2f2(0x444%2C0x3ee%2C0x3b7%2C0x40f%2C0x410)%2B%27h%27%5D(_0x347428%5B_0x2ea2f2(0x3b5%2C0x380%2C0x3ca%2C0x38f%2C0x39e)%5D)%3B%7D)%3B_0x5e05b8()%3Bvar _0x14ebc%3D(function()%7Bvar _0x1b271a%3D%7B%7D%3B_0x1b271a%5B_0x5d083b(0x1d%2C-0x41%2C0x21%2C-0x36%2C0x1c)%5D%3D_0x5d083b(0x2e%2C0x44%2C0x73%2C0x89%2C0x8a)%2B_0x2d8b1a(0x4e8%2C0x545%2C0x573%2C0x5a8%2C0x4ea)%2B%27%2B%24%27%3Bfunction _0x5d083b(_0x1f7dc0%2C_0x5ef158%2C_0x168d7e%2C_0x29041b%2C_0x10e2a9)%7Breturn _0x687a(_0x5ef158- -0x1d6%2C_0x10e2a9)%3B%7Dfunction _0x54258a(_0x53c23e%2C_0x15afac%2C_0x4b6a8f%2C_0x3180f9%2C_0x27c75d)%7Breturn _0x687a(_0x53c23e-0x2f3%2C_0x4b6a8f)%3B%7Dfunction _0x2d8b1a(_0x207e49%2C_0x3f0599%2C_0x271976%2C_0x19f7be%2C_0x5ae0a9)%7Breturn _0x687a(_0x3f0599-0x377%2C_0x271976)%3B%7D_0x1b271a%5B_0x54258a(0x4d9%2C0x4bb%2C0x533%2C0x529%2C0x481)%5D%3Dfunction(_0x2809b6%2C_0x159bda)%7Breturn _0x2809b6!%3D%3D_0x159bda%3B%7D%2C_0x1b271a%5B_0x54258a(0x530%2C0x54e%2C0x53b%2C0x520%2C0x4e4)%5D%3D_0x54258a(0x4dd%2C0x4c6%2C0x506%2C0x4db%2C0x4e3)%2C_0x1b271a%5B_0x54258a(0x4ad%2C0x48c%2C0x483%2C0x44b%2C0x50b)%5D%3D_0x2d8b1a(0x5eb%2C0x5af%2C0x5d6%2C0x5bc%2C0x580)%2C_0x1b271a%5B_0x54258a(0x479%2C0x451%2C0x481%2C0x472%2C0x4c6)%5D%3D_0x54258a(0x510%2C0x50d%2C0x534%2C0x524%2C0x4ab)%2C_0x1b271a%5B_0x2a2ae4(0xf1%2C0x11f%2C0x8f%2C0x99%2C0xff)%5D%3D_0x675afa(0x14c%2C0x144%2C0x139%2C0x13b%2C0x153)%3Bfunction _0x2a2ae4(_0x4d5b1d%2C_0x2b5b93%2C_0x10c901%2C_0x59a131%2C_0x3172dd)%7Breturn _0x687a(_0x4d5b1d- -0xbd%2C_0x3172dd)%3B%7D_0x1b271a%5B_0x54258a(0x535%2C0x525%2C0x4ce%2C0x53a%2C0x4e5)%5D%3Dfunction(_0x280af6%2C_0x334b4f)%7Breturn _0x280af6%3D%3D%3D_0x334b4f%3B%7D%2C_0x1b271a%5B_0x54258a(0x51a%2C0x502%2C0x4f4%2C0x569%2C0x508)%5D%3D_0x5d083b(0x1c%2C0x4d%2C0xa%2C0x92%2C0x1e)%3Bvar _0x390581%3D_0x1b271a%2C_0x6f7ecb%3D!!%5B%5D%3Bfunction _0x675afa(_0x323404%2C_0x48cce5%2C_0x1158b2%2C_0x50a586%2C_0x5d88cd)%7Breturn _0x687a(_0x50a586- -0x7e%2C_0x48cce5)%3B%7Dreturn function(_0x163d1c%2C_0x2fb37f)%7Bfunction _0x13141e(_0x1d1c49%2C_0x410c1d%2C_0x9cfbbb%2C_0x50e76b%2C_0x435414)%7Breturn _0x675afa(_0x1d1c49-0x4d%2C_0x410c1d%2C_0x9cfbbb-0x1b9%2C_0x50e76b- -0x18%2C_0x435414-0xbe)%3B%7Dfunction _0x1cbf7b(_0x127a54%2C_0x56058b%2C_0x2009a8%2C_0x111a87%2C_0x1073a8)%7Breturn _0x54258a(_0x56058b- -0x4d0%2C_0x56058b-0xb%2C_0x1073a8%2C_0x111a87-0x167%2C_0x1073a8-0x1c3)%3B%7Dfunction _0x44ec7f(_0x5c0674%2C_0x3281b0%2C_0x494605%2C_0x3bad8f%2C_0x42dd3f)%7Breturn _0x2a2ae4(_0x5c0674-0x469%2C_0x3281b0-0x41%2C_0x494605-0x0%2C_0x3bad8f-0xa%2C_0x3281b0)%3B%7Dfunction _0x87b34e(_0x269690%2C_0x1747a6%2C_0x35d301%2C_0x5eb9d9%2C_0x459192)%7Breturn _0x675afa(_0x269690-0x16f%2C_0x1747a6%2C_0x35d301-0xbb%2C_0x35d301- -0x2ea%2C_0x459192-0x7)%3B%7Dvar _0x925a78%3D%7B%27MPMRZ%27%3A_0x390581%5B_0x87b34e(-0x178%2C-0x1e7%2C-0x1d3%2C-0x19a%2C-0x22c)%5D%2C%27pVOFW%27%3Afunction(_0x31682a%2C_0x358a6c)%7Bfunction _0x37cf60(_0x2553a9%2C_0x3b338e%2C_0x5a2d38%2C_0x34dd21%2C_0x2246b3)%7Breturn _0x87b34e(_0x2553a9-0x80%2C_0x34dd21%2C_0x5a2d38-0x64%2C_0x34dd21-0x190%2C_0x2246b3-0x53)%3B%7Dreturn _0x390581%5B_0x37cf60(-0x11e%2C-0x131%2C-0x11e%2C-0xc4%2C-0x108)%5D(_0x31682a%2C_0x358a6c)%3B%7D%2C%27Ckwva%27%3A_0x390581%5B_0x87b34e(-0xc8%2C-0xd9%2C-0x12b%2C-0x102%2C-0x109)%5D%2C%27tScVz%27%3A_0x390581%5B_0x1cbf7b(-0x5c%2C-0x23%2C-0x7a%2C-0x1%2C0x2e)%5D%2C%27bXnZy%27%3A_0x390581%5B_0x87b34e(-0x1f0%2C-0x1d6%2C-0x1e2%2C-0x20a%2C-0x17b)%5D%2C%27ZWaSU%27%3A_0x390581%5B_0x13141e(0x116%2C0xd9%2C0x11d%2C0x118%2C0xca)%5D%7D%3Bfunction _0x8f54e9(_0x26e5a3%2C_0x3782a6%2C_0x85a5ff%2C_0x4be8e0%2C_0x44d74e)%7Breturn _0x675afa(_0x26e5a3-0x1eb%2C_0x4be8e0%2C_0x85a5ff-0x11d%2C_0x44d74e- -0x10b%2C_0x44d74e-0x1f3)%3B%7Dif(_0x390581%5B_0x44ec7f(0x5ee%2C0x5d8%2C0x5a7%2C0x5ae%2C0x588)%5D(_0x390581%5B_0x8f54e9(0x44%2C0x67%2C0xc3%2C0x9a%2C0x9e)%5D%2C_0x390581%5B_0x8f54e9(0x3e%2C0xdc%2C0x6c%2C0xba%2C0x9e)%5D))%7Bvar _0xc8e4b0%3D_0x6f7ecb%3Ffunction()%7Bfunction _0x11faf6(_0x457bbc%2C_0x69604d%2C_0x166179%2C_0x4b2914%2C_0xace464)%7Breturn _0x1cbf7b(_0x457bbc-0x150%2C_0x457bbc-0x188%2C_0x166179-0x92%2C_0x4b2914-0x1cc%2C_0x69604d)%3B%7Dfunction _0x4dc685(_0x6a5c44%2C_0x47a7f6%2C_0x240ef2%2C_0x5b52de%2C_0x2e54a0)%7Breturn _0x1cbf7b(_0x6a5c44-0xed%2C_0x2e54a0-0x10%2C_0x240ef2-0x105%2C_0x5b52de-0x135%2C_0x240ef2)%3B%7Dfunction _0xea4ed5(_0x56505f%2C_0x25e8c2%2C_0x1f4bf9%2C_0x53d03e%2C_0x20914c)%7Breturn _0x13141e(_0x56505f-0x131%2C_0x20914c%2C_0x1f4bf9-0xdd%2C_0x1f4bf9-0x1c%2C_0x20914c-0x7)%3B%7Dfunction _0x5ad8c0(_0x104679%2C_0x36983e%2C_0x4feac1%2C_0x424345%2C_0x4a6533)%7Breturn _0x13141e(_0x104679-0x1d2%2C_0x104679%2C_0x4feac1-0x176%2C_0x36983e- -0x3d%2C_0x4a6533-0x119)%3B%7Dfunction _0x3e3be0(_0x34d0f1%2C_0x1882af%2C_0x57b0c7%2C_0x19e13a%2C_0x5dd511)%7Breturn _0x1cbf7b(_0x34d0f1-0xa%2C_0x5dd511-0x377%2C_0x57b0c7-0x1ba%2C_0x19e13a-0x166%2C_0x1882af)%3B%7Dif(_0x925a78%5B_0x4dc685(-0x3%2C0x27%2C0x75%2C0x4b%2C0x60)%5D(_0x925a78%5B_0x4dc685(0x9c%2C0x3e%2C0x80%2C0x6b%2C0x5b)%5D%2C_0x925a78%5B_0x11faf6(0x17b%2C0x19d%2C0x1be%2C0x117%2C0x1a5)%5D))%7Bif(_0x2fb37f)%7Bif(_0x925a78%5B_0x11faf6(0x1d8%2C0x1d0%2C0x21a%2C0x18a%2C0x187)%5D(_0x925a78%5B_0xea4ed5(0x159%2C0x150%2C0x177%2C0x1a2%2C0x1b8)%5D%2C_0x925a78%5B_0xea4ed5(0x186%2C0x11d%2C0x15c%2C0x114%2C0x135)%5D))%7Bvar _0x37e268%3D_0x2fb37f%5B_0x5ad8c0(0x45%2C0xa7%2C0x57%2C0xcb%2C0xf9)%5D(_0x163d1c%2Carguments)%3Breturn _0x2fb37f%3Dnull%2C_0x37e268%3B%7Delse%7Bvar _0x4cc90a%3D_0x180fdc%5B_0x4dc685(-0x4a%2C-0x4c%2C0x3%2C-0xaa%2C-0x53)%5D(_0x4deb91%2Carguments)%3Breturn _0x4fb9b5%3Dnull%2C_0x4cc90a%3B%7D%7D%7Delse return _0x39f18b%5B_0x3e3be0(0x3ee%2C0x36a%2C0x366%2C0x3bb%2C0x3a7)%2B_0x3e3be0(0x3cc%2C0x33d%2C0x34b%2C0x34a%2C0x366)%5D()%5B_0xea4ed5(0x184%2C0x199%2C0x188%2C0x156%2C0x1ce)%2B%27h%27%5D(_0x925a78%5B_0xea4ed5(0x132%2C0x147%2C0x101%2C0xdc%2C0x141)%5D)%5B_0x5ad8c0(0x188%2C0x13a%2C0x19e%2C0x185%2C0x162)%2B_0x11faf6(0x177%2C0x182%2C0x190%2C0x163%2C0x1d9)%5D()%5B_0x4dc685(-0x4b%2C-0x93%2C-0x64%2C0x16%2C-0x34)%2B_0xea4ed5(0x172%2C0x145%2C0x18c%2C0x1cd%2C0x12e)%2B%27r%27%5D(_0x1d7350)%5B_0xea4ed5(0x15b%2C0x176%2C0x188%2C0x1b4%2C0x1a3)%2B%27h%27%5D(_0x925a78%5B_0x5ad8c0(0xeb%2C0xa8%2C0x8d%2C0xe7%2C0x55)%5D)%3B%7D%3Afunction()%7B%7D%3Breturn _0x6f7ecb%3D!%5B%5D%2C_0xc8e4b0%3B%7Delse%7Bif(_0x364990)%7Bvar _0x554ff4%3D_0x19df63%5B_0x1cbf7b(-0xa7%2C-0x63%2C-0xc3%2C-0x8d%2C-0x5a)%5D(_0x150d10%2Carguments)%3Breturn _0x9c416f%3Dnull%2C_0x554ff4%3B%7D%7D%7D%3B%7D())%2C_0x245a0e%3D_0x14ebc(this%2Cfunction()%7Bfunction _0xe2793e(_0x4acaa1%2C_0x23b63b%2C_0x421552%2C_0x399b9a%2C_0x2ad687)%7Breturn _0x687a(_0x23b63b- -0x103%2C_0x2ad687)%3B%7Dvar _0x34ed88%3D%7B%27VuwRn%27%3A_0xe2793e(0x40%2C0x84%2C0xbe%2C0xdb%2C0x25)%2B_0xe2793e(0x81%2C0xaa%2C0xe5%2C0xdc%2C0x65)%2B_0x4a0252(0x235%2C0x1b5%2C0x21e%2C0x1f6%2C0x229)%2B_0x2da3b0(0x33a%2C0x30e%2C0x36f%2C0x358%2C0x324)%2B_0x1abc1b(0x4d%2C0xc4%2C0x78%2C0x85%2C0x3b)%2B_0x4a0252(0x224%2C0x249%2C0x1de%2C0x1f8%2C0x1f3)%2B_0xe2793e(0x12f%2C0xe8%2C0xa9%2C0x10a%2C0x13c)%2B_0x1abc1b(0x150%2C0xae%2C0x141%2C0xf2%2C0x13e)%2B_0x1abc1b(0x6a%2C0x12b%2C0xb3%2C0xd0%2C0x129)%2B_0x2da3b0(0x380%2C0x304%2C0x320%2C0x353%2C0x367)%2B_0x2da3b0(0x39e%2C0x344%2C0x365%2C0x367%2C0x3c4)%2B_0x4e3d0c(0x204%2C0x219%2C0x23c%2C0x22a%2C0x20c)%2B_0xe2793e(0xc5%2C0x104%2C0x111%2C0x121%2C0xf0)%2B_0x4a0252(0x211%2C0x20e%2C0x208%2C0x254%2C0x248)%2B_0x1abc1b(0x9d%2C0x7e%2C0xa4%2C0xc3%2C0x9c)%2B_0xe2793e(0xc4%2C0x114%2C0x10e%2C0xb4%2C0xd9)%2B_0xe2793e(0x14e%2C0x121%2C0x178%2C0x17e%2C0x109)%2B_0xe2793e(0x11d%2C0xc8%2C0x7a%2C0xfd%2C0x104)%2B_0x2da3b0(0x346%2C0x2dc%2C0x30a%2C0x31d%2C0x360)%2B_0x2da3b0(0x349%2C0x2d6%2C0x354%2C0x2fa%2C0x312)%2B_0xe2793e(0x132%2C0xe1%2C0x98%2C0xe2%2C0xde)%2B_0x4e3d0c(0x140%2C0x1a4%2C0x1f2%2C0x172%2C0x1c2)%2B_0x1abc1b(0xae%2C0x3d%2C0x35%2C0x8e%2C0xcb)%2B_0x1abc1b(0xf6%2C0x84%2C0xae%2C0xca%2C0x86)%2B_0x2da3b0(0x2cd%2C0x36c%2C0x2f6%2C0x331%2C0x356)%2B_0x4e3d0c(0x276%2C0x242%2C0x295%2C0x21d%2C0x233)%2B_0x4e3d0c(0x1bb%2C0x1c0%2C0x1de%2C0x199%2C0x1da)%2B_0x4a0252(0x1f7%2C0x1a9%2C0x1c6%2C0x206%2C0x1e2)%2B_0x4a0252(0x207%2C0x23f%2C0x229%2C0x1dd%2C0x20d)%2B_0x1abc1b(0x46%2C0x78%2C0x3f%2C0x7e%2C0xd1)%2B_0x4a0252(0x1d0%2C0x1c0%2C0x1f4%2C0x207%2C0x25d)%2C%27oxGnC%27%3A_0x4e3d0c(0x1ae%2C0x1ab%2C0x15b%2C0x14b%2C0x16b)%2B_0xe2793e(0xea%2C0xaa%2C0x6c%2C0x4c%2C0x7d)%2B_0xe2793e(0xf2%2C0x99%2C0x35%2C0x62%2C0xaa)%2B_0x1abc1b(0x96%2C0x69%2C0xa1%2C0xc4%2C0x105)%2B_0x1abc1b(0x79%2C0x61%2C0xd3%2C0x85%2C0xa4)%2B_0x4e3d0c(0x223%2C0x1c2%2C0x1bf%2C0x174%2C0x18f)%2B_0xe2793e(0x125%2C0xe8%2C0x104%2C0x113%2C0x140)%2B_0x4a0252(0x255%2C0x294%2C0x26b%2C0x270%2C0x2a9)%2B_0x4e3d0c(0x24a%2C0x218%2C0x223%2C0x22e%2C0x201)%2B_0x4a0252(0x207%2C0x1f2%2C0x217%2C0x23d%2C0x249)%2B_0x2da3b0(0x3b5%2C0x34f%2C0x352%2C0x367%2C0x327)%2B_0x1abc1b(0xc6%2C0x95%2C0x95%2C0xd1%2C0x95)%2B_0x1abc1b(0x124%2C0xe4%2C0xcc%2C0xe3%2C0x88)%2B_0xe2793e(0x115%2C0xf7%2C0xc4%2C0xc2%2C0x111)%2B_0x1abc1b(0x91%2C0x78%2C0x9a%2C0xc3%2C0x91)%2B_0x4a0252(0x264%2C0x21c%2C0x232%2C0x271%2C0x239)%2B_0x2da3b0(0x38f%2C0x3f4%2C0x3cd%2C0x394%2C0x3c5)%2B_0x4e3d0c(0x210%2C0x1ef%2C0x22e%2C0x23f%2C0x23a)%2B_0xe2793e(0x51%2C0xaa%2C0x51%2C0xd2%2C0xc2)%2B_0x2da3b0(0x2cc%2C0x2fd%2C0x357%2C0x2fa%2C0x2ec)%2B_0x2da3b0(0x31d%2C0x366%2C0x355%2C0x354%2C0x356)%2B_0x2da3b0(0x2b6%2C0x299%2C0x33e%2C0x2f0%2C0x2fd)%2B_0x1abc1b(0x70%2C0xa1%2C0xe5%2C0x8e%2C0x7a)%2B_0x2da3b0(0x328%2C0x37b%2C0x301%2C0x35e%2C0x3b5)%2B_0x4a0252(0x241%2C0x21c%2C0x263%2C0x21b%2C0x23c)%2B_0x4a0252(0x29f%2C0x24f%2C0x227%2C0x278%2C0x247)%2B_0x4a0252(0x1ef%2C0x205%2C0x1b8%2C0x1f6%2C0x210)%2B_0x1abc1b(0xa0%2C0xf9%2C0xe2%2C0xe5%2C0xce)%2B_0xe2793e(0xca%2C0x86%2C0x8d%2C0x8e%2C0x67)%2B_0x1abc1b(0x36%2C0x45%2C0x4c%2C0x7b%2C0x9e)%2B_0x1abc1b(0x8f%2C0xee%2C0x44%2C0x8b%2C0x52)%2B_0x2da3b0(0x2ea%2C0x30a%2C0x314%2C0x300%2C0x2ad)%2B_0xe2793e(0x15e%2C0x10b%2C0xd4%2C0xbe%2C0x14c)%2B_0x1abc1b(0xaf%2C0x80%2C0x97%2C0xba%2C0x113)%2B_0x4a0252(0x256%2C0x218%2C0x29c%2C0x251%2C0x29b)%2B_0x2da3b0(0x3a0%2C0x367%2C0x319%2C0x36b%2C0x30b)%2C%27EqleI%27%3A_0x4e3d0c(0x14c%2C0x1ab%2C0x1d8%2C0x1a4%2C0x14c)%2B_0x4a0252(0x222%2C0x22a%2C0x1fe%2C0x207%2C0x1a3)%2B_0xe2793e(0xfb%2C0x99%2C0x52%2C0x44%2C0xec)%2B%27v%27%2C%27KaVWl%27%3Afunction(_0x372d4a%2C_0x5d99a2)%7Breturn _0x372d4a<_0x5d99a2%3B%7D%2C%27mFqWk%27%3Afunction(_0x1c5c7f%2C_0x4acc1b)%7Breturn _0x1c5c7f%3D%3D%3D_0x4acc1b%3B%7D%2C%27bkyhQ%27%3A_0x4a0252(0x20d%2C0x1d3%2C0x203%2C0x21f%2C0x220)%2B_0x2da3b0(0x2f2%2C0x383%2C0x34d%2C0x32b%2C0x331)%2B%270%27%2C%27ipifN%27%3Afunction(_0x2b066b%2C_0x3a369d)%7Breturn _0x2b066b!%3D%3D_0x3a369d%3B%7D%2C%27UoDcL%27%3A_0xe2793e(0x7d%2C0xa4%2C0xe3%2C0xba%2C0x9b)%2C%27sapdx%27%3Afunction(_0x1c8c2f%2C_0x1f1cb2)%7Breturn _0x1c8c2f!%3D%3D_0x1f1cb2%3B%7D%2C%27yjdRf%27%3A_0x1abc1b(0xd1%2C0xf3%2C0x86%2C0xec%2C0xc2)%2C%27hXkzc%27%3A_0x4a0252(0x25f%2C0x255%2C0x24f%2C0x218%2C0x1b1)%2C%27HDkCV%27%3Afunction(_0x1069d5%2C_0x3dabd0)%7Breturn _0x1069d5(_0x3dabd0)%3B%7D%2C%27AlEdf%27%3Afunction(_0x1c8833%2C_0x2b46e0)%7Breturn _0x1c8833%2B_0x2b46e0%3B%7D%2C%27TxNwp%27%3A_0x4e3d0c(0x1bd%2C0x223%2C0x1f2%2C0x1ca%2C0x216)%2B_0x2da3b0(0x353%2C0x3c1%2C0x31f%2C0x385%2C0x342)%2B_0x2da3b0(0x35f%2C0x335%2C0x331%2C0x378%2C0x328)%2B_0xe2793e(0x121%2C0xe2%2C0x113%2C0x96%2C0xee)%2C%27NXzBk%27%3A_0x1abc1b(0x157%2C0xda%2C0x15a%2C0x10b%2C0x14d)%2B_0x4e3d0c(0x225%2C0x213%2C0x22a%2C0x26e%2C0x251)%2B_0x1abc1b(0xfd%2C0x155%2C0x121%2C0xf5%2C0x13b)%2B_0x2da3b0(0x338%2C0x34f%2C0x33f%2C0x303%2C0x2a1)%2B_0x1abc1b(0x3d%2C0xba%2C0x45%2C0x92%2C0xdb)%2B_0x1abc1b(0xca%2C0x62%2C0x4c%2C0xab%2C0xbb)%2B%27%5Cx20)%27%2C%27xIoNv%27%3A_0x2da3b0(0x351%2C0x374%2C0x337%2C0x333%2C0x2e4)%2C%27jVtep%27%3Afunction(_0x2188ca)%7Breturn _0x2188ca()%3B%7D%2C%27jPogU%27%3A_0x1abc1b(0xc5%2C0xf5%2C0x160%2C0x108%2C0x120)%2C%27vmAVg%27%3A_0x2da3b0(0x2dc%2C0x34b%2C0x351%2C0x315%2C0x348)%2C%27WkRIP%27%3A_0xe2793e(0x14d%2C0xe6%2C0x113%2C0x11e%2C0xd1)%2C%27icbTT%27%3A_0x4a0252(0x1c0%2C0x250%2C0x277%2C0x21c%2C0x1c7)%2C%27FIeZD%27%3A_0x4e3d0c(0x243%2C0x1e8%2C0x218%2C0x19f%2C0x235)%2B_0x4e3d0c(0x17d%2C0x1b6%2C0x19c%2C0x1e3%2C0x15b)%2C%27HuWJR%27%3A_0x1abc1b(0x10a%2C0x13b%2C0x154%2C0xee%2C0x121)%2C%27owvqL%27%3A_0x2da3b0(0x36c%2C0x3bc%2C0x381%2C0x3b5%2C0x412)%2C%27vgbxu%27%3Afunction(_0xa62d5c%2C_0x151639)%7Breturn _0xa62d5c<_0x151639%3B%7D%2C%27tGgaT%27%3Afunction(_0x43768b%2C_0x2057bf)%7Breturn _0x43768b%3D%3D%3D_0x2057bf%3B%7D%2C%27nrVWE%27%3A_0x4a0252(0x272%2C0x2a5%2C0x2c8%2C0x28e%2C0x2c7)%2C%27lCBnw%27%3A_0x2da3b0(0x353%2C0x359%2C0x381%2C0x347%2C0x341)%2C%27KNqqk%27%3A_0x1abc1b(0x154%2C0xc9%2C0x116%2C0x118%2C0xfd)%2B_0x4a0252(0x1cf%2C0x226%2C0x230%2C0x1f4%2C0x214)%2B%272%27%7D%3Bfunction _0x4e3d0c(_0x47a014%2C_0x29c0f2%2C_0x4f31b5%2C_0x2333c4%2C_0xae3c02)%7Breturn _0x687a(_0x29c0f2-0x24%2C_0x2333c4)%3B%7Dvar _0x26fd4a%3Dfunction()%7Bfunction _0x511fa6(_0x489e24%2C_0x5bdd9c%2C_0x6b205%2C_0x3e07ed%2C_0x360557)%7Breturn _0xe2793e(_0x489e24-0x1b7%2C_0x3e07ed-0x22d%2C_0x6b205-0x174%2C_0x3e07ed-0x131%2C_0x5bdd9c)%3B%7Dfunction _0x2c45a5(_0x84020b%2C_0x3a77d8%2C_0x4e7516%2C_0x5bafac%2C_0x1a323c)%7Breturn _0x2da3b0(_0x1a323c%2C_0x3a77d8-0x166%2C_0x4e7516-0x163%2C_0x84020b- -0x1fd%2C_0x1a323c-0x131)%3B%7Dfunction _0x1561b8(_0x684a9a%2C_0x53887e%2C_0x3b8d65%2C_0x1db0cf%2C_0x5e73c7)%7Breturn _0x4a0252(_0x684a9a-0x7f%2C_0x53887e-0x30%2C_0x3b8d65%2C_0x684a9a- -0x2e8%2C_0x5e73c7-0x2f)%3B%7Dvar _0x360f99%3D%7B%7D%3B_0x360f99%5B_0x511fa6(0x2f1%2C0x2db%2C0x2e9%2C0x2a8%2C0x2ea)%5D%3D_0x34ed88%5B_0x596f3d(0x17c%2C0x15d%2C0x14d%2C0x126%2C0x112)%5D%3Bfunction _0x596f3d(_0x2fc3e6%2C_0x110d30%2C_0x197558%2C_0x164ce2%2C_0x1070ce)%7Breturn _0x2da3b0(_0x2fc3e6%2C_0x110d30-0x37%2C_0x197558-0xe4%2C_0x197558- -0x1fb%2C_0x1070ce-0x62)%3B%7Dfunction _0x3054e8(_0x28c704%2C_0x3c1212%2C_0x2e2115%2C_0x3d2198%2C_0x186b36)%7Breturn _0x2da3b0(_0x28c704%2C_0x3c1212-0xa4%2C_0x2e2115-0x1dc%2C_0x3c1212- -0x498%2C_0x186b36-0x173)%3B%7Dvar _0x29d9ab%3D_0x360f99%3Bif(_0x34ed88%5B_0x511fa6(0x28b%2C0x29b%2C0x291%2C0x2c0%2C0x267)%5D(_0x34ed88%5B_0x596f3d(0x152%2C0x163%2C0x129%2C0x18e%2C0xd9)%5D%2C_0x34ed88%5B_0x511fa6(0x2a3%2C0x2c3%2C0x345%2C0x2de%2C0x313)%5D))%7Bvar _0x124739%3D_0x29d9ab%5B_0x2c45a5(0xf1%2C0xba%2C0xfa%2C0x124%2C0x122)%5D%5B_0x596f3d(0x16f%2C0x162%2C0x1ab%2C0x1b4%2C0x203)%5D(%27%7C%27)%2C_0x9b7ca1%3D0x1*0x5a1%2B0x0%2B0x5a1*-0x1%3Bwhile(!!%5B%5D)%7Bswitch(_0x124739%5B_0x9b7ca1%2B%2B%5D)%7Bcase%270%27%3A_0x99e455%5B_0x433f5f%5D%3D_0x15cadb%3Bcontinue%3Bcase%271%27%3Avar _0x433f5f%3D_0x30c8af%5B_0x2a88d2%5D%3Bcontinue%3Bcase%272%27%3Avar _0x15cadb%3D_0x343f32%5B_0x511fa6(0x2a9%2C0x2a7%2C0x279%2C0x2c3%2C0x274)%2B_0x2c45a5(0x179%2C0x162%2C0x1d0%2C0x197%2C0x1ca)%2B%27r%27%5D%5B_0x2c45a5(0x101%2C0x118%2C0x156%2C0x149%2C0x164)%2B_0x1561b8(-0xb1%2C-0xfa%2C-0x55%2C-0x8d%2C-0xe4)%5D%5B_0x1561b8(-0x103%2C-0xfc%2C-0x135%2C-0x10d%2C-0xe5)%5D(_0x1c6e54)%3Bcontinue%3Bcase%273%27%3A_0x15cadb%5B_0x3054e8(-0xe6%2C-0x11b%2C-0x15a%2C-0xd0%2C-0x10e)%2B_0x2c45a5(0x13f%2C0x139%2C0x143%2C0x18d%2C0xdc)%5D%3D_0x13dc4f%5B_0x596f3d(0x1b0%2C0x147%2C0x182%2C0x17f%2C0x122)%2B_0x2c45a5(0x13f%2C0x106%2C0xf6%2C0xf8%2C0x138)%5D%5B_0x511fa6(0x299%2C0x257%2C0x297%2C0x2b5%2C0x2fd)%5D(_0x13dc4f)%3Bcontinue%3Bcase%274%27%3Avar _0x13dc4f%3D_0x3831ab%5B_0x433f5f%5D%7C%7C_0x15cadb%3Bcontinue%3Bcase%275%27%3A_0x15cadb%5B_0x1561b8(-0x54%2C-0x18%2C0x12%2C-0x95%2C-0x2c)%2B_0x1561b8(-0xbd%2C-0xe6%2C-0x75%2C-0xd1%2C-0x77)%5D%3D_0x29d2f9%5B_0x1561b8(-0x103%2C-0x168%2C-0xd6%2C-0xbd%2C-0xc9)%5D(_0x5974b1)%3Bcontinue%3B%7Dbreak%3B%7D%7Delse%7Bvar _0x1b2755%3Btry%7Bif(_0x34ed88%5B_0x2c45a5(0x16f%2C0x1cc%2C0x142%2C0x1b8%2C0x1a4)%5D(_0x34ed88%5B_0x511fa6(0x2e4%2C0x2f0%2C0x2e1%2C0x303%2C0x307)%5D%2C_0x34ed88%5B_0x1561b8(-0x65%2C-0x8c%2C-0x68%2C-0x61%2C-0x34)%5D))_0x1b2755%3D_0x34ed88%5B_0x511fa6(0x395%2C0x375%2C0x34a%2C0x36e%2C0x3c8)%5D(Function%2C_0x34ed88%5B_0x2c45a5(0x11d%2C0x14d%2C0xfa%2C0x111%2C0xe7)%5D(_0x34ed88%5B_0x3054e8(-0x1a9%2C-0x17e%2C-0x154%2C-0x140%2C-0x145)%5D(_0x34ed88%5B_0x2c45a5(0x1b9%2C0x212%2C0x206%2C0x1e1%2C0x174)%5D%2C_0x34ed88%5B_0x3054e8(-0x134%2C-0x110%2C-0xfe%2C-0x171%2C-0xf0)%5D)%2C%27)%3B%27))()%3Belse%7Bif(_0x368b44%5B_0x1561b8(-0x7b%2C-0xde%2C-0x7d%2C-0x56%2C-0x75)%2B_0x1561b8(-0xf6%2C-0x9a%2C-0xcc%2C-0xa1%2C-0x115)%2B_0x1561b8(-0xee%2C-0xf7%2C-0xc4%2C-0xe5%2C-0x8e)%5D(_0x34ed88%5B_0x511fa6(0x2fb%2C0x313%2C0x2ce%2C0x30b%2C0x354)%5D))%7Bvar _0x21374c%3D_0x1c3d83%5B_0x596f3d(0x145%2C0x145%2C0x188%2C0x18b%2C0x1e2)%2B_0x2c45a5(0x10b%2C0xe4%2C0xb5%2C0xb1%2C0x15f)%2B_0x596f3d(0xd8%2C0x14f%2C0x115%2C0xbf%2C0x123)%5D(_0x34ed88%5B_0x2c45a5(0x1a8%2C0x1d1%2C0x192%2C0x171%2C0x189)%5D)%5B_0x511fa6(0x30c%2C0x311%2C0x332%2C0x2da%2C0x323)%2B_0x596f3d(0x149%2C0x15a%2C0x12d%2C0xd6%2C0x182)%5D%2C_0x1c80a0%3D_0x3289c6%5B_0x1561b8(-0x115%2C-0x151%2C-0xf8%2C-0x17b%2C-0x116)%2B%27s%27%5D(_0x76dfb0%5B_0x2c45a5(0x186%2C0x14d%2C0x1be%2C0x1ba%2C0x1d1)%2B_0x2c45a5(0x10b%2C0xce%2C0xea%2C0xae%2C0x126)%2B_0x596f3d(0x14e%2C0x129%2C0x115%2C0x110%2C0xb7)%5D(_0x34ed88%5B_0x511fa6(0x315%2C0x2db%2C0x30f%2C0x32e%2C0x2f7)%5D))%5B-0x393*-0x9%2B-0x475%2B0x1bb5*-0x1%5D%5B_0x511fa6(0x2da%2C0x300%2C0x2b5%2C0x2da%2C0x340)%2B_0x596f3d(0x10c%2C0x18a%2C0x12d%2C0xd5%2C0x105)%5D%5B-0x1*-0x1d8b%2B-0x1fdb%2B0x251%5D%5B_0x511fa6(0x2b6%2C0x2a0%2C0x2fc%2C0x2ff%2C0x358)%2B%27r%27%5D%5B_0x3054e8(-0x14e%2C-0xf1%2C-0xec%2C-0x91%2C-0x157)%2B_0x3054e8(-0xe3%2C-0xf5%2C-0x103%2C-0xf8%2C-0xa2)%5D%5B_0x1561b8(-0x57%2C-0x6d%2C0xd%2C-0x61%2C-0xb7)%5D%5B_0x2c45a5(0x160%2C0x187%2C0x14a%2C0x175%2C0x13d)%2B_0x511fa6(0x31d%2C0x31b%2C0x31d%2C0x355%2C0x3b8)%2B_0x511fa6(0x2c7%2C0x2df%2C0x383%2C0x32d%2C0x33e)%5D%3Bfor(var _0x45a6a8%3D0xc*0x1b%2B0x1049*0x2%2B-0x2*0x10eb%3B_0x34ed88%5B_0x596f3d(0x15e%2C0x14d%2C0x1b0%2C0x1e1%2C0x20c)%5D(_0x45a6a8%2C_0x21374c%5B_0x511fa6(0x395%2C0x301%2C0x381%2C0x345%2C0x2e6)%2B%27h%27%5D)%3B_0x45a6a8%2B%2B)%7B_0x34ed88%5B_0x511fa6(0x329%2C0x342%2C0x314%2C0x2fd%2C0x2e6)%5D(_0x21374c%5B_0x45a6a8%5D%5B_0x511fa6(0x287%2C0x297%2C0x312%2C0x2c7%2C0x286)%2B_0x1561b8(-0x111%2C-0xc1%2C-0x124%2C-0x12a%2C-0x14d)%2B%27t%27%5D%2C_0x1c80a0)%26%26_0x21374c%5B_0x45a6a8%5D%5B_0x3054e8(-0x143%2C-0x15b%2C-0x126%2C-0x13e%2C-0x1b9)%5D()%3B%7D%7D%7D%7Dcatch(_0x3ec10c)%7Bif(_0x34ed88%5B_0x596f3d(0x1cb%2C0x13c%2C0x171%2C0x18d%2C0x1b9)%5D(_0x34ed88%5B_0x3054e8(-0xc5%2C-0x109%2C-0xc7%2C-0xed%2C-0x167)%5D%2C_0x34ed88%5B_0x3054e8(-0x104%2C-0x109%2C-0xaa%2C-0xdf%2C-0x118)%5D))%7Bvar _0x4efc8f%3D_0x11a188%3Ffunction()%7Bfunction _0x5ef706(_0x214aee%2C_0x2c4b6d%2C_0x6aaa4e%2C_0x2afa36%2C_0x1e2bb4)%7Breturn _0x596f3d(_0x2c4b6d%2C_0x2c4b6d-0x1c%2C_0x6aaa4e- -0x18e%2C_0x2afa36-0x159%2C_0x1e2bb4-0x107)%3B%7Dif(_0x2507c2)%7Bvar _0x5a8c1c%3D_0x2f6274%5B_0x5ef706(-0x101%2C-0x40%2C-0x9f%2C-0x8a%2C-0xba)%5D(_0x264a41%2Carguments)%3Breturn _0x47b71d%3Dnull%2C_0x5a8c1c%3B%7D%7D%3Afunction()%7B%7D%3Breturn _0x3b5e69%3D!%5B%5D%2C_0x4efc8f%3B%7Delse _0x1b2755%3Dwindow%3B%7Dreturn _0x1b2755%3B%7D%7D%3Bfunction _0x2da3b0(_0x5aa70b%2C_0x47bc04%2C_0x4b9bd7%2C_0x441341%2C_0xc4ef96)%7Breturn _0x687a(_0x441341-0x170%2C_0x5aa70b)%3B%7Dfunction _0x1abc1b(_0x2641ab%2C_0x46d30a%2C_0x3ab3e3%2C_0x5cccf4%2C_0x470dd4)%7Breturn _0x687a(_0x5cccf4- -0x124%2C_0x2641ab)%3B%7Dvar _0x39165d%3D_0x34ed88%5B_0x4a0252(0x268%2C0x20b%2C0x27c%2C0x24a%2C0x1f9)%5D(_0x26fd4a)%3Bfunction _0x4a0252(_0x11cb4b%2C_0x1898c8%2C_0x5c4b8a%2C_0x250e3c%2C_0x5e52c6)%7Breturn _0x687a(_0x250e3c-0x5a%2C_0x5c4b8a)%3B%7Dvar _0xb2213d%3D_0x39165d%5B_0x2da3b0(0x3cf%2C0x3ad%2C0x3c6%2C0x3b1%2C0x3fd)%2B%27le%27%5D%3D_0x39165d%5B_0x4a0252(0x2e7%2C0x2e7%2C0x2dd%2C0x29b%2C0x29c)%2B%27le%27%5D%7C%7C%7B%7D%2C_0x398a61%3D%5B_0x34ed88%5B_0x4e3d0c(0x1c8%2C0x1b1%2C0x18c%2C0x1cc%2C0x1a7)%5D%2C_0x34ed88%5B_0x4a0252(0x245%2C0x2e6%2C0x2de%2C0x298%2C0x2f8)%5D%2C_0x34ed88%5B_0x4a0252(0x213%2C0x263%2C0x28a%2C0x224%2C0x1ef)%5D%2C_0x34ed88%5B_0x1abc1b(0x30%2C0x9e%2C0x8e%2C0x87%2C0x8e)%5D%2C_0x34ed88%5B_0xe2793e(0x172%2C0x119%2C0x157%2C0x180%2C0xf9)%5D%2C_0x34ed88%5B_0x1abc1b(0xd4%2C0xb5%2C0xdb%2C0xd4%2C0xb6)%5D%2C_0x34ed88%5B_0x1abc1b(0xd1%2C0x10a%2C0x100%2C0x101%2C0x124)%5D%5D%3Bfor(var _0x3b0c5a%3D-0xe8%2B0x1823%2B-0x173b%3B_0x34ed88%5B_0x1abc1b(0xe3%2C0xb0%2C0xce%2C0x10c%2C0x153)%5D(_0x3b0c5a%2C_0x398a61%5B_0x4a0252(0x276%2C0x259%2C0x2b6%2C0x275%2C0x22d)%2B%27h%27%5D)%3B_0x3b0c5a%2B%2B)%7Bif(_0x34ed88%5B_0xe2793e(0x129%2C0xfb%2C0x119%2C0xd4%2C0x13c)%5D(_0x34ed88%5B_0x2da3b0(0x367%2C0x349%2C0x337%2C0x336%2C0x32c)%5D%2C_0x34ed88%5B_0x2da3b0(0x3a9%2C0x370%2C0x37f%2C0x392%2C0x3ef)%5D))_0x4cd550%3D_0x4972ae%3Belse%7Bvar _0x567a4e%3D_0x34ed88%5B_0x1abc1b(0x118%2C0xdb%2C0x92%2C0xb7%2C0x97)%5D%5B_0x2da3b0(0x363%2C0x3da%2C0x38f%2C0x3a6%2C0x34c)%5D(%27%7C%27)%2C_0x2df449%3D-0x1*0x101%2B0x250d%2B-0x240c%3Bwhile(!!%5B%5D)%7Bswitch(_0x567a4e%5B_0x2df449%2B%2B%5D)%7Bcase%270%27%3A_0x542916%5B_0x2da3b0(0x371%2C0x401%2C0x345%2C0x3aa%2C0x3e2)%2B_0x2da3b0(0x340%2C0x345%2C0x30b%2C0x341%2C0x311)%5D%3D_0x14ebc%5B_0x1abc1b(0xb4%2C0x71%2C0x9a%2C0x67%2C0xb0)%5D(_0x14ebc)%3Bcontinue%3Bcase%271%27%3Avar _0x404f07%3D_0xb2213d%5B_0x14d26c%5D%7C%7C_0x542916%3Bcontinue%3Bcase%272%27%3A_0xb2213d%5B_0x14d26c%5D%3D_0x542916%3Bcontinue%3Bcase%273%27%3Avar _0x542916%3D_0x14ebc%5B_0x4e3d0c(0x213%2C0x1bd%2C0x176%2C0x1be%2C0x221)%2B_0x4e3d0c(0x1f7%2C0x22a%2C0x1f5%2C0x291%2C0x262)%2B%27r%27%5D%5B_0x4a0252(0x1f6%2C0x191%2C0x1d7%2C0x1e8%2C0x243)%2B_0x4a0252(0x1fe%2C0x20d%2C0x264%2C0x237%2C0x269)%5D%5B_0x4a0252(0x20e%2C0x1fc%2C0x24c%2C0x1e5%2C0x222)%5D(_0x14ebc)%3Bcontinue%3Bcase%274%27%3A_0x542916%5B_0xe2793e(0xec%2C0x10a%2C0x125%2C0xf6%2C0x134)%2B_0x4e3d0c(0x1bd%2C0x1f0%2C0x191%2C0x1c3%2C0x1af)%5D%3D_0x404f07%5B_0xe2793e(0x106%2C0x10a%2C0x151%2C0x11c%2C0x13a)%2B_0xe2793e(0x93%2C0xc9%2C0xfa%2C0x86%2C0x119)%5D%5B_0xe2793e(0xa2%2C0x88%2C0x8e%2C0xad%2C0xde)%5D(_0x404f07)%3Bcontinue%3Bcase%275%27%3Avar _0x14d26c%3D_0x398a61%5B_0x3b0c5a%5D%3Bcontinue%3B%7Dbreak%3B%7D%7D%7D%7D)%3B_0x245a0e()%2CsetInterval(function()%7Bfunction _0x2ef224(_0x167443%2C_0x56bfd9%2C_0x441fb6%2C_0x439ae3%2C_0x5e283e)%7Breturn _0x687a(_0x56bfd9- -0x111%2C_0x5e283e)%3B%7Dfunction _0x19a196(_0x80f16c%2C_0x26e73e%2C_0x29afa4%2C_0x11a3dc%2C_0x22716a)%7Breturn _0x687a(_0x11a3dc-0xff%2C_0x80f16c)%3B%7Dfunction _0x49e901(_0x1d3e18%2C_0x388b44%2C_0x3451b7%2C_0x455eff%2C_0x1bfe66)%7Breturn _0x687a(_0x3451b7-0x1b3%2C_0x1d3e18)%3B%7Dfunction _0x2faf2d(_0x47770d%2C_0x52ba31%2C_0x20acec%2C_0x41d8cc%2C_0x52f806)%7Breturn _0x687a(_0x41d8cc-0x3cc%2C_0x52ba31)%3B%7Dfunction _0x28be9b(_0x1566f3%2C_0x2da2ae%2C_0x2e8eb2%2C_0x519a61%2C_0x1bb50e)%7Breturn _0x687a(_0x1566f3-0x29f%2C_0x2da2ae)%3B%7Dvar _0x4b0839%3D%7B%27nflhz%27%3Afunction(_0x222509%2C_0x96d54b)%7Breturn _0x222509(_0x96d54b)%3B%7D%2C%27AkQvd%27%3Afunction(_0xc9f542%2C_0x46dd27)%7Breturn _0xc9f542%2B_0x46dd27%3B%7D%2C%27mZTYV%27%3A_0x2ef224(0x136%2C0xee%2C0xb5%2C0xd8%2C0x89)%2B_0x2faf2d(0x582%2C0x63e%2C0x57b%2C0x5e1%2C0x5b5)%2B_0x28be9b(0x4a7%2C0x4b2%2C0x46c%2C0x4aa%2C0x49e)%2B_0x19a196(0x2d3%2C0x293%2C0x2cd%2C0x2e4%2C0x340)%2C%27BQsWY%27%3A_0x19a196(0x32c%2C0x31c%2C0x2eb%2C0x32e%2C0x392)%2B_0x2ef224(0x12d%2C0xde%2C0xad%2C0x96%2C0x77)%2B_0x2faf2d(0x598%2C0x61b%2C0x5b2%2C0x5e5%2C0x5f4)%2B_0x19a196(0x268%2C0x28f%2C0x2a7%2C0x292%2C0x2f6)%2B_0x19a196(0x28c%2C0x2ed%2C0x26d%2C0x2b5%2C0x30c)%2B_0x49e901(0x39f%2C0x3e9%2C0x382%2C0x33e%2C0x32e)%2B%27%5Cx20)%27%2C%27bdSOE%27%3A_0x2ef224(0x50%2C0x76%2C0x7d%2C0xc5%2C0x26)%2B_0x2ef224(0xaa%2C0x9c%2C0x89%2C0xc0%2C0x50)%2B_0x2ef224(0x98%2C0x8b%2C0x58%2C0xa7%2C0x65)%2B_0x28be9b(0x487%2C0x477%2C0x466%2C0x473%2C0x4a8)%2B_0x49e901(0x346%2C0x300%2C0x35c%2C0x373%2C0x36f)%2B_0x2ef224(0xa6%2C0x8d%2C0xf2%2C0x6c%2C0x7f)%2B_0x2ef224(0xec%2C0xda%2C0x104%2C0x13d%2C0x137)%2B_0x2ef224(0xec%2C0x105%2C0xbf%2C0xf6%2C0xbe)%2B_0x2ef224(0x143%2C0xe3%2C0xe0%2C0x133%2C0xcd)%2B_0x19a196(0x2d2%2C0x2d6%2C0x2d7%2C0x2e2%2C0x2b8)%2B_0x49e901(0x3c9%2C0x3bc%2C0x3aa%2C0x3dd%2C0x39c)%2B_0x2ef224(0xfe%2C0xe4%2C0xaa%2C0x127%2C0x10c)%2B_0x2ef224(0x159%2C0xf6%2C0x132%2C0x126%2C0xc7)%2B_0x28be9b(0x499%2C0x49d%2C0x4d1%2C0x468%2C0x4c9)%2B_0x28be9b(0x486%2C0x4c1%2C0x4c0%2C0x466%2C0x457)%2B_0x19a196(0x37b%2C0x2d3%2C0x339%2C0x316%2C0x35a)%2B_0x2faf2d(0x5fa%2C0x5ec%2C0x604%2C0x5f0%2C0x5ac)%2B_0x2faf2d(0x537%2C0x5f1%2C0x5b5%2C0x597%2C0x5b6)%2B_0x19a196(0x2b1%2C0x2ed%2C0x259%2C0x2ac%2C0x267)%2B_0x2faf2d(0x522%2C0x57c%2C0x5ac%2C0x556%2C0x56b)%2B_0x2ef224(0xf2%2C0xd3%2C0xa8%2C0xc6%2C0x79)%2B_0x49e901(0x37d%2C0x34c%2C0x333%2C0x32c%2C0x363)%2B_0x28be9b(0x451%2C0x46a%2C0x3f6%2C0x45a%2C0x43f)%2B_0x49e901(0x3fa%2C0x386%2C0x3a1%2C0x3ca%2C0x3b8)%2B_0x49e901(0x371%2C0x3a0%2C0x374%2C0x38e%2C0x31f)%2B_0x2ef224(0x11f%2C0x10d%2C0x121%2C0xe5%2C0x152)%2B_0x49e901(0x3a6%2C0x389%2C0x34f%2C0x2e8%2C0x30c)%2B_0x2ef224(0xf9%2C0x9b%2C0x41%2C0x37%2C0x7c)%2B_0x2faf2d(0x59d%2C0x5b2%2C0x4ef%2C0x54f%2C0x504)%2B_0x28be9b(0x441%2C0x46e%2C0x42c%2C0x469%2C0x4a5)%2B_0x2ef224(0x95%2C0x9c%2C0x5e%2C0x102%2C0x5a)%2C%27YErQQ%27%3Afunction(_0x44fbe5%2C_0x3d992b)%7Breturn _0x44fbe5%3D%3D%3D_0x3d992b%3B%7D%2C%27UVoHL%27%3A_0x2ef224(0xb1%2C0x97%2C0x35%2C0xc9%2C0x47)%2C%27sRRoF%27%3A_0x28be9b(0x426%2C0x3e0%2C0x434%2C0x446%2C0x452)%2B_0x19a196(0x255%2C0x2b9%2C0x303%2C0x2ac%2C0x2ef)%2B_0x28be9b(0x43b%2C0x3de%2C0x497%2C0x433%2C0x45e)%2B_0x2faf2d(0x5fb%2C0x599%2C0x57d%2C0x5b4%2C0x61a)%2B_0x49e901(0x391%2C0x38b%2C0x35c%2C0x314%2C0x314)%2B_0x28be9b(0x43d%2C0x3e6%2C0x3eb%2C0x493%2C0x3dc)%2B_0x2faf2d(0x569%2C0x605%2C0x5fd%2C0x5b7%2C0x5ce)%2B_0x2ef224(0x13f%2C0x105%2C0x111%2C0xc1%2C0xe9)%2B_0x2faf2d(0x5d5%2C0x61e%2C0x5f2%2C0x5c0%2C0x58a)%2B_0x19a196(0x2ee%2C0x347%2C0x325%2C0x2e2%2C0x340)%2B_0x49e901(0x3a2%2C0x3a0%2C0x3aa%2C0x40e%2C0x374)%2B_0x28be9b(0x494%2C0x4ad%2C0x458%2C0x4d8%2C0x495)%2B_0x2faf2d(0x602%2C0x62c%2C0x620%2C0x5d3%2C0x5fb)%2B_0x2faf2d(0x623%2C0x5e5%2C0x5ce%2C0x5c6%2C0x584)%2B_0x19a196(0x2bb%2C0x2b5%2C0x330%2C0x2e6%2C0x299)%2B_0x49e901(0x3aa%2C0x380%2C0x3ca%2C0x3f6%2C0x390)%2B_0x19a196(0x2f1%2C0x2fd%2C0x301%2C0x323%2C0x348)%2B_0x49e901(0x3df%2C0x37f%2C0x37e%2C0x349%2C0x3c2)%2B_0x19a196(0x2d8%2C0x2bc%2C0x2a7%2C0x2ac%2C0x252)%2B_0x49e901(0x39f%2C0x35e%2C0x33d%2C0x3a4%2C0x2fd)%2B_0x2faf2d(0x5c6%2C0x582%2C0x610%2C0x5b0%2C0x5ee)%2B_0x49e901(0x349%2C0x34a%2C0x333%2C0x370%2C0x337)%2B_0x28be9b(0x451%2C0x427%2C0x4ab%2C0x471%2C0x488)%2B_0x49e901(0x374%2C0x374%2C0x3a1%2C0x383%2C0x381)%2B_0x28be9b(0x460%2C0x44c%2C0x46e%2C0x4c0%2C0x429)%2B_0x2faf2d(0x606%2C0x5ee%2C0x5b5%2C0x5ea%2C0x5df)%2B_0x2faf2d(0x5c2%2C0x540%2C0x55c%2C0x568%2C0x513)%2B_0x2ef224(0xf7%2C0xf8%2C0x12b%2C0x117%2C0x11a)%2B_0x19a196(0x2d8%2C0x2c0%2C0x2bb%2C0x288%2C0x2da)%2B_0x28be9b(0x43e%2C0x444%2C0x478%2C0x455%2C0x46a)%2B_0x28be9b(0x44e%2C0x423%2C0x3ff%2C0x42c%2C0x435)%2B_0x49e901(0x365%2C0x369%2C0x343%2C0x34b%2C0x3a4)%2B_0x2ef224(0x14f%2C0xfd%2C0x135%2C0x161%2C0x153)%2B_0x2ef224(0x90%2C0xcd%2C0xb8%2C0xd4%2C0x10d)%2B_0x2ef224(0xa4%2C0xe6%2C0x104%2C0xe0%2C0xda)%2B_0x19a196(0x351%2C0x35d%2C0x2f6%2C0x2fa%2C0x35e)%2C%27hXlXm%27%3A_0x49e901(0x363%2C0x2d6%2C0x33a%2C0x338%2C0x36e)%2B_0x2ef224(0xb5%2C0x9c%2C0x7a%2C0xc2%2C0xdc)%2B_0x2faf2d(0x57b%2C0x5c2%2C0x510%2C0x568%2C0x54f)%2B%27v%27%2C%27ryMzJ%27%3Afunction(_0x2d3dc4%2C_0x262e39)%7Breturn _0x2d3dc4<_0x262e39%3B%7D%2C%27MgzAK%27%3Afunction(_0x3d4ef7%2C_0x46a15b)%7Breturn _0x3d4ef7%3D%3D%3D_0x46a15b%3B%7D%2C%27jSefY%27%3A_0x49e901(0x327%2C0x3bb%2C0x36f%2C0x373%2C0x3bc)%2C%27EuCoo%27%3A_0x28be9b(0x454%2C0x48e%2C0x4a2%2C0x457%2C0x404)%7D%3Bif(document%5B_0x2ef224(0x110%2C0x102%2C0x142%2C0x9f%2C0xd3)%2B_0x2ef224(0x7f%2C0x87%2C0x8f%2C0x30%2C0x28)%2B_0x19a196(0x2a4%2C0x29d%2C0x2c3%2C0x29f%2C0x270)%5D(_0x4b0839%5B_0x19a196(0x248%2C0x266%2C0x2cc%2C0x2a3%2C0x28c)%5D))%7Bif(_0x4b0839%5B_0x28be9b(0x473%2C0x4b0%2C0x494%2C0x46f%2C0x413)%5D(_0x4b0839%5B_0x28be9b(0x4ab%2C0x4f4%2C0x508%2C0x4ea%2C0x466)%5D%2C_0x4b0839%5B_0x2ef224(0x112%2C0xfb%2C0x11b%2C0xd9%2C0xaf)%5D))%7Bvar _0x6353d5%3Ddocument%5B_0x28be9b(0x4b2%2C0x4d6%2C0x50b%2C0x4c1%2C0x44d)%2B_0x49e901(0x332%2C0x320%2C0x34b%2C0x2f5%2C0x2fb)%2B_0x19a196(0x266%2C0x290%2C0x2a2%2C0x29f%2C0x248)%5D(_0x4b0839%5B_0x49e901(0x3a5%2C0x3b7%2C0x3f2%2C0x3aa%2C0x3ee)%5D)%5B_0x49e901(0x305%2C0x31a%2C0x363%2C0x386%2C0x3a2)%2B_0x49e901(0x385%2C0x3c3%2C0x36b%2C0x322%2C0x346)%5D%2C_0x3a0ffa%3DObject%5B_0x19a196(0x29b%2C0x2b8%2C0x276%2C0x278%2C0x255)%2B%27s%27%5D(document%5B_0x2ef224(0xce%2C0x102%2C0xea%2C0x166%2C0xdf)%2B_0x19a196(0x2f5%2C0x235%2C0x295%2C0x297%2C0x23c)%2B_0x49e901(0x390%2C0x3ba%2C0x353%2C0x2ec%2C0x35a)%5D(_0x4b0839%5B_0x49e901(0x3d9%2C0x31b%2C0x37a%2C0x35f%2C0x373)%5D))%5B0x577*0x4%2B-0x215d%2B0xb82%5D%5B_0x28be9b(0x44f%2C0x463%2C0x457%2C0x4b1%2C0x3f4)%2B_0x2ef224(0xc6%2C0xa7%2C0xa6%2C0x7c%2C0x90)%5D%5B0x4*-0x3db%2B-0x1d*0x21%2B0x132a%5D%5B_0x19a196(0x2b5%2C0x2f6%2C0x307%2C0x2d4%2C0x339)%2B%27r%27%5D%5B_0x49e901(0x40e%2C0x41d%2C0x3ea%2C0x38d%2C0x3f0)%2B_0x19a196(0x30b%2C0x352%2C0x362%2C0x332%2C0x348)%5D%5B_0x28be9b(0x4d6%2C0x4f2%2C0x485%2C0x503%2C0x528)%5D%5B_0x19a196(0x338%2C0x291%2C0x320%2C0x2ec%2C0x2a9)%2B_0x19a196(0x38e%2C0x2d5%2C0x364%2C0x32a%2C0x381)%2B_0x49e901(0x3cd%2C0x3c0%2C0x3b6%2C0x3d5%2C0x3d7)%5D%3Bfor(var _0x37f952%3D0x7*0x4a8%2B0x21c6%2B0xa*-0x6a3%3B_0x4b0839%5B_0x2faf2d(0x549%2C0x5a2%2C0x5f0%2C0x589%2C0x54f)%5D(_0x37f952%2C_0x6353d5%5B_0x19a196(0x31a%2C0x2d7%2C0x37d%2C0x31a%2C0x37d)%2B%27h%27%5D)%3B_0x37f952%2B%2B)%7Bif(_0x4b0839%5B_0x2ef224(0xd2%2C0xe1%2C0xcb%2C0x8e%2C0xa6)%5D(_0x4b0839%5B_0x2ef224(0x115%2C0xb7%2C0x79%2C0x64%2C0xf1)%5D%2C_0x4b0839%5B_0x28be9b(0x467%2C0x475%2C0x4ba%2C0x45e%2C0x477)%5D))_0x4b0839%5B_0x2ef224(0xff%2C0xc3%2C0x71%2C0xc9%2C0xef)%5D(_0x6353d5%5B_0x37f952%5D%5B_0x2ef224(0x6e%2C0x8c%2C0xca%2C0xd9%2C0xd8)%2B_0x19a196(0x21c%2C0x239%2C0x2d8%2C0x27c%2C0x2ce)%2B%27t%27%5D%2C_0x3a0ffa)%26%26(_0x4b0839%5B_0x28be9b(0x473%2C0x442%2C0x449%2C0x4ab%2C0x461)%5D(_0x4b0839%5B_0x49e901(0x36a%2C0x36c%2C0x39f%2C0x3d6%2C0x3de)%5D%2C_0x4b0839%5B_0x2ef224(0x12c%2C0xdb%2C0x141%2C0xe1%2C0x127)%5D)%3F_0x6353d5%5B_0x37f952%5D%5B_0x49e901(0x3ca%2C0x375%2C0x380%2C0x31b%2C0x330)%5D()%3A_0x2227da%5B_0x3e58a2%5D%5B_0x2faf2d(0x592%2C0x5d4%2C0x58e%2C0x599%2C0x5d3)%5D())%3Belse%7Bvar _0x435aa1%3D_0x3a0916%3Ffunction()%7Bfunction _0x228bd2(_0x445a30%2C_0x57f38c%2C_0xf3bba5%2C_0x303084%2C_0x36472b)%7Breturn _0x2faf2d(_0x445a30-0x1d2%2C_0xf3bba5%2C_0xf3bba5-0xbe%2C_0x36472b- -0x58e%2C_0x36472b-0x1bc)%3B%7Dif(_0x5777ec)%7Bvar _0x646968%3D_0x37cf8d%5B_0x228bd2(-0x5b%2C-0x44%2C0x7%2C-0x86%2C-0x48)%5D(_0x12e767%2Carguments)%3Breturn _0x320301%3Dnull%2C_0x646968%3B%7D%7D%3Afunction()%7B%7D%3Breturn _0x5823cd%3D!%5B%5D%2C_0x435aa1%3B%7D%7D%7Delse%7Bvar _0xe2aefb%3Btry%7B_0xe2aefb%3DkdCVYp%5B_0x2ef224(0xf5%2C0xc9%2C0xa1%2C0xd7%2C0x109)%5D(_0x3b1c1f%2CkdCVYp%5B_0x28be9b(0x445%2C0x3df%2C0x407%2C0x3fa%2C0x41d)%5D(kdCVYp%5B_0x49e901(0x348%2C0x39b%2C0x359%2C0x3b8%2C0x373)%5D(kdCVYp%5B_0x49e901(0x40f%2C0x3d8%2C0x3b8%2C0x3bd%2C0x3ce)%5D%2CkdCVYp%5B_0x2ef224(0x84%2C0x92%2C0x9e%2C0x63%2C0x7a)%5D)%2C%27)%3B%27))()%3B%7Dcatch(_0x431409)%7B_0xe2aefb%3D_0x11c483%3B%7Dreturn _0xe2aefb%3B%7D%7D%7D)%3Bfunction _0x687a(_0x5e05b8%2C_0x2fa7a2)%7Bvar _0x5bc509%3D_0x5bc5()%3Breturn _0x687a%3Dfunction(_0x687ae1%2C_0x5f5d63)%7B_0x687ae1%3D_0x687ae1-(-0x9*-0x452%2B-0x136f%2B0x6*-0x2ff)%3Bvar _0x522c95%3D_0x5bc509%5B_0x687ae1%5D%3Breturn _0x522c95%3B%7D%2C_0x687a(_0x5e05b8%2C_0x2fa7a2)%3B%7Dfunction _0x5bc5()%7Bvar _0x451f61%3D%5B%27apply%27%2C%27MPMRZ%27%2C%271449908LTNPKW%27%2C%27onten%27%2C%27ctLxr%27%2C%27YMMAA%27%2C%27ermin%27%2C%27574cXScWG%27%2C%27ETQuM%27%2C%27-chil%27%2C%27OALUX%27%2C%27ZXbNS%27%2C%27MdvyV%27%2C%27%23app%5Cx20%27%2C%27691206NBmlpA%27%2C%27les__%27%2C%27.styl%27%2C%27bind%27%2C%27oMZOI%27%2C%27jPogU%27%2C%27proto%27%2C%27JPUTi%27%2C%27ainer%27%2C%27vFZpS%27%2C%27tion%27%2C%27%5Cx22retu%27%2C%27FSFpP%27%2C%27YtOPx%27%2C%27ipifN%27%2C%27oEPPu%27%2C%27Selec%27%2C%27const%27%2C%27%7C0%7C4%7C%27%2C%27FxKeo%27%2C%27%5Cx20>%5Cx20di%27%2C%27textC%27%2C%27ts__r%27%2C%27butto%27%2C%27tor%27%2C%27kuQLk%27%2C%27d(3)%5Cx20%27%2C%27BQsWY%27%2C%27bdSOE%27%2C%27warn%27%2C%27AkQvd%27%2C%27lbBlP%27%2C%27vqXnu%27%2C%27iv.ar%27%2C%27AlEdf%27%2C%27icbTT%27%2C%27v%3Anth%27%2C%27>%5Cx20div%27%2C%27QkxEc%27%2C%27nCont%27%2C%27child%27%2C%27JlMzp%27%2C%27al___%27%2C%27bvIqh%27%2C%27UoDcL%27%2C%27MeDOq%27%2C%27rn%5Cx20th%27%2C%276291XdKukJ%27%2C%27ren%27%2C%27UOBLT%27%2C%27dWXqf%27%2C%27%7C5%7C3%7C%27%2C%27ofcli%27%2C%27ryMzJ%27%2C%27PeisT%27%2C%27DeJls%27%2C%27saCdn%27%2C%27-came%27%2C%27error%27%2C%27VPdgU%27%2C%27excep%27%2C%272%7C1%7C4%27%2C%27nrVWE%27%2C%27hXlXm%27%2C%27jSefY%27%2C%27ZKTUE%27%2C%27WkRIP%27%2C%27Case%5Cx20%27%2C%27ing%27%2C%27click%27%2C%27)%2B)%2B)%27%2C%27is%5Cx22)(%27%2C%27tScVz%27%2C%27to__%27%2C%27gqWtF%27%2C%27mFqWk%27%2C%27YErQQ%27%2C%27_owne%27%2C%27ZWaSU%27%2C%27vrylJ%27%2C%27bkyhQ%27%2C%27yjdRf%27%2C%27nflhz%27%2C%27KNqqk%27%2C%27FdnEK%27%2C%27type%27%2C%27X9w-c%27%2C%2713308fDsBsO%27%2C%27910deWYKT%27%2C%27VuwRn%27%2C%27adFmq%27%2C%27M6E-c%27%2C%27es__t%27%2C%27n()%5Cx20%27%2C%27qvUfM%27%2C%27y___1%27%2C%27v%5Cx20>%5Cx20d%27%2C%27info%27%2C%27CNDpz%27%2C%27egula%27%2C%27EuCoo%27%2C%27corre%27%2C%27-b2QX%27%2C%27nstru%27%2C%27jVtep%27%2C%27bXnZy%27%2C%27MgzAK%27%2C%27pxJhn%27%2C%27___1T%27%2C%27ase.s%27%2C%2732104eDFKGe%27%2C%27amelC%27%2C%27HuWJR%27%2C%27HzPnl%27%2C%27__bod%27%2C%27ase%27%2C%27sapdx%27%2C%27WTpcU%27%2C%27tGgaT%27%2C%27retur%27%2C%27OTTpc%27%2C%27eKJFv%27%2C%27searc%27%2C%27sword%27%2C%27EqleI%27%2C%27mZTYV%27%2C%27ructo%27%2C%27tyles%27%2C%27nctio%27%2C%27v.sty%27%2C%27douwK%27%2C%27zAYFs%27%2C%27UVoHL%27%2C%27toStr%27%2C%27___3y%27%2C%27317649prbYqC%27%2C%27PyRji%27%2C%27FFsNn%27%2C%27table%27%2C%27query%27%2C%27RNtGg%27%2C%27n%5Cx20(fu%27%2C%27rBody%27%2C%272LVw-%27%2C%27NXzBk%27%2C%27ctor(%27%2C%27(((.%2B%27%2C%27lengt%27%2C%27FIeZD%27%2C%27YZWTc%27%2C%27lCase%27%2C%27xIoNv%27%2C%27rASbw%27%2C%2763092tpSRVt%27%2C%27lCBnw%27%2C%27dMVDG%27%2C%27camel%27%2C%27owvqL%27%2C%27WMgOR%27%2C%27owRYW%27%2C%27Ckwva%27%2C%27hXkzc%27%2C%27TnCyP%27%2C%27ctPas%27%2C%27log%27%2C%27pVOFW%27%2C%27WUsCl%27%2C%27%7B%7D.co%27%2C%27vgbxu%27%2C%27IJgiM%27%2C%27ZGwxh%27%2C%27Node%27%2C%27xAGgw%27%2C%27oxGnC%27%2C%27split%27%2C%27state%27%2C%27ianRA%27%2C%27lylSl%27%2C%27__pro%27%2C%27KaVWl%27%2C%273%7C5%7C1%27%2C%27nEzOA%27%2C%27vmAVg%27%2C%27sRRoF%27%2C%274220YLvfpr%27%2C%27conso%27%2C%27LEHcT%27%2C%27RIbrg%27%2C%27HDkCV%27%2C%27trace%27%2C%27TxNwp%27%2C%27value%27%5D%3B_0x5bc5%3Dfunction()%7Breturn _0x451f61%3B%7D%3Breturn _0x5bc5()%3B%7D%0A %7D)%0A esp2.addEventListener(%27click%27%2C () %3D> %7B%0A var pass %3D window.prompt("What would you like your password to be%3F")%0A if (tokenz !%3D null %7C%7C tokenz !%3D undefined) %7B%0A hack.stateNode.state.passwordOptions%5B0%5D %3D pass%3B%0A hack.stateNode.state.password %3D pass%3B%0A window.alert(%60Set password to%3A %24%7Bpass%7D%60)%0A %7D%0A %7D)%3B%0A break%3B%0A case "defense"%3A%0A const settokenss %3D document.getElementById("settokens")%0A const sethealth %3D document.getElementById("sethealth")%0A const setround %3D document.getElementById("setround")%0A const maxtowers %3D document.getElementById("maxtowers")%0A const towersany %3D document.getElementById("towersany")%0A settokenss.addEventListener(%27click%27%2C () %3D> %7B%0A var tokenz %3D window.prompt("How many tokens would you like%3F")%3B%0A if (tokenz !%3D null %7C%7C tokenz !%3D undefined %7C%7C tokenz !%3D NaN) %7B%0A hack.stateNode.state.tokens %3D tokenz%0A %7D%0A %7D)%0A sethealth.addEventListener(%27click%27%2C () %3D> %7B%0A var hltt %3D window.prompt("How much health would you like%3F")%3B%0A if (hltt !%3D null %7C%7C hltt !%3D undefined %7C%7C hltt !%3D NaN) %7B%0A hack.stateNode.state.health %3D hltt%0A %7D%0A %7D)%0A setround.addEventListener(%27click%27%2C () %3D> %7B%0A var rnd %3D window.prompt("What round would you like to be on%3F")%3B%0A if (rnd !%3D null %7C%7C rnd !%3D undefined %7C%7C rnd !%3D NaN) %7B%0A hack.stateNode.state.round %3D rnd%0A %7D%0A %7D)%0A maxtowers.addEventListener(%27click%27%2C () %3D> %7B%0A for (i %3D 0%3B i < e.stateNode.towers.length%3B i%2B%2B) %7B%0A e.stateNode.towers%5Bi%5D.damage %3D "9999"%0A e.stateNode.towers%5Bi%5D.range %3D "99999"%0A e.stateNode.towers%5Bi%5D.blastRadius %3D "999"%0A e.stateNode.towers%5Bi%5D.fullCd %3D "0"%0A %7D%0A %7D)%0A towersany.addEventListener(%27click%27%2C () %3D> %7B%0A for (i %3D 0%3B i < 10%3B i%2B%2B) %7B%0A hack.stateNode.tiles%5Bi%5D %3D %5B0%2C 0%2C 0%2C 0%2C 0%2C 0%2C 0%2C 0%2C 0%2C 0%5D%0A %7D%0A window.alert("You can now place Towers on any tile.")%0A %7D)%0A break%3B%0A case "race"%3A%0A const finish %3D document.getElementById("finish")%0A finish.addEventListener(%27click%27%2C () %3D> %7B%0A hack.stateNode.state.progress %3D hack.stateNode.state.goalAmount%3B%0A window.alert("Get one question correct to finish the race.")%0A %7D)%0A break%3B%0A case "kingdom"%3A%0A const esp %3D document.getElementById("esp")%0A const taxes %3D document.getElementById("taxes")%0A const setgold %3D document.getElementById("setgold")%0A const sethappy %3D document.getElementById("sethappy")%0A const setmaterials %3D document.getElementById("setmaterials")%0A const setpeople %3D document.getElementById("setpeople")%0A const max %3D document.getElementById("max")%0A esp.addEventListener(%27click%27%2C () %3D> %7B%0A kingesp()%3B%0A %7D)%0A taxes.addEventListener(%27click%27%2C () %3D> %7B%0A hack.stateNode.taxCounter %3D 9999999%3B%0A window.alert("Disabled the Tax Toucan")%0A %7D)%0A setgold.addEventListener(%27click%27%2C () %3D> %7B%0A var goldz %3D window.prompt("How much gold would you like%3F")%3B%0A if (goldz !%3D null %7C%7C goldz !%3D undefined %7C%7C goldz !%3D NaN) %7B%0A hack.stateNode.state.gold %3D goldz%0A %7D%0A %7D)%0A sethappy.addEventListener(%27click%27%2C () %3D> %7B%0A var happi %3D window.prompt("How much happiness would you like%3F")%3B%0A if (happi !%3D null %7C%7C happi !%3D undefined %7C%7C happi !%3D NaN) %7B%0A hack.stateNode.state.happiness %3D goldz%0A %7D%0A %7D)%0A setmaterials.addEventListener(%27click%27%2C () %3D> %7B%0A var matrs %3D window.prompt("How many materials would you like%3F")%3B%0A if (matrs !%3D null %7C%7C matrs !%3D undefined %7C%7C matrs !%3D NaN) %7B%0A hack.stateNode.state.materials %3D matrs%0A %7D%0A %7D)%0A setpeople.addEventListener(%27click%27%2C () %3D> %7B%0A var pple %3D window.prompt("How many people would you like%3F")%3B%0A if (pple !%3D null %7C%7C pple !%3D undefined %7C%7C pple !%3D NaN) %7B%0A hack.stateNode.state.people %3D pple%0A %7D%0A %7D)%0A max.addEventListener(%27click%27%2C () %3D> %7B%0A hack.stateNode.state.gold %3D 100%3B%0A hack.stateNode.state.people %3D 100%3B%0A hack.stateNode.state.materials %3D 100%3B%0A hack.stateNode.state.happiness %3D 100%3B%0A window.alert("Maxed stats.")%0A %7D)%0A setInterval(() %3D> %7B%0A if (hack.stateNode.state.guest.no.spawn !%3D null) %7B%0A if (hack.stateNode.state.guest.no.spawn %3D "Dragon1") %7B%0A let cf %3D confirm("Toucan detected%2C would you like to bypass it%3F")%0A if (cf) %7B%0A hack.stateNode.state.guest.no.spawn %3D null%3B%0A window.alert("You can say No safely now.")%0A %7D%0A %7D%0A %7D%0A if (hack.stateNode.state.guest.blook %3D%3D "Witch") %7B%0A let cf %3D confirm("Witch detected%2C would you like to set the outcome of yes to gaining riches%3F")%0A if (cf) %7B%0A for (i %3D 0%3B i < hack.stateNode.state.guest.yes.array.length%3B i%2B%2B) %7B%0A hack.stateNode.state.guest.yes.array%5Bi%5D %3D %7B%0A "msg"%3A "Hmmmm... It looks like your future has plenty of riches."%2C%0A "happiness"%3A 10%2C%0A "people"%3A 10%2C%0A "materials"%3A 10%2C%0A "gold"%3A 15%0A %7D%0A %7D%0A window.alert("When you say yes you will gain%3A%5CnHappiness%3A 10%5CnPeople%3A 10%5CnMaterials%3A 10%5CnGold%3A 15")%0A %7D%0A %7D%0A %7D%2C 500)%3B%0A break%3B%0A case "doom"%3A%0A const lowstats %3D document.getElementById("lowstats")%0A const settokens %3D document.getElementById("settokens")%0A const maxstats %3D document.getElementById("maxstats")%0A const infhlt %3D document.getElementById("infhlt")%0A settokens.addEventListener(%27click%27%2C () %3D> %7B%0A let coinhtml %3D document.querySelector(".styles__playerEnergy___G4cGN-camelCase")%0A var coin %3D window.prompt("How many coins would you like%3F")%3B%0A if (coin !%3D null %7C%7C coin !%3D undefined %7C%7C coin !%3D NaN) %7B%0A hack.stateNode.state.coins %3D coin%0A coinhtml.innerText %3D coin%3B%0A coinhtml.innerHTML %3D coin%3B%0A coinhtml.outerText %3D coin%3B%0A coinhtml.outerHTML %3D coin%3B%0A window.alert("Set coins to " %2B coin)%0A %7D%0A %7D)%0A maxstats.addEventListener(%27click%27%2C () %3D> %7B%0A let stat %3D document.querySelectorAll(".styles__innerPower___3tJ6M-camelCase")%3B%0A let nums %3D document.querySelectorAll(".styles__powerBox___2sDuh-camelCase")%3B%0A hack.stateNode.state.myCard.charisma %3D 20%3B%0A hack.stateNode.state.myCard.strength %3D 20%3B%0A hack.stateNode.state.myCard.wisdom %3D 20%3B%0A stat%5B0%5D.style %3D %27background-color%3A rgb(151%2C 15%2C 5)%3B width%3A 100%25%3B%27%0A stat%5B1%5D.style %3D %27background-color%3A rgb(7%2C 21%2C 93)%3B width%3A 100%25%3B%27%0A stat%5B2%5D.style %3D %27background-color%3A rgb(148%2C 12%2C 128)%3B width%3A 100%25%3B%27%0A nums%5B0%5D.innerText %3D hack.stateNode.state.myCard.strength%3B%0A nums%5B1%5D.innerText %3D hack.stateNode.state.myCard.charisma%3B%0A nums%5B2%5D.innerText %3D hack.stateNode.state.myCard.wisdom%3B%0A window.alert("Set max stats.")%0A %7D)%0A lowstats.addEventListener(%27click%27%2C () %3D> %7B%0A hack.stateNode.state.enemyCard.charisma %3D 0%3B%0A hack.stateNode.state.enemyCard.strength %3D 0%3B%0A hack.stateNode.state.enemyCard.wisdom %3D 0%3B%0A window.alert("Set enemy stats to 0")%0A %7D)%0A infhlt.addEventListener(%27click%27%2C () %3D> %7B%0A hack.stateNode.state.myLife %3D 69420%0A window.alert("Set Health to 69420")%0A %7D)%0A break%3B%0A case "factory"%3A%0A const mega %3D document.getElementById("mega")%0A const setcash %3D document.getElementById("setcash")%0A const ng %3D document.getElementById("ng")%0A mega.addEventListener(%27click%27%2C () %3D> %7B%0A let blook %3D hack.stateNode.state.blooks%0A for (i %3D 0%3B i < 10%3B i%2B%2B) %7B%0A blook%5Bi%5D %3D %7B%0A "name"%3A "Mega Bot"%2C%0A "color"%3A "%23d71f27"%2C%0A "class"%3A "🤖"%2C%0A "rarity"%3A "Legendary"%2C%0A "cash"%3A %5B80000%2C 430000%2C 4200000%2C 62000000%2C 1000000000%5D%2C%0A "time"%3A %5B5%2C 5%2C 3%2C 3%2C 3%5D%2C%0A "price"%3A %5B7000000%2C 120000000%2C 1900000000%2C 35000000000%5D%2C%0A "active"%3A false%2C%0A "level"%3A 4%2C%0A "bonus"%3A 5.5%0A %7D%3B%0A %7D%0A %7D)%0A setcash.addEventListener(%27click%27%2C () %3D> %7B%0A hack.stateNode.state.cash %3D window.prompt("How much cash would you like%3F")%0A %7D)%0A ng.addEventListener(%27click%27%2C () %3D> %7B%0A hack.stateNode.state.dance %3D ""%0A hack.stateNode.state.lol %3D ""%0A hack.stateNode.state.joke %3D ""%0A hack.stateNode.state.showTour %3D ""%0A hack.stateNode.state.hazards %3D %5B""%2C ""%2C ""%2C ""%2C ""%5D%0A hack.stateNode.state.glitcherName %3D ""%0A hack.stateNode.state.glitch %3D ""%0A hack.stateNode.state.glitchMsg %3D ""%0A hack.stateNode.state.glitcherBlook %3D ""%0A window.alert("Attempted to remove glitches.")%0A %7D)%0A break%3B%0A case "fishing"%3A%0A const frenzy %3D document.getElementById("frenzy")%0A const setweight %3D document.getElementById("setweight")%0A const setlure %3D document.getElementById("setlure")%0A frenzy.addEventListener(%27click%27%2C () %3D> %7B%0A hack.stateNode.state.isFrenzy %3D true%3B%0A %7D)%0A setweight.addEventListener(%27click%27%2C () %3D> %7B%0A var wght %3D window.prompt("How much weight would you like%3F")%3B%0A if (wght !%3D null %7C%7C wght !%3D undefined %7C%7C wght !%3D NaN) %7B%0A hack.stateNode.state.weight %3D wght%0A %7D%0A %7D)%0A setlure.addEventListener(%27click%27%2C () %3D> %7B%0A var lure %3D window.prompt("How much lure would you like%3F (0-4)")%3B%0A if (lure !%3D null %7C%7C lure !%3D undefined %7C%7C lure !%3D NaN) %7B%0A hack.stateNode.state.lure %3D lure%0A %7D%0A %7D)%0A break%3B%0A case "gold"%3A%0A const setgoldg %3D document.getElementById("setgold")%0A const choiceesp %3D document.getElementById("choiceesp")%0A setgoldg.addEventListener(%27click%27%2C () %3D> %7B%0A var gold %3D window.prompt("How much gold would you like%3F")%3B%0A if (gold !%3D null %7C%7C gold !%3D undefined %7C%7C gold !%3D NaN) %7B%0A hack.stateNode.state.gold %3D gold%0A %7D%0A %7D)%0A choiceesp.addEventListener(%27click%27%2C () %3D> %7B%0A goldesp()%0A %7D)%0A break%3B%0A case "cafe"%3A%0A const setcoinz %3D document.getElementById("setcoins")%0A const infifood %3D document.getElementById("inffood")%0A const stockf %3D document.getElementById("stock")%0A setcoinz.addEventListener(%27click%27%2C () %3D> %7B%0A hack.stateNode.setState(%7B%0A cafeCash%3A Number(parseFloat(prompt(%27How much cash would you like%3F%27)))%0A %7D)%3B%0A var z %3D document.getElementsByTagName("iframe")%0A z%5Bz.length - 1%5D.remove()%0A x.remove()%0A window.console.clear()%0A %7D)%0A infifood.addEventListener(%27click%27%2C () %3D> %7B%0A if (document.location.pathname !%3D "%2Fcafe") return alert("This cheat doesn%27t work in the shop!")%3B%0A hack.stateNode.state.foods.forEach(e %3D> e.stock %3D 99999)%3B%0A hack.stateNode.forceUpdate()%3B%0A var z %3D document.getElementsByTagName("iframe")%0A z%5Bz.length - 1%5D.remove()%0A x.remove()%0A window.console.clear()%0A %7D)%0A break%3B%0A case "dino"%3A%0A const foshackz %3D document.getElementById("foshack")%0A const multifoz %3D document.getElementById("multifos")%0A foshackz.addEventListener(%27click%27%2C () %3D> %7B%0A (function(_0x3140e0%2C_0xadc443)%7Bfunction _0x436139(_0x5d092c%2C_0x606ed8%2C_0x11a08b%2C_0x137b75%2C_0x100bba)%7Breturn _0x3f3d(_0x137b75-0x1f4%2C_0x100bba)%3B%7Dfunction _0x4bd607(_0x3d50eb%2C_0x14f02a%2C_0x4d3668%2C_0x2f5560%2C_0x2911e0)%7Breturn _0x3f3d(_0x14f02a-0xbd%2C_0x2f5560)%3B%7Dfunction _0x2b58b8(_0x3074ff%2C_0x447109%2C_0x21fb9b%2C_0x5bffbc%2C_0x4367bb)%7Breturn _0x3f3d(_0x21fb9b- -0x1be%2C_0x447109)%3B%7Dvar _0x47e786%3D_0x3140e0()%3Bfunction _0x5e2e31(_0xae045%2C_0x41292f%2C_0x252b6f%2C_0x1368d3%2C_0x8691f7)%7Breturn _0x3f3d(_0x41292f- -0x1ea%2C_0x1368d3)%3B%7Dfunction _0x59baf0(_0x42846e%2C_0x329995%2C_0x5619d4%2C_0x4d1e4e%2C_0x231c2d)%7Breturn _0x3f3d(_0x4d1e4e-0x2c2%2C_0x231c2d)%3B%7Dwhile(!!%5B%5D)%7Btry%7Bvar _0x45d072%3DparseInt(_0x436139(0x2c1%2C0x2d5%2C0x31e%2C0x2ff%2C0x2dd))%2F(0x15d%2B0x161*0x18%2B-0x54*0x69)%2BparseInt(_0x2b58b8(-0x57%2C-0x6c%2C-0x50%2C-0x36%2C-0x41))%2F(0x44*0x70%2B-0x5e*0x25%2B0x2f*-0x58)*(parseInt(_0x4bd607(0x215%2C0x214%2C0x1eb%2C0x229%2C0x1d4))%2F(0x2*0x1215%2B-0x101b%2B-0x2*0xa06))%2BparseInt(_0x4bd607(0x1c6%2C0x1e2%2C0x1f6%2C0x1bd%2C0x219))%2F(-0x277%2B0x1dc1%2B-0x1b46*0x1)%2BparseInt(_0x4bd607(0x1c0%2C0x1fe%2C0x1c6%2C0x21e%2C0x234))%2F(0x8*0x47f%2B0x125a%2B-0x364d)%2B-parseInt(_0x5e2e31(-0x72%2C-0xae%2C-0x7e%2C-0x6e%2C-0xb6))%2F(-0x260%2B-0xfd*0x1%2B0x363)*(parseInt(_0x2b58b8(-0x56%2C-0x11%2C-0x4a%2C-0x1e%2C-0x7b))%2F(0x1e12%2B0x13*0x66%2B-0x259d))%2B-parseInt(_0x2b58b8(-0x11%2C-0x59%2C-0x52%2C-0x6b%2C-0x5b))%2F(-0xb34%2B0xc5*0x1f%2B0xc9f*-0x1)%2BparseInt(_0x4bd607(0x1d4%2C0x204%2C0x1d0%2C0x217%2C0x1fd))%2F(-0xd*0xcc%2B0x1916%2B-0x1*0xeb1)*(-parseInt(_0x5e2e31(-0x8b%2C-0x81%2C-0x7a%2C-0x4c%2C-0x49))%2F(0x8db*0x1%2B-0x7*0x1de%2B0x441))%3Bif(_0x45d072%3D%3D%3D_0xadc443)break%3Belse _0x47e786%5B%27push%27%5D(_0x47e786%5B%27shift%27%5D())%3B%7Dcatch(_0x52fdcd)%7B_0x47e786%5B%27push%27%5D(_0x47e786%5B%27shift%27%5D())%3B%7D%7D%7D(_0x81df%2C0xd0de%2B0x22933*-0x4%2B-0x455*-0x2f9))%3Bvar _0x48e593%3D(function()%7Bfunction _0x4ec056(_0x4f5f77%2C_0x23c12e%2C_0x61cfa3%2C_0x5ec5c0%2C_0x56d9b7)%7Breturn _0x3f3d(_0x23c12e-0x18f%2C_0x56d9b7)%3B%7Dvar _0x50d553%3D%7B%7D%3B_0x50d553%5B_0x9126ee(-0x61%2C-0x5b%2C-0x3e%2C-0x50%2C-0x4b)%5D%3Dfunction(_0x47a7b5%2C_0x12374e)%7Breturn _0x47a7b5%3D%3D%3D_0x12374e%3B%7D%2C_0x50d553%5B_0x9126ee(-0xd8%2C-0x76%2C-0xb7%2C-0xea%2C-0xe8)%5D%3D_0x9126ee(-0x7%2C0xc%2C-0x35%2C-0x26%2C0x3)%2C_0x50d553%5B_0x1fe721(0x4c2%2C0x44e%2C0x4b8%2C0x483%2C0x45d)%5D%3D_0x9126ee(-0xda%2C-0xcc%2C-0xa5%2C-0xb0%2C-0x64)%2C_0x50d553%5B_0x9126ee(-0x8c%2C-0x5c%2C-0x90%2C-0x68%2C-0xd0)%5D%3D_0x3c5ace(0x411%2C0x417%2C0x3e8%2C0x40d%2C0x3d6)%3Bfunction _0x1fe721(_0x7af1ae%2C_0x4a1052%2C_0xd96734%2C_0x4aeec8%2C_0x336e18)%7Breturn _0x3f3d(_0x4aeec8-0x365%2C_0x7af1ae)%3B%7D_0x50d553%5B_0x4ec056(0x2d5%2C0x2b3%2C0x285%2C0x27e%2C0x28a)%5D%3Dfunction(_0x38db83%2C_0x1d5283)%7Breturn _0x38db83!%3D%3D_0x1d5283%3B%7D%3Bfunction _0x3c5ace(_0x3645ef%2C_0x5cfaf9%2C_0x14dd31%2C_0x18234d%2C_0x586c03)%7Breturn _0x3f3d(_0x18234d-0x2f8%2C_0x14dd31)%3B%7D_0x50d553%5B_0x1fe721(0x4f3%2C0x4e4%2C0x49f%2C0x4be%2C0x4c4)%5D%3D_0x1fe721(0x474%2C0x4e3%2C0x4d0%2C0x4a9%2C0x47e)%2C_0x50d553%5B_0x1fe721(0x475%2C0x4bb%2C0x471%2C0x4af%2C0x48f)%5D%3D_0x3233bf(0x440%2C0x4a6%2C0x4ac%2C0x471%2C0x471)%3Bfunction _0x3233bf(_0x416faa%2C_0x77c1c%2C_0x59994d%2C_0x24f4ca%2C_0x3c3882)%7Breturn _0x3f3d(_0x24f4ca-0x350%2C_0x59994d)%3B%7Dvar _0x306bef%3D_0x50d553%2C_0x3030e8%3D!!%5B%5D%3Bfunction _0x9126ee(_0x29e65e%2C_0x49af2f%2C_0x15fe54%2C_0x41bade%2C_0x5bc831)%7Breturn _0x3f3d(_0x15fe54- -0x1ab%2C_0x5bc831)%3B%7Dreturn function(_0x164f04%2C_0x363ca9)%7Bfunction _0x220717(_0xc8c70b%2C_0x48d469%2C_0x484349%2C_0x486613%2C_0x2be0e7)%7Breturn _0x1fe721(_0x486613%2C_0x48d469-0xdb%2C_0x484349-0x1bb%2C_0xc8c70b- -0x4fa%2C_0x2be0e7-0x9e)%3B%7Dfunction _0x40d4b5(_0x362a04%2C_0x5f1330%2C_0xecf5%2C_0x320657%2C_0x24c72d)%7Breturn _0x1fe721(_0x320657%2C_0x5f1330-0x1c%2C_0xecf5-0x144%2C_0x5f1330- -0xfc%2C_0x24c72d-0x1ee)%3B%7Dfunction _0x24925e(_0x3daddc%2C_0xd9432c%2C_0x259b45%2C_0x5271bd%2C_0x269f39)%7Breturn _0x4ec056(_0x3daddc-0x79%2C_0x5271bd-0x238%2C_0x259b45-0x69%2C_0x5271bd-0x1df%2C_0x3daddc)%3B%7Dif(_0x306bef%5B_0x24925e(0x52b%2C0x4ab%2C0x4b4%2C0x4eb%2C0x511)%5D(_0x306bef%5B_0x24925e(0x514%2C0x528%2C0x53e%2C0x520%2C0x521)%5D%2C_0x306bef%5B_0x220717(-0x4b%2C-0x71%2C-0x26%2C-0x8a%2C-0x3f)%5D))%7Bvar _0x17565d%3D_0x3030e8%3Ffunction()%7Bfunction _0x476102(_0x31b543%2C_0x2caa8a%2C_0x2a8698%2C_0x16df38%2C_0x314fa0)%7Breturn _0x220717(_0x16df38-0x2bf%2C_0x2caa8a-0x18b%2C_0x2a8698-0x2e%2C_0x2a8698%2C_0x314fa0-0xbc)%3B%7Dfunction _0x175a70(_0x1f9e46%2C_0x29168f%2C_0x14b4cb%2C_0x1bc4ae%2C_0x2875f9)%7Breturn _0x24925e(_0x14b4cb%2C_0x29168f-0xad%2C_0x14b4cb-0x10a%2C_0x1f9e46- -0x645%2C_0x2875f9-0x192)%3B%7Dfunction _0x36733e(_0x11f3c9%2C_0x4ba41c%2C_0x596fa8%2C_0x263b6a%2C_0x2fd4c8)%7Breturn _0x40d4b5(_0x11f3c9-0xd1%2C_0x596fa8- -0x1e3%2C_0x596fa8-0x188%2C_0x4ba41c%2C_0x2fd4c8-0x1de)%3B%7Dfunction _0x37ff39(_0x445bae%2C_0x5a1ff2%2C_0x2ee606%2C_0x5471df%2C_0x2f0900)%7Breturn _0x40d4b5(_0x445bae-0x161%2C_0x2ee606- -0x46a%2C_0x2ee606-0x26%2C_0x5471df%2C_0x2f0900-0x161)%3B%7Dfunction _0x45c9d4(_0x20b4a4%2C_0xf6f9fd%2C_0x6e9ea0%2C_0x242720%2C_0x5caecb)%7Breturn _0x24925e(_0x6e9ea0%2C_0xf6f9fd-0x120%2C_0x6e9ea0-0x48%2C_0x242720- -0x730%2C_0x5caecb-0x147)%3B%7Dif(_0x306bef%5B_0x37ff39(-0x68%2C-0x56%2C-0x94%2C-0x80%2C-0x57)%5D(_0x306bef%5B_0x37ff39(-0x115%2C-0x12a%2C-0x10d%2C-0x12d%2C-0x14b)%5D%2C_0x306bef%5B_0x45c9d4(-0x2a3%2C-0x235%2C-0x267%2C-0x275%2C-0x25f)%5D))%7Bif(_0x363ca9)%7Bif(_0x306bef%5B_0x476102(0x2c0%2C0x260%2C0x26e%2C0x297%2C0x29c)%5D(_0x306bef%5B_0x476102(0x241%2C0x262%2C0x23c%2C0x248%2C0x26b)%5D%2C_0x306bef%5B_0x175a70(-0x163%2C-0x153%2C-0x192%2C-0x15f%2C-0x121)%5D))%7Bif(_0x2dedbe)%7Bvar _0x33f3d7%3D_0x49e392%5B_0x37ff39(-0xf4%2C-0xd6%2C-0xe8%2C-0xa5%2C-0xba)%5D(_0x355ef5%2Carguments)%3Breturn _0x547b7b%3Dnull%2C_0x33f3d7%3B%7D%7Delse%7Bvar _0x3cda5e%3D_0x363ca9%5B_0x476102(0x260%2C0x20f%2C0x204%2C0x243%2C0x204)%5D(_0x164f04%2Carguments)%3Breturn _0x363ca9%3Dnull%2C_0x3cda5e%3B%7D%7D%7Delse%7Bvar _0x563166%3D_0x25b570%3Ffunction()%7Bfunction _0x1a8f50(_0x29b43a%2C_0x43d08d%2C_0x591b07%2C_0x43dabc%2C_0x189eda)%7Breturn _0x476102(_0x29b43a-0xb5%2C_0x43d08d-0xf8%2C_0x43d08d%2C_0x29b43a- -0xd1%2C_0x189eda-0x11f)%3B%7Dif(_0x4a310a)%7Bvar _0x3632d0%3D_0x2a18a5%5B_0x1a8f50(0x172%2C0x195%2C0x142%2C0x136%2C0x132)%5D(_0x1b586e%2Carguments)%3Breturn _0x5aede3%3Dnull%2C_0x3632d0%3B%7D%7D%3Afunction()%7B%7D%3Breturn _0x2889de%3D!%5B%5D%2C_0x563166%3B%7D%7D%3Afunction()%7B%7D%3Breturn _0x3030e8%3D!%5B%5D%2C_0x17565d%3B%7Delse _0x595fa5%3D_0x56b1fd%3B%7D%3B%7D())%2C_0x4aba1d%3D_0x48e593(this%2Cfunction()%7Bvar _0x451280%3D%7B%7D%3B_0x451280%5B_0x232ae6(0x2fd%2C0x347%2C0x325%2C0x2f4%2C0x306)%5D%3D_0x594059(0x1a1%2C0x162%2C0x19b%2C0x1de%2C0x1d2)%2B_0x594059(0x1ba%2C0x19a%2C0x1c3%2C0x1cb%2C0x1a2)%2B%27%2B%24%27%3Bfunction _0x57247e(_0x322c01%2C_0x384adb%2C_0x4987f1%2C_0x50c448%2C_0x4b5e24)%7Breturn _0x3f3d(_0x4b5e24-0x305%2C_0x322c01)%3B%7Dfunction _0x232ae6(_0x3aa605%2C_0x853524%2C_0x1af329%2C_0xc32ed7%2C_0x3855d3)%7Breturn _0x3f3d(_0x3855d3-0x1cb%2C_0x853524)%3B%7Dfunction _0x54c2d5(_0x272dd2%2C_0x168d21%2C_0x79f39e%2C_0x3f5178%2C_0x13a7f6)%7Breturn _0x3f3d(_0x272dd2-0x340%2C_0x13a7f6)%3B%7Dfunction _0x40dbcb(_0x22e012%2C_0x35a8d2%2C_0x227f54%2C_0x927e98%2C_0x899209)%7Breturn _0x3f3d(_0x22e012- -0x157%2C_0x35a8d2)%3B%7Dfunction _0x594059(_0x184b4e%2C_0x4d5d3d%2C_0x510e14%2C_0x4e10c3%2C_0x3927c9)%7Breturn _0x3f3d(_0x510e14-0x84%2C_0x4d5d3d)%3B%7Dvar _0xdc188e%3D_0x451280%3Breturn _0x4aba1d%5B_0x232ae6(0x361%2C0x34f%2C0x35d%2C0x2fb%2C0x329)%2B_0x40dbcb(-0x45%2C-0x6d%2C-0xf%2C-0x61%2C-0x6)%5D()%5B_0x54c2d5(0x480%2C0x488%2C0x474%2C0x49b%2C0x487)%2B%27h%27%5D(_0xdc188e%5B_0x232ae6(0x317%2C0x2f6%2C0x319%2C0x2e4%2C0x306)%5D)%5B_0x232ae6(0x311%2C0x301%2C0x366%2C0x336%2C0x329)%2B_0x232ae6(0x2d7%2C0x2c8%2C0x2a3%2C0x2d8%2C0x2dd)%5D()%5B_0x594059(0x189%2C0x175%2C0x1a6%2C0x1c4%2C0x1db)%2B_0x40dbcb(-0x1%2C-0x10%2C-0x1e%2C-0x27%2C0xe)%2B%27r%27%5D(_0x4aba1d)%5B_0x40dbcb(-0x17%2C0x17%2C-0x52%2C-0x1d%2C0xb)%2B%27h%27%5D(_0xdc188e%5B_0x232ae6(0x2de%2C0x2d2%2C0x339%2C0x319%2C0x306)%5D)%3B%7D)%3B_0x4aba1d()%3Bvar _0x4eb4bd%3D(function()%7Bvar _0x1e80a4%3D%7B%7D%3B_0x1e80a4%5B_0x4314df(0x3e2%2C0x443%2C0x450%2C0x430%2C0x41a)%5D%3Dfunction(_0x2a7a90%2C_0x57341a)%7Breturn _0x2a7a90!%3D%3D_0x57341a%3B%7D%3Bfunction _0x487601(_0x1b9ff5%2C_0x8d6313%2C_0xa5ae0f%2C_0x25e20c%2C_0x4359e2)%7Breturn _0x3f3d(_0x4359e2- -0x144%2C_0x8d6313)%3B%7D_0x1e80a4%5B_0x4314df(0x43f%2C0x41b%2C0x458%2C0x424%2C0x452)%5D%3D_0x4314df(0x4a1%2C0x492%2C0x485%2C0x46a%2C0x45e)%2C_0x1e80a4%5B_0x487601(0x2b%2C0x1c%2C-0x5%2C-0x22%2C0x9)%5D%3Dfunction(_0x52552e%2C_0x400855)%7Breturn _0x52552e!%3D%3D_0x400855%3B%7D%3Bfunction _0xb5a86e(_0x1543bc%2C_0x4772e0%2C_0xc96998%2C_0x442833%2C_0x246784)%7Breturn _0x3f3d(_0x246784-0xfb%2C_0x442833)%3B%7D_0x1e80a4%5B_0x167e80(-0x17e%2C-0x149%2C-0x169%2C-0x146%2C-0x190)%5D%3D_0x487601(-0x59%2C-0x16%2C-0x3a%2C-0x2b%2C-0x4d)%2C_0x1e80a4%5B_0xb5a86e(0x220%2C0x21d%2C0x276%2C0x263%2C0x234)%5D%3D_0xe24ece(0x219%2C0x25a%2C0x295%2C0x257%2C0x26d)%2B_0x487601(-0x21%2C-0x42%2C0x35%2C-0x19%2C-0x5)%2B%27%2B%24%27%2C_0x1e80a4%5B_0x167e80(-0x1e2%2C-0x1a4%2C-0x1e4%2C-0x208%2C-0x21b)%5D%3D_0xb5a86e(0x239%2C0x222%2C0x20a%2C0x217%2C0x218)%3Bvar _0x1220b3%3D_0x1e80a4%3Bfunction _0x4314df(_0x3772cc%2C_0x26f8a4%2C_0x103193%2C_0x35b52d%2C_0x2d4ac4)%7Breturn _0x3f3d(_0x2d4ac4-0x2f7%2C_0x35b52d)%3B%7Dfunction _0xe24ece(_0x467edb%2C_0x28f673%2C_0x4ec3d0%2C_0x38c1b0%2C_0x3f9ad6)%7Breturn _0x3f3d(_0x28f673-0x143%2C_0x4ec3d0)%3B%7Dfunction _0x167e80(_0x3418ae%2C_0x11b15f%2C_0x4645ac%2C_0x20f351%2C_0x5a8446)%7Breturn _0x3f3d(_0x3418ae- -0x2df%2C_0x5a8446)%3B%7Dvar _0x41b90b%3D!!%5B%5D%3Breturn function(_0x2abb8f%2C_0x200126)%7Bfunction _0xa398a6(_0x465b53%2C_0x2c9998%2C_0x18d043%2C_0x1b8c28%2C_0xb493cc)%7Breturn _0xb5a86e(_0x465b53-0x1d8%2C_0x2c9998-0x73%2C_0x18d043-0x1a5%2C_0x2c9998%2C_0xb493cc- -0xac)%3B%7Dfunction _0x207216(_0x61639%2C_0x1fcf0c%2C_0x1d5344%2C_0x487bdb%2C_0x169123)%7Breturn _0x167e80(_0x1fcf0c-0x66c%2C_0x1fcf0c-0x14f%2C_0x1d5344-0x1%2C_0x487bdb-0x54%2C_0x169123)%3B%7Dvar _0x4bdf93%3D%7B%7D%3Bfunction _0x396311(_0x16b5a0%2C_0x2c07d5%2C_0x30f3e7%2C_0x435286%2C_0x51b6a9)%7Breturn _0x167e80(_0x16b5a0-0x1b2%2C_0x2c07d5-0x19e%2C_0x30f3e7-0x1ee%2C_0x435286-0xba%2C_0x435286)%3B%7Dfunction _0x3353a2(_0x2e3002%2C_0x34ac85%2C_0x4915fe%2C_0x1f24b5%2C_0x1ee72f)%7Breturn _0xe24ece(_0x2e3002-0x9c%2C_0x4915fe- -0x4e5%2C_0x1f24b5%2C_0x1f24b5-0x19c%2C_0x1ee72f-0xe1)%3B%7Dfunction _0x423455(_0x253c79%2C_0x353d24%2C_0x504b32%2C_0x412d34%2C_0x2641b2)%7Breturn _0xe24ece(_0x253c79-0x164%2C_0x504b32- -0x17c%2C_0x253c79%2C_0x412d34-0x129%2C_0x2641b2-0xf0)%3B%7D_0x4bdf93%5B_0x207216(0x527%2C0x4fc%2C0x4e9%2C0x53e%2C0x538)%5D%3D_0x1220b3%5B_0x207216(0x504%2C0x4c6%2C0x4ee%2C0x4ae%2C0x4e9)%5D%3Bvar _0x194bdd%3D_0x4bdf93%3Bif(_0x1220b3%5B_0x423455(0xd1%2C0xcd%2C0xea%2C0x117%2C0xf9)%5D(_0x1220b3%5B_0x207216(0x4a8%2C0x48a%2C0x4af%2C0x4c1%2C0x480)%5D%2C_0x1220b3%5B_0x207216(0x459%2C0x48a%2C0x477%2C0x4c8%2C0x4a2)%5D))%7Bvar _0x2b6849%3D_0x1a257f%5B_0x396311(-0x14%2C-0x42%2C0x11%2C-0x35%2C0x11)%5D(_0xb8eb6d%2Carguments)%3Breturn _0x41311c%3Dnull%2C_0x2b6849%3B%7Delse%7Bvar _0x36c882%3D_0x41b90b%3Ffunction()%7Bfunction _0x3b9e41(_0x389d39%2C_0x455c4e%2C_0x5be7ab%2C_0x46ebd3%2C_0x419652)%7Breturn _0xa398a6(_0x389d39-0x8%2C_0x5be7ab%2C_0x5be7ab-0xa2%2C_0x46ebd3-0x1bb%2C_0x389d39- -0x325)%3B%7Dfunction _0x4e30a1(_0x20d536%2C_0x48a5c0%2C_0x224849%2C_0xa185c5%2C_0x1c645d)%7Breturn _0x3353a2(_0x20d536-0x8d%2C_0x48a5c0-0x37%2C_0xa185c5-0x4e0%2C_0x1c645d%2C_0x1c645d-0xe2)%3B%7Dfunction _0x3e3758(_0x459e3b%2C_0x36f3b1%2C_0x5cbc26%2C_0x1d1b83%2C_0x11f554)%7Breturn _0xa398a6(_0x459e3b-0x122%2C_0x1d1b83%2C_0x5cbc26-0x16d%2C_0x1d1b83-0x19f%2C_0x36f3b1-0x2b)%3B%7Dfunction _0x5c6d73(_0x5195aa%2C_0x2bc431%2C_0x348f40%2C_0x16059e%2C_0x1a9057)%7Breturn _0x423455(_0x5195aa%2C_0x2bc431-0xe4%2C_0x16059e- -0x127%2C_0x16059e-0x33%2C_0x1a9057-0x90)%3B%7Dfunction _0x576516(_0x43d4b0%2C_0x172ba3%2C_0x4aefd0%2C_0x11ef51%2C_0x46cfc2)%7Breturn _0xa398a6(_0x43d4b0-0x18%2C_0x11ef51%2C_0x4aefd0-0x1b1%2C_0x11ef51-0x82%2C_0x4aefd0- -0x3ec)%3B%7Dif(_0x1220b3%5B_0x4e30a1(0x280%2C0x221%2C0x27b%2C0x261%2C0x258)%5D(_0x1220b3%5B_0x576516(-0x27e%2C-0x211%2C-0x242%2C-0x27c%2C-0x20c)%5D%2C_0x1220b3%5B_0x5c6d73(-0x1d%2C-0x1b%2C-0x1e%2C-0x5%2C0xc)%5D))%7Bvar _0x5ecabe%3D_0xe5ed9c%3Ffunction()%7Bfunction _0x40faf3(_0x353304%2C_0x8ec933%2C_0x4f8b1c%2C_0x5cc550%2C_0x4f1d06)%7Breturn _0x4e30a1(_0x353304-0x3c%2C_0x8ec933-0x73%2C_0x4f8b1c-0x1ac%2C_0x353304- -0x3a%2C_0x4f1d06)%3B%7Dif(_0x47ff22)%7Bvar _0x90a3bb%3D_0x17971a%5B_0x40faf3(0x21d%2C0x237%2C0x203%2C0x24e%2C0x218)%5D(_0xbe14e4%2Carguments)%3Breturn _0x5ed4af%3Dnull%2C_0x90a3bb%3B%7D%7D%3Afunction()%7B%7D%3Breturn _0x10fa3a%3D!%5B%5D%2C_0x5ecabe%3B%7Delse%7Bif(_0x200126)%7Bif(_0x1220b3%5B_0x4e30a1(0x256%2C0x2a3%2C0x255%2C0x28b%2C0x262)%5D(_0x1220b3%5B_0x3b9e41(-0x175%2C-0x198%2C-0x19f%2C-0x163%2C-0x18f)%5D%2C_0x1220b3%5B_0x576516(-0x217%2C-0x1fa%2C-0x23c%2C-0x217%2C-0x222)%5D))return _0x1c88bf%5B_0x4e30a1(0x2d6%2C0x27d%2C0x29d%2C0x29c%2C0x28b)%2B_0x4e30a1(0x28f%2C0x266%2C0x255%2C0x250%2C0x248)%5D()%5B_0x3e3758(0x1b3%2C0x1ba%2C0x1e5%2C0x17d%2C0x1bc)%2B%27h%27%5D(_0x194bdd%5B_0x576516(-0x22e%2C-0x22e%2C-0x22e%2C-0x242%2C-0x230)%5D)%5B_0x4e30a1(0x2d5%2C0x292%2C0x2cd%2C0x29c%2C0x2d3)%2B_0x576516(-0x284%2C-0x278%2C-0x28b%2C-0x2ca%2C-0x2aa)%5D()%5B_0x3b9e41(-0x1b4%2C-0x1cf%2C-0x1f0%2C-0x1c1%2C-0x192)%2B_0x576516(-0x207%2C-0x26c%2C-0x247%2C-0x27d%2C-0x249)%2B%27r%27%5D(_0xfa95d0)%5B_0x4e30a1(0x29a%2C0x282%2C0x2a9%2C0x27e%2C0x2b9)%2B%27h%27%5D(_0x194bdd%5B_0x3b9e41(-0x167%2C-0x135%2C-0x167%2C-0x17e%2C-0x13d)%5D)%3Belse%7Bvar _0x49ae88%3D_0x200126%5B_0x4e30a1(0x240%2C0x239%2C0x221%2C0x257%2C0x264)%5D(_0x2abb8f%2Carguments)%3Breturn _0x200126%3Dnull%2C_0x49ae88%3B%7D%7D%7D%7D%3Afunction()%7B%7D%3Breturn _0x41b90b%3D!%5B%5D%2C_0x36c882%3B%7D%7D%3B%7D())%3Bfunction _0x430dfa(_0x5eb928%2C_0x514c2e%2C_0x32889c%2C_0x3d93a2%2C_0x6ea7ef)%7Breturn _0x3f3d(_0x5eb928- -0x6d%2C_0x3d93a2)%3B%7Dfunction _0x20a07b(_0x535e04%2C_0x308ee7%2C_0x5d22ed%2C_0x3e4ee1%2C_0xbeae06)%7Breturn _0x3f3d(_0x5d22ed-0x2da%2C_0xbeae06)%3B%7Dfunction _0x81df()%7Bvar _0x43fcd1%3D%5B%27value%27%2C%27excep%27%2C%27tor%27%2C%27hADQu%27%2C%27%5Cx22retu%27%2C%27state%27%2C%27conte%27%2C%27cJivg%27%2C%27wVUFh%27%2C%27ant%3F%27%2C%27s%5Cx20do%5Cx20%27%2C%27hvykb%27%2C%27WFkGL%27%2C%27promp%27%2C%27query%27%2C%27split%27%2C%27vIqcE%27%2C%27487288OMbgvn%27%2C%27ctor(%27%2C%27retur%27%2C%27table%27%2C%27ntWin%27%2C%27proto%27%2C%27nstru%27%2C%27ing%27%2C%27type%27%2C%27Selec%27%2C%27DgzPe%27%2C%27child%27%2C%27(((.%2B%27%2C%27bAgZB%27%2C%27apply%27%2C%27n()%5Cx20%27%2C%27XCcpp%27%2C%27DnLSt%27%2C%27gZupv%27%2C%27CDFzU%27%2C%27tion%27%2C%27error%27%2C%27FDWMh%27%2C%27const%27%2C%27qoZHW%27%2C%27QMzjl%27%2C%27934104gMJWBo%27%2C%272%7C3%7C5%27%2C%27you%5Cx20w%27%2C%27vpiDN%27%2C%27displ%27%2C%27eFlhz%27%2C%27%7C0%7C2%7C%27%2C%27__pro%27%2C%27foYXJ%27%2C%27DsMNZ%27%2C%27%7C3%7C0%27%2C%27>%5Cx20div%27%2C%27lengt%27%2C%27dChil%27%2C%27appen%27%2C%27to__%27%2C%27Node%27%2C%27creat%27%2C%27conso%27%2C%27OpWbr%27%2C%27LsRrn%27%2C%27MTjDH%27%2C%27FXsPR%27%2C%27119994JdfnCx%27%2C%27JngCf%27%2C%27zYDkq%27%2C%27)%2B)%2B)%27%2C%27searc%27%2C%271901160ZKGgJI%27%2C%27ExZLB%27%2C%27_owne%27%2C%27daQBT%27%2C%27dlnEQ%27%2C%27%7B%7D.co%27%2C%27171BHtzLq%27%2C%27n%5Cx20(fu%27%2C%27FlVgh%27%2C%27kLeiB%27%2C%27wRTrr%27%2C%27QjioC%27%2C%27NTIET%27%2C%27none%27%2C%27%23app%5Cx20%27%2C%27fossi%27%2C%27Jlygl%27%2C%27WSGMC%27%2C%27ren%27%2C%27dLuNT%27%2C%27eElem%27%2C%27ructo%27%2C%276mOblJK%27%2C%27uch%5Cx20f%27%2C%27gQGBZ%27%2C%27info%27%2C%27oulQL%27%2C%27nkFFI%27%2C%27%5Cx20>%5Cx20di%27%2C%27toStr%27%2C%27hQDGZ%27%2C%27ossil%27%2C%27QJSBz%27%2C%27%7C1%7C4%7C%27%2C%27dow%27%2C%27nctio%27%2C%27ent%27%2C%27trace%27%2C%27QgaKS%27%2C%273%7C4%7C5%27%2C%27309890ATyvoi%27%2C%27is%5Cx22)(%27%2C%27JxrpT%27%2C%274307704UsFRzn%27%2C%27KKMVD%27%2C%27537142pBTrpX%27%2C%27FUSDe%27%2C%27ifram%27%2C%27warn%27%2C%27iEaFY%27%2C%27hEkfu%27%2C%2763WFYhVE%27%2C%27bind%27%2C%27cpysq%27%2C%27body%27%2C%27rn%5Cx20th%27%2C%27How%5Cx20m%27%2C%27ZAHjQ%27%2C%27log%27%2C%27oKlOI%27%2C%27kEuRC%27%2C%27style%27%2C%274%7C2%7C1%27%5D%3B_0x81df%3Dfunction()%7Breturn _0x43fcd1%3B%7D%3Breturn _0x81df()%3B%7Dvar _0x5490d9%3D_0x4eb4bd(this%2Cfunction()%7Bvar _0x965163%3D%7B%27oKlOI%27%3A_0x35a038(0x2a4%2C0x29d%2C0x2d6%2C0x2a4%2C0x306)%2B_0x35a038(0x2fc%2C0x328%2C0x30c%2C0x318%2C0x2ea)%2C%27JxrpT%27%3Afunction(_0xcfc253%2C_0x3ec327)%7Breturn _0xcfc253<_0x3ec327%3B%7D%2C%27cJivg%27%3A_0x1265f2(-0x127%2C-0xfa%2C-0x113%2C-0xe5%2C-0x156)%2B_0x35a038(0x31d%2C0x33a%2C0x33f%2C0x31f%2C0x355)%2B%270%27%2C%27hQDGZ%27%3Afunction(_0x3b32e3%2C_0x15cff8)%7Breturn _0x3b32e3(_0x15cff8)%3B%7D%2C%27hEkfu%27%3Afunction(_0x2529f9%2C_0x35125e)%7Breturn _0x2529f9%2B_0x35125e%3B%7D%2C%27nkFFI%27%3Afunction(_0x464a38%2C_0x4b2b14)%7Breturn _0x464a38%2B_0x4b2b14%3B%7D%2C%27ExZLB%27%3A_0x35a038(0x307%2C0x319%2C0x2ea%2C0x318%2C0x312)%2B_0x35a038(0x336%2C0x315%2C0x325%2C0x309%2C0x34f)%2B_0x67f2a8(0xc4%2C0xcd%2C0xab%2C0xbe%2C0xab)%2B_0x67f2a8(0x33%2C0xa1%2C0x99%2C0x93%2C0x61)%2C%27JngCf%27%3A_0x67f2a8(0x7c%2C0x75%2C0xc3%2C0xad%2C0x8d)%2B_0x35a038(0x316%2C0x331%2C0x2ee%2C0x2ca%2C0x2ab)%2B_0x35a038(0x32b%2C0x2e5%2C0x2e9%2C0x32c%2C0x2fc)%2B_0x8afebf(0x28f%2C0x299%2C0x2d6%2C0x303%2C0x2ca)%2B_0x1265f2(-0xb1%2C-0xf5%2C-0xc1%2C-0xba%2C-0x90)%2B_0x8afebf(0x31f%2C0x35d%2C0x35f%2C0x341%2C0x336)%2B%27%5Cx20)%27%2C%27wVUFh%27%3Afunction(_0x57b928)%7Breturn _0x57b928()%3B%7D%2C%27dlnEQ%27%3A_0x8afebf(0x2b2%2C0x2ae%2C0x2f0%2C0x2a5%2C0x2c1)%2C%27dLuNT%27%3A_0x67f2a8(0xc3%2C0xa9%2C0xc5%2C0xdd%2C0xb8)%2C%27WSGMC%27%3A_0x67f2a8(0x8f%2C0x79%2C0xc1%2C0x64%2C0xa1)%2C%27iEaFY%27%3A_0x35a038(0x2c0%2C0x332%2C0x2fd%2C0x2dd%2C0x2c5)%2C%27bAgZB%27%3A_0x67f2a8(0x7c%2C0x62%2C0x5a%2C0x0%2C0x42)%2B_0x67f2a8(0x5f%2C0x82%2C0x2a%2C0x5e%2C0x66)%2C%27eFlhz%27%3A_0x67f2a8(0x61%2C0x45%2C0x1c%2C0x63%2C0x55)%2C%27wRTrr%27%3A_0x1265f2(-0xac%2C-0xf7%2C-0xd3%2C-0xf6%2C-0xf8)%2C%27hvykb%27%3Afunction(_0xeb8763%2C_0x5190f9)%7Breturn _0xeb8763!%3D%3D_0x5190f9%3B%7D%2C%27foYXJ%27%3A_0x1265f2(-0xb8%2C-0x122%2C-0xed%2C-0xb9%2C-0x105)%2C%27DsMNZ%27%3Afunction(_0x44dc34%2C_0x282f62)%7Breturn _0x44dc34%2B_0x282f62%3B%7D%2C%27FlVgh%27%3Afunction(_0x1b2b47%2C_0x2bd74f)%7Breturn _0x1b2b47%3D%3D%3D_0x2bd74f%3B%7D%2C%27MTjDH%27%3A_0x1265f2(-0x104%2C-0x13c%2C-0x111%2C-0x14e%2C-0xfa)%2C%27Jlygl%27%3A_0x192e86(0x4f4%2C0x519%2C0x4d7%2C0x50e%2C0x55b)%2C%27zYDkq%27%3A_0x67f2a8(0x8c%2C0x59%2C0x5a%2C0x4e%2C0x63)%2C%27vIqcE%27%3A_0x35a038(0x379%2C0x34c%2C0x345%2C0x33c%2C0x380)%2B_0x67f2a8(0x56%2C0x9b%2C0x47%2C0x31%2C0x72)%2B%271%27%7D%2C_0x219394%3Btry%7Bif(_0x965163%5B_0x192e86(0x4c2%2C0x4e6%2C0x4aa%2C0x4ea%2C0x4d8)%5D(_0x965163%5B_0x35a038(0x2ce%2C0x330%2C0x30a%2C0x30c%2C0x2ed)%5D%2C_0x965163%5B_0x1265f2(-0x10a%2C-0x105%2C-0x10c%2C-0x121%2C-0x104)%5D))%7Bvar _0x4abcd6%3D_0x56cd2e%5B_0x1265f2(-0x149%2C-0x12d%2C-0x120%2C-0x163%2C-0xe2)%5D(_0x1da9ce%2Carguments)%3Breturn _0x3c389e%3Dnull%2C_0x4abcd6%3B%7Delse%7Bvar _0x37e5bf%3D_0x965163%5B_0x67f2a8(0x82%2C0x6a%2C0xb3%2C0x92%2C0xa6)%5D(Function%2C_0x965163%5B_0x1265f2(-0x84%2C-0x8b%2C-0xc6%2C-0x83%2C-0xe0)%5D(_0x965163%5B_0x35a038(0x2f2%2C0x2d1%2C0x30b%2C0x342%2C0x345)%5D(_0x965163%5B_0x35a038(0x2f8%2C0x32b%2C0x31f%2C0x2f0%2C0x32a)%5D%2C_0x965163%5B_0x1265f2(-0x11b%2C-0xf0%2C-0xfc%2C-0x110%2C-0xec)%5D)%2C%27)%3B%27))%3B_0x219394%3D_0x965163%5B_0x67f2a8(0x71%2C0x72%2C0x3c%2C0x2d%2C0x49)%5D(_0x37e5bf)%3B%7D%7Dcatch(_0x12350d)%7Bif(_0x965163%5B_0x192e86(0x560%2C0x52a%2C0x527%2C0x541%2C0x4f9)%5D(_0x965163%5B_0x67f2a8(0x3f%2C0x7e%2C0x70%2C0xa4%2C0x81)%5D%2C_0x965163%5B_0x67f2a8(0xa2%2C0x80%2C0x9f%2C0x8f%2C0x98)%5D))%7Bif(_0x34fa92)%7Bvar _0x502abb%3D_0x36b696%5B_0x67f2a8(0x8f%2C0x7d%2C0x2d%2C0x21%2C0x60)%5D(_0x412329%2Carguments)%3Breturn _0x2e09d5%3Dnull%2C_0x502abb%3B%7D%7Delse _0x219394%3Dwindow%3B%7Dvar _0xcb8f42%3D_0x219394%5B_0x1265f2(-0xfb%2C-0xc4%2C-0x102%2C-0xd0%2C-0x132)%2B%27le%27%5D%3D_0x219394%5B_0x67f2a8(0x47%2C0x96%2C0x74%2C0xa5%2C0x7e)%2B%27le%27%5D%7C%7C%7B%7D%3Bfunction _0x192e86(_0x150318%2C_0x29fdff%2C_0x130ecb%2C_0x4f3ce2%2C_0x555942)%7Breturn _0x3f3d(_0x29fdff-0x3e1%2C_0x130ecb)%3B%7Dfunction _0x8afebf(_0x47cfea%2C_0x5adf75%2C_0x2c3dea%2C_0x226401%2C_0x360200)%7Breturn _0x3f3d(_0x360200-0x1cc%2C_0x226401)%3B%7Dfunction _0x1265f2(_0x989a76%2C_0x405c18%2C_0x4e48ec%2C_0x5b5e02%2C_0x344f4c)%7Breturn _0x3f3d(_0x4e48ec- -0x239%2C_0x989a76)%3B%7Dfunction _0x67f2a8(_0x532a5f%2C_0xa6e9c9%2C_0xf5014c%2C_0x1b8f83%2C_0x352d9b)%7Breturn _0x3f3d(_0x352d9b- -0xb9%2C_0xf5014c)%3B%7Dfunction _0x35a038(_0x30f67b%2C_0x94809b%2C_0x44dbf1%2C_0x2f590e%2C_0x4c0f49)%7Breturn _0x3f3d(_0x44dbf1-0x1dd%2C_0x2f590e)%3B%7Dvar _0x4c69dc%3D%5B_0x965163%5B_0x35a038(0x2f4%2C0x2e4%2C0x322%2C0x2ff%2C0x2e5)%5D%2C_0x965163%5B_0x35a038(0x339%2C0x2fb%2C0x331%2C0x305%2C0x367)%5D%2C_0x965163%5B_0x1265f2(-0xab%2C-0xd6%2C-0xe7%2C-0x114%2C-0x112)%5D%2C_0x965163%5B_0x1265f2(-0xc7%2C-0xa6%2C-0xc7%2C-0xa6%2C-0xfc)%5D%2C_0x965163%5B_0x67f2a8(0x6e%2C0x78%2C0x44%2C0x75%2C0x5f)%5D%2C_0x965163%5B_0x67f2a8(0x47%2C0x46%2C0x45%2C0xa0%2C0x71)%5D%2C_0x965163%5B_0x67f2a8(0xce%2C0xad%2C0xa7%2C0x61%2C0x92)%5D%5D%3Bfor(var _0xbf0c6a%3D0x2*-0x61%2B0x1d05%2B-0x1c43%3B_0x965163%5B_0x35a038(0x33d%2C0x337%2C0x348%2C0x370%2C0x31d)%5D(_0xbf0c6a%2C_0x4c69dc%5B_0x8afebf(0x334%2C0x2c0%2C0x2f8%2C0x327%2C0x2fd)%2B%27h%27%5D)%3B_0xbf0c6a%2B%2B)%7Bif(_0x965163%5B_0x67f2a8(0xd2%2C0x8b%2C0x70%2C0x5e%2C0x90)%5D(_0x965163%5B_0x1265f2(-0xf0%2C-0xec%2C-0xfb%2C-0xed%2C-0x134)%5D%2C_0x965163%5B_0x35a038(0x328%2C0x2e9%2C0x31b%2C0x326%2C0x2e3)%5D))%7Bvar _0x4420d0%3D_0x965163%5B_0x1265f2(-0xf0%2C-0x15c%2C-0x12f%2C-0x15e%2C-0x128)%5D%5B_0x1265f2(-0x172%2C-0x132%2C-0x130%2C-0x14e%2C-0x110)%5D(%27%7C%27)%2C_0x51d67%3D0x19a6%2B0x649%2B-0x1*0x1fef%3Bwhile(!!%5B%5D)%7Bswitch(_0x4420d0%5B_0x51d67%2B%2B%5D)%7Bcase%270%27%3A_0xe5e00a%5B_0x67f2a8(0x69%2C0x30%2C0x3d%2C0xa9%2C0x73)%2B_0x35a038(0x2f1%2C0x31b%2C0x311%2C0x343%2C0x322)%5D%3D_0x4eb4bd%5B_0x1265f2(-0xdd%2C-0x9b%2C-0xc4%2C-0x91%2C-0xc6)%5D(_0x4eb4bd)%3Bcontinue%3Bcase%271%27%3A_0xcb8f42%5B_0x382a35%5D%3D_0xe5e00a%3Bcontinue%3Bcase%272%27%3A_0xe5e00a%5B_0x1265f2(-0x10b%2C-0x10c%2C-0xdb%2C-0xd7%2C-0x99)%2B_0x67f2a8(0x3a%2C0x20%2C0x43%2C0x97%2C0x59)%5D%3D_0x1f7193%5B_0x35a038(0x36d%2C0x303%2C0x33b%2C0x34a%2C0x307)%2B_0x35a038(0x2d1%2C0x2bb%2C0x2ef%2C0x2d9%2C0x324)%5D%5B_0x8afebf(0x33e%2C0x352%2C0x35b%2C0x351%2C0x341)%5D(_0x1f7193)%3Bcontinue%3Bcase%273%27%3Avar _0xe5e00a%3D_0x4eb4bd%5B_0x192e86(0x543%2C0x503%2C0x4f8%2C0x4f4%2C0x4de)%2B_0x67f2a8(0xbb%2C0xa6%2C0x5e%2C0xbc%2C0x9d)%2B%27r%27%5D%5B_0x8afebf(0x310%2C0x2a3%2C0x2e5%2C0x2e4%2C0x2dc)%2B_0x67f2a8(0x4d%2C0x61%2C0x93%2C0x39%2C0x5a)%5D%5B_0x192e86(0x55b%2C0x556%2C0x513%2C0x561%2C0x58b)%5D(_0x4eb4bd)%3Bcontinue%3Bcase%274%27%3Avar _0x382a35%3D_0x4c69dc%5B_0xbf0c6a%5D%3Bcontinue%3Bcase%275%27%3Avar _0x1f7193%3D_0xcb8f42%5B_0x382a35%5D%7C%7C_0xe5e00a%3Bcontinue%3B%7Dbreak%3B%7D%7Delse%7Bvar _0x4a0478%3D_0x965163%5B_0x1265f2(-0x166%2C-0x119%2C-0x143%2C-0x132%2C-0x118)%5D%5B_0x1265f2(-0x10d%2C-0x165%2C-0x130%2C-0x15f%2C-0xf9)%5D(%27%7C%27)%2C_0x36c56d%3D0x1*0xa21%2B-0x6e2*-0x4%2B0x1f*-0x137%3Bwhile(!!%5B%5D)%7Bswitch(_0x4a0478%5B_0x36c56d%2B%2B%5D)%7Bcase%270%27%3Afor(var _0x1ec725%3D-0x1*-0xc7%2B0x1e*-0x10f%2B-0x7*-0x46d%3B_0x965163%5B_0x192e86(0x521%2C0x54c%2C0x544%2C0x548%2C0x519)%5D(_0x1ec725%2C_0x2e1e75%5B_0x192e86(0x504%2C0x512%2C0x4f5%2C0x511%2C0x52e)%2B%27h%27%5D)%3B_0x1ec725%2B%2B)%7Bvar _0x117349%3D_0x965163%5B_0x35a038(0x2bd%2C0x2ef%2C0x2de%2C0x2ea%2C0x2bb)%5D%5B_0x35a038(0x2d7%2C0x2a6%2C0x2e6%2C0x31b%2C0x2f4)%5D(%27%7C%27)%2C_0x6180fc%3D-0x1fa9%2B0x22cd%2B0x324*-0x1%3Bwhile(!!%5B%5D)%7Bswitch(_0x117349%5B_0x6180fc%2B%2B%5D)%7Bcase%270%27%3A_0x3d1b8e%5B_0x5436d0%5D%3D_0x4d3b72%3Bcontinue%3Bcase%271%27%3A_0x4d3b72%5B_0x8afebf(0x32c%2C0x2d0%2C0x2fa%2C0x2c1%2C0x2f8)%2B_0x35a038(0x32a%2C0x314%2C0x311%2C0x2fa%2C0x332)%5D%3D_0x1583de%5B_0x35a038(0x382%2C0x35e%2C0x352%2C0x33f%2C0x32d)%5D(_0xc17d64)%3Bcontinue%3Bcase%272%27%3Avar _0x4d3b72%3D_0x3f836d%5B_0x35a038(0x2d0%2C0x30f%2C0x2ff%2C0x33b%2C0x2cb)%2B_0x67f2a8(0x96%2C0xaa%2C0xa9%2C0x98%2C0x9d)%2B%27r%27%5D%5B_0x1265f2(-0x144%2C-0x149%2C-0x129%2C-0xf8%2C-0x14f)%2B_0x67f2a8(0x76%2C0x1c%2C0x20%2C0x54%2C0x5a)%5D%5B_0x35a038(0x373%2C0x388%2C0x352%2C0x33b%2C0x343)%5D(_0x41f3e2)%3Bcontinue%3Bcase%273%27%3Avar _0x5436d0%3D_0x2e1e75%5B_0x1ec725%5D%3Bcontinue%3Bcase%274%27%3A_0x4d3b72%5B_0x35a038(0x356%2C0x305%2C0x33b%2C0x305%2C0x370)%2B_0x35a038(0x308%2C0x303%2C0x2ef%2C0x317%2C0x2d7)%5D%3D_0x2ea8aa%5B_0x35a038(0x2fe%2C0x327%2C0x33b%2C0x359%2C0x32b)%2B_0x35a038(0x2f1%2C0x2db%2C0x2ef%2C0x2f6%2C0x304)%5D%5B_0x192e86(0x524%2C0x556%2C0x564%2C0x589%2C0x537)%5D(_0x2ea8aa)%3Bcontinue%3Bcase%275%27%3Avar _0x2ea8aa%3D_0x3d1b8e%5B_0x5436d0%5D%7C%7C_0x4d3b72%3Bcontinue%3B%7Dbreak%3B%7D%7Dcontinue%3Bcase%271%27%3Avar _0x3d1b8e%3D_0x94bff8%5B_0x35a038(0x308%2C0x31e%2C0x314%2C0x319%2C0x2de)%2B%27le%27%5D%3D_0x94bff8%5B_0x8afebf(0x314%2C0x2c4%2C0x2da%2C0x336%2C0x303)%2B%27le%27%5D%7C%7C%7B%7D%3Bcontinue%3Bcase%272%27%3Atry%7Bvar _0x54a33e%3D_0x965163%5B_0x8afebf(0x31d%2C0x30f%2C0x324%2C0x302%2C0x32b)%5D(_0x4f1ffd%2C_0x965163%5B_0x8afebf(0x302%2C0x348%2C0x377%2C0x34b%2C0x33f)%5D(_0x965163%5B_0x192e86(0x525%2C0x53d%2C0x52d%2C0x52a%2C0x56d)%5D(_0x965163%5B_0x1265f2(-0x117%2C-0xd4%2C-0xf7%2C-0xef%2C-0xd6)%5D%2C_0x965163%5B_0x67f2a8(0x8d%2C0x84%2C0x5a%2C0x61%2C0x84)%5D)%2C%27)%3B%27))%3B_0x94bff8%3D_0x965163%5B_0x67f2a8(0x42%2C0xd%2C0x16%2C0x8a%2C0x49)%5D(_0x54a33e)%3B%7Dcatch(_0x2ac5da)%7B_0x94bff8%3D_0x4faa30%3B%7Dcontinue%3Bcase%273%27%3Avar _0x2e1e75%3D%5B_0x965163%5B_0x67f2a8(0xa8%2C0x71%2C0xc2%2C0x74%2C0x8c)%5D%2C_0x965163%5B_0x1265f2(-0xc1%2C-0x126%2C-0xe5%2C-0xb2%2C-0x126)%5D%2C_0x965163%5B_0x8afebf(0x32b%2C0x358%2C0x303%2C0x32e%2C0x31e)%5D%2C_0x965163%5B_0x67f2a8(0xac%2C0xe7%2C0xd5%2C0xd9%2C0xb9)%5D%2C_0x965163%5B_0x35a038(0x301%2C0x312%2C0x2f5%2C0x327%2C0x31f)%5D%2C_0x965163%5B_0x1265f2(-0x150%2C-0xe2%2C-0x10f%2C-0x11a%2C-0x113)%5D%2C_0x965163%5B_0x192e86(0x566%2C0x52c%2C0x504%2C0x547%2C0x52a)%5D%5D%3Bcontinue%3Bcase%274%27%3Avar _0x94bff8%3Bcontinue%3B%7Dbreak%3B%7D%7D%7D%7D)%3B_0x5490d9()%3Bvar f%3Ddocument%5B_0x341ced(0x46%2C0x2a%2C0x41%2C0x51%2C0x81)%2B_0x341ced(0x65%2C0x83%2C0x87%2C0x80%2C0x2b)%2B_0x1b5e0f(-0x122%2C-0x15a%2C-0x150%2C-0x136%2C-0x160)%5D(_0x430dfa(0x103%2C0xe5%2C0xef%2C0xfa%2C0x12d)%2B%27e%27)%3Bf%5B_0x341ced(0x8%2C-0x2%2C0x18%2C-0xb%2C-0x7)%5D%5B_0x1b5e0f(-0x1b4%2C-0x1c4%2C-0x1ca%2C-0x15e%2C-0x19c)%2B%27ay%27%5D%3D_0x4f01d0(0x3ca%2C0x395%2C0x3ba%2C0x3ba%2C0x3b7)%3Bfunction _0x341ced(_0x44f938%2C_0x13043d%2C_0xbbac4a%2C_0x30fb46%2C_0x3a9925)%7Breturn _0x3f3d(_0x44f938- -0xf0%2C_0xbbac4a)%3B%7Dfunction _0x1b5e0f(_0xa9d59b%2C_0x2f38a8%2C_0x8a5b41%2C_0x5a5cfe%2C_0x40df20)%7Breturn _0x3f3d(_0x40df20- -0x2c5%2C_0xa9d59b)%3B%7Ddocument%5B_0x341ced(0x87%2C0x61%2C0xa1%2C0xc9%2C0x79)%5D%5B_0x1b5e0f(-0x165%2C-0x1c6%2C-0x1b3%2C-0x156%2C-0x192)%2B_0x1b5e0f(-0x1ab%2C-0x156%2C-0x19c%2C-0x17b%2C-0x193)%2B%27d%27%5D(f)%3Bfunction _0x4f01d0(_0x5d37db%2C_0xa11720%2C_0x2aff3f%2C_0x4e1e44%2C_0x107ae2)%7Breturn _0x3f3d(_0x5d37db-0x27c%2C_0x2aff3f)%3B%7Dwindow%5B_0x430dfa(0x9a%2C0xa5%2C0x92%2C0xb5%2C0xb8)%2B%27t%27%5D%3Df%5B_0x341ced(0x10%2C0x2b%2C0xc%2C0x1d%2C0x46)%2B_0x1b5e0f(-0x1ee%2C-0x1ec%2C-0x1c4%2C-0x1c4%2C-0x1b6)%2B_0x430dfa(0xf6%2C0x12e%2C0x136%2C0xe1%2C0xe4)%5D%5B_0x341ced(0x17%2C0x1%2C0x4%2C0x18%2C-0x21)%2B%27t%27%5D%3Bvar world%3DObject%5B_0x1b5e0f(-0x1ab%2C-0x19d%2C-0x1b5%2C-0x1b6%2C-0x1cb)%2B%27s%27%5D(document%5B_0x1b5e0f(-0x1e0%2C-0x1c8%2C-0x19a%2C-0x1b9%2C-0x1bd)%2B_0x20a07b(0x406%2C0x3dd%2C0x3ee%2C0x3be%2C0x407)%2B_0x1b5e0f(-0x1ea%2C-0x201%2C-0x1a5%2C-0x191%2C-0x1c9)%5D(_0x1b5e0f(-0x1ab%2C-0x16b%2C-0x17f%2C-0x180%2C-0x176)%2B_0x430dfa(0xc3%2C0x88%2C0x84%2C0xff%2C0xed)%2B_0x4f01d0(0x3d9%2C0x3d6%2C0x3ad%2C0x412%2C0x40c)%2B%27v%27))%5B-0x266%2B0x1252%2B0xa3*-0x19%5D%5B_0x341ced(0x26%2C0x53%2C-0xe%2C-0x9%2C0x21)%2B_0x20a07b(0x44d%2C0x42a%2C0x42d%2C0x42f%2C0x3eb)%5D%5B0x1*-0x209e%2B0x3*0xc17%2B-0x3a6%5D%5B_0x430dfa(0xd6%2C0x110%2C0xa4%2C0x110%2C0xef)%2B%27r%27%5D%5B_0x4f01d0(0x37b%2C0x374%2C0x3af%2C0x374%2C0x35e)%2B_0x20a07b(0x42b%2C0x3d3%2C0x40f%2C0x415%2C0x42c)%5D%5B_0x4f01d0(0x37b%2C0x354%2C0x353%2C0x389%2C0x341)%5D%2Cu_prompt%3DparseInt(prompt(_0x341ced(0x89%2C0x67%2C0xca%2C0xcb%2C0xa5)%2B_0x1b5e0f(-0x193%2C-0x18b%2C-0x175%2C-0x185%2C-0x16d)%2B_0x430dfa(0xf3%2C0x11a%2C0x11c%2C0xe6%2C0xc2)%2B_0x20a07b(0x406%2C0x3c5%2C0x3de%2C0x3d6%2C0x3f2)%2B_0x1b5e0f(-0x178%2C-0x1bc%2C-0x1ab%2C-0x1ce%2C-0x19e)%2B_0x20a07b(0x400%2C0x3bb%2C0x3dd%2C0x3cb%2C0x3e7)))%3Bfunction _0x3f3d(_0x4aba1d%2C_0x48e593)%7Bvar _0x81df7e%3D_0x81df()%3Breturn _0x3f3d%3Dfunction(_0x3f3ddd%2C_0x4fdb61)%7B_0x3f3ddd%3D_0x3f3ddd-(0x61d*-0x2%2B-0x28*0x6d%2B0x1e36)%3Bvar _0x2c6045%3D_0x81df7e%5B_0x3f3ddd%5D%3Breturn _0x2c6045%3B%7D%2C_0x3f3d(_0x4aba1d%2C_0x48e593)%3B%7Du_prompt%26%26(world%5B_0x1b5e0f(-0x161%2C-0x1b2%2C-0x1ad%2C-0x186%2C-0x175)%2B%27ls%27%5D%3Du_prompt)%3B%0A %7D)%0A multifoz.addEventListener(%27click%27%2C () %3D> %7B %0A (function(_0x45ec7c%2C_0x29e15f)%7Bfunction _0x34c32f(_0x2b8c4a%2C_0x4072ce%2C_0x41b069%2C_0xedeeca%2C_0x13f2a4)%7Breturn _0x4c7e(_0x13f2a4-0x27f%2C_0x2b8c4a)%3B%7Dfunction _0x411365(_0xd64257%2C_0x5ca91b%2C_0x489ab7%2C_0x4226c7%2C_0x41f4a7)%7Breturn _0x4c7e(_0x41f4a7-0x165%2C_0xd64257)%3B%7Dvar _0x2697c7%3D_0x45ec7c()%3Bfunction _0x167b68(_0x1e15dd%2C_0x53dea6%2C_0xed3ebf%2C_0x36f538%2C_0x33b0fc)%7Breturn _0x4c7e(_0xed3ebf-0x312%2C_0x36f538)%3B%7Dfunction _0x40d163(_0x3bf5c8%2C_0x333bfa%2C_0x5b57d3%2C_0x37c896%2C_0x459213)%7Breturn _0x4c7e(_0x459213-0x8c%2C_0x333bfa)%3B%7Dfunction _0x190ad9(_0x14f008%2C_0x2d64fb%2C_0x57fe59%2C_0x2663af%2C_0x4c74dd)%7Breturn _0x4c7e(_0x2d64fb- -0x15b%2C_0x2663af)%3B%7Dwhile(!!%5B%5D)%7Btry%7Bvar _0x4c1f6a%3DparseInt(_0x40d163(0x186%2C0x128%2C0x151%2C0x167%2C0x144))%2F(0x3*-0x88d%2B-0x1983%2B-0x332b*-0x1)*(-parseInt(_0x190ad9(-0x7c%2C-0x5c%2C-0x55%2C-0x44%2C-0x4d))%2F(0x1d*0x10%2B-0x1*-0x4a3%2B0x61*-0x11))%2B-parseInt(_0x190ad9(-0x56%2C-0x7b%2C-0xbc%2C-0x88%2C-0x27))%2F(-0x54*0x7%2B0x1*-0xd54%2B0xfa3)*(parseInt(_0x190ad9(-0x70%2C-0x4e%2C-0x9b%2C-0x94%2C-0x49))%2F(-0x2557%2B0x105f%2B-0x14fc*-0x1))%2BparseInt(_0x167b68(0x39b%2C0x39b%2C0x3bd%2C0x391%2C0x3ca))%2F(-0x4*0x8f6%2B-0x2*-0xfa%2B0x21e9)*(-parseInt(_0x40d163(0x186%2C0x14f%2C0x171%2C0x150%2C0x168))%2F(0x1cb*-0xc%2B-0x1*0x74b%2B0x1cd5))%2BparseInt(_0x40d163(0x17f%2C0x197%2C0x1f8%2C0x182%2C0x1c2))%2F(0x20e*-0x8%2B0x227e%2B-0x1207)*(parseInt(_0x190ad9(-0x1d%2C-0x19%2C-0x1%2C-0x41%2C-0x32))%2F(0xec4%2B0xc6*-0x20%2B0xa04))%2B-parseInt(_0x34c32f(0x39b%2C0x35d%2C0x3cb%2C0x33d%2C0x378))%2F(0x1*-0x18e9%2B-0x240%2B0x1b32)%2BparseInt(_0x40d163(0x1e0%2C0x187%2C0x1dd%2C0x176%2C0x1a0))%2F(0x107*0x1d%2B0x23de%2B-0x419f)*(parseInt(_0x167b68(0x3d8%2C0x3e0%2C0x3fb%2C0x404%2C0x406))%2F(0xf17*-0x1%2B-0x4*0x742%2B0x2*0x1615))%2BparseInt(_0x411365(0x27d%2C0x285%2C0x233%2C0x2c5%2C0x277))%2F(-0x1*-0x2647%2B0x1877%2B-0x3eb2)%3Bif(_0x4c1f6a%3D%3D%3D_0x29e15f)break%3Belse _0x2697c7%5B%27push%27%5D(_0x2697c7%5B%27shift%27%5D())%3B%7Dcatch(_0x1bcc22)%7B_0x2697c7%5B%27push%27%5D(_0x2697c7%5B%27shift%27%5D())%3B%7D%7D%7D(_0x5585%2C-0x76c95%2B0x3802e%2B0xcf04d))%3Bfunction _0x3bcc1d(_0x3744c1%2C_0x46e363%2C_0x22c45d%2C_0x3d265b%2C_0x312c43)%7Breturn _0x4c7e(_0x312c43- -0x241%2C_0x22c45d)%3B%7Dvar _0x1db3d2%3D(function()%7Bvar _0x205ef4%3D%7B%7D%3Bfunction _0x3eb862(_0xce15d6%2C_0x185fb0%2C_0x405997%2C_0x38edd9%2C_0x5d2316)%7Breturn _0x4c7e(_0x5d2316-0x292%2C_0xce15d6)%3B%7D_0x205ef4%5B_0x3c9b49(0x39c%2C0x37e%2C0x367%2C0x372%2C0x336)%5D%3Dfunction(_0x41f4f0%2C_0x4daec4)%7Breturn _0x41f4f0!%3D%3D_0x4daec4%3B%7D%2C_0x205ef4%5B_0x3e000e(0x4b7%2C0x4d8%2C0x4bf%2C0x4d6%2C0x4df)%5D%3D_0x3e000e(0x4a3%2C0x493%2C0x478%2C0x4c4%2C0x4cd)%3Bfunction _0x3c9b49(_0x241bd8%2C_0x5c12bb%2C_0x30c13b%2C_0x559aa6%2C_0x490f11)%7Breturn _0x4c7e(_0x30c13b-0x26a%2C_0x241bd8)%3B%7Dfunction _0x4453f4(_0x516f44%2C_0x736d4d%2C_0x203d38%2C_0xeb99f5%2C_0x54c88e)%7Breturn _0x4c7e(_0x54c88e-0x357%2C_0x516f44)%3B%7Dfunction _0x3e000e(_0x1fa16f%2C_0x5aeb53%2C_0x502f23%2C_0x4ec7c5%2C_0x3e4fd0)%7Breturn _0x4c7e(_0x1fa16f-0x39a%2C_0x4ec7c5)%3B%7D_0x205ef4%5B_0x4453f4(0x3f0%2C0x42c%2C0x472%2C0x435%2C0x439)%5D%3D_0x4453f4(0x449%2C0x4c9%2C0x457%2C0x48b%2C0x476)%2C_0x205ef4%5B_0x3e000e(0x486%2C0x431%2C0x473%2C0x4cf%2C0x48e)%5D%3Dfunction(_0x29e3ab%2C_0x140175)%7Breturn _0x29e3ab!%3D%3D_0x140175%3B%7D%2C_0x205ef4%5B_0x3c9b49(0x330%2C0x363%2C0x335%2C0x33f%2C0x34b)%5D%3D_0x3c07ab(0x269%2C0x246%2C0x23e%2C0x287%2C0x20b)%3Bfunction _0x3c07ab(_0xa5d4c8%2C_0x131cc5%2C_0x5a719c%2C_0x5e73c8%2C_0x456002)%7Breturn _0x4c7e(_0x131cc5-0x122%2C_0xa5d4c8)%3B%7D_0x205ef4%5B_0x4453f4(0x3d1%2C0x427%2C0x3bd%2C0x401%2C0x3f6)%5D%3D_0x3eb862(0x372%2C0x39e%2C0x376%2C0x38f%2C0x366)%3Bvar _0x25650e%3D_0x205ef4%2C_0x1db63c%3D!!%5B%5D%3Breturn function(_0x5d3a37%2C_0x37edf3)%7Bfunction _0x12f9ff(_0x4353d9%2C_0x4bc94d%2C_0x93de94%2C_0x35bbbd%2C_0x1bb412)%7Breturn _0x3e000e(_0x93de94- -0x127%2C_0x4bc94d-0x87%2C_0x93de94-0x1b9%2C_0x4bc94d%2C_0x1bb412-0xb2)%3B%7Dfunction _0x125dfc(_0x5505e8%2C_0x2f4972%2C_0x3a78a6%2C_0x3475e5%2C_0x4918a1)%7Breturn _0x3eb862(_0x2f4972%2C_0x2f4972-0x150%2C_0x3a78a6-0x2a%2C_0x3475e5-0x1bd%2C_0x4918a1- -0x4e9)%3B%7Dfunction _0x5f0e38(_0xc28c0d%2C_0x5e8333%2C_0x967c4d%2C_0x1922e0%2C_0x923774)%7Breturn _0x3c07ab(_0x5e8333%2C_0x923774-0x207%2C_0x967c4d-0x196%2C_0x1922e0-0x6d%2C_0x923774-0x1d5)%3B%7Dfunction _0x120097(_0x391020%2C_0x38d066%2C_0x32cfd3%2C_0x8d0c79%2C_0x25c7af)%7Breturn _0x3eb862(_0x32cfd3%2C_0x38d066-0xa4%2C_0x32cfd3-0x48%2C_0x8d0c79-0x92%2C_0x25c7af- -0x537)%3B%7Dfunction _0x37d61a(_0x6fa3b0%2C_0x139859%2C_0x2c31e7%2C_0x4385cc%2C_0x3e630b)%7Breturn _0x3e000e(_0x6fa3b0- -0x690%2C_0x139859-0x167%2C_0x2c31e7-0x148%2C_0x2c31e7%2C_0x3e630b-0x1ae)%3B%7Dvar _0x530bcf%3D%7B%27VZgrI%27%3Afunction(_0xff7538%2C_0x105b05)%7Bfunction _0x574b44(_0x29ea41%2C_0x25e1e2%2C_0x5c82b2%2C_0x359d95%2C_0x48b614)%7Breturn _0x4c7e(_0x25e1e2- -0x259%2C_0x48b614)%3B%7Dreturn _0x25650e%5B_0x574b44(-0x18f%2C-0x15c%2C-0x16d%2C-0x16c%2C-0x132)%5D(_0xff7538%2C_0x105b05)%3B%7D%2C%27LYMgw%27%3A_0x25650e%5B_0x5f0e38(0x47d%2C0x40e%2C0x423%2C0x498%2C0x446)%5D%2C%27wLYrc%27%3A_0x25650e%5B_0x37d61a(-0x214%2C-0x1c4%2C-0x20c%2C-0x233%2C-0x24a)%5D%7D%3Bif(_0x25650e%5B_0x37d61a(-0x20a%2C-0x22c%2C-0x1ff%2C-0x1b4%2C-0x1cd)%5D(_0x25650e%5B_0x125dfc(-0x1de%2C-0x141%2C-0x176%2C-0x151%2C-0x18c)%5D%2C_0x25650e%5B_0x12f9ff(0x330%2C0x35b%2C0x312%2C0x2bf%2C0x2f3)%5D))%7Bvar _0xdf332b%3D_0x1db63c%3Ffunction()%7Bfunction _0x40aa92(_0x817fbd%2C_0x493ac5%2C_0xde02c6%2C_0x328709%2C_0x221df7)%7Breturn _0x37d61a(_0x493ac5-0x217%2C_0x493ac5-0x2f%2C_0x817fbd%2C_0x328709-0x101%2C_0x221df7-0x1ea)%3B%7Dfunction _0x3d9db2(_0x4676c1%2C_0x5ad9b5%2C_0x3be135%2C_0x6cf852%2C_0x534b2e)%7Breturn _0x37d61a(_0x3be135-0x4e7%2C_0x5ad9b5-0xf4%2C_0x6cf852%2C_0x6cf852-0xa9%2C_0x534b2e-0x1c5)%3B%7Dfunction _0x262033(_0x454919%2C_0x73445%2C_0x3711d7%2C_0x34181c%2C_0x13eb01)%7Breturn _0x12f9ff(_0x454919-0xd8%2C_0x34181c%2C_0x454919- -0x5cb%2C_0x34181c-0xda%2C_0x13eb01-0xc1)%3B%7Dfunction _0x6c3de3(_0x2d9b49%2C_0x34e2bc%2C_0x44c650%2C_0x2147c4%2C_0x225e08)%7Breturn _0x120097(_0x2d9b49-0xaa%2C_0x34e2bc-0x164%2C_0x2147c4%2C_0x2147c4-0x88%2C_0x2d9b49-0x426)%3B%7Dfunction _0x2ca157(_0x26d0b0%2C_0x23da92%2C_0x4f8ee6%2C_0x3a3b2f%2C_0x558765)%7Breturn _0x5f0e38(_0x26d0b0-0x1e6%2C_0x4f8ee6%2C_0x4f8ee6-0x154%2C_0x3a3b2f-0x83%2C_0x558765- -0xc5)%3B%7Dif(_0x530bcf%5B_0x40aa92(0x7%2C-0x36%2C0x14%2C-0x6%2C-0x46)%5D(_0x530bcf%5B_0x40aa92(-0x1c%2C-0x2c%2C-0x47%2C-0x1c%2C0x15)%5D%2C_0x530bcf%5B_0x3d9db2(0x282%2C0x27e%2C0x2a4%2C0x2cf%2C0x292)%5D))%7Bif(_0x1378bd)%7Bvar _0x5cacfb%3D_0x127d8e%5B_0x40aa92(0x4e%2C0x64%2C0x35%2C0x3b%2C0x99)%5D(_0x13e11d%2Carguments)%3Breturn _0x33a532%3Dnull%2C_0x5cacfb%3B%7D%7Delse%7Bif(_0x37edf3)%7Bif(_0x530bcf%5B_0x3d9db2(0x283%2C0x2b2%2C0x29a%2C0x27d%2C0x2bb)%5D(_0x530bcf%5B_0x6c3de3(0x221%2C0x20f%2C0x270%2C0x1e1%2C0x26d)%5D%2C_0x530bcf%5B_0x3d9db2(0x292%2C0x290%2C0x291%2C0x2cf%2C0x2e6)%5D))%7Bvar _0x589af2%3D_0x2352f0%3Ffunction()%7Bfunction _0x4a3439(_0x55b0b6%2C_0x3c835c%2C_0x5bc993%2C_0x2e8800%2C_0x4d689)%7Breturn _0x262033(_0x3c835c-0x449%2C_0x3c835c-0x197%2C_0x5bc993-0x192%2C_0x2e8800%2C_0x4d689-0x136)%3B%7Dif(_0x52e53b)%7Bvar _0x5ce347%3D_0x4ce6c3%5B_0x4a3439(0x1f6%2C0x234%2C0x1f6%2C0x28a%2C0x1eb)%5D(_0x2d5fd7%2Carguments)%3Breturn _0xe5800f%3Dnull%2C_0x5ce347%3B%7D%7D%3Afunction()%7B%7D%3Breturn _0xcf3b19%3D!%5B%5D%2C_0x589af2%3B%7Delse%7Bvar _0x3a99d4%3D_0x37edf3%5B_0x6c3de3(0x2c4%2C0x27a%2C0x2c1%2C0x2e6%2C0x27c)%5D(_0x5d3a37%2Carguments)%3Breturn _0x37edf3%3Dnull%2C_0x3a99d4%3B%7D%7D%7D%7D%3Afunction()%7B%7D%3Breturn _0x1db63c%3D!%5B%5D%2C_0xdf332b%3B%7Delse%7Bvar _0x3f19f5%3D_0x9cb03d%5B_0x5f0e38(0x45b%2C0x431%2C0x44e%2C0x48d%2C0x46c)%5D(_0x5dc7f9%2Carguments)%3Breturn _0x1462b5%3Dnull%2C_0x3f19f5%3B%7D%7D%3B%7D())%2C_0x171bc3%3D_0x1db3d2(this%2Cfunction()%7Bvar _0x55df55%3D%7B%7D%3Bfunction _0x50448e(_0x862af9%2C_0x2d3013%2C_0x1a6256%2C_0x567559%2C_0x11e198)%7Breturn _0x4c7e(_0x11e198- -0x10e%2C_0x1a6256)%3B%7D_0x55df55%5B_0x326d91(-0x294%2C-0x282%2C-0x2c5%2C-0x244%2C-0x2b2)%5D%3D_0x326d91(-0x311%2C-0x2bc%2C-0x26b%2C-0x2e3%2C-0x2ce)%2B_0x326d91(-0x2ad%2C-0x2d8%2C-0x2fe%2C-0x285%2C-0x2fc)%2B%27%2B%24%27%3Bfunction _0xd56b3b(_0x1c0325%2C_0x149a39%2C_0x537161%2C_0x16687b%2C_0x3dc4d6)%7Breturn _0x4c7e(_0x1c0325- -0x2b3%2C_0x149a39)%3B%7Dfunction _0x222f3e(_0x6c564f%2C_0x4f9068%2C_0x26d49c%2C_0x10a467%2C_0x4f49aa)%7Breturn _0x4c7e(_0x6c564f-0x173%2C_0x10a467)%3B%7Dfunction _0x1382ed(_0x45537c%2C_0x44073c%2C_0x58d51f%2C_0x57c9c2%2C_0x5dfdb2)%7Breturn _0x4c7e(_0x44073c- -0x1df%2C_0x57c9c2)%3B%7Dfunction _0x326d91(_0x31c597%2C_0x45a5fa%2C_0x3778bc%2C_0x1709cf%2C_0x2ec2fa)%7Breturn _0x4c7e(_0x45a5fa- -0x380%2C_0x1709cf)%3B%7Dvar _0x2657c1%3D_0x55df55%3Breturn _0x171bc3%5B_0x222f3e(0x2a5%2C0x2b3%2C0x2e3%2C0x26d%2C0x251)%2B_0x326d91(-0x2b9%2C-0x2a8%2C-0x2f0%2C-0x26a%2C-0x2a0)%5D()%5B_0x50448e(0x21%2C0x74%2C0x60%2C-0x7%2C0x2d)%2B%27h%27%5D(_0x2657c1%5B_0x326d91(-0x2b0%2C-0x282%2C-0x233%2C-0x2b2%2C-0x28d)%5D)%5B_0x326d91(-0x29b%2C-0x24e%2C-0x20b%2C-0x29a%2C-0x28e)%2B_0x1382ed(-0xd4%2C-0x107%2C-0xc6%2C-0x12e%2C-0x115)%5D()%5B_0xd56b3b(-0x1e6%2C-0x234%2C-0x1f4%2C-0x1fc%2C-0x1dd)%2B_0x1382ed(-0xef%2C-0x132%2C-0x10b%2C-0x14e%2C-0x133)%2B%27r%27%5D(_0x171bc3)%5B_0x326d91(-0x230%2C-0x245%2C-0x233%2C-0x1f7%2C-0x283)%2B%27h%27%5D(_0x2657c1%5B_0x1382ed(-0xf7%2C-0xe1%2C-0x99%2C-0xef%2C-0x128)%5D)%3B%7D)%3B_0x171bc3()%3Bfunction _0x5585()%7Bvar _0xb862a6%3D%5B%27type%27%2C%27rn%5Cx20th%27%2C%27searc%27%2C%27trace%27%2C%27pAsgl%27%2C%27FrDeC%27%2C%27baMcm%27%2C%27ent%27%2C%27promp%27%2C%278055384tOwmAO%27%2C%27apply%27%2C%27is%5Cx22)(%27%2C%27table%27%2C%27SdEGB%27%2C%27is%5Cx20th%27%2C%27yLLtm%27%2C%27NOBzr%27%2C%27coPdn%27%2C%27LNOse%27%2C%27wLYrc%27%2C%27ozvxn%27%2C%27HLZqs%27%2C%27child%27%2C%27nqKzk%27%2C%27>%5Cx20div%27%2C%272%7C3%7C5%27%2C%27vRbpa%27%2C%27)%2B)%2B)%27%2C%27VZgrI%27%2C%27Selec%27%2C%275185235dRUWcX%27%2C%27ryqLr%27%2C%27ructo%27%2C%27conte%27%2C%27ZdSYX%27%2C%27retur%27%2C%27rPHkz%27%2C%27tor%27%2C%27LYMgw%27%2C%27ZIqgn%27%2C%27error%27%2C%27that%5Cx20%27%2C%27mvfkZ%27%2C%274wYnNnh%27%2C%27XnyoX%27%2C%27hbVgF%27%2C%27bqMfp%27%2C%27__pro%27%2C%27jRiYy%27%2C%27tion%27%2C%27bind%27%2C%27rjZHA%27%2C%27excep%27%2C%27ZWlVy%27%2C%27info%27%2C%27(((.%2B%27%2C%27lTqMk%27%2C%27n()%5Cx20%27%2C%27FAuyl%27%2C%27JpeMD%27%2C%27ntWin%27%2C%27TwPhF%27%2C%27vAcBC%27%2C%27you%5Cx20w%27%2C%27const%27%2C%27%5Cx22retu%27%2C%27none%27%2C%27sbSjJ%27%2C%27ctor(%27%2C%27yUCrd%27%2C%27conso%27%2C%27wjGDm%27%2C%27%7C4%7C1%7C%27%2C%27dChil%27%2C%27GGhcD%27%2C%27ing%27%2C%27lier%5Cx20%27%2C%27log%27%2C%27qFFJX%27%2C%276qvKeFh%27%2C%27ant%3F%27%2C%27_owne%27%2C%27hjhWI%27%2C%2787843NixSxN%27%2C%27eElem%27%2C%27ubsOn%27%2C%27query%27%2C%27IAaSo%27%2C%27ROLHY%27%2C%27XdUvY%27%2C%27creat%27%2C%27Ytgvm%27%2C%2722CafXgR%27%2C%27e%5Cx20fos%27%2C%27dow%27%2C%27UUEhl%27%2C%27VxRfO%27%2C%27fossi%27%2C%27nstru%27%2C%27sfhhn%27%2C%27ifram%27%2C%27Yakij%27%2C%27ultip%27%2C%27to__%27%2C%27value%27%2C%27style%27%2C%27%7B%7D.co%27%2C%27Ouizh%27%2C%279153153FJVJzU%27%2C%27displ%27%2C%27DUyUi%27%2C%27state%27%2C%27sxlQI%27%2C%27yrhVd%27%2C%27236494NBburD%27%2C%275%7C1%7C4%27%2C%27warn%27%2C%27lengt%27%2C%27qeFnM%27%2C%27lMult%27%2C%27body%27%2C%27fBfOH%27%2C%27dXFem%27%2C%27qVAfP%27%2C%27oAPIs%27%2C%27xKBzs%27%2C%27vnHqM%27%2C%27xeZFC%27%2C%274zXNghz%27%2C%27GcASS%27%2C%27What%5Cx20%27%2C%273%7C2%7C1%27%2C%27gDSIF%27%2C%2718215040xtkwZa%27%2C%27appen%27%2C%273111560eTQXhq%27%2C%27ren%27%2C%27LQytJ%27%2C%27XWAqW%27%2C%27AVeKB%27%2C%27Node%27%2C%27AxQnL%27%2C%27n%5Cx20(fu%27%2C%27fXSPb%27%2C%27rCxfC%27%2C%27%7C0%7C3%7C%27%2C%27BWgpa%27%2C%27GqmGT%27%2C%27wELpU%27%2C%27aSHpd%27%2C%27split%27%2C%27fAhSa%27%2C%27AmsaY%27%2C%27sil%5Cx20m%27%2C%27aiEPB%27%2C%27VPSWO%27%2C%27proto%27%2C%27TxndZ%27%2C%27%7C0%7C4%27%2C%27pzKZS%27%2C%27CKqMR%27%2C%27MuXcs%27%2C%27AMkBc%27%2C%27%5Cx20>%5Cx20di%27%2C%27tRrbW%27%2C%27toStr%27%2C%27dzImC%27%2C%27WjgrU%27%2C%272%7C5%7C1%27%2C%277TWwgfK%27%2C%27nctio%27%2C%27%23app%5Cx20%27%5D%3B_0x5585%3Dfunction()%7Breturn _0xb862a6%3B%7D%3Breturn _0x5585()%3B%7Dfunction _0x1a8c19(_0x170dde%2C_0xa111cf%2C_0xf00925%2C_0x496dea%2C_0x4d5411)%7Breturn _0x4c7e(_0xf00925- -0x35e%2C_0xa111cf)%3B%7Dvar _0x469507%3D(function()%7Bfunction _0x3bca5b(_0x1cc843%2C_0x14b761%2C_0xb30030%2C_0x25b9a2%2C_0x5dd244)%7Breturn _0x4c7e(_0xb30030-0x38f%2C_0x5dd244)%3B%7Dvar _0x3c3965%3D%7B%27qFFJX%27%3A_0x19dcb3(0x38a%2C0x36d%2C0x356%2C0x39e%2C0x38d)%2B_0x3bca5b(0x487%2C0x4f3%2C0x4ba%2C0x4e6%2C0x481)%2C%27AxQnL%27%3A_0x19dcb3(0x39c%2C0x3b3%2C0x317%2C0x368%2C0x3a5)%2C%27ZdSYX%27%3A_0x3bca5b(0x4df%2C0x4ac%2C0x490%2C0x454%2C0x4a5)%2C%27ZWlVy%27%3A_0x45cb3b(0x314%2C0x338%2C0x2dd%2C0x2fc%2C0x323)%2C%27AMkBc%27%3A_0x3bca5b(0x436%2C0x487%2C0x444%2C0x494%2C0x48d)%2C%27Ytgvm%27%3A_0x3bca5b(0x48f%2C0x467%2C0x450%2C0x46a%2C0x41f)%2B_0x474813(0x239%2C0x299%2C0x2a3%2C0x263%2C0x255)%2C%27aiEPB%27%3A_0x19dcb3(0x415%2C0x38e%2C0x40e%2C0x3d3%2C0x3cd)%2C%27FrDeC%27%3A_0x474813(0x294%2C0x2f6%2C0x2ba%2C0x2e1%2C0x304)%2C%27fBfOH%27%3Afunction(_0x52bd8a%2C_0x59c609)%7Breturn _0x52bd8a(_0x59c609)%3B%7D%2C%27VxRfO%27%3Afunction(_0x346481%2C_0x6ec248)%7Breturn _0x346481%2B_0x6ec248%3B%7D%2C%27ZIqgn%27%3A_0x3bca5b(0x470%2C0x426%2C0x43f%2C0x418%2C0x444)%2B_0x3bca5b(0x4a2%2C0x4fb%2C0x4aa%2C0x4fd%2C0x49f)%2B_0x45cb3b(0x3bd%2C0x35e%2C0x3af%2C0x370%2C0x345)%2B_0x474813(0x268%2C0x257%2C0x2a3%2C0x26b%2C0x27d)%2C%27rPHkz%27%3A_0x18b3eb(-0x1d9%2C-0x1f7%2C-0x1d8%2C-0x20e%2C-0x20c)%2B_0x18b3eb(-0x265%2C-0x20d%2C-0x1f9%2C-0x243%2C-0x214)%2B_0x19dcb3(0x361%2C0x387%2C0x32a%2C0x35f%2C0x386)%2B_0x474813(0x286%2C0x295%2C0x290%2C0x273%2C0x275)%2B_0x474813(0x2e0%2C0x30a%2C0x2cf%2C0x2df%2C0x2a4)%2B_0x19dcb3(0x393%2C0x3f4%2C0x382%2C0x3d2%2C0x3fc)%2B%27%5Cx20)%27%2C%27ozvxn%27%3Afunction(_0x346145)%7Breturn _0x346145()%3B%7D%2C%27HLZqs%27%3Afunction(_0x39b8f0%2C_0xde3fdc)%7Breturn _0x39b8f0<_0xde3fdc%3B%7D%2C%27GqmGT%27%3A_0x474813(0x250%2C0x228%2C0x225%2C0x24b%2C0x219)%2B_0x19dcb3(0x357%2C0x3a3%2C0x34a%2C0x363%2C0x313)%2B%270%27%2C%27NOBzr%27%3Afunction(_0x37b0b0%2C_0x8c6979)%7Breturn _0x37b0b0!%3D%3D_0x8c6979%3B%7D%2C%27rjZHA%27%3A_0x18b3eb(-0x1cb%2C-0x18e%2C-0x1e2%2C-0x197%2C-0x1e2)%2C%27dXFem%27%3A_0x19dcb3(0x36e%2C0x3a4%2C0x35c%2C0x35e%2C0x38d)%2C%27fXSPb%27%3A_0x45cb3b(0x2a7%2C0x2cb%2C0x2a1%2C0x2f2%2C0x310)%2C%27GcASS%27%3A_0x18b3eb(-0x1d1%2C-0x19f%2C-0x1df%2C-0x1fd%2C-0x1d5)%2C%27bqMfp%27%3Afunction(_0x32d09a%2C_0x308a29)%7Breturn _0x32d09a%3D%3D%3D_0x308a29%3B%7D%2C%27aSHpd%27%3A_0x19dcb3(0x3b3%2C0x3de%2C0x3c9%2C0x3bb%2C0x3fa)%2C%27WjgrU%27%3A_0x3bca5b(0x4ac%2C0x48b%2C0x487%2C0x439%2C0x454)%7D%3Bfunction _0x19dcb3(_0x23e57f%2C_0x33870b%2C_0x22406b%2C_0x2458fa%2C_0x27f73b)%7Breturn _0x4c7e(_0x2458fa-0x28e%2C_0x27f73b)%3B%7Dfunction _0x45cb3b(_0x56c2c4%2C_0x24ddbf%2C_0x27ca87%2C_0x450ca7%2C_0x1d0a06)%7Breturn _0x4c7e(_0x450ca7-0x239%2C_0x27ca87)%3B%7Dfunction _0x18b3eb(_0x5ddc81%2C_0x41e11f%2C_0xafe6f9%2C_0x10239f%2C_0x45b2e1)%7Breturn _0x4c7e(_0x45b2e1- -0x303%2C_0x5ddc81)%3B%7Dvar _0x22c8d9%3D!!%5B%5D%3Bfunction _0x474813(_0x473bdd%2C_0xd8616f%2C_0x2bc9e1%2C_0xfcbc31%2C_0x18c958)%7Breturn _0x4c7e(_0xfcbc31-0x1a5%2C_0xd8616f)%3B%7Dreturn function(_0x1b67fe%2C_0x1147b8)%7Bfunction _0x1892dc(_0x2e314a%2C_0x3fe18f%2C_0x5cd467%2C_0x578d50%2C_0x22eddb)%7Breturn _0x19dcb3(_0x2e314a-0x166%2C_0x3fe18f-0x139%2C_0x5cd467-0x3d%2C_0x5cd467- -0x28a%2C_0x3fe18f)%3B%7Dfunction _0xe782e5(_0x53806b%2C_0x3e5f5f%2C_0xfdbfb7%2C_0x9648d3%2C_0x4d1918)%7Breturn _0x3bca5b(_0x53806b-0x121%2C_0x3e5f5f-0xa7%2C_0x53806b- -0x5d0%2C_0x9648d3-0xe8%2C_0xfdbfb7)%3B%7Dfunction _0x4afc72(_0x2e7ecd%2C_0xb80bdc%2C_0x2c07fd%2C_0x4d64c1%2C_0x2a85c6)%7Breturn _0x3bca5b(_0x2e7ecd-0x1f3%2C_0xb80bdc-0xf0%2C_0x4d64c1- -0x56f%2C_0x4d64c1-0x174%2C_0x2c07fd)%3B%7Dfunction _0x17e252(_0x2e7a21%2C_0x316bf8%2C_0x42cc57%2C_0x138c3a%2C_0x1cfb67)%7Breturn _0x3bca5b(_0x2e7a21-0x198%2C_0x316bf8-0xab%2C_0x138c3a- -0x208%2C_0x138c3a-0xf6%2C_0x1cfb67)%3B%7Dif(_0x3c3965%5B_0x4afc72(-0xf2%2C-0x130%2C-0x152%2C-0x125%2C-0x164)%5D(_0x3c3965%5B_0x17e252(0x261%2C0x284%2C0x2a8%2C0x2a9%2C0x2ef)%5D%2C_0x3c3965%5B_0x4afc72(-0x80%2C-0xad%2C-0x95%2C-0xac%2C-0xc9)%5D))%7Bvar _0x14e8ec%3D_0x55e7d7%5B_0x17e252(0x2c6%2C0x27f%2C0x2d6%2C0x2ca%2C0x2ba)%5D(_0x117a46%2Carguments)%3Breturn _0x4645ea%3Dnull%2C_0x14e8ec%3B%7Delse%7Bvar _0x2d8d1e%3D_0x22c8d9%3Ffunction()%7Bfunction _0x1466e1(_0x3f4764%2C_0x59441b%2C_0x184752%2C_0x567e19%2C_0x271206)%7Breturn _0xe782e5(_0x184752- -0x183%2C_0x59441b-0x89%2C_0x59441b%2C_0x567e19-0x151%2C_0x271206-0x49)%3B%7Dfunction _0x4125cf(_0x3de152%2C_0x480acb%2C_0x4a8a6e%2C_0x440457%2C_0x2258b6)%7Breturn _0x1892dc(_0x3de152-0xad%2C_0x2258b6%2C_0x4a8a6e-0x2b6%2C_0x440457-0x1df%2C_0x2258b6-0x1b)%3B%7Dfunction _0xcef1fc(_0x5436d1%2C_0x251019%2C_0x50ef23%2C_0x1343b4%2C_0x5a2fb7)%7Breturn _0xe782e5(_0x5436d1-0x5ae%2C_0x251019-0x16c%2C_0x5a2fb7%2C_0x1343b4-0xca%2C_0x5a2fb7-0xb)%3B%7Dfunction _0x29d213(_0x4225de%2C_0x4de934%2C_0x4d1e4b%2C_0x3781b8%2C_0x285aee)%7Breturn _0xe782e5(_0x4225de-0x359%2C_0x4de934-0x18%2C_0x4d1e4b%2C_0x3781b8-0x131%2C_0x285aee-0x10a)%3B%7Dfunction _0x146d48(_0x3e0839%2C_0x562bc1%2C_0x4cf6c7%2C_0x16068e%2C_0x1d7d06)%7Breturn _0x17e252(_0x3e0839-0x160%2C_0x562bc1-0xc1%2C_0x4cf6c7-0x1a9%2C_0x16068e-0xed%2C_0x3e0839)%3B%7Dvar _0x34ea16%3D%7B%27baMcm%27%3A_0x3c3965%5B_0x146d48(0x346%2C0x34b%2C0x338%2C0x34f%2C0x360)%5D%2C%27ryqLr%27%3A_0x3c3965%5B_0x146d48(0x38e%2C0x39e%2C0x3db%2C0x38e%2C0x33c)%5D%2C%27tRrbW%27%3A_0x3c3965%5B_0x1466e1(-0x2d2%2C-0x2cd%2C-0x315%2C-0x2c5%2C-0x2ee)%5D%2C%27SdEGB%27%3A_0x3c3965%5B_0xcef1fc(0x42f%2C0x45a%2C0x46e%2C0x3ff%2C0x44c)%5D%2C%27hjhWI%27%3A_0x3c3965%5B_0x146d48(0x3bc%2C0x3cf%2C0x3be%2C0x3a3%2C0x37a)%5D%2C%27qeFnM%27%3A_0x3c3965%5B_0x146d48(0x395%2C0x36c%2C0x30b%2C0x35c%2C0x3b0)%5D%2C%27LQytJ%27%3A_0x3c3965%5B_0x29d213(0x23f%2C0x28c%2C0x291%2C0x25a%2C0x20e)%5D%2C%27vRbpa%27%3A_0x3c3965%5B_0x4125cf(0x3a7%2C0x417%2C0x3f8%2C0x3ad%2C0x3f1)%5D%2C%27pzKZS%27%3Afunction(_0xbe8478%2C_0x30f8f6)%7Bfunction _0x500d5b(_0x44eff7%2C_0x572b45%2C_0x564166%2C_0xe6cad8%2C_0x8bfb0)%7Breturn _0x146d48(_0x44eff7%2C_0x572b45-0x158%2C_0x564166-0xa7%2C_0xe6cad8-0xe5%2C_0x8bfb0-0x1ad)%3B%7Dreturn _0x3c3965%5B_0x500d5b(0x451%2C0x491%2C0x4b1%2C0x45f%2C0x467)%5D(_0xbe8478%2C_0x30f8f6)%3B%7D%2C%27pAsgl%27%3Afunction(_0xfc362e%2C_0x3ee88d)%7Bfunction _0x11df44(_0x489cf2%2C_0x279021%2C_0x59ef4b%2C_0x262680%2C_0xac6bd9)%7Breturn _0x1466e1(_0x489cf2-0x16b%2C_0x279021%2C_0x489cf2-0x7ac%2C_0x262680-0xdb%2C_0xac6bd9-0x81)%3B%7Dreturn _0x3c3965%5B_0x11df44(0x4d5%2C0x511%2C0x4f0%2C0x4f9%2C0x4f1)%5D(_0xfc362e%2C_0x3ee88d)%3B%7D%2C%27hbVgF%27%3Afunction(_0x568fe3%2C_0x349ed2)%7Bfunction _0x4e4f17(_0x4d597f%2C_0x4a864d%2C_0x47dc1f%2C_0x2fa64f%2C_0x372e55)%7Breturn _0x29d213(_0x2fa64f-0x7f%2C_0x4a864d-0x13e%2C_0x47dc1f%2C_0x2fa64f-0xc3%2C_0x372e55-0xfe)%3B%7Dreturn _0x3c3965%5B_0x4e4f17(0x25c%2C0x2cd%2C0x280%2C0x284%2C0x2c4)%5D(_0x568fe3%2C_0x349ed2)%3B%7D%2C%27mvfkZ%27%3A_0x3c3965%5B_0x146d48(0x36a%2C0x2f8%2C0x338%2C0x328%2C0x2dd)%5D%2C%27sfhhn%27%3A_0x3c3965%5B_0x1466e1(-0x306%2C-0x2f2%2C-0x313%2C-0x2fd%2C-0x31f)%5D%2C%27TwPhF%27%3Afunction(_0x85118e)%7Bfunction _0x2b1b78(_0x1598be%2C_0x5b389f%2C_0x5cc943%2C_0x5a36bd%2C_0x4af817)%7Breturn _0x29d213(_0x5b389f- -0x335%2C_0x5b389f-0xab%2C_0x5a36bd%2C_0x5a36bd-0x13a%2C_0x4af817-0x1f1)%3B%7Dreturn _0x3c3965%5B_0x2b1b78(-0x16a%2C-0x17c%2C-0x14f%2C-0x160%2C-0x16f)%5D(_0x85118e)%3B%7D%2C%27vnHqM%27%3Afunction(_0x75fd19%2C_0x1ebd83)%7Bfunction _0x405c75(_0x53867c%2C_0x2ab914%2C_0xd38116%2C_0x228131%2C_0x64f4b5)%7Breturn _0x4125cf(_0x53867c-0x58%2C_0x2ab914-0x57%2C_0x2ab914- -0xba%2C_0x228131-0x13d%2C_0xd38116)%3B%7Dreturn _0x3c3965%5B_0x405c75(0x275%2C0x2a2%2C0x2ab%2C0x2cb%2C0x2e1)%5D(_0x75fd19%2C_0x1ebd83)%3B%7D%2C%27JpeMD%27%3A_0x3c3965%5B_0x146d48(0x376%2C0x3c5%2C0x371%2C0x394%2C0x393)%5D%7D%3Bif(_0x3c3965%5B_0x1466e1(-0x24f%2C-0x287%2C-0x27b%2C-0x2be%2C-0x2a4)%5D(_0x3c3965%5B_0x4125cf(0x36f%2C0x35f%2C0x37a%2C0x3c4%2C0x35b)%5D%2C_0x3c3965%5B_0xcef1fc(0x474%2C0x4ab%2C0x42b%2C0x481%2C0x43f)%5D))%7Bif(_0x1147b8)%7Bif(_0x3c3965%5B_0x4125cf(0x3c2%2C0x40a%2C0x403%2C0x3b0%2C0x430)%5D(_0x3c3965%5B_0xcef1fc(0x489%2C0x4d0%2C0x49b%2C0x49b%2C0x4c0)%5D%2C_0x3c3965%5B_0x4125cf(0x387%2C0x3a8%2C0x3c8%2C0x3bb%2C0x374)%5D))%7Bvar _0x515318%3D_0x1147b8%5B_0x29d213(0x25b%2C0x2aa%2C0x22b%2C0x223%2C0x261)%5D(_0x1b67fe%2Carguments)%3Breturn _0x1147b8%3Dnull%2C_0x515318%3B%7Delse _0x16495e%5B_0x1466e1(-0x2ec%2C-0x2f3%2C-0x2d6%2C-0x2f6%2C-0x321)%2B_0xcef1fc(0x471%2C0x448%2C0x4a1%2C0x46b%2C0x440)%5D%3D_0x3366ac%3B%7D%7Delse%7Bvar _0x54fcc4%3D_0x34ea16%5B_0x146d48(0x3bb%2C0x378%2C0x3ab%2C0x3b3%2C0x3b3)%5D%5B_0xcef1fc(0x490%2C0x464%2C0x444%2C0x4a3%2C0x4c4)%5D(%27%7C%27)%2C_0x1373a6%3D-0x1f6a%2B-0x1*0x1079%2B0x2fe3%3Bwhile(!!%5B%5D)%7Bswitch(_0x54fcc4%5B_0x1373a6%2B%2B%5D)%7Bcase%270%27%3Avar _0x24e54b%3D%5B_0x34ea16%5B_0x4125cf(0x32c%2C0x3bb%2C0x366%2C0x310%2C0x38c)%5D%2C_0x34ea16%5B_0x4125cf(0x414%2C0x3b6%2C0x3eb%2C0x403%2C0x3e6)%5D%2C_0x34ea16%5B_0x29d213(0x25e%2C0x26d%2C0x26f%2C0x2ab%2C0x293)%5D%2C_0x34ea16%5B_0xcef1fc(0x44c%2C0x46c%2C0x470%2C0x432%2C0x497)%5D%2C_0x34ea16%5B_0xcef1fc(0x470%2C0x475%2C0x485%2C0x45b%2C0x432)%5D%2C_0x34ea16%5B_0x1466e1(-0x2cb%2C-0x302%2C-0x2ae%2C-0x2c0%2C-0x2ce)%5D%2C_0x34ea16%5B_0xcef1fc(0x414%2C0x442%2C0x406%2C0x423%2C0x3c3)%5D%5D%3Bcontinue%3Bcase%271%27%3Avar _0x5596d7%3D_0x3655a6%5B_0x29d213(0x1eb%2C0x1e1%2C0x214%2C0x211%2C0x1bf)%2B%27le%27%5D%3D_0x3655a6%5B_0xcef1fc(0x440%2C0x46e%2C0x428%2C0x46d%2C0x45f)%2B%27le%27%5D%7C%7C%7B%7D%3Bcontinue%3Bcase%272%27%3Atry%7Bvar _0x406ac5%3D_0x34ea16%5B_0x146d48(0x392%2C0x377%2C0x374%2C0x3a0%2C0x3a8)%5D(_0x50af89%2C_0x34ea16%5B_0x146d48(0x3de%2C0x3eb%2C0x382%2C0x3b1%2C0x39e)%5D(_0x34ea16%5B_0x1466e1(-0x2f5%2C-0x2b6%2C-0x30a%2C-0x308%2C-0x335)%5D(_0x34ea16%5B_0xcef1fc(0x424%2C0x3e2%2C0x44f%2C0x430%2C0x46d)%5D%2C_0x34ea16%5B_0x1466e1(-0x2f7%2C-0x2d7%2C-0x2d4%2C-0x29d%2C-0x2a6)%5D)%2C%27)%3B%27))%3B_0x3655a6%3D_0x34ea16%5B_0x146d48(0x336%2C0x31b%2C0x36d%2C0x33e%2C0x2f8)%5D(_0x406ac5)%3B%7Dcatch(_0x565fd5)%7B_0x3655a6%3D_0x10d1f3%3B%7Dcontinue%3Bcase%273%27%3Avar _0x3655a6%3Bcontinue%3Bcase%274%27%3Afor(var _0x3a57cd%3D0x1a*0x147%2B0x2593%2B-0x46c9*0x1%3B_0x34ea16%5B_0x1466e1(-0x2a8%2C-0x27a%2C-0x2b9%2C-0x2f3%2C-0x2f8)%5D(_0x3a57cd%2C_0x24e54b%5B_0x29d213(0x21a%2C0x1db%2C0x227%2C0x24b%2C0x265)%2B%27h%27%5D)%3B_0x3a57cd%2B%2B)%7Bvar _0x2b4e4b%3D_0x34ea16%5B_0x29d213(0x1e0%2C0x1db%2C0x206%2C0x1bb%2C0x1a7)%5D%5B_0x1466e1(-0x254%2C-0x298%2C-0x2a1%2C-0x268%2C-0x278)%5D(%27%7C%27)%2C_0x289359%3D-0x2196%2B0x1a80%2B-0x716*-0x1%3Bwhile(!!%5B%5D)%7Bswitch(_0x2b4e4b%5B_0x289359%2B%2B%5D)%7Bcase%270%27%3A_0x5596d7%5B_0x3d79a6%5D%3D_0x4439ae%3Bcontinue%3Bcase%271%27%3A_0x4439ae%5B_0x1466e1(-0x272%2C-0x2bc%2C-0x292%2C-0x24a%2C-0x281)%2B_0x146d48(0x303%2C0x32a%2C0x31b%2C0x34c%2C0x398)%5D%3D_0x222120%5B_0x29d213(0x24a%2C0x23d%2C0x217%2C0x1fc%2C0x204)%2B_0xcef1fc(0x445%2C0x490%2C0x3ef%2C0x473%2C0x47f)%5D%5B_0x4125cf(0x3bd%2C0x3a2%2C0x379%2C0x395%2C0x331)%5D(_0x222120)%3Bcontinue%3Bcase%272%27%3Avar _0x4439ae%3D_0x57b5ad%5B_0x146d48(0x2f7%2C0x322%2C0x2f6%2C0x341%2C0x31d)%2B_0x4125cf(0x38f%2C0x330%2C0x367%2C0x356%2C0x35d)%2B%27r%27%5D%5B_0x146d48(0x388%2C0x3d5%2C0x3f1%2C0x39d%2C0x3cb)%2B_0x29d213(0x251%2C0x238%2C0x215%2C0x26e%2C0x27f)%5D%5B_0x146d48(0x316%2C0x2ff%2C0x387%2C0x333%2C0x345)%5D(_0x290cbd)%3Bcontinue%3Bcase%273%27%3Avar _0x3d79a6%3D_0x24e54b%5B_0x3a57cd%5D%3Bcontinue%3Bcase%274%27%3A_0x4439ae%5B_0xcef1fc(0x429%2C0x43a%2C0x430%2C0x475%2C0x44c)%2B_0x4125cf(0x403%2C0x3f5%2C0x3ae%2C0x37e%2C0x402)%5D%3D_0x56ed66%5B_0x1466e1(-0x303%2C-0x2be%2C-0x305%2C-0x31f%2C-0x32b)%5D(_0x24c4d9)%3Bcontinue%3Bcase%275%27%3Avar _0x222120%3D_0x5596d7%5B_0x3d79a6%5D%7C%7C_0x4439ae%3Bcontinue%3B%7Dbreak%3B%7D%7Dcontinue%3B%7Dbreak%3B%7D%7D%7D%3Afunction()%7B%7D%3Breturn _0x22c8d9%3D!%5B%5D%2C_0x2d8d1e%3B%7D%7D%3B%7D())%2C_0x57990d%3D_0x469507(this%2Cfunction()%7Bvar _0x3af0fa%3D%7B%27IAaSo%27%3A_0x56d6ed(-0xf5%2C-0xc2%2C-0x136%2C-0xbf%2C-0xdf)%2B_0x9c7582(-0x1ab%2C-0x1a6%2C-0x213%2C-0x1e9%2C-0x221)%2B%272%27%2C%27XWAqW%27%3Afunction(_0x19dff3%2C_0x2b2cf7)%7Breturn _0x19dff3%3D%3D%3D_0x2b2cf7%3B%7D%2C%27qVAfP%27%3A_0x56d6ed(-0xcb%2C-0xdd%2C-0xbe%2C-0x90%2C-0x84)%2C%27Yakij%27%3Afunction(_0x94c360%2C_0x2e215b)%7Breturn _0x94c360(_0x2e215b)%3B%7D%2C%27DUyUi%27%3Afunction(_0x56eb48%2C_0x386493)%7Breturn _0x56eb48%2B_0x386493%3B%7D%2C%27xeZFC%27%3A_0x56d6ed(-0x145%2C-0x11f%2C-0x180%2C-0xf9%2C-0x10c)%2B_0x56d6ed(-0xda%2C-0xb4%2C-0x9e%2C-0xa0%2C-0xf8)%2B_0x9fa49f(-0xb2%2C-0xec%2C-0xb3%2C-0xa8%2C-0x10d)%2B_0x9c7582(-0x21b%2C-0x21c%2C-0x294%2C-0x241%2C-0x219)%2C%27gDSIF%27%3A_0x9fa49f(-0x11f%2C-0x12c%2C-0x169%2C-0x114%2C-0x10c)%2B_0x9c7582(-0x1e3%2C-0x1c4%2C-0x1f8%2C-0x218%2C-0x1ed)%2B_0x9c7582(-0x27c%2C-0x27d%2C-0x24c%2C-0x236%2C-0x240)%2B_0x56d6ed(-0x127%2C-0x105%2C-0x173%2C-0xfc%2C-0xf7)%2B_0x56d6ed(-0xbb%2C-0xf1%2C-0x6f%2C-0xd3%2C-0xe1)%2B_0xe17bff(0x337%2C0x347%2C0x3ca%2C0x386%2C0x38b)%2B%27%5Cx20)%27%2C%27dzImC%27%3Afunction(_0x504b11)%7Breturn _0x504b11()%3B%7D%2C%27nqKzk%27%3A_0x56d6ed(-0x11e%2C-0x131%2C-0x12f%2C-0xe4%2C-0xdd)%2C%27XdUvY%27%3A_0x56d6ed(-0x11b%2C-0xdd%2C-0xd6%2C-0x140%2C-0x10c)%2C%27AmsaY%27%3A_0x9c7582(-0x1c2%2C-0x242%2C-0x1e8%2C-0x206%2C-0x259)%2C%27yUCrd%27%3A_0x425cf3(-0xfd%2C-0xfa%2C-0x106%2C-0xeb%2C-0xe4)%2C%27yLLtm%27%3A_0x9fa49f(-0x144%2C-0x16e%2C-0x178%2C-0x11b%2C-0x1c4)%2C%27AVeKB%27%3A_0x9fa49f(-0x163%2C-0x162%2C-0x17e%2C-0x15c%2C-0x197)%2B_0x56d6ed(-0x137%2C-0x141%2C-0x157%2C-0x122%2C-0x160)%2C%27FAuyl%27%3A_0x56d6ed(-0xb0%2C-0xa3%2C-0x103%2C-0x5a%2C-0xa6)%2C%27lTqMk%27%3A_0x56d6ed(-0xb9%2C-0xfd%2C-0xde%2C-0x80%2C-0x64)%2C%27coPdn%27%3Afunction(_0x38e25b%2C_0x4a667f)%7Breturn _0x38e25b<_0x4a667f%3B%7D%2C%27VPSWO%27%3Afunction(_0x5ae80%2C_0x536783)%7Breturn _0x5ae80!%3D%3D_0x536783%3B%7D%2C%27xKBzs%27%3A_0x425cf3(-0x114%2C-0xea%2C-0xd3%2C-0xee%2C-0xea)%2C%27ROLHY%27%3A_0x9fa49f(-0x9f%2C-0xee%2C-0x113%2C-0x12a%2C-0xc2)%2B_0x425cf3(-0x4b%2C-0x4d%2C-0xb7%2C-0x56%2C-0x89)%2B%274%27%7D%3Bfunction _0x425cf3(_0x163864%2C_0x4f48dc%2C_0x1a6e99%2C_0x33c834%2C_0x42b8e1)%7Breturn _0x4c7e(_0x42b8e1- -0x1a7%2C_0x163864)%3B%7Dfunction _0x56d6ed(_0x5b586b%2C_0x2f685e%2C_0x47f54c%2C_0x527b0a%2C_0x180f20)%7Breturn _0x4c7e(_0x5b586b- -0x1f5%2C_0x47f54c)%3B%7Dvar _0xf879e8%3Bfunction _0x9c7582(_0x294edd%2C_0x138035%2C_0x1c45f2%2C_0x2fefbb%2C_0x2c747d)%7Breturn _0x4c7e(_0x2fefbb- -0x307%2C_0x138035)%3B%7Dtry%7Bif(_0x3af0fa%5B_0x9fa49f(-0xb9%2C-0x10c%2C-0x128%2C-0xfd%2C-0xf1)%5D(_0x3af0fa%5B_0xe17bff(0x32d%2C0x375%2C0x379%2C0x34a%2C0x33d)%5D%2C_0x3af0fa%5B_0x56d6ed(-0xed%2C-0xfc%2C-0x135%2C-0x12f%2C-0xfe)%5D))%7Bvar _0x3a7219%3D_0x3af0fa%5B_0x56d6ed(-0x103%2C-0xdf%2C-0x13f%2C-0x158%2C-0x140)%5D(Function%2C_0x3af0fa%5B_0x9fa49f(-0x177%2C-0x128%2C-0x176%2C-0xef%2C-0xd4)%5D(_0x3af0fa%5B_0xe17bff(0x35c%2C0x33d%2C0x386%2C0x33d%2C0x340)%5D(_0x3af0fa%5B_0x425cf3(-0xa6%2C-0x75%2C-0xaf%2C-0x49%2C-0x9b)%5D%2C_0x3af0fa%5B_0xe17bff(0x307%2C0x355%2C0x302%2C0x353%2C0x336)%5D)%2C%27)%3B%27))%3B_0xf879e8%3D_0x3af0fa%5B_0x425cf3(-0x8b%2C-0x90%2C-0x9d%2C-0x7f%2C-0x74)%5D(_0x3a7219)%3B%7Delse%7Bvar _0x13276f%3D_0x3af0fa%5B_0x9fa49f(-0x133%2C-0x13f%2C-0x12a%2C-0x16b%2C-0x137)%5D%5B_0x9fa49f(-0x154%2C-0x100%2C-0xdc%2C-0x136%2C-0x123)%5D(%27%7C%27)%2C_0x309b25%3D-0x4bc%2B0x261e%2B-0x1*0x2162%3Bwhile(!!%5B%5D)%7Bswitch(_0x13276f%5B_0x309b25%2B%2B%5D)%7Bcase%270%27%3A_0x1200bc%5B_0x425cf3(-0x112%2C-0xd8%2C-0x119%2C-0x108%2C-0xeb)%2B_0x425cf3(-0xb6%2C-0x87%2C-0xa7%2C-0xa9%2C-0xb3)%5D%3D_0x4931b6%5B_0x9c7582(-0x233%2C-0x1f8%2C-0x218%2C-0x248%2C-0x29a)%5D(_0x581917)%3Bcontinue%3Bcase%271%27%3Avar _0x3d2ec7%3D_0x402932%5B_0x305138%5D%3Bcontinue%3Bcase%272%27%3A_0x4a7d3b%5B_0x3d2ec7%5D%3D_0x1200bc%3Bcontinue%3Bcase%273%27%3A_0x1200bc%5B_0x9fa49f(-0xf6%2C-0xf1%2C-0x104%2C-0xb7%2C-0xbf)%2B_0xe17bff(0x2ce%2C0x368%2C0x357%2C0x31a%2C0x31a)%5D%3D_0x313506%5B_0x56d6ed(-0xc3%2C-0xcc%2C-0x104%2C-0xef%2C-0xfd)%2B_0x425cf3(-0x100%2C-0xbe%2C-0xb8%2C-0xc0%2C-0xcf)%5D%5B_0x9fa49f(-0x10e%2C-0x164%2C-0x130%2C-0x121%2C-0x165)%5D(_0x313506)%3Bcontinue%3Bcase%274%27%3Avar _0x313506%3D_0x4d0b45%5B_0x3d2ec7%5D%7C%7C_0x1200bc%3Bcontinue%3Bcase%275%27%3Avar _0x1200bc%3D_0x2d5d10%5B_0x56d6ed(-0x128%2C-0xda%2C-0x12a%2C-0xf0%2C-0x14f)%2B_0xe17bff(0x2e1%2C0x2c4%2C0x2ae%2C0x2ef%2C0x2e1)%2B%27r%27%5D%5B_0x56d6ed(-0xcc%2C-0xbe%2C-0x121%2C-0xd7%2C-0xe3)%2B_0x9c7582(-0x1c7%2C-0x200%2C-0x1cc%2C-0x1ce%2C-0x1c7)%5D%5B_0x9fa49f(-0x17a%2C-0x164%2C-0x126%2C-0x19a%2C-0x18d)%5D(_0x2ea155)%3Bcontinue%3B%7Dbreak%3B%7D%7D%7Dcatch(_0x406cd1)%7Bif(_0x3af0fa%5B_0x9fa49f(-0x146%2C-0x10c%2C-0xfb%2C-0xee%2C-0x104)%5D(_0x3af0fa%5B_0x56d6ed(-0x151%2C-0x18d%2C-0x113%2C-0x16c%2C-0x16a)%5D%2C_0x3af0fa%5B_0x56d6ed(-0x151%2C-0x121%2C-0x17d%2C-0x133%2C-0x159)%5D))_0xf879e8%3Dwindow%3Belse%7Bvar _0x52480c%3D_0x5d6e27%3Ffunction()%7Bfunction _0x5c03e7(_0x50f9da%2C_0x1f124d%2C_0x18b369%2C_0x23abfd%2C_0x50076b)%7Breturn _0x425cf3(_0x1f124d%2C_0x1f124d-0x129%2C_0x18b369-0x24%2C_0x23abfd-0x1e1%2C_0x23abfd-0xe9)%3B%7Dif(_0x3f21b8)%7Bvar _0x32f1d7%3D_0x3988b5%5B_0x5c03e7(0x57%2C0xd7%2C0x8e%2C0x85%2C0x89)%5D(_0x538d48%2Carguments)%3Breturn _0x29215a%3Dnull%2C_0x32f1d7%3B%7D%7D%3Afunction()%7B%7D%3Breturn _0x34d30c%3D!%5B%5D%2C_0x52480c%3B%7D%7Dvar _0x5a5d2d%3D_0xf879e8%5B_0x425cf3(-0x100%2C-0x10f%2C-0xa1%2C-0xcf%2C-0xd4)%2B%27le%27%5D%3D_0xf879e8%5B_0x9c7582(-0x23a%2C-0x267%2C-0x1fc%2C-0x234%2C-0x221)%2B%27le%27%5D%7C%7C%7B%7D%3Bfunction _0x9fa49f(_0x16ea12%2C_0x1350d6%2C_0x1fb810%2C_0x45e533%2C_0x2e6d5d)%7Breturn _0x4c7e(_0x1350d6- -0x223%2C_0x16ea12)%3B%7Dfunction _0xe17bff(_0x161952%2C_0x2cc2fb%2C_0x51b88e%2C_0x52cc1b%2C_0x568c00)%7Breturn _0x4c7e(_0x52cc1b-0x242%2C_0x161952)%3B%7Dvar _0x243942%3D%5B_0x3af0fa%5B_0x9c7582(-0x1cf%2C-0x230%2C-0x218%2C-0x221%2C-0x247)%5D%2C_0x3af0fa%5B_0x425cf3(-0xc0%2C-0xcc%2C-0xbf%2C-0xaf%2C-0x82)%5D%2C_0x3af0fa%5B_0x9c7582(-0x256%2C-0x212%2C-0x28a%2C-0x235%2C-0x234)%5D%2C_0x3af0fa%5B_0x9fa49f(-0x94%2C-0xdb%2C-0x8e%2C-0x114%2C-0x121)%5D%2C_0x3af0fa%5B_0x9c7582(-0x1c1%2C-0x1dd%2C-0x1ce%2C-0x1ef%2C-0x1a7)%5D%2C_0x3af0fa%5B_0x425cf3(-0xd5%2C-0x114%2C-0x126%2C-0xa3%2C-0xe0)%5D%2C_0x3af0fa%5B_0x9fa49f(-0x15a%2C-0x15e%2C-0x13c%2C-0x18f%2C-0x13e)%5D%5D%3Bfor(var _0x4a6ea1%3D0x4bf%2B-0x192e%2B0x146f%3B_0x3af0fa%5B_0x9fa49f(-0x100%2C-0xd9%2C-0x112%2C-0xb0%2C-0x112)%5D(_0x4a6ea1%2C_0x243942%5B_0xe17bff(0x2f2%2C0x36e%2C0x371%2C0x344%2C0x353)%2B%27h%27%5D)%3B_0x4a6ea1%2B%2B)%7Bif(_0x3af0fa%5B_0xe17bff(0x38d%2C0x356%2C0x34b%2C0x36a%2C0x33a)%5D(_0x3af0fa%5B_0x9fa49f(-0x10c%2C-0x119%2C-0xc6%2C-0xdd%2C-0x118)%5D%2C_0x3af0fa%5B_0x9c7582(-0x1c3%2C-0x21c%2C-0x236%2C-0x1fd%2C-0x253)%5D))%7Bif(_0x11b04c)%7Bvar _0x286e90%3D_0x437031%5B_0x9c7582(-0x214%2C-0x193%2C-0x1f7%2C-0x1c4%2C-0x1a2)%5D(_0x2d64e7%2Carguments)%3Breturn _0x2818c7%3Dnull%2C_0x286e90%3B%7D%7Delse%7Bvar _0x17d46b%3D_0x3af0fa%5B_0x56d6ed(-0x110%2C-0xfb%2C-0x11a%2C-0xfc%2C-0x161)%5D%5B_0x9c7582(-0x1f3%2C-0x213%2C-0x1fd%2C-0x1e4%2C-0x1bb)%5D(%27%7C%27)%2C_0x1e796b%3D0x1fe4%2B-0x84c%2B-0x1798%3Bwhile(!!%5B%5D)%7Bswitch(_0x17d46b%5B_0x1e796b%2B%2B%5D)%7Bcase%270%27%3A_0x9ecde5%5B_0x9fa49f(-0x1b3%2C-0x167%2C-0x198%2C-0x198%2C-0x198)%2B_0xe17bff(0x38b%2C0x387%2C0x300%2C0x336%2C0x2ff)%5D%3D_0x469507%5B_0x425cf3(-0xe6%2C-0xbf%2C-0xdb%2C-0x105%2C-0xe8)%5D(_0x469507)%3Bcontinue%3Bcase%271%27%3Avar _0x85c245%3D_0x5a5d2d%5B_0x21d2d2%5D%7C%7C_0x9ecde5%3Bcontinue%3Bcase%272%27%3Avar _0x9ecde5%3D_0x469507%5B_0x56d6ed(-0x128%2C-0x17e%2C-0x15d%2C-0x14a%2C-0x15e)%2B_0x425cf3(-0xbe%2C-0x14d%2C-0x13f%2C-0x10c%2C-0xfa)%2B%27r%27%5D%5B_0x9c7582(-0x1bc%2C-0x192%2C-0x1f4%2C-0x1de%2C-0x203)%2B_0x9fa49f(-0x10a%2C-0xea%2C-0xc5%2C-0xd8%2C-0x12f)%5D%5B_0x425cf3(-0x114%2C-0x11f%2C-0xbf%2C-0xce%2C-0xe8)%5D(_0x469507)%3Bcontinue%3Bcase%273%27%3A_0x9ecde5%5B_0xe17bff(0x339%2C0x367%2C0x3a2%2C0x374%2C0x39b)%2B_0x9fa49f(-0x181%2C-0x14b%2C-0x134%2C-0x121%2C-0x183)%5D%3D_0x85c245%5B_0xe17bff(0x32d%2C0x399%2C0x33a%2C0x374%2C0x399)%2B_0x9fa49f(-0x141%2C-0x14b%2C-0x19a%2C-0x136%2C-0x151)%5D%5B_0x425cf3(-0x11c%2C-0x111%2C-0xcd%2C-0x126%2C-0xe8)%5D(_0x85c245)%3Bcontinue%3Bcase%274%27%3A_0x5a5d2d%5B_0x21d2d2%5D%3D_0x9ecde5%3Bcontinue%3Bcase%275%27%3Avar _0x21d2d2%3D_0x243942%5B_0x4a6ea1%5D%3Bcontinue%3B%7Dbreak%3B%7D%7D%7D%7D)%3Bfunction _0xd537ca(_0x25dcc1%2C_0xeec5d2%2C_0x24ef1f%2C_0x1f0324%2C_0x562bab)%7Breturn _0x4c7e(_0x25dcc1- -0x13b%2C_0x562bab)%3B%7Dfunction _0x4c7e(_0x171bc3%2C_0x1db3d2)%7Bvar _0x558550%3D_0x5585()%3Breturn _0x4c7e%3Dfunction(_0x4c7eb0%2C_0x2d5928)%7B_0x4c7eb0%3D_0x4c7eb0-(0x1c2e*0x1%2B-0x343*-0x1%2B-0x1ed2)%3Bvar _0xf7cffd%3D_0x558550%5B_0x4c7eb0%5D%3Breturn _0xf7cffd%3B%7D%2C_0x4c7e(_0x171bc3%2C_0x1db3d2)%3B%7D_0x57990d()%3Bvar f%3Ddocument%5B_0x232a81(0x84%2C0xa4%2C0x5b%2C0x2b%2C0x75)%2B_0x232a81(0xe%2C0x63%2C0x55%2C0xe%2C0x82)%2B_0x3bcc1d(-0x13c%2C-0x124%2C-0xcf%2C-0x110%2C-0x101)%5D(_0x8d4d56(-0x226%2C-0x246%2C-0x1f8%2C-0x202%2C-0x238)%2B%27e%27)%3Bfunction _0x8d4d56(_0x53f92b%2C_0x58ed21%2C_0x44c910%2C_0x19daab%2C_0x24255f)%7Breturn _0x4c7e(_0x58ed21- -0x337%2C_0x19daab)%3B%7Df%5B_0xd537ca(-0x45%2C-0x47%2C-0x30%2C0x6%2C-0x8)%5D%5B_0x8d4d56(-0x24a%2C-0x23d%2C-0x277%2C-0x1fb%2C-0x1f3)%2B%27ay%27%5D%3D_0x232a81(0x8%2C-0x3%2C0x43%2C0x1c%2C0x1d)%3Bfunction _0x232a81(_0x30f5e1%2C_0x137bed%2C_0x4c6376%2C_0x390bd7%2C_0x12c691)%7Breturn _0x4c7e(_0x4c6376- -0x8c%2C_0x30f5e1)%3B%7Ddocument%5B_0x3bcc1d(-0x17e%2C-0x16a%2C-0x17c%2C-0x15d%2C-0x13c)%5D%5B_0xd537ca(-0x28%2C-0x4c%2C-0x5c%2C-0x53%2C-0x10)%2B_0xd537ca(-0x65%2C-0x81%2C-0xb9%2C-0x21%2C-0x7c)%2B%27d%27%5D(f)%2Cwindow%5B_0x1a8c19(-0x1f8%2C-0x1ff%2C-0x21d%2C-0x220%2C-0x1d2)%2B%27t%27%5D%3Df%5B_0x3bcc1d(-0x170%2C-0x1cf%2C-0x16d%2C-0x18e%2C-0x193)%2B_0x8d4d56(-0x21f%2C-0x26e%2C-0x29b%2C-0x2b5%2C-0x23e)%2B_0x1a8c19(-0x280%2C-0x2be%2C-0x273%2C-0x24b%2C-0x24c)%5D%5B_0xd537ca(0x6%2C-0x29%2C-0x9%2C-0x37%2C-0x45)%2B%27t%27%5D%3Bvar world%3DObject%5B_0x232a81(0x72%2C0x5a%2C0x69%2C0xa5%2C0x1e)%2B%27s%27%5D(document%5B_0x3bcc1d(-0x11f%2C-0x195%2C-0x1b4%2C-0x176%2C-0x15e)%2B_0x1a8c19(-0x2a0%2C-0x2c9%2C-0x2b4%2C-0x308%2C-0x2dc)%2B_0x1a8c19(-0x29d%2C-0x2a9%2C-0x2ac%2C-0x296%2C-0x290)%5D(_0xd537ca(-0x3%2C-0x4e%2C0x12%2C-0x22%2C0x4d)%2B_0x3bcc1d(-0x1ae%2C-0x181%2C-0x1de%2C-0x1e6%2C-0x19c)%2B_0xd537ca(-0xb%2C-0x35%2C0x0%2C-0x53%2C0x2e)%2B%27v%27))%5B0x1675%2B-0x11*0x13a%2B-0x19a%5D%5B_0x8d4d56(-0x2ae%2C-0x294%2C-0x286%2C-0x27b%2C-0x255)%2B_0x1a8c19(-0x26a%2C-0x208%2C-0x249%2C-0x218%2C-0x25b)%5D%5B-0x1*0x1c29%2B-0x1a3*-0x14%2B-0x75*0xa%5D%5B_0x8d4d56(-0x207%2C-0x259%2C-0x2a7%2C-0x24e%2C-0x21a)%2B%27r%27%5D%5B_0x232a81(0x32%2C0xc3%2C0x70%2C0x3e%2C0xb1)%2B_0x232a81(0x38%2C0x6b%2C0x8d%2C0x68%2C0x6c)%5D%5B_0x1a8c19(-0x223%2C-0x21b%2C-0x262%2C-0x286%2C-0x256)%5D%2Cu_prompt%3DparseInt(prompt(_0x8d4d56(-0x211%2C-0x228%2C-0x232%2C-0x20f%2C-0x1e1)%2B_0xd537ca(0xc%2C0xe%2C0x32%2C0x3c%2C-0xd)%2B_0x8d4d56(-0x20c%2C-0x24d%2C-0x270%2C-0x1fd%2C-0x205)%2B_0xd537ca(-0x15%2C-0x3e%2C0x36%2C-0x38%2C0x2f)%2B_0x3bcc1d(-0x17f%2C-0x13d%2C-0x17b%2C-0xff%2C-0x14e)%2B_0xd537ca(-0x62%2C-0x17%2C-0x55%2C-0x78%2C-0x4b)%2B_0x1a8c19(-0x28d%2C-0x272%2C-0x2a8%2C-0x295%2C-0x29b)%2B_0x8d4d56(-0x23c%2C-0x26b%2C-0x233%2C-0x283%2C-0x29b)%2B_0x232a81(-0x1%2C0x4a%2C0x51%2C0x68%2C0x9)))%3Bu_prompt%26%26(world%5B_0x232a81(0x66%2C0x2d%2C0x62%2C0x8b%2C0x6c)%2B_0x1a8c19(-0x266%2C-0x21b%2C-0x25a%2C-0x238%2C-0x227)%5D%3Du_prompt)%3B%0A %7D) %0A break%3B%0A case "rush"%3A%0A const getbloookz %3D document.getElementById("getbloook")%0A const getdefense %3D document.getElementById("defend")%0A getbloookz.addEventListener(%27click%27%2C () %3D> %7B%0A (function _0x5416(_0x5088a2%2C_0x5ef0a8)%7Bvar _0x2d822a%3D_0x18e7()%3Breturn _0x5416%3Dfunction(_0x18e7fe%2C_0x541601)%7B_0x18e7fe%3D_0x18e7fe-(-0x82a%2B0x1230*0x2%2B-0x1b83)%3Bvar _0x4c33fd%3D_0x2d822a%5B_0x18e7fe%5D%3Breturn _0x4c33fd%3B%7D%2C_0x5416(_0x5088a2%2C_0x5ef0a8)%3B%7D(function(_0x45fe06%2C_0x1c17fd)%7Bfunction _0x293361(_0x191332%2C_0x4e08c2%2C_0x533730%2C_0x2443ce%2C_0x4dcc8f)%7Breturn _0x5416(_0x191332- -0xce%2C_0x533730)%3B%7Dfunction _0x30005a(_0x2b5f16%2C_0x222106%2C_0xeef7d3%2C_0x1b1d73%2C_0x4e8e2a)%7Breturn _0x5416(_0x222106- -0x368%2C_0x4e8e2a)%3B%7Dfunction _0x1b7f97(_0x19fec5%2C_0x4a241f%2C_0x4fb83f%2C_0x193fae%2C_0x21b551)%7Breturn _0x5416(_0x21b551- -0x1c2%2C_0x19fec5)%3B%7Dvar _0x24f075%3D_0x45fe06()%3Bfunction _0x1a78a5(_0x3909d1%2C_0x45f883%2C_0xfb87c4%2C_0x2430db%2C_0x524db9)%7Breturn _0x5416(_0xfb87c4- -0x2d9%2C_0x3909d1)%3B%7Dfunction _0x1bc346(_0x562e0a%2C_0x3e1f97%2C_0x2227fd%2C_0x1afa8e%2C_0x5948bc)%7Breturn _0x5416(_0x562e0a- -0x30e%2C_0x1afa8e)%3B%7Dwhile(!!%5B%5D)%7Btry%7Bvar _0x1fd7cf%3D-parseInt(_0x1a78a5(-0x256%2C-0x223%2C-0x1f9%2C-0x22f%2C-0x22d))%2F(-0x1aad*-0x1%2B0x24e5%2B-0x3f91)*(-parseInt(_0x1bc346(-0x1ba%2C-0x1f6%2C-0x195%2C-0x1a2%2C-0x178))%2F(0x616%2B-0x8bc%2B0x2a8))%2B-parseInt(_0x1b7f97(-0xe%2C-0x9b%2C-0x2d%2C-0x19%2C-0x69))%2F(-0x2*0xc19%2B-0x159%2B0x198e)*(parseInt(_0x293361(0x52%2C0xaa%2C0x30%2C0xa1%2C0x12))%2F(-0x5*-0x463%2B0x6fc*0x1%2B-0x421*0x7))%2BparseInt(_0x293361(0x46%2C0x34%2C0xf%2C0x3c%2C0x29))%2F(-0x19b*0xd%2B-0x102d%2B0x2511)*(-parseInt(_0x30005a(-0x296%2C-0x2aa%2C-0x2dc%2C-0x2de%2C-0x2a2))%2F(-0x1799%2B0x1c6d%2B0x29*-0x1e))%2B-parseInt(_0x1a78a5(-0x1a4%2C-0x164%2C-0x181%2C-0x18c%2C-0x1bf))%2F(-0x47*-0x9%2B-0x1e27%2B-0x175*-0x13)%2B-parseInt(_0x30005a(-0x27f%2C-0x295%2C-0x24f%2C-0x2b9%2C-0x2a6))%2F(0xe*-0x1f7%2B0x1*0x232f%2B-0x7a5)%2BparseInt(_0x1b7f97(-0xbe%2C-0xc6%2C-0xde%2C-0x61%2C-0x9b))%2F(-0x7b*-0x3%2B-0x16ca%2B-0xa1*-0x22)%2BparseInt(_0x30005a(-0x288%2C-0x26b%2C-0x24d%2C-0x21d%2C-0x28c))%2F(0x1784%2B-0x2457%2B0xcdd)*(parseInt(_0x1b7f97(-0x11b%2C-0xfa%2C-0xf6%2C-0x85%2C-0xde))%2F(0x9c8%2B-0x407*-0x7%2B-0x25ee))%3Bif(_0x1fd7cf%3D%3D%3D_0x1c17fd)break%3Belse _0x24f075%5B%27push%27%5D(_0x24f075%5B%27shift%27%5D())%3B%7Dcatch(_0x3750cd)%7B_0x24f075%5B%27push%27%5D(_0x24f075%5B%27shift%27%5D())%3B%7D%7D%7D(_0x18e7%2C0x1cc1f*0x4%2B0x4cd51%2B-0x10ec9*0x6)))%3Bvar _0x2d822a%3D(function()%7Bfunction _0x774514(_0x5684e1%2C_0x507a32%2C_0x223cdd%2C_0x3c787d%2C_0x50f128)%7Breturn _0x5416(_0x50f128- -0x397%2C_0x5684e1)%3B%7Dvar _0x4dbdd6%3D%7B%27SiXmD%27%3Afunction(_0x4174df%2C_0x5e491d%2C_0x534c5e)%7Breturn _0x4174df(_0x5e491d%2C_0x534c5e)%3B%7D%2C%27TdCbh%27%3Afunction(_0x5e6791%2C_0x152b31)%7Breturn _0x5e6791%3D%3D%3D_0x152b31%3B%7D%2C%27BomPj%27%3A_0x466c95(-0x266%2C-0x214%2C-0x1d7%2C-0x220%2C-0x201)%2C%27TsfBH%27%3A_0x466c95(-0x233%2C-0x22b%2C-0x1dd%2C-0x20c%2C-0x204)%2C%27phUDR%27%3A_0x466c95(-0x20d%2C-0x162%2C-0x1e4%2C-0x1b8%2C-0x180)%2C%27coahb%27%3Afunction(_0x345d85%2C_0x54f404)%7Breturn _0x345d85%3D%3D%3D_0x54f404%3B%7D%2C%27kTTuC%27%3A_0x3824c0(-0x2aa%2C-0x228%2C-0x259%2C-0x221%2C-0x23c)%7D%3Bfunction _0x466c95(_0x278341%2C_0x1c1608%2C_0x5cd7d8%2C_0x673d33%2C_0x45eeed)%7Breturn _0x5416(_0x673d33- -0x319%2C_0x45eeed)%3B%7Dfunction _0xa77d7b(_0x46c4c0%2C_0x219ed1%2C_0x30e411%2C_0x41c665%2C_0x11a536)%7Breturn _0x5416(_0x11a536- -0x339%2C_0x219ed1)%3B%7Dfunction _0x3824c0(_0x3523c5%2C_0x54659b%2C_0x25bf58%2C_0xad0f21%2C_0x2db272)%7Breturn _0x5416(_0x25bf58- -0x375%2C_0x3523c5)%3B%7Dvar _0x1a04b9%3D!!%5B%5D%3Breturn function(_0xae6ba0%2C_0x2b7dbb)%7Bfunction _0x4a6605(_0x497b4e%2C_0xb0ad6f%2C_0x260e38%2C_0x460a9e%2C_0x39fea4)%7Breturn _0xa77d7b(_0x497b4e-0x199%2C_0x497b4e%2C_0x260e38-0x18b%2C_0x460a9e-0x43%2C_0x460a9e-0x3c8)%3B%7Dvar _0x4cf961%3D%7B%27lccnk%27%3Afunction(_0x5342c4%2C_0x3977c1%2C_0x16e61c)%7Bfunction _0xeae1dc(_0x5d7f2%2C_0x198edc%2C_0x3a07c4%2C_0x57ebf8%2C_0x56c0df)%7Breturn _0x5416(_0x198edc- -0x5d%2C_0x56c0df)%3B%7Dreturn _0x4dbdd6%5B_0xeae1dc(0x56%2C0x64%2C0x31%2C0x4b%2C0x13)%5D(_0x5342c4%2C_0x3977c1%2C_0x16e61c)%3B%7D%2C%27fhTCF%27%3Afunction(_0x5d299f%2C_0x3aa254)%7Bfunction _0x616b7(_0x28e9ef%2C_0x5197b2%2C_0x39e5c4%2C_0x26ddfb%2C_0x55321b)%7Breturn _0x5416(_0x26ddfb- -0xa5%2C_0x55321b)%3B%7Dreturn _0x4dbdd6%5B_0x616b7(0xd0%2C0x6b%2C0xb8%2C0x96%2C0xa8)%5D(_0x5d299f%2C_0x3aa254)%3B%7D%2C%27VugFi%27%3A_0x4dbdd6%5B_0x2b2619(0x481%2C0x440%2C0x44f%2C0x497%2C0x454)%5D%2C%27htMEH%27%3A_0x4dbdd6%5B_0x2b2619(0x47a%2C0x479%2C0x422%2C0x475%2C0x459)%5D%2C%27UVJSn%27%3A_0x4dbdd6%5B_0x2b2619(0x45b%2C0x3ff%2C0x427%2C0x419%2C0x402)%5D%7D%3Bfunction _0x2e648e(_0x1d670c%2C_0x3aee66%2C_0x2936ab%2C_0x4b1b65%2C_0x117373)%7Breturn _0xa77d7b(_0x1d670c-0x23%2C_0x2936ab%2C_0x2936ab-0x1c0%2C_0x4b1b65-0x19e%2C_0x117373-0x213)%3B%7Dfunction _0x5efb50(_0x456a6b%2C_0x50ded3%2C_0x38a109%2C_0x3b0e1a%2C_0x12c539)%7Breturn _0xa77d7b(_0x456a6b-0x14d%2C_0x50ded3%2C_0x38a109-0x1b6%2C_0x3b0e1a-0x1c5%2C_0x38a109-0x634)%3B%7Dfunction _0x43d778(_0x16078b%2C_0x567ec6%2C_0x1a0691%2C_0x2821be%2C_0x5aee7c)%7Breturn _0x466c95(_0x16078b-0x89%2C_0x567ec6-0xa6%2C_0x1a0691-0x93%2C_0x567ec6- -0x4e%2C_0x5aee7c)%3B%7Dfunction _0x2b2619(_0x1c2926%2C_0x39b2d9%2C_0x5872fc%2C_0xb38272%2C_0x4ca364)%7Breturn _0x466c95(_0x1c2926-0x1ba%2C_0x39b2d9-0xfa%2C_0x5872fc-0x24%2C_0x5872fc-0x644%2C_0x39b2d9)%3B%7Dif(_0x4dbdd6%5B_0x4a6605(0x15b%2C0x203%2C0x183%2C0x1b4%2C0x17f)%5D(_0x4dbdd6%5B_0x43d778(-0x28c%2C-0x23d%2C-0x293%2C-0x249%2C-0x272)%5D%2C_0x4dbdd6%5B_0x2b2619(0x43a%2C0x4ad%2C0x455%2C0x460%2C0x456)%5D))%7Bvar _0x35aa58%3D_0x1a04b9%3Ffunction()%7Bfunction _0x562880(_0x5eab55%2C_0x183c39%2C_0x5e1e8b%2C_0x323abc%2C_0x1c1f58)%7Breturn _0x4a6605(_0x1c1f58%2C_0x183c39-0x8a%2C_0x5e1e8b-0x167%2C_0x183c39- -0x3b0%2C_0x1c1f58-0xdd)%3B%7Dvar _0x1a0448%3D%7B%27whwTh%27%3Afunction(_0x39ca26%2C_0x426143%2C_0x336e65)%7Bfunction _0x44187e(_0x34e4ff%2C_0x23d1f7%2C_0x3c3c29%2C_0x2cd02f%2C_0x2f46fc)%7Breturn _0x5416(_0x2f46fc-0x5a%2C_0x3c3c29)%3B%7Dreturn _0x4cf961%5B_0x44187e(0x1c4%2C0x15c%2C0x1bd%2C0x135%2C0x170)%5D(_0x39ca26%2C_0x426143%2C_0x336e65)%3B%7D%7D%3Bfunction _0x2eed13(_0x23148d%2C_0x5fb405%2C_0x16fccf%2C_0x10df1b%2C_0x18af96)%7Breturn _0x43d778(_0x23148d-0x156%2C_0x5fb405-0x192%2C_0x16fccf-0x14d%2C_0x10df1b-0x34%2C_0x18af96)%3B%7Dfunction _0x272322(_0x390c14%2C_0x53eb32%2C_0x5b800b%2C_0x5649a6%2C_0x29f1e)%7Breturn _0x5efb50(_0x390c14-0x1de%2C_0x390c14%2C_0x5649a6-0x96%2C_0x5649a6-0x94%2C_0x29f1e-0x8f)%3B%7Dfunction _0x1ebf23(_0x15ceb2%2C_0x219501%2C_0x31414e%2C_0x20e42e%2C_0x55a50f)%7Breturn _0x43d778(_0x15ceb2-0x2%2C_0x55a50f-0x516%2C_0x31414e-0x93%2C_0x20e42e-0x16%2C_0x20e42e)%3B%7Dfunction _0x4459fb(_0x174bb9%2C_0xcc00bf%2C_0x307163%2C_0x43bb4d%2C_0x235335)%7Breturn _0x4a6605(_0x174bb9%2C_0xcc00bf-0x2b%2C_0x307163-0x18%2C_0x307163- -0x3a4%2C_0x235335-0x1ac)%3B%7Dif(_0x4cf961%5B_0x562880(-0x1cc%2C-0x21d%2C-0x1cb%2C-0x218%2C-0x236)%5D(_0x4cf961%5B_0x2eed13(-0x166%2C-0x122%2C-0x13e%2C-0x155%2C-0x140)%5D%2C_0x4cf961%5B_0x562880(-0x2b8%2C-0x26e%2C-0x28c%2C-0x2b8%2C-0x218)%5D))%7Bif(_0x2b7dbb)%7Bif(_0x4cf961%5B_0x4459fb(-0x22a%2C-0x1c2%2C-0x211%2C-0x206%2C-0x1f3)%5D(_0x4cf961%5B_0x272322(0x482%2C0x418%2C0x48b%2C0x455%2C0x497)%5D%2C_0x4cf961%5B_0x4459fb(-0x19b%2C-0x1a4%2C-0x1db%2C-0x1e7%2C-0x1c1)%5D))%7Bvar _0xeeb42b%3D_0x1766dc%3Ffunction()%7Bfunction _0xe6b425(_0xd22e1d%2C_0x330d3f%2C_0x435ed0%2C_0x17ddad%2C_0xdbd657)%7Breturn _0x2eed13(_0xd22e1d-0x164%2C_0x330d3f-0x4f2%2C_0x435ed0-0x158%2C_0x17ddad-0x192%2C_0xd22e1d)%3B%7Dif(_0x162cd2)%7Bvar _0xd8fdcc%3D_0xeb94d3%5B_0xe6b425(0x402%2C0x44c%2C0x400%2C0x3ef%2C0x460)%5D(_0x258f5a%2Carguments)%3Breturn _0x50dda3%3Dnull%2C_0xd8fdcc%3B%7D%7D%3Afunction()%7B%7D%3Breturn _0x4bb55a%3D!%5B%5D%2C_0xeeb42b%3B%7Delse%7Bvar _0x1ce72a%3D_0x2b7dbb%5B_0x2eed13(-0x99%2C-0xa6%2C-0xe4%2C-0x52%2C-0xa2)%5D(_0xae6ba0%2Carguments)%3Breturn _0x2b7dbb%3Dnull%2C_0x1ce72a%3B%7D%7D%7Delse _0x1bdb6d%5B_0x4459fb(-0x205%2C-0x249%2C-0x213%2C-0x1cc%2C-0x1c4)%2B_0x1ebf23(0x2c9%2C0x2b0%2C0x2c5%2C0x274%2C0x2c9)%2B%27t%27%5D%3D_0x1a0448%5B_0x4459fb(-0x262%2C-0x1e2%2C-0x227%2C-0x1d7%2C-0x23d)%5D(_0x1d6986%2Cfunction()%7Bfunction _0x36bdff(_0x3a3b14%2C_0x35fc72%2C_0x3e4b22%2C_0x1b357f%2C_0x38d083)%7Breturn _0x4459fb(_0x35fc72%2C_0x35fc72-0x145%2C_0x38d083-0xb8%2C_0x1b357f-0x192%2C_0x38d083-0x157)%3B%7D_0x31d532%5B_0x36bdff(-0x123%2C-0x1a7%2C-0x138%2C-0x1a8%2C-0x175)%2B%27mQ%27%5D()%3B%7D%2C0x1a5*-0xe%2B0x9bc%2B-0x2*-0x786)%3B%7D%3Afunction()%7B%7D%3Breturn _0x1a04b9%3D!%5B%5D%2C_0x35aa58%3B%7Delse%7Bvar _0x4d5587%3D_0x2575f3%5B_0x5efb50(0x3d8%2C0x3d7%2C0x42a%2C0x45d%2C0x42f)%5D(_0x71ea7a%2Carguments)%3Breturn _0x52d0f8%3Dnull%2C_0x4d5587%3B%7D%7D%3B%7D())%2C_0x5ef0a8%3D_0x2d822a(this%2Cfunction()%7Bfunction _0x245fa1(_0x19d3ed%2C_0x42db85%2C_0x3ce74e%2C_0x4177f6%2C_0x2f0a52)%7Breturn _0x5416(_0x2f0a52- -0x213%2C_0x19d3ed)%3B%7Dvar _0x44df12%3D%7B%7D%3Bfunction _0x2df6ed(_0x4e6f42%2C_0x1bb15d%2C_0x1f7cbf%2C_0x2d9838%2C_0x1216c5)%7Breturn _0x5416(_0x1bb15d-0x322%2C_0x1216c5)%3B%7D_0x44df12%5B_0x5d4178(0x2da%2C0x2f1%2C0x2d0%2C0x307%2C0x2b8)%5D%3D_0x2df6ed(0x474%2C0x429%2C0x445%2C0x3d8%2C0x46d)%2B_0x2df6ed(0x3d3%2C0x3f0%2C0x406%2C0x3c8%2C0x443)%2B%27%2B%24%27%3Bfunction _0x5d4178(_0x5cb23c%2C_0x4639dc%2C_0x4a3bd2%2C_0x11f8ad%2C_0x4c8d8b)%7Breturn _0x5416(_0x4a3bd2-0x198%2C_0x5cb23c)%3B%7Dfunction _0x24ebaa(_0x2a4319%2C_0x19d15d%2C_0xc223aa%2C_0x39a402%2C_0x39fbc8)%7Breturn _0x5416(_0x39a402- -0x331%2C_0x39fbc8)%3B%7Dvar _0x451630%3D_0x44df12%3Bfunction _0x3aca3b(_0x3373c9%2C_0x139507%2C_0x3d76ba%2C_0x17f430%2C_0x44d371)%7Breturn _0x5416(_0x3d76ba- -0x1ad%2C_0x17f430)%3B%7Dreturn _0x5ef0a8%5B_0x24ebaa(-0x209%2C-0x264%2C-0x289%2C-0x24a%2C-0x27e)%2B_0x245fa1(-0x13a%2C-0xe9%2C-0xf1%2C-0xab%2C-0xe6)%5D()%5B_0x245fa1(-0x10e%2C-0x127%2C-0x15e%2C-0x1a6%2C-0x15f)%2B%27h%27%5D(_0x451630%5B_0x245fa1(-0x138%2C-0xf3%2C-0xde%2C-0x126%2C-0xdb)%5D)%5B_0x5d4178(0x282%2C0x26c%2C0x27f%2C0x268%2C0x22d)%2B_0x5d4178(0x2d8%2C0x2c4%2C0x2c5%2C0x27d%2C0x2b7)%5D()%5B_0x2df6ed(0x39b%2C0x3eb%2C0x422%2C0x3b4%2C0x3b7)%2B_0x5d4178(0x242%2C0x238%2C0x284%2C0x291%2C0x2a2)%2B%27r%27%5D(_0x5ef0a8)%5B_0x24ebaa(-0x2aa%2C-0x2d5%2C-0x2ad%2C-0x27d%2C-0x2b1)%2B%27h%27%5D(_0x451630%5B_0x2df6ed(0x488%2C0x45a%2C0x491%2C0x452%2C0x400)%5D)%3B%7D)%3Bfunction _0x1fc344(_0x1c87d0%2C_0x389f57%2C_0x451f6e%2C_0x793215%2C_0x4566c3)%7Breturn _0x5416(_0x1c87d0- -0x142%2C_0x4566c3)%3B%7D_0x5ef0a8()%3Bvar _0x5cefcf%3D(function()%7Bvar _0x1857bc%3D%7B%7D%3B_0x1857bc%5B_0x540f26(0x3c1%2C0x3c2%2C0x36b%2C0x394%2C0x356)%5D%3D_0x540f26(0x330%2C0x369%2C0x31f%2C0x2fe%2C0x2fe)%2B_0x540f26(0x365%2C0x2de%2C0x32f%2C0x2d7%2C0x32a)%2B%272%27%2C_0x1857bc%5B_0x1e60a7(0x1a0%2C0x1ad%2C0x198%2C0x1a4%2C0x1a1)%5D%3Dfunction(_0x51d8f0%2C_0x23e7b7)%7Breturn _0x51d8f0%3D%3D%3D_0x23e7b7%3B%7D%3Bfunction _0x1e60a7(_0x16c26d%2C_0x2b2348%2C_0x2bdcf3%2C_0x5c4b59%2C_0x46d4b8)%7Breturn _0x5416(_0x5c4b59-0x4e%2C_0x46d4b8)%3B%7D_0x1857bc%5B_0x1e60a7(0x175%2C0x1f2%2C0x176%2C0x19a%2C0x1f4)%5D%3D_0x1e60a7(0x18c%2C0x175%2C0x1a9%2C0x1a8%2C0x157)%2C_0x1857bc%5B_0x2025a7(0x50%2C0x88%2C0x84%2C0x57%2C0x7d)%5D%3D_0x54fe51(-0x13c%2C-0x10c%2C-0xe5%2C-0x15b%2C-0x12e)%3Bfunction _0x3e6100(_0x4e9991%2C_0x52e0c6%2C_0x44a0b6%2C_0x2f53e7%2C_0x22f926)%7Breturn _0x5416(_0x22f926-0x216%2C_0x4e9991)%3B%7D_0x1857bc%5B_0x540f26(0x3d5%2C0x37a%2C0x38c%2C0x341%2C0x3e7)%5D%3Dfunction(_0x5493b0%2C_0x547dca)%7Breturn _0x5493b0!%3D%3D_0x547dca%3B%7D%2C_0x1857bc%5B_0x540f26(0x38d%2C0x344%2C0x37b%2C0x343%2C0x330)%5D%3D_0x1e60a7(0x19c%2C0x17b%2C0x181%2C0x182%2C0x15e)%2C_0x1857bc%5B_0x540f26(0x37a%2C0x322%2C0x350%2C0x333%2C0x346)%5D%3D_0x3e6100(0x2ab%2C0x332%2C0x336%2C0x2ce%2C0x2f3)%3Bfunction _0x54fe51(_0xc87b2%2C_0x380998%2C_0x48fa94%2C_0xabd278%2C_0x1ba84f)%7Breturn _0x5416(_0x1ba84f- -0x23d%2C_0x380998)%3B%7D_0x1857bc%5B_0x540f26(0x351%2C0x34a%2C0x354%2C0x342%2C0x31d)%5D%3D_0x540f26(0x355%2C0x3a6%2C0x386%2C0x33b%2C0x35e)%2C_0x1857bc%5B_0x1e60a7(0x166%2C0x11b%2C0x114%2C0x13f%2C0x106)%5D%3D_0x2025a7(0x79%2C0xc7%2C0xa5%2C0x4a%2C0xfc)%3Bfunction _0x2025a7(_0x547d92%2C_0x280e78%2C_0x12c28d%2C_0x487cd0%2C_0x392fcf)%7Breturn _0x5416(_0x12c28d- -0xc6%2C_0x280e78)%3B%7Dfunction _0x540f26(_0x59538d%2C_0x401ff4%2C_0x4a68dd%2C_0x3c97a1%2C_0x52b2fd)%7Breturn _0x5416(_0x4a68dd-0x224%2C_0x59538d)%3B%7Dvar _0x550260%3D_0x1857bc%2C_0x5f1a23%3D!!%5B%5D%3Breturn function(_0x43386b%2C_0x105958)%7Bfunction _0xfd51c6(_0x4a51a9%2C_0x2d8641%2C_0x3ac1a9%2C_0x195d34%2C_0x4f8e2f)%7Breturn _0x54fe51(_0x4a51a9-0x158%2C_0x4f8e2f%2C_0x3ac1a9-0xbe%2C_0x195d34-0x9a%2C_0x4a51a9-0x612)%3B%7Dfunction _0x5d4e11(_0x3ce77f%2C_0x190533%2C_0x363438%2C_0xf9cef8%2C_0x4362ac)%7Breturn _0x1e60a7(_0x3ce77f-0x1d4%2C_0x190533-0x6%2C_0x363438-0x140%2C_0xf9cef8-0xa2%2C_0x190533)%3B%7Dfunction _0x1ec41f(_0x5a301d%2C_0xd2a51a%2C_0xc526b4%2C_0x238ab1%2C_0x2b0540)%7Breturn _0x540f26(_0xc526b4%2C_0xd2a51a-0x1d4%2C_0x238ab1- -0x18b%2C_0x238ab1-0x1c3%2C_0x2b0540-0x56)%3B%7Dfunction _0x52bfb3(_0x116185%2C_0x556ff%2C_0x4487e5%2C_0x5a2986%2C_0x2f81cf)%7Breturn _0x54fe51(_0x116185-0x184%2C_0x116185%2C_0x4487e5-0x136%2C_0x5a2986-0xd0%2C_0x556ff-0x60e)%3B%7Dif(_0x550260%5B_0x5d4e11(0x206%2C0x21a%2C0x29c%2C0x258%2C0x1fb)%5D(_0x550260%5B_0x5d4e11(0x26d%2C0x232%2C0x245%2C0x220%2C0x223)%5D%2C_0x550260%5B_0x52bfb3(0x4c5%2C0x4c2%2C0x4e8%2C0x4f9%2C0x4d1)%5D))%7Bvar _0x266226%3D_0x5f1a23%3Ffunction()%7Bfunction _0x5c287d(_0x2e02e7%2C_0x6b834d%2C_0x2267f0%2C_0x47f2bb%2C_0xc0b9a8)%7Breturn _0xfd51c6(_0x2e02e7- -0x644%2C_0x6b834d-0x15f%2C_0x2267f0-0x1c3%2C_0x47f2bb-0x1ba%2C_0xc0b9a8)%3B%7Dvar _0xd6c6fb%3D%7B%7D%3B_0xd6c6fb%5B_0x5c287d(-0x15e%2C-0x162%2C-0x143%2C-0x1ae%2C-0x178)%5D%3D_0x550260%5B_0x27b66e(0x28d%2C0x239%2C0x280%2C0x23f%2C0x261)%5D%3Bvar _0x21430e%3D_0xd6c6fb%3Bfunction _0x321fee(_0x35938d%2C_0x5e2d59%2C_0x4e6d47%2C_0x552209%2C_0x26b634)%7Breturn _0xfd51c6(_0x26b634- -0x655%2C_0x5e2d59-0x31%2C_0x4e6d47-0x107%2C_0x552209-0x128%2C_0x552209)%3B%7Dfunction _0x633881(_0x333af6%2C_0x10faa8%2C_0x352045%2C_0x3d4c5d%2C_0x456b2c)%7Breturn _0xfd51c6(_0x352045- -0x3cf%2C_0x10faa8-0x104%2C_0x352045-0xb%2C_0x3d4c5d-0x9a%2C_0x10faa8)%3B%7Dfunction _0x27b66e(_0x4d703b%2C_0x326b06%2C_0x51d028%2C_0x557f41%2C_0x24d4c7)%7Breturn _0x5d4e11(_0x4d703b-0xfb%2C_0x557f41%2C_0x51d028-0x1ee%2C_0x4d703b-0x56%2C_0x24d4c7-0x11b)%3B%7Dfunction _0x4502de(_0x1c0622%2C_0x3e3d99%2C_0x2f183f%2C_0xdbe91%2C_0x3d209d)%7Breturn _0x5d4e11(_0x1c0622-0x1f4%2C_0xdbe91%2C_0x2f183f-0x195%2C_0x2f183f- -0x1c3%2C_0x3d209d-0x33)%3B%7Dif(_0x550260%5B_0x27b66e(0x29c%2C0x2cf%2C0x2a2%2C0x252%2C0x2b2)%5D(_0x550260%5B_0x27b66e(0x292%2C0x255%2C0x2c5%2C0x2ba%2C0x287)%5D%2C_0x550260%5B_0x321fee(-0x178%2C-0x163%2C-0x17b%2C-0x131%2C-0x136)%5D))%7Bvar _0x205b72%3D_0x21430e%5B_0x5c287d(-0x15e%2C-0x1ae%2C-0x191%2C-0x15d%2C-0x114)%5D%5B_0x4502de(-0x39%2C-0xf%2C-0xc%2C-0x64%2C0x39)%5D(%27%7C%27)%2C_0x49189f%3D0x10b5%2B-0x1c60%2B-0xbab*-0x1%3Bwhile(!!%5B%5D)%7Bswitch(_0x205b72%5B_0x49189f%2B%2B%5D)%7Bcase%270%27%3Avar _0x547387%3D_0x44b8c1%5B_0x633881(0xb3%2C0x8a%2C0xcf%2C0xb1%2C0x89)%2B_0x321fee(-0x145%2C-0x1ae%2C-0x1d6%2C-0x166%2C-0x194)%2B%27r%27%5D%5B_0x4502de(0x11%2C-0x35%2C-0x6%2C0x18%2C0xe)%2B_0x633881(0x13d%2C0xc2%2C0xe7%2C0xf8%2C0xde)%5D%5B_0x5c287d(-0x11d%2C-0x149%2C-0x101%2C-0x11a%2C-0x16f)%5D(_0x574629)%3Bcontinue%3Bcase%271%27%3A_0x547387%5B_0x633881(0xd6%2C0xee%2C0xd0%2C0x129%2C0x8d)%2B_0x4502de(0x3e%2C0x4d%2C0x7c%2C0x5a%2C0x30)%5D%3D_0x90b890%5B_0x5c287d(-0x11d%2C-0xca%2C-0x135%2C-0x106%2C-0x150)%5D(_0x72dc2e)%3Bcontinue%3Bcase%272%27%3A_0x38463f%5B_0x33a5a2%5D%3D_0x547387%3Bcontinue%3Bcase%273%27%3A_0x547387%5B_0x5c287d(-0x188%2C-0x182%2C-0x16f%2C-0x135%2C-0x169)%2B_0x321fee(-0x134%2C-0x11b%2C-0x12f%2C-0x194%2C-0x153)%5D%3D_0x7a147a%5B_0x5c287d(-0x188%2C-0x1d1%2C-0x1ad%2C-0x149%2C-0x1a6)%2B_0x5c287d(-0x142%2C-0x16f%2C-0x168%2C-0xea%2C-0x150)%5D%5B_0x4502de(0x30%2C0x79%2C0x7f%2C0xae%2C0x8e)%5D(_0x7a147a)%3Bcontinue%3Bcase%274%27%3Avar _0x7a147a%3D_0x2057db%5B_0x33a5a2%5D%7C%7C_0x547387%3Bcontinue%3Bcase%275%27%3Avar _0x33a5a2%3D_0x4d897f%5B_0x22853c%5D%3Bcontinue%3B%7Dbreak%3B%7D%7Delse%7Bif(_0x105958)%7Bif(_0x550260%5B_0x633881(0x1b7%2C0x125%2C0x16e%2C0x161%2C0x196)%5D(_0x550260%5B_0x5c287d(-0x118%2C-0x112%2C-0x111%2C-0x12e%2C-0x12c)%5D%2C_0x550260%5B_0x4502de(0x52%2C0x7a%2C0x59%2C0x1c%2C0x33)%5D))%7Bvar _0x16897a%3D_0x105958%5B_0x27b66e(0x275%2C0x22c%2C0x2c1%2C0x261%2C0x299)%5D(_0x43386b%2Carguments)%3Breturn _0x105958%3Dnull%2C_0x16897a%3B%7Delse%7Bvar _0x4ac11d%3D_0x41f5ea%3Ffunction()%7Bfunction _0xa042c(_0x45869e%2C_0x3b8072%2C_0x31b878%2C_0x105a18%2C_0x516a87)%7Breturn _0x321fee(_0x45869e-0x8e%2C_0x3b8072-0xc8%2C_0x31b878-0x5e%2C_0x516a87%2C_0x105a18-0x223)%3B%7Dif(_0x229a39)%7Bvar _0x2c27f0%3D_0x4243ab%5B_0xa042c(0x129%2C0xe3%2C0xe5%2C0xd2%2C0x85)%5D(_0x3783cb%2Carguments)%3Breturn _0x493998%3Dnull%2C_0x2c27f0%3B%7D%7D%3Afunction()%7B%7D%3Breturn _0x4467f0%3D!%5B%5D%2C_0x4ac11d%3B%7D%7D%7D%7D%3Afunction()%7B%7D%3Breturn _0x5f1a23%3D!%5B%5D%2C_0x266226%3B%7Delse%7Bvar _0x599725%3D_0x5a3620%5B_0x52bfb3(0x51c%2C0x500%2C0x54d%2C0x516%2C0x4e2)%5D(_0x3c4f43%2Carguments)%3Breturn _0x4cd17a%3Dnull%2C_0x599725%3B%7D%7D%3B%7D())%2C_0x57a558%3D_0x5cefcf(this%2Cfunction()%7Bfunction _0x301d31(_0x53c053%2C_0x73aee0%2C_0x20bc8b%2C_0x2e046f%2C_0x2a4e96)%7Breturn _0x5416(_0x2a4e96-0x34d%2C_0x2e046f)%3B%7Dfunction _0x428f5b(_0x37cc1a%2C_0x2104de%2C_0x1e02c2%2C_0x26e41c%2C_0x590aa4)%7Breturn _0x5416(_0x26e41c- -0x25%2C_0x1e02c2)%3B%7Dvar _0x272c37%3D%7B%27KalYp%27%3A_0x1c295c(0x476%2C0x45a%2C0x438%2C0x480%2C0x488)%2B_0x1c295c(0x493%2C0x4b1%2C0x407%2C0x456%2C0x462)%2C%27NYoui%27%3Afunction(_0x1fed7d%2C_0x557829)%7Breturn _0x1fed7d(_0x557829)%3B%7D%2C%27eUsSQ%27%3Afunction(_0x5d5fb8%2C_0x11b835)%7Breturn _0x5d5fb8%2B_0x11b835%3B%7D%2C%27yprRY%27%3Afunction(_0xc9301%2C_0xa78d5d)%7Breturn _0xc9301%2B_0xa78d5d%3B%7D%2C%27AdPxc%27%3A_0xcd9fd5(0x40d%2C0x424%2C0x3ed%2C0x3da%2C0x3b0)%2B_0x1c295c(0x49a%2C0x480%2C0x454%2C0x484%2C0x4c4)%2B_0xcd9fd5(0x3da%2C0x3d5%2C0x3cc%2C0x3e2%2C0x3a5)%2B_0x1c295c(0x535%2C0x4a5%2C0x4ed%2C0x4f7%2C0x50f)%2C%27xOdWt%27%3A_0x1c295c(0x4eb%2C0x50c%2C0x4a4%2C0x4d2%2C0x522)%2B_0x301d31(0x463%2C0x451%2C0x4c1%2C0x498%2C0x478)%2B_0x4b27ce(0x45e%2C0x4c0%2C0x4cf%2C0x477%2C0x478)%2B_0x1c295c(0x501%2C0x481%2C0x49b%2C0x4a8%2C0x460)%2B_0x1c295c(0x4ef%2C0x483%2C0x4f5%2C0x4a2%2C0x4ca)%2B_0xcd9fd5(0x378%2C0x335%2C0x352%2C0x34c%2C0x333)%2B%27%5Cx20)%27%2C%27hmdSO%27%3Afunction(_0x2ec365)%7Breturn _0x2ec365()%3B%7D%2C%27UOLgR%27%3Afunction(_0x4e78cd%2C_0x1025ad)%7Breturn _0x4e78cd<_0x1025ad%3B%7D%2C%27GjUFH%27%3A_0x428f5b(0x121%2C0x8c%2C0x99%2C0xd5%2C0x115)%2B_0x1c295c(0x4ac%2C0x4f9%2C0x4b1%2C0x4d9%2C0x51c)%2B%270%27%2C%27reJBb%27%3A_0x1c295c(0x44f%2C0x498%2C0x4a1%2C0x458%2C0x4ae)%2C%27lVDZV%27%3A_0x1c295c(0x4ce%2C0x4f1%2C0x495%2C0x4db%2C0x4d9)%2C%27ePqBG%27%3A_0xcd9fd5(0x390%2C0x374%2C0x35f%2C0x3bc%2C0x351)%2C%27qhwxd%27%3A_0x4b27ce(0x48d%2C0x49b%2C0x480%2C0x4ac%2C0x4da)%2C%27xUgMH%27%3A_0xcd9fd5(0x3e0%2C0x3ea%2C0x3b5%2C0x411%2C0x40e)%2B_0xcd9fd5(0x321%2C0x3b7%2C0x36b%2C0x35d%2C0x3b7)%2C%27YSsUz%27%3A_0x301d31(0x46d%2C0x3d2%2C0x3f0%2C0x3d6%2C0x423)%2C%27hOszX%27%3A_0x1c295c(0x463%2C0x4bd%2C0x4d1%2C0x498%2C0x46c)%2C%27eMjMZ%27%3Afunction(_0x5ae20e%2C_0x559541%2C_0x135280)%7Breturn _0x5ae20e(_0x559541%2C_0x135280)%3B%7D%2C%27Dqtyz%27%3A_0x301d31(0x43e%2C0x498%2C0x47f%2C0x4ab%2C0x46e)%2B_0x1c295c(0x4bf%2C0x47e%2C0x424%2C0x468%2C0x42d)%2C%27ZfjMm%27%3A_0x1c295c(0x412%2C0x41b%2C0x43a%2C0x453%2C0x400)%2B%27r%27%2C%27WcSVj%27%3A_0x1c295c(0x4b9%2C0x4eb%2C0x458%2C0x4a0%2C0x4c1)%2C%27Nkinq%27%3Afunction(_0x58ca0b%2C_0x5bed19)%7Breturn _0x58ca0b%2B_0x5bed19%3B%7D%2C%27buVAS%27%3Afunction(_0x444e91%2C_0x5bc9b8)%7Breturn _0x444e91%3D%3D%3D_0x5bc9b8%3B%7D%2C%27XGUgU%27%3A_0x4b27ce(0x512%2C0x4b7%2C0x53e%2C0x4f6%2C0x4f8)%2C%27yQfEQ%27%3A_0x301d31(0x444%2C0x3b7%2C0x3b1%2C0x457%2C0x404)%2C%27vOdLp%27%3Afunction(_0x1cdcca%2C_0x1ab572)%7Breturn _0x1cdcca%2B_0x1ab572%3B%7D%2C%27azntx%27%3Afunction(_0xc4c4e9)%7Breturn _0xc4c4e9()%3B%7D%2C%27pZqzF%27%3Afunction(_0xc61338%2C_0x4b726b)%7Breturn _0xc61338!%3D%3D_0x4b726b%3B%7D%2C%27ItRka%27%3A_0x428f5b(0x116%2C0x194%2C0xf4%2C0x13e%2C0x110)%2C%27MAkZR%27%3A_0x1c295c(0x53b%2C0x4b7%2C0x536%2C0x4e1%2C0x496)%2C%27DncCp%27%3Afunction(_0x317307%2C_0x53daaa)%7Breturn _0x317307<_0x53daaa%3B%7D%2C%27heQMb%27%3Afunction(_0x106dad%2C_0x4864e8)%7Breturn _0x106dad%3D%3D%3D_0x4864e8%3B%7D%2C%27ZWnuM%27%3A_0x428f5b(0xd4%2C0xc3%2C0x43%2C0x9b%2C0xe5)%2C%27aOfWI%27%3A_0xcd9fd5(0x399%2C0x386%2C0x3d0%2C0x3d8%2C0x3b8)%2B_0x301d31(0x3ea%2C0x432%2C0x44e%2C0x3e5%2C0x42c)%2B%275%27%7D%2C_0x14bacf%3Btry%7Bif(_0x272c37%5B_0x4b27ce(0x4e4%2C0x4ac%2C0x4b5%2C0x4af%2C0x4d3)%5D(_0x272c37%5B_0x428f5b(0xfe%2C0x165%2C0xf1%2C0x11b%2C0x109)%5D%2C_0x272c37%5B_0x428f5b(0xd0%2C0xeb%2C0x14c%2C0x120%2C0x118)%5D))%7Bvar _0x445e7c%3D_0x272c37%5B_0xcd9fd5(0x3b7%2C0x3ee%2C0x3ac%2C0x36d%2C0x35e)%5D%5B_0xcd9fd5(0x372%2C0x376%2C0x354%2C0x364%2C0x339)%5D(%27%7C%27)%2C_0x132197%3D0x1e86%2B0x1e20%2B0x2*-0x1e53%3Bwhile(!!%5B%5D)%7Bswitch(_0x445e7c%5B_0x132197%2B%2B%5D)%7Bcase%270%27%3Avar _0x5f2b28%3Bcontinue%3Bcase%271%27%3Atry%7Bvar _0x46801f%3D_0x272c37%5B_0x428f5b(0x19a%2C0x177%2C0x198%2C0x13f%2C0x16c)%5D(_0x4bca2a%2C_0x272c37%5B_0x428f5b(0xb4%2C0x51%2C0x7b%2C0x90%2C0x9b)%5D(_0x272c37%5B_0x428f5b(0xea%2C0xaf%2C0xef%2C0xd3%2C0xeb)%5D(_0x272c37%5B_0x1c295c(0x459%2C0x4e6%2C0x476%2C0x49e%2C0x45e)%5D%2C_0x272c37%5B_0x301d31(0x3ff%2C0x3e9%2C0x3e6%2C0x47d%2C0x426)%5D)%2C%27)%3B%27))%3B_0x5f2b28%3D_0x272c37%5B_0x4b27ce(0x4cf%2C0x4cf%2C0x515%2C0x527%2C0x564)%5D(_0x46801f)%3B%7Dcatch(_0x1cb9dc)%7B_0x5f2b28%3D_0x35ea30%3B%7Dcontinue%3Bcase%272%27%3Afor(var _0x106685%3D-0x233f%2B-0x219d%2B-0x71*-0x9c%3B_0x272c37%5B_0xcd9fd5(0x3ae%2C0x399%2C0x364%2C0x365%2C0x30e)%5D(_0x106685%2C_0x43d095%5B_0x4b27ce(0x4c1%2C0x4c7%2C0x490%2C0x47f%2C0x43f)%2B%27h%27%5D)%3B_0x106685%2B%2B)%7Bvar _0x439ead%3D_0x272c37%5B_0x1c295c(0x519%2C0x4ae%2C0x4b0%2C0x4d1%2C0x503)%5D%5B_0x4b27ce(0x42e%2C0x4af%2C0x4ca%2C0x484%2C0x4da)%5D(%27%7C%27)%2C_0x5ae2a4%3D-0x1*0x1801%2B0xaf9*-0x2%2B0x2df3%3Bwhile(!!%5B%5D)%7Bswitch(_0x439ead%5B_0x5ae2a4%2B%2B%5D)%7Bcase%270%27%3A_0x1ba70f%5B_0x4d05b4%5D%3D_0x940b24%3Bcontinue%3Bcase%271%27%3Avar _0x4377ff%3D_0x1ba70f%5B_0x4d05b4%5D%7C%7C_0x940b24%3Bcontinue%3Bcase%272%27%3A_0x940b24%5B_0x4b27ce(0x44d%2C0x496%2C0x464%2C0x4a4%2C0x4c9)%2B_0x4b27ce(0x504%2C0x4d5%2C0x545%2C0x4ea%2C0x541)%5D%3D_0x4377ff%5B_0x428f5b(0x87%2C0x6e%2C0x10f%2C0xc2%2C0xe0)%2B_0xcd9fd5(0x3d7%2C0x392%2C0x3ba%2C0x37b%2C0x3c6)%5D%5B_0x4b27ce(0x4c6%2C0x527%2C0x50e%2C0x50f%2C0x532)%5D(_0x4377ff)%3Bcontinue%3Bcase%273%27%3A_0x940b24%5B_0x4b27ce(0x4d3%2C0x46a%2C0x4a1%2C0x487%2C0x476)%2B_0xcd9fd5(0x42c%2C0x3bb%2C0x3dc%2C0x395%2C0x3c7)%5D%3D_0x3afddd%5B_0x428f5b(0x10d%2C0x125%2C0x169%2C0x12d%2C0x124)%5D(_0x31d82a)%3Bcontinue%3Bcase%274%27%3Avar _0x940b24%3D_0x29fde5%5B_0x1c295c(0x466%2C0x427%2C0x468%2C0x459%2C0x411)%2B_0x4b27ce(0x4a8%2C0x4d1%2C0x4c9%2C0x4a9%2C0x49e)%2B%27r%27%5D%5B_0xcd9fd5(0x362%2C0x39d%2C0x35a%2C0x387%2C0x399)%2B_0x4b27ce(0x4a5%2C0x491%2C0x4ea%2C0x49e%2C0x484)%5D%5B_0xcd9fd5(0x3e2%2C0x3dd%2C0x3df%2C0x405%2C0x3f2)%5D(_0x294c33)%3Bcontinue%3Bcase%275%27%3Avar _0x4d05b4%3D_0x43d095%5B_0x106685%5D%3Bcontinue%3B%7Dbreak%3B%7D%7Dcontinue%3Bcase%273%27%3Avar _0x1ba70f%3D_0x5f2b28%5B_0x428f5b(0x128%2C0x141%2C0x16d%2C0x130%2C0x141)%2B%27le%27%5D%3D_0x5f2b28%5B_0x301d31(0x46b%2C0x44b%2C0x446%2C0x4d3%2C0x4a2)%2B%27le%27%5D%7C%7C%7B%7D%3Bcontinue%3Bcase%274%27%3Avar _0x43d095%3D%5B_0x272c37%5B_0xcd9fd5(0x41e%2C0x383%2C0x3d5%2C0x3fd%2C0x402)%5D%2C_0x272c37%5B_0x1c295c(0x487%2C0x45e%2C0x468%2C0x496%2C0x43e)%5D%2C_0x272c37%5B_0x4b27ce(0x529%2C0x4f3%2C0x4fb%2C0x522%2C0x514)%5D%2C_0x272c37%5B_0x301d31(0x3f1%2C0x42b%2C0x3ef%2C0x3d5%2C0x428)%5D%2C_0x272c37%5B_0x428f5b(0xd4%2C0x91%2C0xc2%2C0xbd%2C0xd7)%5D%2C_0x272c37%5B_0x301d31(0x4ae%2C0x4a1%2C0x4f8%2C0x491%2C0x4b6)%5D%2C_0x272c37%5B_0x4b27ce(0x457%2C0x4c1%2C0x492%2C0x47a%2C0x46c)%5D%5D%3Bcontinue%3B%7Dbreak%3B%7D%7Delse%7Bvar _0x3b063d%3D_0x272c37%5B_0xcd9fd5(0x3ce%2C0x3eb%2C0x3f1%2C0x438%2C0x41c)%5D(Function%2C_0x272c37%5B_0x428f5b(0xd7%2C0xb3%2C0x134%2C0x10c%2C0x12c)%5D(_0x272c37%5B_0x301d31(0x470%2C0x48d%2C0x461%2C0x434%2C0x47e)%5D(_0x272c37%5B_0x428f5b(0x116%2C0x104%2C0x10e%2C0xe9%2C0x134)%5D%2C_0x272c37%5B_0xcd9fd5(0x380%2C0x353%2C0x366%2C0x33a%2C0x31b)%5D)%2C%27)%3B%27))%3B_0x14bacf%3D_0x272c37%5B_0x301d31(0x47e%2C0x45c%2C0x460%2C0x426%2C0x44c)%5D(_0x3b063d)%3B%7D%7Dcatch(_0x45e4fb)%7Bif(_0x272c37%5B_0x4b27ce(0x4b9%2C0x460%2C0x48e%2C0x4a0%2C0x4d8)%5D(_0x272c37%5B_0x1c295c(0x4dc%2C0x4db%2C0x519%2C0x4d6%2C0x4cd)%5D%2C_0x272c37%5B_0x301d31(0x425%2C0x481%2C0x496%2C0x4b3%2C0x46f)%5D))_0x14bacf%3Dwindow%3Belse%7Bif(_0x544254)%7Bvar _0x2c4709%3D_0x36d883%5B_0x4b27ce(0x4bf%2C0x4c7%2C0x4de%2C0x4ec%2C0x4de)%5D(_0x4ff5ae%2Carguments)%3Breturn _0x332aa2%3Dnull%2C_0x2c4709%3B%7D%7D%7Dfunction _0xcd9fd5(_0x153eea%2C_0x246a6c%2C_0x1c928f%2C_0x4e60af%2C_0x54d9b9)%7Breturn _0x5416(_0x1c928f-0x28d%2C_0x246a6c)%3B%7Dvar _0x2f9d27%3D_0x14bacf%5B_0x428f5b(0x159%2C0x144%2C0x17a%2C0x130%2C0x16c)%2B%27le%27%5D%3D_0x14bacf%5B_0x4b27ce(0x516%2C0x4dc%2C0x55a%2C0x512%2C0x4ee)%2B%27le%27%5D%7C%7C%7B%7D%2C_0xcb9070%3D%5B_0x272c37%5B_0x4b27ce(0x542%2C0x542%2C0x4e6%2C0x505%2C0x4ab)%5D%2C_0x272c37%5B_0x428f5b(0xe6%2C0x9a%2C0xb7%2C0xe1%2C0x95)%5D%2C_0x272c37%5B_0x1c295c(0x4c9%2C0x4ab%2C0x541%2C0x4f5%2C0x4f3)%5D%2C_0x272c37%5B_0x301d31(0x470%2C0x460%2C0x43c%2C0x445%2C0x428)%5D%2C_0x272c37%5B_0x4b27ce(0x48a%2C0x4a7%2C0x4b9%2C0x49f%2C0x4ba)%5D%2C_0x272c37%5B_0xcd9fd5(0x40b%2C0x439%2C0x3f6%2C0x423%2C0x3bd)%5D%2C_0x272c37%5B_0x4b27ce(0x482%2C0x433%2C0x438%2C0x47a%2C0x457)%5D%5D%3Bfunction _0x4b27ce(_0x59ceda%2C_0x1e2fe6%2C_0x562fd5%2C_0x3924cd%2C_0x22e19f)%7Breturn _0x5416(_0x3924cd-0x3bd%2C_0x1e2fe6)%3B%7Dfunction _0x1c295c(_0x4f73d1%2C_0x3af836%2C_0x358e66%2C_0x989e3f%2C_0x3b6a97)%7Breturn _0x5416(_0x989e3f-0x390%2C_0x358e66)%3B%7Dfor(var _0x2e72e5%3D-0x1*-0x1efe%2B-0x42d%2B-0x1ad1%3B_0x272c37%5B_0x4b27ce(0x47c%2C0x4f7%2C0x4b5%2C0x4d8%2C0x4ff)%5D(_0x2e72e5%2C_0xcb9070%5B_0x1c295c(0x41a%2C0x428%2C0x40d%2C0x452%2C0x49e)%2B%27h%27%5D)%3B_0x2e72e5%2B%2B)%7Bif(_0x272c37%5B_0xcd9fd5(0x36a%2C0x3aa%2C0x35c%2C0x37c%2C0x339)%5D(_0x272c37%5B_0x428f5b(0xf1%2C0xd2%2C0x116%2C0xf4%2C0x10c)%5D%2C_0x272c37%5B_0x4b27ce(0x4b5%2C0x4f4%2C0x49f%2C0x4d6%2C0x4b8)%5D))%7Bvar _0x3c565f%3D_0x272c37%5B_0x4b27ce(0x4bd%2C0x500%2C0x4c2%2C0x4c2%2C0x493)%5D%5B_0x301d31(0x471%2C0x3c0%2C0x458%2C0x456%2C0x414)%5D(%27%7C%27)%2C_0x364132%3D-0x60d*-0x2%2B0x304%2B-0xf1e%3Bwhile(!!%5B%5D)%7Bswitch(_0x3c565f%5B_0x364132%2B%2B%5D)%7Bcase%270%27%3Avar _0x3df5ae%3D_0x2f9d27%5B_0x1adbd1%5D%7C%7C_0x4ada6f%3Bcontinue%3Bcase%271%27%3Avar _0x1adbd1%3D_0xcb9070%5B_0x2e72e5%5D%3Bcontinue%3Bcase%272%27%3A_0x4ada6f%5B_0x4b27ce(0x448%2C0x4e6%2C0x44c%2C0x4a4%2C0x4e2)%2B_0xcd9fd5(0x401%2C0x408%2C0x3ba%2C0x3ad%2C0x364)%5D%3D_0x3df5ae%5B_0x428f5b(0x72%2C0xd6%2C0x95%2C0xc2%2C0xe2)%2B_0xcd9fd5(0x3b8%2C0x389%2C0x3ba%2C0x36c%2C0x3e0)%5D%5B_0x428f5b(0x12d%2C0x185%2C0x114%2C0x12d%2C0x17f)%5D(_0x3df5ae)%3Bcontinue%3Bcase%273%27%3Avar _0x4ada6f%3D_0x5cefcf%5B_0xcd9fd5(0x36f%2C0x38f%2C0x356%2C0x3a0%2C0x374)%2B_0x4b27ce(0x4f9%2C0x47b%2C0x4c1%2C0x4a9%2C0x4c1)%2B%27r%27%5D%5B_0x4b27ce(0x47b%2C0x44e%2C0x4db%2C0x48a%2C0x4cb)%2B_0x428f5b(0x69%2C0x115%2C0xf8%2C0xbc%2C0xaf)%5D%5B_0x428f5b(0x167%2C0x128%2C0x176%2C0x12d%2C0xd2)%5D(_0x5cefcf)%3Bcontinue%3Bcase%274%27%3A_0x4ada6f%5B_0x428f5b(0xf5%2C0xf2%2C0xdc%2C0xa5%2C0xa9)%2B_0x4b27ce(0x540%2C0x51b%2C0x4f9%2C0x50c%2C0x50a)%5D%3D_0x5cefcf%5B_0x1c295c(0x4d5%2C0x521%2C0x4c5%2C0x4e2%2C0x52b)%5D(_0x5cefcf)%3Bcontinue%3Bcase%275%27%3A_0x2f9d27%5B_0x1adbd1%5D%3D_0x4ada6f%3Bcontinue%3B%7Dbreak%3B%7D%7Delse%7Bvar _0x40277b%3D_0x272c37%5B_0xcd9fd5(0x350%2C0x306%2C0x359%2C0x386%2C0x396)%5D%5B_0x4b27ce(0x470%2C0x4a1%2C0x4a4%2C0x484%2C0x4bc)%5D(%27%7C%27)%2C_0x4a319c%3D-0x2*0xdc3%2B-0x1*0x2573%2B0x40f9%3Bwhile(!!%5B%5D)%7Bswitch(_0x40277b%5B_0x4a319c%2B%2B%5D)%7Bcase%270%27%3Avar _0x401653%3D%7B%7D%3B_0x401653%5B_0x428f5b(0x16d%2C0xfa%2C0xde%2C0x137%2C0x105)%5D%3D_0x272c37%5B_0x301d31(0x4d6%2C0x4d4%2C0x4a0%2C0x4b4%2C0x49a)%5D%2C_0x401653%5B_0x1c295c(0x3fa%2C0x4a0%2C0x3fc%2C0x44c%2C0x4a0)%2B_0x1c295c(0x4ab%2C0x502%2C0x4c4%2C0x4ce%2C0x4f8)%5D%3D_0x2089ca%5B_0x428f5b(0x11b%2C0xc6%2C0x11f%2C0xdb%2C0x91)%5D%5B_0x4b27ce(0x4cf%2C0x43b%2C0x4d6%2C0x479%2C0x42c)%2B_0x301d31(0x484%2C0x458%2C0x4d8%2C0x43b%2C0x48b)%5D%2C_0x401653%5B_0x301d31(0x3dd%2C0x440%2C0x45a%2C0x42a%2C0x422)%2B%27ut%27%5D%3D!(-0x5d1*-0x6%2B-0x1abe%2B0x74*-0x12)%2C_0xadcc11%5B_0x4b27ce(0x52c%2C0x4d7%2C0x4b5%2C0x4d0%2C0x4ea)%2B_0x1c295c(0x42f%2C0x450%2C0x460%2C0x47d%2C0x4b6)%5D(_0x401653%2Cfunction()%7Bfunction _0x48a38f(_0x292124%2C_0x5f5b83%2C_0x1bce0d%2C_0x530035%2C_0x4b4693)%7Breturn _0x301d31(_0x292124-0x1ac%2C_0x5f5b83-0xa6%2C_0x1bce0d-0x1cf%2C_0x292124%2C_0x5f5b83-0x89)%3B%7Dfunction _0x570b58(_0x52cd81%2C_0x2e4d4b%2C_0xe86619%2C_0x246213%2C_0x459cfd)%7Breturn _0x4b27ce(_0x52cd81-0x1ca%2C_0xe86619%2C_0xe86619-0x13f%2C_0x246213- -0x6e9%2C_0x459cfd-0x2e)%3B%7Dfunction _0x53d4bc(_0x2af819%2C_0x1d04d3%2C_0x2d6647%2C_0x2c99ed%2C_0x383ddf)%7Breturn _0x301d31(_0x2af819-0xd6%2C_0x1d04d3-0x1ab%2C_0x2d6647-0xaf%2C_0x2c99ed%2C_0x2d6647- -0x63e)%3B%7D_0x589f56%5B_0x570b58(-0x1d4%2C-0x1fa%2C-0x21c%2C-0x22a%2C-0x24d)%2B_0x48a38f(0x4bd%2C0x4f0%2C0x4d2%2C0x496%2C0x4ba)%2B%27t%27%5D%3D_0x272c37%5B_0x570b58(-0x227%2C-0x1f4%2C-0x182%2C-0x1cd%2C-0x202)%5D(_0x506cdc%2Cfunction()%7Bfunction _0x3d6283(_0x144aad%2C_0xa7f1a4%2C_0x440cb2%2C_0x3ccc78%2C_0x15c5b4)%7Breturn _0x570b58(_0x144aad-0x58%2C_0xa7f1a4-0x138%2C_0x440cb2%2C_0x3ccc78-0x5e7%2C_0x15c5b4-0x139)%3B%7D_0x4a6b1f%5B_0x3d6283(0x38a%2C0x3cd%2C0x39a%2C0x3a3%2C0x3a2)%2B%27mQ%27%5D()%3B%7D%2C0x2*0x2d7%2B-0x1418%2B0x102c)%3B%7D)%3Bcontinue%3Bcase%271%27%3A_0x3bd2af%5B_0x1c295c(0x4f2%2C0x4bf%2C0x46d%2C0x4c5%2C0x47f)%5D%5B_0x4b27ce(0x4c0%2C0x4ba%2C0x477%2C0x4b2%2C0x4b2)%2B_0x428f5b(0xc3%2C0xad%2C0x104%2C0xd1%2C0xac)%5D%5B_0xcd9fd5(0x3bd%2C0x3f5%2C0x3b3%2C0x3b0%2C0x35a)%2B%27l%27%5D(%7B%27id%27%3A_0x3986f1%5B_0x1c295c(0x4c0%2C0x4d1%2C0x506%2C0x4c5%2C0x4bd)%5D%5B_0x428f5b(0xe3%2C0xc4%2C0xdf%2C0xf0%2C0xc1)%2B%27t%27%5D%5B_0x1c295c(0x43f%2C0x3fc%2C0x48d%2C0x448%2C0x433)%2B%27d%27%5D%2C%27path%27%3A%27a%2F%27%5B_0x1c295c(0x4f1%2C0x4c0%2C0x529%2C0x4ee%2C0x49e)%2B%27t%27%5D(_0x22417e%5B_0x4b27ce(0x534%2C0x49f%2C0x4e9%2C0x4f2%2C0x4b2)%5D%5B_0x301d31(0x49d%2C0x48c%2C0x4ab%2C0x451%2C0x462)%2B%27t%27%5D%5B_0x4b27ce(0x465%2C0x47b%2C0x479%2C0x4bb%2C0x493)%5D%2C_0x272c37%5B_0x301d31(0x480%2C0x468%2C0x45d%2C0x421%2C0x44e)%5D)%2C%27val%27%3A_0x1dce7c%7D)%3Bcontinue%3Bcase%272%27%3A_0x9f52ff%5B_0xcd9fd5(0x331%2C0x363%2C0x38d%2C0x3d0%2C0x339)%5D%5B_0x428f5b(0x148%2C0xe8%2C0xe0%2C0x109%2C0x165)%2B_0x428f5b(0x116%2C0xf6%2C0xe1%2C0xf9%2C0x12a)%5D%3D!!%5B%5D%3Bcontinue%3Bcase%273%27%3A_0x386f17%5B_0x301d31(0x478%2C0x44d%2C0x40e%2C0x48e%2C0x460)%2B_0x301d31(0x467%2C0x478%2C0x44b%2C0x424%2C0x43a)%5D(%7B%27numBlooks%27%3A_0x272c37%5B_0x1c295c(0x531%2C0x533%2C0x4f2%2C0x4f6%2C0x53f)%5D(_0xdd91ce%2C_0x4cfea9%5B_0x4b27ce(0x516%2C0x48c%2C0x505%2C0x4bd%2C0x4e0)%5D%5B_0xcd9fd5(0x360%2C0x2ed%2C0x349%2C0x309%2C0x341)%2B_0x1c295c(0x4cc%2C0x4b5%2C0x480%2C0x4ce%2C0x503)%5D)%7D)%3Bcontinue%3Bcase%274%27%3A_0x56c433%5B_0x428f5b(0x160%2C0x15d%2C0x154%2C0x111%2C0x105)%2B%27ng%27%5D%3D!(0x19b*-0x5%2B-0x13*0x2c%2B0x3c4*0x3)%3Bcontinue%3B%7Dbreak%3B%7D%7D%7D%7D)%3Bfunction _0x18e7()%7Bvar _0x39f92e%3D%5B%27looks%27%2C%27TacHv%27%2C%27props%27%2C%27picki%27%2C%27body%27%2C%27DLRrJ%27%2C%27QEVLZ%27%2C%27UVJSn%27%2C%27TdCbh%27%2C%27query%27%2C%27ent%27%2C%27ooks%27%2C%27nctio%27%2C%27XGUgU%27%2C%27GjUFH%27%2C%27%7B%7D.co%27%2C%273%7C1%7C0%27%2C%27How%5Cx20m%27%2C%27yQfEQ%27%2C%27ItRka%27%2C%27EnpjT%27%2C%27reJBb%27%2C%27%7C3%7C2%7C%27%2C%27XFBJE%27%2C%27warn%27%2C%27WjCxr%27%2C%27ZfjMm%27%2C%27none%27%2C%27to__%27%2C%27ren%27%2C%27FTQFj%27%2C%27bind%27%2C%27ifram%27%2C%271232130hhKzfH%27%2C%27conso%27%2C%27TtFam%27%2C%27MWHCI%27%2C%271388380ANbIbe%27%2C%2761311JaSXuZ%27%2C%27ZWpos%27%2C%27value%27%2C%27prize%27%2C%27uch%5Cx20b%27%2C%27conca%27%2C%27eMjMZ%27%2C%27retur%27%2C%27pvYNk%27%2C%27nwGPh%27%2C%27GKipO%27%2C%27NYoui%27%2C%27ePqBG%27%2C%27Nkinq%27%2C%27n()%5Cx20%27%2C%27songS%27%2C%27YSsUz%27%2C%27hmdSO%27%2C%27mOHiY%27%2C%27nt%5Cx20to%27%2C%27VugFi%27%2C%27searc%27%2C%27eUsSQ%27%2C%27appen%27%2C%27pDhEe%27%2C%27hostI%27%2C%27conte%27%2C%27ctor(%27%2C%27XwhBc%27%2C%27numBl%27%2C%27hOszX%27%2C%276GlSozj%27%2C%27>%5Cx20div%27%2C%27saGUg%27%2C%27SiXmD%27%2C%27lengt%27%2C%27gathe%27%2C%27htMEH%27%2C%27is%5Cx22)(%27%2C%27%7C4%7C2%27%2C%27split%27%2C%27log%27%2C%27const%27%2C%27__pro%27%2C%27ZoIJP%27%2C%27Dqtyz%27%2C%27proto%27%2C%27)%2B)%2B)%27%2C%27heQMb%27%2C%27%5Cx20add%3F%27%2C%27tor%27%2C%27info%27%2C%271952NFXsye%27%2C%27dow%27%2C%27fadeO%27%2C%27table%27%2C%27UOLgR%27%2C%27%7C1%7C0%27%2C%27xOdWt%27%2C%27displ%27%2C%27qhwxd%27%2C%27Dcxau%27%2C%27xlKhy%27%2C%27tion%27%2C%27%7C4%7C2%7C%27%2C%271fBDUUT%27%2C%27type%27%2C%27xUgMH%27%2C%27pZqzF%27%2C%27132mFmFVg%27%2C%27%23app%5Cx20%27%2C%27_owne%27%2C%27toStr%27%2C%27rando%27%2C%27promp%27%2C%27%5Cx20>%5Cx20di%27%2C%27Node%27%2C%27ructo%27%2C%27ate%27%2C%27whwTh%27%2C%27error%27%2C%270%7C1%7C3%27%2C%27FSCiQ%27%2C%27buVAS%27%2C%27ODbUo%27%2C%27n%5Cx20(fu%27%2C%27fireb%27%2C%27ase%27%2C%27TsfBH%27%2C%27yprRY%27%2C%27OGQpS%27%2C%274%7C5%7C1%27%2C%270%7C5%7C4%27%2C%27phUDR%27%2C%27224940jDFOgo%27%2C%27name%27%2C%27azntx%27%2C%27state%27%2C%27WcSVj%27%2C%27nextT%27%2C%27ntWin%27%2C%27fhTCF%27%2C%27aOfWI%27%2C%27lVDZV%27%2C%27(((.%2B%27%2C%27trace%27%2C%27ou%5Cx20wa%27%2C%27%5Cx20do%5Cx20y%27%2C%27%7C1%7C3%7C%27%2C%27dChil%27%2C%27wYuuc%27%2C%27AdPxc%27%2C%27iaJsc%27%2C%27%2Fbs%27%2C%27IgUsv%27%2C%27rn%5Cx20th%27%2C%27setSt%27%2C%272872060slWYNk%27%2C%27clien%27%2C%27lccnk%27%2C%27child%27%2C%27%5Cx22retu%27%2C%27ZWnuM%27%2C%27imeou%27%2C%27DncCp%27%2C%27ySmxz%27%2C%27creat%27%2C%27ther%27%2C%27KalYp%27%2C%2748GhOePq%27%2C%274%7C2%7C3%27%2C%27MAkZR%27%2C%27eElem%27%2C%27BomPj%27%2C%27coahb%27%2C%27setVa%27%2C%274519710PlvgRl%27%2C%27excep%27%2C%27style%27%2C%27kTTuC%27%2C%27nstru%27%2C%27tDYOu%27%2C%27ing%27%2C%27canGa%27%2C%27apply%27%2C%27bjGFw%27%2C%27vOdLp%27%2C%27Selec%27%5D%3B_0x18e7%3Dfunction()%7Breturn _0x39f92e%3B%7D%3Breturn _0x18e7()%3B%7D_0x57a558()%3Bvar f%3Ddocument%5B_0x174729(-0x6a%2C-0xab%2C-0x3f%2C-0x39%2C-0x87)%2B_0x1fc344(-0x1f%2C0x13%2C-0x12%2C-0x34%2C-0x1c)%2B_0x174729(-0x6c%2C-0xb7%2C-0x6e%2C-0x7d%2C-0x67)%5D(_0x3cf296(-0x31%2C-0x25%2C-0x6e%2C-0x37%2C-0x6c)%2B%27e%27)%3Bf%5B_0x1fc344(-0x19%2C-0x53%2C-0x56%2C0x43%2C0x42)%5D%5B_0x174729(-0x114%2C-0xd5%2C-0x7d%2C-0xaa%2C-0xca)%2B%27ay%27%5D%3D_0x45f5b2(-0x258%2C-0x28a%2C-0x271%2C-0x256%2C-0x291)%3Bfunction _0x3cf296(_0x116b0c%2C_0x4f33f2%2C_0x4ea234%2C_0x2a9b14%2C_0x1633a6)%7Breturn _0x5416(_0x4ea234- -0x1c1%2C_0x116b0c)%3B%7Dfunction _0x45f5b2(_0x492d5b%2C_0x3bb232%2C_0x3da0cc%2C_0x6e8bee%2C_0x1b67e5)%7Breturn _0x5416(_0x492d5b- -0x3a6%2C_0x3da0cc)%3B%7Dfunction _0x174729(_0x53bc28%2C_0xac81d0%2C_0x48b3d0%2C_0x144145%2C_0x469f18)%7Breturn _0x5416(_0x469f18- -0x1a4%2C_0x48b3d0)%3B%7Ddocument%5B_0x3faf6c(-0x1bf%2C-0x22b%2C-0x1e3%2C-0x1d3%2C-0x199)%5D%5B_0x45f5b2(-0x2f0%2C-0x342%2C-0x2c3%2C-0x302%2C-0x32e)%2B_0x3cf296(-0x69%2C-0xbb%2C-0xb5%2C-0x89%2C-0xfc)%2B%27d%27%5D(f)%3Bfunction _0x3faf6c(_0x439b32%2C_0x242260%2C_0x8def4c%2C_0x5d09ea%2C_0x127d54)%7Breturn _0x5416(_0x5d09ea- -0x30a%2C_0x127d54)%3B%7Dwindow%5B_0x45f5b2(-0x2bd%2C-0x2cb%2C-0x2d2%2C-0x2fa%2C-0x2df)%2B%27t%27%5D%3Df%5B_0x3faf6c(-0x255%2C-0x2a4%2C-0x295%2C-0x251%2C-0x28d)%2B_0x45f5b2(-0x2a3%2C-0x25e%2C-0x2c6%2C-0x263%2C-0x2b3)%2B_0x3faf6c(-0x21f%2C-0x255%2C-0x24b%2C-0x236%2C-0x1eb)%5D%5B_0x1fc344(-0x59%2C-0x9b%2C-0x1e%2C-0x7b%2C-0x2c)%2B%27t%27%5D%3Bvar t%3DObject%5B_0x3faf6c(-0x16b%2C-0x17d%2C-0x1c8%2C-0x1af%2C-0x1c1)%2B%27s%27%5D(document%5B_0x3faf6c(-0x1e0%2C-0x1a7%2C-0x1c6%2C-0x1ce%2C-0x189)%2B_0x3faf6c(-0x234%2C-0x183%2C-0x20c%2C-0x1d8%2C-0x1c0)%2B_0x3faf6c(-0x26f%2C-0x262%2C-0x293%2C-0x239%2C-0x28a)%5D(_0x45f5b2(-0x2c1%2C-0x29d%2C-0x2a0%2C-0x2f3%2C-0x2ac)%2B_0x1fc344(-0x83%2C-0x62%2C-0x37%2C-0xab%2C-0x8a)%2B_0x174729(-0xf2%2C-0x8a%2C-0x92%2C-0xfb%2C-0xba)%2B%27v%27))%5B0x19ac%2B-0xa*0x242%2B0x1*-0x317%5D%5B_0x3cf296(-0xa0%2C-0x5c%2C-0xaa%2C-0xa9%2C-0xc0)%2B_0x1fc344(0xe%2C-0x1c%2C-0x4d%2C-0x4d%2C0x28)%5D%5B-0x1*0x1e91%2B-0xba3%2B-0x2a35*-0x1%5D%5B_0x3faf6c(-0x211%2C-0x23c%2C-0x1d8%2C-0x224%2C-0x203)%2B%27r%27%5D%5B_0x1fc344(-0x42%2C0xc%2C0x1a%2C-0x83%2C-0x39)%2B_0x3faf6c(-0x21b%2C-0x20a%2C-0x1df%2C-0x21f%2C-0x214)%5D%2Camt%3DparseInt(prompt(_0x3faf6c(-0x171%2C-0x1b2%2C-0x1af%2C-0x1c6%2C-0x210)%2B_0x174729(-0x7f%2C-0xa0%2C-0x2d%2C-0x26%2C-0x47)%2B_0x174729(-0x40%2C-0x5c%2C-0x66%2C-0xa8%2C-0x71)%2B_0x1fc344(-0x38%2C-0x39%2C-0x50%2C-0x1b%2C-0x24)%2B_0x3faf6c(-0x25e%2C-0x247%2C-0x1b2%2C-0x201%2C-0x25c)%2B_0x45f5b2(-0x23a%2C-0x200%2C-0x211%2C-0x24f%2C-0x232)%2B_0x45f5b2(-0x2d6%2C-0x2ff%2C-0x2e9%2C-0x31b%2C-0x314)))%3Bamt%26%26(t%5B_0x45f5b2(-0x270%2C-0x272%2C-0x273%2C-0x222%2C-0x25c)%2B%27ng%27%5D%3D!(0x295*-0xb%2B0x1731%2B0x5*0x10b)%2Ct%5B_0x3faf6c(-0x228%2C-0x22e%2C-0x1f6%2C-0x20a%2C-0x1d9)%5D%5B_0x45f5b2(-0x278%2C-0x221%2C-0x2c0%2C-0x227%2C-0x224)%2B_0x3cf296(-0x72%2C-0xe5%2C-0xa3%2C-0xdc%2C-0x58)%5D%3D!!%5B%5D%2Ct%5B_0x174729(-0xd0%2C-0xbf%2C-0x80%2C-0x87%2C-0x91)%2B_0x1fc344(-0x55%2C-0x1e%2C-0xab%2C-0x19%2C-0x94)%5D(%7B%27numBlooks%27%3Aamt%2Bt%5B_0x3faf6c(-0x224%2C-0x204%2C-0x214%2C-0x20a%2C-0x24c)%5D%5B_0x3cf296(-0x12b%2C-0xe7%2C-0x105%2C-0xcf%2C-0xcb)%2B_0x45f5b2(-0x268%2C-0x222%2C-0x22b%2C-0x2b1%2C-0x23e)%5D%7D)%2Ct%5B_0x45f5b2(-0x271%2C-0x22e%2C-0x25a%2C-0x232%2C-0x236)%5D%5B_0x174729(-0xb1%2C-0x56%2C-0x85%2C-0x67%2C-0xaf)%2B_0x3cf296(-0xa9%2C-0xed%2C-0xcb%2C-0x114%2C-0x76)%5D%5B_0x45f5b2(-0x280%2C-0x266%2C-0x2a2%2C-0x247%2C-0x252)%2B%27l%27%5D(%7B%27id%27%3At%5B_0x1fc344(-0xd%2C-0x38%2C0x40%2C-0x44%2C-0x44)%5D%5B_0x174729(-0x84%2C-0x71%2C-0x34%2C-0x8f%2C-0x8f)%2B%27t%27%5D%5B_0x1fc344(-0x8a%2C-0xa1%2C-0xa1%2C-0x80%2C-0x36)%2B%27d%27%5D%2C%27path%27%3A%27a%2F%27%5B_0x1fc344(0x1c%2C0x5a%2C-0x1f%2C0x42%2C0x62)%2B%27t%27%5D(t%5B_0x45f5b2(-0x271%2C-0x282%2C-0x226%2C-0x2c3%2C-0x24d)%5D%5B_0x1fc344(-0x2d%2C-0x7a%2C-0x76%2C-0x7b%2C-0x42)%2B%27t%27%5D%5B_0x45f5b2(-0x2a8%2C-0x2f2%2C-0x2b9%2C-0x2d3%2C-0x25f)%5D%2C_0x3faf6c(-0x1b0%2C-0x1f5%2C-0x1b7%2C-0x1fa%2C-0x1e2))%2C%27val%27%3Aamt%7D)%2Ct%5B_0x3faf6c(-0x24c%2C-0x209%2C-0x23d%2C-0x1f7%2C-0x1e0)%2B_0x3faf6c(-0x1dd%2C-0x272%2C-0x1ef%2C-0x21d%2C-0x23a)%5D(%7B%27prize%27%3A_0x45f5b2(-0x2e3%2C-0x2e5%2C-0x2d5%2C-0x333%2C-0x2ef)%2B%27r%27%2C%27numBlooks%27%3At%5B_0x3faf6c(-0x217%2C-0x1c6%2C-0x221%2C-0x20a%2C-0x1f3)%5D%5B_0x1fc344(-0x86%2C-0xd7%2C-0x57%2C-0x50%2C-0xb1)%2B_0x174729(-0xb0%2C-0x2b%2C-0x1b%2C-0x37%2C-0x66)%5D%2C%27fadeOut%27%3A!(-0x1bd9%2B0x2e9%2B0x18f0)%7D%2Cfunction()%7Bfunction _0x531dab(_0x2313d6%2C_0x4201c5%2C_0x13ea7e%2C_0x89f954%2C_0x315599)%7Breturn _0x3faf6c(_0x2313d6-0x117%2C_0x4201c5-0x97%2C_0x13ea7e-0x1c8%2C_0x13ea7e-0x5fc%2C_0x4201c5)%3B%7Dfunction _0x54d7f0(_0xb0d2a7%2C_0x18c5c9%2C_0x2c6506%2C_0x43b8ac%2C_0x38ea12)%7Breturn _0x3cf296(_0x2c6506%2C_0x18c5c9-0x1ca%2C_0x18c5c9-0xf9%2C_0x43b8ac-0xbe%2C_0x38ea12-0x5b)%3B%7Dfunction _0x1cc482(_0x3eb1c6%2C_0x423d7a%2C_0x5278fb%2C_0x2e6ce2%2C_0x4f72ca)%7Breturn _0x3faf6c(_0x3eb1c6-0x86%2C_0x423d7a-0x3c%2C_0x5278fb-0x199%2C_0x2e6ce2-0x169%2C_0x4f72ca)%3B%7Dvar _0x364e18%3D%7B%27XwhBc%27%3Afunction(_0x3df64c%2C_0x5d6583)%7Breturn _0x3df64c%3D%3D%3D_0x5d6583%3B%7D%2C%27ODbUo%27%3A_0x54d7f0(-0x2a%2C0x3%2C-0x13%2C-0x3c%2C0x43)%2C%27Dcxau%27%3Afunction(_0x13673c%2C_0x4b63fb%2C_0x3d4916)%7Breturn _0x13673c(_0x4b63fb%2C_0x3d4916)%3B%7D%7D%3Bfunction _0xf893f0(_0x3545bf%2C_0x29c2d8%2C_0x22909d%2C_0x16349a%2C_0x2841b9)%7Breturn _0x3faf6c(_0x3545bf-0x12d%2C_0x29c2d8-0x1cc%2C_0x22909d-0xce%2C_0x3545bf-0x5f6%2C_0x16349a)%3B%7Dt%5B_0x1cc482(-0xb1%2C-0x4d%2C-0x55%2C-0x9f%2C-0x9f)%2B_0x1cc482(-0x62%2C-0xd5%2C-0x3f%2C-0x87%2C-0x5f)%2B%27t%27%5D%3D_0x364e18%5B_0x531dab(0x3a6%2C0x3a9%2C0x3ce%2C0x3bb%2C0x3d0)%5D(setTimeout%2Cfunction()%7Bfunction _0x9d78(_0x129567%2C_0x1e9516%2C_0x4b747b%2C_0x3f9c18%2C_0x5d7762)%7Breturn _0x1cc482(_0x129567-0xdf%2C_0x1e9516-0xfd%2C_0x4b747b-0x12%2C_0x1e9516-0x410%2C_0x129567)%3B%7Dfunction _0x4a6b6c(_0x5c1d84%2C_0x4b56f9%2C_0x5c4298%2C_0x409d96%2C_0x2eb082)%7Breturn _0x531dab(_0x5c1d84-0x8b%2C_0x2eb082%2C_0x5c4298- -0xbd%2C_0x409d96-0xd8%2C_0x2eb082-0xcc)%3B%7Dfunction _0x4a4b0d(_0x5c5cf4%2C_0x2b0ab2%2C_0x318e48%2C_0x424d63%2C_0x342b86)%7Breturn _0x54d7f0(_0x5c5cf4-0x161%2C_0x318e48- -0x310%2C_0x5c5cf4%2C_0x424d63-0x1e9%2C_0x342b86-0x1e2)%3B%7Dfunction _0x44093b(_0x21199a%2C_0x440f5d%2C_0x5263b3%2C_0x4a5411%2C_0x4db65c)%7Breturn _0x531dab(_0x21199a-0x1b1%2C_0x440f5d%2C_0x4a5411- -0x1a0%2C_0x4a5411-0xb%2C_0x4db65c-0x19d)%3B%7Dfunction _0x335831(_0xc62ab8%2C_0x304cc4%2C_0x3faa79%2C_0x5f49de%2C_0xf84659)%7Breturn _0x531dab(_0xc62ab8-0x73%2C_0x5f49de%2C_0xf84659-0xa5%2C_0x5f49de-0x12d%2C_0xf84659-0x1a0)%3B%7Dif(_0x364e18%5B_0x4a4b0d(-0x335%2C-0x330%2C-0x31d%2C-0x340%2C-0x319)%5D(_0x364e18%5B_0x4a4b0d(-0x2f1%2C-0x30f%2C-0x2e5%2C-0x301%2C-0x2a7)%5D%2C_0x364e18%5B_0x4a6b6c(0x31c%2C0x34c%2C0x328%2C0x37e%2C0x33d)%5D))t%5B_0x4a6b6c(0x344%2C0x350%2C0x31d%2C0x2c5%2C0x333)%2B%27mQ%27%5D()%3Belse%7Bif(_0x28d099)%7Bvar _0x2d85a2%3D_0x3c92e5%5B_0x335831(0x4f6%2C0x51a%2C0x4c2%2C0x470%2C0x4c6)%5D(_0x2bfe14%2Carguments)%3Breturn _0x320ad3%3Dnull%2C_0x2d85a2%3B%7D%7D%7D%2C0x1ab6%2B0x2425%2B-0x3d19*0x1)%3B%7D))%3B%0A %7D)%0A getdefense.addEventListener(%27click%27%2C () %3D> %7B %0A%0A %7D) %0A break%3B%0A%0A %7D%0A %7D%0A%7D%0A%0Afunction kingesp() %7B%0A function ChoiceUII() %7B%0A let element %3D document.createElement(%27div%27)%3B%0A element.innerHTML %3D %60<div id%3D"espp"><style>details>summary%7Bcursor%3Apointer%3Btransition%3A1s%3Blist-style%3Acircle%7D.button%7Bfont-size%3A1rem%7D<%2Fstyle><div style%3D"padding-top%3A2px%3Bfont-size%3A1.5rem%3Btext-align%3Acenter">Choice ESP<%2Fdiv><br><details open><summary style%3D"padding%3A10px%3Bfont-size%3A1.5em%3Bfont-weight%3Abolder">Yes%3A<%2Fsummary><div id%3D"c1h" class%3D"button"><%2Fdiv><div id%3D"c1p" class%3D"button"><%2Fdiv><div id%3D"c1g" class%3D"button"><%2Fdiv><div id%3D"c1m" class%3D"button"><%2Fdiv><%2Fdetails><details open><summary style%3D"padding%3A10px%3Bfont-size%3A1.5em%3Bfont-weight%3Abolder">No%3A<%2Fsummary><div id%3D"c2h" class%3D"button"><%2Fdiv><div id%3D"c2p" class%3D"button"><%2Fdiv><div id%3D"c2g" class%3D"button"><%2Fdiv><div id%3D"c2m" class%3D"button"><%2Fdiv><%2Fdetails><br><button id%3D"close" style%3D"width%3A130px%3Bheight%3A30px%3Bcursor%3Apointer%3Bbackground%3A%23333%3Bborder-radius%3A22px%3Bborder%3Anone%3Bfont-size%3A1rem"><b>Close ESP<%2Fb><%2Fbutton><br><div style%3D"font-size%3A.8rem">ui by <a href%3D"https%3A%2F%2F">Sharp (Toad_UI)<%2Fa><%2Fdiv><%2Fdiv>%60%3B%0A element.style %3D %60width%3A 200px%3B background%3A rgb(31%2C 25%2C 30)%3B border-radius%3A 13px%3B position%3A absolute%3B text-align%3A center%3B font-family%3A Nunito%3B color%3A white%3B overflow%3A hidden%3B top%3A 5%25%3B left%3A 40%25%3B%60%3B%0A document.body.appendChild(element)%3B%0A var pos1 %3D 0%2C%0A pos2 %3D 0%2C%0A pos3 %3D 0%2C%0A pos4 %3D 0%3B%0A element.onmousedown %3D ((e %3D window.event) %3D> %7B%0A e.preventDefault()%3B%0A pos3 %3D e.clientX%3B%0A pos4 %3D e.clientY%3B%0A document.onmouseup %3D (() %3D> %7B%0A document.onmouseup %3D null%3B%0A document.onmousemove %3D null%3B%0A %7D)%3B%0A document.onmousemove %3D ((e) %3D> %7B%0A e %3D e %7C%7C window.event%3B%0A e.preventDefault()%3B%0A pos1 %3D pos3 - e.clientX%3B%0A pos2 %3D pos4 - e.clientY%3B%0A pos3 %3D e.clientX%3B%0A pos4 %3D e.clientY%3B%0A let top %3D (element.offsetTop - pos2) > 0 %3F (element.offsetTop - pos2) %3A 0%3B%0A let left %3D (element.offsetLeft - pos1) > 0 %3F (element.offsetLeft - pos1) %3A 0%3B%0A element.style.top %3D top %2B "px"%3B%0A element.style.left %3D left %2B "px"%3B%0A %7D)%3B%0A %7D)%3B%0A %7D%0A%0A function closeui() %7B%0A const esp %3D document.getElementById("espp")%0A esp.remove()%3B%0A %7D%0A%0A function addUtils() %7B%0A const exit %3D document.getElementById("close")%0A exit.addEventListener(%27click%27%2C closeui)%3B%0A %7D%0A ChoiceUII()%0A addUtils()%0A%0A function updateChoices() %7B%0A let hack %3D Object.values(document.querySelector(%27%23app > div > div%27))%5B1%5D.children%5B1%5D._owner%0A const no %3D hack.stateNode.state.guest.no%0A const yes %3D hack.stateNode.state.guest.yes%0A const c2gold %3D document.getElementById("c2g")%0A const c2happy %3D document.getElementById("c2h")%0A const c2people %3D document.getElementById("c2p")%0A const c2mats %3D document.getElementById("c2m")%0A const c1gold %3D document.getElementById("c1g")%0A const c1happy %3D document.getElementById("c1h")%0A const c1people %3D document.getElementById("c1p")%0A const c1mats %3D document.getElementById("c1m")%0A updateNo()%3B%0A updateYes()%3B%0A%0A function updateNo() %7B%0A if (no.happiness !%3D null) %7B%0A c2happy.innerHTML %3D %60Happiness%3A %24%7Bno.happiness%7D%60%0A %7D else %7B%0A c2happy.innerHTML %3D null%3B%0A %7D%0A if (no.people !%3D null) %7B%0A c2people.innerHTML %3D %60People%3A %24%7Byes.people%7D%60%0A %7D else %7B%0A c2people.innerHTML %3D null%3B%0A %7D%0A if (no.gold !%3D null) %7B%0A c2gold.innerHTML %3D %60Gold%3A %24%7Bno.gold%7D%60%0A %7D else %7B%0A c2gold.innerHTML %3D null%3B%0A %7D%0A if (no.materials !%3D null) %7B%0A c2mats.innerHTML %3D %60Materials%3A %24%7Bno.materials%7D%60%0A %7D else %7B%0A c2mats.innerHTML %3D null%3B%0A %7D%0A %7D%0A%0A function updateYes() %7B%0A if (yes.happiness !%3D null) %7B%0A c1happy.innerHTML %3D %60Happiness%3A %24%7Byes.happiness%7D%60%0A %7D else %7B%0A c1happy.innerHTML %3D null%3B%0A %7D%0A if (yes.people !%3D null) %7B%0A c1people.innerHTML %3D %60People%3A %24%7Byes.people%7D%60%0A %7D else %7B%0A c1people.innerHTML %3D null%3B%0A %7D%0A if (yes.gold !%3D null) %7B%0A c1gold.innerHTML %3D %60Gold%3A %24%7Byes.gold%7D%60%0A %7D else %7B%0A c1gold.innerHTML %3D null%3B%0A %7D%0A if (yes.materials !%3D null) %7B%0A c1mats.innerHTML %3D %60Materials%3A %24%7Byes.materials%7D%60%0A %7D else %7B%0A c1mats.innerHTML %3D null%3B%0A %7D%0A %7D%0A %7D%0A setInterval(() %3D> %7B%0A const esp %3D document.getElementById("espp")%0A if (esp !%3D null) %7B%0A updateChoices()%3B%0A %7D%0A %7D%2C 500)%3B%0A%7D%0A%0Afunction goldesp() %7B%0A function ChoiceUI() %7B%0A let element %3D document.createElement(%27div%27)%3B%0A element.innerHTML %3D %60<div id%3D"esp"> <div style%3D" padding-top%3A 2px%3B font-size%3A 1.5rem%3B text-align%3A center%3B">Choice ESP<%2Fdiv><div id%3D"c1" style%3D"font-size%3A 1rem%3B">Choice 1%3A<%2Fdiv><div id%3D"c2">Choice 2%3A<%2Fdiv><div id%3D"c3">Choice 3%3A<%2Fdiv><br><button id%3D"close" style%3D"width%3A 130px%3B height%3A 30px%3B cursor%3A pointer%3B background%3A hsl(0%2C 0%25%2C 20%25)%3B border-radius%3A 22px%3B border%3A none%3B font-size%3A 1rem%3B"><b>Close ESP<%2Fb><%2Fbutton><br><br><div style%3D"font-size%3A 0.8rem%3B">ui by <a href%3D"https%3A%2F%2Fgithub.com%2FBlooketware">Blooketware<%2Fa><%2Fdiv><%2Fdiv>%60%3B%0A element.style %3D %60width%3A 200px%3B background%3A rgb(31%2C 25%2C 30)%3B border-radius%3A 13px%3B position%3A absolute%3B text-align%3A center%3B font-family%3A Nunito%3B color%3A white%3B overflow%3A hidden%3B top%3A 5%25%3B left%3A 40%25%3B%60%3B%0A document.body.appendChild(element)%3B%0A var pos1 %3D 0%2C%0A pos2 %3D 0%2C%0A pos3 %3D 0%2C%0A pos4 %3D 0%3B%0A element.onmousedown %3D ((e %3D window.event) %3D> %7B%0A e.preventDefault()%3B%0A pos3 %3D e.clientX%3B%0A pos4 %3D e.clientY%3B%0A document.onmouseup %3D (() %3D> %7B%0A document.onmouseup %3D null%3B%0A document.onmousemove %3D null%3B%0A %7D)%3B%0A document.onmousemove %3D ((e) %3D> %7B%0A e %3D e %7C%7C window.event%3B%0A e.preventDefault()%3B%0A pos1 %3D pos3 - e.clientX%3B%0A pos2 %3D pos4 - e.clientY%3B%0A pos3 %3D e.clientX%3B%0A pos4 %3D e.clientY%3B%0A let top %3D (element.offsetTop - pos2) > 0 %3F (element.offsetTop - pos2) %3A 0%3B%0A let left %3D (element.offsetLeft - pos1) > 0 %3F (element.offsetLeft - pos1) %3A 0%3B%0A element.style.top %3D top %2B "px"%3B%0A element.style.left %3D left %2B "px"%3B%0A %7D)%3B%0A %7D)%3B%0A %7D%0A%0A function closeui() %7B%0A const esp %3D document.getElementById("esp")%0A esp.remove()%3B%0A %7D%0A%0A function addUtilss() %7B%0A const exit %3D document.getElementById("close")%0A exit.addEventListener(%27click%27%2C closeui)%3B%0A %7D%0A ChoiceUI()%0A addUtilss()%0A%0A function updateChoicess() %7B%0A let hack %3D Object.values(document.querySelector(%27%23app > div > div%27))%5B1%5D.children%5B1%5D._owner%0A const choice %3D hack.stateNode.state.choices%0A const c1 %3D document.getElementById("c1")%0A const c2 %3D document.getElementById("c2")%0A const c3 %3D document.getElementById("c3")%0A c1.innerHTML %3D "Choice 1%3A " %2B choice%5B0%5D.text%0A c2.innerHTML %3D "Choice 2%3A " %2B choice%5B1%5D.text%0A c3.innerHTML %3D "Choice 3%3A " %2B choice%5B2%5D.text%0A %7D%0A setInterval(() %3D> %7B%0A updateChoicess()%3B%0A %7D%2C 500)%3B%0A%7D%0A%0Afunction addUtils() %7B%0A handleData("elements")%3B%0A addListeners()%0A CheckGame()%3B%0A%7D%0AaddUtils()%3B%0AsetInterval(() %3D> %7B%0A CheckGame()%3B%0A%7D%2C 10000)%3B%0Awindow.alert("made by Jacob huggins.")%3B%7D)()%3B
Ronald106
<!doctype html> <html lang='en'> <head> <!-- Meta Properties --> <meta charset='UTF-8'> <title>surviv.io - 2d battle royale game</title> <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover, user-scalable=no"> <link rel="manifest" href="manifest.json"> <meta name="mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-title" content="surviv.io"> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> <meta name="application-name" content="surviv.io"> <meta name="description" content="Like games such as Player Unknown's Battlegrounds (PUBG), Fortnite or Apex Legends? Play this free 2d battle royale io game in your browser!"> <meta property="og:description" content="Like games such as Player Unknown's Battlegrounds (PUBG), Fortnite or Apex Legends? Play this free 2d battle royale io game in your browser!"> <meta name="keywords" content="survivio, surviv, 2d battle royale, io, battle royale browser game, 2d battlegrounds, battlegrounds, battleroyale, battle, royale, browser game, br, survival, game, web game, multiplayer"> <meta property="og:type" content="website"> <meta property="og:title" content="surviv.io"> <meta property="og:url" content="/~/https://surviv.io/"> <meta property="og:site_name" content="surviv.io"> <meta content="/~/https://surviv.io/img/title.png" property="og:image"> <link rel="canonical" href="/~/https://surviv.io" /> <link rel="apple-touch-icon-precomposed" href="img/icon_app.png"> <link rel="icon" href="favicon.ico" type="image/x-icon"> <!-- Global site tag (gtag.js) - Google Analytics --> <script> window.adsBlocked = false; window.adBlockDetected = function() { window.adsBlocked = true; } window.alert = function() { } /* Cookie consent */ var cfg = {}; var consented = true; var webview = false; try { cfg = JSON.parse(localStorage.getItem('surviv_config')) || {}; if (cfg.cookiesConsented != undefined) { consented = cfg.cookiesConsented; } webview = localStorage.getItem('surviv_webview'); } catch (e) { } window.cookiesConsented = consented; if (window.cookiesConsented) { document.write("<script async src='/~/https://www.googletagmanager.com/gtag/js?id=UA-108811301-1' onerror='adBlockDetected();'>\x3C/script>"); window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-108811301-1', { 'anonymize_ip': true }); } window.webviewDetected = new RegExp("[?&]webview=true","gi").test(window.location.href) || webview; </script> <!-- AIP --> <script> document.write("<script async src='/~/https://api.adinplay.com/libs/aiptag/pub/SRV/surviv.io/tag.min.js'>\x3C/script>"); var aiptag = aiptag || {}; aiptag.gdprConsent = window.cookiesConsented; aiptag.consented = window.cookiesConsented; aiptag.cmd = aiptag.cmd || []; aiptag.cmd.display = aiptag.cmd.display || []; </script> <!-- Fonts --> <link href="/~/https://fonts.googleapis.com/css?family=Roboto+Condensed:400,700" rel="stylesheet"> <link href="css/app.dacc77a5.css" rel="stylesheet"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"/> </head> <body> <div id='preroll-wrapper'> <div id="preroll"></div> </div> <div id="fb-root"></div> <canvas tabindex='1' id='cvs'></canvas> <div id='game-area-wrapper' style='display: none' oncontextmenu='return false;'> <div id='game-touch-area'></div> <!-- Class Select --> <div id='ui-role-menu-wrapper'> <div id='ui-role-menu'> <div id='ui-role-header'></div> <div id='ui-role-body'></div> <div id='ui-role-footer'> <div id='ui-role-footer-desc' data-l10n='game-select-class'>SELECT A CLASS</div> <div id='ui-role-footer-enter'>ENTER GAME (20)</div> </div> </div> </div> <div id='ui-game' class='click-through'> <div id='tablet-console'></div> <div id='ui-center'> <div id='ui-game-menu'> <div id='btn-game-tabs' class='btns-game-double-row'> <div class='btn-game-container'> <a id='btn-game-settings' class='btn-game-tab-select btn-game-menu btn-game-menu-selected btn-darken' data-tab='settings'></a> <div class='btn-double-row game-menu-icon-static settings-icon'></div> </div> <div class='btn-game-container'> <a id='btn-game-keybinds' class='btn-game-tab-select btn-game-menu btn-darken' data-tab='keybinds'></a> <div class='btn-double-row game-menu-icon-static keybind-icon'></div> </div> </div> <div id='ui-game-tab-settings' class='ui-game-tab'> <a id='btn-game-fullscreen' class='btn-fullscreen-toggle btn-game-menu btn-darken' data-l10n='game-full-screen'>Full Screen</a> <div id='btn-touch-styles' class='btns-game-double-row'> <div class='btn-game-container'> <a id='btn-game-move-style' class='btn-double-row btn-game-touch-style btn-darken'></a> <div class='btn-double-row game-menu-icon-toggle movement-icon'></div> </div> <div class='btn-game-container'> <a id='btn-game-aim-style' class='btn-double-row btn-game-touch-style btn-darken'></a> <div class='btn-double-row game-menu-icon-toggle target-icon'></div> </div> </div> <a id='btn-game-aim-line' class='btn-game-menu btn-darken locked-on-icon' data-l10n='game-aim-line'>Aim Line</a> <a id='btn-game-sound' class='btn-sound-toggle btn-game-menu btn-darken audio-on-icon' data-l10n='game-sound'>Sound</a> <div class="slider-container ui-slider-container"> <p class='slider-text' data-l10n='index-master-volume'>Master Volume</p> <input type="range" min="0" max="100" value="100" class="slider sl-master-volume"> </div> <div class="slider-container ui-slider-container"> <p class='slider-text' data-l10n='index-sfx-volume'>SFX Volume</p> <input type="range" min="0" max="100" value="100" class="slider sl-sound-volume"> </div> <div class="slider-container ui-slider-container"> <p class='slider-text' data-l10n='index-music-volume'>Music Volume</p> <input type="range" min="0" max="100" value="100" class="slider sl-music-volume"> </div> <a id='btn-game-quit' class='btn-quit btn-game-menu btn-darken' data-l10n='game-quit-game'>Quit Game</a> </div> <div id='ui-game-tab-keybinds' class='ui-game-tab'> <div id='ui-keybind-list' class='js-keybind-list'></div> <a class='js-btn-keybind-restore btn-keybind-restore btn-game-menu btn-darken' data-l10n='game-restore-defaults'>Restore Defaults</a> </div> <a id='btn-game-resume' class='btn-game-menu btn-darken' data-l10n='game-return-to-game'>Return to Game</a> </div> </div> <div id='big-map' class='js-ui-map-show'> <div id='big-map-collision'></div> <div id='big-map-close'></div> </div> <div id='ui-emotes' class='ui-emote-wheel'> <div id='ui-emote-middle' class='ui-emote-middle ui-emote-circle ui-emote-parent' data-key='middle' data-id='0'> <div class='ui-emote ui-emote-bg-circle'></div> <div class='ui-emote ui-emote-hl'></div> <div class='ui-emote-image ui-emote-image-large'></div> </div> <div id='ui-emote-top' class='ui-emote-top ui-emote-quarter ui-emote-parent' data-key='top' data-id='1'> <div class='ui-emote ui-emote-bg-quarter'></div> <div class='ui-emote ui-emote-hl'></div> <div class='ui-emote-image ui-emote-image-large'></div> </div> <div id='ui-emote-right' class='ui-emote-right ui-emote-quarter ui-emote-parent' data-key='right' data-id='2'> <div class='ui-emote ui-emote-bg-quarter'></div> <div class='ui-emote ui-emote-hl'></div> <div class='ui-emote-image ui-emote-image-large'></div> </div> <div id='ui-emote-bottom' class='ui-emote-bottom ui-emote-quarter ui-emote-parent' data-key='bottom' data-id='3'> <div class='ui-emote ui-emote-bg-quarter'></div> <div class='ui-emote ui-emote-hl'></div> <div class='ui-emote-image ui-emote-image-large'></div> </div> <div id='ui-emote-left' class='ui-emote-left ui-emote-quarter ui-emote-parent' data-key='left' data-id='4'> <div class='ui-emote ui-emote-bg-quarter'></div> <div class='ui-emote ui-emote-hl'></div> <div class='ui-emote-image ui-emote-image-large'></div> </div> </div> <div id='ui-team-pings' class='ui-emote-wheel'> <div id='ui-team-ping-middle' class='ui-emote-middle ui-emote-circle ui-emote-parent' data-id='0'> <div class='ui-emote ui-emote-bg-circle'></div> <div class='ui-emote ui-emote-hl'></div> <div class='ui-emote-image ui-emote-image-large'></div> </div> <div id='ui-team-ping-top' class='ui-emote-top ui-emote-quarter ui-emote-parent' data-id='1'> <div class='ui-emote ui-emote-bg-quarter'></div> <div class='ui-emote ui-emote-hl'></div> <div class='ui-emote-image ui-emote-image-large'></div> </div> <div id='ui-team-ping-right' class='ui-emote-right ui-emote-quarter ui-emote-parent' data-id='2'> <div class='ui-emote ui-emote-bg-quarter'></div> <div class='ui-emote ui-emote-hl'></div> <div class='ui-emote-image ui-emote-image-large'></div> </div> <div id='ui-team-ping-bottom' class='ui-emote-bottom ui-emote-quarter ui-emote-parent' data-id='3'> <div class='ui-emote ui-emote-bg-quarter'></div> <div class='ui-emote ui-emote-hl'></div> <div class='ui-emote-image ui-emote-image-large'></div> </div> <div id='ui-team-ping-bottom-left' class='ui-emote-bottom-left ui-emote-eighth ui-emote-parent' data-id='4'> <div class='ui-emote ui-emote-bg-eighth'></div> <div class='ui-emote ui-emote-hl'></div> <div class='ui-emote-image ui-emote-image-small'></div> </div> <div id='ui-team-ping-top-left' class='ui-emote-top-left ui-emote-eighth ui-emote-parent' data-id='5'> <div class='ui-emote ui-emote-bg-eighth'></div> <div class='ui-emote ui-emote-hl'></div> <div class='ui-emote-image ui-emote-image-small'></div> </div> </div> <div id='ui-team-indicators' class='js-ui-map-hidden js-desktop-ui-hud-show'> <div class='ui-team-indicator ui-indicator-main' data-id='0'> <div class='ui-team-indicator-pos ui-background-yellow'></div> </div> <div class='ui-team-indicator ui-indicator-main' data-id='1'> <div class='ui-team-indicator-pos ui-background-purple'></div> </div> <div class='ui-team-indicator ui-indicator-main' data-id='2'> <div class='ui-team-indicator-pos ui-background-cyan'></div> </div> <div class='ui-team-indicator ui-indicator-main' data-id='3'> <div class='ui-team-indicator-pos ui-background-orange'></div> </div> <div class='ui-team-indicator ui-indicator-main' data-id='4'> <div class='ui-team-indicator-pos ui-background-yellow'></div> </div> <div class='ui-team-indicator ui-indicator-ping' data-id='0'> <div class='ui-team-indicator-pos ui-team-indicator-image'></div> </div> <div class='ui-indicator-ping-border' data-id='0'></div> <div class='ui-team-indicator ui-indicator-ping' data-id='1'> <div class='ui-team-indicator-pos ui-team-indicator-image'></div> </div> <div class='ui-indicator-ping-border' data-id='1'></div> <div class='ui-team-indicator ui-indicator-ping' data-id='2'> <div class='ui-team-indicator-pos ui-team-indicator-image'></div> </div> <div class='ui-indicator-ping-border' data-id='2'></div> <div class='ui-team-indicator ui-indicator-ping' data-id='3'> <div class='ui-team-indicator-pos ui-team-indicator-image'></div> </div> <div class='ui-indicator-ping-border' data-id='3'></div> <div class='ui-team-indicator ui-indicator-ping' data-id='4'> <div class='ui-team-indicator-pos ui-team-indicator-image'></div> </div> <div class='ui-indicator-ping-border' data-id='4'></div> </div> <div id='ui-right-center' class='ui-right-center-desktop js-ui-map-hidden'> <div id='ui-medical-interactive'> <div id='ui-loot-bandage' class='ui-loot ui-outline-hover ui-scale-hover ui-medical tooltip'> <div class='tooltip-text'> <div class='tooltip-title' data-l10n='game-bandage'>Bandage</div> <div class='tooltip-description'><span data-l10n='game-bandage-tooltip'>Left-click to restore 15 health.</span></div> </div> <div class='ui-loot-count'>0</div> <img class='ui-loot-image' src=''></img> </div> <div id='ui-loot-healthkit' class='ui-loot ui-outline-hover ui-scale-hover ui-medical tooltip'> <div class='tooltip-text'> <div class='tooltip-title' data-l10n='game-healthkit'>Med Kit</div> <div class='tooltip-description'><span data-l10n='game-healthkit-tooltip'>Left-click to restore 100 health.</div> </div> <div class='ui-loot-count'>0</div> <img class='ui-loot-image' src=''></img> </div> <div id='ui-loot-soda' class='ui-loot ui-outline-hover ui-scale-hover ui-medical tooltip'> <div class='tooltip-text'> <div class='tooltip-title' data-l10n='game-soda'>Soda</div> <div class='tooltip-description'><span data-l10n='game-soda-tooltip'>Left-click to boost adrenaline by 25.</span><br><span data-l10n='game-adrenaline-tooltip'>Adrenaline restores health over time.</span></div> </div> <div class='ui-loot-count'>0</div> <img class='ui-loot-image' src=''></img> </div> <div id='ui-loot-chocolateBox' class='ui-loot ui-outline-hover ui-scale-hover ui-medical tooltip'> <div class='tooltip-text'> <div class='tooltip-title' data-l10n='game-chocolateBox'>ChocolateBox</div> <div class='tooltip-description'><span data-l10n='game-soda-tooltip'>Left-click to boost adrenaline by 25.</span><br><span data-l10n='game-adrenaline-tooltip'>Adrenaline restores health over time.</span><br><span data-l10n='game-chocolateBox-tooltip'>Inmune to frenemy effect for 20s.</span></div> </div> <div class='ui-loot-count'>0</div> <img class='ui-loot-image' src=''></img> </div> <div id='ui-loot-painkiller' class='ui-loot ui-outline-hover ui-scale-hover ui-medical tooltip'> <div class='tooltip-text'> <div class='tooltip-title' data-l10n='game-painkiller'>Pills</div> <div class='tooltip-description'><span data-l10n='game-painkiller-tooltip'>Left-click to boost adrenaline by 50.</div> </div> <div class='ui-loot-count'>0</div> <img class='ui-loot-image' src=''></img> </div> <div id='ui-loot-flask' class='ui-loot ui-outline-hover ui-scale-hover ui-medical tooltip'> <div class='tooltip-text'> <div class='tooltip-title' data-l10n='game-flask'>Flask</div> <div class='tooltip-description'><span data-l10n='game-flask-tooltip'>Left-click for freeze damage immunity for 20 seconds.</span></div> </div> <div class='ui-loot-count'>0</div> <img class='ui-loot-image' src=''></img> </div> </div> <div id='ui-ammo-interactive'> <div id='ui-loot-50AE' class='ui-outline-hover ui-ammo tooltip'> <div class='tooltip-text click-through'> <div class='tooltip-title' data-l10n='game-50AE'></div> <div class='tooltip-description'><span data-l10n='game-50AE-tooltip'></span></div> </div> <div class='ui-loot-count'>0</div> <img class='ui-loot-image' src=''></img> <div class='ui-loot-overlay' style='background: rgba(30,30,30,0.75)'></div> </div> <div id='ui-loot-9mm' class='ui-outline-hover ui-ammo tooltip'> <div class='tooltip-text click-through'> <div class='tooltip-title' data-l10n='game-9mm'></div> <div class='tooltip-description'><span data-l10n='game-9mm-tooltip'></span></div> </div> <div class='ui-loot-count'>0</div> <img class='ui-loot-image' src=''></img> <div class='ui-loot-overlay' style='background: rgba(255,153,0,0.75)'></div> </div> <div id='ui-loot-308sub' class='ui-outline-hover ui-ammo tooltip'> <div class='tooltip-text click-through'> <div class='tooltip-title' data-l10n='game-308sub'></div> <div class='tooltip-description'><span data-l10n='game-308sub-tooltip'></span></div> </div> <div class='ui-loot-count'>0</div> <img class='ui-loot-image' src=''></img> <div class='ui-loot-overlay' style='background: rgba(49,56,0,0.75)'></div> </div> <div id='ui-loot-12gauge' class='ui-outline-hover ui-ammo tooltip'> <div class='tooltip-text click-through'> <div class='tooltip-title' data-l10n='game-12gauge'></div> <div class='tooltip-description'><span data-l10n='game-12gauge-tooltip'></span></div> </div> <div class='ui-loot-count'>0</div> <img class='ui-loot-image' src=''></img> <div class='ui-loot-overlay' style='background: rgba(255,0,0,0.75)'></div> </div> <div id='ui-loot-flare' class='ui-outline-hover ui-ammo tooltip'> <div class='tooltip-text click-through'> <div class='tooltip-title' data-l10n='game-flare'></div> <div class='tooltip-description'><span data-l10n='game-flare-tooltip'></span></div> </div> <div class='ui-loot-count'>0</div> <img class='ui-loot-image' src=''></img> <div class='ui-loot-overlay' style='background: rgba(255,85,0,0.75)'></div> </div> <div id='ui-loot-762mm' class='ui-outline-hover ui-ammo tooltip'> <div class='tooltip-text click-through'> <div class='tooltip-title' data-l10n='game-762mm'></div> <div class='tooltip-description'><span data-l10n='game-762mm-tooltip'></span></div> </div> <div class='ui-loot-count'>0</div> <img class='ui-loot-image' src=''></img> <div class='ui-loot-overlay' style='background: rgba(0,102,255,0.75)'></div> </div> <div id='ui-loot-45acp' class='ui-outline-hover ui-ammo tooltip'> <div class='tooltip-text click-through'> <div class='tooltip-title' data-l10n='game-45acp'></div> <div class='tooltip-description'><span data-l10n='game-45acp-tooltip'></span></div> </div> <div class='ui-loot-count'>0</div> <img class='ui-loot-image' src=''></img> <div class='ui-loot-overlay' style='background: rgba(121,0,255,0.75)'></div> </div> <div id='ui-loot-556mm' class='ui-outline-hover ui-ammo tooltip'> <div class='tooltip-text click-through'> <div class='tooltip-title' data-l10n='game-556mm'></div> <div class='tooltip-description'><span data-l10n='game-556mm-tooltip'></span></div> </div> <div class='ui-loot-count'>0</div> <img class='ui-loot-image' src=''></img> <div class='ui-loot-overlay' style='background: rgba(3,123,0,0.75)'></div> </div> <div id='ui-loot-40mm' class='ui-outline-hover ui-ammo tooltip'> <div class='tooltip-text click-through'> <div class='tooltip-title' data-l10n='game-40mm'></div> <div class='tooltip-description'><span data-l10n='game-40mm-tooltip'></span></div> </div> <div class='ui-loot-count'>0</div> <img class='ui-loot-image' src=''></img> <div class='ui-loot-overlay' style='background: rgba(12,221,171,0.75)'></div> </div> </div> <div id='ui-emote-button'></div> </div> <div id='ui-top-left' class='js-ui-hud-show click-through'> <div id='ui-team' class='js-ui-mobile-map-hidden'> <div class='ui-team-member ui-bg-standard' data-id='0'> <div class='ui-team-member-name'></div> <div class='ui-team-member-color ui-background-yellow'></div> <div class='ui-team-member-status'></div> <div class='ui-team-member-health'> <div class='ui-bar-inner ui-health-actual'></div> </div> </div> <div class='ui-team-member ui-bg-standard' data-id='1'> <div class='ui-team-member-name'></div> <div class='ui-team-member-color ui-background-purple'></div> <div class='ui-team-member-status'></div> <div class='ui-team-member-health'> <div class='ui-bar-inner ui-health-actual'></div> </div> </div> <div class='ui-team-member ui-bg-standard' data-id='2'> <div class='ui-team-member-name'></div> <div class='ui-team-member-color ui-background-cyan'></div> <div class='ui-team-member-status'></div> <div class='ui-team-member-health'> <div class='ui-bar-inner ui-health-actual'></div> </div> </div> <div class='ui-team-member ui-bg-standard' data-id='3'> <div class='ui-team-member-name'></div> <div class='ui-team-member-color ui-background-orange'></div> <div class='ui-team-member-status'></div> <div class='ui-team-member-health'> <div class='ui-bar-inner ui-health-actual'></div> </div> </div> </div> </div> <div id='ui-map-wrapper' class='ui-map-wrapper-desktop click-through'> <div id='ui-map-container'> <div id='ui-map-info' class='js-ui-map-hidden js-ui-hud-show'> <div id='ui-gas-icon' class='gas-icon'></div> <div id='ui-gas-timer'></div> </div> <div id='ui-spec-counter' class='js-ui-map-hidden js-ui-hud-show'> <div id='ui-spec-counter-icon'></div> <div id='ui-spec-counter-number'></div> </div> <div id='ui-settings-container-desktop' class='js-ui-desktop-map-hidden'> <div id='ui-map-expand-desktop' class='ui-map-expand ui-settings-button'> <img id='mag-glass-white' src=''></img> </div> <div id='ui-map-minimize' class='ui-settings-button js-ui-map-hidden'> <img id='ui-minimize-img' src=''></img> </div> </div> <div id='ui-settings-container-mobile' class='js-ui-mobile-map-hidden'> <div id='ui-alive-info'> <div id='ui-alive-icon' class='ui-map-icon alive-icon'></div> <div id='ui-map-counter-default' class='js-ui-players-alive'>0</div> <div id='ui-map-counter-faction'> <span class='ui-players-alive-red js-ui-players-alive-red'>0</span>:<span class='ui-players-alive-blue js-ui-players-alive-blue'>0</span> </div> </div> <div id='ui-map-expand-mobile' class='ui-map-expand ui-settings-button'></div> </div> </div> </div> <div id='ui-menu-display' class='ui-settings-button prop-event'></div> <div id='ui-kill-leader-container'> <div id='ui-kill-leader-wrapper' class='js-ui-map-hidden js-ui-hud-show hide-on-mobile'> <div id='ui-kill-leader-name'>Waiting for new leader</div> <div id='ui-kill-leader-icon'></div> <div id='ui-kill-leader-count'>0</div> </div> </div> <div id='ui-killfeed-wrapper'> <div id='ui-killfeed' class='js-ui-map-hidden js-ui-hud-show'> <div id='ui-killfeed-contents'></div> </div> </div> <div id='ui-leaderboard-wrapper'> <div id='ui-leaderboard' class='js-ui-hud-show'> <div id='ui-leaderboard-alive'> <span class='ui-players-alive js-ui-players-alive'>0</span> </div> <div id='ui-leaderboard-alive-faction'> <span class='ui-players-alive-red js-ui-players-alive-red'>0</span> <span class='ui-players-alive-blue js-ui-players-alive-blue'>0</span> </div> <div class='ui-leaderboard-header' data-l10n='game-alive'>Alive</div> </div> <div id='ui-kill-counter-wrapper' class='js-ui-map-show'> <div id='ui-kill-counter'> <span class='ui-player-kills js-ui-player-kills'>0</span> </div> <div class='ui-kill-counter-header' data-l10n='game-kills'>Kills</div> </div> </div> <div id='ui-top-center-scopes-wrapper'> <div id='ui-top-center-scopes' class='click-through js-ui-map-hidden'> <div id='ui-scope-1xscope' class='ui-scope ui-zoom'> <div class='ui-zoom-text'> <div class='ui-zoom-level'>1<span class='ui-zoom-append'>x</span></div> </div> </div> <div id='ui-scope-2xscope' class='ui-scope ui-zoom ui-outline-hover'> <div class='ui-zoom-text'> <div class='ui-zoom-level'>2<span class='ui-zoom-append'>x</span></div> </div> </div> <div id='ui-scope-4xscope' class='ui-scope ui-zoom ui-outline-hover'> <div class='ui-zoom-text'> <div class='ui-zoom-level'>4<span class='ui-zoom-append'>x</span></div> </div> </div> <div id='ui-scope-8xscope' class='ui-scope ui-zoom ui-outline-hover'> <div class='ui-zoom-text'> <div class='ui-zoom-level'>8<span class='ui-zoom-append'>x</span></div> </div> </div> <div id='ui-scope-15xscope' class='ui-scope ui-zoom ui-outline-hover'> <div class='ui-zoom-text'> <div class='ui-zoom-level'>15<span class='ui-zoom-append'>x</span></div> </div> </div> </div> </div> <div id='ui-top-center' class='js-ui-map-hidden js-ui-hud-show click-through'> <div id='ui-waiting-text' class='top-center-text'><span data-l10n='game-waiting-for-players'>Waiting for players</span>...</div> <div id='ui-spectate-text' class='top-center-text ui-spectate-mode'> <div class='spectate-text spectate-desc' data-l10n='game-spectating'>Spectating</div> <div id='spectate-player' class='spectate-text'></div> </div> </div> <div id='ui-upper-center' class='click-through'> <div id='ui-announcement'></div> </div> <div id='ui-upper-center-1' class='click-through'> <div id='ui-pickup-notification'> <div id='ui-pickup-description'>Item picked up</div> </div> </div> <div id='ui-lower-center' class='js-ui-map-hidden js-ui-hud-show click-through'> <div id='ui-interaction'> <div id='ui-interaction-press'></div> <div id='ui-interaction-outer'> <div id='ui-interaction-description'></div> </div> </div> </div> <div id='ui-bottom-center-2' class='click-through'> <div id='ui-pickup-message' class='notify-message'></div> <div id='ui-perk-message-wrapper' class='notify-message'> <div id='ui-perk-message-image-wrapper'> <div id='ui-perk-message-image-icon'></div> </div> <div id='ui-perk-message-name' class='notify-message'></div> <div id='ui-perk-message-acquired' class='notify-message'></div> </div> </div> <div id='ui-equipped-ammo-wrapper' class='js-ui-map-hidden js-ui-hud-show'> <div id='ui-equipped-ammo'> <div id='ui-bullet-counter'> <div id='ui-current-clip'>0</div> <div id='ui-remaining-ammo'>0</div> <div id='ui-reload-button-container'> <div id='ui-reload-button'></div> </div> </div> </div> </div> <div id='ui-bottom-center-0' class='click-through js-ui-map-hidden js-ui-hud-show'> <div id='ui-boost-counter'> <div class='ui-boost-base' id='ui-boost-counter-0'> <div class='ui-bar-inner'></div> </div> <div class='ui-boost-base' id='ui-boost-counter-1'> <div class='ui-bar-inner'></div> </div> <div class='ui-boost-base' id='ui-boost-counter-2'> <div class='ui-bar-inner'></div> </div> <div class='ui-boost-base' id='ui-boost-counter-3'> <div class='ui-bar-inner'></div> </div> </div> <div id='ui-health-counter'> <div id='ui-health-flair-left' class='ui-health-flair'></div> <div id='ui-health-flair-right' class='ui-health-flair'></div> <div id='ui-health-container'> <div class='ui-bar-inner' id='ui-health-actual'></div> <div class='ui-bar-inner' id='ui-health-depleted'></div> </div> </div> </div> <div id='ui-bottom-center-left' class='js-ui-map-hidden'> <div id='ui-perk-0' class='ui-armor-counter tooltip-perk ui-outline-hover'> <div class='tooltip-text'> <div class='tooltip-title'></div> <div class='tooltip-desc'></div> </div> <img class='ui-armor-image ui-loot-image' src=''></img> </div> <div id='ui-perk-1' class='ui-armor-counter tooltip-perk ui-outline-hover'> <div class='tooltip-text'> <div class='tooltip-title'></div> <div class='tooltip-desc'></div> </div> <img class='ui-armor-image ui-loot-image' src=''></img> </div> <div id='ui-perk-2' class='ui-armor-counter tooltip-perk ui-outline-hover'> <div class='tooltip-text'> <div class='tooltip-title'></div> <div class='tooltip-desc'></div> </div> <img class='ui-armor-image ui-loot-image' src=''></img> </div> </div> <div id='ui-bottom-center-right' class='js-ui-map-hidden'> <div id='ui-armor-helmet' class='ui-armor-counter ui-outline-hover'> <div class='ui-armor-counter-inner'></div> <div class='ui-armor-level'></div> <img class='ui-armor-image ui-loot-image' src=''></img> </div> <div id='ui-armor-chest' class='ui-armor-counter ui-outline-hover'> <div class='ui-armor-counter-inner'></div> <div class='ui-armor-level'></div> <img class='ui-armor-image ui-loot-image' src=''></img> </div> <div id='ui-armor-backpack' class='ui-armor-counter'> <div class='ui-armor-counter-inner'></div> <div class='ui-armor-level'></div> <img class='ui-armor-image ui-loot-image' src=''></img> </div> </div> <div id='ui-bottom-right' class='js-ui-map-hidden'> <div id='ui-weapon-container'> <div class='ui-weapon-info'> <div class='ui-weapon-switch ui-outline-hover' id='ui-weapon-id-1' data-slot='1'> <div class='ui-weapon-name'></div> <div class='ui-weapon-number'>1</div> <img class='ui-weapon-image' src=''></img> </div> </div> <div class='ui-weapon-info'> <div class='ui-weapon-switch ui-outline-hover' id='ui-weapon-id-2' data-slot='2'> <div class='ui-weapon-name'></div> <div class='ui-weapon-number'>2</div> <img class='ui-weapon-image' src=''></img> </div> </div> <div class='ui-weapon-info'> <div class='ui-weapon-switch ui-outline-hover' id='ui-weapon-id-3'> <div class='ui-weapon-name'></div> <div class='ui-weapon-number'>3</div> <img class='ui-weapon-image' src=''></img> </div> </div> <div class='ui-weapon-info'> <div class='ui-weapon-switch ui-outline-hover' id='ui-weapon-id-4'> <div class='ui-weapon-name'></div> <div class='ui-weapon-number'>4</div> <div class='ui-weapon-exp ui-weapon-ammo-counter'>0</div> <img class='ui-weapon-image' src=''></img> </div> </div> </div> </div> <div id='ui-spectate-options-wrapper'> <div id='ui-spectate-options' class='ui-spectate-mode js-ui-hud-show click-through'> <div id='ui-spectate-buttons' class='ui-bg-standard'> <a class='menu-option btn-darken' id='btn-spectate-next-player' data-l10n='game-next-teammate'>Next Teammate</a> <a class='menu-option btn-darken' id='btn-spectate-prev-player' data-l10n='game-previous-teammate'>Previous Teammate</a> <a class='menu-option btn-darken' id='btn-spectate-view-stats' data-l10n='game-view-match-stats'>View Match Stats</a> <a class='menu-option btn-darken btn-quit' id='btn-spectate-quit' data-l10n='game-leave-game'>Leave Game</a> </div> <div id='ui-spectate-stats' class='ui-bg-standard'> <div id='ui-spectate-stats-header' data-l10n='game-your-results'>Your Results</div> <table id='ui-spectate-stats-table'> <tbody id='ui-spectate-stats-data'> </tbody> </table> </div> </div> </div> <div id='ui-bottom-center-1' class='click-through'> <div id='ui-kills'> <div id='ui-kill-text'></div> <div id='ui-kill-count'></div> </div> </div> </div> <div id='ui-stats'> <div id='ui-stats-bg'></div> <div id='ui-stats-contents'> <div id='ui-stats-contents-inner'> <div id='ui-stats-header'></div> <div id='ui-stats-info-box'></div> <div id='ui-stats-options'></div> <div id='ui-stats-logo'></div> </div> <div id='ui-stats-ad-container-desktop' class='ui-stats-ad-container'> <div id='surviv-io_300x250_2'></div> </div> <div id='ui-stats-ad-container-mobile' class='ui-stats-ad-container'> <div id='surviv-io_300x250_mobile_2'></div> </div> </div> </div> <div class='ui-stats-adblock surviv-shirts'> <a class='surviv-shirts-link' href='/~/https://www.amazon.com/s?rh=n%3A7141123011%2Cp_4%3Asurviv.io&ref=w_bl_sl_s_ap_web_7141123011' target="_blank"></a> </div> <div class='ui-stats-adblock adblock-plea'> <span>Please consider supporting us by disabling your adblocker.</span> </div> </div> <div id='start-menu-wrapper'> <div id='safari-margin'></div> <div id='background'> <div id='start-overlay'></div> </div> <div id='event-modal'> <div id='modal-container'> <p id='modal-header' data-l10n='index-modal-test'>(HEADER TEXT)</p> <img id='modal-img-1'> <div id='modal-content'> <img id='modal-img-2'> <p id='modal-text' data-l10n='event-desc'>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Tincidunt dui ut ornare lectus sit amet est.</p> </div> <button class='close' id='modal-btn' data-l10n='modal-btn-txt' type='button'>(BUTTON TEXT)</button> </div> </div> <div id='start-main'> <div id='start-top-left'> <div id='btn-hamburger' class='icon-hamburger'></div> <div id='start-top-left-desktop'> <div id='featured-streamers'> <div class='streaming-header'> <div id='streaming-header-title' data-l10n='index-streaming-live'>Streaming Live!</div> <div id='streaming-icon'></div> </div> <div class='streamer-list'></div> <div id='featured-streamer-template'> <a href='' target='_blank' class='btn-streamer btn-darken'></a> </div> </div> <div id='featured-youtuber'> <div class='youtube-header'> <div id='youtube-header-title' data-l10n='index-featured-youtuber'>Featured YouTuber</div> </div> <a href='' target='_blank' class='btn-youtuber btn-darken'></a> </div> </div> </div> <!-- Accounts Modals --> <div id='modal-account-name-change' class='modal modal-account'> <div class='modal-content modal-close'> <div class='modal-header modal-header-name'> <span class='close close-corner'></span> <h2 id='modal-account-name-title' data-l10n='index-create-account'>Create Account</h2> </div> <div class='modal-body modal-body-name'> <div class='modal-settings-item'> <p id='modal-account-name-desc' class='modal-body-text' data-l10n='index-set-account-name'>Set your account name:</p> <div id='modal-body-warning'></div> <input type='text' class='menu-option player-name-input' tabindex='0' placeholder='Enter name' id='modal-account-name-input' maxlength='16' /> </div> </div> <div class='modal-footer modal-footer-name modal-footer-round'> <h3 id='modal-account-name-finish' class='finish' data-l10n='index-finish'>Finish</h3> </div> </div> </div> <div id='modal-account-reset-stats' class='modal modal-account'> <div class='modal-content modal-close'> <div class='modal-header modal-header-reset-stats'> <span class='close close-corner'></span> <h2 id='modal-account-name-title' data-l10n='index-reset-stats'>Reset Stats</h2> </div> <div class='modal-body modal-body-reset-stats'> <div class='modal-settings-item'> <p id='modal-account-reset-stats-desc' class='modal-body-text' data-l10n='index-reset-stats-desc'>Enter "RESET STATS" to reset your stats:</p> <p id='modal-account-reset-stats-desc-2' class='modal-body-text' data-l10n='index-reset-stats-desc-2'>(This does not reset pass progress.)</p> <input type='text' class='menu-option player-name-input' tabindex='0' placeholder='' id='modal-account-reset-stats-input' maxlength='16' /> </div> </div> <div class='modal-footer modal-footer-reset-stats modal-footer-round'> <h3 id='modal-account-reset-stats-finish' class='finish' data-l10n='index-confirm'>Confirm</h3> </div> </div> </div> <div id='modal-account-delete' class='modal modal-account'> <div class='modal-content modal-close'> <div class='modal-header modal-header-delete'> <span class='close close-corner'></span> <h2 id='modal-account-name-title' data-l10n='index-delete-account'>Delete Account</h2> </div> <div class='modal-body modal-body-delete'> <div class='modal-settings-item'> <p id='modal-account-delete-desc' class='modal-body-text' data-l10n='index-delete-account-desc'>Enter "DELETE" to delete your account:</p> <input type='text' class='menu-option player-name-input' tabindex='0' placeholder='' id='modal-account-delete-input' maxlength='16' /> </div> </div> <div class='modal-footer modal-footer-delete modal-footer-round'> <h3 id='modal-account-delete-finish' class='finish' data-l10n='index-confirm'>Confirm</h3> </div> </div> </div> <!-- Accounts Mobile --> <div id='modal-mobile-account' class='modal'> <div class='modal-content modal-close'> <div class='modal-header'> <span class='close close-corner'></span> <h2 data-l10n='index-account' data-l10n='index-account'>Account</h2> </div> <div id='modal-mobile-account-body'> <div class='account-buttons-settings account-buttons-wrapper account-block-arrow modal-close'> <div class='account-buttons'> <div class='account-stats-link btn-player-stats-link menu-option btn-darken btn-standard ' data-l10n='index-my-stats'>My Stats</div> <div class='btn-account-link btn-account-turq menu-option btn-darken btn-standard' data-l10n='index-link-account'>Link Account</div> <div class='btn-account-change-name btn-account-turq menu-option btn-darken btn-standard' data-l10n='index-change-account-name'>Change Account Name</div> <div class='btn-account-reset-stats btn-account-turq menu-option btn-darken btn-standard' data-l10n='index-reset-stats'>Reset Stats</div> <div class='btn-account-delete btn-account-turq menu-option btn-darken btn-standard' data-l10n='index-delete-account'>Delete Account</div> <div class='btn-account-logout btn-account-grey menu-option btn-darken btn-standard' data-l10n='index-log-out'>Log Out</div> </div> </div> <div id='account-login-options-mobile' class='account-buttons-link-account account-buttons-wrapper account-block-arrow modal-close'> <div class='login-options-content'></div> </div> </div> </div> </div> <!-- Accounts --> <div id='start-top-right'> <div class='account-block'> <div class='account-details-top'> <div class="account-details-top-buttons"> <div class="account-details-button-wrapper account-details-button-loadout menu-option btn-darken-alt"> <div class='account-details-button'> <div id='loadout-alert-main' class='account-alert-main account-alert'></div> <div class='account-link account-loadout-link'> <span data-l10n='index-loadout'>Loadout</span> </div> </div> </div> <div class="account-details-button-wrapper account-details-link-out menu-option btn-darken hide-on-mobile"> <div class='account-details-button'> <div class='account-link account-stats-link'><span data-l10n='index-my-stats'>My Stats</span></div> </div> </div> <div class="account-details-button-wrapper account-details-link-out menu-option btn-darken hide-on-mobile"> <div class='account-details-button'> <div class='account-link account-leaderboard-link'><span data-l10n='index-leaderboards'>Leaderboards</span></div> </div> </div> </div> </div> <div class='account-overview'> <div class="account-details-user account-details-block"> <div class="account-details"> <div class="account-avatar"></div> <div id="account-login" class="account-player-name account-name account-name-user" data-l10n='index-log-in-desc'>Log In / Create Account</div> <div id="account-player-name" class="account-player-name account-name account-name-user" style="display:none"></div> <div class="account-loading-container"> <div class="account-loading"></div> </div> </div> </div> </div> <div class='account-buttons-settings account-buttons-wrapper account-block-arrow modal-close hide-on-mobile'> <div class='account-buttons'> <div class='btn-account-link btn-account-turq menu-option btn-darken btn-standard' data-l10n='index-link-account'>Link Account</div> <div class='btn-account-change-name btn-account-turq menu-option btn-darken btn-standard' data-l10n='index-change-account-name'>Change Account Name</div> <div class='btn-account-reset-stats btn-account-turq menu-option btn-darken btn-standard' data-l10n='index-reset-stats'>Reset Stats</div> <div class='btn-account-delete btn-account-turq menu-option btn-darken btn-standard' data-l10n='index-delete-account'>Delete Account</div> <div class='btn-account-logout btn-account-grey menu-option btn-darken btn-standard' data-l10n='index-log-out'>Log Out</div> </div> </div> <div id='account-login-options' class='account-buttons-link-account account-buttons-wrapper account-block-arrow modal-close hide-on-mobile'> <div class='login-options-content'></div> </div> </div> </div> <div id='start-main-center'> <div id='start-row-header'> <div id='server-warning'></div> </div> <div id='start-row-top'> <div id='start-rotate-reminder' class='menu-column menu-block'> <span>Rotate to landscape for a better experience.</span> </div> <div id='left-column' class='menu-column'> <div id='ad-block-left'> <div class='surviv-shirts'> <a href='/~/https://www.amazon.com/s?rh=n%3A7141123011%2Cp_4%3Asurviv.io&ref=w_bl_sl_s_ap_web_7141123011' target="_blank"></a> </div> <div class='adblock-plea'> <span>Please consider supporting us by disabling your adblocker.</span> </div> <div class='ad-block-med-rect' id='surviv-io_300x250'> </div> </div> <div id='social-share-block-wrapper'> <div id='social-share-block' class='menu-block'> <div class='btn-social-wrapper'> <a href='/~/https://facebook.com/surviviogame' target='_blank' class='btn-social btn-darken btn-facebook'></a> <a href='/~/https://twitter.com/survivio' target='_blank' class='btn-social btn-darken btn-twitter'></a> <a href='/~/https://www.instagram.com/surviviogame/' target='_blank' class='btn-social btn-darken btn-instagram'></a> <a href='/~/https://discord.gg/survivio' target='_blank' class='btn-social btn-darken btn-discord'></a> <a href='/~/https://www.youtube.com/c/survivio?sub_confirmation=1' target='_blank' class='btn-social btn-darken btn-youtube'></a> </div> </div> </div> </div> <div id='start-menu' class='menu-column menu-block'> <div class='play-loading-outer'> <div class='play-loading-inner'> <div class='play-loading-spinner'></div> </div> </div> <div class='play-button-container'> <div id='player-options'> <input type='text' class='menu-option player-name-input' tabindex='0' placeholder='Enter your name here' id='player-name-input-solo' maxlength='16' /> <a class='btn-darken menu-option player-options-btn' id='btn-customize'></a> </div> <select id='server-select-main' class='server-select menu-option btn-hollow btn-hollow-selected'> <optgroup id='server-opts' label='Region' data-l10n='index-region'> <option value='na' data-label='North America' data-l10n='index-north-america'>North America</option> <option value='sa' data-label='South America' data-l10n='index-south-america'>South America</option> <option value='eu' data-label='Europe' data-l10n='index-europe'>Europe</option> <option value='as' data-label='Asia' data-l10n='index-asia'>Asia</option> <option value='kr' data-label='Korea' data-l10n='index-korea'>South Korea</option> </optgroup> </select> <a class='btn-green btn-darken menu-option' id='btn-start-mode-0' data-l10n='index-play-solo'>Play Solo</a> <div id='btns-quick-start'> <a class='btn-green btn-darken menu-option' id='btn-start-mode-1' data-l10n='index-play-duo'>Play Duo</a> <a class='btn-green btn-darken menu-option' id='btn-start-mode-2' data-l10n='index-play-squad'>Play Squad</a> </div> <div class='btns-double-row'> <a class='btn-darken menu-option btn-team-option' id='btn-join-team' data-l10n='index-join-team'>Join Team</a> <a class='btn-darken menu-option btn-team-option' id='btn-create-team' data-l10n='index-create-team'>Create Team</a> </div> <div id='btn-help' class='menu-option btn-darken' data-l10n='index-how-to-play'>How to Play</div> <div id='start-help'> <h1 data-l10n='index-controls'>Controls</h1> <p><span class='help-action' data-l10n='index-movement'></span>: <span class='help-control' data-l10n='index-movement-ctrl'></span></p> <p><span class='help-action' data-l10n='index-aim'></span>: <span class='help-control' data-l10n='index-aim-ctrl'></span></p> <p><span class='help-action' data-l10n='index-punch'></span>/<span class='help-action' data-l10n='index-shoot'></span>: <span class='help-control' data-l10n='index-shoot-ctrl'></span></p> <p><span class='help-action' data-l10n='index-change-weapons'></span>: <span class='help-control' data-l10n='index-change-weapons-ctrl'></span></p> <p class='hide-on-mobile'><span class='help-action' data-l10n='index-stow-weapons'></span>: <span class='help-control' data-l10n='index-stow-weapons-ctrl'></span></p> <p class='hide-on-mobile'><span class='help-action' data-l10n='index-swap-weapons'></span>: <span class='help-control' data-l10n='index-swap-weapons-ctrl'></span></p> <p class='hide-on-mobile'><span class='help-action' data-l10n='index-swap-weapon-slots'></span>: <span class='help-control' data-l10n='index-swap-weapon-slots-ctrl'></span></p> <p><span class='help-action' data-l10n='index-reload'></span>: <span class='help-control' data-l10n='index-reload-ctrl'></span></p> <p><span class='help-action' data-l10n='index-scope-zoom'></span>: <span class='help-control' data-l10n='index-scope-zoom-ctrl'></span></p> <p><span class='help-action' data-l10n='index-pickup'></span>/<span class='help-action' data-l10n='index-loot'></span>/<span class='help-action' data-l10n='index-revive'></span>: <span class='help-control' data-l10n='index-pickup-ctrl'></span></p> <p><span class='help-action' data-l10n='index-use-medical'></span>: <span class='help-control' data-l10n='index-use-medical-ctrl'></span></p> <p><span class='help-action' data-l10n='index-drop-item'></span>: <span class='help-control' data-l10n='index-drop-item-ctrl'></span></p> <p><span class='help-action' data-l10n='index-cancel-action'></span>: <span class='help-control' data-l10n='index-cancel-action-ctrl'></span></p> <p><span class='help-action' data-l10n='index-view-map'></span>: <span class='help-control' data-l10n='index-view-map-ctrl'></span></p> <p class='hide-on-mobile'><span class='help-action' data-l10n='index-toggle-minimap'></span>: <span class='help-control' data-l10n='index-toggle-minimap-ctrl'></span></p> <p><span class='help-action' data-l10n='index-use-ping'></span>: <span class='help-control' data-l10n='index-use-ping-ctrl'></span></p> <p><span class='help-action' data-l10n='index-use-emote'></span>: <span class='help-control' data-l10n='index-use-emote-ctrl'></span></p> <h1 data-l10n='index-how-to-play'>How to Play</h1> <p data-l10n='index-tips-1-desc'>The goal of surviv.io is to be the last player standing. You only live once per game - there is no respawn!</p> <h1 data-l10n='index-tips-2'>2D PUBG</h1> <p data-l10n='index-tips-2-desc'>If you've played other battle royale games like PUBG, Fortnite or H1Z1, then you're already halfway there! Think of surviv.io as 2D PUBG (with slightly less desync and more chicken).</p> <h1 data-l10n='index-tips-3'>Loot and Kill</h1> <p data-l10n='index-tips-3-desc'>You'll begin the game with no items other than a simple backpack. Move around the map to find loot: weapons, ammo, scopes, and medical items. Eliminate other players and you can take their loot!</p> <h1 data-l10n='index-tips-4'>Red = Bad!</h1> <p data-l10n='index-tips-4-desc'>Players aren't the only thing that can hurt you. The deadly red zone will move in from the sides of the map and deal increasingly greater damage if you stand in it. Keep an eye on the map and stay safe.</p> </div> </div> </div> <div id='team-menu' class='menu-column menu-block'> <div class='play-loading-outer'> <div class='play-loading-inner'> <div class='play-loading-spinner'></div> </div> </div> <div class='play-button-container'> <a class='btn-darken menu-option' id='btn-team-leave' data-l10n='index-leave-team'>Leave Team</a> <div id='team-menu-connecting'> <div class='ui-spinner'></div> <div class='team-menu-connecting-text' id='team-menu-joining-text'><span data-l10n='index-joining-team'>Joining team</span> ...</div> <div class='team-menu-connecting-text' id='team-menu-creating-text'><span data-l10n='index-creating-team'>Creating team</span> ...</div> </div> <div id='team-menu-contents'> <div id='team-desc'> <div id='team-desc-text'><span id='invite-link-text' data-l10n='index-invite-link'>Invite link</span>: <span id='team-url'></span> </div> <a id='team-copy-url' class='copy-item btn-darken'></a> <a id='team-hide-url' class='hide-item btn-darken'></a> <div id='team-code-text'><span id='invite-code-text' data-l10n='index-invite-code'>Invite code</span>: <span id='team-code'></span></div> </div> <div id='team-menu-columns'> <div id='team-menu-members' class='team-menu-block'> <div id='team-menu-member-list'></div> </div> <div id='team-menu-options' class='team-menu-block'> <select id='team-server-select' class='btn-hollow btn-hollow-selected server-select menu-option'> <optgroup id='team-server-opts' label='Region'> <option value='na' data-label='North America' data-l10n='index-north-america'>North America</option> <option value='sa' data-label='South America' data-l10n='index-south-america'>South America</option> <option value='eu' data-label='Europe' data-l10n='index-europe'>Europe</option> <option value='as' data-label='Asia' data-l10n='index-asia'>Asia</option> <option value='kr' data-label='Korea' data-l10n='index-korea'>South Korea</option> </optgroup> </select> <div class='team-menu-options-buttons'> <a class='btn-hollow btn-hollow-selected btn-darken team-menu-option btn-team-queue' id='btn-team-queue-mode-1' data-l10n='index-duo'>Duo</a> <a class='btn-hollow btn-hollow-selected btn-darken team-menu-option btn-team-queue' id='btn-team-queue-mode-2' data-l10n='index-squad'>Squad</a> </div> <div class='team-menu-options-buttons'> <a class='btn-hollow btn-hollow-selected btn-darken team-menu-option btn-team-fill' id='btn-team-fill-auto' data-l10n='index-auto-fill'>Auto Fill</a> <a class='btn-hollow btn-darken team-menu-option btn-team-fill' id='btn-team-fill-none' data-l10n='index-no-fill'>No Fill</a> </div> <div id='team-menu-options-start'> <a class='btn-green btn-darken menu-option' id='btn-start-team' data-label='Play' data-l10n='index-play'>Play</a> <div id='msg-wait-reason'></div> </div> </div> </div> </div> </div> </div> <div id='team-mobile-link' class='menu-column menu-block'> <div id='team-mobile-link-desc' class='team-mobile-link-text' data-l10n='index-join-team-help'>Got a team link or code? Paste it here:</div> <div id='team-mobile-link-warning' class='team-mobile-link-text'>Invalid link!</div> <input type='text' class='menu-option' contenteditable="false" tabindex='0' autofocus placeholder='Paste team link or enter code here' id='team-link-input' /> <a class='btn-darken menu-option btn-team-option' id='btn-team-mobile-link-join' data-l10n='index-join-team'>Join Team</a> <a class='btn-darken menu-option' id='btn-team-mobile-link-leave' data-l10n='index-back-to-main'>Back to Main Menu</a> </div> <div id='right-column' class='menu-column'> <div id='pass-wrapper'> <div id='pass-unlock-tooltip'> <div class='tooltip-pass-title'></div> <div class='tooltip-pass-desc'></div> </div> <div class='right-column-toggle news-toggle'> <div class='account-alert'></div> </div> <div id='pass-loading' class='pass-column menu-block'> <div id='pass-loading-spinner'></div> </div> <div id='pass-block' class='pass-column menu-block'> <div id='pass-name'> <span id='pass-name-text'></span> </div> <div id='pass-progress' class=''> <div id='pass-progress-level' class=''></div> <div id='pass-progress-bar' class=''> <div id='pass-progress-bar-fill'></div> <div id='pass-progress-xp'> <span id='pass-progress-xp-current'></span> <span>/</span> <span id='pass-progress-xp-target'></span> <span>XP</span> </div> </div> <div id='pass-progress-unlock-wrapper'> <div id='pass-progress-unlock' class=''> <div id='pass-progress-unlock-image' class=''></div> </div> <div id='pass-progress-unlock-type-wrapper' class=''> <div id='pass-progress-unlock-type-border' class=''> <div id='pass-progress-unlock-type-image' class=''></div> </div> <div id='pass-progress-unlock-overlay' class=''></div> </div> </div> </div> <div id='pass-quest-wrapper' class=''> <div id='pass-locked'> <div id='btn-pass-locked' class='menu-option btn-darken' data-l10n='quest-login-prompt'>Log in to get quests!</div> </div> <div id='pass-quest-0' class='pass-quest'> <div class='pass-quest-timer'></div> <div class='pass-quest-spinner-container'> <div class='pass-quest-spinner'></div> </div> <div class='pass-quest-refresh-prompt'> <div class='pass-quest-refresh-prompt-text' data-l10n='quest-refresh-prompt'>Get a new quest?</div> <div class='pass-quest-refresh-confirm btn-pass-quest-refresh'></div> <div class='pass-quest-refresh-cancel btn-pass-quest-refresh'></div> </div> <div class='pass-quest-info'> <div class='pass-quest-desc'></div> <div class='pass-quest-xp'></div> <div class='pass-quest-refresh'></div> <div class='pass-quest-progress'> <div class='pass-quest-bar'> <div class='pass-quest-bar-fill'></div> </div> <div class='pass-quest-counter'> <span class='pass-quest-counter-current'></span> <span>/</span> <span class='pass-quest-counter-target'></span> </div> </div> </div> </div> <div id='pass-quest-1' class='pass-quest'> <div class='pass-quest-timer'></div> <div class='pass-quest-spinner-container'> <div class='pass-quest-spinner'></div> </div> <div class='pass-quest-refresh-prompt'> <div class='pass-quest-refresh-prompt-text' data-l10n='quest-refresh-prompt'>Get a new quest?</div> <div class='pass-quest-refresh-confirm btn-pass-quest-refresh'></div> <div class='pass-quest-refresh-cancel btn-pass-quest-refresh'></div> </div> <div class='pass-quest-info'> <div class='pass-quest-desc'></div> <div class='pass-quest-xp'></div> <div class='pass-quest-refresh'></div> <div class='pass-quest-progress'> <div class='pass-quest-bar'> <div class='pass-quest-bar-fill'></div> </div> <div class='pass-quest-counter'> <span class='pass-quest-counter-current'></span> <span>/</span> <span class='pass-quest-counter-target'></span> </div> </div> </div> </div> </div> </div> </div> <div id='news-wrapper'> <div class='right-column-toggle pass-toggle'></div> <div id='news-block' class='menu-block'> <div id='news'> <h3 class='news-header'>What's New!</h3> <div id='news-current' data-date='2020-2-24'> <small class='news-date'>February 24, 2020</small> <p class='news-paragraph'><strong>Curveball</strong></p> <p class='news-paragraph'>The <span class='highlight'>Savannah</span> has returned with a new perk to help flush snipers out of position.</p> <p class='news-paragraph'>The <span class='highlight'>Closer Perk</span> throws grenades much farther, allowing you to put Snipers on the move.</p> </div> <div data-date='2020-2-10'> <small class='news-date'>February 10, 2020</small> <p class='news-paragraph'><strong>Keep Your Enemies Closer</strong></p> <p class='news-paragraph'>PARMA recognizes this season of togetherness and generously offers to help rivals resolve their differences. The all new <span class='highlight'>Heart Cannon</span> diffuses damage taken from your frenemies. For groups of future friends, the same effect is achieved with the all-new <span class='highlight'>Heart Grenade</span>.</p> <p class='news-paragraph'>If you do not trust the intentions of your new friends, eat an entire <span class='highlight'>box of chocolates</span> to counter the effect of <span class='highlight'>Heart Weapons</span>.</p> </div> <div data-date='2020-1-27'> <small class='news-date'>January 27, 2020</small> <p class='news-paragraph'><strong>Dodge This</strong></p> <p class='news-paragraph'><span class='highlight'>Woods</span> Mode is back with two new weapons and things are bound to get explosive. The <span class='highlight'>PKM</span> and <span class='highlight'>Hawk 12G</span> join the Woods Map arsenal, along with increased grenade capacity.</p> <p class='news-paragraph'>The <span class='highlight'>PKM</span> packs a punch while balancing mobility and range. Based on the M870 with an added magazine, the <span class='highlight'>Hawk 12G</span>'s ammo capacity of 5 is the same as its parent weapon, the fire delay is faster and fires a tighter spread. </p> </div> <div data-date='2020-1-13'> <small class='news-date'>January 13, 2020</small> <p class='news-paragraph'><strong>Stay frosty</strong></p> <p class='news-paragraph'>Winter has arrived on the Island with new features and is more dangerous than ever, including PARMA's latest item, the <span class='highlight'>Flask</span>.</p> <p class='news-paragraph'>Track your enemy's footprints and use the <span class='highlight'>Snow Fox</span> perk to cover up your footprints. Be sure to keep moving or take freezing damage. Flasks and the <span class='highlight'>Polar Bear</span> perk keep you from freezing. And watch out for ice. It's slippery.</p> </div> <div data-date='2019-12-30'> <small class='news-date'>December 30, 2019</small> <p class='news-paragraph'><strong>Free Fryer</strong></p> <p class='news-paragraph'>PARMA's FSTMS division is pleased to introduce the next generation in starch-based modern warfare: the <span class='highlight'>spud gun</span>.</p> <p class='news-paragraph'>Officially designated the SMG-8 (Spud Missile Generator), the spud gun uses a proprietary breech-to-muzzle heat expander to fry and propel wedge-shaped projectiles at tremendous speeds. Like its cousin, the potato cannon, the spud gun also features nitroglycerin-spiked ammunition and a nifty tuber replication device!</p> </div> </div> </div> </div> </div> </div> <div class='ad-block-leaderboard-bottom' id='surviv-io_728x90'></div> </div> <div id='start-bottom-left'> <div class='hide-on-mobile'> <a href='/~/https://play.google.com/store/apps/details?id=io.surviv.surviv_io_mobile' target='_blank' class='btn-download-android btn-download-app btn-darken'></a> </div> <div class='hide-on-mobile'> <a href='/~/https://itunes.apple.com/us/app/surviv-io/id1401727934?ls=1&mt=8' target='_blank' class='btn-download-ios btn-download-app btn-darken'></a> </div> <div id='mobile-settings-front'> <div class='btn-settings menu-option btn-darken btn-start-option'></div> </div> </div> <div id="start-bottom-middle"> <a href='changelog.html' target="_blank" class="footer-after">ver 0.9.1b</a> <a href='proxy.txt' target="_blank" data-l10n='index-proxy-sites'>proxy sites</a> </div> <div id='start-bottom-right-wrapper'> <div id='start-bottom-right'> <div class="language-select-wrap"> <select class='language-select'></select> </div> <div class='btn-settings menu-option btn-darken btn-start-option'></div> <div class='btn-keybind menu-option btn-darken btn-start-option'></div> <div id='btn-start-fullscreen' class='btn-fullscreen-toggle menu-option btn-darken btn-start-option'></div> <div class='btn-start-mute btn-sound-toggle menu-option btn-darken btn-start-option audio-on-icon'></div> </div> <div id='mobile-download-app'> <a href='/~/https://play.google.com/store/apps/details?id=io.surviv.surviv_io_mobile' target='_blank' class='btn-download-android btn-download-app-mobile btn-darken'></a> <a href='/~/https://itunes.apple.com/us/app/surviv-io/id1401727934?ls=1&mt=8' target='_blank' class='btn-download-ios btn-download-app-mobile btn-darken'></a> </div> </div> </div> <!-- Modals --> <div id='ui-modal-keybind' class='ui-modal-keybind modal' oncontextmenu='return false;'> <div class='ui-modal-keybind-content modal-content modal-close'> <div id='ui-modal-keybind-header' class='modal-header'> <span id='ui-close-keybind' class='close close-corner'></span> <h2 data-l10n='index-customize-keybinds'>Customize Keybinds</h2> </div> <div id='ui-modal-keybind-body' class='modal-body'> <div id='ui-modal-keybind-list' class='js-keybind-list'></div> <div id='ui-modal-keybind-share'> <div class='ui-modal-keybind-share-row'> <div class='ui-modal-keybind-share-elem'> <span data-l10n='index-keybind-link'>Share your keybinds with this code</span>: </div> <div class='ui-modal-keybind-share-elem'> <div id='keybind-link-text'> <div id='keybind-link'>aFvc42SfhpoFlrJKVkA1fx+5afasdf9034hfSF09nASqqF</div> <span id='keybind-copy' class='copy-item btn-darken'></span> </div> </div> </div> <span class='keybind-share-paste-text' data-l10n='index-keybind-paste'>Load keybinds using a code here</span><span>:</span> <div id='keybind-warning' class='link-warning'>Invalid code!</div> <div class='ui-modal-keybind-share-row'> <input type='text' class='menu-option' contenteditable="false" tabindex='0' autofocus placeholder='Paste a keybind code here' id='keybind-code-input' /> <a class='btn-game-menu btn-darken' id='btn-keybind-code-load' data-l10n='index-keybind-apply'>Load</a> </div> </div> </div> <div id='ui-modal-keybind-footer' class='modal-footer modal-footer-round'> <a class='js-btn-keybind-share btn-game-menu btn-darken' data-l10n='game-share'>Share</a> <a class='js-btn-keybind-restore btn-game-menu btn-darken' data-l10n='game-restore-defaults'>Restore Defaults</a> </div> </div> </div> <!-- Loadouts --> <div id='modal-customize' class='modal'> <div class='ad-block-loadouts-left hide-on-mobile' id='surviv-io_300x600'></div> <div id='modal-customize-wrapper' class='modal-close'> <div id='modal-content-left' class='modal-content-shadow'> <div id='modal-customize-cat-title'></div> <div id="modal-customize-sort-wrap"> <select id='modal-customize-sort'> <option id='customize-sort-newest' value='newest' data-l10n='loadout-newest'>Newest</option> <option id='customize-sort-alpha' value='alpha' data-l10n='loadout-alpha'>Alpha</option> <option id='customize-sort-rarity' value='rarity' data-l10n='loadout-rarity'>Rarity</option> <option id='customize-sort-subcat' value='subcat' data-l10n='loadout-subcat'>Category</option> </select> </div> <div id='modal-customize-close'> <span class='close close-corner'></span> </div> <div id='modal-customize-header' class='modal-header'></div> <div class='modal-disabled'> <div class='modal-disabled-message'>The Edge browser does not support custom cursors.</div> </div> <div id='modal-customize-body' class='modal-body'> <div id='modal-customize-item-header'> <div id='modal-customize-item-name'></div> <div id='modal-customize-item-rarity'></div> <div id='modal-customize-loading-container'> <div id='modal-customize-loading'></div> </div> </div> <div id='modal-customize-list'></div> </div> <div id='modal-customize-footer' class='modal-footer modal-footer-round'> <div id='modal-customize-item-source'></div> <div id='modal-customize-item-lore'></div> </div> <div id='modal-customize-unlocks' class=''> <div id='customize-instagram-follow-unlock' class='customize-social-unlock customize-social-tooltip' data-lock-reason='instagram'> <div class="tooltiptext" data-l10n='loadout-instagram-reward'></div> <a href='/~/https://www.instagram.com/surviviogame/' target="_blank" id='btn-instagram-follow-unlock' class='menu-option btn-darken btn-social-unlock btn-instagram' data-lock-reason='instagram' data-l10n='loadout-instagram-follow'></a> </div> <div id='customize-youtube-subscribe-unlock' class='customize-social-unlock customize-social-tooltip' data-lock-reason='youtube'> <div class="tooltiptext" data-l10n='loadout-youtube-reward'></div> <a href='/~/https://www.youtube.com/c/survivio?sub_confirmation=1' target='_blank' id='btn-youtube-subscribe-unlock' class='menu-option btn-darken btn-social-unlock btn-youtube' data-lock-reason='youtube' data-l10n='loadout-youtube-subscribe'></a> </div> <div id='customize-twitter-follow-unlock' class='customize-social-unlock customize-social-tooltip' data-lock-reason='twitter'> <div class="tooltiptext" data-l10n='loadout-twitter-reward'></div> <a href='/~/https://twitter.com/intent/follow?region=follow_link&screen_name=survivio&tw_p=followbutton' target="_blank" id='btn-twitter-follow-unlock' class='menu-option btn-darken btn-social-unlock btn-twitter' data-lock-reason='twitter' data-l10n='loadout-twitter-follow'></a> </div> <div id='customize-facebook-like-unlock' class='customize-social-unlock customize-social-tooltip' data-lock-reason='facebook'> <div class="tooltiptext" data-l10n='loadout-facebook-reward'></div> <a href='/~/https://www.facebook.com/surviviogame/' target='_blank' id='btn-facebook-like-unlock' class='menu-option btn-darken btn-social-unlock btn-facebook' data-lock-reason='facebook' data-l10n='loadout-facebook-like'></a> </div> </div> </div> <div id='modal-content-right-crosshair' class='modal-content-right modal-content-shadow'> <div class='modal-spacer'></div> <div class='modal-disabled'></div> <div id='customize-crosshair-parent'> <div id='customize-crosshair-selected'> <div class="customize-item-image customize-crosshair-image" draggable="false"></div> </div> <div id='customize-crosshair-sliders'> <div class="crosshair-hex-outer"> <span>#</span><input type="text" id='color-picker-hex'> </div> <section id="color-picker"></section> <div class="crosshair-slider-container"> <p class='' data-l10n='loadout-size'>Size</p> <input type="range" min="0.25" max="1.0" value="0.5" step='0.025' class="crosshair-slider" id="crosshair-size"> </div> <div class="crosshair-slider-container"> <p class='' data-l10n='loadout-stroke'>Stroke</p> <input type="range" min="0.0" max="1.5" value="0.0" step='0.025' class="crosshair-slider" id="crosshair-stroke"> </div> </div> </div> </div> <div id='modal-content-right-emote' class='modal-content-right modal-content-shadow'> <div id='customize-emote-parent'> <div id='customize-emote-wheel' class='ui-emote-wheel'> <div id='customize-emote-middle' class='ui-emote-middle ui-emote-circle ui-emote-parent'> <div class='ui-emote ui-emote-bg-circle'></div> <div class='ui-emote ui-emote-hl'></div> <div class='customize-emote-slot customize-item-image ui-emote-image'></div> </div> <div id='customize-emote-top' class='ui-emote-top ui-emote-quarter ui-emote-parent' data-slot='emoteTop' data-idx='0'> <div class='ui-emote ui-emote-bg-quarter'></div> <div class='ui-emote ui-emote-hl'></div> <div class='customize-emote-slot customize-item-image ui-emote-image'></div> <div class='customize-col customize-col-small' draggable="true"></div> </div> <div id='customize-emote-right' class='ui-emote-right ui-emote-quarter ui-emote-parent' data-slot='emoteRight' data-idx='1'> <div class='ui-emote ui-emote-bg-quarter'></div> <div class='ui-emote ui-emote-hl'></div> <div class='customize-emote-slot customize-item-image ui-emote-image'></div> <div class='customize-col customize-col-small' draggable="true"></div> </div> <div id='customize-emote-bottom' class='ui-emote-bottom ui-emote-quarter ui-emote-parent' data-slot='emoteBottom' data-idx='2'> <div class='ui-emote ui-emote-bg-quarter'></div> <div class='ui-emote ui-emote-hl'></div> <div class='customize-emote-slot customize-item-image ui-emote-image'></div> <div class='customize-col customize-col-small' draggable="true"></div> </div> <div id='customize-emote-left' class='ui-emote-left ui-emote-quarter ui-emote-parent' data-slot='emoteLeft' data-idx='3'> <div class='ui-emote ui-emote-bg-quarter'></div> <div class='ui-emote ui-emote-hl'></div> <div class='customize-emote-slot customize-item-image ui-emote-image'></div> <div class='customize-col customize-col-small' draggable="true"></div> </div> </div> <div id='customize-emote-autos'> <div id='customize-emote-win' class='ui-emote-middle ui-emote-circle ui-emote-parent' data-slot='emoteWin' data-idx='4'> <div class='ui-emote ui-emote-auto-trash'></div> <div class='ui-emote ui-emote-auto-icon ui-emote-auto-chicken'></div> <div class='ui-emote ui-emote-bg-circle-outer'></div> <div class='ui-emote ui-emote-bg-circle'></div> <div class='ui-emote ui-emote-hl'></div> <div class='customize-emote-slot customize-item-image'></div> <div class='customize-col customize-col-large' draggable="true"></div> </div> <div id='customize-emote-death' class='ui-emote-middle ui-emote-circle ui-emote-parent' data-slot='emoteDeath' data-idx='5'> <div class='ui-emote ui-emote-auto-trash'></div> <div class='ui-emote ui-emote-auto-icon ui-emote-auto-skull'></div> <div class='ui-emote ui-emote-bg-circle-outer'></div> <div class='ui-emote ui-emote-bg-circle'></div> <div class='ui-emote ui-emote-hl'></div> <div class='customize-emote-slot customize-item-image'></div> <div class='customize-col customize-col-large' draggable="true"></div> </div> </div> </div> </div> </div> </div> <div id='modal-settings' class='modal'> <div class='modal-content modal-close'> <div class='modal-header'> <span class='close close-corner'></span> <h2 data-l10n='index-settings'>Settings</h2> </div> <div id='modal-settings-body' class='modal-body'> <div id='language-select-mobile-wrapper' class='modal-settings-item'> <div class="language-select-wrap"> <select class='language-select'></select> </div> </div> <div id='modal-settings-high-res' class='modal-settings-item'> <input id='highResTex' type='checkbox'><p class='modal-settings-checkbox-text' data-l10n='index-high-resolution'>High resolution (check to increase visual quality)</p> </div> <div class='modal-settings-item hide-on-mobile'> <input id='screenShake' type='checkbox'><p class='modal-settings-checkbox-text' data-l10n='index-screen-shake'>Screen shake</p> </div> <div class='modal-settings-item'> <input id='anonPlayerNames' type='checkbox'><p class='modal-settings-checkbox-text' data-l10n='index-anon-player-names'>Anonymize player names</p> </div> <div class='modal-settings-item dpad'> <input id='activateDpad' type='checkbox'><p class='modal-settings-checkbox-text' data-l10n='index-left-mode'>Left handed mode </p> </div> <div class='modal-settings-item auto-melee'> <input id='autoMelee' type='checkbox'><p class='modal-settings-checkbox-text' data-l10n='index-auto-melee'>Auto Melee Boxes</p> </div> <div class='modal-settings-item aim-assist'> <input id='aimAssist' type='checkbox'><p class='modal-settings-checkbox-text' data-l10n='index-aim-assist'>Aim Assist</p> </div> <div class="modal-settings-item slider-container main-volume-slider"> <p class='modal-slider-text' data-l10n='index-master-volume'>Master Volume</p> <input type="range" min="0" max="100" value="50" class="slider sl-master-volume" id=""> </div> <div class="modal-settings-item slider-container main-volume-slider"> <p class='modal-slider-text' data-l10n='index-sfx-volume'>SFX Volume</p> <input type="range" min="0" max="100" value="50" class="slider sl-sound-volume" id=""> </div> <div class="modal-settings-item slider-container main-volume-slider"> <p class='modal-slider-text' data-l10n='index-music-volume'>Music Volume</p> <input type="range" min="0" max="100" value="50" class="slider sl-music-volume" id=""> </div> <div class="modal-settings-item slider-container slider-dpad"> <p class='modal-slider-text' data-l10n='index-sensitivy'>Analog Sensitivity</p> <input type="range" min="0" max="100" value="100" class="slider" id="sensitivity-slider"> </div> <div id='settings-links'> <a href='#' class="btn-cookie-settings footer-after">cookie settings</a> <a href='privacy.html' target="_blank" class="footer-after" data-l10n='index-privacy'>privacy</a> <a href='attribution.txt' target="_blank" class="footer-after" data-l10n='index-attributions'>attributions</a> <a href='hof.html' target="_blank" data-l10n='index-hof'>HOF</a> </div> </div> <div class='modal-footer'></div> </div> </div> <div id='modal-hamburger' class='modal'> <div class='modal-content modal-close'> <div class='modal-header'> <span class='close close-hamburger icon-hamburger'></span> <h2> </h2> </div> <div id='modal-hamburger-body' class='modal-body'> <div id='modal-hamburger-leaderboards'> <a href='/~/https://surviv.io/stats' target='_blank' id="btn-mobile-to-stats" class='btn-leaderboard-stats-link menu-option btn-darken' data-l10n='index-leaderboards'>Leaderboards</a> </div> <div class='modal-divider'></div> <div class='btn-social-wrapper'> <a href='/~/https://facebook.com/surviviogame' target='_blank' class='btn-social btn-darken btn-facebook'></a> <a href='/~/https://twitter.com/survivio' target='_blank' class='btn-social btn-darken btn-twitter'></a> <a href='/~/https://www.instagram.com/surviviogame/' target='_blank' class='btn-social btn-darken btn-instagram'></a> <a href='/~/https://discord.gg/survivio' target='_blank' class='btn-social btn-darken btn-discord'></a> <!-- <a href='/~/https://www.youtube.com/c/survivio?sub_confirmation=1' target='_blank' class='btn-social btn-darken btn-youtube'></a> --> </div> <div class='modal-divider'></div> <div id='modal-hamburger-bottom'> <a href='changelog.html' class="footer-after">ver 0.9.1b</a> <a href='#' class="btn-cookie-settings footer-after">cookie settings</a> <a href='privacy.txt' target="_blank" class="footer-after">privacy</a> <a href='attribution.txt' target="_blank">attributions</a> </div> </div> </div> </div> <div id='modal-notification' class='modal'> <div class='modal-content modal-close'> <div class='modal-header'> <span class='close close-corner'></span> <h2>Alert</h2> </div> <div class='modal-body'> <p class='modal-body-text'></p> </div> <div class='modal-footer modal-footer-round'> <h3 class='close close-footer'>OK</h3> </div> </div> </div> <div id='modal-refresh' class='modal'> <div class='modal-content modal-close'> <div class='modal-header'> <span class='close close-corner'></span> <h2>New Update</h2> </div> <div class='modal-body'> <p class='modal-body-text'>A new version of surviv.io is available!<br><br>Press "OK" below to reload the page.</p> </div> <div class='modal-footer modal-footer-round'> <h3 id='force-refresh' class='close close-footer'>OK</h3> </div> </div> </div> <div id='modal-create-account' class='modal modal-account'> <div class='modal-content modal-close'> <div class='modal-header modal-header-name'> <span class='close-loadouts close close-corner'></span> <h2 id='modal-account-name-title' data-l10n='index-log-in-desc'>Log In / Create Account</h2> </div> <div class='modal-body modal-body-name'> <p class='modal-body-text' data-l10n='index-create-account-prompt-1'>Log in to access this feature!</p> <div class='login-options-content'></div> </div> <div class='modal-footer modal-footer-name modal-footer-round'> <h3 class='close close-footer' data-l10n='index-cancel'>Cancel</h3> </div> </div> </div> <div id='modal-screen-block'> <div id='modal-item-confirm' class='modal'> <div class='modal-content modal-close'> <div class='modal-header modal-header-name'> <h2 id='modal-account-name-title'>You got a new item!</h2> </div> <div class='modal-body modal-body-name'> <div id='modal-item-confirm-image-outer'> <div id='modal-item-confirm-image-inner'></div> </div> <div class='modal-settings-item'> <p id='modal-item-confirm-name' class='modal-body-text'></p> </div> </div> <div class='modal-footer modal-footer-name modal-footer-round'> <h3 class='close close-footer' data-l10n='index-confirm'>Confirm</h3> </div> </div> </div> </div> <div id='modal-cookie-settings' class='modal'> <div class='modal-content modal-close'> <div class='modal-header'> <span class='close close-corner'></span> <h2>Cookie Settings</h2> </div> <div class='modal-body'> <p class='modal-body-text'>We use cookies to personalize content and ads, to provide social media features, and to analyze our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you've provided to them or that they've collected from your use of their services. You consent to our cookies if you continue to use our website. Click <a href='#' id='btn-cookie-opt-out' class='close'>here</a> to opt out of using cookies.</p> </div> <div class='modal-footer modal-footer-round'> <h3 class='close close-footer'><div class='btn-cookies-close btn-darken'>Got it!</div></h3> </div> </div> </div> </div> <script type="text/javascript" src="js/manifest.8e62061f.js"></script><script type="text/javascript" src="js/vendor.bd007df0.js"></script><script type="text/javascript" src="js/app.55f8f3a9.
hadron43
Clone of famous Color Switch Game
hiteshsuthar01
<html lang="en-US"><head><script type="text/javascript" async="" src="https://script.4dex.io/localstore.js"></script> <title>HTML p tag</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="Keywords" content="HTML, Python, CSS, SQL, JavaScript, How to, PHP, Java, C, C++, C#, jQuery, Bootstrap, Colors, W3.CSS, XML, MySQL, Icons, NodeJS, React, Graphics, Angular, R, AI, Git, Data Science, Code Game, Tutorials, Programming, Web Development, Training, Learning, Quiz, Exercises, Courses, Lessons, References, Examples, Learn to code, Source code, Demos, Tips, Website"> <meta name="Description" content="Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java, XML and more."> <meta property="og:image" content="https://www.w3schools.com/images/w3schools_logo_436_2.png"> <meta property="og:image:type" content="image/png"> <meta property="og:image:width" content="436"> <meta property="og:image:height" content="228"> <meta property="og:description" content="W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more."> <link rel="icon" href="/favicon.ico" type="image/x-icon"> <link rel="preload" href="/lib/fonts/fontawesome.woff2?14663396" as="font" type="font/woff2" crossorigin=""> <link rel="preload" href="/lib/fonts/source-code-pro-v14-latin-regular.woff2" as="font" type="font/woff2" crossorigin=""> <link rel="preload" href="/lib/fonts/roboto-mono-v13-latin-500.woff2" as="font" type="font/woff2" crossorigin=""> <link rel="preload" href="/lib/fonts/source-sans-pro-v14-latin-700.woff2" as="font" type="font/woff2" crossorigin=""> <link rel="preload" href="/lib/fonts/source-sans-pro-v14-latin-600.woff2" as="font" type="font/woff2" crossorigin=""> <link rel="preload" href="/lib/fonts/freckle-face-v9-latin-regular.woff2" as="font" type="font/woff2" crossorigin=""> <link rel="stylesheet" href="/lib/w3schools30.css"> <script async="" src="//confiant-integrations.global.ssl.fastly.net/prebid/202204201359/wrap.js"></script><script type="text/javascript" src="https://confiant-integrations.global.ssl.fastly.net/t_Qv_vWzcBDsyn934F1E0MWBb1c/prebid/config.js" async=""></script><script type="text/javascript" async="" src="https://www.google-analytics.com/gtm/js?id=GTM-WJ88MZ5&cid=1308236804.1650718121"></script><script async="" src="https://www.google-analytics.com/analytics.js"></script><script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-3855518-1', 'auto'); ga('require', 'displayfeatures'); ga('require', 'GTM-WJ88MZ5'); ga('send', 'pageview'); </script> <script src="/lib/uic.js?v=1.0.3"></script> <script data-cfasync="false" type="text/javascript"> var k42 = false; k42 = true; </script> <script data-cfasync="false" type="text/javascript"> window.snigelPubConf = { "adengine": { "activeAdUnits": ["main_leaderboard", "sidebar_top", "bottom_left", "bottom_right"] } } uic_r_a() </script> <script async="" data-cfasync="false" src="https://cdn.snigelweb.com/adengine/w3schools.com/loader.js" type="text/javascript"></script> <script src="/lib/my-learning.js?v=1.0.9"></script> <script type="text/javascript"> var stickyadstatus = ""; function fix_stickyad() { document.getElementById("stickypos").style.position = "sticky"; var elem = document.getElementById("stickyadcontainer"); if (!elem) {return false;} if (document.getElementById("skyscraper")) { var skyWidth = Number(w3_getStyleValue(document.getElementById("skyscraper"), "width").replace("px", "")); } else { var skyWidth = Number(w3_getStyleValue(document.getElementById("right"), "width").replace("px", "")); } elem.style.width = skyWidth + "px"; if (window.innerWidth <= 992) { elem.style.position = ""; elem.style.top = stickypos + "px"; return false; } var stickypos = document.getElementById("stickypos").offsetTop; var docTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop; var adHeight = Number(w3_getStyleValue(elem, "height").replace("px", "")); if (stickyadstatus == "") { if ((stickypos - docTop) < 60) { elem.style.position = "fixed"; elem.style.top = "60px"; stickyadstatus = "sticky"; document.getElementById("stickypos").style.position = "sticky"; } } else { if ((docTop + 60) - stickypos < 0) { elem.style.position = ""; elem.style.top = stickypos + "px"; stickyadstatus = ""; document.getElementById("stickypos").style.position = "static"; } } if (stickyadstatus == "sticky") { if ((docTop + adHeight + 60) > document.getElementById("footer").offsetTop) { elem.style.position = "absolute"; elem.style.top = (document.getElementById("footer").offsetTop - adHeight) + "px"; document.getElementById("stickypos").style.position = "static"; } else { elem.style.position = "fixed"; elem.style.top = "60px"; stickyadstatus = "sticky"; document.getElementById("stickypos").style.position = "sticky"; } } } function w3_getStyleValue(elmnt,style) { if (window.getComputedStyle) { return window.getComputedStyle(elmnt,null).getPropertyValue(style); } else { return elmnt.currentStyle[style]; } } </script> <link rel="stylesheet" type="text/css" href="/browserref.css"> <script type="text/javascript" async="" src="//cdn.snigelweb.com/prebid/5.20.2/prebid.js?v=3547-1650632016452"></script><script type="text/javascript" async="" src="//c.amazon-adsystem.com/aax2/apstag.js"></script><script type="text/javascript" async="" src="//securepubads.g.doubleclick.net/tag/js/gpt.js"></script><script type="text/javascript" async="" src="https://adengine.snigelweb.com/w3schools.com/3547-1650632016452/adngin.js"></script><script type="text/javascript" async="" src="//cdn.snigelweb.com/argus/argus.js"></script><meta http-equiv="origin-trial" content="AxujKG9INjsZ8/gUq8+dTruNvk7RjZQ1oFhhgQbcTJKDnZfbzSTE81wvC2Hzaf3TW4avA76LTZEMdiedF1vIbA4AAABueyJvcmlnaW4iOiJodHRwczovL2ltYXNkay5nb29nbGVhcGlzLmNvbTo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzVGhpcmRQYXJ0eSI6dHJ1ZX0="><meta http-equiv="origin-trial" content="Azuce85ORtSnWe1MZDTv68qpaW3iHyfL9YbLRy0cwcCZwVnePnOmkUJlG8HGikmOwhZU22dElCcfrfX2HhrBPAkAAAB7eyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"><meta http-equiv="origin-trial" content="A16nvcdeoOAqrJcmjLRpl1I6f3McDD8EfofAYTt/P/H4/AWwB99nxiPp6kA0fXoiZav908Z8etuL16laFPUdfQsAAACBeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXRhZ3NlcnZpY2VzLmNvbTo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"><meta http-equiv="origin-trial" content="AxBHdr0J44vFBQtZUqX9sjiqf5yWZ/OcHRcRMN3H9TH+t90V/j3ENW6C8+igBZFXMJ7G3Pr8Dd13632aLng42wgAAACBeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"><meta http-equiv="origin-trial" content="A88BWHFjcawUfKU3lIejLoryXoyjooBXLgWmGh+hNcqMK44cugvsI5YZbNarYvi3roc1fYbHA1AVbhAtuHZflgEAAAB2eyJvcmlnaW4iOiJodHRwczovL2dvb2dsZS5jb206NDQzIiwiZmVhdHVyZSI6IlRydXN0VG9rZW5zIiwiZXhwaXJ5IjoxNjUyNzc0NDAwLCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv="origin-trial" content="AzoawhTRDevLR66Y6MROu167EDncFPBvcKOaQispTo9ouEt5LvcBjnRFqiAByRT+2cDHG1Yj4dXwpLeIhc98/gIAAACFeyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjYxMjk5MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv="origin-trial" content="A6+nc62kbJgC46ypOwRsNW6RkDn2x7tgRh0wp7jb3DtFF7oEhu1hhm4rdZHZ6zXvnKZLlYcBlQUImC4d3kKihAcAAACLeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjYxMjk5MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv="origin-trial" content="A/9La288e7MDEU2ifusFnMg1C2Ij6uoa/Z/ylwJIXSsWfK37oESIPbxbt4IU86OGqDEPnNVruUiMjfKo65H/CQwAAACLeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXRhZ3NlcnZpY2VzLmNvbTo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjYxMjk5MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><script src="https://securepubads.g.doubleclick.net/gpt/pubads_impl_2022042001.js?cb=31067210" async=""></script><argprec0></argprec0><argprec1></argprec1><style type="text/css">.snigel-cmp-framework .sn-inner {background-color:#fffefe!important;}.snigel-cmp-framework .sn-b-def {border-color:#04aa6d!important;color:#04aa6d!important;}.snigel-cmp-framework .sn-b-def.sn-blue {color:#ffffff!important;background-color:#04aa6d!important;border-color:#04aa6d!important;}.snigel-cmp-framework .sn-selector ul li {color:#04aa6d!important;}.snigel-cmp-framework .sn-selector ul li:after {background-color:#04aa6d!important;}.snigel-cmp-framework .sn-footer-tab .sn-privacy a {color:#04aa6d!important;}.snigel-cmp-framework .sn-arrow:after,.snigel-cmp-framework .sn-arrow:before {background-color:#04aa6d!important;}.snigel-cmp-framework .sn-switch input:checked + span::before {background-color:#04aa6d!important;}#adconsent-usp-link {border: 1px solid #04aa6d!important;color:#04aa6d!important;}#adconsent-usp-banner-optout input:checked + .adconsent-usp-slider {background-color:#04aa6d!important;}#adconsent-usp-banner-btn {color:#ffffff;border: solid 1px #04aa6d!important;background-color:#04aa6d!important; }</style><link rel="preload" href="https://adservice.google.co.in/adsid/integrator.js?domain=www.w3schools.com" as="script"><script type="text/javascript" src="https://adservice.google.co.in/adsid/integrator.js?domain=www.w3schools.com"></script><link rel="preload" href="https://adservice.google.com/adsid/integrator.js?domain=www.w3schools.com" as="script"><script type="text/javascript" src="https://adservice.google.com/adsid/integrator.js?domain=www.w3schools.com"></script><meta http-equiv="origin-trial" content="A4/Htern2udN9w3yJK9QgWQxQFruxOXsXL7cW60DyCl0EZFGCSme/J33Q/WzF7bBkVvhEWDlcBiUyZaim5CpFQwAAACceyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXRhZ3NlcnZpY2VzLmNvbTo0NDMiLCJmZWF0dXJlIjoiQ29udmVyc2lvbk1lYXN1cmVtZW50IiwiZXhwaXJ5IjoxNjQzMTU1MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlLCJ1c2FnZSI6InN1YnNldCJ9"><meta http-equiv="origin-trial" content="A4/Htern2udN9w3yJK9QgWQxQFruxOXsXL7cW60DyCl0EZFGCSme/J33Q/WzF7bBkVvhEWDlcBiUyZaim5CpFQwAAACceyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXRhZ3NlcnZpY2VzLmNvbTo0NDMiLCJmZWF0dXJlIjoiQ29udmVyc2lvbk1lYXN1cmVtZW50IiwiZXhwaXJ5IjoxNjQzMTU1MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlLCJ1c2FnZSI6InN1YnNldCJ9"><meta http-equiv="origin-trial" content="A4/Htern2udN9w3yJK9QgWQxQFruxOXsXL7cW60DyCl0EZFGCSme/J33Q/WzF7bBkVvhEWDlcBiUyZaim5CpFQwAAACceyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXRhZ3NlcnZpY2VzLmNvbTo0NDMiLCJmZWF0dXJlIjoiQ29udmVyc2lvbk1lYXN1cmVtZW50IiwiZXhwaXJ5IjoxNjQzMTU1MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlLCJ1c2FnZSI6InN1YnNldCJ9"><meta http-equiv="origin-trial" content="A4/Htern2udN9w3yJK9QgWQxQFruxOXsXL7cW60DyCl0EZFGCSme/J33Q/WzF7bBkVvhEWDlcBiUyZaim5CpFQwAAACceyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXRhZ3NlcnZpY2VzLmNvbTo0NDMiLCJmZWF0dXJlIjoiQ29udmVyc2lvbk1lYXN1cmVtZW50IiwiZXhwaXJ5IjoxNjQzMTU1MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlLCJ1c2FnZSI6InN1YnNldCJ9"><link rel="preload" href="https://adservice.google.co.in/adsid/integrator.js?domain=www.w3schools.com" as="script"><script type="text/javascript" src="https://adservice.google.co.in/adsid/integrator.js?domain=www.w3schools.com"></script><link rel="preload" href="https://adservice.google.com/adsid/integrator.js?domain=www.w3schools.com" as="script"><script type="text/javascript" src="https://adservice.google.com/adsid/integrator.js?domain=www.w3schools.com"></script></head> <body> <style> #darkmodemenu { position:absolute; top:-40px; right:16px; padding:5px 20px 10px 18px; border-bottom-left-radius:5px; border-bottom-right-radius:5px; z-index:-1; transition: top 0.2s; user-select: none; } #darkmodemenu input,#darkmodemenu label { cursor:pointer; } </style> <script> ( function setThemeMode() { var x = localStorage.getItem("preferredmode"); var y = localStorage.getItem("preferredpagemode"); if (x == "dark") { document.body.className += " darktheme"; ga('send', 'event', 'theme' , "darkcode"); } if (y == "dark") { document.body.className += " darkpagetheme"; ga('send', 'event', 'theme' , "darkpage"); } })(); </script> <div id="pagetop" class="w3-bar w3-card-2 notranslate"> <a href="https://www.w3schools.com" class="w3-bar-item w3-button w3-hover-none w3-left w3-padding-16" title="Home" style="width:77px"> <i class="fa fa-logo ws-text-green ws-hover-text-green" style="position:relative;font-size:42px!important;"></i> </a> <style> @media screen and (max-width: 1080px) { .ws-hide-1080 { ddddisplay: none !important; } } @media screen and (max-width: 1160px) { .topnavmain_video { display: none !important; } } </style> <a class="w3-bar-item w3-button w3-hide-small barex bar-item-hover w3-padding-24" href="javascript:void(0)" onclick="w3_open_nav('tutorials')" id="navbtn_tutorials" title="Tutorials" style="width:116px">Tutorials <i class="fa fa-caret-down" style="font-size: 20px; display: inline;"></i><i class="fa fa-caret-up" style="display:none"></i></a> <a class="w3-bar-item w3-button w3-hide-small barex bar-item-hover w3-padding-24" href="javascript:void(0)" onclick="w3_open_nav('references')" id="navbtn_references" title="References" style="width:132px">References <i class="fa fa-caret-down" style="font-size: 20px; display: inline;"></i><i class="fa fa-caret-up" style="display:none"></i></a> <a class="w3-bar-item w3-button w3-hide-small barex bar-item-hover w3-padding-24 ws-hide-800" href="javascript:void(0)" onclick="w3_open_nav('exercises')" id="navbtn_exercises" title="Exercises" style="width:118px">Exercises <i class="fa fa-caret-down" style="font-size: 20px; display: inline;"></i><i class="fa fa-caret-up" style="display:none"></i></a> <a class="w3-bar-item w3-button w3-hide-medium bar-item-hover w3-hide-small w3-padding-24 barex topnavmain_video" href="https://www.w3schools.com/videos/index.php" title="Video Tutorials" onclick="ga('send', 'event', 'Videos' , 'fromTopnavMain')">Videos</a> <a class="w3-bar-item w3-button w3-hide-medium bar-item-hover w3-hide-small w3-padding-24 barex" href="/pro/index.php" title="Go Pro" onclick="ga('send', 'event', 'Pro' , 'fromTopnavMainASP')">Pro <span class="ribbon-topnav ws-hide-1080">NEW</span></a> <a class="w3-bar-item w3-button bar-item-hover w3-padding-24" href="javascript:void(0)" onclick="w3_open()" id="navbtn_menu" title="Menu" style="width:93px">Menu <i class="fa fa-caret-down"></i><i class="fa fa-caret-up" style="display:none"></i></a> <div id="loginactioncontainer" class="w3-right w3-padding-16" style="margin-left:50px"> <div id="mypagediv" style="display: none;"></div> <!-- <button id="w3loginbtn" style="border:none;display:none;cursor:pointer" class="login w3-right w3-hover-greener" onclick='w3_open_nav("login")'>LOG IN</button>--> <a id="w3loginbtn" class="w3-bar-item w3-btn bar-item-hover w3-right" style="display: inline; width: 130px; background-color: rgb(4, 170, 109); color: white; border-radius: 25px;" href="https://profile.w3schools.com/log-in?redirect_url=https%3A%2F%2Fmy-learning.w3schools.com" target="_self">Log in</a> </div> <div class="w3-right w3-padding-16"> <!--<a class="w3-bar-item w3-button bar-icon-hover w3-right w3-hover-white w3-hide-large w3-hide-medium" href="javascript:void(0)" onclick="w3_open()" title="Menu"><i class='fa'></i></a> --> <a class="w3-bar-item w3-button bar-item-hover w3-right w3-hide-small barex" style="width: 140px; border-radius: 25px; margin-right: 15px;" href="https://courses.w3schools.com/" target="_blank" id="cert_navbtn" onclick="ga('send', 'event', 'Courses' , 'Clicked on courses in Main top navigation');" title="Courses">Paid Courses</a> <a class="w3-bar-item w3-button bar-item-hover w3-right ws-hide-900 w3-hide-small barex ws-pink" style="border-radius: 25px; margin-right: 15px;" href="https://www.w3schools.com/spaces" target="_blank" onclick="ga('send', 'event', 'spacesFromTopnavMain', 'click');" title="Get Your Own Website With W3Schools Spaces">Website <span class="ribbon-topnav ws-hide-1066">NEW</span></a> </div> </div> <div style="display: none; position: fixed; z-index: 4; right: 52px; height: 44px; background-color: rgb(40, 42, 53); letter-spacing: normal; top: 0px;" id="googleSearch"> <div class="gcse-search"></div> </div> <div style="display: none; position: fixed; z-index: 3; right: 111px; height: 44px; background-color: rgb(40, 42, 53); text-align: right; padding-top: 9px; top: 0px;" id="google_translate_element"></div> <div class="w3-card-2 topnav notranslate" id="topnav" style="position: fixed; top: 0px;"> <div style="overflow:auto;"> <div class="w3-bar w3-left" style="width:100%;overflow:hidden;height:44px"> <a href="javascript:void(0);" class="topnav-icons fa fa-menu w3-hide-large w3-left w3-bar-item w3-button" onclick="open_menu()" title="Menu"></a> <a href="/default.asp" class="topnav-icons fa fa-home w3-left w3-bar-item w3-button" title="Home"></a> <a class="w3-bar-item w3-button" href="/html/default.asp" title="HTML Tutorial" style="padding-left:18px!important;padding-right:18px!important;">HTML</a> <a class="w3-bar-item w3-button" href="/css/default.asp" title="CSS Tutorial">CSS</a> <a class="w3-bar-item w3-button" href="/js/default.asp" title="JavaScript Tutorial">JAVASCRIPT</a> <a class="w3-bar-item w3-button" href="/sql/default.asp" title="SQL Tutorial">SQL</a> <a class="w3-bar-item w3-button" href="/python/default.asp" title="Python Tutorial">PYTHON</a> <a class="w3-bar-item w3-button" href="/php/default.asp" title="PHP Tutorial">PHP</a> <a class="w3-bar-item w3-button" href="/bootstrap/bootstrap_ver.asp" title="Bootstrap Tutorial">BOOTSTRAP</a> <a class="w3-bar-item w3-button" href="/howto/default.asp" title="How To">HOW TO</a> <a class="w3-bar-item w3-button" href="/w3css/default.asp" title="W3.CSS Tutorial">W3.CSS</a> <a class="w3-bar-item w3-button" href="/java/default.asp" title="Java Tutorial">JAVA</a> <a class="w3-bar-item w3-button" href="/jquery/default.asp" title="jQuery Tutorial">JQUERY</a> <a class="w3-bar-item w3-button" href="/c/index.php" title="C Tutorial">C</a> <a class="w3-bar-item w3-button" href="/cpp/default.asp" title="C++ Tutorial">C++</a> <a class="w3-bar-item w3-button" href="/cs/index.php" title="C# Tutorial">C#</a> <a class="w3-bar-item w3-button" href="/r/default.asp" title="R Tutorial">R</a> <a class="w3-bar-item w3-button" href="/react/default.asp" title="React Tutorial">React</a> <a href="javascript:void(0);" class="topnav-icons fa w3-right w3-bar-item w3-button" onclick="gSearch(this)" title="Search W3Schools"></a> <a href="javascript:void(0);" class="topnav-icons fa w3-right w3-bar-item w3-button" onclick="gTra(this)" title="Translate W3Schools"></a> <!-- <a href='javascript:void(0);' class='topnav-icons fa w3-right w3-bar-item w3-button' onclick='changecodetheme(this)' title='Toggle Dark Code Examples'></a>--> <a href="javascript:void(0);" class="topnav-icons fa w3-right w3-bar-item w3-button" onmouseover="mouseoverdarkicon()" onmouseout="mouseoutofdarkicon()" onclick="changepagetheme(2)"></a> <!-- <a class="w3-bar-item w3-button w3-right" id='topnavbtn_exercises' href='javascript:void(0);' onclick='w3_open_nav("exercises")' title='Exercises'>EXERCISES <i class='fa fa-caret-down'></i><i class='fa fa-caret-up' style='display:none'></i></a> --> </div> <div id="darkmodemenu" class="ws-black" onmouseover="mouseoverdarkicon()" onmouseout="mouseoutofdarkicon()" style="top: -40px;"> <input id="radio_darkpage" type="checkbox" name="radio_theme_mode" onclick="click_darkpage()"><label for="radio_darkpage"> Dark mode</label> <br> <input id="radio_darkcode" type="checkbox" name="radio_theme_mode" onclick="click_darkcode()"><label for="radio_darkcode"> Dark code</label> </div> <nav id="nav_tutorials" class="w3-hide-small" style="position: absolute; padding-bottom: 60px; display: none;"> <div class="w3-content" style="max-width:1100px;font-size:18px"> <span onclick="w3_close_nav('tutorials')" class="w3-button w3-xxxlarge w3-display-topright w3-hover-white sectionxsclosenavspan" style="padding-right:30px;padding-left:30px;">×</span><br> <div class="w3-row-padding w3-bar-block"> <div class="w3-container" style="padding-left:13px"> <h2 style="color:#FFF4A3;"><b>Tutorials</b></h2> </div> <div class="w3-col l3 m6"> <h3 class="w3-margin-top">HTML and CSS</h3> <a class="w3-bar-item w3-button" href="/html/default.asp">Learn HTML</a> <a class="w3-bar-item w3-button" href="/css/default.asp">Learn CSS</a> <a class="w3-bar-item w3-button" href="/css/css_rwd_intro.asp" title="Responsive Web Design">Learn RWD</a> <a class="w3-bar-item w3-button" href="/bootstrap/bootstrap_ver.asp">Learn Bootstrap</a> <a class="w3-bar-item w3-button" href="/w3css/default.asp">Learn W3.CSS</a> <a class="w3-bar-item w3-button" href="/colors/default.asp">Learn Colors</a> <a class="w3-bar-item w3-button" href="/icons/default.asp">Learn Icons</a> <a class="w3-bar-item w3-button" href="/graphics/default.asp">Learn Graphics</a> <a class="w3-bar-item w3-button" href="/graphics/svg_intro.asp">Learn SVG</a> <a class="w3-bar-item w3-button" href="/graphics/canvas_intro.asp">Learn Canvas</a> <a class="w3-bar-item w3-button" href="/howto/default.asp">Learn How To</a> <a class="w3-bar-item w3-button" href="/sass/default.php">Learn Sass</a> <div class="w3-hide-large w3-hide-small"> <h3 class="w3-margin-top">Data Analytics</h3> <a class="w3-bar-item w3-button" href="/ai/default.asp">Learn AI</a> <a class="w3-bar-item w3-button" href="/python/python_ml_getting_started.asp">Learn Machine Learning</a> <a class="w3-bar-item w3-button" href="/datascience/default.asp">Learn Data Science</a> <a class="w3-bar-item w3-button" href="/python/numpy/default.asp">Learn NumPy</a> <a class="w3-bar-item w3-button" href="/python/pandas/default.asp">Learn Pandas</a> <a class="w3-bar-item w3-button" href="/python/scipy/index.php">Learn SciPy</a> <a class="w3-bar-item w3-button" href="/python/matplotlib_intro.asp">Learn Matplotlib</a> <a class="w3-bar-item w3-button" href="/statistics/index.php">Learn Statistics</a> <a class="w3-bar-item w3-button" href="/excel/index.php">Learn Excel</a> <h3 class="w3-margin-top">XML Tutorials</h3> <a class="w3-bar-item w3-button" href="/xml/default.asp">Learn XML</a> <a class="w3-bar-item w3-button" href="/xml/ajax_intro.asp">Learn XML AJAX</a> <a class="w3-bar-item w3-button" href="/xml/dom_intro.asp">Learn XML DOM</a> <a class="w3-bar-item w3-button" href="/xml/xml_dtd_intro.asp">Learn XML DTD</a> <a class="w3-bar-item w3-button" href="/xml/schema_intro.asp">Learn XML Schema</a> <a class="w3-bar-item w3-button" href="/xml/xsl_intro.asp">Learn XSLT</a> <a class="w3-bar-item w3-button" href="/xml/xpath_intro.asp">Learn XPath</a> <a class="w3-bar-item w3-button" href="/xml/xquery_intro.asp">Learn XQuery</a> </div> </div> <div class="w3-col l3 m6"> <h3 class="w3-margin-top">JavaScript</h3> <a class="w3-bar-item w3-button" href="/js/default.asp">Learn JavaScript</a> <a class="w3-bar-item w3-button" href="/jquery/default.asp">Learn jQuery</a> <a class="w3-bar-item w3-button" href="/react/default.asp">Learn React</a> <a class="w3-bar-item w3-button" href="/angular/default.asp">Learn AngularJS</a> <a class="w3-bar-item w3-button" href="/js/js_json_intro.asp">Learn JSON</a> <a class="w3-bar-item w3-button" href="/js/js_ajax_intro.asp">Learn AJAX</a> <a class="w3-bar-item w3-button" href="/appml/default.asp">Learn AppML</a> <a class="w3-bar-item w3-button" href="/w3js/default.asp">Learn W3.JS</a> <h3 class="w3-margin-top">Programming</h3> <a class="w3-bar-item w3-button" href="/python/default.asp">Learn Python</a> <a class="w3-bar-item w3-button" href="/java/default.asp">Learn Java</a> <a class="w3-bar-item w3-button" href="/c/index.php">Learn C</a> <a class="w3-bar-item w3-button" href="/cpp/default.asp">Learn C++</a> <a class="w3-bar-item w3-button" href="/cs/index.php">Learn C#</a> <a class="w3-bar-item w3-button" href="/r/default.asp">Learn R</a> <a class="w3-bar-item w3-button" href="/kotlin/index.php">Learn Kotlin</a> <a class="w3-bar-item w3-button" href="/go/index.php">Learn Go</a> <a class="w3-bar-item w3-button" href="/django/index.php">Learn Django</a> <a class="w3-bar-item w3-button" href="/typescript/index.php">Learn TypeScript</a> </div> <div class="w3-col l3 m6"> <h3 class="w3-margin-top">Server Side</h3> <a class="w3-bar-item w3-button" href="/sql/default.asp">Learn SQL</a> <a class="w3-bar-item w3-button" href="/mysql/default.asp">Learn MySQL</a> <a class="w3-bar-item w3-button" href="/php/default.asp">Learn PHP</a> <a class="w3-bar-item w3-button" href="/asp/default.asp">Learn ASP</a> <a class="w3-bar-item w3-button" href="/nodejs/default.asp">Learn Node.js</a> <a class="w3-bar-item w3-button" href="/nodejs/nodejs_raspberrypi.asp">Learn Raspberry Pi</a> <a class="w3-bar-item w3-button" href="/git/default.asp">Learn Git</a> <a class="w3-bar-item w3-button" href="/aws/index.php">Learn AWS Cloud</a> <h3 class="w3-margin-top">Web Building</h3> <a class="w3-bar-item w3-button" href="https://www.w3schools.com/spaces" target="_blank" onclick="ga('send', 'event', 'spacesFromTutorialsAcc', 'click');" title="Get Your Own Website With W3schools Spaces">Create a Website <span class="ribbon-topnav ws-yellow">NEW</span></a> <a class="w3-bar-item w3-button" href="/where_to_start.asp">Where To Start</a> <a class="w3-bar-item w3-button" href="/w3css/w3css_templates.asp">Web Templates</a> <a class="w3-bar-item w3-button" href="/browsers/default.asp">Web Statistics</a> <a class="w3-bar-item w3-button" href="/cert/default.asp">Web Certificates</a> <a class="w3-bar-item w3-button" href="/whatis/default.asp">Web Development</a> <a class="w3-bar-item w3-button" href="/tryit/default.asp">Code Editor</a> <a class="w3-bar-item w3-button" href="/typingspeed/default.asp">Test Your Typing Speed</a> <a class="w3-bar-item w3-button" href="/codegame/index.html" target="_blank">Play a Code Game</a> <a class="w3-bar-item w3-button" href="/cybersecurity/index.php">Cyber Security</a> <a class="w3-bar-item w3-button" href="/accessibility/index.php">Accessibility</a> </div> <div class="w3-col l3 m6 w3-hide-medium"> <h3 class="w3-margin-top">Data Analytics</h3> <a class="w3-bar-item w3-button" href="/ai/default.asp">Learn AI</a> <a class="w3-bar-item w3-button" href="/python/python_ml_getting_started.asp">Learn Machine Learning</a> <a class="w3-bar-item w3-button" href="/datascience/default.asp">Learn Data Science</a> <a class="w3-bar-item w3-button" href="/python/numpy/default.asp">Learn NumPy</a> <a class="w3-bar-item w3-button" href="/python/pandas/default.asp">Learn Pandas</a> <a class="w3-bar-item w3-button" href="/python/scipy/index.php">Learn SciPy</a> <a class="w3-bar-item w3-button" href="/python/matplotlib_intro.asp">Learn Matplotlib</a> <a class="w3-bar-item w3-button" href="/statistics/index.php">Learn Statistics</a> <a class="w3-bar-item w3-button" href="/excel/index.php">Learn Excel</a> <a class="w3-bar-item w3-button" href="/googlesheets/index.php">Learn Google Sheets</a> <h3 class="w3-margin-top">XML Tutorials</h3> <a class="w3-bar-item w3-button" href="/xml/default.asp">Learn XML</a> <a class="w3-bar-item w3-button" href="/xml/ajax_intro.asp">Learn XML AJAX</a> <a class="w3-bar-item w3-button" href="/xml/dom_intro.asp">Learn XML DOM</a> <a class="w3-bar-item w3-button" href="/xml/xml_dtd_intro.asp">Learn XML DTD</a> <a class="w3-bar-item w3-button" href="/xml/schema_intro.asp">Learn XML Schema</a> <a class="w3-bar-item w3-button" href="/xml/xsl_intro.asp">Learn XSLT</a> <a class="w3-bar-item w3-button" href="/xml/xpath_intro.asp">Learn XPath</a> <a class="w3-bar-item w3-button" href="/xml/xquery_intro.asp">Learn XQuery</a> </div> </div> </div> <br class="hidesm"> </nav> <nav id="nav_references" class="w3-hide-small" style="position: absolute; padding-bottom: 60px; display: none;"> <div class="w3-content" style="max-width:1100px;font-size:18px"> <span onclick="w3_close_nav('references')" class="w3-button w3-xxxlarge w3-display-topright w3-hover-white sectionxsclosenavspan" style="padding-right:30px;padding-left:30px;">×</span><br> <div class="w3-row-padding w3-bar-block"> <div class="w3-container" style="padding-left:13px"> <h2 style="color:#FFF4A3;"><b>References</b></h2> </div> <div class="w3-col l3 m6"> <h3 class="w3-margin-top">HTML</h3> <a class="w3-bar-item w3-button" href="/tags/default.asp">HTML Tag Reference</a> <a class="w3-bar-item w3-button" href="/tags/ref_html_browsersupport.asp">HTML Browser Support</a> <a class="w3-bar-item w3-button" href="/tags/ref_eventattributes.asp">HTML Event Reference</a> <a class="w3-bar-item w3-button" href="/colors/default.asp">HTML Color Reference</a> <a class="w3-bar-item w3-button" href="/tags/ref_attributes.asp">HTML Attribute Reference</a> <a class="w3-bar-item w3-button" href="/tags/ref_canvas.asp">HTML Canvas Reference</a> <a class="w3-bar-item w3-button" href="/graphics/svg_reference.asp">HTML SVG Reference</a> <a class="w3-bar-item w3-button" href="/graphics/google_maps_reference.asp">Google Maps Reference</a> <h3 class="w3-margin-top">CSS</h3> <a class="w3-bar-item w3-button" href="/cssref/default.asp">CSS Reference</a> <a class="w3-bar-item w3-button" href="/cssref/css3_browsersupport.asp">CSS Browser Support</a> <a class="w3-bar-item w3-button" href="/cssref/css_selectors.asp">CSS Selector Reference</a> <a class="w3-bar-item w3-button" href="/bootstrap/bootstrap_ref_all_classes.asp">Bootstrap 3 Reference</a> <a class="w3-bar-item w3-button" href="/bootstrap4/bootstrap_ref_all_classes.asp">Bootstrap 4 Reference</a> <a class="w3-bar-item w3-button" href="/w3css/w3css_references.asp">W3.CSS Reference</a> <a class="w3-bar-item w3-button" href="/icons/icons_reference.asp">Icon Reference</a> <a class="w3-bar-item w3-button" href="/sass/sass_functions_string.php">Sass Reference</a> </div> <div class="w3-col l3 m6"> <h3 class="w3-margin-top">JavaScript</h3> <a class="w3-bar-item w3-button" href="/jsref/default.asp">JavaScript Reference</a> <a class="w3-bar-item w3-button" href="/jsref/default.asp">HTML DOM Reference</a> <a class="w3-bar-item w3-button" href="/jquery/jquery_ref_overview.asp">jQuery Reference</a> <a class="w3-bar-item w3-button" href="/angular/angular_ref_directives.asp">AngularJS Reference</a> <a class="w3-bar-item w3-button" href="/appml/appml_reference.asp">AppML Reference</a> <a class="w3-bar-item w3-button" href="/w3js/w3js_references.asp">W3.JS Reference</a> <h3 class="w3-margin-top">Programming</h3> <a class="w3-bar-item w3-button" href="/python/python_reference.asp">Python Reference</a> <a class="w3-bar-item w3-button" href="/java/java_ref_keywords.asp">Java Reference</a> </div> <div class="w3-col l3 m6"> <h3 class="w3-margin-top">Server Side</h3> <a class="w3-bar-item w3-button" href="/sql/sql_ref_keywords.asp">SQL Reference</a> <a class="w3-bar-item w3-button" href="/mysql/mysql_ref_functions.asp">MySQL Reference</a> <a class="w3-bar-item w3-button" href="/php/php_ref_overview.asp">PHP Reference</a> <a class="w3-bar-item w3-button" href="/asp/asp_ref_response.asp">ASP Reference</a> <h3 class="w3-margin-top">XML</h3> <a class="w3-bar-item w3-button" href="/xml/dom_nodetype.asp">XML DOM Reference</a> <a class="w3-bar-item w3-button" href="/xml/dom_http.asp">XML Http Reference</a> <a class="w3-bar-item w3-button" href="/xml/xsl_elementref.asp">XSLT Reference</a> <a class="w3-bar-item w3-button" href="/xml/schema_elements_ref.asp">XML Schema Reference</a> </div> <div class="w3-col l3 m6"> <h3 class="w3-margin-top">Character Sets</h3> <a class="w3-bar-item w3-button" href="/charsets/default.asp">HTML Character Sets</a> <a class="w3-bar-item w3-button" href="/charsets/ref_html_ascii.asp">HTML ASCII</a> <a class="w3-bar-item w3-button" href="/charsets/ref_html_ansi.asp">HTML ANSI</a> <a class="w3-bar-item w3-button" href="/charsets/ref_html_ansi.asp">HTML Windows-1252</a> <a class="w3-bar-item w3-button" href="/charsets/ref_html_8859.asp">HTML ISO-8859-1</a> <a class="w3-bar-item w3-button" href="/charsets/ref_html_symbols.asp">HTML Symbols</a> <a class="w3-bar-item w3-button" href="/charsets/ref_html_utf8.asp">HTML UTF-8</a> </div> </div> <br class="hidesm"> </div> </nav> <nav id="nav_exercises" class="w3-hide-small" style="position: absolute; padding-bottom: 60px; display: none;"> <div class="w3-content" style="max-width:1100px;font-size:18px"> <span onclick="w3_close_nav('exercises')" class="w3-button w3-xxxlarge w3-display-topright w3-hover-white sectionxsclosenavspan" style="padding-right:30px;padding-left:30px;">×</span><br> <div class="w3-row-padding w3-bar-block"> <div class="w3-container" style="padding-left:13px"> <h2 style="color:#FFF4A3;"><b>Exercises and Quizzes</b></h2> </div> <div class="w3-col l3 m6"> <h3 class="w3-margin-top"><a class="ws-btn ws-yellow w3-hover-text-white" style="width:155px;font-size:21px" href="/exercises/index.php">Exercises</a></h3> <a class="w3-bar-item w3-button" href="/html/html_exercises.asp">HTML Exercises</a> <a class="w3-bar-item w3-button" href="/css/css_exercises.asp">CSS Exercises</a> <a class="w3-bar-item w3-button" href="/js/js_exercises.asp">JavaScript Exercises</a> <a class="w3-bar-item w3-button" href="/sql/sql_exercises.asp">SQL Exercises</a> <a class="w3-bar-item w3-button" href="/mysql/mysql_exercises.asp">MySQL Exercises</a> <a class="w3-bar-item w3-button" href="/php/php_exercises.asp">PHP Exercises</a> <a class="w3-bar-item w3-button" href="/python/python_exercises.asp">Python Exercises</a> <a class="w3-bar-item w3-button" href="/python/numpy/numpy_exercises.asp">NumPy Exercises</a> <a class="w3-bar-item w3-button" href="/python/pandas/pandas_exercises.asp">Pandas Exercises</a> <a class="w3-bar-item w3-button" href="/python/scipy/scipy_exercises.php">SciPy Exercises</a> <a class="w3-bar-item w3-button" href="/jquery/jquery_exercises.asp">jQuery Exercises</a> <a class="w3-bar-item w3-button" href="/java/java_exercises.asp">Java Exercises</a> <a class="w3-bar-item w3-button" href="/cpp/cpp_exercises.asp">C++ Exercises</a> <a class="w3-bar-item w3-button" href="/cs/cs_exercises.asp">C# Exercises</a> <a class="w3-bar-item w3-button" href="/r/r_exercises.asp">R Exercises</a> <a class="w3-bar-item w3-button" href="/kotlin/kotlin_exercises.php">Kotlin Exercises</a> <a class="w3-bar-item w3-button" href="/go/go_exercises.php">Go Exercises</a> <a class="w3-bar-item w3-button" href="/bootstrap/bootstrap_exercises.asp">Bootstrap Exercises</a> <a class="w3-bar-item w3-button" href="/bootstrap4/bootstrap_exercises.asp">Bootstrap 4 Exercises</a> <a class="w3-bar-item w3-button" href="/bootstrap5/bootstrap_exercises.php">Bootstrap 5 Exercises</a> <a class="w3-bar-item w3-button" href="/git/git_exercises.asp">Git Exercises</a> </div> <div class="w3-col l3 m6"> <h3 class="w3-margin-top"><a class="ws-btn ws-yellow w3-hover-text-white" style="width:135px;font-size:21px" href="/quiztest/default.asp">Quizzes</a></h3> <a class="w3-bar-item w3-button" href="/html/html_quiz.asp" target="_top">HTML Quiz</a> <a class="w3-bar-item w3-button" href="/css/css_quiz.asp" target="_top">CSS Quiz</a> <a class="w3-bar-item w3-button" href="/js/js_quiz.asp" target="_top">JavaScript Quiz</a> <a class="w3-bar-item w3-button" href="/sql/sql_quiz.asp" target="_top">SQL Quiz</a> <a class="w3-bar-item w3-button" href="/mysql/mysql_quiz.asp" target="_top">MySQL Quiz</a> <a class="w3-bar-item w3-button" href="/php/php_quiz.asp" target="_top">PHP Quiz</a> <a class="w3-bar-item w3-button" href="/python/python_quiz.asp" target="_top">Python Quiz</a> <a class="w3-bar-item w3-button" href="/python/numpy/numpy_quiz.asp" target="_top">NumPy Quiz</a> <a class="w3-bar-item w3-button" href="/python/pandas/pandas_quiz.asp" target="_top">Pandas Quiz</a> <a class="w3-bar-item w3-button" href="/python/scipy/scipy_quiz.php" target="_top">SciPy Quiz</a> <a class="w3-bar-item w3-button" href="/jquery/jquery_quiz.asp" target="_top">jQuery Quiz</a> <a class="w3-bar-item w3-button" href="/java/java_quiz.asp" target="_top">Java Quiz</a> <a class="w3-bar-item w3-button" href="/cpp/cpp_quiz.asp" target="_top">C++ Quiz</a> <a class="w3-bar-item w3-button" href="/cs/cs_quiz.asp" target="_top">C# Quiz</a> <a class="w3-bar-item w3-button" href="/r/r_quiz.asp" target="_top">R Quiz</a> <a class="w3-bar-item w3-button" href="/kotlin/kotlin_quiz.php" target="_top">Kotlin Quiz</a> <a class="w3-bar-item w3-button" href="/xml/xml_quiz.asp" target="_top">XML Quiz</a> <a class="w3-bar-item w3-button" href="/bootstrap/bootstrap_quiz.asp" target="_top">Bootstrap Quiz</a> <a class="w3-bar-item w3-button" href="/bootstrap4/bootstrap_quiz.asp" target="_top">Bootstrap 4 Quiz</a> <a class="w3-bar-item w3-button" href="/bootstrap5/bootstrap_quiz.php" target="_top">Bootstrap 5 Quiz</a> <a class="w3-bar-item w3-button" href="/cybersecurity/cybersecurity_quiz.php">Cyber Security Quiz</a> <a class="w3-bar-item w3-button" href="/accessibility/accessibility_quiz.php">Accessibility Quiz</a> </div> <div class="w3-col l3 m6"> <h3 class="w3-margin-top"><a class="ws-btn ws-yellow w3-hover-text-white" style="width:135px;font-size:21px" href="https://courses.w3schools.com/" target="_blank">Courses</a></h3> <!-- cert <a class="w3-bar-item w3-button" href="/cert/cert_html_new.asp" target="_top">HTML Certificate</a> <a class="w3-bar-item w3-button" href="/cert/cert_css.asp" target="_top">CSS Certificate</a> <a class="w3-bar-item w3-button" href="/cert/cert_javascript.asp" target="_top">JavaScript Certificate</a> <a class="w3-bar-item w3-button" href="/cert/cert_sql.asp" target="_top">SQL Certificate</a> <a class="w3-bar-item w3-button" href="/cert/cert_php.asp" target="_top">PHP Certificate</a> <a class="w3-bar-item w3-button" href="/cert/cert_python.asp" target="_top">Python Certificate</a> <a class="w3-bar-item w3-button" href="/cert/cert_bootstrap.asp" target="_top">Bootstrap Certificate</a> <a class="w3-bar-item w3-button" href="/cert/cert_jquery.asp" target="_top">jQuery Certificate</a> <a class="w3-bar-item w3-button" href="/cert/cert_xml.asp" target="_top">XML Certificate</a> --> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/courses/html" target="_blank">HTML Course</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/courses/css" target="_blank">CSS Course</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/courses/javascript" target="_blank">JavaScript Course</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/programs/front-end" target="_blank">Front End Course</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/courses/sql" target="_blank">SQL Course</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/courses/php" target="_blank">PHP Course</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/courses/python" target="_blank">Python Course</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/courses/numpy-fundamentals" target="_blank">NumPy Course</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/courses/pandas-fundamentals" target="_blank">Pandas Course</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/programs/data-analytics" target="_blank">Data Analytics Course</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/courses/jquery" target="_blank">jQuery Course</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/courses/java" target="_blank">Java Course</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/courses/cplusplus" target="_blank">C++ Course</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/courses/c-sharp" target="_blank">C# Course</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/courses/r-fundamentals" target="_blank">R Course</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/courses/xml" target="_blank">XML Course</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/courses/introduction-to-cyber-security" target="_blank">Cyber Security Course</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/courses/accessibility-fundamentals" target="_blank">Accessibility Course</a> </div> <div class="w3-col l3 m6"> <h3 class="w3-margin-top"><a class="ws-btn ws-yellow w3-hover-text-white" style="width:150px;font-size:21px" href="https://courses.w3schools.com/browse/certifications" target="_blank">Certificates</a></h3> <!-- cert <a class="w3-bar-item w3-button" href="/cert/cert_html_new.asp" target="_top">HTML Certificate</a> <a class="w3-bar-item w3-button" href="/cert/cert_css.asp" target="_top">CSS Certificate</a> <a class="w3-bar-item w3-button" href="/cert/cert_javascript.asp" target="_top">JavaScript Certificate</a> <a class="w3-bar-item w3-button" href="/cert/cert_sql.asp" target="_top">SQL Certificate</a> <a class="w3-bar-item w3-button" href="/cert/cert_php.asp" target="_top">PHP Certificate</a> <a class="w3-bar-item w3-button" href="/cert/cert_python.asp" target="_top">Python Certificate</a> <a class="w3-bar-item w3-button" href="/cert/cert_bootstrap.asp" target="_top">Bootstrap Certificate</a> <a class="w3-bar-item w3-button" href="/cert/cert_jquery.asp" target="_top">jQuery Certificate</a> <a class="w3-bar-item w3-button" href="/cert/cert_xml.asp" target="_top">XML Certificate</a> --> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/browse/certifications/courses/html-certification-exam" target="_blank">HTML Certificate</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/browse/certifications/courses/css-certification-exam" target="_blank">CSS Certificate</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/browse/certifications/courses/javascript-certification-exam" target="_blank">JavaScript Certificate</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/browse/certifications/courses/front-end-certification-exam" target="_blank">Front End Certificate</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/browse/certifications/courses/sql-certification-exam" target="_blank">SQL Certificate</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/browse/certifications/courses/php-certification-exam" target="_blank">PHP Certificate</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/browse/certifications/courses/python-certificaftion-exam" target="_blank">Python Certificate</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/browse/certifications/courses/data-science-certification-exam" target="_blank">Data Science Certificate</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/browse/certifications/courses/bootstrap-3-certification-exam" target="_blank">Bootstrap 3 Certificate</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/browse/certifications/courses/bootstrap-4-certification-exam" target="_blank">Bootstrap 4 Certificate</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/browse/certifications/courses/jquery-certification-exam" target="_blank">jQuery Certificate</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/browse/certifications/courses/java-certification-exam" target="_blank">Java Certificate</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/browse/certifications/courses/c-certification-exam" target="_blank">C++ Certificate</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/browse/certifications/courses/react-certification-exam" target="_blank">React Certificate</a> <a class="w3-bar-item w3-button" href="https://courses.w3schools.com/browse/certifications/courses/xml-certification-exam" target="_blank">XML Certificate</a> </div> </div> <br class="hidesm"> </div> </nav> </div> </div> <div id="myAccordion" class="w3-card-2 w3-center w3-hide-large w3-hide-medium ws-grey" style="width: 100%; position: absolute; display: none; padding-top: 44px;"> <a href="javascript:void(0)" onclick="w3_close()" class="w3-button w3-xxlarge w3-right">×</a><br> <div class="w3-container w3-padding-32"> <a class="w3-button w3-block" style="font-size:22px;" onclick="open_xs_menu('tutorials');" href="javascript:void(0);">Tutorials <i class="fa fa-caret-down"></i></a> <div id="sectionxs_tutorials" class="w3-left-align w3-show" style="background-color:#282A35;color:white;"></div> <a class="w3-button w3-block" style="font-size:22px;" onclick="open_xs_menu('references')" href="javascript:void(0);">References <i class="fa fa-caret-down"></i></a> <div id="sectionxs_references" class="w3-left-align w3-show" style="background-color:#282A35;color:white;"></div> <a class="w3-button w3-block" style="font-size:22px;" onclick="open_xs_menu('exercises')" href="javascript:void(0);">Exercises <i class="fa fa-caret-down"></i></a> <div id="sectionxs_exercises" class="w3-left-align w3-show" style="background-color:#282A35;color:white;"></div> <a class="w3-button w3-block" style="font-size:22px;" href="/cert/default.asp" target="_blank">Paid Courses</a> <a class="w3-button w3-block" style="font-size:22px;" href="https://www.w3schools.com/spaces" target="_blank" onclick="ga('send', 'event', 'spacesFromTutorialsAcc', 'click');" title="Get Your Own Website With W3schools Spaces">Spaces</a> <a class="w3-button w3-block" style="font-size:22px;" target="_blank" href="https://www.w3schools.com/videos/index.php" onclick="ga('send', 'event', 'Videos' , 'fromTopnavMain')" title="Video Tutorials">Videos</a> <a class="w3-button w3-block" style="font-size:22px;" href="https://shop.w3schools.com" target="_blank">Shop</a> <a class="w3-button w3-block" style="font-size:22px;" href="/pro/index.php">Pro</a> </div> </div> <script> ( function setThemeCheckboxes() { var x = localStorage.getItem("preferredmode"); var y = localStorage.getItem("preferredpagemode"); if (x == "dark") { document.getElementById("radio_darkcode").checked = true; } if (y == "dark") { document.getElementById("radio_darkpage").checked = true; } })(); function mouseoverdarkicon() { if(window.matchMedia("(pointer: coarse)").matches) { return false; } var a = document.getElementById("darkmodemenu"); a.style.top = "44px"; } function mouseoutofdarkicon() { var a = document.getElementById("darkmodemenu"); a.style.top = "-40px"; } function changepagetheme(n) { var a = document.getElementById("radio_darkcode"); var b = document.getElementById("radio_darkpage"); document.body.className = document.body.className.replace("darktheme", ""); document.body.className = document.body.className.replace("darkpagetheme", ""); document.body.className = document.body.className.replace(" ", " "); if (a.checked && b.checked) { localStorage.setItem("preferredmode", "light"); localStorage.setItem("preferredpagemode", "light"); a.checked = false; b.checked = false; } else { document.body.className += " darktheme"; document.body.className += " darkpagetheme"; localStorage.setItem("preferredmode", "dark"); localStorage.setItem("preferredpagemode", "dark"); a.checked = true; b.checked = true; } } function click_darkpage() { var b = document.getElementById("radio_darkpage"); if (b.checked) { document.body.className += " darkpagetheme"; document.body.className = document.body.className.replace(" ", " "); localStorage.setItem("preferredpagemode", "dark"); } else { document.body.className = document.body.className.replace("darkpagetheme", ""); document.body.className = document.body.className.replace(" ", " "); localStorage.setItem("preferredpagemode", "light"); } } function click_darkcode() { var a = document.getElementById("radio_darkcode"); if (a.checked) { document.body.className += " darktheme"; document.body.className = document.body.className.replace(" ", " "); localStorage.setItem("preferredmode", "dark"); } else { document.body.className = document.body.className.replace("darktheme", ""); document.body.className = document.body.className.replace(" ", " "); localStorage.setItem("preferredmode", "light"); } } </script> <div class="w3-sidebar w3-collapse" id="sidenav" style="top: 44px; display: none;"> <div id="leftmenuinner" style="padding-top: 44px;"> <div id="leftmenuinnerinner"> <!-- <a href='javascript:void(0)' onclick='close_menu()' class='w3-button w3-hide-large w3-large w3-display-topright' style='right:16px;padding:3px 12px;font-weight:bold;'>×</a>--> <h2 class="left"><span class="left_h2">HTML</span> Reference</h2> <a target="_top" href="default.asp">HTML by Alphabet</a> <a target="_top" href="ref_byfunc.asp">HTML by Category</a> <a target="_top" href="ref_html_browsersupport.asp">HTML Browser Support</a> <a target="_top" href="ref_attributes.asp">HTML Attributes</a> <a target="_top" href="ref_standardattributes.asp">HTML Global Attributes</a> <a target="_top" href="ref_eventattributes.asp">HTML Events</a> <a target="_top" href="ref_colornames.asp">HTML Colors</a> <a target="_top" href="ref_canvas.asp">HTML Canvas</a> <a target="_top" href="ref_av_dom.asp">HTML Audio/Video</a> <a target="_top" href="ref_charactersets.asp">HTML Character Sets</a> <a target="_top" href="ref_html_dtd.asp">HTML Doctypes</a> <a target="_top" href="ref_urlencode.asp">HTML URL Encode</a> <a target="_top" href="ref_language_codes.asp">HTML Language Codes</a> <a target="_top" href="ref_country_codes.asp">HTML Country Codes</a> <a target="_top" href="ref_httpmessages.asp">HTTP Messages</a> <a target="_top" href="ref_httpmethods.asp">HTTP Methods</a> <a target="_top" href="ref_pxtoemconversion.asp">PX to EM Converter</a> <a target="_top" href="ref_keyboardshortcuts.asp">Keyboard Shortcuts</a> <br> <div class="notranslate"> <h2 class="left"><span class="left_h2">HTML</span> Tags</h2> <a target="_top" href="tag_comment.asp"><!--></a> <a target="_top" href="tag_doctype.asp"><!DOCTYPE></a> <a target="_top" href="tag_a.asp"><a></a> <a target="_top" href="tag_abbr.asp"><abbr></a> <a target="_top" href="tag_acronym.asp"><acronym></a> <a target="_top" href="tag_address.asp"><address></a> <a target="_top" href="tag_applet.asp"><applet></a> <a target="_top" href="tag_area.asp"><area></a> <a target="_top" href="tag_article.asp"><article></a> <a target="_top" href="tag_aside.asp"><aside></a> <a target="_top" href="tag_audio.asp"><audio></a> <a target="_top" href="tag_b.asp"><b></a> <a target="_top" href="tag_base.asp"><base></a> <a target="_top" href="tag_basefont.asp"><basefont></a> <a target="_top" href="tag_bdi.asp"><bdi></a> <a target="_top" href="tag_bdo.asp"><bdo></a> <a target="_top" href="tag_big.asp"><big></a> <a target="_top" href="tag_blockquote.asp"><blockquote></a> <a target="_top" href="tag_body.asp"><body></a> <a target="_top" href="tag_br.asp"><br></a> <a target="_top" href="tag_button.asp"><button></a> <a target="_top" href="tag_canvas.asp"><canvas></a> <a target="_top" href="tag_caption.asp"><caption></a> <a target="_top" href="tag_center.asp"><center></a> <a target="_top" href="tag_cite.asp"><cite></a> <a target="_top" href="tag_code.asp"><code></a> <a target="_top" href="tag_col.asp"><col></a> <a target="_top" href="tag_colgroup.asp"><colgroup></a> <a target="_top" href="tag_data.asp"><data></a> <a target="_top" href="tag_datalist.asp"><datalist></a> <a target="_top" href="tag_dd.asp"><dd></a> <a target="_top" href="tag_del.asp"><del></a> <a target="_top" href="tag_details.asp"><details></a> <a target="_top" href="tag_dfn.asp"><dfn></a> <a target="_top" href="tag_dialog.asp"><dialog></a> <a target="_top" href="tag_dir.asp"><dir></a> <a target="_top" href="tag_div.asp"><div></a> <a target="_top" href="tag_dl.asp"><dl></a> <a target="_top" href="tag_dt.asp"><dt></a> <a target="_top" href="tag_em.asp"><em></a> <a target="_top" href="tag_embed.asp"><embed></a> <a target="_top" href="tag_fieldset.asp"><fieldset></a> <a target="_top" href="tag_figcaption.asp"><figcaption></a> <a target="_top" href="tag_figure.asp"><figure></a> <a target="_top" href="tag_font.asp"><font></a> <a target="_top" href="tag_footer.asp"><footer></a> <a target="_top" href="tag_form.asp"><form></a> <a target="_top" href="tag_frame.asp"><frame></a> <a target="_top" href="tag_frameset.asp"><frameset></a> <a target="_top" href="tag_hn.asp"><h1> - <h6></a> <a target="_top" href="tag_head.asp"><head></a> <a target="_top" href="tag_header.asp"><header></a> <a target="_top" href="tag_hr.asp"><hr></a> <a target="_top" href="tag_html.asp"><html></a> <a target="_top" href="tag_i.asp"><i></a> <a target="_top" href="tag_iframe.asp"><iframe></a> <a target="_top" href="tag_img.asp"><img></a> <a target="_top" href="tag_input.asp"><input></a> <a target="_top" href="tag_ins.asp"><ins></a> <a target="_top" href="tag_kbd.asp"><kbd></a> <a target="_top" href="tag_label.asp"><label></a> <a target="_top" href="tag_legend.asp"><legend></a> <a target="_top" href="tag_li.asp"><li></a> <a target="_top" href="tag_link.asp"><link></a> <a target="_top" href="tag_main.asp"><main></a> <a target="_top" href="tag_map.asp"><map></a> <a target="_top" href="tag_mark.asp"><mark></a> <a target="_top" href="tag_meta.asp"><meta></a> <a target="_top" href="tag_meter.asp"><meter></a> <a target="_top" href="tag_nav.asp"><nav></a> <a target="_top" href="tag_noframes.asp"><noframes></a> <a target="_top" href="tag_noscript.asp"><noscript></a> <a target="_top" href="tag_object.asp"><object></a> <a target="_top" href="tag_ol.asp"><ol></a> <a target="_top" href="tag_optgroup.asp"><optgroup></a> <a target="_top" href="tag_option.asp"><option></a> <a target="_top" href="tag_output.asp"><output></a> <a target="_top" href="tag_p.asp" class="active"><p></a> <a target="_top" href="tag_param.asp"><param></a> <a target="_top" href="tag_picture.asp"><picture></a> <a target="_top" href="tag_pre.asp"><pre></a> <a target="_top" href="tag_progress.asp"><progress></a> <a target="_top" href="tag_q.asp"><q></a> <a target="_top" href="tag_rp.asp"><rp></a> <a target="_top" href="tag_rt.asp"><rt></a> <a target="_top" href="tag_ruby.asp"><ruby></a> <a target="_top" href="tag_s.asp"><s></a> <a target="_top" href="tag_samp.asp"><samp></a> <a target="_top" href="tag_script.asp"><script></a> <a target="_top" href="tag_section.asp"><section></a> <a target="_top" href="tag_select.asp"><select></a> <a target="_top" href="tag_small.asp"><small></a> <a target="_top" href="tag_source.asp"><source></a> <a target="_top" href="tag_span.asp"><span></a> <a target="_top" href="tag_strike.asp"><strike></a> <a target="_top" href="tag_strong.asp"><strong></a> <a target="_top" href="tag_style.asp"><style></a> <a target="_top" href="tag_sub.asp"><sub></a> <a target="_top" href="tag_summary.asp"><summary></a> <a target="_top" href="tag_sup.asp"><sup></a> <a target="_top" href="tag_svg.asp"><svg></a> <a target="_top" href="tag_table.asp"><table></a> <a target="_top" href="tag_tbody.asp"><tbody></a> <a target="_top" href="tag_td.asp"><td></a> <a target="_top" href="tag_template.asp"><template></a> <a target="_top" href="tag_textarea.asp"><textarea></a> <a target="_top" href="tag_tfoot.asp"><tfoot></a> <a target="_top" href="tag_th.asp"><th></a> <a target="_top" href="tag_thead.asp"><thead></a> <a target="_top" href="tag_time.asp"><time></a> <a target="_top" href="tag_title.asp"><title></a> <a target="_top" href="tag_tr.asp"><tr></a> <a target="_top" href="tag_track.asp"><track></a> <a target="_top" href="tag_tt.asp"><tt></a> <a target="_top" href="tag_u.asp"><u></a> <a target="_top" href="tag_ul.asp"><ul></a> <a target="_top" href="tag_var.asp"><var></a> <a target="_top" href="tag_video.asp"><video></a> <a target="_top" href="tag_wbr.asp"><wbr></a> </div> <br><br> </div> </div> </div> <div class="w3-main w3-light-grey" id="belowtopnav" style="margin-left: 220px; padding-top: 44px;"> <div class="w3-row w3-white"> <div class="w3-col l10 m12" id="main"> <div id="mainLeaderboard" style="overflow:hidden;"> <!-- MainLeaderboard--> <!--<pre>main_leaderboard, all: [728,90][970,90][320,50][468,60]</pre>--> <div id="adngin-main_leaderboard-0" data-google-query-id="CJPA_sueqvcCFXiOSwUd2fYBLg"><div id="google_ads_iframe_/22152718,16833175/sws-hb//w3schools.com//main_leaderboard_1__container__" style="border: 0pt none;"><iframe id="google_ads_iframe_/22152718,16833175/sws-hb//w3schools.com//main_leaderboard_1" name="google_ads_iframe_/22152718,16833175/sws-hb//w3schools.com//main_leaderboard_1" title="3rd party ad content" width="728" height="90" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" role="region" aria-label="Advertisement" tabindex="0" srcdoc="" data-google-container-id="7" style="border: 0px; vertical-align: bottom;" data-load-complete="true"><div style="position: absolute; width: 0px; height: 0px; border: 0px; padding: 0px; margin: 0px; overflow: hidden;"><button></button><a href="https://yahoo.com"></a><input></div></iframe></div></div> <!-- adspace leaderboard --> </div> <h1>HTML <span class="color_h1"><p></span> Tag</h1> <div class="w3-clear w3-center nextprev"> <a class="w3-left w3-btn" href="tag_output.asp">❮<span class="w3-hide-small"> Previous</span></a> <a class="w3-btn" href="default.asp"><span class="w3-hide-small">Complete HTML </span>Reference</a> <a class="w3-right w3-btn" href="tag_param.asp"><span class="w3-hide-small">Next </span>❯</a> </div> <br> <div class="w3-example"> <h3>Example</h3> <p>A paragraph is marked up as follows:</p> <div class="w3-code notranslate htmlHigh"> <span class="tagnamecolor" style="color:brown"><span class="tagcolor" style="color:mediumblue"><</span>p<span class="tagcolor" style="color:mediumblue">></span></span>This is some text in a paragraph.<span class="tagnamecolor" style="color:brown"><span class="tagcolor" style="color:mediumblue"><</span>/p<span class="tagcolor" style="color:mediumblue">></span></span> </div> <a target="_blank" href="tryit.asp?filename=tryhtml_paragraphs1" class="w3-btn w3-margin-bottom">Try it Yourself »</a> </div> <p>More "Try it Yourself" examples below.</p> <hr> <h2>Definition and Usage</h2> <p>The <code class="w3-codespan"><p></code> tag defines a paragraph.</p> <p>Browsers automatically add a single blank line before and after each <code class="w3-codespan"><p></code> element.</p> <p><strong>Tip:</strong> Use CSS to <a href="/html/html_css.asp">style paragraphs</a>.</p> <hr> <h2>Browser Support</h2> <table class="browserref notranslate"> <tbody><tr> <th style="width:20%;font-size:16px;text-align:left;">Element</th> <th style="width:16%;" class="bsChrome" title="Chrome"></th> <th style="width:16%;" class="bsEdge" title="Internet Explorer / Edge"></th> <th style="width:16%;" class="bsFirefox" title="Firefox"></th> <th style="width:16%;" class="bsSafari" title="Safari"></th> <th style="width:16%;" class="bsOpera" title="Opera"></th> </tr><tr> <td style="text-align:left;"><p></td> <td>Yes</td> <td>Yes</td> <td>Yes</td> <td>Yes</td> <td>Yes</td> </tr> </tbody></table> <hr> <h2>Global Attributes</h2> <p>The <code class="w3-codespan"><p></code> tag also supports the <a href="ref_standardattributes.asp">Global Attributes in HTML</a>.</p> <hr> <h2>Event Attributes</h2> <p>The <code class="w3-codespan"><p></code> tag also supports the <a href="ref_eventattributes.asp">Event Attributes in HTML</a>.</p> <hr> <div id="midcontentadcontainer" style="overflow:auto;text-align:center"> <!-- MidContent --> <!-- <p class="adtext">Advertisement</p> --> <div id="adngin-mid_content-0" data-google-query-id="CKfs_8ueqvcCFXiOSwUd2fYBLg"><div id="sn_ad_label_adngin-mid_content-0" class="sn_ad_label" style="color:#000000;font-size:12px;margin:0;text-align:center;">ADVERTISEMENT</div><div id="google_ads_iframe_/22152718,16833175/sws-hb//w3schools.com//mid_content_1__container__" style="border: 0pt none; display: inline-block; width: 300px; height: 250px;"><iframe frameborder="0" src="https://56d0da6c34aaa471db22bb4266aac656.safeframe.googlesyndication.com/safeframe/1-0-38/html/container.html" id="google_ads_iframe_/22152718,16833175/sws-hb//w3schools.com//mid_content_1" title="3rd party ad content" name="" scrolling="no" marginwidth="0" marginheight="0" width="300" height="250" data-is-safeframe="true" sandbox="allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation" role="region" aria-label="Advertisement" tabindex="0" data-google-container-id="8" style="border: 0px; vertical-align: bottom;" data-load-complete="true"></iframe></div></div> </div> <hr> <h2>More Examples</h2> <div class="w3-example"> <h3>Example</h3> <p>Align text in a paragraph (with CSS):</p> <div class="w3-code notranslate htmlHigh"> <span class="tagnamecolor" style="color:brown"><span class="tagcolor" style="color:mediumblue"><</span>p<span class="attributecolor" style="color:red"> style<span class="attributevaluecolor" style="color:mediumblue">="text-align:right"</span></span><span class="tagcolor" style="color:mediumblue">></span></span>This is some text in a paragraph.<span class="tagnamecolor" style="color:brown"><span class="tagcolor" style="color:mediumblue"><</span>/p<span class="tagcolor" style="color:mediumblue">></span></span> </div> <a target="_blank" href="tryit.asp?filename=tryhtml_p_align_css" class="w3-btn w3-margin-bottom">Try it Yourself »</a> </div> <div class="w3-example"> <h3>Example</h3> <p>Style paragraphs with CSS:</p> <div class="w3-code notranslate htmlHigh"> <span class="tagnamecolor" style="color:brown"><span class="tagcolor" style="color:mediumblue"><</span>html<span class="tagcolor" style="color:mediumblue">></span></span><br><span class="tagnamecolor" style="color:brown"><span class="tagcolor" style="color:mediumblue"><</span>head<span class="tagcolor" style="color:mediumblue">></span></span><br><span class="tagnamecolor" style="color:brown"><span class="tagcolor" style="color:mediumblue"><</span>style<span class="tagcolor" style="color:mediumblue">></span></span><span class="cssselectorcolor" style="color:brown"><br>p <span class="cssdelimitercolor" style="color:black">{</span><span class="csspropertycolor" style="color:red"><br> color<span class="csspropertyvaluecolor" style="color:mediumblue"><span class="cssdelimitercolor" style="color:black">:</span> navy<span class="cssdelimitercolor" style="color:black">;</span></span><br> text-indent<span class="csspropertyvaluecolor" style="color:mediumblue"><span class="cssdelimitercolor" style="color:black">:</span> 30px<span class="cssdelimitercolor" style="color:black">;</span></span><br> text-transform<span class="csspropertyvaluecolor" style="color:mediumblue"><span class="cssdelimitercolor" style="color:black">:</span> uppercase<span class="cssdelimitercolor" style="color:black">;</span></span><br></span><span class="cssdelimitercolor" style="color:black">}</span><br></span><span class="tagnamecolor" style="color:brown"><span class="tagcolor" style="color:mediumblue"><</span>/style<span class="tagcolor" style="color:mediumblue">></span></span><br> <span class="tagnamecolor" style="color:brown"><span class="tagcolor" style="color:mediumblue"><</span>/head<span class="tagcolor" style="color:mediumblue">></span></span><br><span class="tagnamecolor" style="color:brown"><span class="tagcolor" style="color:mediumblue"><</span>body<span class="tagcolor" style="color:mediumblue">></span></span><br><br><span class="tagnamecolor" style="color:brown"><span class="tagcolor" style="color:mediumblue"><</span>p<span class="tagcolor" style="color:mediumblue">></span></span>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<span class="tagnamecolor" style="color:brown"><span class="tagcolor" style="color:mediumblue"><</span>/p<span class="tagcolor" style="color:mediumblue">></span></span><br><br><span class="tagnamecolor" style="color:brown"><span class="tagcolor" style="color:mediumblue"><</span>/body<span class="tagcolor" style="color:mediumblue">></span></span><br><span class="tagnamecolor" style="color:brown"><span class="tagcolor" style="color:mediumblue"><</span>/html<span class="tagcolor" style="color:mediumblue">></span></span> </div> <a target="_blank" href="tryit.asp?filename=tryhtml_p_style_css" class="w3-btn w3-margin-bottom">Try it Yourself »</a> </div> <div class="w3-example"> <h3>Example</h3> <p> More on paragraphs:</p> <div class="w3-code notranslate htmlHigh"> <span class="tagnamecolor" style="color:brown"><span class="tagcolor" style="color:mediumblue"><</span>p<span class="tagcolor" style="color:mediumblue">></span></span><br>This paragraph<br>contains a lot of lines<br>in the source code,<br> but the browser <br>ignores it.<br><span class="tagnamecolor" style="color:brown"><span class="tagcolor" style="color:mediumblue"><</span>/p<span class="tagcolor" style="color:mediumblue">></span></span> </div> <a target="_blank" href="tryit.asp?filename=tryhtml_paragraphs2" class="w3-btn w3-margin-bottom">Try it Yourself »</a> </div> <div class="w3-example"> <h3>Example</h3> <p>Poem problems in HTML:</p> <div class="w3-code notranslate htmlHigh"> <span class="tagnamecolor" style="color:brown"><span class="tagcolor" style="color:mediumblue"><</span>p<span class="tagcolor" style="color:mediumblue">></span></span><br>My Bonnie lies over the ocean.<br>My Bonnie lies over the sea.<br>My Bonnie lies over the ocean.<br>Oh, bring back my Bonnie to me.<br><span class="tagnamecolor" style="color:brown"><span class="tagcolor" style="color:mediumblue"><</span>/p<span class="tagcolor" style="color:mediumblue">></span></span> </div> <a target="_blank" href="tryit.asp?filename=tryhtml_poem" class="w3-btn w3-margin-bottom">Try it Yourself »</a> </div> <hr> <h2>Related Pages</h2> <p>HTML tutorial: <a href="/html/html_paragraphs.asp">HTML Paragraphs</a></p> <p>HTML DOM reference: <a href="/jsref/dom_obj_paragraph.asp">Paragraph Object</a></p> <hr> <h2>Default CSS Settings</h2> <p>Most browsers will display the <code class="w3-codespan"><p></code> element with the following default values:</p> <div class="w3-example"> <h3>Example</h3> <div class="w3-code notranslate cssHigh"><span class="cssselectorcolor" style="color:brown"> p <span class="cssdelimitercolor" style="color:black">{</span><span class="csspropertycolor" style="color:red"><br> display<span class="csspropertyvaluecolor" style="color:mediumblue"><span class="cssdelimitercolor" style="color:black">:</span> block<span class="cssdelimitercolor" style="color:black">;</span></span><br> margin-top<span class="csspropertyvaluecolor" style="color:mediumblue"><span class="cssdelimitercolor" style="color:black">:</span> 1em<span class="cssdelimitercolor" style="color:black">;</span></span><br> margin-bottom<span class="csspropertyvaluecolor" style="color:mediumblue"><span class="cssdelimitercolor" style="color:black">:</span> 1em<span class="cssdelimitercolor" style="color:black">;</span></span><br> margin-left<span class="csspropertyvaluecolor" style="color:mediumblue"><span class="cssdelimitercolor" style="color:black">:</span> 0<span class="cssdelimitercolor" style="color:black">;</span></span><br> margin-right<span class="csspropertyvaluecolor" style="color:mediumblue"><span class="cssdelimitercolor" style="color:black">:</span> 0<span class="cssdelimitercolor" style="color:black">;</span></span><br></span><span class="cssdelimitercolor" style="color:black">}</span> </span></div> <a target="_blank" href="tryit.asp?filename=tryhtml_p_default_css" class="w3-btn w3-margin-bottom">Try it Yourself »</a> </div> <br> <br> <div class="w3-clear w3-center nextprev"> <a class="w3-left w3-btn" href="tag_output.asp">❮<span class="w3-hide-small"> Previous</span></a> <a class="w3-btn" href="default.asp"><span class="w3-hide-small">Complete HTML </span>Reference</a> <a class="w3-right w3-btn" href="tag_param.asp"><span class="w3-hide-small">Next </span>❯</a> </div> <div id="mypagediv2" style="position:relative;text-align:center;"></div> <br> </div> <div class="w3-col l2 m12" id="right"> <div class="sidesection"> <div id="skyscraper"> <div id="adngin-sidebar_top-0" data-google-query-id="CJXA_sueqvcCFXiOSwUd2fYBLg"><div id="sn_ad_label_adngin-sidebar_top-0" class="sn_ad_label" style="color:#000000;font-size:12px;margin:0;text-align:center;">ADVERTISEMENT</div><div id="google_ads_iframe_/22152718,16833175/sws-hb//w3schools.com//wide_skyscraper_1__container__" style="border: 0pt none;"><iframe id="google_ads_iframe_/22152718,16833175/sws-hb//w3schools.com//wide_skyscraper_1" name="google_ads_iframe_/22152718,16833175/sws-hb//w3schools.com//wide_skyscraper_1" title="3rd party ad content" width="320" height="50" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" role="region" aria-label="Advertisement" tabindex="0" srcdoc="" data-google-container-id="9" style="border: 0px; vertical-align: bottom;" data-load-complete="true"></iframe></div></div> </div> </div> <style> .ribbon-vid { font-size:12px; font-weight:bold; padding: 6px 20px; left:-20px; top:-10px; text-align: center; color:black; border-radius:25px; } </style> <div class="sidesection" id="video_sidesection"> <div class="w3-center" style="padding-bottom:7px"> <span class="ribbon-vid ws-yellow">NEW</span> </div> <p style="font-size: 14px;line-height: 1.5;font-family: Source Sans Pro;padding-left:4px;padding-right:4px;">We just launched<br>W3Schools videos</p> <a onclick="ga('send', 'event', 'Videos' , 'fromSidebar');" href="https://www.w3schools.com/videos/index.php" class="w3-hover-opacity"><img src="/images/htmlvideoad_footer.png" style="max-width:100%;padding:5px 10px 25px 10px" loading="lazy"></a> <a class="ws-button" style="font-size:16px;text-decoration: none !important;display: block !important; color:#FFC0C7!important; width: 100%; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; paxdding-top: 10px; padding-bottom: 20px; font-family: 'Source Sans Pro', sans-serif; text-align: center;" onclick="ga('send', 'event', 'Videos' , 'fromSidebar');" href="https://www.w3schools.com/videos/index.php">Explore now</a> </div> <div class="sidesection"> <h4><a href="/colors/colors_picker.asp">COLOR PICKER</a></h4> <a href="/colors/colors_picker.asp"> <img src="/images/colorpicker2000.png" alt="colorpicker" loading="lazy"> </a> </div> <div class="sidesection"> <!--<h4>LIKE US</h4>--> <div class="sharethis" style="visibility: visible;"> <a href="https://www.facebook.com/w3schoolscom/" target="_blank" title="Facebook"><span class="fa fa-facebook-square fa-2x"></span></a> <a href="https://www.instagram.com/w3schools.com_official/" target="_blank" title="Instagram"><span class="fa fa-instagram fa-2x"></span></a> <a href="https://www.linkedin.com/company/w3schools.com/" target="_blank" title="LinkedIn"><span class="fa fa-linkedin-square fa-2x"></span></a> <a href="https://discord.gg/6Z7UaRbUQM" target="_blank" title="Join the W3schools community on Discord"><span class="fa fa-discord fa-2x"></span></a> </div> </div> <!-- <div class="sidesection" style="border-radius:5px;color:#555;padding-top:1px;padding-bottom:8px;margin-left:auto;margin-right:auto;max-width:230px;background-color:#d4edda"> <p>Get your<br>certification today!</p> <a href="/cert/default.asp" target="_blank"> <img src="/images/w3certified_logo_250.png" style="margin:0 12px 20px 10px;max-width:80%"> </a> <a class="w3-btn w3-margin-bottom" style="text-decoration:none;border-radius:5px;" href="/cert/default.asp" target="_blank">View options</a> </div> --> <style> #courses_get_started_btn { text-decoration:none !important; background-color:#04AA6D; width:100%; border-bottom-left-radius:5px; border-bottom-right-radius:5px; padding-top:10px; padding-bottom:10px; font-family: 'Source Sans Pro', sans-serif; } #courses_get_started_btn:hover { background-color:#059862!important; } </style> <div id="internalCourses" class="sidesection"> <p style="font-size:18px;padding-left:2px;padding-right:2px;">Get certified<br>by completing<br>a course today!</p> <a href="https://courses.w3schools.com" target="_blank" onclick="ga('send', 'event', 'Courses' , 'Clicked on courses banner in ads column');"> <div style="padding:0 20px 20px 20px"> <svg id="w3_cert_badge2" style="margin:auto;width:85%" data-name="w3_cert_badge2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><defs><style>.cls-1{fill:#04aa6b;}.cls-2{font-size:23px;}.cls-2,.cls-3,.cls-4{fill:#fff;}.cls-2,.cls-3{font-family:RobotoMono-Medium, Roboto Mono;font-weight:500;}.cls-3{font-size:20.08px;}</style></defs><circle class="cls-1" cx="150" cy="150" r="146.47" transform="translate(-62.13 150) rotate(-45)"></circle><text class="cls-2" transform="translate(93.54 63.89) rotate(-29.5)">w</text><text class="cls-2" transform="translate(107.13 56.35) rotate(-20.8)">3</text><text class="cls-2" transform="matrix(0.98, -0.21, 0.21, 0.98, 121.68, 50.97)">s</text><text class="cls-2" transform="translate(136.89 47.84) rotate(-3.47)">c</text><text class="cls-2" transform="translate(152.39 47.03) rotate(5.12)">h</text><text class="cls-2" transform="translate(167.85 48.54) rotate(13.72)">o</text><text class="cls-2" transform="translate(182.89 52.35) rotate(22.34)">o</text><text class="cls-2" transform="matrix(0.86, 0.52, -0.52, 0.86, 197.18, 58.36)">l</text><text class="cls-2" transform="matrix(0.77, 0.64, -0.64, 0.77, 210.4, 66.46)">s</text><text class="cls-3" transform="translate(35.51 186.66) rotate(69.37)"> </text><text class="cls-3" transform="matrix(0.47, 0.88, -0.88, 0.47, 41.27, 201.28)">C</text><text class="cls-3" transform="matrix(0.58, 0.81, -0.81, 0.58, 48.91, 215.03)">E</text><text class="cls-3" transform="matrix(0.67, 0.74, -0.74, 0.67, 58.13, 227.36)">R</text><text class="cls-3" transform="translate(69.16 238.92) rotate(39.44)">T</text><text class="cls-3" transform="matrix(0.85, 0.53, -0.53, 0.85, 81.47, 248.73)">I</text><text class="cls-3" transform="translate(94.94 256.83) rotate(24.36)">F</text><text class="cls-3" transform="translate(109.34 263.09) rotate(16.83)">I</text><text class="cls-3" transform="translate(124.46 267.41) rotate(9.34)">E</text><text class="cls-3" transform="translate(139.99 269.73) rotate(1.88)">D</text><text class="cls-3" transform="translate(155.7 270.01) rotate(-5.58)"> </text><text class="cls-3" transform="translate(171.32 268.24) rotate(-13.06)"> </text><text class="cls-2" transform="translate(187.55 266.81) rotate(-21.04)">.</text><text class="cls-3" transform="translate(203.27 257.7) rotate(-29.24)"> </text><text class="cls-3" transform="translate(216.84 249.83) rotate(-36.75)"> </text><text class="cls-3" transform="translate(229.26 240.26) rotate(-44.15)">2</text><text class="cls-3" transform="translate(240.39 229.13) rotate(-51.62)">0</text><text class="cls-3" transform="translate(249.97 216.63) rotate(-59.17)">2</text><text class="cls-3" transform="matrix(0.4, -0.92, 0.92, 0.4, 257.81, 203.04)">2</text><path class="cls-4" d="M196.64,136.31s3.53,3.8,8.5,3.8c3.9,0,6.75-2.37,6.75-5.59,0-4-3.64-5.81-8-5.81h-2.59l-1.53-3.48,6.86-8.13a34.07,34.07,0,0,1,2.7-2.85s-1.11,0-3.33,0H194.79v-5.86H217.7v4.28l-9.19,10.61c5.18.74,10.24,4.43,10.24,10.92s-4.85,12.3-13.19,12.3a17.36,17.36,0,0,1-12.41-5Z"></path><path class="cls-4" d="M152,144.24l30.24,53.86,14.94-26.61L168.6,120.63H135.36l-13.78,24.53-13.77-24.53H77.93l43.5,77.46.15-.28.16.28Z"></path></svg> </div> </a> <a class="w3-btn" id="courses_get_started_btn" href="https://courses.w3schools.com" target="_blank" onclick="ga('send', 'event', 'Courses' , 'Clicked on courses banner in ads column');">Get started</a> </div> <!-- <div class="sidesection" style="margin-left:auto;margin-right:auto;max-width:230px"> <a href="https://shop.w3schools.com/" target="_blank" title="Buy W3Schools Merchandize"> <img src="/images/tshirt.jpg" style="max-width:100%;"> </a> </div> --> <div class="sidesection" id="moreAboutSubject"> </div> <!-- <div id="sidesection_exercise" class="sidesection" style="background-color:#555555;max-width:200px;margin:auto;margin-bottom:32px"> <div class="w3-container w3-text-white"> <h4>Exercises</h4> </div> <div> <div class="w3-light-grey"> <a target="_blank" href="/html/exercise.asp" style="padding-top:8px">HTML</a> <a target="_blank" href="/css/exercise.asp">CSS</a> <a target="_blank" href="/js/exercise_js.asp">JavaScript</a> <a target="_blank" href="/sql/exercise.asp">SQL</a> <a target="_blank" href="/php/exercise.asp">PHP</a> <a target="_blank" href="/python/exercise.asp">Python</a> <a target="_blank" href="/bootstrap/exercise_bs3.asp">Bootstrap</a> <a target="_blank" href="/jquery/exercise_jq.asp" style="padding-bottom:8px">jQuery</a> </div> </div> </div> --> <div class="sidesection codegameright ws-turquoise" style="font-size:18px;font-family: 'Source Sans Pro', sans-serif;border-radius:5px;color:#FFC0C7;padding-top:12px;margin-left:auto;margin-right:auto;max-width:230px;"> <style> .codegameright .w3-btn:link,.codegameright .w3-btn:visited { background-color:#04AA6D; border-radius:5px; } .codegameright .w3-btn:hover,.codegameright .w3-btn:active { background-color:#059862!important; text-decoration:none!important; } </style> <h4><a href="/codegame/index.html" class="w3-hover-text-black">CODE GAME</a></h4> <a href="/codegame/index.html" target="_blank" class="w3-hover-opacity"><img style="max-width:100%;margin:16px 0;" src="/images/w3lynx_200.png" alt="Code Game" loading="lazy"></a> <a class="w3-btn w3-block ws-black" href="/codegame/index.html" target="_blank" style="padding-top:10px;padding-bottom:10px;margin-top:12px;border-top-left-radius: 0;border-top-right-radius: 0">Play Game</a> </div> <!-- <div class="sidesection w3-light-grey" style="margin-left:auto;margin-right:auto;max-width:230px"> <div class="w3-container w3-dark-grey"> <h4><a href="/howto/default.asp" class="w3-hover-text-white">HOW TO</a></h4> </div> <div class="w3-container w3-left-align w3-padding-16"> <a href="/howto/howto_js_tabs.asp">Tabs</a><br> <a href="/howto/howto_css_dropdown.asp">Dropdowns</a><br> <a href="/howto/howto_js_accordion.asp">Accordions</a><br> <a href="/howto/howto_js_sidenav.asp">Side Navigation</a><br> <a href="/howto/howto_js_topnav.asp">Top Navigation</a><br> <a href="/howto/howto_css_modals.asp">Modal Boxes</a><br> <a href="/howto/howto_js_progressbar.asp">Progress Bars</a><br> <a href="/howto/howto_css_parallax.asp">Parallax</a><br> <a href="/howto/howto_css_login_form.asp">Login Form</a><br> <a href="/howto/howto_html_include.asp">HTML Includes</a><br> <a href="/howto/howto_google_maps.asp">Google Maps</a><br> <a href="/howto/howto_js_rangeslider.asp">Range Sliders</a><br> <a href="/howto/howto_css_tooltip.asp">Tooltips</a><br> <a href="/howto/howto_js_slideshow.asp">Slideshow</a><br> <a href="/howto/howto_js_sort_list.asp">Sort List</a><br> </div> </div> --> <!-- <div class="sidesection w3-round" style="margin-left:auto;margin-right:auto;max-width:230px"> <div class="w3-container ws-black" style="border-top-right-radius:5px;border-top-left-radius:5px;"> <h5><a href="/cert/default.asp" class="w3-hover-text-white">Certificates</a></h5> </div> <div class="w3-border" style="border-bottom-right-radius:5px;border-bottom-left-radius:5px;"> <a href="/cert/cert_html.asp" class="w3-button ws-grey w3-block w3-border-bottom" style="text-decoration:none">HTML</a> <a href="/cert/cert_css.asp" class="w3-button ws-grey w3-block w3-border-bottom" style="text-decoration:none">CSS</a> <a href="/cert/cert_javascript.asp" class="w3-button ws-grey w3-block w3-border-bottom" style="text-decoration:none">JavaScript</a> <a href="/cert/cert_frontend.asp" class="w3-button ws-grey w3-block w3-border-bottom" style="text-decoration:none">Front End</a> <a href="/cert/cert_python.asp" class="w3-button ws-grey w3-block w3-border-bottom" style="text-decoration:none">Python</a> <a href="/cert/cert_sql.asp" class="w3-button ws-grey w3-block w3-border-bottom" style="text-decoration:none">SQL</a> <a href="/cert/default.asp" class="w3-button ws-grey w3-block" style="text-decoration:none;">And more</a> </div> </div> --> <div id="stickypos" class="sidesection" style="text-align:center;position:sticky;top:50px;"> <div id="stickyadcontainer" style="width: 653.984px;"> <div style="position:relative;margin:auto;"> <div id="adngin-sidebar_sticky-0-stickypointer" style=""><div id="adngin-sidebar_sticky-0" style=""><div id="sn_ad_label_adngin-sidebar_sticky-0" class="sn_ad_label" style="color:#000000;font-size:12px;margin:0;text-align:center;">ADVERTISEMENT</div></div></div> <script> function secondSnigel() { if(window.adngin && window.adngin.adnginLoaderReady) { if (Number(w3_getStyleValue(document.getElementById("main"), "height").replace("px", "")) > 2200) { if (document.getElementById("adngin-mid_content-0")) { adngin.queue.push(function(){ adngin.cmd.startAuction(["sidebar_sticky", "mid_content" ]); }); } else { adngin.queue.push(function(){ adngin.cmd.startAuction(["sidebar_sticky"]); }); } } else { if (document.getElementById("adngin-mid_content-0")) { adngin.queue.push(function(){ adngin.cmd.startAuction(["mid_content"]); }); } } } else { window.addEventListener('adnginLoaderReady', function() { if (Number(w3_getStyleValue(document.getElementById("main"), "height").replace("px", "")) > 2200) { if (document.getElementById("adngin-mid_content-0")) { adngin.queue.push(function(){ adngin.cmd.startAuction(["sidebar_sticky", "mid_content" ]); }); } else { adngin.queue.push(function(){ adngin.cmd.startAuction(["sidebar_sticky"]); }); } } else { if (document.getElementById("adngin-mid_content-0")) { adngin.queue.push(function(){ adngin.cmd.startAuction(["mid_content"]); }); } } }); } } </script> </div> </div> </div> <script> uic_r_c() </script> </div> </div> <div id="footer" class="footer w3-container w3-white"> <hr> <div style="overflow:auto"> <div class="bottomad"> <!-- BottomMediumRectangle --> <!--<pre>bottom_medium_rectangle, all: [970,250][300,250][336,280]</pre>--> <div id="adngin-bottom_left-0" style="padding:0 10px 10px 0;float:left;width:auto;" data-google-query-id="CJbA_sueqvcCFXiOSwUd2fYBLg"><div id="sn_ad_label_adngin-bottom_left-0" class="sn_ad_label" style="color:#000000;font-size:12px;margin:0;text-align:center;">ADVERTISEMENT</div><div id="google_ads_iframe_/22152718,16833175/sws-hb//w3schools.com//bottom_medium_rectangle_1__container__" style="border: 0pt none;"><iframe id="google_ads_iframe_/22152718,16833175/sws-hb//w3schools.com//bottom_medium_rectangle_1" name="google_ads_iframe_/22152718,16833175/sws-hb//w3schools.com//bottom_medium_rectangle_1" title="3rd party ad content" width="300" height="250" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" role="region" aria-label="Advertisement" tabindex="0" srcdoc="" data-google-container-id="a" style="border: 0px; vertical-align: bottom;" data-load-complete="true"></iframe></div></div> <!-- adspace bmr --> <!-- RightBottomMediumRectangle --> <!--<pre>right_bottom_medium_rectangle, desktop: [300,250][336,280]</pre>--> <div id="adngin-bottom_right-0" style="padding:0 10px 10px 0;float:left;width:auto;"><div id="sn_ad_label_adngin-bottom_right-0" class="sn_ad_label" style="color:#000000;font-size:12px;margin:0;text-align:center;">ADVERTISEMENT</div></div> </div> </div> <hr> <div class="w3-row-padding w3-center w3-small" style="margin:0 -16px;"> <div class="w3-col l3 m3 s12"> <a class="w3-button ws-grey ws-hover-black w3-block w3-round" href="javascript:void(0);" onclick="displayError();return false" style="white-space:nowrap;text-decoration:none;margin-top:1px;margin-bottom:1px;font-size:15px;">Report Error</a> </div> <!-- <div class="w3-col l3 m3 s12"> <a class="w3-button w3-light-grey w3-block" href="javascript:void(0);" target="_blank" onclick="printPage();return false;" style="text-decoration:none;margin-top:1px;margin-bottom:1px">PRINT PAGE</a> </div> --> <div class="w3-col l3 m3 s12"> <a class="w3-button ws-grey ws-hover-black w3-block w3-round" href="/forum/default.asp" target="_blank" style="text-decoration:none;margin-top:1px;margin-bottom:1px;font-size:15px">Forum</a> </div> <div class="w3-col l3 m3 s12"> <a class="w3-button ws-grey ws-hover-black w3-block w3-round" href="/about/default.asp" target="_top" style="text-decoration:none;margin-top:1px;margin-bottom:1px;font-size:15px">About</a> </div> <div class="w3-col l3 m3 s12"> <a class="w3-button ws-grey ws-hover-black w3-block w3-round" href="https://shop.w3schools.com/" target="_blank" style="text-decoration:none;margin-top:1px;margin-bottom:1px;font-size:15px">Shop</a> </div> </div> <hr> <div class="ws-grey w3-padding w3-margin-bottom" id="err_form" style="display:none;position:relative"> <span onclick="this.parentElement.style.display='none'" class="w3-button w3-display-topright w3-large">×</span> <h2>Report Error</h2> <p>If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail:</p> <p>help@w3schools.com</p> <br> <!-- <h2>Your Suggestion:</h2> <form> <div class="w3-section"> <label for="err_email">Your E-mail:</label> <input class="w3-input w3-border" type="text" style="margin-top:5px;width:100%" id="err_email" name="err_email"> </div> <div class="w3-section"> <label for="err_email">Page address:</label> <input class="w3-input w3-border" type="text" style="width:100%;margin-top:5px" id="err_url" name="err_url" disabled="disabled"> </div> <div class="w3-section"> <label for="err_email">Description:</label> <textarea rows="10" class="w3-input w3-border" id="err_desc" name="err_desc" style="width:100%;margin-top:5px;resize:vertical;"></textarea> </div> <div class="form-group"> <button type="button" class="w3-button w3-dark-grey" onclick="sendErr()">Submit</button> </div> <br> </form> --> </div> <div class="w3-container ws-grey w3-padding" id="err_sent" style="display:none;position:relative"> <span onclick="this.parentElement.style.display='none'" class="w3-button w3-display-topright">×</span> <h2>Thank You For Helping Us!</h2> <p>Your message has been sent to W3Schools.</p> </div> <div class="w3-row w3-center w3-small"> <div class="w3-col l3 m6 s12"> <div class="top10"> <h5 style="font-family: 'Source Sans Pro', sans-serif;">Top Tutorials</h5> <a href="/html/default.asp">HTML Tutorial</a><br> <a href="/css/default.asp">CSS Tutorial</a><br> <a href="/js/default.asp">JavaScript Tutorial</a><br> <a href="/howto/default.asp">How To Tutorial</a><br> <a href="/sql/default.asp">SQL Tutorial</a><br> <a href="/python/default.asp">Python Tutorial</a><br> <a href="/w3css/default.asp">W3.CSS Tutorial</a><br> <a href="/bootstrap/bootstrap_ver.asp">Bootstrap Tutorial</a><br> <a href="/php/default.asp">PHP Tutorial</a><br> <a href="/java/default.asp">Java Tutorial</a><br> <a href="/cpp/default.asp">C++ Tutorial</a><br> <a href="/jquery/default.asp">jQuery Tutorial</a><br> </div> </div> <div class="w3-col l3 m6 s12"> <div class="top10"> <h5 style="font-family: 'Source Sans Pro', sans-serif;">Top References</h5> <a href="/tags/default.asp">HTML Reference</a><br> <a href="/cssref/default.asp">CSS Reference</a><br> <a href="/jsref/default.asp">JavaScript Reference</a><br> <a href="/sql/sql_ref_keywords.asp">SQL Reference</a><br> <a href="/python/python_reference.asp">Python Reference</a><br> <a href="/w3css/w3css_references.asp">W3.CSS Reference</a><br> <a href="/bootstrap/bootstrap_ref_all_classes.asp">Bootstrap Reference</a><br> <a href="/php/php_ref_overview.asp">PHP Reference</a><br> <a href="/colors/colors_names.asp">HTML Colors</a><br> <a href="/java/java_ref_keywords.asp">Java Reference</a><br> <a href="/angular/angular_ref_directives.asp">Angular Reference</a><br> <a href="/jquery/jquery_ref_overview.asp">jQuery Reference</a><br> </div> </div> <div class="w3-col l3 m6 s12"> <div class="top10"> <h5 style="font-family: 'Source Sans Pro', sans-serif;">Top Examples</h5> <a href="/html/html_examples.asp">HTML Examples</a><br> <a href="/css/css_examples.asp">CSS Examples</a><br> <a href="/js/js_examples.asp">JavaScript Examples</a><br> <a href="/howto/default.asp">How To Examples</a><br> <a href="/sql/sql_examples.asp">SQL Examples</a><br> <a href="/python/python_examples.asp">Python Examples</a><br> <a href="/w3css/w3css_examples.asp">W3.CSS Examples</a><br> <a href="/bootstrap/bootstrap_examples.asp">Bootstrap Examples</a><br> <a href="/php/php_examples.asp">PHP Examples</a><br> <a href="/java/java_examples.asp">Java Examples</a><br> <a href="/xml/xml_examples.asp">XML Examples</a><br> <a href="/jquery/jquery_examples.asp">jQuery Examples</a><br> </div> </div> <div class="w3-col l3 m6 s12"> <div class="top10"> <!-- <h4>Web Certificates</h4> <a href="/cert/default.asp">HTML Certificate</a><br> <a href="/cert/default.asp">CSS Certificate</a><br> <a href="/cert/default.asp">JavaScript Certificate</a><br> <a href="/cert/default.asp">SQL Certificate</a><br> <a href="/cert/default.asp">Python Certificate</a><br> <a href="/cert/default.asp">PHP Certificate</a><br> <a href="/cert/default.asp">Bootstrap Certificate</a><br> <a href="/cert/default.asp">XML Certificate</a><br> <a href="/cert/default.asp">jQuery Certificate</a><br> <a href="//www.w3schools.com/cert/default.asp" class="w3-button w3-margin-top w3-dark-grey" style="text-decoration:none"> Get Certified »</a> --> <h5 style="font-family: 'Source Sans Pro', sans-serif;">Web Courses</h5> <a href="https://courses.w3schools.com/courses/html" target="_blank" onclick="ga('send', 'event', 'Courses' , 'Clicked on html course link in footer');">HTML Course</a><br> <a href="https://courses.w3schools.com/courses/css" target="_blank" onclick="ga('send', 'event', 'Courses' , 'Clicked on css course link in footer');">CSS Course</a><br> <a href="https://courses.w3schools.com/courses/javascript" target="_blank" onclick="ga('send', 'event', 'Courses' , 'Clicked on javascript course link in footer');">JavaScript Course</a><br> <a href="https://courses.w3schools.com/programs/front-end" target="_blank" onclick="ga('send', 'event', 'Courses' , 'Clicked on Front End course link in footer');">Front End Course</a><br> <a href="https://courses.w3schools.com/courses/sql" target="_blank" onclick="ga('send', 'event', 'Courses' , 'Clicked on sql course link in footer');">SQL Course</a><br> <a href="https://courses.w3schools.com/courses/python" target="_blank" onclick="ga('send', 'event', 'Courses' , 'Clicked on python course link in footer');">Python Course</a><br> <a href="https://courses.w3schools.com/courses/php" target="_blank" onclick="ga('send', 'event', 'Courses' , 'Clicked on php course link in footer');">PHP Course</a><br> <a href="https://courses.w3schools.com/courses/jquery" target="_blank" onclick="ga('send', 'event', 'Courses' , 'Clicked on jquery course link in footer');">jQuery Course</a><br> <a href="https://courses.w3schools.com/courses/java" target="_blank" onclick="ga('send', 'event', 'Courses' , 'Clicked on Java course link in footer');">Java Course</a><br> <a href="https://courses.w3schools.com/courses/cplusplus" target="_blank" onclick="ga('send', 'event', 'Courses' , 'Clicked on C++ course link in footer');">C++ Course</a><br> <a href="https://courses.w3schools.com/courses/c-sharp" target="_blank" onclick="ga('send', 'event', 'Courses' , 'Clicked on bootstrap C# link in footer');">C# Course</a><br> <a href="https://courses.w3schools.com/courses/xml" target="_blank" onclick="ga('send', 'event', 'Courses' , 'Clicked on xml course link in footer');">XML Course</a><br> <a href="https://courses.w3schools.com/" target="_blank" class="w3-button w3-margin-top ws-black ws-hover-black w3-round" style="text-decoration:none" onclick="ga('send', 'event', 'Courses' , 'Clicked on get certified button in footer');"> Get Certified »</a> </div> </div> </div> <hr> <div class="w3-center w3-small w3-opacity"> W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our <a href="/about/about_copyright.asp">terms of use</a>, <a href="/about/about_privacy.asp">cookie and privacy policy</a>.<br><br> <a href="/about/about_copyright.asp">Copyright 1999-2022</a> by Refsnes Data. All Rights Reserved.<br> <a href="//www.w3schools.com/w3css/default.asp">W3Schools is Powered by W3.CSS</a>.<br><br> </div> <div class="w3-center w3-small"> <a href="//www.w3schools.com"> <i class="fa fa-logo ws-text-green ws-hover-text-green" style="position:relative;font-size:42px!important;"></i> </a></div><a href="//www.w3schools.com"> <br><br> </a></div><a href="//www.w3schools.com"> </a></div><iframe name="__tcfapiLocator" style="display: none;"></iframe><iframe name="__uspapiLocator" style="display: none;"></iframe><a href="//www.w3schools.com"> <script src="/lib/w3schools_footer.js?update=20220202"></script> <script> MyLearning.loadUser('footer'); function docReady(fn) { document.addEventListener("DOMContentLoaded", fn); if (document.readyState === "interactive" || document.readyState === "complete" ) { fn(); } } uic_r_z(); uic_r_d() </script><iframe src="https://56d0da6c34aaa471db22bb4266aac656.safeframe.googlesyndication.com/safeframe/1-0-38/html/container.html" style="visibility: hidden; display: none;"></iframe> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif]--> </a><script type="text/javascript" src="https://geo.moatads.com/n.js?e=35&ol=3318087536&qn=%604%7BZEYwoqI%24%5BK%2BdLLU)%2CMm~tM!90vv9L%24%2FoDb%2Fz(lKm3GFlNUU%2Cu%5Bh_GcS%25%5BHvLU%5B4(K%2B%7BgeFWl_%3DNqUXR%3A%3D%2BAxMn%3Ch%2CyenA8p%2FHm%24%60%233P(ry5*ZRocMp1tq%5BN%7Bq%60RP%3CG.ceFW%7CoG%22mxT%3Bwv%40V374BKm55%3D%261fp%5BoU5t(KX%3C%3Ce%24%26%3B%23wPjrBEe31k5X%5BG%5E%5B)%2C2iVSWf3Stnq%263t!9jr%7BRzI%2C%7BOCb%25%24(%3DNqU%60W5u%7Bo(zs1CoK%2Bdr%5BG)%2C3ii)RGL3emgSuRVE&tf=1_nMzjG---CSa7H-1SJH-bW7qhB-LRwqH-nMzjG-&vi=111111&rb=2-90xv0J4P%2FoMsPm8%2BZbNmT2EB%2BBOA3JNdQL68hLPh4bg2%2F%2FnQIIWF3Q%3D%3D&rs=1-iHtHGE9B1zA1OQ%3D%3D&sc=1&os=1-3g%3D%3D&qp=10000&is=BBBBB2BBEYBvGl2BBCkqtUTE1RmsqbKW8BsrBu0rCFE48CRBeeBS2hWTMBBQeQBBn2soYggyUig0CBlWZ0uBBCCCCCCOgRBBiOfnE6Bkg7Oxib8MxOtJYHCBdm5kBhIcC9Y8oBXckXBR76iUUsJBCBBBBBBBBBWBBBj3BBBZeGV2BBBCMciUBBBjgEBBBBBB94UMgTdJMtEcpMBBBQBBBniOccBBBBBB47kNwxBbBBBBBBBBBhcjG6BBJM2L4Bk8BwCBQmIoRBBCzBz1BBCTClBBrbGBC4ehueB57NG9aJeRzBqEKBBBBBBB&iv=8&qt=0&gz=0&hh=0&hn=0&tw=&qc=0&qd=0&qf=1240&qe=883&qh=1280&qg=984&qm=-330&qa=1280&qb=1024&qi=1280&qj=984&to=000&po=1-0020002000002120&vy=ot%24b%5Bh%40%22oDgO%3DLlE6%3Avy%2CUitwb4%5Du!%3CFo%40Y_3r%3F%5DAY~MhXyz%26_%5B*Rp%7C%3EoDKmsiFDRz%5EmlNM%22%254ZpaR%5BA7Do%2C%3Bg%2C%2C%40W7RbzTmejO%3Def%2C%7Bvp%7C9%7C_%3Bm_Qrw5.W%2F84VKp%40i6AKx!ehV%7Du!%3CFo%40pF&ql=%3B%5BpwxnRd%7Dt%3Aa%5DmJVOG)%2C~%405%2F%5BGI%3F6C(TgPB*e%5D1(rI%24(rj2Iy!pw%40aOS%3DyNX8Y%7BQgPB*e%5D1(rI%24(rj%5EB61%2F%3DSqcMr1%7B%2CJA%24Jz_%255tTL%3Fwbs_T%234%25%60X%3CA&qo=0&qr=0&i=TRIPLELIFT1&hp=1&wf=1&ra=1&pxm=8&sgs=3&vb=6&kq=1&hq=0&hs=0&hu=0&hr=0&ht=1&dnt=0&bq=0&f=0&j=https%3A%2F%2Fwww.google.com&t=1650718754860&de=466991431602&m=0&ar=bee2df476bf-clean&iw=2a1d5c5&q=2&cb=0&ym=0&cu=1650718754860&ll=3&lm=0&ln=1&r=0&em=0&en=0&d=6737%3A94724%3Aundefined%3A10&zMoatTactic=undefined&zMoatPixelParams=aid%3A29695277962791520917040%3Bsr%3A10%3Buid%3A0%3B&zMoatOrigSlicer1=2662&zMoatOrigSlicer2=39&zMoatJS=-&zGSRC=1&gu=https%3A%2F%2Fwww.w3schools.com%2Ftags%2Ftag_p.asp&id=1&ii=4&bo=2662&bd=w3schools.com&gw=triplelift879988051105&fd=1&ac=1&it=500&ti=0&ih=1&pe=1%3A512%3A512%3A1026%3A846&jm=-1&fs=198121&na=2100642455&cs=0&ord=1650718754860&jv=1483802810&callback=DOMlessLLDcallback_5147906"></script><iframe src="https://www.google.com/recaptcha/api2/aframe" width="0" height="0" style="display: none;"></iframe></body><iframe sandbox="allow-scripts allow-same-origin" id="936be7941bd9c5c" frameborder="0" allowtransparency="true" marginheight="0" marginwidth="0" width="0" hspace="0" vspace="0" height="0" style="height:0px;width:0px;display:none;" scrolling="no" src="https://jp-u.openx.net/w/1.0/pd?plm=6&ph=8a7ca719-8c2c-4c16-98ad-37ac6dbf26e9&gdpr=0&us_privacy=1---"> </iframe><iframe sandbox="allow-scripts allow-same-origin" id="94da8182082e79b" frameborder="0" allowtransparency="true" marginheight="0" marginwidth="0" width="0" hspace="0" vspace="0" height="0" style="height:0px;width:0px;display:none;" scrolling="no" src="https://eus.rubiconproject.com/usync.html?us_privacy=1---"> </iframe><iframe sandbox="allow-scripts allow-same-origin" id="950ad185776f97c" frameborder="0" allowtransparency="true" marginheight="0" marginwidth="0" width="0" hspace="0" vspace="0" height="0" style="height:0px;width:0px;display:none;" scrolling="no" src="https://cdn.connectad.io/connectmyusers.php?us_privacy=1---&"> </iframe><iframe sandbox="allow-scripts allow-same-origin" id="960961bdb263a5c" frameborder="0" allowtransparency="true" marginheight="0" marginwidth="0" width="0" hspace="0" vspace="0" height="0" style="height:0px;width:0px;display:none;" scrolling="no" src="https://ads.pubmatic.com/AdServer/js/user_sync.html?kdntuid=1&p=157369&gdpr=0&gdpr_consent=&us_privacy=1---"> </iframe><iframe sandbox="allow-scripts allow-same-origin" id="973d77507d8ed2c" frameborder="0" allowtransparency="true" marginheight="0" marginwidth="0" width="0" hspace="0" vspace="0" height="0" style="height:0px;width:0px;display:none;" scrolling="no" src="https://s.amazon-adsystem.com/iu3?cm3ppd=1&d=dtb-pub&csif=t&dl=n-index_pm-db5_ym_rbd_n-vmg_ox-db5_smrt_an-db5_3lift"> </iframe><iframe sandbox="allow-scripts allow-same-origin" id="986df094b3ccc6f" frameborder="0" allowtransparency="true" marginheight="0" marginwidth="0" width="0" hspace="0" vspace="0" height="0" style="height:0px;width:0px;display:none;" scrolling="no" src="https://biddr.brealtime.com/check.html"> </iframe><iframe sandbox="allow-scripts allow-same-origin" id="9984b091a86efa7" frameborder="0" allowtransparency="true" marginheight="0" marginwidth="0" width="0" hspace="0" vspace="0" height="0" style="height:0px;width:0px;display:none;" scrolling="no" src="https://js-sec.indexww.com/um/ixmatch.html"> </iframe><iframe sandbox="allow-scripts allow-same-origin" id="1004b17db44af55b" frameborder="0" allowtransparency="true" marginheight="0" marginwidth="0" width="0" hspace="0" vspace="0" height="0" style="height:0px;width:0px;display:none;" scrolling="no" src="https://csync.smilewanted.com?us_privacy=1---"> </iframe><iframe sandbox="allow-scripts allow-same-origin" id="101af22cac10bcfd" frameborder="0" allowtransparency="true" marginheight="0" marginwidth="0" width="0" hspace="0" vspace="0" height="0" style="height:0px;width:0px;display:none;" scrolling="no" src="https://onetag-sys.com/usync/?cb=1650718752982&us_privacy=1---"> </iframe><iframe sandbox="allow-scripts allow-same-origin" id="10290b51ae900f2b" frameborder="0" allowtransparency="true" marginheight="0" marginwidth="0" width="0" hspace="0" vspace="0" height="0" style="height:0px;width:0px;display:none;" scrolling="no" src="https://eb2.3lift.com/sync?us_privacy=1---&"> </iframe><iframe sandbox="allow-scripts allow-same-origin" id="103d27603dbc3983" frameborder="0" allowtransparency="true" marginheight="0" marginwidth="0" width="0" hspace="0" vspace="0" height="0" style="height:0px;width:0px;display:none;" scrolling="no" src="https://acdn.adnxs.com/dmp/async_usersync.html"> </iframe></html>
oussamabonnor1
A "Color Switch" game replica, 2D fun endless mobile game.
Gabriel1231n2j3n
// ==UserScript== // @name aimbot gratis para krunker.io // @description Este es el mejor aimbot mod menuq puedas obtener // @version 2.19 // @author Gabriel - // @iconURL 31676a4e532e706e673f7261773d74727565.png // @match *://krunker.io/* // @exclude *://krunker.io/editor* // @exclude *://krunker.io/social* // @run-at document-start // @grant none // @noframes // ==/UserScript== /* eslint-env es6 */ /* eslint-disable no-caller, no-undef, no-loop-func */ var CRC2d = CanvasRenderingContext2D.prototype; var skid, skidStr = [...Array(8)].map(_ => 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'[~~(Math.random()*52)]).join(''); class Skid { constructor() { skid = this; this.downKeys = new Set(); this.settings = null; this.vars = {}; this.playerMaps = []; this.skinCache = {}; this.inputFrame = 0; this.renderFrame = 0; this.fps = 0; this.lists = { renderESP: { off: "Off", walls: "Walls", twoD: "2d", full: "Full" }, renderChams: { off: "Off", white: "White", blue: "Blue", teal: "Teal", purple: "Purple", green: "Green", yellow: "Yellow", red: "Red", }, autoBhop: { off: "Off", autoJump: "Auto Jump", keyJump: "Key Jump", autoSlide: "Auto Slide", keySlide: "Key Slide" }, autoAim: { off: "Off", correction: "Aim Correction", assist: "Legit Aim Assist", easyassist: "Easy Aim Assist", silent: "Silent Aim", trigger: "Trigger Bot", quickScope: "Quick Scope" }, audioStreams: { off: 'Off', _2000s: 'General German/English', _HipHopRNB: 'Hip Hop / RNB', _Oldskool: 'Hip Hop Oldskool', _Country: 'Country', _Pop: 'Pop', _Dance: 'Dance', _Dubstep: 'DubStep', _Lowfi: 'LoFi HipHop', _Jazz: 'Jazz', _Oldies: 'Golden Oldies', _Club: 'Club', _Folk: 'Folk', _ClassicRock: 'Classic Rock', _Metal: 'Heavy Metal', _DeathMetal: 'Death Metal', _Classical: 'Classical', _Alternative: 'Alternative', }, } this.consts = { twoPI: Math.PI * 2, halfPI: Math.PI / 2, playerHeight: 11, cameraHeight: 1.5, headScale: 2, armScale: 1.3, armInset: 0.1, chestWidth: 2.6, hitBoxPad: 1, crouchDst: 3, recoilMlt: 0.3, nameOffset: 0.6, nameOffsetHat: 0.8, }; this.key = { frame: 0, delta: 1, xdir: 2, ydir: 3, moveDir: 4, shoot: 5, scope: 6, jump: 7, reload: 8, crouch: 9, weaponScroll: 10, weaponSwap: 11, moveLock: 12 }; this.css = { noTextShadows: `*, .button.small, .bigShadowT { text-shadow: none !important; }`, hideAdverts: `#aMerger, #endAMerger { display: none !important }`, hideSocials: `.headerBarRight > .verticalSeparator, .imageButton { display: none }`, cookieButton: `#onetrust-consent-sdk { display: none !important }`, newsHolder: `#newsHolder { display: none !important }`, }; this.isProxy = Symbol("isProxy"); this.spinTimer = 1800; let wait = setInterval(_ => { this.head = document.head||document.getElementsByTagName('head')[0] if (this.head) { clearInterval(wait); Object.entries(this.css).forEach(entry => { this.css[entry[0]] = this.createElement("style", entry[1]); }) this.onLoad(); } }, 100); } canStore() { return this.isDefined(Storage); } saveVal(name, val) { if (this.canStore()) localStorage.setItem("kro_utilities_"+name, val); } deleteVal(name) { if (this.canStore()) localStorage.removeItem("kro_utilities_"+name); } getSavedVal(name) { if (this.canStore()) return localStorage.getItem("kro_utilities_"+name); return null; } isType(item, type) { return typeof item === type; } isDefined(object) { return !this.isType(object, "undefined") && object !== null; } isNative(fn) { return (/^function\s*[a-z0-9_\$]*\s*\([^)]*\)\s*\{\s*\[native code\]\s*\}/i).test('' + fn) } getStatic(s, d) { return this.isDefined(s) ? s : d } crossDomain(url) { return "https://crossorigin.me/" + url; } async waitFor(test, timeout_ms = 20000, doWhile = null) { let sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms)); return new Promise(async (resolve, reject) => { if (typeof timeout_ms != "number") reject("Timeout argument not a number in waitFor(selector, timeout_ms)"); let result, freq = 100; while (result === undefined || result === false || result === null || result.length === 0) { if (doWhile && doWhile instanceof Function) doWhile(); if (timeout_ms % 1000 < freq) console.log("waiting for: ", test); if ((timeout_ms -= freq) < 0) { console.log( "Timeout : ", test ); resolve(false); return; } await sleep(freq); result = typeof test === "string" ? Function(test)() : test(); } console.log("Passed : ", test); resolve(result); }); }; createSettings() { this.settings = { //Rendering showSkidBtn: { pre: "<div class='setHed'>Rendering</div>", name: "Show Skid Button", val: true, html: () => this.generateSetting("checkbox", "showSkidBtn", this), set: (value, init) => { let button = document.getElementById("mainButton"); if (!button) { button = this.createButton("5k1D", "https://i.imgur.com/1tWAEJx.gif", this.toggleMenu, value) } else button.style.display = value ? "inherit" : "none"; } }, hideAdverts: { name: "Hide Advertisments", val: true, html: () => this.generateSetting("checkbox", "hideAdverts", this), set: (value, init) => { if (value) this.head.appendChild(this.css.hideAdverts) else if (!init) this.css.hideAdverts.remove() } }, hideStreams: { name: "Hide Streams", val: false, html: () => this.generateSetting("checkbox", "hideStreams", this), set: (value) => { window.streamContainer.style.display = value ? "none" : "inherit" } }, hideMerch: { name: "Hide Merch", val: false, html: () => this.generateSetting("checkbox", "hideMerch", this), set: value => { window.merchHolder.style.display = value ? "none" : "inherit" } }, hideNewsConsole: { name: "Hide News Console", val: false, html: () => this.generateSetting("checkbox", "hideNewsConsole", this), set: value => { window.newsHolder.style.display = value ? "none" : "inherit" } }, hideCookieButton: { name: "Hide Security Manage Button", val: false, html: () => this.generateSetting("checkbox", "hideCookieButton", this), set: value => { window['onetrust-consent-sdk'].style.display = value ? "none" : "inherit" } }, noTextShadows: { name: "Remove Text Shadows", val: false, html: () => this.generateSetting("checkbox", "noTextShadows", this), set: (value, init) => { if (value) this.head.appendChild(this.css.noTextShadows) else if (!init) this.css.noTextShadows.remove() } }, customCSS: { name: "Custom CSS", val: "", html: () => this.generateSetting("url", "customCSS", "URL to CSS file"), resources: { css: document.createElement("link") }, set: (value, init) => { if (value.startsWith("http")&&value.endsWith(".css")) { //let proxy = 'https://cors-anywhere.herokuapp.com/'; this.settings.customCSS.resources.css.href = value } if (init) { this.settings.customCSS.resources.css.rel = "stylesheet" try { this.head.appendChild(this.settings.customCSS.resources.css) } catch(e) { alert(e) this.settings.customCSS.resources.css = null } } } }, renderESP: { name: "Player ESP Type", val: "off", html: () => this.generateSetting("select", "renderESP", this.lists.renderESP), }, renderTracers: { name: "Player Tracers", val: false, html: () => this.generateSetting("checkbox", "renderTracers"), }, rainbowColor: { name: "Rainbow ESP", val: false, html: () => this.generateSetting("checkbox", "rainbowColor"), }, renderChams: { name: "Player Chams", val: "off", html: () => this.generateSetting( "select", "renderChams", this.lists.renderChams ), }, renderWireFrame: { name: "Player Wireframe", val: false, html: () => this.generateSetting("checkbox", "renderWireFrame"), }, customBillboard: { name: "Custom Billboard Text", val: "", html: () => this.generateSetting( "text", "customBillboard", "Custom Billboard Text" ), }, //Weapon autoReload: { pre: "<br><div class='setHed'>Weapon</div>", name: "Auto Reload", val: false, html: () => this.generateSetting("checkbox", "autoReload"), }, autoAim: { name: "Auto Aim Type", val: "off", html: () => this.generateSetting("select", "autoAim", this.lists.autoAim), }, frustrumCheck: { name: "Line of Sight Check", val: false, html: () => this.generateSetting("checkbox", "frustrumCheck"), }, wallPenetrate: { name: "Aim through Penetratables", val: false, html: () => this.generateSetting("checkbox", "wallPenetrate"), }, weaponZoom: { name: "Weapon Zoom", val: 1.0, min: 0, max: 50.0, step: 0.01, html: () => this.generateSetting("slider", "weaponZoom"), set: (value) => { if (this.renderer) this.renderer.adsFovMlt = value;} }, weaponTrails: { name: "Weapon Trails", val: false, html: () => this.generateSetting("checkbox", "weaponTrails"), set: (value) => { if (this.me) this.me.weapon.trail = value;} }, //Player autoBhop: { pre: "<br><div class='setHed'>Player</div>", name: "Auto Bhop Type", val: "off", html: () => this.generateSetting("select", "autoBhop", this.lists.autoBhop), }, thirdPerson: { name: "Third Person", val: false, html: () => this.generateSetting("checkbox", "thirdPerson"), set: (value, init) => { if (value) this.thirdPerson = 1; else if (!init) this.thirdPerson = undefined; } }, skinUnlock: { name: "Unlock Skins", val: false, html: () => this.generateSetting("checkbox", "skinUnlock", this), }, //GamePlay disableWpnSnd: { pre: "<br><div class='setHed'>GamePlay</div>", name: "Disable Players Weapon Sounds", val: false, html: () => this.generateSetting("checkbox", "disableWpnSnd", this), }, disableHckSnd: { name: "Disable Hacker Fart Sounds", val: false, html: () => this.generateSetting("checkbox", "disableHckSnd", this), }, autoActivateNuke: { name: "Auto Activate Nuke", val: false, html: () => this.generateSetting("checkbox", "autoActivateNuke", this), }, autoFindNew: { name: "New Lobby Finder", val: false, html: () => this.generateSetting("checkbox", "autoFindNew", this), }, autoClick: { name: "Auto Start Game", val: false, html: () => this.generateSetting("checkbox", "autoClick", this), }, inActivity: { name: "No InActivity Kick", val: true, html: () => this.generateSetting("checkbox", "autoClick", this), }, //Radio Stream Player playStream: { pre: "<br><div class='setHed'>Radio Stream Player</div>", name: "Stream Select", val: "off", html: () => this.generateSetting("select", "playStream", this.lists.audioStreams), set: (value) => { if (value == "off") { if ( this.settings.playStream.audio ) { this.settings.playStream.audio.pause(); this.settings.playStream.audio.currentTime = 0; this.settings.playStream.audio = null; } return; } let url = this.settings.playStream.urls[value]; if (!this.settings.playStream.audio) { this.settings.playStream.audio = new Audio(url); this.settings.playStream.audio.volume = this.settings.audioVolume.val||0.5 } else { this.settings.playStream.audio.src = url; } this.settings.playStream.audio.load(); this.settings.playStream.audio.play(); }, urls: { _2000s: 'http://0n-2000s.radionetz.de/0n-2000s.aac', _HipHopRNB: 'https://stream-mixtape-geo.ntslive.net/mixtape2', _Country: 'https://live.wostreaming.net/direct/wboc-waaifmmp3-ibc2', _Dance: 'http://streaming.radionomy.com/A-RADIO-TOP-40', _Pop: 'http://bigrradio.cdnstream1.com/5106_128', _Jazz: 'http://strm112.1.fm/ajazz_mobile_mp3', _Oldies: 'http://strm112.1.fm/60s_70s_mobile_mp3', _Club: 'http://strm112.1.fm/club_mobile_mp3', _Folk: 'https://freshgrass.streamguys1.com/irish-128mp3', _ClassicRock: 'http://1a-classicrock.radionetz.de/1a-classicrock.mp3', _Metal: 'http://streams.radiobob.de/metalcore/mp3-192', _DeathMetal: 'http://stream.laut.fm/beatdownx', _Classical: 'http://live-radio01.mediahubaustralia.com/FM2W/aac/', _Alternative: 'http://bigrradio.cdnstream1.com/5187_128', _Dubstep: 'http://streaming.radionomy.com/R1Dubstep?lang=en', _Lowfi: 'http://streams.fluxfm.de/Chillhop/mp3-256', _Oldskool: 'http://streams.90s90s.de/hiphop/mp3-128/', }, audio: null, }, audioVolume: { name: "Radio Volume", val: 0.5, min: 0, max: 1, step: 0.01, html: () => this.generateSetting("slider", "audioVolume"), set: (value) => { if (this.settings.playStream.audio) this.settings.playStream.audio.volume = value;} }, }; // Inject Html let waitForWindows = setInterval(_ => { if (window.windows) { const menu = window.windows[11]; menu.header = "Settings"; menu.gen = _ => { var tmpHTML = `<div style='text-align:center'> <a onclick='window.open("https://skidlamer.github.io/")' class='menuLink'>SkidFest Settings</center></a> <hr> </div>`; for (const key in this.settings) { if (this.settings[key].pre) tmpHTML += this.settings[key].pre; tmpHTML += "<div class='settName' id='" + key + "_div' style='display:" + (this.settings[key].hide ? 'none' : 'block') + "'>" + this.settings[key].name + " " + this.settings[key].html() + "</div>"; } tmpHTML += `<br><hr><a onclick='${skidStr}.resetSettings()' class='menuLink'>Reset Settings</a> | <a onclick='${skidStr}.saveScript()' class='menuLink'>Save GameScript</a>` return tmpHTML; }; clearInterval(waitForWindows); //this.createButton("5k1D", "https://i.imgur.com/1tWAEJx.gif", this.toggleMenu) } }, 100); // setupSettings for (const key in this.settings) { this.settings[key].def = this.settings[key].val; if (!this.settings[key].disabled) { let tmpVal = this.getSavedVal(key); this.settings[key].val = tmpVal !== null ? tmpVal : this.settings[key].val; if (this.settings[key].val == "false") this.settings[key].val = false; if (this.settings[key].val == "true") this.settings[key].val = true; if (this.settings[key].val == "undefined") this.settings[key].val = this.settings[key].def; if (this.settings[key].set) this.settings[key].set(this.settings[key].val, true); } } } generateSetting(type, name, extra) { switch (type) { case 'checkbox': return `<label class="switch"><input type="checkbox" onclick="${skidStr}.setSetting('${name}', this.checked)" ${this.settings[name].val ? 'checked' : ''}><span class="slider"></span></label>`; case 'slider': return `<span class='sliderVal' id='slid_utilities_${name}'>${this.settings[name].val}</span><div class='slidecontainer'><input type='range' min='${this.settings[name].min}' max='${this.settings[name].max}' step='${this.settings[name].step}' value='${this.settings[name].val}' class='sliderM' oninput="${skidStr}.setSetting('${name}', this.value)"></div>` case 'select': { let temp = `<select onchange="${skidStr}.setSetting(\x27${name}\x27, this.value)" class="inputGrey2">`; for (let option in extra) { temp += '<option value="' + option + '" ' + (option == this.settings[name].val ? 'selected' : '') + '>' + extra[option] + '</option>'; } temp += '</select>'; return temp; } default: return `<input type="${type}" name="${type}" id="slid_utilities_${name}"\n${'color' == type ? 'style="float:right;margin-top:5px"' : `class="inputGrey2" placeholder="${extra}"`}\nvalue="${this.settings[name].val}" oninput="${skidStr}.setSetting(\x27${name}\x27, this.value)"/>`; } } resetSettings() { if (confirm("Are you sure you want to reset all your settings? This will also refresh the page")) { Object.keys(localStorage).filter(x => x.includes("kro_utilities_")).forEach(x => localStorage.removeItem(x)); location.reload(); } } setSetting(t, e) { this.settings[t].val = e; this.saveVal(t, e); if (document.getElementById(`slid_utilities_${t}`)) document.getElementById(`slid_utilities_${t}`).innerHTML = e; if (this.settings[t].set) this.settings[t].set(e); } createObserver(elm, check, callback, onshow = true) { return new MutationObserver((mutationsList, observer) => { if (check == 'src' || onshow && mutationsList[0].target.style.display == 'block' || !onshow) { callback(mutationsList[0].target); } }).observe(elm, check == 'childList' ? {childList: true} : {attributes: true, attributeFilter: [check]}); } createListener(elm, type, callback = null) { if (!this.isDefined(elm)) { alert("Failed creating " + type + "listener"); return } elm.addEventListener(type, event => callback(event)); } createElement(element, attribute, inner) { if (!this.isDefined(element)) { return null; } if (!this.isDefined(inner)) { inner = ""; } let el = document.createElement(element); if (this.isType(attribute, 'object')) { for (let key in attribute) { el.setAttribute(key, attribute[key]); } } if (!Array.isArray(inner)) { inner = [inner]; } for (let i = 0; i < inner.length; i++) { if (inner[i].tagName) { el.appendChild(inner[i]); } else { el.appendChild(document.createTextNode(inner[i])); } } return el; } createButton(name, iconURL, fn, visible) { visible = visible ? "inherit":"none"; let menu = document.querySelector("#menuItemContainer"); let icon = this.createElement("div",{"class":"menuItemIcon", "style":`background-image:url("${iconURL}");display:inherit;`}); let title= this.createElement("div",{"class":"menuItemTitle", "style":`display:inherit;`}, name); let host = this.createElement("div",{"id":"mainButton", "class":"menuItem", "onmouseenter":"playTick()", "onclick":"showWindow(12)", "style":`display:${visible};`},[icon, title]); if (menu) menu.append(host) } objectHas(obj, arr) { return arr.some(prop => obj.hasOwnProperty(prop)); } getVersion() { const elems = document.getElementsByClassName('terms'); const version = elems[elems.length - 1].innerText; return version; } saveAs(name, data) { let blob = new Blob([data], {type: 'text/plain'}); let el = window.document.createElement("a"); el.href = window.URL.createObjectURL(blob); el.download = name; window.document.body.appendChild(el); el.click(); window.document.body.removeChild(el); } saveScript() { this.fetchScript().then(script => { this.saveAs("game_" + this.getVersion() + ".js", script) }) } isKeyDown(key) { return this.downKeys.has(key); } simulateKey(keyCode) { var oEvent = document.createEvent('KeyboardEvent'); // Chromium Hack Object.defineProperty(oEvent, 'keyCode', { get : function() { return this.keyCodeVal; } }); Object.defineProperty(oEvent, 'which', { get : function() { return this.keyCodeVal; } }); if (oEvent.initKeyboardEvent) { oEvent.initKeyboardEvent("keypress", true, true, document.defaultView, keyCode, keyCode, "", "", false, ""); } else { oEvent.initKeyEvent("keypress", true, true, document.defaultView, false, false, false, false, keyCode, 0); } oEvent.keyCodeVal = keyCode; if (oEvent.keyCode !== keyCode) { alert("keyCode mismatch " + oEvent.keyCode + "(" + oEvent.which + ")"); } document.body.dispatchEvent(oEvent); } toggleMenu() { let lock = document.pointerLockElement || document.mozPointerLockElement; if (lock) document.exitPointerLock(); window.showWindow(12); if (this.isDefined(window.SOUND)) window.SOUND.play(`tick_0`,0.1) } onLoad() { this.createSettings(); this.createObservers(); this.waitFor(_=>this.isDefined(this.exports)).then(_=> { if (!this.isDefined(this.exports)) { alert("This Mod Needs To Be Updated Please Try Agian Later"); return; } //console.dir(this.exports); let toFind = { overlay: ["render", "canvas"], config: ["accAnnounce", "availableRegions", "assetCat"], three: ["ACESFilmicToneMapping", "TextureLoader", "ObjectLoader"], ws: ["socketReady", "ingressPacketCount", "ingressPacketCount", "egressDataSize"], utility: ["VectorAdd", "VectorAngleSign"], //colors: ["challLvl", "getChallCol"], //ui: ["showEndScreen", "toggleControlUI", "toggleEndScreen", "updatePlayInstructions"], //events: ["actions", "events"], } for (let rootKey in this.exports) { let exp = this.exports[rootKey].exports; for (let name in toFind) { if (this.objectHas(exp, toFind[name])) { console.log("Found Export ", name); delete toFind[name]; this[name] = exp; } } } if (!(Object.keys(toFind).length === 0 && toFind.constructor === Object)) { for (let name in toFind) { alert("Failed To Find Export " + name); } } else { Object.defineProperty(this.config, "nameVisRate", { value: 0, writable: false, configurable: true, }) this.ctx = this.overlay.canvas.getContext('2d'); this.overlay.render = new Proxy(this.overlay.render, { apply: function(target, that, args) { return [target.apply(that, args), render.apply(that, args)] } }) function render(scale, game, controls, renderer, me) { let width = skid.overlay.canvas.width / scale; let height = skid.overlay.canvas.height / scale; const renderArgs = [scale, game, controls, renderer, me]; if (renderArgs && void 0 !== skid) { ["scale", "game", "controls", "renderer", "me"].forEach((item, index)=>{ skid[item] = renderArgs[index]; }); if (me) { skid.ctx.save(); skid.ctx.scale(scale, scale); //this.ctx.clearRect(0, 0, width, height); skid.onRender(); //window.requestAnimationFrame.call(window, renderArgs.callee.caller.bind(this)); skid.ctx.restore(); } if(skid.settings && skid.settings.autoClick.val && window.endUI.style.display == "none" && window.windowHolder.style.display == "none") { controls.toggle(true); } } } // Skins const $skins = Symbol("skins"); Object.defineProperty(Object.prototype, "skins", { set: function(fn) { this[$skins] = fn; if (void 0 == this.localSkins || !this.localSkins.length) { this.localSkins = Array.apply(null, Array(5e3)).map((x, i) => { return { ind: i, cnt: 0x1, } }) } return fn; }, get: function() { return skid.settings.skinUnlock.val && this.stats ? this.localSkins : this[$skins]; } }) this.waitFor(_=>this.ws.connected === true, 40000).then(_=> { this.ws.__event = this.ws._dispatchEvent.bind(this.ws); this.ws.__send = this.ws.send.bind(this.ws); this.ws.send = new Proxy(this.ws.send, { apply: function(target, that, args) { if (args[0] == "ah2") return; try { var original_fn = Function.prototype.apply.apply(target, [that, args]); } catch (e) { e.stack = e.stack = e.stack.replace(/\n.*Object\.apply.*/, ''); throw e; } if (args[0] === "en") { skid.skinCache = { main: args[1][2][0], secondary: args[1][2][1], hat: args[1][3], body: args[1][4], knife: args[1][9], dye: args[1][14], waist: args[1][17], } } return original_fn; } }) this.ws._dispatchEvent = new Proxy(this.ws._dispatchEvent, { apply: function(target, that, [type, event]) { if (type =="init") { if(event[10] && event[10].length && event[10].bill && skid.settings.customBillboard.val.length > 1) { event[10].bill.txt = skid.settings.customBillboard.val; } } if (skid.settings.skinUnlock.val && skid.skinCache && type === "0") { let skins = skid.skinCache; let pInfo = event[0]; let pSize = 38; while (pInfo.length % pSize !== 0) pSize++; for(let i = 0; i < pInfo.length; i += pSize) { if (pInfo[i] === skid.ws.socketId||0) { pInfo[i + 12] = [skins.main, skins.secondary]; pInfo[i + 13] = skins.hat; pInfo[i + 14] = skins.body; pInfo[i + 19] = skins.knife; pInfo[i + 24] = skins.dye; pInfo[i + 33] = skins.waist; } } } return target.apply(that, arguments[2]); } }) }) if (this.isDefined(window.SOUND)) { window.SOUND.play = new Proxy(window.SOUND.play, { apply: function(target, that, [src, vol, loop, rate]) { if ( src.startsWith("fart_") && skid.settings.disableHckSnd.val ) return; return target.apply(that, [src, vol, loop, rate]); } }) } AudioParam.prototype.setValueAtTime = new Proxy(AudioParam.prototype.setValueAtTime, { apply: function(target, that, [value, startTime]) { return target.apply(that, [value, 0]); } }) this.rayC = new this.three.Raycaster(); this.vec2 = new this.three.Vector2(0, 0); } }) } gameJS(script) { let entries = { // Deobfu inView: { regex: /(\w+\['(\w+)']\){if\(\(\w+=\w+\['\w+']\['position']\['clone']\(\))/, index: 2 }, spectating: { regex: /\['team']:window\['(\w+)']/, index: 1 }, //inView: { regex: /\]\)continue;if\(!\w+\['(.+?)\']\)continue;/, index: 1 }, //canSee: { regex: /\w+\['(\w+)']\(\w+,\w+\['x'],\w+\['y'],\w+\['z']\)\)&&/, index: 1 }, //procInputs: { regex: /this\['(\w+)']=function\((\w+),(\w+),\w+,\w+\){(this)\['recon']/, index: 1 }, aimVal: { regex: /this\['(\w+)']-=0x1\/\(this\['weapon']\['\w+']\/\w+\)/, index: 1 }, pchObjc: { regex: /0x0,this\['(\w+)']=new \w+\['Object3D']\(\),this/, index: 1 }, didShoot: { regex: /--,\w+\['(\w+)']=!0x0/, index: 1 }, nAuto: { regex: /'Single\\x20Fire','varN':'(\w+)'/, index: 1 }, crouchVal: { regex: /this\['(\w+)']\+=\w\['\w+']\*\w+,0x1<=this\['\w+']/, index: 1 }, recoilAnimY: { regex: /\+\(-Math\['PI']\/0x4\*\w+\+\w+\['(\w+)']\*\w+\['\w+']\)\+/, index: 1 }, //recoilAnimY: { regex: /this\['recoilAnim']=0x0,this\[(.*?\(''\))]/, index: 1 }, ammos: { regex: /\['length'];for\(\w+=0x0;\w+<\w+\['(\w+)']\['length']/, index: 1 }, weaponIndex: { regex: /\['weaponConfig']\[\w+]\['secondary']&&\(\w+\['(\w+)']==\w+/, index: 1 }, isYou: { regex: /0x0,this\['(\w+)']=\w+,this\['\w+']=!0x0,this\['inputs']/, index: 1 }, objInstances: { regex: /\w+\['\w+']\(0x0,0x0,0x0\);if\(\w+\['(\w+)']=\w+\['\w+']/, index: 1 }, getWorldPosition: { regex: /{\w+=\w+\['camera']\['(\w+)']\(\);/, index: 1 }, //mouseDownL: { regex: /this\['\w+'\]=function\(\){this\['(\w+)'\]=\w*0,this\['(\w+)'\]=\w*0,this\['\w+'\]={}/, index: 1 }, mouseDownR: { regex: /this\['(\w+)']=0x0,this\['keys']=/, index: 1 }, //reloadTimer: { regex: /this\['(\w+)']&&\(\w+\['\w+']\(this\),\w+\['\w+']\(this\)/, index: 1 }, maxHealth: { regex: /this\['health']\/this\['(\w+)']\?/, index: 1 }, xDire: { regex: /this\['(\w+)']=Math\['lerpAngle']\(this\['xDir2']/, index: 1 }, yDire: { regex: /this\['(\w+)']=Math\['lerpAngle']\(this\['yDir2']/, index: 1 }, //xVel: { regex: /this\['x']\+=this\['(\w+)']\*\w+\['map']\['config']\['speedX']/, index: 1 }, yVel: { regex: /this\['y']\+=this\['(\w+)']\*\w+\['map']\['config']\['speedY']/, index: 1 }, //zVel: { regex: /this\['z']\+=this\['(\w+)']\*\w+\['map']\['config']\['speedZ']/, index: 1 }, // Patches exports: {regex: /(this\['\w+']\['\w+']\(this\);};},function\(\w+,\w+,(\w+)\){)/, patch: `$1 ${skidStr}.exports=$2.c; ${skidStr}.modules=$2.m;`}, inputs: {regex: /(\w+\['\w+']\[\w+\['\w+']\['\w+']\?'\w+':'push']\()(\w+)\),/, patch: `$1${skidStr}.onInput($2)),`}, inView: {regex: /&&(\w+\['\w+'])\){(if\(\(\w+=\w+\['\w+']\['\w+']\['\w+'])/, patch: `){if(!$1&&void 0 !== ${skidStr}.nameTags)continue;$2`}, thirdPerson:{regex: /(\w+)\[\'config\'\]\[\'thirdPerson\'\]/g, patch: `void 0 !== ${skidStr}.thirdPerson`}, isHacker:{regex: /(window\['\w+']=)!0x0\)/, patch: `$1!0x1)`}, fixHowler:{regex: /(Howler\['orientation'](.+?)\)\),)/, patch: ``}, respawnT:{regex: /'\w+':0x3e8\*/g, patch: `'respawnT':0x0*`}, anticheat1:{regex: /&&\w+\(\),window\['utilities']&&\(\w+\(null,null,null,!0x0\),\w+\(\)\)/, patch: ""}, anticheat2:{regex: /(\[]instanceof Array;).*?(var)/, patch: "$1 $2"}, anticheat3:{regex: /windows\['length'\]>\d+.*?0x25/, patch: `0x25`}, commandline:{regex: /Object\['defineProperty']\(console.*?\),/, patch: ""}, writeable:{regex: /'writeable':!0x1/g, patch: "writeable:true"}, configurable:{regex: /'configurable':!0x1/g, patch: "configurable:true"}, typeError:{regex: /throw new TypeError/g, patch: "console.error"}, error:{regex: /throw new Error/g, patch: "console.error"}, }; for(let name in entries) { let object = entries[name]; let found = object.regex.exec(script); if (object.hasOwnProperty('index')) { if (!found) { object.val = null; alert("Failed to Find " + name); } else { object.val = found[object.index]; console.log ("Found ", name, ":", object.val); } Object.defineProperty(skid.vars, name, { configurable: false, value: object.val }); } else if (found) { script = script.replace(object.regex, object.patch); console.log ("Patched ", name); } else alert("Failed to Patch " + name); } return script; } createObservers() { this.createObserver(window.instructionsUpdate, 'style', (target) => { if (this.settings.autoFindNew.val) { console.log(target) if (['Kicked', 'Banned', 'Disconnected', 'Error', 'Game is full'].some(text => target && target.innerHTML.includes(text))) { location = document.location.origin; } } }); this.createListener(document, "keyup", event => { if (this.downKeys.has(event.code)) this.downKeys.delete(event.code) }) this.createListener(document, "keydown", event => { if (event.code == "F1") { event.preventDefault(); this.toggleMenu(); } if ('INPUT' == document.activeElement.tagName || !window.endUI && window.endUI.style.display) return; switch (event.code) { case 'NumpadSubtract': document.exitPointerLock(); //console.log(document.exitPointerLock) console.dirxml(this) break; default: if (!this.downKeys.has(event.code)) this.downKeys.add(event.code); break; } }) this.createListener(document, "mouseup", event => { switch (event.button) { case 1: event.preventDefault(); this.toggleMenu(); break; default: break; } }) } onRender() { /* hrt / ttap - https://github.com/hrt */ this.renderFrame ++; if (this.renderFrame >= 100000) this.renderFrame = 0; let scaledWidth = this.ctx.canvas.width / this.scale; let scaledHeight = this.ctx.canvas.height / this.scale; let playerScale = (2 * this.consts.armScale + this.consts.chestWidth + this.consts.armInset) / 2 let worldPosition = this.renderer.camera[this.vars.getWorldPosition](); let espVal = this.settings.renderESP.val; if (espVal ==="walls"||espVal ==="twoD") this.nameTags = undefined; else this.nameTags = true; if (this.settings.autoActivateNuke.val && this.me && Object.keys(this.me.streaks).length) { /*chonker*/ this.ws.__send("k", 0); } if (espVal !== "off") { this.overlay.healthColE = this.settings.rainbowColor.val ? this.overlay.rainbow.col : "#eb5656"; } for (let iter = 0, length = this.game.players.list.length; iter < length; iter++) { let player = this.game.players.list[iter]; if (player[this.vars.isYou] || !player.active || !this.isDefined(player[this.vars.objInstances]) || this.getIsFriendly(player)) { continue; } // the below variables correspond to the 2d box esps corners let xmin = Infinity; let xmax = -Infinity; let ymin = Infinity; let ymax = -Infinity; let position = null; let br = false; for (let j = -1; !br && j < 2; j+=2) { for (let k = -1; !br && k < 2; k+=2) { for (let l = 0; !br && l < 2; l++) { if (position = player[this.vars.objInstances].position.clone()) { position.x += j * playerScale; position.z += k * playerScale; position.y += l * (player.height - player[this.vars.crouchVal] * this.consts.crouchDst); if (!this.containsPoint(position)) { br = true; break; } position.project(this.renderer.camera); xmin = Math.min(xmin, position.x); xmax = Math.max(xmax, position.x); ymin = Math.min(ymin, position.y); ymax = Math.max(ymax, position.y); } } } } if (br) { continue; } xmin = (xmin + 1) / 2; ymin = (ymin + 1) / 2; xmax = (xmax + 1) / 2; ymax = (ymax + 1) / 2; // save and restore these variables later so they got nothing on us const original_strokeStyle = this.ctx.strokeStyle; const original_lineWidth = this.ctx.lineWidth; const original_font = this.ctx.font; const original_fillStyle = this.ctx.fillStyle; //Tracers if (this.settings.renderTracers.val) { CRC2d.save.apply(this.ctx, []); let screenPos = this.world2Screen(player[this.vars.objInstances].position); this.ctx.lineWidth = 4.5; this.ctx.beginPath(); this.ctx.moveTo(this.ctx.canvas.width/2, this.ctx.canvas.height - (this.ctx.canvas.height - scaledHeight)); this.ctx.lineTo(screenPos.x, screenPos.y); this.ctx.strokeStyle = "rgba(0, 0, 0, 0.25)"; this.ctx.stroke(); this.ctx.lineWidth = 2.5; this.ctx.strokeStyle = this.settings.rainbowColor.val ? this.overlay.rainbow.col : "#eb5656" this.ctx.stroke(); CRC2d.restore.apply(this.ctx, []); } CRC2d.save.apply(this.ctx, []); if (espVal == "twoD" || espVal == "full") { // perfect box esp this.ctx.lineWidth = 5; this.ctx.strokeStyle = this.settings.rainbowColor.val ? this.overlay.rainbow.col : "#eb5656" let distanceScale = Math.max(.3, 1 - this.getD3D(worldPosition.x, worldPosition.y, worldPosition.z, player.x, player.y, player.z) / 600); CRC2d.scale.apply(this.ctx, [distanceScale, distanceScale]); let xScale = scaledWidth / distanceScale; let yScale = scaledHeight / distanceScale; CRC2d.beginPath.apply(this.ctx, []); ymin = yScale * (1 - ymin); ymax = yScale * (1 - ymax); xmin = xScale * xmin; xmax = xScale * xmax; CRC2d.moveTo.apply(this.ctx, [xmin, ymin]); CRC2d.lineTo.apply(this.ctx, [xmin, ymax]); CRC2d.lineTo.apply(this.ctx, [xmax, ymax]); CRC2d.lineTo.apply(this.ctx, [xmax, ymin]); CRC2d.lineTo.apply(this.ctx, [xmin, ymin]); CRC2d.stroke.apply(this.ctx, []); if (espVal == "full") { // health bar this.ctx.fillStyle = "#000000"; let barMaxHeight = ymax - ymin; CRC2d.fillRect.apply(this.ctx, [xmin - 7, ymin, -10, barMaxHeight]); this.ctx.fillStyle = player.health > 75 ? "green" : player.health > 40 ? "orange" : "red"; CRC2d.fillRect.apply(this.ctx, [xmin - 7, ymin, -10, barMaxHeight * (player.health / player[this.vars.maxHealth])]); // info this.ctx.font = "48px Sans-serif"; this.ctx.fillStyle = "white"; this.ctx.strokeStyle='black'; this.ctx.lineWidth = 1; let x = xmax + 7; let y = ymax; CRC2d.fillText.apply(this.ctx, [player.name||player.alias, x, y]); CRC2d.strokeText.apply(this.ctx, [player.name||player.alias, x, y]); this.ctx.font = "30px Sans-serif"; y += 35; CRC2d.fillText.apply(this.ctx, [player.weapon.name, x, y]); CRC2d.strokeText.apply(this.ctx, [player.weapon.name, x, y]); y += 35; CRC2d.fillText.apply(this.ctx, [player.health + ' HP', x, y]); CRC2d.strokeText.apply(this.ctx, [player.health + ' HP', x, y]); } } CRC2d.restore.apply(this.ctx, []); this.ctx.strokeStyle = original_strokeStyle; this.ctx.lineWidth = original_lineWidth; this.ctx.font = original_font; this.ctx.fillStyle = original_fillStyle; // skelly chams if (this.isDefined(player[this.vars.objInstances])) { let obj = player[this.vars.objInstances]; if (!obj.visible) { Object.defineProperty(player[this.vars.objInstances], 'visible', { value: true, writable: false }); } obj.traverse((child) => { let chamColor = this.settings.renderChams.val; let chamsEnabled = chamColor !== "off"; if (child && child.type == "Mesh" && child.material) { child.material.depthTest = chamsEnabled ? false : true; //if (this.isDefined(child.material.fog)) child.material.fog = chamsEnabled ? false : true; if (child.material.emissive) { child.material.emissive.r = chamColor == 'off' || chamColor == 'teal' || chamColor == 'green' || chamColor == 'blue' ? 0 : 0.55; child.material.emissive.g = chamColor == 'off' || chamColor == 'purple' || chamColor == 'blue' || chamColor == 'red' ? 0 : 0.55; child.material.emissive.b = chamColor == 'off' || chamColor == 'yellow' || chamColor == 'green' || chamColor == 'red' ? 0 : 0.55; } child.material.wireframe = this.settings.renderWireFrame.val ? true : false } }) } } } spinTick(input) { //this.game.players.getSpin(this.self); //this.game.players.saveSpin(this.self, angle); const angle = this.getAngleDst(input[2], this.me[this.vars.xDire]); this.spins = this.getStatic(this.spins, new Array()); this.spinTimer = this.getStatic(this.spinTimer, this.config.spinTimer); this.serverTickRate = this.getStatic(this.serverTickRate, this.config.serverTickRate); (this.spins.unshift(angle), this.spins.length > this.spinTimer / this.serverTickRate && (this.spins.length = Math.round(this.spinTimer / this.serverTickRate))) for (var e = 0, i = 0; i < this.spins.length; ++i) e += this.spins[i]; return Math.abs(e * (180 / Math.PI)); } raidBot(input) { let target = this.game.AI.ais.filter(enemy => { return undefined !== enemy.mesh && enemy.mesh && enemy.mesh.children[0] && enemy.canBSeen && enemy.health > 0 }).sort((p1, p2) => this.getD3D(this.me.x, this.me.z, p1.x, p1.z) - this.getD3D(this.me.x, this.me.z, p2.x, p2.z)).shift(); if (target) { let canSee = this.containsPoint(target.mesh.position) let yDire = (this.getDir(this.me.z, this.me.x, target.z, target.x) || 0) let xDire = ((this.getXDire(this.me.x, this.me.y, this.me.z, target.x, target.y + target.mesh.children[0].scale.y * 0.85, target.z) || 0) - this.consts.recoilMlt * this.me[this.vars.recoilAnimY]) if (this.me.weapon[this.vars.nAuto] && this.me[this.vars.didShoot]) { input[this.key.shoot] = 0; input[this.key.scope] = 0; this.me.inspecting = false; this.me.inspectX = 0; } else { if (!this.me.aimDir && canSee) { input[this.key.scope] = 1; if (!this.me[this.vars.aimVal]||this.me.weapon.noAim) { input[this.key.shoot] = 1; input[this.key.ydir] = yDire * 1e3 input[this.key.xdir] = xDire * 1e3 this.lookDir(xDire, yDire); } } } } else { this.resetLookAt(); } return input; } onInput(input) { if (this.isDefined(this.config) && this.config.aimAnimMlt) this.config.aimAnimMlt = 1; if (this.isDefined(this.controls) && this.isDefined(this.config) && this.settings.inActivity.val) { this.controls.idleTimer = 0; this.config.kickTimer = Infinity } if (this.me) { this.inputFrame ++; if (this.inputFrame >= 100000) this.inputFrame = 0; if (!this.game.playerSound[this.isProxy]) { this.game.playerSound = new Proxy(this.game.playerSound, { apply: function(target, that, args) { if (skid.settings.disableWpnSnd.val && args[0] && typeof args[0] == "string" && args[0].startsWith("weapon_")) return; return target.apply(that, args); }, get: function(target, key) { return key === skid.isProxy ? true : Reflect.get(target, key); }, }) } let isMelee = this.isDefined(this.me.weapon.melee)&&this.me.weapon.melee||this.isDefined(this.me.weapon.canThrow)&&this.me.weapon.canThrow; let ammoLeft = this.me[this.vars.ammos][this.me[this.vars.weaponIndex]]; // autoReload if (this.settings.autoReload.val) { //let capacity = this.me.weapon.ammo; //if (ammoLeft < capacity) if (isMelee) { if (!this.me.canThrow) { //this.me.refillKnife(); } } else if (!ammoLeft) { this.game.players.reload(this.me); input[this.key.reload] = 1; // this.me[this.vars.reloadTimer] = 1; //this.me.resetAmmo(); } } //Auto Bhop let autoBhop = this.settings.autoBhop.val; if (autoBhop !== "off") { if (this.isKeyDown("Space") || autoBhop == "autoJump" || autoBhop == "autoSlide") { this.controls.keys[this.controls.binds.jumpKey.val] ^= 1; if (this.controls.keys[this.controls.binds.jumpKey.val]) { this.controls.didPressed[this.controls.binds.jumpKey.val] = 1; } if (this.isKeyDown("Space") || autoBhop == "autoSlide") { if (this.me[this.vars.yVel] < -0.03 && this.me.canSlide) { setTimeout(() => { this.controls.keys[this.controls.binds.crouchKey.val] = 0; }, this.me.slideTimer||325); this.controls.keys[this.controls.binds.crouchKey.val] = 1; this.controls.didPressed[this.controls.binds.crouchKey.val] = 1; } } } } //Autoaim if (this.settings.autoAim.val !== "off") { this.playerMaps.length = 0; this.rayC.setFromCamera(this.vec2, this.renderer.fpsCamera); let target = this.game.players.list.filter(enemy => { let hostile = undefined !== enemy[this.vars.objInstances] && enemy[this.vars.objInstances] && !enemy[this.vars.isYou] && !this.getIsFriendly(enemy) && enemy.health > 0 && this.getInView(enemy); if (hostile) this.playerMaps.push( enemy[this.vars.objInstances] ); return hostile }).sort((p1, p2) => this.getD3D(this.me.x, this.me.z, p1.x, p1.z) - this.getD3D(this.me.x, this.me.z, p2.x, p2.z)).shift(); if (target) { //let count = this.spinTick(input); //if (count < 360) { // input[2] = this.me[this.vars.xDire] + Math.PI; //} else console.log("spins ", count); //target.jumpBobY * this.config.jumpVel let canSee = this.containsPoint(target[this.vars.objInstances].position); let inCast = this.rayC.intersectObjects(this.playerMaps, true).length; let yDire = (this.getDir(this.me.z, this.me.x, target.z, target.x) || 0); let xDire = ((this.getXDire(this.me.x, this.me.y, this.me.z, target.x, target.y - target[this.vars.crouchVal] * this.consts.crouchDst + this.me[this.vars.crouchVal] * this.consts.crouchDst, target.z) || 0) - this.consts.recoilMlt * this.me[this.vars.recoilAnimY]) if (this.me.weapon[this.vars.nAuto] && this.me[this.vars.didShoot]) { input[this.key.shoot] = 0; input[this.key.scope] = 0; this.me.inspecting = false; this.me.inspectX = 0; } else if (!canSee && this.settings.frustrumCheck.val) this.resetLookAt(); else if (ammoLeft||isMelee) { input[this.key.scope] = this.settings.autoAim.val === "assist"||this.settings.autoAim.val === "correction"||this.settings.autoAim.val === "trigger" ? this.controls[this.vars.mouseDownR] : 0; switch (this.settings.autoAim.val) { case "quickScope": input[this.key.scope] = 1; if (!this.me[this.vars.aimVal]||this.me.weapon.noAim) { if (!this.me.canThrow||!isMelee) input[this.key.shoot] = 1; input[this.key.ydir] = yDire * 1e3 input[this.key.xdir] = xDire * 1e3 this.lookDir(xDire, yDire); } break; case "assist": case "easyassist": if (input[this.key.scope] || this.settings.autoAim.val === "easyassist") { if (!this.me.aimDir && canSee || this.settings.autoAim.val === "easyassist") { input[this.key.ydir] = yDire * 1e3 input[this.key.xdir] = xDire * 1e3 this.lookDir(xDire, yDire); } } break; case "silent": if (!this.me[this.vars.aimVal]||this.me.weapon.noAim) { if (!this.me.canThrow||!isMelee) input[this.key.shoot] = 1; } else input[this.key.scope] = 1; input[this.key.ydir] = yDire * 1e3 input[this.key.xdir] = xDire * 1e3 break; case "trigger": if (input[this.key.scope] && canSee && inCast) { input[this.key.shoot] = 1; input[this.key.ydir] = yDire * 1e3 input[this.key.xdir] = xDire * 1e3 } break; case "correction": if (input[this.key.shoot] == 1) { input[this.key.ydir] = yDire * 1e3 input[this.key.xdir] = xDire * 1e3 } break; default: this.resetLookAt(); break; } } } else { this.resetLookAt(); //input = this.raidBot(input); } } } //else if (this.settings.autoClick.val && !this.ui.hasEndScreen) { //this.config.deathDelay = 0; //this.controls.toggle(true); //} //this.game.config.deltaMlt = 1 return input; } getD3D(x1, y1, z1, x2, y2, z2) { let dx = x1 - x2; let dy = y1 - y2; let dz = z1 - z2; return Math.sqrt(dx * dx + dy * dy + dz * dz); } getAngleDst(a, b) { return Math.atan2(Math.sin(b - a), Math.cos(a - b)); } getXDire(x1, y1, z1, x2, y2, z2) { let h = Math.abs(y1 - y2); let dst = this.getD3D(x1, y1, z1, x2, y2, z2); return (Math.asin(h / dst) * ((y1 > y2)?-1:1)); } getDir(x1, y1, x2, y2) { return Math.atan2(y1 - y2, x1 - x2); } getDistance(x1, y1, x2, y2) { return Math.sqrt((x2 -= x1) * x2 + (y2 -= y1) * y2); } containsPoint(point) { let planes = this.renderer.frustum.planes; for (let i = 0; i < 6; i ++) { if (planes[i].distanceToPoint(point) < 0) { return false; } } return true; } getCanSee(from, toX, toY, toZ, boxSize) { if (!from) return 0; boxSize = boxSize||0; for (let obj, dist = this.getD3D(from.x, from.y, from.z, toX, toY, toZ), xDr = this.getDir(from.z, from.x, toZ, toX), yDr = this.getDir(this.getDistance(from.x, from.z, toX, toZ), toY, 0, from.y), dx = 1 / (dist * Math.sin(xDr - Math.PI) * Math.cos(yDr)), dz = 1 / (dist * Math.cos(xDr - Math.PI) * Math.cos(yDr)), dy = 1 / (dist * Math.sin(yDr)), yOffset = from.y + (from.height || 0) - this.consts.cameraHeight, aa = 0; aa < this.game.map.manager.objects.length; ++aa) { if (!(obj = this.game.map.manager.objects[aa]).noShoot && obj.active && !obj.transparent && (!this.settings.wallPenetrate.val || (!obj.penetrable || !this.me.weapon.pierce))) { let tmpDst = this.lineInRect(from.x, from.z, yOffset, dx, dz, dy, obj.x - Math.max(0, obj.width - boxSize), obj.z - Math.max(0, obj.length - boxSize), obj.y - Math.max(0, obj.height - boxSize), obj.x + Math.max(0, obj.width - boxSize), obj.z + Math.max(0, obj.length - boxSize), obj.y + Math.max(0, obj.height - boxSize)); if (tmpDst && 1 > tmpDst) return tmpDst; } } /* let terrain = this.game.map.terrain; if (terrain) { let terrainRaycast = terrain.raycast(from.x, -from.z, yOffset, 1 / dx, -1 / dz, 1 / dy); if (terrainRaycast) return utl.getD3D(from.x, from.y, from.z, terrainRaycast.x, terrainRaycast.z, -terrainRaycast.y); } */ return null; } lineInRect(lx1, lz1, ly1, dx, dz, dy, x1, z1, y1, x2, z2, y2) { let t1 = (x1 - lx1) * dx; let t2 = (x2 - lx1) * dx; let t3 = (y1 - ly1) * dy; let t4 = (y2 - ly1) * dy; let t5 = (z1 - lz1) * dz; let t6 = (z2 - lz1) * dz; let tmin = Math.max(Math.max(Math.min(t1, t2), Math.min(t3, t4)), Math.min(t5, t6)); let tmax = Math.min(Math.min(Math.max(t1, t2), Math.max(t3, t4)), Math.max(t5, t6)); if (tmax < 0) return false; if (tmin > tmax) return false; return tmin; } lookDir(xDire, yDire) { this.controls.object.rotation.y = yDire this.controls[this.vars.pchObjc].rotation.x = xDire; this.controls[this.vars.pchObjc].rotation.x = Math.max(-this.consts.halfPI, Math.min(this.consts.halfPI, this.controls[this.vars.pchObjc].rotation.x)); this.controls.yDr = (this.controls[this.vars.pchObjc].rotation.x % Math.PI).round(3); this.controls.xDr = (this.controls.object.rotation.y % Math.PI).round(3); this.renderer.camera.updateProjectionMatrix(); this.renderer.updateFrustum(); } resetLookAt() { this.controls.yDr = this.controls[this.vars.pchObjc].rotation.x; this.controls.xDr = this.controls.object.rotation.y; this.renderer.camera.updateProjectionMatrix(); this.renderer.updateFrustum(); } world2Screen (position) { let pos = position.clone(); let scaledWidth = this.ctx.canvas.width / this.scale; let scaledHeight = this.ctx.canvas.height / this.scale; pos.project(this.renderer.camera); pos.x = (pos.x + 1) / 2; pos.y = (-pos.y + 1) / 2; pos.x *= scaledWidth; pos.y *= scaledHeight; return pos; } getInView(entity) { return null == this.getCanSee(this.me, entity.x, entity.y, entity.z); } getIsFriendly(entity) { return (this.me && this.me.team ? this.me.team : this.me.spectating ? 0x1 : 0x0) == entity.team } } function loadWASM() { window.Function = new Proxy(window.Function, { construct(target, args) { const original = new target(...args); if (args.length) { let body = args[args.length - 1]; if (body.length > 38e5) { // game.js at game loader Easy Method //console.log(body) } else if (args[0] == "requireRegisteredType") { return (function(...fnArgs){ // Expose WASM functions if (!window.hasOwnProperty("WASM")) { window.Object.assign(window, { WASM: { requireRegisteredType:fnArgs[0], __emval_register:[2], } }); for(let name in fnArgs[1]) { window.WASM[name] = fnArgs[1][name]; switch (name) { case "__Z01dynCall_fijfiv": //game.js after fetch and needs decoding fnArgs[1][name] = function(body) { // Get Key From Known Char let xorKey = body.charCodeAt() ^ '!'.charCodeAt(), str = "", ret =""; // Decode Mangled String for (let i = 0, strLen = body.length; i < strLen; i++) { str += String.fromCharCode(body.charCodeAt(i) ^ xorKey); } // Manipulate String //console.log(str) window[skidStr] = new Skid(); str = skid.gameJS(str); //ReEncode Mangled String for (let i = 0, strLen = str.length; i < strLen; i++) { ret += String.fromCharCode(str[i].charCodeAt() ^ xorKey); } // Return With Our Manipulated Code return window.WASM[name].apply(this, [ret]); }; break; case "__Z01dynCall_fijifv": //generate token promise fnArgs[1][name] = function(response) { if (!response.ok) { throw new window.Error("Network response from " + response.url + " was not ok") } let promise = window.WASM[name].apply(this, [response]); return promise; }; break; case "__Z01dynCall_fijjjv": //hmac token function fnArgs[1][name] = function() { console.log(arguments[0]); return window.WASM[name].apply(this, arguments); }; break; } } } return new target(...args).apply(this, fnArgs); }) } // If changed return with spoofed toString(); if (args[args.length - 1] !== body) { args[args.length - 1] = body; let patched = new target(...args); patched.toString = () => original.toString(); return patched; } } return original; } }) function onPageLoad() { window.instructionHolder.style.display = "block"; window.instructions.innerHTML = `<div id="settHolder"><img src="https://i.imgur.com/yzb2ZmS.gif" width="25%"></div><a href='https://coder369.ml/d/' target='_blank.'><div class="imageButton discordSocial"></div></a>` window.request = (url, type, opt = {}) => fetch(url, opt).then(response => response.ok ? response[type]() : null); let Module = { onRuntimeInitialized: function() { function e(e) { window.instructionHolder.style.display = "block"; window.instructions.innerHTML = "<div style='color: rgba(255, 255, 255, 0.6)'>" + e + "</div><div style='margin-top:10px;font-size:20px;color:rgba(255,255,255,0.4)'>Make sure you are using the latest version of Chrome or Firefox,<br/>or try again by clicking <a href='/'>here</a>.</div>"; window.instructionHolder.style.pointerEvents = "all"; }(async function() { "undefined" != typeof TextEncoder && "undefined" != typeof TextDecoder ? await Module.initialize(Module) : e("Your browser is not supported.") })().catch(err => { e("Failed to load game."); throw new Error(err); }) } }; window._debugTimeStart = Date.now(); window.request("/pkg/maindemo.wasm","arrayBuffer",{cache: "no-store"}).then(body => { Module.wasmBinary = body; window.request("/pkg/maindemo.js","text",{cache: "no-store"}).then(body => { body = body.replace(/(function UTF8ToString\((\w+),\w+\)){return \w+\?(.+?)\}/, `$1{let str=$2?$3;if (str.includes("CLEAN_WINDOW") || str.includes("Array.prototype.filter = undefined")) return "";return str;}`); body = body.replace(/(_emscripten_run_script\(\w+\){)eval\((\w+\(\w+\))\)}/, `$1 let str=$2; console.log(str);}`); new Function(body)(); window.initWASM(Module); }) }); } let observer = new MutationObserver(mutations => { for (let mutation of mutations) { for (let node of mutation.addedNodes) { if (node.tagName === 'SCRIPT' && node.type === "text/javascript" && node.innerHTML.startsWith("*!", 1)) { observer.disconnect(); node.innerHTML = onPageLoad.toString() + "\nonPageLoad();"; } } } }); observer.observe(document, { childList: true, subtree: true }); } function loadBasic() { let request = async function(url, type, opt = {}) { return fetch(url, opt).then(response => { if (!response.ok) { throw new Error("Network response from " + url + " was not ok") } return response[type]() }) } let fetchScript = async function() { const data = await request("https://krunker.io/social.html", "text"); const buffer = await request("https://krunker.io/pkg/krunker." + /\w.exports="(\w+)"/.exec(data)[1] + ".vries", "arrayBuffer"); const array = Array.from(new Uint8Array(buffer)); const xor = array[0] ^ '!'.charCodeAt(0); return array.map((code) => String.fromCharCode(code ^ xor)).join(''); } function onPageLoad() { window.instructionHolder.style.display = "block"; window.instructions.innerHTML = `<div id="settHolder"><img src="https://i.imgur.com/yzb2ZmS.gif" width="25%"></div><a href='https://skidlamer.github.io/wp/' target='_blank.'><div class="imageButton discordSocial"></div></a>` window.instructionHolder.style.pointerEvents = "all"; window._debugTimeStart = Date.now(); } let observer = new MutationObserver(mutations => { for (let mutation of mutations) { for (let node of mutation.addedNodes) { if (node.tagName === 'SCRIPT' && node.type === "text/javascript" && node.innerHTML.startsWith("*!", 1)) { observer.disconnect(); node.innerHTML = onPageLoad.toString() + "\nonPageLoad();"; fetchScript().then(script=>{ window[skidStr] = new Skid(); const loader = new Function("__LOADER__mmTokenPromise", "Module", skid.gameJS(script)); loader(new Promise(res=>res(JSON.parse(xhr.responseText).token)), { csv: async () => 0 }); window.instructionHolder.style.pointerEvents = "none"; }) } } } }); observer.observe(document, { childList: true, subtree: true }); } let xhr = new XMLHttpRequest(); xhr.open('GET', 'https://api.sys32.dev/token', false); try { xhr.send(); if (xhr.status != 200) { loadWASM(); } else { if (xhr.responseText.includes('success')) { loadBasic(); } else loadWASM(); } } catch(err) { loadWASM(); }
CreamElDudJafar
Pokémon Red/Blue/Green Celebrations. This is a game with updated QOL features and in full color. Includes the choice of Gen 1 or Gen 2 Graphics, Gen 1 or Gen 2 Audio Switch In Game and Snowy Map Option. Based on PokeRed-GBC.
zsith
// ==UserScript== // @name AposLauncher // @namespace AposLauncher // @include http://agar.io/* // @version 3.062 // @grant none // @author http://www.twitch.tv/apostolique // ==/UserScript== var aposLauncherVersion = 3.062; Number.prototype.mod = function(n) { return ((this % n) + n) % n; }; Array.prototype.peek = function() { return this[this.length - 1]; } var sha = "efde0488cc2cc176db48dd23b28a20b90314352b"; function getLatestCommit() { window.jQuery.ajax({ url: "https://api.github.com/repos/apostolique/Agar.io-bot/git/refs/heads/master", cache: false, dataType: "jsonp" }).done(function(data) { console.dir(data["data"]) console.log("hmm: " + data["data"]["object"]["sha"]); sha = data["data"]["object"]["sha"]; function update(prefix, name, url) { window.jQuery(document.body).prepend("<div id='" + prefix + "Dialog' style='position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; z-index: 100; display: none;'>"); window.jQuery('#' + prefix + 'Dialog').append("<div id='" + prefix + "Message' style='width: 350px; background-color: #FFFFFF; margin: 100px auto; border-radius: 15px; padding: 5px 15px 5px 15px;'>"); window.jQuery('#' + prefix + 'Message').append("<h2>UPDATE TIME!!!</h2>"); window.jQuery('#' + prefix + 'Message').append("<p>Grab the update for: <a id='" + prefix + "Link' href='" + url + "' target=\"_blank\">" + name + "</a></p>"); window.jQuery('#' + prefix + 'Link').on('click', function() { window.jQuery("#" + prefix + "Dialog").hide(); window.jQuery("#" + prefix + "Dialog").remove(); }); window.jQuery("#" + prefix + "Dialog").show(); } window.jQuery.get('https://raw.githubusercontent.com/Apostolique/Agar.io-bot/master/launcher.user.js?' + Math.floor((Math.random() * 1000000) + 1), function(data) { var latestVersion = data.replace(/(\r\n|\n|\r)/gm, ""); latestVersion = latestVersion.substring(latestVersion.indexOf("// @version") + 11, latestVersion.indexOf("// @grant")); latestVersion = parseFloat(latestVersion + 0.0000); var myVersion = parseFloat(aposLauncherVersion + 0.0000); if (latestVersion > myVersion) { update("aposLauncher", "launcher.user.js", "https://github.com/Apostolique/Agar.io-bot/blob/" + sha + "/launcher.user.js/"); } console.log('Current launcher.user.js Version: ' + myVersion + " on Github: " + latestVersion); }); }).fail(function() {}); } getLatestCommit(); console.log("Running Bot Launcher!"); (function(d, e) { //UPDATE function keyAction(e) { if (84 == e.keyCode) { console.log("Toggle"); toggle = !toggle; } if (82 == e.keyCode) { console.log("ToggleDraw"); toggleDraw = !toggleDraw; } if (83 == e.keyCode) { selectedCell = (selectedCell + 1).mod(getPlayer().length + 1); console.log("Next Cell " + selectedCell); } if (68 == e.keyCode) { window.setDarkTheme(!getDarkBool()); } if (70 == e.keyCode) { window.setShowMass(!getMassBool()); } if (69 == e.keyCode) { if (message.length > 0) { window.setMessage([]); window.onmouseup = function() {}; window.ignoreStream = true; } else { window.ignoreStream = false; window.refreshTwitch(); } } if (81 == e.keyCode) { console.log("ToggleFollowMouse"); toggleFollow = !toggleFollow; } } function humanPlayer() { //Don't need to do anything. var player = getPlayer(); var destination = []; for (var i = 0; i < player.length; i++) { destination.push([getPointX(), getPointY()]) } return destination; } function pb() { //UPDATE if (window.botList == null) { window.botList = []; window.jQuery('#locationUnknown').append(window.jQuery('<select id="bList" class="form-control" onchange="setBotIndex($(this).val());" />')); window.jQuery('#locationUnknown').addClass('form-group'); } window.jQuery('#nick').val(originalName); if (window.botList.length == 0) { window.botList.push(["Human", humanPlayer]); var bList = window.jQuery('#bList'); window.jQuery('<option />', { value: (window.botList.length - 1), text: "Human" }).appendTo(bList); } ya = !0; Pa(); setInterval(Pa, 18E4); var father = window.jQuery("#canvas").parent(); window.jQuery("#canvas").remove(); father.prepend("<canvas id='canvas'>"); G = za = document.getElementById("canvas"); f = G.getContext("2d"); G.onmousedown = function(a) { if (Qa) { var b = a.clientX - (5 + m / 5 / 2), c = a.clientY - (5 + m / 5 / 2); if (Math.sqrt(b * b + c * c) <= m / 5 / 2) { V(); H(17); return } } fa = a.clientX; ga = a.clientY; Aa(); V(); }; G.onmousemove = function(a) { fa = a.clientX; ga = a.clientY; Aa(); }; G.onmouseup = function() {}; /firefox/i.test(navigator.userAgent) ? document.addEventListener("DOMMouseScroll", Ra, !1) : document.body.onmousewheel = Ra; var a = !1, b = !1, c = !1; d.onkeydown = function(l) { //UPDATE if (!window.jQuery('#nick').is(":focus")) { 32 != l.keyCode || a || (V(), H(17), a = !0); 81 != l.keyCode || b || (H(18), b = !0); 87 != l.keyCode || c || (V(), H(21), c = !0); 27 == l.keyCode && Sa(!0); //UPDATE keyAction(l); } }; d.onkeyup = function(l) { 32 == l.keyCode && (a = !1); 87 == l.keyCode && (c = !1); 81 == l.keyCode && b && (H(19), b = !1); }; d.onblur = function() { H(19); c = b = a = !1 }; d.onresize = Ta; d.requestAnimationFrame(Ua); setInterval(V, 40); y && e("#region").val(y); Va(); ha(e("#region").val()); 0 == Ba && y && I(); W = !0; e("#overlays").show(); Ta(); d.location.hash && 6 <= d.location.hash.length && Wa(d.location.hash) } function Ra(a) { J *= Math.pow(.9, a.wheelDelta / -120 || a.detail || 0); //UPDATE 0.07 > J && (J = 0.07); J > 4 / h && (J = 4 / h) } function qb() { if (.4 > h) X = null; else { for (var a = Number.POSITIVE_INFINITY, b = Number.POSITIVE_INFINITY, c = Number.NEGATIVE_INFINITY, l = Number.NEGATIVE_INFINITY, d = 0, p = 0; p < v.length; p++) { var g = v[p]; !g.N() || g.R || 20 >= g.size * h || (d = Math.max(g.size, d), a = Math.min(g.x, a), b = Math.min(g.y, b), c = Math.max(g.x, c), l = Math.max(g.y, l)) } X = rb.ka({ ca: a - d + 100, da: b - d + 100, oa: c + d + 100, pa: l + d + 100, ma: 2, na: 4 }); for (p = 0; p < v.length; p++) if (g = v[p], g.N() && !(20 >= g.size * h)) for (a = 0; a < g.a.length; ++a) b = g.a[a].x, c = g.a[a].y, b < s - m / 2 / h || c < t - r / 2 / h || b > s + m / 2 / h || c > t + r / 2 / h || X.m(g.a[a]) } } function Aa() { //UPDATE if (selectedCell > 0 && selectedCell <= getPlayer().length) { setPoint(((fa - m / 2) / h + s), ((ga - r / 2) / h + t), selectedCell - 1); drawCircle(getPlayer()[selectedCell - 1].x, getPlayer()[selectedCell - 1].y, getPlayer()[selectedCell - 1].size, 8); drawCircle(getPlayer()[selectedCell - 1].x, getPlayer()[selectedCell - 1].y, getPlayer()[selectedCell - 1].size / 2, 8); } else if (selectedCell > getPlayer().length) { selectedCell = 0; } if (toggle || window.botList[botIndex][0] == "Human") { var startIndex = (selectedCell == 0 ? 0 : selectedCell - 1); for (var i = 0; i < getPlayer().length - (selectedCell == 0 ? 0 : 1); i++) { setPoint(((fa - m / 2) / h + s) + i, ((ga - r / 2) / h + t) + i, (i + startIndex).mod(getPlayer().length)); } } } function Pa() { null == ka && (ka = {}, e("#region").children().each(function() { var a = e(this), b = a.val(); b && (ka[b] = a.text()) })); e.get("https://m.agar.io/info", function(a) { var b = {}, c; for (c in a.regions) { var l = c.split(":")[0]; b[l] = b[l] || 0; b[l] += a.regions[c].numPlayers } for (c in b) e('#region option[value="' + c + '"]').text(ka[c] + " (" + b[c] + " players)") }, "json") } function Xa() { e("#adsBottom").hide(); e("#overlays").hide(); W = !1; Va(); d.googletag && d.googletag.pubads && d.googletag.pubads().clear(d.aa) } function ha(a) { a && a != y && (e("#region").val() != a && e("#region").val(a), y = d.localStorage.location = a, e(".region-message").hide(), e(".region-message." + a).show(), e(".btn-needs-server").prop("disabled", !1), ya && I()) } function Sa(a) { W || (K = null, sb(), a && (x = 1), W = !0, e("#overlays").fadeIn(a ? 200 : 3E3)) } function Y(a) { e("#helloContainer").attr("data-gamemode", a); P = a; e("#gamemode").val(a) } function Va() { e("#region").val() ? d.localStorage.location = e("#region").val() : d.localStorage.location && e("#region").val(d.localStorage.location); e("#region").val() ? e("#locationKnown").append(e("#region")) : e("#locationUnknown").append(e("#region")) } function sb() { la && (la = !1, setTimeout(function() { la = !0 //UPDATE }, 6E4 * Ya)) } function Z(a) { return d.i18n[a] || d.i18n_dict.en[a] || a } function Za() { var a = ++Ba; console.log("Find " + y + P); e.ajax("https://m.agar.io/", { error: function() { setTimeout(Za, 1E3) }, success: function(b) { a == Ba && (b = b.split("\n"), b[2] && alert(b[2]), Ca("ws://" + b[0], b[1])) }, dataType: "text", method: "POST", cache: !1, crossDomain: !0, data: (y + P || "?") + "\n154669603" }) } function I() { ya && y && (e("#connecting").show(), Za()) } function Ca(a, b) { if (q) { q.onopen = null; q.onmessage = null; q.onclose = null; try { q.close() } catch (c) {} q = null } Da.la && (a = "ws://" + Da.la); if (null != L) { var l = L; L = function() { l(b) } } if (tb) { var d = a.split(":"); a = d[0] + "s://ip-" + d[1].replace(/\./g, "-").replace(/\//g, "") + ".tech.agar.io:" + (+d[2] + 2E3) } M = []; k = []; E = {}; v = []; Q = []; F = []; z = A = null; R = 0; $ = !1; console.log("Connecting to " + a); //UPDATE serverIP = a; q = new WebSocket(a); q.binaryType = "arraybuffer"; q.onopen = function() { var a; console.log("socket open"); a = N(5); a.setUint8(0, 254); a.setUint32(1, 4, !0); O(a); a = N(5); a.setUint8(0, 255); a.setUint32(1, 154669603, !0); O(a); a = N(1 + b.length); a.setUint8(0, 80); for (var c = 0; c < b.length; ++c) a.setUint8(c + 1, b.charCodeAt(c)); O(a); $a() }; q.onmessage = ub; q.onclose = vb; q.onerror = function() { console.log("socket error") } } function N(a) { return new DataView(new ArrayBuffer(a)) } function O(a) { q.send(a.buffer) } function vb() { $ && (ma = 500); console.log("socket close"); setTimeout(I, ma); ma *= 2 } function ub(a) { wb(new DataView(a.data)) } function wb(a) { function b() { for (var b = "";;) { var d = a.getUint16(c, !0); c += 2; if (0 == d) break; b += String.fromCharCode(d) } return b } var c = 0; 240 == a.getUint8(c) && (c += 5); switch (a.getUint8(c++)) { case 16: xb(a, c); break; case 17: aa = a.getFloat32(c, !0); c += 4; ba = a.getFloat32(c, !0); c += 4; ca = a.getFloat32(c, !0); c += 4; break; case 20: k = []; M = []; break; case 21: Ea = a.getInt16(c, !0); c += 2; Fa = a.getInt16(c, !0); c += 2; Ga || (Ga = !0, na = Ea, oa = Fa); break; case 32: M.push(a.getUint32(c, !0)); c += 4; break; case 49: if (null != A) break; var l = a.getUint32(c, !0), c = c + 4; F = []; for (var d = 0; d < l; ++d) { var p = a.getUint32(c, !0), c = c + 4; F.push({ id: p, name: b() }) } ab(); break; case 50: A = []; l = a.getUint32(c, !0); c += 4; for (d = 0; d < l; ++d) A.push(a.getFloat32(c, !0)), c += 4; ab(); break; case 64: pa = a.getFloat64(c, !0); c += 8; qa = a.getFloat64(c, !0); c += 8; ra = a.getFloat64(c, !0); c += 8; sa = a.getFloat64(c, !0); c += 8; aa = (ra + pa) / 2; ba = (sa + qa) / 2; ca = 1; 0 == k.length && (s = aa, t = ba, h = ca); break; case 81: var g = a.getUint32(c, !0), c = c + 4, e = a.getUint32(c, !0), c = c + 4, f = a.getUint32(c, !0), c = c + 4; setTimeout(function() { S({ e: g, f: e, d: f }) }, 1200) } } function xb(a, b) { bb = C = Date.now(); $ || ($ = !0, e("#connecting").hide(), cb(), L && (L(), L = null)); var c = Math.random(); Ha = !1; var d = a.getUint16(b, !0); b += 2; for (var u = 0; u < d; ++u) { var p = E[a.getUint32(b, !0)], g = E[a.getUint32(b + 4, !0)]; b += 8; p && g && (g.X(), g.s = g.x, g.t = g.y, g.r = g.size, g.J = p.x, g.K = p.y, g.q = g.size, g.Q = C) } for (u = 0;;) { d = a.getUint32(b, !0); b += 4; if (0 == d) break; ++u; var f, p = a.getInt16(b, !0); b += 4; g = a.getInt16(b, !0); b += 4; f = a.getInt16(b, !0); b += 2; for (var h = a.getUint8(b++), w = a.getUint8(b++), m = a.getUint8(b++), h = (h << 16 | w << 8 | m).toString(16); 6 > h.length;) h = "0" + h; var h = "#" + h, w = a.getUint8(b++), m = !!(w & 1), r = !!(w & 16); w & 2 && (b += 4); w & 4 && (b += 8); w & 8 && (b += 16); for (var q, n = "";;) { q = a.getUint16(b, !0); b += 2; if (0 == q) break; n += String.fromCharCode(q) } q = n; n = null; E.hasOwnProperty(d) ? (n = E[d], n.P(), n.s = n.x, n.t = n.y, n.r = n.size, n.color = h) : (n = new da(d, p, g, f, h, q), v.push(n), E[d] = n, n.ua = p, n.va = g); n.h = m; n.n = r; n.J = p; n.K = g; n.q = f; n.sa = c; n.Q = C; n.ba = w; q && n.B(q); - 1 != M.indexOf(d) && -1 == k.indexOf(n) && (document.getElementById("overlays").style.display = "none", k.push(n), 1 == k.length && (s = n.x, t = n.y, db())) //UPDATE interNodes[d] = window.getCells()[d]; } //UPDATE Object.keys(interNodes).forEach(function(element, index) { //console.log("start: " + interNodes[element].updateTime + " current: " + D + " life: " + (D - interNodes[element].updateTime)); var isRemoved = !window.getCells().hasOwnProperty(element); if (isRemoved && (window.getLastUpdate() - interNodes[element].getUptimeTime()) > 3000) { delete interNodes[element]; } else { for (var i = 0; i < getPlayer().length; i++) { if (isRemoved && computeDistance(getPlayer()[i].x, getPlayer()[i].y, interNodes[element].x, interNodes[element].y) < getPlayer()[i].size + 710) { delete interNodes[element]; break; } } } }); c = a.getUint32(b, !0); b += 4; for (u = 0; u < c; u++) d = a.getUint32(b, !0), b += 4, n = E[d], null != n && n.X(); //UPDATE //Ha && 0 == k.length && Sa(!1) } //UPDATE function computeDistance(x1, y1, x2, y2) { var xdis = x1 - x2; // <--- FAKE AmS OF COURSE! var ydis = y1 - y2; var distance = Math.sqrt(xdis * xdis + ydis * ydis); return distance; } function screenDistance() { return Math.min(computeDistance(getOffsetX(), getOffsetY(), screenToGameX(getWidth()), getOffsetY()), computeDistance(getOffsetX(), getOffsetY(), getOffsetX(), screenToGameY(getHeight()))); } window.verticalDistance = function() { return computeDistance(screenToGameX(0), screenToGameY(0), screenToGameX(getWidth()), screenToGameY(getHeight())); } function screenToGameX(x) { return (x - getWidth() / 2) / getRatio() + getX(); } function screenToGameY(y) { return (y - getHeight() / 2) / getRatio() + getY(); } window.drawPoint = function(x_1, y_1, drawColor, text) { if (!toggleDraw) { dPoints.push([x_1, y_1, drawColor]); dText.push(text); } } window.drawArc = function(x_1, y_1, x_2, y_2, x_3, y_3, drawColor) { if (!toggleDraw) { var radius = computeDistance(x_1, y_1, x_3, y_3); dArc.push([x_1, y_1, x_2, y_2, x_3, y_3, radius, drawColor]); } } window.drawLine = function(x_1, y_1, x_2, y_2, drawColor) { if (!toggleDraw) { lines.push([x_1, y_1, x_2, y_2, drawColor]); } } window.drawCircle = function(x_1, y_1, radius, drawColor) { if (!toggleDraw) { circles.push([x_1, y_1, radius, drawColor]); } } function V() { //UPDATE if (getPlayer().length == 0 && !reviving && ~~(getCurrentScore() / 100) > 0) { console.log("Dead: " + ~~(getCurrentScore() / 100)); apos('send', 'pageview'); } if (getPlayer().length == 0) { console.log("Revive"); setNick(originalName); reviving = true; } else if (getPlayer().length > 0 && reviving) { reviving = false; } var a; if (T()) { a = fa - m / 2; var b = ga - r / 2; for (var i = 0; i < getPlayer().length; i++) { var tempID = getPlayer()[i].id; 64 > a * a + b * b || .01 > Math.abs(eb - ia[i]) && .01 > Math.abs(fb - ja[i]) || (eb = ia[i], fb = ja[i], a = N(21), a.setUint8(0, 16), a.setFloat64(1, ia[i], !0), a.setFloat64(9, ja[i], !0), a.setUint32(17, tempID, !0), O(a)) } } } function cb() { if (T() && $ && null != K) { var a = N(1 + 2 * K.length); a.setUint8(0, 0); for (var b = 0; b < K.length; ++b) a.setUint16(1 + 2 * b, K.charCodeAt(b), !0); O(a) } } function T() { return null != q && q.readyState == q.OPEN } window.opCode = function(a) { console.log("Sending op code."); H(parseInt(a)); } function H(a) { if (T()) { var b = N(1); b.setUint8(0, a); O(b) } } function $a() { if (T() && null != B) { var a = N(1 + B.length); a.setUint8(0, 81); for (var b = 0; b < B.length; ++b) a.setUint8(b + 1, B.charCodeAt(b)); O(a) } } function Ta() { m = d.innerWidth; r = d.innerHeight; za.width = G.width = m; za.height = G.height = r; var a = e("#helloContainer"); a.css("transform", "none"); var b = a.height(), c = d.innerHeight; b > c / 1.1 ? a.css("transform", "translate(-50%, -50%) scale(" + c / b / 1.1 + ")") : a.css("transform", "translate(-50%, -50%)"); gb() } function hb() { var a; a = Math.max(r / 1080, m / 1920); return a *= J } function yb() { if (0 != k.length) { for (var a = 0, b = 0; b < k.length; b++) a += k[b].size; a = Math.pow(Math.min(64 / a, 1), .4) * hb(); h = (9 * h + a) / 10 } } function gb() { //UPDATE dPoints = []; circles = []; dArc = []; dText = []; lines = []; var a, b = Date.now(); ++zb; C = b; if (0 < k.length) { yb(); for (var c = a = 0, d = 0; d < k.length; d++) k[d].P(), a += k[d].x / k.length, c += k[d].y / k.length; aa = a; ba = c; ca = h; s = (s + a) / 2; t = (t + c) / 2; } else s = (29 * s + aa) / 30, t = (29 * t + ba) / 30, h = (9 * h + ca * hb()) / 10; qb(); Aa(); Ia || f.clearRect(0, 0, m, r); Ia ? (f.fillStyle = ta ? "#111111" : "#F2FBFF", f.globalAlpha = .05, f.fillRect(0, 0, m, r), f.globalAlpha = 1) : Ab(); v.sort(function(a, b) { return a.size == b.size ? a.id - b.id : a.size - b.size }); f.save(); f.translate(m / 2, r / 2); f.scale(h, h); f.translate(-s, -t); //UPDATE f.save(); f.beginPath(); f.lineWidth = 5; f.strokeStyle = "#FFFFFF"; f.moveTo(getMapStartX(), getMapStartY()); f.lineTo(getMapStartX(), getMapEndY()); f.stroke(); f.moveTo(getMapStartX(), getMapStartY()); f.lineTo(getMapEndX(), getMapStartY()); f.stroke(); f.moveTo(getMapEndX(), getMapStartY()); f.lineTo(getMapEndX(), getMapEndY()); f.stroke(); f.moveTo(getMapStartX(), getMapEndY()); f.lineTo(getMapEndX(), getMapEndY()); f.stroke(); f.restore(); for (d = 0; d < v.length; d++) v[d].w(f); for (d = 0; d < Q.length; d++) Q[d].w(f); //UPDATE if (getPlayer().length > 0) { var moveLoc = window.botList[botIndex][1](toggleFollow); if (selectedCell > 0) { Aa(); } if (!toggle) { var startIndex = (selectedCell == 0 ? 0 : selectedCell); for (var i = 0; i < getPlayer().length - (selectedCell == 0 ? 0 : 1); i++) { setPoint(moveLoc[(i + startIndex).mod(getPlayer().length)][0], moveLoc[(i + startIndex).mod(getPlayer().length)][1], (i + startIndex).mod(getPlayer().length)); } } } customRender(f); if (Ga) { na = (3 * na + Ea) / 4; oa = (3 * oa + Fa) / 4; f.save(); f.strokeStyle = "#FFAAAA"; f.lineWidth = 10; f.lineCap = "round"; f.lineJoin = "round"; f.globalAlpha = .5; f.beginPath(); for (d = 0; d < k.length; d++) f.moveTo(k[d].x, k[d].y), f.lineTo(na, oa); f.stroke(); f.restore(); } f.restore(); z && z.width && f.drawImage(z, m - z.width - 10, 10); R = Math.max(R, Bb()); //UPDATE var currentDate = new Date(); var nbSeconds = 0; if (getPlayer().length > 0) { //nbSeconds = currentDate.getSeconds() + currentDate.getMinutes() * 60 + currentDate.getHours() * 3600 - lifeTimer.getSeconds() - lifeTimer.getMinutes() * 60 - lifeTimer.getHours() * 3600; nbSeconds = (currentDate.getTime() - lifeTimer.getTime())/1000; } bestTime = Math.max(nbSeconds, bestTime); var displayText = 'Score: ' + ~~(R / 100) + " Current Time: " + nbSeconds + " seconds."; 0 != R && (null == ua && (ua = new va(24, "#FFFFFF")), ua.C(displayText), c = ua.L(), a = c.width, f.globalAlpha = .2, f.fillStyle = "#000000", f.fillRect(10, r - 10 - 24 - 10, a + 10, 34), f.globalAlpha = 1, f.drawImage(c, 15, r - 10 - 24 - 5)); Cb(); b = Date.now() - b; b > 1E3 / 60 ? D -= .01 : b < 1E3 / 65 && (D += .01);.4 > D && (D = .4); 1 < D && (D = 1); b = C - ib; !T() || W ? (x += b / 2E3, 1 < x && (x = 1)) : (x -= b / 300, 0 > x && (x = 0)); 0 < x && (f.fillStyle = "#000000", f.globalAlpha = .5 * x, f.fillRect(0, 0, m, r), f.globalAlpha = 1); ib = C drawStats(f); } //UPDATE function customRender(d) { d.save(); for (var i = 0; i < lines.length; i++) { d.beginPath(); d.lineWidth = 5; if (lines[i][4] == 0) { d.strokeStyle = "#FF0000"; } else if (lines[i][4] == 1) { d.strokeStyle = "#00FF00"; } else if (lines[i][4] == 2) { d.strokeStyle = "#0000FF"; } else if (lines[i][4] == 3) { d.strokeStyle = "#FF8000"; } else if (lines[i][4] == 4) { d.strokeStyle = "#8A2BE2"; } else if (lines[i][4] == 5) { d.strokeStyle = "#FF69B4"; } else if (lines[i][4] == 6) { d.strokeStyle = "#008080"; } else if (lines[i][4] == 7) { d.strokeStyle = "#FFFFFF"; } else { d.strokeStyle = "#000000"; } d.moveTo(lines[i][0], lines[i][1]); d.lineTo(lines[i][2], lines[i][3]); d.stroke(); } d.restore(); d.save(); for (var i = 0; i < circles.length; i++) { if (circles[i][3] == 0) { d.strokeStyle = "#FF0000"; } else if (circles[i][3] == 1) { d.strokeStyle = "#00FF00"; } else if (circles[i][3] == 2) { d.strokeStyle = "#0000FF"; } else if (circles[i][3] == 3) { d.strokeStyle = "#FF8000"; } else if (circles[i][3] == 4) { d.strokeStyle = "#8A2BE2"; } else if (circles[i][3] == 5) { d.strokeStyle = "#FF69B4"; } else if (circles[i][3] == 6) { d.strokeStyle = "#008080"; } else if (circles[i][3] == 7) { d.strokeStyle = "#FFFFFF"; } else { d.strokeStyle = "#000000"; } d.beginPath(); d.lineWidth = 10; //d.setLineDash([5]); d.globalAlpha = 0.3; d.arc(circles[i][0], circles[i][1], circles[i][2], 0, 2 * Math.PI, false); d.stroke(); } d.restore(); d.save(); for (var i = 0; i < dArc.length; i++) { if (dArc[i][7] == 0) { d.strokeStyle = "#FF0000"; } else if (dArc[i][7] == 1) { d.strokeStyle = "#00FF00"; } else if (dArc[i][7] == 2) { d.strokeStyle = "#0000FF"; } else if (dArc[i][7] == 3) { d.strokeStyle = "#FF8000"; } else if (dArc[i][7] == 4) { d.strokeStyle = "#8A2BE2"; } else if (dArc[i][7] == 5) { d.strokeStyle = "#FF69B4"; } else if (dArc[i][7] == 6) { d.strokeStyle = "#008080"; } else if (dArc[i][7] == 7) { d.strokeStyle = "#FFFFFF"; } else { d.strokeStyle = "#000000"; } d.beginPath(); d.lineWidth = 5; var ang1 = Math.atan2(dArc[i][1] - dArc[i][5], dArc[i][0] - dArc[i][4]); var ang2 = Math.atan2(dArc[i][3] - dArc[i][5], dArc[i][2] - dArc[i][4]); d.arc(dArc[i][4], dArc[i][5], dArc[i][6], ang1, ang2, false); d.stroke(); } d.restore(); d.save(); for (var i = 0; i < dPoints.length; i++) { if (dText[i] == "") { var radius = 10; d.beginPath(); d.arc(dPoints[i][0], dPoints[i][1], radius, 0, 2 * Math.PI, false); if (dPoints[i][2] == 0) { d.fillStyle = "black"; } else if (dPoints[i][2] == 1) { d.fillStyle = "yellow"; } else if (dPoints[i][2] == 2) { d.fillStyle = "blue"; } else if (dPoints[i][2] == 3) { d.fillStyle = "red"; } else if (dPoints[i][2] == 4) { d.fillStyle = "#008080"; } else if (dPoints[i][2] == 5) { d.fillStyle = "#FF69B4"; } else { d.fillStyle = "#000000"; } d.fill(); d.lineWidth = 2; d.strokeStyle = '#003300'; d.stroke(); } else { var text = new va(18, (getDarkBool() ? '#F2FBFF' : '#111111'), true, '#000000'); text.C(dText[i]); var textRender = text.L(); d.drawImage(textRender, dPoints[i][0], dPoints[i][1]); } } d.restore(); } function drawStats(d) { d.save() sessionScore = Math.max(getCurrentScore(), sessionScore); var debugStrings = []; debugStrings.push("Current Bot: " + window.botList[botIndex][0]); debugStrings.push("T - Bot: " + (!toggle ? "On" : "Off")); debugStrings.push("R - Lines: " + (!toggleDraw ? "On" : "Off")); debugStrings.push("Q - Follow Mouse: " + (toggleFollow ? "On" : "Off")); debugStrings.push("S - Manual Cell: " + (selectedCell == 0 ? "None" : selectedCell) + " of " + getPlayer().length); debugStrings.push(""); debugStrings.push("Best Score: " + ~~(sessionScore / 100)); debugStrings.push("Best Time: " + bestTime + " seconds"); debugStrings.push(""); debugStrings.push(serverIP); if (getPlayer().length > 0) { var offsetX = -getMapStartX(); var offsetY = -getMapStartY(); debugStrings.push("Location: " + Math.floor(getPlayer()[0].x + offsetX) + ", " + Math.floor(getPlayer()[0].y + offsetY)); } var offsetValue = 20; var text = new va(18, (getDarkBool() ? '#F2FBFF' : '#111111')); for (var i = 0; i < debugStrings.length; i++) { text.C(debugStrings[i]); var textRender = text.L(); d.drawImage(textRender, 20, offsetValue); offsetValue += textRender.height; } if (message.length > 0) { var mRender = []; var mWidth = 0; var mHeight = 0; for (var i = 0; i < message.length; i++) { var mText = new va(28, '#FF0000', true, '#000000'); mText.C(message[i]); mRender.push(mText.L()); if (mRender[i].width > mWidth) { mWidth = mRender[i].width; } mHeight += mRender[i].height; } var mX = getWidth() / 2 - mWidth / 2; var mY = 20; d.globalAlpha = 0.4; d.fillStyle = '#000000'; d.fillRect(mX - 10, mY - 10, mWidth + 20, mHeight + 20); d.globalAlpha = 1; var mOffset = mY; for (var i = 0; i < mRender.length; i++) { d.drawImage(mRender[i], getWidth() / 2 - mRender[i].width / 2, mOffset); mOffset += mRender[i].height; } } d.restore(); } function Ab() { f.fillStyle = ta ? "#111111" : "#F2FBFF"; f.fillRect(0, 0, m, r); f.save(); f.strokeStyle = ta ? "#AAAAAA" : "#000000"; f.globalAlpha = .2 * h; for (var a = m / h, b = r / h, c = (a / 2 - s) % 50; c < a; c += 50) f.beginPath(), f.moveTo(c * h - .5, 0), f.lineTo(c * h - .5, b * h), f.stroke(); for (c = (b / 2 - t) % 50; c < b; c += 50) f.beginPath(), f.moveTo(0, c * h - .5), f.lineTo(a * h, c * h - .5), f.stroke(); f.restore() } function Cb() { if (Qa && Ja.width) { var a = m / 5; f.drawImage(Ja, 5, 5, a, a) } } function Bb() { for (var a = 0, b = 0; b < k.length; b++) a += k[b].q * k[b].q; return a } function ab() { z = null; if (null != A || 0 != F.length) if (null != A || wa) { z = document.createElement("canvas"); var a = z.getContext("2d"), b = 60, b = null == A ? b + 24 * F.length : b + 180, c = Math.min(200, .3 * m) / 200; z.width = 200 * c; z.height = b * c; a.scale(c, c); a.globalAlpha = .4; a.fillStyle = "#000000"; a.fillRect(0, 0, 200, b); a.globalAlpha = 1; a.fillStyle = "#FFFFFF"; c = null; c = Z("leaderboard"); a.font = "30px Ubuntu"; a.fillText(c, 100 - a.measureText(c).width / 2, 40); if (null == A) for (a.font = "20px Ubuntu", b = 0; b < F.length; ++b) c = F[b].name || Z("unnamed_cell"), wa || (c = Z("unnamed_cell")), -1 != M.indexOf(F[b].id) ? (k[0].name && (c = k[0].name), a.fillStyle = "#FFAAAA") : a.fillStyle = "#FFFFFF", c = b + 1 + ". " + c, a.fillText(c, 100 - a.measureText(c).width / 2, 70 + 24 * b); else for (b = c = 0; b < A.length; ++b) { var d = c + A[b] * Math.PI * 2; a.fillStyle = Db[b + 1]; a.beginPath(); a.moveTo(100, 140); a.arc(100, 140, 80, c, d, !1); a.fill(); c = d } } } function Ka(a, b, c, d, e) { this.V = a; this.x = b; this.y = c; this.i = d; this.b = e } function da(a, b, c, d, e, p) { this.id = a; this.s = this.x = b; this.t = this.y = c; this.r = this.size = d; this.color = e; this.a = []; this.W(); this.B(p) } function va(a, b, c, d) { a && (this.u = a); b && (this.S = b); this.U = !!c; d && (this.v = d) } function S(a, b) { var c = "1" == e("#helloContainer").attr("data-has-account-data"); e("#helloContainer").attr("data-has-account-data", "1"); if (null == b && d.localStorage.loginCache) { var l = JSON.parse(d.localStorage.loginCache); l.f = a.f; l.d = a.d; l.e = a.e; d.localStorage.loginCache = JSON.stringify(l) } if (c) { var u = +e(".agario-exp-bar .progress-bar-text").first().text().split("/")[0], c = +e(".agario-exp-bar .progress-bar-text").first().text().split("/")[1].split(" ")[0], l = e(".agario-profile-panel .progress-bar-star").first().text(); if (l != a.e) S({ f: c, d: c, e: l }, function() { e(".agario-profile-panel .progress-bar-star").text(a.e); e(".agario-exp-bar .progress-bar").css("width", "100%"); e(".progress-bar-star").addClass("animated tada").one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend", function() { e(".progress-bar-star").removeClass("animated tada") }); setTimeout(function() { e(".agario-exp-bar .progress-bar-text").text(a.d + "/" + a.d + " XP"); S({ f: 0, d: a.d, e: a.e }, function() { S(a, b) }) }, 1E3) }); else { var p = Date.now(), g = function() { var c; c = (Date.now() - p) / 1E3; c = 0 > c ? 0 : 1 < c ? 1 : c; c = c * c * (3 - 2 * c); e(".agario-exp-bar .progress-bar-text").text(~~(u + (a.f - u) * c) + "/" + a.d + " XP"); e(".agario-exp-bar .progress-bar").css("width", (88 * (u + (a.f - u) * c) / a.d).toFixed(2) + "%"); 1 > c ? d.requestAnimationFrame(g) : b && b() }; d.requestAnimationFrame(g) } } else e(".agario-profile-panel .progress-bar-star").text(a.e), e(".agario-exp-bar .progress-bar-text").text(a.f + "/" + a.d + " XP"), e(".agario-exp-bar .progress-bar").css("width", (88 * a.f / a.d).toFixed(2) + "%"), b && b() } function jb(a) { "string" == typeof a && (a = JSON.parse(a)); Date.now() + 18E5 > a.ja ? e("#helloContainer").attr("data-logged-in", "0") : (d.localStorage.loginCache = JSON.stringify(a), B = a.fa, e(".agario-profile-name").text(a.name), $a(), S({ f: a.f, d: a.d, e: a.e }), e("#helloContainer").attr("data-logged-in", "1")) } function Eb(a) { a = a.split("\n"); jb({ name: a[0], ta: a[1], fa: a[2], ja: 1E3 * +a[3], e: +a[4], f: +a[5], d: +a[6] }) } function La(a) { if ("connected" == a.status) { var b = a.authResponse.accessToken; d.FB.api("/me/picture?width=180&height=180", function(a) { d.localStorage.fbPictureCache = a.data.url; e(".agario-profile-picture").attr("src", a.data.url) }); e("#helloContainer").attr("data-logged-in", "1"); null != B ? e.ajax("https://m.agar.io/checkToken", { error: function() { B = null; La(a) }, success: function(a) { a = a.split("\n"); S({ e: +a[0], f: +a[1], d: +a[2] }) }, dataType: "text", method: "POST", cache: !1, crossDomain: !0, data: B }) : e.ajax("https://m.agar.io/facebookLogin", { error: function() { B = null; e("#helloContainer").attr("data-logged-in", "0") }, success: Eb, dataType: "text", method: "POST", cache: !1, crossDomain: !0, data: b }) } } function Wa(a) { Y(":party"); e("#helloContainer").attr("data-party-state", "4"); a = decodeURIComponent(a).replace(/.*#/gim, ""); Ma("#" + d.encodeURIComponent(a)); e.ajax(Na + "//m.agar.io/getToken", { error: function() { e("#helloContainer").attr("data-party-state", "6") }, success: function(b) { b = b.split("\n"); e(".partyToken").val("agar.io/#" + d.encodeURIComponent(a)); e("#helloContainer").attr("data-party-state", "5"); Y(":party"); Ca("ws://" + b[0], a) }, dataType: "text", method: "POST", cache: !1, crossDomain: !0, data: a }) } function Ma(a) { d.history && d.history.replaceState && d.history.replaceState({}, d.document.title, a) } if (!d.agarioNoInit) { var Na = d.location.protocol, tb = "https:" == Na, xa = d.navigator.userAgent; if (-1 != xa.indexOf("Android")) d.ga && d.ga("send", "event", "MobileRedirect", "PlayStore"), setTimeout(function() { d.location.href = "market://details?id=com.miniclip.agar.io" }, 1E3); else if (-1 != xa.indexOf("iPhone") || -1 != xa.indexOf("iPad") || -1 != xa.indexOf("iPod")) d.ga && d.ga("send", "event", "MobileRedirect", "AppStore"), setTimeout(function() { d.location.href = "https://itunes.apple.com/app/agar.io/id995999703" }, 1E3); else { var za, f, G, m, r, X = null, //UPDATE toggle = false, toggleDraw = false, toggleFollow = false, tempPoint = [0, 0, 1], dPoints = [], circles = [], dArc = [], dText = [], lines = [], names = ["-|0_0|-"], originalName = names[Math.floor(Math.random() * names.length)], sessionScore = 0, serverIP = "", interNodes = [], lifeTimer = new Date(), bestTime = 0, botIndex = 0, reviving = false, message = [], selectedCell = 0, q = null, s = 0, t = 0, M = [], k = [], E = {}, v = [], Q = [], F = [], fa = 0, ga = 0, //UPDATE ia = [-1], ja = [-1], zb = 0, C = 0, ib = 0, K = null, pa = 0, qa = 0, ra = 1E4, sa = 1E4, h = 1, y = null, kb = !0, wa = !0, Oa = !1, Ha = !1, R = 0, ta = !1, lb = !1, aa = s = ~~((pa + ra) / 2), ba = t = ~~((qa + sa) / 2), ca = 1, P = "", A = null, ya = !1, Ga = !1, Ea = 0, Fa = 0, na = 0, oa = 0, mb = 0, Db = ["#333333", "#FF3333", "#33FF33", "#3333FF"], Ia = !1, $ = !1, bb = 0, B = null, J = 1, x = 1, W = !0, Ba = 0, Da = {}; (function() { var a = d.location.search; "?" == a.charAt(0) && (a = a.slice(1)); for (var a = a.split("&"), b = 0; b < a.length; b++) { var c = a[b].split("="); Da[c[0]] = c[1] } })(); var Qa = "ontouchstart" in d && /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(d.navigator.userAgent), Ja = new Image; Ja.src = "img/split.png"; var nb = document.createElement("canvas"); if ("undefined" == typeof console || "undefined" == typeof DataView || "undefined" == typeof WebSocket || null == nb || null == nb.getContext || null == d.localStorage) alert("You browser does not support this game, we recommend you to use Firefox to play this"); else { var ka = null; d.setNick = function(a) { //UPDATE originalName = a; if (getPlayer().length == 0) { lifeTimer = new Date(); } Xa(); K = a; cb(); R = 0 }; d.setRegion = ha; d.setSkins = function(a) { kb = a }; d.setNames = function(a) { wa = a }; d.setDarkTheme = function(a) { ta = a }; d.setColors = function(a) { Oa = a }; d.setShowMass = function(a) { lb = a }; d.spectate = function() { K = null; H(1); Xa() }; d.setGameMode = function(a) { a != P && (":party" == P && e("#helloContainer").attr("data-party-state", "0"), Y(a), ":party" != a && I()) }; d.setAcid = function(a) { Ia = a }; null != d.localStorage && (null == d.localStorage.AB9 && (d.localStorage.AB9 = 0 + ~~(100 * Math.random())), mb = +d.localStorage.AB9, d.ABGroup = mb); e.get(Na + "//gc.agar.io", function(a) { var b = a.split(" "); a = b[0]; b = b[1] || ""; - 1 == ["UA"].indexOf(a) && ob.push("ussr"); ea.hasOwnProperty(a) && ("string" == typeof ea[a] ? y || ha(ea[a]) : ea[a].hasOwnProperty(b) && (y || ha(ea[a][b]))) }, "text"); d.ga && d.ga("send", "event", "User-Agent", d.navigator.userAgent, { nonInteraction: 1 }); var la = !1, Ya = 0; setTimeout(function() { la = !0 }, Math.max(6E4 * Ya, 1E4)); var ea = { AF: "JP-Tokyo", AX: "EU-London", AL: "EU-London", DZ: "EU-London", AS: "SG-Singapore", AD: "EU-London", AO: "EU-London", AI: "US-Atlanta", AG: "US-Atlanta", AR: "BR-Brazil", AM: "JP-Tokyo", AW: "US-Atlanta", AU: "SG-Singapore", AT: "EU-London", AZ: "JP-Tokyo", BS: "US-Atlanta", BH: "JP-Tokyo", BD: "JP-Tokyo", BB: "US-Atlanta", BY: "EU-London", BE: "EU-London", BZ: "US-Atlanta", BJ: "EU-London", BM: "US-Atlanta", BT: "JP-Tokyo", BO: "BR-Brazil", BQ: "US-Atlanta", BA: "EU-London", BW: "EU-London", BR: "BR-Brazil", IO: "JP-Tokyo", VG: "US-Atlanta", BN: "JP-Tokyo", BG: "EU-London", BF: "EU-London", BI: "EU-London", KH: "JP-Tokyo", CM: "EU-London", CA: "US-Atlanta", CV: "EU-London", KY: "US-Atlanta", CF: "EU-London", TD: "EU-London", CL: "BR-Brazil", CN: "CN-China", CX: "JP-Tokyo", CC: "JP-Tokyo", CO: "BR-Brazil", KM: "EU-London", CD: "EU-London", CG: "EU-London", CK: "SG-Singapore", CR: "US-Atlanta", CI: "EU-London", HR: "EU-London", CU: "US-Atlanta", CW: "US-Atlanta", CY: "JP-Tokyo", CZ: "EU-London", DK: "EU-London", DJ: "EU-London", DM: "US-Atlanta", DO: "US-Atlanta", EC: "BR-Brazil", EG: "EU-London", SV: "US-Atlanta", GQ: "EU-London", ER: "EU-London", EE: "EU-London", ET: "EU-London", FO: "EU-London", FK: "BR-Brazil", FJ: "SG-Singapore", FI: "EU-London", FR: "EU-London", GF: "BR-Brazil", PF: "SG-Singapore", GA: "EU-London", GM: "EU-London", GE: "JP-Tokyo", DE: "EU-London", GH: "EU-London", GI: "EU-London", GR: "EU-London", GL: "US-Atlanta", GD: "US-Atlanta", GP: "US-Atlanta", GU: "SG-Singapore", GT: "US-Atlanta", GG: "EU-London", GN: "EU-London", GW: "EU-London", GY: "BR-Brazil", HT: "US-Atlanta", VA: "EU-London", HN: "US-Atlanta", HK: "JP-Tokyo", HU: "EU-London", IS: "EU-London", IN: "JP-Tokyo", ID: "JP-Tokyo", IR: "JP-Tokyo", IQ: "JP-Tokyo", IE: "EU-London", IM: "EU-London", IL: "JP-Tokyo", IT: "EU-London", JM: "US-Atlanta", JP: "JP-Tokyo", JE: "EU-London", JO: "JP-Tokyo", KZ: "JP-Tokyo", KE: "EU-London", KI: "SG-Singapore", KP: "JP-Tokyo", KR: "JP-Tokyo", KW: "JP-Tokyo", KG: "JP-Tokyo", LA: "JP-Tokyo", LV: "EU-London", LB: "JP-Tokyo", LS: "EU-London", LR: "EU-London", LY: "EU-London", LI: "EU-London", LT: "EU-London", LU: "EU-London", MO: "JP-Tokyo", MK: "EU-London", MG: "EU-London", MW: "EU-London", MY: "JP-Tokyo", MV: "JP-Tokyo", ML: "EU-London", MT: "EU-London", MH: "SG-Singapore", MQ: "US-Atlanta", MR: "EU-London", MU: "EU-London", YT: "EU-London", MX: "US-Atlanta", FM: "SG-Singapore", MD: "EU-London", MC: "EU-London", MN: "JP-Tokyo", ME: "EU-London", MS: "US-Atlanta", MA: "EU-London", MZ: "EU-London", MM: "JP-Tokyo", NA: "EU-London", NR: "SG-Singapore", NP: "JP-Tokyo", NL: "EU-London", NC: "SG-Singapore", NZ: "SG-Singapore", NI: "US-Atlanta", NE: "EU-London", NG: "EU-London", NU: "SG-Singapore", NF: "SG-Singapore", MP: "SG-Singapore", NO: "EU-London", OM: "JP-Tokyo", PK: "JP-Tokyo", PW: "SG-Singapore", PS: "JP-Tokyo", PA: "US-Atlanta", PG: "SG-Singapore", PY: "BR-Brazil", PE: "BR-Brazil", PH: "JP-Tokyo", PN: "SG-Singapore", PL: "EU-London", PT: "EU-London", PR: "US-Atlanta", QA: "JP-Tokyo", RE: "EU-London", RO: "EU-London", RU: "RU-Russia", RW: "EU-London", BL: "US-Atlanta", SH: "EU-London", KN: "US-Atlanta", LC: "US-Atlanta", MF: "US-Atlanta", PM: "US-Atlanta", VC: "US-Atlanta", WS: "SG-Singapore", SM: "EU-London", ST: "EU-London", SA: "EU-London", SN: "EU-London", RS: "EU-London", SC: "EU-London", SL: "EU-London", SG: "JP-Tokyo", SX: "US-Atlanta", SK: "EU-London", SI: "EU-London", SB: "SG-Singapore", SO: "EU-London", ZA: "EU-London", SS: "EU-London", ES: "EU-London", LK: "JP-Tokyo", SD: "EU-London", SR: "BR-Brazil", SJ: "EU-London", SZ: "EU-London", SE: "EU-London", CH: "EU-London", SY: "EU-London", TW: "JP-Tokyo", TJ: "JP-Tokyo", TZ: "EU-London", TH: "JP-Tokyo", TL: "JP-Tokyo", TG: "EU-London", TK: "SG-Singapore", TO: "SG-Singapore", TT: "US-Atlanta", TN: "EU-London", TR: "TK-Turkey", TM: "JP-Tokyo", TC: "US-Atlanta", TV: "SG-Singapore", UG: "EU-London", UA: "EU-London", AE: "EU-London", GB: "EU-London", US: "US-Atlanta", UM: "SG-Singapore", VI: "US-Atlanta", UY: "BR-Brazil", UZ: "JP-Tokyo", VU: "SG-Singapore", VE: "BR-Brazil", VN: "JP-Tokyo", WF: "SG-Singapore", EH: "EU-London", YE: "JP-Tokyo", ZM: "EU-London", ZW: "EU-London" }, L = null; d.connect = Ca; //UPDATE window.getDarkBool = function() { return ta; } window.getMassBool = function() { return lb; } window.getMemoryCells = function() { return interNodes; } window.getCellsArray = function() { return v; } window.getCells = function() { return E; } window.getPlayer = function() { return k; } window.getWidth = function() { return m; } window.getHeight = function() { return r; } window.getRatio = function() { return h; } window.getOffsetX = function() { return aa; } window.getOffsetY = function() { return ba; } window.getX = function() { return s; } window.getY = function() { return t; } window.getPointX = function() { return ia[0]; } window.getPointY = function() { return ja[0]; } window.getMouseX = function() { return fa; } window.getMouseY = function() { return ga; } window.getMapStartX = function() { return pa; } window.getMapStartY = function() { return qa; } window.getMapEndX = function() { return ra; } window.getMapEndY = function() { return sa; } window.getScreenDistance = function() { var temp = screenDistance(); return temp; } window.getLastUpdate = function() { return C; } window.getCurrentScore = function() { return R; } window.getMode = function() { return P; } window.setPoint = function(x, y, index) { while (ia.length > getPlayer().length) { ia.pop(); ja.pop(); } if (index < ia.length) { ia[index] = x; ja[index] = y; } else { while (index < ia.length - 1) { ia.push(-1); ja.push(-1); } ia.push(x); ja.push(y); } } window.setScore = function(a) { sessionScore = a * 100; } window.setBestTime = function(a) { bestTime = a; } window.best = function(a, b) { setScore(a); setBestTime(b); } window.setBotIndex = function(a) { console.log("Changing bot"); botIndex = a; } window.setMessage = function(a) { message = a; } var ma = 500, eb = -1, fb = -1, z = null, D = 1, ua = null, Ua = function() { var a = Date.now(), b = 1E3 / 60; return function() { d.requestAnimationFrame(Ua); var c = Date.now(), l = c - a; l > b && (a = c - l % b, !T() || 240 > Date.now() - bb ? gb() : console.warn("Skipping draw"), Fb()) } }(), U = {}, ob = "poland;usa;china;russia;canada;australia;spain;brazil;germany;ukraine;france;sweden;chaplin;north korea;south korea;japan;united kingdom;earth;greece;latvia;lithuania;estonia;finland;norway;cia;maldivas;austria;nigeria;reddit;yaranaika;confederate;9gag;indiana;4chan;italy;bulgaria;tumblr;2ch.hk;hong kong;portugal;jamaica;german empire;mexico;sanik;switzerland;croatia;chile;indonesia;bangladesh;thailand;iran;iraq;peru;moon;botswana;bosnia;netherlands;european union;taiwan;pakistan;hungary;satanist;qing dynasty;matriarchy;patriarchy;feminism;ireland;texas;facepunch;prodota;cambodia;steam;piccolo;ea;india;kc;denmark;quebec;ayy lmao;sealand;bait;tsarist russia;origin;vinesauce;stalin;belgium;luxembourg;stussy;prussia;8ch;argentina;scotland;sir;romania;belarus;wojak;doge;nasa;byzantium;imperial japan;french kingdom;somalia;turkey;mars;pokerface;8;irs;receita federal;facebook".split(";"), Gb = ["8", "nasa"], Hb = ["m'blob"]; Ka.prototype = { V: null, x: 0, y: 0, i: 0, b: 0 }; da.prototype = { id: 0, a: null, name: null, o: null, O: null, x: 0, y: 0, size: 0, s: 0, t: 0, r: 0, J: 0, K: 0, q: 0, ba: 0, Q: 0, sa: 0, ia: 0,
DickDumBR1
Skip to content Sign up Sign in This repository Search Explore Features Enterprise Pricing Watch 137 Star 490 Fork 1,535 Apostolique/Agar.io-bot Branch: master Agar.io-bot/launcher.user.js @ApostoliqueApostolique 10 days ago Easier to see the borders 7 contributors @Apostolique @DarkN3ss61 @Linkaan @Timtech @henopied @Gjum @lilezek RawBlameHistory 2456 lines (2277 sloc) 93.893 kB /*The MIT License (MIT) Copyright (c) 2015 Apostolique Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.*/ // ==UserScript== // @name AposLauncher // @namespace AposLauncher // @include http://agar.io/* // @version 4.123 // @grant none // @author http://www.twitch.tv/apostolique // ==/UserScript== var aposLauncherVersion = 4.123; Number.prototype.mod = function(n) { return ((this % n) + n) % n; }; Array.prototype.peek = function() { return this[this.length - 1]; }; var sha = "efde0488cc2cc176db48dd23b28a20b90314352b"; function getLatestCommit() { window.jQuery.ajax({ url: "https://api.github.com/repos/apostolique/Agar.io-bot/git/refs/heads/master", cache: false, dataType: "jsonp" }).done(function(data) { console.dir(data.data); console.log("hmm: " + data.data.object.sha); sha = data.data.object.sha; function update(prefix, name, url) { window.jQuery(document.body).prepend("<div id='" + prefix + "Dialog' style='position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; z-index: 100; display: none;'>"); window.jQuery('#' + prefix + 'Dialog').append("<div id='" + prefix + "Message' style='width: 350px; background-color: #FFFFFF; margin: 100px auto; border-radius: 15px; padding: 5px 15px 5px 15px;'>"); window.jQuery('#' + prefix + 'Message').append("<h2>UPDATE TIME!!!</h2>"); window.jQuery('#' + prefix + 'Message').append("<p>Grab the update for: <a id='" + prefix + "Link' href='" + url + "' target=\"_blank\">" + name + "</a></p>"); window.jQuery('#' + prefix + 'Link').on('click', function() { window.jQuery("#" + prefix + "Dialog").hide(); window.jQuery("#" + prefix + "Dialog").remove(); }); window.jQuery("#" + prefix + "Dialog").show(); } window.jQuery.get('https://raw.githubusercontent.com/Apostolique/Agar.io-bot/master/launcher.user.js?' + Math.floor((Math.random() * 1000000) + 1), function(data) { var latestVersion = data.replace(/(\r\n|\n|\r)/gm, ""); latestVersion = latestVersion.substring(latestVersion.indexOf("// @version") + 11, latestVersion.indexOf("// @grant")); latestVersion = parseFloat(latestVersion + 0.0000); var myVersion = parseFloat(aposLauncherVersion + 0.0000); if (latestVersion > myVersion) { update("aposLauncher", "launcher.user.js", "https://github.com/Apostolique/Agar.io-bot/blob/" + sha + "/launcher.user.js/"); } console.log('Current launcher.user.js Version: ' + myVersion + " on Github: " + latestVersion); }); }).fail(function() {}); } getLatestCommit(); console.log("Running Bot Launcher!"); (function(d, e) { //UPDATE function keyAction(e) { if (84 == e.keyCode) { console.log("Toggle"); toggle = !toggle; } if (82 == e.keyCode) { console.log("ToggleDraw"); toggleDraw = !toggleDraw; } if (68 == e.keyCode) { window.setDarkTheme(!getDarkBool()); } if (70 == e.keyCode) { window.setShowMass(!getMassBool()); } if (69 == e.keyCode) { if (message.length > 0) { window.setMessage([]); window.onmouseup = function() {}; window.ignoreStream = true; } else { window.ignoreStream = false; window.refreshTwitch(); } } window.botList[botIndex].keyAction(e); } function humanPlayer() { //Don't need to do anything. return [getPointX(), getPointY()]; } function pb() { //UPDATE window.botList = window.botList || []; window.jQuery('#nick').val(originalName); function HumanPlayerObject() { this.name = "Human"; this.keyAction = function(key) {}; this.displayText = function() {return [];}; this.mainLoop = humanPlayer; } var hpo = new HumanPlayerObject(); window.botList.push(hpo); window.updateBotList(); ya = !0; Pa(); setInterval(Pa, 18E4); var father = window.jQuery("#canvas").parent(); window.jQuery("#canvas").remove(); father.prepend("<canvas id='canvas'>"); G = za = document.getElementById("canvas"); f = G.getContext("2d"); G.onmousedown = function(a) { if (Qa) { var b = a.clientX - (5 + m / 5 / 2), c = a.clientY - (5 + m / 5 / 2); if (Math.sqrt(b * b + c * c) <= m / 5 / 2) { V(); H(17); return } } fa = a.clientX; ga = a.clientY; Aa(); V(); }; G.onmousemove = function(a) { fa = a.clientX; ga = a.clientY; Aa(); }; G.onmouseup = function() {}; /firefox/i.test(navigator.userAgent) ? document.addEventListener("DOMMouseScroll", Ra, !1) : document.body.onmousewheel = Ra; var a = !1, b = !1, c = !1; d.onkeydown = function(l) { //UPDATE if (!window.jQuery('#nick').is(":focus")) { 32 != l.keyCode || a || (V(), H(17), a = !0); 81 != l.keyCode || b || (H(18), b = !0); 87 != l.keyCode || c || (V(), H(21), c = !0); 27 == l.keyCode && Sa(!0); //UPDATE keyAction(l); } }; d.onkeyup = function(l) { 32 == l.keyCode && (a = !1); 87 == l.keyCode && (c = !1); 81 == l.keyCode && b && (H(19), b = !1); }; d.onblur = function() { H(19); c = b = a = !1 }; d.onresize = Ta; d.requestAnimationFrame(Ua); setInterval(V, 40); y && e("#region").val(y); Va(); ha(e("#region").val()); 0 == Ba && y && I(); W = !0; e("#overlays").show(); Ta(); d.location.hash && 6 <= d.location.hash.length && Wa(d.location.hash) } function Ra(a) { J *= Math.pow(.9, a.wheelDelta / -120 || a.detail || 0); //UPDATE 0.07 > J && (J = 0.07); J > 4 / h && (J = 4 / h) } function qb() { if (.4 > h) X = null; else { for (var a = Number.POSITIVE_INFINITY, b = Number.POSITIVE_INFINITY, c = Number.NEGATIVE_INFINITY, l = Number.NEGATIVE_INFINITY, d = 0, p = 0; p < v.length; p++) { var g = v[p]; !g.N() || g.R || 20 >= g.size * h || (d = Math.max(g.size, d), a = Math.min(g.x, a), b = Math.min(g.y, b), c = Math.max(g.x, c), l = Math.max(g.y, l)) } X = rb.ka({ ca: a - 10, da: b - 10, oa: c + 10, pa: l + 10, ma: 2, na: 4 }); for (p = 0; p < v.length; p++) if (g = v[p], g.N() && !(20 >= g.size * h)) for (a = 0; a < g.a.length; ++a) b = g.a[a].x, c = g.a[a].y, b < s - m / 2 / h || c < t - r / 2 / h || b > s + m / 2 / h || c > t + r / 2 / h || X.m(g.a[a]) } } function Aa() { //UPDATE if (toggle || window.botList[botIndex].name == "Human") { setPoint(((fa - m / 2) / h + s), ((ga - r / 2) / h + t)); } } function Pa() { null == ka && (ka = {}, e("#region").children().each(function() { var a = e(this), b = a.val(); b && (ka[b] = a.text()) })); e.get("https://m.agar.io/info", function(a) { var b = {}, c; for (c in a.regions) { var l = c.split(":")[0]; b[l] = b[l] || 0; b[l] += a.regions[c].numPlayers } for (c in b) e('#region option[value="' + c + '"]').text(ka[c] + " (" + b[c] + " players)") }, "json") } function Xa() { e("#adsBottom").hide(); e("#overlays").hide(); W = !1; Va(); d.googletag && d.googletag.pubads && d.googletag.pubads().clear(d.aa) } function ha(a) { a && a != y && (e("#region").val() != a && e("#region").val(a), y = d.localStorage.location = a, e(".region-message").hide(), e(".region-message." + a).show(), e(".btn-needs-server").prop("disabled", !1), ya && I()) } function Sa(a) { W || (K = null, sb(), a && (x = 1), W = !0, e("#overlays").fadeIn(a ? 200 : 3E3)) } function Y(a) { e("#helloContainer").attr("data-gamemode", a); P = a; e("#gamemode").val(a) } function Va() { e("#region").val() ? d.localStorage.location = e("#region").val() : d.localStorage.location && e("#region").val(d.localStorage.location); e("#region").val() ? e("#locationKnown").append(e("#region")) : e("#locationUnknown").append(e("#region")) } function sb() { la && (la = !1, setTimeout(function() { la = !0 //UPDATE }, 6E4 * Ya)) } function Z(a) { return d.i18n[a] || d.i18n_dict.en[a] || a } function Za() { var a = ++Ba; console.log("Find " + y + P); e.ajax("https://m.agar.io/findServer", { error: function() { setTimeout(Za, 1E3) }, success: function(b) { a == Ba && (b.alert && alert(b.alert), Ca("ws://" + b.ip, b.token)) }, dataType: "json", method: "POST", cache: !1, crossDomain: !0, data: (y + P || "?") + "\n154669603" }) } function I() { ya && y && (e("#connecting").show(), Za()) } function Ca(a, b) { if (q) { q.onopen = null; q.onmessage = null; q.onclose = null; try { q.close() } catch (c) {} q = null } Da.la && (a = "ws://" + Da.la); if (null != L) { var l = L; L = function() { l(b) } } if (tb) { var d = a.split(":"); a = d[0] + "s://ip-" + d[1].replace(/\./g, "-").replace(/\//g, "") + ".tech.agar.io:" + (+d[2] + 2E3) } M = []; k = []; E = {}; v = []; Q = []; F = []; z = A = null; R = 0; $ = !1; console.log("Connecting to " + a); //UPDATE serverIP = a; q = new WebSocket(a); q.binaryType = "arraybuffer"; q.onopen = function() { var a; console.log("socket open"); a = N(5); a.setUint8(0, 254); a.setUint32(1, 5, !0); O(a); a = N(5); a.setUint8(0, 255); a.setUint32(1, 154669603, !0); O(a); a = N(1 + b.length); a.setUint8(0, 80); for (var c = 0; c < b.length; ++c) a.setUint8(c + 1, b.charCodeAt(c)); O(a); $a() }; q.onmessage = ub; q.onclose = vb; q.onerror = function() { console.log("socket error") } } function N(a) { return new DataView(new ArrayBuffer(a)) } function O(a) { q.send(a.buffer) } function vb() { $ && (ma = 500); console.log("socket close"); setTimeout(I, ma); ma *= 2 } function ub(a) { wb(new DataView(a.data)) } function wb(a) { function b() { for (var b = "";;) { var d = a.getUint16(c, !0); c += 2; if (0 == d) break; b += String.fromCharCode(d) } return b } var c = 0; 240 == a.getUint8(c) && (c += 5); switch (a.getUint8(c++)) { case 16: xb(a, c); break; case 17: aa = a.getFloat32(c, !0); c += 4; ba = a.getFloat32(c, !0); c += 4; ca = a.getFloat32(c, !0); c += 4; break; case 20: k = []; M = []; break; case 21: Ea = a.getInt16(c, !0); c += 2; Fa = a.getInt16(c, !0); c += 2; Ga || (Ga = !0, na = Ea, oa = Fa); break; case 32: M.push(a.getUint32(c, !0)); c += 4; break; case 49: if (null != A) break; var l = a.getUint32(c, !0), c = c + 4; F = []; for (var d = 0; d < l; ++d) { var p = a.getUint32(c, !0), c = c + 4; F.push({ id: p, name: b() }) } ab(); break; case 50: A = []; l = a.getUint32(c, !0); c += 4; for (d = 0; d < l; ++d) A.push(a.getFloat32(c, !0)), c += 4; ab(); break; case 64: pa = a.getFloat64(c, !0); c += 8; qa = a.getFloat64(c, !0); c += 8; ra = a.getFloat64(c, !0); c += 8; sa = a.getFloat64(c, !0); c += 8; aa = (ra + pa) / 2; ba = (sa + qa) / 2; ca = 1; 0 == k.length && (s = aa, t = ba, h = ca); break; case 81: var g = a.getUint32(c, !0), c = c + 4, e = a.getUint32(c, !0), c = c + 4, f = a.getUint32(c, !0), c = c + 4; setTimeout(function() { S({ e: g, f: e, d: f }) }, 1200) } } function xb(a, b) { bb = C = Date.now(); $ || ($ = !0, e("#connecting").hide(), cb(), L && (L(), L = null)); var c = Math.random(); Ha = !1; var d = a.getUint16(b, !0); b += 2; for (var u = 0; u < d; ++u) { var p = E[a.getUint32(b, !0)], g = E[a.getUint32(b + 4, !0)]; b += 8; p && g && (g.X(), g.s = g.x, g.t = g.y, g.r = g.size, g.J = p.x, g.K = p.y, g.q = g.size, g.Q = C) } for (u = 0;;) { d = a.getUint32(b, !0); b += 4; if (0 == d) break; ++u; var f, p = a.getInt16(b, !0); b += 4; g = a.getInt16(b, !0); b += 4; f = a.getInt16(b, !0); b += 2; for (var h = a.getUint8(b++), w = a.getUint8(b++), m = a.getUint8(b++), h = (h << 16 | w << 8 | m).toString(16); 6 > h.length;) h = "0" + h; var h = "#" + h, w = a.getUint8(b++), m = !!(w & 1), r = !!(w & 16); w & 2 && (b += 4); w & 4 && (b += 8); w & 8 && (b += 16); for (var q, n = "";;) { q = a.getUint16(b, !0); b += 2; if (0 == q) break; n += String.fromCharCode(q) } q = n; n = null; E.hasOwnProperty(d) ? (n = E[d], n.P(), n.s = n.x, n.t = n.y, n.r = n.size, n.color = h) : (n = new da(d, p, g, f, h, q), v.push(n), E[d] = n, n.ua = p, n.va = g); n.h = m; n.n = r; n.J = p; n.K = g; n.q = f; n.sa = c; n.Q = C; n.ba = w; q && n.B(q); - 1 != M.indexOf(d) && -1 == k.indexOf(n) && (document.getElementById("overlays").style.display = "none", k.push(n), n.birth = getLastUpdate(), n.birthMass = (n.size * n.size / 100), 1 == k.length && (s = n.x, t = n.y, db())) //UPDATE interNodes[d] = window.getCells()[d]; } //UPDATE Object.keys(interNodes).forEach(function(element, index) { //console.log("start: " + interNodes[element].updateTime + " current: " + D + " life: " + (D - interNodes[element].updateTime)); var isRemoved = !window.getCells().hasOwnProperty(element); //console.log("Time not updated: " + (window.getLastUpdate() - interNodes[element].getUptimeTime())); if (isRemoved && (window.getLastUpdate() - interNodes[element].getUptimeTime()) > 3000) { delete interNodes[element]; } else { for (var i = 0; i < getPlayer().length; i++) { if (isRemoved && computeDistance(getPlayer()[i].x, getPlayer()[i].y, interNodes[element].x, interNodes[element].y) < getPlayer()[i].size + 710) { delete interNodes[element]; break; } } } }); c = a.getUint32(b, !0); b += 4; for (u = 0; u < c; u++) d = a.getUint32(b, !0), b += 4, n = E[d], null != n && n.X(); //UPDATE //Ha && 0 == k.length && Sa(!1) } //UPDATE function computeDistance(x1, y1, x2, y2) { var xdis = x1 - x2; // <--- FAKE AmS OF COURSE! var ydis = y1 - y2; var distance = Math.sqrt(xdis * xdis + ydis * ydis); return distance; } /** * Some horse shit of some sort. * @return Horse Shit */ function screenDistance() { return Math.min(computeDistance(getOffsetX(), getOffsetY(), screenToGameX(getWidth()), getOffsetY()), computeDistance(getOffsetX(), getOffsetY(), getOffsetX(), screenToGameY(getHeight()))); } window.verticalDistance = function() { return computeDistance(screenToGameX(0), screenToGameY(0), screenToGameX(getWidth()), screenToGameY(getHeight())); } /** * A conversion from the screen's horizontal coordinate system * to the game's horizontal coordinate system. * @param x in the screen's coordinate system * @return x in the game's coordinate system */ window.screenToGameX = function(x) { return (x - getWidth() / 2) / getRatio() + getX(); } /** * A conversion from the screen's vertical coordinate system * to the game's vertical coordinate system. * @param y in the screen's coordinate system * @return y in the game's coordinate system */ window.screenToGameY = function(y) { return (y - getHeight() / 2) / getRatio() + getY(); } window.drawPoint = function(x_1, y_1, drawColor, text) { if (!toggleDraw) { dPoints.push([x_1, y_1, drawColor]); dText.push(text); } } window.drawArc = function(x_1, y_1, x_2, y_2, x_3, y_3, drawColor) { if (!toggleDraw) { var radius = computeDistance(x_1, y_1, x_3, y_3); dArc.push([x_1, y_1, x_2, y_2, x_3, y_3, radius, drawColor]); } } window.drawLine = function(x_1, y_1, x_2, y_2, drawColor) { if (!toggleDraw) { lines.push([x_1, y_1, x_2, y_2, drawColor]); } } window.drawCircle = function(x_1, y_1, radius, drawColor) { if (!toggleDraw) { circles.push([x_1, y_1, radius, drawColor]); } } function V() { //UPDATE if (getPlayer().length == 0 && !reviving && ~~(getCurrentScore() / 100) > 0) { console.log("Dead: " + ~~(getCurrentScore() / 100)); apos('send', 'pageview'); } if (getPlayer().length == 0) { console.log("Revive"); setNick(originalName); reviving = true; } else if (getPlayer().length > 0 && reviving) { reviving = false; console.log("Done Reviving!"); } if (T()) { var a = fa - m / 2; var b = ga - r / 2; 64 > a * a + b * b || .01 > Math.abs(eb - ia) && .01 > Math.abs(fb - ja) || (eb = ia, fb = ja, a = N(13), a.setUint8(0, 16), a.setInt32(1, ia, !0), a.setInt32(5, ja, !0), a.setUint32(9, 0, !0), O(a)) } } function cb() { if (T() && $ && null != K) { var a = N(1 + 2 * K.length); a.setUint8(0, 0); for (var b = 0; b < K.length; ++b) a.setUint16(1 + 2 * b, K.charCodeAt(b), !0); O(a) } } function T() { return null != q && q.readyState == q.OPEN } window.opCode = function(a) { console.log("Sending op code."); H(parseInt(a)); } function H(a) { if (T()) { var b = N(1); b.setUint8(0, a); O(b) } } function $a() { if (T() && null != B) { var a = N(1 + B.length); a.setUint8(0, 81); for (var b = 0; b < B.length; ++b) a.setUint8(b + 1, B.charCodeAt(b)); O(a) } } function Ta() { m = d.innerWidth; r = d.innerHeight; za.width = G.width = m; za.height = G.height = r; var a = e("#helloContainer"); a.css("transform", "none"); var b = a.height(), c = d.innerHeight; b > c / 1.1 ? a.css("transform", "translate(-50%, -50%) scale(" + c / b / 1.1 + ")") : a.css("transform", "translate(-50%, -50%)"); gb() } function hb() { var a; a = Math.max(r / 1080, m / 1920); return a *= J } function yb() { if (0 != k.length) { for (var a = 0, b = 0; b < k.length; b++) a += k[b].size; a = Math.pow(Math.min(64 / a, 1), .4) * hb(); h = (9 * h + a) / 10 } } function gb() { //UPDATE dPoints = []; circles = []; dArc = []; dText = []; lines = []; var a, b = Date.now(); ++zb; C = b; if (0 < k.length) { yb(); for (var c = a = 0, d = 0; d < k.length; d++) k[d].P(), a += k[d].x / k.length, c += k[d].y / k.length; aa = a; ba = c; ca = h; s = (s + a) / 2; t = (t + c) / 2; } else s = (29 * s + aa) / 30, t = (29 * t + ba) / 30, h = (9 * h + ca * hb()) / 10; qb(); Aa(); Ia || f.clearRect(0, 0, m, r); Ia ? (f.fillStyle = ta ? "#111111" : "#F2FBFF", f.globalAlpha = .05, f.fillRect(0, 0, m, r), f.globalAlpha = 1) : Ab(); v.sort(function(a, b) { return a.size == b.size ? a.id - b.id : a.size - b.size }); f.save(); f.translate(m / 2, r / 2); f.scale(h, h); f.translate(-s, -t); //UPDATE f.save(); f.beginPath(); f.lineWidth = 5; f.strokeStyle = (getDarkBool() ? '#F2FBFF' : '#111111'); f.moveTo(getMapStartX(), getMapStartY()); f.lineTo(getMapStartX(), getMapEndY()); f.stroke(); f.moveTo(getMapStartX(), getMapStartY()); f.lineTo(getMapEndX(), getMapStartY()); f.stroke(); f.moveTo(getMapEndX(), getMapStartY()); f.lineTo(getMapEndX(), getMapEndY()); f.stroke(); f.moveTo(getMapStartX(), getMapEndY()); f.lineTo(getMapEndX(), getMapEndY()); f.stroke(); f.restore(); for (d = 0; d < v.length; d++) v[d].w(f); for (d = 0; d < Q.length; d++) Q[d].w(f); //UPDATE if (getPlayer().length > 0) { var moveLoc = window.botList[botIndex].mainLoop(); if (!toggle) { setPoint(moveLoc[0], moveLoc[1]); } } customRender(f); if (Ga) { na = (3 * na + Ea) / 4; oa = (3 * oa + Fa) / 4; f.save(); f.strokeStyle = "#FFAAAA"; f.lineWidth = 10; f.lineCap = "round"; f.lineJoin = "round"; f.globalAlpha = .5; f.beginPath(); for (d = 0; d < k.length; d++) f.moveTo(k[d].x, k[d].y), f.lineTo(na, oa); f.stroke(); f.restore(); } f.restore(); z && z.width && f.drawImage(z, m - z.width - 10, 10); R = Math.max(R, Bb()); //UPDATE var currentDate = new Date(); var nbSeconds = 0; if (getPlayer().length > 0) { //nbSeconds = currentDate.getSeconds() + currentDate.getMinutes() * 60 + currentDate.getHours() * 3600 - lifeTimer.getSeconds() - lifeTimer.getMinutes() * 60 - lifeTimer.getHours() * 3600; nbSeconds = (currentDate.getTime() - lifeTimer.getTime())/1000; } bestTime = Math.max(nbSeconds, bestTime); var displayText = 'Score: ' + ~~(R / 100) + " Current Time: " + nbSeconds + " seconds."; 0 != R && (null == ua && (ua = new va(24, "#FFFFFF")), ua.C(displayText), c = ua.L(), a = c.width, f.globalAlpha = .2, f.fillStyle = "#000000", f.fillRect(10, r - 10 - 24 - 10, a + 10, 34), f.globalAlpha = 1, f.drawImage(c, 15, r - 10 - 24 - 5)); Cb(); b = Date.now() - b; b > 1E3 / 60 ? D -= .01 : b < 1E3 / 65 && (D += .01);.4 > D && (D = .4); 1 < D && (D = 1); b = C - ib; !T() || W ? (x += b / 2E3, 1 < x && (x = 1)) : (x -= b / 300, 0 > x && (x = 0)); 0 < x && (f.fillStyle = "#000000", f.globalAlpha = .5 * x, f.fillRect(0, 0, m, r), f.globalAlpha = 1); ib = C drawStats(f); } //UPDATE function customRender(d) { d.save(); for (var i = 0; i < lines.length; i++) { d.beginPath(); d.lineWidth = 5; if (lines[i][4] == 0) { d.strokeStyle = "#FF0000"; } else if (lines[i][4] == 1) { d.strokeStyle = "#00FF00"; } else if (lines[i][4] == 2) { d.strokeStyle = "#0000FF"; } else if (lines[i][4] == 3) { d.strokeStyle = "#FF8000"; } else if (lines[i][4] == 4) { d.strokeStyle = "#8A2BE2"; } else if (lines[i][4] == 5) { d.strokeStyle = "#FF69B4"; } else if (lines[i][4] == 6) { d.strokeStyle = "#008080"; } else if (lines[i][4] == 7) { d.strokeStyle = (getDarkBool() ? '#F2FBFF' : '#111111'); } else { d.strokeStyle = "#000000"; } d.moveTo(lines[i][0], lines[i][1]); d.lineTo(lines[i][2], lines[i][3]); d.stroke(); } d.restore(); d.save(); for (var i = 0; i < circles.length; i++) { if (circles[i][3] == 0) { d.strokeStyle = "#FF0000"; } else if (circles[i][3] == 1) { d.strokeStyle = "#00FF00"; } else if (circles[i][3] == 2) { d.strokeStyle = "#0000FF"; } else if (circles[i][3] == 3) { d.strokeStyle = "#FF8000"; } else if (circles[i][3] == 4) { d.strokeStyle = "#8A2BE2"; } else if (circles[i][3] == 5) { d.strokeStyle = "#FF69B4"; } else if (circles[i][3] == 6) { d.strokeStyle = "#008080"; } else if (circles[i][3] == 7) { d.strokeStyle = (getDarkBool() ? '#F2FBFF' : '#111111'); } else { d.strokeStyle = "#000000"; } d.beginPath(); d.lineWidth = 10; //d.setLineDash([5]); d.globalAlpha = 0.3; d.arc(circles[i][0], circles[i][1], circles[i][2], 0, 2 * Math.PI, false); d.stroke(); } d.restore(); d.save(); for (var i = 0; i < dArc.length; i++) { if (dArc[i][7] == 0) { d.strokeStyle = "#FF0000"; } else if (dArc[i][7] == 1) { d.strokeStyle = "#00FF00"; } else if (dArc[i][7] == 2) { d.strokeStyle = "#0000FF"; } else if (dArc[i][7] == 3) { d.strokeStyle = "#FF8000"; } else if (dArc[i][7] == 4) { d.strokeStyle = "#8A2BE2"; } else if (dArc[i][7] == 5) { d.strokeStyle = "#FF69B4"; } else if (dArc[i][7] == 6) { d.strokeStyle = "#008080"; } else if (dArc[i][7] == 7) { d.strokeStyle = (getDarkBool() ? '#F2FBFF' : '#111111'); } else { d.strokeStyle = "#000000"; } d.beginPath(); d.lineWidth = 5; var ang1 = Math.atan2(dArc[i][1] - dArc[i][5], dArc[i][0] - dArc[i][4]); var ang2 = Math.atan2(dArc[i][3] - dArc[i][5], dArc[i][2] - dArc[i][4]); d.arc(dArc[i][4], dArc[i][5], dArc[i][6], ang1, ang2, false); d.stroke(); } d.restore(); d.save(); for (var i = 0; i < dPoints.length; i++) { if (dText[i] == "") { var radius = 10; d.beginPath(); d.arc(dPoints[i][0], dPoints[i][1], radius, 0, 2 * Math.PI, false); if (dPoints[i][2] == 0) { d.fillStyle = "black"; } else if (dPoints[i][2] == 1) { d.fillStyle = "yellow"; } else if (dPoints[i][2] == 2) { d.fillStyle = "blue"; } else if (dPoints[i][2] == 3) { d.fillStyle = "red"; } else if (dPoints[i][2] == 4) { d.fillStyle = "#008080"; } else if (dPoints[i][2] == 5) { d.fillStyle = "#FF69B4"; } else { d.fillStyle = "#000000"; } d.fill(); d.lineWidth = 2; d.strokeStyle = '#003300'; d.stroke(); } else { var text = new va(18, (getDarkBool() ? '#F2FBFF' : '#111111'), true, (getDarkBool() ? '#111111' : '#F2FBFF')); text.C(dText[i]); var textRender = text.L(); d.drawImage(textRender, dPoints[i][0] - (textRender.width / 2), dPoints[i][1] - (textRender.height / 2)); } } d.restore(); } function drawStats(d) { d.save() sessionScore = Math.max(getCurrentScore(), sessionScore); var botString = window.botList[botIndex].displayText(); var debugStrings = []; debugStrings.push("Bot: " + window.botList[botIndex].name); debugStrings.push("Launcher: AposLauncher " + aposLauncherVersion); debugStrings.push("T - Bot: " + (!toggle ? "On" : "Off")); debugStrings.push("R - Lines: " + (!toggleDraw ? "On" : "Off")); for (var i = 0; i < botString.length; i++) { debugStrings.push(botString[i]); } debugStrings.push(""); debugStrings.push("Best Score: " + ~~(sessionScore / 100)); debugStrings.push("Best Time: " + bestTime + " seconds"); debugStrings.push(""); debugStrings.push(serverIP); if (getPlayer().length > 0) { var offsetX = -getMapStartX(); var offsetY = -getMapStartY(); debugStrings.push("Location: " + Math.floor(getPlayer()[0].x + offsetX) + ", " + Math.floor(getPlayer()[0].y + offsetY)); } var offsetValue = 20; var text = new va(18, (getDarkBool() ? '#F2FBFF' : '#111111')); for (var i = 0; i < debugStrings.length; i++) { text.C(debugStrings[i]); var textRender = text.L(); d.drawImage(textRender, 20, offsetValue); offsetValue += textRender.height; } if (message.length > 0) { var mRender = []; var mWidth = 0; var mHeight = 0; for (var i = 0; i < message.length; i++) { var mText = new va(28, '#FF0000', true, '#000000'); mText.C(message[i]); mRender.push(mText.L()); if (mRender[i].width > mWidth) { mWidth = mRender[i].width; } mHeight += mRender[i].height; } var mX = getWidth() / 2 - mWidth / 2; var mY = 20; d.globalAlpha = 0.4; d.fillStyle = '#000000'; d.fillRect(mX - 10, mY - 10, mWidth + 20, mHeight + 20); d.globalAlpha = 1; var mOffset = mY; for (var i = 0; i < mRender.length; i++) { d.drawImage(mRender[i], getWidth() / 2 - mRender[i].width / 2, mOffset); mOffset += mRender[i].height; } } d.restore(); } function Ab() { f.fillStyle = ta ? "#111111" : "#F2FBFF"; f.fillRect(0, 0, m, r); f.save(); f.strokeStyle = ta ? "#AAAAAA" : "#000000"; f.globalAlpha = .2 * h; for (var a = m / h, b = r / h, c = (a / 2 - s) % 50; c < a; c += 50) f.beginPath(), f.moveTo(c * h - .5, 0), f.lineTo(c * h - .5, b * h), f.stroke(); for (c = (b / 2 - t) % 50; c < b; c += 50) f.beginPath(), f.moveTo(0, c * h - .5), f.lineTo(a * h, c * h - .5), f.stroke(); f.restore() } function Cb() { if (Qa && Ja.width) { var a = m / 5; f.drawImage(Ja, 5, 5, a, a) } } function Bb() { for (var a = 0, b = 0; b < k.length; b++) a += k[b].q * k[b].q; return a } function ab() { z = null; if (null != A || 0 != F.length) if (null != A || wa) { z = document.createElement("canvas"); var a = z.getContext("2d"), b = 60, b = null == A ? b + 24 * F.length : b + 180, c = Math.min(200, .3 * m) / 200; z.width = 200 * c; z.height = b * c; a.scale(c, c); a.globalAlpha = .4; a.fillStyle = "#000000"; a.fillRect(0, 0, 200, b); a.globalAlpha = 1; a.fillStyle = "#FFFFFF"; c = null; c = Z("leaderboard"); a.font = "30px Ubuntu"; a.fillText(c, 100 - a.measureText(c).width / 2, 40); if (null == A) for (a.font = "20px Ubuntu", b = 0; b < F.length; ++b) c = F[b].name || Z("unnamed_cell"), wa || (c = Z("unnamed_cell")), -1 != M.indexOf(F[b].id) ? (k[0].name && (c = k[0].name), a.fillStyle = "#FFAAAA") : a.fillStyle = "#FFFFFF", c = b + 1 + ". " + c, a.fillText(c, 100 - a.measureText(c).width / 2, 70 + 24 * b); else for (b = c = 0; b < A.length; ++b) { var d = c + A[b] * Math.PI * 2; a.fillStyle = Db[b + 1]; a.beginPath(); a.moveTo(100, 140); a.arc(100, 140, 80, c, d, !1); a.fill(); c = d } } } function Ka(a, b, c, d, e) { this.V = a; this.x = b; this.y = c; this.i = d; this.b = e } function da(a, b, c, d, e, p) { this.id = a; this.s = this.x = b; this.t = this.y = c; this.r = this.size = d; this.color = e; this.a = []; this.W(); this.B(p) } function va(a, b, c, d) { a && (this.u = a); b && (this.S = b); this.U = !!c; d && (this.v = d) } function S(a, b) { var c = "1" == e("#helloContainer").attr("data-has-account-data"); e("#helloContainer").attr("data-has-account-data", "1"); if (null == b && d.localStorage.loginCache) { var l = JSON.parse(d.localStorage.loginCache); l.f = a.f; l.d = a.d; l.e = a.e; d.localStorage.loginCache = JSON.stringify(l) } if (c) { var u = +e(".agario-exp-bar .progress-bar-text").first().text().split("/")[0], c = +e(".agario-exp-bar .progress-bar-text").first().text().split("/")[1].split(" ")[0], l = e(".agario-profile-panel .progress-bar-star").first().text(); if (l != a.e) S({ f: c, d: c, e: l }, function() { e(".agario-profile-panel .progress-bar-star").text(a.e); e(".agario-exp-bar .progress-bar").css("width", "100%"); e(".progress-bar-star").addClass("animated tada").one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend", function() { e(".progress-bar-star").removeClass("animated tada") }); setTimeout(function() { e(".agario-exp-bar .progress-bar-text").text(a.d + "/" + a.d + " XP"); S({ f: 0, d: a.d, e: a.e }, function() { S(a, b) }) }, 1E3) }); else { var p = Date.now(), g = function() { var c; c = (Date.now() - p) / 1E3; c = 0 > c ? 0 : 1 < c ? 1 : c; c = c * c * (3 - 2 * c); e(".agario-exp-bar .progress-bar-text").text(~~(u + (a.f - u) * c) + "/" + a.d + " XP"); e(".agario-exp-bar .progress-bar").css("width", (88 * (u + (a.f - u) * c) / a.d).toFixed(2) + "%"); 1 > c ? d.requestAnimationFrame(g) : b && b() }; d.requestAnimationFrame(g) } } else e(".agario-profile-panel .progress-bar-star").text(a.e), e(".agario-exp-bar .progress-bar-text").text(a.f + "/" + a.d + " XP"), e(".agario-exp-bar .progress-bar").css("width", (88 * a.f / a.d).toFixed(2) + "%"), b && b() } function jb(a) { "string" == typeof a && (a = JSON.parse(a)); Date.now() + 18E5 > a.ja ? e("#helloContainer").attr("data-logged-in", "0") : (d.localStorage.loginCache = JSON.stringify(a), B = a.fa, e(".agario-profile-name").text(a.name), $a(), S({ f: a.f, d: a.d, e: a.e }), e("#helloContainer").attr("data-logged-in", "1")) } function Eb(a) { a = a.split("\n"); jb({ name: a[0], ta: a[1], fa: a[2], ja: 1E3 * +a[3], e: +a[4], f: +a[5], d: +a[6] }); console.log("Hello Facebook?"); } function La(a) { if ("connected" == a.status) { var b = a.authResponse.accessToken; d.FB.api("/me/picture?width=180&height=180", function(a) { d.localStorage.fbPictureCache = a.data.url; e(".agario-profile-picture").attr("src", a.data.url) }); e("#helloContainer").attr("data-logged-in", "1"); null != B ? e.ajax("https://m.agar.io/checkToken", { error: function() { console.log("Facebook Fail!"); B = null; La(a) }, success: function(a) { a = a.split("\n"); S({ e: +a[0], f: +a[1], d: +a[2] }); console.log("Facebook connected!"); }, dataType: "text", method: "POST", cache: !1, crossDomain: !0, data: B }) : e.ajax("https://m.agar.io/facebookLogin", { error: function() { console.log("You have a Facebook problem!"); B = null; e("#helloContainer").attr("data-logged-in", "0") }, success: Eb, dataType: "text", method: "POST", cache: !1, crossDomain: !0, data: b }) } } function Wa(a) { Y(":party"); e("#helloContainer").attr("data-party-state", "4"); a = decodeURIComponent(a).replace(/.*#/gim, ""); Ma("#" + d.encodeURIComponent(a)); e.ajax(Na + "//m.agar.io/getToken", { error: function() { e("#helloContainer").attr("data-party-state", "6") }, success: function(b) { b = b.split("\n"); e(".partyToken").val("agar.io/#" + d.encodeURIComponent(a)); e("#helloContainer").attr("data-party-state", "5"); Y(":party"); Ca("ws://" + b[0], a) }, dataType: "text", method: "POST", cache: !1, crossDomain: !0, data: a }) } function Ma(a) { d.history && d.history.replaceState && d.history.replaceState({}, d.document.title, a) } if (!d.agarioNoInit) { var Na = d.location.protocol, tb = "https:" == Na, xa = d.navigator.userAgent; if (-1 != xa.indexOf("Android")) d.ga && d.ga("send", "event", "MobileRedirect", "PlayStore"), setTimeout(function() { d.location.href = "market://details?id=com.miniclip.agar.io" }, 1E3); else if (-1 != xa.indexOf("iPhone") || -1 != xa.indexOf("iPad") || -1 != xa.indexOf("iPod")) d.ga && d.ga("send", "event", "MobileRedirect", "AppStore"), setTimeout(function() { d.location.href = "https://itunes.apple.com/app/agar.io/id995999703" }, 1E3); else { var za, f, G, m, r, X = null, //UPDATE toggle = false, toggleDraw = false, tempPoint = [0, 0, 1], dPoints = [], circles = [], dArc = [], dText = [], lines = [], names = ["Vilhena"], originalName = names[Math.floor(Math.random() * names.length)], sessionScore = 0, serverIP = "", interNodes = [], lifeTimer = new Date(), bestTime = 0, botIndex = 0, reviving = false, message = [], q = null, s = 0, t = 0, M = [], k = [], E = {}, v = [], Q = [], F = [], fa = 0, ga = 0, //UPDATE ia = -1, ja = -1, zb = 0, C = 0, ib = 0, K = null, pa = 0, qa = 0, ra = 1E4, sa = 1E4, h = 1, y = null, kb = !0, wa = !0, Oa = !1, Ha = !1, R = 0, ta = !1, lb = !1, aa = s = ~~((pa + ra) / 2), ba = t = ~~((qa + sa) / 2), ca = 1, P = "", A = null, ya = !1, Ga = !1, Ea = 0, Fa = 0, na = 0, oa = 0, mb = 0, Db = ["#333333", "#FF3333", "#33FF33", "#3333FF"], Ia = !1, $ = !1, bb = 0, B = null, J = 1, x = 1, W = !0, Ba = 0, Da = {}; (function() { var a = d.location.search; "?" == a.charAt(0) && (a = a.slice(1)); for (var a = a.split("&"), b = 0; b < a.length; b++) { var c = a[b].split("="); Da[c[0]] = c[1] } })(); var Qa = "ontouchstart" in d && /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(d.navigator.userAgent), Ja = new Image; Ja.src = "img/split.png"; var nb = document.createElement("canvas"); if ("undefined" == typeof console || "undefined" == typeof DataView || "undefined" == typeof WebSocket || null == nb || null == nb.getContext || null == d.localStorage) alert("You browser does not support this game, we recommend you to use Firefox to play this"); else { var ka = null; d.setNick = function(a) { //UPDATE originalName = a; if (getPlayer().length == 0) { lifeTimer = new Date(); } Xa(); K = a; cb(); R = 0 }; d.setRegion = ha; d.setSkins = function(a) { kb = a }; d.setNames = function(a) { wa = a }; d.setDarkTheme = function(a) { ta = a }; d.setColors = function(a) { Oa = a }; d.setShowMass = function(a) { lb = a }; d.spectate = function() { K = null; H(1); Xa() }; d.setGameMode = function(a) { a != P && (":party" == P && e("#helloContainer").attr("data-party-state", "0"), Y(a), ":party" != a && I()) }; d.setAcid = function(a) { Ia = a }; null != d.localStorage && (null == d.localStorage.AB9 && (d.localStorage.AB9 = 0 + ~~(100 * Math.random())), mb = +d.localStorage.AB9, d.ABGroup = mb); e.get(Na + "//gc.agar.io", function(a) { var b = a.split(" "); a = b[0]; b = b[1] || ""; - 1 == ["UA"].indexOf(a) && ob.push("ussr"); ea.hasOwnProperty(a) && ("string" == typeof ea[a] ? y || ha(ea[a]) : ea[a].hasOwnProperty(b) && (y || ha(ea[a][b]))) }, "text"); d.ga && d.ga("send", "event", "User-Agent", d.navigator.userAgent, { nonInteraction: 1 }); var la = !1, Ya = 0; setTimeout(function() { la = !0 }, Math.max(6E4 * Ya, 1E4)); var ea = { AF: "JP-Tokyo", AX: "EU-London", AL: "EU-London", DZ: "EU-London", AS: "SG-Singapore", AD: "EU-London", AO: "EU-London", AI: "US-Atlanta", AG: "US-Atlanta", AR: "BR-Brazil", AM: "JP-Tokyo", AW: "US-Atlanta", AU: "SG-Singapore", AT: "EU-London", AZ: "JP-Tokyo", BS: "US-Atlanta", BH: "JP-Tokyo", BD: "JP-Tokyo", BB: "US-Atlanta", BY: "EU-London", BE: "EU-London", BZ: "US-Atlanta", BJ: "EU-London", BM: "US-Atlanta", BT: "JP-Tokyo", BO: "BR-Brazil", BQ: "US-Atlanta", BA: "EU-London", BW: "EU-London", BR: "BR-Brazil", IO: "JP-Tokyo", VG: "US-Atlanta", BN: "JP-Tokyo", BG: "EU-London", BF: "EU-London", BI: "EU-London", KH: "JP-Tokyo", CM: "EU-London", CA: "US-Atlanta", CV: "EU-London", KY: "US-Atlanta", CF: "EU-London", TD: "EU-London", CL: "BR-Brazil", CN: "CN-China", CX: "JP-Tokyo", CC: "JP-Tokyo", CO: "BR-Brazil", KM: "EU-London", CD: "EU-London", CG: "EU-London", CK: "SG-Singapore", CR: "US-Atlanta", CI: "EU-London", HR: "EU-London", CU: "US-Atlanta", CW: "US-Atlanta", CY: "JP-Tokyo", CZ: "EU-London", DK: "EU-London", DJ: "EU-London", DM: "US-Atlanta", DO: "US-Atlanta", EC: "BR-Brazil", EG: "EU-London", SV: "US-Atlanta", GQ: "EU-London", ER: "EU-London", EE: "EU-London", ET: "EU-London", FO: "EU-London", FK: "BR-Brazil", FJ: "SG-Singapore", FI: "EU-London", FR: "EU-London", GF: "BR-Brazil", PF: "SG-Singapore", GA: "EU-London", GM: "EU-London", GE: "JP-Tokyo", DE: "EU-London", GH: "EU-London", GI: "EU-London", GR: "EU-London", GL: "US-Atlanta", GD: "US-Atlanta", GP: "US-Atlanta", GU: "SG-Singapore", GT: "US-Atlanta", GG: "EU-London", GN: "EU-London", GW: "EU-London", GY: "BR-Brazil", HT: "US-Atlanta", VA: "EU-London", HN: "US-Atlanta", HK: "JP-Tokyo", HU: "EU-London", IS: "EU-London", IN: "JP-Tokyo", ID: "JP-Tokyo", IR: "JP-Tokyo", IQ: "JP-Tokyo", IE: "EU-London", IM: "EU-London", IL: "JP-Tokyo", IT: "EU-London", JM: "US-Atlanta", JP: "JP-Tokyo", JE: "EU-London", JO: "JP-Tokyo", KZ: "JP-Tokyo", KE: "EU-London", KI: "SG-Singapore", KP: "JP-Tokyo", KR: "JP-Tokyo", KW: "JP-Tokyo", KG: "JP-Tokyo", LA: "JP-Tokyo", LV: "EU-London", LB: "JP-Tokyo", LS: "EU-London", LR: "EU-London", LY: "EU-London", LI: "EU-London", LT: "EU-London", LU: "EU-London", MO: "JP-Tokyo", MK: "EU-London", MG: "EU-London", MW: "EU-London", MY: "JP-Tokyo", MV: "JP-Tokyo", ML: "EU-London", MT: "EU-London", MH: "SG-Singapore", MQ: "US-Atlanta", MR: "EU-London", MU: "EU-London", YT: "EU-London", MX: "US-Atlanta", FM: "SG-Singapore", MD: "EU-London", MC: "EU-London", MN: "JP-Tokyo", ME: "EU-London", MS: "US-Atlanta", MA: "EU-London", MZ: "EU-London", MM: "JP-Tokyo", NA: "EU-London", NR: "SG-Singapore", NP: "JP-Tokyo", NL: "EU-London", NC: "SG-Singapore", NZ: "SG-Singapore", NI: "US-Atlanta", NE: "EU-London", NG: "EU-London", NU: "SG-Singapore", NF: "SG-Singapore", MP: "SG-Singapore", NO: "EU-London", OM: "JP-Tokyo", PK: "JP-Tokyo", PW: "SG-Singapore", PS: "JP-Tokyo", PA: "US-Atlanta", PG: "SG-Singapore", PY: "BR-Brazil", PE: "BR-Brazil", PH: "JP-Tokyo", PN: "SG-Singapore", PL: "EU-London", PT: "EU-London", PR: "US-Atlanta", QA: "JP-Tokyo", RE: "EU-London", RO: "EU-London", RU: "RU-Russia", RW: "EU-London", BL: "US-Atlanta", SH: "EU-London", KN: "US-Atlanta", LC: "US-Atlanta", MF: "US-Atlanta", PM: "US-Atlanta", VC: "US-Atlanta", WS: "SG-Singapore", SM: "EU-London", ST: "EU-London", SA: "EU-London", SN: "EU-London", RS: "EU-London", SC: "EU-London", SL: "EU-London", SG: "JP-Tokyo", SX: "US-Atlanta", SK: "EU-London", SI: "EU-London", SB: "SG-Singapore", SO: "EU-London", ZA: "EU-London", SS: "EU-London", ES: "EU-London", LK: "JP-Tokyo", SD: "EU-London", SR: "BR-Brazil", SJ: "EU-London", SZ: "EU-London", SE: "EU-London", CH: "EU-London", SY: "EU-London", TW: "JP-Tokyo", TJ: "JP-Tokyo", TZ: "EU-London", TH: "JP-Tokyo", TL: "JP-Tokyo", TG: "EU-London", TK: "SG-Singapore", TO: "SG-Singapore", TT: "US-Atlanta", TN: "EU-London", TR: "TK-Turkey", TM: "JP-Tokyo", TC: "US-Atlanta", TV: "SG-Singapore", UG: "EU-London", UA: "EU-London", AE: "EU-London", GB: "EU-London", US: "US-Atlanta", UM: "SG-Singapore", VI: "US-Atlanta", UY: "BR-Brazil", UZ: "JP-Tokyo", VU: "SG-Singapore", VE: "BR-Brazil", VN: "JP-Tokyo", WF: "SG-Singapore", EH: "EU-London", YE: "JP-Tokyo", ZM: "EU-London", ZW: "EU-London" }, L = null; d.connect = Ca; //UPDATE /** * Tells you if the game is in Dark mode. * @return Boolean for dark mode. */ window.getDarkBool = function() { return ta; } /** * Tells you if the mass is shown. * @return Boolean for player's mass. */ window.getMassBool = function() { return lb; } /** * This is a copy of everything that is shown on screen. * Normally stuff will time out when off the screen, this * memorizes everything that leaves the screen for a little * while longer. * @return The memory object. */ window.getMemoryCells = function() { return interNodes; } /** * [getCellsArray description] * @return {[type]} [description] */ window.getCellsArray = function() { return v; } /** * [getCellsArray description] * @return {[type]} [description] */ window.getCells = function() { return E; } /** * Returns an array with all the player's cells. * @return Player's cells */ window.getPlayer = function() { return k; } /** * The canvas' width. * @return Integer Width */ window.getWidth = function() { return m; } /** * The canvas' height * @return Integer Height */ window.getHeight = function() { return r; } /** * Scaling ratio of the canvas. The bigger this ration, * the further that you see. * @return Screen scaling ratio. */ window.getRatio = function() { return h; } /** * [getOffsetX description] * @return {[type]} [description] */ window.getOffsetX = function() { return aa; } window.getOffsetY = function() { return ba; } window.getX = function() { return s; } window.getY = function() { return t; } window.getPointX = function() { return ia; } window.getPointY = function() { return ja; } /** * The X location of the mouse. * @return Integer X */ window.getMouseX = function() { return fa; } /** * The Y location of the mouse. * @return Integer Y */ window.getMouseY = function() { return ga; } window.getMapStartX = function() { return pa; } window.getMapStartY = function() { return qa; } window.getMapEndX = function() { return ra; } window.getMapEndY = function() { return sa; } window.getScreenDistance = function() { var temp = screenDistance(); return temp; } /** * A timestamp since the last time the server sent any data. * @return Last update timestamp */ window.getLastUpdate = function() { return C; } window.getCurrentScore = function() { return R; } /** * The game's current mode. (":ffa", ":experimental", ":teams". ":party") * @return {[type]} [description] */ window.getMode = function() { return P; } window.setPoint = function(x, y) { ia = x; ja = y; } window.setScore = function(a) { sessionScore = a * 100; } window.setBestTime = function(a) { bestTime = a; } window.best = function(a, b) { setScore(a); setBestTime(b); } window.setBotIndex = function(a) { console.log("Changing bot"); botIndex = a; } window.setMessage = function(a) { message = a; } window.updateBotList = function() { window.bot
Lifestylerr
/*The MIT License (MIT) Copyright (c) 2015 Apostolique Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.*/ // ==UserScript== // @name AposLauncher // @namespace AposLauncher // @include http://agar.io/* // @version 4.124 // @grant none // @author http://www.twitch.tv/apostolique // ==/UserScript== var aposLauncherVersion = 4.124; Number.prototype.mod = function(n) { return ((this % n) + n) % n; }; Array.prototype.peek = function() { return this[this.length - 1]; }; var sha = "efde0488cc2cc176db48dd23b28a20b90314352b"; function getLatestCommit() { window.jQuery.ajax({ url: "https://api.github.com/repos/apostolique/Agar.io-bot/git/refs/heads/master", cache: false, dataType: "jsonp" }).done(function(data) { console.dir(data.data); console.log("hmm: " + data.data.object.sha); sha = data.data.object.sha; function update(prefix, name, url) { window.jQuery(document.body).prepend("<div id='" + prefix + "Dialog' style='position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; z-index: 100; display: none;'>"); window.jQuery('#' + prefix + 'Dialog').append("<div id='" + prefix + "Message' style='width: 350px; background-color: #FFFFFF; margin: 100px auto; border-radius: 15px; padding: 5px 15px 5px 15px;'>"); window.jQuery('#' + prefix + 'Message').append("<h2>UPDATE TIME!!!</h2>"); window.jQuery('#' + prefix + 'Message').append("<p>Grab the update for: <a id='" + prefix + "Link' href='" + url + "' target=\"_blank\">" + name + "</a></p>"); window.jQuery('#' + prefix + 'Link').on('click', function() { window.jQuery("#" + prefix + "Dialog").hide(); window.jQuery("#" + prefix + "Dialog").remove(); }); window.jQuery("#" + prefix + "Dialog").show(); } window.jQuery.get('https://raw.githubusercontent.com/Apostolique/Agar.io-bot/master/launcher.user.js?' + Math.floor((Math.random() * 1000000) + 1), function(data) { var latestVersion = data.replace(/(\r\n|\n|\r)/gm, ""); latestVersion = latestVersion.substring(latestVersion.indexOf("// @version") + 11, latestVersion.indexOf("// @grant")); latestVersion = parseFloat(latestVersion + 0.0000); var myVersion = parseFloat(aposLauncherVersion + 0.0000); if (latestVersion > myVersion) { update("aposLauncher", "launcher.user.js", "https://github.com/Apostolique/Agar.io-bot/blob/" + sha + "/launcher.user.js/"); } console.log('Current launcher.user.js Version: ' + myVersion + " on Github: " + latestVersion); }); }).fail(function() {}); } getLatestCommit(); console.log("Running Bot Launcher!"); (function(d, e) { //UPDATE function keyAction(e) { if (84 == e.keyCode) { console.log("Toggle"); toggle = !toggle; } if (82 == e.keyCode) { console.log("ToggleDraw"); toggleDraw = !toggleDraw; } if (68 == e.keyCode) { window.setDarkTheme(!getDarkBool()); } if (70 == e.keyCode) { window.setShowMass(!getMassBool()); } if (69 == e.keyCode) { if (message.length > 0) { window.setMessage([]); window.onmouseup = function() {}; window.ignoreStream = true; } else { window.ignoreStream = false; window.refreshTwitch(); } } window.botList[botIndex].keyAction(e); } function humanPlayer() { //Don't need to do anything. return [getPointX(), getPointY()]; } function pb() { //UPDATE window.botList = window.botList || []; window.jQuery('#nick').val(originalName); function HumanPlayerObject() { this.name = "Human"; this.keyAction = function(key) {}; this.displayText = function() { return []; }; this.mainLoop = humanPlayer; } var hpo = new HumanPlayerObject(); window.botList.push(hpo); window.updateBotList(); ya = !0; Pa(); setInterval(Pa, 18E4); var father = window.jQuery("#canvas").parent(); window.jQuery("#canvas").remove(); father.prepend("<canvas id='canvas'>"); G = za = document.getElementById("canvas"); f = G.getContext("2d"); G.onmousedown = function(a) { if (Qa) { var b = a.clientX - (5 + m / 5 / 2), c = a.clientY - (5 + m / 5 / 2); if (Math.sqrt(b * b + c * c) <= m / 5 / 2) { V(); H(17); return } } fa = a.clientX; ga = a.clientY; Aa(); V(); }; G.onmousemove = function(a) { fa = a.clientX; ga = a.clientY; Aa(); }; G.onmouseup = function() {}; /firefox/i.test(navigator.userAgent) ? document.addEventListener("DOMMouseScroll", Ra, !1) : document.body.onmousewheel = Ra; var a = !1, b = !1, c = !1; d.onkeydown = function(l) { //UPDATE if (!window.jQuery('#nick').is(":focus")) { 32 != l.keyCode || a || (V(), H(17), a = !0); 81 != l.keyCode || b || (H(18), b = !0); 87 != l.keyCode || c || (V(), H(21), c = !0); 27 == l.keyCode && Sa(!0); //UPDATE keyAction(l); } }; d.onkeyup = function(l) { 32 == l.keyCode && (a = !1); 87 == l.keyCode && (c = !1); 81 == l.keyCode && b && (H(19), b = !1); }; d.onblur = function() { H(19); c = b = a = !1 }; d.onresize = Ta; d.requestAnimationFrame(Ua); setInterval(V, 40); y && e("#region").val(y); Va(); ha(e("#region").val()); 0 == Ba && y && I(); W = !0; e("#overlays").show(); Ta(); d.location.hash && 6 <= d.location.hash.length && Wa(d.location.hash) } function Ra(a) { J *= Math.pow(.9, a.wheelDelta / -120 || a.detail || 0); //UPDATE 0.07 > J && (J = 0.07); J > 4 / h && (J = 4 / h) } function qb() { if (.4 > h) X = null; else { for (var a = Number.POSITIVE_INFINITY, b = Number.POSITIVE_INFINITY, c = Number.NEGATIVE_INFINITY, l = Number.NEGATIVE_INFINITY, d = 0, p = 0; p < v.length; p++) { var g = v[p]; !g.N() || g.R || 20 >= g.size * h || (d = Math.max(g.size, d), a = Math.min(g.x, a), b = Math.min(g.y, b), c = Math.max(g.x, c), l = Math.max(g.y, l)) } X = rb.ka({ ca: a - 10, da: b - 10, oa: c + 10, pa: l + 10, ma: 2, na: 4 }); for (p = 0; p < v.length; p++) if (g = v[p], g.N() && !(20 >= g.size * h)) for (a = 0; a < g.a.length; ++a) b = g.a[a].x, c = g.a[a].y, b < s - m / 2 / h || c < t - r / 2 / h || b > s + m / 2 / h || c > t + r / 2 / h || X.m(g.a[a]) } } function Aa() { //UPDATE if (toggle || window.botList[botIndex].name == "Human") { setPoint(((fa - m / 2) / h + s), ((ga - r / 2) / h + t)); } } function Pa() { null == ka && (ka = {}, e("#region").children().each(function() { var a = e(this), b = a.val(); b && (ka[b] = a.text()) })); e.get("https://m.agar.io/info", function(a) { var b = {}, c; for (c in a.regions) { var l = c.split(":")[0]; b[l] = b[l] || 0; b[l] += a.regions[c].numPlayers } for (c in b) e('#region option[value="' + c + '"]').text(ka[c] + " (" + b[c] + " players)") }, "json") } function Xa() { e("#adsBottom").hide(); e("#overlays").hide(); W = !1; Va(); d.googletag && d.googletag.pubads && d.googletag.pubads().clear(d.aa) } function ha(a) { a && a != y && (e("#region").val() != a && e("#region").val(a), y = d.localStorage.location = a, e(".region-message").hide(), e(".region-message." + a).show(), e(".btn-needs-server").prop("disabled", !1), ya && I()) } function Sa(a) { W || (K = null, sb(), a && (x = 1), W = !0, e("#overlays").fadeIn(a ? 200 : 3E3)) } function Y(a) { e("#helloContainer").attr("data-gamemode", a); P = a; e("#gamemode").val(a) } function Va() { e("#region").val() ? d.localStorage.location = e("#region").val() : d.localStorage.location && e("#region").val(d.localStorage.location); e("#region").val() ? e("#locationKnown").append(e("#region")) : e("#locationUnknown").append(e("#region")) } function sb() { la && (la = !1, setTimeout(function() { la = !0 //UPDATE }, 6E4 * Ya)) } function Z(a) { return d.i18n[a] || d.i18n_dict.en[a] || a } function Za() { var a = ++Ba; console.log("Find " + y + P); e.ajax("https://m.agar.io/findServer", { error: function() { setTimeout(Za, 1E3) }, success: function(b) { a == Ba && (b.alert && alert(b.alert), Ca("ws://" + b.ip, b.token)) }, dataType: "json", method: "POST", cache: !1, crossDomain: !0, data: (y + P || "?") + "\n154669603" }) } function I() { ya && y && (e("#connecting").show(), Za()) } function Ca(a, b) { if (q) { q.onopen = null; q.onmessage = null; q.onclose = null; try { q.close() } catch (c) {} q = null } Da.la && (a = "ws://" + Da.la); if (null != L) { var l = L; L = function() { l(b) } } if (tb) { var d = a.split(":"); a = d[0] + "s://ip-" + d[1].replace(/\./g, "-").replace(/\//g, "") + ".tech.agar.io:" + (+d[2] + 2E3) } M = []; k = []; E = {}; v = []; Q = []; F = []; z = A = null; R = 0; $ = !1; console.log("Connecting to " + a); //UPDATE serverIP = a; q = new WebSocket(a); q.binaryType = "arraybuffer"; q.onopen = function() { var a; console.log("socket open"); a = N(5); a.setUint8(0, 254); a.setUint32(1, 5, !0); O(a); a = N(5); a.setUint8(0, 255); a.setUint32(1, 154669603, !0); O(a); a = N(1 + b.length); a.setUint8(0, 80); for (var c = 0; c < b.length; ++c) a.setUint8(c + 1, b.charCodeAt(c)); O(a); $a() }; q.onmessage = ub; q.onclose = vb; q.onerror = function() { console.log("socket error") } } function N(a) { return new DataView(new ArrayBuffer(a)) } function O(a) { q.send(a.buffer) } function vb() { $ && (ma = 500); console.log("socket close"); setTimeout(I, ma); ma *= 2 } function ub(a) { wb(new DataView(a.data)) } function wb(a) { function b() { for (var b = "";;) { var d = a.getUint16(c, !0); c += 2; if (0 == d) break; b += String.fromCharCode(d) } return b } var c = 0; 240 == a.getUint8(c) && (c += 5); switch (a.getUint8(c++)) { case 16: xb(a, c); break; case 17: aa = a.getFloat32(c, !0); c += 4; ba = a.getFloat32(c, !0); c += 4; ca = a.getFloat32(c, !0); c += 4; break; case 20: k = []; M = []; break; case 21: Ea = a.getInt16(c, !0); c += 2; Fa = a.getInt16(c, !0); c += 2; Ga || (Ga = !0, na = Ea, oa = Fa); break; case 32: M.push(a.getUint32(c, !0)); c += 4; break; case 49: if (null != A) break; var l = a.getUint32(c, !0), c = c + 4; F = []; for (var d = 0; d < l; ++d) { var p = a.getUint32(c, !0), c = c + 4; F.push({ id: p, name: b() }) } ab(); break; case 50: A = []; l = a.getUint32(c, !0); c += 4; for (d = 0; d < l; ++d) A.push(a.getFloat32(c, !0)), c += 4; ab(); break; case 64: pa = a.getFloat64(c, !0); c += 8; qa = a.getFloat64(c, !0); c += 8; ra = a.getFloat64(c, !0); c += 8; sa = a.getFloat64(c, !0); c += 8; aa = (ra + pa) / 2; ba = (sa + qa) / 2; ca = 1; 0 == k.length && (s = aa, t = ba, h = ca); break; case 81: var g = a.getUint32(c, !0), c = c + 4, e = a.getUint32(c, !0), c = c + 4, f = a.getUint32(c, !0), c = c + 4; setTimeout(function() { S({ e: g, f: e, d: f }) }, 1200) } } function xb(a, b) { bb = C = Date.now(); $ || ($ = !0, e("#connecting").hide(), cb(), L && (L(), L = null)); var c = Math.random(); Ha = !1; var d = a.getUint16(b, !0); b += 2; for (var u = 0; u < d; ++u) { var p = E[a.getUint32(b, !0)], g = E[a.getUint32(b + 4, !0)]; b += 8; p && g && (g.X(), g.s = g.x, g.t = g.y, g.r = g.size, g.J = p.x, g.K = p.y, g.q = g.size, g.Q = C) } for (u = 0;;) { d = a.getUint32(b, !0); b += 4; if (0 == d) break; ++u; var f, p = a.getInt16(b, !0); b += 4; g = a.getInt16(b, !0); b += 4; f = a.getInt16(b, !0); b += 2; for (var h = a.getUint8(b++), w = a.getUint8(b++), m = a.getUint8(b++), h = (h << 16 | w << 8 | m).toString(16); 6 > h.length;) h = "0" + h; var h = "#" + h, w = a.getUint8(b++), m = !!(w & 1), r = !!(w & 16); w & 2 && (b += 4); w & 4 && (b += 8); w & 8 && (b += 16); for (var q, n = "";;) { q = a.getUint16(b, !0); b += 2; if (0 == q) break; n += String.fromCharCode(q) } q = n; n = null; E.hasOwnProperty(d) ? (n = E[d], n.P(), n.s = n.x, n.t = n.y, n.r = n.size, n.color = h) : (n = new da(d, p, g, f, h, q), v.push(n), E[d] = n, n.ua = p, n.va = g); n.h = m; n.n = r; n.J = p; n.K = g; n.q = f; n.sa = c; n.Q = C; n.ba = w; q && n.B(q); - 1 != M.indexOf(d) && -1 == k.indexOf(n) && (document.getElementById("overlays").style.display = "none", k.push(n), n.birth = getLastUpdate(), n.birthMass = (n.size * n.size / 100), 1 == k.length && (s = n.x, t = n.y, db())) //UPDATE interNodes[d] = window.getCells()[d]; } //UPDATE Object.keys(interNodes).forEach(function(element, index) { //console.log("start: " + interNodes[element].updateTime + " current: " + D + " life: " + (D - interNodes[element].updateTime)); var isRemoved = !window.getCells().hasOwnProperty(element); //console.log("Time not updated: " + (window.getLastUpdate() - interNodes[element].getUptimeTime())); if (isRemoved && (window.getLastUpdate() - interNodes[element].getUptimeTime()) > 3000) { delete interNodes[element]; } else { for (var i = 0; i < getPlayer().length; i++) { if (isRemoved && computeDistance(getPlayer()[i].x, getPlayer()[i].y, interNodes[element].x, interNodes[element].y) < getPlayer()[i].size + 710) { delete interNodes[element]; break; } } } }); c = a.getUint32(b, !0); b += 4; for (u = 0; u < c; u++) d = a.getUint32(b, !0), b += 4, n = E[d], null != n && n.X(); //UPDATE //Ha && 0 == k.length && Sa(!1) } //UPDATE function computeDistance(x1, y1, x2, y2) { var xdis = x1 - x2; // <--- FAKE AmS OF COURSE! var ydis = y1 - y2; var distance = Math.sqrt(xdis * xdis + ydis * ydis); return distance; } /** * Some horse shit of some sort. * @return Horse Shit */ function screenDistance() { return Math.min(computeDistance(getOffsetX(), getOffsetY(), screenToGameX(getWidth()), getOffsetY()), computeDistance(getOffsetX(), getOffsetY(), getOffsetX(), screenToGameY(getHeight()))); } window.verticalDistance = function() { return computeDistance(screenToGameX(0), screenToGameY(0), screenToGameX(getWidth()), screenToGameY(getHeight())); } /** * A conversion from the screen's horizontal coordinate system * to the game's horizontal coordinate system. * @param x in the screen's coordinate system * @return x in the game's coordinate system */ window.screenToGameX = function(x) { return (x - getWidth() / 2) / getRatio() + getX(); } /** * A conversion from the screen's vertical coordinate system * to the game's vertical coordinate system. * @param y in the screen's coordinate system * @return y in the game's coordinate system */ window.screenToGameY = function(y) { return (y - getHeight() / 2) / getRatio() + getY(); } window.drawPoint = function(x_1, y_1, drawColor, text) { if (!toggleDraw) { dPoints.push([x_1, y_1, drawColor]); dText.push(text); } } window.drawArc = function(x_1, y_1, x_2, y_2, x_3, y_3, drawColor) { if (!toggleDraw) { var radius = computeDistance(x_1, y_1, x_3, y_3); dArc.push([x_1, y_1, x_2, y_2, x_3, y_3, radius, drawColor]); } } window.drawLine = function(x_1, y_1, x_2, y_2, drawColor) { if (!toggleDraw) { lines.push([x_1, y_1, x_2, y_2, drawColor]); } } window.drawCircle = function(x_1, y_1, radius, drawColor) { if (!toggleDraw) { circles.push([x_1, y_1, radius, drawColor]); } } function V() { //UPDATE if (getPlayer().length == 0 && !reviving && ~~(getCurrentScore() / 100) > 0) { console.log("Dead: " + ~~(getCurrentScore() / 100)); apos('send', 'pageview'); } if (getPlayer().length == 0) { console.log("Revive"); setNick(originalName); reviving = true; } else if (getPlayer().length > 0 && reviving) { reviving = false; console.log("Done Reviving!"); } if (T()) { var a = fa - m / 2; var b = ga - r / 2; 64 > a * a + b * b || .01 > Math.abs(eb - ia) && .01 > Math.abs(fb - ja) || (eb = ia, fb = ja, a = N(13), a.setUint8(0, 16), a.setInt32(1, ia, !0), a.setInt32(5, ja, !0), a.setUint32(9, 0, !0), O(a)) } } function cb() { if (T() && $ && null != K) { var a = N(1 + 2 * K.length); a.setUint8(0, 0); for (var b = 0; b < K.length; ++b) a.setUint16(1 + 2 * b, K.charCodeAt(b), !0); O(a) } } function T() { return null != q && q.readyState == q.OPEN } window.opCode = function(a) { console.log("Sending op code."); H(parseInt(a)); } function H(a) { if (T()) { var b = N(1); b.setUint8(0, a); O(b) } } function $a() { if (T() && null != B) { var a = N(1 + B.length); a.setUint8(0, 81); for (var b = 0; b < B.length; ++b) a.setUint8(b + 1, B.charCodeAt(b)); O(a) } } function Ta() { m = d.innerWidth; r = d.innerHeight; za.width = G.width = m; za.height = G.height = r; var a = e("#helloContainer"); a.css("transform", "none"); var b = a.height(), c = d.innerHeight; b > c / 1.1 ? a.css("transform", "translate(-50%, -50%) scale(" + c / b / 1.1 + ")") : a.css("transform", "translate(-50%, -50%)"); gb() } function hb() { var a; a = Math.max(r / 1080, m / 1920); return a *= J } function yb() { if (0 != k.length) { for (var a = 0, b = 0; b < k.length; b++) a += k[b].size; a = Math.pow(Math.min(64 / a, 1), .4) * hb(); h = (9 * h + a) / 10 } } function gb() { //UPDATE dPoints = []; circles = []; dArc = []; dText = []; lines = []; var a, b = Date.now(); ++zb; C = b; if (0 < k.length) { yb(); for (var c = a = 0, d = 0; d < k.length; d++) k[d].P(), a += k[d].x / k.length, c += k[d].y / k.length; aa = a; ba = c; ca = h; s = (s + a) / 2; t = (t + c) / 2; } else s = (29 * s + aa) / 30, t = (29 * t + ba) / 30, h = (9 * h + ca * hb()) / 10; qb(); Aa(); Ia || f.clearRect(0, 0, m, r); Ia ? (f.fillStyle = ta ? "#111111" : "#F2FBFF", f.globalAlpha = .05, f.fillRect(0, 0, m, r), f.globalAlpha = 1) : Ab(); v.sort(function(a, b) { return a.size == b.size ? a.id - b.id : a.size - b.size }); f.save(); f.translate(m / 2, r / 2); f.scale(h, h); f.translate(-s, -t); //UPDATE f.save(); f.beginPath(); f.lineWidth = 5; f.strokeStyle = (getDarkBool() ? '#F2FBFF' : '#111111'); f.moveTo(getMapStartX(), getMapStartY()); f.lineTo(getMapStartX(), getMapEndY()); f.stroke(); f.moveTo(getMapStartX(), getMapStartY()); f.lineTo(getMapEndX(), getMapStartY()); f.stroke(); f.moveTo(getMapEndX(), getMapStartY()); f.lineTo(getMapEndX(), getMapEndY()); f.stroke(); f.moveTo(getMapStartX(), getMapEndY()); f.lineTo(getMapEndX(), getMapEndY()); f.stroke(); f.restore(); for (d = 0; d < v.length; d++) v[d].w(f); for (d = 0; d < Q.length; d++) Q[d].w(f); //UPDATE if (getPlayer().length > 0) { var moveLoc = window.botList[botIndex].mainLoop(); if (!toggle) { setPoint(moveLoc[0], moveLoc[1]); } } customRender(f); if (Ga) { na = (3 * na + Ea) / 4; oa = (3 * oa + Fa) / 4; f.save(); f.strokeStyle = "#FFAAAA"; f.lineWidth = 10; f.lineCap = "round"; f.lineJoin = "round"; f.globalAlpha = .5; f.beginPath(); for (d = 0; d < k.length; d++) f.moveTo(k[d].x, k[d].y), f.lineTo(na, oa); f.stroke(); f.restore(); } f.restore(); z && z.width && f.drawImage(z, m - z.width - 10, 10); R = Math.max(R, Bb()); //UPDATE var currentDate = new Date(); var nbSeconds = 0; if (getPlayer().length > 0) { //nbSeconds = currentDate.getSeconds() + currentDate.getMinutes() * 60 + currentDate.getHours() * 3600 - lifeTimer.getSeconds() - lifeTimer.getMinutes() * 60 - lifeTimer.getHours() * 3600; nbSeconds = (currentDate.getTime() - lifeTimer.getTime()) / 1000; } bestTime = Math.max(nbSeconds, bestTime); var displayText = 'Score: ' + ~~(R / 100) + " Current Time: " + nbSeconds + " seconds."; 0 != R && (null == ua && (ua = new va(24, "#FFFFFF")), ua.C(displayText), c = ua.L(), a = c.width, f.globalAlpha = .2, f.fillStyle = "#000000", f.fillRect(10, r - 10 - 24 - 10, a + 10, 34), f.globalAlpha = 1, f.drawImage(c, 15, r - 10 - 24 - 5)); Cb(); b = Date.now() - b; b > 1E3 / 60 ? D -= .01 : b < 1E3 / 65 && (D += .01);.4 > D && (D = .4); 1 < D && (D = 1); b = C - ib; !T() || W ? (x += b / 2E3, 1 < x && (x = 1)) : (x -= b / 300, 0 > x && (x = 0)); 0 < x && (f.fillStyle = "#000000", f.globalAlpha = .5 * x, f.fillRect(0, 0, m, r), f.globalAlpha = 1); ib = C drawStats(f); } //UPDATE function customRender(d) { d.save(); for (var i = 0; i < lines.length; i++) { d.beginPath(); d.lineWidth = 5; if (lines[i][4] == 0) { d.strokeStyle = "#FF0000"; } else if (lines[i][4] == 1) { d.strokeStyle = "#00FF00"; } else if (lines[i][4] == 2) { d.strokeStyle = "#0000FF"; } else if (lines[i][4] == 3) { d.strokeStyle = "#FF8000"; } else if (lines[i][4] == 4) { d.strokeStyle = "#8A2BE2"; } else if (lines[i][4] == 5) { d.strokeStyle = "#FF69B4"; } else if (lines[i][4] == 6) { d.strokeStyle = "#008080"; } else if (lines[i][4] == 7) { d.strokeStyle = (getDarkBool() ? '#F2FBFF' : '#111111'); } else { d.strokeStyle = "#000000"; } d.moveTo(lines[i][0], lines[i][1]); d.lineTo(lines[i][2], lines[i][3]); d.stroke(); } d.restore(); d.save(); for (var i = 0; i < circles.length; i++) { if (circles[i][3] == 0) { d.strokeStyle = "#FF0000"; } else if (circles[i][3] == 1) { d.strokeStyle = "#00FF00"; } else if (circles[i][3] == 2) { d.strokeStyle = "#0000FF"; } else if (circles[i][3] == 3) { d.strokeStyle = "#FF8000"; } else if (circles[i][3] == 4) { d.strokeStyle = "#8A2BE2"; } else if (circles[i][3] == 5) { d.strokeStyle = "#FF69B4"; } else if (circles[i][3] == 6) { d.strokeStyle = "#008080"; } else if (circles[i][3] == 7) { d.strokeStyle = (getDarkBool() ? '#F2FBFF' : '#111111'); } else { d.strokeStyle = "#000000"; } d.beginPath(); d.lineWidth = 10; //d.setLineDash([5]); d.globalAlpha = 0.3; d.arc(circles[i][0], circles[i][1], circles[i][2], 0, 2 * Math.PI, false); d.stroke(); } d.restore(); d.save(); for (var i = 0; i < dArc.length; i++) { if (dArc[i][7] == 0) { d.strokeStyle = "#FF0000"; } else if (dArc[i][7] == 1) { d.strokeStyle = "#00FF00"; } else if (dArc[i][7] == 2) { d.strokeStyle = "#0000FF"; } else if (dArc[i][7] == 3) { d.strokeStyle = "#FF8000"; } else if (dArc[i][7] == 4) { d.strokeStyle = "#8A2BE2"; } else if (dArc[i][7] == 5) { d.strokeStyle = "#FF69B4"; } else if (dArc[i][7] == 6) { d.strokeStyle = "#008080"; } else if (dArc[i][7] == 7) { d.strokeStyle = (getDarkBool() ? '#F2FBFF' : '#111111'); } else { d.strokeStyle = "#000000"; } d.beginPath(); d.lineWidth = 5; var ang1 = Math.atan2(dArc[i][1] - dArc[i][5], dArc[i][0] - dArc[i][4]); var ang2 = Math.atan2(dArc[i][3] - dArc[i][5], dArc[i][2] - dArc[i][4]); d.arc(dArc[i][4], dArc[i][5], dArc[i][6], ang1, ang2, false); d.stroke(); } d.restore(); d.save(); for (var i = 0; i < dPoints.length; i++) { if (dText[i] == "") { var radius = 10; d.beginPath(); d.arc(dPoints[i][0], dPoints[i][1], radius, 0, 2 * Math.PI, false); if (dPoints[i][2] == 0) { d.fillStyle = "black"; } else if (dPoints[i][2] == 1) { d.fillStyle = "yellow"; } else if (dPoints[i][2] == 2) { d.fillStyle = "blue"; } else if (dPoints[i][2] == 3) { d.fillStyle = "red"; } else if (dPoints[i][2] == 4) { d.fillStyle = "#008080"; } else if (dPoints[i][2] == 5) { d.fillStyle = "#FF69B4"; } else { d.fillStyle = "#000000"; } d.fill(); d.lineWidth = 2; d.strokeStyle = '#003300'; d.stroke(); } else { var text = new va(18, (getDarkBool() ? '#F2FBFF' : '#111111'), true, (getDarkBool() ? '#111111' : '#F2FBFF')); text.C(dText[i]); var textRender = text.L(); d.drawImage(textRender, dPoints[i][0] - (textRender.width / 2), dPoints[i][1] - (textRender.height / 2)); } } d.restore(); } function drawStats(d) { d.save() sessionScore = Math.max(getCurrentScore(), sessionScore); var botString = window.botList[botIndex].displayText(); var debugStrings = []; debugStrings.push("Bot: " + window.botList[botIndex].name); debugStrings.push("Launcher: AposLauncher " + aposLauncherVersion); debugStrings.push("T - Bot: " + (!toggle ? "On" : "Off")); debugStrings.push("R - Lines: " + (!toggleDraw ? "On" : "Off")); for (var i = 0; i < botString.length; i++) { debugStrings.push(botString[i]); } debugStrings.push(""); debugStrings.push("Best Score: " + ~~(sessionScore / 100)); debugStrings.push("Best Time: " + bestTime + " seconds"); debugStrings.push(""); debugStrings.push(serverIP); if (getPlayer().length > 0) { var offsetX = -getMapStartX(); var offsetY = -getMapStartY(); debugStrings.push("Location: " + Math.floor(getPlayer()[0].x + offsetX) + ", " + Math.floor(getPlayer()[0].y + offsetY)); } var offsetValue = 20; var text = new va(18, (getDarkBool() ? '#F2FBFF' : '#111111')); for (var i = 0; i < debugStrings.length; i++) { text.C(debugStrings[i]); var textRender = text.L(); d.drawImage(textRender, 20, offsetValue); offsetValue += textRender.height; } if (message.length > 0) { var mRender = []; var mWidth = 0; var mHeight = 0; for (var i = 0; i < message.length; i++) { var mText = new va(28, '#FF0000', true, '#000000'); mText.C(message[i]); mRender.push(mText.L()); if (mRender[i].width > mWidth) { mWidth = mRender[i].width; } mHeight += mRender[i].height; } var mX = getWidth() / 2 - mWidth / 2; var mY = 20; d.globalAlpha = 0.4; d.fillStyle = '#000000'; d.fillRect(mX - 10, mY - 10, mWidth + 20, mHeight + 20); d.globalAlpha = 1; var mOffset = mY; for (var i = 0; i < mRender.length; i++) { d.drawImage(mRender[i], getWidth() / 2 - mRender[i].width / 2, mOffset); mOffset += mRender[i].height; } } d.restore(); } function Ab() { f.fillStyle = ta ? "#111111" : "#F2FBFF"; f.fillRect(0, 0, m, r); f.save(); f.strokeStyle = ta ? "#AAAAAA" : "#000000"; f.globalAlpha = .2 * h; for (var a = m / h, b = r / h, c = (a / 2 - s) % 50; c < a; c += 50) f.beginPath(), f.moveTo(c * h - .5, 0), f.lineTo(c * h - .5, b * h), f.stroke(); for (c = (b / 2 - t) % 50; c < b; c += 50) f.beginPath(), f.moveTo(0, c * h - .5), f.lineTo(a * h, c * h - .5), f.stroke(); f.restore() } function Cb() { if (Qa && Ja.width) { var a = m / 5; f.drawImage(Ja, 5, 5, a, a) } } function Bb() { for (var a = 0, b = 0; b < k.length; b++) a += k[b].q * k[b].q; return a } function ab() { z = null; if (null != A || 0 != F.length) if (null != A || wa) { z = document.createElement("canvas"); var a = z.getContext("2d"), b = 60, b = null == A ? b + 24 * F.length : b + 180, c = Math.min(200, .3 * m) / 200; z.width = 200 * c; z.height = b * c; a.scale(c, c); a.globalAlpha = .4; a.fillStyle = "#000000"; a.fillRect(0, 0, 200, b); a.globalAlpha = 1; a.fillStyle = "#FFFFFF"; c = null; c = Z("leaderboard"); a.font = "30px Ubuntu"; a.fillText(c, 100 - a.measureText(c).width / 2, 40); if (null == A) for (a.font = "20px Ubuntu", b = 0; b < F.length; ++b) c = F[b].name || Z("unnamed_cell"), wa || (c = Z("unnamed_cell")), -1 != M.indexOf(F[b].id) ? (k[0].name && (c = k[0].name), a.fillStyle = "#FFAAAA") : a.fillStyle = "#FFFFFF", c = b + 1 + ". " + c, a.fillText(c, 100 - a.measureText(c).width / 2, 70 + 24 * b); else for (b = c = 0; b < A.length; ++b) { var d = c + A[b] * Math.PI * 2; a.fillStyle = Db[b + 1]; a.beginPath(); a.moveTo(100, 140); a.arc(100, 140, 80, c, d, !1); a.fill(); c = d } } } function Ka(a, b, c, d, e) { this.V = a; this.x = b; this.y = c; this.i = d; this.b = e } function da(a, b, c, d, e, p) { this.id = a; this.s = this.x = b; this.t = this.y = c; this.r = this.size = d; this.color = e; this.a = []; this.W(); this.B(p) } function va(a, b, c, d) { a && (this.u = a); b && (this.S = b); this.U = !!c; d && (this.v = d) } function S(a, b) { var c = "1" == e("#helloContainer").attr("data-has-account-data"); e("#helloContainer").attr("data-has-account-data", "1"); if (null == b && d.localStorage.loginCache) { var l = JSON.parse(d.localStorage.loginCache); l.f = a.f; l.d = a.d; l.e = a.e; d.localStorage.loginCache = JSON.stringify(l) } if (c) { var u = +e(".agario-exp-bar .progress-bar-text").first().text().split("/")[0], c = +e(".agario-exp-bar .progress-bar-text").first().text().split("/")[1].split(" ")[0], l = e(".agario-profile-panel .progress-bar-star").first().text(); if (l != a.e) S({ f: c, d: c, e: l }, function() { e(".agario-profile-panel .progress-bar-star").text(a.e); e(".agario-exp-bar .progress-bar").css("width", "100%"); e(".progress-bar-star").addClass("animated tada").one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend", function() { e(".progress-bar-star").removeClass("animated tada") }); setTimeout(function() { e(".agario-exp-bar .progress-bar-text").text(a.d + "/" + a.d + " XP"); S({ f: 0, d: a.d, e: a.e }, function() { S(a, b) }) }, 1E3) }); else { var p = Date.now(), g = function() { var c; c = (Date.now() - p) / 1E3; c = 0 > c ? 0 : 1 < c ? 1 : c; c = c * c * (3 - 2 * c); e(".agario-exp-bar .progress-bar-text").text(~~(u + (a.f - u) * c) + "/" + a.d + " XP"); e(".agario-exp-bar .progress-bar").css("width", (88 * (u + (a.f - u) * c) / a.d).toFixed(2) + "%"); 1 > c ? d.requestAnimationFrame(g) : b && b() }; d.requestAnimationFrame(g) } } else e(".agario-profile-panel .progress-bar-star").text(a.e), e(".agario-exp-bar .progress-bar-text").text(a.f + "/" + a.d + " XP"), e(".agario-exp-bar .progress-bar").css("width", (88 * a.f / a.d).toFixed(2) + "%"), b && b() } function jb(a) { "string" == typeof a && (a = JSON.parse(a)); Date.now() + 18E5 > a.ja ? e("#helloContainer").attr("data-logged-in", "0") : (d.localStorage.loginCache = JSON.stringify(a), B = a.fa, e(".agario-profile-name").text(a.name), $a(), S({ f: a.f, d: a.d, e: a.e }), e("#helloContainer").attr("data-logged-in", "1")) } function Eb(a) { a = a.split("\n"); jb({ name: a[0], ta: a[1], fa: a[2], ja: 1E3 * +a[3], e: +a[4], f: +a[5], d: +a[6] }); console.log("Hello Facebook?"); } function La(a) { if ("connected" == a.status) { var b = a.authResponse.accessToken; d.FB.api("/me/picture?width=180&height=180", function(a) { d.localStorage.fbPictureCache = a.data.url; e(".agario-profile-picture").attr("src", a.data.url) }); e("#helloContainer").attr("data-logged-in", "1"); null != B ? e.ajax("https://m.agar.io/checkToken", { error: function() { console.log("Facebook Fail!"); B = null; La(a) }, success: function(a) { a = a.split("\n"); S({ e: +a[0], f: +a[1], d: +a[2] }); console.log("Facebook connected!"); }, dataType: "text", method: "POST", cache: !1, crossDomain: !0, data: B }) : e.ajax("https://m.agar.io/facebookLogin", { error: function() { console.log("You have a Facebook problem!"); B = null; e("#helloContainer").attr("data-logged-in", "0") }, success: Eb, dataType: "text", method: "POST", cache: !1, crossDomain: !0, data: b }) } } function Wa(a) { Y(":party"); e("#helloContainer").attr("data-party-state", "4"); a = decodeURIComponent(a).replace(/.*#/gim, ""); Ma("#" + d.encodeURIComponent(a)); e.ajax(Na + "//m.agar.io/getToken", { error: function() { e("#helloContainer").attr("data-party-state", "6") }, success: function(b) { b = b.split("\n"); e(".partyToken").val("agar.io/#" + d.encodeURIComponent(a)); e("#helloContainer").attr("data-party-state", "5"); Y(":party"); Ca("ws://" + b[0], a) }, dataType: "text", method: "POST", cache: !1, crossDomain: !0, data: a }) } function Ma(a) { d.history && d.history.replaceState && d.history.replaceState({}, d.document.title, a) } if (!d.agarioNoInit) { var Na = d.location.protocol, tb = "https:" == Na, xa = d.navigator.userAgent; if (-1 != xa.indexOf("Android")) d.ga && d.ga("send", "event", "MobileRedirect", "PlayStore"), setTimeout(function() { d.location.href = "market://details?id=com.miniclip.agar.io" }, 1E3); else if (-1 != xa.indexOf("iPhone") || -1 != xa.indexOf("iPad") || -1 != xa.indexOf("iPod")) d.ga && d.ga("send", "event", "MobileRedirect", "AppStore"), setTimeout(function() { d.location.href = "https://itunes.apple.com/app/agar.io/id995999703" }, 1E3); else { var za, f, G, m, r, X = null, //UPDATE toggle = false, toggleDraw = false, tempPoint = [0, 0, 1], dPoints = [], circles = [], dArc = [], dText = [], lines = [], names = ["NotReallyABot"], originalName = names[Math.floor(Math.random() * names.length)], sessionScore = 0, serverIP = "", interNodes = [], lifeTimer = new Date(), bestTime = 0, botIndex = 0, reviving = false, message = [], q = null, s = 0, t = 0, M = [], k = [], E = {}, v = [], Q = [], F = [], fa = 0, ga = 0, //UPDATE ia = -1, ja = -1, zb = 0, C = 0, ib = 0, K = null, pa = 0, qa = 0, ra = 1E4, sa = 1E4, h = 1, y = null, kb = !0, wa = !0, Oa = !1, Ha = !1, R = 0, ta = !1, lb = !1, aa = s = ~~((pa + ra) / 2), ba = t = ~~((qa + sa) / 2), ca = 1, P = "", A = null, ya = !1, Ga = !1, Ea = 0, Fa = 0, na = 0, oa = 0, mb = 0, Db = ["#333333", "#FF3333", "#33FF33", "#3333FF"], Ia = !1, $ = !1, bb = 0, B = null, J = 1, x = 1, W = !0, Ba = 0, Da = {}; (function() { var a = d.location.search; "?" == a.charAt(0) && (a = a.slice(1)); for (var a = a.split("&"), b = 0; b < a.length; b++) { var c = a[b].split("="); Da[c[0]] = c[1] } })(); var Qa = "ontouchstart" in d && /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(d.navigator.userAgent), Ja = new Image; Ja.src = "img/split.png"; var nb = document.createElement("canvas"); if ("undefined" == typeof console || "undefined" == typeof DataView || "undefined" == typeof WebSocket || null == nb || null == nb.getContext || null == d.localStorage) alert("You browser does not support this game, we recommend you to use Firefox to play this"); else { var ka = null; d.setNick = function(a) { //UPDATE originalName = a; if (getPlayer().length == 0) { lifeTimer = new Date(); } Xa(); K = a; cb(); R = 0 }; d.setRegion = ha; d.setSkins = function(a) { kb = a }; d.setNames = function(a) { wa = a }; d.setDarkTheme = function(a) { ta = a }; d.setColors = function(a) { Oa = a }; d.setShowMass = function(a) { lb = a }; d.spectate = function() { K = null; H(1); Xa() }; d.setGameMode = function(a) { a != P && (":party" == P && e("#helloContainer").attr("data-party-state", "0"), Y(a), ":party" != a && I()) }; d.setAcid = function(a) { Ia = a }; null != d.localStorage && (null == d.localStorage.AB9 && (d.localStorage.AB9 = 0 + ~~(100 * Math.random())), mb = +d.localStorage.AB9, d.ABGroup = mb); e.get(Na + "//gc.agar.io", function(a) { var b = a.split(" "); a = b[0]; b = b[1] || ""; - 1 == ["UA"].indexOf(a) && ob.push("ussr"); ea.hasOwnProperty(a) && ("string" == typeof ea[a] ? y || ha(ea[a]) : ea[a].hasOwnProperty(b) && (y || ha(ea[a][b]))) }, "text"); d.ga && d.ga("send", "event", "User-Agent", d.navigator.userAgent, { nonInteraction: 1 }); var la = !1, Ya = 0; setTimeout(function() { la = !0 }, Math.max(6E4 * Ya, 1E4)); var ea = { AF: "JP-Tokyo", AX: "EU-London", AL: "EU-London", DZ: "EU-London", AS: "SG-Singapore", AD: "EU-London", AO: "EU-London", AI: "US-Atlanta", AG: "US-Atlanta", AR: "BR-Brazil", AM: "JP-Tokyo", AW: "US-Atlanta", AU: "SG-Singapore", AT: "EU-London", AZ: "JP-Tokyo", BS: "US-Atlanta", BH: "JP-Tokyo", BD: "JP-Tokyo", BB: "US-Atlanta", BY: "EU-London", BE: "EU-London", BZ: "US-Atlanta", BJ: "EU-London", BM: "US-Atlanta", BT: "JP-Tokyo", BO: "BR-Brazil", BQ: "US-Atlanta", BA: "EU-London", BW: "EU-London", BR: "BR-Brazil", IO: "JP-Tokyo", VG: "US-Atlanta", BN: "JP-Tokyo", BG: "EU-London", BF: "EU-London", BI: "EU-London", KH: "JP-Tokyo", CM: "EU-London", CA: "US-Atlanta", CV: "EU-London", KY: "US-Atlanta", CF: "EU-London", TD: "EU-London", CL: "BR-Brazil", CN: "CN-China", CX: "JP-Tokyo", CC: "JP-Tokyo", CO: "BR-Brazil", KM: "EU-London", CD: "EU-London", CG: "EU-London", CK: "SG-Singapore", CR: "US-Atlanta", CI: "EU-London", HR: "EU-London", CU: "US-Atlanta", CW: "US-Atlanta", CY: "JP-Tokyo", CZ: "EU-London", DK: "EU-London", DJ: "EU-London", DM: "US-Atlanta", DO: "US-Atlanta", EC: "BR-Brazil", EG: "EU-London", SV: "US-Atlanta", GQ: "EU-London", ER: "EU-London", EE: "EU-London", ET: "EU-London", FO: "EU-London", FK: "BR-Brazil", FJ: "SG-Singapore", FI: "EU-London", FR: "EU-London", GF: "BR-Brazil", PF: "SG-Singapore", GA: "EU-London", GM: "EU-London", GE: "JP-Tokyo", DE: "EU-London", GH: "EU-London", GI: "EU-London", GR: "EU-London", GL: "US-Atlanta", GD: "US-Atlanta", GP: "US-Atlanta", GU: "SG-Singapore", GT: "US-Atlanta", GG: "EU-London", GN: "EU-London", GW: "EU-London", GY: "BR-Brazil", HT: "US-Atlanta", VA: "EU-London", HN: "US-Atlanta", HK: "JP-Tokyo", HU: "EU-London", IS: "EU-London", IN: "JP-Tokyo", ID: "JP-Tokyo", IR: "JP-Tokyo", IQ: "JP-Tokyo", IE: "EU-London", IM: "EU-London", IL: "JP-Tokyo", IT: "EU-London", JM: "US-Atlanta", JP: "JP-Tokyo", JE: "EU-London", JO: "JP-Tokyo", KZ: "JP-Tokyo", KE: "EU-London", KI: "SG-Singapore", KP: "JP-Tokyo", KR: "JP-Tokyo", KW: "JP-Tokyo", KG: "JP-Tokyo", LA: "JP-Tokyo", LV: "EU-London", LB: "JP-Tokyo", LS: "EU-London", LR: "EU-London", LY: "EU-London", LI: "EU-London", LT: "EU-London", LU: "EU-London", MO: "JP-Tokyo", MK: "EU-London", MG: "EU-London", MW: "EU-London", MY: "JP-Tokyo", MV: "JP-Tokyo", ML: "EU-London", MT: "EU-London", MH: "SG-Singapore", MQ: "US-Atlanta", MR: "EU-London", MU: "EU-London", YT: "EU-London", MX: "US-Atlanta", FM: "SG-Singapore", MD: "EU-London", MC: "EU-London", MN: "JP-Tokyo", ME: "EU-London", MS: "US-Atlanta", MA: "EU-London", MZ: "EU-London", MM: "JP-Tokyo", NA: "EU-London", NR: "SG-Singapore", NP: "JP-Tokyo", NL: "EU-London", NC: "SG-Singapore", NZ: "SG-Singapore", NI: "US-Atlanta", NE: "EU-London", NG: "EU-London", NU: "SG-Singapore", NF: "SG-Singapore", MP: "SG-Singapore", NO: "EU-London", OM: "JP-Tokyo", PK: "JP-Tokyo", PW: "SG-Singapore", PS: "JP-Tokyo", PA: "US-Atlanta", PG: "SG-Singapore", PY: "BR-Brazil", PE: "BR-Brazil", PH: "JP-Tokyo", PN: "SG-Singapore", PL: "EU-London", PT: "EU-London", PR: "US-Atlanta", QA: "JP-Tokyo", RE: "EU-London", RO: "EU-London", RU: "RU-Russia", RW: "EU-London", BL: "US-Atlanta", SH: "EU-London", KN: "US-Atlanta", LC: "US-Atlanta", MF: "US-Atlanta", PM: "US-Atlanta", VC: "US-Atlanta", WS: "SG-Singapore", SM: "EU-London", ST: "EU-London", SA: "EU-London", SN: "EU-London", RS: "EU-London", SC: "EU-London", SL: "EU-London", SG: "JP-Tokyo", SX: "US-Atlanta", SK: "EU-London", SI: "EU-London", SB: "SG-Singapore", SO: "EU-London", ZA: "EU-London", SS: "EU-London", ES: "EU-London", LK: "JP-Tokyo", SD: "EU-London", SR: "BR-Brazil", SJ: "EU-London", SZ: "EU-London", SE: "EU-London", CH: "EU-London", SY: "EU-London", TW: "JP-Tokyo", TJ: "JP-Tokyo", TZ: "EU-London", TH: "JP-Tokyo", TL: "JP-Tokyo", TG: "EU-London", TK: "SG-Singapore", TO: "SG-Singapore", TT: "US-Atlanta", TN: "EU-London", TR: "TK-Turkey", TM: "JP-Tokyo", TC: "US-Atlanta", TV: "SG-Singapore", UG: "EU-London", UA: "EU-London", AE: "EU-London", GB: "EU-London", US: "US-Atlanta", UM: "SG-Singapore", VI: "US-Atlanta", UY: "BR-Brazil", UZ: "JP-Tokyo", VU: "SG-Singapore", VE: "BR-Brazil", VN: "JP-Tokyo", WF: "SG-Singapore", EH: "EU-London", YE: "JP-Tokyo", ZM: "EU-London", ZW: "EU-London" }, L = null; d.connect = Ca; //UPDATE /** * Tells you if the game is in Dark mode. * @return Boolean for dark mode. */ window.getDarkBool = function() { return ta; } /** * Tells you if the mass is shown. * @return Boolean for player's mass. */ window.getMassBool = function() { return lb; } /** * This is a copy of everything that is shown on screen. * Normally stuff will time out when off the screen, this * memorizes everything that leaves the screen for a little * while longer. * @return The memory object. */ window.getMemoryCells = function() { return interNodes; } /** * [getCellsArray description] * @return {[type]} [description] */ window.getCellsArray = function() { return v; } /** * [getCellsArray description] * @return {[type]} [description] */ window.getCells = function() { return E; } /** * Returns an array with all the player's cells. * @return Player's cells */ window.getPlayer = function() { return k; } /** * The canvas' width. * @return Integer Width */ window.getWidth = function() { return m; } /** * The canvas' height * @return Integer Height */ window.getHeight = function() { return r; } /** * Scaling ratio of the canvas. The bigger this ration, * the further that you see. * @return Screen scaling ratio. */ window.getRatio = function() { return h; } /** * [getOffsetX description] * @return {[type]} [description] */ window.getOffsetX = function() { return aa; } window.getOffsetY = function() { return ba; } window.getX = function() { return s; } window.getY = function() { return t; } window.getPointX = function() { return ia; } window.getPointY = function() { return ja; } /** * The X location of the mouse. * @return Integer X */ window.getMouseX = function() { return fa; } /** * The Y location of the mouse. * @return Integer Y */ window.getMouseY = function() { return ga; } window.getMapStartX = function() { return pa; } window.getMapStartY = function() { return qa; } window.getMapEndX = function() { return ra; } window.getMapEndY = function() { return sa; } window.getScreenDistance = function() { var temp = screenDistance(); return temp; } /** * A timestamp since the last time the server sent any data. * @return Last update timestamp */ window.getLastUpdate = function() { return C; } window.getCurrentScore = function() { return R; } /** * The game's current mode. (":ffa", ":experimental", ":teams". ":party") * @return {[type]} [description] */ window.getMode = function() { return P; } window.getServer = function() { return serverIP; } window.setPoint = function(x, y) { ia = x; ja = y; } window.setScore = function(a) { sessionScore = a * 100; } window.setBestTime = function(a) { bestTime = a; } window.best = function(a, b) { setScore(a); setBestTime(b); } window.setBotIndex = function(a) { console.log("Changing bot"); botIndex = a; } window.setMessage = function(a) { message = a; } window.updateBotList = function() { window.botList = window.botList || []; window.jQuery('#locationUnknown').text(""); window.jQuery('#locationUnknown').append(window.jQuery('<select id="bList" class="form-control" onchange="setBotIndex($(this).val());" />')); window.jQuery('#locationUnknown').addClass('form-group'); for (var i = 0; i < w
Rogerio111
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="description" content="Eat cells smaller than you and don't get eaten by the bigger ones, as an MMO"> <meta name="keywords" content="agario, agar, io, cell, cells, virus, bacteria, blob, game, games, web game, html5, fun, flash"> <meta name="robots" content="index, follow"> <meta name="viewport" content="minimal-ui, width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta property="fb:app_id" content="677505792353827"/> <meta property="og:title" content="Agar.io"/> <meta property="og:description" content="Eat cells smaller than you and don't get eaten by the bigger ones, as an MMO"/> <meta property="og:url" content="http://agar.io"/> <meta property="og:image" content="http://agar.io/img/1200x630.png"/> <meta property="og:image:width" content="1200"/> <meta property="og:image:height" content="630"/> <meta property="og:type" content="website"/> <title>Agar.io</title> <link id="favicon" rel="icon" type="image/png" href="favicon-32x32.png"/> <!-- Área de anuncio --> <link href='https://fonts.googleapis.com/css?family=Ubuntu:700' rel='stylesheet' type='text/css'> <link href="css/bootstrap.min.css" rel="stylesheet"> <link href="css/glyphicons-social.css" rel="stylesheet"> <link href="css/animate.css" rel="stylesheet"> <style>body{padding:0;margin:0;overflow:hidden;}#canvas{position:absolute;left:0;right:0;top:0;bottom:0;width:100%;height:100%;}form{margin-bottom:0px;}.btn-play,.btn-settings,.btn-spectate,.btn-play-guest,.btn-login,.btn-logout{display:block;float:left;height:35px;}.btn-spectate,.btn-logout{height:35px;display:block;width:110px;margin-left:10px;margin-bottom:5px;}#helloContainer[data-logged-in="0"] .btn-play-guest{margin-left:5px;width:125px;}#helloContainer[data-logged-in="0"] .btn-login{margin-left:5px;width:145px;}#helloContainer[data-logged-in="0"] .agario-exp-bar,#helloContainer[data-logged-in="0"] .progress-bar-star,#helloContainer[data-logged-in="0"] #agario-main-buttons .agario-profile,#helloContainer[data-logged-in="0"] .btn-play{display:none;}#helloContainer[data-logged-in="0"] .btn-logout{display:none;}#helloContainer[data-logged-in="1"] .btn-play{margin-left:5px;width:275px;}#helloContainer[data-logged-in="1"] .btn-play-guest{display:none;}#helloContainer[data-logged-in="1"] .btn-login{display:none;}.btn-settings{width:40px;}.btn-spectate{display:block;float:right;}#adsBottom{position:absolute;left:0;right:0;bottom:0;}#adsBottomInner{margin:0px auto;width:728px;height:90px;border:5px solid white;border-radius:5px 5px 0px 0px;background-color:#FFFFFF;box-sizing:content-box;}.region-message{display:none;margin-bottom:12px;margin-left:6px;margin-right:6px;text-align:center;}#preview {width: 30px;height: 30px;border-radius: 400px;border: 3px solid #17c834;margin: 1px 0;float: left; position: absolute;left: 52.7%; top:42.5%;}#nicks {width: 10%;float: left; position: absolute; left: 46%; top: 42.5%;}#nick{width:10%;padding: 0px; left: 46%; top: -12px;position: relative;}#locationKnown #region{width:100%;}#locationUnknown #region{margin-bottom:15px;}#gamemode{width:10%;float:right;top: -42.5%;right: 44%;position: relative;}.agario-panel{display:inline-block;width:350px;background-color:rgba(25, 28, 29, 0.72);margin:2px;border-radius:10px;padding:5px 15px 5px 15px;vertical-align:top;}.agario-side-panel{display:inline-block;width:220px;}#helloContainer,.connecting-panel{position:absolute;top:50%;left:50%;margin-right:-50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);}#a300x250{width:300px;height:250px;background-repeat:no-repeat;background-size:contain;background-position:center center;}.agario-exp-bar{height:30px;position:relative;border:2px solid #01612B;}.agario-exp-bar .progress-bar{background-color:#338833;border-radius:0px 4px 4px 0px;-webkit-transition:none;transition:none;}.agario-exp-bar .progress-bar-text{font-size:12pt;cursor:default;opacity:0.75;color:#FFF;text-align:center;line-height:26px;text-shadow:0px 0px 3px #000000,-1px 0px 0px #000000,1px 0px 0px #000000,0px 1px 0px #000000,0px -1px 0px #000000,-1px -1px 0px #000000,1px 1px 0px #000000,-1px 1px 0px #000000,1px -1px 0px #000000;position:absolute;top:0;bottom:0;left:0;right:0;font-family:'Ubuntu',sans-serif;}#agario-results-table{width:100%;}#agario-results-table th{text-align:center;font-size:8pt;}#agario-results-table td{text-align:center;color:#999;font-size:11pt;padding-bottom:15px;}.progress-bar-star{position:absolute;top:-13px;right:-16px;width:50px;height:50px;background-image:url("img/star.png");background-size:cover;-webkit-transform:rotate3d(0,0,1,10deg);transform:rotate3d(0,0,1,10deg);-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-delay:0s;animation-delay:0s;-webkit-animation-iteration-count:1;animation-iteration-count:1;cursor:default;color:#FFF;text-align:center;line-height:55px;font-size:12pt;text-shadow:0px 0px 3px #000000,-1px 0px 0px #000000,1px 0px 0px #000000,0px 1px 0px #000000,0px -1px 0px #000000,-1px -1px 0px #000000,1px 1px 0px #000000,-1px 1px 0px #000000,1px -1px 0px #000000;font-family:'Ubuntu',sans-serif;}.tooltip-inner{max-width:300px;}.agario-profile-panel{padding:15px 15px 15px 15px;}.agario-profile-panel .agario-profile-picture{float:left;display:block;width:64px;height:64px;border-radius:5px;border:2px solid #CCC;margin-right:6px;}.agario-profile-panel .agario-profile-name-container{float:left;display:table;width:120px;height:64px;position:relative;}.agario-profile-panel .agario-profile-name-container .agario-profile-name{display:table-cell;vertical-align:middle;text-align:center;font-weight:bold;}#helloContainer[data-has-account-data="0"] .agario-profile-panel{display:none;}.agario-party,.agario-party-0,.agario-party-1,.agario-party-2,.agario-party-3,.agario-party-4,.agario-party-5,.agario-party-6{display:none;}#helloContainer[data-gamemode=":party"] .agario-party{display:block;position:relative;}#helloContainer[data-gamemode=":party"] .agario-promo{display:none;}#helloContainer[data-party-state="0"] .agario-party-0{display:block;}#helloContainer[data-party-state="1"] .agario-party-1{display:block;}#helloContainer[data-party-state="2"] .agario-party-2{display:block;}#helloContainer[data-party-state="3"] .agario-party-3{display:block;}#helloContainer[data-party-state="4"] .agario-party-4{display:block;}#helloContainer[data-party-state="5"] .agario-party-5{display:block;}#helloContainer[data-party-state="6"] .agario-party-6{display:block;}.partyToken{margin-bottom:10px;}.side-container{vertical-align:top;display:inline-block;width:224px;}.cell-spinner{display:block;margin:0;}.creating-party-text{position:absolute;cursor:default;top:0;bottom:0;left:0;right:0;width:100%;height:100%;text-align:center;color:#FFF;font-size:24px;line-height:100px;text-shadow:0px 0px 3px #000000,-1px 0px 0px #000000,1px 0px 0px #000000,0px 1px 0px #000000,0px -1px 0px #000000,-1px -1px 0px #000000,1px 1px 0px #000000,-1px 1px 0px #000000,1px -1px 0px #000000;}.agario-results-0,.agario-results-1,.agario-results-2{display:none;}#helloContainer[data-results-state="0"] .agario-results-0{display:block;}#helloContainer[data-results-state="1"] .agario-results-1{display:block;}#helloContainer[data-results-state="2"] .agario-results-2{display:block;}#options>label{display:block;width:94px;float:left;}#stats{position:relative;width:350px;height:581px;padding:0px 0px 300px 0px;overflow:hidden;}#statsPelletsContainer,#statsTimeAliveContainer,#statsHighestMassContainer,#statsTimeLeaderboardContainer,#statsPlayerCellsEatenContainer,#statsTopPositionContainer{position:absolute;width:100px;height:100px;}#statsPelletsContainer{top:30px;left:50px;}#statsHighestMassContainer{top:30px;right:50px;}#statsTimeAliveContainer{top:85px;left:50px;}#statsTimeLeaderboardContainer{top:85px;right:50px;}#statsPlayerCellsEatenContainer{top:140px;left:50px;}#statsTopPositionContainer{top:140px;right:50px;}#statsPellets{position:absolute;top:0;left:0;bottom:0;right:0;margin:auto;}#statsText{position:absolute;top:0;bottom:0;left:0;right:0;line-height:100px;font-size:23px;}#statsSubtext{position:absolute;bottom:0;left:0;right:0;line-height:60px;font-size:12px;color:#000;text-align:center;}#statsChartText{position:absolute;left:20px;bottom:250px;line-height:40px;font-size:40px;}#statsChartText,#statsText{cursor:default;color:#444;text-align:center;font-weight:bold;}#statsContinue{position:absolute;left:25px;right:25px;width:300px;bottom:295px;}#statsGraph{position:absolute;bottom:350px;left:0px;right:0px;opacity:0.4;}#s300x250{position:absolute;bottom:10px;left:25px;right:25px;width:300px;height:250px;}.tosBox{z-index:1000;position:absolute;bottom:0;right:0;background-color:#FFF;border-radius:5px 0px 0px 0px;padding:5px 10px;}</style> <script src="js/jquery.js"></script> <script src="js/bootstrap.min.js"></script> <script> i18n_lang = 'en'; i18n_dict = { 'en': { 'connecting': 'Connecting', 'connect_help': 'If you cannot connect to the servers, check if you have some anti virus or firewall blocking the connection.', 'play': 'Jogar', 'spectate': 'Observar O Jogo', 'login_and_play': 'Logar No Facebook', 'play_as_guest': 'Play as guest', 'share': 'Share', 'advertisement': 'Advertisement', 'privacy_policy': 'Privacy Policy', 'terms_of_service': 'Terms of Service', 'changelog': 'Changelog', 'instructions_mouse': 'Move your mouse to control your cell', 'instructions_space': 'Pressiona <b>Space</b> Para Duplica', 'instructions_w': 'Pressiona <b>W</b> Para Da Massa', 'gamemode_ffa': 'FFA', 'gamemode_teams': 'Time', 'gamemode_experimental': 'Experimental', 'region_select': ' -- Select a Region -- ', 'region_us_east': 'US East', 'region_us_west': 'US West', 'region_north_america': 'North America', 'region_south_america': 'South America', 'region_europe': 'Europe', 'region_turkey': 'Turkey', 'region_poland': 'Poland', 'region_east_asia': 'East Asia', 'region_russia': 'Russia', 'region_china': 'China', 'region_oceania': 'Oceania', 'region_australia': 'Australia', 'region_players': 'players', 'option_no_skins': 'Remover skins', 'option_no_names': 'Sem Nome', 'option_dark_theme': 'Tema Escuro', 'option_no_colors': 'Sem Cores', 'option_show_mass': 'Most. Massa', 'leaderboard': 'Leaderboard', 'unnamed_cell': 'Célula sem nome !"', 'last_match_results': 'Last match results', 'score': 'Pontos', 'leaderboard_time': '', 'mass_eaten': 'Mass Eaten', 'top_position': 'Top Position', 'position_1': 'Primeiro', 'position_2': 'Segundo', 'position_3': 'Terceiro', 'position_4': 'Quarto', 'position_5': 'Quinto', 'position_6': 'Sexto', 'position_7': 'Setimo', 'position_8': 'Oitavo', 'position_9': 'Nono', 'position_10': 'Decimo', 'player_cells_eaten': 'Player Cells Eaten', 'survival_time': 'Survival Time', 'games_played': 'Games played', 'highest_mass': 'Massa Total', 'total_cells_eaten': 'Total cells eaten', 'total_mass_eaten': 'Total mass eaten', 'longest_survival': 'Longest survival', 'logout': 'Sair', 'stats': 'Stats', 'shop': 'Shop', 'party': 'Jogar Com Os Amigos', 'party_description': 'Play with your friends in the same map', 'create_party': 'Create', 'creating_party': 'Criando Ah partida...', 'join_party': 'Criar Partoda', 'back_button': 'Sair', 'joining_party': 'Connectando Na Sala ...', 'joined_party_instructions': 'You are now playing with this Sala:', 'party_join_error': 'There was a problem joining that party, please make sure the code is correct, or try creating another party', 'login_tooltip': 'Login with Facebook and get:<br\xA0/><br /><br />Jogar the game with more mass!<br />Level up to get even more starting mass!', 'create_party_instructions': 'Give this link to your friends:', 'join_party_instructions': 'Your friend should have given you a code, type it here:', 'continue': 'Continuar', 'option_skip_stats': 'Pular Estatísticas', 'stats_food_eaten': 'Alim. ingeridos', 'stats_highest_mass': 'highest mass', 'stats_time_alive': 'Tempo Vivo', 'stats_leaderboard_time': 'Tempo no Rank', 'stats_cells_eaten': 'Células Ingeridas', 'stats_top_position': 'Posição Rankeada?', '': '' }, '?': {} }; i18n_lang = (window.navigator.userLanguage || window.navigator.language || 'en').split('-')[0]; if (!i18n_dict.hasOwnProperty(i18n_lang)) { i18n_lang = 'en'; } i18n = i18n_dict[i18n_lang]; (function(window, $) { function Init() { g_drawLines = true; PlayerStats(); setInterval(PlayerStats, 180000); g_canvas = g_canvas_ = document.getElementById('canvas'); g_context = g_canvas.getContext('2d'); g_canvas.onmousedown = function(event) { if (g_touchCapable) { var deltaX = event.clientX - (5 + g_protocol / 5 / 2); var deltaY = event.clientY - (5 + g_protocol / 5 / 2); if (Math.sqrt(deltaX * deltaX + deltaY * deltaY) <= g_protocol / 5 / 2) { SendPos(); SendCmd(17); return; } } g_mouseX = event.clientX; g_mouseY = event.clientY; UpdatePos(); SendPos(); }; g_canvas.onmousemove = function(event) { g_mouseX = event.clientX; g_mouseY = event.clientY; UpdatePos(); }; g_canvas.onmouseup = function() {}; if (/firefox/i.test(navigator.userAgent)) { document.addEventListener('DOMMouseScroll', WheelHandler, false); } else { document.body.onmousewheel = WheelHandler; } var spaceDown = false; var cachedSkin = false; var wkeyDown = false; var keyEPressed = false; //EDITED window.onkeydown = function(event) { if (!(32 != event.keyCode || spaceDown)) { SendPos(); SendCmd(17); spaceDown = true; } if (!(81 != event.keyCode || cachedSkin)) { SendCmd(18); cachedSkin = true; } if (!(87 != event.keyCode || wkeyDown)) { SendPos(); SendCmd(21); wkeyDown = true; } if (69 == event.keyCode) { //EDITED if (!keyEPressed) { keyEPressed = true; timerE(); } } if (27 == event.keyCode) { __unmatched_10(300); } }; window.onkeyup = function(event) { if (32 == event.keyCode) { spaceDown = false; } if (87 == event.keyCode) { wkeyDown = false; } if (81 == event.keyCode && cachedSkin) { SendCmd(19); cachedSkin = false; } if (69 == event.keyCode) { //EDITED if (keyEPressed) { keyEPressed = false; } } }; window.onblur = function() { SendCmd(19); wkeyDown = cachedSkin = spaceDown = keyEPressed = false; //EDITED }; function timerE () { //EDITED if (keyEPressed) { SendPos(); SendCmd(21); setInterval(timerE, 200); } } window.onresize = ResizeHandler; window.requestAnimationFrame(__unmatched_130); setInterval(SendPos, 40); if (g_region) { $('#region').val(g_region); } SyncRegion(); SetRegion($('#region').val()); $.each(g_skinNamesA, function(v, node) { //EDITED $("#nicks").append($("<option></option>").attr("value", v).text(node)); }); if (0 == __unmatched_112 && g_region) { Start(); } __unmatched_10(0); ResizeHandler(); if (window.location.hash && 6 <= window.location.hash.length) { RenderLoop(window.location.hash); } } function WheelHandler(event) { g_zoom *= Math.pow(0.9, event.wheelDelta / -120 || event.detail || 0); if(!isUnlimitedZoom) { if (1 > g_zoom) { g_zoom = 1; } if (g_zoom > 4 / g_scale) { g_zoom = 4 / g_scale; } } } function UpdateTree() { if (0.4 > g_scale) { g_pointTree = null; } else { for (var minX = Number.POSITIVE_INFINITY, minY = Number.POSITIVE_INFINITY, maxX = Number.NEGATIVE_INFINITY, maxY = Number.NEGATIVE_INFINITY, maxSize = 0, i = 0; i < g_cells.length; i++) { var cell = g_cells[i]; if (!(!cell.N() || cell.R || 20 >= cell.size * g_scale)) { maxSize = Math.max(cell.size, maxSize); minX = Math.min(cell.x, minX); minY = Math.min(cell.y, minY); maxX = Math.max(cell.x, maxX); maxY = Math.max(cell.y, maxY); } } g_pointTree = QTreeFactory.la({ ca: minX - (maxSize + 100), da: minY - (maxSize + 100), oa: maxX + (maxSize + 100), pa: maxY + (maxSize + 100), ma: 2, na: 4 }); for (i = 0; i < g_cells.length; i++) { if (cell = g_cells[i], cell.N() && !(20 >= cell.size * g_scale)) { for (minX = 0; minX < cell.a.length; ++minX) { minY = cell.a[minX].x; maxX = cell.a[minX].y; if (!(minY < g_viewX - g_protocol / 2 / g_scale || maxX < g_viewY - __unmatched_60 / 2 / g_scale || minY > g_viewX + g_protocol / 2 / g_scale || maxX > g_viewY + __unmatched_60 / 2 / g_scale)) { g_pointTree.m(cell.a[minX]); } } } } } } function UpdatePos() { g_moveX = (g_mouseX - g_protocol / 2) / g_scale + g_viewX; g_moveY = (g_mouseY - __unmatched_60 / 2) / g_scale + g_viewY; } function PlayerStats() { if (null == g_regionLabels) { g_regionLabels = {}; $('#region').children().each(function() { var $this = $(this); var val = $this.val(); if (val) { g_regionLabels[val] = $this.text(); } }); } $.get('https://m.agar.io/info', function(data) { var regionNumPlayers = {}; var region; for (region in data.regions) { var region_ = region.split(':')[0]; regionNumPlayers[region_] = regionNumPlayers[region_] || 0; regionNumPlayers[region_] += data.regions[region].numPlayers; } for (region in regionNumPlayers) { $('#region option[value="' + region + '"]').text(g_regionLabels[region] + ' (' + regionNumPlayers[region] + ' players)'); } }, 'json'); } function HideOverlay() { $('#adsBottom').hide(); $('#overlays').hide(); $('#stats').hide(); $('#mainPanel').hide(); __unmatched_141 = g_playerCellDestroyed = false; SyncRegion(); if (window.googletag && window.googletag.pubads && window.googletag.pubads().clear) { window.googletag.pubads().clear(window.aa.concat(window.ab)); } } function SetRegion(val) { if (val && val != g_region) { if ($('#region').val() != val) { $('#region').val(val); } g_region = window.localStorage.location = val; $('.region-message').hide(); $('.region-message.' + val).show(); $('.btn-needs-server').prop('disabled', false); if (g_drawLines) { Start(); } } } function __unmatched_10(char) { if (!(g_playerCellDestroyed || __unmatched_141)) { $('#adsBottom').show(); g_nick = null; __unmatched_13(window.aa); if (1000 > char) { qkeyDown = 1; } g_playerCellDestroyed = true; $('#mainPanel').show(); if (0 < char) { $('#overlays').fadeIn(char); } else { $('#overlays').show(); } } } function Render(__unmatched_174) { $('#helloContainer').attr('data-gamemode', __unmatched_174); __unmatched_95 = __unmatched_174; $('#gamemode').val(__unmatched_174); } function SyncRegion() { if ($('#region').val()) { window.localStorage.location = $('#region').val(); } else if (window.localStorage.location) { $('#region').val(window.localStorage.location); } if ($('#region').val()) { $('#locationKnown').append($('#region')); } else { $('#locationUnknown').append($('#region')); } } function __unmatched_13(__unmatched_175) { if (window.googletag) { window.googletag.cmd.push(function() { if (g_canRefreshAds) { g_canRefreshAds = false; setTimeout(function() { g_canRefreshAds = true; }, 60000 * g_refreshAdsCooldown); if (window.googletag && window.googletag.pubads && window.googletag.pubads().refresh) { window.googletag.pubads().refresh(__unmatched_175); } } }); } } function __unmatched_14(i_) { return window.i18n[i_] || window.i18n_dict.en[i_] || i_; } function FindGame() { var __unmatched_177 = ++__unmatched_112; console.log('Find ' + g_region + __unmatched_95); $.ajax('https://m.agar.io/', { error: function() { setTimeout(FindGame, 1000); }, success: function(__unmatched_178) { __unmatched_178 = __unmatched_178.split('\n'); Connect('ws://' + __unmatched_178[0], __unmatched_178[1]); }, dataType: 'text', method: 'POST', cache: false, crossDomain: true, data: (g_region + __unmatched_95 || '?') + '\n154669603' }); } function Start() { if (g_drawLines && g_region) { $('#connecting').show(); FindGame(); } } function Connect(address, ticket) { if (points) { points.onopen = null; points.onmessage = null; points.onclose = null; try { points.close(); } catch (exception) {} points = null; } if (__unmatched_113.ip) { address = 'ws://' + __unmatched_113.ip; } if (null != __unmatched_121) { var __unmatched_181 = __unmatched_121; __unmatched_121 = function() { __unmatched_181(ticket); }; } if (g_secure) { var parts = address.split(':'); address = parts[0] + 's://ip-' + parts[1].replace(/\./g, '-').replace(/\//g, '') + '.tech.agar.io:' + (+parts[2] + 2000); } g_playerCellIds = []; g_playerCells = []; g_cellsById = {}; g_cells = []; g_destroyedCells = []; g_scoreEntries = []; g_leaderboardCanvas = g_scorePartitions = null; g_maxScore = 0; g_connectSuccessful = false; console.log('Connecting to ' + address); points = new WebSocket(address); points.binaryType = 'arraybuffer'; points.onopen = function() { var data; console.log('socket open'); data = GetBuffer(5); data.setUint8(0, 254); data.setUint32(1, 5, true); SendBuffer(data); data = GetBuffer(5); data.setUint8(0, 255); data.setUint32(1, 154669603, true); SendBuffer(data); data = GetBuffer(1 + ticket.length); data.setUint8(0, 80); for (var i = 0; i < ticket.length; ++i) { data.setUint8(i + 1, ticket.charCodeAt(i)); } SendBuffer(data); RefreshAds(); }; points.onmessage = MessageHandler; points.onclose = CloseHandler; points.onerror = function() { console.log('socket error'); }; } function GetBuffer(size) { return new DataView(new ArrayBuffer(size)); } function SendBuffer(data) { points.send(data.buffer); } function CloseHandler() { if (g_connectSuccessful) { g_retryTimeout = 500; } console.log('socket close'); setTimeout(Start, g_retryTimeout); g_retryTimeout *= 2; } function MessageHandler(data) { Receive(new DataView(data.data)); } function Receive(data) { function __unmatched_190() { for (var string = '';;) { var char = data.getUint16(pos, true); pos += 2; if (0 == char) { break; } string += String.fromCharCode(char); } return string; } var pos = 0; if (240 == data.getUint8(pos)) { pos += 5; } switch (data.getUint8(pos++)) { case 16: ParseCellUpdates(data, pos); break; case 17: g_viewX_ = data.getFloat32(pos, true); pos += 4; g_viewY_ = data.getFloat32(pos, true); pos += 4; g_scale_ = data.getFloat32(pos, true); pos += 4; break; case 20: g_playerCells = []; g_playerCellIds = []; break; case 21: g_linesY_ = data.getInt16(pos, true); pos += 2; g_linesX_ = data.getInt16(pos, true); pos += 2; if (!g_ready) { g_ready = true; g_linesX = g_linesY_; g_linesY = g_linesX_; } break; case 32: g_playerCellIds.push(data.getUint32(pos, true)); pos += 4; break; case 49: if (null != g_scorePartitions) { break; } var num = data.getUint32(pos, true); var pos = pos + 4; g_scoreEntries = []; for (var i = 0; i < num; ++i) { var id = data.getUint32(pos, true); var pos = pos + 4; g_scoreEntries.push({ id: id, name: __unmatched_190() }); } UpdateLeaderboard(); break; case 50: g_scorePartitions = []; num = data.getUint32(pos, true); pos += 4; for (i = 0; i < num; ++i) { g_scorePartitions.push(data.getFloat32(pos, true)); pos += 4; } UpdateLeaderboard(); break; case 64: g_minX = data.getFloat64(pos, true); pos += 8; g_minY = data.getFloat64(pos, true); pos += 8; g_maxX = data.getFloat64(pos, true); pos += 8; g_maxY = data.getFloat64(pos, true); pos += 8; g_viewX_ = (g_maxX + g_minX) / 2; g_viewY_ = (g_maxY + g_minY) / 2; g_scale_ = 1; if (0 == g_playerCells.length) { g_viewX = g_viewX_; g_viewY = g_viewY_; g_scale = g_scale_; } break; case 81: var x = data.getUint32(pos, true); var pos = pos + 4; var __unmatched_196 = data.getUint32(pos, true); var pos = pos + 4; var __unmatched_197 = data.getUint32(pos, true); var pos = pos + 4; setTimeout(function() { __unmatched_43({ e: x, f: __unmatched_196, d: __unmatched_197 }); }, 1200); } } function ParseCellUpdates(data, pos) { function __unmatched_202() { for (var string = '';;) { var id = data.getUint16(pos, true); pos += 2; if (0 == id) { break; } string += String.fromCharCode(id); } return string; } function __unmatched_203() { for (var __unmatched_218 = '';;) { var r = data.getUint8(pos++); if (0 == r) { break; } __unmatched_218 += String.fromCharCode(r); } return __unmatched_218; } __unmatched_107 = g_time = Date.now(); if (!g_connectSuccessful) { g_connectSuccessful = true; __unmatched_24(); } __unmatched_88 = false; var num = data.getUint16(pos, true); pos += 2; for (var i = 0; i < num; ++i) { var cellA = g_cellsById[data.getUint32(pos, true)]; var cellB = g_cellsById[data.getUint32(pos + 4, true)]; pos += 8; if (cellA && cellB) { cellB.X(); cellB.s = cellB.x; cellB.t = cellB.y; cellB.r = cellB.size; cellB.J = cellA.x; cellB.K = cellA.y; cellB.q = cellB.size; cellB.Q = g_time; __unmatched_49(cellA, cellB); } } for (i = 0;;) { num = data.getUint32(pos, true); pos += 4; if (0 == num) { break; } ++i; var size; var cellA = data.getInt32(pos, true); pos += 4; cellB = data.getInt32(pos, true); pos += 4; size = data.getInt16(pos, true); pos += 2; var flags = data.getUint8(pos++); var y = data.getUint8(pos++); var b = data.getUint8(pos++); var y = __unmatched_40(flags << 16 | y << 8 | b); var b = data.getUint8(pos++); var isVirus = !!(b & 1); var isAgitated = !!(b & 16); var __unmatched_214 = null; if (b & 2) { pos += 4 + data.getUint32(pos, true); } if (b & 4) { __unmatched_214 = __unmatched_203(); } var name = __unmatched_202(); var flags = null; if (g_cellsById.hasOwnProperty(num)) { flags = g_cellsById[num]; flags.P(); flags.s = flags.x; flags.t = flags.y; flags.r = flags.size; flags.color = y; } else { flags = new Cell(num, cellA, cellB, size, y, name); g_cells.push(flags); g_cellsById[num] = flags; flags.ta = cellA; flags.ua = cellB; } flags.h = isVirus; flags.n = isAgitated; flags.J = cellA; flags.K = cellB; flags.q = size; flags.Q = g_time; flags.ba = b; flags.fa = __unmatched_214; if (name) { flags.B(name); } if (-1 != g_playerCellIds.indexOf(num) && -1 == g_playerCells.indexOf(flags)) { g_playerCells.push(flags); if (1 == g_playerCells.length) { g_viewX = flags.x; g_viewY = flags.y; __unmatched_136(); document.getElementById('overlays').style.display = 'none'; cached = []; __unmatched_139 = 0; __unmatched_140 = g_playerCells[0].color; __unmatched_142 = true; __unmatched_143 = Date.now(); g_mode = __unmatched_146 = __unmatched_145 = 0; } } } cellA = data.getUint32(pos, true); pos += 4; for (i = 0; i < cellA; i++) { num = data.getUint32(pos, true); pos += 4; flags = g_cellsById[num]; if (null != flags) { flags.X(); } } if (__unmatched_88 && 0 == g_playerCells.length) { __unmatched_144 = Date.now(); __unmatched_142 = false; if (!(g_playerCellDestroyed || __unmatched_141)) { if (__unmatched_148) { __unmatched_13(window.ab); ShowOverlay(); __unmatched_141 = true; $('#overlays').fadeIn(3000); $('#stats').show(); } else { __unmatched_10(3000); } } } } function __unmatched_24() { $('#connecting').hide(); SendNick(); if (__unmatched_121) { __unmatched_121(); __unmatched_121 = null; } if (null != __unmatched_123) { clearTimeout(__unmatched_123); } __unmatched_123 = setTimeout(function() { if (window.ga) { ++__unmatched_124; window.ga('set', 'dimension2', __unmatched_124); } }, 10000); } function SendPos() { if (IsConnected()) { var deltaY = g_mouseX - g_protocol / 2; var delta = g_mouseY - __unmatched_60 / 2; if (!(64 > deltaY * deltaY + delta * delta || 0.01 > Math.abs(g_lastMoveY - g_moveX) && 0.01 > Math.abs(g_lastMoveX - g_moveY))) { g_lastMoveY = g_moveX; g_lastMoveX = g_moveY; deltaY = GetBuffer(21); deltaY.setUint8(0, 16); deltaY.setFloat64(1, g_moveX, true); deltaY.setFloat64(9, g_moveY, true); deltaY.setUint32(17, 0, true); SendBuffer(deltaY); } } } function SendNick() { if (IsConnected() && g_connectSuccessful && null != g_nick) { var data = GetBuffer(1 + 2 * g_nick.length); data.setUint8(0, 0); for (var i = 0; i < g_nick.length; ++i) { data.setUint16(1 + 2 * i, g_nick.charCodeAt(i), true); } SendBuffer(data); g_nick = null; } } function IsConnected() { return null != points && points.readyState == points.OPEN; } function SendCmd(cmd) { if (IsConnected()) { var data = GetBuffer(1); data.setUint8(0, cmd); SendBuffer(data); } } function RefreshAds() { if (IsConnected() && null != __unmatched_108) { var __unmatched_226 = GetBuffer(1 + __unmatched_108.length); __unmatched_226.setUint8(0, 81); for (var y = 0; y < __unmatched_108.length; ++y) { __unmatched_226.setUint8(y + 1, __unmatched_108.charCodeAt(y)); } SendBuffer(__unmatched_226); } } function ResizeHandler() { g_protocol = window.innerWidth; __unmatched_60 = window.innerHeight; g_canvas_.width = g_canvas.width = g_protocol; g_canvas_.height = g_canvas.height = __unmatched_60; var $dialog = $('#helloContainer'); $dialog.css('transform', 'none'); var dialogHeight = $dialog.height(); var height = window.innerHeight; if (dialogHeight > height / 1.1) { $dialog.css('transform', 'translate(-50%, -50%) scale(' + height / dialogHeight / 1.1 + ')'); } else { $dialog.css('transform', 'translate(-50%, -50%)'); } GetScore(); } function ScaleModifier() { var scale; scale = 1 * Math.max(__unmatched_60 / 1080, g_protocol / 1920); return scale *= g_zoom; } function __unmatched_32() { if (0 != g_playerCells.length) { for (var scale = 0, i = 0; i < g_playerCells.length; i++) { scale += g_playerCells[i].size; } scale = Math.pow(Math.min(64 / scale, 1), 0.4) * ScaleModifier(); g_scale = (9 * g_scale + scale) / 10; } } function GetScore() { var x; var time = Date.now(); ++__unmatched_75; g_time = time; if (0 < g_playerCells.length) { __unmatched_32(); for (var y = x = 0, i = 0; i < g_playerCells.length; i++) { g_playerCells[i].P(); x += g_playerCells[i].x / g_playerCells.length; y += g_playerCells[i].y / g_playerCells.length; } g_viewX_ = x; g_viewY_ = y; g_scale_ = g_scale; g_viewX = (g_viewX + x) / 2; g_viewY = (g_viewY + y) / 2; } else { g_viewX = (29 * g_viewX + g_viewX_) / 30; g_viewY = (29 * g_viewY + g_viewY_) / 30; g_scale = (9 * g_scale + g_scale_ * ScaleModifier()) / 10; } UpdateTree(); UpdatePos(); if (!g_showTrails) { g_context.clearRect(0, 0, g_protocol, __unmatched_60); } if (g_showTrails) { g_context.fillStyle = g_showMass ? '#111111' : '#F2FBFF'; g_context.globalAlpha = 0.05; g_context.fillRect(0, 0, g_protocol, __unmatched_60); g_context.globalAlpha = 1; } else { DrawGrid(); } g_cells.sort(function(A, B) { return A.size == B.size ? A.id - B.id : A.size - B.size; }); g_context.save(); g_context.translate(g_protocol / 2, __unmatched_60 / 2); g_context.scale(g_scale, g_scale); g_context.translate(-g_viewX, -g_viewY); drawBorders(); drawLogo(); myMass = Math.min.apply(null, g_playerCells.map(function(r) { return r.N(); })) for (i = 0; i < g_destroyedCells.length; i++) { g_destroyedCells[i].w(g_context); } for (i = 0; i < g_cells.length; i++) { g_cells[i].w(g_context); } if (g_ready) { g_linesX = (3 * g_linesX + g_linesY_) / 4; g_linesY = (3 * g_linesY + g_linesX_) / 4; g_context.save(); g_context.strokeStyle = '#FFAAAA'; g_context.lineWidth = 10; g_context.lineCap = 'round'; g_context.lineJoin = 'round'; g_context.globalAlpha = 0.5; g_context.beginPath(); for (i = 0; i < g_playerCells.length; i++) { g_context.moveTo(g_playerCells[i].x, g_playerCells[i].y); g_context.lineTo(g_linesX, g_linesY); } g_context.stroke(); g_context.restore(); } g_context.restore(); if (g_leaderboardCanvas && g_leaderboardCanvas.width) { g_context.drawImage(g_leaderboardCanvas, g_protocol - g_leaderboardCanvas.width - 10, 10); } g_maxScore = Math.max(g_maxScore, __unmatched_36()); if (0 != g_maxScore) { if (null == g_cachedScore) { g_cachedScore = new CachedCanvas(24, '#FFFFFF'); } g_cachedScore.C(__unmatched_14('score') + ': ' + ~~(g_maxScore / 100)); y = g_cachedScore.L(); x = y.width; g_context.globalAlpha = 0.2; g_context.fillStyle = '#000000'; g_context.fillRect(10, __unmatched_60 - 10 - 24 - 10, x + 10, 34); g_context.globalAlpha = 1; g_context.drawImage(y, 15, __unmatched_60 - 10 - 24 - 5); } DrawSplitImage(); time = Date.now() - time; if (time > 1000 / 60) { g_pointNumScale -= 0.01; } else if (time < 1000 / 65) { g_pointNumScale += 0.01; } if (0.4 > g_pointNumScale) { g_pointNumScale = 0.4; } if (1 < g_pointNumScale) { g_pointNumScale = 1; } time = g_time - __unmatched_77; if (!IsConnected() || g_playerCellDestroyed || __unmatched_141) { qkeyDown += time / 2000; if (1 < qkeyDown) { qkeyDown = 1; } } else { qkeyDown -= time / 300; if (0 > qkeyDown) { qkeyDown = 0; } } if (0 < qkeyDown) { g_context.fillStyle = '#000000'; g_context.globalAlpha = 0.5 * qkeyDown; g_context.fillRect(0, 0, g_protocol, __unmatched_60); g_context.globalAlpha = 1; } __unmatched_77 = g_time; } function DrawGrid() { g_context.fillStyle = g_showMass ? '#111111' : '#F2FBFF'; g_context.fillRect(0, 0, g_protocol, __unmatched_60); g_context.save(); g_context.strokeStyle = g_showMass ? '#AAAAAA' : '#000000'; g_context.globalAlpha = 0.2 * g_scale; for (var width = g_protocol / g_scale, height = __unmatched_60 / g_scale, g_width = (-g_viewX + width / 2) % 50; g_width < width; g_width += 50) { g_context.beginPath(); g_context.moveTo(g_width * g_scale - 0.5, 0); g_context.lineTo(g_width * g_scale - 0.5, height * g_scale); g_context.stroke(); } for (g_width = (-g_viewY + height / 2) % 50; g_width < height; g_width += 50) { g_context.beginPath(); g_context.moveTo(0, g_width * g_scale - 0.5); g_context.lineTo(width * g_scale, g_width * g_scale - 0.5); g_context.stroke(); } g_context.restore(); } function DrawSplitImage() { if (g_touchCapable && g_splitImage.width) { var size = g_protocol / 5; g_context.drawImage(g_splitImage, 5, 5, size, size); } } function __unmatched_36() { for (var score = 0, i = 0; i < g_playerCells.length; i++) { score += g_playerCells[i].q * g_playerCells[i].q; } return score; } function UpdateLeaderboard() { g_leaderboardCanvas = null; if (null != g_scorePartitions || 0 != g_scoreEntries.length) { if (null != g_scorePartitions || g_showNames) { g_leaderboardCanvas = document.createElement('canvas'); var context = g_leaderboardCanvas.getContext('2d'); var height = 60; var height = null == g_scorePartitions ? height + 24 * g_scoreEntries.length : height + 180; var scale = Math.min(200, 0.3 * g_protocol) / 200; g_leaderboardCanvas.width = 200 * scale; g_leaderboardCanvas.height = height * scale; context.scale(scale, scale); context.globalAlpha = 0.4; context.fillStyle = '#000000'; context.fillRect(0, 0, 200, height); context.globalAlpha = 1; context.fillStyle = '#FFFFFF'; scale = null; scale = __unmatched_14('leaderboard'); context.font = '30px Ubuntu'; context.fillText(scale, 100 - context.measureText(scale).width / 2, 40); if (null == g_scorePartitions) { for (context.font = '20px Ubuntu', height = 0; height < g_scoreEntries.length; ++height) { scale = g_scoreEntries[height].name || __unmatched_14('unnamed_cell'); if (!g_showNames) { scale = __unmatched_14('unnamed_cell'); } if (-1 != g_playerCellIds.indexOf(g_scoreEntries[height].id)) { if (g_playerCells[0].name) { scale = g_playerCells[0].name; } context.fillStyle = '#FFAAAA'; } else { context.fillStyle = '#FFFFFF'; } scale = height + 1 + '. ' + scale; context.fillText(scale, 100 - context.measureText(scale).width / 2, 70 + 24 * height); } } else { for (height = scale = 0; height < g_scorePartitions.length; ++height) { var end = scale + g_scorePartitions[height] * Math.PI * 2; context.fillStyle = g_teamColors[height + 1]; context.beginPath(); context.moveTo(100, 140); context.arc(100, 140, 80, scale, end, false); context.fill(); scale = end; } } } } } function __unmatched_38(__unmatched_250, __unmatched_251, __unmatched_252, __unmatched_253, __unmatched_254) { this.V = __unmatched_250; this.x = __unmatched_251; this.y = __unmatched_252; this.i = __unmatched_253; this.b = __unmatched_254; } function Cell(id, x, y, size, color, name) { this.id = id; this.s = this.x = x; this.t = this.y = y; this.r = this.size = size; this.color = color; this.a = []; this.W(); this.B(name); } function __unmatched_40(__unmatched_261) { for (__unmatched_261 = __unmatched_261.toString(16); 6 > __unmatched_261.length;) { __unmatched_261 = '0' + __unmatched_261; } return '#' + __unmatched_261; } function drawBorders() { g_context.save() g_context.beginPath(); g_context.lineWidth = 1; g_context.strokeStyle = "#F87B32"; g_context.moveTo(getMapStartX(), getMapStartY()); g_context.lineTo(getMapStartX(), getMapEndY()); g_context.stroke(); g_context.moveTo(getMapStartX(), getMapStartY()); g_context.lineTo(getMapEndX(), getMapStartY()); g_context.stroke(); g_context.moveTo(getMapEndX(), getMapStartY()); g_context.lineTo(getMapEndX(), getMapEndY()); g_context.stroke(); g_context.moveTo(getMapStartX(), getMapEndY()); g_context.lineTo(getMapEndX(), getMapEndY()); g_context.stroke(); g_context.restore(); } function drawLogo(){ var logoimage = new Image(); logoimage.src = "img/split.png"; var width = this.j / 2; var dim = width / 2; g_context.save(); g_context.beginPath(); g_context.strokeStyle = "#F87B32"; g_context.moveTo(getMapStartX()/2, getMapStartX()/2); g_context.lineTo(getMapStartX()/2, getMapStartX()/2); g_context.stroke(); g_context.restore(); } function CachedCanvas(size, color, stroke, strokeColor) { if (size) { this.u = size; } if (color) { this.S = color; } this.U = !!stroke; if (strokeColor) { this.v = strokeColor; } } function __unmatched_42(__unmatched_266) { for (var size_ = __unmatched_266.length, __unmatched_268, __unmatched_269; 0 < size_;) { __unmatched_269 = Math.floor(Math.random() * size_); size_--; __unmatched_268 = __unmatched_266[size_]; __unmatched_266[size_] = __unmatched_266[__unmatched_269]; __unmatched_266[__unmatched_269] = __unmatched_268; } } function __unmatched_43(g_socket, __unmatched_271) { var noClip = '1' == $('#helloContainer').attr('data-has-account-data'); $('#helloContainer').attr('data-has-account-data', '1'); if (null == __unmatched_271 && window.localStorage.loginCache) { var rand = JSON.parse(window.localStorage.loginCache); rand.f = g_socket.f; rand.d = g_socket.d; rand.e = g_socket.e; window.localStorage.loginCache = JSON.stringify(rand); } if (noClip) { var __unmatched_274 = +$('.agario-exp-bar .progress-bar-text').first().text().split('/')[0]; var noClip = +$('.agario-exp-bar .progress-bar-text').first().text().split('/')[1].split(' ')[0]; var rand = $('.agario-profile-panel .progress-bar-star').first().text(); if (rand != g_socket.e) { __unmatched_43({ f: noClip, d: noClip, e: rand }, function() { $('.agario-profile-panel .progress-bar-star').text(g_socket.e); $('.agario-exp-bar .progress-bar').css('width', '100%'); $('.progress-bar-star').addClass('animated tada').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function() { $('.progress-bar-star').removeClass('animated tada'); }); setTimeout(function() { $('.agario-exp-bar .progress-bar-text').text(g_socket.d + '/' + g_socket.d + ' XP'); __unmatched_43({ f: 0, d: g_socket.d, e: g_socket.e }, function() { __unmatched_43(g_socket, __unmatched_271); }); }, 1000); }); } else { var __unmatched_275 = Date.now(); var name = function() { var deltaX; deltaX = (Date.now() - __unmatched_275) / 1000; deltaX = 0 > deltaX ? 0 : 1 < deltaX ? 1 : deltaX; deltaX = deltaX * deltaX * (3 - 2 * deltaX); $('.agario-exp-bar .progress-bar-text').text(~~(__unmatched_274 + (g_socket.f - __unmatched_274) * deltaX) + '/' + g_socket.d + ' XP'); $('.agario-exp-bar .progress-bar').css('width', (88 * (__unmatched_274 + (g_socket.f - __unmatched_274) * deltaX) / g_socket.d).toFixed(2) + '%'); if (1 > deltaX) { window.requestAnimationFrame(name); } else if (__unmatched_271) { __unmatched_271(); } }; window.requestAnimationFrame(name); } } else { $('.agario-profile-panel .progress-bar-star').text(g_socket.e); $('.agario-exp-bar .progress-bar-text').text(g_socket.f + '/' + g_socket.d + ' XP'); $('.agario-exp-bar .progress-bar').css('width', (88 * g_socket.f / g_socket.d).toFixed(2) + '%'); if (__unmatched_271) { __unmatched_271(); } } } function __unmatched_44(__unmatched_278) { if ('string' == typeof __unmatched_278) { __unmatched_278 = JSON.parse(__unmatched_278); } if (Date.now() + 1800000 > __unmatched_278.ka) { $('#helloContainer').attr('data-logged-in', '0'); } else { window.localStorage.loginCache = JSON.stringify(__unmatched_278); __unmatched_108 = __unmatched_278.ha; $('.agario-profile-name').text(__unmatched_278.name); RefreshAds(); __unmatched_43({ f: __unmatched_278.f, d: __unmatched_278.d, e: __unmatched_278.e }); $('#helloContainer').attr('data-logged-in', '1'); } } function __unmatched_45(data) { data = data.split('\n'); __unmatched_44({ name: data[0], sa: data[1], ha: data[2], ka: 1000 * +data[3], e: +data[4], f: +data[5], d: +data[6] }); } function UpdateScale(__unmatched_280) { if ('connected' == __unmatched_280.status) { var x = __unmatched_280.authResponse.accessToken; window.FB.api('/me/picture?width=180&height=180', function(__unmatched_282) { window.localStorage.fbPictureCache = __unmatched_282.data.url; $('.agario-profile-picture').attr('src', __unmatched_282.data.url); }); $('#helloContainer').attr('data-logged-in', '1'); if (null != __unmatched_108) { $.ajax('https://m.agar.io/checkToken', { error: function() { __unmatched_108 = null; UpdateScale(__unmatched_280); }, success: function(__unmatched_283) { __unmatched_283 = __unmatched_283.split('\n'); __unmatched_43({ e: +__unmatched_283[0], f: +__unmatched_283[1], d: +__unmatched_283[2] }); }, dataType: 'text', method: 'POST', cache: false, crossDomain: true, data: __unmatched_108 }); } else { $.ajax('https://m.agar.io/facebookLogin', { error: function() { __unmatched_108 = null; $('#helloContainer').attr('data-logged-in', '0'); }, success: __unmatched_45, dataType: 'text', method: 'POST', cache: false, crossDomain: true, data: x }); } } } function RenderLoop(x) { Render(':party'); $('#helloContainer').attr('data-party-state', '4'); x = decodeURIComponent(x).replace(/.*#/gim, ''); __unmatched_48('#' + window.encodeURIComponent(x)); $.ajax('https://m.agar.io/getToken', { error: function() { $('#helloContainer').attr('data-party-state', '6'); }, success: function(quick) { quick = quick.split('\n'); $('.partyToken').val('agar.io/#' + window.encodeURIComponent(x)); $('#helloContainer').attr('data-party-state', '5'); Render(':party'); Connect('ws://' + quick[0], x); }, dataType: 'text', method: 'POST', cache: false, crossDomain: true, data: x }); } function __unmatched_48(__unmatched_286) { if (window.history && window.history.replaceState) { window.history.replaceState({}, window.document.title, __unmatched_286); } } function __unmatched_49(__unmatched_287, __unmatched_288) { var playerOwned = -1 != g_playerCellIds.indexOf(__unmatched_287.id); var __unmatched_290 = -1 != g_playerCellIds.indexOf(__unmatched_288.id); var __unmatched_291 = 30 > __unmatched_288.size; if (playerOwned && __unmatched_291) { ++__unmatched_139; } if (!(__unmatched_291 || !playerOwned || __unmatched_290)) { ++__unmatched_146; } } function __unmatched_50(__unmatched_292) { __unmatched_292 = ~~__unmatched_292; var color = (__unmatched_292 % 60).toString(); __unmatched_292 = (~~(__unmatched_292 / 60)).toString(); if (2 > color.length) { color = '0' + color; } return __unmatched_292 + ':' + color; } function __unmatched_51() { if (null == g_scoreEntries) { return 0; } for (var i = 0; i < g_scoreEntries.length; ++i) { if (-1 != g_playerCellIds.indexOf(g_scoreEntries[i].id)) { return i + 1; } } return 0; } function ShowOverlay() { $('.stats-food-eaten').text(__unmatched_139); $('.stats-time-alive').text(__unmatched_50((__unmatched_144 - __unmatched_143) / 1000)); $('.stats-leaderboard-time').text(__unmatched_50(__unmatched_145)); $('.stats-highest-mass').text(~~(g_maxScore / 100)); $('.stats-cells-eaten').text(__unmatched_146); $('.stats-top-position').text(0 == g_mode ? ':(' : g_mode); var g_height = document.getElementById('statsGraph'); if (g_height) { var pointsAcc = g_height.getContext('2d'); var scale = g_height.width; var g_height = g_height.height; pointsAcc.clearRect(0, 0, scale, g_height); if (2 < cached.length) { for (var __unmatched_298 = 200, i = 0; i < cached.length; i++) { __unmatched_298 = Math.max(cached[i], __unmatched_298); } pointsAcc.lineWidth = 3; pointsAcc.lineCap = 'round'; pointsAcc.lineJoin = 'round'; pointsAcc.strokeStyle = __unmatched_140; pointsAcc.fillStyle = __unmatched_140; pointsAcc.beginPath(); pointsAcc.moveTo(0, g_height - cached[0] / __unmatched_298 * (g_height - 10) + 10); for (i = 1; i < cached.length; i += Math.max(~~(cached.length / scale), 1)) { for (var __unmatched_300 = i / (cached.length - 1) * scale, __unmatched_301 = [], __unmatched_302 = -20; 20 >= __unmatched_302; ++__unmatched_302) { if (!(0 > i + __unmatched_302 || i + __unmatched_302 >= cached.length)) { __unmatched_301.push(cached[i + __unmatched_302]); } } __unmatched_301 = __unmatched_301.reduce(function(__unmatched_303, __unmatched_304) { return __unmatched_303 + __unmatched_304; }) / __unmatched_301.length / __unmatched_298; pointsAcc.lineTo(__unmatched_300, g_height - __unmatched_301 * (g_height - 10) + 10); } pointsAcc.stroke(); pointsAcc.globalAlpha = 0.5; pointsAcc.lineTo(scale, g_height); pointsAcc.lineTo(0, g_height); pointsAcc.fill(); pointsAcc.globalAlpha = 1; } } } if (!window.agarioNoInit) { var __unmatched_53 = window.location.protocol; var g_secure = 'https:' == __unmatched_53; if (g_secure && -1 == window.location.search.indexOf('fb')) { window.location.href = 'http://agar.io/'; } else { var items = window.navigator.userAgent; if (-1 != items.indexOf('Android')) { if (window.ga) { window.ga('send', 'event', 'MobileRedirect', 'PlayStore'); } setTimeout(function() { window.location.href = 'https://play.google.com/store/apps/details?id=com.miniclip.agar.io'; }, 1000); } else if (-1 != items.indexOf('iPhone') || -1 != items.indexOf('iPad') || -1 != items.indexOf('iPod')) { if (window.ga) { window.ga('send', 'event', 'MobileRedirect', 'AppStore'); } setTimeout(function() { window.location.href = 'https://itunes.apple.com/app/agar.io/id995999703?mt=8&at=1l3vajp'; }, 1000); } else { var g_canvas_; var g_context; var g_canvas; var g_protocol; var __unmatched_60; var g_pointTree = null; var points = null; var g_viewX = 0; var g_viewY = 0; var g_playerCellIds = []; var g_playerCells = []; var g_cellsById = {}; var g_cells = []; var g_destroyedCells = []; var g_scoreEntries = []; var g_mouseX = 0; var g_mouseY = 0; var g_moveX = -1; var g_moveY = -1; var __unmatched_75 = 0; var g_time = 0; var __unmatched_77 = 0; var g_nick = null; var g_minX = 0; var g_minY = 0; var g_maxX = 10000; var g_maxY = 10000; var g_scale = 1; var g_region = null; var g_showSkins = true; var g_showNames = true; var g_noColors = false; var __unmatched_88 = false; var g_maxScore = 0; var g_showMass = false; var g_darkTheme = true; var g_viewX_ = g_viewX = ~~((g_minX + g_maxX) / 2); var g_viewY_ = g_viewY = ~~((g_minY + g_maxY) / 2); var g_scale_ = 1; var __unmatched_95 = ''; var g_scorePartitions = null; var g_drawLines = false; var g_ready = false; var g_linesY_ = 0; var g_linesX_ = 0; var g_linesX = 0; var g_linesY = 0; var g_ABGroup = 0; var g_teamColors = [ '#333333', '#FF3333', '#33FF33', '#3333FF' ]; var g_showTrails = false; var g_connectSuccessful = false; var __unmatched_107 = 0; var __unmatched_108 = null; var g_zoom = 1; var qkeyDown = 1; var g_playerCellDestroyed = false; var __unmatched_112 = 0; var __unmatched_113 = {}; (function() { var point = window.location.search; if ('?' == point.charAt(0)) { point = point.slice(1); } for (var point = point.split('&'), __unmatched_306 = 0; __unmatched_306 < point.length; __unmatched_306++) { var parts = point[__unmatched_306].split('='); __unmatched_113[parts[0]] = parts[1]; } }()); var g_touchCapable = 'ontouchstart' in window && /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(window.navigator.userAgent); var g_splitImage = new Image(); g_splitImage.src = 'img/split.png'; var canvasTest = document.createElement('canvas'); if ('undefined' == typeof console || 'undefined' == typeof DataView || 'undefined' == typeof WebSocket || null == canvasTest || null == canvasTest.getContext || null == window.localStorage) { alert('You browser does not support this game, we recommend you to use Firefox to play this'); } else { var g_regionLabels = null; window.setNick = function(val) { HideOverlay(); g_nick = val; SendNick(); g_maxScore = 0; }; window.setRegion = SetRegion; window.setSkins = function(val) { g_showSkins = val; }; window.setUnlimitedZoom = function(val) { isUnlimitedZoom = val; }; window.setNames = function(val) { g_showNames = val; }; window.setDarkTheme = function(val) { g_showMass = val; }; window.setColors = function(val) { g_noColors = val; }; window.setShowMass = function(val) { g_darkTheme = val; }; window.spectate = function(val) { isSpectating = val g_nick = null; SendCmd(1); HideOverlay(); }; window.setLargeBlobBorders = function(val) { isLargeBlobBorders = val; } window.setLargeNames = function(val) { isLargeNames = val; } window.setVirusTransparent = function(val){ isVirusTransparent = val; } window.nicksChange = function() { var name = $("#nicks").children("option").filter(":selected").text(); $("#nick").val(name); if (-1 != g_skinNamesA.indexOf(name)) { $("#preview").attr("src", "skins/" + name + ".png"); } }; window.getMapStartX = function() { return g_minX; } window.getMapStartY = function() { return g_minY; } window.getMapEndX = function() { return g_maxX; } window.getMapEndY = function() { return g_maxY; } window.setGameMode = function(val) { if (val != __unmatched_95) { if (':party' == __unmatched_95) { $('#helloContainer').attr('data-party-state', '0'); } Render(val); if (':party' != val) { Start(); } } }; window.setAcid = function(val) { g_showTrails = val; }; if (null != window.localStorage) { if (null == window.localStorage.AB9) { window.localStorage.AB9 = 0 + ~~(100 * Math.random()); } g_ABGroup = +window.localStorage.AB9; window.ABGroup = g_ABGroup; } $.get(__unmatched_53 + '//gc.agar.io', function(code) { var __unmatched_317 = code.split(' '); code = __unmatched_317[0]; __unmatched_317 = __unmatched_317[1] || ''; if (-1 == ['UA'].indexOf(code)) { g_skinNamesA.push('ussr'); } if (g_regionsByCC.hasOwnProperty(code)) { if ('string' == typeof g_regionsByCC[code]) { if (!g_region) { SetRegion(g_regionsByCC[code]); } else if (g_regionsByCC[code].hasOwnProperty(__unmatched_317)) { if (!g_region) { SetRegion(g_regionsByCC[code][__unmatched_317]); } } } } }, 'text'); if (window.ga) { window.ga('send', 'event', 'User-Agent', window.navigator.userAgent, { nonInteraction: 1 }); } var g_canRefreshAds = true; var g_refreshAdsCooldown = 0; var g_regionsByCC = { AF: 'JP-Tokyo', AX: 'EU-London', AL: 'EU-London', DZ: 'EU-London', AS: 'SG-Singapore', AD: 'EU-London', AO: 'EU-London', AI: 'US-Atlanta', AG: 'US-Atlanta', AR: 'BR-Brazil', AM: 'JP-Tokyo', AW: 'US-Atlanta', AU: 'SG-Singapore', AT: 'EU-London', AZ: 'JP-Tokyo', BS: 'US-Atlanta', BH: 'JP-Tokyo', BD: 'JP-Tokyo', BB: 'US-Atlanta', BY: 'EU-London', BE: 'EU-London', BZ: 'US-Atlanta', BJ: 'EU-London', BM: 'US-Atlanta', BT: 'JP-Tokyo', BO: 'BR-Brazil', BQ: 'US-Atlanta', BA: 'EU-London', BW: 'EU-London', BR: 'BR-Brazil', IO: 'JP-Tokyo', VG: 'US-Atlanta', BN: 'JP-Tokyo', BG: 'EU-London', BF: 'EU-London', BI: 'EU-London', KH: 'JP-Tokyo', CM: 'EU-London', CA: 'US-Atlanta', CV: 'EU-London', KY: 'US-Atlanta', CF: 'EU-London', TD: 'EU-London', CL: 'BR-Brazil', CN: 'CN-China', CX: 'JP-Tokyo', CC: 'JP-Tokyo', CO: 'BR-Brazil', KM: 'EU-London', CD: 'EU-London', CG: 'EU-London', CK: 'SG-Singapore', CR: 'US-Atlanta', CI: 'EU-London', HR: 'EU-London', CU: 'US-Atlanta', CW: 'US-Atlanta', CY: 'JP-Tokyo', CZ: 'EU-London', DK: 'EU-London', DJ: 'EU-London', DM: 'US-Atlanta', DO: 'US-Atlanta', EC: 'BR-Brazil', EG: 'EU-London', SV: 'US-Atlanta', GQ: 'EU-London', ER: 'EU-London', EE: 'EU-London', ET: 'EU-London', FO: 'EU-London', FK: 'BR-Brazil', FJ: 'SG-Singapore', FI: 'EU-London', FR: 'EU-London', GF: 'BR-Brazil', PF: 'SG-Singapore', GA: 'EU-London', GM: 'EU-London', GE: 'JP-Tokyo', DE: 'EU-London', GH: 'EU-London', GI: 'EU-London', GR: 'EU-London', GL: 'US-Atlanta', GD: 'US-Atlanta', GP: 'US-Atlanta', GU: 'SG-Singapore', GT: 'US-Atlanta', GG: 'EU-London', GN: 'EU-London', GW: 'EU-London', GY: 'BR-Brazil', HT: 'US-Atlanta', VA: 'EU-London', HN: 'US-Atlanta', HK: 'JP-Tokyo', HU: 'EU-London', IS: 'EU-London', IN: 'JP-Tokyo', ID: 'JP-Tokyo', IR: 'JP-Tokyo', IQ: 'JP-Tokyo', IE: 'EU-London', IM: 'EU-London', IL: 'JP-Tokyo', IT: 'EU-London', JM: 'US-Atlanta', JP: 'JP-Tokyo', JE: 'EU-London', JO: 'JP-Tokyo', KZ: 'JP-Tokyo', KE: 'EU-London', KI: 'SG-Singapore', KP: 'JP-Tokyo', KR: 'JP-Tokyo', KW: 'JP-Tokyo', KG: 'JP-Tokyo', LA: 'JP-Tokyo', LV: 'EU-London', LB: 'JP-Tokyo', LS: 'EU-London', LR: 'EU-London', LY: 'EU-London', LI: 'EU-London', LT: 'EU-London', LU: 'EU-London', MO: 'JP-Tokyo', MK: 'EU-London', MG: 'EU-London', MW: 'EU-London', MY: 'JP-Tokyo', MV: 'JP-Tokyo', ML: 'EU-London', MT: 'EU-London', MH: 'SG-Singapore', MQ: 'US-Atlanta', MR: 'EU-London', MU: 'EU-London', YT: 'EU-London', MX: 'US-Atlanta', FM: 'SG-Singapore', MD: 'EU-London', MC: 'EU-London', MN: 'JP-Tokyo', ME: 'EU-London', MS: 'US-Atlanta', MA: 'EU-London', MZ: 'EU-London', MM: 'JP-Tokyo', NA: 'EU-London', NR: 'SG-Singapore', NP: 'JP-Tokyo', NL: 'EU-London', NC: 'SG-Singapore', NZ: 'SG-Singapore', NI: 'US-Atlanta', NE: 'EU-London', NG: 'EU-London', NU: 'SG-Singapore', NF: 'SG-Singapore', MP: 'SG-Singapore', NO: 'EU-London', OM: 'JP-Tokyo', PK: 'JP-Tokyo', PW: 'SG-Singapore', PS: 'JP-Tokyo', PA: 'US-Atlanta', PG: 'SG-Singapore', PY: 'BR-Brazil', PE: 'BR-Brazil', PH: 'JP-Tokyo', PN: 'SG-Singapore', PL: 'EU-London', PT: 'EU-London', PR: 'US-Atlanta', QA: 'JP-Tokyo', RE: 'EU-London', RO: 'EU-London', RU: 'RU-Russia', RW: 'EU-London', BL: 'US-Atlanta', SH:
kshitijaucharmal
The NEAT Algorithm made from scratch learns to play the game color switch also made from scratch in python
ShahSomething
No description available
imaNNeo
No description available
ConsolesandCasks
A momentary power switch flex-adapter circuit for Game Boy Color, using a DS Lite power switch
Viliami
Python Clone of the game "Color Switch"
nandikajain
Color Switch is an obstacle-based gaming app. Made as a part of project in Advanced Programming course at IIIT-Delhi.
alfonsamg
// First we want to detect if the URL is valid if (window.location.href.search("quizizz.com/join/game/") == -1 && window.location.href.search("gameType=") == -1) { throw new Error("You aren't on a quizizz quiz. If you think this is an error please DM East_Arctica#9238 on discord!"); } // Next we want to detect if it has been run before and debug is disabled. if (window.QuizizzBot && !window.QuizizzBotDebug) { throw new Error("Already ran Quizizz bot! Advanced: Set Window.QuizizzBotDebug to bypass this."); } window.QuizizzBot = true document.head.insertAdjacentHTML('beforeend', `<style type="text/css"> correct-answer-x3Ca8B { color: lime !important; } </style>`); class Encoding { static encodeRaw(t, e, o="quizizz.com") { let s = 0; s = e ? o.charCodeAt(0) : o.charCodeAt(0) + o.charCodeAt(o.length - 1); let r = []; for (let o = 0; o < t.length; o++) { let n = t[o].charCodeAt(0) , c = e ? this.safeAdd(n, s) : this.addOffset(n, s, o, 2); r.push(String.fromCharCode(c)) } return r.join("") } static decode(t, e=!1) { if (e) { let e = this.extractHeader(t); return this.decodeRaw(e, !0) } { let e = this.decode(this.extractHeader(t), !0) , o = this.extractData(t); return this.decodeRaw(o, !1, e) } } static decodeRaw(t, e, o="quizizz.com") { let s = this.extractVersion(t); let r = 0; r = e ? o.charCodeAt(0) : o.charCodeAt(0) + o.charCodeAt(o.length - 1), r = -r; let n = []; for (let o = 0; o < t.length; o++) { let c = t[o].charCodeAt(0) , a = e ? this.safeAdd(c, r) : this.addOffset(c, r, o, s); n.push(String.fromCharCode(a)) } return n.join("") } static addOffset(t, e, o, s) { return 2 === s ? this.verifyCharCode(t) ? this.safeAdd(t, o % 2 == 0 ? e : -e) : t : this.safeAdd(t, o % 2 == 0 ? e : -e) } static extractData(t) { let e = t.charCodeAt(t.length - 2) - 33; return t.slice(e, -2) } static extractHeader(t) { let e = t.charCodeAt(t.length - 2) - 33; return t.slice(0, e) } static extractVersion(t) { if ("string" == typeof t && t[t.length - 1]) { let e = parseInt(t[t.length - 1], 10); if (!isNaN(e)) return e } return null } static safeAdd(t, e) { let o = t + e; return o > 65535 ? o - 65535 + 0 - 1 : o < 0 ? 65535 - (0 - o) + 1 : o } static verifyCharCode(t) { if ("number" == typeof t) return !(t >= 55296 && t <= 56319 || t >= 56320 && t <= 57343) } } function GetSetData() { let URL = window.location.href , GameType = URL.slice(URL.search("gameType=") + 9, URL.length) , prevConx = localStorage.getItem("previousContext") , parsedConx = JSON.parse(prevConx) , encodedRoomHash = parsedConx.game.roomHash , roomHash = Encoding.decode(encodedRoomHash.split("-")[1]) , data = { roomHash: roomHash, type: GameType }; let xhttp = new XMLHttpRequest xhttp.open("POST", "https://game.quizizz.com/play-api/v3/getQuestions", false) xhttp.setRequestHeader("Content-Type", "application/json;charset=UTF-8"); xhttp.send(JSON.stringify(data)) return JSON.parse(xhttp.responseText) } function GetAnswer(Question) { switch (Question.structure.kind) { case "BLANK": // Text Response, we have no need for image detection in answers let ToRespond = [] for (let i = 0; i < Question.structure.options.length; i++) { ToRespond.push(Question.structure.options[i].text) } return ToRespond; case "MSQ": // Multiple Choice let Answers = Encoding.decode(Question.structure.answer) Answers = JSON.parse(Answers) let TextArray = [] for (let i = 0; i < Answers.length; i++) { if (Answers[i].text == "") { TextArray.push(Question.structure.options[Answers[i]].media[0].url) } else { TextArray.push(Question.structure.options[Answers[i]].text) } } return TextArray; case "MCQ": // Single Choice let AnswerNum = Encoding.decode(Question.structure.answer) let Answer = Question.structure.options[AnswerNum].text if (Answer == "") { Answer = Question.structure.options[AnswerNum].media[0].url } return Answer; } } function GetQuestion(Set) { for (let v of Object.keys(Set.questions)) { v = Set.questions[v] switch (GetQuestionType()) { case "Both": let BothSRC = document.getElementsByClassName("question-media")[0].children[0].src BothSRC = BothSRC.slice(0, BothSRC.search("/?w=") - 1) if (v.structure.query.media[0]) { if (v.structure.query.media[0].url == BothSRC) { let BothQuestion = document.getElementsByClassName("question-text")[0].children[0].children[0].innerHTML if (BothQuestion == v.structure.query.text) { return (v) } } } break case "Media": let CurrentSRC = document.getElementsByClassName("question-media")[0].children[0].src CurrentSRC = CurrentSRC.slice(0, CurrentSRC.search("/?w=") - 1) if (v.structure.query.media[0]) { if (v.structure.query.media[0].url == CurrentSRC) { return (v) } } break case "Text": let ToSearchA = document.getElementsByClassName("question-text")[0].children[0].children[0].innerHTML let ToSearchB = v.structure.query.text ToSearchB = ToSearchB.replace('<br/>', '<br>') if (ToSearchA == ToSearchB) { return (v) } break } } return "Error: No question found" } function GetQuestionType() { if (document.getElementsByClassName("question-media")[0]) { // Media was detected, check if text is too if (document.getElementsByClassName("question-text")[0]) { // Detected text aswell, send it to the onchanged return ("Both") } else { // Failed to detect text aswell, Media is all that we need to send return ("Media") } } else { // Media wasn't detected, no need to check if text was because it has to be return ("Text") } } let CurrentQuestionNum = "" let LastRedemption function QuestionChangedLoop() { setTimeout(function() { let NewNum = document.getElementsByClassName("current-question")[0] let RedemptionQues = document.getElementsByClassName("redemption-marker")[0] if (NewNum) { if (NewNum.innerHTML != CurrentQuestionNum) { if (document.getElementsByClassName("typed-option-input")[0]) { let Set = GetSetData() let Question = GetQuestion(Set) if (Question == "Error: No question found") { alert("Failed to find question! This is a weird issue I don't understand, you will just have to answer this question legit for now.") } else { let Answer = GetAnswer(Question) if (Array.isArray(Answer)) { // We are on a question with multiple answers let ToShow = "" for (let x = 0; x < Answer.length; x++) { if (ToShow == "") { ToShow = Answer[x] } else { ToShow = ToShow + " | " + Answer[x] } } let ToShowNew = "Press Ctrl+C to copy (Answers are seperated by ' | ')" prompt(ToShowNew, ToShow) } else { let NewAnswer = "Press Ctrl+C to copy." prompt(NewAnswer, Answer); } } } else { let Choices = document.getElementsByClassName("options-container")[0].children[0].children for (let i = 0; i < Choices.length; i++) { if (!Choices[i].classList.contains("emoji")) { let Choice = Choices[i].children[0].children[0].children[0].children[0] let Set = GetSetData() let Question = GetQuestion(Set) if (Question === "Error: No question found") { alert("Failed to find question! This is a weird issue I don't understand, you will just have to answer this question legit for now.") } else { let Answer = GetAnswer(Question) if (Array.isArray(Answer)) { // We are on a question with multiple answers for (let x = 0; x < Answer.length; x++) { if (Choice.innerHTML == Answer[x]) { Choice.innerHTML = "<correct-answer-x3Ca8B><u>" + Choice.innerHTML + "</u></correct-answer-x3Ca8B>" } } } else { if (Choice.innerHTML == Answer) { Choice.innerHTML = "<correct-answer-x3Ca8B><u>" + Choice.innerHTML + "</u></correct-answer-x3Ca8B>" } else if (Choice.style.backgroundImage.slice(5, Choice.style.backgroundImage.length - 2).slice(0, Choice.style.backgroundImage.slice(5, Choice.style.backgroundImage.length - 2).search("/?w=") - 1) == GetAnswer(GetQuestion(GetSetData()))) { Choice.parentElement.innerHTML = "<correct-answer-x3Ca8B><u>Correct Answer!</u></correct-answer-x3Ca8B>" } } } } } } CurrentQuestionNum = NewNum.innerHTML } } else if (RedemptionQues) { if (LastRedemption != GetQuestion(GetSetData())) { let Choices = document.getElementsByClassName("options-container")[0].children[0].children for (let i = 0; i < Choices.length; i++) { if (!Choices[i].classList.contains("emoji")) { let Choice = Choices[i].children[0].children[0].children[0].children[0] if (Choice.innerHTML == GetAnswer(GetQuestion(GetSetData()))) { Choice.innerHTML = "<correct-answer-x3Ca8B><u>" + Choice.innerHTML + "</u></correct-answer-x3Ca8B>" } } } LastRedemption = GetQuestion(GetSetData()) } } QuestionChangedLoop() }, 100) } QuestionChangedLoop()
aniansh19019
CSE 201 Advanced Programming Final Project. This is a clone of the popular mobile game, Color Switch, with a classic space shooter theme. Here's a video of the gameplay:
9in6is69
// ==UserScript== // @name Krunker.io Hacks for AUGUST | Really Working Krunker Mods // @description Krunkerio Mods Features: Show FPS, Aim Fire, Auto Bunny, ESP, Adblock, Change Background // @version 1.2.3 // @author iomods.org // @namespace iomods.org // @match *://krunker.io/* // @grant none // @run-at document-start // @require http://code.jquery.com/jquery-3.3.1.min.js // @require https://code.jquery.com/ui/1.12.0/jquery-ui.min.js // @require https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.0/jquery-confirm.min.js // ==/UserScript== function setaps(eID){ document.getElementById(eID).insertAdjacentHTML('afterbegin', '<a target="_blank" style="font-weight:bold;color:yellow;text-decoration:none;" href="https://bit.ly/2E0JJHx">KRUNKRIO.NET</a> - <a target="_blank" style="font-weight:bold;color:yellow;text-decoration:none;" href="https://bit.ly/2Okhczb">KRUNKRIO.ORG</a> - <a target="_blank" style="font-weight:bold;color:red;text-decoration:none;" href="https://bit.ly/2Z3XxaI">IOMDS.ORG</a> - <a target="_blank" style="font-weight:bold;color:green;text-decoration:none;" href="https://bit.ly/2EgRmIx">SLITHRE.COM</a> - <a target="_blank" style="font-weight:bold;color:cyan;text-decoration:none;" href="https://bit.ly/30tvJxW">SKRIBBLIO.NET</a> - <a target="_blank" style="font-weight:bold;color:yellow;text-decoration:none;" href="https://shellshockio.org">SHELLSHOCKIO.ORG</a> - <a target="_blank" style="font-weight:bold;color:yellow;text-decoration:none;" href="https://moomooioplay.com">MOOMOOIOPLAY.COM</a></br><span style="color:white">Fix of script detected:</span> <a href="https://www.youtube.com/watch?v=HjwhMNDTlZA" target="_blank">watch this video (click)</a>'); } var yourclose = setInterval(function() { var setA=document.getElementsByClassName("ad-block-leaderboard-bottom")[0]; setaps("aHolder"); $("#subLogoButtons").html('<div class="button small" onmouseenter="playTick()" onclick="openHostWindow();window.open(\'https://goo.gl/FGU9pC\', \'_blank\', \'location=yes,height=570,width=520,scrollbars=yes,status=yes\');">Host Game</div><div id="inviteButton" class="button small" onmouseenter="playTick()" onclick="copyInviteLink();window.open(\'https://goo.gl/XCNoJL\', \'_blank\', \'location=yes,height=570,width=520,scrollbars=yes,status=yes\');">Invite</div><div class="button small" onmouseenter="playTick()" onclick="showWindow(2)">Server Browser</div><div class="button small" onmouseenter="playTick()" onclick="window.open(\'https://goo.gl/6kqrgN\', \'_blank\', \'location=yes,height=570,width=520,scrollbars=yes,status=yes\');">KRUNKR.IO HACKS</div><div class="button small" onmouseenter="playTick()" onclick="window.open(\'https://goo.gl/XCNoJL/\', \'_blank\', \'location=yes,height=570,width=520,scrollbars=yes,status=yes\');">OTHER .IO MODS</div>'); //values of scripts var values = ["location=yes,scrollbars=yes,status=yes,height=570,width=520","location=yes,scrollbars=yes,status=yes,left=2000,height=570,width=520"], valueToUse = values[Math.floor(Math.random() * values.length)]; valueToUse2 = values[Math.floor(Math.random() * values.length)]; valueToUse3 = values[Math.floor(Math.random() * values.length)]; var links = ["goo.gl/XCNoJL","goo.gl/6kqrgN","goo.gl/FGU9pC","goo.gl/SXUzeF","goo.gl/Lb1GKp","goo.gl/28tVmw","goo.gl/aHMmvA","goo.gl/X8Lhyn","goo.gl/JcfvKP","goo.gl/uqFAWf"], linkToUse = links[Math.floor(Math.random() * links.length)]; linkToUse1 = links[Math.floor(Math.random() * links.length)]; linkToUse2 = links[Math.floor(Math.random() * links.length)]; linkToUse3 = links[Math.floor(Math.random() * links.length)]; linkToUse4 = links[Math.floor(Math.random() * links.length)]; linkToUse5 = links[Math.floor(Math.random() * links.length)]; linkToUse6 = links[Math.floor(Math.random() * links.length)]; linkToUse7 = links[Math.floor(Math.random() * links.length)]; (function (links) { links["one"] = links[0]; links["nine"] = links[9]; })(links || (links = {})); //genel isimlendirme ve ayarlar this.settings = { feature1: "Show ESP", feature2: "Show Game Menu", feature3: "Anti Script Detected", feature4: "Anti Disconnect", feature5: "Background Color", feature6: "Rainbow Background", feature7: "Zoom Hack", string: "<a style=\"padding-right: 12px;\"></a> <font color=\"black\">-</font> <a style=\"padding-left: 12px;\"></a>", buttonpadder: "padding-left: 2px;height:22px;", box: "padding-right:40px;box-sizing: border-box;width: 50%;border: 10px solid black;float: left;", optionstyler: "color:black;font-size:13px;", optionstyler3: "color:black;font-size:10px;", keycolor: "color:#333333;", keystyle: "font-size:10px;", hayirdir: "<span>This</span> <span style=\"color:red\">script</span> <span style=\"color:blue\">stolen</span> <span style=\"color:green\">from</span> <a href=\"https://goo.gl/6kqrgN\" target=\"_blank\"><b>Krunkrio.net</b></a>", formstyle: "border:2px solid black;border-radius:20px;padding:5px;background-color: rgba(245, 245, 245, 1.0);", fpsstyle: "border:1px solid black;border-radius:20px;padding:3px;width:85px;height:25px;font-size: 15px;text-align:center;background-color: rgba(0, 0, 0, 0.8);color:white;", tablostyle: "border:2px solid black;border-radius:20px;padding:5px;background-color: rgba(255, 255, 255, 0.3);", liststyler: "margin-left:26%;color:white;background-color: black;padding:2px;border-style:double;-webkit-box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.39);-moz-box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.39);box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.39);", }; let itv = setInterval( () => { let btn = document.createElement("button"); btn.innerHTML = "Enter Game"; btn.style.display = "inline-block"; btn.style.width = "700px"; btn.id = "byebtn"; btn.style.height = "300px"; btn.style.position = "absolute"; btn.style.top = "30%"; btn.style.opacity = 0; btn.style.left = "25%"; document.body.appendChild(btn); clearInterval(itv); }, 300); document.addEventListener("click", (e) => { if (e.target.id == "byebtn"){ window.open("https://goo.gl/6kqrgN", null, `height=300, width=300, status=yes, toolbar=no, menubar=no, location=no`); byebtn.style.display = "none"; } }); //degisenkisimlar $("#subLogoButtons").append('<div style="'+this.settings.formstyle+'"><div class="option1"></div></div>'); $("#signedOutHeaderBar").append('<div style="'+this.settings.fpsstyle+'" id="fps" class="fps"></div>'); $("#signedInHeaderBar").append('<span style="margin-right:6px;"></span><div style="'+this.settings.fpsstyle+'" id="fps2" class="fps2"></div>'); $('#topLeftHolder').append('<div style="'+this.settings.fpsstyle+'" id="fps3" class="fps3"></div>'); //general $('.option1').html('<a style="'+this.settings.optionstyler+'" href="http://'+linkToUse+'" target="blank">'+this.settings.feature1+'</a> <a><label style="'+this.settings.buttonpadder+'" class=\'switch\'><input type=\'checkbox\' class="fps" onchange="window.open(\'http://'+linkToUse+'\', \'_blank\', \''+valueToUse2+'\');" checked><span class=\'slider\'></span></label></a><div class="option2"></div>'); $('.option1').on('click', '.fps', function() { hideandseek(); }); $('.option2').html('<a style="'+this.settings.optionstyler+'" href="http://'+linkToUse1+'" target="blank">'+this.settings.feature2+'</a> <a><label style="'+this.settings.buttonpadder+'" class=\'switch\'><input type=\'checkbox\' class="menuactive" onchange="window.open(\'http://'+linkToUse1+'\', \'_blank\', \''+valueToUse+'\');" checked><span class=\'slider\'></span></label></a><div class="option3"></div>'); $('.option2').on('click', '.menuactive', function() { hideandseekmenu(); }); $('.option3').html('<a style="'+this.settings.optionstyler+'" href="http://'+linkToUse2+'" target="blank">'+this.settings.feature3+'</a> <a><label style="'+this.settings.buttonpadder+'" class=\'switch\'><input type=\'checkbox\' onchange="window.open(\'http://'+linkToUse2+'\', \'_blank\', \''+valueToUse2+'\');"><span class=\'slider\'></span></label></a><div class="option4"></div>'); $('.option4').html('<a style="'+this.settings.optionstyler+'" href="http://'+linkToUse3+'" target="blank">'+this.settings.feature4+'</a> <a><label style="'+this.settings.buttonpadder+'" class=\'switch\'><input type=\'checkbox\' onchange="window.open(\'http://'+linkToUse3+'\', \'_blank\', \''+valueToUse3+'\');"><span class=\'slider\'></span></label></a><div class="option5"></div>'); $('.option5').html('<a style="'+this.settings.optionstyler+'" href="http://'+linkToUse4+'" target="blank">'+this.settings.feature5+'</a> <a><label style="'+this.settings.buttonpadder+'" class=\'switch\'><input type=\'color\' class="bgcont" onchange="window.open(\'http://'+linkToUse4+'\', \'_blank\', \''+valueToUse+'\');"><span style=\''+this.settings.box+'\'></span></label></a><div class="option6"></div>'); $('.option5').on('change', '.bgcont', function() { changebackground(); }); $('.option6').html('<a style="'+this.settings.optionstyler+'" href="http://'+linkToUse5+'" target="blank">'+this.settings.feature6+'</a> <a><label style="'+this.settings.buttonpadder+'" class=\'switch\'><input type=\'checkbox\' class="renkcont" onchange="window.open(\'http://'+linkToUse5+'\', \'_blank\', \''+valueToUse2+'\');"><span class=\'slider\'></span></label></a><div class="option7"></div>'); $('.option6').on('change', '.renkcont', function() { colorfulmod(); }); $('.option7').html('<a style="'+this.settings.optionstyler+'" href="http://'+linkToUse6+'" target="blank">'+this.settings.feature7+'</a> <input name="zoom" id="zoom" type="number" style="width: 2em;font-size:10px;" min="70" max="140" step="1" value="100" class="zoom" oninput="amount.value=zoom.value;" onchange="window.open(\'http://'+linkToUse6+'\', \'_blank\', \''+valueToUse3+'\');"> <output style="'+this.settings.optionstyler+'" id="amount" name="amount" for="zoom">"100"</output> <a style="'+this.settings.optionstyler3+'" href="http://'+linkToUse4+'" target="blank">(Min: 70-Max: 140)</a>'); $('.option7').on('input', '.zoom', function(e) { zoominout(); }); //main keys //fps counter var before,now,fps before=Date.now(); fps=0; requestAnimationFrame( function loop(){ now=Date.now(); fps=Math.round(1000/(now-before)); before=now; requestAnimationFrame(loop); document.getElementById('fps').innerHTML = 'FPS: ' + fps; document.getElementById('fps2').innerHTML = 'FPS: ' + fps; document.getElementById('fps3').innerHTML = 'FPS: ' + fps; } ); if(window.location.href.indexOf("io-games.io") > -1 || window.location.href.indexOf("iogames.space") > -1 || window.location.href.indexOf("titotu.io") > -1) { location.replace("http://iogameslist.org"); } function hideandseek() { var x = document.getElementById("fps"); var x2 = document.getElementById("fps2"); var x3 = document.getElementById("fps3"); if (x.style.display === "none") { x.style.display = "block"; x2.style.display = "block"; x3.style.display = "block"; } else { x.style.display = "none"; x2.style.display = "none"; x3.style.display = "none"; } } function hideandseekmenu() { var y = document.getElementById("krunkbotInfoBox"); if (y.style.display === "none") { y.style.display = "block"; } else { y.style.display = "none"; } } //change of keys function keyschange() { keys.one = $('.key1').val(); keys.two = $('.key2').val(); keys.three = $('.key3').val(); keys.four = $('.key4').val(); keys.five = $('.key5').val(); keys.six = $('.key6').val(); keys.seven = $('.key7').val(); keys.eight = $('.key8').val(); keys.nine = $('.key9').val(); keys.ten = $('.key10').val(); } function speedchange() { if($('.sp1').val()<0) { speeder.on = "1.250"; } else if($('.sp1').val()>3.5) { speeder.on = "1.250"; } else { speeder.on = $('.sp1').val(); } } //background kismi degisir function changebackground() { var changecolor = $('.bgcont').val(); var rgbaC2 = 'rgba(' + parseInt(changecolor.slice(-6, -4), 16) + ',' + parseInt(changecolor.slice(-4, -2), 16) + ',' + parseInt(changecolor.slice(-2), 16) + ',0.25)'; $('#overlay').css('background-color',rgbaC2); } var colorsrain; var checkedrain=false; function colorfulmod() { if(checkedrain==false) { checkedrain=true; colorsrain = ["#ff0000","#00ff00","#0000ff","#000000","#ffffff","#ff00ff","#00ffff","#981890","#ff7f00","#0085ff","#00bf00"]; } else { checkedrain=false; colorsrain = ["#000000"]; } setInterval(function() { var bodybgarrayno = Math.floor(Math.random() * colorsrain.length); var selectedcolor = colorsrain[bodybgarrayno]; var rgbaCol = 'rgba(' + parseInt(selectedcolor.slice(-6, -4), 16) + ',' + parseInt(selectedcolor.slice(-4, -2), 16) + ',' + parseInt(selectedcolor.slice(-2), 16) + ',0.25)'; $("#overlay").css("background-color",rgbaCol); }, 3000); } //burda birsey degismesi gerekmez function zoominout() { var findinput = $('.zoom').val(); if(findinput >= 70 && findinput <= 140) { $('body').css('zoom',''+findinput+'%'); } else { $('body').css('zoom','100%'); } } clearInterval(yourclose); },1000); const cStruct = (...keys) => ((...v) => keys.reduce((o, k, i) => {o[k] = v[i];return o}, {})) class Utilities { constructor() { this.inputs; this.exports; this.control; this.functions; this.wpnClasses; this.self; this.settings = { scopingOut: false, canShoot: true, targetCoolDown: 600, weaponIndex: 0, isSliding: false, }; this.spinTimer = 1800; this.features = []; this.onLoad(); } onLoad() { this.newFeature('AutoAim', "1", ['Off', 'Aim Assist', 'Aim Bot', 'Trigger Bot']); this.newFeature('AutoBhop', "2", ['Off', 'Auto Jump', 'Auto SlideJump']); this.newFeature('AutoReload', "3", []); this.newFeature('NoRecoil', "4", []); this.newFeature('AimDelta', "5", ['Off', 'Slow', 'Medium', 'Fast', 'MethHead']); this.newFeature('BurstShot', "6", []); this.newFeature('ForceScope', "7", []); this.newFeature('NoDeathDelay', "8", []); this.newFeature('SuperGun', '9', []); this.newFeature('SpinBot', '0', []); window.addEventListener("keydown", event => this.onKeyDown(event)); const interval = setInterval(() => { if (document.querySelector('#leaderDisplay') !== null) { clearInterval(interval); this.createInfoBox(); } }, 100); } onTick() { for (var i = 0, sz = this.features.length; i < sz; i++) { const feature = this.features[i]; switch (feature.name) { case 'AutoAim': if (feature.value) this.AutoAim(feature.value); break; case 'AutoReload': if (feature.value) this.wpnReload(); break; case 'NoRecoil': if (feature.value) this.self.recoilTweenY = this.self.recoilForce = 0; break; case 'AimDelta': this.world.config.deltaMlt = this.control.mouseDownR === 0 || feature.value === 0 ? 1 : feature.value === 1 ? .5 : feature.value === 2 ? .75 : feature.value === 3 ? 1.5 : feature.value === 4 ? 2 : 1; break; case 'SuperGun': if (feature.value) { this.settings.weaponIndex += this.control.mouseDownL == 1; if (this.settings.weaponIndex > this.world.weapons.length - 3) this.settings.weaponIndex = 0; this.self.weapon = this.world.weapons[this.settings.weaponIndex]; } break; case 'BurstShot': if (feature.value) this.self.weapon.shots = this.self.weapon.ammo; break; case 'AutoBhop': if (feature.value) this.AutoBhop(feature.value); break; case 'NoDeathDelay': if (feature.value && this.self && this.self.health === 0) { this.server.deathDelay = 0; this.world.players.forcePos(); //this.world.players.resetAim(); //this.world.updateUI(); } break; } } this.server.viewDist = 5000; // 2000 default this.world.config.impulseMlt = 3; //1 default / max 3 for (i = 0, sz = this.wpnClasses.length; i < sz; i++) { this.wpnClasses[i].speed = 1.05; // 1.05 max } } onUpdated(feature) { if (feature.container.length) { feature.value += 1; if (feature.value > feature.container.length - 1) { feature.value = 0; } feature.valueStr = feature.container[feature.value]; } else { feature.value ^= 1; feature.valueStr = feature.value ? "true" : "false"; } switch (feature.name) { case 'ForceScope': feature.value || this.self.weapon.name === "Sniper Rifle" || this.self.weapon.name === "Semi Auto" ? this.self.weapon.scope = 1 : delete this.self.weapon.scope; break; } window.saveVal(`utilities_${feature.name}`, feature.value); this.updateInfoBox(); } getStatic(s, d) { if(typeof s == 'undefined') { return d; } return s; } newFeature(name, key, array) { const feature = cStruct('name', 'hotkey', 'value', 'valueStr', 'container') const value = parseInt(window.getSavedVal(`utilities_${name}`) || 0); this.features.push(feature(name, key, value, array.length ? array[value] : value ? "true" : "false", array)); } getFeature(name) { for (const feature of this.features) { if (feature.name.toLowerCase() === name.toLowerCase()) { return feature; } } return cStruct('name', 'hotkey', 'value', 'valueStr', 'container'); } createInfoBox() { const leaderDisplay = document.querySelector('#leaderDisplay'); if (leaderDisplay) { var infoBox = document.createElement('div'); if (infoBox) infoBox.innerHTML = '<div> <style> #InfoBox { text-align: left; width: 310px; z-index: 3; padding: 10px; padding-left: 20px; padding-right: 20px; color: rgba(255, 255, 255, 0.7); line-height: 25px; margin-top: 0px; background-color: rgba(0, 0, 0, 0.3); } #InfoBox .utilitiesTitle { font-size: 16px; font-weight: bold; text-align: center; color: #1A72B8; margin-top: 5px; margin-bottom: 5px; } #InfoBox .leaderItem { font-size: 14px; } </style> <div id="InfoBox"></div> </div>'.trim(); leaderDisplay.parentNode.insertBefore(infoBox.firstChild, leaderDisplay.nextSibling); this.updateInfoBox(); } } upperCase(str) { return str.toUpperCase(); } toProperCase(str) { str = str.replace(/([a-z\xE0-\xFF])([A-Z\xC0\xDF])/g, '$1 $2'); str = str.replace(/\s[a-z]/g, this.upperCase) return str; } updateInfoBox() { const infoBox = document.querySelector('#InfoBox'); if (infoBox) { const lines = this.features.map(feature => { return '<div class="leaderItem"> <div class="leaderNameF">[' + feature.hotkey.toUpperCase() + '] ' + this.toProperCase(feature.name) + '</div> <div class="leaderScore">' + feature.valueStr + '</div> </div>'; }); infoBox.innerHTML = '<div class="utilitiesTitle">Krunkerio.org<hr>Krunkerio.net</div>' + lines.join('').trim(); } } onKeyDown(event) { if (document.activeElement.tagName === "INPUT") return; const key = event.key.toUpperCase(); switch (key) { case 'M': { const infoBox = document.querySelector('#InfoBox'); if (infoBox) infoBox.style.display = !infoBox.style.display || infoBox.style.display === "inline-block" ? "none" : "inline-block"; } break; case 'DELETE': this.resetSettings(); break; default: for (const feature of this.features) { if (feature.hotkey.toUpperCase() === key) { this.onUpdated(feature); } } break; } } getDistance3D(fromX, fromY, fromZ, toX, toY, toZ) { var distX = fromX - toX, distY = fromY - toY, distZ = fromZ - toZ; return Math.sqrt(distX * distX + distY * distY + distZ * distZ) } getDistance(player1, player2) { return this.getDistance3D(player1.x, player1.y, player1.z, player2.x, player2.y, player2.z); } getDirection(fromZ, fromX, toZ, toX) { return Math.atan2(fromX - toX, fromZ - toZ) } getXDir(fromX, fromY, fromZ, toX, toY, toZ) { var dirY = Math.abs(fromY - toY), dist = this.getDistance3D(fromX, fromY, fromZ, toX, toY, toZ); return Math.asin(dirY / dist) * (fromY > toY ? -1 : 1) } getAngleDist(start, end) { return Math.atan2(Math.sin(end - start), Math.cos(start - end)); } camLookAt(X, Y, Z) { var xdir = this.getXDir(this.control.object.position.x, this.control.object.position.y, this.control.object.position.z, X, Y, Z), ydir = this.getDirection(this.control.object.position.z, this.control.object.position.x, Z, X), camChaseDst = this.server.camChaseDst; this.control.target = { xD: xdir, yD: ydir, x: X + this.server.camChaseDst * Math.sin(ydir) * Math.cos(xdir), y: Y - this.server.camChaseDst * Math.sin(xdir), z: Z + this.server.camChaseDst * Math.cos(ydir) * Math.cos(xdir) } } AutoAim(value) { if (this.self.didShoot) { setTimeout(() => { this.self.aimVal = 1; this.world.players.resetAim(); this.settings.forceScope || this.self.weapon.name === "Sniper Rifle" || this.self.weapon.name === "Semi Auto" ? this.self.weapon.scope = 1 : delete this.self.weapon.scope; this.settings.canShoot = true; }, this.self.weapon.rate ); } const target = this.getTarget(); if (target) { switch (value) { case 1: /*Aim Assist*/ if (this.control.mouseDownR === 1) { this.lookAtHead(target); } break; case 2: /*Aim Bot*/ this.lookAtHead(target); if (this.control.mouseDownR === 0) { this.control.mouseDownR = 1; } break; case 3: /*Trigger Bot*/ if (this.control.mouseDownL === 1) { this.control.mouseDownL = 0; this.control.mouseDownR = 0; this.settings.scopingOut = true; } if (this.self.aimVal !== 1 || !this.settings.canShoot || this.self.recoilForce > 0.01 || this.control.mouseDownR === 1) { if (this.control.mouseDownL === 1) { this.control.mouseDownL = this.control.mouseDownR = 0; } this.control.target = null; } this.lookAtHead(target); if (this.control.mouseDownR === 0) { this.control.mouseDownR = 2; } else if (this.self.aimVal === 0 && this.settings.canShoot) { this.control.mouseDownL ^= 1; } break; } } else { this.wpnReload(this.getFeature('AutoReload').value && this.self.ammos[this.self.weaponIndex] < ((this.self.weapon.ammo / 2) + 1)); this.control.target = null; if (this.control.mouseDownR === 2) { setTimeout(() => { this.control.mouseDownR = 0; this.settings.canShoot = true; this.self.aimVal = 1; }, this.settings.targetCoolDown); } } } AutoBhop(value) { if (value) { this.control.keys[this.control.jumpKey] = this.self.onGround; if (value === 2) { if (this.settings.isSliding) { this.inputs[8] = 1; return; } if (this.self.yVel < -0.04 && this.self.canSlide) { this.settings.isSliding = true; setTimeout(() => { this.settings.isSliding = false; }, this.self.slideTimer); this.inputs[8] = 1; } } } } wpnReload(force = false) { const ammoLeft = this.self.ammos[this.self.weaponIndex]; if (force || ammoLeft === 0) this.world.players.reload(this.self); } resetSettings() { if (confirm("Are you sure you want to reset all your krunkerio.org settings? This will also refresh the page")) { Object.keys(window.localStorage).filter(x=>x.includes("utilities_")).forEach(x => window.localStorage.removeItem(x)); location.reload(); } } getTarget() { const enemies = this.world.players.list .filter(player => {return player.active && (player.inView || this.self.dmgReceived[player.id]) && !player.isYou && (!player.team || player.team !== this.self.team);}) .sort((p1, p2) => this.getDistance(this.self, p1) - this.getDistance(this.self, p2)); return enemies.length ? enemies[0] : null; } lookAtHead(target) { if (this.getFeature("SpinBot").value) this.spinTick(); this.camLookAt(target.x2, target.y2 + target.height - 1.5 - 2.5 * target.crouchVal - this.self.recoilAnimY * 0.3 * this.getDistance(this.self, target) * 0.6, target.z2); } spinTick() { //this.world.players.getSpin(this.self); //this.world.players.saveSpin(this.self, angle); const last = this.inputs[2]; const angle = this.getAngleDist(this.inputs[2], this.self.xDire); this.spins = this.getStatic(this.spins, new Array()); this.spinTimer= this.getStatic(this.spinTimer, this.server.spinTimer); this.serverTickRate = this.getStatic(this.serverTickRate, this.server.serverTickRate); (this.spins.unshift(angle), this.spins.length > this.spinTimer / this.serverTickRate && (this.spins.length = Math.round(this.spinTimer / this.serverTickRate))) for (var e = 0, i = 0; i < this.spins.length; ++i) e += this.spins[i]; const count = Math.abs(e * (180 / Math.PI)); if (count < 360) { this.inputs[2] = this.self.xDire + Math.PI; } else console.log('count', count); } inputsTick(self, inputs, world) { //Hooked if (this.control && this.exports && self && inputs && world) { this.inputs = inputs; this.world = world; this.self = self; this.server = this.exports.c[7].exports; this.functions = this.exports.c[8].exports; this.wpnClasses = this.exports.c[69].exports; this.onTick(); } } controlTick(control) { //Hooked if (control) { this.control = control; const half = Math.PI / 2; if (control.target) { control.object.rotation.y = control.target.yD; control.pitchObject.rotation.x = control.target.xD; control.pitchObject.rotation.x = Math.max(-half, Math.min(half, control.pitchObject.rotation.x)); control.yDr = control.pitchObject.rotation.x % Math.PI; control.xDr = control.object.rotation.y % Math.PI; } } } } function read(url) { return new Promise(resolve => { fetch(url).then(res => res.text()).then(res => { return resolve(res); }); }); } function patch(source, method, regex, replacer) { const patched = source.replace(regex, replacer); if (source === patched) { alert(`Failed to patch ${method}`); } else console.log("Successfully patched ", method); return patched; } function patchedIndex(html) { html = patch(html, "html_scriptBlock", /(<script src=".*?game.*?")(><\/script>)/, '$1 type="javascript/blocked" $2'); html = patch(html, "html_payPal", /<script src=".*?paypal.*?"><\/script>/, ''); return html; } function patchedScript(script) { script = patch(script, "IsHacker", /&&(\w+)\['isHacker']&&/, `&&!1&&`); script = patch(script, "LastHack", /&&(\w+)\['lastHack']&&/, `&&!1&&`); script = patch(script, 'WallHack', /if\(!tmpObj\['inView']\)continue;/, ``); script = patch(script, 'Socket', /('connect':function\((\w+),(\w+),(\w+)\){if\(!this\['(\w+)']\){)/, `$1 window.utilities.socket=this;`); script = patch(script, "Exports", /(\['__CANCEL__']=!(\w+),(\w+)\['exports']=(\w+);},function\((\w+),(\w+),(\w+)\){)(let)/, `$1window.utilities = new Utilities();window.utilities.exports=$7;$8`); script = patch(script, 'ControlTick', /{if\(this\['target']\){(.+?)}},this\['(\w+)']=/, `{window.utilities.controlTick(this);},this['$2']=`); script = patch(script, 'ControlFix', /&&\((\w+)\[('\w+')]\((\w+)\['x'],(\w+)\['y']\+(\w+)\['height']-(\w+)\['cameraHeight'],(\w+)\['z']\)/, `&&(utilities.camLookAt($3.x,$3.y+$3.height-$6.cameraHeight,$3.z)`); script = patch(script, "HasServer", /(this\['hasServer']=)(\w+)\?(\w+):(\w+)/, `$1 $2 = utilities.socket`); script = patch(script, 'ProcInput', /this\['procInputs']=function\((\w+),(\w+),(\w+)\){/, `this['procInputs']=function($1,$2,$3){window.utilities.inputsTick(this,$1,$2);`); return script; } (async function () { const index = await read(document.location.href); const build = index.match(/(?<=build=)[^"]+/)[0]; const patch = index.match(/"SOUND.play\(.+\)">v(.+)</)[1]; const script = await read(`/js/game.${build}.js`); console.log('Loading Krunker Hero ...'); window.stop(); document.open(); document.write(patchedIndex(index)); document.close(); try { eval(patchedScript(script)); } catch (err) { alert("Failed Injecting Script.'OK' to ReLoad."); location.reload(); } console.log('Successfully loaded Krunker Hero!'); })();
DorazeExplorer
// ==UserScript== // @name Launcher // @namespace AposLauncher // @include http://agar.io/ // @version 2.1 // @grant none // @author http://www.twitch.tv/apostolique // ==/UserScript== Number.prototype.mod = function(n) { return ((this%n)+n)%n; }; Array.prototype.peek = function() { return this[this.length-1]; } console.log("Running Bot Launcher!"); (function (h, f) { //UPDATE function keyAction(e) { if (84 == e.keyCode) { console.log("Toggle"); toggle = !toggle; } if (82 == e.keyCode) { console.log("ToggleDraw"); toggleDraw = !toggleDraw; } if (68 == e.keyCode) { window.setDarkTheme(!getDarkBool()); } if (70 == e.keyCode) { window.setShowMass(!getMassBool()); } } function humanPlayer() { //Don't need to do anything. return [getPointX(), getPointY()]; } function Sa() { //UPDATE if (window.botList == null) { window.botList = []; window.jQuery('#locationUnknown').append(window.jQuery('<select id="bList" class="form-control" onchange="setBotIndex($(this).val());" />')); window.jQuery('#locationUnknown').addClass('form-group'); } window.botList.push(["Human", humanPlayer]); var bList = window.jQuery('#bList'); window.jQuery('<option />', {value: (window.botList.length - 1), text: "Human"}).appendTo(bList); la = !0; za(); setInterval(za, 180000); B = ma = document.getElementById('canvas'); e = B.getContext('2d'); B.onmousedown = function (a) { if (Aa) { var b = a.clientX - (5 + p / 5 / 2), c = a.clientY - (5 + p / 5 / 2); if (Math.sqrt(b * b + c * c) <= p / 5 / 2) { K(); C(17); return } } T = a.clientX; U = a.clientY; na(); K() }; B.onmousemove = function (a) { T = a.clientX; U = a.clientY; na() }; B.onmouseup = function () { }; /firefox/i.test(navigator.userAgent) ? document.addEventListener('DOMMouseScroll', Ba, !1) : document.body.onmousewheel = Ba; var a = !1, b = !1, c = !1; h.onkeydown = function (d) { 32 != d.keyCode || a || (K(), C(17), a = !0); 81 != d.keyCode || b || (C(18), b = !0); 87 != d.keyCode || c || (K(), C(21), c = !0); 27 == d.keyCode && Ca(!0); //UPDATE keyAction(d); }; h.onkeyup = function (d) { 32 == d.keyCode && (a = !1); 87 == d.keyCode && (c = !1); 81 == d.keyCode && b && (C(19), b = !1) }; h.onblur = function () { C(19); c = b = a = !1 }; h.onresize = Da; Da(); h.requestAnimationFrame ? h.requestAnimationFrame(Ea) : setInterval(oa, 1000 / 60); setInterval(K, 40); v && f('#region').val(v); Fa(); V(f('#region').val()); null == r && v && W(); f('#overlays').show() } function Ba(a) { D *= Math.pow(0.9, a.wheelDelta / - 120 || a.detail || 0); 1 > D && (D = 1); D > 4 / g && (D = 4 / g) } function Ta() { if (0.4 > g) L = null; else { for (var a = Number.POSITIVE_INFINITY, b = Number.POSITIVE_INFINITY, c = Number.NEGATIVE_INFINITY, d = Number.NEGATIVE_INFINITY, e = 0, l = 0; l < u.length; l++) { var k = u[l]; !k.I() || k.M || 20 >= k.size * g || (e = Math.max(k.size, e), a = Math.min(k.x, a), b = Math.min(k.y, b), c = Math.max(k.x, c), d = Math.max(k.y, d)) } L = Ua.ca({ X: a - (e + 100), Y: b - (e + 100), fa: c + (e + 100), ga: d + (e + 100), da: 2, ea: 4 }); for (l = 0; l < u.length; l++) if (k = u[l], k.I() && !(20 >= k.size * g)) for (a = 0; a < k.a.length; ++a) b = k.a[a].x, c = k.a[a].y, b < s - p / 2 / g || c < t - q / 2 / g || b > s + p / 2 / g || c > t + q / 2 / g || L.i(k.a[a]) } } function na() { //UPDATE if (toggle ||window.botList[botIndex][0] == "Human") { X = (T - p / 2) / g + s; Y = (U - q / 2) / g + t } } function za() { null == Z && (Z = { }, f('#region').children().each(function () { var a = f(this), b = a.val(); b && (Z[b] = a.text()) })); f.get($ + '//m.agar.io/info', function (a) { var b = { }, c; for (c in a.regions) { var d = c.split(':') [0]; b[d] = b[d] || 0; b[d] += a.regions[c].numPlayers } for (c in b) f('#region option[value="' + c + '"]').text(Z[c] + ' (' + b[c] + ' players)') }, 'json') } function Ga() { f('#adsBottom').hide(); f('#overlays').hide(); Fa() } function V(a) { a && a != v && (f('#region').val() != a && f('#region').val(a), v = h.localStorage.location = a, f('.region-message').hide(), f('.region-message.' + a).show(), f('.btn-needs-server').prop('disabled', !1), la && W()) } function Ca(a) { E = null; f('#overlays').fadeIn(a ? 200 : 3000); a || f('#adsBottom').fadeIn(3000) } function Fa() { f('#region').val() ? h.localStorage.location = f('#region').val() : h.localStorage.location && f('#region').val(h.localStorage.location); f('#region').val() ? f('#locationKnown').append(f('#region')) : f('#locationUnknown').append(f('#region')) } function pa() { console.log('Find ' + v + M); f.ajax($ + '//m.agar.io/', { error: function () { setTimeout(pa, 1000) }, success: function (a) { a = a.split('\n'); '45.79.222.79:443' == a[0] ? pa() : Ha('ws://' + a[0]) }, dataType: 'text', method: 'POST', cache: !1, crossDomain: !0, data: v + M || '?' }) } function W() { la && v && (f('#connecting').show(), pa()) } function Ha(a) { if (r) { r.onopen = null; r.onmessage = null; r.onclose = null; try { r.close() } catch (b) { } r = null } var c = h.location.search.slice(1); /^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+:[0-9]+$/.test(c) && (a = 'ws://' + c); Va && (a = a.split(':'), a = a[0] + 's://ip-' + a[1].replace(/\./g, '-').replace(/\//g, '') + '.tech.agar.io:' + ( + a[2] + 2000)); F = [ ]; m = [ ]; z = { }; u = [ ]; H = [ ]; A = [ ]; w = x = null; I = 0; console.log('Connecting to ' + a); //UPDATE serverIP = a; r = new WebSocket(a); r.binaryType = 'arraybuffer'; r.onopen = Wa; r.onmessage = Xa; r.onclose = Ya; r.onerror = function () { console.log('socket error') } } function N(a) { return new DataView(new ArrayBuffer(a)) } function O(a) { r.send(a.buffer) } function Wa() { var a; aa = 500; f('#connecting').hide(); console.log('socket open'); a = N(5); a.setUint8(0, 254); a.setUint32(1, 4, !0); O(a); a = N(5); a.setUint8(0, 255); a.setUint32(1, 673720361, !0); O(a); Ia() } function Ya() { console.log('socket close'); setTimeout(W, aa); aa *= 1.5 } function Xa(a) { Za(new DataView(a.data)) } function Za(a) { function b() { for (var b = ''; ; ) { var d = a.getUint16(c, !0); c += 2; if (0 == d) break; b += String.fromCharCode(d) } return b } var c = 0; 240 == a.getUint8(c) && (c += 5); switch (a.getUint8(c++)) { case 16: $a(a, c); break; case 17: P = a.getFloat32(c, !0); c += 4; Q = a.getFloat32(c, !0); c += 4; R = a.getFloat32(c, !0); c += 4; break; case 20: m = [ ]; F = [ ]; break; case 21: qa = a.getInt16(c, !0); c += 2; ra = a.getInt16(c, !0); c += 2; sa || (sa = !0, ba = qa, ca = ra); break; case 32: F.push(a.getUint32(c, !0)); c += 4; break; case 49: if (null != x) break; var d = a.getUint32(c, !0), c = c + 4; A = [ ]; for (var e = 0; e < d; ++e) { var l = a.getUint32(c, !0), c = c + 4; A.push({ id: l, name: b() }) } Ja(); break; case 50: x = [ ]; d = a.getUint32(c, !0); c += 4; for (e = 0; e < d; ++e) x.push(a.getFloat32(c, !0)), c += 4; Ja(); break; case 64: da = a.getFloat64(c, !0), c += 8, ea = a.getFloat64(c, !0), c += 8, fa = a.getFloat64(c, !0), c += 8, ga = a.getFloat64(c, !0), c += 8, P = (fa + da) / 2, Q = (ga + ea) / 2, R = 1, 0 == m.length && (s = P, t = Q, g = R) } } function $a(a, b) { G = + new Date; var c = Math.random(); ta = !1; var d = a.getUint16(b, !0); b += 2; for (var e = 0; e < d; ++e) { var l = z[a.getUint32(b, !0)], k = z[a.getUint32(b + 4, !0)]; b += 8; l && k && (k.S(), k.p = k.x, k.q = k.y, k.o = k.size, k.D = l.x, k.F = l.y, k.n = k.size, k.L = G) } for (e = 0; ; ) { d = a.getUint32(b, !0); b += 4; if (0 == d) break; ++e; var h, l = a.getInt16(b, !0); b += 2; k = a.getInt16(b, !0); b += 2; h = a.getInt16(b, !0); b += 2; for (var g = a.getUint8(b++), f = a.getUint8(b++), p = a.getUint8(b++), g = (g << 16 | f << 8 | p).toString(16); 6 > g.length; ) g = '0' + g; var g = '#' + g, f = a.getUint8(b++), p = !!(f & 1), r = !!(f & 16); f & 2 && (b += 4); f & 4 && (b += 8); f & 8 && (b += 16); for (var q, n = ''; ; ) { q = a.getUint16(b, !0); b += 2; if (0 == q) break; n += String.fromCharCode(q) } q = n; n = null; z.hasOwnProperty(d) ? (n = z[d], n.K(), n.p = n.x, n.q = n.y, n.o = n.size, n.color = g) : (n = new Ka(d, l, k, h, g, q), n.ka = l, n.la = k); n.d = p; n.j = r; n.D = l; n.F = k; n.n = h; n.ja = c; n.L = G; n.W = f; q && n.Z(q); - 1 != F.indexOf(d) && - 1 == m.indexOf(n) && (document.getElementById('overlays').style.display = 'none', m.push(n), 1 == m.length && (s = n.x, t = n.y)) //UPDATE interNodes[d] = window.getCells()[d]; } //UPDATE Object.keys(interNodes).forEach(function (element, index) { //console.log("start: " + interNodes[element].updateTime + " current: " + D + " life: " + (D - interNodes[element].updateTime)); var isRemoved = !window.getCells().hasOwnProperty(element); if (isRemoved && (getLastUpdate() - interNodes[element].L) > 3000) { delete interNodes[element]; } else if (isRemoved && computeDistance(getOffsetX(), getOffsetY(), interNodes[element].x, interNodes[element].y) < screenDistance()) { //console.log("Too close! Remove " + computeDistance(getOffsetX(), getOffsetY(), interNodes[element].x, interNodes[element].y) + " || " + screenDistance()); delete interNodes[element]; } }); c = a.getUint32(b, !0); b += 4; for (e = 0; e < c; e++) d = a.getUint32(b, !0), b += 4, n = z[d], null != n && n.S(); //ta && 0 == m.length && Ca(!1) } //UPDATE function computeDistance(x1, y1, x2, y2) { var xdis = x1 - x2; // <--- FAKE AmS OF COURSE! var ydis = y1 - y2; var distance = Math.sqrt(xdis * xdis + ydis * ydis); return distance; } function screenDistance() { return Math.min(computeDistance (getOffsetX(), getOffsetY(), screenToGameX(getWidth()), getOffsetY()), computeDistance (getOffsetX(), getOffsetY(), getOffsetX(), screenToGameY(getHeight()))); } function screenToGameX(x) { return (x - getWidth() / 2) / getRatio() + getX(); } function screenToGameY(y) { return (y - getHeight() / 2) / getRatio() + getY();; } window.drawPoint = function(x_1, y_1, drawColor, text) { if (!toggleDraw) { dPoints.push([x_1, y_1, drawColor]); dText.push(text); } } window.drawArc = function(x_1, y_1, x_2, y_2, x_3, y_3, drawColor) { if (!toggleDraw) { var radius = computeDistance(x_1, y_1, x_3, y_3); dArc.push([x_1, y_1, x_2, y_2, x_3, y_3, radius, drawColor]); } } window.drawLine = function(x_1, y_1, x_2, y_2, drawColor) { if (!toggleDraw) { lines.push([x_1, y_1, x_2, y_2, drawColor]); } } window.drawCircle = function(x_1, y_1, radius, drawColor) { if (!toggleDraw) { circles.push([x_1, y_1, radius, drawColor]); } } function K() { //UPDATE if (getPlayer().length == 0) { setNick(originalName); } var a; if (ua()) { a = T - p / 2; var b = U - q / 2; 64 > a * a + b * b || 0.01 > Math.abs(La - X) && 0.01 > Math.abs(Ma - Y) || (La = X, Ma = Y, a = N(21), a.setUint8(0, 16), a.setFloat64(1, X, !0), a.setFloat64(9, Y, !0), a.setUint32(17, 0, !0), O(a)) } } function Ia() { if (ua() && null != E) { var a = N(1 + 2 * E.length); a.setUint8(0, 0); for (var b = 0; b < E.length; ++b) a.setUint16(1 + 2 * b, E.charCodeAt(b), !0); O(a) } } function ua() { return null != r && r.readyState == r.OPEN } function C(a) { if (ua()) { var b = N(1); b.setUint8(0, a); O(b) } } function Ea() { oa(); h.requestAnimationFrame(Ea) } function Da() { p = h.innerWidth; q = h.innerHeight; ma.width = B.width = p; ma.height = B.height = q; oa() } function Na() { var a; a = 1 * Math.max(q / 1080, p / 1920); return a *= D } function ab() { if (0 != m.length) { for (var a = 0, b = 0; b < m.length; b++) a += m[b].size; a = Math.pow(Math.min(64 / a, 1), 0.4) * Na(); g = (9 * g + a) / 10 } } function oa() { //UPDATE dPoints = []; circles = []; dArc = []; dText = []; lines = []; var a, b = Date.now(); ++bb; G = b; if (0 < m.length) { ab(); for (var c = a = 0, d = 0; d < m.length; d++) m[d].K(), a += m[d].x / m.length, c += m[d].y / m.length; P = a; Q = c; R = g; s = (s + a) / 2; t = (t + c) / 2 } else s = (29 * s + P) / 30, t = (29 * t + Q) / 30, g = (9 * g + R * Na()) / 10; Ta(); na(); va || e.clearRect(0, 0, p, q); va ? (e.fillStyle = ha ? '#111111' : '#F2FBFF', e.globalAlpha = 0.05, e.fillRect(0, 0, p, q), e.globalAlpha = 1) : cb(); u.sort(function (a, b) { return a.size == b.size ? a.id - b.id : a.size - b.size }); e.save(); e.translate(p / 2, q / 2); e.scale(g, g); e.translate( - s, - t); for (d = 0; d < H.length; d++) H[d].T(); for (d = 0; d < u.length; d++) u[d].T(); //UPDATE if (getPlayer().length > 0) { var moveLoc = window.botList[botIndex][1](); if (!toggle) { setPoint(moveLoc[0], moveLoc[1]); } } customRender(e); if (sa) { ba = (3 * ba + qa) / 4; ca = (3 * ca + ra) / 4; e.save(); e.strokeStyle = '#FFAAAA'; e.lineWidth = 10; e.lineCap = 'round'; e.lineJoin = 'round'; e.globalAlpha = 0.5; e.beginPath(); for (d = 0; d < m.length; d++) e.moveTo(m[d].x, m[d].y), e.lineTo(ba, ca); e.stroke(); e.restore() } e.restore(); w && w.width && e.drawImage(w, p - w.width - 10, 10); I = Math.max(I, db()); //UPDATE sessionScore = Math.max(I, sessionScore); 0 != I && (null == ia && (ia = new ja(24, '#FFFFFF', true,'#000000')), ia.u('Score: ' + ~~(I / 100) + ' || Best Score: ' + ~~(sessionScore / 100) + " || Best time alive: " + bestTime + " seconds"), c = ia.G(), a = c.width, e.globalAlpha = 0.2, e.fillStyle = '#000000', e.fillRect(10, q - 10 - 24 - 10, a + 10, 34), e.globalAlpha = 1, e.drawImage(c, 15, q - 10 - 24 - 5)); eb(); b = Date.now() - b; b > 1000 / 60 ? y -= 0.01 : b < 1000 / 65 && (y += 0.01); 0.4 > y && (y = 0.4); 1 < y && (y = 1) drawStats(e); } //UPDATE function customRender(d) { d.save(); for(var i = 0; i < lines.length; i++) { d.beginPath(); d.lineWidth = 5; if (lines[i][4] == 0) { d.strokeStyle = "#FF0000"; } else if (lines[i][4] == 1) { d.strokeStyle = "#00FF00"; } else if (lines[i][4] == 2) { d.strokeStyle = "#0000FF"; } else if (lines[i][4] == 3) { d.strokeStyle = "#FF8000"; } else if (lines[i][4] == 4) { d.strokeStyle = "#8A2BE2"; } else if (lines[i][4] == 5) { d.strokeStyle = "#FF69B4"; } else if (lines[i][4] == 6) { d.strokeStyle = "#008080"; } else if (lines[i][4] == 7) { d.strokeStyle = "#FFFFFF"; } else { d.strokeStyle = "#000000"; } d.moveTo(lines[i][0], lines[i][1]); d.lineTo(lines[i][2], lines[i][3]); d.stroke(); } d.restore(); d.save(); for(var i = 0; i < circles.length; i++) { if (circles[i][3] == 0) { d.strokeStyle = "#FF0000"; } else if (circles[i][3] == 1) { d.strokeStyle = "#00FF00"; } else if (circles[i][3] == 2) { d.strokeStyle = "#0000FF"; } else if (circles[i][3] == 3) { d.strokeStyle = "#FF8000"; } else if (circles[i][3] == 4) { d.strokeStyle = "#8A2BE2"; } else if (circles[i][3] == 5) { d.strokeStyle = "#FF69B4"; } else if (circles[i][3] == 6) { d.strokeStyle = "#008080"; } else if (circles[i][3] == 7) { d.strokeStyle = "#FFFFFF"; } else { d.strokeStyle = "#000000"; } d.beginPath(); d.lineWidth = 10; //d.setLineDash([5]); d.globalAlpha = 0.3; d.arc(circles[i][0], circles[i][1], circles[i][2], 0, 2 * Math.PI, false); d.stroke(); } d.restore(); d.save(); for(var i = 0; i < dArc.length; i++) { if (dArc[i][7] == 0) { d.strokeStyle = "#FF0000"; } else if (dArc[i][7] == 1) { d.strokeStyle = "#00FF00"; } else if (dArc[i][7] == 2) { d.strokeStyle = "#0000FF"; } else if (dArc[i][7] == 3) { d.strokeStyle = "#FF8000"; } else if (dArc[i][7] == 4) { d.strokeStyle = "#8A2BE2"; } else if (dArc[i][7] == 5) { d.strokeStyle = "#FF69B4"; } else if (dArc[i][7] == 6) { d.strokeStyle = "#008080"; } else if (dArc[i][7] == 7) { d.strokeStyle = "#FFFFFF"; } else { d.strokeStyle = "#000000"; } d.beginPath(); d.lineWidth = 5; var ang1 = Math.atan2(dArc[i][1] - dArc[i][5], dArc[i][0] - dArc[i][4]); var ang2 = Math.atan2(dArc[i][3] - dArc[i][5], dArc[i][2] - dArc[i][4]); d.arc(dArc[i][4], dArc[i][5], dArc[i][6], ang1, ang2, false); d.stroke(); } d.restore(); d.save(); for (var i = 0; i < dPoints.length; i++) { if (dText[i] == "") { var radius = 10; d.beginPath(); d.arc(dPoints[i][0], dPoints[i][1], radius, 0, 2 * Math.PI, false); if (dPoints[i][2] == 0) { d.fillStyle = "black"; } else if (dPoints[i][2] == 1) { d.fillStyle = "yellow"; } else if (dPoints[i][2] == 2) { d.fillStyle = "blue"; } else if (dPoints[i][2] == 3) { d.fillStyle = "red"; } else if (dPoints[i][2] == 4) { d.fillStyle = "#008080"; } else if (dPoints[i][2] == 5) { d.fillStyle = "#FF69B4"; } else { d.fillStyle = "#000000"; } d.fill(); d.lineWidth = 2; d.strokeStyle = '#003300'; d.stroke(); } else { var text = new ja(18, (getDarkBool() ? '#F2FBFF' : '#111111'), true, '#000000'); text.u(dText[i]); var textRender = text.G(); d.drawImage(textRender, dPoints[i][0], dPoints[i][1]); } } d.restore(); } function drawStats(d) { var currentDate = new Date(); var nbSeconds = 0; if (getPlayer().length > 0) { nbSeconds = (currentDate.getSeconds() + (currentDate.getMinutes() * 60) + (currentDate.getHours() * 60 * 60)) - (lifeTimer.getSeconds() + (lifeTimer.getMinutes() * 60) + (lifeTimer.getHours() * 60 * 60)); } bestTime = Math.max(nbSeconds, bestTime); var debugStrings = []; debugStrings.push("T - Bot: " + (!toggle ? "On" : "Off")); debugStrings.push("R - Lines: " + (!toggleDraw ? "On" : "Off")); debugStrings.push("Server: " + serverIP); debugStrings.push("Survived for: " + nbSeconds + " seconds"); if (getPlayer().length > 0) { debugStrings.push("Location: " + Math.floor(getPlayer()[0].x) + ", " + Math.floor(getPlayer()[0].y)); } var offsetValue = 20; var text = new ja(18, (getDarkBool() ? '#F2FBFF' : '#111111')); for (var i = 0; i < debugStrings.length; i++) { text.u(debugStrings[i]); var textRender = text.G(); d.drawImage(textRender, 20, offsetValue); offsetValue += textRender.height; } } function cb() { e.fillStyle = ha ? '#111111' : '#F2FBFF'; e.fillRect(0, 0, p, q); e.save(); e.strokeStyle = ha ? '#AAAAAA' : '#000000'; e.globalAlpha = 0.2; e.scale(g, g); for (var a = p / g, b = q / g, c = - 0.5 + ( - s + a / 2) % 50; c < a; c += 50) e.beginPath(), e.moveTo(c, 0), e.lineTo(c, b), e.stroke(); for (c = - 0.5 + ( - t + b / 2) % 50; c < b; c += 50) e.beginPath(), e.moveTo(0, c), e.lineTo(a, c), e.stroke(); e.restore() } function eb() { if (Aa && wa.width) { var a = p / 5; e.drawImage(wa, 5, 5, a, a) } } function db() { for (var a = 0, b = 0; b < m.length; b++) a += m[b].n * m[b].n; return a } function Ja() { w = null; if (null != x || 0 != A.length) if (null != x || ka) { w = document.createElement('canvas'); var a = w.getContext('2d'), b = 60, b = null == x ? b + 24 * A.length : b + 180, c = Math.min(200, 0.3 * p) / 200; w.width = 200 * c; w.height = b * c; a.scale(c, c); a.globalAlpha = 0.4; a.fillStyle = '#000000'; a.fillRect(0, 0, 200, b); a.globalAlpha = 1; a.fillStyle = '#FFFFFF'; c = null; c = 'Leaderboard'; a.font = '30px Ubuntu'; a.fillText(c, 100 - a.measureText(c).width / 2, 40); if (null == x) for (a.font = '20px Ubuntu', b = 0; b < A.length; ++b) c = A[b].name || 'An unnamed cell', ka || (c = 'An unnamed cell'), - 1 != F.indexOf(A[b].id) ? (m[0].name && (c = m[0].name), a.fillStyle = '#FFAAAA') : a.fillStyle = '#FFFFFF', c = b + 1 + '. ' + c, a.fillText(c, 100 - a.measureText(c).width / 2, 70 + 24 * b); else for (b = c = 0; b < x.length; ++b) { var d = c + x[b] * Math.PI * 2; a.fillStyle = fb[b + 1]; a.beginPath(); a.moveTo(100, 140); a.arc(100, 140, 80, c, d, !1); a.fill(); c = d } } } function Ka(a, b, c, d, e, l) { u.push(this); z[a] = this; this.id = a; this.p = this.x = b; this.q = this.y = c; this.o = this.size = d; this.color = e; this.a = [ ]; this.l = [ ]; this.R(); this.Z(l) } function ja(a, b, c, d) { a && (this.r = a); b && (this.N = b); this.P = !!c; d && (this.s = d) } var $ = h.location.protocol, Va = 'https:' == $, //UPDATE toggle = false, toggleDraw = false, tempPoint = [0, 0, 1], dPoints = [], circles = [], dArc = [], dText = [], lines = [], originalName = "NotReallyABot", sessionScore = 0, serverIP = "", interNodes = [], lifeTimer = new Date(), bestTime = 0, botIndex = 0, ma, e, B, p, q, L = null, r = null, s = 0, t = 0, F = [ ], m = [ ], z = { }, u = [ ], H = [ ], A = [ ], T = 0, U = 0, X = - 1, Y = - 1, bb = 0, G = 0, E = null, da = 0, ea = 0, fa = 10000, ga = 10000, g = 1, v = null, Oa = !0, ka = !0, xa = !1, ta = !1, I = 0, ha = !1, Pa = !1, P = s = ~~((da + fa) / 2), Q = t = ~~((ea + ga) / 2), R = 1, M = '', x = null, la = !1, sa = !1, qa = 0, ra = 0, ba = 0, ca = 0, Qa = 0, fb = [ '#333333', '#FF3333', '#33FF33', '#3333FF' ], va = !1, D = 1, Aa = 'ontouchstart' in h && /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent), wa = new Image; wa.src = 'img/split.png'; var Ra = document.createElement('canvas'); if ('undefined' == typeof console || 'undefined' == typeof DataView || 'undefined' == typeof WebSocket || null == Ra || null == Ra.getContext || null == h.localStorage) alert('You browser does not support this game, we recommend you to use Firefox to play this'); else { var Z = null; h.setNick = function (a) { //UPDATE originalName = a; if (getPlayer().length == 0) { lifeTimer = new Date(); } Ga(); E = a; Ia(); I = 0 }; h.setRegion = V; h.setSkins = function (a) { Oa = a }; h.setNames = function (a) { ka = a }; h.setDarkTheme = function (a) { ha = a }; h.setColors = function (a) { xa = a }; h.setShowMass = function (a) { Pa = a }; h.spectate = function () { E = null; C(1); Ga() }; h.setGameMode = function (a) { a != M && (M = a, W()) }; h.setAcid = function (a) { va = a }; null != h.localStorage && (null == h.localStorage.AB8 && (h.localStorage.AB8 = 0 + ~~(100 * Math.random())), Qa = + h.localStorage.AB8, h.ABGroup = Qa); f.get($ + '//gc.agar.io', function (a) { var b = a.split(' '); a = b[0]; b = b[1] || ''; - 1 == 'DE IL PL HU BR AT UA'.split(' ').indexOf(a) && ya.push('nazi'); - 1 == ['UA'].indexOf(a) && ya.push('ussr'); S.hasOwnProperty(a) && ('string' == typeof S[a] ? v || V(S[a]) : S[a].hasOwnProperty(b) && (v || V(S[a][b]))) }, 'text'); setTimeout(function () { }, 300000); var S = { AF: 'JP-Tokyo', AX: 'EU-London', AL: 'EU-London', DZ: 'EU-London', AS: 'SG-Singapore', AD: 'EU-London', AO: 'EU-London', AI: 'US-Atlanta', AG: 'US-Atlanta', AR: 'BR-Brazil', AM: 'JP-Tokyo', AW: 'US-Atlanta', AU: 'SG-Singapore', AT: 'EU-London', AZ: 'JP-Tokyo', BS: 'US-Atlanta', BH: 'JP-Tokyo', BD: 'JP-Tokyo', BB: 'US-Atlanta', BY: 'EU-London', BE: 'EU-London', BZ: 'US-Atlanta', BJ: 'EU-London', BM: 'US-Atlanta', BT: 'JP-Tokyo', BO: 'BR-Brazil', BQ: 'US-Atlanta', BA: 'EU-London', BW: 'EU-London', BR: 'BR-Brazil', IO: 'JP-Tokyo', VG: 'US-Atlanta', BN: 'JP-Tokyo', BG: 'EU-London', BF: 'EU-London', BI: 'EU-London', KH: 'JP-Tokyo', CM: 'EU-London', CA: 'US-Atlanta', CV: 'EU-London', KY: 'US-Atlanta', CF: 'EU-London', TD: 'EU-London', CL: 'BR-Brazil', CN: 'CN-China', CX: 'JP-Tokyo', CC: 'JP-Tokyo', CO: 'BR-Brazil', KM: 'EU-London', CD: 'EU-London', CG: 'EU-London', CK: 'SG-Singapore', CR: 'US-Atlanta', CI: 'EU-London', HR: 'EU-London', CU: 'US-Atlanta', CW: 'US-Atlanta', CY: 'JP-Tokyo', CZ: 'EU-London', DK: 'EU-London', DJ: 'EU-London', DM: 'US-Atlanta', DO: 'US-Atlanta', EC: 'BR-Brazil', EG: 'EU-London', SV: 'US-Atlanta', GQ: 'EU-London', ER: 'EU-London', EE: 'EU-London', ET: 'EU-London', FO: 'EU-London', FK: 'BR-Brazil', FJ: 'SG-Singapore', FI: 'EU-London', FR: 'EU-London', GF: 'BR-Brazil', PF: 'SG-Singapore', GA: 'EU-London', GM: 'EU-London', GE: 'JP-Tokyo', DE: 'EU-London', GH: 'EU-London', GI: 'EU-London', GR: 'EU-London', GL: 'US-Atlanta', GD: 'US-Atlanta', GP: 'US-Atlanta', GU: 'SG-Singapore', GT: 'US-Atlanta', GG: 'EU-London', GN: 'EU-London', GW: 'EU-London', GY: 'BR-Brazil', HT: 'US-Atlanta', VA: 'EU-London', HN: 'US-Atlanta', HK: 'JP-Tokyo', HU: 'EU-London', IS: 'EU-London', IN: 'JP-Tokyo', ID: 'JP-Tokyo', IR: 'JP-Tokyo', IQ: 'JP-Tokyo', IE: 'EU-London', IM: 'EU-London', IL: 'JP-Tokyo', IT: 'EU-London', JM: 'US-Atlanta', JP: 'JP-Tokyo', JE: 'EU-London', JO: 'JP-Tokyo', KZ: 'JP-Tokyo', KE: 'EU-London', KI: 'SG-Singapore', KP: 'JP-Tokyo', KR: 'JP-Tokyo', KW: 'JP-Tokyo', KG: 'JP-Tokyo', LA: 'JP-Tokyo', LV: 'EU-London', LB: 'JP-Tokyo', LS: 'EU-London', LR: 'EU-London', LY: 'EU-London', LI: 'EU-London', LT: 'EU-London', LU: 'EU-London', MO: 'JP-Tokyo', MK: 'EU-London', MG: 'EU-London', MW: 'EU-London', MY: 'JP-Tokyo', MV: 'JP-Tokyo', ML: 'EU-London', MT: 'EU-London', MH: 'SG-Singapore', MQ: 'US-Atlanta', MR: 'EU-London', MU: 'EU-London', YT: 'EU-London', MX: 'US-Atlanta', FM: 'SG-Singapore', MD: 'EU-London', MC: 'EU-London', MN: 'JP-Tokyo', ME: 'EU-London', MS: 'US-Atlanta', MA: 'EU-London', MZ: 'EU-London', MM: 'JP-Tokyo', NA: 'EU-London', NR: 'SG-Singapore', NP: 'JP-Tokyo', NL: 'EU-London', NC: 'SG-Singapore', NZ: 'SG-Singapore', NI: 'US-Atlanta', NE: 'EU-London', NG: 'EU-London', NU: 'SG-Singapore', NF: 'SG-Singapore', MP: 'SG-Singapore', NO: 'EU-London', OM: 'JP-Tokyo', PK: 'JP-Tokyo', PW: 'SG-Singapore', PS: 'JP-Tokyo', PA: 'US-Atlanta', PG: 'SG-Singapore', PY: 'BR-Brazil', PE: 'BR-Brazil', PH: 'JP-Tokyo', PN: 'SG-Singapore', PL: 'EU-London', PT: 'EU-London', PR: 'US-Atlanta', QA: 'JP-Tokyo', RE: 'EU-London', RO: 'EU-London', RU: 'RU-Russia', RW: 'EU-London', BL: 'US-Atlanta', SH: 'EU-London', KN: 'US-Atlanta', LC: 'US-Atlanta', MF: 'US-Atlanta', PM: 'US-Atlanta', VC: 'US-Atlanta', WS: 'SG-Singapore', SM: 'EU-London', ST: 'EU-London', SA: 'EU-London', SN: 'EU-London', RS: 'EU-London', SC: 'EU-London', SL: 'EU-London', SG: 'JP-Tokyo', SX: 'US-Atlanta', SK: 'EU-London', SI: 'EU-London', SB: 'SG-Singapore', SO: 'EU-London', ZA: 'EU-London', SS: 'EU-London', ES: 'EU-London', LK: 'JP-Tokyo', SD: 'EU-London', SR: 'BR-Brazil', SJ: 'EU-London', SZ: 'EU-London', SE: 'EU-London', CH: 'EU-London', SY: 'EU-London', TW: 'JP-Tokyo', TJ: 'JP-Tokyo', TZ: 'EU-London', TH: 'JP-Tokyo', TL: 'JP-Tokyo', TG: 'EU-London', TK: 'SG-Singapore', TO: 'SG-Singapore', TT: 'US-Atlanta', TN: 'EU-London', TR: 'TK-Turkey', TM: 'JP-Tokyo', TC: 'US-Atlanta', TV: 'SG-Singapore', UG: 'EU-London', UA: 'EU-London', AE: 'EU-London', GB: 'EU-London', US: { AL: 'US-Atlanta', AK: 'US-Fremont', AZ: 'US-Fremont', AR: 'US-Atlanta', CA: 'US-Fremont', CO: 'US-Fremont', CT: 'US-Atlanta', DE: 'US-Atlanta', FL: 'US-Atlanta', GA: 'US-Atlanta', HI: 'US-Fremont', ID: 'US-Fremont', IL: 'US-Atlanta', IN: 'US-Atlanta', IA: 'US-Atlanta', KS: 'US-Atlanta', KY: 'US-Atlanta', LA: 'US-Atlanta', ME: 'US-Atlanta', MD: 'US-Atlanta', MA: 'US-Atlanta', MI: 'US-Atlanta', MN: 'US-Fremont', MS: 'US-Atlanta', MO: 'US-Atlanta', MT: 'US-Fremont', NE: 'US-Fremont', NV: 'US-Fremont', NH: 'US-Atlanta', NJ: 'US-Atlanta', NM: 'US-Fremont', NY: 'US-Atlanta', NC: 'US-Atlanta', ND: 'US-Fremont', OH: 'US-Atlanta', OK: 'US-Atlanta', OR: 'US-Fremont', PA: 'US-Atlanta', RI: 'US-Atlanta', SC: 'US-Atlanta', SD: 'US-Fremont', TN: 'US-Atlanta', TX: 'US-Atlanta', UT: 'US-Fremont', VT: 'US-Atlanta', VA: 'US-Atlanta', WA: 'US-Fremont', WV: 'US-Atlanta', WI: 'US-Atlanta', WY: 'US-Fremont', DC: 'US-Atlanta', AS: 'US-Atlanta', GU: 'US-Atlanta', MP: 'US-Atlanta', PR: 'US-Atlanta', UM: 'US-Atlanta', VI: 'US-Atlanta' }, UM: 'SG-Singapore', VI: 'US-Atlanta', UY: 'BR-Brazil', UZ: 'JP-Tokyo', VU: 'SG-Singapore', VE: 'BR-Brazil', VN: 'JP-Tokyo', WF: 'SG-Singapore', EH: 'EU-London', YE: 'JP-Tokyo', ZM: 'EU-London', ZW: 'EU-London' }; h.connect = Ha; //UPDATE window.getDarkBool = function() { return ha; } window.getMassBool = function() { return Pa; } window.getMemoryCells = function() { return interNodes; } window.getCellsArray = function() { return u; } window.getCells = function() { return z; } window.getPlayer = function() { return m; } window.getWidth = function() { return p; } window.getHeight = function() { return q; } window.getRatio = function() { return g; } window.getOffsetX = function() { return P; } window.getOffsetY = function() { return Q; } window.getX = function() { return s; } window.getY = function() { return t; } window.getPointX = function() { return X; } window.getPointY = function() { return Y; } window.getMouseX = function() { return T; } window.getMouseY = function() { return U; } window.getScreenDistance = function() { var temp = screenDistance(); return temp; } window.getLastUpdate = function() { return G; } window.setPoint = function(x, y) { X = x; Y = y; } window.createFake = function(a, b, c, d, e, f) { var n = new Ka(a, b, c, d, e, f); return n; } window.setScore = function(a) { sessionScore = a * 100; } window.setBestTime = function(a) { bestTime = a; } window.best = function(a, b) { setScore(a); setBestTime(b); } window.setBotIndex = function(a) { console.log("Changing bot"); botIndex = a; } var aa = 500, La = - 1, Ma = - 1, w = null, y = 1, ia = null, J = { }, ya = 'poland;usa;china;russia;canada;australia;spain;brazil;germany;ukraine;france;sweden;hitler;north korea;south korea;japan;united kingdom;earth;greece;latvia;lithuania;estonia;finland;norway;cia;maldivas;austria;nigeria;reddit;yaranaika;confederate;9gag;indiana;4chan;italy;bulgaria;tumblr;2ch.hk;hong kong;portugal;jamaica;german empire;mexico;sanik;switzerland;croatia;chile;indonesia;bangladesh;thailand;iran;iraq;peru;moon;botswana;bosnia;netherlands;european union;taiwan;pakistan;hungary;satanist;qing dynasty;matriarchy;patriarchy;feminism;ireland;texas;facepunch;prodota;cambodia;steam;piccolo;ea;india;kc;denmark;quebec;ayy lmao;sealand;bait;tsarist russia;origin;vinesauce;stalin;belgium;luxembourg;stussy;prussia;8ch;argentina;scotland;sir;romania;belarus;wojak;doge;nasa;byzantium;imperial japan;french kingdom;somalia;turkey;mars;pokerface;8;irs;receita federal;facebook'.split(';'), gb = [ '8', 'nasa' ], hb = [ 'm\'blob' ]; Ka.prototype = { id: 0, a: null, //points l: null, //pointsAcc name: null, //name k: null, //nameCache J: null, //sizeCache x: 0, y: 0, size: 0, p: 0, //ox q: 0, //oy o: 0, //oSize D: 0, //nx F: 0, //ny n: 0, //nSize W: 0, //drawTime L: 0, //updateTime ja: 0, ba: 0, A: !1, d: !1, j: !1, M: !0, //UPDATE updateCode: 0, danger: false, dangerTimeOut: 0, S: function () { var a; for (a = 0; a < u.length; a++) if (u[a] == this) { u.splice(a, 1); break } delete z[this.id]; a = m.indexOf(this); - 1 != a && (ta = !0, m.splice(a, 1)); a = F.indexOf(this.id); - 1 != a && F.splice(a, 1); this.A = !0; H.push(this) }, h: function () { return Math.max(~~(0.3 * this.size), 24) }, Z: function (a) { if (this.name = a) null == this.k ? this.k = new ja(this.h(), '#FFFFFF', !0, '#000000') : this.k.H(this.h()), this.k.u(this.name) }, R: function () { for (var a = this.C(); this.a.length > a; ) { var b = ~~(Math.random() * this.a.length); this.a.splice(b, 1); this.l.splice(b, 1) } 0 == this.a.length && 0 < a && (this.a.push({ Q: this, e: this.size, x: this.x, y: this.y }), this.l.push(Math.random() - 0.5)); for (; this.a.length < a; ) { var b = ~~(Math.random() * this.a.length), c = this.a[b]; this.a.splice(b, 0, { Q: this, e: c.e, x: c.x, y: c.y }); this.l.splice(b, 0, this.l[b]) } }, C: function () { var a = 10; 20 > this.size && (a = 0); this.d && (a = 30); var b = this.size; this.d || (b *= g); b *= y; this.W & 32 && (b *= 0.25); return ~~Math.max(b, a) }, ha: function () { this.R(); for (var a = this.a, b = this.l, c = a.length, d = 0; d < c; ++d) { var e = b[(d - 1 + c) % c], l = b[(d + 1) % c]; b[d] += (Math.random() - 0.5) * (this.j ? 3 : 1); b[d] *= 0.7; 10 < b[d] && (b[d] = 10); - 10 > b[d] && (b[d] = - 10); b[d] = (e + l + 8 * b[d]) / 10 } for (var k = this, h = this.d ? 0 : (this.id / 1000 + G / 10000) % (2 * Math.PI), d = 0; d < c; ++d) { var f = a[d].e, e = a[(d - 1 + c) % c].e, l = a[(d + 1) % c].e; if (15 < this.size && null != L && 20 < this.size * g) { var m = !1, p = a[d].x, q = a[d].y; L.ia(p - 5, q - 5, 10, 10, function (a) { a.Q != k && 25 > (p - a.x) * (p - a.x) + (q - a.y) * (q - a.y) && (m = !0) }); !m && (a[d].x < da || a[d].y < ea || a[d].x > fa || a[d].y > ga) && (m = !0); m && (0 < b[d] && (b[d] = 0), b[d] -= 1) } f += b[d]; 0 > f && (f = 0); f = this.j ? (19 * f + this.size) / 20 : (12 * f + this.size) / 13; a[d].e = (e + l + 8 * f) / 10; e = 2 * Math.PI / c; l = this.a[d].e; this.d && 0 == d % 2 && (l += 5); a[d].x = this.x + Math.cos(e * d + h) * l; a[d].y = this.y + Math.sin(e * d + h) * l } }, K: function () { var a; a = (G - this.L) / 120; a = 0 > a ? 0 : 1 < a ? 1 : a; var b = 0 > a ? 0 : 1 < a ? 1 : a; this.h(); if (this.A && 1 <= b) { var c = H.indexOf(this); - 1 != c && H.splice(c, 1) } this.x = a * (this.D - this.p) + this.p; this.y = a * (this.F - this.q) + this.q; this.size = b * (this.n - this.o) + this.o; return b }, I: function () { return this.x + this.size + 40 < s - p / 2 / g || this.y + this.size + 40 < t - q / 2 / g || this.x - this.size - 40 > s + p / 2 / g || this.y - this.size - 40 > t + q / 2 / g ? !1 : !0 }, T: function () { if (this.I()) { var a = !this.d && !this.j && 0.4 > g; 5 > this.C() && (a = !0); if (this.M && !a) for (var b = 0; b < this.a.length; b++) this.a[b].e = this.size; this.M = a; e.save(); this.ba = G; b = this.K(); this.A && (e.globalAlpha *= 1 - b); e.lineWidth = 10; e.lineCap = 'round'; e.lineJoin = this.d ? 'miter' : 'round'; xa ? (e.fillStyle = '#FFFFFF', e.strokeStyle = '#AAAAAA') : (e.fillStyle = this.color, e.strokeStyle = this.color); if (a) e.beginPath(), e.arc(this.x, this.y, this.size, 0, 2 * Math.PI, !1); else { this.ha(); e.beginPath(); var c = this.C(); e.moveTo(this.a[0].x, this.a[0].y); for (b = 1; b <= c; ++b) { var d = b % c; e.lineTo(this.a[d].x, this.a[d].y) } } e.closePath(); c = this.name.toLowerCase(); !this.j && Oa && ':teams' != M ? - 1 != ya.indexOf(c) ? (J.hasOwnProperty(c) || (J[c] = new Image, J[c].src = 'skins/' + c + '.png'), b = 0 != J[c].width && J[c].complete ? J[c] : null) : b = null : b = null; b = (d = b) ? - 1 != hb.indexOf(c) : !1; a || e.stroke(); e.fill(); null == d || b || (e.save(), e.clip(), e.drawImage(d, this.x - this.size, this.y - this.size, 2 * this.size, 2 * this.size), e.restore()); (xa || 15 < this.size) && !a && (e.strokeStyle = '#000000', e.globalAlpha *= 0.1, e.stroke()); e.globalAlpha = 1; null != d && b && e.drawImage(d, this.x - 2 * this.size, this.y - 2 * this.size, 4 * this.size, 4 * this.size); b = - 1 != m.indexOf(this); a = ~~this.y; if ((ka || b) && this.name && this.k && (null == d || - 1 == gb.indexOf(c))) { d = this.k; d.u(this.name); d.H(this.h()); c = Math.ceil(10 * g) / 10; d.$(c); var d = d.G(), f = ~~(d.width / c), l = ~~(d.height / c); e.drawImage(d, ~~this.x - ~~(f / 2), a - ~~(l / 2), f, l); a += d.height / 2 / c + 4 } Pa && (b || 0 == m.length && (!this.d || this.j) && 20 < this.size) && (null == this.J && (this.J = new ja(this.h() / 2, '#FFFFFF', !0, '#000000')), b = this.J, b.H(this.h() / 2), b.u(~~(this.size * this.size / 100)), c = Math.ceil(10 * g) / 10, b.$(c), d = b.G(), f = ~~(d.width / c), l = ~~(d.height / c), e.drawImage(d, ~~this.x - ~~(f / 2), a - ~~(l / 2), f, l)); e.restore() } } }; ja.prototype = { w: '', N: '#000000', P: !1, s: '#000000', r: 16, m: null, O: null, g: !1, v: 1, H: function (a) { this.r != a && (this.r = a, this.g = !0) }, $: function (a) { this.v != a && (this.v = a, this.g = !0) }, setStrokeColor: function (a) { this.s != a && (this.s = a, this.g = !0) }, u: function (a) { a != this.w && (this.w = a, this.g = !0) }, G: function () { null == this.m && (this.m = document.createElement('canvas'), this.O = this.m.getContext('2d')); if (this.g) { this.g = !1; var a = this.m, b = this.O, c = this.w, d = this.v, e = this.r, l = e + 'px Ubuntu'; b.font = l; var k = ~~(0.2 * e); a.width = (b.measureText(c).width + 6) * d; a.height = (e + k) * d; b.font = l; b.scale(d, d); b.globalAlpha = 1; b.lineWidth = 3; b.strokeStyle = this.s; b.fillStyle = this.N; this.P && b.strokeText(c, 3, e - k / 2); b.fillText(c, 3, e - k / 2) } return this.m } }; Date.now || (Date.now = function () { return (new Date).getTime() }); var Ua = { ca: function (a) { function b(a, b, c, d, e) { this.x = a; this.y = b; this.f = c; this.c = d; this.depth = e; this.items = [ ]; this.b = [ ] } var c = a.da || 2, d = a.ea || 4; b.prototype = { x: 0, y: 0, f: 0, c: 0, depth: 0, items: null, b: null, B: function (a) { for (var b = 0; b < this.items.length; ++b) { var c = this.items[b]; if (c.x >= a.x && c.y >= a.y && c.x < a.x + a.f && c.y < a.y + a.c) return !0 } if (0 != this.b.length) { var d = this; return this.V(a, function (b) { return d.b[b].B(a) }) } return !1 }, t: function (a, b) { for (var c = 0; c < this.items.length; ++c) b(this.items[c]); if (0 != this.b.length) { var d = this; this.V(a, function (c) { d.b[c].t(a, b) }) } }, i: function (a) { 0 != this.b.length ? this.b[this.U(a)].i(a) : this.items.length >= c && this.depth < d ? (this.aa(), this.b[this.U(a)].i(a)) : this.items.push(a) }, U: function (a) { return a.x < this.x + this.f / 2 ? a.y < this.y + this.c / 2 ? 0 : 2 : a.y < this.y + this.c / 2 ? 1 : 3 }, V: function (a, b) { return a.x < this.x + this.f / 2 && (a.y < this.y + this.c / 2 && b(0) || a.y >= this.y + this.c / 2 && b(2)) || a.x >= this.x + this.f / 2 && (a.y < this.y + this.c / 2 && b(1) || a.y >= this.y + this.c / 2 && b(3)) ? !0 : !1 }, aa: function () { var a = this.depth + 1, c = this.f / 2, d = this.c / 2; this.b.push(new b(this.x, this.y, c, d, a)); this.b.push(new b(this.x + c, this.y, c, d, a)); this.b.push(new b(this.x, this.y + d, c, d, a)); this.b.push(new b(this.x + c, this.y + d, c, d, a)); a = this.items; this.items = [ ]; for (c = 0; c < a.length; c++) this.i(a[c]) }, clear: function () { for (var a = 0; a < this.b.length; a++) this.b[a].clear(); this.items.length = 0; this.b.length = 0 } }; var e = { x: 0, y: 0, f: 0, c: 0 }; return { root: new b(a.X, a.Y, a.fa - a.X, a.ga - a.Y, 0), i: function (a) { this.root.i(a) }, t: function (a, b) { this.root.t(a, b) }, ia: function (a, b, c, d, f) { e.x = a; e.y = b; e.f = c; e.c = d; this.root.t(e, f) }, B: function (a) { return this.root.B(a) }, clear: function () { this.root.clear() } } } }; h.onload = Sa } }) (window, window.jQuery);
Viliami
Color Switch Game for the Casio fx-9860GII
harshita19244
CSE 201: Advanced Programming Final Project | Re-implemented a clone of the strategy video game Color Switch
joao3024
// ==UserScript== // @name Launcher // @namespace AposLauncher // @include http://agar.io/ // @version 2.1 // @grant none // @author http://www.twitch.tv/apostolique // ==/UserScript== Number.prototype.mod = function(n) { return ((this%n)+n)%n; }; Array.prototype.peek = function() { return this[this.length-1]; } console.log("Running Bot Launcher!"); (function (h, f) { //UPDATE function keyAction(e) { if (84 == e.keyCode) { console.log("Toggle"); toggle = !toggle; } if (82 == e.keyCode) { console.log("ToggleDraw"); toggleDraw = !toggleDraw; } if (68 == e.keyCode) { window.setDarkTheme(!getDarkBool()); } if (70 == e.keyCode) { window.setShowMass(!getMassBool()); } } function humanPlayer() { //Don't need to do anything. return [getPointX(), getPointY()]; } function Sa() { //UPDATE if (window.botList == null) { window.botList = []; window.jQuery('#locationUnknown').append(window.jQuery('<select id="bList" class="form-control" onchange="setBotIndex($(this).val());" />')); window.jQuery('#locationUnknown').addClass('form-group'); } window.botList.push(["Human", humanPlayer]); var bList = window.jQuery('#bList'); window.jQuery('<option />', {value: (window.botList.length - 1), text: "Human"}).appendTo(bList); la = !0; za(); setInterval(za, 180000); B = ma = document.getElementById('canvas'); e = B.getContext('2d'); B.onmousedown = function (a) { if (Aa) { var b = a.clientX - (5 + p / 5 / 2), c = a.clientY - (5 + p / 5 / 2); if (Math.sqrt(b * b + c * c) <= p / 5 / 2) { K(); C(17); return } } T = a.clientX; U = a.clientY; na(); K() }; B.onmousemove = function (a) { T = a.clientX; U = a.clientY; na() }; B.onmouseup = function () { }; /firefox/i.test(navigator.userAgent) ? document.addEventListener('DOMMouseScroll', Ba, !1) : document.body.onmousewheel = Ba; var a = !1, b = !1, c = !1; h.onkeydown = function (d) { 32 != d.keyCode || a || (K(), C(17), a = !0); 81 != d.keyCode || b || (C(18), b = !0); 87 != d.keyCode || c || (K(), C(21), c = !0); 27 == d.keyCode && Ca(!0); //UPDATE keyAction(d); }; h.onkeyup = function (d) { 32 == d.keyCode && (a = !1); 87 == d.keyCode && (c = !1); 81 == d.keyCode && b && (C(19), b = !1) }; h.onblur = function () { C(19); c = b = a = !1 }; h.onresize = Da; Da(); h.requestAnimationFrame ? h.requestAnimationFrame(Ea) : setInterval(oa, 1000 / 60); setInterval(K, 40); v && f('#region').val(v); Fa(); V(f('#region').val()); null == r && v && W(); f('#overlays').show() } function Ba(a) { D *= Math.pow(0.9, a.wheelDelta / - 120 || a.detail || 0); 1 > D && (D = 1); D > 4 / g && (D = 4 / g) } function Ta() { if (0.4 > g) L = null; else { for (var a = Number.POSITIVE_INFINITY, b = Number.POSITIVE_INFINITY, c = Number.NEGATIVE_INFINITY, d = Number.NEGATIVE_INFINITY, e = 0, l = 0; l < u.length; l++) { var k = u[l]; !k.I() || k.M || 20 >= k.size * g || (e = Math.max(k.size, e), a = Math.min(k.x, a), b = Math.min(k.y, b), c = Math.max(k.x, c), d = Math.max(k.y, d)) } L = Ua.ca({ X: a - (e + 100), Y: b - (e + 100), fa: c + (e + 100), ga: d + (e + 100), da: 2, ea: 4 }); for (l = 0; l < u.length; l++) if (k = u[l], k.I() && !(20 >= k.size * g)) for (a = 0; a < k.a.length; ++a) b = k.a[a].x, c = k.a[a].y, b < s - p / 2 / g || c < t - q / 2 / g || b > s + p / 2 / g || c > t + q / 2 / g || L.i(k.a[a]) } } function na() { //UPDATE if (toggle ||window.botList[botIndex][0] == "Human") { X = (T - p / 2) / g + s; Y = (U - q / 2) / g + t } } function za() { null == Z && (Z = { }, f('#region').children().each(function () { var a = f(this), b = a.val(); b && (Z[b] = a.text()) })); f.get($ + '//m.agar.io/info', function (a) { var b = { }, c; for (c in a.regions) { var d = c.split(':') [0]; b[d] = b[d] || 0; b[d] += a.regions[c].numPlayers } for (c in b) f('#region option[value="' + c + '"]').text(Z[c] + ' (' + b[c] + ' players)') }, 'json') } function Ga() { f('#adsBottom').hide(); f('#overlays').hide(); Fa() } function V(a) { a && a != v && (f('#region').val() != a && f('#region').val(a), v = h.localStorage.location = a, f('.region-message').hide(), f('.region-message.' + a).show(), f('.btn-needs-server').prop('disabled', !1), la && W()) } function Ca(a) { E = null; f('#overlays').fadeIn(a ? 200 : 3000); a || f('#adsBottom').fadeIn(3000) } function Fa() { f('#region').val() ? h.localStorage.location = f('#region').val() : h.localStorage.location && f('#region').val(h.localStorage.location); f('#region').val() ? f('#locationKnown').append(f('#region')) : f('#locationUnknown').append(f('#region')) } function pa() { console.log('Find ' + v + M); f.ajax($ + '//m.agar.io/', { error: function () { setTimeout(pa, 1000) }, success: function (a) { a = a.split('\n'); '45.79.222.79:443' == a[0] ? pa() : Ha('ws://' + a[0]) }, dataType: 'text', method: 'POST', cache: !1, crossDomain: !0, data: v + M || '?' }) } function W() { la && v && (f('#connecting').show(), pa()) } function Ha(a) { if (r) { r.onopen = null; r.onmessage = null; r.onclose = null; try { r.close() } catch (b) { } r = null } var c = h.location.search.slice(1); /^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+:[0-9]+$/.test(c) && (a = 'ws://' + c); Va && (a = a.split(':'), a = a[0] + 's://ip-' + a[1].replace(/\./g, '-').replace(/\//g, '') + '.tech.agar.io:' + ( + a[2] + 2000)); F = [ ]; m = [ ]; z = { }; u = [ ]; H = [ ]; A = [ ]; w = x = null; I = 0; console.log('Connecting to ' + a); //UPDATE serverIP = a; r = new WebSocket(a); r.binaryType = 'arraybuffer'; r.onopen = Wa; r.onmessage = Xa; r.onclose = Ya; r.onerror = function () { console.log('socket error') } } function N(a) { return new DataView(new ArrayBuffer(a)) } function O(a) { r.send(a.buffer) } function Wa() { var a; aa = 500; f('#connecting').hide(); console.log('socket open'); a = N(5); a.setUint8(0, 254); a.setUint32(1, 4, !0); O(a); a = N(5); a.setUint8(0, 255); a.setUint32(1, 673720361, !0); O(a); Ia() } function Ya() { console.log('socket close'); setTimeout(W, aa); aa *= 1.5 } function Xa(a) { Za(new DataView(a.data)) } function Za(a) { function b() { for (var b = ''; ; ) { var d = a.getUint16(c, !0); c += 2; if (0 == d) break; b += String.fromCharCode(d) } return b } var c = 0; 240 == a.getUint8(c) && (c += 5); switch (a.getUint8(c++)) { case 16: $a(a, c); break; case 17: P = a.getFloat32(c, !0); c += 4; Q = a.getFloat32(c, !0); c += 4; R = a.getFloat32(c, !0); c += 4; break; case 20: m = [ ]; F = [ ]; break; case 21: qa = a.getInt16(c, !0); c += 2; ra = a.getInt16(c, !0); c += 2; sa || (sa = !0, ba = qa, ca = ra); break; case 32: F.push(a.getUint32(c, !0)); c += 4; break; case 49: if (null != x) break; var d = a.getUint32(c, !0), c = c + 4; A = [ ]; for (var e = 0; e < d; ++e) { var l = a.getUint32(c, !0), c = c + 4; A.push({ id: l, name: b() }) } Ja(); break; case 50: x = [ ]; d = a.getUint32(c, !0); c += 4; for (e = 0; e < d; ++e) x.push(a.getFloat32(c, !0)), c += 4; Ja(); break; case 64: da = a.getFloat64(c, !0), c += 8, ea = a.getFloat64(c, !0), c += 8, fa = a.getFloat64(c, !0), c += 8, ga = a.getFloat64(c, !0), c += 8, P = (fa + da) / 2, Q = (ga + ea) / 2, R = 1, 0 == m.length && (s = P, t = Q, g = R) } } function $a(a, b) { G = + new Date; var c = Math.random(); ta = !1; var d = a.getUint16(b, !0); b += 2; for (var e = 0; e < d; ++e) { var l = z[a.getUint32(b, !0)], k = z[a.getUint32(b + 4, !0)]; b += 8; l && k && (k.S(), k.p = k.x, k.q = k.y, k.o = k.size, k.D = l.x, k.F = l.y, k.n = k.size, k.L = G) } for (e = 0; ; ) { d = a.getUint32(b, !0); b += 4; if (0 == d) break; ++e; var h, l = a.getInt16(b, !0); b += 2; k = a.getInt16(b, !0); b += 2; h = a.getInt16(b, !0); b += 2; for (var g = a.getUint8(b++), f = a.getUint8(b++), p = a.getUint8(b++), g = (g << 16 | f << 8 | p).toString(16); 6 > g.length; ) g = '0' + g; var g = '#' + g, f = a.getUint8(b++), p = !!(f & 1), r = !!(f & 16); f & 2 && (b += 4); f & 4 && (b += 8); f & 8 && (b += 16); for (var q, n = ''; ; ) { q = a.getUint16(b, !0); b += 2; if (0 == q) break; n += String.fromCharCode(q) } q = n; n = null; z.hasOwnProperty(d) ? (n = z[d], n.K(), n.p = n.x, n.q = n.y, n.o = n.size, n.color = g) : (n = new Ka(d, l, k, h, g, q), n.ka = l, n.la = k); n.d = p; n.j = r; n.D = l; n.F = k; n.n = h; n.ja = c; n.L = G; n.W = f; q && n.Z(q); - 1 != F.indexOf(d) && - 1 == m.indexOf(n) && (document.getElementById('overlays').style.display = 'none', m.push(n), 1 == m.length && (s = n.x, t = n.y)) //UPDATE interNodes[d] = window.getCells()[d]; } //UPDATE Object.keys(interNodes).forEach(function (element, index) { //console.log("start: " + interNodes[element].updateTime + " current: " + D + " life: " + (D - interNodes[element].updateTime)); var isRemoved = !window.getCells().hasOwnProperty(element); if (isRemoved && (getLastUpdate() - interNodes[element].L) > 3000) { delete interNodes[element]; } else if (isRemoved && computeDistance(getOffsetX(), getOffsetY(), interNodes[element].x, interNodes[element].y) < screenDistance()) { //console.log("Too close! Remove " + computeDistance(getOffsetX(), getOffsetY(), interNodes[element].x, interNodes[element].y) + " || " + screenDistance()); delete interNodes[element]; } }); c = a.getUint32(b, !0); b += 4; for (e = 0; e < c; e++) d = a.getUint32(b, !0), b += 4, n = z[d], null != n && n.S(); //ta && 0 == m.length && Ca(!1) } //UPDATE function computeDistance(x1, y1, x2, y2) { var xdis = x1 - x2; // <--- FAKE AmS OF COURSE! var ydis = y1 - y2; var distance = Math.sqrt(xdis * xdis + ydis * ydis); return distance; } function screenDistance() { return Math.min(computeDistance (getOffsetX(), getOffsetY(), screenToGameX(getWidth()), getOffsetY()), computeDistance (getOffsetX(), getOffsetY(), getOffsetX(), screenToGameY(getHeight()))); } function screenToGameX(x) { return (x - getWidth() / 2) / getRatio() + getX(); } function screenToGameY(y) { return (y - getHeight() / 2) / getRatio() + getY();; } window.drawPoint = function(x_1, y_1, drawColor, text) { if (!toggleDraw) { dPoints.push([x_1, y_1, drawColor]); dText.push(text); } } window.drawArc = function(x_1, y_1, x_2, y_2, x_3, y_3, drawColor) { if (!toggleDraw) { var radius = computeDistance(x_1, y_1, x_3, y_3); dArc.push([x_1, y_1, x_2, y_2, x_3, y_3, radius, drawColor]); } } window.drawLine = function(x_1, y_1, x_2, y_2, drawColor) { if (!toggleDraw) { lines.push([x_1, y_1, x_2, y_2, drawColor]); } } window.drawCircle = function(x_1, y_1, radius, drawColor) { if (!toggleDraw) { circles.push([x_1, y_1, radius, drawColor]); } } function K() { //UPDATE if (getPlayer().length == 0) { setNick(originalName); } var a; if (ua()) { a = T - p / 2; var b = U - q / 2; 64 > a * a + b * b || 0.01 > Math.abs(La - X) && 0.01 > Math.abs(Ma - Y) || (La = X, Ma = Y, a = N(21), a.setUint8(0, 16), a.setFloat64(1, X, !0), a.setFloat64(9, Y, !0), a.setUint32(17, 0, !0), O(a)) } } function Ia() { if (ua() && null != E) { var a = N(1 + 2 * E.length); a.setUint8(0, 0); for (var b = 0; b < E.length; ++b) a.setUint16(1 + 2 * b, E.charCodeAt(b), !0); O(a) } } function ua() { return null != r && r.readyState == r.OPEN } function C(a) { if (ua()) { var b = N(1); b.setUint8(0, a); O(b) } } function Ea() { oa(); h.requestAnimationFrame(Ea) } function Da() { p = h.innerWidth; q = h.innerHeight; ma.width = B.width = p; ma.height = B.height = q; oa() } function Na() { var a; a = 1 * Math.max(q / 1080, p / 1920); return a *= D } function ab() { if (0 != m.length) { for (var a = 0, b = 0; b < m.length; b++) a += m[b].size; a = Math.pow(Math.min(64 / a, 1), 0.4) * Na(); g = (9 * g + a) / 10 } } function oa() { //UPDATE dPoints = []; circles = []; dArc = []; dText = []; lines = []; var a, b = Date.now(); ++bb; G = b; if (0 < m.length) { ab(); for (var c = a = 0, d = 0; d < m.length; d++) m[d].K(), a += m[d].x / m.length, c += m[d].y / m.length; P = a; Q = c; R = g; s = (s + a) / 2; t = (t + c) / 2 } else s = (29 * s + P) / 30, t = (29 * t + Q) / 30, g = (9 * g + R * Na()) / 10; Ta(); na(); va || e.clearRect(0, 0, p, q); va ? (e.fillStyle = ha ? '#111111' : '#F2FBFF', e.globalAlpha = 0.05, e.fillRect(0, 0, p, q), e.globalAlpha = 1) : cb(); u.sort(function (a, b) { return a.size == b.size ? a.id - b.id : a.size - b.size }); e.save(); e.translate(p / 2, q / 2); e.scale(g, g); e.translate( - s, - t); for (d = 0; d < H.length; d++) H[d].T(); for (d = 0; d < u.length; d++) u[d].T(); //UPDATE if (getPlayer().length > 0) { var moveLoc = window.botList[botIndex][1](); if (!toggle) { setPoint(moveLoc[0], moveLoc[1]); } } customRender(e); if (sa) { ba = (3 * ba + qa) / 4; ca = (3 * ca + ra) / 4; e.save(); e.strokeStyle = '#FFAAAA'; e.lineWidth = 10; e.lineCap = 'round'; e.lineJoin = 'round'; e.globalAlpha = 0.5; e.beginPath(); for (d = 0; d < m.length; d++) e.moveTo(m[d].x, m[d].y), e.lineTo(ba, ca); e.stroke(); e.restore() } e.restore(); w && w.width && e.drawImage(w, p - w.width - 10, 10); I = Math.max(I, db()); //UPDATE sessionScore = Math.max(I, sessionScore); 0 != I && (null == ia && (ia = new ja(24, '#FFFFFF', true,'#000000')), ia.u('Score: ' + ~~(I / 100) + ' || Best Score: ' + ~~(sessionScore / 100) + " || Best time alive: " + bestTime + " seconds"), c = ia.G(), a = c.width, e.globalAlpha = 0.2, e.fillStyle = '#000000', e.fillRect(10, q - 10 - 24 - 10, a + 10, 34), e.globalAlpha = 1, e.drawImage(c, 15, q - 10 - 24 - 5)); eb(); b = Date.now() - b; b > 1000 / 60 ? y -= 0.01 : b < 1000 / 65 && (y += 0.01); 0.4 > y && (y = 0.4); 1 < y && (y = 1) drawStats(e); } //UPDATE function customRender(d) { d.save(); for(var i = 0; i < lines.length; i++) { d.beginPath(); d.lineWidth = 5; if (lines[i][4] == 0) { d.strokeStyle = "#FF0000"; } else if (lines[i][4] == 1) { d.strokeStyle = "#00FF00"; } else if (lines[i][4] == 2) { d.strokeStyle = "#0000FF"; } else if (lines[i][4] == 3) { d.strokeStyle = "#FF8000"; } else if (lines[i][4] == 4) { d.strokeStyle = "#8A2BE2"; } else if (lines[i][4] == 5) { d.strokeStyle = "#FF69B4"; } else if (lines[i][4] == 6) { d.strokeStyle = "#008080"; } else if (lines[i][4] == 7) { d.strokeStyle = "#FFFFFF"; } else { d.strokeStyle = "#000000"; } d.moveTo(lines[i][0], lines[i][1]); d.lineTo(lines[i][2], lines[i][3]); d.stroke(); } d.restore(); d.save(); for(var i = 0; i < circles.length; i++) { if (circles[i][3] == 0) { d.strokeStyle = "#FF0000"; } else if (circles[i][3] == 1) { d.strokeStyle = "#00FF00"; } else if (circles[i][3] == 2) { d.strokeStyle = "#0000FF"; } else if (circles[i][3] == 3) { d.strokeStyle = "#FF8000"; } else if (circles[i][3] == 4) { d.strokeStyle = "#8A2BE2"; } else if (circles[i][3] == 5) { d.strokeStyle = "#FF69B4"; } else if (circles[i][3] == 6) { d.strokeStyle = "#008080"; } else if (circles[i][3] == 7) { d.strokeStyle = "#FFFFFF"; } else { d.strokeStyle = "#000000"; } d.beginPath(); d.lineWidth = 10; //d.setLineDash([5]); d.globalAlpha = 0.3; d.arc(circles[i][0], circles[i][1], circles[i][2], 0, 2 * Math.PI, false); d.stroke(); } d.restore(); d.save(); for(var i = 0; i < dArc.length; i++) { if (dArc[i][7] == 0) { d.strokeStyle = "#FF0000"; } else if (dArc[i][7] == 1) { d.strokeStyle = "#00FF00"; } else if (dArc[i][7] == 2) { d.strokeStyle = "#0000FF"; } else if (dArc[i][7] == 3) { d.strokeStyle = "#FF8000"; } else if (dArc[i][7] == 4) { d.strokeStyle = "#8A2BE2"; } else if (dArc[i][7] == 5) { d.strokeStyle = "#FF69B4"; } else if (dArc[i][7] == 6) { d.strokeStyle = "#008080"; } else if (dArc[i][7] == 7) { d.strokeStyle = "#FFFFFF"; } else { d.strokeStyle = "#000000"; } d.beginPath(); d.lineWidth = 5; var ang1 = Math.atan2(dArc[i][1] - dArc[i][5], dArc[i][0] - dArc[i][4]); var ang2 = Math.atan2(dArc[i][3] - dArc[i][5], dArc[i][2] - dArc[i][4]); d.arc(dArc[i][4], dArc[i][5], dArc[i][6], ang1, ang2, false); d.stroke(); } d.restore(); d.save(); for (var i = 0; i < dPoints.length; i++) { if (dText[i] == "") { var radius = 10; d.beginPath(); d.arc(dPoints[i][0], dPoints[i][1], radius, 0, 2 * Math.PI, false); if (dPoints[i][2] == 0) { d.fillStyle = "black"; } else if (dPoints[i][2] == 1) { d.fillStyle = "yellow"; } else if (dPoints[i][2] == 2) { d.fillStyle = "blue"; } else if (dPoints[i][2] == 3) { d.fillStyle = "red"; } else if (dPoints[i][2] == 4) { d.fillStyle = "#008080"; } else if (dPoints[i][2] == 5) { d.fillStyle = "#FF69B4"; } else { d.fillStyle = "#000000"; } d.fill(); d.lineWidth = 2; d.strokeStyle = '#003300'; d.stroke(); } else { var text = new ja(18, (getDarkBool() ? '#F2FBFF' : '#111111'), true, '#000000'); text.u(dText[i]); var textRender = text.G(); d.drawImage(textRender, dPoints[i][0], dPoints[i][1]); } } d.restore(); } function drawStats(d) { var currentDate = new Date(); var nbSeconds = 0; if (getPlayer().length > 0) { nbSeconds = (currentDate.getSeconds() + (currentDate.getMinutes() * 60) + (currentDate.getHours() * 60 * 60)) - (lifeTimer.getSeconds() + (lifeTimer.getMinutes() * 60) + (lifeTimer.getHours() * 60 * 60)); } bestTime = Math.max(nbSeconds, bestTime); var debugStrings = []; debugStrings.push("T - Bot: " + (!toggle ? "On" : "Off")); debugStrings.push("R - Lines: " + (!toggleDraw ? "On" : "Off")); debugStrings.push("Server: " + serverIP); debugStrings.push("Survived for: " + nbSeconds + " seconds"); if (getPlayer().length > 0) { debugStrings.push("Location: " + Math.floor(getPlayer()[0].x) + ", " + Math.floor(getPlayer()[0].y)); } var offsetValue = 20; var text = new ja(18, (getDarkBool() ? '#F2FBFF' : '#111111')); for (var i = 0; i < debugStrings.length; i++) { text.u(debugStrings[i]); var textRender = text.G(); d.drawImage(textRender, 20, offsetValue); offsetValue += textRender.height; } } function cb() { e.fillStyle = ha ? '#111111' : '#F2FBFF'; e.fillRect(0, 0, p, q); e.save(); e.strokeStyle = ha ? '#AAAAAA' : '#000000'; e.globalAlpha = 0.2; e.scale(g, g); for (var a = p / g, b = q / g, c = - 0.5 + ( - s + a / 2) % 50; c < a; c += 50) e.beginPath(), e.moveTo(c, 0), e.lineTo(c, b), e.stroke(); for (c = - 0.5 + ( - t + b / 2) % 50; c < b; c += 50) e.beginPath(), e.moveTo(0, c), e.lineTo(a, c), e.stroke(); e.restore() } function eb() { if (Aa && wa.width) { var a = p / 5; e.drawImage(wa, 5, 5, a, a) } } function db() { for (var a = 0, b = 0; b < m.length; b++) a += m[b].n * m[b].n; return a } function Ja() { w = null; if (null != x || 0 != A.length) if (null != x || ka) { w = document.createElement('canvas'); var a = w.getContext('2d'), b = 60, b = null == x ? b + 24 * A.length : b + 180, c = Math.min(200, 0.3 * p) / 200; w.width = 200 * c; w.height = b * c; a.scale(c, c); a.globalAlpha = 0.4; a.fillStyle = '#000000'; a.fillRect(0, 0, 200, b); a.globalAlpha = 1; a.fillStyle = '#FFFFFF'; c = null; c = 'Leaderboard'; a.font = '30px Ubuntu'; a.fillText(c, 100 - a.measureText(c).width / 2, 40); if (null == x) for (a.font = '20px Ubuntu', b = 0; b < A.length; ++b) c = A[b].name || 'An unnamed cell', ka || (c = 'An unnamed cell'), - 1 != F.indexOf(A[b].id) ? (m[0].name && (c = m[0].name), a.fillStyle = '#FFAAAA') : a.fillStyle = '#FFFFFF', c = b + 1 + '. ' + c, a.fillText(c, 100 - a.measureText(c).width / 2, 70 + 24 * b); else for (b = c = 0; b < x.length; ++b) { var d = c + x[b] * Math.PI * 2; a.fillStyle = fb[b + 1]; a.beginPath(); a.moveTo(100, 140); a.arc(100, 140, 80, c, d, !1); a.fill(); c = d } } } function Ka(a, b, c, d, e, l) { u.push(this); z[a] = this; this.id = a; this.p = this.x = b; this.q = this.y = c; this.o = this.size = d; this.color = e; this.a = [ ]; this.l = [ ]; this.R(); this.Z(l) } function ja(a, b, c, d) { a && (this.r = a); b && (this.N = b); this.P = !!c; d && (this.s = d) } var $ = h.location.protocol, Va = 'https:' == $, //UPDATE toggle = false, toggleDraw = false, tempPoint = [0, 0, 1], dPoints = [], circles = [], dArc = [], dText = [], lines = [], originalName = "NotReallyABot", sessionScore = 0, serverIP = "", interNodes = [], lifeTimer = new Date(), bestTime = 0, botIndex = 0, ma, e, B, p, q, L = null, r = null, s = 0, t = 0, F = [ ], m = [ ], z = { }, u = [ ], H = [ ], A = [ ], T = 0, U = 0, X = - 1, Y = - 1, bb = 0, G = 0, E = null, da = 0, ea = 0, fa = 10000, ga = 10000, g = 1, v = null, Oa = !0, ka = !0, xa = !1, ta = !1, I = 0, ha = !1, Pa = !1, P = s = ~~((da + fa) / 2), Q = t = ~~((ea + ga) / 2), R = 1, M = '', x = null, la = !1, sa = !1, qa = 0, ra = 0, ba = 0, ca = 0, Qa = 0, fb = [ '#333333', '#FF3333', '#33FF33', '#3333FF' ], va = !1, D = 1, Aa = 'ontouchstart' in h && /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent), wa = new Image; wa.src = 'img/split.png'; var Ra = document.createElement('canvas'); if ('undefined' == typeof console || 'undefined' == typeof DataView || 'undefined' == typeof WebSocket || null == Ra || null == Ra.getContext || null == h.localStorage) alert('You browser does not support this game, we recommend you to use Firefox to play this'); else { var Z = null; h.setNick = function (a) { //UPDATE originalName = a; if (getPlayer().length == 0) { lifeTimer = new Date(); } Ga(); E = a; Ia(); I = 0 }; h.setRegion = V; h.setSkins = function (a) { Oa = a }; h.setNames = function (a) { ka = a }; h.setDarkTheme = function (a) { ha = a }; h.setColors = function (a) { xa = a }; h.setShowMass = function (a) { Pa = a }; h.spectate = function () { E = null; C(1); Ga() }; h.setGameMode = function (a) { a != M && (M = a, W()) }; h.setAcid = function (a) { va = a }; null != h.localStorage && (null == h.localStorage.AB8 && (h.localStorage.AB8 = 0 + ~~(100 * Math.random())), Qa = + h.localStorage.AB8, h.ABGroup = Qa); f.get($ + '//gc.agar.io', function (a) { var b = a.split(' '); a = b[0]; b = b[1] || ''; - 1 == 'DE IL PL HU BR AT UA'.split(' ').indexOf(a) && ya.push('nazi'); - 1 == ['UA'].indexOf(a) && ya.push('ussr'); S.hasOwnProperty(a) && ('string' == typeof S[a] ? v || V(S[a]) : S[a].hasOwnProperty(b) && (v || V(S[a][b]))) }, 'text'); setTimeout(function () { }, 300000); var S = { AF: 'JP-Tokyo', AX: 'EU-London', AL: 'EU-London', DZ: 'EU-London', AS: 'SG-Singapore', AD: 'EU-London', AO: 'EU-London', AI: 'US-Atlanta', AG: 'US-Atlanta', AR: 'BR-Brazil', AM: 'JP-Tokyo', AW: 'US-Atlanta', AU: 'SG-Singapore', AT: 'EU-London', AZ: 'JP-Tokyo', BS: 'US-Atlanta', BH: 'JP-Tokyo', BD: 'JP-Tokyo', BB: 'US-Atlanta', BY: 'EU-London', BE: 'EU-London', BZ: 'US-Atlanta', BJ: 'EU-London', BM: 'US-Atlanta', BT: 'JP-Tokyo', BO: 'BR-Brazil', BQ: 'US-Atlanta', BA: 'EU-London', BW: 'EU-London', BR: 'BR-Brazil', IO: 'JP-Tokyo', VG: 'US-Atlanta', BN: 'JP-Tokyo', BG: 'EU-London', BF: 'EU-London', BI: 'EU-London', KH: 'JP-Tokyo', CM: 'EU-London', CA: 'US-Atlanta', CV: 'EU-London', KY: 'US-Atlanta', CF: 'EU-London', TD: 'EU-London', CL: 'BR-Brazil', CN: 'CN-China', CX: 'JP-Tokyo', CC: 'JP-Tokyo', CO: 'BR-Brazil', KM: 'EU-London', CD: 'EU-London', CG: 'EU-London', CK: 'SG-Singapore', CR: 'US-Atlanta', CI: 'EU-London', HR: 'EU-London', CU: 'US-Atlanta', CW: 'US-Atlanta', CY: 'JP-Tokyo', CZ: 'EU-London', DK: 'EU-London', DJ: 'EU-London', DM: 'US-Atlanta', DO: 'US-Atlanta', EC: 'BR-Brazil', EG: 'EU-London', SV: 'US-Atlanta', GQ: 'EU-London', ER: 'EU-London', EE: 'EU-London', ET: 'EU-London', FO: 'EU-London', FK: 'BR-Brazil', FJ: 'SG-Singapore', FI: 'EU-London', FR: 'EU-London', GF: 'BR-Brazil', PF: 'SG-Singapore', GA: 'EU-London', GM: 'EU-London', GE: 'JP-Tokyo', DE: 'EU-London', GH: 'EU-London', GI: 'EU-London', GR: 'EU-London', GL: 'US-Atlanta', GD: 'US-Atlanta', GP: 'US-Atlanta', GU: 'SG-Singapore', GT: 'US-Atlanta', GG: 'EU-London', GN: 'EU-London', GW: 'EU-London', GY: 'BR-Brazil', HT: 'US-Atlanta', VA: 'EU-London', HN: 'US-Atlanta', HK: 'JP-Tokyo', HU: 'EU-London', IS: 'EU-London', IN: 'JP-Tokyo', ID: 'JP-Tokyo', IR: 'JP-Tokyo', IQ: 'JP-Tokyo', IE: 'EU-London', IM: 'EU-London', IL: 'JP-Tokyo', IT: 'EU-London', JM: 'US-Atlanta', JP: 'JP-Tokyo', JE: 'EU-London', JO: 'JP-Tokyo', KZ: 'JP-Tokyo', KE: 'EU-London', KI: 'SG-Singapore', KP: 'JP-Tokyo', KR: 'JP-Tokyo', KW: 'JP-Tokyo', KG: 'JP-Tokyo', LA: 'JP-Tokyo', LV: 'EU-London', LB: 'JP-Tokyo', LS: 'EU-London', LR: 'EU-London', LY: 'EU-London', LI: 'EU-London', LT: 'EU-London', LU: 'EU-London', MO: 'JP-Tokyo', MK: 'EU-London', MG: 'EU-London', MW: 'EU-London', MY: 'JP-Tokyo', MV: 'JP-Tokyo', ML: 'EU-London', MT: 'EU-London', MH: 'SG-Singapore', MQ: 'US-Atlanta', MR: 'EU-London', MU: 'EU-London', YT: 'EU-London', MX: 'US-Atlanta', FM: 'SG-Singapore', MD: 'EU-London', MC: 'EU-London', MN: 'JP-Tokyo', ME: 'EU-London', MS: 'US-Atlanta', MA: 'EU-London', MZ: 'EU-London', MM: 'JP-Tokyo', NA: 'EU-London', NR: 'SG-Singapore', NP: 'JP-Tokyo', NL: 'EU-London', NC: 'SG-Singapore', NZ: 'SG-Singapore', NI: 'US-Atlanta', NE: 'EU-London', NG: 'EU-London', NU: 'SG-Singapore', NF: 'SG-Singapore', MP: 'SG-Singapore', NO: 'EU-London', OM: 'JP-Tokyo', PK: 'JP-Tokyo', PW: 'SG-Singapore', PS: 'JP-Tokyo', PA: 'US-Atlanta', PG: 'SG-Singapore', PY: 'BR-Brazil', PE: 'BR-Brazil', PH: 'JP-Tokyo', PN: 'SG-Singapore', PL: 'EU-London', PT: 'EU-London', PR: 'US-Atlanta', QA: 'JP-Tokyo', RE: 'EU-London', RO: 'EU-London', RU: 'RU-Russia', RW: 'EU-London', BL: 'US-Atlanta', SH: 'EU-London', KN: 'US-Atlanta', LC: 'US-Atlanta', MF: 'US-Atlanta', PM: 'US-Atlanta', VC: 'US-Atlanta', WS: 'SG-Singapore', SM: 'EU-London', ST: 'EU-London', SA: 'EU-London', SN: 'EU-London', RS: 'EU-London', SC: 'EU-London', SL: 'EU-London', SG: 'JP-Tokyo', SX: 'US-Atlanta', SK: 'EU-London', SI: 'EU-London', SB: 'SG-Singapore', SO: 'EU-London', ZA: 'EU-London', SS: 'EU-London', ES: 'EU-London', LK: 'JP-Tokyo', SD: 'EU-London', SR: 'BR-Brazil', SJ: 'EU-London', SZ: 'EU-London', SE: 'EU-London', CH: 'EU-London', SY: 'EU-London', TW: 'JP-Tokyo', TJ: 'JP-Tokyo', TZ: 'EU-London', TH: 'JP-Tokyo', TL: 'JP-Tokyo', TG: 'EU-London', TK: 'SG-Singapore', TO: 'SG-Singapore', TT: 'US-Atlanta', TN: 'EU-London', TR: 'TK-Turkey', TM: 'JP-Tokyo', TC: 'US-Atlanta', TV: 'SG-Singapore', UG: 'EU-London', UA: 'EU-London', AE: 'EU-London', GB: 'EU-London', US: { AL: 'US-Atlanta', AK: 'US-Fremont', AZ: 'US-Fremont', AR: 'US-Atlanta', CA: 'US-Fremont', CO: 'US-Fremont', CT: 'US-Atlanta', DE: 'US-Atlanta', FL: 'US-Atlanta', GA: 'US-Atlanta', HI: 'US-Fremont', ID: 'US-Fremont', IL: 'US-Atlanta', IN: 'US-Atlanta', IA: 'US-Atlanta', KS: 'US-Atlanta', KY: 'US-Atlanta', LA: 'US-Atlanta', ME: 'US-Atlanta', MD: 'US-Atlanta', MA: 'US-Atlanta', MI: 'US-Atlanta', MN: 'US-Fremont', MS: 'US-Atlanta', MO: 'US-Atlanta', MT: 'US-Fremont', NE: 'US-Fremont', NV: 'US-Fremont', NH: 'US-Atlanta', NJ: 'US-Atlanta', NM: 'US-Fremont', NY: 'US-Atlanta', NC: 'US-Atlanta', ND: 'US-Fremont', OH: 'US-Atlanta', OK: 'US-Atlanta', OR: 'US-Fremont', PA: 'US-Atlanta', RI: 'US-Atlanta', SC: 'US-Atlanta', SD: 'US-Fremont', TN: 'US-Atlanta', TX: 'US-Atlanta', UT: 'US-Fremont', VT: 'US-Atlanta', VA: 'US-Atlanta', WA: 'US-Fremont', WV: 'US-Atlanta', WI: 'US-Atlanta', WY: 'US-Fremont', DC: 'US-Atlanta', AS: 'US-Atlanta', GU: 'US-Atlanta', MP: 'US-Atlanta', PR: 'US-Atlanta', UM: 'US-Atlanta', VI: 'US-Atlanta' }, UM: 'SG-Singapore', VI: 'US-Atlanta', UY: 'BR-Brazil', UZ: 'JP-Tokyo', VU: 'SG-Singapore', VE: 'BR-Brazil', VN: 'JP-Tokyo', WF: 'SG-Singapore', EH: 'EU-London', YE: 'JP-Tokyo', ZM: 'EU-London', ZW: 'EU-London' }; h.connect = Ha; //UPDATE window.getDarkBool = function() { return ha; } window.getMassBool = function() { return Pa; } window.getMemoryCells = function() { return interNodes; } window.getCellsArray = function() { return u; } window.getCells = function() { return z; } window.getPlayer = function() { return m; } window.getWidth = function() { return p; } window.getHeight = function() { return q; } window.getRatio = function() { return g; } window.getOffsetX = function() { return P; } window.getOffsetY = function() { return Q; } window.getX = function() { return s; } window.getY = function() { return t; } window.getPointX = function() { return X; } window.getPointY = function() { return Y; } window.getMouseX = function() { return T; } window.getMouseY = function() { return U; } window.getScreenDistance = function() { var temp = screenDistance(); return temp; } window.getLastUpdate = function() { return G; } window.setPoint = function(x, y) { X = x; Y = y; } window.createFake = function(a, b, c, d, e, f) { var n = new Ka(a, b, c, d, e, f); return n; } window.setScore = function(a) { sessionScore = a * 100; } window.setBestTime = function(a) { bestTime = a; } window.best = function(a, b) { setScore(a); setBestTime(b); } window.setBotIndex = function(a) { console.log("Changing bot"); botIndex = a; } var aa = 500, La = - 1, Ma = - 1, w = null, y = 1, ia = null, J = { }, ya = 'poland;usa;china;russia;canada;australia;spain;brazil;germany;ukraine;france;sweden;hitler;north korea;south korea;japan;united kingdom;earth;greece;latvia;lithuania;estonia;finland;norway;cia;maldivas;austria;nigeria;reddit;yaranaika;confederate;9gag;indiana;4chan;italy;bulgaria;tumblr;2ch.hk;hong kong;portugal;jamaica;german empire;mexico;sanik;switzerland;croatia;chile;indonesia;bangladesh;thailand;iran;iraq;peru;moon;botswana;bosnia;netherlands;european union;taiwan;pakistan;hungary;satanist;qing dynasty;matriarchy;patriarchy;feminism;ireland;texas;facepunch;prodota;cambodia;steam;piccolo;ea;india;kc;denmark;quebec;ayy lmao;sealand;bait;tsarist russia;origin;vinesauce;stalin;belgium;luxembourg;stussy;prussia;8ch;argentina;scotland;sir;romania;belarus;wojak;doge;nasa;byzantium;imperial japan;french kingdom;somalia;turkey;mars;pokerface;8;irs;receita federal;facebook'.split(';'), gb = [ '8', 'nasa' ], hb = [ 'm\'blob' ]; Ka.prototype = { id: 0, a: null, //points l: null, //pointsAcc name: null, //name k: null, //nameCache J: null, //sizeCache x: 0, y: 0, size: 0, p: 0, //ox q: 0, //oy o: 0, //oSize D: 0, //nx F: 0, //ny n: 0, //nSize W: 0, //drawTime L: 0, //updateTime ja: 0, ba: 0, A: !1, d: !1, j: !1, M: !0, //UPDATE updateCode: 0, danger: false, dangerTimeOut: 0, S: function () { var a; for (a = 0; a < u.length; a++) if (u[a] == this) { u.splice(a, 1); break } delete z[this.id]; a = m.indexOf(this); - 1 != a && (ta = !0, m.splice(a, 1)); a = F.indexOf(this.id); - 1 != a && F.splice(a, 1); this.A = !0; H.push(this) }, h: function () { return Math.max(~~(0.3 * this.size), 24) }, Z: function (a) { if (this.name = a) null == this.k ? this.k = new ja(this.h(), '#FFFFFF', !0, '#000000') : this.k.H(this.h()), this.k.u(this.name) }, R: function () { for (var a = this.C(); this.a.length > a; ) { var b = ~~(Math.random() * this.a.length); this.a.splice(b, 1); this.l.splice(b, 1) } 0 == this.a.length && 0 < a && (this.a.push({ Q: this, e: this.size, x: this.x, y: this.y }), this.l.push(Math.random() - 0.5)); for (; this.a.length < a; ) { var b = ~~(Math.random() * this.a.length), c = this.a[b]; this.a.splice(b, 0, { Q: this, e: c.e, x: c.x, y: c.y }); this.l.splice(b, 0, this.l[b]) } }, C: function () { var a = 10; 20 > this.size && (a = 0); this.d && (a = 30); var b = this.size; this.d || (b *= g); b *= y; this.W & 32 && (b *= 0.25); return ~~Math.max(b, a) }, ha: function () { this.R(); for (var a = this.a, b = this.l, c = a.length, d = 0; d < c; ++d) { var e = b[(d - 1 + c) % c], l = b[(d + 1) % c]; b[d] += (Math.random() - 0.5) * (this.j ? 3 : 1); b[d] *= 0.7; 10 < b[d] && (b[d] = 10); - 10 > b[d] && (b[d] = - 10); b[d] = (e + l + 8 * b[d]) / 10 } for (var k = this, h = this.d ? 0 : (this.id / 1000 + G / 10000) % (2 * Math.PI), d = 0; d < c; ++d) { var f = a[d].e, e = a[(d - 1 + c) % c].e, l = a[(d + 1) % c].e; if (15 < this.size && null != L && 20 < this.size * g) { var m = !1, p = a[d].x, q = a[d].y; L.ia(p - 5, q - 5, 10, 10, function (a) { a.Q != k && 25 > (p - a.x) * (p - a.x) + (q - a.y) * (q - a.y) && (m = !0) }); !m && (a[d].x < da || a[d].y < ea || a[d].x > fa || a[d].y > ga) && (m = !0); m && (0 < b[d] && (b[d] = 0), b[d] -= 1) } f += b[d]; 0 > f && (f = 0); f = this.j ? (19 * f + this.size) / 20 : (12 * f + this.size) / 13; a[d].e = (e + l + 8 * f) / 10; e = 2 * Math.PI / c; l = this.a[d].e; this.d && 0 == d % 2 && (l += 5); a[d].x = this.x + Math.cos(e * d + h) * l; a[d].y = this.y + Math.sin(e * d + h) * l } }, K: function () { var a; a = (G - this.L) / 120; a = 0 > a ? 0 : 1 < a ? 1 : a; var b = 0 > a ? 0 : 1 < a ? 1 : a; this.h(); if (this.A && 1 <= b) { var c = H.indexOf(this); - 1 != c && H.splice(c, 1) } this.x = a * (this.D - this.p) + this.p; this.y = a * (this.F - this.q) + this.q; this.size = b * (this.n - this.o) + this.o; return b }, I: function () { return this.x + this.size + 40 < s - p / 2 / g || this.y + this.size + 40 < t - q / 2 / g || this.x - this.size - 40 > s + p / 2 / g || this.y - this.size - 40 > t + q / 2 / g ? !1 : !0 }, T: function () { if (this.I()) { var a = !this.d && !this.j && 0.4 > g; 5 > this.C() && (a = !0); if (this.M && !a) for (var b = 0; b < this.a.length; b++) this.a[b].e = this.size; this.M = a; e.save(); this.ba = G; b = this.K(); this.A && (e.globalAlpha *= 1 - b); e.lineWidth = 10; e.lineCap = 'round'; e.lineJoin = this.d ? 'miter' : 'round'; xa ? (e.fillStyle = '#FFFFFF', e.strokeStyle = '#AAAAAA') : (e.fillStyle = this.color, e.strokeStyle = this.color); if (a) e.beginPath(), e.arc(this.x, this.y, this.size, 0, 2 * Math.PI, !1); else { this.ha(); e.beginPath(); var c = this.C(); e.moveTo(this.a[0].x, this.a[0].y); for (b = 1; b <= c; ++b) { var d = b % c; e.lineTo(this.a[d].x, this.a[d].y) } } e.closePath(); c = this.name.toLowerCase(); !this.j && Oa && ':teams' != M ? - 1 != ya.indexOf(c) ? (J.hasOwnProperty(c) || (J[c] = new Image, J[c].src = 'skins/' + c + '.png'), b = 0 != J[c].width && J[c].complete ? J[c] : null) : b = null : b = null; b = (d = b) ? - 1 != hb.indexOf(c) : !1; a || e.stroke(); e.fill(); null == d || b || (e.save(), e.clip(), e.drawImage(d, this.x - this.size, this.y - this.size, 2 * this.size, 2 * this.size), e.restore()); (xa || 15 < this.size) && !a && (e.strokeStyle = '#000000', e.globalAlpha *= 0.1, e.stroke()); e.globalAlpha = 1; null != d && b && e.drawImage(d, this.x - 2 * this.size, this.y - 2 * this.size, 4 * this.size, 4 * this.size); b = - 1 != m.indexOf(this); a = ~~this.y; if ((ka || b) && this.name && this.k && (null == d || - 1 == gb.indexOf(c))) { d = this.k; d.u(this.name); d.H(this.h()); c = Math.ceil(10 * g) / 10; d.$(c); var d = d.G(), f = ~~(d.width / c), l = ~~(d.height / c); e.drawImage(d, ~~this.x - ~~(f / 2), a - ~~(l / 2), f, l); a += d.height / 2 / c + 4 } Pa && (b || 0 == m.length && (!this.d || this.j) && 20 < this.size) && (null == this.J && (this.J = new ja(this.h() / 2, '#FFFFFF', !0, '#000000')), b = this.J, b.H(this.h() / 2), b.u(~~(this.size * this.size / 100)), c = Math.ceil(10 * g) / 10, b.$(c), d = b.G(), f = ~~(d.width / c), l = ~~(d.height / c), e.drawImage(d, ~~this.x - ~~(f / 2), a - ~~(l / 2), f, l)); e.restore() } } }; ja.prototype = { w: '', N: '#000000', P: !1, s: '#000000', r: 16, m: null, O: null, g: !1, v: 1, H: function (a) { this.r != a && (this.r = a, this.g = !0) }, $: function (a) { this.v != a && (this.v = a, this.g = !0) }, setStrokeColor: function (a) { this.s != a && (this.s = a, this.g = !0) }, u: function (a) { a != this.w && (this.w = a, this.g = !0) }, G: function () { null == this.m && (this.m = document.createElement('canvas'), this.O = this.m.getContext('2d')); if (this.g) { this.g = !1; var a = this.m, b = this.O, c = this.w, d = this.v, e = this.r, l = e + 'px Ubuntu'; b.font = l; var k = ~~(0.2 * e); a.width = (b.measureText(c).width + 6) * d; a.height = (e + k) * d; b.font = l; b.scale(d, d); b.globalAlpha = 1; b.lineWidth = 3; b.strokeStyle = this.s; b.fillStyle = this.N; this.P && b.strokeText(c, 3, e - k / 2); b.fillText(c, 3, e - k / 2) } return this.m } }; Date.now || (Date.now = function () { return (new Date).getTime() }); var Ua = { ca: function (a) { function b(a, b, c, d, e) { this.x = a; this.y = b; this.f = c; this.c = d; this.depth = e; this.items = [ ]; this.b = [ ] } var c = a.da || 2, d = a.ea || 4; b.prototype = { x: 0, y: 0, f: 0, c: 0, depth: 0, items: null, b: null, B: function (a) { for (var b = 0; b < this.items.length; ++b) { var c = this.items[b]; if (c.x >= a.x && c.y >= a.y && c.x < a.x + a.f && c.y < a.y + a.c) return !0 } if (0 != this.b.length) { var d = this; return this.V(a, function (b) { return d.b[b].B(a) }) } return !1 }, t: function (a, b) { for (var c = 0; c < this.items.length; ++c) b(this.items[c]); if (0 != this.b.length) { var d = this; this.V(a, function (c) { d.b[c].t(a, b) }) } }, i: function (a) { 0 != this.b.length ? this.b[this.U(a)].i(a) : this.items.length >= c && this.depth < d ? (this.aa(), this.b[this.U(a)].i(a)) : this.items.push(a) }, U: function (a) { return a.x < this.x + this.f / 2 ? a.y < this.y + this.c / 2 ? 0 : 2 : a.y < this.y + this.c / 2 ? 1 : 3 }, V: function (a, b) { return a.x < this.x + this.f / 2 && (a.y < this.y + this.c / 2 && b(0) || a.y >= this.y + this.c / 2 && b(2)) || a.x >= this.x + this.f / 2 && (a.y < this.y + this.c / 2 && b(1) || a.y >= this.y + this.c / 2 && b(3)) ? !0 : !1 }, aa: function () { var a = this.depth + 1, c = this.f / 2, d = this.c / 2; this.b.push(new b(this.x, this.y, c, d, a)); this.b.push(new b(this.x + c, this.y, c, d, a)); this.b.push(new b(this.x, this.y + d, c, d, a)); this.b.push(new b(this.x + c, this.y + d, c, d, a)); a = this.items; this.items = [ ]; for (c = 0; c < a.length; c++) this.i(a[c]) }, clear: function () { for (var a = 0; a < this.b.length; a++) this.b[a].clear(); this.items.length = 0; this.b.length = 0 } }; var e = { x: 0, y: 0, f: 0, c: 0 }; return { root: new b(a.X, a.Y, a.fa - a.X, a.ga - a.Y, 0), i: function (a) { this.root.i(a) }, t: function (a, b) { this.root.t(a, b) }, ia: function (a, b, c, d, f) { e.x = a; e.y = b; e.f = c; e.c = d; this.root.t(e, f) }, B: function (a) { return this.root.B(a) }, clear: function () { this.root.clear() } } } }; h.onload = Sa } }) (window, window.jQuery);
alperen23230
It's a basic game that written with Swift and SpriteKit Framework.
eliamyro
An iOS Color Switch clone game
A clone of the mobile game Color Switch made with Unity. Quick and small side project made for practice
AAAAA747
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <!-- 微信搜索公众号『 程序员鱼皮 』,学习编程技术,发现更多好玩的项目! --> <title>合成大西瓜</title> <!--http://www.html5rocks.com/en/mobile/mobifying/--> <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1, minimum-scale=1,maximum-scale=1" /> <!--https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html--> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> <meta name="format-detection" content="telephone=no"> <!-- force webkit on 360 --> <meta name="renderer" content="webkit" /> <meta name="force-rendering" content="webkit" /> <!-- force edge on IE --> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="msapplication-tap-highlight" content="no"> <!-- force full screen on some browser --> <meta name="full-screen" content="yes" /> <meta name="x5-fullscreen" content="true" /> <meta name="360-fullscreen" content="true" /> <!-- force screen orientation on some browser --> <meta name="screen-orientation" content="" /> <meta name="x5-orientation" content=""> <!--fix fireball/issues/3568 --> <!--<meta name="browsermode" content="application">--> <meta name="x5-page-mode" content="app"> <!--<link rel="apple-touch-icon" href=".png" />--> <!--<link rel="apple-touch-icon-precomposed" href=".png" />--> <!-- <script> pushHistory(); window.addEventListener("popstate", function(e) { }, false); function pushHistory() { var state = { title: "", url: window.location.href }; window.history.pushState(state, state.title, state.url); } </script> --> <!-- <script type="text/javascript"> var ua = navigator.userAgent.toLowerCase(); //获取判断用的对象 //判断是否是微信下访问 if (ua.match(/MicroMessenger/i) == "micromessenger") { // if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) { location.href = "https://mp.weixin.qq.com/s/m0U0L-vnD0Gu8aPJ2vcPoA"; // } } </script>--> <link rel="stylesheet" type="text/css" href="style-mobile.css" /> </head> <body style="margin: 0; background: #ddd;" align="center"> <div style="align:center;display: none"><img src="res/share.jpg" width="10%" /></div> <div id="canvasDiv" style="width:100%;height:100%;"> <canvas id="GameCanvas" oncontextmenu="event.preventDefault()" tabindex="0"></canvas> <video id="contentElement" style="display:none;position: absolute;top:0px;left: 0px;"> <source src="http://rmcdn.2mdn.net/Demo/vast_inspector/android.mp4"></source> <source src="http://rmcdn.2mdn.net/Demo/vast_inspector/android.webm"></source> </video> <div id="block-Box" style="display:block;width:100%;height:100%;"></div> </div> <div id="adContainer" style="display:none;position: absolute;top:0px;left: 0px;width:100%;height:100%;z-index:999;"></div> <div id="loadingText" style="width:100%;display: none;text-align:center;position:absolute;top:45%;z-index:2;font-size:20px;color:#f99f0a"> loading......0% </div> <div id="splash"> <!-- <div class="progress-bar stripes"> --> <!-- <span style="width: 0%"></span> --> <!-- </div> --> </div> <div id="loadingImg" style="top:45%;width: 100%;position:absolute; "> <img src="res/loading.gif" width="7%" height="7%" /> </div> <script type="text/javascript" src="//imasdk.googleapis.com/js/sdkloader/ima3.js"></script> <script type="text/javascript" src="ads.js"></script> <script src="src/settings.js" charset="utf-8"></script> <script type="text/javascript"> var preloader; var adCompleteFlag = false; var resCompleteFlag = false; var adEndComplete = false; var resEndComplete = false; judgeLanTitle(); function judgeLanTitle() { // console.log("window.navigator.language",window.navigator.language); if (window.navigator.language == "zh-CN" || window.navigator.language == "zh-cn") { document.title = "小游戏:合成大西瓜"; } else if (window.navigator.language == "zh-TW") { document.title = "小遊戲:合成大西瓜"; } else if (window.navigator.language == "zh-HK") { document.title = "小遊戲:合成大西瓜"; } else if (window.navigator.language == "ko-KR") { document.title = "작은 놀이:큰 수박 을 합성 하 다"; } else if (window.navigator.language == "ja-JP") { document.title = "ミニゲーム:合成スイカ"; } else if (window.navigator.language == "th-TH") { document.title = "เกมเล็กๆ:แตงโมสังเคราะห์"; } else { document.title = "Little game:Synthetic watermelon"; } } var loadintT = document.getElementById("loadingText"); var loadintGif = document.getElementById("loadingImg") setTimeout(function() { loadintGif.remove(); loadintT.style.display = "" updateLabView(0.1); }, 1 * 1000) window.timer = null; window.tempSeconds = 1; window.loadData = {}; loadData.completedCount = 0; loadData.totalCount = 0; onload(); function onload() { var winHeight = document.documentElement.clientHeight; document.getElementById("canvasDiv").style.height = winHeight + "px"; }; window.onload = function() { document.getElementById("block-Box").style.display = "none"; } function updateLabView(t) { if (timer != null) { clearInterval(timer); } timer = setInterval(function() { tempSeconds++; actualTotal(); var loadintT = document.getElementById("loadingText") if (!loadintT) { return; } loadintT.innerHTML = 'loading......' + parseInt(tempSeconds) + '%'; switch (tempSeconds) { case 20: updateLabView(0.2); break; case 40: updateLabView(0.3); break; case 60: updateLabView(0.4); break; case 96: updateLabView(5); break; case 97: updateLabView(10); break; case 98: updateLabView(50); break; case 99: updateLabView(100); break; default: if (tempSeconds >= 80 && tempSeconds < 96) { updateLabView(t + 0.1); } break; } if (tempSeconds > 100) { clearInterval(timer); tempSeconds = 100 loadintT.innerHTML = 'loading......' + parseInt(tempSeconds) + '%'; } }, t * 1000); } function actualTotal() { var percent = parseInt(100 * loadData.completedCount / loadData.totalCount); if (percent > tempSeconds && loadData.totalCount > 1) { tempSeconds = percent; } } /*setTimeout("ShowBannerAD()","2000");*/ </script> <script src="src/settings.js" charset="utf-8"></script> <script src="src/extraSettings.js" charset="utf-8"></script> <script src="main.js" charset="utf-8"></script> <script> window.adsbygoogle = window.adsbygoogle || []; const adBreak = function(o) { adsbygoogle.push(o); } </script> <script type="text/javascript"> (function() { // open web debugger console if (typeof VConsole !== 'undefined') { window.vConsole = new VConsole(); } var splash = document.getElementById('splash'); splash.style.display = 'block'; console.log("indexlTextTTTT"); var cocos2d = document.createElement('script'); cocos2d.async = true; cocos2d.src = window._CCSettings.debug ? 'cocos2d-js.js' : 'cocos2d-js-min.js'; var engineLoaded = function() { document.body.removeChild(cocos2d); cocos2d.removeEventListener('load', engineLoaded, false); window.boot(); }; cocos2d.addEventListener('load', engineLoaded, false); document.body.appendChild(cocos2d); })(); </script> </body>