Web Updates
4
www/assets/css/style.min.css
vendored
Normal file
BIN
www/assets/img/favicon.ico
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
www/assets/img/minimal_linux_live.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
www/assets/img/minimal_linux_live_javascript_emulator.png
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
www/assets/img/screen1.png
Normal file
After Width: | Height: | Size: 9.0 KiB |
BIN
www/assets/img/screen2.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
www/assets/img/screen3.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
www/assets/img/screen4.png
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
www/assets/img/screen5.png
Normal file
After Width: | Height: | Size: 9.9 KiB |
BIN
www/assets/img/screen6.png
Normal file
After Width: | Height: | Size: 12 KiB |
427
www/css/normalize.css
vendored
@ -1,427 +0,0 @@
|
||||
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
||||
|
||||
/**
|
||||
* 1. Set default font family to sans-serif.
|
||||
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
||||
* user zoom.
|
||||
*/
|
||||
|
||||
html {
|
||||
font-family: sans-serif; /* 1 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default margin.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* HTML5 display definitions
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Correct `block` display not defined for any HTML5 element in IE 8/9.
|
||||
* Correct `block` display not defined for `details` or `summary` in IE 10/11
|
||||
* and Firefox.
|
||||
* Correct `block` display not defined for `main` in IE 11.
|
||||
*/
|
||||
|
||||
article,
|
||||
aside,
|
||||
details,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
header,
|
||||
hgroup,
|
||||
main,
|
||||
menu,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `inline-block` display not defined in IE 8/9.
|
||||
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
progress,
|
||||
video {
|
||||
display: inline-block; /* 1 */
|
||||
vertical-align: baseline; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent modern browsers from displaying `audio` without controls.
|
||||
* Remove excess height in iOS 5 devices.
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `[hidden]` styling not present in IE 8/9/10.
|
||||
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
||||
*/
|
||||
|
||||
[hidden],
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Links
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the gray background color from active links in IE 10.
|
||||
*/
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Improve readability when focused and also mouse hovered in all browsers.
|
||||
*/
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* Text-level semantics
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: 1px dotted;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in Safari and Chrome.
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address variable `h1` font-size and margin within `section` and `article`
|
||||
* contexts in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9.
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent and variable font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
||||
*/
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
/* Embedded content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove border when inside `a` element in IE 8/9/10.
|
||||
*/
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct overflow not hidden in IE 9/10/11.
|
||||
*/
|
||||
|
||||
svg:not(:root) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address margin not present in IE 8/9 and Safari.
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 1em 40px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address differences between Firefox and other browsers.
|
||||
*/
|
||||
|
||||
hr {
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contain overflow in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address odd `em`-unit font size rendering in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: monospace, monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
||||
* styling of `select`, unless a `border` property is set.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 1. Correct color not being inherited.
|
||||
* Known issue: affects color of disabled elements.
|
||||
* 2. Correct font properties not being inherited.
|
||||
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
color: inherit; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
margin: 0; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
button {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
||||
* All other form control elements do not inherit `text-transform` values.
|
||||
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
||||
* Correct `select` style inheritance in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
||||
* and `video` controls.
|
||||
* 2. Correct inability to style clickable `input` types in iOS.
|
||||
* 3. Improve usability and consistency of cursor style between image-type
|
||||
* `input` and others.
|
||||
*/
|
||||
|
||||
button,
|
||||
html input[type="button"], /* 1 */
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
-webkit-appearance: button; /* 2 */
|
||||
cursor: pointer; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Re-set default cursor for disabled elements.
|
||||
*/
|
||||
|
||||
button[disabled],
|
||||
html input[disabled] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and border in Firefox 4+.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||
* the UA stylesheet.
|
||||
*/
|
||||
|
||||
input {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
/**
|
||||
* It's recommended that you don't attempt to style these elements.
|
||||
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
||||
*
|
||||
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
||||
* 2. Remove excess padding in IE 8/9/10.
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
||||
* `font-size` values of the `input`, it causes the cursor style of the
|
||||
* decrement button to change from `default` to `text`.
|
||||
*/
|
||||
|
||||
input[type="number"]::-webkit-inner-spin-button,
|
||||
input[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
||||
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
||||
* (include `-moz` to future-proof).
|
||||
*/
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box; /* 2 */
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
||||
* Safari (but not Chrome) clips the cancel button when the search input has
|
||||
* padding (and `textfield` appearance).
|
||||
*/
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button,
|
||||
input[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define consistent border, margin, and padding.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
||||
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default vertical scrollbar in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Don't inherit the `font-weight` (applied by a rule above).
|
||||
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
||||
*/
|
||||
|
||||
optgroup {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Tables
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove most spacing between table cells.
|
||||
*/
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
padding: 0;
|
||||
}
|
420
www/css/skeleton.css
vendored
@ -1,420 +0,0 @@
|
||||
/*
|
||||
* Skeleton V2.0.4
|
||||
* Copyright 2014, Dave Gamache
|
||||
* www.getskeleton.com
|
||||
* Free to use under the MIT license.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
* 12/29/2014
|
||||
*/
|
||||
|
||||
|
||||
/* Table of contents
|
||||
––––––––––––––––––––––––––––––––––––––––––––––––––
|
||||
- Grid
|
||||
- Base Styles
|
||||
- Typography
|
||||
- Links
|
||||
- Buttons
|
||||
- Forms
|
||||
- Lists
|
||||
- Code
|
||||
- Tables
|
||||
- Spacing
|
||||
- Utilities
|
||||
- Clearing
|
||||
- Media Queries
|
||||
*/
|
||||
|
||||
|
||||
/* Grid
|
||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||
.container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 960px;
|
||||
margin: 0 auto;
|
||||
padding: 0 20px;
|
||||
box-sizing: border-box; }
|
||||
.column,
|
||||
.columns {
|
||||
width: 100%;
|
||||
float: left;
|
||||
box-sizing: border-box; }
|
||||
|
||||
/* For devices larger than 400px */
|
||||
@media (min-width: 400px) {
|
||||
.container {
|
||||
width: 85%;
|
||||
padding: 0; }
|
||||
}
|
||||
|
||||
/* For devices larger than 550px */
|
||||
@media (min-width: 550px) {
|
||||
.container {
|
||||
width: 80%; }
|
||||
.column,
|
||||
.columns {
|
||||
margin-left: 4%; }
|
||||
.column:first-child,
|
||||
.columns:first-child {
|
||||
margin-left: 0; }
|
||||
|
||||
.one.column,
|
||||
.one.columns { width: 4.66666666667%; }
|
||||
.two.columns { width: 13.3333333333%; }
|
||||
.three.columns { width: 22%; }
|
||||
.four.columns { width: 30.6666666667%; }
|
||||
.five.columns { width: 39.3333333333%; }
|
||||
.six.columns { width: 48%; }
|
||||
.seven.columns { width: 56.6666666667%; }
|
||||
.eight.columns { width: 65.3333333333%; }
|
||||
.nine.columns { width: 74.0%; }
|
||||
.ten.columns { width: 82.6666666667%; }
|
||||
.eleven.columns { width: 91.3333333333%; }
|
||||
.twelve.columns { width: 100%; margin-left: 0; }
|
||||
|
||||
.one-third.column { width: 30.6666666667%; }
|
||||
.two-thirds.column { width: 65.3333333333%; }
|
||||
|
||||
.one-half.column { width: 48%; }
|
||||
|
||||
/* Offsets */
|
||||
.offset-by-one.column,
|
||||
.offset-by-one.columns { margin-left: 8.66666666667%; }
|
||||
.offset-by-two.column,
|
||||
.offset-by-two.columns { margin-left: 17.3333333333%; }
|
||||
.offset-by-three.column,
|
||||
.offset-by-three.columns { margin-left: 26%; }
|
||||
.offset-by-four.column,
|
||||
.offset-by-four.columns { margin-left: 34.6666666667%; }
|
||||
.offset-by-five.column,
|
||||
.offset-by-five.columns { margin-left: 43.3333333333%; }
|
||||
.offset-by-six.column,
|
||||
.offset-by-six.columns { margin-left: 52%; }
|
||||
.offset-by-seven.column,
|
||||
.offset-by-seven.columns { margin-left: 60.6666666667%; }
|
||||
.offset-by-eight.column,
|
||||
.offset-by-eight.columns { margin-left: 69.3333333333%; }
|
||||
.offset-by-nine.column,
|
||||
.offset-by-nine.columns { margin-left: 78.0%; }
|
||||
.offset-by-ten.column,
|
||||
.offset-by-ten.columns { margin-left: 86.6666666667%; }
|
||||
.offset-by-eleven.column,
|
||||
.offset-by-eleven.columns { margin-left: 95.3333333333%; }
|
||||
|
||||
.offset-by-one-third.column,
|
||||
.offset-by-one-third.columns { margin-left: 34.6666666667%; }
|
||||
.offset-by-two-thirds.column,
|
||||
.offset-by-two-thirds.columns { margin-left: 69.3333333333%; }
|
||||
|
||||
.offset-by-one-half.column,
|
||||
.offset-by-one-half.columns { margin-left: 52%; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* Base Styles
|
||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||
/* NOTE
|
||||
html is set to 62.5% so that all the REM measurements throughout Skeleton
|
||||
are based on 10px sizing. So basically 1.5rem = 15px :) */
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
overflow: -moz-scrollbars-vertical;
|
||||
overflow-y: scroll; }
|
||||
body {
|
||||
font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
|
||||
line-height: 1.6;
|
||||
font-weight: 400;
|
||||
font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
color: #222; }
|
||||
|
||||
|
||||
/* Typography
|
||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
font-weight: 300; }
|
||||
h1 { font-size: 4.0rem; line-height: 1.2; letter-spacing: -.1rem;}
|
||||
h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; }
|
||||
h3 { font-size: 3.0rem; line-height: 1.3; letter-spacing: -.1rem; }
|
||||
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; margin-top: 0rem;}
|
||||
h5 { font-size: 1.8rem; line-height: 1.5; letter-spacing: -.05rem; }
|
||||
h6 { font-size: 1.5rem; line-height: 1.6; letter-spacing: 0; }
|
||||
|
||||
/* Larger than phablet */
|
||||
@media (min-width: 550px) {
|
||||
h1 { font-size: 5.0rem; }
|
||||
h2 { font-size: 4.2rem; }
|
||||
h3 { font-size: 3.6rem; }
|
||||
h4 { font-size: 3.0rem; }
|
||||
h5 { font-size: 2.4rem; }
|
||||
h6 { font-size: 1.5rem; }
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 0; }
|
||||
|
||||
|
||||
/* Links
|
||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||
a {
|
||||
color: #1EAEDB; }
|
||||
a:hover {
|
||||
color: #0FA0CE; }
|
||||
|
||||
|
||||
/* Buttons
|
||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||
.button,
|
||||
button,
|
||||
input[type="submit"],
|
||||
input[type="reset"],
|
||||
input[type="button"] {
|
||||
display: inline-block;
|
||||
height: 26px;
|
||||
padding: 0 20px;
|
||||
color: #555;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
line-height: 26px;
|
||||
letter-spacing: .1rem;
|
||||
text-transform: none;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
background-color: transparent;
|
||||
border-radius: 10px;
|
||||
border: 1px solid #bbb;
|
||||
cursor: pointer;
|
||||
box-sizing: border-box; }
|
||||
.button:hover,
|
||||
button:hover,
|
||||
input[type="submit"]:hover,
|
||||
input[type="reset"]:hover,
|
||||
input[type="button"]:hover,
|
||||
.button:focus,
|
||||
button:focus,
|
||||
input[type="submit"]:focus,
|
||||
input[type="reset"]:focus,
|
||||
input[type="button"]:focus {
|
||||
color: #333;
|
||||
border-color: #888;
|
||||
outline: 0; }
|
||||
.button.button-primary,
|
||||
button.button-primary,
|
||||
input[type="submit"].button-primary,
|
||||
input[type="reset"].button-primary,
|
||||
input[type="button"].button-primary {
|
||||
color: #FFF;
|
||||
background-color: #33C3F0;
|
||||
border-color: #33C3F0; }
|
||||
.button.button-primary:hover,
|
||||
button.button-primary:hover,
|
||||
input[type="submit"].button-primary:hover,
|
||||
input[type="reset"].button-primary:hover,
|
||||
input[type="button"].button-primary:hover,
|
||||
.button.button-primary:focus,
|
||||
button.button-primary:focus,
|
||||
input[type="submit"].button-primary:focus,
|
||||
input[type="reset"].button-primary:focus,
|
||||
input[type="button"].button-primary:focus {
|
||||
color: #FFF;
|
||||
background-color: #1EAEDB;
|
||||
border-color: #1EAEDB; }
|
||||
|
||||
|
||||
/* Forms
|
||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||
input[type="email"],
|
||||
input[type="number"],
|
||||
input[type="search"],
|
||||
input[type="text"],
|
||||
input[type="tel"],
|
||||
input[type="url"],
|
||||
input[type="password"],
|
||||
textarea,
|
||||
select {
|
||||
height: 38px;
|
||||
padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
|
||||
background-color: #fff;
|
||||
border: 1px solid #D1D1D1;
|
||||
border-radius: 4px;
|
||||
box-shadow: none;
|
||||
box-sizing: border-box; }
|
||||
/* Removes awkward default styles on some inputs for iOS */
|
||||
input[type="email"],
|
||||
input[type="number"],
|
||||
input[type="search"],
|
||||
input[type="text"],
|
||||
input[type="tel"],
|
||||
input[type="url"],
|
||||
input[type="password"],
|
||||
textarea {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none; }
|
||||
textarea {
|
||||
min-height: 65px;
|
||||
padding-top: 6px;
|
||||
padding-bottom: 6px; }
|
||||
input[type="email"]:focus,
|
||||
input[type="number"]:focus,
|
||||
input[type="search"]:focus,
|
||||
input[type="text"]:focus,
|
||||
input[type="tel"]:focus,
|
||||
input[type="url"]:focus,
|
||||
input[type="password"]:focus,
|
||||
textarea:focus,
|
||||
select:focus {
|
||||
border: 1px solid #33C3F0;
|
||||
outline: 0; }
|
||||
label,
|
||||
legend {
|
||||
display: block;
|
||||
margin-bottom: .5rem;
|
||||
font-weight: 600; }
|
||||
fieldset {
|
||||
padding: 0;
|
||||
border-width: 0; }
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
display: inline; }
|
||||
label > .label-body {
|
||||
display: inline-block;
|
||||
margin-left: .5rem;
|
||||
font-weight: normal; }
|
||||
|
||||
|
||||
/* Lists
|
||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||
ul {
|
||||
list-style: circle inside; }
|
||||
ol {
|
||||
list-style: decimal inside; }
|
||||
ol, ul {
|
||||
padding-left: 10px;
|
||||
margin-top: 0; }
|
||||
ul ul,
|
||||
ul ol,
|
||||
ol ol,
|
||||
ol ul {
|
||||
margin: 1.5rem 0 1.5rem 3rem;
|
||||
font-size: 90%; }
|
||||
li {
|
||||
margin-bottom: 1rem; }
|
||||
|
||||
|
||||
/* Code
|
||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||
code {
|
||||
padding: .2rem .5rem;
|
||||
margin: 0 .2rem;
|
||||
font-size: 90%;
|
||||
white-space: nowrap;
|
||||
background: #F1F1F1;
|
||||
border: 1px solid #E1E1E1;
|
||||
border-radius: 4px; }
|
||||
pre > code {
|
||||
display: block;
|
||||
padding: 1rem 1.5rem;
|
||||
white-space: pre; }
|
||||
|
||||
|
||||
/* Tables
|
||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||
th,
|
||||
td {
|
||||
padding: 12px 15px;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid #E1E1E1; }
|
||||
th:first-child,
|
||||
td:first-child {
|
||||
padding-left: 0; }
|
||||
th:last-child,
|
||||
td:last-child {
|
||||
padding-right: 0; }
|
||||
|
||||
|
||||
/* Spacing
|
||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||
button,
|
||||
.button {
|
||||
margin-bottom: 1rem; }
|
||||
input,
|
||||
textarea,
|
||||
select,
|
||||
fieldset {
|
||||
margin-bottom: 1.5rem; }
|
||||
pre,
|
||||
blockquote,
|
||||
dl,
|
||||
figure,
|
||||
table,
|
||||
p,
|
||||
ul,
|
||||
ol,
|
||||
form {
|
||||
margin-bottom: 2.5rem; }
|
||||
|
||||
|
||||
/* Utilities
|
||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||
.u-full-width {
|
||||
width: 100%;
|
||||
box-sizing: border-box; }
|
||||
.u-max-full-width {
|
||||
max-width: 100%;
|
||||
box-sizing: border-box; }
|
||||
.u-pull-right {
|
||||
float: right; }
|
||||
.u-pull-left {
|
||||
float: left; }
|
||||
|
||||
|
||||
/* Misc
|
||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||
hr {
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
border-width: 0;
|
||||
border-top: 1px solid #E1E1E1; }
|
||||
|
||||
|
||||
/* Clearing
|
||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||
|
||||
/* Self Clearing Goodness */
|
||||
.container:after,
|
||||
.row:after,
|
||||
.u-cf {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both; }
|
||||
|
||||
|
||||
/* Media Queries
|
||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||
/*
|
||||
Note: The best way to structure the use of media queries is to create the queries
|
||||
near the relevant code. For example, if you wanted to change the styles for buttons
|
||||
on small devices, paste the mobile query code up in the buttons section and style it
|
||||
there.
|
||||
*/
|
||||
|
||||
|
||||
/* Larger than mobile */
|
||||
@media (min-width: 400px) {}
|
||||
|
||||
/* Larger than phablet (also point when grid becomes active) */
|
||||
@media (min-width: 550px) {}
|
||||
|
||||
/* Larger than tablet */
|
||||
@media (min-width: 750px) {}
|
||||
|
||||
/* Larger than desktop */
|
||||
@media (min-width: 1000px) {}
|
||||
|
||||
/* Larger than Desktop HD */
|
||||
@media (min-width: 1200px) {}
|
@ -1,37 +1,55 @@
|
||||
<!doctype html>
|
||||
<title>Minimal Linux Live - PC emulator</title>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="description" content="Minimal Linux Live">
|
||||
<meta name="keywords" content="minimal minimalistic tiny linux live tutorial howto kernel busybox cd usb iso image"/>
|
||||
<meta name="author" content="Ivan Davidov - davidov (dot) i [at] gmail {dot} com">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<script src="libv86.js"></script>
|
||||
<script>
|
||||
"use strict";
|
||||
window.onload = function()
|
||||
{
|
||||
var image_name = "minimal_linux_live_03-Apr-2016_32-bit.iso";
|
||||
var cdrom_full = "../download/" + image_name;
|
||||
var emulator = window.emulator = new V86Starter({
|
||||
memory_size: 64 * 1024 * 1024,
|
||||
vga_memory_size: 8 * 1024 * 1024,
|
||||
screen_container: document.getElementById("screen_container"),
|
||||
bios: {
|
||||
url: "seabios.bin",
|
||||
},
|
||||
vga_bios: {
|
||||
url: "vgabios.bin",
|
||||
},
|
||||
cdrom: {
|
||||
url: cdrom_full,
|
||||
},
|
||||
autostart: true,
|
||||
});
|
||||
}
|
||||
</script>
|
||||
<title>Minimal Linux Live - PC emulator</title>
|
||||
|
||||
<link rel="icon" type="image/x-icon" href="../assets/img/favicon.ico" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="title" style="white-space: pre; font: 20px monospace;">
|
||||
Minimal Linux Live (version 03-Apr-2016)
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
||||
<div id="title" style="white-space: pre; font: 20px monospace;"> Minimal Linux Live (version 03-Apr-2016)</div>
|
||||
<br />
|
||||
<div id="screen_container">
|
||||
<div style="white-space: pre; font: 20px monospace; line-height: 22px"></div>
|
||||
<canvas style="display: none"></canvas>
|
||||
</div>
|
||||
<div id="title" style="white-space: pre; font: 12px monospace;">
|
||||
This is JavaScript based PC emulator which works entirely in your browser and some OS features may not behave properly in it.
|
||||
|
||||
<div style="white-space: pre; font: 12px monospace;">
|
||||
This is JavaScript based PC emulator which works entirely in your browser and some OS features may not behave
|
||||
properly in it.
|
||||
</div>
|
||||
|
||||
<script src="libv86.min.js"></script>
|
||||
<script>
|
||||
"use strict";
|
||||
window.onload = function () {
|
||||
var image_name = "minimal_linux_live_03-Apr-2016_32-bit.iso";
|
||||
var cdrom_full = "../download/" + image_name;
|
||||
var emulator = window.emulator = new V86Starter({
|
||||
memory_size: 64 * 1024 * 1024,
|
||||
vga_memory_size: 8 * 1024 * 1024,
|
||||
screen_container: document.getElementById("screen_container"),
|
||||
bios: {
|
||||
url: "seabios.bin"
|
||||
},
|
||||
vga_bios: {
|
||||
url: "vgabios.bin"
|
||||
},
|
||||
cdrom: {
|
||||
url: cdrom_full
|
||||
},
|
||||
autostart: true
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -1,396 +0,0 @@
|
||||
;(function(){'use strict';var m;"undefined"===typeof window||window.requestAnimationFrame||(window.requestAnimationFrame=window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame);
|
||||
function aa(a,c){function d(a){a=a.toString(16);return"#"+Array(7-a.length).join("0")+a}function e(){for(var a=0;a<zc;a++)Ab[a]&&(Af.f(a),Ab[a]=0);this.pb()}function g(){this.I.send("screen-fill-buffer");this.pb()}function h(a,c,g){c=""+(1===c?"":" scaleX("+c+")")+(1===g?"":" scaleY("+g+")");a.style.webkitTransform=a.style.MozTransform=c}console.assert(a,"1st argument must be a DOM container");for(var k=a.getElementsByTagName("canvas")[0],q=k.getContext("2d"),t=k.nextElementSibling||k.previousElementSibling,
|
||||
y=document.createElement("div"),z,B,Q,Z,ab=1,kb=1,Ac,Ab,ee=!1,Za,lb,zc,Af=this,Bf=new Uint16Array([199,252,233,226,228,224,229,231,234,235,232,239,238,236,196,197,201,230,198,244,246,242,251,249,255,214,220,162,163,165,8359,402,225,237,243,250,241,209,170,186,191,8976,172,189,188,161,171,187,9617,9618,9619,9474,9508,9569,9570,9558,9557,9571,9553,9559,9565,9564,9563,9488,9492,9524,9516,9500,9472,9532,9566,9567,9562,9556,9577,9574,9568,9552,9580,9575,9576,9572,9573,9561,9560,9554,9555,9579,9578,9496,
|
||||
9484,9608,9604,9612,9616,9600,945,223,915,960,931,963,181,964,934,920,937,948,8734,966,949,8745,8801,177,8805,8804,8992,8993,247,8776,176,8729,183,8730,8319,178,9632,160]),Cf=new Uint16Array([32,9786,9787,9829,9830,9827,9824,8226,9688,9675,9689,9794,9792,9834,9835,9788,9658,9668,8597,8252,182,167,9644,8616,8593,8595,8594,8592,8735,8596,9650,9660]),fe=[],Bc,bb=0;256>bb;bb++)127<bb?Bc=Bf[bb-128]:32>bb?Bc=Cf[bb]:Bc=bb,fe[bb]=String.fromCharCode(Bc);q.imageSmoothingEnabled=!1;q.mozImageSmoothingEnabled=
|
||||
!1;y.style.position="absolute";y.style.backgroundColor="#ccc";y.style.width="7px";y.style.display="inline-block";t.style.display="block";k.style.display="none";this.I=c;c.register("screen-set-mode",function(a){this.Pg(a)},this);c.register("screen-fill-buffer-end",function(a){this.Vg(a[0],a[1])},this);c.register("screen-put-char",function(a){this.zg(a[0],a[1],a[2],a[3],a[4])},this);c.register("screen-update-cursor",function(a){this.md(a[0],a[1])},this);c.register("screen-update-cursor-scanline",function(a){this.nd(a[0],
|
||||
a[1])},this);c.register("screen-set-size-text",function(a){this.lc(a[0],a[1])},this);c.register("screen-set-size-graphical",function(a){this.gd(a[0],a[1])},this);this.ab=function(){this.lc(80,25);this.pb()};this.l=function(){try{window.open(k.toDataURL())}catch(a){}};this.zg=function(a,c,g,d,e){a<zc&&c<lb&&(c=3*(a*lb+c),Za[c]=g,Za[c+1]=d,Za[c+2]=e,Ab[a]=1)};this.pb=function(){requestAnimationFrame(ee?g:e)};e=e.bind(this);g=g.bind(this);this.Qa=function(){};this.Pg=function(a){(ee=a)?(t.style.display=
|
||||
"none",k.style.display="block"):(t.style.display="block",k.style.display="none")};this.lc=function(a,c){if(a!==lb||c!==zc){Ab=new Int8Array(c);Za=new Int32Array(a*c*3);lb=a;for(zc=c;t.childNodes.length>c;)t.removeChild(t.firstChild);for(;t.childNodes.length<c;)t.appendChild(document.createElement("div"));for(var g=0;g<c;g++)this.f(g)}};this.gd=function(a,c){k.style.display="block";k.width=a;k.height=c;z=q.createImageData(a,c);new Uint8Array(z.data.buffer);B=new Int32Array(z.data.buffer);Ac=a;this.I.send("screen-tell-buffer",
|
||||
[B],[B.buffer])};this.b=function(a,c){ab=a;kb=c;h(k,ab,kb);h(t,ab,kb)};this.b(ab,kb);this.nd=function(a,c){a&32?y.style.display="none":(y.style.display="inline",y.style.height=Math.min(15,c-a)+"px",y.style.marginTop=Math.min(15,a)+"px")};this.md=function(a,c){if(a!==Q||c!==Z)Ab[a]=1,Ab[Q]=1,Q=a,Z=c};this.f=function(a){var c=3*a*lb,g,e,h,k,q,z;g=t.childNodes[a];for(h=document.createDocumentFragment();g.firstChild;)g.removeChild(g.firstChild);for(var B=0;B<lb;){e=document.createElement("span");k=Za[c+
|
||||
1];q=Za[c+2];e.style.backgroundColor=d(k);e.style.color=d(q);for(z="";B<lb&&Za[c+1]===k&&Za[c+2]===q;)if(z+=fe[Za[c]],B++,c+=3,a===Q)if(B===Z)break;else if(B===Z+1){h.appendChild(y);break}e.textContent=z;h.appendChild(e)}g.appendChild(h)};this.Vg=function(a,c){if(!(c<a)){var g=a/Ac|0;q.putImageData(z,0,0,0,g,Ac,(c/Ac|0)-g+1)}};this.ab()};function ba(a,c){this.f=a;this.I=c;this.ca=function(){};this.D=9;this.K=1;this.B=new Uint8Array([6,0,104,111,115,116,57,112]);this.v="9P2000.L";this.l=this.m=8192;this.ha=new Uint8Array(2*this.l);this.Dd=0;this.b=[]}ba.prototype.za=function(){var a=[];a[0]=this.D;a[1]=this.K;a[2]=this.B;a[3]=this.v;a[4]=this.m;a[5]=this.l;a[6]=this.ha;a[7]=this.Dd;a[8]=this.b.map(function(a){return[a.W,a.type,a.uid]});return a};
|
||||
ba.prototype.Ka=function(a){this.D=a[0];this.K=a[1];this.B=a[2];this.v=a[3];this.m=a[4];this.l=a[5];this.ha=a[6];this.Dd=a[7];this.b=a[8].map(function(a){return{W:a[0],type:a[1],uid:a[2]}})};function ca(a,c,d,e){da(["w","b","h"],[e+7,c+1,d],a.ha,0);a.Dd=e+7}function ea(a,c,d){d=da(["w"],[d],a.ha,7);ca(a,6,c,d)}
|
||||
function fa(a,c,d){var e=ga(["w","b","h"],d),g=e[1],h=e[2];switch(g){case 8:d=a.f.D;var k=[16914839];k[1]=a.m;k[2]=Math.floor(274877906944/k[1]);k[3]=k[2]-Math.floor(d/k[1]);k[4]=k[2]-Math.floor(d/k[1]);k[5]=a.f.b.length;k[6]=1048576;k[7]=0;k[8]=256;d=da("wwddddddw".split(""),k,a.ha,7);ca(a,g,h,d);a.ca(c);break;case 112:case 12:var k=ga(["w","w"],d),q=k[0],e=k[1],t=ha(a.f,a.b[q].W);k[0]=t.Ba;k[1]=a.l-24;da(["Q","w"],k,a.ha,7);ca(a,g,h,17);d=ia(a.f,a.b[q].W);ja(a.f,a.b[q].W,function(){k[0]=t.Ba;k[1]=
|
||||
this.l-24;da(["Q","w"],k,this.ha,7);ca(this,g,h,17);this.ca(c)}.bind(a));break;case 70:var k=ga(["w","w","s"],d),y=k[0],q=k[1];d=k[2];var t=ka(a.f),e=ha(a.f,a.b[q].W),z=a.f.f[a.b[q].W];t.mode=e.mode;t.size=e.size;t.hd=e.hd;for(var B=a.f.f[a.f.b.length]=new Uint8Array(t.size),e=0;e<t.size;e++)B[e]=z[e];t.name=d;t.la=a.b[y].W;la(a.f,t);ca(a,g,h,0);a.ca(c);break;case 16:k=ga(["w","s","s","w"],d);q=k[0];d=k[1];y=k[3];d=ma(a.f,d,a.b[q].W,k[2]);t=ha(a.f,d);t.uid=a.b[q].uid;t.Na=y;da(["Q"],[t.Ba],a.ha,7);
|
||||
ca(a,g,h,13);a.ca(c);break;case 18:k=ga("wswwww".split(""),d);q=k[0];d=k[1];e=k[2];z=k[3];B=k[4];y=k[5];d=na(a.f,d,a.b[q].W,z,B);t=ha(a.f,d);t.mode=e;t.uid=a.b[q].uid;t.Na=y;da(["Q"],[t.Ba],a.ha,7);ca(a,g,h,13);a.ca(c);break;case 22:k=ga(["w"],d);q=k[0];t=ha(a.f,a.b[q].W);d=da(["s"],[t.hd],a.ha,7);ca(a,g,h,d);a.ca(c);break;case 72:k=ga(["w","s","w","w"],d);q=k[0];d=k[1];e=k[2];y=k[3];d=oa(a.f,d,a.b[q].W);t=ha(a.f,d);t.mode=e|pa;t.uid=a.b[q].uid;t.Na=y;da(["Q"],[t.Ba],a.ha,7);ca(a,g,h,13);a.ca(c);
|
||||
break;case 14:k=ga(["w","s","w","w","w"],d);q=k[0];d=k[1];e=k[3];y=k[4];d=qa(a.f,d,a.b[q].W);a.b[q].W=d;a.b[q].type=1;t=ha(a.f,d);t.uid=a.b[q].uid;t.Na=y;t.mode=e;da(["Q","w"],[t.Ba,a.l-24],a.ha,7);ca(a,g,h,17);a.ca(c);break;case 52:da(["w"],[0],a.ha,7);ca(a,g,h,1);a.ca(c);break;case 24:k=ga(["w","d"],d);q=k[0];t=ha(a.f,a.b[q].W);k[0]|=4096;k[0]=k[1];k[1]=t.Ba;k[2]=t.mode;k[3]=t.uid;k[4]=t.Na;k[5]=1;k[6]=t.ze<<8|t.Ae;k[7]=t.size;k[8]=a.m;k[9]=Math.floor(t.size/512+1);k[10]=t.Pc;k[11]=0;k[12]=t.bd;
|
||||
k[13]=0;k[14]=t.Pd;k[15]=0;k[16]=0;k[17]=0;k[18]=0;k[19]=0;da("dQwwwddddddddddddddd".split(""),k,a.ha,7);ca(a,g,h,153);a.ca(c);break;case 26:k=ga("wwwwwddddd".split(""),d);q=k[0];t=ha(a.f,a.b[q].W);k[1]&1&&(t.mode=k[2]);k[1]&2&&(t.uid=k[3]);k[1]&4&&(t.Na=k[4]);k[1]&128&&(t.Pc=k[6]);k[1]&256&&(t.Pc=k[8]);k[1]&16&&(t.Pc=Math.floor((new Date).getTime()/1E3));k[1]&32&&(t.bd=Math.floor((new Date).getTime()/1E3));k[1]&64&&(t.Pd=Math.floor((new Date).getTime()/1E3));k[1]&8&&ra(a.f,a.b[q].W,k[5]);ca(a,g,
|
||||
h,0);a.ca(c);break;case 50:k=ga(["w","d"],d);q=k[0];ca(a,g,h,0);a.ca(c);break;case 40:case 116:var k=ga(["w","d","w"],d),q=k[0],Q=k[1],Z=k[2],t=ha(a.f,a.b[q].W);if(2==a.b[q].type){t.ta.length<Q+Z&&(Z=t.ta.length-Q);for(e=0;e<Z;e++)a.ha[11+e]=t.ta[Q+e];da(["w"],[Z],a.ha,7);ca(a,g,h,4+Z);a.ca(c)}else{var ab=a.f.b[a.b[q].W];a.I.send("9p-read-start");ia(a.f,a.b[q].W);ja(a.f,a.b[q].W,function(){this.I.send("9p-read-end",[ab.name,Z]);t.size<Q+Z&&(Z=t.size-Q);var a=this.f.f[this.b[q].W];if(a)for(var d=0;d<
|
||||
Z;d++)this.ha[11+d]=a[Q+d];da(["w"],[Z],this.ha,7);ca(this,g,h,4+Z);this.ca(c)}.bind(a))}break;case 118:k=ga(["w","d","w"],d);q=k[0];Q=k[1];Z=k[2];sa(a.f,a.b[q].W,Q,Z,d);ab=a.f.b[a.b[q].W];a.I.send("9p-write-end",[ab.name,Z]);da(["w"],[Z],a.ha,7);ca(a,g,h,4);a.ca(c);break;case 74:k=ga(["w","s","w","s"],d);d=ta(a.f,a.b[k[0]].W,k[1],a.b[k[2]].W,k[3]);if(0==d){ea(a,h,2);a.ca(c);break}ca(a,g,h,0);a.ca(c);break;case 76:k=ga(["w","s","w"],d);e=k[0];d=k[1];q=ua(a.f,a.b[e].W,d);if(-1==q){ea(a,h,2);a.ca(c);
|
||||
break}d=va(a.f,q);if(!d){ea(a,h,39);a.ca(c);break}ca(a,q,h,0);a.ca(c);break;case 100:d=ga(["w","s"],d);a.l=d[0];d=da(["w","s"],[a.l,a.v],a.ha,7);ca(a,g,h,d);a.ca(c);break;case 104:k=ga(["w","w","s","s","w"],d);q=k[0];a.b[q]={W:0,type:1,uid:k[4]};t=ha(a.f,a.b[q].W);da(["Q"],[t.Ba],a.ha,7);ca(a,g,h,13);a.ca(c);break;case 108:k=ga(["h"],d);ca(a,g,h,0);a.ca(c);break;case 110:k=ga(["w","w","h"],d);q=k[0];y=k[1];z=k[2];if(0==z){a.b[y]={W:a.b[q].W,type:1,uid:a.b[q].uid};da(["h"],[0],a.ha,7);ca(a,g,h,2);
|
||||
a.ca(c);break}B=[];for(e=0;e<z;e++)B.push("s");B=ga(B,d);d=a.b[q].W;for(var Q=9,kb=0,e=0;e<z;e++){d=ua(a.f,d,B[e]);if(-1==d)break;Q+=da(["Q"],[a.f.b[d].Ba],a.ha,Q);kb++;a.b[y]={W:d,type:1,uid:a.b[q].uid}}da(["h"],[kb],a.ha,7);ca(a,g,h,Q-7);a.ca(c);break;case 120:k=ga(["w"],d);a.b[k[0]]&&0<=a.b[k[0]].W&&(wa(a.f,a.b[k[0]].W),a.b[k[0]].W=-1,a.b[k[0]].type=-1);ca(a,g,h,0);a.ca(c);break;case 32:ea(a,h,524);a.ca(c);break;case 30:k=ga(["w","w","s"],d),q=k[0],e=k[1],d=k[2],a.b[e]={W:a.b[q].W,type:-1,uid:a.b[q].uid},
|
||||
y=0,"security.capability"==d&&(y=xa(a.f,a.b[q].W),a.b[e].type=2),da(["d"],[y],a.ha,7),ca(a,g,h,8),a.ca(c)}};function ya(a){this.b=[];this.memory=a;for(var c=0;65536>c;c++)this.b[c]={aa:this.tf,ga:this.rf,Ie:this.sf,ka:this.Td,Jc:this.Td,pc:this.Td,ya:void 0};for(var d=a.size,c=0;c<<17<d;c++)a.l[c]=a.m[c]=void 0,a.v[c]=a.B[c]=void 0;za(this,d,4294967296-d,function(){return 255},function(){},function(){return-1},function(){})}m=ya.prototype;m.tf=function(){return 255};m.rf=function(){return 65535};m.sf=function(){return-1};m.Td=function(){};
|
||||
function n(a,c,d,e,g,h){e&&(a.b[c].aa=e);g&&(a.b[c].ga=g);h&&(a.b[c].Ie=h);a.b[c].ya=d}function p(a,c,d,e,g,h){e&&(a.b[c].ka=e);g&&(a.b[c].Jc=g);h&&(a.b[c].pc=h);a.b[c].ya=d}m.Ke=function(a,c,d,e,g,h){function k(){return d.call(this)|e.call(this)<<8}function q(){return g.call(this)|h.call(this)<<8}function t(){return d.call(this)|e.call(this)<<8|g.call(this)<<16|h.call(this)<<24}g&&h?(n(this,a,c,d,k,t),n(this,a+1,c,e),n(this,a+2,c,g,q),n(this,a+3,c,h)):(n(this,a,c,d,k),n(this,a+1,c,e))};
|
||||
m.fd=function(a,c,d,e,g,h){function k(a){d.call(this,a&255);e.call(this,a>>8&255)}function q(a){g.call(this,a&255);h.call(this,a>>8&255)}function t(a){d.call(this,a&255);e.call(this,a>>8&255);g.call(this,a>>16&255);h.call(this,a>>>24)}g&&h?(p(this,a,c,d,k,t),p(this,a+1,c,e),p(this,a+2,c,g,q),p(this,a+3,c,h)):(p(this,a,c,d,k),p(this,a+1,c,e))};function Aa(a,c,d){c>>>=0;d=c+(d>>>0);if(d>=a.memory.size)return!0;for(c&=-131072;c<d;){if(a.memory.f[c>>17])return!0;c+=131072}return!1}
|
||||
m.Jf=function(a){var c=this.memory.l[a>>>17];return c(a)|c(a+1)<<8|c(a+2)<<16|c(a+3)<<24};m.Kf=function(a,c){var d=this.memory.m[a>>>17];d(a,c&255);d(a+1,c>>8&255);d(a+2,c>>16&255);d(a+3,c>>>24)};function za(a,c,d,e,g,h,k){h||(h=a.Jf.bind(a));k||(k=a.Kf.bind(a));for(c>>>=17;0<d;c++)a.memory.f[c]=1,a.memory.l[c]=e,a.memory.m[c]=g,a.memory.v[c]=h,a.memory.B[c]=k,d-=131072}function Ba(a,c,d){a=a.b[c];a.ka.call(a.ya,d)}function Ca(a,c,d){a=a.b[c];a.Jc.call(a.ya,d)}
|
||||
function Da(a,c,d){a=a.b[c];a.pc.call(a.ya,d)}function Ea(a,c){var d=a.b[c];return d.aa.call(d.ya)}function Fa(a,c){var d=a.b[c];return d.ga.call(d.ya)}function Ga(a,c){var d=a.b[c];return d.Ie.call(d.ya)};function Ha(a){this.m=!0;this.l=this.f=!1;this.u=new r;this.I=a;a.register("cpu-init",this.ab,this);a.register("cpu-run",this.D,this);a.register("cpu-stop",this.K,this);a.register("cpu-restart",this.B,this);this.b=function(){console.assert(!1)};this.v=function(){console.assert(!1)}}Ha.prototype.D=function(){this.f||(this.I.send("emulator-started"),this.b())};
|
||||
function Ia(a){if(a.l)a.l=a.f=!1,a.I.send("emulator-stopped");else{a.f=!0;var c;a:{var d=a.u;try{if(d.wc){c=d.V();break a}d.ke()}catch(e){d.le(e)}c=0}0>=c?a.b():a.v(c)}}Ha.prototype.K=function(){this.f&&(this.l=!0)};Ha.prototype.B=function(){this.u.reset();Ja(this.u)};Ha.prototype.ab=function(a){this.m&&(this.m=!1,Ka(this));this.u.ab(a,this.I);this.I.send("emulator-ready")};
|
||||
function Ka(a){"undefined"!==typeof setImmediate?a.b=function(){setImmediate(function(){Ia(a)})}:"undefined"!==typeof window&&"undefined"!==typeof postMessage?(window.addEventListener("message",function(c){c.source===window&&43605===c.data&&Ia(a)},!1),a.b=function(){window.postMessage(43605,"*")}):a.b=function(){setTimeout(function(){Ia(a)},0)};a.v="undefined"!==typeof document&&"boolean"===typeof document.hidden?function(c){4>c||document.hidden?this.b():setTimeout(function(){Ia(a)},c)}:function(c){setTimeout(function(){Ia(a)},
|
||||
c)}}var La="object"===typeof performance&&performance.now?function(){return performance.now()}:Date.now;if("undefined"!==typeof window&&window.crypto&&window.crypto.getRandomValues)var Ma=new Int32Array(1),Na=function(){return!0},Oa=function(){window.crypto.getRandomValues(Ma);return Ma[0]};else Na=function(){return!1},Oa=function(){console.assert(!1)};var Pa,Qa,Ra,Sa,Ta,Ua;function Va(a){for(a=(a=(a?a.toString(16):"").toUpperCase())?a+"":"";1>a.length;)a="0"+a;return"0x"+a}function Wa(a){this.buffer=a;this.byteLength=a.byteLength;this.onload=void 0}Wa.prototype.load=function(){this.onload&&this.onload({buffer:this.buffer})};Wa.prototype.get=function(a,c,d){d(new Uint8Array(this.buffer,a,c))};Wa.prototype.set=function(a,c,d){(new Uint8Array(this.buffer,a,c.byteLength)).set(c);d()};
|
||||
(function(){for(var a=new Int8Array(256),c=0,d=-2;256>c;c++)c&c-1||d++,a[c]=d;Pa=function(c){return a[c]};Qa=function(c){var g=c>>>16;if(g){var d=g>>>8;return d?24+a[d]:16+a[g]}return(d=c>>>8)?8+a[d]:a[c]}})();function Xa(a){var c=new Uint8Array(a),d,e;this.length=0;this.push=function(g){this.length!==a&&this.length++;c[e]=g;e=e+1&a-1};this.shift=function(){if(this.length){var g=c[d];d=d+1&a-1;this.length--;return g}return-1};this.clear=function(){this.length=e=d=0};this.clear()};function Ya(a){this.u=a;this.f=new Float64Array(8);this.R=new Float32Array(1);new Uint8Array(this.R.buffer);this.ma=new Int32Array(this.R.buffer);this.K=new Float64Array(1);this.v=new Uint8Array(this.K.buffer);this.B=new Int32Array(this.K.buffer);this.xa=new Uint8Array(this.f.buffer);new Int32Array(this.f.buffer);this.m=255;this.b=0;this.D=895;this.P=this.T=this.Z=this.ja=this.V=this.l=0;this.pa=NaN;this.sa=new Float64Array([1,Math.log(10)/Math.LN2,Math.LOG2E,Math.PI,Math.log(2)/Math.LN10,Math.LN2,
|
||||
0])}m=Ya.prototype;m.za=function(){var a=[];a[0]=this.f;a[1]=this.m;a[2]=this.b;a[3]=this.D;a[4]=this.P;a[5]=this.V;a[6]=this.ja;a[7]=this.T;a[8]=this.P;a[9]=this.Z;return a};m.Ka=function(a){this.f.set(a[0]);this.m=a[1];this.b=a[2];this.D=a[3];this.P=a[4];this.V=a[5];this.ja=a[6];this.T=a[7];this.P=a[8];this.Z=a[9]};function $a(a){u(a.u)}function cb(a){a.l|=1}function db(a,c){var d=eb(a);a.l&=-18177;d>c||(a.l=c>d?a.l|256:d===c?a.l|16384:a.l|17664)}
|
||||
function fb(a,c){var d=a.f[a.b];a.u.o&=-70;a.u.g&=-70;d>c||(a.u.g=c>d?a.u.g|1:d===c?a.u.g|64:a.u.g|69)}function gb(a){a.D=895;a.l=0;a.V=0;a.T=0;a.Z=0;a.m=255;a.b=0}function hb(a,c){if(a.u.Ja){ib(a.u,c,26);jb(a.u,c,a.D);jb(a.u,c+4,a.l&-14337|a.b<<11);for(var d=0,e,g=0;8>g;g++)e=a.f[g],a.m>>g&1?d|=3<<(g<<1):0===e?d|=1<<(g<<1):isFinite(e)||(d|=2<<(g<<1));jb(a.u,c+8,d);v(a.u,c+12,a.V);jb(a.u,c+16,a.ja);jb(a.u,c+18,a.Z);v(a.u,c+20,a.T);jb(a.u,c+24,a.P)}else $a(a)}
|
||||
function mb(a,c){if(a.u.Ja){a.D=w(a.u,c);var d=w(a.u,c+4);a.l=d&-14337;a.b=d>>11&7;for(var d=w(a.u,c+8),e=a.m=0;8>e;e++)a.m|=d>>e&d>>e+1&1<<e;a.V=x(a.u,c+12);a.ja=w(a.u,c+16);a.Z=w(a.u,c+18);a.T=x(a.u,c+20);a.P=w(a.u,c+24)}else $a(a)}function nb(a,c){var d=a.D>>10&3;return 0===d?(d=Math.round(c),.5===d-c&&d%2&&d--,d):1===d||3===d&&0<c?Math.floor(c):Math.ceil(c)}function ob(a){return 0<a?Math.floor(a):Math.ceil(a)}
|
||||
m.push=function(a){this.b=this.b-1&7;this.m>>this.b&1?(this.l&=-513,this.m&=~(1<<this.b),this.f[this.b]=a):(this.l|=512,this.l|=65,this.f[this.b]=this.pa)};m.pop=function(){this.m|=1<<this.b;this.b=this.b+1&7};function pb(a,c){c=c+a.b&7;return a.m>>c&1?(a.l&=-513,a.l|=65,a.pa):a.f[c]}function eb(a){return a.m>>a.b&1?(a.l&=-513,a.l|=65,a.pa):a.f[a.b]}
|
||||
function qb(a,c){var d=w(a.u,c+8),e,g=x(a.u,c)>>>0,h=x(a.u,c+4)>>>0;e=d>>15;d&=-32769;if(0===d)return 0;if(!(32767>d))return a.v[7]=127|e<<7,a.v[6]=240|h>>30<<3&8,a.v[5]=0,a.v[4]=0,a.B[0]=0,a.K[0];g+=4294967296*h;e&&(g=-g);return g*Math.pow(2,d-16383-63)}
|
||||
function rb(a,c,d){a.K[0]=a.f[a.b+d&7];d=a.v[7]&128;var e=(a.v[7]&127)<<4|a.v[6]>>4,g,h;2047===e?(e=32767,g=0,h=2147483648|(a.B[1]&524288)<<11):0===e?h=g=0:(e+=15360,g=a.B[0]<<11,h=2147483648|(a.B[1]&1048575)<<11|a.B[0]>>>21);v(a.u,c,g);v(a.u,c+4,h);jb(a.u,c+8,d<<8|e)}function sb(a,c){var d=x(a.u,c),e=x(a.u,c+4);a.B[0]=d;a.B[1]=e;return a.K[0]}function tb(a,c){ib(a.u,c,8);a.K[0]=pb(a,0);v(a.u,c,a.B[0]);v(a.u,c+4,a.B[1])}function ub(a,c){a.ma[0]=x(a.u,c);return a.R[0]}
|
||||
m.sign=function(a){return this.xa[(this.b+a&7)<<3|7]>>7};function vb(a,c,d,e,g){this.I=g;0===e?(this.v=496,this.Bb=14,this.ec=240):1===e&&(this.v=368,this.Bb=15,this.ec=248);this.Jb=e;this.fb=this.v|516;this.u=a;this.memory=a.memory;this.buffer=c;this.K=d?2048:512;this.xa=d;this.V=this.ja=this.Z=this.B=0;this.buffer&&(this.B=this.buffer.byteLength/this.K,this.B!==(this.B|0)&&(this.B=Math.ceil(this.B)),d?(this.Z=1,this.ja=0):(this.Z=16,this.ja=63),a.b.Ca.Fa[57]=1,this.V=this.B/this.Z/this.ja,this.V!==(this.V|0)&&(this.V=Math.floor(this.V)));this.va={Le:0,
|
||||
Me:0,ee:0,fe:0,we:!1};this.Dc=[134,128,32,58,5,0,160,2,0,143,1,1,0,0,0,0,this.v&255|1,this.v>>8,0,0,this.fb&255|1,this.fb>>8,0,0,0,0,0,0,0,0,0,0,1,192,0,0,0,0,0,0,0,0,0,0,67,16,212,130,0,0,0,0,0,0,0,0,0,0,0,0,this.Bb,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.Cc=[{size:8},{size:4},!1,!1,{size:16}];wb(a.b.Bc,this);n(a.C,this.v|7,this,this.Je);
|
||||
n(a.C,this.fb|2,this,this.Je);p(a.C,this.fb|2,this,this.Yg);this.gb=2;this.$d=255;this.b=0;this.D=new Uint8Array(65536);this.Uc=this.head=this.ua=this.da=this.P=this.T=this.m=this.$c=0;this.status=80;this.Ma=1;this.pa=this.ma=this.hb=0;this.l=new Uint8Array(0);this.Cb=0;this.La=-1;this.f=this.sa=0;n(a.C,this.v|0,this,this.Dg,this.Bg,this.Cg);n(a.C,this.v|1,this,this.Fg);n(a.C,this.v|2,this,this.Ag);n(a.C,this.v|3,this,this.Hg);n(a.C,this.v|4,this,function(){return this.da&255});n(a.C,this.v|5,this,
|
||||
function(){return this.ua&255});n(a.C,this.v|6,this,function(){return this.Uc});p(a.C,this.v|0,this,this.qc,this.Zg,this.$g);p(a.C,this.v|1,this,this.ah);p(a.C,this.v|2,this,this.Xg);p(a.C,this.v|3,this,this.bh);p(a.C,this.v|4,this,function(a){this.da=(this.da<<8|a)&65535});p(a.C,this.v|5,this,function(a){this.ua=(this.ua<<8|a)&65535});p(a.C,this.v|6,this,function(a){a&16||(this.Uc=a,this.$c=a>>6&1,this.head=a&15,this.$d=a)});p(a.C,this.v|7,this,this.$e);n(a.C,49156,this,void 0,void 0,this.kf);p(a.C,
|
||||
49156,this,void 0,void 0,this.of);n(a.C,49152,this,this.mf,void 0,this.lf);p(a.C,49152,this,this.qf,void 0,this.pf);n(a.C,49154,this,this.nf);p(a.C,49154,this,this.je);n(a.C,49160,this,function(){return 0});n(a.C,49162,this,function(){return 0})}m=vb.prototype;
|
||||
m.za=function(){var a=[];a[0]=this.gb;a[1]=this.$d;a[2]=this.b;a[3]=this.D;a[4]=this.$c;a[5]=this.m;a[6]=this.T;a[7]=this.P;a[8]=this.da;a[9]=this.head;a[10]=this.Uc;a[11]=this.status;a[12]=this.Ma;a[13]=this.hb;a[14]=this.ma;a[15]=this.pa;a[16]=this.l;a[17]=this.La;a[18]=this.sa;a[19]=this.f;a[20]=this.R;return a};
|
||||
m.Ka=function(a){this.gb=a[0];this.$d=a[1];this.b=a[2];this.D=a[3];this.$c=a[4];this.m=a[5];this.T=a[6];this.P=a[7];this.da=a[8];this.head=a[9];this.Uc=a[10];this.status=a[11];this.Ma=a[12];this.hb=a[13];this.ma=a[14];this.pa=a[15];this.l=a[16];this.La=a[17];this.sa=a[18];this.f=a[19];this.R=a[20]};function xb(a){a.xa?(a.status=81,a.m=1,a.P=1,a.T=1,a.da=20,a.ua=235):(a.status=81,a.m=1,a.P=1,a.T=1,a.da=0,a.ua=0)}function A(a){0===(a.gb&2)&&a.u.m(a.Bb)}
|
||||
m.$e=function(a){this.P=0;switch(a){case 0:A(this);this.status=80;break;case 8:this.b=0;yb(this,0);xb(this);A(this);break;case 16:A(this);break;case 39:A(this);zb(this,new Uint8Array([0,0,0,0,this.buffer.byteLength&255,this.buffer.byteLength>>8&255,this.buffer.byteLength>>16&255,this.buffer.byteLength>>24&255,0,0,0,0]));this.status=88;break;case 32:case 36:case 41:case 196:Bb(this,a);break;case 48:case 52:case 57:case 197:a:{if(48===a||197===a){a=this.m&255;var c=this.$c?Cb(this):Db(this);0===a&&
|
||||
(a=256)}else if(52===a||57===a)a=this.m,c=Eb(this),0===a&&(a=65536);else break a;var d=a*this.K,c=c*this.K;this.da+=a;c+d>this.buffer.byteLength?this.status=255:(this.status=88,Fb(this,d),this.hb=c,this.Cb=1);A(this)}break;case 144:A(this);this.P=257;this.status=80;break;case 145:A(this);break;case 160:this.xa&&(this.status=88,Fb(this,12),this.Cb=2,this.m=1,A(this));break;case 161:this.xa?(Gb(this),this.status=88,this.da=20,this.ua=235):this.status=80;A(this);break;case 198:this.Ma=this.m;A(this);
|
||||
break;case 200:Hb(this);break;case 202:Ib(this);break;case 225:A(this);break;case 236:if(this.xa)break;Gb(this);this.status=88;A(this);break;case 234:A(this);break;case 239:A(this);break;case 245:this.status=80;A(this);break;default:this.P=4}};function Jb(a){a.status=80;a.buffer.set(a.hb,a.l.subarray(0,a.ma),function(){A(this)}.bind(a));Kb(a,a.ma)}m.Je=function(){var a=this.status;0<=this.La&&(this.status=this.La,this.La=-1);return a};m.Yg=function(a){this.gb=a;a&4&&xb(this)};
|
||||
function Fb(a,c){c>a.l.length&&(a.l=new Uint8Array(c));a.ma=c;a.pa=0}function Lb(a,c){var d=(c[7]<<8|c[8])*a.K,e=(a.ua&255)<<8|a.da&255,g,h=(c[2]<<24|c[3]<<16|c[4]<<8|c[5])*a.K;e||(e=32768);g=Math.min(d,e&65280);a.da=g&255;a.ua=g>>8&255;A(a);h>=a.buffer.byteLength?(a.status=255,A(a)):(d=Math.min(d,a.buffer.byteLength-h),a.status=128,Mb(a),a.buffer.get(h,d,function(a){zb(this,a);this.status=88;this.da=g&255;this.ua=g>>8&255;this.b=0;A(this);Nb(this,d)}.bind(a)))}
|
||||
function Ob(a,c){var d=(c[7]<<8|c[8])*a.K,e=(c[2]<<24|c[3]<<16|c[4]<<8|c[5])*a.K;e>=a.buffer.byteLength?(a.status=255,A(a)):(d=Math.min(d,a.buffer.byteLength-e),a.status=128,Mb(a),a.buffer.get(e,d,function(a){var c=this.sa,e=0;do{var q=Pb(this.memory,c),t=this.memory.ga(c+4),y=this.memory.aa(c+7)&128;t||(t=65536);this.memory.b.set(a.subarray(e,e+t),q);e+=t;c+=8;if(e>this.buffer.byteLength)throw"too long";}while(!y);this.status=80;this.f&=-4;this.f|=4;A(this);Nb(this,d)}.bind(a)))}m.Dg=function(){return Qb(this)};
|
||||
m.Bg=function(){return Qb(this)|Qb(this)<<8};m.Cg=function(){return Qb(this)|Qb(this)<<8|Qb(this)<<16|Qb(this)<<24};m.Fg=function(){return this.P&255};m.Ag=function(){return this.m&255};m.Hg=function(){return this.T&255};function Qb(a){if(a.b<a.R){0!==(a.b+1)%(512*a.Ma)&&a.b+1!==a.R||A(a);a.da?a.da--:a.ua&&(a.ua--,a.da=255);if(!a.da&&!a.ua){var c=a.R-a.b-1;65536<=c?(a.ua=240,a.da=0):(a.ua=c>>8,a.da=c)}a.b+1>=a.R&&(a.status=80,a.m=a.m&-8|3,A(a));return a.D[a.b++]}a.b++;return 0}
|
||||
m.qc=function(a){if(!(this.pa>=this.ma)&&(this.l[this.pa++]=a,0===this.pa%(512*this.Ma)&&A(this),this.pa===this.ma))switch(this.Cb){case 1:Jb(this);break;case 2:this.m=this.m&-8|2;switch(this.l[0]){case 0:yb(this,0);this.b=0;this.status=80;A(this);break;case 3:yb(this,this.l[4]);this.status=88;this.D[0]=240;this.D[7]=8;this.b=0;this.da=8;this.ua=0;A(this);break;case 18:a=this.l[4]|this.l[3]<<8;yb(this,a);this.status=88;this.D.set([5,128,1,49,a-4,0,0,0,83,79,78,89,32,32,32,32,67,68,45,82,79,77,32,
|
||||
67,68,85,45,49,48,48,48,32,49,46,49,97]);this.b=0;A(this);break;case 30:yb(this,0);this.status=80;this.b=0;A(this);break;case 37:a=this.B-1;zb(this,new Uint8Array([a>>24&255,a>>16&255,a>>8&255,a&255,0,0,this.K>>8&255,this.K&255]));this.status=88;this.b=0;A(this);break;case 40:this.P&1?Ob(this,this.l):Lb(this,this.l);break;case 67:yb(this,this.l[8]|this.l[7]<<8);this.b=0;this.status=88;A(this);break;case 70:yb(this,this.l[8]|this.l[7]<<8);this.status=88;this.b=0;A(this);break;case 74:yb(this,this.l[8]|
|
||||
this.l[7]<<8);this.status=88;this.b=0;A(this);break;case 81:yb(this,0);this.status=80;this.b=0;A(this);break;case 26:yb(this,this.l[4]);this.status=88;this.b=0;A(this);break;case 90:yb(this,this.l[8]|this.l[7]<<8);this.status=88;this.b=0;A(this);break;case 189:yb(this,this.l[9]|this.l[8]<<8);this.D[5]=1;this.status=88;this.b=0;A(this);break;default:this.status=80}this.da=this.R;this.ua=this.R>>8;0===(this.status&128)&&this.b>=this.R&&(this.m|=1)}};m.Zg=function(a){this.qc(a&255);this.qc(a>>8&255)};
|
||||
m.$g=function(a){this.qc(a&255);this.qc(a>>8&255);this.qc(a>>16&255);this.qc(a>>24&255)};m.ah=function(a){this.P=(this.P<<8|a)&65535};m.Xg=function(a){this.m=(this.m<<8|a)&65535};m.bh=function(a){this.T=(this.T<<8|a)&65535};
|
||||
function Bb(a,c){if(32===c||196===c){var d=a.m&255,e=a.$c?Cb(a):Db(a);0===d&&(d=256)}else if(36===c||41===c)d=a.m,e=Eb(a),0===d&&(d=65536);else return;var g=d*a.K,e=e*a.K;a.da+=d;e+g>a.buffer.byteLength?(a.status=255,A(a)):(a.status=128,Mb(a),a.buffer.get(e,g,function(a){zb(this,a);this.status=88;this.b=0;A(this);Nb(this,g)}.bind(a)))}
|
||||
function Hb(a){var c=a.m&255,d=c*a.K,e=Cb(a)*a.K;a.da+=c;e+d>a.buffer.byteLength?(a.status=255,A(a)):(a.status=216,a.f|=1,Mb(a),a.buffer.get(e,d,function(a){var c=this.sa,e=0;do{var q=Pb(this.memory,c),t=this.memory.ga(c+4),y=this.memory.aa(c+7)&128;t||(t=65536);this.memory.b.set(a.subarray(e,e+t),q);e+=t;c+=8}while(!y);this.status=80;this.f&=-4;this.f|=4;A(this);Nb(this,d)}.bind(a)))}
|
||||
function Ib(a){var c=a.m&255,d=c*a.K,e=Cb(a)*a.K;a.da+=c;if(e+d>a.buffer.byteLength)a.status=255,A(a);else{a.status=216;a.f|=1;var c=a.sa,g=0,h=0,k=0;do{var q=Pb(a.memory,c),t=a.memory.ga(c+4),y=a.memory.aa(c+7)&128;t||(t=65536);a.buffer.set(e+k,a.memory.b.subarray(q,q+t),function(){h++;h===g&&(this.status=80,A(this),this.f&=-4,this.f|=4)}.bind(a));k+=t;c+=8;g++}while(!y);h===g&&(a.status=80,A(a),a.f&=-4,a.f|=4);Kb(a,d)}}
|
||||
function Db(a){return((a.da&255|a.ua<<8&65280)*a.Z+a.head)*a.ja+(a.T&255)-1}function Cb(a){return a.T&255|a.da<<8&65280|a.ua<<16&16711680|a.head<<24}function Eb(a){return(a.T&255|a.da<<8&65280|a.ua<<16&16711680|a.T>>8<<24&4278190080)>>>0}
|
||||
function Gb(a){a.b=0;if(a.Uc&16)yb(a,0);else{for(var c=0;512>c;c++)a.D[c]=0;zb(a,[64,a.xa?133:0,a.V,a.V>>8,0,0,a.Z,a.Z>>8,0,0,0,0,a.ja,a.ja>>8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,2,4,0,0,0,0,0,0,0,0,0,56,118,32,54,68,72,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,255,0,1,0,0,3,0,0,0,2,0,2,7,0,a.V,a.V>>8,a.Z,a.Z>>8,a.ja,0,a.B&255,a.B>>8&255,a.B>>16&255,a.B>>24&255,0,0,a.B&255,a.B>>8&255,a.B>>16&255,a.B>>24&255,0,0,0,4,
|
||||
0,0,30,0,30,0,30,0,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,126,0,0,0,0,0,0,116,0,64,0,64,0,116,0,64,0,0,0,0,0,0,0,0,0,0,1,96,0,0,0,0,0,0,0,0,0,0,0,0,a.B&255,a.B>>8&255,a.B>>16&255,a.B>>24&255]);a.R=512;16383<a.V&&(a.D[2]=a.D[108]=255,a.D[3]=a.D[109]=63)}}m.kf=function(){return this.sa};m.of=function(a){this.sa=a};m.nf=function(){return this.f};m.je=function(a){this.f&=~a};m.lf=function(){return 1|this.f<<16};m.mf=function(){return 1};m.pf=function(a){a&1&&A(this);this.je(a>>16&255)};
|
||||
m.qf=function(a){a&1&&A(this)};function yb(a,c){a.D.length<c&&(a.D=new Uint8Array(c+3&-4));for(var d=0;d<c;d++)a.D[d]=0;a.R=c}function zb(a,c){a.D.length<c.length&&(a.D=new Uint8Array(c.length+3&-4));a.D.set(c);a.R=c.length}function Mb(a){a.va.we=!0;a.I.send("ide-read-start")}function Nb(a,c){a.va.we=!1;var d=c/a.K|0;a.va.Le+=d;a.va.ee+=c;a.I.send("ide-read-end",[a.Jb,c,d])}function Kb(a,c){var d=c/a.K|0;a.va.Me+=d;a.va.fe+=c;a.I.send("ide-write-end",[a.Jb,c,d])};function Rb(a){this.Ya=new Uint8Array(4);this.hc=new Uint8Array(4);this.fc=new Uint8Array(4);this.gc=new Uint8Array(4);new Int32Array(this.Ya.buffer);this.Nf=new Int32Array(this.hc.buffer);this.Ce=new Int32Array(this.fc.buffer);this.De=new Int32Array(this.gc.buffer);this.Sd=Array(65536);this.de=Array(65536);a.C.fd(3324,this,function(a){this.hc[0]=a},function(a){this.hc[1]=a},function(a){this.hc[2]=a},function(a){this.hc[3]=a;var d=this.Ya[2]<<8|this.Ya[1];a=this.Ya[0]&252;var e=this.Sd[d],d=this.de[d];
|
||||
if(e){var g=this.Nf[0];if(16<=a&&40>a){var h=a-16>>2,k=d.Cc[h];e[a>>2]=k?-1===(g|3)?~(k.size-1):d.ge[h]:0}else e[a>>2]=g}});a.C.Ke(3324,this,function(){return this.fc[0]},function(){return this.fc[1]},function(){return this.fc[2]},function(){return this.fc[3]});a.C.Ke(3320,this,function(){return this.gc[0]},function(){return this.gc[1]},function(){return this.gc[2]},function(){return this.gc[3]});a.C.fd(3320,this,function(a){this.Ya[0]=a},function(a){this.Ya[1]=a},function(a){this.Ya[2]=a},function(a){this.Ya[3]=
|
||||
a;a=this.Ya[0]&252;var d=this.Sd[this.Ya[2]<<8|this.Ya[1]];void 0!==d?(this.De[0]=-2147483648,this.Ce[0]=a<d.byteLength?d[a>>2]:0):(this.Ce[0]=-1,this.De[0]=0)});wb(this,{ec:0,Dc:[134,128,55,18,0,0,0,0,2,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Cc:[]});wb(this,{ec:8,Dc:[134,128,0,112,7,0,0,2,0,0,1,6,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Cc:[]})}
|
||||
Rb.prototype.za=function(){var a=[];a[0]=this.Ya;a[1]=this.hc;a[2]=this.fc;a[3]=this.gc;return a};Rb.prototype.Ka=function(a){this.Ya.set(a[0]);this.hc.set(a[1]);this.fc.set(a[2]);this.gc.set(a[3])};function wb(a,c){var d=c.ec,e=new Int32Array((new Uint8Array(c.Dc)).buffer);a.Sd[d]=e;a.de[d]=c;c.ge=new Int32Array(6);c.ge.set(e.subarray(4,10))};function Sb(a,c){this.C=a.C;this.u=a;this.tc=a.b.tc;this.f=0;this.V=new Uint8Array(10);this.Z=0;this.v=null;this.b=new Uint8Array(10);this.D=this.B=this.m=0;this.pa=c;this.R=this.K=this.ma=this.Ma=this.La=this.xa=0;this.ja=1;this.l=0;if(c){this.D=c.byteLength;var d,e,g;if((d={160:{type:1,qb:40,ob:8,kb:1},180:{type:1,qb:40,ob:9,kb:1},200:{type:1,qb:40,ob:10,kb:1},320:{type:1,qb:40,ob:8,kb:2},360:{type:1,qb:40,ob:9,kb:2},400:{type:1,qb:40,ob:10,kb:2},720:{type:3,qb:80,ob:9,kb:2},1200:{type:2,qb:80,
|
||||
ob:15,kb:2},1440:{type:4,qb:80,ob:18,kb:2},1722:{type:5,qb:82,ob:21,kb:2},2880:{type:5,qb:80,ob:36,kb:2}}[this.D>>10])&&0===(this.D&1023))a.b.Ca.Fa[16]=d.type<<4,e=d.ob,g=d.kb,d=d.qb;else throw"Unknown floppy size: "+Va(c.byteLength);this.P=e;this.T=g;this.sa=d;n(this.C,1008,this,this.kg);n(this.C,1010,this,this.lg);n(this.C,1012,this,this.ng);n(this.C,1013,this,this.og);n(this.C,1015,this,this.qg);p(this.C,1010,this,this.mg);p(this.C,1013,this,this.pg)}else a.b.Ca.Fa[16]=64}m=Sb.prototype;
|
||||
m.za=function(){var a=[];a[0]=this.f;a[1]=this.V;a[2]=this.Z;a[4]=this.b;a[5]=this.m;a[6]=this.B;a[7]=this.D;a[8]=this.xa;a[9]=this.La;a[10]=this.Ma;a[11]=this.ma;a[12]=this.K;a[13]=this.R;a[14]=this.ja;a[15]=this.l;a[16]=this.P;a[17]=this.T;a[18]=this.sa;return a};
|
||||
m.Ka=function(a){this.f=a[0];this.V=a[1];this.Z=a[2];this.v=a[3];this.b=a[4];this.m=a[5];this.B=a[6];this.D=a[7];this.xa=a[8];this.La=a[9];this.Ma=a[10];this.ma=a[11];this.K=a[12];this.R=a[13];this.ja=a[14];this.l=a[15];this.P=a[16];this.T=a[17];this.sa=a[18]};m.kg=function(){return 0};m.ng=function(){var a=128;this.m<this.B&&(a|=80);0===(this.l&8)&&(a|=32);return a};m.qg=function(){return 0};m.og=function(){return this.m<this.B?this.b[this.m++]:255};
|
||||
m.pg=function(a){if(0<this.f)this.V[this.Z++]=a,this.f--,0===this.f&&this.v.call(this,this.V);else{switch(a){case 3:this.v=this.wf;this.f=2;break;case 4:this.v=this.df;this.f=1;break;case 5:case 197:this.v=function(a){Tb(this,!0,a)};this.f=8;break;case 230:this.v=function(a){Tb(this,!1,a)};this.f=8;break;case 7:this.v=this.cf;this.f=1;break;case 8:this.m=0;this.B=2;this.b[0]=32;this.b[1]=this.K;break;case 74:this.v=this.Gg;this.f=1;break;case 15:this.f=2;this.v=this.Re;break;case 14:this.b[0]=128,
|
||||
this.m=0,this.B=1,this.f=0}this.Z=0}};m.lg=function(){return this.l};m.mg=function(a){4===(a&4)&&0===(this.l&4)&&this.u.m(6);this.l=a};m.df=function(){this.m=0;this.B=1;this.b[0]=32};m.Re=function(a){this.K=a[1];this.R=a[0]>>2&1;this.l&8&&this.u.m(6)};m.cf=function(){this.l&8&&this.u.m(6)};function Tb(a,c,d){var e=d[2],g=d[1],h=d[3],k=((e+a.T*g)*a.P+h-1)*(128<<d[4]);c?Ub(a.tc,a.pa,k,a.done.bind(a,d,g,e,h)):Vb(a.tc,a.pa,k,a.done.bind(a,d,g,e,h))}
|
||||
m.done=function(a,c,d,e,g){g||(e++,e>this.P&&(e=1,d++,d>=this.T&&(d=0,c++)),this.K=c,this.R=d,this.ja=e,this.m=0,this.B=7,this.b[0]=d<<2|32,this.b[1]=0,this.b[2]=0,this.b[3]=c,this.b[4]=d,this.b[5]=e,this.b[6]=a[4],this.l&8&&this.u.m(6))};m.wf=function(){};m.Gg=function(){this.m=0;this.B=7;this.b[0]=0;this.b[1]=0;this.b[2]=0;this.b[3]=0;this.b[4]=0;this.b[5]=0;this.b[6]=0;this.l&8&&this.u.m(6)};function Wb(a,c){this.size=a;this.f=new Uint8Array(32768);this.l=[];this.m=[];this.v=[];this.B=[];var d=c?new ArrayBuffer(0):new ArrayBuffer(a);this.b=new Uint8Array(d);this.D=new Uint16Array(d);this.vb=new Int32Array(d)}m=Wb.prototype;m.za=function(){return[this.size,this.b]};m.Ka=function(a){this.size=a[0];this.b=a[1];this.D=new Uint16Array(this.b.buffer,this.b.byteOffset,this.b.length>>1);this.vb=new Int32Array(this.b.buffer,this.b.byteOffset,this.b.length>>2)};
|
||||
function Xb(a,c){var d=a.l[c>>>17];return d(c)|d(c+1|0)<<8}function Yb(a,c,d){a=a.m[c>>>17];a(c,d&255);a(c+1|0,d>>8&255)}m.aa=function(a){return this.f[a>>>17]?this.l[a>>>17](a):this.b[a]};m.ga=function(a){return this.f[a>>>17]?Xb(this,a):this.b[a]|this.b[a+1|0]<<8};function Zb(a,c){return a.f[c>>>16]?Xb(a,c<<1):a.D[c]}function Pb(a,c){return a.f[c>>>17]?a.v[c>>>17](c):a.b[c]|a.b[c+1|0]<<8|a.b[c+2|0]<<16|a.b[c+3|0]<<24}
|
||||
function $b(a,c){var d;a.f[c>>>15]?(d=c<<2,d=a.v[d>>>17](d)):d=a.vb[c];return d}m.ka=function(a,c){if(this.f[a>>>17])this.m[a>>>17](a,c);else this.b[a]=c};m.Jc=function(a,c){this.f[a>>>17]?Yb(this,a,c):(this.b[a]=c,this.b[a+1|0]=c>>8)};function ac(a,c,d){a.f[c>>>16]?Yb(a,c<<1,d):a.D[c]=d}m.pc=function(a,c){if(this.f[a>>>17])this.B[a>>>17](a,c);else this.b[a]=c,this.b[a+1|0]=c>>8,this.b[a+2|0]=c>>16,this.b[a+3|0]=c>>24};function bc(a,c,d){a.f[c>>>15]?(c=c<<2,a.B[c>>>17](c,d)):a.vb[c]=d};function cc(a){this.memory=a.memory;this.b=new Int32Array(4);this.f=new Int32Array(4);this.l=0;a=a.C;p(a,4,this,this.Ge.bind(this,4));p(a,5,this,this.Ge.bind(this,5));p(a,10,this,this.wg);p(a,11,this,this.xg);p(a,12,this,this.yg);p(a,129,this,this.vg)}m=cc.prototype;m.za=function(){return[this.b,this.f,this.l]};m.Ka=function(a){this.b=a[0];this.f=a[1];this.l=a[2]};m.Ge=function(a,c){if(8>a){var d=a>>1;a&1?this.f[d]=dc(this,this.f[d],c):this.b[d]=dc(this,this.b[d],c)}};m.wg=function(){};m.xg=function(){};
|
||||
m.yg=function(){this.l=0};m.vg=function(a){this.b[2]=this.b[2]&65535|a<<16};function Vb(a,c,d,e){var g=a.f[2]+1,h=a.b[2];if(d+g>c.byteLength)e(!0);else{var k=a.memory;a.b[2]+=g;c.get(d,g,function(a){k.b.set(a,h);e(!1)})}}function Ub(a,c,d,e){var g=a.f[2],h=a.b[2];d+g>c.byteLength?e(!0):(a.b[2]+=g,c.set(d,a.memory.b.subarray(h,g+1),function(){e(!1)}))}function dc(a,c,d){a.l^=1;return a.l?c&-256|d:c&-65281|d<<8};function ec(a){this.u=a;this.K=Date.now();this.f=new Uint8Array(4);this.l=new Uint8Array(4);this.B=new Uint8Array(4);this.D=new Uint8Array(4);this.m=new Uint8Array(4);this.v=new Uint16Array(3);this.ib=new Uint16Array(3);this.b=new Uint16Array(3);this.vd=0;n(a.C,97,this,function(){var a=La();return(66.66666666666667*a&1)<<4|(a-this.vd>=this.ib[2]/1193.1816666)<<5});n(a.C,64,this,function(){return fc(this,0)});n(a.C,65,this,function(){return fc(this,1)});n(a.C,66,this,function(){return fc(this,2)});
|
||||
p(a.C,64,this,function(a){gc(this,0,a)});p(a.C,65,this,function(a){gc(this,1,a)});p(a.C,66,this,function(a){gc(this,2,a)});p(a.C,67,this,this.P)}ec.prototype.za=function(){var a=[];a[0]=this.f;a[1]=this.l;a[2]=this.B;a[3]=this.D;a[4]=this.m;a[5]=this.v;a[6]=this.ib;a[7]=this.b;a[8]=this.vd;return a};ec.prototype.Ka=function(a){this.f=a[0];this.l=a[1];this.B=a[2];this.D=a[3];this.m=a[4];this.v=a[5];this.ib=a[6];this.b=a[7];this.vd=a[8]};
|
||||
ec.prototype.pb=function(a,c){var d,e;d=1193.1816666*(a-this.K)>>>0;if(!d)return 0;this.K+=d/1193.1816666;var g=100;if(!c&&this.l[0])if(d=this.b[0]-=d,0>=d)if(g=0,this.u.m(0),e=this.B[0],0===e)this.l[0]=0,this.b[0]=0;else{if(3===e||2===e)this.b[0]=this.ib[0]+d%this.ib[0]}else g=d/1193.1816666;return g};function fc(a,c){var d=a.m[c];if(d)return a.m[c]--,2===d?a.v[c]&255:a.v[c]>>8;d=a.f[c];3===a.B[c]&&(a.f[c]^=1);return d?a.b[c]&255:a.b[c]>>8}
|
||||
function gc(a,c,d){a.ib[c]=a.f[c]?a.ib[c]&-256|d:a.ib[c]&255|d<<8;3===a.D[c]&&a.f[c]||(a.ib[c]||(a.ib[c]=65535),a.b[c]=a.ib[c],a.l[c]=!0);3===a.D[c]&&(a.f[c]^=1)}ec.prototype.P=function(a){var c=a>>1&7,d=a>>6&3;a=a>>4&3;3!==d&&(0===a?(this.m[d]=2,this.v[d]=this.b[d]):(6<=c&&(c&=-5),this.f[d]=1===a?0:1,this.B[d]=c,this.D[d]=a,2===d&&(this.vd=La())))};function hc(a,c,d){this.I=c;this.Ea=d;this.l=0;this.Cb=14;this.Bb=15;this.V=80;this.Ma=25;this.m=this.rd=this.Nc=0;this.$b=!0;this.sb=!1;this.Ab=new Int32Array(256);this.Z=this.v=this.T=this.R=this.P=this.K=0;this.gb=80;this.Vb=!1;this.Ib=32;this.Id=this.ma=0;this.Dc=[222,16,32,10,7,0,0,0,162,0,0,3,0,0,128,0,8,0,0,224,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,1,0,0];this.ec=144;this.Cc=[];wb(a.b.Bc,this);this.va={Zd:!1,Jg:0,Kg:0,bf:0};this.pa=this.sa=this.D=
|
||||
0;this.B=-1;this.od=new Uint8Array(16);this.fb=-1;this.f=15;this.sd=0;this.La=-1;this.Kc=this.Jb=this.Lc=0;this.b=255;this.pd=0;this.Mc=this.qd=255;a=a.C;p(a,960,this,this.Sf);n(a,960,this,this.Ee,this.Rf);n(a,961,this,this.Fe);p(a,962,this,this.Tf);a.fd(964,this,this.Vf,this.Xf);n(a,964,this,this.Uf);n(a,965,this,this.Wf);a.fd(974,this,this.dg,this.fg);n(a,974,this,this.cg);n(a,975,this,this.eg);p(a,967,this,this.Yf);p(a,968,this,this.Zf);p(a,969,this,this.ag);n(a,969,this,this.$f);n(a,972,this,
|
||||
this.bg);a.fd(980,this,this.gg,this.ig);n(a,981,this,this.hg);n(a,986,this,this.jg);this.xa=-1;this.ja=0;p(a,462,this,void 0,this.Of);p(a,463,this,void 0,this.Qf);n(a,463,this,void 0,this.Pf);void 0===this.Ea||262144>this.Ea?this.Ea=262144:this.Ea&65535&&(this.Ea|=65535,this.Ea++);this.ia=new Uint8Array(this.Ea);this.Ha=this.Ea;this.Ga=0;this.Rd=void 0;c.register("screen-tell-buffer",function(a){this.Rd=a[0]},this);c.register("screen-fill-buffer",function(){if(this.sb&&this.Rd&&!(this.Ga<this.Ha)){var a=
|
||||
0,c=0;this.Vb?a=this.Ib:this.$b?a=8:(a=8,c=262144);var d=this.Rd,e=this.Ha,t=this.Ga;switch(a){case 32:for(var y=e>>2,z=(t>>2)+1,a=y;a<z;a++)t=this.Ne[a],d[a]=t<<16|t>>16&255|t&65280|4278190080;break;case 24:for(var y=e/3|0,z=(t/3|0)+1,B=3*y,a=y;B<t;a++){var Q=this.ia[B++],c=this.ia[B++],e=this.ia[B++];d[a]=Q<<16|c<<8|e|4278190080}break;case 16:y=e>>1;z=(t>>1)+1;for(a=y;a<z;a++)t=this.Rg[a],e=255*(t>>11)/31|0,c=255*(t>>5&63)/63|0,Q=255*(t&31)/31|0,d[a]=Q<<16|c<<8|e|4278190080;break;case 8:for(y=e-
|
||||
c,z=t-c+1,a=e;a<t;a++)e=this.Ab[this.ia[a]],d[a-c]=e&65280|e<<16|e>>16|4278190080}this.Ha=this.Ea;this.Ga=0;this.I.send("screen-fill-buffer-end",[y,z])}},this);this.Rg=new Uint16Array(this.ia.buffer);this.Ne=new Int32Array(this.ia.buffer);this.hb=new Uint8Array(this.ia.buffer,0,262144);this.Jd=new Uint8Array(this.ia.buffer,0,65536);this.Kd=new Uint8Array(this.ia.buffer,65536,65536);this.Ld=new Uint8Array(this.ia.buffer,131072,65536);this.Md=new Uint8Array(this.ia.buffer,196608,65536);var e=this;za(a,
|
||||
655360,131072,function(a){a-=655360;!e.sb||e.$b?(a|=e.ma,a=e.ia[a]):(a&=65535,e.K=e.Jd[a],e.P=e.Kd[a],e.R=e.Ld[a],e.T=e.Md[a],a=e.hb[e.Lc<<16|a]);return a},function(a,c){var d;d=a-655360;if(e.sb)if(e.$b){var q=d,q=q|e.ma;e.Ha=q<e.Ha?q:e.Ha;e.Ga=q>e.Ga?q:e.Ga;e.ia[q]=c}else{if(!(65535<d)){var t,y,z,B=e.Jb&3;0===B?q=t=y=z=c:2===B&&(e.f&1&&(q=e.K&~e.b|(c&1?255:0)&e.b),e.f&2&&(t=e.P&~e.b|(c&2?255:0)&e.b),e.f&4&&(y=e.R&~e.b|(c&4?255:0)&e.b),e.f&8&&(z=e.T&~e.b|(c&8?255:0)&e.b));if(0===B||2===B){switch(e.Kc&
|
||||
24){case 8:q&=e.K;t&=e.P;y&=e.R;z&=e.T;break;case 16:q|=e.K;t|=e.P;y|=e.R;z|=e.T;break;case 24:q^=e.K,t^=e.P,y^=e.R,z^=e.T}e.f&1&&(q=e.K&~e.b|q&e.b);e.f&2&&(t=e.P&~e.b|t&e.b);e.f&4&&(y=e.R&~e.b|y&e.b);e.f&8&&(z=e.T&~e.b|z&e.b)}else 1===B&&(q=e.K,t=e.P,y=e.R,z=e.T);e.f&1?e.Jd[d]=q:q=e.Jd[d];e.f&2?e.Kd[d]=t:t=e.Kd[d];e.f&4?e.Ld[d]=y:y=e.Ld[d];e.f&8?e.Md[d]=z:z=e.Md[d];if(!(d>=e.Nc*e.rd<<3))for(t<<=1,y<<=2,z<<=3,d=d<<3|7,B=d+262144,e.Ha=B-7<e.Ha?B-7:e.Ha,e.Ga=B>e.Ga?B:e.Ga,B=0;8>B;B++)e.ia[d+262144]=
|
||||
e.od[q>>B&1|t>>B&2|y>>B&4|z>>B&8],d--}}else q=d,98304>q||(y=(q-98304>>1)-e.m,t=y/e.V|0,y%=e.V,q&1?(d=c,z=e.hb[q&-2]):(z=c,d=e.hb[q|1]),e.I.send("screen-put-char",[t,y,z,e.Ab[d>>4&15],e.Ab[d&15]]),e.hb[q]=c)});za(a,3758096384,this.Ea,function(a){return e.ia[a&268435455]},function(a,c){var d;d=a&268435455;e.ia[d]=c;e.Ha=d<e.Ha?d:e.Ha;e.Ga=d>e.Ga?d:e.Ga},function(a){a&=268435455;return a&3?e.ia[a]|e.ia[a+1]<<8|e.ia[a+2]<<16|e.ia[a+3]<<24:e.Ne[a>>2]},function(a,c){var d;d=a&268435455;e.Ha=d<e.Ha?d:e.Ha;
|
||||
e.Ga=d+3>e.Ga?d+3:e.Ga;e.ia[d]=c;e.ia[d+1]=c>>8;e.ia[d+2]=c>>16;e.ia[d+3]=c>>24})}m=hc.prototype;
|
||||
m.za=function(){var a=[];a[0]=this.Ea;a[1]=this.l;a[2]=this.Cb;a[3]=this.Bb;a[4]=this.V;a[5]=this.Ma;a[6]=this.Nc;a[7]=this.rd;a[8]=this.m;a[9]=this.sb;a[10]=this.Ab;a[11]=this.K;a[12]=this.P;a[13]=this.R;a[14]=this.T;a[15]=this.v;a[16]=this.Z;a[17]=this.gb;a[18]=this.Vb;a[19]=this.Ib;a[20]=this.ma;a[21]=this.Id;a[22]=this.D;a[23]=this.sa;a[24]=this.pa;a[25]=this.od;a[26]=this.fb;a[27]=this.f;a[28]=this.sd;a[29]=this.La;a[30]=this.Lc;a[31]=this.Jb;a[32]=this.Kc;a[33]=this.b;a[34]=this.pd;a[35]=this.qd;
|
||||
a[36]=this.Mc;a[37]=this.xa;a[38]=this.ja;a[39]=this.ia;return a};
|
||||
m.Ka=function(a){this.Ea=a[0];this.l=a[1];this.Cb=a[2];this.Bb=a[3];this.V=a[4];this.Ma=a[5];this.Nc=a[6];this.rd=a[7];this.m=a[8];this.sb=a[9];this.Ab=a[10];this.K=a[11];this.P=a[12];this.R=a[13];this.T=a[14];this.v=a[15];this.Z=a[16];this.gb=a[17];this.Vb=a[18];this.Ib=a[19];this.ma=a[20];this.Id=a[21];this.D=a[22];this.sa=a[23];this.pa=a[24];this.od=a[25];this.fb=a[26];this.f=a[27];this.sd=a[28];this.La=a[29];this.Lc=a[30];this.Jb=a[31];this.Kc=a[32];this.b=a[33];this.pd=a[34];this.qd=a[35];this.Mc=
|
||||
a[36];this.xa=a[37];this.ja=a[38];this.ia.set(a[39]);this.I.send("screen-set-mode",this.sb);this.sb?this.gd(this.v,this.Z,this.Ib):(this.lc(this.V,this.Ma),this.nd(),this.md());ic(this)};m.md=function(){var a=(this.l-this.m)/this.V|0,c=(this.l-this.m)%this.V,a=Math.min(this.Ma-1,a);this.I.send("screen-update-cursor",[a,c])};
|
||||
function ic(a){if(a.sb)a.Ha=a.Ea,a.Ga=0;else for(var c=98304|a.m<<1,d,e,g=0;g<a.Ma;g++)for(var h=0;h<a.V;h++)d=a.hb[c],e=a.hb[c|1],a.I.send("screen-put-char",[g,h,d,a.Ab[e>>4&15],a.Ab[e&15]]),c+=2}m.Qa=function(){};m.lc=function(a,c){this.V=a;this.Ma=c;this.I.send("screen-set-size-text",[a,c])};m.gd=function(a,c,d){this.Nc=a;this.rd=c;this.va.bf=d;this.va.Zd=!0;this.va.Jg=a;this.va.Kg=c;this.I.send("screen-set-size-graphical",[a,c,d])};
|
||||
m.nd=function(){this.I.send("screen-update-cursor-scanline",[this.Cb,this.Bb])};function jc(a,c){var d=!1,e=0,g=0;switch(c){case 3:a.lc(a.gb,25);break;case 16:e=640;g=350;d=!0;a.$b=!1;break;case 18:e=640;g=480;d=!0;a.$b=!1;break;case 19:e=320,g=200,d=!0,a.$b=!0}a.I.send("screen-set-mode",d);(a.va.Zd=d)&&a.gd(e,g,8);a.sb=d}m.Sf=function(a){-1===this.B?this.B=a:(16>this.B&&(this.od[this.B]=a),this.B=-1)};m.Ee=function(){var a=this.B;this.B=-1;return a};
|
||||
m.Rf=function(){return this.Ee()&255|this.Fe()<<8&65280};m.Fe=function(){return this.B=-1};m.Tf=function(a){this.qd=a;103===a?jc(this,3):227===a?jc(this,18):99===a?jc(this,19):163===a?jc(this,16):jc(this,3)};m.Vf=function(a){this.fb=a};m.Uf=function(){return this.fb};m.Xf=function(a){switch(this.fb){case 2:this.f=a;break;case 4:this.sd=a}};m.Wf=function(){switch(this.fb){case 2:return this.f;case 4:return this.sd;case 6:return 18}return 0};m.Yf=function(a){this.pa=3*a};
|
||||
m.Zf=function(a){this.sa=3*a};m.ag=function(a){var c=this.sa/3|0,d=this.sa%3,e=this.Ab[c];a=255*a/63&255;this.Ab[c]=0===d?e&-16711681|a<<16:1===d?e&-65281|a<<8:e&-256|a;this.sa++};m.$f=function(){var a=this.pa%3,c=this.Ab[this.pa/3|0];this.pa++;return(c>>8*(2-a)&255)/255*63|0};m.bg=function(){return this.qd};m.dg=function(a){this.La=a};m.cg=function(){return this.La};m.fg=function(a){switch(this.La){case 3:this.Kc=a;break;case 4:this.Lc=a;break;case 5:this.Jb=a;break;case 8:this.b=a}};
|
||||
m.eg=function(){switch(this.La){case 3:return this.Kc;case 4:return this.Lc;case 5:return this.Jb;case 8:return this.b}return 0};m.gg=function(a){this.D=a};
|
||||
m.ig=function(a){switch(this.D){case 2:this.gb=a;break;case 9:this.pd=a;7===(a&31)?this.lc(this.gb,50):this.lc(this.gb,25);break;case 10:this.Cb=a;this.nd();break;case 11:this.Bb=a;this.nd();break;case 12:this.m=this.m&255|a<<8;ic(this);break;case 13:this.m=this.m&65280|a;ic(this);break;case 14:this.l=this.l&255|a<<8;this.md();break;case 15:this.l=this.l&65280|a,this.md()}};
|
||||
m.hg=function(){return 9===this.D?this.pd:10===this.D?this.Cb:11===this.D?this.Bb:14===this.D?this.l>>8:15===this.D?this.l&255:0};m.jg=function(){this.Mc^=8;this.B=-1;return this.Mc};m.Of=function(a){this.xa=a};
|
||||
m.Qf=function(a){switch(this.xa){case 1:this.v=a;2560<this.v&&(this.v=2560);break;case 2:this.Z=a;1600<this.Z&&(this.Z=1600);break;case 3:this.Ib=a;break;case 4:this.Vb=1===(a&1);this.ja=a;break;case 5:this.ma=a<<16;break;case 9:this.Id=this.v*(15===this.Ib?16:this.Ib)/8*a,ic(this)}!this.Vb||this.v&&this.Z||(this.Vb=!1);this.Vb&&4===this.xa&&(this.gd(this.v,this.Z,this.Ib),this.I.send("screen-set-mode",!0),this.$b=this.sb=!0);this.Vb||(this.ma=0)};m.Pf=function(){return kc(this,this.xa)};
|
||||
function kc(a,c){switch(c){case 0:return 45248;case 1:return a.ja&2?2560:a.v;case 2:return a.ja&2?1600:a.Z;case 3:return a.ja&2?32:a.Ib;case 4:return a.ja;case 5:return a.ma>>>16;case 6:return a.Nc;case 8:return 0;case 10:return a.Ea/65536|0}return 255};function lc(a,c){this.u=a;this.I=c;this.Wb=this.Nb=!1;this.Yc=!0;this.dc=this.xb=this.wb=0;this.Z=!0;this.P=this.K=this.v=this.D=this.R=this.B=this.Vc=!1;this.fa=new Xa(1024);this.m=0;this.kc=100;this.Gc=4;this.l=!1;this.ve=-1;this.b=new Xa(1024);this.I.register("keyboard-code",function(a){this.Vc&&(this.fa.push(a),mc(this))},this);this.I.register("mouse-click",function(a){this.Yc&&this.Wb&&(this.dc=a[0]|a[2]<<1|a[1]<<2,this.Nb&&nc(this,0,0))},this);this.I.register("mouse-delta",function(a){var c=
|
||||
a[1];if(this.Yc&&this.Wb){var g=this.Gc*this.kc/80;this.wb+=a[0]*g;this.xb+=c*g;this.Nb&&(a=this.wb|0,c=this.xb|0,!a&&!c||Date.now()-this.ve<1E3/this.kc||(this.wb-=a,this.xb-=c,nc(this,a,c)))}},this);this.I.register("mouse-wheel",function(){},this);this.f=5;this.T=this.V=!1;n(a.C,96,this,this.rg);n(a.C,100,this,this.tg);p(a.C,96,this,this.sg);p(a.C,100,this,this.ug)}m=lc.prototype;
|
||||
m.za=function(){var a=[];a[0]=this.Nb;a[1]=this.Wb;a[2]=this.Yc;a[3]=this.wb;a[4]=this.xb;a[5]=this.dc;a[6]=this.Z;a[7]=this.Vc;a[8]=this.B;a[9]=this.R;a[10]=this.D;a[11]=this.v;a[12]=this.K;a[13]=this.P;a[15]=this.m;a[16]=this.kc;a[17]=this.Gc;a[18]=this.l;a[20]=this.f;a[21]=this.V;a[22]=this.T;return a};
|
||||
m.Ka=function(a){this.Nb=a[0];this.Wb=a[1];this.Yc=a[2];this.wb=a[3];this.xb=a[4];this.dc=a[5];this.Z=a[6];this.Vc=a[7];this.B=a[8];this.R=a[9];this.D=a[10];this.v=a[11];this.K=a[12];this.P=a[13];this.m=a[15];this.kc=a[16];this.Gc=a[17];this.l=a[18];this.f=a[20];this.V=a[21];this.T=a[22];this.I.send("mouse-enable",this.Wb)};function oc(a){a.f&2&&a.u.m(12)}function mc(a){a.f&1&&a.u.m(1)}
|
||||
function nc(a,c,d){var e=(0>d)<<5|(0>c)<<4|8|a.dc;a.ve=Date.now();a.l&&(c=pc(c),d=pc(d));a.b.push(e);a.b.push(c);a.b.push(d);oc(a)}function pc(a){var c=a>>31;switch(Math.abs(a)){case 0:case 1:case 3:return a;case 2:return c;case 4:return 6*c;case 5:return 9*c;default:return a<<1}}m.Qa=function(){};
|
||||
m.rg=function(){if(!this.fa.length&&!this.b.length)return this.m;(this.fa.length&&this.b.length?0:!this.fa.length)?(this.m=this.b.shift(),1<=this.b.length&&oc(this)):(this.m=this.fa.shift(),1<=this.fa.length&&mc(this));return this.m};m.tg=function(){var a=16;if(this.b.length||this.fa.length)a|=1;this.b.length&&(a|=32);return a};
|
||||
m.sg=function(a){if(this.T)mc(this),this.f=a,this.T=!1;else if(this.V)this.V=!1,this.b.clear(),this.b.push(a),oc(this);else if(this.R)this.R=!1,this.b.clear(),this.b.push(250),this.kc=a,oc(this);else if(this.P)this.P=!1,this.b.clear(),this.b.push(250),this.Gc=3<a?4:1<<a,oc(this);else if(this.D)this.D=!1,this.fa.push(250),mc(this);else if(this.v)this.v=!1,this.fa.push(250),mc(this),a||this.fa.push(2);else if(this.K)this.K=!1,this.fa.push(250),mc(this);else if(this.B){if(this.B=!1,this.Yc){this.fa.clear();
|
||||
this.b.clear();this.b.push(250);switch(a){case 230:this.l=!1;break;case 231:this.l=!0;break;case 232:this.P=!0;break;case 233:nc(this,0,0);break;case 242:this.b.push(0);this.b.push(0);this.dc=this.wb=this.xb=0;break;case 243:this.R=!0;break;case 244:this.Wb=this.Nb=!0;this.I.send("mouse-enable",!0);this.dc=this.wb=this.xb=0;break;case 245:this.Nb=!1;break;case 246:this.Nb=!1;this.kc=100;this.l=!1;this.Gc=4;break;case 255:this.b.push(170),this.b.push(0),this.Wb=!0,this.I.send("mouse-enable",!0),this.Nb=
|
||||
!1,this.kc=100,this.l=!1,this.Gc=4,this.dc=this.wb=this.xb=0}oc(this)}}else{this.b.clear();this.fa.clear();this.fa.push(250);switch(a){case 237:this.D=!0;break;case 240:this.v=!0;break;case 242:this.fa.push(171);this.fa.push(83);break;case 243:this.K=!0;break;case 244:this.Vc=!0;break;case 245:this.Vc=!1;break;case 255:this.fa.clear(),this.fa.push(250),this.fa.push(170),this.fa.push(0)}mc(this)}};
|
||||
m.ug=function(a){switch(a){case 32:this.fa.clear();this.b.clear();this.fa.push(this.f);break;case 96:this.T=!0;break;case 211:this.V=!0;break;case 212:this.B=!0;break;case 167:this.f|=32;break;case 168:this.f&=-33;break;case 169:this.fa.clear();this.b.clear();this.fa.push(0);break;case 170:this.fa.clear();this.b.clear();this.fa.push(85);break;case 171:this.fa.clear();this.b.clear();this.fa.push(0);break;case 173:this.f|=16;break;case 174:this.f&=-17;break;case 254:throw a=this.u,a.reset(),Ja(a),233495534;
|
||||
}};function qc(a,c){this.Sa=this.$=this.Zc=this.xc=0;this.f=void 0===c;this.b=void 0;this.Wc=!1;this.state=0;this.Qc=this.Cd=1;this.f?(this.b=new qc(a,this),this.Rc=function(){var c=this.Sa&this.xc;if(!c)return this.b.Rc();c&=-c;if(this.$&&(this.$&-this.$)<=c)return!1;var g=Pa(c),c=1<<g;this.Sa&=~c;if(4===c)return this.b.Rc();this.Qc||(this.$|=c);a.ea=a.s;rc(a,this.Zc|g,!1,!1);return!0}):this.Rc=function(){var d=this.Sa&this.xc;if(!d)return!1;d&=-d;if(this.$&&(this.$&-this.$)<=d)return!1;var g=Pa(d),
|
||||
d=1<<g;this.Sa&=~d;this.$|=d;a.ea=a.s;rc(a,this.Zc|g,!1,!1);this.Sa&&c.Bd(2);this.Qc||(this.$&=~d);return!0};this.l=function(){this.f&&this.b.l()};var d;d=this.f?32:160;p(a.C,d,this,function(a){if(a&16)this.Wc=a&1,this.state=1;else if(a&8)this.Cd=a&1;else{var c=a>>5;1===c?this.$=0:3===c&&(this.$&=~(1<<(a&7)))}});n(a.C,d,this,function(){return this.Cd?this.Sa:this.$});p(a.C,d|1,this,function(a){0===this.state?this.Wc?(this.Wc=!1,this.Qc=a&2):this.xc=~a:1===this.state?(this.Zc=a,this.state++):2===this.state&&
|
||||
(this.state=0)});n(a.C,d|1,this,function(){return~this.xc&255});this.Bd=this.f?function(c){8<=c&&(this.b.Bd(c-8),c=2);this.Sa|=1<<c;sc(a)}:function(a){this.Sa|=1<<a}}qc.prototype.za=function(){var a=[];a[0]=this.xc;a[1]=this.Zc;a[2]=this.$;a[3]=this.Sa;a[4]=this.f;a[5]=this.b;a[6]=this.Wc;a[7]=this.state;a[8]=this.Cd;a[9]=this.Qc;return a};qc.prototype.Ka=function(a){this.xc=a[0];this.Zc=a[1];this.$=a[2];this.Sa=a[3];this.f=a[4];this.b=a[5];this.Wc=a[6];this.state=a[7];this.Cd=a[8];this.Qc=a[9]};function tc(a){this.u=a;this.sc=0;this.Fa=new Uint8Array(256);this.K=this.b=Date.now();this.f=0;this.B=!0;this.P=!1;this.D=.9765625;this.v=38;this.l=2;this.ce=this.m=0;p(a.C,112,this,function(a){this.sc=a&127;this.ce=a>>7});p(a.C,113,this,this.ff);n(a.C,113,this,this.ef)}m=tc.prototype;m.za=function(){var a=[];a[0]=this.sc;a[1]=this.Fa;a[2]=this.b;a[3]=this.K;a[4]=this.f;a[5]=this.B;a[6]=this.P;a[7]=this.D;a[8]=this.v;a[9]=this.l;a[10]=this.m;a[11]=this.ce;return a};
|
||||
m.Ka=function(a){this.sc=a[0];this.Fa=a[1];this.b=a[2];this.K=a[3];this.f=a[4];this.B=a[5];this.P=a[6];this.D=a[7];this.v=a[8];this.l=a[9];this.m=a[10];this.ce=a[11]};m.pb=function(a){this.b+=a-this.K;this.K=a;return this.P&&this.B&&this.f<a?(this.B=!1,this.u.m(8),this.m|=192,this.f+=this.D*Math.ceil((a-this.f)/this.D),Math.max(0,a-this.f)):100};function uc(a,c){var d;if(a.l&4)d=c;else{d=c;for(var e=0,g=0,h;d;)h=d%10,g|=h<<4*e,e++,d=(d-h)/10;d=g}return d}
|
||||
m.ef=function(){switch(this.sc){case 0:return uc(this,(new Date(this.b)).getUTCSeconds());case 2:return uc(this,(new Date(this.b)).getUTCMinutes());case 4:return uc(this,(new Date(this.b)).getUTCHours());case 7:return uc(this,(new Date(this.b)).getUTCDate());case 8:return uc(this,(new Date(this.b)).getUTCMonth()+1);case 9:return uc(this,(new Date(this.b)).getUTCFullYear()%100);case 10:return this.v;case 11:return this.l;case 12:this.B=!0;var a=this.m;this.m&=-241;return a;case 13:return 255;case 50:return uc(this,
|
||||
(new Date(this.b)).getUTCFullYear()/100|0);default:return this.Fa[this.sc]}};m.ff=function(a){switch(this.sc){case 10:this.v=a&127;this.D=1E3/(32768>>(this.v&15)-1);break;case 11:this.l=a,this.l&64&&(this.f=Date.now())}this.P=64===(this.l&64)&&0<(this.v&15)};function vc(a,c,d){this.I=d;this.u=a;this.Fb=this.Ud=this.f=this.Sb=this.Lb=this.bb=0;this.Oa=1;this.b=this.Fd=this.be=this.yd=0;this.input=new Xa(4096);this.Qd=[];if(1E3===c||1016===c)this.b=4;else if(1E3===c||1E3===c)this.b=3;else return;this.I.register("serial0-input",function(a){this.input.push(a);this.bb|=4096;this.Fb&1&&wc(this)},this);a=a.C;p(a,c,this,function(a){if(this.Sb&128)this.Lb=this.Lb&-256|a;else if(xc(this),255!==a){var c=String.fromCharCode(a);this.I.send("serial0-output-char",c);
|
||||
this.Qd.push(a);"\n"===c&&(this.I.send("serial0-output-line",String.fromCharCode.apply("",this.Qd)),this.Qd=[])}});p(a,c|1,this,function(a){this.Sb&128?this.Lb=this.Lb&255|a<<8:(this.Fb=a,yc(this))});n(a,c,this,function(){if(this.Sb&128)return this.Lb&255;var a=this.input.shift();this.input.length&&wc(this);return a});n(a,c|1,this,function(){return this.Sb&128?this.Lb>>8:this.Fb});n(a,c|2,this,function(){var a=this.Oa&15|192;2===this.Oa?Cc(this,2):12===this.Oa&&Cc(this,12);return a});p(a,c|2,this,
|
||||
function(a){this.Ud=a});n(a,c|3,this,function(){return this.Sb});p(a,c|3,this,function(a){this.Sb=a});n(a,c|4,this,function(){return this.yd});p(a,c|4,this,function(a){this.yd=a});n(a,c|5,this,function(){var a=0;this.input.length&&(a|=1);return a|96});p(a,c|5,this,function(){});n(a,c|6,this,function(){return this.be});p(a,c|6,this,function(){});n(a,c|7,this,function(){return this.Fd});p(a,c|7,this,function(a){this.Fd=a})}
|
||||
vc.prototype.za=function(){var a=[];a[0]=this.bb;a[1]=this.Lb;a[2]=this.Sb;a[3]=this.f;a[4]=this.Ud;a[5]=this.Fb;a[6]=this.Oa;a[7]=this.yd;a[8]=this.be;a[9]=this.Fd;a[10]=this.b;return a};vc.prototype.Ka=function(a){this.bb=a[0];this.Lb=a[1];this.Sb=a[2];this.f=a[3];this.Ud=a[4];this.Fb=a[5];this.Oa=a[6];this.yd=a[7];this.be=a[8];this.Fd=a[9];this.b=a[10]};function Cc(a,c){a.bb&=~(1<<c);a.Oa=1;c===a.Oa&&yc(a)}function wc(a){a.bb|=4096;a.Fb&1&&6!=a.Oa&&4!=a.Oa&&(a.Oa=12,a.u.m(a.b))}
|
||||
function xc(a){a.bb|=4;a.Fb&2&&(a.Oa&1||0==a.Oa||2==a.Oa)&&(a.Oa=2,a.u.m(a.b))}function yc(a){a.bb&4096&&a.Fb&1?wc(a):a.bb&4&&a.Fb&2?xc(a):a.Oa=1};function Dc(a){this.message=a}Dc.prototype=Error();function Ec(a,c){if("object"!==typeof a||null===a||a instanceof Array)return a;if(a.BYTES_PER_ELEMENT){var d=new Uint8Array(a.buffer,a.byteOffset,a.length*a.BYTES_PER_ELEMENT);return{__state_type__:a.constructor.name,buffer_id:c.push(d)-1}}for(var d=a.za(),e=[],g=0;g<d.length;g++)e[g]=Ec(d[g],c);return e}
|
||||
function Fc(a,c,d){if("object"!==typeof c||null===c)return c;if(a instanceof Array)return c;var e=c.__state_type__;if(void 0===e){for(var e=a.za(),g=0;g<c.length;g++)c[g]=Fc(e[g],c[g],d);a.Ka(c);return a}e={Uint8Array:Uint8Array,Int8Array:Int8Array,Uint16Array:Uint16Array,Int16Array:Int16Array,Uint32Array:Uint32Array,Int32Array:Int32Array,Float32Array:Float32Array,Float64Array:Float64Array}[e];c=d.Cf[c.buffer_id];return 1048576<=c.length&&e===Uint8Array?new Uint8Array(d.Wd,c.offset,c.length):a&&a.constructor===
|
||||
e&&0===a.byteOffset&&a.byteLength===c.length?((new Uint8Array(a.buffer)).set(new Uint8Array(d.Wd,c.offset,c.length),a.byteOffset),a):new e(d.Wd.slice(c.offset,c.offset+c.length))}
|
||||
function Gc(a,c){var d=c.byteLength;if(16>d)throw new Dc("Invalid length: "+d);var e=new Int32Array(c,0,4);if(-2039052682!==e[0])throw new Dc("Invalid header: "+Va(e[0]>>>0));if(2!==e[1])throw new Dc("Version mismatch: dump="+e[1]+" we=2");if(e[2]!==d)throw new Dc("Length doesn't match header: real="+d+" header="+e[2]);e=e[3];if(0>e||e+12>=d||e%2)throw new Dc("Invalid info block length: "+e);for(var g=e/2,h=new Uint16Array(c,16,g),k="",d=0;d<g-8;)k+=String.fromCharCode(h[d++],h[d++],h[d++],h[d++],
|
||||
h[d++],h[d++],h[d++],h[d++]);for(;d<g;)k+=String.fromCharCode(h[d++]);d=JSON.parse(k);g=d.state;h=d.buffer_infos;e=16+e+3&-4;for(d=0;d<h.length;d++)h[d].offset+=e;Fc(a,g,{Wd:c,Cf:h})};function Hc(a,c){this.u=a;this.I=c;this.I.register("net0-receive",function(a){if(!(this.F&1)){this.I.send("eth-receive-end",[a.length]);if(60>a.length){var c=a;a=new Uint8Array(60);a.set(c)}var c=this.Yb<<8,d=a.length+4,e=c+4,t=this.Yb+1+(d>>8);if(c+d>this.memory.length){var y=this.memory.length-e;this.memory.set(a.subarray(0,y),e);this.memory.set(a.subarray(y),76)}else this.memory.set(a,e);t>=this.ic&&(t+=this.Fc-this.ic);this.memory[c]=1;this.memory[c+1]=t;this.memory[c+2]=d;this.memory[c+3]=d>>
|
||||
8;this.Yb=t;Ic(this,1)}},this);this.Dc=[236,16,41,128,3,1,0,0,0,0,0,2,0,0,0,0,1,184,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,244,26,0,17,0,0,184,254,0,0,0,0,0,0,0,0,11,1,0,0];this.ec=40;this.Cc=[{size:32}];wb(a.b.Bc,this);this.xd=this.$=0;this.F=1;this.Gd=this.nc=this.nb=this.Sc=0;this.memory=new Uint8Array(32768);for(var d=[0,34,21,255*Math.random()|0,255*Math.random()|0,255*Math.random()|0],e=0;6>e;e++)this.memory[e<<1]=this.memory[e<<1|1]=d[e];this.Ua=0;this.Fc=64;this.ic=128;this.ud=
|
||||
this.Yb=76;d=a.C;n(d,47104,this,function(){return this.F});p(d,47104,this,function(a){this.F=a&-5;!(this.F&1)&&a&4&&(a=this.Gd<<8,a=this.memory.subarray(a,a+this.nc),this.I.send("net0-send",a),this.I.send("eth-transmit-end",[a.length]),Ic(this,2),0===this.nb&&Ic(this,64))});n(d,47117,this,function(){return 0});n(d,47118,this,function(){return 0});n(d,47119,this,function(){return 0});n(d,47135,this,function(){0===(this.F&192)&&Ic(this,128);return 0});p(d,47135,this,function(){});p(d,47105,this,function(a){0===
|
||||
(this.F&192)&&(this.Fc=a)});p(d,47106,this,function(a){0===(this.F&192)&&(this.ic=a)});n(d,47111,this,function(){return 0===(this.F&192)?this.$:this.Yb});p(d,47111,this,function(a){0===(this.F&192)?this.$&=~a:this.Yb=a});p(d,47117,this,function(){});p(d,47118,this,function(a){0===(this.F&192)&&(this.Sc=a)});p(d,47114,this,function(a){0===(this.F&192)&&(this.nb=this.nb&65280|a&255)});p(d,47115,this,function(a){0===(this.F&192)&&(this.nb=this.nb&255|a<<8&65280)});p(d,47112,this,function(a){0===(this.F&
|
||||
192)&&(this.Ua=this.Ua&65280|a&255)});p(d,47113,this,function(a){0===(this.F&192)&&(this.Ua=this.Ua&255|a<<8&65280)});p(d,47119,this,function(a){0===(this.F&192)&&(this.xd=a)});n(d,47107,this,function(){return 0===(this.F&192)?this.ud:0});p(d,47107,this,function(a){0===(this.F&192)&&(this.ud=a)});n(d,47108,this,function(){return 0===(this.F&192)?35:0});p(d,47108,this,function(a){0===(this.F&192)&&(this.Gd=a)});p(d,47109,this,function(a){0===(this.F&192)&&(this.nc=this.nc&-256|a)});p(d,47110,this,
|
||||
function(a){0===(this.F&192)&&(this.nc=this.nc&255|a<<8)});n(d,47116,this,function(){return 0===(this.F&192)?9:0});n(d,47120,this,this.he,this.he,this.hf);p(d,47120,this,this.ie,this.ie,this.jf)}m=Hc.prototype;m.za=function(){var a=[];a[0]=this.$;a[1]=this.xd;a[2]=this.F;a[3]=this.Sc;a[4]=this.nb;a[5]=this.nc;a[6]=this.Gd;a[7]=this.Ua;a[8]=this.Fc;a[9]=this.Yb;a[10]=this.ud;return a};
|
||||
m.Ka=function(a){this.$=a[0];this.xd=a[1];this.F=a[2];this.Sc=a[3];this.nb=a[4];this.nc=a[5];this.Gd=a[6];this.Ua=a[7];this.Fc=a[8];this.Yb=a[9];this.ud=a[10]};function Ic(a,c){a.$|=c;a.xd&c&&a.u.m(11)}function Jc(a,c){a.nb--;a.memory[a.Ua++]=c;a.Ua>=a.ic<<8&&(a.Ua+=a.Fc-a.ic<<8);0===a.nb&&Ic(a,64)}m.ie=function(a){Jc(this,a);this.Sc&1&&Jc(this,a>>8)};m.jf=function(a){Jc(this,a);Jc(this,a>>8);Jc(this,a>>16);Jc(this,a>>24)};
|
||||
function Kc(a){var c=a.memory[a.Ua++];a.nb--;a.Ua>=a.ic<<8&&(a.Ua+=a.Fc-a.ic<<8);0===a.nb&&Ic(a,64);return c}m.he=function(){return this.Sc&1?Kc(this)|Kc(this)<<8:Kc(this)};m.hf=function(){return Kc(this)|Kc(this)<<8|Kc(this)<<16|Kc(this)<<24};function Lc(a,c,d){this.Dc=[244,26,9,16,7,5,16,0,0,0,2,0,0,0,0,0,1,168,0,0,0,16,191,254,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,244,26,9,0,0,0,0,0,64,0,0,0,0,0,0,0,12,1,0,0];this.ec=48;this.Cc=[{size:16}];wb(a.b.Bc,this);var e=a.C;n(e,43008,this,void 0,void 0,function(){return 1});p(e,43012,this,void 0,void 0,function(){});p(e,43022,this,void 0,function(a){this.dd=a},void 0);n(e,43020,this,void 0,function(){return this.Hb},void 0);n(e,43016,this,void 0,void 0,function(){return 0===this.dd?this.Gb:
|
||||
0});p(e,43016,this,void 0,void 0,function(a){this.Gb=a});p(e,43026,this,function(a){this.Tc=a});n(e,43026,this,function(){return this.Tc});n(e,43027,this,function(){var a=this.$;this.$=0;return a});p(e,43024,this,void 0,function(){for(var a=(this.Gb<<12)+16*this.Hb,c=a+4,a=this.memory.ga(a+2),d=this.Hb-1,a=a&d;this.ac!==a;){var e=this.memory.ga(c+2*this.ac);Mc(this,e);this.ac=this.ac+1&d}});this.b=12;this.u=a;this.I=c;this.ac=this.$=this.Tc=this.dd=0;this.Hb=32;this.Gb=0;this.memory=a.memory;for(a=
|
||||
0;128>a;a++)n(e,43028+a,this,function(a){return this.ya.B[a]}.bind(this,a),void 0,void 0),p(e,43028+a,this,function(){}.bind(this,a),void 0,void 0);this.ya=new ba(d,c);this.ya.ca=this.f.bind(this)}Lc.prototype.za=function(){var a=[];a[0]=this.b;a[1]=this.dd;a[2]=this.Tc;a[3]=this.$;a[4]=this.ac;a[5]=this.Hb;a[6]=this.Gb;a[7]=this.ya;return a};Lc.prototype.Ka=function(a){this.b=a[0];this.dd=a[1];this.Tc=a[2];this.$=a[3];this.ac=a[4];this.Hb=a[5];this.Gb=a[6];this.ya=a[7];this.ya.ca=this.f.bind(this)};
|
||||
Lc.prototype.reset=function(){this.ac=this.$=this.Tc=this.dd=0;this.Hb=32;this.Gb=0};function Mc(a,c){var d=c,e=a.Gb<<12,g=0,h=[];do{var k=e+16*d,q=a.memory.ga(k+12);if(q&2)break;var t=Pb(a.memory,k),d=Pb(a.memory,k+4),y=Pb(a.memory,k+8)>>>0;h.push({Nd:t,Ze:d,ae:y});if(q&1)d=a.memory.ga(k+14);else{d=-1;break}}while(1);var z=-1,B=0;fa(a.ya,{start:c,next:d},function(){if(B>=z){if(g===h.length)return 0;var a=h[g++];t=a.Nd;z=a.ae;B=0}return this.memory.aa(t+B++)}.bind(a))}
|
||||
Lc.prototype.f=function(a){if(-1!==a.next){var c=this.Hb-1,d=this.ya.Dd,e=a.next,g=this.Gb<<12,h=0,k=[];do{var e=g+16*e,q=this.memory.ga(e+12);if(0===(q&2))break;var t=Pb(this.memory,e),y=Pb(this.memory,e+4),z=Pb(this.memory,e+8)>>>0;k.push({Nd:t,Ze:y,ae:z});if(q&1)e=this.memory.ga(e+14);else break}while(1);q=-1;for(g=y=0;g<d;g++){e=this.ya.ha[g];if(y>=q){if(h===k.length)return 0;q=k[h++];t=q.Nd;q=q.ae;y=0}this.memory.ka(t+y++,e)}h=(this.Gb<<12)+16*this.Hb+4+2*this.Hb;h=h+4095&-4096;this.memory.ga(h);
|
||||
k=this.memory.ga(h+2);this.memory.Jc(h+2,k+1);c=h+4+8*(k&c);this.memory.pc(c,a.start);this.memory.pc(c+4,d);this.$|=1;this.u.m(this.b)}};function Nc(){this.ad={};this.b=void 0}Nc.prototype.register=function(a,c,d){var e=this.ad[a];void 0===e&&(e=this.ad[a]=[]);e.push({pe:c,Ug:d})};Nc.prototype.unregister=function(a,c){var d=this.ad[a];void 0!==d&&(this.ad[a]=d.filter(function(a){return a.pe!==c}))};Nc.prototype.send=function(a,c){if(this.b){var d=this.b.ad[a];if(void 0!==d)for(var e=0;e<d.length;e++){var g=d[e];g.pe.call(g.Ug,c)}}};function Oc(){var a=new Nc,c=new Nc;a.b=c;c.b=a;return[a,c]};[[1,""],[2,"CPU"],[32768,"DISK"],[4,"FPU"],[8,"MEM"],[16,"DMA"],[32,"IO"],[64,"PS2"],[128,"PIC"],[256,"VGA"],[512,"PIT"],[1024,"MOUS"],[2048,"PCI"],[4096,"BIOS"],[8192,"CD"],[16384,"SERI"],[65536,"RTC"],[131072,"HPET"],[262144,"ACPI"],[524288,"APIC"],[1048576,"NET"],[2097152,"VIO"],[4194304,"9P"]].reduce(function(a,c){a[c[0]]=c[1];return a},{});function r(){this.cc=0;this.yb=[];this.H=[];this.Da=[];this.R=new Int32Array(1048576);this.zb=new Uint8Array(1048576);this.kd=new Uint8Array(1048576);this.oa=!1;this.Pb=this.uc=this.Rb=this.vc=0;this.K=!1;this.F=new Int32Array(8);this.F[0]=0;this.F[2]=0;this.F[3]=0;this.cd=this.O=this.F[4]=0;this.wc=this.$a=this.Za=this.Ja=this.wa=!1;this.b={Xb:{pb:function(){},Qa:function(){}},Ad:{pb:function(){},Qa:function(){}}};this.D=this.B=this.c=this.ld=this.J=this.v=this.ba=this.Ia=this.Pa=this.o=this.g=this.Y=
|
||||
this.Hc=this.Ic=this.mc=this.T=this.Ac=this.P=this.ub=0;this.i=this.j;this.w=this.G=this.L=0;this.table=[];this.Z=[];this.ja=[];this.ma=[];this.X=!1;this.ea=this.s=0;this.rc={ye:null,Xb:null};this.U=0;this.a=new Int32Array(8);this.jc=new Uint32Array(this.a.buffer);this.Tb=new Int16Array(this.a.buffer);this.j=new Uint16Array(this.a.buffer);this.ed=new Int8Array(this.a.buffer);this.A=new Uint8Array(this.a.buffer);this.N=new Uint16Array(8);this.Zb=new Int32Array(8);this.memory=null;this.na=-1;this.qa=
|
||||
this.C=void 0;this.jc=new Uint32Array(this.a.buffer);this.Tb=new Int16Array(this.a.buffer);this.j=new Uint16Array(this.a.buffer);this.ed=new Int8Array(this.a.buffer);this.A=new Uint8Array(this.a.buffer);Pc(this);Qc(this);this.ld=La();Rc(this)}m=r.prototype;
|
||||
m.za=function(){var a=[];a[0]=this.cc;a[1]=this.yb;a[2]=this.H;a[3]=this.Da;a[4]=this.oa;a[5]=this.Rb;a[6]=this.vc;a[7]=this.Pb;a[8]=this.uc;a[9]=this.K;a[10]=this.F;a[11]=this.O;a[12]=this.cd;a[13]=this.wa;a[14]=this.Ja;a[15]=this.$a;a[16]=this.Za;a[17]=this.wc;a[18]=this.ub;a[19]=this.P;a[20]=this.Ac;a[21]=this.T;a[22]=this.mc;a[23]=this.Hc;a[24]=this.Ic;a[25]=this.Y;a[26]=this.g;a[27]=this.o;a[28]=this.Pa;a[29]=this.Ia;a[30]=this.ba;a[31]=this.v;a[32]=this.c;a[36]=this.X;a[37]=this.s;a[38]=this.ea;
|
||||
a[39]=this.a;a[40]=this.N;a[41]=this.Zb;a[42]=this.memory;a[43]=this.qa;a[45]=this.b.Hd;a[47]=this.b.Ca;a[48]=this.b.Bc;a[49]=this.b.tc;a[51]=this.b.Bf;a[52]=this.b.Xb;a[53]=this.b.Ad;a[54]=this.b.Qe;a[55]=this.b.ne;a[56]=this.b.Mb;a[57]=this.b.Qb;a[58]=this.b.zd;a[59]=this.b.Be;a[60]=this.b.Ec;return a};
|
||||
m.Ka=function(a){this.cc=a[0];this.yb=a[1];this.H=a[2];this.Da=a[3];this.oa=a[4];this.Rb=a[5];this.vc=a[6];this.Pb=a[7];this.uc=a[8];this.K=a[9];this.F=a[10];this.O=a[11];this.cd=a[12];this.wa=a[13];this.Ja=a[14];this.$a=a[15];this.Za=a[16];this.wc=a[17];this.ub=a[18];this.P=a[19];this.Ac=a[20];this.T=a[21];this.mc=a[22];this.Hc=a[23];this.Ic=a[24];this.Y=a[25];this.g=a[26];this.o=a[27];this.Ia=a[27];this.ba=a[30];this.v=a[31];this.c=a[32];this.X=a[36];this.s=a[37];this.ea=a[38];this.N=a[40];this.Zb=
|
||||
a[41];this.memory=a[42];this.qa=a[43];this.b.Hd=a[45];this.b.td=a[46];this.b.Ca=a[47];this.b.Bc=a[48];this.b.tc=a[49];this.b.dh=a[50];this.b.Bf=a[51];this.b.Xb=a[52];this.b.xh=a[50];this.b.Qe=a[54];this.b.ne=a[55];this.b.Mb=a[56];this.b.Qb=a[57];this.b.zd=a[58];this.b.Be=a[59];this.b.Ec=a[60];Sc(this);this.jc=new Uint32Array(this.a.buffer);this.Tb=new Int16Array(this.a.buffer);this.j=new Uint16Array(this.a.buffer);this.ed=new Int8Array(this.a.buffer);this.A=new Uint8Array(this.a.buffer);Pc(this);
|
||||
Qc(this)};m.le=function(a){if(233495534===a)this.K=!1,Tc(this);else throw console.log(a),console.log(a.stack),a;};
|
||||
m.reset=function(){this.yb=new Uint8Array(8);this.Da=new Uint32Array(8);this.H=new Int32Array(8);Sc(this);this.a=new Int32Array(8);this.jc=new Uint32Array(this.a.buffer);this.Tb=new Int16Array(this.a.buffer);this.j=new Uint16Array(this.a.buffer);this.ed=new Int8Array(this.a.buffer);this.A=new Uint8Array(this.a.buffer);this.N=new Uint16Array(8);this.Zb=new Int32Array(8);this.oa=!1;this.Pb=this.uc=this.Rb=this.vc=0;this.K=!1;this.F[0]=1610612752;this.F[2]=0;this.F[3]=0;this.F[4]=0;this.Zb[6]=-61456;
|
||||
this.Zb[7]=1024;this.O=0;this.X=!1;this.cd=0;this.$a=this.Za=this.Ja=this.wa=!1;this.Ac=this.ub=-1;Qc(this);Pc(this);this.ea=this.U=0;this.wc=!1;this.Hc=this.Ic=this.mc=0;this.na=-1;this.Y=0;this.g=2;this.ba=this.Ia=this.Pa=this.v=this.J=this.o=0;this.ld=La();this.s=1048560;C(this,2,48);this.j[8]=256;this.b.Hd&&this.b.Hd.reset()};
|
||||
m.ab=function(a,c){this.cc=a.cc||67108864;this.memory=new Wb(this.cc,a.Mf);this.reset();var d=new ya(this.memory);this.C=d;this.rc.ye=a.rc;this.rc.Xb=a.Wg;Ja(this);var e=0;n(d,146,this,function(){return e});p(d,146,this,function(a){e=a});this.b={};a.If&&(this.b.Ec=new qc(this),this.b.Bc=new Rb(this),this.b.Ca=new tc(this),Uc(this,a),this.b.tc=new cc(this),this.b.Xb=new hc(this,c,a.Ea||8388608),this.qa=new Ya(this),this.b.Ad=new lc(this,c),this.b.Qe=new vc(this,1016,c),this.b.ne=new Sb(this,a.me),
|
||||
d=0,a.Qb&&(this.b.Qb=new vb(this,a.Qb,!1,d++,c)),a.Mb&&(this.b.Mb=new vb(this,a.Mb,!0,d++,c)),a.Xd&&(this.b.Xd=new vb(this,a.Xd,!1,d++,c)),this.b.zd=new ec(this),a.uf&&(this.b.Be=new Hc(this,c)),a.Ob&&(this.b.Hd=new Lc(this,c,a.Ob)))};function Uc(a,c){var d=c.af||531;a.b.Ca.Fa[56]=1|d>>4&240;a.b.Ca.Fa[61]=d&255;a.b.Ca.Fa[48]=0;a.b.Ca.Fa[49]=60;d=a.cc-16777216;a.b.Ca.Fa[52]=d>>16&255;a.b.Ca.Fa[53]=d>>24&255;a.b.Ca.Fa[91]=0;a.b.Ca.Fa[92]=0;a.b.Ca.Fa[93]=0;a.b.Ca.Fa[20]=45}
|
||||
function Ja(a){var c=a.rc.ye,d=a.rc.Xb;if(c){var e=new Uint8Array(c);a.memory.b.set(e,1048576-c.byteLength);d&&(e=new Uint8Array(d),a.memory.b.set(e,786432));za(a.C,4293918720,1048576,function(a){return this.memory.b[a&1048575]}.bind(a),function(a,c){this.memory.b[a&1048575]=c}.bind(a))}}m.ke=function(){for(var a=Date.now(),c=a;33>c-a;){this.b.zd.pb(c,!1);this.b.Ca.pb(c,!1);sc(this);for(c=11001;c--;)Vc(this);c=Date.now()}};
|
||||
"undefined"!==typeof window&&(window.b=r.prototype.ke,window.f=r.prototype.le,window.l=r.prototype.V);function Vc(a){a.ea=a.s;a.U++;var c=D(a);a.table[c](a)}function Wc(a){a.table[D(a)](a)}r.prototype.V=function(){var a=Date.now();this.b.zd.pb(a,!1);this.b.Ca.pb(a,!1);return 0};function Tc(a){a.Y=0;a.na=-1;a.$a!==a.wa&&(a.$a=a.wa,Pc(a));a.Ja!==a.wa&&(a.Ja=a.wa,Qc(a))}function Xc(a){var c=-2147483648===(a.F[0]&-2147483648);a.qa||(a.F[0]|=4);a.F[0]|=16;c!==a.X&&(a.X=c,Sc(a))}
|
||||
function Yc(a){a.ub=-1;a.Ac=-1}function D(a){a.s&-4096^a.ub&&(a.P=Zc(a,a.s)^a.s,a.ub=a.s&-4096);var c=a.memory.aa(a.P^a.s);a.s=a.s+1|0;return c}function E(a){return D(a)<<24>>24}function F(a){if(4094<(a.s^a.ub)>>>0)return D(a)|D(a)<<8;var c=a.memory.ga(a.P^a.s);a.s=a.s+2|0;return c}function G(a){if(4092<(a.s^a.ub)>>>0)return F(a)|F(a)<<16;var c=Pb(a.memory,a.P^a.s);a.s=a.s+4|0;return c}
|
||||
function $c(a,c,d,e){a.memory.ka(c,e);a.memory.ka(d,e>>24);c&1?c&2?(a.memory.ka(d-2,e>>8),a.memory.ka(d-1,e>>16)):(a.memory.ka(c+1|0,e>>8),a.memory.ka(c+2|0,e>>16)):(a.memory.ka(c+1|0,e>>8),a.memory.ka(d-1,e>>16))}function ad(a,c){return a.memory.aa(Zc(a,c))}function w(a,c){return a.X&&4095===(c&4095)?ad(a,c)|ad(a,c+1|0)<<8:a.memory.ga(Zc(a,c))}function x(a,c){return a.X&&4093<=(c&4095)?w(a,c)|w(a,c+2|0)<<16:Pb(a.memory,Zc(a,c))}function bd(a,c,d){a.memory.ka(cd(a,c),d)}
|
||||
function jb(a,c,d){var e=cd(a,c);4095===(c&4095)?(c=cd(a,c+1|0),a.memory.ka(e,d),a.memory.ka(c,d>>8)):a.memory.Jc(e,d)}function v(a,c,d){var e=cd(a,c);4093<=(c&4095)?$c(a,e,cd(a,c+3|0),d):a.memory.pc(e,d)}function dd(a){return a.$a?ed(a,3)+G(a)|0:ed(a,3)+F(a)|0}function fd(a){return a.g>>12&3}function gd(a){return!!(a.g&131072)}function hd(a){return a.g&-2262|!!a.Aa()|!!a.re()<<2|!!id(a)<<4|!!a.Eb()<<6|!!a.wd()<<7|!!a.Xc()<<11}function jd(a){a.g=hd(a);a.o=0}
|
||||
function kd(a,c){var d=1769472,e=2588629;a.g&131072?(d|=12288,e|=1572864):a.O&&(d|=12288,a.O>fd(a)&&(d|=512));a.g=(c^(a.g^c)&d)&e|2;a.o=0}function ld(a){return a.Za?a.a[4]:a.j[8]}function md(a,c){a.Za?a.a[4]=c:a.j[8]=c}function H(a,c){return a.Za?a.H[2]+ld(a)+c|0:a.H[2]+(ld(a)+c&65535)|0}function nd(a){return a.s-a.H[1]|0}
|
||||
function rc(a,c,d,e){a.wc=!1;if(a.oa){if(gd(a)&&a.F[4]&1)throw a.debug.S("VME");gd(a)&&d&&3>fd(a)&&I(a,0);if((c<<3|7)>a.vc)throw a.debug.S("#GP handler");var g=a.Rb+(c<<3)|0;a.X&&(g=od(a,g));var h=a.memory.ga(g)|a.memory.ga(g+6|0)<<16,k=a.memory.ga(g+2|0),q=a.memory.aa(g+5|0),t=q>>5&3,g=!1;if(0===(q&128))throw a.debug.S("#NP handler");d&&t<a.O&&I(a,c<<3|2);q&=31;if(14===q)g=c=!1;else if(15===q)c=!0,g=!1;else{if(5===q){h=pd(a,k);if(!h.zc||h.mb||!h.Vd)throw a.debug.S("#GP handler");if(11===(h.rb&31))throw a.debug.S("#GP handler");
|
||||
if(!h.tb)throw a.debug.S("#NP handler");if(103>h.Db)throw a.debug.S("#NP handler");g=a.H[6];c=hd(a);ib(a,g,102);v(a,g+32,nd(a));v(a,g+36,c);v(a,g+40,a.a[0]);v(a,g+44,a.a[1]);v(a,g+48,a.a[2]);v(a,g+52,a.a[3]);v(a,g+56,a.a[4]);v(a,g+60,a.a[5]);v(a,g+64,a.a[6]);v(a,g+68,a.a[7]);v(a,g+72,a.N[0]);v(a,g+76,a.N[1]);v(a,g+80,a.N[2]);v(a,g+84,a.N[3]);v(a,g+88,a.N[4]);v(a,g+92,a.N[5]);v(a,g+96,a.N[7]);a.memory.ka(h.jd+5|0,a.memory.aa(h.jd+5|0)|2);c=h.Kb;d=x(a,c+28);a.g&=-131073;C(a,1,w(a,c+76));q=x(a,c+36);
|
||||
v(a,g+0,k);q|=16384;if(q&131072)throw a.debug.S("task switch to VM mode");kd(a,q);g=w(a,c+96);qd(a,g);a.a[0]=x(a,c+40);a.a[1]=x(a,c+44);a.a[2]=x(a,c+48);a.a[3]=x(a,c+52);a.a[4]=x(a,c+56);a.a[5]=x(a,c+60);a.a[6]=x(a,c+64);a.a[7]=x(a,c+68);C(a,0,w(a,c+72));C(a,2,w(a,c+80));C(a,3,w(a,c+84));C(a,4,w(a,c+88));C(a,5,w(a,c+92));a.s=a.H[1]+x(a,c+32)|0;a.H[6]=h.Kb;a.Da[6]=h.Db;a.N[6]=k;a.F[3]=d;rd(a);a.F[0]|=8;!1!==e&&J(a,e);return}if(6===q)throw a.debug.S("16 bit interrupt gate");if(7===q)g=c=!0;else throw a.debug.S("#GP handler");
|
||||
}d=pd(a,k);if(d.mb)throw a.debug.S("#GP handler");if(!d.lb||d.ra>a.O)throw a.debug.S("#GP handler");if(!d.tb)throw a.debug.S("#NP handler");jd(a);q=a.g;if(!d.jb&&d.ra<a.O){var y=(d.ra<<3)+4|0;if((y+5|0)>a.Da[6])throw a.debug.S("#TS handler");y=y+a.H[6]|0;a.X&&(y=od(a,y));var t=Pb(a.memory,y),y=a.memory.ga(y+4|0),z=pd(a,y);if(z.mb)throw a.debug.S("#TS handler");if(z.Ub!==d.ra)throw a.debug.S("#TS handler");if(z.ra!==d.ra||!z.Ed)throw a.debug.S("#TS handler");if(!z.tb)throw a.debug.S("#TS handler");
|
||||
var z=a.a[4],B=a.N[2];a.O=d.ra;Yc(a);a.wa!==d.size&&sd(a,d.size);a.g&=-196609;C(a,2,y);md(a,t);q&131072?g?(ib(a,H(a,-20),20),K(a,a.N[5]),K(a,a.N[4]),K(a,a.N[3]),K(a,a.N[0])):(ib(a,H(a,-40),40),J(a,a.N[5]),J(a,a.N[4]),J(a,a.N[3]),J(a,a.N[0])):g?ib(a,H(a,-12),12):ib(a,H(a,-24),24);g?(K(a,B),K(a,z)):(J(a,B),J(a,z))}else if(d.jb||d.ra===a.O)a.g&131072&&I(a,k&-4),g?ib(a,H(a,-8),8):ib(a,H(a,-16),16);else throw a.debug.S("#GP handler");g?(K(a,q),K(a,a.N[1]),K(a,nd(a)),!1!==e&&K(a,e),h&=65535):(J(a,q),J(a,
|
||||
a.N[1]),J(a,nd(a)),!1!==e&&J(a,e));q&131072&&(C(a,5,0),C(a,4,0),C(a,3,0),C(a,0,0));a.N[1]=k&-4|a.O;a.wa!==d.size&&sd(a,d.size);a.Da[1]=d.Db;a.H[1]=d.Kb;a.s=a.H[1]+h|0;c||(a.g&=-513)}else k=c<<2,e=a.memory.ga(k),k=a.memory.ga(k+2|0),jd(a),K(a,a.g),K(a,a.N[1]),K(a,nd(a)),a.g&=-513,C(a,1,k),a.s=a.H[1]+e|0}function td(a,c){rc(a,c,!1,!1);throw 233495534;}function ud(a){a.s=a.ea;td(a,0)}function u(a){a.s=a.ea;td(a,6)}function I(a,c){a.s=a.ea;rc(a,13,!1,c);throw 233495534;}
|
||||
function vd(a){a.F[0]&12&&(a.s=a.ea,td(a,7))}function L(a){return ed(a,3)}function M(a){return ed(a,2)}function ed(a,c){return-1===a.na?a.H[c]:9===a.na?0:a.H[a.na]}function wd(a){return 192>a.c?ad(a,a.M(a.c)):a.A[a.c<<2&12|a.c>>2&1]}function N(a){return 192>a.c?w(a,a.M(a.c)):a.j[a.c<<1&14]}function xd(a){return 192>a.c?x(a,a.M(a.c)):a.a[a.c&7]}function yd(a,c,d){192>a.c?bd(a,c,d):a.A[a.c<<2&12|a.c>>2&1]=d}function zd(a,c,d){192>a.c?jb(a,c,d):a.j[a.c<<1&14]=d}
|
||||
function Ad(a,c,d){192>a.c?v(a,c,d):a.a[a.c&7]=d}function Bd(a){if(192>a.c){var c=a.M(a.c);a.B=cd(a,c);return a.memory.aa(a.B)}return a.A[a.c<<2&12|a.c>>2&1]}function Cd(a,c){192>a.c?a.memory.ka(a.B,c):a.A[a.c<<2&12|a.c>>2&1]=c}function O(a){if(192>a.c){var c=a.M(a.c);a.B=cd(a,c);if(a.X&&4095===(c&4095))return a.D=cd(a,c+1|0),c=a.D,a.memory.aa(a.B)|a.memory.aa(c)<<8;a.D=0;return a.memory.ga(a.B)}return a.j[a.c<<1&14]}
|
||||
function P(a,c){if(192>a.c)if(a.D){var d=a.D;a.memory.ka(a.B,c);a.memory.ka(d,c>>8)}else a.memory.Jc(a.B,c);else a.j[a.c<<1&14]=c}function R(a){if(192>a.c){var c=a.M(a.c);a.B=cd(a,c);if(a.X&&4093<=(c&4095)){a.D=cd(a,c+3|0);var c=a.B,d=a.D,e;c&1?e=c&2?Zb(a.memory,d-2>>1):Zb(a.memory,c+1>>1):(e=d-1|0,e=a.memory.aa(c+1|0)|a.memory.aa(e)<<8);return a.memory.aa(c)|e<<8|a.memory.aa(d)<<24}a.D=0;return Pb(a.memory,a.B)}return a.a[a.c&7]}
|
||||
function S(a,c){192>a.c?a.D?$c(a,a.B,a.D,c):a.memory.pc(a.B,c):a.a[a.c&7]=c}function Dd(a){return a.j[a.c<<1&14]}function Ed(a,c){a.j[a.c<<1&14]=c}function Fd(a){return a.a[a.c&7]}function Gd(a,c){a.a[a.c&7]=c}function Hd(a){return a.A[a.c>>1&12|a.c>>5&1]}function Id(a,c){a.A[a.c>>1&12|a.c>>5&1]=c}function Jd(a){return a.j[a.c>>2&14]}function Kd(a){return a.Tb[a.c>>2&14]}function Ld(a,c){a.j[a.c>>2&14]=c}function T(a){return a.a[a.c>>3&7]}function Md(a,c){a.jc[a.c>>3&7]=c}
|
||||
function sc(a){a.g&512&&!a.K&&(a.b.Ec&&a.b.Ec.Rc(),a.b.td&&a.b.td.Rc())}r.prototype.m=function(a){this.b.Ec&&this.b.Ec.Bd(a);this.b.td&&this.b.td.Bd(a)};function Nd(a,c,d){if(a.oa&&(a.O>fd(a)||a.g&131072)){var e=a.Da[6],g=a.H[6];if(103<=e){var h=a.memory.ga(od(a,g+100+2|0));if(e>=(h+((c+d-1|0)>>3)|0)&&(d=(1<<d)-1<<(c&7),c=od(a,g+h+(c>>3)|0),!((d&65280?a.memory.ga(c):a.memory.aa(c))&d)))return}I(a,0)}}function sd(a,c){a.wa=a.Ja=a.$a=c;Qc(a);Pc(a)}
|
||||
function Qc(a){a.Ja?(a.table=a.Pe,a.Z=a.ma):(a.table=a.Oe,a.Z=a.ja)}function Pc(a){a.$a?(a.i=a.a,a.L=1,a.G=6,a.w=7):(a.i=a.j,a.L=2,a.G=12,a.w=14)}
|
||||
function pd(a,c){var d=0===(c&4),e=c&-8,g,h;g={Ub:c&3,Vd:d,mb:!1,zc:!0,Kb:0,rb:0,g:0,type:0,ra:0,yc:!1,tb:!1,lb:!1,Ed:!1,jb:!1,size:!1,Db:0,ue:!1,te:!1,jd:0};d?(d=a.Pb,h=a.uc):(d=a.H[7],h=a.Da[7]);if(0===e)return g.mb=!0,g;if((c|7)>h)return g.zc=!1,g;d=d+e|0;a.X&&(d=od(a,d));g.jd=d;g.Kb=a.memory.ga(d+2|0)|a.memory.aa(d+4|0)<<16|a.memory.aa(d+7|0)<<24;g.rb=a.memory.aa(d+5|0);g.g=a.memory.aa(d+6|0)>>4;g.type=g.rb&15;g.ra=g.rb>>5&3;g.yc=0===(g.rb&16);g.tb=128===(g.rb&128);g.lb=8===(g.rb&8);g.Ed=2===
|
||||
(g.rb&2);g.jb=4===(g.rb&4);g.size=4===(g.g&4);e=a.memory.ga(d)|(a.memory.aa(d+6|0)&15)<<16;g.Db=g.g&8?(e<<12|4095)>>>0:e;g.ue=g.Ed&&!g.lb;g.te=g.Ed||!g.lb;return g}
|
||||
function C(a,c,d){1===c&&(a.oa=1===(a.F[0]&1));if(!a.oa||gd(a))a.N[c]=d,a.yb[c]=0,a.H[c]=d<<4,2===c&&a.Za&&(a.Za=!1);else{var e=pd(a,d);if(2===c){e.mb&&I(a,0);e.zc&&!e.yc&&e.Ub===a.O&&e.ue&&e.ra===a.O||I(a,d&-4);if(!e.tb)throw a.s=a.ea,rc(a,12,!1,d&-4),233495534;a.Za=e.size}else if(1===c){e.lb||I(a,d&-4);if(e.yc)throw a.debug.S("load system segment descriptor, type = "+(e.rb&15));if(e.Ub!==a.O)throw a.debug.S("privilege change");if(!e.jb&&e.ra<a.O)throw a.debug.S("inter privilege call");if(!e.jb&&
|
||||
e.ra!==a.O)throw a.debug.S("#GP handler");e.size!==a.wa&&sd(a,e.size)}else{if(e.mb){a.N[c]=d;a.yb[c]=1;return}if(!e.zc||e.yc||!e.te||(!e.lb||!e.jb)&&e.Ub>e.ra&&a.O>e.ra){console.log(e);debugger;I(a,d&-4)}if(!e.tb)throw a.s=a.ea,rc(a,11,!1,d&-4),233495534;}a.yb[c]=0;a.Da[c]=e.Db;a.H[c]=e.Kb;a.N[c]=d}}
|
||||
function qd(a,c){var d=pd(a,c);if(d.mb)a.H[7]=0,a.Da[7]=0;else{if(!d.Vd)throw a.debug.S("LDTR can only be loaded from GDT");if(!d.tb)throw a.debug.S("#GP handler");if(!d.yc)throw a.debug.S("#GP handler");if(2!==d.type)throw a.debug.S("#GP handler");a.H[7]=d.Kb;a.Da[7]=d.Db;a.N[7]=c}}function Od(a,c,d){c=pd(a,c);a.o&=-65;if(c.mb||!c.zc||58817>>c.type&1)return a.g&=-65,d;a.g|=64;return c.type<<8|c.size<<12|c.ra<<13|c.tb<<15|c.g<<20}
|
||||
function Pd(a,c,d){c=pd(a,c);a.o&=-65;if(c.mb||!c.zc||62833>>c.type&1)return a.g&=-65,d;a.g|=64;return c.Db|0}function rd(a){a.ub=-1;a.Ac=-1;a.zb.set(a.kd)}function Sc(a){for(var c=new Int32Array(a.kd.buffer),d=0;262144>d;)c[d++]=c[d++]=c[d++]=c[d++]=0;rd(a)}function Zc(a,c){var d;a.X?3===a.O?(d=c>>>12,d=a.zb[d]&4?a.R[d]^c:Qd(a,c,0,1)|c&4095):d=od(a,c):d=c;return d}
|
||||
function cd(a,c){var d;a.X?3===a.O?(d=c>>>12,d=a.zb[d]&8?a.R[d]^c:Qd(a,c,1,1)|c&4095):(d=c>>>12,d=a.zb[d]&2?a.R[d]^c:Qd(a,c,1,0)|c&4095):d=c;return d}function od(a,c){var d=c>>>12;return a.zb[d]&1?a.R[d]^c:Qd(a,c,0,0)|c&4095}
|
||||
function Qd(a,c,d,e){var g=c>>>12,h=(a.F[3]>>>2)+(g>>10)|0,k=a.memory.vb[h],q=!0,t=!0;k&1||(a.F[2]=c,Rd(a,d,e,0));0===(k&2)&&(q=!1,d&&(e||a.F[0]&65536)&&(a.F[2]=c,Rd(a,d,e,1)));0===(k&4)&&(t=!1,e&&(a.F[2]=c,Rd(a,d,e,1)));if(k&a.cd)a.memory.vb[h]=k|32|d<<6,c=k&4290772992|c&4190208,k=k&256;else{var y=((k&4294963200)>>>2)+(g&1023)|0,z=a.memory.vb[y];0===(z&1)&&(a.F[2]=c,Rd(a,d,e,0));0===(z&2)&&(q=!1,d&&(e||a.F[0]&65536)&&(a.F[2]=c,Rd(a,d,e,1)));0===(z&4)&&(t=!1,e&&(a.F[2]=c,Rd(a,d,e,1)));a.memory.vb[h]=
|
||||
k|32;a.memory.vb[y]=z|32|d<<6;c=z&4294963200;k=z&256}a.R[g]=c^g<<12;q=t?q?15:5:q?3:1;a.zb[g]=q;k&&a.F[4]&128&&(a.kd[g]=q);return c}function ib(a,c,d){if(a.X){var e=3===a.O?1:0,g=e?8:2,h=c>>>12;0===(a.zb[h]&g)&&Qd(a,c,1,e);4096<=(c&4095)+d-1&&0===(a.zb[h+1|0]&g)&&Qd(a,c+d-1|0,1,e)}}function Rd(a,c,d,e){if(a.K)throw a.debug.S("Double fault");var g=a.F[2]>>>12;a.zb[g]=0;a.kd[g]=0;a.s=a.ea;a.K=!0;rc(a,14,!1,d<<2|c<<1|e);throw 233495534;};(function(){r.prototype.l=Array(192);r.prototype.f=Array(192);r.prototype.h=Array(256);r.prototype.l[0]=function(a){return L(a)+(a.j[6]+a.j[12]&65535)|0};r.prototype.l[64]=function(a){return L(a)+(a.j[6]+a.j[12]+E(a)&65535)|0};r.prototype.l[128]=function(a){return L(a)+(a.j[6]+a.j[12]+F(a)&65535)|0};r.prototype.l[1]=function(a){return L(a)+(a.j[6]+a.j[14]&65535)|0};r.prototype.l[65]=function(a){return L(a)+(a.j[6]+a.j[14]+E(a)&65535)|0};r.prototype.l[129]=function(a){return L(a)+(a.j[6]+a.j[14]+F(a)&
|
||||
65535)|0};r.prototype.l[2]=function(a){return M(a)+(a.j[10]+a.j[12]&65535)|0};r.prototype.l[66]=function(a){return M(a)+(a.j[10]+a.j[12]+E(a)&65535)|0};r.prototype.l[130]=function(a){return M(a)+(a.j[10]+a.j[12]+F(a)&65535)|0};r.prototype.l[3]=function(a){return M(a)+(a.j[10]+a.j[14]&65535)|0};r.prototype.l[67]=function(a){return M(a)+(a.j[10]+a.j[14]+E(a)&65535)|0};r.prototype.l[131]=function(a){return M(a)+(a.j[10]+a.j[14]+F(a)&65535)|0};r.prototype.l[4]=function(a){return L(a)+(a.j[12]&65535)|
|
||||
0};r.prototype.l[68]=function(a){return L(a)+(a.j[12]+E(a)&65535)|0};r.prototype.l[132]=function(a){return L(a)+(a.j[12]+F(a)&65535)|0};r.prototype.l[5]=function(a){return L(a)+(a.j[14]&65535)|0};r.prototype.l[69]=function(a){return L(a)+(a.j[14]+E(a)&65535)|0};r.prototype.l[133]=function(a){return L(a)+(a.j[14]+F(a)&65535)|0};r.prototype.l[6]=function(a){return M(a)+(a.j[10]&65535)|0};r.prototype.l[70]=function(a){return M(a)+(a.j[10]+E(a)&65535)|0};r.prototype.l[134]=function(a){return M(a)+(a.j[10]+
|
||||
F(a)&65535)|0};r.prototype.l[7]=function(a){return L(a)+(a.j[6]&65535)|0};r.prototype.l[71]=function(a){return L(a)+(a.j[6]+E(a)&65535)|0};r.prototype.l[135]=function(a){return L(a)+(a.j[6]+F(a)&65535)|0};r.prototype.f[0]=function(a){return L(a)+a.a[0]|0};r.prototype.f[64]=function(a){return L(a)+a.a[0]+E(a)|0};r.prototype.f[128]=function(a){return L(a)+a.a[0]+G(a)|0};r.prototype.f[1]=function(a){return L(a)+a.a[1]|0};r.prototype.f[65]=function(a){return L(a)+a.a[1]+E(a)|0};r.prototype.f[129]=function(a){return L(a)+
|
||||
a.a[1]+G(a)|0};r.prototype.f[2]=function(a){return L(a)+a.a[2]|0};r.prototype.f[66]=function(a){return L(a)+a.a[2]+E(a)|0};r.prototype.f[130]=function(a){return L(a)+a.a[2]+G(a)|0};r.prototype.f[3]=function(a){return L(a)+a.a[3]|0};r.prototype.f[67]=function(a){return L(a)+a.a[3]+E(a)|0};r.prototype.f[131]=function(a){return L(a)+a.a[3]+G(a)|0};r.prototype.f[4]=function(a){return a.h[D(a)](a,!1)|0};r.prototype.f[68]=function(a){return a.h[D(a)](a,!1)+E(a)|0};r.prototype.f[132]=function(a){return a.h[D(a)](a,
|
||||
!1)+G(a)|0};r.prototype.f[5]=function(a){return M(a)+a.a[5]|0};r.prototype.f[69]=function(a){return M(a)+a.a[5]+E(a)|0};r.prototype.f[133]=function(a){return M(a)+a.a[5]+G(a)|0};r.prototype.f[6]=function(a){return L(a)+a.a[6]|0};r.prototype.f[70]=function(a){return L(a)+a.a[6]+E(a)|0};r.prototype.f[134]=function(a){return L(a)+a.a[6]+G(a)|0};r.prototype.f[7]=function(a){return L(a)+a.a[7]|0};r.prototype.f[71]=function(a){return L(a)+a.a[7]+E(a)|0};r.prototype.f[135]=function(a){return L(a)+a.a[7]+
|
||||
G(a)|0};r.prototype.l[6]=function(a){return L(a)+F(a)|0};r.prototype.f[5]=function(a){return L(a)+G(a)|0};r.prototype.f[4]=function(a){return a.h[D(a)](a,!1)|0};r.prototype.f[68]=function(a){return a.h[D(a)](a,!0)+E(a)|0};r.prototype.f[132]=function(a){return a.h[D(a)](a,!0)+G(a)|0};for(var a=0;8>a;a++)for(var c=0;3>c;c++)for(var d=a|c<<6,e=1;8>e;e++)r.prototype.f[d|e<<3]=r.prototype.f[d],r.prototype.l[d|e<<3]=r.prototype.l[d];r.prototype.h[0]=function(a){return a.a[0]+L(a)+a.a[0]|0};r.prototype.h[1]=
|
||||
function(a){return a.a[0]+L(a)+a.a[1]|0};r.prototype.h[2]=function(a){return a.a[0]+L(a)+a.a[2]|0};r.prototype.h[3]=function(a){return a.a[0]+L(a)+a.a[3]|0};r.prototype.h[4]=function(a){return a.a[0]+M(a)+a.a[4]|0};r.prototype.h[5]=function(a,c){return a.a[0]+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[6]=function(a){return a.a[0]+L(a)+a.a[6]|0};r.prototype.h[7]=function(a){return a.a[0]+L(a)+a.a[7]|0};r.prototype.h[64]=function(a){return(a.a[0]<<1)+L(a)+a.a[0]|0};r.prototype.h[65]=function(a){return(a.a[0]<<
|
||||
1)+L(a)+a.a[1]|0};r.prototype.h[66]=function(a){return(a.a[0]<<1)+L(a)+a.a[2]|0};r.prototype.h[67]=function(a){return(a.a[0]<<1)+L(a)+a.a[3]|0};r.prototype.h[68]=function(a){return(a.a[0]<<1)+M(a)+a.a[4]|0};r.prototype.h[69]=function(a,c){return(a.a[0]<<1)+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[70]=function(a){return(a.a[0]<<1)+L(a)+a.a[6]|0};r.prototype.h[71]=function(a){return(a.a[0]<<1)+L(a)+a.a[7]|0};r.prototype.h[128]=function(a){return(a.a[0]<<2)+L(a)+a.a[0]|0};r.prototype.h[129]=function(a){return(a.a[0]<<
|
||||
2)+L(a)+a.a[1]|0};r.prototype.h[130]=function(a){return(a.a[0]<<2)+L(a)+a.a[2]|0};r.prototype.h[131]=function(a){return(a.a[0]<<2)+L(a)+a.a[3]|0};r.prototype.h[132]=function(a){return(a.a[0]<<2)+M(a)+a.a[4]|0};r.prototype.h[133]=function(a,c){return(a.a[0]<<2)+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[134]=function(a){return(a.a[0]<<2)+L(a)+a.a[6]|0};r.prototype.h[135]=function(a){return(a.a[0]<<2)+L(a)+a.a[7]|0};r.prototype.h[192]=function(a){return(a.a[0]<<3)+L(a)+a.a[0]|0};r.prototype.h[193]=
|
||||
function(a){return(a.a[0]<<3)+L(a)+a.a[1]|0};r.prototype.h[194]=function(a){return(a.a[0]<<3)+L(a)+a.a[2]|0};r.prototype.h[195]=function(a){return(a.a[0]<<3)+L(a)+a.a[3]|0};r.prototype.h[196]=function(a){return(a.a[0]<<3)+M(a)+a.a[4]|0};r.prototype.h[197]=function(a,c){return(a.a[0]<<3)+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[198]=function(a){return(a.a[0]<<3)+L(a)+a.a[6]|0};r.prototype.h[199]=function(a){return(a.a[0]<<3)+L(a)+a.a[7]|0};r.prototype.h[8]=function(a){return a.a[1]+L(a)+a.a[0]|0};
|
||||
r.prototype.h[9]=function(a){return a.a[1]+L(a)+a.a[1]|0};r.prototype.h[10]=function(a){return a.a[1]+L(a)+a.a[2]|0};r.prototype.h[11]=function(a){return a.a[1]+L(a)+a.a[3]|0};r.prototype.h[12]=function(a){return a.a[1]+M(a)+a.a[4]|0};r.prototype.h[13]=function(a,c){return a.a[1]+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[14]=function(a){return a.a[1]+L(a)+a.a[6]|0};r.prototype.h[15]=function(a){return a.a[1]+L(a)+a.a[7]|0};r.prototype.h[72]=function(a){return(a.a[1]<<1)+L(a)+a.a[0]|0};r.prototype.h[73]=
|
||||
function(a){return(a.a[1]<<1)+L(a)+a.a[1]|0};r.prototype.h[74]=function(a){return(a.a[1]<<1)+L(a)+a.a[2]|0};r.prototype.h[75]=function(a){return(a.a[1]<<1)+L(a)+a.a[3]|0};r.prototype.h[76]=function(a){return(a.a[1]<<1)+M(a)+a.a[4]|0};r.prototype.h[77]=function(a,c){return(a.a[1]<<1)+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[78]=function(a){return(a.a[1]<<1)+L(a)+a.a[6]|0};r.prototype.h[79]=function(a){return(a.a[1]<<1)+L(a)+a.a[7]|0};r.prototype.h[136]=function(a){return(a.a[1]<<2)+L(a)+a.a[0]|0};
|
||||
r.prototype.h[137]=function(a){return(a.a[1]<<2)+L(a)+a.a[1]|0};r.prototype.h[138]=function(a){return(a.a[1]<<2)+L(a)+a.a[2]|0};r.prototype.h[139]=function(a){return(a.a[1]<<2)+L(a)+a.a[3]|0};r.prototype.h[140]=function(a){return(a.a[1]<<2)+M(a)+a.a[4]|0};r.prototype.h[141]=function(a,c){return(a.a[1]<<2)+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[142]=function(a){return(a.a[1]<<2)+L(a)+a.a[6]|0};r.prototype.h[143]=function(a){return(a.a[1]<<2)+L(a)+a.a[7]|0};r.prototype.h[200]=function(a){return(a.a[1]<<
|
||||
3)+L(a)+a.a[0]|0};r.prototype.h[201]=function(a){return(a.a[1]<<3)+L(a)+a.a[1]|0};r.prototype.h[202]=function(a){return(a.a[1]<<3)+L(a)+a.a[2]|0};r.prototype.h[203]=function(a){return(a.a[1]<<3)+L(a)+a.a[3]|0};r.prototype.h[204]=function(a){return(a.a[1]<<3)+M(a)+a.a[4]|0};r.prototype.h[205]=function(a,c){return(a.a[1]<<3)+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[206]=function(a){return(a.a[1]<<3)+L(a)+a.a[6]|0};r.prototype.h[207]=function(a){return(a.a[1]<<3)+L(a)+a.a[7]|0};r.prototype.h[16]=function(a){return a.a[2]+
|
||||
L(a)+a.a[0]|0};r.prototype.h[17]=function(a){return a.a[2]+L(a)+a.a[1]|0};r.prototype.h[18]=function(a){return a.a[2]+L(a)+a.a[2]|0};r.prototype.h[19]=function(a){return a.a[2]+L(a)+a.a[3]|0};r.prototype.h[20]=function(a){return a.a[2]+M(a)+a.a[4]|0};r.prototype.h[21]=function(a,c){return a.a[2]+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[22]=function(a){return a.a[2]+L(a)+a.a[6]|0};r.prototype.h[23]=function(a){return a.a[2]+L(a)+a.a[7]|0};r.prototype.h[80]=function(a){return(a.a[2]<<1)+L(a)+a.a[0]|
|
||||
0};r.prototype.h[81]=function(a){return(a.a[2]<<1)+L(a)+a.a[1]|0};r.prototype.h[82]=function(a){return(a.a[2]<<1)+L(a)+a.a[2]|0};r.prototype.h[83]=function(a){return(a.a[2]<<1)+L(a)+a.a[3]|0};r.prototype.h[84]=function(a){return(a.a[2]<<1)+M(a)+a.a[4]|0};r.prototype.h[85]=function(a,c){return(a.a[2]<<1)+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[86]=function(a){return(a.a[2]<<1)+L(a)+a.a[6]|0};r.prototype.h[87]=function(a){return(a.a[2]<<1)+L(a)+a.a[7]|0};r.prototype.h[144]=function(a){return(a.a[2]<<
|
||||
2)+L(a)+a.a[0]|0};r.prototype.h[145]=function(a){return(a.a[2]<<2)+L(a)+a.a[1]|0};r.prototype.h[146]=function(a){return(a.a[2]<<2)+L(a)+a.a[2]|0};r.prototype.h[147]=function(a){return(a.a[2]<<2)+L(a)+a.a[3]|0};r.prototype.h[148]=function(a){return(a.a[2]<<2)+M(a)+a.a[4]|0};r.prototype.h[149]=function(a,c){return(a.a[2]<<2)+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[150]=function(a){return(a.a[2]<<2)+L(a)+a.a[6]|0};r.prototype.h[151]=function(a){return(a.a[2]<<2)+L(a)+a.a[7]|0};r.prototype.h[208]=
|
||||
function(a){return(a.a[2]<<3)+L(a)+a.a[0]|0};r.prototype.h[209]=function(a){return(a.a[2]<<3)+L(a)+a.a[1]|0};r.prototype.h[210]=function(a){return(a.a[2]<<3)+L(a)+a.a[2]|0};r.prototype.h[211]=function(a){return(a.a[2]<<3)+L(a)+a.a[3]|0};r.prototype.h[212]=function(a){return(a.a[2]<<3)+M(a)+a.a[4]|0};r.prototype.h[213]=function(a,c){return(a.a[2]<<3)+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[214]=function(a){return(a.a[2]<<3)+L(a)+a.a[6]|0};r.prototype.h[215]=function(a){return(a.a[2]<<3)+L(a)+a.a[7]|
|
||||
0};r.prototype.h[24]=function(a){return a.a[3]+L(a)+a.a[0]|0};r.prototype.h[25]=function(a){return a.a[3]+L(a)+a.a[1]|0};r.prototype.h[26]=function(a){return a.a[3]+L(a)+a.a[2]|0};r.prototype.h[27]=function(a){return a.a[3]+L(a)+a.a[3]|0};r.prototype.h[28]=function(a){return a.a[3]+M(a)+a.a[4]|0};r.prototype.h[29]=function(a,c){return a.a[3]+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[30]=function(a){return a.a[3]+L(a)+a.a[6]|0};r.prototype.h[31]=function(a){return a.a[3]+L(a)+a.a[7]|0};r.prototype.h[88]=
|
||||
function(a){return(a.a[3]<<1)+L(a)+a.a[0]|0};r.prototype.h[89]=function(a){return(a.a[3]<<1)+L(a)+a.a[1]|0};r.prototype.h[90]=function(a){return(a.a[3]<<1)+L(a)+a.a[2]|0};r.prototype.h[91]=function(a){return(a.a[3]<<1)+L(a)+a.a[3]|0};r.prototype.h[92]=function(a){return(a.a[3]<<1)+M(a)+a.a[4]|0};r.prototype.h[93]=function(a,c){return(a.a[3]<<1)+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[94]=function(a){return(a.a[3]<<1)+L(a)+a.a[6]|0};r.prototype.h[95]=function(a){return(a.a[3]<<1)+L(a)+a.a[7]|0};
|
||||
r.prototype.h[152]=function(a){return(a.a[3]<<2)+L(a)+a.a[0]|0};r.prototype.h[153]=function(a){return(a.a[3]<<2)+L(a)+a.a[1]|0};r.prototype.h[154]=function(a){return(a.a[3]<<2)+L(a)+a.a[2]|0};r.prototype.h[155]=function(a){return(a.a[3]<<2)+L(a)+a.a[3]|0};r.prototype.h[156]=function(a){return(a.a[3]<<2)+M(a)+a.a[4]|0};r.prototype.h[157]=function(a,c){return(a.a[3]<<2)+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[158]=function(a){return(a.a[3]<<2)+L(a)+a.a[6]|0};r.prototype.h[159]=function(a){return(a.a[3]<<
|
||||
2)+L(a)+a.a[7]|0};r.prototype.h[216]=function(a){return(a.a[3]<<3)+L(a)+a.a[0]|0};r.prototype.h[217]=function(a){return(a.a[3]<<3)+L(a)+a.a[1]|0};r.prototype.h[218]=function(a){return(a.a[3]<<3)+L(a)+a.a[2]|0};r.prototype.h[219]=function(a){return(a.a[3]<<3)+L(a)+a.a[3]|0};r.prototype.h[220]=function(a){return(a.a[3]<<3)+M(a)+a.a[4]|0};r.prototype.h[221]=function(a,c){return(a.a[3]<<3)+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[222]=function(a){return(a.a[3]<<3)+L(a)+a.a[6]|0};r.prototype.h[223]=
|
||||
function(a){return(a.a[3]<<3)+L(a)+a.a[7]|0};r.prototype.h[32]=function(a){return L(a)+a.a[0]|0};r.prototype.h[33]=function(a){return L(a)+a.a[1]|0};r.prototype.h[34]=function(a){return L(a)+a.a[2]|0};r.prototype.h[35]=function(a){return L(a)+a.a[3]|0};r.prototype.h[36]=function(a){return M(a)+a.a[4]|0};r.prototype.h[37]=function(a,c){return(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[38]=function(a){return L(a)+a.a[6]|0};r.prototype.h[39]=function(a){return L(a)+a.a[7]|0};r.prototype.h[96]=function(a){return L(a)+
|
||||
a.a[0]|0};r.prototype.h[97]=function(a){return L(a)+a.a[1]|0};r.prototype.h[98]=function(a){return L(a)+a.a[2]|0};r.prototype.h[99]=function(a){return L(a)+a.a[3]|0};r.prototype.h[100]=function(a){return M(a)+a.a[4]|0};r.prototype.h[101]=function(a,c){return(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[102]=function(a){return L(a)+a.a[6]|0};r.prototype.h[103]=function(a){return L(a)+a.a[7]|0};r.prototype.h[160]=function(a){return L(a)+a.a[0]|0};r.prototype.h[161]=function(a){return L(a)+a.a[1]|0};r.prototype.h[162]=
|
||||
function(a){return L(a)+a.a[2]|0};r.prototype.h[163]=function(a){return L(a)+a.a[3]|0};r.prototype.h[164]=function(a){return M(a)+a.a[4]|0};r.prototype.h[165]=function(a,c){return(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[166]=function(a){return L(a)+a.a[6]|0};r.prototype.h[167]=function(a){return L(a)+a.a[7]|0};r.prototype.h[224]=function(a){return L(a)+a.a[0]|0};r.prototype.h[225]=function(a){return L(a)+a.a[1]|0};r.prototype.h[226]=function(a){return L(a)+a.a[2]|0};r.prototype.h[227]=function(a){return L(a)+
|
||||
a.a[3]|0};r.prototype.h[228]=function(a){return M(a)+a.a[4]|0};r.prototype.h[229]=function(a,c){return(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[230]=function(a){return L(a)+a.a[6]|0};r.prototype.h[231]=function(a){return L(a)+a.a[7]|0};r.prototype.h[40]=function(a){return a.a[5]+L(a)+a.a[0]|0};r.prototype.h[41]=function(a){return a.a[5]+L(a)+a.a[1]|0};r.prototype.h[42]=function(a){return a.a[5]+L(a)+a.a[2]|0};r.prototype.h[43]=function(a){return a.a[5]+L(a)+a.a[3]|0};r.prototype.h[44]=function(a){return a.a[5]+
|
||||
M(a)+a.a[4]|0};r.prototype.h[45]=function(a,c){return a.a[5]+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[46]=function(a){return a.a[5]+L(a)+a.a[6]|0};r.prototype.h[47]=function(a){return a.a[5]+L(a)+a.a[7]|0};r.prototype.h[104]=function(a){return(a.a[5]<<1)+L(a)+a.a[0]|0};r.prototype.h[105]=function(a){return(a.a[5]<<1)+L(a)+a.a[1]|0};r.prototype.h[106]=function(a){return(a.a[5]<<1)+L(a)+a.a[2]|0};r.prototype.h[107]=function(a){return(a.a[5]<<1)+L(a)+a.a[3]|0};r.prototype.h[108]=function(a){return(a.a[5]<<
|
||||
1)+M(a)+a.a[4]|0};r.prototype.h[109]=function(a,c){return(a.a[5]<<1)+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[110]=function(a){return(a.a[5]<<1)+L(a)+a.a[6]|0};r.prototype.h[111]=function(a){return(a.a[5]<<1)+L(a)+a.a[7]|0};r.prototype.h[168]=function(a){return(a.a[5]<<2)+L(a)+a.a[0]|0};r.prototype.h[169]=function(a){return(a.a[5]<<2)+L(a)+a.a[1]|0};r.prototype.h[170]=function(a){return(a.a[5]<<2)+L(a)+a.a[2]|0};r.prototype.h[171]=function(a){return(a.a[5]<<2)+L(a)+a.a[3]|0};r.prototype.h[172]=
|
||||
function(a){return(a.a[5]<<2)+M(a)+a.a[4]|0};r.prototype.h[173]=function(a,c){return(a.a[5]<<2)+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[174]=function(a){return(a.a[5]<<2)+L(a)+a.a[6]|0};r.prototype.h[175]=function(a){return(a.a[5]<<2)+L(a)+a.a[7]|0};r.prototype.h[232]=function(a){return(a.a[5]<<3)+L(a)+a.a[0]|0};r.prototype.h[233]=function(a){return(a.a[5]<<3)+L(a)+a.a[1]|0};r.prototype.h[234]=function(a){return(a.a[5]<<3)+L(a)+a.a[2]|0};r.prototype.h[235]=function(a){return(a.a[5]<<3)+L(a)+a.a[3]|
|
||||
0};r.prototype.h[236]=function(a){return(a.a[5]<<3)+M(a)+a.a[4]|0};r.prototype.h[237]=function(a,c){return(a.a[5]<<3)+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[238]=function(a){return(a.a[5]<<3)+L(a)+a.a[6]|0};r.prototype.h[239]=function(a){return(a.a[5]<<3)+L(a)+a.a[7]|0};r.prototype.h[48]=function(a){return a.a[6]+L(a)+a.a[0]|0};r.prototype.h[49]=function(a){return a.a[6]+L(a)+a.a[1]|0};r.prototype.h[50]=function(a){return a.a[6]+L(a)+a.a[2]|0};r.prototype.h[51]=function(a){return a.a[6]+L(a)+
|
||||
a.a[3]|0};r.prototype.h[52]=function(a){return a.a[6]+M(a)+a.a[4]|0};r.prototype.h[53]=function(a,c){return a.a[6]+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[54]=function(a){return a.a[6]+L(a)+a.a[6]|0};r.prototype.h[55]=function(a){return a.a[6]+L(a)+a.a[7]|0};r.prototype.h[112]=function(a){return(a.a[6]<<1)+L(a)+a.a[0]|0};r.prototype.h[113]=function(a){return(a.a[6]<<1)+L(a)+a.a[1]|0};r.prototype.h[114]=function(a){return(a.a[6]<<1)+L(a)+a.a[2]|0};r.prototype.h[115]=function(a){return(a.a[6]<<1)+
|
||||
L(a)+a.a[3]|0};r.prototype.h[116]=function(a){return(a.a[6]<<1)+M(a)+a.a[4]|0};r.prototype.h[117]=function(a,c){return(a.a[6]<<1)+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[118]=function(a){return(a.a[6]<<1)+L(a)+a.a[6]|0};r.prototype.h[119]=function(a){return(a.a[6]<<1)+L(a)+a.a[7]|0};r.prototype.h[176]=function(a){return(a.a[6]<<2)+L(a)+a.a[0]|0};r.prototype.h[177]=function(a){return(a.a[6]<<2)+L(a)+a.a[1]|0};r.prototype.h[178]=function(a){return(a.a[6]<<2)+L(a)+a.a[2]|0};r.prototype.h[179]=function(a){return(a.a[6]<<
|
||||
2)+L(a)+a.a[3]|0};r.prototype.h[180]=function(a){return(a.a[6]<<2)+M(a)+a.a[4]|0};r.prototype.h[181]=function(a,c){return(a.a[6]<<2)+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[182]=function(a){return(a.a[6]<<2)+L(a)+a.a[6]|0};r.prototype.h[183]=function(a){return(a.a[6]<<2)+L(a)+a.a[7]|0};r.prototype.h[240]=function(a){return(a.a[6]<<3)+L(a)+a.a[0]|0};r.prototype.h[241]=function(a){return(a.a[6]<<3)+L(a)+a.a[1]|0};r.prototype.h[242]=function(a){return(a.a[6]<<3)+L(a)+a.a[2]|0};r.prototype.h[243]=
|
||||
function(a){return(a.a[6]<<3)+L(a)+a.a[3]|0};r.prototype.h[244]=function(a){return(a.a[6]<<3)+M(a)+a.a[4]|0};r.prototype.h[245]=function(a,c){return(a.a[6]<<3)+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[246]=function(a){return(a.a[6]<<3)+L(a)+a.a[6]|0};r.prototype.h[247]=function(a){return(a.a[6]<<3)+L(a)+a.a[7]|0};r.prototype.h[56]=function(a){return a.a[7]+L(a)+a.a[0]|0};r.prototype.h[57]=function(a){return a.a[7]+L(a)+a.a[1]|0};r.prototype.h[58]=function(a){return a.a[7]+L(a)+a.a[2]|0};r.prototype.h[59]=
|
||||
function(a){return a.a[7]+L(a)+a.a[3]|0};r.prototype.h[60]=function(a){return a.a[7]+M(a)+a.a[4]|0};r.prototype.h[61]=function(a,c){return a.a[7]+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[62]=function(a){return a.a[7]+L(a)+a.a[6]|0};r.prototype.h[63]=function(a){return a.a[7]+L(a)+a.a[7]|0};r.prototype.h[120]=function(a){return(a.a[7]<<1)+L(a)+a.a[0]|0};r.prototype.h[121]=function(a){return(a.a[7]<<1)+L(a)+a.a[1]|0};r.prototype.h[122]=function(a){return(a.a[7]<<1)+L(a)+a.a[2]|0};r.prototype.h[123]=
|
||||
function(a){return(a.a[7]<<1)+L(a)+a.a[3]|0};r.prototype.h[124]=function(a){return(a.a[7]<<1)+M(a)+a.a[4]|0};r.prototype.h[125]=function(a,c){return(a.a[7]<<1)+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[126]=function(a){return(a.a[7]<<1)+L(a)+a.a[6]|0};r.prototype.h[127]=function(a){return(a.a[7]<<1)+L(a)+a.a[7]|0};r.prototype.h[184]=function(a){return(a.a[7]<<2)+L(a)+a.a[0]|0};r.prototype.h[185]=function(a){return(a.a[7]<<2)+L(a)+a.a[1]|0};r.prototype.h[186]=function(a){return(a.a[7]<<2)+L(a)+a.a[2]|
|
||||
0};r.prototype.h[187]=function(a){return(a.a[7]<<2)+L(a)+a.a[3]|0};r.prototype.h[188]=function(a){return(a.a[7]<<2)+M(a)+a.a[4]|0};r.prototype.h[189]=function(a,c){return(a.a[7]<<2)+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[190]=function(a){return(a.a[7]<<2)+L(a)+a.a[6]|0};r.prototype.h[191]=function(a){return(a.a[7]<<2)+L(a)+a.a[7]|0};r.prototype.h[248]=function(a){return(a.a[7]<<3)+L(a)+a.a[0]|0};r.prototype.h[249]=function(a){return(a.a[7]<<3)+L(a)+a.a[1]|0};r.prototype.h[250]=function(a){return(a.a[7]<<
|
||||
3)+L(a)+a.a[2]|0};r.prototype.h[251]=function(a){return(a.a[7]<<3)+L(a)+a.a[3]|0};r.prototype.h[252]=function(a){return(a.a[7]<<3)+M(a)+a.a[4]|0};r.prototype.h[253]=function(a,c){return(a.a[7]<<3)+(c?M(a)+a.a[5]:L(a)+G(a))|0};r.prototype.h[254]=function(a){return(a.a[7]<<3)+L(a)+a.a[6]|0};r.prototype.h[255]=function(a){return(a.a[7]<<3)+L(a)+a.a[7]|0};r.prototype.M=function(a){return 192>a?(this.$a?this.f:this.l)[a](this):-1}})();function Sd(a,c){return 0>a?(c&4095)>>(-a>>1):(~c&4095)>>a}function Td(a,c,d){return Math.min(Sd(a,c),Sd(a,d))}function Ud(a){var c=a.j[4];Nd(a,c,1);var d=a.H[0]+a.i[a.w]|0,e=a.g&1024?-1:1;if(0!==a.Y){var g=a.i[a.L]>>>0;if(0!==g){var h=!1,k=g,q=4096,t=cd(a,d);a.X&&(q=Sd(e,d));do a.memory.ka(t,Ea(a.C,c)),t+=e,h=0!==--g;while(h&&q--);a.i[a.w]+=e*(k-g)|0;a.i[a.L]=g;a.U+=k-g;h&&Ud(a)}}else bd(a,d,Ea(a.C,c)),a.i[a.w]+=e}
|
||||
function Vd(a){var c=a.j[4];Nd(a,c,2);var d=a.H[0]+a.i[a.w]|0,e=a.g&1024?-2:2;if(0!==a.Y){var g=a.i[a.L]>>>0;if(0!==g){var h=!1,k=g,q=4096;if(d&1){do jb(a,d,Fa(a.C,c)),d+=e,a.i[a.w]+=e,h=0!==--a.i[a.L];while(h&&q--)}else{var t=0>e?-1:1,y=cd(a,d)>>1;a.X&&(q=Sd(e,d));do ac(a.memory,y,Fa(a.C,c)),y+=t,h=0!==--g;while(h&&q--);a.i[a.w]+=e*(k-g)|0;a.i[a.L]=g;a.U+=k-g}h&&Vd(a)}}else jb(a,d,Fa(a.C,c)),a.i[a.w]+=e}
|
||||
function Wd(a){var c=a.j[4];Nd(a,c,4);var d=a.H[0]+a.i[a.w]|0,e=a.g&1024?-4:4;if(0!==a.Y){var g=a.i[a.L]>>>0;if(0!==g){var h=!1,k=g,q=4096;if(d&3){do v(a,d,Ga(a.C,c)),d+=e,a.i[a.w]+=e,h=0!==--a.i[a.L];while(h&&q--)}else{var t=0>e?-1:1,y=cd(a,d)>>>2;a.X&&(q=Sd(e,d));do bc(a.memory,y,Ga(a.C,c)),y+=t,h=0!==--g;while(h&&q--);a.i[a.w]+=e*(k-g)|0;a.i[a.L]=g;a.U+=k-g}h&&Wd(a)}}else v(a,d,Ga(a.C,c)),a.i[a.w]+=e}
|
||||
function Xd(a){var c=a.j[4];Nd(a,c,1);var d=ed(a,3)+a.i[a.G]|0,e=a.g&1024?-1:1;if(0!==a.Y){var g=a.i[a.L]>>>0;if(0!==g){var h=!1,k=g,q=4096,t=Zc(a,d);a.X&&(q=Sd(e,d));do Ba(a.C,c,a.memory.aa(t)),t+=e,h=0!==--g;while(h&&q--);a.i[a.G]+=e*(k-g)|0;a.i[a.L]=g;a.U+=k-g;h&&Xd(a)}}else Ba(a.C,c,ad(a,d)),a.i[a.G]+=e}
|
||||
function Yd(a){var c=a.j[4];Nd(a,c,2);var d=ed(a,3)+a.i[a.G]|0,e=a.g&1024?-2:2;if(0!==a.Y){var g=a.i[a.L]>>>0;if(0!==g){var h=!1,k=g,q=4096;if(d&1){do Ca(a.C,c,w(a,d)),d+=e,a.i[a.G]+=e,h=0!==--a.i[a.L];while(h&&q--)}else{var t=0>e?-1:1,y=Zc(a,d)>>1;a.X&&(q=Sd(e,d));do Ca(a.C,c,Zb(a.memory,y)),y+=t,h=0!==--g;while(h&&q--);a.i[a.G]+=e*(k-g)|0;a.i[a.L]=g;a.U+=k-g}h&&Yd(a)}}else Ca(a.C,c,w(a,d)),a.i[a.G]+=e}
|
||||
function Zd(a){var c=a.j[4];Nd(a,c,4);var d=ed(a,3)+a.i[a.G]|0,e=a.g&1024?-4:4;if(0!==a.Y){var g=a.i[a.L]>>>0;if(0!==g){var h=!1,k=g,q=4096;if(d&3){do Da(a.C,c,x(a,d)),d+=e,a.i[a.G]+=e,h=0!==--a.i[a.L];while(h&&q--)}else{var t=0>e?-1:1,y=Zc(a,d)>>>2;a.X&&(q=Sd(e,d));do Da(a.C,c,$b(a.memory,y)),y+=t,h=0!==--g;while(h&&q--);a.i[a.G]+=e*(k-g)|0;a.i[a.L]=g;a.U+=k-g}h&&Zd(a)}}else Da(a.C,c,x(a,d)),a.i[a.G]+=e};function $d(a,c,d){return a.add(c,d,7)}function ae(a,c,d){return a.add(c,d,15)}function be(a,c,d){return a.add(c,d,31)}function ce(a,c,d){return de(a,c,d,7)}function ge(a,c,d){return de(a,c,d,15)}function he(a,c,d){return de(a,c,d,31)}function ie(a,c,d){return je(a,c,d,7)}function ke(a,c,d){return je(a,c,d,15)}function le(a,c,d){return je(a,c,d,31)}function me(a,c,d){return ne(a,c,d,7)}function oe(a,c,d){return ne(a,c,d,15)}function pe(a,c,d){return ne(a,c,d,31)}
|
||||
r.prototype.add=function(a,c,d){this.Pa=a;this.Ia=c;this.v=this.J=a+c|0;this.ba=d;this.o=2261;return this.J};function de(a,c,d,e){var g=a.Aa();a.Pa=c;a.Ia=d;a.v=a.J=(c+d|0)+g|0;a.ba=e;a.o=2261;return a.J}function je(a,c,d,e){a.v=c;a.Ia=d;a.Pa=a.J=c-d|0;a.ba=e;a.o=2261;return a.J}function ne(a,c,d,e){var g=a.Aa();a.v=c;a.Ia=d;a.Pa=a.J=c-d-g|0;a.ba=e;a.o=2261;return a.J}function qe(a,c,d){a.g=a.g&-2|a.Aa();a.Pa=c;a.Ia=1;a.v=a.J=c+1|0;a.ba=d;a.o=2260;return a.J}
|
||||
function re(a,c,d){a.g=a.g&-2|a.Aa();a.v=c;a.Ia=1;a.Pa=a.J=c-1|0;a.ba=d;a.o=2260;return a.J}function se(a,c,d){a.Pa=a.J=-c|0;a.o=2261;a.v=0;a.Ia=c;a.ba=d;return a.J}function te(a,c,d){c=c*d;a.g=32767<c||-32768>c?a.g|2049:a.g&-2050;a.o=0;return c}var ue=new Int32Array(2);function ve(a,c){var d=a&65535,e=a>>>16,g=c&65535,h=c>>>16,k=d*g,g=(k>>>16)+(e*g|0)|0,q=g>>>16,g=(g&65535)+(d*h|0)|0;ue[0]=g<<16|k&65535;ue[1]=((g>>>16)+(e*h|0)|0)+q|0;return ue}
|
||||
function we(a,c){var d=!1;0>a&&(d=!0,a=-a|0);0>c&&(d=!d,c=-c|0);var e=ve(a,c);d&&(e[0]=-e[0]|0,e[1]=~e[1]+!e[0]|0);return e}function xe(a,c,d){c=we(c,d);a.g=c[1]===c[0]>>31?a.g&-2050:a.g|2049;a.o=0;return c[0]}var ye=new Float64Array(2);function ze(a,c,d,e){(d>=e||0===e)&&ud(a);a=0;if(1048576<d){for(var g=32,h=e;h>d;)h>>>=1,g--;for(;1048576<d;){if(d>=h){d-=h;var k=e<<g>>>0;k>c&&d--;c=c-k>>>0;a|=1<<g}g--;h>>=1}a>>>=0}c+=4294967296*d;ye[0]=a+(c/e|0);ye[1]=c%e;return ye}
|
||||
function Ae(a,c,d){return Be(a,c,d,7)}function Ce(a,c,d){return Be(a,c,d,15)}function De(a,c,d){return Be(a,c,d,31)}function Ee(a,c,d){return Fe(a,c,d,7)}function Ge(a,c,d){return Fe(a,c,d,15)}function He(a,c,d){return Fe(a,c,d,31)}function Ie(a,c,d){return Je(a,c,d,7)}function Ke(a,c,d){return Je(a,c,d,15)}function Le(a,c,d){return Je(a,c,d,31)}function Be(a,c,d,e){a.J=c&d;a.ba=e;a.g&=-2066;a.o=196;return a.J}function Fe(a,c,d,e){a.J=c|d;a.ba=e;a.g&=-2066;a.o=196;return a.J}
|
||||
function Je(a,c,d,e){a.J=c^d;a.ba=e;a.g&=-2066;a.o=196;return a.J}function Me(a,c,d){if(!d)return c;d&=7;c=c<<d|c>>8-d;a.o&=-2050;a.g=a.g&-2050|c&1|(c<<11^c<<4)&2048;return c}function Ne(a,c,d){if(!d)return c;d&=15;c=c<<d|c>>16-d;a.o&=-2050;a.g=a.g&-2050|c&1|(c<<11^c>>4)&2048;return c}function Oe(a,c,d){if(!d)return c;c=c<<d|c>>>32-d;a.o&=-2050;a.g=a.g&-2050|c&1|(c<<11^c>>20)&2048;return c}
|
||||
function Pe(a,c,d){d%=9;if(!d)return c;c=c<<d|a.Aa()<<d-1|c>>9-d;a.o&=-2050;a.g=a.g&-2050|c>>8&1|(c<<3^c<<4)&2048;return c}function Qe(a,c,d){d%=17;if(!d)return c;c=c<<d|a.Aa()<<d-1|c>>17-d;a.o&=-2050;a.g=a.g&-2050|c>>16&1|(c>>5^c>>4)&2048;return c}function Re(a,c,d){if(!d)return c;var e=c<<d|a.Aa()<<d-1;1<d&&(e|=c>>>33-d);a.o&=-2050;a.g=a.g&-2050|c>>>32-d&1;a.g|=(a.g<<11^e>>20)&2048;return e}
|
||||
function Se(a,c,d){if(!d)return c;d&=7;c=c>>d|c<<8-d;a.o&=-2050;a.g=a.g&-2050|c>>7&1|(c<<4^c<<5)&2048;return c}function Te(a,c,d){if(!d)return c;d&=15;c=c>>d|c<<16-d;a.o&=-2050;a.g=a.g&-2050|c>>15&1|(c>>4^c>>3)&2048;return c}function Ue(a,c,d){if(!d)return c;c=c>>>d|c<<32-d;a.o&=-2050;a.g=a.g&-2050|c>>31&1|(c>>20^c>>19)&2048;return c}function Ve(a,c,d){d%=9;if(!d)return c;c=c>>d|a.Aa()<<8-d|c<<9-d;a.o&=-2050;a.g=a.g&-2050|c>>8&1|(c<<4^c<<5)&2048;return c}
|
||||
function We(a,c,d){d%=17;if(!d)return c;c=c>>d|a.Aa()<<16-d|c<<17-d;a.o&=-2050;a.g=a.g&-2050|c>>16&1|(c>>4^c>>3)&2048;return c}function Xe(a,c,d){if(!d)return c;var e=c>>>d|a.Aa()<<32-d;1<d&&(e|=c<<33-d);a.o&=-2050;a.g=a.g&-2050|c>>d-1&1|(e>>20^e>>19)&2048;return e}function Ye(a,c,d){if(0===d)return c;a.J=c<<d;a.ba=7;a.o=212;a.g=a.g&-2050|a.J>>8&1|(a.J<<3^a.J<<4)&2048;return a.J}function Ze(a,c,d){if(0===d)return c;a.J=c<<d;a.ba=15;a.o=212;a.g=a.g&-2050|a.J>>16&1|(a.J>>5^a.J>>4)&2048;return a.J}
|
||||
function $e(a,c,d){if(0===d)return c;a.J=c<<d;a.ba=31;a.o=212;a.g=a.g&-2050|c>>>32-d&1;a.g|=(a.g&1^a.J>>31&1)<<11&2048;return a.J}function af(a,c,d){if(0===d)return c;a.J=c>>d;a.ba=7;a.o=212;a.g=a.g&-2050|c>>d-1&1|(c>>7&1)<<11&2048;return a.J}function bf(a,c,d){if(0===d)return c;a.J=c>>d;a.ba=15;a.o=212;a.g=a.g&-2050|c>>d-1&1|c>>4&2048;return a.J}function cf(a,c,d){if(0===d)return c;a.J=c>>>d;a.ba=31;a.o=212;a.g=a.g&-2050|c>>>d-1&1|c>>20&2048;return a.J}
|
||||
function df(a,c,d){if(0===d)return c;8>d?(a.J=c<<24>>d+24,a.g=a.g&-2050|c>>d-1&1):(a.J=c<<24>>31,a.g=a.g&-2050|a.J&1);a.ba=7;a.o=212;return a.J}function ef(a,c,d){if(0===d)return c;16>d?(a.J=c<<16>>d+16,a.g=a.g&-2050|c>>d-1&1):(a.J=c<<16>>31,a.g=a.g&-2050|a.J&1);a.ba=15;a.o=212;return a.J}function ff(a,c,d){if(0===d)return c;a.J=c>>d;a.ba=31;a.o=212;a.g=a.g&-2050|c>>>d-1&1;return a.J}
|
||||
function gf(a,c,d,e){if(0===e)return c;16>=e?(a.J=c>>e|d<<16-e,a.g=a.g&-2|c>>e-1&1):(a.J=c<<32-e|d>>e-16,a.g=a.g&-2|d>>e-17&1);a.ba=15;a.o=212;a.g=a.g&-2049|(a.J^c)>>4&2048;return a.J}function hf(a,c,d,e){if(0===e)return c;a.J=c>>>e|d<<32-e;a.ba=31;a.o=212;a.g=a.g&-2|c>>>e-1&1;a.g=a.g&-2049|(a.J^c)>>20&2048;return a.J}
|
||||
function jf(a,c,d,e){if(0===e)return c;16>=e?(a.J=c<<e|d>>>16-e,a.g=a.g&-2|c>>>16-e&1):(a.J=c>>32-e|d<<e-16,a.g=a.g&-2|d>>>32-e&1);a.ba=15;a.o=212;a.g=a.g&-2049|(a.g&1^a.J>>15&1)<<11;return a.J}function kf(a,c,d,e){if(0===e)return c;a.J=c<<e|d>>>32-e;a.ba=31;a.o=212;a.g=a.g&-2|c>>>32-e&1;a.g=a.g&-2049|(a.g&1^a.J>>31&1)<<11;return a.J}function lf(a,c,d){a.g=a.g&-2|c>>d&1;a.o&=-2}function mf(a,c,d){a.g=a.g&-2|c>>d&1;a.o&=-2;return c^1<<d}function nf(a,c,d){a.g=a.g&-2|c>>d&1;a.o&=-2;return c|1<<d}
|
||||
function of(a,c,d){a.g=a.g&-2|c>>d&1;a.o&=-2;return c&~(1<<d)}function pf(a,c,d){c=ad(a,c+(d>>3)|0);a.g=a.g&-2|c>>(d&7)&1;a.o&=-2}function qf(a,c,d){c=cd(a,c+(d>>3)|0);var e=a.memory.aa(c);d&=7;a.g=a.g&-2|e>>d&1;a.o&=-2;a.memory.ka(c,e^1<<d)}function rf(a,c,d){c=cd(a,c+(d>>3)|0);var e=a.memory.aa(c);d&=7;a.g=a.g&-2|e>>d&1;a.o&=-2;a.memory.ka(c,e&~(1<<d))}function sf(a,c,d){c=cd(a,c+(d>>3)|0);var e=a.memory.aa(c);d&=7;a.g=a.g&-2|e>>d&1;a.o&=-2;a.memory.ka(c,e|1<<d)}
|
||||
function tf(a,c){a.o=0;a.g&=-2262;if(c)return c=c-(c>>1&1431655765),c=(c&858993459)+(c>>2&858993459),16843009*(c+(c>>4)&252645135)>>24;a.g|=64;return 0};function uf(a,c){if(c){var d=E(a);a.s=a.s+d|0}else a.s=a.s+1|0}function vf(a,c){var d=a.H[1];a.s-=d;a.s=a.s+c&65535;a.s=a.s+d|0}function wf(a,c){c?vf(a,F(a)):a.s=a.s+2|0}function xf(a,c){if(c){var d=G(a);a.s=a.s+d|0}else a.s=a.s+4|0}function yf(a,c){var d=N(a);c&&Ld(a,d)}function zf(a,c){var d=xd(a);c&&Md(a,d)}function Df(a,c){yd(a,a.M(a.c),c?1:0)}m=r.prototype;m.loop=function(a){--this.i[this.L]&&(this.s=this.s+a|0)};
|
||||
m.Aa=function(){return this.o&1?(this.Pa^(this.Pa^this.Ia)&(this.Ia^this.v))>>>this.ba&1:this.g&1};m.re=function(){return this.o&4?154020>>((this.J^this.J>>4)&15)&4:this.g&4};function id(a){return a.o&16?(a.Pa^a.Ia^a.v)&16:a.g&16}m.Eb=function(){return this.o&64?(~this.J&this.J-1)>>>this.ba&1:this.g&64};m.wd=function(){return this.o&128?this.J>>>this.ba&1:this.g&128};m.Xc=function(){return this.o&2048?((this.Pa^this.v)&(this.Ia^this.v))>>>this.ba&1:this.g&2048};m.cb=r.prototype.Xc;m.Va=r.prototype.Aa;
|
||||
m.Xa=r.prototype.Eb;m.eb=r.prototype.wd;m.Wa=r.prototype.re;function Ef(a){return a.Aa()||a.Eb()}function Ff(a){return!a.wd()!==!a.Xc()}function Gf(a){return a.Eb()||!a.wd()!==!a.Xc()}function K(a,c){var d=H(a,-2);jb(a,d,c);md(a,ld(a)-2)}function J(a,c){var d=H(a,-4);v(a,d,c);md(a,ld(a)-4)}function Hf(a){var c=w(a,a.H[2]+ld(a)|0);md(a,ld(a)+2);return c}function U(a){var c=x(a,a.H[2]+ld(a)|0);md(a,ld(a)+4);return c}function If(a,c){var d=a.j[0];a.j[0]=a.j[c];a.j[c]=d}
|
||||
function Jf(a,c){var d=a.a[0];a.a[0]=a.a[c];a.a[c]=d}function Kf(a,c){if(192<=a.c){debugger;u(a)}var d=a.M(a.c),e=w(a,d),d=w(a,d+2|0);C(a,c,d);a.j[a.c>>2&14]=e}function Lf(a,c){192<=a.c&&u(a);var d=a.M(a.c),e=x(a,d),d=w(a,d+4|0);C(a,c,d);a.a[a.c>>3&7]=e}function Mf(a,c){var d=a.a[c];a.a[c]=d>>>24|d<<24|d>>8&65280|d<<8&16711680};var V=[],W=[],X=[];V[0]=function(a){a.c=D(a);Cd(a,$d(a,Bd(a),Hd(a)))};W[1]=function(a){a.c=D(a);P(a,ae(a,O(a),Jd(a)))};X[1]=function(a){a.c=D(a);S(a,be(a,R(a),T(a)))};V[2]=function(a){a.c=D(a);Id(a,$d(a,Hd(a),wd(a)))};W[3]=function(a){a.c=D(a);Ld(a,ae(a,Jd(a),N(a)))};X[3]=function(a){a.c=D(a);Md(a,be(a,T(a),xd(a)))};V[4]=function(a){a.A[0]=$d(a,a.A[0],D(a))};W[5]=function(a){a.j[0]=ae(a,a.j[0],F(a))};X[5]=function(a){a.a[0]=be(a,a.a[0],G(a))};W[6]=function(a){K(a,a.N[0])};X[6]=function(a){J(a,a.N[0])};
|
||||
W[7]=function(a){C(a,0,w(a,H(a,0)));md(a,ld(a)+2)};X[7]=function(a){C(a,0,w(a,H(a,0)));md(a,ld(a)+4)};V[8]=function(a){a.c=D(a);Cd(a,Ee(a,Bd(a),Hd(a)))};W[9]=function(a){a.c=D(a);P(a,Ge(a,O(a),Jd(a)))};X[9]=function(a){a.c=D(a);S(a,He(a,R(a),T(a)))};V[10]=function(a){a.c=D(a);Id(a,Ee(a,Hd(a),wd(a)))};W[11]=function(a){a.c=D(a);Ld(a,Ge(a,Jd(a),N(a)))};X[11]=function(a){a.c=D(a);Md(a,He(a,T(a),xd(a)))};V[12]=function(a){a.A[0]=Ee(a,a.A[0],D(a))};W[13]=function(a){a.j[0]=Ge(a,a.j[0],F(a))};
|
||||
X[13]=function(a){a.a[0]=He(a,a.a[0],G(a))};W[14]=function(a){K(a,a.N[1])};X[14]=function(a){J(a,a.N[1])};W[15]=function(a){a.Sg[D(a)](a)};X[15]=function(a){a.Tg[D(a)](a)};V[16]=function(a){a.c=D(a);Cd(a,ce(a,Bd(a),Hd(a)))};W[17]=function(a){a.c=D(a);P(a,ge(a,O(a),Jd(a)))};X[17]=function(a){a.c=D(a);S(a,he(a,R(a),T(a)))};V[18]=function(a){a.c=D(a);Id(a,ce(a,Hd(a),wd(a)))};W[19]=function(a){a.c=D(a);Ld(a,ge(a,Jd(a),N(a)))};X[19]=function(a){a.c=D(a);Md(a,he(a,T(a),xd(a)))};
|
||||
V[20]=function(a){a.A[0]=ce(a,a.A[0],D(a))};W[21]=function(a){a.j[0]=ge(a,a.j[0],F(a))};X[21]=function(a){a.a[0]=he(a,a.a[0],G(a))};W[22]=function(a){K(a,a.N[2])};X[22]=function(a){J(a,a.N[2])};W[23]=function(a){C(a,2,w(a,H(a,0)));md(a,ld(a)+2);Tc(a);Vc(a)};X[23]=function(a){C(a,2,w(a,H(a,0)));md(a,ld(a)+4);Tc(a);Vc(a)};V[24]=function(a){a.c=D(a);Cd(a,me(a,Bd(a),Hd(a)))};W[25]=function(a){a.c=D(a);P(a,oe(a,O(a),Jd(a)))};X[25]=function(a){a.c=D(a);S(a,pe(a,R(a),T(a)))};
|
||||
V[26]=function(a){a.c=D(a);Id(a,me(a,Hd(a),wd(a)))};W[27]=function(a){a.c=D(a);Ld(a,oe(a,Jd(a),N(a)))};X[27]=function(a){a.c=D(a);Md(a,pe(a,T(a),xd(a)))};V[28]=function(a){a.A[0]=me(a,a.A[0],D(a))};W[29]=function(a){a.j[0]=oe(a,a.j[0],F(a))};X[29]=function(a){a.a[0]=pe(a,a.a[0],G(a))};W[30]=function(a){K(a,a.N[3])};X[30]=function(a){J(a,a.N[3])};W[31]=function(a){C(a,3,w(a,H(a,0)));md(a,ld(a)+2)};X[31]=function(a){C(a,3,w(a,H(a,0)));md(a,ld(a)+4)};V[32]=function(a){a.c=D(a);Cd(a,Ae(a,Bd(a),Hd(a)))};
|
||||
W[33]=function(a){a.c=D(a);P(a,Ce(a,O(a),Jd(a)))};X[33]=function(a){a.c=D(a);S(a,De(a,R(a),T(a)))};V[34]=function(a){a.c=D(a);Id(a,Ae(a,Hd(a),wd(a)))};W[35]=function(a){a.c=D(a);Ld(a,Ce(a,Jd(a),N(a)))};X[35]=function(a){a.c=D(a);Md(a,De(a,T(a),xd(a)))};V[36]=function(a){a.A[0]=Ae(a,a.A[0],D(a))};W[37]=function(a){a.j[0]=Ce(a,a.j[0],F(a))};X[37]=function(a){a.a[0]=De(a,a.a[0],G(a))};V[38]=function(a){a.na=0;Wc(a);a.na=-1};
|
||||
V[39]=function(a){var c=a.A[0],d=a.Aa(),e=id(a);a.g&=-18;if(9<(c&15)||e)a.A[0]+=6,a.g|=16;if(153<c||d)a.A[0]+=96,a.g|=1;a.J=a.A[0];a.ba=7;a.Pa=a.Ia=0;a.o=196};V[40]=function(a){a.c=D(a);Cd(a,ie(a,Bd(a),Hd(a)))};W[41]=function(a){a.c=D(a);P(a,ke(a,O(a),Jd(a)))};X[41]=function(a){a.c=D(a);S(a,le(a,R(a),T(a)))};V[42]=function(a){a.c=D(a);Id(a,ie(a,Hd(a),wd(a)))};W[43]=function(a){a.c=D(a);Ld(a,ke(a,Jd(a),N(a)))};X[43]=function(a){a.c=D(a);Md(a,le(a,T(a),xd(a)))};
|
||||
V[44]=function(a){a.A[0]=ie(a,a.A[0],D(a))};W[45]=function(a){a.j[0]=ke(a,a.j[0],F(a))};X[45]=function(a){a.a[0]=le(a,a.a[0],G(a))};V[46]=function(a){a.na=1;Wc(a);a.na=-1};V[47]=function(a){var c=a.A[0],d=a.Aa();a.g&=-2;9<(c&15)||id(a)?(a.A[0]-=6,a.g|=16,a.g=a.g&-2|d|a.A[0]>>7):a.g&=-17;if(153<c||d)a.A[0]-=96,a.g|=1;a.J=a.A[0];a.ba=7;a.Pa=a.Ia=0;a.o=196};V[48]=function(a){a.c=D(a);Cd(a,Ie(a,Bd(a),Hd(a)))};W[49]=function(a){a.c=D(a);P(a,Ke(a,O(a),Jd(a)))};X[49]=function(a){a.c=D(a);S(a,Le(a,R(a),T(a)))};
|
||||
V[50]=function(a){a.c=D(a);Id(a,Ie(a,Hd(a),wd(a)))};W[51]=function(a){a.c=D(a);Ld(a,Ke(a,Jd(a),N(a)))};X[51]=function(a){a.c=D(a);Md(a,Le(a,T(a),xd(a)))};V[52]=function(a){a.A[0]=Ie(a,a.A[0],D(a))};W[53]=function(a){a.j[0]=Ke(a,a.j[0],F(a))};X[53]=function(a){a.a[0]=Le(a,a.a[0],G(a))};V[54]=function(a){a.na=2;Wc(a);a.na=-1};V[55]=function(a){9<(a.A[0]&15)||id(a)?(a.j[0]+=6,a.A[1]+=1,a.g|=17):a.g&=-18;a.A[0]&=15;a.o&=-18};V[56]=function(a){a.c=D(a);var c=wd(a);je(a,c,Hd(a),7)};
|
||||
W[57]=function(a){a.c=D(a);var c=N(a);je(a,c,Jd(a),15)};X[57]=function(a){a.c=D(a);var c=xd(a);je(a,c,T(a),31)};V[58]=function(a){a.c=D(a);var c=wd(a);je(a,Hd(a),c,7)};W[59]=function(a){a.c=D(a);var c=N(a);je(a,Jd(a),c,15)};X[59]=function(a){a.c=D(a);var c=xd(a);je(a,T(a),c,31)};V[60]=function(a){var c=D(a);je(a,a.A[0],c,7)};W[61]=function(a){var c=F(a);je(a,a.j[0],c,15)};X[61]=function(a){var c=G(a);je(a,a.a[0],c,31)};V[62]=function(a){a.na=3;Wc(a);a.na=-1};
|
||||
V[63]=function(a){9<(a.A[0]&15)||id(a)?(a.j[0]-=6,--a.A[1],a.g|=17):a.g&=-18;a.A[0]&=15;a.o&=-18};W[64]=function(a){a.j[0]=qe(a,a.j[0],15)};X[64]=function(a){a.a[0]=qe(a,a.a[0],31)};W[65]=function(a){a.j[2]=qe(a,a.j[2],15)};X[65]=function(a){a.a[1]=qe(a,a.a[1],31)};W[66]=function(a){a.j[4]=qe(a,a.j[4],15)};X[66]=function(a){a.a[2]=qe(a,a.a[2],31)};W[67]=function(a){a.j[6]=qe(a,a.j[6],15)};X[67]=function(a){a.a[3]=qe(a,a.a[3],31)};W[68]=function(a){a.j[8]=qe(a,a.j[8],15)};
|
||||
X[68]=function(a){a.a[4]=qe(a,a.a[4],31)};W[69]=function(a){a.j[10]=qe(a,a.j[10],15)};X[69]=function(a){a.a[5]=qe(a,a.a[5],31)};W[70]=function(a){a.j[12]=qe(a,a.j[12],15)};X[70]=function(a){a.a[6]=qe(a,a.a[6],31)};W[71]=function(a){a.j[14]=qe(a,a.j[14],15)};X[71]=function(a){a.a[7]=qe(a,a.a[7],31)};W[72]=function(a){a.j[0]=re(a,a.j[0],15)};X[72]=function(a){a.a[0]=re(a,a.a[0],31)};W[73]=function(a){a.j[2]=re(a,a.j[2],15)};X[73]=function(a){a.a[1]=re(a,a.a[1],31)};
|
||||
W[74]=function(a){a.j[4]=re(a,a.j[4],15)};X[74]=function(a){a.a[2]=re(a,a.a[2],31)};W[75]=function(a){a.j[6]=re(a,a.j[6],15)};X[75]=function(a){a.a[3]=re(a,a.a[3],31)};W[76]=function(a){a.j[8]=re(a,a.j[8],15)};X[76]=function(a){a.a[4]=re(a,a.a[4],31)};W[77]=function(a){a.j[10]=re(a,a.j[10],15)};X[77]=function(a){a.a[5]=re(a,a.a[5],31)};W[78]=function(a){a.j[12]=re(a,a.j[12],15)};X[78]=function(a){a.a[6]=re(a,a.a[6],31)};W[79]=function(a){a.j[14]=re(a,a.j[14],15)};
|
||||
X[79]=function(a){a.a[7]=re(a,a.a[7],31)};W[80]=function(a){K(a,a.j[0])};X[80]=function(a){J(a,a.a[0])};W[81]=function(a){K(a,a.j[2])};X[81]=function(a){J(a,a.a[1])};W[82]=function(a){K(a,a.j[4])};X[82]=function(a){J(a,a.a[2])};W[83]=function(a){K(a,a.j[6])};X[83]=function(a){J(a,a.a[3])};W[84]=function(a){K(a,a.j[8])};X[84]=function(a){J(a,a.a[4])};W[85]=function(a){K(a,a.j[10])};X[85]=function(a){J(a,a.a[5])};W[86]=function(a){K(a,a.j[12])};X[86]=function(a){J(a,a.a[6])};W[87]=function(a){K(a,a.j[14])};
|
||||
X[87]=function(a){J(a,a.a[7])};W[88]=function(a){a.j[0]=Hf(a)};X[88]=function(a){a.a[0]=U(a)};W[89]=function(a){a.j[2]=Hf(a)};X[89]=function(a){a.a[1]=U(a)};W[90]=function(a){a.j[4]=Hf(a)};X[90]=function(a){a.a[2]=U(a)};W[91]=function(a){a.j[6]=Hf(a)};X[91]=function(a){a.a[3]=U(a)};W[92]=function(a){a.j[8]=Hf(a)};X[92]=function(a){a.a[4]=U(a)};W[93]=function(a){a.j[10]=Hf(a)};X[93]=function(a){a.a[5]=U(a)};W[94]=function(a){a.j[12]=Hf(a)};X[94]=function(a){a.a[6]=U(a)};W[95]=function(a){a.j[14]=Hf(a)};
|
||||
X[95]=function(a){a.a[7]=U(a)};W[96]=function(a){var c=a.j[8];cd(a,H(a,-15));K(a,a.j[0]);K(a,a.j[2]);K(a,a.j[4]);K(a,a.j[6]);K(a,c);K(a,a.j[10]);K(a,a.j[12]);K(a,a.j[14])};X[96]=function(a){var c=a.a[4];cd(a,H(a,-31));J(a,a.a[0]);J(a,a.a[1]);J(a,a.a[2]);J(a,a.a[3]);J(a,c);J(a,a.a[5]);J(a,a.a[6]);J(a,a.a[7])};W[97]=function(a){Zc(a,H(a,15));a.j[14]=Hf(a);a.j[12]=Hf(a);a.j[10]=Hf(a);md(a,ld(a)+2);a.j[6]=Hf(a);a.j[4]=Hf(a);a.j[2]=Hf(a);a.j[0]=Hf(a)};
|
||||
X[97]=function(a){Zc(a,H(a,31));a.a[7]=U(a);a.a[6]=U(a);a.a[5]=U(a);md(a,ld(a)+4);a.a[3]=U(a);a.a[2]=U(a);a.a[1]=U(a);a.a[0]=U(a)};V[98]=function(){};V[99]=function(a){a.c=D(a);if(a.oa&&!gd(a)){var c;c=O(a);var d=a.c>>2&14;a.o&=-65;(c&3)<(a.j[d]&3)?(a.g|=64,c=c&-4|a.j[d]&3):a.g&=-65;P(a,c)}else u(a)};V[100]=function(a){a.na=4;Wc(a);a.na=-1};V[101]=function(a){a.na=5;Wc(a);a.na=-1};W[102]=function(a){a.Ja=!0;a.table=a.Pe;Wc(a);a.Ja=a.wa;Qc(a)};
|
||||
X[102]=function(a){a.Ja=!1;a.table=a.Oe;Wc(a);a.Ja=a.wa;Qc(a)};V[103]=function(a){a.$a=!a.wa;Pc(a);Wc(a);a.$a=a.wa;Pc(a)};W[104]=function(a){K(a,F(a))};X[104]=function(a){J(a,G(a))};W[105]=function(a){a.c=D(a);Ld(a,te(a,N(a)<<16>>16,F(a)<<16>>16))};X[105]=function(a){a.c=D(a);Md(a,xe(a,xd(a),G(a)))};W[106]=function(a){K(a,E(a))};X[106]=function(a){J(a,E(a))};W[107]=function(a){a.c=D(a);Ld(a,te(a,N(a)<<16>>16,E(a)))};X[107]=function(a){a.c=D(a);Md(a,xe(a,xd(a),E(a)))};V[108]=function(a){Ud(a)};
|
||||
W[109]=function(a){Vd(a)};X[109]=function(a){Wd(a)};V[110]=function(a){Xd(a)};W[111]=function(a){Yd(a)};X[111]=function(a){Zd(a)};V[112]=function(a){uf(a,a.cb())};V[113]=function(a){uf(a,!a.cb())};V[114]=function(a){uf(a,a.Va())};V[115]=function(a){uf(a,!a.Va())};V[116]=function(a){uf(a,a.Xa())};V[117]=function(a){uf(a,!a.Xa())};V[118]=function(a){uf(a,Ef(a))};V[119]=function(a){uf(a,!Ef(a))};V[120]=function(a){uf(a,a.eb())};V[121]=function(a){uf(a,!a.eb())};V[122]=function(a){uf(a,a.Wa())};
|
||||
V[123]=function(a){uf(a,!a.Wa())};V[124]=function(a){uf(a,Ff(a))};V[125]=function(a){uf(a,!Ff(a))};V[126]=function(a){uf(a,Gf(a))};V[127]=function(a){uf(a,!Gf(a))};V[128]=function(a){a.c=D(a);switch(a.c>>3&7){case 0:Cd(a,$d(a,Bd(a),D(a)));break;case 1:Cd(a,Ee(a,Bd(a),D(a)));break;case 2:Cd(a,ce(a,Bd(a),D(a)));break;case 3:Cd(a,me(a,Bd(a),D(a)));break;case 4:Cd(a,Ae(a,Bd(a),D(a)));break;case 5:Cd(a,ie(a,Bd(a),D(a)));break;case 6:Cd(a,Ie(a,Bd(a),D(a)));break;case 7:var c=wd(a),d=D(a);je(a,c,d,7)}};
|
||||
W[129]=function(a){a.c=D(a);switch(a.c>>3&7){case 0:P(a,ae(a,O(a),F(a)));break;case 1:P(a,Ge(a,O(a),F(a)));break;case 2:P(a,ge(a,O(a),F(a)));break;case 3:P(a,oe(a,O(a),F(a)));break;case 4:P(a,Ce(a,O(a),F(a)));break;case 5:P(a,ke(a,O(a),F(a)));break;case 6:P(a,Ke(a,O(a),F(a)));break;case 7:var c=N(a),d=F(a);je(a,c,d,15)}};
|
||||
X[129]=function(a){a.c=D(a);switch(a.c>>3&7){case 0:S(a,be(a,R(a),G(a)));break;case 1:S(a,He(a,R(a),G(a)));break;case 2:S(a,he(a,R(a),G(a)));break;case 3:S(a,pe(a,R(a),G(a)));break;case 4:S(a,De(a,R(a),G(a)));break;case 5:S(a,le(a,R(a),G(a)));break;case 6:S(a,Le(a,R(a),G(a)));break;case 7:var c=xd(a)>>>0,d=G(a);je(a,c,d,31)}};V[130]=function(a){a.table[128](a)};
|
||||
W[131]=function(a){a.c=D(a);switch(a.c>>3&7){case 0:P(a,ae(a,O(a),E(a)));break;case 1:P(a,Ge(a,O(a),E(a)));break;case 2:P(a,ge(a,O(a),E(a)));break;case 3:P(a,oe(a,O(a),E(a)));break;case 4:P(a,Ce(a,O(a),E(a)));break;case 5:P(a,ke(a,O(a),E(a)));break;case 6:P(a,Ke(a,O(a),E(a)));break;case 7:var c=N(a),d=E(a);je(a,c,d,15)}};
|
||||
X[131]=function(a){a.c=D(a);switch(a.c>>3&7){case 0:S(a,be(a,R(a),E(a)));break;case 1:S(a,He(a,R(a),E(a)));break;case 2:S(a,he(a,R(a),E(a)));break;case 3:S(a,pe(a,R(a),E(a)));break;case 4:S(a,De(a,R(a),E(a)));break;case 5:S(a,le(a,R(a),E(a)));break;case 6:S(a,Le(a,R(a),E(a)));break;case 7:var c=xd(a)>>>0,d=E(a);je(a,c,d,31)}};V[132]=function(a){a.c=D(a);var c=wd(a);Be(a,c,Hd(a),7)};W[133]=function(a){a.c=D(a);var c=N(a);Be(a,c,Jd(a),15)};X[133]=function(a){a.c=D(a);var c=xd(a);Be(a,c,T(a),31)};
|
||||
V[134]=function(a){a.c=D(a);var c=Bd(a),d=a.c,d=d>>1&12|d>>5&1,e=a.A[d];a.A[d]=c;Cd(a,e)};W[135]=function(a){a.c=D(a);var c=O(a),d=a.c>>2&14,e=a.j[d];a.j[d]=c;P(a,e)};X[135]=function(a){a.c=D(a);var c=R(a),d=a.c>>3&7,e=a.a[d];a.a[d]=c;S(a,e)};V[136]=function(a){a.c=D(a);var c=a.M(a.c);yd(a,c,Hd(a))};W[137]=function(a){a.c=D(a);var c=a.M(a.c);zd(a,c,Jd(a))};X[137]=function(a){a.c=D(a);var c=a.M(a.c);Ad(a,c,T(a))};V[138]=function(a){a.c=D(a);Id(a,wd(a))};W[139]=function(a){a.c=D(a);Ld(a,N(a))};
|
||||
X[139]=function(a){a.c=D(a);Md(a,xd(a))};W[140]=function(a){a.c=D(a);var c=a.M(a.c);zd(a,c,a.N[a.c>>3&7])};X[140]=function(a){a.c=D(a);var c=a.M(a.c);Ad(a,c,a.N[a.c>>3&7])};W[141]=function(a){a.c=D(a);192<=a.c&&u(a);var c=a.c>>3&7;a.na=9;a.j[c<<1]=a.M(a.c);a.na=-1};X[141]=function(a){a.c=D(a);192<=a.c&&u(a);var c=a.c>>3&7;a.na=9;a.a[c]=a.M(a.c);a.na=-1};V[142]=function(a){a.c=D(a);var c=a.c>>3&7,d=N(a);C(a,c,d)};
|
||||
W[143]=function(a){a.c=D(a);var c=w(a,H(a,0));md(a,ld(a)+2);if(192>a.c){var d=a.M(a.c);md(a,ld(a)-2);jb(a,d,c);md(a,ld(a)+2)}else Ed(a,c)};X[143]=function(a){a.c=D(a);var c=x(a,H(a,0));md(a,ld(a)+4);if(192>a.c){var d=a.M(a.c);md(a,ld(a)-4);v(a,d,c);md(a,ld(a)+4)}else Gd(a,c)};V[144]=function(){};W[145]=function(a){If(a,2)};X[145]=function(a){Jf(a,1)};W[146]=function(a){If(a,4)};X[146]=function(a){Jf(a,2)};W[147]=function(a){If(a,6)};X[147]=function(a){Jf(a,3)};W[148]=function(a){If(a,8)};
|
||||
X[148]=function(a){Jf(a,4)};W[149]=function(a){If(a,10)};X[149]=function(a){Jf(a,5)};W[150]=function(a){If(a,12)};X[150]=function(a){Jf(a,6)};W[151]=function(a){If(a,14)};X[151]=function(a){Jf(a,7)};W[152]=function(a){a.j[0]=a.ed[0]};X[152]=function(a){a.a[0]=a.Tb[0]};W[153]=function(a){a.j[4]=a.Tb[0]>>15};X[153]=function(a){a.a[2]=a.a[0]>>31};W[154]=function(a){var c=F(a),d=F(a);ib(a,H(a,-4),4);K(a,a.N[1]);K(a,nd(a));C(a,1,d);a.s=a.H[1]+c|0};
|
||||
X[154]=function(a){var c=G(a),d=F(a);if((!a.oa||gd(a))&&c&4294901760)throw a.debug.S("#GP handler");ib(a,H(a,-8),8);J(a,a.N[1]);J(a,nd(a));C(a,1,d);a.s=a.H[1]+c|0};V[155]=function(a){10===(a.F[0]&10)&&(a.s=a.ea,td(a,7))};W[156]=function(a){a.g&131072&&3>fd(a)?I(a,0):(jd(a),K(a,a.g))};X[156]=function(a){a.g&131072&&3>fd(a)?I(a,0):(jd(a),J(a,a.g&16580607))};W[157]=function(a){a.g&131072&&3>fd(a)&&I(a,0);kd(a,a.g&-65536|Hf(a));sc(a)};X[157]=function(a){a.g&131072&&I(a,0);kd(a,U(a));sc(a)};
|
||||
V[158]=function(a){a.g=a.g&-256|a.A[1];a.g=a.g&4161493|2;a.o=0};V[159]=function(a){jd(a);a.A[1]=a.g};V[160]=function(a){var c=ad(a,dd(a));a.A[0]=c};W[161]=function(a){var c=w(a,dd(a));a.j[0]=c};X[161]=function(a){var c=x(a,dd(a));a.a[0]=c};V[162]=function(a){bd(a,dd(a),a.A[0])};W[163]=function(a){jb(a,dd(a),a.j[0])};X[163]=function(a){v(a,dd(a),a.a[0])};
|
||||
V[164]=function(a){var c=ed(a,3)+a.i[a.G]|0,d=a.H[0]+a.i[a.w]|0,e=a.g&1024?-1:1;if(0!==a.Y){var g=a.i[a.L]>>>0;if(0!==g){var h=!1,k=g,q=4096,t=Zc(a,c),y=cd(a,d);a.X&&(q=Td(e,c,d));do a.memory.ka(y,a.memory.aa(t)),y+=e,t+=e,h=0!==--g;while(h&&q--);c=e*(k-g)|0;a.i[a.w]+=c;a.i[a.G]+=c;a.i[a.L]=g;a.U+=k-g;h&&(a.s=a.ea)}}else bd(a,d,ad(a,c)),a.i[a.w]+=e,a.i[a.G]+=e};
|
||||
W[165]=function(a){var c=ed(a,3)+a.i[a.G]|0,d=a.H[0]+a.i[a.w]|0,e=a.g&1024?-2:2;if(0!==a.Y){var g=a.i[a.L]>>>0;if(0!==g){var h=!1,k=g,q=4096;if(d&1||c&1){do jb(a,d,w(a,c)),d+=e,a.i[a.w]+=e,c+=e,a.i[a.G]+=e,h=0!==--a.i[a.L];while(h&&q--)}else{var t=0>e?-1:1,y=Zc(a,c)>>1,z=cd(a,d)>>1;a.X&&(q=Td(e,c,d));do ac(a.memory,z,Zb(a.memory,y)),z+=t,y+=t,h=0!==--g;while(h&&q--);c=e*(k-g)|0;a.i[a.w]+=c;a.i[a.G]+=c;a.i[a.L]=g;a.U+=k-g}h&&(a.s=a.ea)}}else jb(a,d,w(a,c)),a.i[a.w]+=e,a.i[a.G]+=e};
|
||||
X[165]=function(a){a:{if(0!==a.Y){var c=ed(a,3)+a.i[a.G]|0,d=a.H[0]+a.i[a.w]|0,e=a.i[a.L]>>>0;if(!e)break a;var g=a.X?4095:3;if(0===(d&g)&&0===(c&g)&&0===(a.g&1024)&&(g=!1,a.X&&(c=Zc(a,c),d=cd(a,d),1024<e&&(e=1024,g=!0)),!Aa(a.C,c,e)&&!Aa(a.C,d,e))){var h=e<<2;a.i[a.L]-=e;a.i[a.w]+=h;a.i[a.G]+=h;c>>=2;a.memory.vb.set(a.memory.vb.subarray(c,c+e),d>>2);g&&(a.s=a.ea);break a}}c=ed(a,3)+a.i[a.G]|0;d=a.H[0]+a.i[a.w]|0;h=a.g&1024?-4:4;if(0!==a.Y){if(e=a.i[a.L]>>>0,0!==e){var k=e,q=4096;if(d&3||c&3){do v(a,
|
||||
d,x(a,c)),d+=h,a.i[a.w]+=h,c+=h,a.i[a.G]+=h,g=0!==--a.i[a.L];while(g&&q--)}else{var t=0>h?-1:1,y=Zc(a,c)>>>2,z=cd(a,d)>>>2;a.X&&(q=Td(h,c,d));do bc(a.memory,z,$b(a.memory,y)),z+=t,y+=t,g=0!==--e;while(g&&q--);h=h*(k-e)|0;a.i[a.w]+=h;a.i[a.G]+=h;a.i[a.L]=e;a.U+=k-e}g&&(a.s=a.ea)}}else v(a,d,x(a,c)),a.i[a.w]+=h,a.i[a.G]+=h}};
|
||||
V[166]=function(a){a:{var c=ed(a,3)+a.i[a.G]|0,d=a.H[0]+a.i[a.w]|0,e=a.g&1024?-1:1;if(0!==a.Y){var g=a.i[a.L]>>>0;if(0===g)break a;var h=!1,k=g,q=2===a.Y,t=4096,y=Zc(a,c),z=Zc(a,d);a.X&&(t=Td(e,c,d));do d=a.memory.aa(z),c=a.memory.aa(y),z+=e,y+=e,h=0!==--g&&c===d===q;while(h&&t--);e=e*(k-g)|0;a.i[a.w]+=e;a.i[a.G]+=e;a.i[a.L]=g;a.U+=k-g;h&&(a.s=a.ea)}else c=ad(a,c),d=ad(a,d),a.i[a.w]+=e,a.i[a.G]+=e;je(a,c,d,7)}};
|
||||
W[167]=function(a){a:{var c=ed(a,3)+a.i[a.G]|0,d=a.H[0]+a.i[a.w]|0,e,g,h=a.g&1024?-2:2;if(0!==a.Y){var k=a.i[a.L]>>>0;if(0===k)break a;var q=!1,t=k,y=2===a.Y,z=4096;if(d&1||c&1){do g=w(a,d),e=w(a,c),d+=h,a.i[a.w]+=h,c+=h,a.i[a.G]+=h,q=0!==--a.i[a.L]&&e===g===y;while(q&&z--)}else{var B=0>h?-1:1,Q=Zc(a,c)>>1,Z=Zc(a,d)>>1;a.X&&(z=Td(h,c,d));do g=Zb(a.memory,Z),e=Zb(a.memory,Q),Z+=B,Q+=B,q=0!==--k&&e===g===y;while(q&&z--);c=h*(t-k)|0;a.i[a.w]+=c;a.i[a.G]+=c;a.i[a.L]=k;a.U+=t-k}q&&(a.s=a.ea)}else g=w(a,
|
||||
d),e=w(a,c),a.i[a.w]+=h,a.i[a.G]+=h;je(a,e,g,15)}};
|
||||
X[167]=function(a){a:{var c=ed(a,3)+a.i[a.G]|0,d=a.H[0]+a.i[a.w]|0,e,g,h=a.g&1024?-4:4;if(0!==a.Y){var k=a.i[a.L]>>>0;if(0===k)break a;var q=!1,t=k,y=2===a.Y,z=4096;if(d&3||c&3){do g=x(a,d),e=x(a,c),d+=h,a.i[a.w]+=h,c+=h,a.i[a.G]+=h,q=0!==--a.i[a.L]&&e===g===y;while(q&&z--)}else{var B=0>h?-1:1,Q=Zc(a,c)>>>2,Z=Zc(a,d)>>>2;a.X&&(z=Td(h,c,d));do g=$b(a.memory,Z),e=$b(a.memory,Q),Z+=B,Q+=B,q=0!==--k&&e===g===y;while(q&&z--);c=h*(t-k)|0;a.i[a.w]+=c;a.i[a.G]+=c;a.i[a.L]=k;a.U+=t-k}q&&(a.s=a.ea)}else g=
|
||||
x(a,d),e=x(a,c),a.i[a.w]+=h,a.i[a.G]+=h;je(a,e,g,31)}};V[168]=function(a){var c=D(a);Be(a,a.A[0],c,7)};W[169]=function(a){var c=F(a);Be(a,a.j[0],c,15)};X[169]=function(a){var c=G(a);Be(a,a.a[0],c,31)};V[170]=function(a){var c=a.A[0],d=a.H[0]+a.i[a.w]|0,e=a.g&1024?-1:1;if(0!==a.Y){var g=a.i[a.L]>>>0;if(0!==g){var h=!1,k=g,q=4096,t=cd(a,d);a.X&&(q=Sd(e,d));do a.memory.ka(t,c),t+=e,h=0!==--g;while(h&&q--);a.i[a.w]+=e*(k-g)|0;a.i[a.L]=g;a.U+=k-g;h&&(a.s=a.ea)}}else bd(a,d,c),a.i[a.w]+=e};
|
||||
W[171]=function(a){var c=a.j[0],d=a.H[0]+a.i[a.w]|0,e=a.g&1024?-2:2;if(0!==a.Y){var g=a.i[a.L]>>>0;if(0!==g){var h=!1,k=g,q=4096;if(d&1){do jb(a,d,c),d+=e,a.i[a.w]+=e,h=0!==--a.i[a.L];while(h&&q--)}else{var t=0>e?-1:1,y=cd(a,d)>>1;a.X&&(q=Sd(e,d));do ac(a.memory,y,c),y+=t,h=0!==--g;while(h&&q--);a.i[a.w]+=e*(k-g)|0;a.i[a.L]=g;a.U+=k-g}h&&(a.s=a.ea)}}else jb(a,d,c),a.i[a.w]+=e};
|
||||
X[171]=function(a){var c=a.a[0],d=a.H[0]+a.i[a.w]|0,e=a.g&1024?-4:4;if(0!==a.Y){var g=a.i[a.L]>>>0;if(0!==g){var h=!1,k=g,q=4096;if(d&3){do v(a,d,c),d+=e,a.i[a.w]+=e,h=0!==--a.i[a.L];while(h&&q--)}else{var t=0>e?-1:1,y=cd(a,d)>>>2;a.X&&(q=Sd(e,d));do bc(a.memory,y,c),y+=t,h=0!==--g;while(h&&q--);a.i[a.w]+=e*(k-g)|0;a.i[a.L]=g;a.U+=k-g}h&&(a.s=a.ea)}}else v(a,d,c),a.i[a.w]+=e};
|
||||
V[172]=function(a){var c=ed(a,3)+a.i[a.G]|0,d=a.g&1024?-1:1;if(0!==a.Y){var e=a.i[a.L]>>>0;if(0!==e){var g=!1,h=e,k=4096,q=Zc(a,c);a.X&&(k=Sd(d,c));do a.A[0]=a.memory.aa(q),q+=d,g=0!==--e;while(g&&k--);a.i[a.G]+=d*(h-e)|0;a.i[a.L]=e;a.U+=h-e;g&&(a.s=a.ea)}}else a.A[0]=ad(a,c),a.i[a.G]+=d};
|
||||
W[173]=function(a){var c=ed(a,3)+a.i[a.G]|0,d=a.g&1024?-2:2;if(0!==a.Y){if(0!==a.i[a.L]>>>0){var e=!1,g=4096;do a.j[0]=w(a,c),c+=d,a.i[a.G]+=d,e=0!==--a.i[a.L];while(e&&g--);e&&(a.s=a.ea)}}else a.j[0]=w(a,c),a.i[a.G]+=d};X[173]=function(a){var c=ed(a,3)+a.i[a.G]|0,d=a.g&1024?-4:4;if(0!==a.Y){if(0!==a.i[a.L]>>>0){var e=!1,g=4096;do a.a[0]=x(a,c),c+=d,a.i[a.G]+=d,e=0!==--a.i[a.L];while(e&&g--);e&&(a.s=a.ea)}}else a.a[0]=x(a,c),a.i[a.G]+=d};
|
||||
V[174]=function(a){a:{var c=a.H[0]+a.i[a.w]|0,d=a.g&1024?-1:1,e=a.A[0];if(0!==a.Y){var g=a.i[a.L]>>>0;if(0===g)break a;var h=!1,k=g,q=2===a.Y,t=4096,y=Zc(a,c);a.X&&(t=Sd(d,c));do c=a.memory.aa(y),y+=d,h=0!==--g&&e===c===q;while(h&&t--);a.i[a.w]+=d*(k-g)|0;a.i[a.L]=g;a.U+=k-g;h&&(a.s=a.ea)}else c=ad(a,c),a.i[a.w]+=d;je(a,e,c,7)}};
|
||||
W[175]=function(a){a:{var c=a.H[0]+a.i[a.w]|0,d=a.g&1024?-2:2,e,g=a.j[0];if(0!==a.Y){var h=a.i[a.L]>>>0;if(0===h)break a;var k=!1,q=h,t=2===a.Y,y=4096;if(c&1){do e=w(a,c),c+=d,a.i[a.w]+=d,k=0!==--a.i[a.L]&&g===e===t;while(k&&y--)}else{var z=0>d?-1:1,B=Zc(a,c)>>1;a.X&&(y=Sd(d,c));do e=Zb(a.memory,B),B+=z,k=0!==--h&&g===e===t;while(k&&y--);a.i[a.w]+=d*(q-h)|0;a.i[a.L]=h;a.U+=q-h}k&&(a.s=a.ea)}else e=w(a,c),a.i[a.w]+=d;je(a,g,e,15)}};
|
||||
X[175]=function(a){a:{var c=a.H[0]+a.i[a.w]|0,d=a.g&1024?-4:4,e,g=a.a[0];if(0!==a.Y){var h=a.i[a.L]>>>0;if(0===h)break a;var k=!1,q=h,t=2===a.Y,y=4096;if(c&3){do e=x(a,c),c+=d,a.i[a.w]+=d,k=0!==--a.i[a.L]&&g===e===t;while(k&&y--)}else{var z=0>d?-1:1,B=Zc(a,c)>>>2;a.X&&(y=Sd(d,c));do e=$b(a.memory,B),B+=z,k=0!==--h&&g===e===t;while(k&&y--);a.i[a.w]+=d*(q-h)|0;a.i[a.L]=h;a.U+=q-h}k&&(a.s=a.ea)}else e=x(a,c),a.i[a.w]+=d;je(a,g,e,31)}};V[176]=function(a){a.A[0]=D(a)};V[177]=function(a){a.A[4]=D(a)};
|
||||
V[178]=function(a){a.A[8]=D(a)};V[179]=function(a){a.A[12]=D(a)};V[180]=function(a){a.A[1]=D(a)};V[181]=function(a){a.A[5]=D(a)};V[182]=function(a){a.A[9]=D(a)};V[183]=function(a){a.A[13]=D(a)};W[184]=function(a){a.j[0]=F(a)};X[184]=function(a){a.a[0]=G(a)};W[185]=function(a){a.j[2]=F(a)};X[185]=function(a){a.a[1]=G(a)};W[186]=function(a){a.j[4]=F(a)};X[186]=function(a){a.a[2]=G(a)};W[187]=function(a){a.j[6]=F(a)};X[187]=function(a){a.a[3]=G(a)};W[188]=function(a){a.j[8]=F(a)};
|
||||
X[188]=function(a){a.a[4]=G(a)};W[189]=function(a){a.j[10]=F(a)};X[189]=function(a){a.a[5]=G(a)};W[190]=function(a){a.j[12]=F(a)};X[190]=function(a){a.a[6]=G(a)};W[191]=function(a){a.j[14]=F(a)};X[191]=function(a){a.a[7]=G(a)};V[192]=function(a){a.c=D(a);var c=Bd(a),d=D(a)&31,e=0;switch(a.c>>3&7){case 0:e=Me(a,c,d);break;case 1:e=Se(a,c,d);break;case 2:e=Pe(a,c,d);break;case 3:e=Ve(a,c,d);break;case 4:e=Ye(a,c,d);break;case 5:e=af(a,c,d);break;case 6:e=Ye(a,c,d);break;case 7:e=df(a,c,d)}Cd(a,e)};
|
||||
W[193]=function(a){a.c=D(a);var c=O(a),d=D(a)&31,e=0;switch(a.c>>3&7){case 0:e=Ne(a,c,d);break;case 1:e=Te(a,c,d);break;case 2:e=Qe(a,c,d);break;case 3:e=We(a,c,d);break;case 4:e=Ze(a,c,d);break;case 5:e=bf(a,c,d);break;case 6:e=Ze(a,c,d);break;case 7:e=ef(a,c,d)}P(a,e)};
|
||||
X[193]=function(a){a.c=D(a);var c=R(a),d=D(a)&31,e=0;switch(a.c>>3&7){case 0:e=Oe(a,c,d);break;case 1:e=Ue(a,c,d);break;case 2:e=Re(a,c,d);break;case 3:e=Xe(a,c,d);break;case 4:e=$e(a,c,d);break;case 5:e=cf(a,c,d);break;case 6:e=$e(a,c,d);break;case 7:e=ff(a,c,d)}S(a,e)};W[194]=function(a){var c=F(a);a.s=a.H[1]+Hf(a)|0;md(a,ld(a)+c)};X[194]=function(a){var c=F(a);a.s=a.H[1]+U(a)|0;md(a,ld(a)+c)};W[195]=function(a){a.s=a.H[1]+Hf(a)|0};X[195]=function(a){a.s=a.H[1]+U(a)|0};
|
||||
W[196]=function(a){a.c=D(a);Kf(a,0)};X[196]=function(a){a.c=D(a);Lf(a,0)};W[197]=function(a){a.c=D(a);Kf(a,3)};X[197]=function(a){a.c=D(a);Lf(a,3)};V[198]=function(a){a.c=D(a);var c=a.M(a.c);yd(a,c,D(a))};W[199]=function(a){a.c=D(a);var c=a.M(a.c);zd(a,c,F(a))};X[199]=function(a){a.c=D(a);var c=a.M(a.c);Ad(a,c,G(a))};W[200]=function(a){var c=F(a),d=D(a),d=d&31,e,g;K(a,a.j[10]);e=a.j[8];if(0<d){g=a.j[5];for(var h=1;h<d;h++)g-=2,K(a,w(a,a.H[2]+g|0));K(a,e)}a.j[10]=e;a.j[8]-=c};
|
||||
X[200]=function(a){var c=F(a),d=D(a),d=d&31,e,g;J(a,a.a[5]);e=a.a[4];if(0<d){g=a.a[5];for(var h=1;h<d;h++)g-=4,J(a,x(a,a.H[2]+g|0));J(a,e)}a.a[5]=e;a.a[4]-=c};W[201]=function(a){if(a.Za){var c=w(a,a.H[2]+a.a[5]|0);a.a[4]=a.a[5]+2|0}else c=w(a,a.H[2]+a.j[10]|0),a.j[8]=a.j[10]+2|0;a.j[10]=c};X[201]=function(a){if(a.Za){var c=x(a,a.H[2]+a.a[5]|0);a.a[4]=a.a[5]+4|0}else c=x(a,a.H[2]+a.j[10]|0),a.j[8]=a.j[10]+4|0;a.a[5]=c};
|
||||
W[202]=function(a){Zc(a,H(a,4));var c=F(a),d=Hf(a);C(a,1,Hf(a));a.s=a.H[1]+d|0;md(a,ld(a)+c)};X[202]=function(a){Zc(a,H(a,8));var c=F(a),d=U(a);C(a,1,U(a)&65535);a.s=a.H[1]+d|0;md(a,ld(a)+c)};W[203]=function(a){Zc(a,H(a,4));var c=Hf(a);C(a,1,Hf(a));a.s=a.H[1]+c|0};X[203]=function(a){Zc(a,H(a,8));var c=U(a);C(a,1,U(a)&65535);a.s=a.H[1]+c|0};V[204]=function(a){rc(a,3,!0,!1)};V[205]=function(a){var c=D(a);rc(a,c,!0,!1)};V[206]=function(a){a.Xc()&&rc(a,4,!0,!1)};
|
||||
W[207]=function(a){if(!a.oa||gd(a)&&3===fd(a)){try{var c=Hf(a),d=Hf(a),e=Hf(a)}catch(g){if(233495534===g)throw console.trace(),"handle fault";throw g;}C(a,1,d);a.s=c+a.H[1]|0;kd(a,a.g&-65536|e);sc(a)}else throw gd(a)&&I(a,0),a.debug.S("16 bit iret in protected mode");};
|
||||
X[207]=function(a){a:{if(!a.oa||gd(a)&&3===fd(a)){try{var c=U(a),d=U(a),e=U(a)}catch(g){if(233495534===g)throw console.trace(),"handle fault";throw g;}if(c&4294901760)throw a.debug.S("#GP handler");C(a,1,d&65535);a.s=c+a.H[1]|0;kd(a,e)}else{gd(a)&&I(a,0);try{var h=U(a),d=U(a)&65535,e=U(a)}catch(k){if(233495534===k)throw console.trace(),"handle fault";throw k;}if(e&131072){if(0===a.O){kd(a,e);a.g|=131072;a.s=h;C(a,1,d);a.s=(a.s&65535)+a.H[1]|0;try{var q=U(a),t=U(a);C(a,0,U(a)&65535);C(a,3,U(a)&65535);
|
||||
C(a,4,U(a)&65535);C(a,5,U(a)&65535)}catch(y){if(233495534===y)throw console.trace(),"handle fault";throw y;}a.a[4]=q;C(a,2,t&65535);a.O=3;Yc(a);sd(a,!1);break a}2;e&=-131073}c=pd(a,d);if(c.mb)throw a.debug.S("is null");if(!c.tb)throw a.debug.S("not present");if(!c.lb)throw a.debug.S("not exec");if(c.Ub<a.O)throw a.debug.S("rpl < cpl");if(c.jb&&c.ra>c.Ub)throw a.debug.S("conforming and dpl > rpl");a.s=h;a.N[1]=d;if(c.Ub>a.O){try{q=U(a),t=U(a)&65535}catch(z){if(233495534===z)throw console.trace(),"handle fault";
|
||||
throw z;}a.a[4]=q;kd(a,e);a.O||(a.g=a.g&-1572865|e&1572864);a.O=c.Ub;Yc(a);try{C(a,2,t)}catch(B){if(233495534===B)throw console.trace(),"handle fault";throw B;}d=pd(a,a.N[3]);a.O>d.ra&&(!d.lb||d.jb)&&C(a,3,0);d=pd(a,a.N[0]);a.O>d.ra&&(!d.lb||d.jb)&&C(a,0,0);d=pd(a,a.N[4]);a.O>d.ra&&(!d.lb||d.jb)&&C(a,4,0);d=pd(a,a.N[5]);a.O>d.ra&&(!d.lb||d.jb)&&C(a,5,0)}else kd(a,e),a.O||(a.g=a.g&-1572865|e&1572864);c.size!==a.wa&&sd(a,c.size);a.Da[1]=c.Db;a.H[1]=c.Kb;a.s=a.s+a.H[1]|0}sc(a)}};
|
||||
V[208]=function(a){a.c=D(a);var c=Bd(a),d=0;switch(a.c>>3&7){case 0:d=Me(a,c,1);break;case 1:d=Se(a,c,1);break;case 2:d=Pe(a,c,1);break;case 3:d=Ve(a,c,1);break;case 4:d=Ye(a,c,1);break;case 5:d=af(a,c,1);break;case 6:d=Ye(a,c,1);break;case 7:d=df(a,c,1)}Cd(a,d)};
|
||||
W[209]=function(a){a.c=D(a);var c=O(a),d=0;switch(a.c>>3&7){case 0:d=Ne(a,c,1);break;case 1:d=Te(a,c,1);break;case 2:d=Qe(a,c,1);break;case 3:d=We(a,c,1);break;case 4:d=Ze(a,c,1);break;case 5:d=bf(a,c,1);break;case 6:d=Ze(a,c,1);break;case 7:d=ef(a,c,1)}P(a,d)};
|
||||
X[209]=function(a){a.c=D(a);var c=R(a),d=0;switch(a.c>>3&7){case 0:d=Oe(a,c,1);break;case 1:d=Ue(a,c,1);break;case 2:d=Re(a,c,1);break;case 3:d=Xe(a,c,1);break;case 4:d=$e(a,c,1);break;case 5:d=cf(a,c,1);break;case 6:d=$e(a,c,1);break;case 7:d=ff(a,c,1)}S(a,d)};
|
||||
V[210]=function(a){a.c=D(a);var c=Bd(a),d=a.A[4]&31,e=0;switch(a.c>>3&7){case 0:e=Me(a,c,d);break;case 1:e=Se(a,c,d);break;case 2:e=Pe(a,c,d);break;case 3:e=Ve(a,c,d);break;case 4:e=Ye(a,c,d);break;case 5:e=af(a,c,d);break;case 6:e=Ye(a,c,d);break;case 7:e=df(a,c,d)}Cd(a,e)};
|
||||
W[211]=function(a){a.c=D(a);var c=O(a),d=a.A[4]&31,e=0;switch(a.c>>3&7){case 0:e=Ne(a,c,d);break;case 1:e=Te(a,c,d);break;case 2:e=Qe(a,c,d);break;case 3:e=We(a,c,d);break;case 4:e=Ze(a,c,d);break;case 5:e=bf(a,c,d);break;case 6:e=Ze(a,c,d);break;case 7:e=ef(a,c,d)}P(a,e)};
|
||||
X[211]=function(a){a.c=D(a);var c=R(a),d=a.A[4]&31,e=0;switch(a.c>>3&7){case 0:e=Oe(a,c,d);break;case 1:e=Ue(a,c,d);break;case 2:e=Re(a,c,d);break;case 3:e=Xe(a,c,d);break;case 4:e=$e(a,c,d);break;case 5:e=cf(a,c,d);break;case 6:e=$e(a,c,d);break;case 7:e=ff(a,c,d)}S(a,e)};V[212]=function(a){var c=D(a);if(0===c)ud(a);else{var d=a.A[0];a.A[1]=d/c;a.A[0]=d%c;a.J=a.A[0];a.o=196;a.g&=-2066}};V[213]=function(a){var c=D(a);a.J=a.A[0]+a.A[1]*c&255;a.j[0]=a.J;a.ba=7;a.o=196;a.g&=-2066};
|
||||
V[214]=function(a){a.A[0]=-a.Aa()};V[215]=function(a){a.A[0]=a.$a?ad(a,ed(a,3)+a.a[3]+a.A[0]):ad(a,ed(a,3)+a.j[6]+a.A[0])};V[216]=function(a){a.c=D(a);vd(a);if(192>a.c){var c=a.qa,d=a.c,e=a.M(a.c);a=d>>3&7;d=ub(c,e)}else c=a.qa,d=a.c,a=d>>3&7,d=pb(c,d&7);e=eb(c);switch(a){case 0:c.f[c.b]=e+d;break;case 1:c.f[c.b]=e*d;break;case 2:db(c,d);break;case 3:db(c,d);c.pop();break;case 4:c.f[c.b]=e-d;break;case 5:c.f[c.b]=d-e;break;case 6:c.f[c.b]=e/d;break;case 7:c.f[c.b]=d/e}};
|
||||
V[217]=function(a){a.c=D(a);vd(a);if(192>a.c){var c=a.qa,d=a.c;a=a.M(a.c);switch(d>>3&7){case 0:a=ub(c,a);c.push(a);break;case 1:$a(c);break;case 2:d=eb(c);c.R[0]=d;v(c.u,a,c.ma[0]);break;case 3:d=eb(c);c.R[0]=d;v(c.u,a,c.ma[0]);c.pop();break;case 4:mb(c,a);break;case 5:c.D=w(c.u,a);break;case 6:hb(c,a);break;case 7:jb(c.u,a,c.D)}}else switch(c=a.qa,d=a.c,a=d&7,d>>3&7){case 0:d=pb(c,a);c.push(d);break;case 1:d=pb(c,a);c.f[c.b+a&7]=eb(c);c.f[c.b]=d;break;case 2:switch(a){case 0:break;default:$a(c)}break;
|
||||
case 3:$a(c);break;case 4:d=eb(c);switch(a){case 0:c.f[c.b]=-d;break;case 1:c.f[c.b]=Math.abs(d);break;case 4:a=d;c.l&=-18177;isNaN(a)?c.l|=17664:0===a?c.l|=16384:0>a&&(c.l|=256);break;case 5:a=d;c.l&=-18177;c.l|=c.sign(0)<<9;c.l=c.m>>c.b&1?c.l|16640:isNaN(a)?c.l|256:0===a?c.l|16384:Infinity===a||-Infinity===a?c.l|1280:c.l|1024;break;default:$a(c)}break;case 5:c.push(c.sa[a]);break;case 6:d=eb(c);switch(a){case 0:c.f[c.b]=Math.pow(2,d)-1;break;case 1:c.f[c.b+1&7]=pb(c,1)*Math.log(d)/Math.LN2;c.pop();
|
||||
break;case 2:c.f[c.b]=Math.tan(d);c.push(1);break;case 3:c.f[c.b+1&7]=Math.atan2(pb(c,1),d);c.pop();break;case 4:c.K[0]=eb(c);a=((c.v[7]&127)<<4|c.v[6]>>4)-1023;c.v[7]=63|c.v[7]&128;c.v[6]|=240;c.f[c.b]=a;c.push(c.K[0]);break;case 5:c.f[c.b]=d%pb(c,1);break;case 6:c.b=c.b-1&7;c.l&=-513;break;case 7:c.b=c.b+1&7,c.l&=-513}break;case 7:switch(d=eb(c),a){case 0:c.f[c.b]=d%pb(c,1);break;case 1:c.f[c.b+1&7]=pb(c,1)*Math.log(d+1)/Math.LN2;c.pop();break;case 2:c.f[c.b]=Math.sqrt(d);break;case 3:c.f[c.b]=
|
||||
Math.sin(d);c.push(Math.cos(d));break;case 4:c.f[c.b]=nb(c,d);break;case 5:c.f[c.b]=d*Math.pow(2,ob(pb(c,1)));break;case 6:c.f[c.b]=Math.sin(d);break;case 7:c.f[c.b]=Math.cos(d)}}};
|
||||
V[218]=function(a){a.c=D(a);vd(a);if(192>a.c){var c=a.qa,d=a.c,e=a.M(a.c);a=d>>3&7;d=x(c.u,e);e=eb(c);switch(a){case 0:c.f[c.b]=e+d;break;case 1:c.f[c.b]=e*d;break;case 2:db(c,d);break;case 3:db(c,d);c.pop();break;case 4:c.f[c.b]=e-d;break;case 5:c.f[c.b]=d-e;break;case 6:c.f[c.b]=e/d;break;case 7:c.f[c.b]=d/e}}else switch(c=a.qa,a=a.c,d=a&7,a>>3&7){case 0:c.u.Va()&&(c.f[c.b]=pb(c,d),c.m&=~(1<<c.b));break;case 1:c.u.Xa()&&(c.f[c.b]=pb(c,d),c.m&=~(1<<c.b));break;case 2:Ef(c.u)&&(c.f[c.b]=pb(c,d),c.m&=
|
||||
~(1<<c.b));break;case 3:c.u.Wa()&&(c.f[c.b]=pb(c,d),c.m&=~(1<<c.b));break;case 5:1===d?(a=pb(c,1),db(c,a),c.pop(),c.pop()):$a(c);break;default:$a(c)}};
|
||||
V[219]=function(a){a.c=D(a);vd(a);if(192>a.c){var c=a.qa,d=a.c;a=a.M(a.c);switch(d>>3&7){case 0:a=x(c.u,a);c.push(a);break;case 2:d=nb(c,eb(c));2147483647>=d&&-2147483648<=d?v(c.u,a,d):(cb(c),v(c.u,a,-2147483648));break;case 3:d=nb(c,eb(c));2147483647>=d&&-2147483648<=d?v(c.u,a,d):(cb(c),v(c.u,a,-2147483648));c.pop();break;case 5:c.push(qb(c,a));break;case 7:ib(c.u,a,10);rb(c,a,0);c.pop();break;default:$a(c)}}else switch(c=a.qa,a=a.c,d=a&7,a>>3&7){case 0:c.u.Va()||(c.f[c.b]=pb(c,d),c.m&=~(1<<c.b));
|
||||
break;case 1:c.u.Xa()||(c.f[c.b]=pb(c,d),c.m&=~(1<<c.b));break;case 2:Ef(c.u)||(c.f[c.b]=pb(c,d),c.m&=~(1<<c.b));break;case 3:c.u.Wa()||(c.f[c.b]=pb(c,d),c.m&=~(1<<c.b));break;case 4:227===a?gb(c):228!==a&&225!==a&&(226===a?c.l=0:$a(c));break;case 5:a=pb(c,d);fb(c,a);break;case 6:fb(c,pb(c,d));break;default:$a(c)}};
|
||||
V[220]=function(a){a.c=D(a);vd(a);if(192>a.c){var c=a.qa,d=a.c,e=a.M(a.c);a=d>>3&7;d=sb(c,e);e=eb(c);switch(a){case 0:c.f[c.b]=e+d;break;case 1:c.f[c.b]=e*d;break;case 2:db(c,d);break;case 3:db(c,d);c.pop();break;case 4:c.f[c.b]=e-d;break;case 5:c.f[c.b]=d-e;break;case 6:c.f[c.b]=e/d;break;case 7:c.f[c.b]=d/e}}else{c=a.qa;d=a.c;a=d>>3&7;var e=d&7,d=c.b+e&7,e=pb(c,e),g=eb(c);switch(a){case 0:c.f[d]=e+g;break;case 1:c.f[d]=e*g;break;case 2:db(c,e);break;case 3:db(c,e);c.pop();break;case 4:c.f[d]=g-
|
||||
e;break;case 5:c.f[d]=e-g;break;case 6:c.f[d]=g/e;break;case 7:c.f[d]=e/g}}};
|
||||
V[221]=function(a){a.c=D(a);vd(a);if(192>a.c){var c=a.qa,d=a.c;a=a.M(a.c);switch(d>>3&7){case 0:a=sb(c,a);c.push(a);break;case 1:$a(c);break;case 2:tb(c,a);break;case 3:tb(c,a);c.pop();break;case 4:mb(c,a);a+=28;for(d=0;8>d;d++)c.f[d]=qb(c,a),a+=10;break;case 5:$a(c);break;case 6:ib(c.u,a,108);hb(c,a);a+=28;for(d=0;8>d;d++)rb(c,a,d-c.b&7),a+=10;gb(c);break;case 7:jb(c.u,a,c.l&-14337|c.b<<11)}}else switch(c=a.qa,a=a.c,d=a&7,a>>3&7){case 0:c.m|=1<<(c.b+d&7);break;case 2:c.f[c.b+d&7]=eb(c);break;case 3:0!==
|
||||
d&&(c.f[c.b+d&7]=eb(c));c.pop();break;case 4:a=pb(c,d);db(c,a);break;case 5:a=pb(c,d);db(c,a);c.pop();break;default:$a(c)}};
|
||||
V[222]=function(a){a.c=D(a);vd(a);if(192>a.c){var c=a.qa,d=a.c,e=a.M(a.c);a=d>>3&7;d=w(c.u,e)<<16>>16;e=eb(c);switch(a){case 0:c.f[c.b]=e+d;break;case 1:c.f[c.b]=e*d;break;case 2:db(c,d);break;case 3:db(c,d);c.pop();break;case 4:c.f[c.b]=e-d;break;case 5:c.f[c.b]=d-e;break;case 6:c.f[c.b]=e/d;break;case 7:c.f[c.b]=d/e}}else{c=a.qa;d=a.c;a=d>>3&7;var d=d&7,e=c.b+d&7,g=pb(c,d),h=eb(c);switch(a){case 0:c.f[e]=g+h;break;case 1:c.f[e]=g*h;break;case 2:db(c,g);break;case 3:1===d?(db(c,c.f[e]),c.pop()):
|
||||
$a(c);break;case 4:c.f[e]=h-g;break;case 5:c.f[e]=g-h;break;case 6:c.f[e]=h/g;break;case 7:c.f[e]=g/h}c.pop()}};
|
||||
V[223]=function(a){a.c=D(a);vd(a);if(192>a.c){var c=a.qa,d=a.c;a=a.M(a.c);switch(d>>3&7){case 0:a=w(c.u,a)<<16>>16;c.push(a);break;case 1:$a(c);break;case 2:d=nb(c,eb(c));32767>=d&&-32768<=d?jb(c.u,a,d):(cb(c),jb(c.u,a,32768));break;case 3:d=nb(c,eb(c));32767>=d&&-32768<=d?jb(c.u,a,d):(cb(c),jb(c.u,a,32768));c.pop();break;case 4:$a(c);break;case 5:d=x(c.u,a)>>>0;a=x(c.u,a+4);c.push(d+4294967296*a);break;case 6:$a(c);break;case 7:ib(c.u,a,8);var d=nb(c,eb(c)),e,g;0x7fffffffffffffff>d&&-9223372036854775808<=
|
||||
d?(e=d|0,g=d/4294967296|0,0===g&&0>d&&(g=-1)):(e=0,g=-2147483648,cb(c));v(c.u,a,e);v(c.u,a+4,g);c.pop()}}else switch(c=a.qa,a=a.c,d=a&7,a>>3&7){case 4:224===a?c.u.j[0]=c.l&-14337|c.b<<11:$a(c);break;case 5:a=pb(c,d);fb(c,a);c.pop();break;case 6:fb(c,pb(c,d));c.pop();break;default:$a(c)}};V[224]=function(a){var c=E(a);--a.i[a.L]&&!a.Eb()&&(a.s=a.s+c|0)};V[225]=function(a){var c=E(a);--a.i[a.L]&&a.Eb()&&(a.s=a.s+c|0)};V[226]=function(a){a.loop(E(a))};
|
||||
V[227]=function(a){var c=E(a);0===a.i[a.L]&&(a.s=a.s+c|0)};V[228]=function(a){var c=D(a);Nd(a,c,1);a.A[0]=Ea(a.C,c)};W[229]=function(a){var c=D(a);Nd(a,c,2);a.j[0]=Fa(a.C,c)};X[229]=function(a){var c=D(a);Nd(a,c,4);a.a[0]=Ga(a.C,c)};V[230]=function(a){var c=D(a);Nd(a,c,1);Ba(a.C,c,a.A[0])};W[231]=function(a){var c=D(a);Nd(a,c,2);Ca(a.C,c,a.j[0])};X[231]=function(a){var c=D(a);Nd(a,c,4);Da(a.C,c,a.a[0])};W[232]=function(a){var c=F(a)<<16>>16;K(a,nd(a));vf(a,c)};
|
||||
X[232]=function(a){var c=G(a);J(a,nd(a));a.s=a.s+c|0};W[233]=function(a){var c=F(a)<<16>>16;vf(a,c)};X[233]=function(a){var c=G(a);a.s=a.s+c|0};W[234]=function(a){var c=F(a);C(a,1,F(a));a.s=c+a.H[1]|0};X[234]=function(a){var c=G(a);C(a,1,F(a));a.s=c+a.H[1]|0};V[235]=function(a){var c=E(a);a.s=a.s+c|0};V[236]=function(a){var c=a.j[4];Nd(a,c,1);a.A[0]=Ea(a.C,c)};W[237]=function(a){var c=a.j[4];Nd(a,c,2);a.j[0]=Fa(a.C,c)};X[237]=function(a){var c=a.j[4];Nd(a,c,4);a.a[0]=Ga(a.C,c)};
|
||||
V[238]=function(a){var c=a.j[4];Nd(a,c,1);Ba(a.C,c,a.A[0])};W[239]=function(a){var c=a.j[4];Nd(a,c,2);Ca(a.C,c,a.j[0])};X[239]=function(a){var c=a.j[4];Nd(a,c,4);Da(a.C,c,a.a[0])};V[240]=function(a){Wc(a)};V[241]=function(a){throw a.debug.S("int1 instruction");};V[242]=function(a){a.Y=1;Wc(a);a.Y=0};V[243]=function(a){a.Y=2;Wc(a);a.Y=0};V[244]=function(a){a.O&&I(a,0);if(0===(a.g&512))throw a.debug.show("cpu halted"),"HALT";a.wc=!0;throw 233495534;};V[245]=function(a){a.g=(a.g|1)^a.Aa();a.o&=-2};
|
||||
V[246]=function(a){a.c=D(a);switch(a.c>>3&7){case 0:var c=wd(a),d=D(a);Be(a,c,d,7);break;case 1:c=wd(a);d=D(a);Be(a,c,d,7);break;case 2:Cd(a,~Bd(a));break;case 3:c=Bd(a);c=se(a,c,7);Cd(a,c);break;case 4:c=wd(a)*a.A[0];a.j[0]=c;a.g=256>c?a.g&-2050:a.g|2049;a.o=0;break;case 5:c=(wd(a)<<24>>24)*a.ed[0];a.j[0]=c;a.g=127<c||-128>c?a.g|2049:a.g&-2050;a.o=0;break;case 6:var c=wd(a),d=a.j[0],e=d/c|0;256<=e||0===c?ud(a):(a.A[0]=e,a.A[1]=d%c);break;case 7:c=wd(a)<<24>>24,d=a.Tb[0],e=d/c|0,128<=e||-129>=e||
|
||||
0===c?ud(a):(a.A[0]=e,a.A[1]=d%c)}};
|
||||
W[247]=function(a){a.c=D(a);switch(a.c>>3&7){case 0:var c=N(a),d=F(a);Be(a,c,d,15);break;case 1:c=N(a);d=F(a);Be(a,c,d,15);break;case 2:c=O(a);P(a,~c);break;case 3:c=O(a);P(a,se(a,c,15));break;case 4:c=N(a);c=c*a.j[0];d=c>>>16;a.j[0]=c;a.j[4]=d;a.g=0===d?a.g&-2050:a.g|2049;a.o=0;break;case 5:c=N(a)<<16>>16;c=c*a.Tb[0];a.j[0]=c;a.j[4]=c>>16;a.g=32767<c||-32768>c?a.g|2049:a.g&-2050;a.o=0;break;case 6:var c=N(a),d=(a.j[0]|a.j[4]<<16)>>>0,e=d/c|0;65536<=e||0>e||0===c?ud(a):(a.j[0]=e,a.j[4]=d%c);break;
|
||||
case 7:c=N(a)<<16>>16,d=a.j[0]|a.j[4]<<16,e=d/c|0,32768<=e||-32769>=e||0===c?ud(a):(a.j[0]=e,a.j[4]=d%c)}};
|
||||
X[247]=function(a){a.c=D(a);switch(a.c>>3&7){case 0:var c=xd(a),d=G(a);Be(a,c,d,31);break;case 1:c=xd(a);d=G(a);Be(a,c,d,31);break;case 2:c=R(a);S(a,~c);break;case 3:c=R(a);S(a,se(a,c,31));break;case 4:c=xd(a)>>>0;c=ve(a.a[0],c);a.a[0]=c[0];a.a[2]=c[1];a.g=0===c[1]?a.g&-2050:a.g|2049;a.o=0;break;case 5:c=xd(a);c=we(a.a[0],c);a.a[0]=c[0];a.a[2]=c[1];a.g=c[1]===c[0]>>31?a.g&-2050:a.g|2049;a.o=0;break;case 6:var c=xd(a)>>>0,e=ze(a,a.jc[0],a.jc[2],c),d=e[0],e=e[1];4294967296<=d||0===c?ud(a):(a.a[0]=d,
|
||||
a.a[2]=e);break;case 7:var c=xd(a),g=a.jc[0],h=a.a[2],e=d=!1;0>c&&(e=!0,c=-c);0>h&&(d=!0,e=!e,g=-g>>>0,h=~h+!g);h=ze(a,g,h,c);g=h[0];h=h[1];e&&(g=-g|0);d&&(h=-h|0);2147483648<=g||-2147483649>=g||0===c?ud(a):(a.a[0]=g,a.a[2]=h)}};V[248]=function(a){a.g&=-2;a.o&=-2};V[249]=function(a){a.g|=1;a.o&=-2};V[250]=function(a){!a.oa||(a.g&131072?3===fd(a):fd(a)>=a.O)?a.g&=-513:I(a,0)};V[251]=function(a){!a.oa||(a.g&131072?3===fd(a):fd(a)>=a.O)?(a.g|=512,Tc(a),Vc(a),sc(a)):I(a,0)};V[252]=function(a){a.g&=-1025};
|
||||
V[253]=function(a){a.g|=1024};V[254]=function(a){a.c=D(a);var c=a.c&56;0===c?(c=Bd(a),Cd(a,qe(a,c,7))):8===c?(c=Bd(a),Cd(a,re(a,c,7))):u(a)};
|
||||
W[255]=function(a){a.c=D(a);switch(a.c>>3&7){case 0:var c=O(a);P(a,qe(a,c,15));break;case 1:c=O(a);P(a,re(a,c,15));break;case 2:c=N(a);K(a,nd(a));a.s=a.H[1]+c|0;break;case 3:192<=a.c&&u(a);var d=a.M(a.c),c=w(a,d+2),d=w(a,d);ib(a,H(a,-4),4);K(a,a.N[1]);K(a,nd(a));C(a,1,c);a.s=a.H[1]+d|0;break;case 4:c=N(a);a.s=a.H[1]+c|0;break;case 5:192<=a.c&&u(a);d=a.M(a.c);c=w(a,d+2);d=w(a,d);C(a,1,c);a.s=a.H[1]+d|0;break;case 6:c=N(a);K(a,c);break;case 7:u(a)}};
|
||||
X[255]=function(a){a.c=D(a);switch(a.c>>3&7){case 0:var c=R(a);S(a,qe(a,c,31));break;case 1:c=R(a);S(a,re(a,c,31));break;case 2:c=xd(a);J(a,nd(a));a.s=a.H[1]+c|0;break;case 3:192<=a.c&&u(a);var d=a.M(a.c),c=w(a,d+4),d=x(a,d);ib(a,H(a,-8),8);J(a,a.N[1]);J(a,nd(a));C(a,1,c);a.s=a.H[1]+d|0;break;case 4:c=xd(a);a.s=a.H[1]+c|0;break;case 5:192<=a.c&&u(a);d=a.M(a.c);c=w(a,d+4);d=x(a,d);C(a,1,c);a.s=a.H[1]+d|0;break;case 6:c=xd(a);J(a,c);break;case 7:u(a)}};var Nf=[],Of=[];r.prototype.Oe=Nf;
|
||||
r.prototype.Pe=Of;for(var Pf=0;256>Pf;Pf++)V[Pf]?Nf[Pf]=Of[Pf]=V[Pf]:W[Pf]&&(Nf[Pf]=W[Pf],Of[Pf]=X[Pf]);V=[];W=[];X=[];
|
||||
V[0]=function(a){a.c=D(a);a.oa&&!gd(a)||u(a);switch(a.c>>3&7){case 0:var c=a.M(a.c);zd(a,c,a.N[7]);192<=a.c&&(a.a[a.c&7]&=65535);break;case 1:c=a.M(a.c);zd(a,c,a.N[6]);192<=a.c&&(a.a[a.c&7]&=65535);break;case 2:a.O&&I(a,0);c=N(a);qd(a,c);break;case 3:a.O&&I(a,0);var c=N(a),d=pd(a,c);if(!d.Vd)throw a.debug.S("TR can only be loaded from GDT");if(d.mb)throw a.debug.S("#GP handler");if(!d.tb)throw a.debug.S("#GP handler");if(!d.yc)throw a.debug.S("#GP handler");if(9!==d.type)throw a.debug.S("#GP handler");
|
||||
a.H[6]=d.Kb;a.Da[6]=d.Db;a.N[6]=c;a.memory.ka(d.jd+5|0,a.memory.aa(d.jd+5|0)|2);break;case 4:N(a);a.o&=-65;a.g|=64;break;case 5:N(a);a.o&=-65;a.g|=64;break;default:u(a)}};
|
||||
V[1]=function(a){a.c=D(a);var c=a.c>>3&7;if(4===c){var d=a.M(a.c);zd(a,d,a.F[0])}else if(6===c)a.O&&I(a,0),d=N(a),a.F[0]=a.F[0]&-16|d&15,a.oa&&(a.F[0]|=1),Xc(a);else switch(192<=a.c&&u(a),2!==c&&3!==c||!a.oa||(a.na=9),d=a.M(a.c),a.na=-1,c){case 0:ib(a,d,6);jb(a,d,a.uc);v(a,d+2,a.Pb);break;case 1:ib(a,d,6);jb(a,d,a.vc);v(a,d+2,a.Rb);break;case 2:a.O&&I(a,0);c=w(a,d);d=x(a,d+2);a.uc=c;a.Pb=d;a.Ja||(a.Pb&=16777215);break;case 3:a.O&&I(a,0);c=w(a,d);d=x(a,d+2);a.vc=c;a.Rb=d;a.Ja||(a.Rb&=16777215);break;
|
||||
case 7:a.O&&I(a,0);d=d>>>12;a.zb[d]=0;a.kd[d]=0;a.ub=-1;a.Ac=-1;break;default:u(a)}};W[2]=function(a){a.c=D(a);a.oa&&!gd(a)||u(a);var c=N(a);Ld(a,Od(a,c,Jd(a)))};X[2]=function(a){a.c=D(a);a.oa&&!gd(a)||u(a);var c=N(a);Md(a,Od(a,c,T(a)))};W[3]=function(a){a.c=D(a);a.oa&&!gd(a)||u(a);var c=N(a);Ld(a,Pd(a,c,Jd(a)))};X[3]=function(a){a.c=D(a);a.oa&&!gd(a)||u(a);var c=N(a);Md(a,Pd(a,c,T(a)))};V[4]=function(a){u(a)};V[5]=function(a){u(a)};V[6]=function(a){a.O?I(a,0):a.F[0]&=-9};V[7]=function(a){u(a)};
|
||||
V[8]=function(a){u(a)};V[9]=function(a){a.O&&I(a,0)};V[10]=function(a){u(a)};V[11]=function(a){u(a)};V[12]=function(a){u(a)};V[13]=function(a){u(a)};V[14]=function(a){u(a)};V[15]=function(a){u(a)};V[16]=function(a){u(a)};V[17]=function(a){u(a)};V[18]=function(a){u(a)};V[19]=function(a){u(a)};V[20]=function(a){u(a)};V[21]=function(a){u(a)};V[22]=function(a){u(a)};V[23]=function(a){u(a)};V[24]=function(a){a.c=D(a);192>a.c&&a.M(a.c)};V[25]=function(a){u(a)};V[26]=function(a){u(a)};V[27]=function(a){u(a)};
|
||||
V[28]=function(a){u(a)};V[29]=function(a){u(a)};V[30]=function(a){u(a)};V[31]=function(a){u(a)};V[32]=function(a){a.c=D(a);a.O&&I(a,0);switch(a.c>>3&7){case 0:Gd(a,a.F[0]);break;case 2:Gd(a,a.F[2]);break;case 3:Gd(a,a.F[3]);break;case 4:Gd(a,a.F[4]);break;default:u(a)}};V[33]=function(a){a.c=D(a);a.O&&I(a,0);a.a[a.c&7]=a.Zb[a.c>>3&7]};
|
||||
V[34]=function(a){a.c=D(a);a.O&&I(a,0);var c=Fd(a);switch(a.c>>3&7){case 0:a.F[0]=c;if(-2147483648===(a.F[0]&-2147483647))throw a.debug.S("#GP handler");Xc(a);break;case 2:a.F[2]=c;break;case 3:a.F[3]=c;rd(a);break;case 4:c&-3565568&&I(a,0);(a.F[4]^c)&128&&(c&128?rd(a):Sc(a));a.F[4]=c;a.cd=a.F[4]&16?128:0;if(a.F[4]&32)throw a.debug.S("PAE");break;default:u(a)}};V[35]=function(a){a.c=D(a);a.O&&I(a,0);a.Zb[a.c>>3&7]=Fd(a)};V[36]=function(a){u(a)};V[37]=function(a){u(a)};V[38]=function(a){u(a)};
|
||||
V[39]=function(a){u(a)};V[40]=function(a){u(a)};V[41]=function(a){u(a)};V[42]=function(a){u(a)};V[43]=function(a){u(a)};V[44]=function(a){u(a)};V[45]=function(a){u(a)};V[46]=function(a){u(a)};V[47]=function(a){u(a)};V[48]=function(a){a.O&&I(a,0);var c=a.a[0],d=a.a[2];switch(a.a[1]){case 372:a.mc=c&65535;break;case 374:a.Hc=c;break;case 373:a.Ic=c;break;case 16:c=(c>>>0)+4294967296*(d>>>0),a.ld=La()-c/8192}};
|
||||
V[49]=function(a){if(a.O&&a.F[4]&4)I(a,0);else{var c=La()-a.ld;a.a[0]=8192*c;a.a[2]=1.9073486328125E-6*c}};V[50]=function(a){a.O&&I(a,0);var c=0;switch(a.a[1]){case 372:c=a.mc;break;case 374:c=a.Hc;break;case 373:c=a.Ic;break;case 16:var d=La()-a.ld;a.a[0]=8192*d;a.a[2]=1.9073486328125E-6*d;break;case 27:c=4276092928}a.a[0]=c;a.a[2]=0};V[51]=function(a){u(a)};
|
||||
V[52]=function(a){var c=a.mc&65532;a.oa&&0!==c||I(a,0);a.g&=-131585;a.s=a.Hc;a.a[4]=a.Ic;a.N[1]=c;a.yb[1]=0;a.Da[1]=-1;a.H[1]=0;a.wa||sd(a,!0);a.O=0;Yc(a);a.N[2]=c+8;a.yb[2]=0;a.Da[2]=-1;a.H[2]=0;a.Za=!0};V[53]=function(a){var c=a.mc&65532;a.oa&&!a.O&&0!==c||I(a,0);a.s=a.a[2];a.a[4]=a.a[1];a.N[1]=c+16|3;a.yb[1]=0;a.Da[1]=-1;a.H[1]=0;a.wa||sd(a,!0);a.O=3;Yc(a);a.N[2]=c+24|3;a.yb[2]=0;a.Da[2]=-1;a.H[2]=0;a.Za=!0};V[54]=function(a){u(a)};V[55]=function(a){u(a)};V[56]=function(a){u(a)};V[57]=function(a){u(a)};
|
||||
V[58]=function(a){u(a)};V[59]=function(a){u(a)};V[60]=function(a){u(a)};V[61]=function(a){u(a)};V[62]=function(a){u(a)};V[63]=function(a){u(a)};W[64]=function(a){a.c=D(a);yf(a,a.cb())};X[64]=function(a){a.c=D(a);zf(a,a.cb())};W[65]=function(a){a.c=D(a);yf(a,!a.cb())};X[65]=function(a){a.c=D(a);zf(a,!a.cb())};W[66]=function(a){a.c=D(a);yf(a,a.Va())};X[66]=function(a){a.c=D(a);zf(a,a.Va())};W[67]=function(a){a.c=D(a);yf(a,!a.Va())};X[67]=function(a){a.c=D(a);zf(a,!a.Va())};
|
||||
W[68]=function(a){a.c=D(a);yf(a,a.Xa())};X[68]=function(a){a.c=D(a);zf(a,a.Xa())};W[69]=function(a){a.c=D(a);yf(a,!a.Xa())};X[69]=function(a){a.c=D(a);zf(a,!a.Xa())};W[70]=function(a){a.c=D(a);yf(a,Ef(a))};X[70]=function(a){a.c=D(a);zf(a,Ef(a))};W[71]=function(a){a.c=D(a);yf(a,!Ef(a))};X[71]=function(a){a.c=D(a);zf(a,!Ef(a))};W[72]=function(a){a.c=D(a);yf(a,a.eb())};X[72]=function(a){a.c=D(a);zf(a,a.eb())};W[73]=function(a){a.c=D(a);yf(a,!a.eb())};X[73]=function(a){a.c=D(a);zf(a,!a.eb())};
|
||||
W[74]=function(a){a.c=D(a);yf(a,a.Wa())};X[74]=function(a){a.c=D(a);zf(a,a.Wa())};W[75]=function(a){a.c=D(a);yf(a,!a.Wa())};X[75]=function(a){a.c=D(a);zf(a,!a.Wa())};W[76]=function(a){a.c=D(a);yf(a,Ff(a))};X[76]=function(a){a.c=D(a);zf(a,Ff(a))};W[77]=function(a){a.c=D(a);yf(a,!Ff(a))};X[77]=function(a){a.c=D(a);zf(a,!Ff(a))};W[78]=function(a){a.c=D(a);yf(a,Gf(a))};X[78]=function(a){a.c=D(a);zf(a,Gf(a))};W[79]=function(a){a.c=D(a);yf(a,!Gf(a))};X[79]=function(a){a.c=D(a);zf(a,!Gf(a))};V[80]=function(a){u(a)};
|
||||
V[81]=function(a){u(a)};V[82]=function(a){u(a)};V[83]=function(a){u(a)};V[84]=function(a){u(a)};V[85]=function(a){u(a)};V[86]=function(a){u(a)};V[87]=function(a){u(a)};V[88]=function(a){u(a)};V[89]=function(a){u(a)};V[90]=function(a){u(a)};V[91]=function(a){u(a)};V[92]=function(a){u(a)};V[93]=function(a){u(a)};V[94]=function(a){u(a)};V[95]=function(a){u(a)};V[96]=function(a){u(a)};V[97]=function(a){u(a)};V[98]=function(a){u(a)};V[99]=function(a){u(a)};V[100]=function(a){u(a)};V[101]=function(a){u(a)};
|
||||
V[102]=function(a){u(a)};V[103]=function(a){u(a)};V[104]=function(a){u(a)};V[105]=function(a){u(a)};V[106]=function(a){u(a)};V[107]=function(a){u(a)};V[108]=function(a){u(a)};V[109]=function(a){u(a)};V[110]=function(a){u(a)};V[111]=function(a){u(a)};V[112]=function(a){u(a)};V[113]=function(a){u(a)};V[114]=function(a){u(a)};V[115]=function(a){u(a)};V[116]=function(a){u(a)};V[117]=function(a){u(a)};V[118]=function(a){u(a)};V[119]=function(a){u(a)};V[120]=function(a){u(a)};V[121]=function(a){u(a)};
|
||||
V[122]=function(a){u(a)};V[123]=function(a){u(a)};V[124]=function(a){u(a)};V[125]=function(a){u(a)};V[126]=function(a){u(a)};V[127]=function(a){u(a)};W[128]=function(a){wf(a,a.cb())};X[128]=function(a){xf(a,a.cb())};W[129]=function(a){wf(a,!a.cb())};X[129]=function(a){xf(a,!a.cb())};W[130]=function(a){wf(a,a.Va())};X[130]=function(a){xf(a,a.Va())};W[131]=function(a){wf(a,!a.Va())};X[131]=function(a){xf(a,!a.Va())};W[132]=function(a){wf(a,a.Xa())};X[132]=function(a){xf(a,a.Xa())};
|
||||
W[133]=function(a){wf(a,!a.Xa())};X[133]=function(a){xf(a,!a.Xa())};W[134]=function(a){wf(a,Ef(a))};X[134]=function(a){xf(a,Ef(a))};W[135]=function(a){wf(a,!Ef(a))};X[135]=function(a){xf(a,!Ef(a))};W[136]=function(a){wf(a,a.eb())};X[136]=function(a){xf(a,a.eb())};W[137]=function(a){wf(a,!a.eb())};X[137]=function(a){xf(a,!a.eb())};W[138]=function(a){wf(a,a.Wa())};X[138]=function(a){xf(a,a.Wa())};W[139]=function(a){wf(a,!a.Wa())};X[139]=function(a){xf(a,!a.Wa())};W[140]=function(a){wf(a,Ff(a))};
|
||||
X[140]=function(a){xf(a,Ff(a))};W[141]=function(a){wf(a,!Ff(a))};X[141]=function(a){xf(a,!Ff(a))};W[142]=function(a){wf(a,Gf(a))};X[142]=function(a){xf(a,Gf(a))};W[143]=function(a){wf(a,!Gf(a))};X[143]=function(a){xf(a,!Gf(a))};V[144]=function(a){a.c=D(a);Df(a,a.cb())};V[145]=function(a){a.c=D(a);Df(a,!a.cb())};V[146]=function(a){a.c=D(a);Df(a,a.Va())};V[147]=function(a){a.c=D(a);Df(a,!a.Va())};V[148]=function(a){a.c=D(a);Df(a,a.Xa())};V[149]=function(a){a.c=D(a);Df(a,!a.Xa())};
|
||||
V[150]=function(a){a.c=D(a);Df(a,Ef(a))};V[151]=function(a){a.c=D(a);Df(a,!Ef(a))};V[152]=function(a){a.c=D(a);Df(a,a.eb())};V[153]=function(a){a.c=D(a);Df(a,!a.eb())};V[154]=function(a){a.c=D(a);Df(a,a.Wa())};V[155]=function(a){a.c=D(a);Df(a,!a.Wa())};V[156]=function(a){a.c=D(a);Df(a,Ff(a))};V[157]=function(a){a.c=D(a);Df(a,!Ff(a))};V[158]=function(a){a.c=D(a);Df(a,Gf(a))};V[159]=function(a){a.c=D(a);Df(a,!Gf(a))};W[160]=function(a){K(a,a.N[4])};X[160]=function(a){J(a,a.N[4])};
|
||||
W[161]=function(a){C(a,4,w(a,H(a,0)));md(a,ld(a)+2)};X[161]=function(a){C(a,4,w(a,H(a,0)));md(a,ld(a)+4)};
|
||||
V[162]=function(a){var c=0,d=0,e=0,g=0;switch(a.a[0]){case 0:c=2;g=1970169159;e=1231384169;d=1818588270;break;case 1:c=132690;g=67584;d=1082130432;e=(a.qa?1:0)|43320;e|=512;break;case 2:c=1717260289;d=g=0;e=8024064;break;case 4:switch(a.a[1]){case 0:c=289;g=29360191;d=63;e=1;break;case 1:c=290;g=29360191;d=63;e=1;break;case 2:c=323,g=96469055,d=4095,e=1}break;case -2147483648:c=5}a.a[0]=c;a.a[1]=d;a.a[2]=e;a.a[3]=g};W[163]=function(a){a.c=D(a);192>a.c?pf(a,a.M(a.c),Kd(a)):lf(a,Dd(a),Jd(a)&15)};
|
||||
X[163]=function(a){a.c=D(a);192>a.c?pf(a,a.M(a.c),T(a)):lf(a,Fd(a),T(a)&31)};W[164]=function(a){a.c=D(a);var c=O(a);P(a,jf(a,c,Jd(a),D(a)&31))};X[164]=function(a){a.c=D(a);var c=R(a);S(a,kf(a,c,T(a),D(a)&31))};W[165]=function(a){a.c=D(a);var c=O(a);P(a,jf(a,c,Jd(a),a.A[4]&31))};X[165]=function(a){a.c=D(a);var c=R(a);S(a,kf(a,c,T(a),a.A[4]&31))};V[166]=function(a){u(a)};V[167]=function(a){u(a)};W[168]=function(a){K(a,a.N[5])};X[168]=function(a){J(a,a.N[5])};
|
||||
W[169]=function(a){C(a,5,w(a,H(a,0)));md(a,ld(a)+2)};X[169]=function(a){C(a,5,w(a,H(a,0)));md(a,ld(a)+4)};V[170]=function(a){u(a)};W[171]=function(a){a.c=D(a);192>a.c?sf(a,a.M(a.c),Kd(a)):Ed(a,nf(a,Dd(a),Kd(a)&15))};X[171]=function(a){a.c=D(a);192>a.c?sf(a,a.M(a.c),T(a)):Gd(a,nf(a,Fd(a),T(a)&31))};W[172]=function(a){a.c=D(a);var c=O(a);P(a,gf(a,c,Jd(a),D(a)&31))};X[172]=function(a){a.c=D(a);var c=R(a);S(a,hf(a,c,T(a),D(a)&31))};W[173]=function(a){a.c=D(a);var c=O(a);P(a,gf(a,c,Jd(a),a.A[4]&31))};
|
||||
X[173]=function(a){a.c=D(a);var c=R(a);S(a,hf(a,c,T(a),a.A[4]&31))};V[174]=function(a){a.c=D(a);switch(a.c>>3&7){case 6:break;default:u(a)}};W[175]=function(a){a.c=D(a);var c=N(a)<<16>>16;Ld(a,te(a,Kd(a),c))};X[175]=function(a){a.c=D(a);var c=xd(a);Md(a,xe(a,T(a),c))};V[176]=function(a){a.c=D(a);if(192>a.c){var c=a.M(a.c);ib(a,c,1);var d=ad(a,c)}else d=a.A[a.c<<2&12|a.c>>2&1];je(a,a.A[0],d,7);a.Eb()?192>a.c?bd(a,c,Hd(a)):a.A[a.c<<2&12|a.c>>2&1]=Hd(a):a.A[0]=d};
|
||||
W[177]=function(a){a.c=D(a);if(192>a.c){var c=a.M(a.c);ib(a,c,2);var d=w(a,c)}else d=Dd(a);je(a,a.j[0],d,15);a.Eb()?192>a.c?jb(a,c,Jd(a)):Ed(a,Jd(a)):a.j[0]=d};X[177]=function(a){a.c=D(a);if(192>a.c){var c=a.M(a.c);ib(a,c,4);var d=x(a,c)}else d=Fd(a);je(a,a.a[0],d,31);a.Eb()?192>a.c?v(a,c,T(a)):Gd(a,T(a)):a.a[0]=d};W[178]=function(a){a.c=D(a);Kf(a,2)};X[178]=function(a){a.c=D(a);Lf(a,2)};W[179]=function(a){a.c=D(a);192>a.c?rf(a,a.M(a.c),Kd(a)):Ed(a,of(a,Dd(a),Kd(a)&15))};
|
||||
X[179]=function(a){a.c=D(a);192>a.c?rf(a,a.M(a.c),T(a)):Gd(a,of(a,Fd(a),T(a)&31))};W[180]=function(a){a.c=D(a);Kf(a,4)};X[180]=function(a){a.c=D(a);Lf(a,4)};W[181]=function(a){a.c=D(a);Kf(a,5)};X[181]=function(a){a.c=D(a);Lf(a,5)};W[182]=function(a){a.c=D(a);var c=wd(a);Ld(a,c)};X[182]=function(a){a.c=D(a);var c=wd(a);Md(a,c)};V[183]=function(a){a.c=D(a);var c=N(a);Md(a,c)};W[184]=function(a){a.c=D(a);var c=N(a);Ld(a,tf(a,c))};X[184]=function(a){a.c=D(a);var c=xd(a);Md(a,tf(a,c))};V[185]=function(a){u(a)};
|
||||
W[186]=function(a){a.c=D(a);switch(a.c>>3&7){case 4:192>a.c?pf(a,a.M(a.c),D(a)&15):lf(a,Dd(a),D(a)&15);break;case 5:192>a.c?sf(a,a.M(a.c),D(a)&15):Ed(a,nf(a,Dd(a),D(a)&15));break;case 6:192>a.c?rf(a,a.M(a.c),D(a)&15):Ed(a,of(a,Dd(a),D(a)&15));break;case 7:192>a.c?qf(a,a.M(a.c),D(a)&15):Ed(a,mf(a,Dd(a),D(a)&15));break;default:u(a)}};
|
||||
X[186]=function(a){a.c=D(a);switch(a.c>>3&7){case 4:192>a.c?pf(a,a.M(a.c),D(a)&31):lf(a,Fd(a),D(a)&31);break;case 5:192>a.c?sf(a,a.M(a.c),D(a)&31):Gd(a,nf(a,Fd(a),D(a)&31));break;case 6:192>a.c?rf(a,a.M(a.c),D(a)&31):Gd(a,of(a,Fd(a),D(a)&31));break;case 7:192>a.c?qf(a,a.M(a.c),D(a)&31):Gd(a,mf(a,Fd(a),D(a)&31));break;default:u(a)}};W[187]=function(a){a.c=D(a);192>a.c?qf(a,a.M(a.c),Kd(a)):Ed(a,mf(a,Dd(a),Kd(a)&15))};X[187]=function(a){a.c=D(a);192>a.c?qf(a,a.M(a.c),T(a)):Gd(a,mf(a,Fd(a),T(a)&31))};
|
||||
W[188]=function(a){a.c=D(a);var c=N(a);var d=Jd(a);a.o=0;0===c?(a.g|=64,c=d):(a.g&=-65,c=Qa(-c&c));Ld(a,c)};X[188]=function(a){a.c=D(a);var c=xd(a);var d=T(a);a.o=0;0===c?(a.g|=64,c=d):(a.g&=-65,c=Qa((-c&c)>>>0));Md(a,c)};W[189]=function(a){a.c=D(a);var c=N(a);var d=Jd(a);a.o=0;0===c?(a.g|=64,c=d):(a.g&=-65,c=Qa(c));Ld(a,c)};X[189]=function(a){a.c=D(a);var c=xd(a);var d=T(a);a.o=0;0===c?(a.g|=64,c=d):(a.g&=-65,c=Qa(c>>>0));Md(a,c)};W[190]=function(a){a.c=D(a);var c=wd(a)<<24>>24;Ld(a,c)};
|
||||
X[190]=function(a){a.c=D(a);var c=wd(a)<<24>>24;Md(a,c)};V[191]=function(a){a.c=D(a);var c=N(a)<<16>>16;Md(a,c)};V[192]=function(a){a.c=D(a);var c;c=Bd(a);var d=a.c>>1&12|a.c>>5&1,e=a.A[d];a.A[d]=c;c=a.add(c,e,7);Cd(a,c)};W[193]=function(a){a.c=D(a);var c;c=O(a);var d=a.c>>2&14,e=a.j[d];a.j[d]=c;c=a.add(c,e,15);P(a,c)};X[193]=function(a){a.c=D(a);var c;c=R(a);var d=a.c>>3&7,e=a.a[d];a.a[d]=c;c=a.add(c,e,31);S(a,c)};V[194]=function(a){u(a)};V[195]=function(a){u(a)};V[196]=function(a){u(a)};
|
||||
V[197]=function(a){u(a)};V[198]=function(a){u(a)};V[199]=function(a){a.c=D(a);switch(a.c>>3&7){case 1:192<=a.c&&u(a);var c=a.M(a.c);ib(a,c,8);var d=x(a,c),e=x(a,c+4|0);a.a[0]===d&&a.a[2]===e?(a.g|=64,v(a,c,a.a[3]),v(a,c+4|0,a.a[1])):(a.g&=-65,a.a[0]=d,a.a[2]=e);a.o&=-65;break;case 6:e=(d=Na())?Oa():0;a.Ja?(c=a.M(a.c),Ad(a,c,e)):(c=a.M(a.c),zd(a,c,e));a.g&=-2262;a.g|=d;a.o=0;break;default:u(a)}};V[200]=function(a){Mf(a,0)};V[201]=function(a){Mf(a,1)};V[202]=function(a){Mf(a,2)};
|
||||
V[203]=function(a){Mf(a,3)};V[204]=function(a){Mf(a,4)};V[205]=function(a){Mf(a,5)};V[206]=function(a){Mf(a,6)};V[207]=function(a){Mf(a,7)};V[208]=function(a){u(a)};V[209]=function(a){u(a)};V[210]=function(a){u(a)};V[211]=function(a){u(a)};V[212]=function(a){u(a)};V[213]=function(a){u(a)};V[214]=function(a){u(a)};V[215]=function(a){u(a)};V[216]=function(a){u(a)};V[217]=function(a){u(a)};V[218]=function(a){u(a)};V[219]=function(a){u(a)};V[220]=function(a){u(a)};V[221]=function(a){u(a)};V[222]=function(a){u(a)};
|
||||
V[223]=function(a){u(a)};V[224]=function(a){u(a)};V[225]=function(a){u(a)};V[226]=function(a){u(a)};V[227]=function(a){u(a)};V[228]=function(a){u(a)};V[229]=function(a){u(a)};V[230]=function(a){u(a)};V[231]=function(a){u(a)};V[232]=function(a){u(a)};V[233]=function(a){u(a)};V[234]=function(a){u(a)};V[235]=function(a){u(a)};V[236]=function(a){u(a)};V[237]=function(a){u(a)};V[238]=function(a){u(a)};V[239]=function(a){u(a)};V[240]=function(a){u(a)};V[241]=function(a){u(a)};V[242]=function(a){u(a)};
|
||||
V[243]=function(a){u(a)};V[244]=function(a){u(a)};V[245]=function(a){u(a)};V[246]=function(a){u(a)};V[247]=function(a){u(a)};V[248]=function(a){u(a)};V[249]=function(a){u(a)};V[250]=function(a){u(a)};V[251]=function(a){u(a)};V[252]=function(a){u(a)};V[253]=function(a){u(a)};V[254]=function(a){u(a)};V[255]=function(a){u(a)};var Qf=[],Rf=[];r.prototype.Sg=Qf;r.prototype.Tg=Rf;for(Pf=0;256>Pf;Pf++)V[Pf]?Qf[Pf]=Rf[Pf]=V[Pf]:W[Pf]&&(Qf[Pf]=W[Pf],Rf[Pf]=X[Pf]);function Rc(a){var c={};a.debug=c;c.zh=!1;c.wh=void 0;c.eh=[];c.Ah=!1;c.show=function(a){if("undefined"!==typeof document){var c=document.getElementById("log");if(c){c.textContent+=a+"\n";c.style.display="block";c.scrollTop=1E9;return}}console.log(a)};c.ab=function(){};c.kh=function(){};c.ih=function(){};c.rh=function(){};c.lh=function(){};c.nh=function(){};c.mh=function(){};c.jh=function(){};c.gh=function(){};c.hh=function(){};c.sh=function(){};c.vh=function(){};c.Bh=function(){};c.step=function(){};
|
||||
c.yh=function(){};c.fh=function(){};c.S=function(a){a="Unimplemented"+(a?": "+a:"");c.show(a);c.show("Execution stopped");return a};c.uh=function(){}};function Sf(a){function c(a){return g(a,!1)}function d(a){return g(a,!0)}function e(){for(var a=Object.keys(q),c,d=0;d<a.length;d++)c=+a[d],q[c]&&h(c,!1);q={}}function g(a,c){if(t.I&&(a.shiftKey&&a.ctrlKey&&74===a.keyCode||!t.f?0:a.target?"phone_keyboard"===a.target.className||"INPUT"!==a.target.nodeName&&"TEXTAREA"!==a.target.nodeName:1)){var d;a:{if(void 0!==a.code&&(d=Q[a.code],void 0!==d))break a;d=y[a.keyCode]}if(d)return h(d,c),a.preventDefault&&a.preventDefault(),!1;console.log("Missing char in map: "+
|
||||
a.keyCode.toString(16))}}function h(a,c){if(c)q[a]&&h(a,!1);else if(!q[a])return;(q[a]=c)||(a|=128);255<a?(k(a>>8),k(a&255)):k(a)}function k(a){t.I.send("keyboard-code",a)}var q={},t=this;this.f=!0;var y=new Uint16Array([0,0,0,0,0,0,0,0,14,15,0,0,0,28,0,0,42,29,56,0,58,0,0,0,0,0,0,1,0,0,0,0,57,57417,57425,57423,57415,57419,57416,57421,80,0,0,0,0,82,83,0,11,2,3,4,5,6,7,8,9,10,0,39,0,13,0,0,0,30,48,46,32,18,33,34,35,23,36,37,38,50,49,24,25,16,19,31,20,22,47,17,45,21,44,57435,57436,57437,0,0,82,79,80,
|
||||
81,75,76,77,71,72,73,0,0,0,0,0,0,59,60,61,62,63,64,65,66,67,68,87,88,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,69,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,39,13,51,12,52,53,41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,43,27,40,0,57435,57400,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),z={10:13,32:32,39:222,44:188,45:189,46:190,47:191,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,59:186,61:187,91:219,92:220,93:221,96:192,97:65,98:66,99:67,100:68,
|
||||
101:69,102:70,103:71,104:72,105:73,106:74,107:75,108:76,109:77,110:78,111:79,112:80,113:81,114:82,115:83,116:84,117:85,118:86,119:87,120:88,121:89,122:90},B={33:49,34:222,35:51,36:52,37:53,38:55,40:57,41:48,42:56,43:187,58:186,60:188,62:190,63:191,64:50,65:65,66:66,67:67,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,90:90,94:54,95:189,123:219,124:220,125:221,126:192},Q={Escape:1,Digit1:2,Digit2:3,Digit3:4,Digit4:5,
|
||||
Digit5:6,Digit6:7,Digit7:8,Digit8:9,Digit9:10,Digit0:11,Minus:12,Equal:13,Backspace:14,Tab:15,KeyQ:16,KeyW:17,KeyE:18,KeyR:19,KeyT:20,KeyY:21,KeyU:22,KeyI:23,KeyO:24,KeyP:25,BracketLeft:26,BracketRight:27,Enter:28,ControlLeft:29,KeyA:30,KeyS:31,KeyD:32,KeyF:33,KeyG:34,KeyH:35,KeyJ:36,KeyK:37,KeyL:38,Semicolon:39,Quote:40,Backquote:41,ShiftLeft:42,Backslash:43,KeyZ:44,KeyX:45,KeyC:46,KeyV:47,KeyB:48,KeyN:49,KeyM:50,Comma:51,Period:52,Slash:53,ShiftRight:54,NumpadMultiply:55,AltLeft:56,Space:57,CapsLock:58,
|
||||
F1:59,F2:60,F3:61,F4:62,F5:63,F6:64,F7:65,F8:66,F9:67,F10:68,NumLock:69,ScrollLock:70,Numpad7:71,Numpad8:72,Numpad9:73,NumpadSubtract:74,Numpad4:75,Numpad5:76,Numpad6:77,NumpadAdd:78,Numpad1:79,Numpad2:80,Numpad3:81,Numpad0:82,NumpadDecimal:83,IntlBackslash:86,F11:87,F12:88,NumpadEnter:57372,ControlRight:57373,NumpadDivide:57397,AltRight:57400,Home:57423,ArrowUp:57416,PageUp:57417,ArrowLeft:57419,ArrowRight:57421,End:57423,ArrowDown:57424,PageDown:57425,Insert:57426,Delete:57427,OSLeft:57435,OSRight:57436,
|
||||
ContextMenu:57437};this.I=a;this.Qa=function(){"undefined"!==typeof window&&(window.removeEventListener("keyup",c,!1),window.removeEventListener("keydown",d,!1),window.removeEventListener("blur",e,!1))};this.ab=function(){"undefined"!==typeof window&&(this.Qa(),window.addEventListener("keyup",c,!1),window.addEventListener("keydown",d,!1),window.addEventListener("blur",e,!1))};this.ab();this.b=function(a){a={keyCode:a};g(a,!0);g(a,!1)};this.l=function(a){var c=a.charCodeAt(0);c in z?this.b(z[c]):c in
|
||||
B?(k(42),this.b(B[c]),k(170)):console.log("ascii -> keyCode not found: ",c,a)}};function Tf(a){function c(a){return z.enabled&&z.b&&(!a.target||"mousemove"===a.type||"INPUT"!==a.target.nodeName&&"TEXTAREA"!==a.target.nodeName)}function d(a){if(z.I&&c(a)){var d=0,e=0;"number"===typeof a.movementX?(d=a.movementX,e=a.movementY):"number"===typeof a.webkitMovementX?(d=a.webkitMovementX,e=a.webkitMovementY):"number"===typeof a.mozMovementX&&(d=a.mozMovementX,e=a.mozMovementY);e=-(.15*e);z.I.send("mouse-delta",[.15*d,e])}}function e(a){c(a)&&a.preventDefault()}function g(a){c(a)&&k(a,
|
||||
!0)}function h(a){c(a)&&k(a,!1)}function k(a,c){z.I&&(1===a.which?q=c:2===a.which?y=c:3===a.which?t=c:console.log("Unknown event.which: "+a.which),z.I.send("mouse-click",[q,y,t]),a.preventDefault())}var q=!1,t=!1,y=!1,z=this;this.enabled=!1;this.b=!0;this.I=a;this.I.register("mouse-enable",function(a){this.enabled=a},this);this.Qa=function(){window.removeEventListener("mousemove",d,!1);document.removeEventListener("contextmenu",e,!1);window.removeEventListener("mousedown",g,!1);window.removeEventListener("mouseup",
|
||||
h,!1)};this.ab=function(){"undefined"!==typeof window&&(this.Qa(),window.addEventListener("mousemove",d,!1),document.addEventListener("contextmenu",e,!1),window.addEventListener("mousedown",g,!1),window.addEventListener("mouseup",h,!1))};this.ab()};function Uf(a,c){function d(a){h.I&&h.enabled&&(h.f(a.which),a.preventDefault())}function e(a){8===a.which&&(h.f(127),a.preventDefault())}function g(a){if(h.enabled){for(var c=a.clipboardData.getData("text/plain"),d=0;d<c.length;d++)h.f(c.charCodeAt(d));a.preventDefault()}}var h=this;this.enabled=!0;this.I=c;this.text=[];this.l=this.b=!1;this.I.register("serial0-output-char",function(a){this.Qg(a)},this);this.Qa=function(){a.removeEventListener("keypress",d,!1);a.removeEventListener("keydown",e,!1);
|
||||
a.removeEventListener("paste",g,!1)};this.ab=function(){this.Qa();a.addEventListener("keypress",d,!1);a.addEventListener("keydown",e,!1);a.addEventListener("paste",g,!1);setInterval(function(){this.b&&(this.b=!1,a.value=this.text.join(""),this.l&&(this.l=!1,a.scrollTop=1E9))}.bind(this),16)};this.ab();this.Qg=function(a){"\b"===a?(this.text.pop(),this.b=!0):"\r"!==a&&(this.b=!0,this.text.push(a),"\n"===a&&(this.l=!0))};this.f=function(a){h.I&&h.I.send("serial0-input",a)}};function Vf(a,c){this.I=c;this.b=void 0;this.f=[];this.url=a;this.l=Date.now()-1E4;this.I.register("net0-send",function(a){this.send(a)},this)}m=Vf.prototype;m.zf=function(a){this.I&&this.I.send("net0-receive",new Uint8Array(a.data))};m.se=function(){this.connect();setTimeout(this.connect.bind(this),1E4)};m.Af=function(){for(var a=0;a<this.f.length;a++)this.send(this.f[a]);this.f=[]};m.yf=function(){};m.Qa=function(){this.b&&this.b.close()};
|
||||
m.connect=function(){if(this.b){var a=this.b.readyState;if(0===a||1===a)return}if(!(this.l+1E4>Date.now())){this.l=Date.now();try{this.b=new WebSocket(this.url)}catch(c){this.se()}this.b.binaryType="arraybuffer";this.b.onopen=this.Af.bind(this);this.b.onmessage=this.zf.bind(this);this.b.onclose=this.se.bind(this);this.b.onerror=this.yf.bind(this)}};m.send=function(a){this.b&&1===this.b.readyState?this.b.send(a):(this.f.push(a),128<this.f.length&&(this.f=this.f.slice(-64)),this.connect())};(function(){function a(a,c){var d=new XMLHttpRequest;d.open(c.method||"get",a,!0);c.Oc||(d.responseType="arraybuffer");if(c.headers)for(var e=Object.keys(c.headers),g=0;g<e.length;g++){var z=e[g];d.setRequestHeader(z,c.headers[z])}d.onload=function(){4===d.readyState&&(200!==d.status&&206!==d.status?console.log("Loading the image `"+a+"` failed"):d.response&&c.done&&c.done(d.response,d))};c.He&&(d.onprogress=function(a){c.He(a)});d.send(null)}function c(a,c){var d={encoding:c.Oc?"utf-8":null};require("fs").readFile(a,
|
||||
d,function(d,e){if(d)console.log("Could not read file:",a);else{var g=e;c.Oc||(g=(new Uint8Array(g)).buffer);c.done(g)}})}function d(a,c){this.l=a;this.b=256;this.byteLength=c;this.f={};this.onload=void 0}function e(a){this.b=a;this.byteLength=a.size;1073741824<a.size&&console.warn("SyncFileBuffer: Allocating buffer of "+(a.size>>20)+" MB ...");this.buffer=new ArrayBuffer(a.size);this.onload=void 0}function g(a){this.l=a;this.byteLength=a.size;this.b=256;this.f={};this.onload=void 0}"undefined"===
|
||||
typeof XMLHttpRequest?Ra=c:Ra=a;Sa=d;Ta=g;Ua=e;d.prototype.load=function(){void 0!==this.byteLength?this.onload&&this.onload({}):a(this.l,{done:function(a,c){var d=c.getResponseHeader("Content-Range")||"",e=d.match(/\/(\d+)\s*$/);e?(this.byteLength=+e[1],this.onload&&this.onload({})):console.assert(!1,"Cannot use: "+this.l+". `Range: bytes=...` header not supported (Got `"+d+"`)")}.bind(this),headers:{Range:"bytes=0-0"}})};d.prototype.get=function(c,d,e){console.assert(0===c%this.b);console.assert(0===
|
||||
d%this.b);console.assert(d);a(this.l,{done:function(a){a=new Uint8Array(a);this.m(c,d,a);e(a)}.bind(this),headers:{Range:"bytes="+c+"-"+(c+d-1)}})};d.prototype.set=function(a,c,d){console.assert(a+c.byteLength<=this.byteLength);var e=c.length;console.assert(0===a%this.b);console.assert(0===e%this.b);console.assert(e);a/=this.b;for(var e=e/this.b,g=0;g<e;g++){var z=this.f[a+g];void 0===z&&(z=this.f[a+g]=new Uint8Array(this.b));var B=c.subarray(g*this.b,(g+1)*this.b);z.set(B);console.assert(z.byteLength===
|
||||
B.length)}d()};d.prototype.m=function(a,c,d){a/=this.b;c/=this.b;for(var e=0;e<c;e++){var g=this.f[a+e];g&&d.set(g,e*this.b)}};e.prototype.load=function(){this.f(0)};e.prototype.f=function(a){var c=new FileReader;c.onload=function(c){c=new Uint8Array(c.target.result);(new Uint8Array(this.buffer,a)).set(c);this.f(a+4194304)}.bind(this);if(a<this.byteLength){var d=Math.min(a+4194304,this.byteLength);c.readAsArrayBuffer(this.b.slice(a,d))}else this.b=void 0,this.onload&&this.onload({buffer:this.buffer})};
|
||||
e.prototype.get=function(a,c,d){console.assert(a+c<=this.byteLength);d(new Uint8Array(this.buffer,a,c))};e.prototype.set=function(a,c,d){console.assert(a+c.byteLength<=this.byteLength);(new Uint8Array(this.buffer,a,c.byteLength)).set(c);d()};g.prototype.load=function(){this.onload&&this.onload({})};g.prototype.get=function(a,c,d){console.assert(0===a%this.b);console.assert(0===c%this.b);console.assert(c);var e=new FileReader;e.onload=function(e){e=new Uint8Array(e.target.result);this.m(a,c,e);d(e)}.bind(this);
|
||||
e.readAsArrayBuffer(this.l.slice(a,a+c))};g.prototype.set=d.prototype.set;g.prototype.m=d.prototype.m})();function Y(a){function c(a,c){switch(a){case "hda":q.Qb=c;break;case "hdb":q.Xd=c;break;case "cdrom":q.Mb=c;break;case "fda":q.me=c;break;case "fdb":q.vf=c;break;case "bios":q.rc=c.buffer;break;case "vga_bios":q.Wg=c.buffer;break;case "initial_state":q.Yd=c.buffer;break;case "fs9p_json":q.qe=c.buffer}}function d(a,c){if(c)if(c.get&&c.set&&c.load)t.push({name:a,bc:c});else{c={buffer:c.buffer,async:c.async,url:c.url,size:c.size};if("bios"===a||"vga_bios"===a||"initial_state"===a)c.async=!1;if(c.buffer instanceof
|
||||
ArrayBuffer){var d=new Wa(c.buffer);t.push({name:a,bc:d})}else c.buffer instanceof File?(void 0===c.async&&(c.async=268435456>c.buffer.size),d=c.async?new Ua(c.buffer):new Ta(c.buffer),t.push({name:a,bc:d})):c.url&&(c.async?(d=new Sa(c.url,c.size),t.push({name:a,bc:d})):t.push({name:a,url:c.url,size:c.size}))}}function e(){q.Yd&&(q.Mf=!0);this.I.send("cpu-init",q);setTimeout(function(){q.Yd&&Gc(k.u,q.Yd);setTimeout(function(){q.Ob&&q.qe&&Wf(q.Ob,q.qe);a.autostart&&this.I.send("cpu-run")}.bind(this),
|
||||
0)}.bind(this),0)}this.Od=!1;var g=Oc(),h=this.I=g[0];this.m=g[1];var k=this.b=new Ha(this.m);this.I.register("emulator-stopped",function(){this.Od=!1},this);this.I.register("emulator-started",function(){this.Od=!0},this);var q={If:!0};q.cc=a.memory_size||67108864;q.Ea=a.vga_memory_size||8388608;q.af=a.boot_order||531;q.me=void 0;q.vf=void 0;a.network_relay_url&&(new Vf(a.network_relay_url,h),q.uf=!0);a.disable_keyboard||(this.f=new Sf(h));a.disable_mouse||(this.v=new Tf(h));a.screen_container&&(this.l=
|
||||
new aa(a.screen_container,h));a.serial_container&&new Uf(a.serial_container,h);for(var t=[],g="bios vga_bios cdrom hda hdb fda fdb initial_state".split(" "),h=0;h<g.length;h++)d(g[h],a[g[h]]);if(a.filesystem&&(g=a.filesystem.basefs,h=a.filesystem.baseurl,this.Ob=new Xf(h),q.Ob=this.Ob,g)){console.assert(h,"Filesystem: baseurl must be specified");var y;"object"===typeof g&&(y=g.size,g=g.url);t.push({name:"fs9p_json",url:g,size:y,Oc:!0})}var z=this,B=t.length,Q=function(a){if(a===B)setTimeout(e.bind(this),
|
||||
0);else{var d=t[a];d.bc?(d.bc.onload=function(){c(d.name,d.bc);Q(a+1)},d.bc.load()):Ra(d.url,{done:function(e){c(d.name,new Wa(e));Q(a+1)},He:function(c){z.m.send("download-progress",{ph:a,oh:B,qh:d.url,lengthComputable:c.lengthComputable,total:d.size||c.total,loaded:c.loaded})},Oc:d.Oc})}}.bind(this);Q(0)}m=Y.prototype;m.Ve=function(){this.I.send("cpu-run")};m.Xe=function(){this.I.send("cpu-stop")};m.Qa=function(){this.f.Qa()};m.Te=function(){this.I.send("cpu-restart")};
|
||||
m.Ye=function(a,c){this.I.register(a,c,this)};m.Ig=function(a,c){this.I.unregister(a,c)};m.Ue=function(a){Gc(this.b.u,a)};
|
||||
m.We=function(a){setTimeout(function(){try{for(var c=[],d=Ec(this.b.u,c),e=[],g=0,h=0;h<c.length;h++){var k=c[h].byteLength;e[h]={offset:g,length:k};g+=k;g=g+3&-4}var q=JSON.stringify({buffer_infos:e,state:d}),t=16+2*q.length,t=t+3&-4,d=t+g,y=new ArrayBuffer(d),z=new Int32Array(y,0,4),B=new Uint16Array(y,16,q.length),Q=new Uint8Array(y,t);z[0]=-2039052682;z[1]=2;z[2]=d;z[3]=2*q.length;for(h=0;h<q.length;h++)B[h]=q.charCodeAt(h);for(h=0;h<c.length;h++)Q.set(new Uint8Array(c[h]),e[h].offset);a(null,
|
||||
y)}catch(Z){a(Z,null)}}.bind(this),0)};m.xf=function(){var a={u:{th:this.b?this.b.u.U:0}};if(!this.b)return a;var c=this.b.u.b;c.Qb&&(a.Qb=c.Qb.va);c.Mb&&(a.Mb=c.Mb.va);c.Ad&&(a.mouse={enabled:c.Ad.Wb});c.Xb&&(a.vga={is_graphical:c.Xb.va.Zd});return a};m.Df=function(){return this.Od};m.Ff=function(a){for(var c=0;c<a.length;c++)this.I.send("keyboard-code",a[c])};m.Ef=function(a){for(var c=0;c<a.length;c++)this.f.b(a[c])};m.Gf=function(a){for(var c=0;c<a.length;c++)this.f.l(a[c])};
|
||||
m.Mg=function(){this.l&&this.l.l()};m.Ng=function(a,c){this.l&&this.l.b(a,c)};m.Lg=function(){if(this.l){var a=document.getElementById("screen_container");if(a){var c=a.requestFullScreen||a.webkitRequestFullscreen||a.mozRequestFullScreen||a.msRequestFullScreen;c&&(c.call(a),(a=document.getElementsByClassName("phone_keyboard")[0])&&a.focus());this.xe()}}};m.xe=function(){var a=document.body,c=a.requestPointerLock||a.mozRequestPointerLock||a.webkitRequestPointerLock;c&&c.call(a)};
|
||||
m.Lf=function(a){this.v&&(this.v.b=a)};m.Hf=function(a){this.f&&(this.f.f=a)};m.Og=function(a){for(var c=0;c<a.length;c++)this.I.send("serial0-input",a.charCodeAt(c))};m.gf=function(a,c,d){var e=this.Ob;if(e){var g=a.split("/"),g=g[g.length-1];a=Yf(e,a).la;var h=""===g||-1===a;h||Zf(e,g,a,c);d&&setTimeout(function(){h?d(new $f):d(null)},0)}};
|
||||
m.Eg=function(a,c){var d=this.Ob;if(d){var e=Yf(d,a).id;-1===e?c(new $f,null):(ia(d,e),ja(d,e,function(){var a=d.f[e];a?c(null,a.subarray(0,d.b[e].size)):c(new $f,null)}))}};function $f(a){this.message=a||"File not found"}$f.prototype=Error.prototype;"undefined"!==typeof window?(window.V86Starter=Y,window.V86=Y):"undefined"!==typeof module&&"undefined"!==typeof module.exports?(module.exports.V86Starter=Y,module.exports.V86=Y):"function"===typeof importScripts&&(self.V86Starter=Y,self.V86=Y);
|
||||
Y.prototype.run=Y.prototype.Ve;Y.prototype.stop=Y.prototype.Xe;Y.prototype.restart=Y.prototype.Te;Y.prototype.destroy=Y.prototype.Qa;Y.prototype.add_listener=Y.prototype.Ye;Y.prototype.remove_listener=Y.prototype.Ig;Y.prototype.restore_state=Y.prototype.Ue;Y.prototype.save_state=Y.prototype.We;Y.prototype.get_statistics=Y.prototype.xf;Y.prototype.is_running=Y.prototype.Df;Y.prototype.keyboard_send_scancodes=Y.prototype.Ff;Y.prototype.keyboard_send_keys=Y.prototype.Ef;
|
||||
Y.prototype.keyboard_send_text=Y.prototype.Gf;Y.prototype.screen_make_screenshot=Y.prototype.Mg;Y.prototype.screen_set_scale=Y.prototype.Ng;Y.prototype.screen_go_fullscreen=Y.prototype.Lg;Y.prototype.lock_mouse=Y.prototype.xe;Y.prototype.mouse_set_status=Y.prototype.Lf;Y.prototype.keyboard_set_status=Y.prototype.Hf;Y.prototype.serial0_send=Y.prototype.Og;Y.prototype.create_file=Y.prototype.gf;Y.prototype.read_file=Y.prototype.Eg;var pa=16384;function Xf(a){this.b=[];this.l=[];this.B=a;this.m=this.K=0;this.v=function(){};this.f={};this.D=0;oa(this,"",-1)}function ja(a,c,d){0==a.b[c].status?d():a.l.push({id:c,Se:d})}function ag(a,c){0==a.m&&(a.v=function(){});for(var d=a.l.length-1;0<=d;d--)a.l[d].id==c&&(a.l[d].Se(),a.l.splice(d,1))}
|
||||
function Wf(a,c){var d=JSON.parse(c);if(2!==d.version)throw"The filesystem JSON format has changed. Please update your fs2json (https://github.com/copy/fs2json) and recreate the filesystem JSON.";var e=d.fsroot;a.D=d.size;setTimeout(function(){for(var c=0;c<e.length;c++)bg(a,e[c],0);a.v=function(){}},0)}
|
||||
function bg(a,c,d){var e=ka(a);e.name=c[0];e.size=c[1];e.bd=c[2];e.Pd=e.bd;e.Pc=e.bd;e.mode=c[3];e.uid=c[4];e.Na=c[5];e.la=d;d=e.mode&61440;if(d===pa)for(c=c[6],e.oc=!0,d=a.b.length,la(a,e),e=0;e<c.length;e++)bg(a,c[e],d);else 32768===d?(e.status=2,la(a,e)):40960===d&&(e.hd=c[6],la(a,e))}function cg(a,c){var d=a.b[c];2==d.status&&(d.status=3,a.m++,a.B&&dg(a.B+eg(a,d.oe),function(a){a=this.f[c]=new Uint8Array(a);d.size=a.length;d.status=0;this.m--;ag(this,c)}.bind(a),function(a){throw a;}))}
|
||||
function la(a,c){if(-1!=c.la){a.b.push(c);c.oe=a.b.length-1;var d=a.b[c.la];d.oc=!0;c.Ta=d.Ra;d.Ra=a.b.length-1}else 0==a.b.length&&a.b.push(c)}function fg(a){this.oc=!1;this.Ta=this.Ra=this.la=-1;this.status=0;this.name="";this.Ae=this.ze=this.bd=this.Pc=this.Pd=this.oe=this.Na=this.uid=this.size=0;this.hd="";this.mode=493;this.Ba={type:0,version:0,path:a};this.ta=void 0}function ka(a){return new fg(++a.K)}
|
||||
function oa(a,c,d){var e=ka(a);e.name=c;e.la=d;e.mode=511|pa;0<=d&&(e.uid=a.b[d].uid,e.Na=a.b[d].Na,e.mode=a.b[d].mode&511|pa);e.Ba.type=pa>>8;la(a,e);return a.b.length-1}function qa(a,c,d){var e=ka(a);e.name=c;e.la=d;e.uid=a.b[d].uid;e.Na=a.b[d].Na;e.Ba.type=128;e.mode=a.b[d].mode&438|32768;la(a,e);return a.b.length-1}function na(a,c,d,e,g){var h=ka(a);h.name=c;h.la=d;h.ze=e;h.Ae=g;h.uid=a.b[d].uid;h.Na=a.b[d].Na;h.Ba.type=192;h.mode=a.b[d].mode&438;la(a,h);return a.b.length-1}
|
||||
function ma(a,c,d,e){var g=ka(a);g.name=c;g.la=d;g.uid=a.b[d].uid;g.Na=a.b[d].Na;g.Ba.type=160;g.hd=e;g.mode=40960;la(a,g);return a.b.length-1}function Zf(a,c,d,e){c=qa(a,c,d);d=a.b[c];(a.f[c]=new Uint8Array(e.length)).set(e);d.size=e.length}
|
||||
function ia(a,c){var d=ha(a,c);if((d.mode&61440)==pa){var e=ha(a,c);if(e.oc){var g=e.la;-1==g&&(g=0);for(var h=0,k=a.b[c].Ra;-1!=k;)h+=24+gg(a.b[k].name),k=a.b[k].Ta;var h=h+25+26,q=a.f[c]=new Uint8Array(h);e.size=h;h=0;h+=da(["Q","d","b","s"],[a.b[c].Ba,h+13+8+1+2+1,a.b[c].mode>>12,"."],q,h);h+=da(["Q","d","b","s"],[a.b[g].Ba,h+13+8+1+2+2,a.b[g].mode>>12,".."],q,h);for(k=a.b[c].Ra;-1!=k;)h+=da(["Q","d","b","s"],[a.b[k].Ba,h+13+8+1+2+gg(a.b[k].name),a.b[k].mode>>12,a.b[k].name],q,h),k=a.b[k].Ta;e.oc=
|
||||
!1}}return 2==d.status?(cg(a,c),!1):!0}function wa(a,c){var d=ha(a,c);4==d.status&&(-1==d.status,delete a.f[c],d.size=0)}function ta(a,c,d,e,g){if(c==e&&d==g)return!0;d=ua(a,c,d);if(-1==d)return!1;var h=ua(a,e,g);-1!=h&&va(a,h);h=a.b[d];if(a.b[h.la].Ra==d)a.b[h.la].Ra=h.Ta;else{var k=hg(a,d);a.b[k].Ta=h.Ta}h.la=e;h.name=g;h.Ba.version++;h.Ta=a.b[h.la].Ra;a.b[h.la].Ra=d;a.b[c].oc=!0;return a.b[e].oc=!0}
|
||||
function sa(a,c,d,e,g){var h=a.b[c],k=a.f[c];!k||k.length<d+e?(ra(a,c,Math.floor(3*(d+e)/2)),h.size=d+e,k=a.f[c]):h.size<d+e&&(h.size=d+e);for(a=0;a<e;a++)k[d+a]=g()}function ua(a,c,d){for(c=a.b[c].Ra;-1!=c;){if(a.b[c].name==d)return c;c=a.b[c].Ta}return-1}function eg(a,c){for(var d="";0!=c;)d="/"+a.b[c].name+d,c=a.b[c].la;return d.substring(1)}function hg(a,c){for(var d=ha(a,c),d=a.b[d.la].Ra;-1!=d&&a.b[d].Ta!=c;)d=a.b[d].Ta;return d}
|
||||
function va(a,c){if(0==c)return!1;var d=ha(a,c);if((d.mode&61440)==pa&&-1!=d.Ra)return!1;if(a.b[d.la].Ra==c)a.b[d.la].Ra=d.Ta;else{var e=hg(a,c);a.b[e].Ta=d.Ta}a.b[d.la].oc=!0;d.status=4;d.Ta=-1;d.Ra=-1;d.la=-1;return!0}function ha(a,c){return isNaN(c)||0>c||c>a.b.length?0:a.b[c]}function ra(a,c,d){var e=ha(a,c),g=a.f[c];if(d!=e.size&&(a=a.f[c]=new Uint8Array(d),e.size=d,g))for(d=Math.min(g.length,e.size),e=0;e<d;e++)a[e]=g[e]}
|
||||
function Yf(a,c){c=c.replace("//","/");var d=c.split("/"),e=d.length;0==d[e-1].length&&d.pop();0==d[0].length&&d.shift();for(var e=d.length,g=0,h=-1,k=0;k<e;k++){h=ua(a,g,d[k]);if(-1==h)return k<e-1?{id:-1,la:-1,name:d[k]}:{id:-1,la:g,name:d[k]};g=h}return{id:h,la:g,name:d[k]}}
|
||||
function xa(a,c){var d=ha(a,c);if(d.ta)return d.ta.length;d.ta=new Uint8Array(12);d.ta[0]=0;d.ta[1]=0;d.ta[2]=0;d.ta[3]=1;d.ta[4]=255;d.ta[5]=255;d.ta[6]=255;d.ta[7]=255;d.ta[8]=255;d.ta[9]=255;d.ta[10]=255;d.ta[11]=255;return d.ta.length};var dg;if("undefined"!==typeof XMLHttpRequest)dg=function(a,c,d){var e=new XMLHttpRequest;e.open("GET",a,!0);e.responseType="arraybuffer";e.onreadystatechange=function(){if(4==e.readyState)if(200!=e.status&&0!=e.status)d("Error: Could not load file "+a);else{var g=e.response;g?c(g):d("Error: No data received from: "+a)}};e.send(null)};else{var ig=require("fs");dg=function(a,c,d){ig.readFile(a,function(a,g){a?d(a):c((new Uint8Array(g)).buffer)})}};function da(a,c,d,e){for(var g,h=0,k=0;k<a.length;k++)switch(g=c[k],a[k]){case "w":d[e++]=g&255;d[e++]=g>>8&255;d[e++]=g>>16&255;d[e++]=g>>24&255;h+=4;break;case "d":d[e++]=g&255;d[e++]=g>>8&255;d[e++]=g>>16&255;d[e++]=g>>24&255;d[e++]=0;d[e++]=0;d[e++]=0;d[e++]=0;h+=8;break;case "h":d[e++]=g&255;d[e++]=g>>8;h+=2;break;case "b":d[e++]=g;h+=1;break;case "s":var q=e,t=0;d[e++]=0;d[e++]=0;var h=h+2,y;for(y in g)jg(g.charCodeAt(y)).forEach(function(a){d[e++]=a;h+=1;t++});d[q+0]=t&255;d[q+1]=t>>8&255;
|
||||
break;case "Q":da(["b","w","d"],[g.type,g.version,g.path],d,e),e+=13,h+=13}return h}
|
||||
function ga(a,c){for(var d=[],e=0;e<a.length;e++)switch(a[e]){case "w":var g=c(),g=g+(c()<<8),g=g+(c()<<16),g=g+(c()<<24>>>0);d.push(g);break;case "d":g=c();g+=c()<<8;g+=c()<<16;g+=c()<<24>>>0;c();c();c();c();d.push(g);break;case "h":g=c();d.push(g+(c()<<8));break;case "b":d.push(c());break;case "s":for(var g=c(),g=g+(c()<<8),h="",k=new kg,q=0;q<g;q++){var t=k.l(c());-1!=t&&(h+=String.fromCharCode(t))}d.push(h)}return d};function kg(){this.b=new Uint8Array(5);this.f=0;this.l=function(a){this.b[this.f]=a;this.f++;switch(this.f){case 1:if(128>this.b[0])return this.f=0,this.b[0];break;case 2:if(192==(this.b[0]&224)&&128==(this.b[1]&192))return this.f=0,(this.b[0]&31)<<6|this.b[1]&63}return-1}}function jg(a){if(128>a)return[a];if(2048>a)return[192|a>>6&31,128|a&63]}function gg(a){for(var c=0,d=0;d<a.length;d++)c+=128>a.charCodeAt(d)?1:2;return c};})();
|
431
www/emulator/libv86.min.js
vendored
Normal file
@ -0,0 +1,431 @@
|
||||
'use strict';var l;function aa(a,c){this.g=a;this.J=c;this.ha=function(){};this.K=9;this.L=1;this.v=new Uint8Array([6,0,104,111,115,116,57,112]);this.D="9P2000.L";this.m=this.o=8192;this.ua=new Uint8Array(2*this.m);this.ce=0;this.b=[]}aa.prototype.La=function(){var a=[];a[0]=this.K;a[1]=this.L;a[2]=this.v;a[3]=this.D;a[4]=this.o;a[5]=this.m;a[6]=this.ua;a[7]=this.ce;a[8]=this.b.map(function(a){return[a.$,a.type,a.uid]});return a};
|
||||
aa.prototype.Ra=function(a){this.K=a[0];this.L=a[1];this.v=a[2];this.D=a[3];this.o=a[4];this.m=a[5];this.ua=a[6];this.ce=a[7];this.b=a[8].map(function(a){return{$:a[0],type:a[1],uid:a[2]}})};function ba(a,c,d,e){ca(["w","b","h"],[e+7,c+1,d],a.ua,0);a.ce=e+7}function da(a,c,d){d=ca(["w"],[d],a.ua,7);ba(a,6,c,d)}
|
||||
function ea(a,c,d){var e=fa(["w","b","h"],d),f=e[0],h=e[1],r=e[2];switch(h){case 8:var f=a.g.K,k=[16914839];k[1]=a.o;k[2]=Math.floor(274877906944/k[1]);k[3]=k[2]-Math.floor(f/k[1]);k[4]=k[2]-Math.floor(f/k[1]);k[5]=a.g.b.length;k[6]=1048576;k[7]=0;k[8]=256;f=ca("wwddddddw".split(""),k,a.ua,7);ba(a,h,r,f);a.ha(0,c);break;case 112:case 12:var k=fa(["w","w"],d),t=k[0],e=k[1];d=a.b[t].$;var u=ga(a.g,d);d=ha(a.g,d);ia(a.g,a.b[t].$,function(){k[0]=u.Xa;k[1]=this.m-24;ca(["Q","w"],k,this.ua,7);ba(this,h,
|
||||
r,17);this.ha(0,c)}.bind(a));break;case 70:k=fa(["w","w","s"],d);f=k[0];t=k[1];d=k[2];var u=ja(a.g),e=ga(a.g,a.b[t].$),z=a.g.g[a.b[t].$];u.mode=e.mode;u.size=e.size;u.Gd=e.Gd;for(var G=a.g.g[a.g.b.length]=new Uint8Array(u.size),e=0;e<u.size;e++)G[e]=z[e];u.name=d;u.va=a.b[f].$;ka(a.g,u);ba(a,h,r,0);a.ha(0,c);break;case 16:k=fa(["w","s","s","w"],d);t=k[0];d=k[1];f=k[3];d=la(a.g,d,a.b[t].$,k[2]);u=ga(a.g,d);u.uid=a.b[t].uid;u.Za=f;ca(["Q"],[u.Xa],a.ua,7);ba(a,h,r,13);a.ha(0,c);break;case 18:k=fa("wswwww".split(""),
|
||||
d);t=k[0];d=k[1];e=k[2];z=k[3];G=k[4];f=k[5];d=ma(a.g,d,a.b[t].$,z,G);u=ga(a.g,d);u.mode=e;u.uid=a.b[t].uid;u.Za=f;ca(["Q"],[u.Xa],a.ua,7);ba(a,h,r,13);a.ha(0,c);break;case 22:k=fa(["w"],d);t=k[0];u=ga(a.g,a.b[t].$);f=ca(["s"],[u.Gd],a.ua,7);ba(a,h,r,f);a.ha(0,c);break;case 72:k=fa(["w","s","w","w"],d);t=k[0];d=k[1];e=k[2];f=k[3];d=na(a.g,d,a.b[t].$);u=ga(a.g,d);u.mode=e|oa;u.uid=a.b[t].uid;u.Za=f;ca(["Q"],[u.Xa],a.ua,7);ba(a,h,r,13);a.ha(0,c);break;case 14:k=fa(["w","s","w","w","w"],d);t=k[0];d=
|
||||
k[1];e=k[3];f=k[4];d=pa(a.g,d,a.b[t].$);a.b[t].$=d;a.b[t].type=1;u=ga(a.g,d);u.uid=a.b[t].uid;u.Za=f;u.mode=e;ca(["Q","w"],[u.Xa,a.m-24],a.ua,7);ba(a,h,r,17);a.ha(0,c);break;case 52:ca(["w"],[0],a.ua,7);ba(a,h,r,1);a.ha(0,c);break;case 24:k=fa(["w","d"],d);t=k[0];u=ga(a.g,a.b[t].$);k[0]|=4096;k[0]=k[1];k[1]=u.Xa;k[2]=u.mode;k[3]=u.uid;k[4]=u.Za;k[5]=1;k[6]=u.df<<8|u.ef;k[7]=u.size;k[8]=a.o;k[9]=Math.floor(u.size/512+1);k[10]=u.ld;k[11]=0;k[12]=u.zd;k[13]=0;k[14]=u.qe;k[15]=0;k[16]=0;k[17]=0;k[18]=
|
||||
0;k[19]=0;ca("dQwwwddddddddddddddd".split(""),k,a.ua,7);ba(a,h,r,153);a.ha(0,c);break;case 26:k=fa("wwwwwddddd".split(""),d);t=k[0];u=ga(a.g,a.b[t].$);k[1]&1&&(u.mode=k[2]);k[1]&2&&(u.uid=k[3]);k[1]&4&&(u.Za=k[4]);k[1]&128&&(u.ld=k[6]);k[1]&256&&(u.ld=k[8]);k[1]&16&&(u.ld=Math.floor((new Date).getTime()/1E3));k[1]&32&&(u.zd=Math.floor((new Date).getTime()/1E3));k[1]&64&&(u.qe=Math.floor((new Date).getTime()/1E3));k[1]&8&&qa(a.g,a.b[t].$,k[5]);ba(a,h,r,0);a.ha(0,c);break;case 50:k=fa(["w","d"],d);
|
||||
t=k[0];ba(a,h,r,0);a.ha(0,c);break;case 40:case 116:var k=fa(["w","d","w"],d),t=k[0],F=k[1],L=k[2],u=ga(a.g,a.b[t].$);if(2==a.b[t].type){u.Ga.length<F+L&&(L=u.Ga.length-F);for(e=0;e<L;e++)a.ua[11+e]=u.Ga[F+e];ca(["w"],[L],a.ua,7);ba(a,h,r,4+L);a.ha(0,c)}else{var ya=a.g.b[a.b[t].$];a.J.send("9p-read-start");ha(a.g,a.b[t].$);ia(a.g,a.b[t].$,function(){this.J.send("9p-read-end",[ya.name,L]);u.size<F+L&&(L=u.size-F);var a=this.g.g[this.b[t].$];if(a)for(var f=0;f<L;f++)this.ua[11+f]=a[F+f];ca(["w"],[L],
|
||||
this.ua,7);ba(this,h,r,4+L);this.ha(0,c)}.bind(a))}break;case 118:k=fa(["w","d","w"],d);t=k[0];F=k[1];L=k[2];ra(a.g,a.b[t].$,F,L,d);ya=a.g.b[a.b[t].$];a.J.send("9p-write-end",[ya.name,L]);ca(["w"],[L],a.ua,7);ba(a,h,r,4);a.ha(0,c);break;case 74:k=fa(["w","s","w","s"],d);d=sa(a.g,a.b[k[0]].$,k[1],a.b[k[2]].$,k[3]);if(0==d){da(a,r,2);a.ha(0,c);break}ba(a,h,r,0);a.ha(0,c);break;case 76:k=fa(["w","s","w"],d);e=k[0];d=k[1];t=ta(a.g,a.b[e].$,d);if(-1==t){da(a,r,2);a.ha(0,c);break}d=ua(a.g,t);if(!d){da(a,
|
||||
r,39);a.ha(0,c);break}ba(a,h,r,0);a.ha(0,c);break;case 100:d=fa(["w","s"],d);a.m=d[0];f=ca(["w","s"],[a.m,a.D],a.ua,7);ba(a,h,r,f);a.ha(0,c);break;case 104:k=fa(["w","w","s","s","w"],d);t=k[0];a.b[t]={$:0,type:1,uid:k[4]};u=ga(a.g,a.b[t].$);ca(["Q"],[u.Xa],a.ua,7);ba(a,h,r,13);a.ha(0,c);break;case 108:k=fa(["h"],d);ba(a,h,r,0);a.ha(0,c);break;case 110:k=fa(["w","w","h"],d);t=k[0];f=k[1];z=k[2];if(0==z){a.b[f]={$:a.b[t].$,type:1,uid:a.b[t].uid};ca(["h"],[0],a.ua,7);ba(a,h,r,2);a.ha(0,c);break}G=[];
|
||||
for(e=0;e<z;e++)G.push("s");G=fa(G,d);d=a.b[t].$;for(var F=9,Sa=0,e=0;e<z;e++){d=ta(a.g,d,G[e]);if(-1==d)break;F+=ca(["Q"],[a.g.b[d].Xa],a.ua,F);Sa++;a.b[f]={$:d,type:1,uid:a.b[t].uid}}ca(["h"],[Sa],a.ua,7);ba(a,h,r,F-7);a.ha(0,c);break;case 120:k=fa(["w"],d);a.b[k[0]]&&0<=a.b[k[0]].$&&(va(a.g,a.b[k[0]].$),a.b[k[0]].$=-1,a.b[k[0]].type=-1);ba(a,h,r,0);a.ha(0,c);break;case 32:k=fa(["w","s","d","w"],d);t=k[0];d=k[1];ba(a,h,r,0);a.ha(0,c);break;case 30:k=fa(["w","w","s"],d),t=k[0],e=k[1],d=k[2],a.b[e]=
|
||||
{$:a.b[t].$,type:-1,uid:a.b[t].uid},f=0,"security.capability"==d&&(f=wa(a.g,a.b[t].$),a.b[e].type=2),ca(["d"],[f],a.ua,7),ba(a,h,r,8),a.ha(0,c)}};"undefined"===typeof window||window.requestAnimationFrame||(window.requestAnimationFrame=window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame);
|
||||
function xa(a,c){function d(a){a=a.toString(16);return"#"+Array(7-a.length).join("0")+a}function e(){for(var a=0;a<Gc;a++)Cb[a]&&(Vb.g(a),Cb[a]=0);this.zb()}function f(){this.J.send("screen-fill-buffer");this.zb()}function h(a,c,f){a.style.webkitTransform=a.style.MozTransform=""+(1===c?"":" scaleX("+c+")")+(1===f?"":" scaleY("+f+")")}console.assert(a,"1st argument must be a DOM container");var r=a.getElementsByTagName("canvas")[0],k=r.getContext("2d"),t=r.nextElementSibling||r.previousElementSibling,
|
||||
u=document.createElement("div"),z,G,F,L,ya=1,Sa=1,Ra,Cb,ue=!1,eb,ob,Gc,Vb=this;a=new Uint16Array([199,252,233,226,228,224,229,231,234,235,232,239,238,236,196,197,201,230,198,244,246,242,251,249,255,214,220,162,163,165,8359,402,225,237,243,250,241,209,170,186,191,8976,172,189,188,161,171,187,9617,9618,9619,9474,9508,9569,9570,9558,9557,9571,9553,9559,9565,9564,9563,9488,9492,9524,9516,9500,9472,9532,9566,9567,9562,9556,9577,9574,9568,9552,9580,9575,9576,9572,9573,9561,9560,9554,9555,9579,9578,9496,
|
||||
9484,9608,9604,9612,9616,9600,945,223,915,960,931,963,181,964,934,920,937,948,8734,966,949,8745,8801,177,8805,8804,8992,8993,247,8776,176,8729,183,8730,8319,178,9632,160]);for(var Zf=new Uint16Array([32,9786,9787,9829,9830,9827,9824,8226,9688,9675,9689,9794,9792,9834,9835,9788,9658,9668,8597,8252,182,167,9644,8616,8593,8595,8594,8592,8735,8596,9650,9660]),Wb=[],Xb,Za=0;256>Za;Za++)Xb=127<Za?a[Za-128]:32>Za?Zf[Za]:Za,Wb[Za]=String.fromCharCode(Xb);k.imageSmoothingEnabled=!1;k.mozImageSmoothingEnabled=
|
||||
!1;u.style.position="absolute";u.style.backgroundColor="#ccc";u.style.width="7px";u.style.display="inline-block";t.style.display="block";r.style.display="none";this.J=c;c.register("screen-set-mode",function(a){this.dh(a)},this);c.register("screen-fill-buffer-end",function(a){this.kh(a[0],a[1])},this);c.register("screen-put-char",function(a){this.Xg(a[0],a[1],a[2],a[3],a[4])},this);c.register("screen-update-cursor",function(a){this.Kd(a[0],a[1])},this);c.register("screen-update-cursor-scanline",function(a){this.Ld(a[0],
|
||||
a[1])},this);c.register("screen-set-size-text",function(a){this.zc(a[0],a[1])},this);c.register("screen-set-size-graphical",function(a){this.Fd(a[0],a[1])},this);this.ob=function(){this.zc(80,25);this.zb()};this.m=function(){try{window.open(r.toDataURL())}catch(a){}};this.Xg=function(a,c,f,d,e){a<Gc&&c<ob&&(c=3*(a*ob+c),eb[c]=f,eb[c+1]=d,eb[c+2]=e,Cb[a]=1)};this.zb=function(){requestAnimationFrame(ue?f:e)};e=e.bind(this);f=f.bind(this);this.cb=function(){};this.dh=function(a){(ue=a)?(t.style.display=
|
||||
"none",r.style.display="block"):(t.style.display="block",r.style.display="none")};this.zc=function(a,c){if(a!==ob||c!==Gc){Cb=new Int8Array(c);eb=new Int32Array(a*c*3);ob=a;for(Gc=c;t.childNodes.length>c;)t.removeChild(t.firstChild);for(;t.childNodes.length<c;)t.appendChild(document.createElement("div"));for(a=0;a<c;a++)this.g(a)}};this.Fd=function(a,c){r.style.display="block";r.width=a;r.height=c;z=k.createImageData(a,c);new Uint8Array(z.data.buffer);G=new Int32Array(z.data.buffer);Ra=a;this.J.send("screen-tell-buffer",
|
||||
[G],[G.buffer])};this.b=function(a,c){ya=a;Sa=c;h(r,ya,Sa);h(t,ya,Sa)};this.b(ya,Sa);this.Ld=function(a,c){a&32?u.style.display="none":(u.style.display="inline",u.style.height=Math.min(15,c-a)+"px",u.style.marginTop=Math.min(15,a)+"px")};this.Kd=function(a,c){if(a!==F||c!==L)Cb[a]=1,Cb[F]=1,F=a,L=c};this.g=function(a){var c=3*a*ob,f,e,h,r,k,ya;f=t.childNodes[a];for(h=document.createDocumentFragment();f.firstChild;)f.removeChild(f.firstChild);for(var z=0;z<ob;){e=document.createElement("span");r=eb[c+
|
||||
1];k=eb[c+2];e.style.backgroundColor=d(r);e.style.color=d(k);for(ya="";z<ob&&eb[c+1]===r&&eb[c+2]===k;)if(ya+=Wb[eb[c]],z++,c+=3,a===F)if(z===L)break;else if(z===L+1){h.appendChild(u);break}e.textContent=ya;h.appendChild(e)}f.appendChild(h)};this.kh=function(a,c){c<a||(a=a/Ra|0,k.putImageData(z,0,0,0,a,Ra,(c/Ra|0)-a+1))};this.ob()};(function(){function a(a,f){a instanceof Array||(a=[a]);c(new Blob(a),f)}function c(a,c){var f=document.createElement("a");f.download=c;f.href=window.URL.createObjectURL(a);f.dataset.downloadurl=["application/octet-stream",f.download,f.href].join(":");document.createEvent?(a=document.createEvent("MouseEvent"),a.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),f.dispatchEvent(a)):f.click()}function d(){for(var a=location.search.substr(1).split("&"),c={},f=0;f<a.length;f++){var d=a[f].split("=");
|
||||
c[d[0]]=decodeURIComponent(d[1])}return c}function e(a,c){for(var f="";0<c--;)f+=a;return f}function f(a){return document.getElementById(a)}function h(){function a(d){f("boot_options").style.display="none";document.title=d.name+" - Virtual x86";e.filesystem=d.filesystem;d.state&&(f("reset").style.display="none",e.Qc=d.state);e.Oa=d.Oa;e.Ka=d.Ka;e.Ma=d.Ma;e.bb=d.bb;e.Ca=d.Ca;e.id=d.id;void 0!==d.Ic&&(e.Ic=d.Ic);r(e,c)}function c(a){k.c&&setTimeout(function(){a.af(k.c+"\n")},25)}if("responseType"in
|
||||
new XMLHttpRequest){var e={};f("start_emulation").onclick=function(){f("boot_options").style.display="none";z("custom");var a,c=f("floppy_image").files[0];c&&(a=c,e.Oa={buffer:c});if(c=f("cd_image").files[0])a=c,e.Ka={buffer:c};if(c=f("hd_image").files[0])a=c,e.Ma={buffer:c};a&&(document.title=a.name+" - Virtual x86");r(e)};var h=[{id:"archlinux",state:{url:F+"images/v86state.bin",size:142924774},name:"Arch Linux",bb:134217728,Ca:8388608,Ma:{url:F+"images/arch3.img",size:17179869184,async:!0},filesystem:{basefs:{url:F+
|
||||
"images/fs.json",size:7510249},baseurl:F+"arch/"}},{id:"freedos",Oa:{url:F+"images/freedos722.img",size:737280},name:"FreeDOS"},{id:"oberon",Oa:{url:F+"images/oberon-boot.dsk",size:1474560},Ma:{url:F+"images/oberon.dsk",size:41943040},name:"Oberon"},{id:"windows1",Oa:{url:F+"images/windows101.img",size:1474560},name:"Windows"},{id:"linux26",Ka:{url:F+"images/linux.iso",size:5666816},name:"Linux"},{id:"linux3",Ka:{url:F+"images/linux3.iso",size:10000384},name:"Linux",filesystem:{}},{id:"kolibrios",
|
||||
Oa:{url:G?"images/kolibri.img":"http://builds.kolibrios.org/eng/data/data/kolibri.img",size:1474560},name:"KolibriOS"},{id:"kolibrios-fallback",Oa:{url:"images/kolibri.img",size:1474560},name:"KolibriOS"},{id:"openbsd",Oa:{url:F+"images/openbsd.img",size:1474560},name:"OpenBSD"},{id:"solos",Oa:{url:F+"images/os8.dsk",size:1474560},name:"Sol OS"},{id:"dexos",Ka:{url:F+"images/DexOSv6.iso",size:1837056},name:"DexOS"},{id:"bootchess",Oa:{url:F+"images/bootchess.img"},name:"Bootchess"},{id:"windows98",
|
||||
bb:67108864,Ma:{url:F+"images/windows98.img",async:!0,size:314572800},name:"Windows 98",Ic:306,state:{url:F+"images/windows98_state.bin",size:7576E4}}],k=d(),t=k.profile;k.use_bochs_bios&&(e.lh=!0);for(var u=0;u<h.length;u++){var L=h[u];if(t===L.id){a(L);return}var Vb=f("start_"+L.id);Vb&&(Vb.onclick=function(c,f){z(c.id);f.blur();a(c)}.bind(this,L,Vb))}"custom"===t&&(k["hda.url"]&&(e.Ma={size:parseInt(k["hda.size"],10)||void 0,url:k["hda.url"],async:!0}),k["cdrom.url"]&&(e.Ka={size:parseInt(k["cdrom.size"],
|
||||
10)||void 0,url:k["cdrom.url"],async:!0}),k["fda.url"]&&(e.Oa={size:parseInt(k["fda.size"],10)||void 0,url:k["fda.url"],async:!0}),e.Oa||e.Ka||e.Ma)&&(f("boot_options").style.display="none",r(e,c))}else alert("Your browser is not supported because it doesn't have XMLHttpRequest.responseType")}function r(a,c){var d=a.bb;!d&&(d=1048576*parseInt(f("memory_size").value,10),16777216>d||2147483648<=d)&&(alert("Invalid memory size - ignored."),d=33554432);var h=a.Ca;!h&&(h=1048576*parseInt(f("video_memory_size").value,
|
||||
10),65536>=h||2147483648<=h)&&(alert("Invalid video memory size - ignored."),h=8388608);if(a.lh)var r="bochs-bios.bin",t="bochs-vgabios.bin";else r="seabios.bin",t="vgabios.bin";var u,z;a.Qc||(u={url:"bios/"+r},z={url:"bios/"+t});var F=new n({memory_size:d,vga_memory_size:h,screen_container:f("screen_container"),serial_container:f("serial"),boot_order:a.Ic||parseInt(f("boot_order").value,16)||0,network_relay_url:"ws://relay.widgetry.org/",bios:u,vga_bios:z,fda:a.Oa,hda:a.Ma,cdrom:a.Ka,initial_state:a.Qc,
|
||||
filesystem:a.filesystem||{},autostart:!0});F.Sa("emulator-ready",function(){k(a,F);c&&c(F)});F.Sa("download-progress",function(a){var c=f("loading");c.style.display="block";if(a.xe===a.we-1&&a.loaded>=a.total-2048)c.textContent="Done downloading. Starting now ...";else{var d="Downloading images ";"number"===typeof a.xe&&a.we&&(d+="["+(a.xe+1)+"/"+a.we+"] ");if(a.total&&"number"===typeof a.loaded){a=Math.floor(a.loaded/a.total*100);a=Math.min(100,Math.max(0,a));var h=Math.floor(a/2),d=d+(a+"% [")+
|
||||
e("#",h),d=d+(e(" ",50-h)+"]")}else d+=e(".",L++%50);c.textContent=d}})}function k(d,e){function h(){var a=Date.now(),c=e.b?e.b.s.V:0,d=c-F;F=c;var r=a-z;L+=r;z=a;f("speed").textContent=d/r|0;f("avg_speed").textContent=c/L|0;a=f("running_time");c=L/1E3|0;a.textContent=60>c?c+"s":3600>c?(c/60|0)+"m "+za(c%60,2)+"s":(c/3600|0)+"h "+za((c/60|0)%60,2)+"m "+za(c%60,2)+"s"}function r(h,k){var t=f("get_"+k+"_image");!h||104857600<h.size?t.style.display="none":t.onclick=function(){var f=e.Kc[k],h=d.id+("cdrom"===
|
||||
k?".iso":".img");f.Ye?(f=f.Ye(h),c(f,h)):f.sd(function(c){c?a(c,h):alert("The file could not be loaded. Maybe it's too big?")});t.blur()}}function k(a){a.ctrlKey?window.onbeforeunload=function(){window.onbeforeunload=null;return"CTRL-W cannot be sent to the emulator."}:window.onbeforeunload=null}f("boot_options").style.display="none";f("loading").style.display="none";f("runtime_options").style.display="block";f("runtime_infos").style.display="block";document.getElementsByClassName("phone_keyboard")[0].style.display=
|
||||
"block";d.filesystem&&t(e);f("run").onclick=function(){e.Be()?(f("run").value="Run",e.Qd()):(f("run").value="Pause",e.je());f("run").blur()};f("exit").onclick=function(){e.Qd();location.href=location.pathname};f("lock_mouse").onclick=function(){if(!u)f("toggle_mouse").onclick();e.Xd();f("lock_mouse").blur()};var u=!0;f("toggle_mouse").onclick=function(){u=!u;e.ff(u);f("toggle_mouse").value=(u?"Dis":"En")+"able mouse";f("toggle_mouse").blur()};var z=0,L=0,F=0,G,Wb=!1;e.Sa("emulator-started",function(){z=
|
||||
Date.now();G=setInterval(h,1E3)});e.Sa("emulator-stopped",function(){h();clearInterval(G)});var Xb=0,Za=0;e.Sa("9p-read-start",function(){f("info_filesystem").style.display="block";f("info_filesystem_status").textContent="Loading ..."});e.Sa("9p-read-end",function(a){Xb+=a[1];f("info_filesystem_status").textContent="Idle";f("info_filesystem_last_file").textContent=a[0];f("info_filesystem_bytes_read").textContent=Xb});e.Sa("9p-write-end",function(a){Za+=a[1];f("info_filesystem_last_file").textContent=
|
||||
a[0];f("info_filesystem_bytes_written").textContent=Za});var re=0,se=0,te=0,ve=0;e.Sa("ide-read-start",function(){f("info_storage").style.display="block";f("info_storage_status").textContent="Loading ..."});e.Sa("ide-read-end",function(a){re+=a[1];se+=a[2];f("info_storage_status").textContent="Idle";f("info_storage_bytes_read").textContent=re;f("info_storage_sectors_read").textContent=se});e.Sa("ide-write-end",function(a){te+=a[1];ve+=a[2];f("info_storage_bytes_written").textContent=te;f("info_storage_sectors_written").textContent=
|
||||
ve});var we=0,xe=0;e.Sa("eth-receive-end",function(a){xe+=a[0];f("info_network").style.display="block";f("info_network_bytes_received").textContent=xe});e.Sa("eth-transmit-end",function(a){we+=a[0];f("info_network").style.display="block";f("info_network_bytes_transmitted").textContent=we});e.Sa("mouse-enable",function(a){Wb=a;f("info_mouse_enabled").textContent=a?"Yes":"No"});e.Sa("screen-set-mode",function(a){a?f("info_vga_mode").textContent="Graphical":(f("info_vga_mode").textContent="Text",f("info_res").textContent=
|
||||
"-",f("info_bpp").textContent="-")});e.Sa("screen-set-size-graphical",function(a){f("info_res").textContent=a[0]+"x"+a[1];f("info_bpp").textContent=a[2]});f("reset").onclick=function(){e.He();f("reset").blur()};r(d.Ma,"hda");r(d.Vd,"hdb");r(d.Oa,"fda");r(d.Se,"fdb");r(d.Ka,"cdrom");f("memory_dump").onclick=function(){a(e.b.s.memory.fa,"v86memory.bin");f("memory_dump").blur()};f("save_state").onclick=function(){e.Je(function(c,f){c?(console.log(c.stack),console.log("Couldn't save state: ",c)):a(f,
|
||||
"v86state.bin")});f("save_state").blur()};f("load_state").onclick=function(){f("load_state_input").click();f("load_state").blur()};f("load_state_input").onchange=function(){var a=this.files[0];if(a){var c=e.Be();c&&e.Qd();var f=new FileReader;f.onload=function(a){try{e.Ie(a.target.result)}catch(f){throw alert("Something bad happened while restoring the state:\n"+f+"\n\nNote that the current configuration must be the same as the original"),f;}c&&e.je()};f.readAsArrayBuffer(a);this.value=""}};f("ctrlaltdel").onclick=
|
||||
function(){e.Wd([29,56,83,157,184,211]);f("ctrlaltdel").blur()};f("alttab").onclick=function(){e.Wd([56,15]);setTimeout(function(){e.Wd([184,143])},100);f("alttab").blur()};f("scale").onchange=function(){var a=parseFloat(this.value);(a||0<a)&&e.wf(a,a)};f("fullscreen").onclick=function(){e.uf()};f("screen_container").onclick=function(){u&&Wb?(e.Xd(),f("lock_mouse").blur()):window.getSelection().isCollapsed&&document.getElementsByClassName("phone_keyboard")[0].focus()};f("take_screenshot").onclick=
|
||||
function(){e.vf();f("take_screenshot").blur()};f("serial").style.display="block";window.addEventListener("keydown",k,!1);window.addEventListener("keyup",k,!1);window.addEventListener("blur",k,!1)}function t(c){f("filesystem_panel").style.display="block";f("filesystem_send_file").onchange=function(){Array.prototype.forEach.call(this.files,function(a){var f=new Aa(a);f.onload=function(){f.sd(function(f){c.Me("/"+a.name,new Uint8Array(f))})};f.load()},this);this.value="";this.blur()};f("filesystem_get_file").onkeypress=
|
||||
function(f){13===f.which&&(this.disabled=!0,c.rf(this.value,function(c,f){this.disabled=!1;f?(c=this.value.replace(/\/$/,"").split("/"),c=c[c.length-1]||"root",a(f,c),this.value=""):alert("Can't read file")}.bind(this)))}}function u(){location.reload()}function z(a){window.history.pushState&&window.history.pushState({profile:a},"","?profile="+a)}var G=-1===location.host.indexOf("."),F=G?"":"//i.copy.sh/",L=0;window.addEventListener("load",h,!1);window.addEventListener("load",function(){setTimeout(function(){window.addEventListener("popstate",
|
||||
u)},0)});"complete"===document.readyState&&h()})();function Ba(a){this.ports=[];this.H=Array(65536);this.memory=a;for(var c=0;65536>c;c++)this.ports[c]={da:this.Wf,ma:this.Uf,qf:this.Vf,sa:this.te,ad:this.te,Cc:this.te,U:void 0};for(var d=a.size,c=0;c<<17<d;c++)a.g[c]=a.m[c]=void 0,a.o[c]=a.v[c]=void 0;Ca(this,d,4294967296-d,function(){return 255},function(){},function(){return-1},function(){})}l=Ba.prototype;l.Wf=function(){return 255};l.Uf=function(){return 65535};l.Vf=function(){return-1};l.te=function(){};
|
||||
function p(a,c,d,e,f,h){e&&(a.ports[c].da=e);f&&(a.ports[c].ma=f);h&&(a.ports[c].qf=h);a.ports[c].U=d}function q(a,c,d,e,f,h){e&&(a.ports[c].sa=e);f&&(a.ports[c].ad=f);h&&(a.ports[c].Cc=h);a.ports[c].U=d}
|
||||
l.tf=function(a,c,d,e,f,h){function r(){return d.call(this)|e.call(this)<<8}function k(){return f.call(this)|h.call(this)<<8}function t(){return d.call(this)|e.call(this)<<8|f.call(this)<<16|h.call(this)<<24}f&&h?(p(this,a,c,d,r,t),p(this,a+1,c,e),p(this,a+2,c,f,k),p(this,a+3,c,h)):(p(this,a,c,d,r),p(this,a+1,c,e))};
|
||||
l.Dd=function(a,c,d,e,f,h){function r(a){d.call(this,a&255);e.call(this,a>>8&255)}function k(a){f.call(this,a&255);h.call(this,a>>8&255)}function t(a){d.call(this,a&255);e.call(this,a>>8&255);f.call(this,a>>16&255);h.call(this,a>>>24)}f&&h?(q(this,a,c,d,r,t),q(this,a+1,c,e),q(this,a+2,c,f,k),q(this,a+3,c,h)):(q(this,a,c,d,r),q(this,a+1,c,e))};function Da(a,c,d){c>>>=0;d=c+(d>>>0);if(d>=a.memory.size)return!0;for(c&=-131072;c<d;){if(a.memory.b[c>>17])return!0;c+=131072}return!1}
|
||||
l.hg=function(a){var c=this.memory.g[a>>>17];return c(a)|c(a+1)<<8|c(a+2)<<16|c(a+3)<<24};l.ig=function(a,c){var d=this.memory.m[a>>>17];d(a,c&255);d(a+1,c>>8&255);d(a+2,c>>16&255);d(a+3,c>>>24)};function Ca(a,c,d,e,f,h,r){h||(h=a.hg.bind(a));r||(r=a.ig.bind(a));for(c>>>=17;0<d;c++)a.memory.b[c]=1,a.memory.g[c]=e,a.memory.m[c]=f,a.memory.o[c]=h,a.memory.v[c]=r,d-=131072}function Ea(a,c,d){a=a.ports[c];a.sa.call(a.U,d)}function Fa(a,c,d){a=a.ports[c];a.ad.call(a.U,d)}
|
||||
function Ga(a,c,d){a=a.ports[c];a.Cc.call(a.U,d)}function Ha(a,c){a=a.ports[c];return a.da.call(a.U)}function Ia(a,c){a=a.ports[c];return a.ma.call(a.U)}function Ja(a,c){a=a.ports[c];return a.qf.call(a.U)};function Ka(a){this.o=!0;this.m=this.g=!1;this.s=new v;this.J=a;a.register("cpu-init",this.ob,this);a.register("cpu-run",this.K,this);a.register("cpu-stop",this.L,this);a.register("cpu-restart",this.D,this);this.b=function(){console.assert(!1)};this.v=function(){console.assert(!1)}}Ka.prototype.K=function(){this.g||(this.J.send("emulator-started"),this.b())};
|
||||
function La(a){if(a.m)a.m=a.g=!1,a.J.send("emulator-stopped");else{a.g=!0;var c;a:{var d=a.s;try{if(d.Pc){c=d.ba();break a}d.W()}catch(e){d.ue(e)}c=0}0>=c?a.b():a.v(c)}}Ka.prototype.L=function(){this.g&&(this.m=!0)};Ka.prototype.D=function(){this.s.reset();Ma(this.s)};Ka.prototype.ob=function(a){this.o&&(this.o=!1,Na(this));this.s.ob(a,this.J);this.J.send("emulator-ready")};
|
||||
function Na(a){"undefined"!==typeof setImmediate?a.b=function(){setImmediate(function(){La(a)})}:"undefined"!==typeof window&&"undefined"!==typeof postMessage?(window.addEventListener("message",function(c){c.source===window&&43605===c.data&&La(a)},!1),a.b=function(){window.postMessage(43605,"*")}):a.b=function(){setTimeout(function(){La(a)},0)};a.v="undefined"!==typeof document&&"boolean"===typeof document.hidden?function(c){4>c||document.hidden?this.b():setTimeout(function(){La(a)},c)}:function(c){setTimeout(function(){La(a)},
|
||||
c)}}var Oa="object"===typeof performance&&performance.now?function(){return performance.now()}:Date.now;if("undefined"!==typeof window&&window.crypto&&window.crypto.getRandomValues)var Pa=new Int32Array(1),Qa=function(){return!0},Ta=function(){window.crypto.getRandomValues(Pa);return Pa[0]};else Qa=function(){return!1},Ta=function(){console.assert(!1)};var Aa,Ua,Va,Wa,Xa,Ya;function za(a,c){for(a=a?a+"":"";a.length<c;)a="0"+a;return a}function $a(a){return"0x"+za((a?a.toString(16):"").toUpperCase(),1)}function ab(a){this.buffer=a;this.byteLength=a.byteLength;this.onload=void 0}ab.prototype.load=function(){this.onload&&this.onload({buffer:this.buffer})};ab.prototype.get=function(a,c,d){d(new Uint8Array(this.buffer,a,c))};ab.prototype.set=function(a,c,d){(new Uint8Array(this.buffer,a,c.byteLength)).set(c);d()};ab.prototype.sd=function(a){a(this.buffer)};
|
||||
(function(){for(var a=new Int8Array(256),c=0,d=-2;256>c;c++)c&c-1||d++,a[c]=d;Ua=function(c){return a[c]};Va=function(c){var f=c>>>16;if(f){var d=f>>>8;return d?24+a[d]:16+a[f]}return(d=c>>>8)?8+a[d]:a[c]}})();function bb(a){var c=new Uint8Array(a),d,e;this.length=0;this.push=function(f){this.length!==a&&this.length++;c[e]=f;e=e+1&a-1};this.shift=function(){if(this.length){var f=c[d];d=d+1&a-1;this.length--;return f}return-1};this.clear=function(){this.length=e=d=0};this.clear()};function cb(a){this.s=a;this.g=new Float64Array(8);this.N=new Float32Array(1);new Uint8Array(this.N.buffer);this.Fa=new Int32Array(this.N.buffer);this.L=new Float64Array(1);this.v=new Uint8Array(this.L.buffer);this.D=new Int32Array(this.L.buffer);this.tb=new Uint8Array(this.g.buffer);new Int32Array(this.g.buffer);this.o=255;this.b=0;this.K=895;this.aa=this.W=this.ja=this.wa=this.ba=this.m=0;this.Ja=NaN;this.sb=new Float64Array([1,Math.log(10)/Math.LN2,Math.LOG2E,Math.PI,Math.log(2)/Math.LN10,Math.LN2,
|
||||
0])}l=cb.prototype;l.La=function(){var a=[];a[0]=this.g;a[1]=this.o;a[2]=this.b;a[3]=this.K;a[4]=this.aa;a[5]=this.ba;a[6]=this.wa;a[7]=this.W;a[8]=this.aa;a[9]=this.ja;return a};l.Ra=function(a){this.g.set(a[0]);this.o=a[1];this.b=a[2];this.K=a[3];this.ba=a[5];this.wa=a[6];this.W=a[7];this.aa=a[8];this.ja=a[9]};function db(a){w(a.s)}function fb(a){a.m|=1}function gb(a,c){var d=hb(a);a.m&=-18177;d>c||(a.m=c>d?a.m|256:d===c?a.m|16384:a.m|17664)}
|
||||
function ib(a,c){var d=a.g[a.b];a.s.u&=-70;a.s.h&=-70;d>c||(a.s.h=c>d?a.s.h|1:d===c?a.s.h|64:a.s.h|69)}function jb(a){a.K=895;a.m=0;a.ba=0;a.W=0;a.ja=0;a.o=255;a.b=0}function kb(a,c){if(a.s.Da){lb(a.s,c,26);mb(a.s,c,a.K);mb(a.s,c+4,a.m&-14337|a.b<<11);for(var d=0,e,f=0;8>f;f++)e=a.g[f],a.o>>f&1?d|=3<<(f<<1):e?isFinite(e)||(d|=2<<(f<<1)):d|=1<<(f<<1);mb(a.s,c+8,d);x(a.s,c+12,a.ba);mb(a.s,c+16,a.wa);mb(a.s,c+18,a.ja);x(a.s,c+20,a.W);mb(a.s,c+24,a.aa)}else db(a)}
|
||||
function nb(a,c){if(a.s.Da){a.K=y(a.s,c);var d=y(a.s,c+4);a.m=d&-14337;a.b=d>>11&7;for(var d=y(a.s,c+8),e=a.o=0;8>e;e++)a.o|=d>>e&d>>e+1&1<<e;a.ba=A(a.s,c+12);a.wa=y(a.s,c+16);a.ja=y(a.s,c+18);a.W=A(a.s,c+20);a.aa=y(a.s,c+24)}else db(a)}function pb(a,c){if(a=a.K>>10&3)return 1===a||3===a&&0<c?Math.floor(c):Math.ceil(c);a=Math.round(c);.5===a-c&&a%2&&a--;return a}function qb(a){return 0<a?Math.floor(a):Math.ceil(a)}
|
||||
l.push=function(a){this.b=this.b-1&7;this.o>>this.b&1?(this.m&=-513,this.o&=~(1<<this.b),this.g[this.b]=a):(this.m|=512,this.m|=65,this.g[this.b]=this.Ja)};l.pop=function(){this.o|=1<<this.b;this.b=this.b+1&7};function rb(a,c){c=c+a.b&7;return a.o>>c&1?(a.m&=-513,a.m|=65,a.Ja):a.g[c]}function hb(a){return a.o>>a.b&1?(a.m&=-513,a.m|=65,a.Ja):a.g[a.b]}
|
||||
function sb(a,c){var d=y(a.s,c+8),e=A(a.s,c)>>>0,f=A(a.s,c+4)>>>0;c=d>>15;d&=-32769;if(0===d)return 0;if(!(32767>d))return a.v[7]=127|c<<7,a.v[6]=240|f>>30<<3&8,a.v[5]=0,a.v[4]=0,a.D[0]=0,a.L[0];a=e+4294967296*f;c&&(a=-a);return a*Math.pow(2,d-16383-63)}
|
||||
function tb(a,c,d){a.L[0]=a.g[a.b+d&7];d=a.v[7]&128;var e=(a.v[7]&127)<<4|a.v[6]>>4,f,h;2047===e?(e=32767,f=0,h=2147483648|(a.D[1]&524288)<<11):e?(e+=15360,f=a.D[0]<<11,h=2147483648|(a.D[1]&1048575)<<11|a.D[0]>>>21):h=f=0;x(a.s,c,f);x(a.s,c+4,h);mb(a.s,c+8,d<<8|e)}function ub(a,c){var d=A(a.s,c);c=A(a.s,c+4);a.D[0]=d;a.D[1]=c;return a.L[0]}function vb(a,c){lb(a.s,c,8);a.L[0]=rb(a,0);x(a.s,c,a.D[0]);x(a.s,c+4,a.D[1])}function wb(a,c){a.Fa[0]=A(a.s,c);return a.N[0]}
|
||||
l.sign=function(a){return this.tb[(this.b+a&7)<<3|7]>>7};function xb(a,c,d,e,f){this.pa=new yb(this,a,c,d,e,0,f);this.na=new yb(this,a,void 0,!1,e,0,f);this.za=this.pa;this.s=a;e?1===e&&(this.b=368,this.Ha=15,this.Tb=248):(this.b=496,this.Ha=14,this.Tb=240);this.m=this.b|516;this.g=46080;this.Uc=[134,128,32,58,5,0,160,2,0,143,1,1,0,0,0,0,this.b&255|1,this.b>>8,0,0,this.m&255|1,this.m>>8,0,0,0,0,0,0,0,0,0,0,this.g&255|1,this.g>>8,0,0,0,0,0,0,0,0,0,0,67,16,212,130,0,0,0,0,0,0,0,0,0,0,0,0,this.Ha,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.dc=[{size:8},{size:4},!1,!1,{size:16}];this.name="ide"+e;zb(a.H.Tc,this);this.o=2;p(a.A,this.b|7,this,function(){Ab(this.s,this.Ha);return this.sf()});p(a.A,this.m|2,this,this.sf);q(a.A,this.m|2,this,this.nh);p(a.A,this.b|0,this,function(){return Bb(this.za)},function(){return Bb(this.za)|Bb(this.za)<<8},function(){return Bb(this.za)|Bb(this.za)<<8|Bb(this.za)<<
|
||||
16|Bb(this.za)<<24});p(a.A,this.b|1,this,function(){return this.za.error});p(a.A,this.b|2,this,function(){return this.za.ta&255});p(a.A,this.b|3,this,function(){return this.za.nb&255});p(a.A,this.b|4,this,function(){return this.za.ia&255});p(a.A,this.b|5,this,function(){return this.za.Aa&255});p(a.A,this.b|6,this,function(){return this.za.Mc});q(a.A,this.b|0,this,function(a){Db(this.za,a)},function(a){var c=this.za;Db(c,a&255);Db(c,a>>8&255)},function(a){var c=this.za;Db(c,a&255);Db(c,a>>8&255);Db(c,
|
||||
a>>16&255);Db(c,a>>24&255)});q(a.A,this.b|1,this,function(a){this.pa.qc=(this.pa.qc<<8|a)&65535;this.na.qc=(this.na.qc<<8|a)&65535});q(a.A,this.b|2,this,function(a){this.pa.ta=(this.pa.ta<<8|a)&65535;this.na.ta=(this.na.ta<<8|a)&65535});q(a.A,this.b|3,this,function(a){this.pa.nb=(this.pa.nb<<8|a)&65535;this.na.nb=(this.na.nb<<8|a)&65535});q(a.A,this.b|4,this,function(a){this.pa.ia=(this.pa.ia<<8|a)&65535;this.na.ia=(this.na.ia<<8|a)&65535});q(a.A,this.b|5,this,function(a){this.pa.Aa=(this.pa.Aa<<
|
||||
8|a)&65535;this.na.Aa=(this.na.Aa<<8|a)&65535});q(a.A,this.b|6,this,function(a){this.za=a&16?this.na:this.pa;this.pa.Mc=a;this.na.Mc=a;this.pa.Rc=this.na.Rc=a>>6&1;this.pa.head=this.na.head=a&15});this.oa=this.wc=0;q(a.A,this.b|7,this,function(a){var c=this.za;if(c.buffer)switch(c.error=0,a){case 0:c.Y();c.status=80;break;case 8:c.D=0;Eb(c,0);Fb(c);c.Y();break;case 16:c.Y();break;case 248:case 39:c.Y();Gb(c,new Uint8Array([0,0,0,0,c.buffer.byteLength&255,c.buffer.byteLength>>8&255,c.buffer.byteLength>>
|
||||
16&255,c.buffer.byteLength>>24&255,0,0,0,0]));c.status=88;break;case 32:case 36:case 41:case 196:Hb(c,a);break;case 48:case 52:case 57:case 197:a:{if(48===a||197===a){a=c.ta&255;var f=c.Rc?Ib(c):Jb(c);a||(a=256)}else if(52===a||57===a)a=c.ta,f=Kb(c),a||(a=65536);else break a;var d=a*c.o,f=f*c.o;c.ia+=a;f+d>c.buffer.byteLength?c.status=255:(c.status=88,Lb(c,d),c.Fa=f,c.ja=1);c.Y()}break;case 144:c.Y();c.error=257;c.status=80;break;case 145:c.Y();break;case 160:c.ba&&(c.status=88,Lb(c,12),c.ja=2,c.ta=
|
||||
1,c.Y());break;case 161:c.ba?(Mb(c),c.status=88,c.ia=20,c.Aa=235):c.status=80;c.Y();break;case 198:c.wa=c.ta;c.Y();break;case 200:Nb(c);break;case 64:c.Y();c.status=80;c.Y();break;case 202:Ob(c);break;case 218:c.status=65;c.error=4;break;case 225:c.Y();break;case 236:if(c.ba){c.status=65;c.error=4;c.Y();break}Mb(c);c.status=88;c.Y();break;case 234:c.Y();break;case 239:c.Y();break;case 245:c.status=80;c.Y();break;default:c.status=65,c.error=4}});p(a.A,this.g|4,this,void 0,void 0,this.Nf);q(a.A,this.g|
|
||||
4,this,void 0,void 0,this.Rf);p(a.A,this.g,this,this.Pf,void 0,this.Of);q(a.A,this.g,this,this.Tf,void 0,this.Sf);p(a.A,this.g|2,this,this.Qf);q(a.A,this.g|2,this,this.Qe);p(a.A,this.g|8,this,function(){return 0});p(a.A,this.g|10,this,function(){return 0})}l=xb.prototype;l.sf=function(){return this.za.buffer?this.za.status:0};l.nh=function(a){this.o=a;a&4&&(Fb(this.pa),Fb(this.na))};l.Nf=function(){return this.wc};l.Rf=function(a){this.wc=a};l.Qf=function(){return this.oa};
|
||||
l.Qe=function(a){this.oa&=~a};l.Of=function(){return 1|this.oa<<16};l.Pf=function(){return 1};l.Sf=function(a){a&1&&this.Y();this.Qe(a>>16&255)};l.Tf=function(a){a&1&&this.Y()};l.Y=function(){this.o&2||this.s.v(this.Ha)};l.La=function(){var a=[];a[0]=this.pa;a[1]=this.na;a[2]=this.b;a[3]=this.Ha;a[4]=this.Tb;a[5]=this.m;a[6]=this.g;a[7]=this.name;a[8]=this.o;a[9]=this.wc;a[10]=this.oa;a[11]=this.za===this.pa;return a};
|
||||
l.Ra=function(a){this.pa=a[0];this.na=a[1];this.b=a[2];this.Ha=a[3];this.Tb=a[4];this.m=a[5];this.g=a[6];this.name=a[7];this.o=a[8];this.wc=a[9];this.oa=a[10];this.za=a[11]?this.pa:this.na};
|
||||
function yb(a,c,d,e,f,h,r){this.U=a;this.J=r;this.Ja=f;this.s=c;this.memory=c.memory;this.buffer=d;this.o=e?2048:512;this.ba=e;this.v=this.K=this.L=this.g=0;this.buffer&&(this.g=this.buffer.byteLength/this.o,this.g!==(this.g|0)&&(this.g=Math.ceil(this.g)),e?(this.L=1,this.K=0):(this.L=16,this.K=63),this.v=this.g/this.L/this.K,this.v!==(this.v|0)&&(this.v=Math.floor(this.v)),a=c.H.fc,a.ea[57]|=1<<4*this.Ja,a.ea[18]=a.ea[18]&15|240,a.ea[27]=this.v&255,a.ea[28]=this.v>>8&255,a.ea[29]=this.L&255,a.ea[30]=
|
||||
255,a.ea[31]=255,a.ea[32]=200,a.ea[33]=this.v&255,a.ea[34]=this.v>>8&255,a.ea[35]=this.K&255);this.Ia={xf:0,yf:0,Ke:0,Le:0,bf:!1};this.buffer=d;this.Mc=this.head=this.Aa=this.ia=this.qc=this.nb=this.ta=this.Rc=0;this.status=80;this.wa=1;this.D=this.error=0;this.m=new Uint8Array(65536);this.aa=this.W=this.Fa=0;this.b=new Uint8Array(4096);this.ja=0}function Fb(a){a.ba?(a.status=0,a.ta=1,a.error=1,a.nb=1,a.ia=20,a.Aa=235):(a.status=81,a.ta=1,a.error=1,a.nb=1,a.ia=0,a.Aa=0)}yb.prototype.Y=function(){this.U.Y()};
|
||||
function Pb(a){var c=a.N,d=a.Aa<<8&65280|a.ia&255;d||(d=32768);c=Math.min(c,d);c&=-2;a.ia=c;a.Aa=c>>8}function Qb(a){a.status=80;a.buffer.set(a.Fa,a.b.subarray(0,a.W),function(){this.Y()}.bind(a));Rb(a,a.W)}function Lb(a,c){c>a.b.length&&(a.b=new Uint8Array(c));a.W=c;a.aa=0}
|
||||
function Sb(a,c){var d=(c[7]<<8|c[8])*a.o;c=(c[2]<<24|c[3]<<16|c[4]<<8|c[5])*a.o;Tb(a,0);a.ia=a.Aa=0;c>=a.buffer.byteLength?(a.status=255,a.Y()):d?(d=Math.min(d,a.buffer.byteLength-c),a.status=208,Ub(a),a.buffer.get(c,d,function(a){Gb(this,a);this.status=88;this.ta|=2;this.D=0;this.Y();Pb(this);Yb(this,d)}.bind(a))):(a.status=80,a.D=0)}
|
||||
function Zb(a,c){var d=(c[7]<<8|c[8])*a.o;c=(c[2]<<24|c[3]<<16|c[4]<<8|c[5])*a.o;Tb(a,d);c>=a.buffer.byteLength?(a.status=255,a.Y()):(d=Math.min(d,a.buffer.byteLength-c),a.status=128,Ub(a),a.buffer.get(c,d,function(a){var c=this.U.wc,h=0;do{var r=$b(this.memory,c),k=this.memory.ma(c+4),t=this.memory.da(c+7)&128;k||(k=65536);this.memory.fa.set(a.subarray(h,h+k),r);h+=k;c+=8}while(!t);this.status=80;this.U.oa&=-4;this.U.oa|=4;this.Y();Yb(this,d)}.bind(a)))}
|
||||
function Bb(a){if(a.D<a.N){var c=!1;(a.D+1)%(512*a.wa)&&a.D+1!==a.N||(c=!0);a.ia?a.ia--:a.Aa&&(a.Aa--,a.ia=255);if(!a.ia&&!a.Aa){var d=a.N-a.D-1;65536<=d?(a.Aa=240,a.ia=0):(a.Aa=d>>8,a.ia=d)}a.D+1>=a.N&&(a.status=80,a.ta=a.ta&-8|3,c=!0);c&&a.Y();return a.m[a.D++]}a.D++;return 0}
|
||||
function Db(a,c){if(!(a.aa>=a.W)&&(a.b[a.aa++]=c,a.aa%(512*a.wa)||a.Y(),a.aa===a.W))switch(a.ja){case 1:Qb(a);break;case 2:a.D=0;switch(a.b[0]){case 0:Eb(a,0);a.status=80;break;case 3:Eb(a,a.b[4]);a.status=88;a.m[0]=240;a.m[7]=8;break;case 18:c=a.b[4]|a.b[3]<<8;Eb(a,c);a.status=88;a.m.set([5,128,1,49,31,0,0,0,83,79,78,89,32,32,32,32,67,68,45,82,79,77,32,67,68,85,45,49,48,48,48,32,49,46,49,97]);break;case 30:Eb(a,0);a.status=80;break;case 37:c=a.g-1;Gb(a,new Uint8Array([c>>24&255,c>>16&255,c>>8&255,
|
||||
c&255,0,0,a.o>>8&255,a.o&255]));a.status=88;break;case 40:a.qc&1?Zb(a,a.b):Sb(a,a.b);break;case 66:c=a.b[8];Eb(a,Math.min(8,c));a.status=88;break;case 67:var d=a.b[9]>>6;c=a.b[8]|a.b[7]<<8;Eb(a,c);1===d&&a.m.set(new Uint8Array([0,10,1,1,0,0,0,0,0,0,0,0]));a.status=88;break;case 70:Eb(a,a.b[8]|a.b[7]<<8);a.status=88;break;case 74:Eb(a,a.b[8]|a.b[7]<<8);a.status=88;break;case 81:Eb(a,0);a.status=80;break;case 26:Eb(a,a.b[4]);a.status=88;break;case 90:c=a.b[8]|a.b[7]<<8;42===a.b[2]&&Eb(a,Math.min(30,
|
||||
c));a.status=88;break;case 189:Eb(a,a.b[9]|a.b[8]<<8);a.m[5]=1;a.status=88;break;default:a.status=80}a.ta=a.ta&-8|2;a.status&128||(Pb(a),a.Y());a.status&128||0!==a.N||(a.ta|=1,a.status&=-9)}}
|
||||
function Hb(a,c){if(32===c||196===c){c=a.ta&255;var d=a.Rc?Ib(a):Jb(a);c||(c=256)}else if(36===c||41===c)c=a.ta,d=Kb(a),c||(c=65536);else return;var e=c*a.o,d=d*a.o;a.ia+=c;d+e>a.buffer.byteLength?(a.status=255,a.Y()):(a.status=128,Ub(a),a.buffer.get(d,e,function(a){Gb(this,a);this.status=88;this.D=0;this.Y();Yb(this,e)}.bind(a)))}
|
||||
function Nb(a){var c=a.ta&255,d=c*a.o,e=Ib(a)*a.o;a.ia+=c;e+d>a.buffer.byteLength?(a.status=255,a.Y()):(a.status=216,a.U.oa|=1,Ub(a),a.buffer.get(e,d,function(a){var c=this.U.wc,e=0;do{var k=$b(this.memory,c),t=this.memory.ma(c+4),u=this.memory.da(c+7)&128;t||(t=65536);this.memory.fa.set(a.subarray(e,e+t),k);e+=t;c+=8}while(!u);this.status=80;this.U.oa&=-4;this.U.oa|=4;this.Y();Yb(this,d)}.bind(a)))}
|
||||
function Ob(a){var c=a.ta&255,d=c*a.o,e=Ib(a)*a.o;a.ia+=c;if(e+d>a.buffer.byteLength)a.status=255,a.Y();else{a.status=128;a.U.oa|=1;var c=a.U.wc,f=0,h=0,r=0;do{var k=$b(a.memory,c),t=a.memory.ma(c+4),u=a.memory.da(c+7)&128;t||(t=65536);a.buffer.set(e+r,a.memory.fa.subarray(k,k+t),function(){h++;h===f&&(this.status=80,this.Y(),this.U.oa&=-4,this.U.oa|=4)}.bind(a));r+=t;c+=8;f++}while(!u);h===f&&(a.status=80,a.Y(),a.U.oa&=-4,a.U.oa|=4);Rb(a,d)}}
|
||||
function Jb(a){return((a.ia&255|a.Aa<<8&65280)*a.L+a.head)*a.K+(a.nb&255)-1}function Ib(a){return a.nb&255|a.ia<<8&65280|a.Aa<<16&16711680|(a.head&15)<<24}function Kb(a){return(a.nb&255|a.ia<<8&65280|a.Aa<<16&16711680|a.nb>>8<<24&4278190080)>>>0}
|
||||
function Mb(a){a.D=0;if(a.Mc&16)Eb(a,0);else{for(var c=0;512>c;c++)a.m[c]=0;Gb(a,[64,a.ba?133:0,a.v,a.v>>8,0,0,a.L,a.L>>8,a.K/512,a.K/512>>8,0,2,a.K,a.K>>8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,2,4,0,0,0,0,0,0,0,0,0,56,118,32,54,68,72,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,255,0,1,0,0,3,0,0,0,2,0,2,7,0,a.v,a.v>>8,a.L,a.L>>8,a.K,0,a.g&255,a.g>>8&255,a.g>>16&255,a.g>>24&255,0,0,a.g&255,a.g>>8&255,a.g>>16&255,a.g>>24&
|
||||
255,0,0,0,4,0,0,30,0,30,0,30,0,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,126,0,0,0,0,0,0,116,0,64,0,64,0,116,0,64,0,0,0,0,0,0,0,0,0,0,1,96,0,0,0,0,0,0,0,0,0,0,0,0,a.g&255,a.g>>8&255,a.g>>16&255,a.g>>24&255]);a.N=512;16383<a.v&&(a.m[2]=a.m[108]=255,a.m[3]=a.m[109]=63)}}function Eb(a,c){Tb(a,c);for(var d=0;d<c;d++)a.m[d]=0}function Tb(a,c){a.m.length<c&&(a.m=new Uint8Array(c+3&-4));a.N=c}function Gb(a,c){a.m.length<c.length&&(a.m=new Uint8Array(c.length+3&-4));a.m.set(c);a.N=c.length}
|
||||
function Ub(a){a.Ia.bf=!0;a.J.send("ide-read-start")}function Yb(a,c){a.Ia.bf=!1;var d=c/a.o|0;a.Ia.xf+=d;a.Ia.Ke+=c;a.J.send("ide-read-end",[a.Ja,c,d])}function Rb(a,c){var d=c/a.o|0;a.Ia.yf+=d;a.Ia.Le+=c;a.J.send("ide-write-end",[a.Ja,c,d])}
|
||||
yb.prototype.La=function(){var a=[];a[0]=this.ta;a[1]=this.v;a[2]=this.Aa;a[3]=this.ia;a[4]=this.D;a[5]=this.b;a[6]=this.ja;a[7]=this.W;a[8]=this.aa;a[9]=this.Mc;a[10]=this.error;a[11]=this.head;a[12]=this.L;a[13]=this.ba;a[14]=this.Rc;a[15]=this.qc;a[16]=this.m;a[17]=this.N;a[18]=this.nb;a[19]=this.g;a[20]=this.o;a[21]=this.wa;a[22]=this.K;a[23]=this.status;a[24]=this.Fa;return a};
|
||||
yb.prototype.Ra=function(a){this.ta=a[0];this.v=a[1];this.Aa=a[2];this.ia=a[3];this.D=a[4];this.b=a[5];this.ja=a[6];this.W=a[7];this.aa=a[8];this.Mc=a[9];this.error=a[10];this.head=a[11];this.L=a[12];this.ba=a[13];this.Rc=a[14];this.qc=a[15];this.m=a[16];this.N=a[17];this.nb=a[18];this.g=a[19];this.o=a[20];this.wa=a[21];this.K=a[22];this.status=a[23];this.Fa=a[24]};function ac(a){this.lb=new Uint8Array(4);this.vc=new Uint8Array(4);this.tc=new Uint8Array(4);this.uc=new Uint8Array(4);new Int32Array(this.lb.buffer);this.kg=new Int32Array(this.vc.buffer);this.hf=new Int32Array(this.tc.buffer);this.jf=new Int32Array(this.uc.buffer);this.mc=[];this.H=[];this.Zd=[];for(var c=0;256>c;c++)this.mc[c]=void 0,this.H[c]=void 0,this.Zd[c]=void 0;this.A=a.A;a.A.Dd(3324,this,function(a){this.vc[0]=a},function(a){this.vc[1]=a},function(a){this.vc[2]=a},function(a){this.vc[3]=
|
||||
a;a=this.lb[2]<<8|this.lb[1];var c=this.lb[0]&252,f=this.mc[a],h=this.H[a];if(f){var r=this.kg[0];if(16<=c&&40>c){var k=c-16>>2;if(h=h.dc[k]){var c=c>>2,t=f[c]&1;-1===(r|3|h.size-1)?(r=~(h.size-1)|t,t||(f[c]=r)):t||(f[c]=this.Zd[a][k]&-4);1===t&&(bc(this,f[c]&65534,r&65534,h.size),f[c]=r|1)}else f[c>>2]=0}else f[c>>2]=r}});a.A.tf(3324,this,function(){return this.tc[0]},function(){return this.tc[1]},function(){return this.tc[2]},function(){return this.tc[3]});a.A.tf(3320,this,function(){return this.uc[0]},
|
||||
function(){return this.uc[1]},function(){return this.uc[2]},function(){return this.uc[3]});a.A.Dd(3320,this,function(a){this.lb[0]=a},function(a){this.lb[1]=a},function(a){this.lb[2]=a},function(a){this.lb[3]=a;a=this.lb[0]&252;var c=this.mc[this.lb[2]<<8|this.lb[1]];void 0!==c?(this.jf[0]=-2147483648,this.hf[0]=a<c.byteLength?c[a>>2]:0):(this.hf[0]=-1,this.jf[0]=0)});zb(this,{Tb:0,Uc:[134,128,55,18,0,0,0,0,2,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0],dc:[],name:"82441FX PMC"});zb(this,{Tb:8,Uc:[134,128,0,112,7,0,0,2,0,0,1,6,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],dc:[],name:"82371SB PIIX3 ISA"})}ac.prototype.La=function(){for(var a=[],c=0;256>c;c++)a[c]=this.mc[c];a[256]=this.lb;a[257]=this.vc;a[258]=this.tc;a[259]=this.uc;return a};
|
||||
ac.prototype.Ra=function(a){for(var c=0;256>c;c++){var d=this.H[c],e=a[c];if(d&&e){for(var f=0;f<d.dc.length;f++){var h=d.dc[f],r=e[4+f];r&1&&bc(this,this.mc[c][4+f]&65534,r&65534,h.size)}this.mc[c].set(e)}}this.lb.set(a[256]);this.vc.set(a[257]);this.tc.set(a[258]);this.uc.set(a[259])};function zb(a,c){var d=c.Tb,e=new Int32Array((new Uint8Array(c.Uc)).buffer);a.mc[d]=e;a.H[d]=c;a.Zd[d]=new Int32Array(6);a.Zd[d].set(e.subarray(4,10))}
|
||||
function bc(a,c,d,e){if(d!==c&&!(Math.abs(c-d)<e)){a=a.A.ports;for(var f=0;f<e;f++){var h=a[c+f];a[c+f]=a[d+f];a[d+f]=h}}};function cc(a,c){this.A=a.A;this.s=a;this.Lc=a.H.Lc;this.g=0;this.ba=new Uint8Array(10);this.ja=0;this.o=null;this.b=new Uint8Array(10);this.K=this.v=this.m=0;this.wa=c;this.aa=this.N=this.sb=this.Nb=this.Mb=this.tb=0;this.Fa=1;this.D=0;if(c){this.K=c.byteLength;var d;d={160:{type:1,Ab:40,xb:8,ub:1},180:{type:1,Ab:40,xb:9,ub:1},200:{type:1,Ab:40,xb:10,ub:1},320:{type:1,Ab:40,xb:8,ub:2},360:{type:1,Ab:40,xb:9,ub:2},400:{type:1,Ab:40,xb:10,ub:2},720:{type:3,Ab:80,xb:9,ub:2},1200:{type:2,Ab:80,xb:15,
|
||||
ub:2},1440:{type:4,Ab:80,xb:18,ub:2},1722:{type:5,Ab:82,xb:21,ub:2},2880:{type:5,Ab:80,xb:36,ub:2}}[this.K>>10];if(!d||this.K&1023)throw"Unknown floppy size: "+$a(c.byteLength);a.H.fc.ea[16]=d.type<<4;a=d.xb;c=d.ub;d=d.Ab;this.L=a;this.W=c;this.Ja=d}else a.H.fc.ea[16]=64,this.K=this.Ja=this.W=this.L=0;p(this.A,1008,this,this.Ig);p(this.A,1010,this,this.Jg);p(this.A,1012,this,this.Lg);p(this.A,1013,this,this.Mg);p(this.A,1015,this,this.Og);q(this.A,1010,this,this.Kg);q(this.A,1013,this,this.Ng)}
|
||||
l=cc.prototype;l.La=function(){var a=[];a[0]=this.g;a[1]=this.ba;a[2]=this.ja;a[4]=this.b;a[5]=this.m;a[6]=this.v;a[7]=this.K;a[8]=this.tb;a[9]=this.Mb;a[10]=this.Nb;a[11]=this.sb;a[12]=this.N;a[13]=this.aa;a[14]=this.Fa;a[15]=this.D;a[16]=this.L;a[17]=this.W;a[18]=this.Ja;return a};
|
||||
l.Ra=function(a){this.g=a[0];this.ba=a[1];this.ja=a[2];this.o=a[3];this.b=a[4];this.m=a[5];this.v=a[6];this.K=a[7];this.tb=a[8];this.Mb=a[9];this.Nb=a[10];this.sb=a[11];this.N=a[12];this.aa=a[13];this.Fa=a[14];this.D=a[15];this.L=a[16];this.W=a[17];this.Ja=a[18]};l.Ig=function(){return 0};l.Lg=function(){var a=128;this.m<this.v&&(a|=80);this.D&8||(a|=32);return a};l.Og=function(){return 0};l.Mg=function(){return this.m<this.v?this.b[this.m++]:255};
|
||||
l.Ng=function(a){if(0<this.g)this.ba[this.ja++]=a,this.g--,0===this.g&&this.o.call(this,this.ba);else{switch(a){case 3:this.o=this.Yf;this.g=2;break;case 4:this.o=this.Gf;this.g=1;break;case 5:case 197:this.o=function(a){dc(this,!0,a)};this.g=8;break;case 230:this.o=function(a){dc(this,!1,a)};this.g=8;break;case 7:this.o=this.Ff;this.g=1;break;case 8:this.m=0;this.v=2;this.b[0]=32;this.b[1]=this.N;break;case 74:this.o=this.Yg;this.g=1;break;case 15:this.g=2;this.o=this.Bf;break;case 14:this.b[0]=
|
||||
128,this.m=0,this.v=1,this.g=0}this.ja=0}};l.Jg=function(){return this.D};l.Kg=function(a){4!==(a&4)||this.D&4||this.s.v(6);this.D=a};l.Gf=function(){this.m=0;this.v=1;this.b[0]=32};l.Bf=function(a){this.N=a[1];this.aa=a[0]>>2&1;ec(this)};l.Ff=function(){ec(this)};function dc(a,c,d){var e=d[2],f=d[1],h=d[3],r=((e+a.W*f)*a.L+h-1)*(128<<d[4]);a.wa&&(c?fc(a.Lc,a.wa,r,a.done.bind(a,d,f,e,h)):gc(a.Lc,a.wa,r,a.done.bind(a,d,f,e,h)))}
|
||||
l.done=function(a,c,d,e,f){f||(e++,e>this.L&&(e=1,d++,d>=this.W&&(d=0,c++)),this.N=c,this.aa=d,this.Fa=e,this.m=0,this.v=7,this.b[0]=d<<2|32,this.b[1]=0,this.b[2]=0,this.b[3]=c,this.b[4]=d,this.b[5]=e,this.b[6]=a[4],ec(this))};l.Yf=function(){};l.Yg=function(){this.m=0;this.v=7;this.b[0]=0;this.b[1]=0;this.b[2]=0;this.b[3]=0;this.b[4]=0;this.b[5]=0;this.b[6]=0;ec(this)};function ec(a){a.D&8&&a.s.v(6)};function hc(a,c){this.size=a;this.b=new Uint8Array(32768);this.g=[];this.m=[];this.o=[];this.v=[];a=c?new ArrayBuffer(0):new ArrayBuffer(a);this.fa=new Uint8Array(a);this.D=new Uint16Array(a);this.Hb=new Int32Array(a)}l=hc.prototype;l.La=function(){return[this.size,this.fa]};l.Ra=function(a){this.size=a[0];this.fa=a[1];this.D=new Uint16Array(this.fa.buffer,this.fa.byteOffset,this.fa.length>>1);this.Hb=new Int32Array(this.fa.buffer,this.fa.byteOffset,this.fa.length>>2)};
|
||||
function ic(a,c){a=a.g[c>>>17];return a(c)|a(c+1|0)<<8}function jc(a,c,d){a=a.m[c>>>17];a(c,d&255);a(c+1|0,d>>8&255)}l.da=function(a){return this.b[a>>>17]?this.g[a>>>17](a):this.fa[a]};l.ma=function(a){return this.b[a>>>17]?ic(this,a):this.fa[a]|this.fa[a+1|0]<<8};function kc(a,c){return a.b[c>>>16]?ic(a,c<<1):a.D[c]}function $b(a,c){return a.b[c>>>17]?a.o[c>>>17](c):a.fa[c]|a.fa[c+1|0]<<8|a.fa[c+2|0]<<16|a.fa[c+3|0]<<24}function lc(a,c){a.b[c>>>15]?(c<<=2,a=a.o[c>>>17](c)):a=a.Hb[c];return a}
|
||||
l.sa=function(a,c){if(this.b[a>>>17])this.m[a>>>17](a,c);else this.fa[a]=c};l.ad=function(a,c){this.b[a>>>17]?jc(this,a,c):(this.fa[a]=c,this.fa[a+1|0]=c>>8)};function mc(a,c,d){a.b[c>>>16]?jc(a,c<<1,d):a.D[c]=d}l.Cc=function(a,c){if(this.b[a>>>17])this.v[a>>>17](a,c);else this.fa[a]=c,this.fa[a+1|0]=c>>8,this.fa[a+2|0]=c>>16,this.fa[a+3|0]=c>>24};function nc(a,c,d){a.b[c>>>15]?(c<<=2,a.v[c>>>17](c,d)):a.Hb[c]=d};function oc(a){this.memory=a.memory;this.b=new Int32Array(4);this.g=new Int32Array(4);this.m=0;a=a.A;q(a,4,this,this.mf.bind(this,4));q(a,5,this,this.mf.bind(this,5));q(a,10,this,this.Ug);q(a,11,this,this.Vg);q(a,12,this,this.Wg);q(a,129,this,this.Tg)}l=oc.prototype;l.La=function(){return[this.b,this.g,this.m]};l.Ra=function(a){this.b=a[0];this.g=a[1];this.m=a[2]};l.mf=function(a,c){if(8>a){var d=a>>1;a&1?this.g[d]=pc(this,this.g[d],c):this.b[d]=pc(this,this.b[d],c)}};l.Ug=function(){};l.Vg=function(){};
|
||||
l.Wg=function(){this.m=0};l.Tg=function(a){this.b[2]=this.b[2]&65535|a<<16};function gc(a,c,d,e){var f=a.g[2]+1,h=a.b[2];if(d+f>c.byteLength)e(!0);else{var r=a.memory;a.b[2]+=f;c.get(d,f,function(a){r.fa.set(a,h);e(!1)})}}function fc(a,c,d,e){var f=a.g[2],h=a.b[2];d+f>c.byteLength?e(!0):(a.b[2]+=f,c.set(d,a.memory.fa.subarray(h,h+f+1),function(){e(!1)}))}function pc(a,c,d){a.m^=1;return a.m?c&-256|d:c&-65281|d<<8};function qc(a){this.s=a;this.o=new Float64Array(3);this.v=new Uint16Array(3);this.b=new Uint8Array(4);this.m=new Uint8Array(4);this.L=new Uint8Array(4);this.N=new Uint8Array(4);this.D=new Uint8Array(4);this.K=new Uint16Array(3);this.g=new Uint16Array(3);p(a.A,97,this,function(){var a=Oa(),d=66.66666666666667*a&1,a=rc(this,2,a);return d<<4|a<<5});p(a.A,64,this,function(){return sc(this,0)});p(a.A,65,this,function(){return sc(this,1)});p(a.A,66,this,function(){return sc(this,2)});q(a.A,64,this,function(a){tc(this,
|
||||
0,a)});q(a.A,65,this,function(a){tc(this,1,a)});q(a.A,66,this,function(a){tc(this,2,a)});q(a.A,67,this,this.W)}qc.prototype.La=function(){var a=[];a[0]=this.b;a[1]=this.m;a[2]=this.L;a[3]=this.N;a[4]=this.D;a[5]=this.K;a[6]=this.g;a[7]=this.o;a[8]=this.v;return a};qc.prototype.Ra=function(a){this.b=a[0];this.m=a[1];this.L=a[2];this.N=a[3];this.D=a[4];this.K=a[5];this.g=a[6];this.o=a[7];this.v=a[8]};
|
||||
qc.prototype.zb=function(a,c){!c&&this.m[0]&&rc(this,0,a)&&(this.v[0]=uc(this,0,a),this.o[0]=a,this.s.v(0),0===this.L[0]&&(this.m[0]=0));return 0};function uc(a,c,d){if(!a.m[c])return 0;d=a.v[c]-Math.floor(1193.1816666*(d-a.o[c]));0>d&&(a=a.g[c],d=d%a+a);return d}function rc(a,c,d){d-=a.o[c];return 0>d?!0:a.v[c]<Math.floor(1193.1816666*d)}function sc(a,c){var d=a.D[c];if(d)return a.D[c]--,2===d?a.K[c]&255:a.K[c]>>8;d=a.b[c];3===a.L[c]&&(a.b[c]^=1);a=uc(a,c,Oa());return d?a&255:a>>8}
|
||||
function tc(a,c,d){a.g[c]=a.b[c]?a.g[c]&-256|d:a.g[c]&255|d<<8;3===a.N[c]&&a.b[c]||(a.g[c]||(a.g[c]=65535),a.v[c]=a.g[c],a.m[c]=!0,a.o[c]=Oa());3===a.N[c]&&(a.b[c]^=1)}qc.prototype.W=function(a){var c=a>>1&7,d=a>>6&3;a=a>>4&3;3!==d&&(a?(6<=c&&(c&=-5),this.b[d]=1===a?0:1,this.L[d]=c,this.N[d]=a):(this.D[d]=2,c=uc(this,d,Oa()),this.K[d]=c?c-1:0))};function vc(a,c,d){this.J=c;this.Ca=d;this.D=0;this.cd=14;this.bd=15;this.ba=80;this.Mb=25;this.m=this.Rd=this.Nb=0;this.Qb=!0;this.Db=!1;this.Lb=new Int32Array(256);this.K=this.v=this.aa=this.W=this.N=this.L=0;this.Ec=80;this.gc=!1;this.Wb=32;this.oe=this.wa=0;this.Uc=[222,16,32,10,7,0,0,0,162,0,0,3,0,0,128,0,8,0,0,224,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,1,0,0];this.Tb=144;this.dc=[];this.name="vga";zb(a.H.Tc,this);this.Ia={ze:!1,$g:0,ah:0,Ef:0};this.Fa=
|
||||
this.Ja=this.Pd=this.dd=0;this.o=-1;this.Md=new Uint8Array(16);this.Dc=-1;this.g=15;this.Sd=0;this.tb=-1;this.fd=this.ed=this.gd=0;this.b=255;this.Nd=0;this.hd=this.Od=255;a=a.A;q(a,960,this,this.pg);p(a,960,this,this.kf,this.og);p(a,961,this,this.lf);q(a,962,this,this.qg);a.Dd(964,this,this.sg,this.ug);p(a,964,this,this.rg);p(a,965,this,this.tg);a.Dd(974,this,this.Bg,this.Dg);p(a,974,this,this.Ag);p(a,975,this,this.Cg);q(a,967,this,this.vg);q(a,968,this,this.wg);q(a,969,this,this.yg);p(a,969,this,
|
||||
this.xg);p(a,972,this,this.zg);a.Dd(980,this,this.Eg,this.Gg);p(a,981,this,this.Fg);p(a,986,this,this.Hg);this.sb=-1;this.ja=0;q(a,462,this,void 0,this.lg);q(a,463,this,void 0,this.ng);p(a,463,this,void 0,this.mg);void 0===this.Ca||262144>this.Ca?this.Ca=262144:this.Ca&65535&&(this.Ca|=65535,this.Ca++);this.ra=new Uint8Array(this.Ca);this.Ua=this.Ca;this.Ta=0;this.se=void 0;c.register("screen-tell-buffer",function(a){this.se=a[0]},this);c.register("screen-fill-buffer",function(){if(this.Db&&this.se&&
|
||||
!(this.Ta<this.Ua)){var a,c=0;this.gc?a=this.Wb:this.Qb?a=8:(a=8,c=262144);var d=this.se,e=this.Ua,t=this.Ta;switch(a){case 32:var u=e>>2,z=(t>>2)+1;for(a=u;a<z;a++)t=this.zf[a],d[a]=t<<16|t>>16&255|t&65280|4278190080;break;case 24:var u=e/3|0,z=(t/3|0)+1,G=3*u;for(a=u;G<t;a++){var F=this.ra[G++],c=this.ra[G++],e=this.ra[G++];d[a]=F<<16|c<<8|e|4278190080}break;case 16:u=e>>1;z=(t>>1)+1;for(a=u;a<z;a++)t=this.fh[a],e=255*(t>>11)/31|0,c=255*(t>>5&63)/63|0,F=255*(t&31)/31|0,d[a]=F<<16|c<<8|e|4278190080;
|
||||
break;case 8:for(u=e-c,z=t-c+1,a=e;a<t;a++)e=this.Lb[this.ra[a]],d[a-c]=e&65280|e<<16|e>>16|4278190080}this.Ua=this.Ca;this.Ta=0;this.J.send("screen-fill-buffer-end",[u,z])}},this);this.fh=new Uint16Array(this.ra.buffer);this.zf=new Int32Array(this.ra.buffer);this.Fc=new Uint8Array(this.ra.buffer,0,262144);this.ke=new Uint8Array(this.ra.buffer,0,65536);this.le=new Uint8Array(this.ra.buffer,65536,65536);this.ie=new Uint8Array(this.ra.buffer,131072,65536);this.me=new Uint8Array(this.ra.buffer,196608,
|
||||
65536);var e=this;Ca(a,655360,131072,function(a){a-=655360;!e.Db||e.Qb?(a|=e.wa,a=e.ra[a]):(a&=65535,e.L=e.ke[a],e.N=e.le[a],e.W=e.ie[a],e.aa=e.me[a],a=e.Fc[e.gd<<16|a]);return a},function(a,c){a-=655360;if(e.Db)if(e.Qb){var d=a,d=d|e.wa;e.Ua=d<e.Ua?d:e.Ua;e.Ta=d>e.Ta?d:e.Ta;e.ra[d]=c}else{if(!(65535<a)){var k,t,u,z=e.ed&3;z?2===z&&(e.g&1&&(d=e.L&~e.b|(c&1?255:0)&e.b),e.g&2&&(k=e.N&~e.b|(c&2?255:0)&e.b),e.g&4&&(t=e.W&~e.b|(c&4?255:0)&e.b),e.g&8&&(u=e.aa&~e.b|(c&8?255:0)&e.b)):d=k=t=u=c;if(z&&2!==
|
||||
z)1===z&&(d=e.L,k=e.N,t=e.W,u=e.aa);else{switch(e.fd&24){case 8:d&=e.L;k&=e.N;t&=e.W;u&=e.aa;break;case 16:d|=e.L;k|=e.N;t|=e.W;u|=e.aa;break;case 24:d^=e.L,k^=e.N,t^=e.W,u^=e.aa}e.g&1&&(d=e.L&~e.b|d&e.b);e.g&2&&(k=e.N&~e.b|k&e.b);e.g&4&&(t=e.W&~e.b|t&e.b);e.g&8&&(u=e.aa&~e.b|u&e.b)}e.g&1?e.ke[a]=d:d=e.ke[a];e.g&2?e.le[a]=k:k=e.le[a];e.g&4?e.ie[a]=t:t=e.ie[a];e.g&8?e.me[a]=u:u=e.me[a];if(!(a>=e.Nb*e.Rd<<3))for(k<<=1,t<<=2,u<<=3,c=a<<3|7,a=c+262144,e.Ua=a-7<e.Ua?a-7:e.Ua,e.Ta=a>e.Ta?a:e.Ta,a=0;8>a;a++)e.ra[c+
|
||||
262144]=e.Md[d>>a&1|k>>a&2|t>>a&4|u>>a&8],c--}}else d=a,98304>d||(t=(d-98304>>1)-e.m,k=t/e.ba|0,t%=e.ba,d&1?(a=c,u=e.Fc[d&-2]):(u=c,a=e.Fc[d|1]),e.J.send("screen-put-char",[k,t,u,e.Lb[a>>4&15],e.Lb[a&15]]),e.Fc[d]=c)});Ca(a,3758096384,this.Ca,function(a){return e.ra[a&268435455]},function(a,c){a&=268435455;e.ra[a]=c;e.Ua=a<e.Ua?a:e.Ua;e.Ta=a>e.Ta?a:e.Ta},function(a){a&=268435455;return a&3?e.ra[a]|e.ra[a+1]<<8|e.ra[a+2]<<16|e.ra[a+3]<<24:e.zf[a>>2]},function(a,c){a&=268435455;e.Ua=a<e.Ua?a:e.Ua;e.Ta=
|
||||
a+3>e.Ta?a+3:e.Ta;e.ra[a]=c;e.ra[a+1]=c>>8;e.ra[a+2]=c>>16;e.ra[a+3]=c>>24})}l=vc.prototype;
|
||||
l.La=function(){var a=[];a[0]=this.Ca;a[1]=this.D;a[2]=this.cd;a[3]=this.bd;a[4]=this.ba;a[5]=this.Mb;a[6]=this.Nb;a[7]=this.Rd;a[8]=this.m;a[9]=this.Db;a[10]=this.Lb;a[11]=this.L;a[12]=this.N;a[13]=this.W;a[14]=this.aa;a[15]=this.v;a[16]=this.K;a[17]=this.Ec;a[18]=this.gc;a[19]=this.Wb;a[20]=this.wa;a[21]=this.oe;a[22]=this.dd;a[23]=this.Ja;a[24]=this.Fa;a[25]=this.Md;a[26]=this.Dc;a[27]=this.g;a[28]=this.Sd;a[29]=this.tb;a[30]=this.gd;a[31]=this.ed;a[32]=this.fd;a[33]=this.b;a[34]=this.Nd;a[35]=
|
||||
this.Od;a[36]=this.hd;a[37]=this.sb;a[38]=this.ja;a[39]=this.ra;a[40]=this.Qb;a[41]=this.o;a[42]=this.Pd;return a};
|
||||
l.Ra=function(a){this.Ca=a[0];this.D=a[1];this.cd=a[2];this.bd=a[3];this.ba=a[4];this.Mb=a[5];this.Nb=a[6];this.Rd=a[7];this.m=a[8];this.Db=a[9];this.Lb=a[10];this.L=a[11];this.N=a[12];this.W=a[13];this.aa=a[14];this.v=a[15];this.K=a[16];this.Ec=a[17];this.gc=a[18];this.Wb=a[19];this.wa=a[20];this.oe=a[21];this.dd=a[22];this.Ja=a[23];this.Fa=a[24];this.Md=a[25];this.Dc=a[26];this.g=a[27];this.Sd=a[28];this.tb=a[29];this.gd=a[30];this.ed=a[31];this.fd=a[32];this.b=a[33];this.Nd=a[34];this.Od=a[35];
|
||||
this.hd=a[36];this.sb=a[37];this.ja=a[38];this.ra.set(a[39]);this.Qb=a[40];this.o=a[41];this.Pd=a[42];this.J.send("screen-set-mode",this.Db);this.Db?this.Fd(this.v,this.K,this.Wb):(this.zc(this.ba,this.Mb),this.Ld(),this.Kd());wc(this)};l.Kd=function(){var a=(this.D-this.m)/this.ba|0,c=(this.D-this.m)%this.ba,a=Math.min(this.Mb-1,a);this.J.send("screen-update-cursor",[a,c])};
|
||||
function wc(a){if(a.Db)a.Ua=0,a.Ta=a.Ca;else for(var c=98304|a.m<<1,d,e,f=0;f<a.Mb;f++)for(var h=0;h<a.ba;h++)d=a.Fc[c],e=a.Fc[c|1],a.J.send("screen-put-char",[f,h,d,a.Lb[e>>4&15],a.Lb[e&15]]),c+=2}l.cb=function(){};l.zc=function(a,c){this.ba=a;this.Mb=c;this.J.send("screen-set-size-text",[a,c])};l.Fd=function(a,c,d){this.Nb=a;this.Rd=c;this.Ia.Ef=d;this.Ia.ze=!0;this.Ia.$g=a;this.Ia.ah=c;this.J.send("screen-set-size-graphical",[a,c,d])};
|
||||
l.Ld=function(){this.J.send("screen-update-cursor-scanline",[this.cd,this.bd])};function xc(a,c){var d=!1,e=0,f=0;switch(c){case 3:a.zc(a.Ec,25);break;case 16:e=640;f=350;d=!0;a.Qb=!1;break;case 18:e=640;f=480;d=!0;a.Qb=!1;break;case 19:e=320,f=200,d=!0,a.Qb=!0}a.J.send("screen-set-mode",d);if(a.Ia.ze=d)a.v=e,a.K=f,a.Fd(e,f,8);a.Db=d}l.pg=function(a){-1===this.o?this.o=a:(16>this.o&&(this.Md[this.o]=a),this.o=-1)};l.kf=function(){var a=this.o;this.o=-1;return a};
|
||||
l.og=function(){return this.kf()&255|this.lf()<<8&65280};l.lf=function(){return this.o=-1};l.qg=function(a){this.Od=a;103===a?xc(this,3):227===a?xc(this,18):99===a?xc(this,19):163===a?xc(this,16):xc(this,3)};l.sg=function(a){this.Dc=a};l.rg=function(){return this.Dc};l.ug=function(a){switch(this.Dc){case 2:this.g=a;break;case 4:this.Sd=a}};l.tg=function(){switch(this.Dc){case 2:return this.g;case 4:return this.Sd;case 6:return 18}return 0};l.vg=function(a){this.Fa=3*a};
|
||||
l.wg=function(a){this.Ja=3*a};l.yg=function(a){var c=this.Ja/3|0,d=this.Ja%3,e=this.Lb[c];a=255*a/63&255;this.Lb[c]=d?1===d?e&-65281|a<<8:e&-256|a:e&-16711681|a<<16;this.Ja++};l.xg=function(){var a=this.Fa%3,c=this.Lb[this.Fa/3|0];this.Fa++;return(c>>8*(2-a)&255)/255*63|0};l.zg=function(){return this.Od};l.Bg=function(a){this.tb=a};l.Ag=function(){return this.tb};l.Dg=function(a){switch(this.tb){case 3:this.fd=a;break;case 4:this.gd=a;break;case 5:this.ed=a;break;case 8:this.b=a}};
|
||||
l.Cg=function(){switch(this.tb){case 3:return this.fd;case 4:return this.gd;case 5:return this.ed;case 8:return this.b}return 0};l.Eg=function(a){this.dd=a};
|
||||
l.Gg=function(a){switch(this.dd){case 2:this.Ec=a;break;case 9:this.Nd=a;7===(a&31)?this.zc(this.Ec,50):this.zc(this.Ec,25);break;case 10:this.cd=a;this.Ld();break;case 11:this.bd=a;this.Ld();break;case 12:this.m=this.m&255|a<<8;wc(this);break;case 13:this.m=this.m&65280|a;wc(this);break;case 14:this.D=this.D&255|a<<8;this.Kd();break;case 15:this.D=this.D&65280|a;this.Kd();break;case 19:this.Pd=a}};
|
||||
l.Fg=function(){switch(this.dd){case 9:return this.Nd;case 10:return this.cd;case 11:return this.bd;case 12:return this.m&255;case 13:return this.m>>8;case 14:return this.D>>8;case 15:return this.D&255;case 19:return this.Pd}return 0};l.Hg=function(){this.hd^=8;this.o=-1;return this.hd};l.lg=function(a){this.sb=a};
|
||||
l.ng=function(a){switch(this.sb){case 1:this.v=a;2560<this.v&&(this.v=2560);break;case 2:this.K=a;1600<this.K&&(this.K=1600);break;case 3:this.Wb=a;break;case 4:this.gc=1===(a&1);this.ja=a;break;case 5:this.wa=a<<16;break;case 9:this.oe=this.v*(15===this.Wb?16:this.Wb)/8*a,wc(this)}!this.gc||this.v&&this.K||(this.gc=!1);this.gc&&4===this.sb&&(this.Fd(this.v,this.K,this.Wb),this.J.send("screen-set-mode",!0),this.Qb=this.Db=!0);this.gc||(this.wa=0)};l.mg=function(){return yc(this,this.sb)};
|
||||
function yc(a,c){switch(c){case 0:return 45248;case 1:return a.ja&2?2560:a.v;case 2:return a.ja&2?1600:a.K;case 3:return a.ja&2?32:a.Wb;case 4:return a.ja;case 5:return a.wa>>>16;case 6:return a.Nb?a.Nb:1;case 8:return 0;case 10:return a.Ca/65536|0}return 255};function zc(a,c){this.s=a;this.J=c;this.ic=this.Yb=!1;this.ud=!0;this.sc=this.Jb=this.Ib=0;this.ja=!0;this.N=this.L=this.v=this.K=this.W=this.D=this.qd=!1;this.ka=new bb(1024);this.m=0;this.Yc=100;this.Xc=4;this.o=!1;this.b=new bb(1024);this.J.register("keyboard-code",function(a){this.qd&&(this.ka.push(a),Ac(this))},this);this.J.register("mouse-click",function(a){this.ud&&this.ic&&(this.sc=a[0]|a[2]<<1|a[1]<<2,this.Yb&&Bc(this,0,0))},this);this.J.register("mouse-delta",function(a){var c=a[1];if(this.ud&&
|
||||
this.ic){var f=this.Xc*this.Yc/80;this.Ib+=a[0]*f;this.Jb+=c*f;this.Yb&&(a=this.Ib|0,c=this.Jb|0,a||c)&&(this.Ib-=a,this.Jb-=c,Bc(this,a,c))}},this);this.J.register("mouse-wheel",function(){},this);this.g=5;this.aa=this.ba=!1;p(a.A,96,this,this.Pg);p(a.A,100,this,this.Rg);q(a.A,96,this,this.Qg);q(a.A,100,this,this.Sg)}l=zc.prototype;
|
||||
l.La=function(){var a=[];a[0]=this.Yb;a[1]=this.ic;a[2]=this.ud;a[3]=this.Ib;a[4]=this.Jb;a[5]=this.sc;a[6]=this.ja;a[7]=this.qd;a[8]=this.D;a[9]=this.W;a[10]=this.K;a[11]=this.v;a[12]=this.L;a[13]=this.N;a[15]=this.m;a[16]=this.Yc;a[17]=this.Xc;a[18]=this.o;a[20]=this.g;a[21]=this.ba;a[22]=this.aa;return a};
|
||||
l.Ra=function(a){this.Yb=a[0];this.ic=a[1];this.ud=a[2];this.Ib=a[3];this.Jb=a[4];this.sc=a[5];this.ja=a[6];this.qd=a[7];this.D=a[8];this.W=a[9];this.K=a[10];this.v=a[11];this.L=a[12];this.N=a[13];this.m=a[15];this.Yc=a[16];this.Xc=a[17];this.o=a[18];this.g=a[20];this.ba=a[21];this.aa=a[22];this.J.send("mouse-enable",this.ic)};function Cc(a){a.g&2&&a.s.v(12)}function Ac(a){a.g&1&&a.s.v(1)}function Bc(a,c,d){a.b.push((0>d)<<5|(0>c)<<4|8|a.sc);a.b.push(c);a.b.push(d);Cc(a)}l.cb=function(){};
|
||||
l.Pg=function(){if(!this.ka.length&&!this.b.length)return this.m;this.b.length&&!this.ka.length?(this.m=this.b.shift(),1<=this.b.length&&Cc(this)):(this.m=this.ka.shift(),1<=this.ka.length&&Ac(this));return this.m};l.Rg=function(){var a=16;if(this.b.length||this.ka.length)a|=1;this.b.length&&!this.ka.length&&(a|=32);return a};
|
||||
l.Qg=function(a){if(this.aa)Ac(this),this.g=a,this.aa=!1;else if(this.ba)this.ba=!1,this.b.clear(),this.b.push(a),Cc(this);else if(this.W)this.W=!1,this.b.clear(),this.b.push(250),this.Yc=a,Cc(this);else if(this.N)this.N=!1,this.b.clear(),this.b.push(250),this.Xc=3<a?4:1<<a,Cc(this);else if(this.K)this.K=!1,this.ka.push(250),Ac(this);else if(this.v)this.v=!1,this.ka.push(250),Ac(this),a||this.ka.push(2);else if(this.L)this.L=!1,this.ka.push(250),Ac(this);else if(this.D){if(this.D=!1,this.ud){this.ka.clear();
|
||||
this.b.clear();this.b.push(250);switch(a){case 230:this.o=!1;break;case 231:this.o=!0;break;case 232:this.N=!0;break;case 233:Bc(this,0,0);break;case 242:this.b.push(0);this.b.push(0);this.sc=this.Ib=this.Jb=0;break;case 243:this.W=!0;break;case 244:this.ic=this.Yb=!0;this.J.send("mouse-enable",!0);this.sc=this.Ib=this.Jb=0;break;case 245:this.Yb=!1;break;case 246:this.Yb=!1;this.Yc=100;this.o=!1;this.Xc=4;break;case 255:this.b.push(170),this.b.push(0),this.ic=!0,this.J.send("mouse-enable",!0),this.Yb=
|
||||
!1,this.Yc=100,this.o=!1,this.Xc=4,this.sc=this.Ib=this.Jb=0}Cc(this)}}else{this.b.clear();this.ka.clear();this.ka.push(250);switch(a){case 237:this.K=!0;break;case 240:this.v=!0;break;case 242:this.ka.push(171);this.ka.push(83);break;case 243:this.L=!0;break;case 244:this.qd=!0;break;case 245:this.qd=!1;break;case 255:this.ka.clear(),this.ka.push(250),this.ka.push(170),this.ka.push(0)}Ac(this)}};
|
||||
l.Sg=function(a){switch(a){case 32:this.ka.clear();this.b.clear();this.ka.push(this.g);break;case 96:this.aa=!0;break;case 211:this.ba=!0;break;case 212:this.D=!0;break;case 167:this.g|=32;break;case 168:this.g&=-33;break;case 169:this.ka.clear();this.b.clear();this.ka.push(0);break;case 170:this.ka.clear();this.b.clear();this.ka.push(85);break;case 171:this.ka.clear();this.b.clear();this.ka.push(0);break;case 173:this.g|=16;break;case 174:this.g&=-17;break;case 254:throw a=this.s,a.reset(),Ma(a),
|
||||
233495534;}};function Dc(a,c){this.vb=this.ab=this.Z=this.wd=this.Sb=0;this.pa=c;this.b=!this.pa;this.na=void 0;this.name=this.b?"master":"slave ";this.rd=!1;this.ae=this.state=0;this.Gc=1;this.Re=this.Ge=0;this.s=a;this.b?(this.na=new Dc(this.s,this),this.md=function(){var a=this.ab&this.Sb;if(!a)return this.na.md();var a=a&-a,c=this.Ge?this.Sb:-1;if(this.Z&&(this.Z&-this.Z&c)<=a)return!1;c=Ua(a);this.ab&=~a;if(2===c)return this.na.md();this.Gc||(this.Z|=a);this.s.ga=this.s.w;Ec(this.s,this.wd|c,!1,!1);return!0}):
|
||||
this.md=function(){var a=this.ab&this.Sb;if(!a)return!1;var a=a&-a,c=this.Ge?this.Sb:-1;if(this.Z&&(this.Z&-this.Z&c)<=a)return!1;c=Ua(a);this.ab&=~a;this.s.ga=this.s.w;Ec(this.s,this.wd|c,!1,!1);this.ab&&this.pa.Ed(2);this.pa.nd(2);this.Gc||(this.Z|=a,this.pa.Z|=4);return!0};this.g=function(){this.b&&this.na.g()};this.b?(a=32,c=1232):(a=160,c=1233);q(this.s.A,a,this,function(a){if(a&16)this.vb=this.Sb=this.ab=this.Z=0,this.Gc=1,this.rd=a&1,this.state=1;else if(a&8)a&2&&(this.ae=a&1),a&64&&(this.Ge=
|
||||
32===(a&32));else{var c=a>>5;1===c?this.Z&=this.Z-1:3===c&&(this.Z&=~(1<<(a&7)));Fc(this.s)}});p(this.s.A,a,this,function(){return this.ae?this.Z:this.ab});q(this.s.A,a|1,this,function(a){0===this.state?this.rd?(this.rd=!1,this.Gc=a&2):(this.Sb=~a,Fc(this.s)):1===this.state?(this.wd=a,this.state++):2===this.state&&(this.state=0)});p(this.s.A,a|1,this,function(){return~this.Sb&255});q(this.s.A,c,this,function(a){this.Re=a});p(this.s.A,c,this,function(){return this.Re});this.b?(this.Ed=function(a){8<=
|
||||
a&&(this.na.Ed(a-8),a=2);a=1<<a;this.ab|=a&~this.vb;this.vb|=a;Fc(this.s)},this.nd=function(a){8<=a&&(this.na.nd(a-8),a=2);this.vb&=~(1<<a)}):(this.Ed=function(a){a=1<<a;this.ab|=a&~this.vb;this.vb|=a},this.nd=function(a){this.vb&=~(1<<a)})}Dc.prototype.La=function(){var a=[];a[0]=this.Sb;a[1]=this.wd;a[2]=this.Z;a[3]=this.ab;a[4]=this.b;a[5]=this.na;a[6]=this.rd;a[7]=this.state;a[8]=this.ae;a[9]=this.Gc;return a};
|
||||
Dc.prototype.Ra=function(a){this.Sb=a[0];this.wd=a[1];this.Z=a[2];this.ab=a[3];this.b=a[4];this.na=a[5];this.rd=a[6];this.state=a[7];this.ae=a[8];this.Gc=a[9]};function Hc(a){this.s=a;this.Jc=0;this.ea=new Uint8Array(128);this.L=this.b=Date.now();this.g=0;this.D=!0;this.N=!1;this.K=.9765625;this.v=38;this.m=2;this.Fe=this.o=0;q(a.A,112,this,function(a){this.Jc=a&127;this.Fe=a>>7});q(a.A,113,this,this.If);p(a.A,113,this,this.Hf)}l=Hc.prototype;l.La=function(){var a=[];a[0]=this.Jc;a[1]=this.ea;a[2]=this.b;a[3]=this.L;a[4]=this.g;a[5]=this.D;a[6]=this.N;a[7]=this.K;a[8]=this.v;a[9]=this.m;a[10]=this.o;a[11]=this.Fe;return a};
|
||||
l.Ra=function(a){this.Jc=a[0];this.ea=a[1];this.b=a[2];this.L=a[3];this.g=a[4];this.D=a[5];this.N=a[6];this.K=a[7];this.v=a[8];this.m=a[9];this.o=a[10];this.Fe=a[11]};l.zb=function(a){a=Date.now();this.b+=a-this.L;this.L=a;return this.N&&this.D&&this.g<a?(this.D=!1,this.s.v(8),this.o|=192,this.g+=this.K*Math.ceil((a-this.g)/this.K),Math.max(0,a-this.g)):100};function Ic(a,c){if(a.m&4)a=c;else{a=c;for(var d=c=0,e;a;)e=a%10,d|=e<<4*c,c++,a=(a-e)/10;a=d}return a}
|
||||
l.Hf=function(){switch(this.Jc){case 0:return Ic(this,(new Date(this.b)).getUTCSeconds());case 2:return Ic(this,(new Date(this.b)).getUTCMinutes());case 4:return Ic(this,(new Date(this.b)).getUTCHours());case 7:return Ic(this,(new Date(this.b)).getUTCDate());case 8:return Ic(this,(new Date(this.b)).getUTCMonth()+1);case 9:return Ic(this,(new Date(this.b)).getUTCFullYear()%100);case 10:return this.v;case 11:return this.m;case 12:this.D=!0;var a=this.o;this.o&=-241;return a;case 13:return 255;case 50:return Ic(this,
|
||||
(new Date(this.b)).getUTCFullYear()/100|0);default:return this.ea[this.Jc]}};l.If=function(a){switch(this.Jc){case 10:this.v=a&127;this.K=1E3/(32768>>(this.v&15)-1);break;case 11:this.m=a,this.m&64&&(this.g=Date.now())}this.N=64===(this.m&64)&&0<(this.v&15)};function Jc(a,c,d){function e(a){if(this.cc&128)this.Xb=this.Xb&-256|a;else if(Kc(this),255!==a){var c=String.fromCharCode(a);this.J.send("serial0-output-char",c);this.re.push(a);"\n"===c&&(this.J.send("serial0-output-line",String.fromCharCode.apply("",this.re)),this.re=[])}}this.J=d;this.s=a;this.Rb=this.ve=this.b=this.cc=this.Xb=this.pb=0;this.$a=1;this.Ha=this.fe=this.Ee=this.Yd=0;this.input=new bb(4096);this.re=[];if(1E3===c||1016===c)this.Ha=4;else if(1E3===c||1E3===c)this.Ha=3;else return;this.J.register("serial0-input",
|
||||
function(a){this.input.push(a);this.pb|=4096;this.Rb&1&&Lc(this)},this);a=a.A;q(a,c,this,function(a){e.call(this,a)},function(a){e.call(this,a&255);e.call(this,a>>8)});q(a,c|1,this,function(a){this.cc&128?this.Xb=this.Xb&255|a<<8:(this.Rb=a,Mc(this))});p(a,c,this,function(){if(this.cc&128)return this.Xb&255;var a=this.input.shift();this.input.length&&Lc(this);return a});p(a,c|1,this,function(){return this.cc&128?this.Xb>>8:this.Rb});p(a,c|2,this,function(){var a=this.$a&15|192;2===this.$a?Nc(this,
|
||||
2):12===this.$a&&Nc(this,12);return a});q(a,c|2,this,function(a){this.ve=a});p(a,c|3,this,function(){return this.cc});q(a,c|3,this,function(a){this.cc=a});p(a,c|4,this,function(){return this.Yd});q(a,c|4,this,function(a){this.Yd=a});p(a,c|5,this,function(){var a=0;this.input.length&&(a|=1);return a|96});q(a,c|5,this,function(){});p(a,c|6,this,function(){return this.Ee});q(a,c|6,this,function(){});p(a,c|7,this,function(){return this.fe});q(a,c|7,this,function(a){this.fe=a})}
|
||||
Jc.prototype.La=function(){var a=[];a[0]=this.pb;a[1]=this.Xb;a[2]=this.cc;a[3]=this.b;a[4]=this.ve;a[5]=this.Rb;a[6]=this.$a;a[7]=this.Yd;a[8]=this.Ee;a[9]=this.fe;a[10]=this.Ha;return a};Jc.prototype.Ra=function(a){this.pb=a[0];this.Xb=a[1];this.cc=a[2];this.b=a[3];this.ve=a[4];this.Rb=a[5];this.$a=a[6];this.Yd=a[7];this.Ee=a[8];this.fe=a[9];this.Ha=a[10]};Jc.prototype.Y=function(){this.s.v(this.Ha)};function Nc(a,c){a.pb&=~(1<<c);a.$a=1;c===a.$a&&Mc(a)}
|
||||
function Lc(a){a.pb|=4096;a.Rb&1&&6!=a.$a&&4!=a.$a&&(a.$a=12,a.Y())}function Kc(a){a.pb|=4;a.Rb&2&&(a.$a&1||0==a.$a||2==a.$a)&&(a.$a=2,a.Y())}function Mc(a){a.pb&4096&&a.Rb&1?Lc(a):a.pb&4&&a.Rb&2?Kc(a):a.$a=1};function Oc(a){this.message=a}Oc.prototype=Error();function Pc(a,c){if("object"!==typeof a||null===a||a instanceof Array)return a;if(a.BYTES_PER_ELEMENT){var d=new Uint8Array(a.buffer,a.byteOffset,a.length*a.BYTES_PER_ELEMENT);return{__state_type__:a.constructor.name,buffer_id:c.push(d)-1}}a=a.La();for(var d=[],e=0;e<a.length;e++)d[e]=Pc(a[e],c);return d}
|
||||
function Qc(a,c,d){if("object"!==typeof c||null===c)return c;if(a instanceof Array)return c;var e=c.__state_type__;if(void 0===e){for(var e=a.La(),f=0;f<c.length;f++)c[f]=Qc(e[f],c[f],d);a.Ra(c);return a}a={Uint8Array:Uint8Array,Int8Array:Int8Array,Uint16Array:Uint16Array,Int16Array:Int16Array,Uint32Array:Uint32Array,Int32Array:Int32Array,Float32Array:Float32Array,Float64Array:Float64Array}[e];c=d.dg[c.buffer_id];return 1048576<=c.length&&a===Uint8Array?new Uint8Array(d.Xe,c.offset,c.length):new a(d.Xe.slice(c.offset,
|
||||
c.offset+c.length))}
|
||||
function Rc(a,c){var d=c.byteLength;if(16>d)throw new Oc("Invalid length: "+d);var e=new Int32Array(c,0,4);if(-2039052682!==e[0])throw new Oc("Invalid header: "+$a(e[0]>>>0));if(3!==e[1])throw new Oc("Version mismatch: dump="+e[1]+" we=3");if(e[2]!==d)throw new Oc("Length doesn't match header: real="+d+" header="+e[2]);e=e[3];if(0>e||e+12>=d||e%2)throw new Oc("Invalid info block length: "+e);for(var f=e/2,h=new Uint16Array(c,16,f),r="",d=0;d<f-8;)r+=String.fromCharCode(h[d++],h[d++],h[d++],h[d++],
|
||||
h[d++],h[d++],h[d++],h[d++]);for(;d<f;)r+=String.fromCharCode(h[d++]);d=JSON.parse(r);f=d.state;h=d.buffer_infos;e=e+19&-4;for(d=0;d<h.length;d++)h[d].offset+=e;Qc(a,f,{Xe:c,dg:h})};function Sc(a,c){this.s=a;this.J=c;this.J.register("net0-receive",function(a){if(!(this.G&1)&&(this.J.send("eth-receive-end",[a.length]),this.ee&16||this.ee&4&&255===a[0]&&255===a[1]&&255===a[2]&&255===a[3]&&255===a[4]&&255===a[5]||!(this.ee&8&&1===(a[0]&1)||a[0]!==this.memory[0]||a[1]!==this.memory[2]||a[2]!==this.memory[4]||a[3]!==this.memory[6]||a[4]!==this.memory[8]||a[5]!==this.memory[10]))){var c=this.kc<<8,d=Math.max(60,a.length)+4,r=c+4,k=this.kc+1+(d>>8);if(c+d>this.memory.length){var t=
|
||||
this.memory.length-r;this.memory.set(a.subarray(0,t),r);this.memory.set(a.subarray(t),76)}else if(this.memory.set(a,r),60>a.length)for(a=a.length;60>a;a++)this.memory[r+a]=0;k>=this.xc&&(k+=this.Vc-this.xc);this.memory[c]=1;this.memory[c+1]=k;this.memory[c+2]=d;this.memory[c+3]=d>>8;this.kc=k;Tc(this,1)}},this);this.name="ne2k";this.Uc=[236,16,41,128,3,1,0,0,0,0,0,2,0,0,0,0,1,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,244,26,0,17,0,0,184,254,0,0,0,0,0,0,0,0,11,1,0,0];this.Tb=40;this.dc=
|
||||
[{size:32}];zb(a.H.Tc,this);this.vd=this.Z=0;this.G=1;this.od=0;this.Ha=11;this.ge=this.Bc=this.wb=0;this.memory=new Uint8Array(32768);this.ee=0;this.jh=1;c=[0,34,21,255*Math.random()|0,255*Math.random()|0,255*Math.random()|0];for(var d=0;6>d;d++)this.memory[d<<1]=this.memory[d<<1|1]=c[d];this.memory[14]=this.memory[15]=87;this.Ya=0;this.Vc=64;this.xc=128;this.Td=this.kc=76;a=a.A;p(a,768,this,function(){return this.G});q(a,768,this,function(a){this.G=a&-5;this.G&1||(a|24&&0===this.wb&&Tc(this,64),
|
||||
a&4&&(a=this.ge<<8,a=this.memory.subarray(a,a+this.Bc),this.J.send("net0-send",a),this.J.send("eth-transmit-end",[a.length]),Tc(this,2)))});p(a,781,this,function(){return 0});p(a,782,this,function(){return 0});p(a,783,this,function(){return 0});p(a,799,this,function(){this.G&192||Tc(this,128);return 0});q(a,799,this,function(){});q(a,769,this,function(a){this.G&192||(this.Vc=a)});q(a,770,this,function(a){this.G&192||(this.xc=a)});p(a,775,this,function(){return this.G&192?this.kc:this.Z});q(a,775,
|
||||
this,function(a){this.G&192?this.kc=a:this.Z&=~a});q(a,781,this,function(){});q(a,782,this,function(a){this.G&192||(this.od=a)});q(a,778,this,function(a){this.G&192||(this.wb=this.wb&65280|a&255)});q(a,779,this,function(a){this.G&192||(this.wb=this.wb&255|a<<8&65280)});q(a,776,this,function(a){this.G&192||(this.Ya=this.Ya&65280|a&255)});q(a,777,this,function(a){this.G&192||(this.Ya=this.Ya&255|a<<8&65280)});q(a,783,this,function(a){this.G&192||(this.vd=a,this.vd&this.Z&&this.s.v(this.Ha))});p(a,771,
|
||||
this,function(){return this.G&192?0:this.Td});q(a,771,this,function(a){this.G&192||(this.Td=a)});p(a,772,this,function(){return this.G&192?0:this.jh});q(a,772,this,function(a){this.G&192||(this.ge=a)});q(a,773,this,function(a){this.G&192||(this.Bc=this.Bc&-256|a)});q(a,774,this,function(a){this.G&192||(this.Bc=this.Bc&255|a<<8)});p(a,780,this,function(){return this.G&192?0:9});q(a,780,this,function(a){this.ee=a});p(a,784,this,this.Lf,this.Oe,this.Kf);q(a,784,this,this.Pe,this.Pe,this.Mf)}l=Sc.prototype;
|
||||
l.La=function(){var a=[];a[0]=this.Z;a[1]=this.vd;a[2]=this.G;a[3]=this.od;a[4]=this.wb;a[5]=this.Bc;a[6]=this.ge;a[7]=this.Ya;a[8]=this.Vc;a[9]=this.kc;a[10]=this.Td;return a};l.Ra=function(a){this.Z=a[0];this.vd=a[1];this.G=a[2];this.od=a[3];this.wb=a[4];this.Bc=a[5];this.ge=a[6];this.Ya=a[7];this.Vc=a[8];this.kc=a[9];this.Td=a[10]};function Tc(a,c){a.Z|=c;a.vd&a.Z&&a.s.v(a.Ha)}
|
||||
function Uc(a,c){16<a.Ya&&16384>a.Ya||(a.wb--,a.memory[a.Ya++]=c,a.Ya>=a.xc<<8&&(a.Ya+=a.Vc-a.xc<<8),0===a.wb&&Tc(a,64))}l.Pe=function(a){Uc(this,a);this.od&1&&Uc(this,a>>8)};l.Mf=function(a){Uc(this,a);Uc(this,a>>8);Uc(this,a>>16);Uc(this,a>>24)};function Vc(a){var c=a.memory[a.Ya++];a.wb--;a.Ya>=a.xc<<8&&(a.Ya+=a.Vc-a.xc<<8);0===a.wb&&Tc(a,64);return c}l.Lf=function(){return this.Oe()&255};l.Oe=function(){return this.od&1?Vc(this)|Vc(this)<<8:Vc(this)};
|
||||
l.Kf=function(){return Vc(this)|Vc(this)<<8|Vc(this)<<16|Vc(this)<<24};function Wc(a,c,d){this.Uc=[244,26,9,16,7,5,16,0,0,0,2,0,0,0,0,0,1,168,0,0,0,16,191,254,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,244,26,9,0,0,0,0,0,64,0,0,0,0,0,0,0,12,1,0,0];this.Tb=48;this.dc=[{size:256}];this.name="virtio";zb(a.H.Tc,this);var e=a.A;p(e,43008,this,void 0,void 0,function(){return 1});q(e,43012,this,void 0,void 0,function(){});q(e,43022,this,void 0,function(a){this.Cd=a},void 0);p(e,43020,this,void 0,function(){return this.Vb},void 0);p(e,43016,this,void 0,void 0,function(){return 0===
|
||||
this.Cd?this.Ub:0});q(e,43016,this,void 0,void 0,function(a){this.Ub=a});q(e,43026,this,function(a){0===a&&this.reset();this.pd=a});p(e,43026,this,function(){return this.pd});p(e,43027,this,function(){var a=this.Z;this.Z=0;return a});q(e,43024,this,void 0,function(){for(var a=(this.Ub<<12)+16*this.Vb,c=a+4,a=this.memory.ma(a+2),d=this.Vb-1,a=a&d;this.pc!==a;){var e=this.memory.ma(c+2*this.pc);Xc(this,e);this.pc=this.pc+1&d}});this.Ha=12;this.s=a;this.J=c;this.pc=this.Z=this.pd=this.Cd=0;this.Vb=32;
|
||||
this.Ub=0;this.memory=a.memory;for(a=0;128>a;a++)p(e,43028+a,this,function(a){return a<this.U.v.length?this.U.v[a]:0}.bind(this,a),void 0,void 0),q(e,43028+a,this,function(){}.bind(this,a),void 0,void 0);this.U=new aa(d,c);this.U.ha=this.b.bind(this)}Wc.prototype.La=function(){var a=[];a[0]=this.Ha;a[1]=this.Cd;a[2]=this.pd;a[3]=this.Z;a[4]=this.pc;a[5]=this.Vb;a[6]=this.Ub;a[7]=this.U;return a};
|
||||
Wc.prototype.Ra=function(a){this.Ha=a[0];this.Cd=a[1];this.pd=a[2];this.Z=a[3];this.pc=a[4];this.Vb=a[5];this.Ub=a[6];this.U=a[7];this.U.ha=this.b.bind(this)};Wc.prototype.reset=function(){this.pc=this.Z=this.pd=this.Cd=0;this.Vb=32;this.Ub=0};
|
||||
function Xc(a,c){var d=c,e=a.Ub<<12,f=0,h=[];do{var r=e+16*d,k=a.memory.ma(r+12);if(k&2)break;var t=$b(a.memory,r),d=$b(a.memory,r+4),u=$b(a.memory,r+8)>>>0;h.push({ne:t,Df:d,De:u});if(k&1)d=a.memory.ma(r+14);else{d=-1;break}}while(1);var z=-1,G=0;ea(a.U,{start:c,next:d},function(){if(G>=z){if(f===h.length)return 0;var a=h[f++];t=a.ne;z=a.De;G=0}return this.memory.da(t+G++)}.bind(a))}
|
||||
Wc.prototype.b=function(a,c){if(-1!==c.next){var d=this.Vb-1;a=this.U.ce;var e=c.next,f=this.Ub<<12,h=0,r=[];do{var e=f+16*e,k=this.memory.ma(e+12);if(!(k&2))break;var t=$b(this.memory,e),u=$b(this.memory,e+4),z=$b(this.memory,e+8)>>>0;r.push({ne:t,Df:u,De:z});if(k&1)e=this.memory.ma(e+14);else break}while(1);k=-1;for(f=u=0;f<a;f++){e=this.U.ua[f];if(u>=k){if(h===r.length)return 0;k=r[h++];t=k.ne;k=k.De;u=0}this.memory.sa(t+u++,e)}t=(this.Ub<<12)+16*this.Vb+4+2*this.Vb;t=t+4095&-4096;this.memory.ma(t);
|
||||
h=this.memory.ma(t+2);this.memory.ad(t+2,h+1);d=t+4+8*(h&d);this.memory.Cc(d,c.start);this.memory.Cc(d+4,a);this.Z|=1;this.s.v(this.Ha)}};function Yc(){this.yd={};this.b=void 0}Yc.prototype.register=function(a,c,d){var e=this.yd[a];void 0===e&&(e=this.yd[a]=[]);e.push({Ve:c,ih:d})};Yc.prototype.unregister=function(a,c){var d=this.yd[a];void 0!==d&&(this.yd[a]=d.filter(function(a){return a.Ve!==c}))};Yc.prototype.send=function(a,c){if(this.b&&(a=this.b.yd[a],void 0!==a))for(var d=0;d<a.length;d++){var e=a[d];e.Ve.call(e.ih,c)}};function Zc(){var a=new Yc,c=new Yc;a.b=c;c.b=a;return[a,c]};[[1,""],[2,"CPU"],[32768,"DISK"],[4,"FPU"],[8,"MEM"],[16,"DMA"],[32,"IO"],[64,"PS2"],[128,"PIC"],[256,"VGA"],[512,"PIT"],[1024,"MOUS"],[2048,"PCI"],[4096,"BIOS"],[8192,"CD"],[16384,"SERI"],[65536,"RTC"],[131072,"HPET"],[262144,"ACPI"],[524288,"APIC"],[1048576,"NET"],[2097152,"VIO"],[4194304,"9P"]].reduce(function(a,c){a[c[0]]=c[1];return a},{});function v(){this.bb=0;this.yb=[];this.Ea=[];this.Qa=[];this.N=new Int32Array(1048576);this.Kb=new Uint8Array(1048576);this.Id=new Uint8Array(1048576);this.qa=!1;this.$b=this.Nc=this.ac=this.Oc=0;this.K=!1;this.G=new Int32Array(8);this.G[0]=0;this.G[2]=0;this.G[3]=0;this.Ad=this.O=this.G[4]=0;this.Pc=this.la=this.gb=this.Da=this.Na=!1;this.H={jc:{zb:function(){},cb:function(){}},Bd:{zb:function(){},cb:function(){}}};this.D=this.o=this.f=this.Jd=this.F=this.m=this.T=this.Wa=this.Va=this.u=this.h=this.ca=
|
||||
this.Zc=this.$c=this.Ac=this.aa=this.Sc=this.L=this.Gb=0;this.j=this.l;this.B=this.I=this.M=0;this.table=[];this.X=!1;this.ga=this.w=0;this.Hc={cf:null,jc:null};this.V=0;this.a=new Int32Array(8);this.Wc=new Uint32Array(this.a.buffer);this.yc=new Int16Array(this.a.buffer);this.l=new Uint16Array(this.a.buffer);this.be=new Int8Array(this.a.buffer);this.C=new Uint8Array(this.a.buffer);this.R=new Uint16Array(8);this.nc=new Int32Array(8);this.memory=null;this.ya=-1;this.Ba=this.A=void 0;$c(this);ad(this);
|
||||
this.Jd=Oa();bd(this)}l=v.prototype;
|
||||
l.La=function(){var a=[];a[0]=this.bb;a[1]=this.yb;a[2]=this.Ea;a[3]=this.Qa;a[4]=this.qa;a[5]=this.ac;a[6]=this.Oc;a[7]=this.$b;a[8]=this.Nc;a[9]=this.K;a[10]=this.G;a[11]=this.O;a[12]=this.Ad;a[13]=this.Na;a[14]=this.Da;a[15]=this.la;a[16]=this.gb;a[17]=this.Pc;a[18]=this.Gb;a[19]=this.L;a[20]=this.Sc;a[21]=this.aa;a[22]=this.Ac;a[23]=this.Zc;a[24]=this.$c;a[25]=this.ca;a[26]=this.h;a[27]=this.u;a[28]=this.Va;a[29]=this.Wa;a[30]=this.T;a[31]=this.m;a[32]=this.f;a[36]=this.X;a[37]=this.w;a[38]=this.ga;
|
||||
a[39]=this.a;a[40]=this.R;a[41]=this.nc;a[42]=this.memory;a[43]=this.Ba;a[45]=this.H.he;a[47]=this.H.fc;a[48]=this.H.Tc;a[49]=this.H.Lc;a[51]=this.H.cg;a[52]=this.H.jc;a[53]=this.H.Bd;a[54]=this.H.Af;a[55]=this.H.Te;a[56]=this.H.Ka;a[57]=this.H.Ma;a[58]=this.H.$d;a[59]=this.H.gf;a[60]=this.H.ec;return a};
|
||||
l.Ra=function(a){this.bb=a[0];this.yb=a[1];this.Ea=a[2];this.Qa=a[3];this.qa=a[4];this.ac=a[5];this.Oc=a[6];this.$b=a[7];this.Nc=a[8];this.K=a[9];this.G=a[10];this.O=a[11];this.Ad=a[12];this.Na=a[13];this.Da=a[14];this.la=a[15];this.gb=a[16];this.Pc=a[17];this.Gb=a[18];this.L=a[19];this.Sc=a[20];this.aa=a[21];this.Ac=a[22];this.Zc=a[23];this.$c=a[24];this.ca=a[25];this.h=a[26];this.u=a[27];this.Va=a[28];this.Wa=a[29];this.T=a[30];this.m=a[31];this.f=a[32];this.X=a[36];this.w=a[37];this.ga=a[38];this.a=
|
||||
a[39];this.R=a[40];this.nc=a[41];this.memory=a[42];this.Ba=a[43];this.H.he=a[45];this.H.fc=a[47];this.H.Tc=a[48];this.H.Lc=a[49];this.H.cg=a[51];this.H.jc=a[52];this.H.Bd=a[53];this.H.Af=a[54];this.H.Te=a[55];this.H.Ka=a[56];this.H.Ma=a[57];this.H.$d=a[58];this.H.gf=a[59];this.H.ec=a[60];cd(this);this.Wc=new Uint32Array(this.a.buffer);this.yc=new Int16Array(this.a.buffer);this.l=new Uint16Array(this.a.buffer);this.be=new Int8Array(this.a.buffer);this.C=new Uint8Array(this.a.buffer);$c(this);ad(this)};
|
||||
l.ue=function(a){if(233495534===a)this.K=!1,dd(this);else throw console.log(a),console.log(a.stack),a;};
|
||||
l.reset=function(){this.yb=new Uint8Array(8);this.Qa=new Uint32Array(8);this.Ea=new Int32Array(8);cd(this);this.a=new Int32Array(8);this.Wc=new Uint32Array(this.a.buffer);this.yc=new Int16Array(this.a.buffer);this.l=new Uint16Array(this.a.buffer);this.be=new Int8Array(this.a.buffer);this.C=new Uint8Array(this.a.buffer);this.R=new Uint16Array(8);this.nc=new Int32Array(8);this.qa=!1;this.$b=this.Nc=this.ac=this.Oc=0;this.K=!1;this.G[0]=1610612752;this.G[2]=0;this.G[3]=0;this.G[4]=0;this.nc[6]=-61456;
|
||||
this.nc[7]=1024;this.O=0;this.X=!1;this.Ad=0;this.la=this.gb=this.Da=this.Na=!1;this.Sc=this.Gb=-1;ad(this);$c(this);this.ga=this.V=0;this.Pc=!1;this.Zc=this.$c=this.Ac=0;this.ya=-1;this.ca=0;this.h=2;this.T=this.Wa=this.Va=this.m=this.F=this.u=0;this.Jd=Oa();this.w=1048560;B(this,1,61440);B(this,2,48);this.l[8]=256;this.H.he&&this.H.he.reset()};l.Ne=function(a,c){this.bb=a;this.memory=new hc(this.bb,c)};v.prototype.create_memory=v.prototype.Ne;
|
||||
v.prototype.ob=function(a,c){this.Ne(a.bb||67108864,a.jg);this.reset();var d=new Ba(this.memory);this.A=d;this.Hc.cf=a.Hc;this.Hc.jc=a.mh;Ma(this);var e=0;p(d,179,this,function(){return 0});p(d,146,this,function(){return e});q(d,146,this,function(a){e=a});this.H={};a.gg&&(this.H.ec=new Dc(this),this.H.Tc=new ac(this),this.H.fc=new Hc(this),ed(this,this.H.fc,a),this.H.Lc=new oc(this),this.H.jc=new vc(this,c,a.Ca||8388608),this.Ba=new cb(this),this.H.Bd=new zc(this,c),this.H.Af=new Jc(this,1016,c),
|
||||
this.H.Te=new cc(this,a.Oa),d=0,a.Ma&&(this.H.Ma=new xb(this,a.Ma,!1,d++,c)),a.Ka&&(this.H.Ka=new xb(this,a.Ka,!0,d++,c)),a.Vd&&(this.H.Vd=new xb(this,a.Vd,!1,d++,c)),this.H.$d=new qc(this),a.Xf&&(this.H.gf=new Sc(this,c)),a.Zb&&(this.H.he=new Wc(this,c,a.Zb)))};
|
||||
function ed(a,c,d){d=d.Ic||531;c.ea[56]=1|d>>4&240;c.ea[61]=d&255;c.ea[21]=128;c.ea[22]=2;d=0;1048576<=a.bb&&(d=a.bb-1048576>>10,d=Math.min(d,65535));c.ea[23]=d&255;c.ea[24]=d>>8&255;c.ea[48]=d&255;c.ea[49]=d>>8&255;d=0;16777216<=a.bb&&(d=a.bb-16777216>>16,d=Math.min(d,65535));c.ea[52]=d&255;c.ea[53]=d>>8&255;c.ea[91]=0;c.ea[92]=0;c.ea[93]=0;c.ea[20]=47;c.ea[95]=0}
|
||||
function Ma(a){var c=a.Hc.cf,d=a.Hc.jc;if(c){var e=new Uint8Array(c);a.memory.fa.set(e,1048576-c.byteLength);d&&(e=new Uint8Array(d),a.memory.fa.set(e,786432));Ca(a.A,4293918720,1048576,function(a){return this.memory.fa[a&1048575]}.bind(a),function(a,c){this.memory.fa[a&1048575]=c}.bind(a))}}v.prototype.W=function(){for(var a=Oa(),c=a;33>c-a;){this.H.$d.zb(c,!1);this.H.fc.zb(c,!1);Fc(this);for(c=11001;c--;)fd(this);c=Oa()}};
|
||||
"undefined"!==typeof window&&(window.b=v.prototype.W,window.g=v.prototype.ue,window.m=v.prototype.ba);function fd(a){a.ga=a.w;a.V++;var c=C(a);a.table[c](a)}v.prototype.Jf=function(){try{fd(this)}catch(a){this.ue(a)}};v.prototype.cycle=v.prototype.Jf;function gd(a){a.table[C(a)](a)}v.prototype.ba=function(){var a=Oa();this.H.$d.zb(a,!1);this.H.fc.zb(a,!1);return 0};function dd(a){a.ca=0;a.ya=-1;a.la!==a.Na&&(a.la=a.Na,$c(a));a.Da!==a.Na&&(a.Da=a.Na,ad(a))}
|
||||
function hd(a){var c=-2147483648===(a.G[0]&-2147483648);a.Ba||(a.G[0]|=4);a.G[0]|=16;c!==a.X&&(a.X=c,cd(a))}function id(a){a.Gb=-1;a.Sc=-1}function C(a){a.w&-4096^a.Gb&&(a.L=jd(a,a.w)^a.w,a.Gb=a.w&-4096);var c=a.memory.da(a.L^a.w);a.w=a.w+1|0;return c}function D(a){return C(a)<<24>>24}function E(a){if(4094<(a.w^a.Gb)>>>0)return C(a)|C(a)<<8;var c=a.memory.ma(a.L^a.w);a.w=a.w+2|0;return c}function H(a){if(4092<(a.w^a.Gb)>>>0)return E(a)|E(a)<<16;var c=$b(a.memory,a.L^a.w);a.w=a.w+4|0;return c}
|
||||
function kd(a,c,d,e){a.memory.sa(c,e);a.memory.sa(d,e>>24);c&1?c&2?(a.memory.sa(d-2,e>>8),a.memory.sa(d-1,e>>16)):(a.memory.sa(c+1|0,e>>8),a.memory.sa(c+2|0,e>>16)):(a.memory.sa(c+1|0,e>>8),a.memory.sa(d-1,e>>16))}function ld(a,c){return a.memory.da(jd(a,c))}function y(a,c){return a.X&&4095===(c&4095)?ld(a,c)|ld(a,c+1|0)<<8:a.memory.ma(jd(a,c))}function A(a,c){return a.X&&4093<=(c&4095)?y(a,c)|y(a,c+2|0)<<16:$b(a.memory,jd(a,c))}function md(a,c,d){a.memory.sa(nd(a,c),d)}
|
||||
function mb(a,c,d){var e=nd(a,c);4095===(c&4095)?(c=nd(a,c+1|0),a.memory.sa(e,d),a.memory.sa(c,d>>8)):a.memory.ad(e,d)}function x(a,c,d){var e=nd(a,c);4093<=(c&4095)?kd(a,e,nd(a,c+3|0),d):a.memory.Cc(e,d)}function od(a){return a.la?pd(a,3)+H(a)|0:pd(a,3)+E(a)|0}function qd(a){return a.h>>12&3}function rd(a){return!!(a.h&131072)}function sd(a){return a.h&-2262|!!a.Pa()|!!a.Ze()<<2|!!td(a)<<4|!!a.Pb()<<6|!!a.Ud()<<7|!!a.td()<<11}function ud(a){a.h=sd(a);a.u=0}
|
||||
function vd(a,c){var d=1769472,e=2588629;a.h&131072?(d|=12288,e|=1572864):a.O&&(d|=12288,a.O>qd(a)&&(d|=512));a.h=(c^(a.h^c)&d)&e|2;a.u=0}function wd(a,c){a.gb?a.a[4]=c:a.l[8]=c}function I(a,c){a.gb?a.a[4]+=c:a.l[8]+=c}function J(a,c){return a.gb?K(a,2)+a.a[4]+c|0:K(a,2)+(a.l[8]+c&65535)|0}function xd(a){return a.w-K(a,1)|0}
|
||||
function Ec(a,c,d,e){a.Pc=!1;if(a.qa){if(rd(a)&&a.G[4]&1)throw a.debug.S("VME");rd(a)&&d&&3>qd(a)&&M(a,0);if((c<<3|7)>a.Oc)throw a.debug.S("#GP handler");var f=a.ac+(c<<3)|0;a.X&&(f=yd(a,f));var h=a.memory.ma(f)|a.memory.ma(f+6|0)<<16,r=a.memory.ma(f+2|0),k=a.memory.da(f+5|0),t=k>>5&3,f=k&31;if(!(k&128))throw a.debug.S("#NP handler");d&&t<a.O&&M(a,c<<3|2);if(5===f){h=zd(a,r);if(!h.bc||h.kb||!h.ye)throw a.debug.S("#GP handler");if(11===(h.Bb&31))throw a.debug.S("#GP handler");if(!h.Eb)throw a.debug.S("#NP handler");
|
||||
if(103>h.Ob)throw a.debug.S("#NP handler");c=a.Ea[6];d=sd(a);lb(a,c,102);x(a,c+32,xd(a));x(a,c+36,d);x(a,c+40,a.a[0]);x(a,c+44,a.a[1]);x(a,c+48,a.a[2]);x(a,c+52,a.a[3]);x(a,c+56,a.a[4]);x(a,c+60,a.a[5]);x(a,c+64,a.a[6]);x(a,c+68,a.a[7]);x(a,c+72,a.R[0]);x(a,c+76,a.R[1]);x(a,c+80,a.R[2]);x(a,c+84,a.R[3]);x(a,c+88,a.R[4]);x(a,c+92,a.R[5]);x(a,c+96,a.R[7]);a.memory.sa(h.Hd+5|0,a.memory.da(h.Hd+5|0)|2);d=h.Cb;f=A(a,d+28);a.h&=-131073;B(a,1,y(a,d+76));k=A(a,d+36);x(a,c+0,r);k|=16384;if(k&131072)throw a.debug.S("task switch to VM mode");
|
||||
vd(a,k);c=y(a,d+96);Ad(a,c);a.a[0]=A(a,d+40);a.a[1]=A(a,d+44);a.a[2]=A(a,d+48);a.a[3]=A(a,d+52);a.a[4]=A(a,d+56);a.a[5]=A(a,d+60);a.a[6]=A(a,d+64);a.a[7]=A(a,d+68);B(a,0,y(a,d+72));B(a,2,y(a,d+80));B(a,3,y(a,d+84));B(a,4,y(a,d+88));B(a,5,y(a,d+92));a.w=K(a,1)+A(a,d+32)|0;a.Ea[6]=h.Cb;a.Qa[6]=h.Ob;a.R[6]=r;a.G[3]=f;Bd(a);a.G[0]|=8;!1!==e&&N(a,e)}else{if(6!==(f&-10))throw a.debug.S("#GP handler");c=1===(f&1);d=!(f&8);f=zd(a,r);if(f.kb)throw a.debug.S("#GP handler");if(!f.oc||f.xa>a.O)throw a.debug.S("#GP handler");
|
||||
if(!f.Eb)throw a.debug.S("#NP handler");ud(a);k=a.h;if(!f.lc&&f.xa<a.O){var u=(f.xa<<3)+4|0;if((u+5|0)>a.Qa[6])throw a.debug.S("#TS handler");u=u+a.Ea[6]|0;a.X&&(u=yd(a,u));var t=$b(a.memory,u),u=a.memory.ma(u+4|0),z=zd(a,u);if(z.kb)throw a.debug.S("#TS handler");if(z.mb!==f.xa)throw a.debug.S("#TS handler");if(z.xa!==f.xa||!z.de)throw a.debug.S("#TS handler");if(!z.Eb)throw a.debug.S("#TS handler");var G=a.a[4],F=a.R[2],L=(d?2:4)*(5+(!1!==e)+4*(131072===(k&131072)));Cd(a,z.Cb+(z.size?t-L:t-L&65535));
|
||||
Cd(a,z.Cb+t-1);a.O=f.xa;id(a);a.Na!==f.size&&Dd(a,f.size);a.h&=-196609;B(a,2,u);wd(a,t);k&131072&&!d&&(N(a,a.R[5]),N(a,a.R[4]),N(a,a.R[3]),N(a,a.R[0]));d?(O(a,F),O(a,G)):(N(a,F),N(a,G))}else if(f.lc||f.xa===a.O)a.h&131072&&M(a,r&-4),L=(d?2:4)*(3+(!1!==e)),lb(a,J(a,-L),L);else throw a.debug.S("#GP handler");d?(O(a,k),O(a,a.R[1]),O(a,xd(a)),!1!==e&&O(a,e),h&=65535):(N(a,k),N(a,a.R[1]),N(a,xd(a)),!1!==e&&N(a,e));k&131072&&(B(a,5,0),B(a,4,0),B(a,3,0),B(a,0,0));a.R[1]=r&-4|a.O;a.Na!==f.size&&Dd(a,f.size);
|
||||
a.Qa[1]=f.Ob;a.Ea[1]=f.Cb;a.w=K(a,1)+h|0;a.h&=-213249;c?a.K||Fc(a):a.h&=-513}}else r=c<<2,e=a.memory.ma(r),r=a.memory.ma(r+2|0),ud(a),O(a,a.h),O(a,a.R[1]),O(a,xd(a)),a.h&=-513,B(a,1,r),a.w=K(a,1)+e|0}
|
||||
function Ed(a,c){if(c)var d=y(a,J(a,0)),e=y(a,J(a,2)),f=y(a,J(a,4));else d=A(a,J(a,0)),e=y(a,J(a,4)),f=A(a,J(a,8));if(!a.qa||rd(a)&&3===qd(a)){if(d&4294901760)throw a.debug.S("#GP handler");B(a,1,e);a.w=d+K(a,1)|0;c?(vd(a,f|a.h&-65536),I(a,6)):(vd(a,f),I(a,12))}else{rd(a)&&M(a,0);a.h&16384&&M(a,0);if(f&131072)if(a.O)f&=-131073;else{var h=A(a,J(a,12)),r=y(a,J(a,16));c=y(a,J(a,20));var k=y(a,J(a,24)),t=y(a,J(a,28)),u=y(a,J(a,32));vd(a,f);a.h|=131072;B(a,1,e);a.w=(d&65535)+K(a,1)|0;B(a,0,c);B(a,3,k);
|
||||
B(a,4,t);B(a,5,u);I(a,36);a.a[4]=h;B(a,2,r);a.O=3;id(a);Dd(a,!1);return}k=zd(a,e);if(k.kb)throw a.debug.S("is null");if(!k.Eb)throw a.debug.S("not present");if(!k.oc)throw a.debug.S("not exec");if(k.mb<a.O)throw a.debug.S("rpl < cpl");if(k.lc&&k.xa>k.mb)throw a.debug.S("conforming and dpl > rpl");k.mb>a.O?(c?(h=y(a,J(a,6)),r=y(a,J(a,8))):(h=A(a,J(a,12)),r=y(a,J(a,16))),c?vd(a,f|a.h&-65536):vd(a,f),a.O=k.mb,id(a),B(a,2,r),wd(a,h),a.O||(a.h=a.h&-1572865|f&1572864)):k.mb===a.O&&(c?(I(a,6),vd(a,f|a.h&
|
||||
-65536)):(I(a,12),vd(a,f)),a.O||(a.h=a.h&-1572865|f&1572864));a.R[1]=e;k.size!==a.Na&&Dd(a,k.size);a.Qa[1]=k.Ob;a.Ea[1]=k.Cb;a.w=d+K(a,1)|0}Fc(a)}function Fd(a,c){Ec(a,c,!1,!1);throw 233495534;}function Gd(a){a.w=a.ga;Fd(a,0)}function w(a){a.w=a.ga;Fd(a,6)}function M(a,c){a.w=a.ga;Ec(a,13,!1,c);throw 233495534;}function Hd(a){a.G[0]&12&&(a.w=a.ga,Fd(a,7))}function P(a){return pd(a,3)}function Q(a){return pd(a,2)}function pd(a,c){return-1===a.ya?K(a,c):9===a.ya?0:K(a,a.ya)}
|
||||
function K(a,c){a.qa&&a.yb[c]&&M(a,0);return a.Ea[c]}function Id(a){return 192>a.f?ld(a,a.P(a.f)):a.C[a.f<<2&12|a.f>>2&1]}function R(a){return 192>a.f?y(a,a.P(a.f)):a.l[a.f<<1&14]}function Jd(a){return 192>a.f?A(a,a.P(a.f)):a.a[a.f&7]}function Kd(a,c){if(192>a.f){var d=a.P(a.f);md(a,d,c)}else a.C[a.f<<2&12|a.f>>2&1]=c}function Ld(a,c){if(192>a.f){var d=a.P(a.f);mb(a,d,c)}else a.l[a.f<<1&14]=c}function Md(a,c){if(192>a.f){var d=a.P(a.f);x(a,d,c)}else a.a[a.f&7]=c}
|
||||
function Nd(a){if(192>a.f){var c=a.P(a.f);a.o=nd(a,c);return a.memory.da(a.o)}return a.C[a.f<<2&12|a.f>>2&1]}function Od(a,c){192>a.f?a.memory.sa(a.o,c):a.C[a.f<<2&12|a.f>>2&1]=c}function S(a){if(192>a.f){var c=a.P(a.f);a.o=nd(a,c);if(a.X&&4095===(c&4095))return a.D=nd(a,c+1|0),c=a.D,a.memory.da(a.o)|a.memory.da(c)<<8;a.D=0;return a.memory.ma(a.o)}return a.l[a.f<<1&14]}
|
||||
function T(a,c){if(192>a.f)if(a.D){var d=a.D;a.memory.sa(a.o,c);a.memory.sa(d,c>>8)}else a.memory.ad(a.o,c);else a.l[a.f<<1&14]=c}function U(a){if(192>a.f){var c=a.P(a.f);a.o=nd(a,c);if(a.X&&4093<=(c&4095)){a.D=nd(a,c+3|0);var c=a.o,d=a.D,e;c&1?e=c&2?kc(a.memory,d-2>>1):kc(a.memory,c+1>>1):(e=d-1|0,e=a.memory.da(c+1|0)|a.memory.da(e)<<8);return a.memory.da(c)|e<<8|a.memory.da(d)<<24}a.D=0;return $b(a.memory,a.o)}return a.a[a.f&7]}
|
||||
function V(a,c){192>a.f?a.D?kd(a,a.o,a.D,c):a.memory.Cc(a.o,c):a.a[a.f&7]=c}function Pd(a){return a.l[a.f<<1&14]}function Qd(a,c){a.l[a.f<<1&14]=c}function Rd(a){return a.a[a.f&7]}function Sd(a,c){a.a[a.f&7]=c}function Td(a){return a.C[a.f>>1&12|a.f>>5&1]}function Ud(a,c){a.C[a.f>>1&12|a.f>>5&1]=c}function Vd(a){return a.l[a.f>>2&14]}function Wd(a){return a.yc[a.f>>2&14]}function Xd(a,c){a.l[a.f>>2&14]=c}function W(a){return a.a[a.f>>3&7]}function Yd(a,c){a.Wc[a.f>>3&7]=c}
|
||||
function Fc(a){a.h&512&&!a.K&&(a.H.ec&&a.H.ec.md(),a.H.jd&&a.H.jd.md())}v.prototype.v=function(a){this.H.ec&&this.H.ec.Ed(a);this.H.jd&&this.H.jd.Ed(a);Ab(this,a)};function Ab(a,c){a.H.ec&&a.H.ec.nd(c);a.H.jd&&a.H.jd.nd(c)}function Zd(a,c,d){if(a.qa&&(a.O>qd(a)||a.h&131072)){var e=a.Qa[6],f=a.Ea[6];if(103<=e){var h=a.memory.ma(yd(a,f+100+2|0));if(e>=(h+((c+d-1|0)>>3)|0)&&(d=(1<<d)-1<<(c&7),c=yd(a,f+h+(c>>3)|0),!((d&65280?a.memory.ma(c):a.memory.da(c))&d)))return}M(a,0)}}
|
||||
function Dd(a,c){a.Na=a.Da=a.la=c;ad(a);$c(a)}function ad(a){a.table=a.Da?a.wa:a.ja}function $c(a){a.la?(a.j=a.a,a.M=1,a.I=6,a.B=7):(a.j=a.l,a.M=2,a.I=12,a.B=14)}
|
||||
function zd(a,c){var d=!(c&4),e=c&-8,f,h;f={mb:c&3,ye:d,kb:!1,bc:!0,Cb:0,Bb:0,h:0,type:0,xa:0,Fb:!1,Eb:!1,oc:!1,de:!1,lc:!1,size:!1,xd:!1,Ob:0,Ce:!1,Ae:!1,Hd:0,pf:0};d?(d=a.$b,h=a.Nc):(d=a.Ea[7],h=a.Qa[7]);if(!e)return f.kb=!0,f;if((c|7)>h)return f.bc=!1,f;d=d+e|0;a.X&&(d=yd(a,d));f.Hd=d;f.Cb=a.memory.ma(d+2|0)|a.memory.da(d+4|0)<<16|a.memory.da(d+7|0)<<24;f.Bb=a.memory.da(d+5|0);f.h=a.memory.da(d+6|0)>>4;f.pf=$b(a.memory,d+4|0);f.type=f.Bb&15;f.xa=f.Bb>>5&3;f.Fb=!(f.Bb&16);f.Eb=128===(f.Bb&128);
|
||||
f.oc=8===(f.Bb&8);f.de=2===(f.Bb&2);f.lc=4===(f.Bb&4);f.xd=f.lc&&f.oc;f.size=4===(f.h&4);a=a.memory.ma(d)|(a.memory.da(d+6|0)&15)<<16;f.Ob=f.h&8?(a<<12|4095)>>>0:a;f.Ce=f.de&&!f.oc;f.Ae=f.de||!f.oc;return f}
|
||||
function B(a,c,d){1===c&&(a.qa=1===(a.G[0]&1));if(!a.qa||rd(a))a.R[c]=d,a.yb[c]=0,a.Ea[c]=d<<4,2===c&&(a.gb=!1);else{var e=zd(a,d);if(2===c){e.kb&&M(a,0);e.bc&&!e.Fb&&e.mb===a.O&&e.Ce&&e.xa===a.O||M(a,d&-4);if(!e.Eb)throw a.w=a.ga,Ec(a,12,!1,d&-4),233495534;a.gb=e.size}else if(1===c){if(e.Fb)throw a.debug.S("load system segment descriptor, type = "+(e.Bb&15));e.oc||M(a,d&-4);if(!e.Eb)throw a.w=a.ga,Ec(a,11,!1,d&-4),233495534;if(e.mb>a.O)throw a.debug.S("privilege change");if(!e.lc&&e.xa<a.O)throw a.debug.S("inter privilege call");
|
||||
if(!e.lc&&e.xa!==a.O)throw a.debug.S("#GP handler");e.size!==a.Na&&Dd(a,e.size)}else{if(e.kb){a.R[c]=d;a.yb[c]=1;return}(!e.bc||e.Fb||!e.Ae||!e.xd&&(e.mb>e.xa||a.O>e.xa))&&M(a,d&-4);if(!e.Eb)throw a.w=a.ga,Ec(a,11,!1,d&-4),233495534;}a.yb[c]=0;a.Qa[c]=e.Ob;a.Ea[c]=e.Cb;a.R[c]=d}}
|
||||
function Ad(a,c){var d=zd(a,c);if(d.kb)a.Ea[7]=0,a.Qa[7]=0;else{if(!d.ye)throw a.debug.S("LDTR can only be loaded from GDT");if(!d.Eb)throw a.debug.S("#GP handler");if(!d.Fb)throw a.debug.S("#GP handler");if(2!==d.type)throw a.debug.S("#GP handler");a.Ea[7]=d.Cb;a.Qa[7]=d.Ob;a.R[7]=c}}function $d(a,c,d){c=zd(a,c);a.u&=-65;var e=c.xa<a.O||c.xa<c.mb;if(c.kb||!c.bc||(c.Fb?58817>>c.type&1||e:!c.xd&&e))return a.h&=-65,d;a.h|=64;return c.pf&16776960}
|
||||
function ae(a,c,d){c=zd(a,c);a.u&=-65;var e=c.xa<a.O||c.xa<c.mb;if(c.kb||!c.bc||(c.Fb?62833>>c.type&1||e:!c.xd&&e))return a.h&=-65,d;a.h|=64;return c.Ob|0}function Bd(a){a.Gb=-1;a.Sc=-1;a.Kb.set(a.Id)}function cd(a){for(var c=new Int32Array(a.Id.buffer),d=0;262144>d;)c[d++]=c[d++]=c[d++]=c[d++]=0;Bd(a)}function jd(a,c){if(a.X)if(3===a.O)if(a.X){var d=c>>>12;a=a.Kb[d]&4?a.N[d]^c:be(a,c,0,1)|c&4095}else a=c;else a=yd(a,c);else a=c;return a}
|
||||
function nd(a,c){if(a.X)if(3===a.O)if(a.X){var d=c>>>12;a=a.Kb[d]&8?a.N[d]^c:be(a,c,1,1)|c&4095}else a=c;else a=Cd(a,c);else a=c;return a}function Cd(a,c){if(!a.X)return c;var d=c>>>12;return a.Kb[d]&2?a.N[d]^c:be(a,c,1,0)|c&4095}function yd(a,c){if(!a.X)return c;var d=c>>>12;return a.Kb[d]&1?a.N[d]^c:be(a,c,0,0)|c&4095}
|
||||
function be(a,c,d,e){var f=c>>>12,h=(a.G[3]>>>2)+(f>>10)|0,r=a.memory.Hb[h],k=!0,t=!0;r&1||(a.G[2]=c,ce(a,d,e,0));r&2||(k=!1,d&&(e||a.G[0]&65536)&&(a.G[2]=c,ce(a,d,e,1)));r&4||(t=!1,e&&(a.G[2]=c,ce(a,d,e,1)));if(r&a.Ad)a.memory.Hb[h]=r|32|d<<6,c=r&4290772992|c&4190208,r&=256;else{var u=((r&4294963200)>>>2)+(f&1023)|0,z=a.memory.Hb[u];z&1||(a.G[2]=c,ce(a,d,e,0));z&2||(k=!1,d&&(e||a.G[0]&65536)&&(a.G[2]=c,ce(a,d,e,1)));z&4||(t=!1,e&&(a.G[2]=c,ce(a,d,e,1)));a.memory.Hb[h]=r|32;a.memory.Hb[u]=z|32|d<<
|
||||
6;c=z&4294963200;r=z&256}a.N[f]=c^f<<12;k=t?k?15:5:k?3:1;a.Kb[f]=k;r&&a.G[4]&128&&(a.Id[f]=k);return c}function lb(a,c,d){if(a.X){var e=3===a.O?1:0,f=e?8:2,h=c>>>12;a.Kb[h]&f||be(a,c,1,e);4096<=(c&4095)+d-1&&(a.Kb[h+1|0]&f||be(a,c+d-1|0,1,e))}}function ce(a,c,d,e){if(a.K)throw a.debug.S("Double fault");var f=a.G[2]>>>12;a.Kb[f]=0;a.Id[f]=0;a.w=a.ga;a.K=!0;Ec(a,14,!1,d<<2|c<<1|e);throw 233495534;};(function(){v.prototype.g=Array(192);v.prototype.b=Array(192);v.prototype.i=Array(256);v.prototype.g[0]=function(a){return P(a)+(a.l[6]+a.l[12]&65535)|0};v.prototype.g[64]=function(a){return P(a)+(a.l[6]+a.l[12]+D(a)&65535)|0};v.prototype.g[128]=function(a){return P(a)+(a.l[6]+a.l[12]+E(a)&65535)|0};v.prototype.g[1]=function(a){return P(a)+(a.l[6]+a.l[14]&65535)|0};v.prototype.g[65]=function(a){return P(a)+(a.l[6]+a.l[14]+D(a)&65535)|0};v.prototype.g[129]=function(a){return P(a)+(a.l[6]+a.l[14]+E(a)&
|
||||
65535)|0};v.prototype.g[2]=function(a){return Q(a)+(a.l[10]+a.l[12]&65535)|0};v.prototype.g[66]=function(a){return Q(a)+(a.l[10]+a.l[12]+D(a)&65535)|0};v.prototype.g[130]=function(a){return Q(a)+(a.l[10]+a.l[12]+E(a)&65535)|0};v.prototype.g[3]=function(a){return Q(a)+(a.l[10]+a.l[14]&65535)|0};v.prototype.g[67]=function(a){return Q(a)+(a.l[10]+a.l[14]+D(a)&65535)|0};v.prototype.g[131]=function(a){return Q(a)+(a.l[10]+a.l[14]+E(a)&65535)|0};v.prototype.g[4]=function(a){return P(a)+(a.l[12]&65535)|
|
||||
0};v.prototype.g[68]=function(a){return P(a)+(a.l[12]+D(a)&65535)|0};v.prototype.g[132]=function(a){return P(a)+(a.l[12]+E(a)&65535)|0};v.prototype.g[5]=function(a){return P(a)+(a.l[14]&65535)|0};v.prototype.g[69]=function(a){return P(a)+(a.l[14]+D(a)&65535)|0};v.prototype.g[133]=function(a){return P(a)+(a.l[14]+E(a)&65535)|0};v.prototype.g[6]=function(a){return Q(a)+(a.l[10]&65535)|0};v.prototype.g[70]=function(a){return Q(a)+(a.l[10]+D(a)&65535)|0};v.prototype.g[134]=function(a){return Q(a)+(a.l[10]+
|
||||
E(a)&65535)|0};v.prototype.g[7]=function(a){return P(a)+(a.l[6]&65535)|0};v.prototype.g[71]=function(a){return P(a)+(a.l[6]+D(a)&65535)|0};v.prototype.g[135]=function(a){return P(a)+(a.l[6]+E(a)&65535)|0};v.prototype.b[0]=function(a){return P(a)+a.a[0]|0};v.prototype.b[64]=function(a){return P(a)+a.a[0]+D(a)|0};v.prototype.b[128]=function(a){return P(a)+a.a[0]+H(a)|0};v.prototype.b[1]=function(a){return P(a)+a.a[1]|0};v.prototype.b[65]=function(a){return P(a)+a.a[1]+D(a)|0};v.prototype.b[129]=function(a){return P(a)+
|
||||
a.a[1]+H(a)|0};v.prototype.b[2]=function(a){return P(a)+a.a[2]|0};v.prototype.b[66]=function(a){return P(a)+a.a[2]+D(a)|0};v.prototype.b[130]=function(a){return P(a)+a.a[2]+H(a)|0};v.prototype.b[3]=function(a){return P(a)+a.a[3]|0};v.prototype.b[67]=function(a){return P(a)+a.a[3]+D(a)|0};v.prototype.b[131]=function(a){return P(a)+a.a[3]+H(a)|0};v.prototype.b[4]=function(a){return a.i[C(a)](a,!1)|0};v.prototype.b[68]=function(a){return a.i[C(a)](a,!1)+D(a)|0};v.prototype.b[132]=function(a){return a.i[C(a)](a,
|
||||
!1)+H(a)|0};v.prototype.b[5]=function(a){return Q(a)+a.a[5]|0};v.prototype.b[69]=function(a){return Q(a)+a.a[5]+D(a)|0};v.prototype.b[133]=function(a){return Q(a)+a.a[5]+H(a)|0};v.prototype.b[6]=function(a){return P(a)+a.a[6]|0};v.prototype.b[70]=function(a){return P(a)+a.a[6]+D(a)|0};v.prototype.b[134]=function(a){return P(a)+a.a[6]+H(a)|0};v.prototype.b[7]=function(a){return P(a)+a.a[7]|0};v.prototype.b[71]=function(a){return P(a)+a.a[7]+D(a)|0};v.prototype.b[135]=function(a){return P(a)+a.a[7]+
|
||||
H(a)|0};v.prototype.g[6]=function(a){return P(a)+E(a)|0};v.prototype.b[5]=function(a){return P(a)+H(a)|0};v.prototype.b[4]=function(a){return a.i[C(a)](a,!1)|0};v.prototype.b[68]=function(a){return a.i[C(a)](a,!0)+D(a)|0};v.prototype.b[132]=function(a){return a.i[C(a)](a,!0)+H(a)|0};for(var a=0;8>a;a++)for(var c=0;3>c;c++)for(var d=a|c<<6,e=1;8>e;e++)v.prototype.b[d|e<<3]=v.prototype.b[d],v.prototype.g[d|e<<3]=v.prototype.g[d];v.prototype.i[0]=function(a){return a.a[0]+P(a)+a.a[0]|0};v.prototype.i[1]=
|
||||
function(a){return a.a[0]+P(a)+a.a[1]|0};v.prototype.i[2]=function(a){return a.a[0]+P(a)+a.a[2]|0};v.prototype.i[3]=function(a){return a.a[0]+P(a)+a.a[3]|0};v.prototype.i[4]=function(a){return a.a[0]+Q(a)+a.a[4]|0};v.prototype.i[5]=function(a,c){return a.a[0]+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[6]=function(a){return a.a[0]+P(a)+a.a[6]|0};v.prototype.i[7]=function(a){return a.a[0]+P(a)+a.a[7]|0};v.prototype.i[64]=function(a){return(a.a[0]<<1)+P(a)+a.a[0]|0};v.prototype.i[65]=function(a){return(a.a[0]<<
|
||||
1)+P(a)+a.a[1]|0};v.prototype.i[66]=function(a){return(a.a[0]<<1)+P(a)+a.a[2]|0};v.prototype.i[67]=function(a){return(a.a[0]<<1)+P(a)+a.a[3]|0};v.prototype.i[68]=function(a){return(a.a[0]<<1)+Q(a)+a.a[4]|0};v.prototype.i[69]=function(a,c){return(a.a[0]<<1)+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[70]=function(a){return(a.a[0]<<1)+P(a)+a.a[6]|0};v.prototype.i[71]=function(a){return(a.a[0]<<1)+P(a)+a.a[7]|0};v.prototype.i[128]=function(a){return(a.a[0]<<2)+P(a)+a.a[0]|0};v.prototype.i[129]=function(a){return(a.a[0]<<
|
||||
2)+P(a)+a.a[1]|0};v.prototype.i[130]=function(a){return(a.a[0]<<2)+P(a)+a.a[2]|0};v.prototype.i[131]=function(a){return(a.a[0]<<2)+P(a)+a.a[3]|0};v.prototype.i[132]=function(a){return(a.a[0]<<2)+Q(a)+a.a[4]|0};v.prototype.i[133]=function(a,c){return(a.a[0]<<2)+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[134]=function(a){return(a.a[0]<<2)+P(a)+a.a[6]|0};v.prototype.i[135]=function(a){return(a.a[0]<<2)+P(a)+a.a[7]|0};v.prototype.i[192]=function(a){return(a.a[0]<<3)+P(a)+a.a[0]|0};v.prototype.i[193]=
|
||||
function(a){return(a.a[0]<<3)+P(a)+a.a[1]|0};v.prototype.i[194]=function(a){return(a.a[0]<<3)+P(a)+a.a[2]|0};v.prototype.i[195]=function(a){return(a.a[0]<<3)+P(a)+a.a[3]|0};v.prototype.i[196]=function(a){return(a.a[0]<<3)+Q(a)+a.a[4]|0};v.prototype.i[197]=function(a,c){return(a.a[0]<<3)+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[198]=function(a){return(a.a[0]<<3)+P(a)+a.a[6]|0};v.prototype.i[199]=function(a){return(a.a[0]<<3)+P(a)+a.a[7]|0};v.prototype.i[8]=function(a){return a.a[1]+P(a)+a.a[0]|0};
|
||||
v.prototype.i[9]=function(a){return a.a[1]+P(a)+a.a[1]|0};v.prototype.i[10]=function(a){return a.a[1]+P(a)+a.a[2]|0};v.prototype.i[11]=function(a){return a.a[1]+P(a)+a.a[3]|0};v.prototype.i[12]=function(a){return a.a[1]+Q(a)+a.a[4]|0};v.prototype.i[13]=function(a,c){return a.a[1]+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[14]=function(a){return a.a[1]+P(a)+a.a[6]|0};v.prototype.i[15]=function(a){return a.a[1]+P(a)+a.a[7]|0};v.prototype.i[72]=function(a){return(a.a[1]<<1)+P(a)+a.a[0]|0};v.prototype.i[73]=
|
||||
function(a){return(a.a[1]<<1)+P(a)+a.a[1]|0};v.prototype.i[74]=function(a){return(a.a[1]<<1)+P(a)+a.a[2]|0};v.prototype.i[75]=function(a){return(a.a[1]<<1)+P(a)+a.a[3]|0};v.prototype.i[76]=function(a){return(a.a[1]<<1)+Q(a)+a.a[4]|0};v.prototype.i[77]=function(a,c){return(a.a[1]<<1)+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[78]=function(a){return(a.a[1]<<1)+P(a)+a.a[6]|0};v.prototype.i[79]=function(a){return(a.a[1]<<1)+P(a)+a.a[7]|0};v.prototype.i[136]=function(a){return(a.a[1]<<2)+P(a)+a.a[0]|0};
|
||||
v.prototype.i[137]=function(a){return(a.a[1]<<2)+P(a)+a.a[1]|0};v.prototype.i[138]=function(a){return(a.a[1]<<2)+P(a)+a.a[2]|0};v.prototype.i[139]=function(a){return(a.a[1]<<2)+P(a)+a.a[3]|0};v.prototype.i[140]=function(a){return(a.a[1]<<2)+Q(a)+a.a[4]|0};v.prototype.i[141]=function(a,c){return(a.a[1]<<2)+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[142]=function(a){return(a.a[1]<<2)+P(a)+a.a[6]|0};v.prototype.i[143]=function(a){return(a.a[1]<<2)+P(a)+a.a[7]|0};v.prototype.i[200]=function(a){return(a.a[1]<<
|
||||
3)+P(a)+a.a[0]|0};v.prototype.i[201]=function(a){return(a.a[1]<<3)+P(a)+a.a[1]|0};v.prototype.i[202]=function(a){return(a.a[1]<<3)+P(a)+a.a[2]|0};v.prototype.i[203]=function(a){return(a.a[1]<<3)+P(a)+a.a[3]|0};v.prototype.i[204]=function(a){return(a.a[1]<<3)+Q(a)+a.a[4]|0};v.prototype.i[205]=function(a,c){return(a.a[1]<<3)+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[206]=function(a){return(a.a[1]<<3)+P(a)+a.a[6]|0};v.prototype.i[207]=function(a){return(a.a[1]<<3)+P(a)+a.a[7]|0};v.prototype.i[16]=function(a){return a.a[2]+
|
||||
P(a)+a.a[0]|0};v.prototype.i[17]=function(a){return a.a[2]+P(a)+a.a[1]|0};v.prototype.i[18]=function(a){return a.a[2]+P(a)+a.a[2]|0};v.prototype.i[19]=function(a){return a.a[2]+P(a)+a.a[3]|0};v.prototype.i[20]=function(a){return a.a[2]+Q(a)+a.a[4]|0};v.prototype.i[21]=function(a,c){return a.a[2]+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[22]=function(a){return a.a[2]+P(a)+a.a[6]|0};v.prototype.i[23]=function(a){return a.a[2]+P(a)+a.a[7]|0};v.prototype.i[80]=function(a){return(a.a[2]<<1)+P(a)+a.a[0]|
|
||||
0};v.prototype.i[81]=function(a){return(a.a[2]<<1)+P(a)+a.a[1]|0};v.prototype.i[82]=function(a){return(a.a[2]<<1)+P(a)+a.a[2]|0};v.prototype.i[83]=function(a){return(a.a[2]<<1)+P(a)+a.a[3]|0};v.prototype.i[84]=function(a){return(a.a[2]<<1)+Q(a)+a.a[4]|0};v.prototype.i[85]=function(a,c){return(a.a[2]<<1)+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[86]=function(a){return(a.a[2]<<1)+P(a)+a.a[6]|0};v.prototype.i[87]=function(a){return(a.a[2]<<1)+P(a)+a.a[7]|0};v.prototype.i[144]=function(a){return(a.a[2]<<
|
||||
2)+P(a)+a.a[0]|0};v.prototype.i[145]=function(a){return(a.a[2]<<2)+P(a)+a.a[1]|0};v.prototype.i[146]=function(a){return(a.a[2]<<2)+P(a)+a.a[2]|0};v.prototype.i[147]=function(a){return(a.a[2]<<2)+P(a)+a.a[3]|0};v.prototype.i[148]=function(a){return(a.a[2]<<2)+Q(a)+a.a[4]|0};v.prototype.i[149]=function(a,c){return(a.a[2]<<2)+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[150]=function(a){return(a.a[2]<<2)+P(a)+a.a[6]|0};v.prototype.i[151]=function(a){return(a.a[2]<<2)+P(a)+a.a[7]|0};v.prototype.i[208]=
|
||||
function(a){return(a.a[2]<<3)+P(a)+a.a[0]|0};v.prototype.i[209]=function(a){return(a.a[2]<<3)+P(a)+a.a[1]|0};v.prototype.i[210]=function(a){return(a.a[2]<<3)+P(a)+a.a[2]|0};v.prototype.i[211]=function(a){return(a.a[2]<<3)+P(a)+a.a[3]|0};v.prototype.i[212]=function(a){return(a.a[2]<<3)+Q(a)+a.a[4]|0};v.prototype.i[213]=function(a,c){return(a.a[2]<<3)+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[214]=function(a){return(a.a[2]<<3)+P(a)+a.a[6]|0};v.prototype.i[215]=function(a){return(a.a[2]<<3)+P(a)+a.a[7]|
|
||||
0};v.prototype.i[24]=function(a){return a.a[3]+P(a)+a.a[0]|0};v.prototype.i[25]=function(a){return a.a[3]+P(a)+a.a[1]|0};v.prototype.i[26]=function(a){return a.a[3]+P(a)+a.a[2]|0};v.prototype.i[27]=function(a){return a.a[3]+P(a)+a.a[3]|0};v.prototype.i[28]=function(a){return a.a[3]+Q(a)+a.a[4]|0};v.prototype.i[29]=function(a,c){return a.a[3]+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[30]=function(a){return a.a[3]+P(a)+a.a[6]|0};v.prototype.i[31]=function(a){return a.a[3]+P(a)+a.a[7]|0};v.prototype.i[88]=
|
||||
function(a){return(a.a[3]<<1)+P(a)+a.a[0]|0};v.prototype.i[89]=function(a){return(a.a[3]<<1)+P(a)+a.a[1]|0};v.prototype.i[90]=function(a){return(a.a[3]<<1)+P(a)+a.a[2]|0};v.prototype.i[91]=function(a){return(a.a[3]<<1)+P(a)+a.a[3]|0};v.prototype.i[92]=function(a){return(a.a[3]<<1)+Q(a)+a.a[4]|0};v.prototype.i[93]=function(a,c){return(a.a[3]<<1)+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[94]=function(a){return(a.a[3]<<1)+P(a)+a.a[6]|0};v.prototype.i[95]=function(a){return(a.a[3]<<1)+P(a)+a.a[7]|0};
|
||||
v.prototype.i[152]=function(a){return(a.a[3]<<2)+P(a)+a.a[0]|0};v.prototype.i[153]=function(a){return(a.a[3]<<2)+P(a)+a.a[1]|0};v.prototype.i[154]=function(a){return(a.a[3]<<2)+P(a)+a.a[2]|0};v.prototype.i[155]=function(a){return(a.a[3]<<2)+P(a)+a.a[3]|0};v.prototype.i[156]=function(a){return(a.a[3]<<2)+Q(a)+a.a[4]|0};v.prototype.i[157]=function(a,c){return(a.a[3]<<2)+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[158]=function(a){return(a.a[3]<<2)+P(a)+a.a[6]|0};v.prototype.i[159]=function(a){return(a.a[3]<<
|
||||
2)+P(a)+a.a[7]|0};v.prototype.i[216]=function(a){return(a.a[3]<<3)+P(a)+a.a[0]|0};v.prototype.i[217]=function(a){return(a.a[3]<<3)+P(a)+a.a[1]|0};v.prototype.i[218]=function(a){return(a.a[3]<<3)+P(a)+a.a[2]|0};v.prototype.i[219]=function(a){return(a.a[3]<<3)+P(a)+a.a[3]|0};v.prototype.i[220]=function(a){return(a.a[3]<<3)+Q(a)+a.a[4]|0};v.prototype.i[221]=function(a,c){return(a.a[3]<<3)+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[222]=function(a){return(a.a[3]<<3)+P(a)+a.a[6]|0};v.prototype.i[223]=
|
||||
function(a){return(a.a[3]<<3)+P(a)+a.a[7]|0};v.prototype.i[32]=function(a){return P(a)+a.a[0]|0};v.prototype.i[33]=function(a){return P(a)+a.a[1]|0};v.prototype.i[34]=function(a){return P(a)+a.a[2]|0};v.prototype.i[35]=function(a){return P(a)+a.a[3]|0};v.prototype.i[36]=function(a){return Q(a)+a.a[4]|0};v.prototype.i[37]=function(a,c){return(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[38]=function(a){return P(a)+a.a[6]|0};v.prototype.i[39]=function(a){return P(a)+a.a[7]|0};v.prototype.i[96]=function(a){return P(a)+
|
||||
a.a[0]|0};v.prototype.i[97]=function(a){return P(a)+a.a[1]|0};v.prototype.i[98]=function(a){return P(a)+a.a[2]|0};v.prototype.i[99]=function(a){return P(a)+a.a[3]|0};v.prototype.i[100]=function(a){return Q(a)+a.a[4]|0};v.prototype.i[101]=function(a,c){return(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[102]=function(a){return P(a)+a.a[6]|0};v.prototype.i[103]=function(a){return P(a)+a.a[7]|0};v.prototype.i[160]=function(a){return P(a)+a.a[0]|0};v.prototype.i[161]=function(a){return P(a)+a.a[1]|0};v.prototype.i[162]=
|
||||
function(a){return P(a)+a.a[2]|0};v.prototype.i[163]=function(a){return P(a)+a.a[3]|0};v.prototype.i[164]=function(a){return Q(a)+a.a[4]|0};v.prototype.i[165]=function(a,c){return(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[166]=function(a){return P(a)+a.a[6]|0};v.prototype.i[167]=function(a){return P(a)+a.a[7]|0};v.prototype.i[224]=function(a){return P(a)+a.a[0]|0};v.prototype.i[225]=function(a){return P(a)+a.a[1]|0};v.prototype.i[226]=function(a){return P(a)+a.a[2]|0};v.prototype.i[227]=function(a){return P(a)+
|
||||
a.a[3]|0};v.prototype.i[228]=function(a){return Q(a)+a.a[4]|0};v.prototype.i[229]=function(a,c){return(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[230]=function(a){return P(a)+a.a[6]|0};v.prototype.i[231]=function(a){return P(a)+a.a[7]|0};v.prototype.i[40]=function(a){return a.a[5]+P(a)+a.a[0]|0};v.prototype.i[41]=function(a){return a.a[5]+P(a)+a.a[1]|0};v.prototype.i[42]=function(a){return a.a[5]+P(a)+a.a[2]|0};v.prototype.i[43]=function(a){return a.a[5]+P(a)+a.a[3]|0};v.prototype.i[44]=function(a){return a.a[5]+
|
||||
Q(a)+a.a[4]|0};v.prototype.i[45]=function(a,c){return a.a[5]+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[46]=function(a){return a.a[5]+P(a)+a.a[6]|0};v.prototype.i[47]=function(a){return a.a[5]+P(a)+a.a[7]|0};v.prototype.i[104]=function(a){return(a.a[5]<<1)+P(a)+a.a[0]|0};v.prototype.i[105]=function(a){return(a.a[5]<<1)+P(a)+a.a[1]|0};v.prototype.i[106]=function(a){return(a.a[5]<<1)+P(a)+a.a[2]|0};v.prototype.i[107]=function(a){return(a.a[5]<<1)+P(a)+a.a[3]|0};v.prototype.i[108]=function(a){return(a.a[5]<<
|
||||
1)+Q(a)+a.a[4]|0};v.prototype.i[109]=function(a,c){return(a.a[5]<<1)+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[110]=function(a){return(a.a[5]<<1)+P(a)+a.a[6]|0};v.prototype.i[111]=function(a){return(a.a[5]<<1)+P(a)+a.a[7]|0};v.prototype.i[168]=function(a){return(a.a[5]<<2)+P(a)+a.a[0]|0};v.prototype.i[169]=function(a){return(a.a[5]<<2)+P(a)+a.a[1]|0};v.prototype.i[170]=function(a){return(a.a[5]<<2)+P(a)+a.a[2]|0};v.prototype.i[171]=function(a){return(a.a[5]<<2)+P(a)+a.a[3]|0};v.prototype.i[172]=
|
||||
function(a){return(a.a[5]<<2)+Q(a)+a.a[4]|0};v.prototype.i[173]=function(a,c){return(a.a[5]<<2)+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[174]=function(a){return(a.a[5]<<2)+P(a)+a.a[6]|0};v.prototype.i[175]=function(a){return(a.a[5]<<2)+P(a)+a.a[7]|0};v.prototype.i[232]=function(a){return(a.a[5]<<3)+P(a)+a.a[0]|0};v.prototype.i[233]=function(a){return(a.a[5]<<3)+P(a)+a.a[1]|0};v.prototype.i[234]=function(a){return(a.a[5]<<3)+P(a)+a.a[2]|0};v.prototype.i[235]=function(a){return(a.a[5]<<3)+P(a)+a.a[3]|
|
||||
0};v.prototype.i[236]=function(a){return(a.a[5]<<3)+Q(a)+a.a[4]|0};v.prototype.i[237]=function(a,c){return(a.a[5]<<3)+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[238]=function(a){return(a.a[5]<<3)+P(a)+a.a[6]|0};v.prototype.i[239]=function(a){return(a.a[5]<<3)+P(a)+a.a[7]|0};v.prototype.i[48]=function(a){return a.a[6]+P(a)+a.a[0]|0};v.prototype.i[49]=function(a){return a.a[6]+P(a)+a.a[1]|0};v.prototype.i[50]=function(a){return a.a[6]+P(a)+a.a[2]|0};v.prototype.i[51]=function(a){return a.a[6]+P(a)+
|
||||
a.a[3]|0};v.prototype.i[52]=function(a){return a.a[6]+Q(a)+a.a[4]|0};v.prototype.i[53]=function(a,c){return a.a[6]+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[54]=function(a){return a.a[6]+P(a)+a.a[6]|0};v.prototype.i[55]=function(a){return a.a[6]+P(a)+a.a[7]|0};v.prototype.i[112]=function(a){return(a.a[6]<<1)+P(a)+a.a[0]|0};v.prototype.i[113]=function(a){return(a.a[6]<<1)+P(a)+a.a[1]|0};v.prototype.i[114]=function(a){return(a.a[6]<<1)+P(a)+a.a[2]|0};v.prototype.i[115]=function(a){return(a.a[6]<<1)+
|
||||
P(a)+a.a[3]|0};v.prototype.i[116]=function(a){return(a.a[6]<<1)+Q(a)+a.a[4]|0};v.prototype.i[117]=function(a,c){return(a.a[6]<<1)+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[118]=function(a){return(a.a[6]<<1)+P(a)+a.a[6]|0};v.prototype.i[119]=function(a){return(a.a[6]<<1)+P(a)+a.a[7]|0};v.prototype.i[176]=function(a){return(a.a[6]<<2)+P(a)+a.a[0]|0};v.prototype.i[177]=function(a){return(a.a[6]<<2)+P(a)+a.a[1]|0};v.prototype.i[178]=function(a){return(a.a[6]<<2)+P(a)+a.a[2]|0};v.prototype.i[179]=function(a){return(a.a[6]<<
|
||||
2)+P(a)+a.a[3]|0};v.prototype.i[180]=function(a){return(a.a[6]<<2)+Q(a)+a.a[4]|0};v.prototype.i[181]=function(a,c){return(a.a[6]<<2)+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[182]=function(a){return(a.a[6]<<2)+P(a)+a.a[6]|0};v.prototype.i[183]=function(a){return(a.a[6]<<2)+P(a)+a.a[7]|0};v.prototype.i[240]=function(a){return(a.a[6]<<3)+P(a)+a.a[0]|0};v.prototype.i[241]=function(a){return(a.a[6]<<3)+P(a)+a.a[1]|0};v.prototype.i[242]=function(a){return(a.a[6]<<3)+P(a)+a.a[2]|0};v.prototype.i[243]=
|
||||
function(a){return(a.a[6]<<3)+P(a)+a.a[3]|0};v.prototype.i[244]=function(a){return(a.a[6]<<3)+Q(a)+a.a[4]|0};v.prototype.i[245]=function(a,c){return(a.a[6]<<3)+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[246]=function(a){return(a.a[6]<<3)+P(a)+a.a[6]|0};v.prototype.i[247]=function(a){return(a.a[6]<<3)+P(a)+a.a[7]|0};v.prototype.i[56]=function(a){return a.a[7]+P(a)+a.a[0]|0};v.prototype.i[57]=function(a){return a.a[7]+P(a)+a.a[1]|0};v.prototype.i[58]=function(a){return a.a[7]+P(a)+a.a[2]|0};v.prototype.i[59]=
|
||||
function(a){return a.a[7]+P(a)+a.a[3]|0};v.prototype.i[60]=function(a){return a.a[7]+Q(a)+a.a[4]|0};v.prototype.i[61]=function(a,c){return a.a[7]+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[62]=function(a){return a.a[7]+P(a)+a.a[6]|0};v.prototype.i[63]=function(a){return a.a[7]+P(a)+a.a[7]|0};v.prototype.i[120]=function(a){return(a.a[7]<<1)+P(a)+a.a[0]|0};v.prototype.i[121]=function(a){return(a.a[7]<<1)+P(a)+a.a[1]|0};v.prototype.i[122]=function(a){return(a.a[7]<<1)+P(a)+a.a[2]|0};v.prototype.i[123]=
|
||||
function(a){return(a.a[7]<<1)+P(a)+a.a[3]|0};v.prototype.i[124]=function(a){return(a.a[7]<<1)+Q(a)+a.a[4]|0};v.prototype.i[125]=function(a,c){return(a.a[7]<<1)+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[126]=function(a){return(a.a[7]<<1)+P(a)+a.a[6]|0};v.prototype.i[127]=function(a){return(a.a[7]<<1)+P(a)+a.a[7]|0};v.prototype.i[184]=function(a){return(a.a[7]<<2)+P(a)+a.a[0]|0};v.prototype.i[185]=function(a){return(a.a[7]<<2)+P(a)+a.a[1]|0};v.prototype.i[186]=function(a){return(a.a[7]<<2)+P(a)+a.a[2]|
|
||||
0};v.prototype.i[187]=function(a){return(a.a[7]<<2)+P(a)+a.a[3]|0};v.prototype.i[188]=function(a){return(a.a[7]<<2)+Q(a)+a.a[4]|0};v.prototype.i[189]=function(a,c){return(a.a[7]<<2)+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[190]=function(a){return(a.a[7]<<2)+P(a)+a.a[6]|0};v.prototype.i[191]=function(a){return(a.a[7]<<2)+P(a)+a.a[7]|0};v.prototype.i[248]=function(a){return(a.a[7]<<3)+P(a)+a.a[0]|0};v.prototype.i[249]=function(a){return(a.a[7]<<3)+P(a)+a.a[1]|0};v.prototype.i[250]=function(a){return(a.a[7]<<
|
||||
3)+P(a)+a.a[2]|0};v.prototype.i[251]=function(a){return(a.a[7]<<3)+P(a)+a.a[3]|0};v.prototype.i[252]=function(a){return(a.a[7]<<3)+Q(a)+a.a[4]|0};v.prototype.i[253]=function(a,c){return(a.a[7]<<3)+(c?Q(a)+a.a[5]:P(a)+H(a))|0};v.prototype.i[254]=function(a){return(a.a[7]<<3)+P(a)+a.a[6]|0};v.prototype.i[255]=function(a){return(a.a[7]<<3)+P(a)+a.a[7]|0};v.prototype.P=function(a){return 192>a?(this.la?this.b:this.g)[a](this):-1}})();function de(a,c){return 0>a?(c&4095)>>(-a>>1):(~c&4095)>>a}function ee(a,c,d){return Math.min(de(a,c),de(a,d))}function fe(a){var c=a.l[4];Zd(a,c,1);var d=K(a,0)+a.j[a.B]|0,e=a.h&1024?-1:1;if(0!==a.ca){var f=a.j[a.M]>>>0;if(f){var h=f,r=4096,k=nd(a,d);a.X&&(r=de(e,d));do a.memory.sa(k,Ha(a.A,c)),k+=e,d=!!--f;while(d&&r--);a.j[a.B]+=e*(h-f)|0;a.j[a.M]=f;a.V+=h-f;d&&fe(a)}}else md(a,d,Ha(a.A,c)),a.j[a.B]+=e}
|
||||
function ge(a){var c=a.l[4];Zd(a,c,2);var d=K(a,0)+a.j[a.B]|0,e=a.h&1024?-2:2;if(0!==a.ca){var f=a.j[a.M]>>>0;if(f){var h,r=f,k=4096;if(d&1){do mb(a,d,Ia(a.A,c)),d+=e,a.j[a.B]+=e,h=!!--a.j[a.M];while(h&&k--)}else{var t=0>e?-1:1,u=nd(a,d)>>1;a.X&&(k=de(e,d));do mc(a.memory,u,Ia(a.A,c)),u+=t,h=!!--f;while(h&&k--);a.j[a.B]+=e*(r-f)|0;a.j[a.M]=f;a.V+=r-f}h&&ge(a)}}else mb(a,d,Ia(a.A,c)),a.j[a.B]+=e}
|
||||
function he(a){var c=a.l[4];Zd(a,c,4);var d=K(a,0)+a.j[a.B]|0,e=a.h&1024?-4:4;if(0!==a.ca){var f=a.j[a.M]>>>0;if(f){var h,r=f,k=4096;if(d&3){do x(a,d,Ja(a.A,c)),d+=e,a.j[a.B]+=e,h=!!--a.j[a.M];while(h&&k--)}else{var t=0>e?-1:1,u=nd(a,d)>>>2;a.X&&(k=de(e,d));do nc(a.memory,u,Ja(a.A,c)),u+=t,h=!!--f;while(h&&k--);a.j[a.B]+=e*(r-f)|0;a.j[a.M]=f;a.V+=r-f}h&&he(a)}}else x(a,d,Ja(a.A,c)),a.j[a.B]+=e}
|
||||
function ie(a){var c=a.l[4];Zd(a,c,1);var d=pd(a,3)+a.j[a.I]|0,e=a.h&1024?-1:1;if(0!==a.ca){var f=a.j[a.M]>>>0;if(f){var h=f,r=4096,k=jd(a,d);a.X&&(r=de(e,d));do Ea(a.A,c,a.memory.da(k)),k+=e,d=!!--f;while(d&&r--);a.j[a.I]+=e*(h-f)|0;a.j[a.M]=f;a.V+=h-f;d&&ie(a)}}else Ea(a.A,c,ld(a,d)),a.j[a.I]+=e}
|
||||
function je(a){var c=a.l[4];Zd(a,c,2);var d=pd(a,3)+a.j[a.I]|0,e=a.h&1024?-2:2;if(0!==a.ca){var f=a.j[a.M]>>>0;if(f){var h,r=f,k=4096;if(d&1){do Fa(a.A,c,y(a,d)),d+=e,a.j[a.I]+=e,h=!!--a.j[a.M];while(h&&k--)}else{var t=0>e?-1:1,u=jd(a,d)>>1;a.X&&(k=de(e,d));do Fa(a.A,c,kc(a.memory,u)),u+=t,h=!!--f;while(h&&k--);a.j[a.I]+=e*(r-f)|0;a.j[a.M]=f;a.V+=r-f}h&&je(a)}}else Fa(a.A,c,y(a,d)),a.j[a.I]+=e}
|
||||
function ke(a){var c=a.l[4];Zd(a,c,4);var d=pd(a,3)+a.j[a.I]|0,e=a.h&1024?-4:4;if(0!==a.ca){var f=a.j[a.M]>>>0;if(f){var h,r=f,k=4096;if(d&3){do Ga(a.A,c,A(a,d)),d+=e,a.j[a.I]+=e,h=!!--a.j[a.M];while(h&&k--)}else{var t=0>e?-1:1,u=jd(a,d)>>>2;a.X&&(k=de(e,d));do Ga(a.A,c,lc(a.memory,u)),u+=t,h=!!--f;while(h&&k--);a.j[a.I]+=e*(r-f)|0;a.j[a.M]=f;a.V+=r-f}h&&ke(a)}}else Ga(a.A,c,A(a,d)),a.j[a.I]+=e};function le(a,c,d){return a.add(c,d,7)}function me(a,c,d){return a.add(c,d,15)}function ne(a,c,d){return a.add(c,d,31)}function oe(a,c,d){return pe(a,c,d,7)}function qe(a,c,d){return pe(a,c,d,15)}function ye(a,c,d){return pe(a,c,d,31)}function ze(a,c,d){return Ae(a,c,d,7)}function Be(a,c,d){return Ae(a,c,d,15)}function Ce(a,c,d){return Ae(a,c,d,31)}function De(a,c,d){return Ee(a,c,d,7)}function Fe(a,c,d){return Ee(a,c,d,15)}function Ge(a,c,d){return Ee(a,c,d,31)}
|
||||
v.prototype.add=function(a,c,d){this.Va=a;this.Wa=c;this.m=this.F=a+c|0;this.T=d;this.u=2261;return this.F};function pe(a,c,d,e){var f=a.Pa();a.Va=c;a.Wa=d;a.m=a.F=(c+d|0)+f|0;a.T=e;a.u=2261;return a.F}function Ae(a,c,d,e){a.m=c;a.Wa=d;a.Va=a.F=c-d|0;a.T=e;a.u=2261;return a.F}function Ee(a,c,d,e){var f=a.Pa();a.m=c;a.Wa=d;a.Va=a.F=c-d-f|0;a.T=e;a.u=2261;return a.F}function He(a,c,d){a.h=a.h&-2|a.Pa();a.Va=c;a.Wa=1;a.m=a.F=c+1|0;a.T=d;a.u=2260;return a.F}
|
||||
function Ie(a,c,d){a.h=a.h&-2|a.Pa();a.m=c;a.Wa=1;a.Va=a.F=c-1|0;a.T=d;a.u=2260;return a.F}function Je(a,c,d){a.Va=a.F=-c|0;a.u=2261;a.m=0;a.Wa=c;a.T=d;return a.F}function Ke(a,c,d){c*=d;a.F=c&65535;a.T=15;a.h=32767<c||-32768>c?a.h|2049:a.h&-2050;a.u=212;return c}var Le=new Int32Array(2);function Me(a,c){var d=a&65535;a>>>=16;var e=c&65535;c>>>=16;var f=d*e,e=(f>>>16)+(a*e|0)|0,h=e>>>16,e=(e&65535)+(d*c|0)|0;Le[0]=e<<16|f&65535;Le[1]=((e>>>16)+(a*c|0)|0)+h|0;return Le}
|
||||
function Ne(a,c){var d=!1;0>a&&(d=!0,a=-a|0);0>c&&(d=!d,c=-c|0);a=Me(a,c);d&&(a[0]=-a[0]|0,a[1]=~a[1]+!a[0]|0);return a}function Oe(a,c,d){c=Ne(c,d);a.F=c[0];a.T=31;a.h=c[1]===c[0]>>31?a.h&-2050:a.h|2049;a.u=212;return c[0]}var Pe=new Float64Array(2);function Qe(a,c,d,e){(d>=e||0===e)&&Gd(a);a=0;if(1048576<d){for(var f=32,h=e;h>d;)h>>>=1,f--;for(;1048576<d;){if(d>=h){d-=h;var r=e<<f>>>0;r>c&&d--;c=c-r>>>0;a|=1<<f}f--;h>>=1}a>>>=0}c+=4294967296*d;Pe[0]=a+(c/e|0);Pe[1]=c%e;return Pe}
|
||||
function Re(a,c,d){return Se(a,c,d,7)}function Te(a,c,d){return Se(a,c,d,15)}function Ue(a,c,d){return Se(a,c,d,31)}function Ve(a,c,d){return We(a,c,d,7)}function Xe(a,c,d){return We(a,c,d,15)}function Ye(a,c,d){return We(a,c,d,31)}function Ze(a,c,d){return $e(a,c,d,7)}function af(a,c,d){return $e(a,c,d,15)}function bf(a,c,d){return $e(a,c,d,31)}function Se(a,c,d,e){a.F=c&d;a.T=e;a.h&=-2066;a.u=196;return a.F}function We(a,c,d,e){a.F=c|d;a.T=e;a.h&=-2066;a.u=196;return a.F}
|
||||
function $e(a,c,d,e){a.F=c^d;a.T=e;a.h&=-2066;a.u=196;return a.F}function cf(a,c,d){if(!d)return c;d&=7;c=c<<d|c>>8-d;a.u&=-2050;a.h=a.h&-2050|c&1|(c<<11^c<<4)&2048;return c}function df(a,c,d){if(!d)return c;d&=15;c=c<<d|c>>16-d;a.u&=-2050;a.h=a.h&-2050|c&1|(c<<11^c>>4)&2048;return c}function ef(a,c,d){if(!d)return c;c=c<<d|c>>>32-d;a.u&=-2050;a.h=a.h&-2050|c&1|(c<<11^c>>20)&2048;return c}
|
||||
function ff(a,c,d){d%=9;if(!d)return c;c=c<<d|a.Pa()<<d-1|c>>9-d;a.u&=-2050;a.h=a.h&-2050|c>>8&1|(c<<3^c<<4)&2048;return c}function gf(a,c,d){d%=17;if(!d)return c;c=c<<d|a.Pa()<<d-1|c>>17-d;a.u&=-2050;a.h=a.h&-2050|c>>16&1|(c>>5^c>>4)&2048;return c}function hf(a,c,d){if(!d)return c;var e=c<<d|a.Pa()<<d-1;1<d&&(e|=c>>>33-d);a.u&=-2050;a.h=a.h&-2050|c>>>32-d&1;a.h|=(a.h<<11^e>>20)&2048;return e}
|
||||
function jf(a,c,d){if(!d)return c;d&=7;c=c>>d|c<<8-d;a.u&=-2050;a.h=a.h&-2050|c>>7&1|(c<<4^c<<5)&2048;return c}function kf(a,c,d){if(!d)return c;d&=15;c=c>>d|c<<16-d;a.u&=-2050;a.h=a.h&-2050|c>>15&1|(c>>4^c>>3)&2048;return c}function lf(a,c,d){if(!d)return c;c=c>>>d|c<<32-d;a.u&=-2050;a.h=a.h&-2050|c>>31&1|(c>>20^c>>19)&2048;return c}function mf(a,c,d){d%=9;if(!d)return c;c=c>>d|a.Pa()<<8-d|c<<9-d;a.u&=-2050;a.h=a.h&-2050|c>>8&1|(c<<4^c<<5)&2048;return c}
|
||||
function nf(a,c,d){d%=17;if(!d)return c;c=c>>d|a.Pa()<<16-d|c<<17-d;a.u&=-2050;a.h=a.h&-2050|c>>16&1|(c>>4^c>>3)&2048;return c}function of(a,c,d){if(!d)return c;var e=c>>>d|a.Pa()<<32-d;1<d&&(e|=c<<33-d);a.u&=-2050;a.h=a.h&-2050|c>>d-1&1|(e>>20^e>>19)&2048;return e}function pf(a,c,d){if(0===d)return c;a.F=c<<d;a.T=7;a.u=212;a.h=a.h&-2050|a.F>>8&1|(a.F<<3^a.F<<4)&2048;return a.F}function qf(a,c,d){if(0===d)return c;a.F=c<<d;a.T=15;a.u=212;a.h=a.h&-2050|a.F>>16&1|(a.F>>5^a.F>>4)&2048;return a.F}
|
||||
function rf(a,c,d){if(0===d)return c;a.F=c<<d;a.T=31;a.u=212;a.h=a.h&-2050|c>>>32-d&1;a.h|=(a.h&1^a.F>>31&1)<<11&2048;return a.F}function sf(a,c,d){if(0===d)return c;a.F=c>>d;a.T=7;a.u=212;a.h=a.h&-2050|c>>d-1&1|(c>>7&1)<<11&2048;return a.F}function tf(a,c,d){if(0===d)return c;a.F=c>>d;a.T=15;a.u=212;a.h=a.h&-2050|c>>d-1&1|c>>4&2048;return a.F}function uf(a,c,d){if(0===d)return c;a.F=c>>>d;a.T=31;a.u=212;a.h=a.h&-2050|c>>>d-1&1|c>>20&2048;return a.F}
|
||||
function vf(a,c,d){if(0===d)return c;8>d?(a.F=c<<24>>d+24,a.h=a.h&-2050|c>>d-1&1):(a.F=c<<24>>31,a.h=a.h&-2050|a.F&1);a.T=7;a.u=212;return a.F}function wf(a,c,d){if(0===d)return c;16>d?(a.F=c<<16>>d+16,a.h=a.h&-2050|c>>d-1&1):(a.F=c<<16>>31,a.h=a.h&-2050|a.F&1);a.T=15;a.u=212;return a.F}function xf(a,c,d){if(0===d)return c;a.F=c>>d;a.T=31;a.u=212;a.h=a.h&-2050|c>>>d-1&1;return a.F}
|
||||
function yf(a,c,d,e){if(0===e)return c;16>=e?(a.F=c>>e|d<<16-e,a.h=a.h&-2|c>>e-1&1):(a.F=c<<32-e|d>>e-16,a.h=a.h&-2|d>>e-17&1);a.T=15;a.u=212;a.h=a.h&-2049|(a.F^c)>>4&2048;return a.F}function zf(a,c,d,e){if(0===e)return c;a.F=c>>>e|d<<32-e;a.T=31;a.u=212;a.h=a.h&-2|c>>>e-1&1;a.h=a.h&-2049|(a.F^c)>>20&2048;return a.F}
|
||||
function Af(a,c,d,e){if(0===e)return c;16>=e?(a.F=c<<e|d>>>16-e,a.h=a.h&-2|c>>>16-e&1):(a.F=c>>32-e|d<<e-16,a.h=a.h&-2|d>>>32-e&1);a.T=15;a.u=212;a.h=a.h&-2049|(a.h&1^a.F>>15&1)<<11;return a.F}function Bf(a,c,d,e){if(0===e)return c;a.F=c<<e|d>>>32-e;a.T=31;a.u=212;a.h=a.h&-2|c>>>32-e&1;a.h=a.h&-2049|(a.h&1^a.F>>31&1)<<11;return a.F}function Cf(a,c,d){a.h=a.h&-2|c>>d&1;a.u&=-2}function Df(a,c,d){a.h=a.h&-2|c>>d&1;a.u&=-2;return c^1<<d}function Ef(a,c,d){a.h=a.h&-2|c>>d&1;a.u&=-2;return c|1<<d}
|
||||
function Ff(a,c,d){a.h=a.h&-2|c>>d&1;a.u&=-2;return c&~(1<<d)}function Gf(a,c,d){c=ld(a,c+(d>>3)|0);a.h=a.h&-2|c>>(d&7)&1;a.u&=-2}function Hf(a,c,d){c=nd(a,c+(d>>3)|0);var e=a.memory.da(c);d&=7;a.h=a.h&-2|e>>d&1;a.u&=-2;a.memory.sa(c,e^1<<d)}function If(a,c,d){c=nd(a,c+(d>>3)|0);var e=a.memory.da(c);d&=7;a.h=a.h&-2|e>>d&1;a.u&=-2;a.memory.sa(c,e&~(1<<d))}function Jf(a,c,d){c=nd(a,c+(d>>3)|0);var e=a.memory.da(c);d&=7;a.h=a.h&-2|e>>d&1;a.u&=-2;a.memory.sa(c,e|1<<d)}
|
||||
function Kf(a,c){a.u=0;a.h&=-2262;if(c)return c-=c>>1&1431655765,c=(c&858993459)+(c>>2&858993459),16843009*(c+(c>>4)&252645135)>>24;a.h|=64;return 0};function Lf(a,c){c?(c=D(a),a.w=a.w+c|0):a.w=a.w+1|0}function Mf(a,c){var d=K(a,1);a.w-=d;a.w=a.w+c&65535;a.w=a.w+d|0}function Nf(a,c){c?Mf(a,E(a)):a.w=a.w+2|0}function Of(a,c){c?(c=H(a),a.w=a.w+c|0):a.w=a.w+4|0}function Pf(a,c){var d=R(a);c&&Xd(a,d)}function Qf(a,c){var d=Jd(a);c&&Yd(a,d)}function Rf(a,c){Kd(a,c?1:0)}l=v.prototype;l.loop=function(a){--this.j[this.M]&&(this.w=this.w+a|0,this.Da||xd(this))};
|
||||
l.Pa=function(){return this.u&1?(this.Va^(this.Va^this.Wa)&(this.Wa^this.m))>>>this.T&1:this.h&1};l.Ze=function(){return this.u&4?154020>>((this.F^this.F>>4)&15)&4:this.h&4};function td(a){return a.u&16?(a.Va^a.Wa^a.m)&16:a.h&16}l.Pb=function(){return this.u&64?(~this.F&this.F-1)>>>this.T&1:this.h&64};l.Ud=function(){return this.u&128?this.F>>>this.T&1:this.h&128};l.td=function(){return this.u&2048?((this.Va^this.m)&(this.Wa^this.m))>>>this.T&1:this.h&2048};l.qb=v.prototype.td;l.hb=v.prototype.Pa;
|
||||
l.jb=v.prototype.Pb;l.rb=v.prototype.Ud;l.ib=v.prototype.Ze;function Sf(a){return a.Pa()||a.Pb()}function Tf(a){return!a.Ud()!==!a.td()}function Uf(a){return a.Pb()||!a.Ud()!==!a.td()}function O(a,c){var d=J(a,-2);mb(a,d,c);I(a,-2)}function N(a,c){var d=J(a,-4);x(a,d,c);I(a,-4)}function Vf(a){var c=K(a,2)+(a.gb?a.a[4]:a.l[8])|0,c=y(a,c);I(a,2);return c}function Wf(a){var c=K(a,2)+(a.gb?a.a[4]:a.l[8])|0,c=A(a,c);I(a,4);return c}function Xf(a,c){var d=a.l[0];a.l[0]=a.l[c];a.l[c]=d}
|
||||
function Yf(a,c){var d=a.a[0];a.a[0]=a.a[c];a.a[c]=d}function $f(a,c){192<=a.f&&w(a);var d=a.P(a.f),e=y(a,d),d=y(a,d+2|0);B(a,c,d);a.l[a.f>>2&14]=e}function ag(a,c){192<=a.f&&w(a);var d=a.P(a.f),e=A(a,d),d=y(a,d+4|0);B(a,c,d);a.a[a.f>>3&7]=e}function bg(a,c){var d=a.a[c];a.a[c]=d>>>24|d<<24|d>>8&65280|d<<8&16711680};var X=[],Y=[],Z=[];X[0]=function(a){a.f=C(a);Od(a,le(a,Nd(a),Td(a)))};Y[1]=function(a){a.f=C(a);T(a,me(a,S(a),Vd(a)))};Z[1]=function(a){a.f=C(a);V(a,ne(a,U(a),W(a)))};X[2]=function(a){a.f=C(a);Ud(a,le(a,Td(a),Id(a)))};Y[3]=function(a){a.f=C(a);Xd(a,me(a,Vd(a),R(a)))};Z[3]=function(a){a.f=C(a);Yd(a,ne(a,W(a),Jd(a)))};X[4]=function(a){a.C[0]=le(a,a.C[0],C(a))};Y[5]=function(a){a.l[0]=me(a,a.l[0],E(a))};Z[5]=function(a){a.a[0]=ne(a,a.a[0],H(a))};Y[6]=function(a){O(a,a.R[0])};Z[6]=function(a){N(a,a.R[0])};
|
||||
Y[7]=function(a){B(a,0,y(a,J(a,0)));I(a,2)};Z[7]=function(a){B(a,0,y(a,J(a,0)));I(a,4)};X[8]=function(a){a.f=C(a);Od(a,Ve(a,Nd(a),Td(a)))};Y[9]=function(a){a.f=C(a);T(a,Xe(a,S(a),Vd(a)))};Z[9]=function(a){a.f=C(a);V(a,Ye(a,U(a),W(a)))};X[10]=function(a){a.f=C(a);Ud(a,Ve(a,Td(a),Id(a)))};Y[11]=function(a){a.f=C(a);Xd(a,Xe(a,Vd(a),R(a)))};Z[11]=function(a){a.f=C(a);Yd(a,Ye(a,W(a),Jd(a)))};X[12]=function(a){a.C[0]=Ve(a,a.C[0],C(a))};Y[13]=function(a){a.l[0]=Xe(a,a.l[0],E(a))};
|
||||
Z[13]=function(a){a.a[0]=Ye(a,a.a[0],H(a))};Y[14]=function(a){O(a,a.R[1])};Z[14]=function(a){N(a,a.R[1])};Y[15]=function(a){a.gh[C(a)](a)};Z[15]=function(a){a.hh[C(a)](a)};X[16]=function(a){a.f=C(a);Od(a,oe(a,Nd(a),Td(a)))};Y[17]=function(a){a.f=C(a);T(a,qe(a,S(a),Vd(a)))};Z[17]=function(a){a.f=C(a);V(a,ye(a,U(a),W(a)))};X[18]=function(a){a.f=C(a);Ud(a,oe(a,Td(a),Id(a)))};Y[19]=function(a){a.f=C(a);Xd(a,qe(a,Vd(a),R(a)))};Z[19]=function(a){a.f=C(a);Yd(a,ye(a,W(a),Jd(a)))};
|
||||
X[20]=function(a){a.C[0]=oe(a,a.C[0],C(a))};Y[21]=function(a){a.l[0]=qe(a,a.l[0],E(a))};Z[21]=function(a){a.a[0]=ye(a,a.a[0],H(a))};Y[22]=function(a){O(a,a.R[2])};Z[22]=function(a){N(a,a.R[2])};Y[23]=function(a){B(a,2,y(a,J(a,0)));I(a,2);dd(a);fd(a)};Z[23]=function(a){B(a,2,y(a,J(a,0)));I(a,4);dd(a);fd(a)};X[24]=function(a){a.f=C(a);Od(a,De(a,Nd(a),Td(a)))};Y[25]=function(a){a.f=C(a);T(a,Fe(a,S(a),Vd(a)))};Z[25]=function(a){a.f=C(a);V(a,Ge(a,U(a),W(a)))};
|
||||
X[26]=function(a){a.f=C(a);Ud(a,De(a,Td(a),Id(a)))};Y[27]=function(a){a.f=C(a);Xd(a,Fe(a,Vd(a),R(a)))};Z[27]=function(a){a.f=C(a);Yd(a,Ge(a,W(a),Jd(a)))};X[28]=function(a){a.C[0]=De(a,a.C[0],C(a))};Y[29]=function(a){a.l[0]=Fe(a,a.l[0],E(a))};Z[29]=function(a){a.a[0]=Ge(a,a.a[0],H(a))};Y[30]=function(a){O(a,a.R[3])};Z[30]=function(a){N(a,a.R[3])};Y[31]=function(a){B(a,3,y(a,J(a,0)));I(a,2)};Z[31]=function(a){B(a,3,y(a,J(a,0)));I(a,4)};X[32]=function(a){a.f=C(a);Od(a,Re(a,Nd(a),Td(a)))};
|
||||
Y[33]=function(a){a.f=C(a);T(a,Te(a,S(a),Vd(a)))};Z[33]=function(a){a.f=C(a);V(a,Ue(a,U(a),W(a)))};X[34]=function(a){a.f=C(a);Ud(a,Re(a,Td(a),Id(a)))};Y[35]=function(a){a.f=C(a);Xd(a,Te(a,Vd(a),R(a)))};Z[35]=function(a){a.f=C(a);Yd(a,Ue(a,W(a),Jd(a)))};X[36]=function(a){a.C[0]=Re(a,a.C[0],C(a))};Y[37]=function(a){a.l[0]=Te(a,a.l[0],E(a))};Z[37]=function(a){a.a[0]=Ue(a,a.a[0],H(a))};X[38]=function(a){a.ya=0;gd(a);a.ya=-1};
|
||||
X[39]=function(a){var c=a.C[0],d=a.Pa(),e=td(a);a.h&=-18;if(9<(c&15)||e)a.C[0]+=6,a.h|=16;if(153<c||d)a.C[0]+=96,a.h|=1;a.F=a.C[0];a.T=7;a.Va=a.Wa=0;a.u=196};X[40]=function(a){a.f=C(a);Od(a,ze(a,Nd(a),Td(a)))};Y[41]=function(a){a.f=C(a);T(a,Be(a,S(a),Vd(a)))};Z[41]=function(a){a.f=C(a);V(a,Ce(a,U(a),W(a)))};X[42]=function(a){a.f=C(a);Ud(a,ze(a,Td(a),Id(a)))};Y[43]=function(a){a.f=C(a);Xd(a,Be(a,Vd(a),R(a)))};Z[43]=function(a){a.f=C(a);Yd(a,Ce(a,W(a),Jd(a)))};X[44]=function(a){a.C[0]=ze(a,a.C[0],C(a))};
|
||||
Y[45]=function(a){a.l[0]=Be(a,a.l[0],E(a))};Z[45]=function(a){a.a[0]=Ce(a,a.a[0],H(a))};X[46]=function(a){a.ya=1;gd(a);a.ya=-1};X[47]=function(a){var c=a.C[0],d=a.Pa();a.h&=-2;9<(c&15)||td(a)?(a.C[0]-=6,a.h|=16,a.h=a.h&-2|d|a.C[0]>>7):a.h&=-17;if(153<c||d)a.C[0]-=96,a.h|=1;a.F=a.C[0];a.T=7;a.Va=a.Wa=0;a.u=196};X[48]=function(a){a.f=C(a);Od(a,Ze(a,Nd(a),Td(a)))};Y[49]=function(a){a.f=C(a);T(a,af(a,S(a),Vd(a)))};Z[49]=function(a){a.f=C(a);V(a,bf(a,U(a),W(a)))};
|
||||
X[50]=function(a){a.f=C(a);Ud(a,Ze(a,Td(a),Id(a)))};Y[51]=function(a){a.f=C(a);Xd(a,af(a,Vd(a),R(a)))};Z[51]=function(a){a.f=C(a);Yd(a,bf(a,W(a),Jd(a)))};X[52]=function(a){a.C[0]=Ze(a,a.C[0],C(a))};Y[53]=function(a){a.l[0]=af(a,a.l[0],E(a))};Z[53]=function(a){a.a[0]=bf(a,a.a[0],H(a))};X[54]=function(a){a.ya=2;gd(a);a.ya=-1};X[55]=function(a){9<(a.C[0]&15)||td(a)?(a.l[0]+=6,a.C[1]+=1,a.h|=17):a.h&=-18;a.C[0]&=15;a.u&=-18};X[56]=function(a){a.f=C(a);var c=Id(a);Ae(a,c,Td(a),7)};
|
||||
Y[57]=function(a){a.f=C(a);var c=R(a);Ae(a,c,Vd(a),15)};Z[57]=function(a){a.f=C(a);var c=Jd(a);Ae(a,c,W(a),31)};X[58]=function(a){a.f=C(a);var c=Id(a);Ae(a,Td(a),c,7)};Y[59]=function(a){a.f=C(a);var c=R(a);Ae(a,Vd(a),c,15)};Z[59]=function(a){a.f=C(a);var c=Jd(a);Ae(a,W(a),c,31)};X[60]=function(a){var c=C(a);Ae(a,a.C[0],c,7)};Y[61]=function(a){var c=E(a);Ae(a,a.l[0],c,15)};Z[61]=function(a){var c=H(a);Ae(a,a.a[0],c,31)};X[62]=function(a){a.ya=3;gd(a);a.ya=-1};
|
||||
X[63]=function(a){9<(a.C[0]&15)||td(a)?(a.l[0]-=6,--a.C[1],a.h|=17):a.h&=-18;a.C[0]&=15;a.u&=-18};Y[64]=function(a){a.l[0]=He(a,a.l[0],15)};Z[64]=function(a){a.a[0]=He(a,a.a[0],31)};Y[65]=function(a){a.l[2]=He(a,a.l[2],15)};Z[65]=function(a){a.a[1]=He(a,a.a[1],31)};Y[66]=function(a){a.l[4]=He(a,a.l[4],15)};Z[66]=function(a){a.a[2]=He(a,a.a[2],31)};Y[67]=function(a){a.l[6]=He(a,a.l[6],15)};Z[67]=function(a){a.a[3]=He(a,a.a[3],31)};Y[68]=function(a){a.l[8]=He(a,a.l[8],15)};
|
||||
Z[68]=function(a){a.a[4]=He(a,a.a[4],31)};Y[69]=function(a){a.l[10]=He(a,a.l[10],15)};Z[69]=function(a){a.a[5]=He(a,a.a[5],31)};Y[70]=function(a){a.l[12]=He(a,a.l[12],15)};Z[70]=function(a){a.a[6]=He(a,a.a[6],31)};Y[71]=function(a){a.l[14]=He(a,a.l[14],15)};Z[71]=function(a){a.a[7]=He(a,a.a[7],31)};Y[72]=function(a){a.l[0]=Ie(a,a.l[0],15)};Z[72]=function(a){a.a[0]=Ie(a,a.a[0],31)};Y[73]=function(a){a.l[2]=Ie(a,a.l[2],15)};Z[73]=function(a){a.a[1]=Ie(a,a.a[1],31)};
|
||||
Y[74]=function(a){a.l[4]=Ie(a,a.l[4],15)};Z[74]=function(a){a.a[2]=Ie(a,a.a[2],31)};Y[75]=function(a){a.l[6]=Ie(a,a.l[6],15)};Z[75]=function(a){a.a[3]=Ie(a,a.a[3],31)};Y[76]=function(a){a.l[8]=Ie(a,a.l[8],15)};Z[76]=function(a){a.a[4]=Ie(a,a.a[4],31)};Y[77]=function(a){a.l[10]=Ie(a,a.l[10],15)};Z[77]=function(a){a.a[5]=Ie(a,a.a[5],31)};Y[78]=function(a){a.l[12]=Ie(a,a.l[12],15)};Z[78]=function(a){a.a[6]=Ie(a,a.a[6],31)};Y[79]=function(a){a.l[14]=Ie(a,a.l[14],15)};
|
||||
Z[79]=function(a){a.a[7]=Ie(a,a.a[7],31)};Y[80]=function(a){O(a,a.l[0])};Z[80]=function(a){N(a,a.a[0])};Y[81]=function(a){O(a,a.l[2])};Z[81]=function(a){N(a,a.a[1])};Y[82]=function(a){O(a,a.l[4])};Z[82]=function(a){N(a,a.a[2])};Y[83]=function(a){O(a,a.l[6])};Z[83]=function(a){N(a,a.a[3])};Y[84]=function(a){O(a,a.l[8])};Z[84]=function(a){N(a,a.a[4])};Y[85]=function(a){O(a,a.l[10])};Z[85]=function(a){N(a,a.a[5])};Y[86]=function(a){O(a,a.l[12])};Z[86]=function(a){N(a,a.a[6])};Y[87]=function(a){O(a,a.l[14])};
|
||||
Z[87]=function(a){N(a,a.a[7])};Y[88]=function(a){a.l[0]=Vf(a)};Z[88]=function(a){a.a[0]=Wf(a)};Y[89]=function(a){a.l[2]=Vf(a)};Z[89]=function(a){a.a[1]=Wf(a)};Y[90]=function(a){a.l[4]=Vf(a)};Z[90]=function(a){a.a[2]=Wf(a)};Y[91]=function(a){a.l[6]=Vf(a)};Z[91]=function(a){a.a[3]=Wf(a)};Y[92]=function(a){a.l[8]=Vf(a)};Z[92]=function(a){a.a[4]=Wf(a)};Y[93]=function(a){a.l[10]=Vf(a)};Z[93]=function(a){a.a[5]=Wf(a)};Y[94]=function(a){a.l[12]=Vf(a)};Z[94]=function(a){a.a[6]=Wf(a)};
|
||||
Y[95]=function(a){a.l[14]=Vf(a)};Z[95]=function(a){a.a[7]=Wf(a)};Y[96]=function(a){var c=a.l[8];nd(a,J(a,-15));O(a,a.l[0]);O(a,a.l[2]);O(a,a.l[4]);O(a,a.l[6]);O(a,c);O(a,a.l[10]);O(a,a.l[12]);O(a,a.l[14])};Z[96]=function(a){var c=a.a[4];nd(a,J(a,-31));N(a,a.a[0]);N(a,a.a[1]);N(a,a.a[2]);N(a,a.a[3]);N(a,c);N(a,a.a[5]);N(a,a.a[6]);N(a,a.a[7])};Y[97]=function(a){jd(a,J(a,15));a.l[14]=Vf(a);a.l[12]=Vf(a);a.l[10]=Vf(a);I(a,2);a.l[6]=Vf(a);a.l[4]=Vf(a);a.l[2]=Vf(a);a.l[0]=Vf(a)};
|
||||
Z[97]=function(a){jd(a,J(a,31));a.a[7]=Wf(a);a.a[6]=Wf(a);a.a[5]=Wf(a);I(a,4);a.a[3]=Wf(a);a.a[2]=Wf(a);a.a[1]=Wf(a);a.a[0]=Wf(a)};X[98]=function(){};X[99]=function(a){a.f=C(a);if(a.qa&&!rd(a)){var c;c=S(a);var d=a.f>>2&14;a.u&=-65;(c&3)<(a.l[d]&3)?(a.h|=64,c=c&-4|a.l[d]&3):a.h&=-65;T(a,c)}else w(a)};X[100]=function(a){a.ya=4;gd(a);a.ya=-1};X[101]=function(a){a.ya=5;gd(a);a.ya=-1};X[102]=function(a){a.Da=!a.Na;ad(a);gd(a);a.Da=a.Na;ad(a)};X[103]=function(a){a.la=!a.Na;$c(a);gd(a);a.la=a.Na;$c(a)};
|
||||
Y[104]=function(a){O(a,E(a))};Z[104]=function(a){N(a,H(a))};Y[105]=function(a){a.f=C(a);Xd(a,Ke(a,R(a)<<16>>16,E(a)<<16>>16))};Z[105]=function(a){a.f=C(a);Yd(a,Oe(a,Jd(a),H(a)))};Y[106]=function(a){O(a,D(a))};Z[106]=function(a){N(a,D(a))};Y[107]=function(a){a.f=C(a);Xd(a,Ke(a,R(a)<<16>>16,D(a)))};Z[107]=function(a){a.f=C(a);Yd(a,Oe(a,Jd(a),D(a)))};X[108]=function(a){fe(a)};Y[109]=function(a){ge(a)};Z[109]=function(a){he(a)};X[110]=function(a){ie(a)};Y[111]=function(a){je(a)};Z[111]=function(a){ke(a)};
|
||||
X[112]=function(a){Lf(a,a.qb())};X[113]=function(a){Lf(a,!a.qb())};X[114]=function(a){Lf(a,a.hb())};X[115]=function(a){Lf(a,!a.hb())};X[116]=function(a){Lf(a,a.jb())};X[117]=function(a){Lf(a,!a.jb())};X[118]=function(a){Lf(a,Sf(a))};X[119]=function(a){Lf(a,!Sf(a))};X[120]=function(a){Lf(a,a.rb())};X[121]=function(a){Lf(a,!a.rb())};X[122]=function(a){Lf(a,a.ib())};X[123]=function(a){Lf(a,!a.ib())};X[124]=function(a){Lf(a,Tf(a))};X[125]=function(a){Lf(a,!Tf(a))};X[126]=function(a){Lf(a,Uf(a))};
|
||||
X[127]=function(a){Lf(a,!Uf(a))};X[128]=function(a){a.f=C(a);switch(a.f>>3&7){case 0:Od(a,le(a,Nd(a),C(a)));break;case 1:Od(a,Ve(a,Nd(a),C(a)));break;case 2:Od(a,oe(a,Nd(a),C(a)));break;case 3:Od(a,De(a,Nd(a),C(a)));break;case 4:Od(a,Re(a,Nd(a),C(a)));break;case 5:Od(a,ze(a,Nd(a),C(a)));break;case 6:Od(a,Ze(a,Nd(a),C(a)));break;case 7:var c=Id(a),d=C(a);Ae(a,c,d,7)}};
|
||||
Y[129]=function(a){a.f=C(a);switch(a.f>>3&7){case 0:T(a,me(a,S(a),E(a)));break;case 1:T(a,Xe(a,S(a),E(a)));break;case 2:T(a,qe(a,S(a),E(a)));break;case 3:T(a,Fe(a,S(a),E(a)));break;case 4:T(a,Te(a,S(a),E(a)));break;case 5:T(a,Be(a,S(a),E(a)));break;case 6:T(a,af(a,S(a),E(a)));break;case 7:var c=R(a),d=E(a);Ae(a,c,d,15)}};
|
||||
Z[129]=function(a){a.f=C(a);switch(a.f>>3&7){case 0:V(a,ne(a,U(a),H(a)));break;case 1:V(a,Ye(a,U(a),H(a)));break;case 2:V(a,ye(a,U(a),H(a)));break;case 3:V(a,Ge(a,U(a),H(a)));break;case 4:V(a,Ue(a,U(a),H(a)));break;case 5:V(a,Ce(a,U(a),H(a)));break;case 6:V(a,bf(a,U(a),H(a)));break;case 7:var c=Jd(a),d=H(a);Ae(a,c,d,31)}};X[130]=function(a){a.table[128](a)};
|
||||
Y[131]=function(a){a.f=C(a);switch(a.f>>3&7){case 0:T(a,me(a,S(a),D(a)));break;case 1:T(a,Xe(a,S(a),D(a)));break;case 2:T(a,qe(a,S(a),D(a)));break;case 3:T(a,Fe(a,S(a),D(a)));break;case 4:T(a,Te(a,S(a),D(a)));break;case 5:T(a,Be(a,S(a),D(a)));break;case 6:T(a,af(a,S(a),D(a)));break;case 7:var c=R(a),d=D(a);Ae(a,c,d,15)}};
|
||||
Z[131]=function(a){a.f=C(a);switch(a.f>>3&7){case 0:V(a,ne(a,U(a),D(a)));break;case 1:V(a,Ye(a,U(a),D(a)));break;case 2:V(a,ye(a,U(a),D(a)));break;case 3:V(a,Ge(a,U(a),D(a)));break;case 4:V(a,Ue(a,U(a),D(a)));break;case 5:V(a,Ce(a,U(a),D(a)));break;case 6:V(a,bf(a,U(a),D(a)));break;case 7:var c=Jd(a),d=D(a);Ae(a,c,d,31)}};X[132]=function(a){a.f=C(a);var c=Id(a);Se(a,c,Td(a),7)};Y[133]=function(a){a.f=C(a);var c=R(a);Se(a,c,Vd(a),15)};Z[133]=function(a){a.f=C(a);var c=Jd(a);Se(a,c,W(a),31)};
|
||||
X[134]=function(a){a.f=C(a);var c=Nd(a),d=a.f,d=d>>1&12|d>>5&1,e=a.C[d];a.C[d]=c;Od(a,e)};Y[135]=function(a){a.f=C(a);var c=S(a),d=a.f>>2&14,e=a.l[d];a.l[d]=c;T(a,e)};Z[135]=function(a){a.f=C(a);var c=U(a),d=a.f>>3&7,e=a.a[d];a.a[d]=c;V(a,e)};X[136]=function(a){a.f=C(a);Kd(a,Td(a))};Y[137]=function(a){a.f=C(a);Ld(a,Vd(a))};Z[137]=function(a){a.f=C(a);Md(a,W(a))};X[138]=function(a){a.f=C(a);var c=Id(a);Ud(a,c)};Y[139]=function(a){a.f=C(a);var c=R(a);Xd(a,c)};
|
||||
Z[139]=function(a){a.f=C(a);var c=Jd(a);Yd(a,c)};Y[140]=function(a){a.f=C(a);Ld(a,a.R[a.f>>3&7])};Z[140]=function(a){a.f=C(a);Md(a,a.R[a.f>>3&7])};Y[141]=function(a){a.f=C(a);192<=a.f&&w(a);var c=a.f>>3&7;a.ya=9;a.l[c<<1]=a.P(a.f);a.ya=-1};Z[141]=function(a){a.f=C(a);192<=a.f&&w(a);var c=a.f>>3&7;a.ya=9;a.a[c]=a.P(a.f);a.ya=-1};X[142]=function(a){a.f=C(a);var c=a.f>>3&7,d=R(a);B(a,c,d);2===c&&(dd(a),fd(a))};
|
||||
Y[143]=function(a){a.f=C(a);var c=y(a,J(a,0));I(a,2);if(192>a.f){var d=a.P(a.f);I(a,-2);mb(a,d,c);I(a,2)}else Qd(a,c)};Z[143]=function(a){a.f=C(a);var c=A(a,J(a,0));I(a,4);if(192>a.f){var d=a.P(a.f);I(a,-4);x(a,d,c);I(a,4)}else Sd(a,c)};X[144]=function(){};Y[145]=function(a){Xf(a,2)};Z[145]=function(a){Yf(a,1)};Y[146]=function(a){Xf(a,4)};Z[146]=function(a){Yf(a,2)};Y[147]=function(a){Xf(a,6)};Z[147]=function(a){Yf(a,3)};Y[148]=function(a){Xf(a,8)};Z[148]=function(a){Yf(a,4)};
|
||||
Y[149]=function(a){Xf(a,10)};Z[149]=function(a){Yf(a,5)};Y[150]=function(a){Xf(a,12)};Z[150]=function(a){Yf(a,6)};Y[151]=function(a){Xf(a,14)};Z[151]=function(a){Yf(a,7)};Y[152]=function(a){a.l[0]=a.be[0]};Z[152]=function(a){a.a[0]=a.yc[0]};Y[153]=function(a){a.l[4]=a.yc[0]>>15};Z[153]=function(a){a.a[2]=a.a[0]>>31};Y[154]=function(a){var c=E(a),d=E(a),e=a.R[1],f=xd(a);lb(a,J(a,-4),4);B(a,1,d);O(a,e);O(a,f);a.w=K(a,1)+c|0;a.la||xd(a)};
|
||||
Z[154]=function(a){var c=H(a),d=E(a);if((!a.qa||rd(a))&&c&4294901760)throw a.debug.S("#GP handler");var e=a.R[1],f=xd(a);lb(a,J(a,-8),8);B(a,1,d);N(a,e);N(a,f);a.w=K(a,1)+c|0;a.la||xd(a)};X[155]=function(a){10===(a.G[0]&10)&&(a.w=a.ga,Fd(a,7))};Y[156]=function(a){a.h&131072&&3>qd(a)?M(a,0):(ud(a),O(a,a.h))};Z[156]=function(a){a.h&131072&&3>qd(a)?M(a,0):(ud(a),N(a,a.h&16580607))};Y[157]=function(a){a.h&131072&&3>qd(a)&&M(a,0);vd(a,a.h&-65536|Vf(a));Fc(a)};
|
||||
Z[157]=function(a){a.h&131072&&3>qd(a)&&M(a,0);vd(a,Wf(a));Fc(a)};X[158]=function(a){a.h=a.h&-256|a.C[1];a.h=a.h&4161493|2;a.u=0};X[159]=function(a){ud(a);a.C[1]=a.h};X[160]=function(a){var c=ld(a,od(a));a.C[0]=c};Y[161]=function(a){var c=y(a,od(a));a.l[0]=c};Z[161]=function(a){var c=A(a,od(a));a.a[0]=c};X[162]=function(a){md(a,od(a),a.C[0])};Y[163]=function(a){mb(a,od(a),a.l[0])};Z[163]=function(a){x(a,od(a),a.a[0])};
|
||||
X[164]=function(a){var c=pd(a,3)+a.j[a.I]|0,d=K(a,0)+a.j[a.B]|0,e=a.h&1024?-1:1;if(0!==a.ca){var f=a.j[a.M]>>>0;if(f){var h=f,r=4096,k=jd(a,c),t=nd(a,d);a.X&&(r=ee(e,c,d));do a.memory.sa(t,a.memory.da(k)),t+=e,k+=e,c=!!--f;while(c&&r--);e=e*(h-f)|0;a.j[a.B]+=e;a.j[a.I]+=e;a.j[a.M]=f;a.V+=h-f;c&&(a.w=a.ga)}}else md(a,d,ld(a,c)),a.j[a.B]+=e,a.j[a.I]+=e};
|
||||
Y[165]=function(a){var c=pd(a,3)+a.j[a.I]|0,d=K(a,0)+a.j[a.B]|0,e=a.h&1024?-2:2;if(0!==a.ca){var f=a.j[a.M]>>>0;if(f){var h,r=f,k=4096;if(d&1||c&1){do mb(a,d,y(a,c)),d+=e,a.j[a.B]+=e,c+=e,a.j[a.I]+=e,h=!!--a.j[a.M];while(h&&k--)}else{var t=0>e?-1:1,u=jd(a,c)>>1,z=nd(a,d)>>1;a.X&&(k=ee(e,c,d));do mc(a.memory,z,kc(a.memory,u)),z+=t,u+=t,h=!!--f;while(h&&k--);c=e*(r-f)|0;a.j[a.B]+=c;a.j[a.I]+=c;a.j[a.M]=f;a.V+=r-f}h&&(a.w=a.ga)}}else mb(a,d,y(a,c)),a.j[a.B]+=e,a.j[a.I]+=e};
|
||||
Z[165]=function(a){a:{if(0!==a.ca){var c=pd(a,3)+a.j[a.I]|0,d=K(a,0)+a.j[a.B]|0,e=a.j[a.M]>>>0;if(!e)break a;var f=a.X?4095:3;if(!(d&f||c&f||a.h&1024||(f=!1,a.X&&(c=jd(a,c),d=nd(a,d),1024<e&&(e=1024,f=!0)),Da(a.A,c,e)||Da(a.A,d,e)))){var h=e<<2;a.j[a.M]-=e;a.j[a.B]+=h;a.j[a.I]+=h;c>>=2;a.memory.Hb.set(a.memory.Hb.subarray(c,c+e),d>>2);f&&(a.w=a.ga);break a}}c=pd(a,3)+a.j[a.I]|0;d=K(a,0)+a.j[a.B]|0;h=a.h&1024?-4:4;if(0!==a.ca){if(e=a.j[a.M]>>>0){var r=e,k=4096;if(d&3||c&3){do x(a,d,A(a,c)),d+=h,a.j[a.B]+=
|
||||
h,c+=h,a.j[a.I]+=h,f=!!--a.j[a.M];while(f&&k--)}else{var t=0>h?-1:1,u=jd(a,c)>>>2,z=nd(a,d)>>>2;a.X&&(k=ee(h,c,d));do nc(a.memory,z,lc(a.memory,u)),z+=t,u+=t,f=!!--e;while(f&&k--);h=h*(r-e)|0;a.j[a.B]+=h;a.j[a.I]+=h;a.j[a.M]=e;a.V+=r-e}f&&(a.w=a.ga)}}else x(a,d,A(a,c)),a.j[a.B]+=h,a.j[a.I]+=h}};
|
||||
X[166]=function(a){a:{var c=pd(a,3)+a.j[a.I]|0,d=K(a,0)+a.j[a.B]|0,e=a.h&1024?-1:1;if(0!==a.ca){var f=a.j[a.M]>>>0;if(!f)break a;var h,r=f,k=2===a.ca,t=4096,u=jd(a,c),z=jd(a,d);a.X&&(t=ee(e,c,d));do d=a.memory.da(z),c=a.memory.da(u),z+=e,u+=e,h=!!--f&&c===d===k;while(h&&t--);e=e*(r-f)|0;a.j[a.B]+=e;a.j[a.I]+=e;a.j[a.M]=f;a.V+=r-f;h&&(a.w=a.ga)}else c=ld(a,c),d=ld(a,d),a.j[a.B]+=e,a.j[a.I]+=e;Ae(a,c,d,7)}};
|
||||
Y[167]=function(a){a:{var c=pd(a,3)+a.j[a.I]|0,d=K(a,0)+a.j[a.B]|0,e,f,h=a.h&1024?-2:2;if(0!==a.ca){var r=a.j[a.M]>>>0;if(!r)break a;var k,t=r,u=2===a.ca,z=4096;if(d&1||c&1){do f=y(a,d),e=y(a,c),d+=h,a.j[a.B]+=h,c+=h,a.j[a.I]+=h,k=!!--a.j[a.M]&&e===f===u;while(k&&z--)}else{var G=0>h?-1:1,F=jd(a,c)>>1,L=jd(a,d)>>1;a.X&&(z=ee(h,c,d));do f=kc(a.memory,L),e=kc(a.memory,F),L+=G,F+=G,k=!!--r&&e===f===u;while(k&&z--);c=h*(t-r)|0;a.j[a.B]+=c;a.j[a.I]+=c;a.j[a.M]=r;a.V+=t-r}k&&(a.w=a.ga)}else f=y(a,d),e=y(a,
|
||||
c),a.j[a.B]+=h,a.j[a.I]+=h;Ae(a,e,f,15)}};
|
||||
Z[167]=function(a){a:{var c=pd(a,3)+a.j[a.I]|0,d=K(a,0)+a.j[a.B]|0,e,f,h=a.h&1024?-4:4;if(0!==a.ca){var r=a.j[a.M]>>>0;if(!r)break a;var k,t=r,u=2===a.ca,z=4096;if(d&3||c&3){do f=A(a,d),e=A(a,c),d+=h,a.j[a.B]+=h,c+=h,a.j[a.I]+=h,k=!!--a.j[a.M]&&e===f===u;while(k&&z--)}else{var G=0>h?-1:1,F=jd(a,c)>>>2,L=jd(a,d)>>>2;a.X&&(z=ee(h,c,d));do f=lc(a.memory,L),e=lc(a.memory,F),L+=G,F+=G,k=!!--r&&e===f===u;while(k&&z--);c=h*(t-r)|0;a.j[a.B]+=c;a.j[a.I]+=c;a.j[a.M]=r;a.V+=t-r}k&&(a.w=a.ga)}else f=A(a,d),e=
|
||||
A(a,c),a.j[a.B]+=h,a.j[a.I]+=h;Ae(a,e,f,31)}};X[168]=function(a){var c=C(a);Se(a,a.C[0],c,7)};Y[169]=function(a){var c=E(a);Se(a,a.l[0],c,15)};Z[169]=function(a){var c=H(a);Se(a,a.a[0],c,31)};X[170]=function(a){var c=a.C[0],d=K(a,0)+a.j[a.B]|0,e=a.h&1024?-1:1;if(0!==a.ca){var f=a.j[a.M]>>>0;if(f){var h=f,r=4096,k=nd(a,d);a.X&&(r=de(e,d));do a.memory.sa(k,c),k+=e,d=!!--f;while(d&&r--);a.j[a.B]+=e*(h-f)|0;a.j[a.M]=f;a.V+=h-f;d&&(a.w=a.ga)}}else md(a,d,c),a.j[a.B]+=e};
|
||||
Y[171]=function(a){var c=a.l[0],d=K(a,0)+a.j[a.B]|0,e=a.h&1024?-2:2;if(0!==a.ca){var f=a.j[a.M]>>>0;if(f){var h,r=f,k=4096;if(d&1){do mb(a,d,c),d+=e,a.j[a.B]+=e,h=!!--a.j[a.M];while(h&&k--)}else{var t=0>e?-1:1,u=nd(a,d)>>1;a.X&&(k=de(e,d));do mc(a.memory,u,c),u+=t,h=!!--f;while(h&&k--);a.j[a.B]+=e*(r-f)|0;a.j[a.M]=f;a.V+=r-f}h&&(a.w=a.ga)}}else mb(a,d,c),a.j[a.B]+=e};
|
||||
Z[171]=function(a){var c=a.a[0],d=K(a,0)+a.j[a.B]|0,e=a.h&1024?-4:4;if(0!==a.ca){var f=a.j[a.M]>>>0;if(f){var h,r=f,k=4096;if(d&3){do x(a,d,c),d+=e,a.j[a.B]+=e,h=!!--a.j[a.M];while(h&&k--)}else{var t=0>e?-1:1,u=nd(a,d)>>>2;a.X&&(k=de(e,d));do nc(a.memory,u,c),u+=t,h=!!--f;while(h&&k--);a.j[a.B]+=e*(r-f)|0;a.j[a.M]=f;a.V+=r-f}h&&(a.w=a.ga)}}else x(a,d,c),a.j[a.B]+=e};
|
||||
X[172]=function(a){var c=pd(a,3)+a.j[a.I]|0,d=a.h&1024?-1:1;if(0!==a.ca){var e=a.j[a.M]>>>0;if(e){var f=e,h=4096,r=jd(a,c);a.X&&(h=de(d,c));do a.C[0]=a.memory.da(r),r+=d,c=!!--e;while(c&&h--);a.j[a.I]+=d*(f-e)|0;a.j[a.M]=e;a.V+=f-e;c&&(a.w=a.ga)}}else a.C[0]=ld(a,c),a.j[a.I]+=d};Y[173]=function(a){var c=pd(a,3)+a.j[a.I]|0,d=a.h&1024?-2:2;if(0!==a.ca){if(a.j[a.M]>>>0){var e,f=4096;do a.l[0]=y(a,c),c+=d,a.j[a.I]+=d,e=!!--a.j[a.M];while(e&&f--);e&&(a.w=a.ga)}}else a.l[0]=y(a,c),a.j[a.I]+=d};
|
||||
Z[173]=function(a){var c=pd(a,3)+a.j[a.I]|0,d=a.h&1024?-4:4;if(0!==a.ca){if(a.j[a.M]>>>0){var e,f=4096;do a.a[0]=A(a,c),c+=d,a.j[a.I]+=d,e=!!--a.j[a.M];while(e&&f--);e&&(a.w=a.ga)}}else a.a[0]=A(a,c),a.j[a.I]+=d};
|
||||
X[174]=function(a){a:{var c=K(a,0)+a.j[a.B]|0,d=a.h&1024?-1:1,e=a.C[0];if(0!==a.ca){var f=a.j[a.M]>>>0;if(!f)break a;var h,r=f,k=2===a.ca,t=4096,u=jd(a,c);a.X&&(t=de(d,c));do c=a.memory.da(u),u+=d,h=!!--f&&e===c===k;while(h&&t--);a.j[a.B]+=d*(r-f)|0;a.j[a.M]=f;a.V+=r-f;h&&(a.w=a.ga)}else c=ld(a,c),a.j[a.B]+=d;Ae(a,e,c,7)}};
|
||||
Y[175]=function(a){a:{var c=K(a,0)+a.j[a.B]|0,d=a.h&1024?-2:2,e,f=a.l[0];if(0!==a.ca){var h=a.j[a.M]>>>0;if(!h)break a;var r,k=h,t=2===a.ca,u=4096;if(c&1){do e=y(a,c),c+=d,a.j[a.B]+=d,r=!!--a.j[a.M]&&f===e===t;while(r&&u--)}else{var z=0>d?-1:1,G=jd(a,c)>>1;a.X&&(u=de(d,c));do e=kc(a.memory,G),G+=z,r=!!--h&&f===e===t;while(r&&u--);a.j[a.B]+=d*(k-h)|0;a.j[a.M]=h;a.V+=k-h}r&&(a.w=a.ga)}else e=y(a,c),a.j[a.B]+=d;Ae(a,f,e,15)}};
|
||||
Z[175]=function(a){a:{var c=K(a,0)+a.j[a.B]|0,d=a.h&1024?-4:4,e,f=a.a[0];if(0!==a.ca){var h=a.j[a.M]>>>0;if(!h)break a;var r,k=h,t=2===a.ca,u=4096;if(c&3){do e=A(a,c),c+=d,a.j[a.B]+=d,r=!!--a.j[a.M]&&f===e===t;while(r&&u--)}else{var z=0>d?-1:1,G=jd(a,c)>>>2;a.X&&(u=de(d,c));do e=lc(a.memory,G),G+=z,r=!!--h&&f===e===t;while(r&&u--);a.j[a.B]+=d*(k-h)|0;a.j[a.M]=h;a.V+=k-h}r&&(a.w=a.ga)}else e=A(a,c),a.j[a.B]+=d;Ae(a,f,e,31)}};X[176]=function(a){a.C[0]=C(a)};X[177]=function(a){a.C[4]=C(a)};
|
||||
X[178]=function(a){a.C[8]=C(a)};X[179]=function(a){a.C[12]=C(a)};X[180]=function(a){a.C[1]=C(a)};X[181]=function(a){a.C[5]=C(a)};X[182]=function(a){a.C[9]=C(a)};X[183]=function(a){a.C[13]=C(a)};Y[184]=function(a){a.l[0]=E(a)};Z[184]=function(a){a.a[0]=H(a)};Y[185]=function(a){a.l[2]=E(a)};Z[185]=function(a){a.a[1]=H(a)};Y[186]=function(a){a.l[4]=E(a)};Z[186]=function(a){a.a[2]=H(a)};Y[187]=function(a){a.l[6]=E(a)};Z[187]=function(a){a.a[3]=H(a)};Y[188]=function(a){a.l[8]=E(a)};
|
||||
Z[188]=function(a){a.a[4]=H(a)};Y[189]=function(a){a.l[10]=E(a)};Z[189]=function(a){a.a[5]=H(a)};Y[190]=function(a){a.l[12]=E(a)};Z[190]=function(a){a.a[6]=H(a)};Y[191]=function(a){a.l[14]=E(a)};Z[191]=function(a){a.a[7]=H(a)};X[192]=function(a){a.f=C(a);var c=Nd(a),d=C(a)&31,e=0;switch(a.f>>3&7){case 0:e=cf(a,c,d);break;case 1:e=jf(a,c,d);break;case 2:e=ff(a,c,d);break;case 3:e=mf(a,c,d);break;case 4:e=pf(a,c,d);break;case 5:e=sf(a,c,d);break;case 6:e=pf(a,c,d);break;case 7:e=vf(a,c,d)}Od(a,e)};
|
||||
Y[193]=function(a){a.f=C(a);var c=S(a),d=C(a)&31,e=0;switch(a.f>>3&7){case 0:e=df(a,c,d);break;case 1:e=kf(a,c,d);break;case 2:e=gf(a,c,d);break;case 3:e=nf(a,c,d);break;case 4:e=qf(a,c,d);break;case 5:e=tf(a,c,d);break;case 6:e=qf(a,c,d);break;case 7:e=wf(a,c,d)}T(a,e)};
|
||||
Z[193]=function(a){a.f=C(a);var c=U(a),d=C(a)&31,e=0;switch(a.f>>3&7){case 0:e=ef(a,c,d);break;case 1:e=lf(a,c,d);break;case 2:e=hf(a,c,d);break;case 3:e=of(a,c,d);break;case 4:e=rf(a,c,d);break;case 5:e=uf(a,c,d);break;case 6:e=rf(a,c,d);break;case 7:e=xf(a,c,d)}V(a,e)};Y[194]=function(a){var c=E(a);a.w=K(a,1)+Vf(a)|0;a.la||xd(a);I(a,c)};Z[194]=function(a){var c=E(a),d=Wf(a);a.w=K(a,1)+d|0;I(a,c)};Y[195]=function(a){a.w=K(a,1)+Vf(a)|0};Z[195]=function(a){var c=Wf(a);a.w=K(a,1)+c|0};
|
||||
Y[196]=function(a){a.f=C(a);$f(a,0)};Z[196]=function(a){a.f=C(a);ag(a,0)};Y[197]=function(a){a.f=C(a);$f(a,3)};Z[197]=function(a){a.f=C(a);ag(a,3)};X[198]=function(a){a.f=C(a);192>a.f?md(a,a.P(a.f),C(a)):a.C[a.f<<2&12|a.f>>2&1]=C(a)};Y[199]=function(a){a.f=C(a);192>a.f?mb(a,a.P(a.f),E(a)):a.l[a.f<<1&14]=E(a)};Z[199]=function(a){a.f=C(a);192>a.f?x(a,a.P(a.f),H(a)):a.a[a.f&7]=H(a)};
|
||||
Y[200]=function(a){var c=E(a),d=C(a),d=d&31;O(a,a.l[10]);var e=a.l[8];if(0<d){for(var f=a.l[5],h=1;h<d;h++)f-=2,O(a,y(a,K(a,2)+f|0));O(a,e)}a.l[10]=e;a.l[8]-=c};Z[200]=function(a){var c=E(a),d=C(a),d=d&31;N(a,a.a[5]);var e=a.a[4];if(0<d){for(var f=a.a[5],h=1;h<d;h++)f-=4,N(a,A(a,K(a,2)+f|0));N(a,e)}a.a[5]=e;a.a[4]-=c};Y[201]=function(a){var c=a.gb?a.a[5]:a.l[10],d=y(a,K(a,2)+c|0);wd(a,c+2|0);a.l[10]=d};Z[201]=function(a){var c=a.gb?a.a[5]:a.l[10],d=A(a,K(a,2)+c|0);wd(a,c+4|0);a.a[5]=d};
|
||||
Y[202]=function(a){var c=E(a),d=y(a,J(a,0)),e=y(a,J(a,2));B(a,1,e);a.w=K(a,1)+d|0;I(a,c+4|0)};Z[202]=function(a){var c=E(a),d=A(a,J(a,0)),e=A(a,J(a,4))&65535;B(a,1,e);a.w=K(a,1)+d|0;a.la||xd(a);I(a,c+8|0)};Y[203]=function(a){var c=y(a,J(a,0)),d=y(a,J(a,2));B(a,1,d);a.w=K(a,1)+c|0;a.la||xd(a);I(a,4)};Z[203]=function(a){var c=A(a,J(a,0)),d=A(a,J(a,4))&65535;B(a,1,d);a.w=K(a,1)+c|0;a.la||xd(a);I(a,8)};X[204]=function(a){Ec(a,3,!0,!1)};X[205]=function(a){var c=C(a);Ec(a,c,!0,!1)};
|
||||
X[206]=function(a){a.td()&&Ec(a,4,!0,!1)};Y[207]=function(a){Ed(a,!0)};Z[207]=function(a){Ed(a,!1)};X[208]=function(a){a.f=C(a);var c=Nd(a),d=0;switch(a.f>>3&7){case 0:d=cf(a,c,1);break;case 1:d=jf(a,c,1);break;case 2:d=ff(a,c,1);break;case 3:d=mf(a,c,1);break;case 4:d=pf(a,c,1);break;case 5:d=sf(a,c,1);break;case 6:d=pf(a,c,1);break;case 7:d=vf(a,c,1)}Od(a,d)};
|
||||
Y[209]=function(a){a.f=C(a);var c=S(a),d=0;switch(a.f>>3&7){case 0:d=df(a,c,1);break;case 1:d=kf(a,c,1);break;case 2:d=gf(a,c,1);break;case 3:d=nf(a,c,1);break;case 4:d=qf(a,c,1);break;case 5:d=tf(a,c,1);break;case 6:d=qf(a,c,1);break;case 7:d=wf(a,c,1)}T(a,d)};
|
||||
Z[209]=function(a){a.f=C(a);var c=U(a),d=0;switch(a.f>>3&7){case 0:d=ef(a,c,1);break;case 1:d=lf(a,c,1);break;case 2:d=hf(a,c,1);break;case 3:d=of(a,c,1);break;case 4:d=rf(a,c,1);break;case 5:d=uf(a,c,1);break;case 6:d=rf(a,c,1);break;case 7:d=xf(a,c,1)}V(a,d)};
|
||||
X[210]=function(a){a.f=C(a);var c=Nd(a),d=a.C[4]&31,e=0;switch(a.f>>3&7){case 0:e=cf(a,c,d);break;case 1:e=jf(a,c,d);break;case 2:e=ff(a,c,d);break;case 3:e=mf(a,c,d);break;case 4:e=pf(a,c,d);break;case 5:e=sf(a,c,d);break;case 6:e=pf(a,c,d);break;case 7:e=vf(a,c,d)}Od(a,e)};
|
||||
Y[211]=function(a){a.f=C(a);var c=S(a),d=a.C[4]&31,e=0;switch(a.f>>3&7){case 0:e=df(a,c,d);break;case 1:e=kf(a,c,d);break;case 2:e=gf(a,c,d);break;case 3:e=nf(a,c,d);break;case 4:e=qf(a,c,d);break;case 5:e=tf(a,c,d);break;case 6:e=qf(a,c,d);break;case 7:e=wf(a,c,d)}T(a,e)};
|
||||
Z[211]=function(a){a.f=C(a);var c=U(a),d=a.C[4]&31,e=0;switch(a.f>>3&7){case 0:e=ef(a,c,d);break;case 1:e=lf(a,c,d);break;case 2:e=hf(a,c,d);break;case 3:e=of(a,c,d);break;case 4:e=rf(a,c,d);break;case 5:e=uf(a,c,d);break;case 6:e=rf(a,c,d);break;case 7:e=xf(a,c,d)}V(a,e)};X[212]=function(a){var c=C(a);if(0===c)Gd(a);else{var d=a.C[0];a.C[1]=d/c;a.C[0]=d%c;a.F=a.C[0];a.u=196;a.h&=-2066}};X[213]=function(a){var c=C(a),c=a.C[0]+a.C[1]*c;a.F=c&255;a.l[0]=a.F;a.T=7;a.u=196;a.h&=-2066;65535<c&&(a.h|=1)};
|
||||
X[214]=function(a){a.C[0]=-a.Pa()};X[215]=function(a){a.C[0]=a.la?ld(a,pd(a,3)+a.a[3]+a.C[0]):ld(a,pd(a,3)+a.l[6]+a.C[0])};X[216]=function(a){a.f=C(a);Hd(a);if(192>a.f){var c=a.Ba,d=a.f,e=a.P(a.f);a=d>>3&7;d=wb(c,e)}else c=a.Ba,d=a.f,a=d>>3&7,d=rb(c,d&7);e=hb(c);switch(a){case 0:c.g[c.b]=e+d;break;case 1:c.g[c.b]=e*d;break;case 2:gb(c,d);break;case 3:gb(c,d);c.pop();break;case 4:c.g[c.b]=e-d;break;case 5:c.g[c.b]=d-e;break;case 6:c.g[c.b]=e/d;break;case 7:c.g[c.b]=d/e}};
|
||||
X[217]=function(a){a.f=C(a);Hd(a);if(192>a.f){var c=a.Ba,d=a.f;a=a.P(a.f);switch(d>>3&7){case 0:a=wb(c,a);c.push(a);break;case 1:db(c);break;case 2:d=hb(c);c.N[0]=d;x(c.s,a,c.Fa[0]);break;case 3:d=hb(c);c.N[0]=d;x(c.s,a,c.Fa[0]);c.pop();break;case 4:nb(c,a);break;case 5:c.K=y(c.s,a);break;case 6:kb(c,a);break;case 7:mb(c.s,a,c.K)}}else switch(c=a.Ba,d=a.f,a=d&7,d>>3&7){case 0:d=rb(c,a);c.push(d);break;case 1:d=rb(c,a);c.g[c.b+a&7]=hb(c);c.g[c.b]=d;break;case 2:switch(a){case 0:break;default:db(c)}break;
|
||||
case 3:db(c);break;case 4:d=hb(c);switch(a){case 0:c.g[c.b]=-d;break;case 1:c.g[c.b]=Math.abs(d);break;case 4:a=d;c.m&=-18177;isNaN(a)?c.m|=17664:0===a?c.m|=16384:0>a&&(c.m|=256);break;case 5:a=d;c.m&=-18177;c.m|=c.sign(0)<<9;c.m=c.o>>c.b&1?c.m|16640:isNaN(a)?c.m|256:0===a?c.m|16384:Infinity===a||-Infinity===a?c.m|1280:c.m|1024;break;default:db(c)}break;case 5:c.push(c.sb[a]);break;case 6:d=hb(c);switch(a){case 0:c.g[c.b]=Math.pow(2,d)-1;break;case 1:c.g[c.b+1&7]=rb(c,1)*Math.log(d)/Math.LN2;c.pop();
|
||||
break;case 2:c.g[c.b]=Math.tan(d);c.push(1);break;case 3:c.g[c.b+1&7]=Math.atan2(rb(c,1),d);c.pop();break;case 4:c.L[0]=hb(c);a=((c.v[7]&127)<<4|c.v[6]>>4)-1023;c.v[7]=63|c.v[7]&128;c.v[6]|=240;c.g[c.b]=a;c.push(c.L[0]);break;case 5:c.g[c.b]=d%rb(c,1);break;case 6:c.b=c.b-1&7;c.m&=-513;break;case 7:c.b=c.b+1&7,c.m&=-513}break;case 7:switch(d=hb(c),a){case 0:c.g[c.b]=d%rb(c,1);break;case 1:c.g[c.b+1&7]=rb(c,1)*Math.log(d+1)/Math.LN2;c.pop();break;case 2:c.g[c.b]=Math.sqrt(d);break;case 3:c.g[c.b]=
|
||||
Math.sin(d);c.push(Math.cos(d));break;case 4:c.g[c.b]=pb(c,d);break;case 5:c.g[c.b]=d*Math.pow(2,qb(rb(c,1)));break;case 6:c.g[c.b]=Math.sin(d);break;case 7:c.g[c.b]=Math.cos(d)}}};
|
||||
X[218]=function(a){a.f=C(a);Hd(a);if(192>a.f){var c=a.Ba,d=a.f,e=a.P(a.f);a=d>>3&7;d=A(c.s,e);e=hb(c);switch(a){case 0:c.g[c.b]=e+d;break;case 1:c.g[c.b]=e*d;break;case 2:gb(c,d);break;case 3:gb(c,d);c.pop();break;case 4:c.g[c.b]=e-d;break;case 5:c.g[c.b]=d-e;break;case 6:c.g[c.b]=e/d;break;case 7:c.g[c.b]=d/e}}else switch(c=a.Ba,a=a.f,d=a&7,a>>3&7){case 0:c.s.hb()&&(c.g[c.b]=rb(c,d),c.o&=~(1<<c.b));break;case 1:c.s.jb()&&(c.g[c.b]=rb(c,d),c.o&=~(1<<c.b));break;case 2:Sf(c.s)&&(c.g[c.b]=rb(c,d),c.o&=
|
||||
~(1<<c.b));break;case 3:c.s.ib()&&(c.g[c.b]=rb(c,d),c.o&=~(1<<c.b));break;case 5:1===d?(a=rb(c,1),gb(c,a),c.pop(),c.pop()):db(c);break;default:db(c)}};
|
||||
X[219]=function(a){a.f=C(a);Hd(a);if(192>a.f){var c=a.Ba,d=a.f;a=a.P(a.f);switch(d>>3&7){case 0:a=A(c.s,a);c.push(a);break;case 2:d=pb(c,hb(c));2147483647>=d&&-2147483648<=d?x(c.s,a,d):(fb(c),x(c.s,a,-2147483648));break;case 3:d=pb(c,hb(c));2147483647>=d&&-2147483648<=d?x(c.s,a,d):(fb(c),x(c.s,a,-2147483648));c.pop();break;case 5:c.push(sb(c,a));break;case 7:lb(c.s,a,10);tb(c,a,0);c.pop();break;default:db(c)}}else switch(c=a.Ba,a=a.f,d=a&7,a>>3&7){case 0:c.s.hb()||(c.g[c.b]=rb(c,d),c.o&=~(1<<c.b));
|
||||
break;case 1:c.s.jb()||(c.g[c.b]=rb(c,d),c.o&=~(1<<c.b));break;case 2:Sf(c.s)||(c.g[c.b]=rb(c,d),c.o&=~(1<<c.b));break;case 3:c.s.ib()||(c.g[c.b]=rb(c,d),c.o&=~(1<<c.b));break;case 4:227===a?jb(c):228!==a&&225!==a&&(226===a?c.m=0:db(c));break;case 5:a=rb(c,d);ib(c,a);break;case 6:ib(c,rb(c,d));break;default:db(c)}};
|
||||
X[220]=function(a){a.f=C(a);Hd(a);if(192>a.f){var c=a.Ba,d=a.f,e=a.P(a.f);a=d>>3&7;d=ub(c,e);e=hb(c);switch(a){case 0:c.g[c.b]=e+d;break;case 1:c.g[c.b]=e*d;break;case 2:gb(c,d);break;case 3:gb(c,d);c.pop();break;case 4:c.g[c.b]=e-d;break;case 5:c.g[c.b]=d-e;break;case 6:c.g[c.b]=e/d;break;case 7:c.g[c.b]=d/e}}else{c=a.Ba;d=a.f;a=d>>3&7;var e=d&7,d=c.b+e&7,e=rb(c,e),f=hb(c);switch(a){case 0:c.g[d]=e+f;break;case 1:c.g[d]=e*f;break;case 2:gb(c,e);break;case 3:gb(c,e);c.pop();break;case 4:c.g[d]=f-
|
||||
e;break;case 5:c.g[d]=e-f;break;case 6:c.g[d]=f/e;break;case 7:c.g[d]=e/f}}};
|
||||
X[221]=function(a){a.f=C(a);Hd(a);if(192>a.f){var c=a.Ba,d=a.f;a=a.P(a.f);switch(d>>3&7){case 0:a=ub(c,a);c.push(a);break;case 1:db(c);break;case 2:vb(c,a);break;case 3:vb(c,a);c.pop();break;case 4:nb(c,a);a+=28;for(d=0;8>d;d++)c.g[d]=sb(c,a),a+=10;break;case 5:db(c);break;case 6:lb(c.s,a,108);kb(c,a);a+=28;for(d=0;8>d;d++)tb(c,a,d-c.b&7),a+=10;jb(c);break;case 7:mb(c.s,a,c.m&-14337|c.b<<11)}}else switch(c=a.Ba,a=a.f,d=a&7,a>>3&7){case 0:c.o|=1<<(c.b+d&7);break;case 2:c.g[c.b+d&7]=hb(c);break;case 3:d&&
|
||||
(c.g[c.b+d&7]=hb(c));c.pop();break;case 4:a=rb(c,d);gb(c,a);break;case 5:a=rb(c,d);gb(c,a);c.pop();break;default:db(c)}};
|
||||
X[222]=function(a){a.f=C(a);Hd(a);if(192>a.f){var c=a.Ba,d=a.f,e=a.P(a.f);a=d>>3&7;d=y(c.s,e)<<16>>16;e=hb(c);switch(a){case 0:c.g[c.b]=e+d;break;case 1:c.g[c.b]=e*d;break;case 2:gb(c,d);break;case 3:gb(c,d);c.pop();break;case 4:c.g[c.b]=e-d;break;case 5:c.g[c.b]=d-e;break;case 6:c.g[c.b]=e/d;break;case 7:c.g[c.b]=d/e}}else{c=a.Ba;d=a.f;a=d>>3&7;var d=d&7,e=c.b+d&7,f=rb(c,d),h=hb(c);switch(a){case 0:c.g[e]=f+h;break;case 1:c.g[e]=f*h;break;case 2:gb(c,f);break;case 3:1===d?(gb(c,c.g[e]),c.pop()):
|
||||
db(c);break;case 4:c.g[e]=h-f;break;case 5:c.g[e]=f-h;break;case 6:c.g[e]=h/f;break;case 7:c.g[e]=f/h}c.pop()}};
|
||||
X[223]=function(a){a.f=C(a);Hd(a);if(192>a.f){var c=a.Ba,d=a.f;a=a.P(a.f);switch(d>>3&7){case 0:a=y(c.s,a)<<16>>16;c.push(a);break;case 1:db(c);break;case 2:d=pb(c,hb(c));32767>=d&&-32768<=d?mb(c.s,a,d):(fb(c),mb(c.s,a,32768));break;case 3:d=pb(c,hb(c));32767>=d&&-32768<=d?mb(c.s,a,d):(fb(c),mb(c.s,a,32768));c.pop();break;case 4:db(c);break;case 5:d=A(c.s,a)>>>0;a=A(c.s,a+4);c.push(d+4294967296*a);break;case 6:db(c);break;case 7:lb(c.s,a,8);var d=pb(c,hb(c)),e,f;0x7fffffffffffffff>d&&-9223372036854775808<=
|
||||
d?(e=d|0,f=d/4294967296|0,!f&&0>d&&(f=-1)):(e=0,f=-2147483648,fb(c));x(c.s,a,e);x(c.s,a+4,f);c.pop()}}else switch(c=a.Ba,a=a.f,d=a&7,a>>3&7){case 4:224===a?c.s.l[0]=c.m&-14337|c.b<<11:db(c);break;case 5:a=rb(c,d);ib(c,a);c.pop();break;case 6:ib(c,rb(c,d));c.pop();break;default:db(c)}};X[224]=function(a){var c=D(a);--a.j[a.M]&&!a.Pb()&&(a.w=a.w+c|0,a.Da||xd(a))};X[225]=function(a){var c=D(a);--a.j[a.M]&&a.Pb()&&(a.w=a.w+c|0,a.Da||xd(a))};X[226]=function(a){a.loop(D(a))};
|
||||
X[227]=function(a){var c=D(a);0===a.j[a.M]&&(a.w=a.w+c|0,a.Da||xd(a))};X[228]=function(a){var c=C(a);Zd(a,c,1);a.C[0]=Ha(a.A,c)};Y[229]=function(a){var c=C(a);Zd(a,c,2);a.l[0]=Ia(a.A,c)};Z[229]=function(a){var c=C(a);Zd(a,c,4);a.a[0]=Ja(a.A,c)};X[230]=function(a){var c=C(a);Zd(a,c,1);Ea(a.A,c,a.C[0])};Y[231]=function(a){var c=C(a);Zd(a,c,2);Fa(a.A,c,a.l[0])};Z[231]=function(a){var c=C(a);Zd(a,c,4);Ga(a.A,c,a.a[0])};Y[232]=function(a){var c=E(a)<<16>>16;O(a,xd(a));Mf(a,c)};
|
||||
Z[232]=function(a){var c=H(a);N(a,xd(a));a.w=a.w+c|0;a.la||xd(a)};Y[233]=function(a){var c=E(a)<<16>>16;Mf(a,c)};Z[233]=function(a){var c=H(a);a.w=a.w+c|0;a.la||xd(a)};Y[234]=function(a){var c=E(a);B(a,1,E(a));a.w=c+K(a,1)|0;a.la||xd(a)};Z[234]=function(a){var c=H(a);B(a,1,E(a));if((!a.qa||rd(a))&&c&4294901760)throw a.debug.S("#GP handler");a.w=c+K(a,1)|0;a.la||xd(a)};X[235]=function(a){var c=D(a);a.w=a.w+c|0;a.la||xd(a);a.qa=1===(a.G[0]&1)};
|
||||
X[236]=function(a){var c=a.l[4];Zd(a,c,1);a.C[0]=Ha(a.A,c)};Y[237]=function(a){var c=a.l[4];Zd(a,c,2);a.l[0]=Ia(a.A,c)};Z[237]=function(a){var c=a.l[4];Zd(a,c,4);a.a[0]=Ja(a.A,c)};X[238]=function(a){var c=a.l[4];Zd(a,c,1);Ea(a.A,c,a.C[0])};Y[239]=function(a){var c=a.l[4];Zd(a,c,2);Fa(a.A,c,a.l[0])};Z[239]=function(a){var c=a.l[4];Zd(a,c,4);Ga(a.A,c,a.a[0])};X[240]=function(a){gd(a)};X[241]=function(a){throw a.debug.S("int1 instruction");};X[242]=function(a){a.ca=1;gd(a);a.ca=0};
|
||||
X[243]=function(a){a.ca=2;gd(a);a.ca=0};X[244]=function(a){a.O&&M(a,0);if(a.h&512)throw a.Pc=!0,233495534;a.debug.show("cpu halted");throw"HALT";};X[245]=function(a){a.h=(a.h|1)^a.Pa();a.u&=-2};
|
||||
X[246]=function(a){a.f=C(a);switch(a.f>>3&7){case 0:var c=Id(a),d=C(a);Se(a,c,d,7);break;case 1:c=Id(a);d=C(a);Se(a,c,d,7);break;case 2:c=Nd(a);Od(a,~c);break;case 3:c=Nd(a);Od(a,Je(a,c,7));break;case 4:c=Id(a);c*=a.C[0];a.l[0]=c;a.F=c&255;a.T=7;a.h=256>c?a.h&-2050:a.h|2049;a.u=212;break;case 5:c=Id(a)<<24>>24;c*=a.be[0];a.l[0]=c;a.F=c&255;a.T=7;a.h=127<c||-128>c?a.h|2049:a.h&-2050;a.u=212;break;case 6:c=Id(a);if(0===c)Gd(a);else{var d=a.l[0],e=d/c|0;256<=e?Gd(a):(a.C[0]=e,a.C[1]=d%c)}break;case 7:c=
|
||||
Id(a)<<24>>24,0===c?Gd(a):(d=a.yc[0],e=d/c|0,128<=e||-129>=e?Gd(a):(a.C[0]=e,a.C[1]=d%c))}};
|
||||
Y[247]=function(a){a.f=C(a);switch(a.f>>3&7){case 0:var c=R(a),d=E(a);Se(a,c,d,15);break;case 1:c=R(a);d=E(a);Se(a,c,d,15);break;case 2:c=S(a);T(a,~c);break;case 3:c=S(a);T(a,Je(a,c,15));break;case 4:c=R(a);c*=a.l[0];d=c>>>16;a.l[0]=c;a.l[4]=d;a.F=c&65535;a.T=15;a.h=d?a.h|2049:a.h&-2050;a.u=212;break;case 5:c=R(a)<<16>>16;c*=a.yc[0];a.l[0]=c;a.l[4]=c>>16;a.F=c&65535;a.T=15;a.h=32767<c||-32768>c?a.h|2049:a.h&-2050;a.u=212;break;case 6:c=R(a);if(0===c)Gd(a);else{var d=(a.l[0]|a.l[4]<<16)>>>0,e=d/c|
|
||||
0;65536<=e||0>e?Gd(a):(a.l[0]=e,a.l[4]=d%c)}break;case 7:c=R(a)<<16>>16,0===c?Gd(a):(d=a.l[0]|a.l[4]<<16,e=d/c|0,32768<=e||-32769>=e?Gd(a):(a.l[0]=e,a.l[4]=d%c))}};
|
||||
Z[247]=function(a){a.f=C(a);switch(a.f>>3&7){case 0:var c=Jd(a),d=H(a);Se(a,c,d,31);break;case 1:c=Jd(a);d=H(a);Se(a,c,d,31);break;case 2:c=U(a);V(a,~c);break;case 3:c=U(a);V(a,Je(a,c,31));break;case 4:c=Jd(a)>>>0;c=Me(a.a[0],c);a.a[0]=c[0];a.a[2]=c[1];a.F=c[0];a.T=31;a.h=0===c[1]?a.h&-2050:a.h|2049;a.u=212;break;case 5:c=Jd(a);c=Ne(a.a[0],c);a.a[0]=c[0];a.a[2]=c[1];a.F=c[0];a.T=31;a.h=c[1]===c[0]>>31?a.h&-2050:a.h|2049;a.u=212;break;case 6:c=Jd(a)>>>0;d=Qe(a,a.Wc[0],a.Wc[2],c);c=d[0];d=d[1];4294967296<=
|
||||
c?Gd(a):(a.a[0]=c,a.a[2]=d);break;case 7:var e=c=Jd(a),f=a.Wc[0],h=a.a[2],d=c=!1;0>e&&(d=!0,e=-e);0>h&&(c=!0,d=!d,f=-f>>>0,h=~h+!f);f=Qe(a,f,h,e);e=f[0];f=f[1];d&&(e=-e|0);c&&(f=-f|0);2147483648<=e||-2147483649>=e?Gd(a):(a.a[0]=e,a.a[2]=f)}};X[248]=function(a){a.h&=-2;a.u&=-2};X[249]=function(a){a.h|=1;a.u&=-2};X[250]=function(a){!a.qa||(a.h&131072?3===qd(a):qd(a)>=a.O)?a.h&=-513:M(a,0)};X[251]=function(a){!a.qa||(a.h&131072?3===qd(a):qd(a)>=a.O)?(a.h|=512,dd(a),fd(a),Fc(a)):M(a,0)};
|
||||
X[252]=function(a){a.h&=-1025};X[253]=function(a){a.h|=1024};X[254]=function(a){a.f=C(a);var c=a.f&56;c?8===c?(c=Nd(a),Od(a,Ie(a,c,7))):w(a):(c=Nd(a),Od(a,He(a,c,7)))};
|
||||
Y[255]=function(a){a.f=C(a);switch(a.f>>3&7){case 0:var c=S(a);T(a,He(a,c,15));break;case 1:c=S(a);T(a,Ie(a,c,15));break;case 2:c=R(a);O(a,xd(a));a.w=K(a,1)+c|0;a.la||xd(a);break;case 3:192<=a.f&&w(a);var d=a.P(a.f),c=y(a,d),d=y(a,d+2|0),e=a.R[1],f=xd(a);lb(a,J(a,-4),4);B(a,1,d);O(a,e);O(a,f);a.w=K(a,1)+c|0;a.la||xd(a);break;case 4:c=R(a);a.w=K(a,1)+c|0;a.la||xd(a);break;case 5:192<=a.f&&w(a);d=a.P(a.f);c=y(a,d);d=y(a,d+2|0);B(a,1,d);a.w=K(a,1)+c|0;a.la||xd(a);break;case 6:c=R(a);O(a,c);break;case 7:w(a)}};
|
||||
Z[255]=function(a){a.f=C(a);switch(a.f>>3&7){case 0:var c=U(a);V(a,He(a,c,31));break;case 1:c=U(a);V(a,Ie(a,c,31));break;case 2:c=Jd(a);N(a,xd(a));a.w=K(a,1)+c|0;break;case 3:192<=a.f&&w(a);var d=a.P(a.f),c=A(a,d),d=y(a,d+4|0),e=a.R[1],f=xd(a);if((!a.qa||rd(a))&&c&4294901760)throw a.debug.S("#GP handler");lb(a,J(a,-8),8);B(a,1,d);N(a,e);N(a,f);a.w=K(a,1)+c|0;break;case 4:c=Jd(a);a.w=K(a,1)+c|0;break;case 5:192<=a.f&&w(a);d=a.P(a.f);c=A(a,d);d=y(a,d+4|0);if((!a.qa||rd(a))&&c&4294901760)throw a.debug.S("#GP handler");
|
||||
B(a,1,d);a.w=K(a,1)+c|0;break;case 6:c=Jd(a);N(a,c);break;case 7:w(a)}};var cg=[],dg=[];v.prototype.ja=cg;v.prototype.wa=dg;for(var eg=0;256>eg;eg++)X[eg]?cg[eg]=dg[eg]=X[eg]:Y[eg]&&(cg[eg]=Y[eg],dg[eg]=Z[eg]);X=[];Y=[];Z=[];
|
||||
X[0]=function(a){a.f=C(a);a.qa&&!rd(a)||w(a);switch(a.f>>3&7){case 0:Ld(a,a.R[7]);192<=a.f&&(a.a[a.f&7]&=65535);break;case 1:Ld(a,a.R[6]);192<=a.f&&(a.a[a.f&7]&=65535);break;case 2:a.O&&M(a,0);var c=R(a);Ad(a,c);break;case 3:a.O&&M(a,0);var c=R(a),d=zd(a,c);if(!d.ye)throw a.debug.S("TR can only be loaded from GDT");if(d.kb)throw a.debug.S("#GP handler");if(!d.Eb)throw a.debug.S("#GP handler");if(!d.Fb)throw a.debug.S("#GP handler");if(9!==d.type&&1!==d.type)throw a.debug.S("#GP handler");if(1===d.type)throw a.debug.S("286 tss");
|
||||
a.Ea[6]=d.Cb;a.Qa[6]=d.Ob;a.R[6]=c;a.memory.sa(d.Hd+5|0,a.memory.da(d.Hd+5|0)|2);break;case 4:c=R(a);c=zd(a,c);a.u&=-65;a.h=c.kb||!c.bc||c.Fb||!c.Ae||!c.xd&&(c.xa<a.O||c.xa<c.mb)?a.h&-65:a.h|64;break;case 5:c=R(a);c=zd(a,c);a.u&=-65;a.h=c.kb||!c.bc||c.Fb||!c.Ce||c.xa<a.O||c.xa<c.mb?a.h&-65:a.h|64;break;default:w(a)}};
|
||||
X[1]=function(a){a.f=C(a);var c=a.f>>3&7;if(4===c)Ld(a,a.G[0]);else if(6===c){a.O&&M(a,0);var d=R(a);a.G[0]=a.G[0]&-16|d&15;a.qa&&(a.G[0]|=1);hd(a)}else switch(192<=a.f&&w(a),2!==c&&3!==c||!a.qa||(a.ya=9),d=a.P(a.f),a.ya=-1,c){case 0:lb(a,d,6);mb(a,d,a.Nc);c=a.Da?-1:16777215;x(a,d+2,a.$b&c);break;case 1:lb(a,d,6);mb(a,d,a.Oc);c=a.Da?-1:16777215;x(a,d+2,a.ac&c);break;case 2:a.O&&M(a,0);c=y(a,d);d=A(a,d+2);a.Nc=c;a.$b=d;a.Da||(a.$b&=16777215);break;case 3:a.O&&M(a,0);c=y(a,d);d=A(a,d+2);a.Oc=c;a.ac=
|
||||
d;a.Da||(a.ac&=16777215);break;case 7:a.O&&M(a,0);d>>>=12;a.Kb[d]=0;a.Id[d]=0;a.Gb=-1;a.Sc=-1;break;default:w(a)}};Y[2]=function(a){a.f=C(a);a.qa&&!rd(a)||w(a);var c=R(a);Xd(a,$d(a,c,Vd(a)))};Z[2]=function(a){a.f=C(a);a.qa&&!rd(a)||w(a);var c=R(a);Yd(a,$d(a,c,W(a)))};Y[3]=function(a){a.f=C(a);a.qa&&!rd(a)||w(a);var c=R(a);Xd(a,ae(a,c,Vd(a)))};Z[3]=function(a){a.f=C(a);a.qa&&!rd(a)||w(a);var c=R(a);Yd(a,ae(a,c,W(a)))};X[4]=function(a){w(a)};X[5]=function(a){w(a)};
|
||||
X[6]=function(a){a.O?M(a,0):a.G[0]&=-9};X[7]=function(a){w(a)};X[8]=function(a){w(a)};X[9]=function(a){a.O&&M(a,0)};X[10]=function(a){w(a)};X[11]=function(a){w(a)};X[12]=function(a){w(a)};X[13]=function(a){w(a)};X[14]=function(a){w(a)};X[15]=function(a){w(a)};X[16]=function(a){w(a)};X[17]=function(a){w(a)};X[18]=function(a){w(a)};X[19]=function(a){w(a)};X[20]=function(a){w(a)};X[21]=function(a){w(a)};X[22]=function(a){w(a)};X[23]=function(a){w(a)};X[24]=function(a){a.f=C(a);192>a.f&&a.P(a.f)};
|
||||
X[25]=function(a){w(a)};X[26]=function(a){w(a)};X[27]=function(a){w(a)};X[28]=function(a){w(a)};X[29]=function(a){w(a)};X[30]=function(a){w(a)};X[31]=function(a){w(a)};X[32]=function(a){a.f=C(a);a.O&&M(a,0);switch(a.f>>3&7){case 0:Sd(a,a.G[0]);break;case 2:Sd(a,a.G[2]);break;case 3:Sd(a,a.G[3]);break;case 4:Sd(a,a.G[4]);break;default:w(a)}};X[33]=function(a){a.f=C(a);a.O&&M(a,0);a.a[a.f&7]=a.nc[a.f>>3&7]};
|
||||
X[34]=function(a){a.f=C(a);a.O&&M(a,0);var c=Rd(a);switch(a.f>>3&7){case 0:a.G[0]=c;if(-2147483648===(a.G[0]&-2147483647))throw a.debug.S("#GP handler");hd(a);break;case 2:a.G[2]=c;break;case 3:a.G[3]=c;Bd(a);break;case 4:c&-3565568&&M(a,0);(a.G[4]^c)&128&&(c&128?Bd(a):cd(a));a.G[4]=c;a.Ad=a.G[4]&16?128:0;if(a.G[4]&32)throw a.debug.S("PAE");break;default:w(a)}};X[35]=function(a){a.f=C(a);a.O&&M(a,0);a.nc[a.f>>3&7]=Rd(a)};X[36]=function(a){w(a)};X[37]=function(a){w(a)};X[38]=function(a){w(a)};
|
||||
X[39]=function(a){w(a)};X[40]=function(a){w(a)};X[41]=function(a){w(a)};X[42]=function(a){w(a)};X[43]=function(a){w(a)};X[44]=function(a){w(a)};X[45]=function(a){w(a)};X[46]=function(a){w(a)};X[47]=function(a){w(a)};X[48]=function(a){a.O&&M(a,0);var c=a.a[0],d=a.a[2];switch(a.a[1]){case 372:a.Ac=c&65535;break;case 374:a.Zc=c;break;case 373:a.$c=c;break;case 16:c=(c>>>0)+4294967296*(d>>>0),a.Jd=Oa()-c/8192}};
|
||||
X[49]=function(a){if(a.O&&a.G[4]&4)M(a,0);else{var c=Oa()-a.Jd;a.a[0]=8192*c;a.a[2]=1.9073486328125E-6*c}};X[50]=function(a){a.O&&M(a,0);var c=0,d=0;switch(a.a[1]){case 372:c=a.Ac;break;case 374:c=a.Zc;break;case 373:c=a.$c;break;case 16:d=Oa()-a.Jd;c=8192*d;d*=1.9073486328125E-6;break;case 27:c=4276092928}a.a[0]=c;a.a[2]=d};X[51]=function(a){w(a)};
|
||||
X[52]=function(a){var c=a.Ac&65532;a.qa&&c||M(a,0);a.h&=-131585;a.w=a.Zc;a.a[4]=a.$c;a.R[1]=c;a.yb[1]=0;a.Qa[1]=-1;a.Ea[1]=0;a.Na||Dd(a,!0);a.O=0;id(a);a.R[2]=c+8;a.yb[2]=0;a.Qa[2]=-1;a.Ea[2]=0;a.gb=!0};X[53]=function(a){var c=a.Ac&65532;a.qa&&!a.O&&c||M(a,0);a.w=a.a[2];a.a[4]=a.a[1];a.R[1]=c+16|3;a.yb[1]=0;a.Qa[1]=-1;a.Ea[1]=0;a.Na||Dd(a,!0);a.O=3;id(a);a.R[2]=c+24|3;a.yb[2]=0;a.Qa[2]=-1;a.Ea[2]=0;a.gb=!0};X[54]=function(a){w(a)};X[55]=function(a){w(a)};X[56]=function(a){w(a)};X[57]=function(a){w(a)};
|
||||
X[58]=function(a){w(a)};X[59]=function(a){w(a)};X[60]=function(a){w(a)};X[61]=function(a){w(a)};X[62]=function(a){w(a)};X[63]=function(a){w(a)};Y[64]=function(a){a.f=C(a);Pf(a,a.qb())};Z[64]=function(a){a.f=C(a);Qf(a,a.qb())};Y[65]=function(a){a.f=C(a);Pf(a,!a.qb())};Z[65]=function(a){a.f=C(a);Qf(a,!a.qb())};Y[66]=function(a){a.f=C(a);Pf(a,a.hb())};Z[66]=function(a){a.f=C(a);Qf(a,a.hb())};Y[67]=function(a){a.f=C(a);Pf(a,!a.hb())};Z[67]=function(a){a.f=C(a);Qf(a,!a.hb())};
|
||||
Y[68]=function(a){a.f=C(a);Pf(a,a.jb())};Z[68]=function(a){a.f=C(a);Qf(a,a.jb())};Y[69]=function(a){a.f=C(a);Pf(a,!a.jb())};Z[69]=function(a){a.f=C(a);Qf(a,!a.jb())};Y[70]=function(a){a.f=C(a);Pf(a,Sf(a))};Z[70]=function(a){a.f=C(a);Qf(a,Sf(a))};Y[71]=function(a){a.f=C(a);Pf(a,!Sf(a))};Z[71]=function(a){a.f=C(a);Qf(a,!Sf(a))};Y[72]=function(a){a.f=C(a);Pf(a,a.rb())};Z[72]=function(a){a.f=C(a);Qf(a,a.rb())};Y[73]=function(a){a.f=C(a);Pf(a,!a.rb())};Z[73]=function(a){a.f=C(a);Qf(a,!a.rb())};
|
||||
Y[74]=function(a){a.f=C(a);Pf(a,a.ib())};Z[74]=function(a){a.f=C(a);Qf(a,a.ib())};Y[75]=function(a){a.f=C(a);Pf(a,!a.ib())};Z[75]=function(a){a.f=C(a);Qf(a,!a.ib())};Y[76]=function(a){a.f=C(a);Pf(a,Tf(a))};Z[76]=function(a){a.f=C(a);Qf(a,Tf(a))};Y[77]=function(a){a.f=C(a);Pf(a,!Tf(a))};Z[77]=function(a){a.f=C(a);Qf(a,!Tf(a))};Y[78]=function(a){a.f=C(a);Pf(a,Uf(a))};Z[78]=function(a){a.f=C(a);Qf(a,Uf(a))};Y[79]=function(a){a.f=C(a);Pf(a,!Uf(a))};Z[79]=function(a){a.f=C(a);Qf(a,!Uf(a))};X[80]=function(a){w(a)};
|
||||
X[81]=function(a){w(a)};X[82]=function(a){w(a)};X[83]=function(a){w(a)};X[84]=function(a){w(a)};X[85]=function(a){w(a)};X[86]=function(a){w(a)};X[87]=function(a){w(a)};X[88]=function(a){w(a)};X[89]=function(a){w(a)};X[90]=function(a){w(a)};X[91]=function(a){w(a)};X[92]=function(a){w(a)};X[93]=function(a){w(a)};X[94]=function(a){w(a)};X[95]=function(a){w(a)};X[96]=function(a){w(a)};X[97]=function(a){w(a)};X[98]=function(a){w(a)};X[99]=function(a){w(a)};X[100]=function(a){w(a)};X[101]=function(a){w(a)};
|
||||
X[102]=function(a){w(a)};X[103]=function(a){w(a)};X[104]=function(a){w(a)};X[105]=function(a){w(a)};X[106]=function(a){w(a)};X[107]=function(a){w(a)};X[108]=function(a){w(a)};X[109]=function(a){w(a)};X[110]=function(a){w(a)};X[111]=function(a){w(a)};X[112]=function(a){w(a)};X[113]=function(a){w(a)};X[114]=function(a){w(a)};X[115]=function(a){w(a)};X[116]=function(a){w(a)};X[117]=function(a){w(a)};X[118]=function(a){w(a)};X[119]=function(a){w(a)};X[120]=function(a){w(a)};X[121]=function(a){w(a)};
|
||||
X[122]=function(a){w(a)};X[123]=function(a){w(a)};X[124]=function(a){w(a)};X[125]=function(a){w(a)};X[126]=function(a){w(a)};X[127]=function(a){w(a)};Y[128]=function(a){Nf(a,a.qb())};Z[128]=function(a){Of(a,a.qb())};Y[129]=function(a){Nf(a,!a.qb())};Z[129]=function(a){Of(a,!a.qb())};Y[130]=function(a){Nf(a,a.hb())};Z[130]=function(a){Of(a,a.hb())};Y[131]=function(a){Nf(a,!a.hb())};Z[131]=function(a){Of(a,!a.hb())};Y[132]=function(a){Nf(a,a.jb())};Z[132]=function(a){Of(a,a.jb())};
|
||||
Y[133]=function(a){Nf(a,!a.jb())};Z[133]=function(a){Of(a,!a.jb())};Y[134]=function(a){Nf(a,Sf(a))};Z[134]=function(a){Of(a,Sf(a))};Y[135]=function(a){Nf(a,!Sf(a))};Z[135]=function(a){Of(a,!Sf(a))};Y[136]=function(a){Nf(a,a.rb())};Z[136]=function(a){Of(a,a.rb())};Y[137]=function(a){Nf(a,!a.rb())};Z[137]=function(a){Of(a,!a.rb())};Y[138]=function(a){Nf(a,a.ib())};Z[138]=function(a){Of(a,a.ib())};Y[139]=function(a){Nf(a,!a.ib())};Z[139]=function(a){Of(a,!a.ib())};Y[140]=function(a){Nf(a,Tf(a))};
|
||||
Z[140]=function(a){Of(a,Tf(a))};Y[141]=function(a){Nf(a,!Tf(a))};Z[141]=function(a){Of(a,!Tf(a))};Y[142]=function(a){Nf(a,Uf(a))};Z[142]=function(a){Of(a,Uf(a))};Y[143]=function(a){Nf(a,!Uf(a))};Z[143]=function(a){Of(a,!Uf(a))};X[144]=function(a){a.f=C(a);Rf(a,a.qb())};X[145]=function(a){a.f=C(a);Rf(a,!a.qb())};X[146]=function(a){a.f=C(a);Rf(a,a.hb())};X[147]=function(a){a.f=C(a);Rf(a,!a.hb())};X[148]=function(a){a.f=C(a);Rf(a,a.jb())};X[149]=function(a){a.f=C(a);Rf(a,!a.jb())};
|
||||
X[150]=function(a){a.f=C(a);Rf(a,Sf(a))};X[151]=function(a){a.f=C(a);Rf(a,!Sf(a))};X[152]=function(a){a.f=C(a);Rf(a,a.rb())};X[153]=function(a){a.f=C(a);Rf(a,!a.rb())};X[154]=function(a){a.f=C(a);Rf(a,a.ib())};X[155]=function(a){a.f=C(a);Rf(a,!a.ib())};X[156]=function(a){a.f=C(a);Rf(a,Tf(a))};X[157]=function(a){a.f=C(a);Rf(a,!Tf(a))};X[158]=function(a){a.f=C(a);Rf(a,Uf(a))};X[159]=function(a){a.f=C(a);Rf(a,!Uf(a))};Y[160]=function(a){O(a,a.R[4])};Z[160]=function(a){N(a,a.R[4])};
|
||||
Y[161]=function(a){B(a,4,y(a,J(a,0)));I(a,2)};Z[161]=function(a){B(a,4,y(a,J(a,0)));I(a,4)};
|
||||
X[162]=function(a){var c=0,d=0,e=0,f=0;switch(a.a[0]){case 0:c=5;f=1970169159;e=1231384169;d=1818588270;break;case 1:c=3939;f=67584;d=1082130432;e=(a.Ba?1:0)|43322;e|=512;break;case 2:c=1717260289;d=f=0;e=8024064;break;case 4:switch(a.a[1]){case 0:c=289;f=29360191;d=63;e=1;break;case 1:c=290;f=29360191;d=63;e=1;break;case 2:c=323,f=96469055,d=4095,e=1}break;case -2147483648:c=5}a.a[0]=c;a.a[1]=d;a.a[2]=e;a.a[3]=f};Y[163]=function(a){a.f=C(a);192>a.f?Gf(a,a.P(a.f),Wd(a)):Cf(a,Pd(a),Vd(a)&15)};
|
||||
Z[163]=function(a){a.f=C(a);192>a.f?Gf(a,a.P(a.f),W(a)):Cf(a,Rd(a),W(a)&31)};Y[164]=function(a){a.f=C(a);var c=S(a);T(a,Af(a,c,Vd(a),C(a)&31))};Z[164]=function(a){a.f=C(a);var c=U(a);V(a,Bf(a,c,W(a),C(a)&31))};Y[165]=function(a){a.f=C(a);var c=S(a);T(a,Af(a,c,Vd(a),a.C[4]&31))};Z[165]=function(a){a.f=C(a);var c=U(a);V(a,Bf(a,c,W(a),a.C[4]&31))};X[166]=function(a){w(a)};X[167]=function(a){w(a)};Y[168]=function(a){O(a,a.R[5])};Z[168]=function(a){N(a,a.R[5])};
|
||||
Y[169]=function(a){B(a,5,y(a,J(a,0)));I(a,2)};Z[169]=function(a){B(a,5,y(a,J(a,0)));I(a,4)};X[170]=function(a){w(a)};Y[171]=function(a){a.f=C(a);192>a.f?Jf(a,a.P(a.f),Wd(a)):Qd(a,Ef(a,Pd(a),Wd(a)&15))};Z[171]=function(a){a.f=C(a);192>a.f?Jf(a,a.P(a.f),W(a)):Sd(a,Ef(a,Rd(a),W(a)&31))};Y[172]=function(a){a.f=C(a);var c=S(a);T(a,yf(a,c,Vd(a),C(a)&31))};Z[172]=function(a){a.f=C(a);var c=U(a);V(a,zf(a,c,W(a),C(a)&31))};Y[173]=function(a){a.f=C(a);var c=S(a);T(a,yf(a,c,Vd(a),a.C[4]&31))};
|
||||
Z[173]=function(a){a.f=C(a);var c=U(a);V(a,zf(a,c,W(a),a.C[4]&31))};X[174]=function(a){a.f=C(a);switch(a.f>>3&7){case 5:break;case 6:break;default:w(a)}};Y[175]=function(a){a.f=C(a);var c=R(a)<<16>>16;Xd(a,Ke(a,Wd(a),c))};Z[175]=function(a){a.f=C(a);var c=Jd(a);Yd(a,Oe(a,W(a),c))};X[176]=function(a){a.f=C(a);if(192>a.f){var c=a.P(a.f);lb(a,c,1);var d=ld(a,c)}else d=a.C[a.f<<2&12|a.f>>2&1];Ae(a,a.C[0],d,7);a.Pb()?192>a.f?md(a,c,Td(a)):a.C[a.f<<2&12|a.f>>2&1]=Td(a):a.C[0]=d};
|
||||
Y[177]=function(a){a.f=C(a);if(192>a.f){var c=a.P(a.f);lb(a,c,2);var d=y(a,c)}else d=Pd(a);Ae(a,a.l[0],d,15);a.Pb()?192>a.f?mb(a,c,Vd(a)):Qd(a,Vd(a)):a.l[0]=d};Z[177]=function(a){a.f=C(a);if(192>a.f){var c=a.P(a.f);lb(a,c,4);var d=A(a,c)}else d=Rd(a);Ae(a,a.a[0],d,31);a.Pb()?192>a.f?x(a,c,W(a)):Sd(a,W(a)):a.a[0]=d};Y[178]=function(a){a.f=C(a);$f(a,2)};Z[178]=function(a){a.f=C(a);ag(a,2)};Y[179]=function(a){a.f=C(a);192>a.f?If(a,a.P(a.f),Wd(a)):Qd(a,Ff(a,Pd(a),Wd(a)&15))};
|
||||
Z[179]=function(a){a.f=C(a);192>a.f?If(a,a.P(a.f),W(a)):Sd(a,Ff(a,Rd(a),W(a)&31))};Y[180]=function(a){a.f=C(a);$f(a,4)};Z[180]=function(a){a.f=C(a);ag(a,4)};Y[181]=function(a){a.f=C(a);$f(a,5)};Z[181]=function(a){a.f=C(a);ag(a,5)};Y[182]=function(a){a.f=C(a);var c=Id(a);Xd(a,c)};Z[182]=function(a){a.f=C(a);var c=Id(a);Yd(a,c)};X[183]=function(a){a.f=C(a);var c=R(a);Yd(a,c)};Y[184]=function(a){a.f=C(a);var c=R(a);Xd(a,Kf(a,c))};Z[184]=function(a){a.f=C(a);var c=Jd(a);Yd(a,Kf(a,c))};X[185]=function(a){w(a)};
|
||||
Y[186]=function(a){a.f=C(a);switch(a.f>>3&7){case 4:192>a.f?Gf(a,a.P(a.f),C(a)&15):Cf(a,Pd(a),C(a)&15);break;case 5:192>a.f?Jf(a,a.P(a.f),C(a)&15):Qd(a,Ef(a,Pd(a),C(a)&15));break;case 6:192>a.f?If(a,a.P(a.f),C(a)&15):Qd(a,Ff(a,Pd(a),C(a)&15));break;case 7:192>a.f?Hf(a,a.P(a.f),C(a)&15):Qd(a,Df(a,Pd(a),C(a)&15));break;default:w(a)}};
|
||||
Z[186]=function(a){a.f=C(a);switch(a.f>>3&7){case 4:192>a.f?Gf(a,a.P(a.f),C(a)&31):Cf(a,Rd(a),C(a)&31);break;case 5:192>a.f?Jf(a,a.P(a.f),C(a)&31):Sd(a,Ef(a,Rd(a),C(a)&31));break;case 6:192>a.f?If(a,a.P(a.f),C(a)&31):Sd(a,Ff(a,Rd(a),C(a)&31));break;case 7:192>a.f?Hf(a,a.P(a.f),C(a)&31):Sd(a,Df(a,Rd(a),C(a)&31));break;default:w(a)}};Y[187]=function(a){a.f=C(a);192>a.f?Hf(a,a.P(a.f),Wd(a)):Qd(a,Df(a,Pd(a),Wd(a)&15))};Z[187]=function(a){a.f=C(a);192>a.f?Hf(a,a.P(a.f),W(a)):Sd(a,Df(a,Rd(a),W(a)&31))};
|
||||
Y[188]=function(a){a.f=C(a);var c=R(a);var d=Vd(a);a.u=2197;a.T=15;0===c?(a.h|=64,c=d):(a.h&=-65,c=a.F=Va(-c&c));Xd(a,c)};Z[188]=function(a){a.f=C(a);var c=Jd(a);var d=W(a);a.u=2197;a.T=31;0===c?(a.h|=64,c=d):(a.h&=-65,c=a.F=Va((-c&c)>>>0));Yd(a,c)};Y[189]=function(a){a.f=C(a);var c=R(a);var d=Vd(a);a.u=2197;a.T=15;0===c?(a.h|=64,c=d):(a.h&=-65,c=a.F=Va(c));Xd(a,c)};Z[189]=function(a){a.f=C(a);var c=Jd(a);var d=W(a);a.u=2197;a.T=31;0===c?(a.h|=64,c=d):(a.h&=-65,c=a.F=Va(c>>>0));Yd(a,c)};
|
||||
Y[190]=function(a){a.f=C(a);var c=Id(a)<<24>>24;Xd(a,c)};Z[190]=function(a){a.f=C(a);var c=Id(a)<<24>>24;Yd(a,c)};X[191]=function(a){a.f=C(a);var c=R(a)<<16>>16;Yd(a,c)};X[192]=function(a){a.f=C(a);var c;c=Nd(a);var d=a.f>>1&12|a.f>>5&1,e=a.C[d];a.C[d]=c;c=a.add(c,e,7);Od(a,c)};Y[193]=function(a){a.f=C(a);var c;c=S(a);var d=a.f>>2&14,e=a.l[d];a.l[d]=c;c=a.add(c,e,15);T(a,c)};Z[193]=function(a){a.f=C(a);var c;c=U(a);var d=a.f>>3&7,e=a.a[d];a.a[d]=c;c=a.add(c,e,31);V(a,c)};X[194]=function(a){w(a)};
|
||||
X[195]=function(a){w(a)};X[196]=function(a){w(a)};X[197]=function(a){w(a)};X[198]=function(a){w(a)};X[199]=function(a){a.f=C(a);switch(a.f>>3&7){case 1:192<=a.f&&w(a);var c=a.P(a.f);lb(a,c,8);var d=A(a,c),e=A(a,c+4|0);a.a[0]===d&&a.a[2]===e?(a.h|=64,x(a,c,a.a[3]),x(a,c+4|0,a.a[1])):(a.h&=-65,a.a[0]=d,a.a[2]=e);a.u&=-65;break;case 6:d=(c=Qa())?Ta():0;a.Da?Md(a,d):Ld(a,d);a.h&=-2262;a.h|=c;a.u=0;break;default:w(a)}};X[200]=function(a){bg(a,0)};X[201]=function(a){bg(a,1)};X[202]=function(a){bg(a,2)};
|
||||
X[203]=function(a){bg(a,3)};X[204]=function(a){bg(a,4)};X[205]=function(a){bg(a,5)};X[206]=function(a){bg(a,6)};X[207]=function(a){bg(a,7)};X[208]=function(a){w(a)};X[209]=function(a){w(a)};X[210]=function(a){w(a)};X[211]=function(a){w(a)};X[212]=function(a){w(a)};X[213]=function(a){w(a)};X[214]=function(a){w(a)};X[215]=function(a){w(a)};X[216]=function(a){w(a)};X[217]=function(a){w(a)};X[218]=function(a){w(a)};X[219]=function(a){w(a)};X[220]=function(a){w(a)};X[221]=function(a){w(a)};X[222]=function(a){w(a)};
|
||||
X[223]=function(a){w(a)};X[224]=function(a){w(a)};X[225]=function(a){w(a)};X[226]=function(a){w(a)};X[227]=function(a){w(a)};X[228]=function(a){w(a)};X[229]=function(a){w(a)};X[230]=function(a){w(a)};X[231]=function(a){w(a)};X[232]=function(a){w(a)};X[233]=function(a){w(a)};X[234]=function(a){w(a)};X[235]=function(a){w(a)};X[236]=function(a){w(a)};X[237]=function(a){w(a)};X[238]=function(a){w(a)};X[239]=function(a){w(a)};X[240]=function(a){w(a)};X[241]=function(a){w(a)};X[242]=function(a){w(a)};
|
||||
X[243]=function(a){w(a)};X[244]=function(a){w(a)};X[245]=function(a){w(a)};X[246]=function(a){w(a)};X[247]=function(a){w(a)};X[248]=function(a){w(a)};X[249]=function(a){w(a)};X[250]=function(a){w(a)};X[251]=function(a){w(a)};X[252]=function(a){w(a)};X[253]=function(a){w(a)};X[254]=function(a){w(a)};X[255]=function(a){w(a)};var fg=[],gg=[];v.prototype.gh=fg;v.prototype.hh=gg;for(eg=0;256>eg;eg++)X[eg]?fg[eg]=gg[eg]=X[eg]:Y[eg]&&(fg[eg]=Y[eg],gg[eg]=Z[eg]);function bd(a){var c={};a.debug=c;c.Hh=!1;c.Fh=void 0;c.oh=[];c.Ih=!1;c.show=function(a){if("undefined"!==typeof document){var c=document.getElementById("log");if(c){c.textContent+=a+"\n";c.style.display="block";c.scrollTop=1E9;return}}console.log(a)};c.ob=function(){};c.vh=function(){};c.th=function(){};c.Ah=function(){};c.wh=function(){};c.yh=function(){};c.xh=function(){};c.uh=function(){};c.rh=function(){};c.sh=function(){};c.Bh=function(){};c.Eh=function(){};c.Jh=function(){};c.step=function(){};
|
||||
c.Gh=function(){};c.qh=function(){};c.S=function(a){a="Unimplemented"+(a?": "+a:"");c.show(a);c.show("Execution stopped");return a};c.Dh=function(){};c.ph=function(){}};var oa=16384;function hg(a){this.b=[];this.m=[];this.D=a;this.o=this.L=0;this.v=function(){};this.g={};this.K=0;na(this,"",-1)}function ia(a,c,d){0==ga(a,c).status?d():a.m.push({id:c,Cf:d})}function ig(a,c){a.o||(a.v=function(){});for(var d=[],e=0;e<a.m.length;e++)a.m[e].id==c?a.m[e].Cf():d.push(a.m[e]);a.m=d}
|
||||
function jg(a,c){c=JSON.parse(c);if(2!==c.version)throw"The filesystem JSON format has changed. Please update your fs2json (https://github.com/copy/fs2json) and recreate the filesystem JSON.";var d=c.fsroot;a.K=c.size;setTimeout(function(){for(var c=0;c<d.length;c++)kg(a,d[c],0);a.v=function(){}},0)}
|
||||
function kg(a,c,d){var e=ja(a);e.name=c[0];e.size=c[1];e.zd=c[2];e.qe=e.zd;e.ld=e.zd;e.mode=c[3];e.uid=c[4];e.Za=c[5];e.va=d;d=e.mode&61440;if(d===oa)for(c=c[6],e.hc=!0,d=a.b.length,ka(a,e),e=0;e<c.length;e++)kg(a,c[e],d);else 32768===d?(e.status=2,ka(a,e)):40960===d&&(e.Gd=c[6],ka(a,e))}function lg(a,c){var d=a.b[c];2==d.status&&(d.status=3,a.o++,a.D&&mg(a.D+ng(a,d.Ue),function(a){a=this.g[c]=new Uint8Array(a);d.size=a.length;d.status=0;this.o--;ig(this,c)}.bind(a),function(a){throw a;}))}
|
||||
function ka(a,c){if(-1!=c.va){a.b.push(c);c.Ue=a.b.length-1;var d=a.b[c.va];d.hc=!0;c.fb=d.eb;d.eb=a.b.length-1}else a.b.length||a.b.push(c)}function og(a){this.hc=!1;this.fb=this.eb=this.va=-1;this.status=0;this.name="";this.ef=this.df=this.zd=this.ld=this.qe=this.Ue=this.Za=this.uid=this.size=0;this.Gd="";this.mode=493;this.Xa={type:0,version:0,path:a};this.Ga=void 0}function ja(a){return new og(++a.L)}
|
||||
function na(a,c,d){var e=ja(a);e.name=c;e.va=d;e.mode=511|oa;e.hc=!0;0<=d&&(e.uid=a.b[d].uid,e.Za=a.b[d].Za,e.mode=a.b[d].mode&511|oa);e.Xa.type=oa>>8;ka(a,e);return a.b.length-1}function pa(a,c,d){var e=ja(a);e.name=c;e.va=d;e.uid=a.b[d].uid;e.Za=a.b[d].Za;e.Xa.type=128;e.mode=a.b[d].mode&438|32768;ka(a,e);return a.b.length-1}function ma(a,c,d,e,f){var h=ja(a);h.name=c;h.va=d;h.df=e;h.ef=f;h.uid=a.b[d].uid;h.Za=a.b[d].Za;h.Xa.type=192;h.mode=a.b[d].mode&438;ka(a,h);return a.b.length-1}
|
||||
function la(a,c,d,e){var f=ja(a);f.name=c;f.va=d;f.uid=a.b[d].uid;f.Za=a.b[d].Za;f.Xa.type=160;f.Gd=e;f.mode=40960;ka(a,f);return a.b.length-1}function pg(a,c,d,e){c=pa(a,c,d);d=a.b[c];(a.g[c]=new Uint8Array(e.length)).set(e);d.size=e.length}
|
||||
function ha(a,c){var d=ga(a,c);if((d.mode&61440)==oa){var e=ga(a,c);if(e.hc){var f=e.va;-1==f&&(f=0);for(var h=0,r=a.b[c].eb;-1!=r;)h+=24+qg(a.b[r].name),r=a.b[r].fb;var h=h+25+26,k=a.g[c]=new Uint8Array(h);e.size=h;h=0;h+=ca(["Q","d","b","s"],[a.b[c].Xa,h+25,a.b[c].mode>>12,"."],k,h);h+=ca(["Q","d","b","s"],[a.b[f].Xa,h+13+8+1+2+2,a.b[f].mode>>12,".."],k,h);for(r=a.b[c].eb;-1!=r;)h+=ca(["Q","d","b","s"],[a.b[r].Xa,h+13+8+1+2+qg(a.b[r].name),a.b[r].mode>>12,a.b[r].name],k,h),r=a.b[r].fb;e.hc=!1}}return 2==
|
||||
d.status?(lg(a,c),!1):!0}function va(a,c){var d=ga(a,c);4==d.status&&(d.status=-1,delete a.g[c],d.size=0)}function sa(a,c,d,e,f){if(c==e&&d==f)return!0;d=ta(a,c,d);if(-1==d)return!1;var h=ta(a,e,f);-1!=h&&ua(a,h);h=a.b[d];if(a.b[h.va].eb==d)a.b[h.va].eb=h.fb;else{var r=rg(a,d);a.b[r].fb=h.fb}h.va=e;h.name=f;h.Xa.version++;h.fb=a.b[h.va].eb;a.b[h.va].eb=d;a.b[c].hc=!0;return a.b[e].hc=!0}
|
||||
function ra(a,c,d,e,f){var h=a.b[c],r=a.g[c];!r||r.length<d+e?(qa(a,c,Math.floor(3*(d+e)/2)),h.size=d+e,r=a.g[c]):h.size<d+e&&(h.size=d+e);for(a=0;a<e;a++)r[d+a]=f()}function ta(a,c,d){for(c=a.b[c].eb;-1!=c;){if(a.b[c].name==d)return c;c=a.b[c].fb}return-1}function ng(a,c){for(var d="";0!=c;)d="/"+a.b[c].name+d,c=a.b[c].va;return d.substring(1)}function rg(a,c){for(var d=ga(a,c),d=a.b[d.va].eb;-1!=d&&a.b[d].fb!=c;)d=a.b[d].fb;return d}
|
||||
function ua(a,c){if(0==c)return!1;var d=ga(a,c);if((d.mode&61440)==oa&&-1!=d.eb)return!1;a.b[d.va].eb==c?a.b[d.va].eb=d.fb:(c=rg(a,c),a.b[c].fb=d.fb);a.b[d.va].hc=!0;d.status=4;d.fb=-1;d.eb=-1;d.va=-1;return!0}function ga(a,c){return isNaN(c)||0>c||c>a.b.length?0:a.b[c]}function qa(a,c,d){var e=ga(a,c),f=a.g[c];if(d!=e.size&&(a=a.g[c]=new Uint8Array(d),e.size=d,f))for(d=Math.min(f.length,e.size),e=0;e<d;e++)a[e]=f[e]}
|
||||
function sg(a,c){c=c.replace("//","/");c=c.split("/");var d=c.length;0==c[d-1].length&&c.pop();0==c[0].length&&c.shift();for(var d=c.length,e=0,f=-1,h=0;h<d;h++){f=ta(a,e,c[h]);if(-1==f)return h<d-1?{id:-1,va:-1,name:c[h]}:{id:-1,va:e,name:c[h]};e=f}return{id:f,va:e,name:c[h]}}
|
||||
function wa(a,c){a=ga(a,c);if(a.Ga)return a.Ga.length;a.Ga=new Uint8Array(12);a.Ga[0]=0;a.Ga[1]=0;a.Ga[2]=0;a.Ga[3]=1;a.Ga[4]=255;a.Ga[5]=255;a.Ga[6]=255;a.Ga[7]=255;a.Ga[8]=255;a.Ga[9]=255;a.Ga[10]=255;a.Ga[11]=255;return a.Ga.length};var mg;mg="undefined"!==typeof XMLHttpRequest?function(a,c,d){var e=new XMLHttpRequest;e.open("GET",a,!0);e.responseType="arraybuffer";e.onreadystatechange=function(){if(4==e.readyState)if(200!=e.status&&e.status)d("Error: Could not load file "+a);else{var f=e.response;f?c(f):d("Error: No data received from: "+a)}};e.send(null)}:function(a,c,d){require("fs").readFile(a,function(a,f){a?d(a):c((new Uint8Array(f)).buffer)})};function ca(a,c,d,e){for(var f,h=0,r=0;r<a.length;r++)switch(f=c[r],a[r]){case "w":d[e++]=f&255;d[e++]=f>>8&255;d[e++]=f>>16&255;d[e++]=f>>24&255;h+=4;break;case "d":d[e++]=f&255;d[e++]=f>>8&255;d[e++]=f>>16&255;d[e++]=f>>24&255;d[e++]=0;d[e++]=0;d[e++]=0;d[e++]=0;h+=8;break;case "h":d[e++]=f&255;d[e++]=f>>8;h+=2;break;case "b":d[e++]=f;h+=1;break;case "s":var k=e,t=0;d[e++]=0;d[e++]=0;var h=h+2,u;for(u in f)tg(f.charCodeAt(u)).forEach(function(a){d[e++]=a;h+=1;t++});d[k+0]=t&255;d[k+1]=t>>8&255;
|
||||
break;case "Q":ca(["b","w","d"],[f.type,f.version,f.path],d,e),e+=13,h+=13}return h}
|
||||
function fa(a,c){for(var d=[],e=0;e<a.length;e++)switch(a[e]){case "w":var f=c(),f=f+(c()<<8),f=f+(c()<<16),f=f+(c()<<24>>>0);d.push(f);break;case "d":f=c();f+=c()<<8;f+=c()<<16;f+=c()<<24>>>0;c();c();c();c();d.push(f);break;case "h":f=c();d.push(f+(c()<<8));break;case "b":d.push(c());break;case "s":for(var f=c(),f=f+(c()<<8),h="",r=new ug,k=0;k<f;k++){var t=r.m(c());-1!=t&&(h+=String.fromCharCode(t))}d.push(h)}return d};function ug(){this.b=new Uint8Array(5);this.g=0;this.m=function(a){this.b[this.g]=a;this.g++;switch(this.g){case 1:if(128>this.b[0])return this.g=0,this.b[0];break;case 2:if(192==(this.b[0]&224)&&128==(this.b[1]&192))return this.g=0,(this.b[0]&31)<<6|this.b[1]&63}return-1}}function tg(a){if(128>a)return[a];if(2048>a)return[192|a>>6&31,128|a&63]}function qg(a){for(var c=0,d=0;d<a.length;d++)c+=128>a.charCodeAt(d)?1:2;return c};function vg(a){function c(a){return f(a,!1)}function d(a){return f(a,!0)}function e(){for(var a=Object.keys(k),c,d=0;d<a.length;d++)c=+a[d],k[c]&&h(c,!1);k={}}function f(a,c){if(t.J&&(a.shiftKey&&a.ctrlKey&&74===a.keyCode||!t.g?0:a.target?"phone_keyboard"===a.target.className||"INPUT"!==a.target.nodeName&&"TEXTAREA"!==a.target.nodeName:1)){var d;a:{if(void 0!==a.code&&(d=F[a.code],void 0!==d))break a;d=u[a.keyCode]}if(d)return h(d,c),a.preventDefault&&a.preventDefault(),!1;console.log("Missing char in map: "+
|
||||
a.keyCode.toString(16))}}function h(a,c){if(c)k[a]&&h(a,!1);else if(!k[a])return;(k[a]=c)||(a|=128);255<a?(r(a>>8),r(a&255)):r(a)}function r(a){t.J.send("keyboard-code",a)}var k={},t=this;this.g=!0;var u=new Uint16Array([0,0,0,0,0,0,0,0,14,15,0,0,0,28,0,0,42,29,56,0,58,0,0,0,0,0,0,1,0,0,0,0,57,57417,57425,57423,57415,57419,57416,57421,80,0,0,0,0,82,83,0,11,2,3,4,5,6,7,8,9,10,0,39,0,13,0,0,0,30,48,46,32,18,33,34,35,23,36,37,38,50,49,24,25,16,19,31,20,22,47,17,45,21,44,57435,57436,57437,0,0,82,79,80,
|
||||
81,75,76,77,71,72,73,0,0,0,0,0,0,59,60,61,62,63,64,65,66,67,68,87,88,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,69,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,39,13,51,12,52,53,41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,43,27,40,0,57435,57400,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),z={10:13,32:32,39:222,44:188,45:189,46:190,47:191,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,59:186,61:187,91:219,92:220,93:221,96:192,97:65,98:66,99:67,100:68,
|
||||
101:69,102:70,103:71,104:72,105:73,106:74,107:75,108:76,109:77,110:78,111:79,112:80,113:81,114:82,115:83,116:84,117:85,118:86,119:87,120:88,121:89,122:90},G={33:49,34:222,35:51,36:52,37:53,38:55,40:57,41:48,42:56,43:187,58:186,60:188,62:190,63:191,64:50,65:65,66:66,67:67,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,90:90,94:54,95:189,123:219,124:220,125:221,126:192},F={Escape:1,Digit1:2,Digit2:3,Digit3:4,Digit4:5,
|
||||
Digit5:6,Digit6:7,Digit7:8,Digit8:9,Digit9:10,Digit0:11,Minus:12,Equal:13,Backspace:14,Tab:15,KeyQ:16,KeyW:17,KeyE:18,KeyR:19,KeyT:20,KeyY:21,KeyU:22,KeyI:23,KeyO:24,KeyP:25,BracketLeft:26,BracketRight:27,Enter:28,ControlLeft:29,KeyA:30,KeyS:31,KeyD:32,KeyF:33,KeyG:34,KeyH:35,KeyJ:36,KeyK:37,KeyL:38,Semicolon:39,Quote:40,Backquote:41,ShiftLeft:42,Backslash:43,KeyZ:44,KeyX:45,KeyC:46,KeyV:47,KeyB:48,KeyN:49,KeyM:50,Comma:51,Period:52,Slash:53,ShiftRight:54,NumpadMultiply:55,AltLeft:56,Space:57,CapsLock:58,
|
||||
F1:59,F2:60,F3:61,F4:62,F5:63,F6:64,F7:65,F8:66,F9:67,F10:68,NumLock:69,ScrollLock:70,Numpad7:71,Numpad8:72,Numpad9:73,NumpadSubtract:74,Numpad4:75,Numpad5:76,Numpad6:77,NumpadAdd:78,Numpad1:79,Numpad2:80,Numpad3:81,Numpad0:82,NumpadDecimal:83,IntlBackslash:86,F11:87,F12:88,NumpadEnter:57372,ControlRight:57373,NumpadDivide:57397,AltRight:57400,Home:57423,ArrowUp:57416,PageUp:57417,ArrowLeft:57419,ArrowRight:57421,End:57423,ArrowDown:57424,PageDown:57425,Insert:57426,Delete:57427,OSLeft:57435,OSRight:57436,
|
||||
ContextMenu:57437};this.J=a;this.cb=function(){"undefined"!==typeof window&&(window.removeEventListener("keyup",c,!1),window.removeEventListener("keydown",d,!1),window.removeEventListener("blur",e,!1))};this.ob=function(){"undefined"!==typeof window&&(this.cb(),window.addEventListener("keyup",c,!1),window.addEventListener("keydown",d,!1),window.addEventListener("blur",e,!1))};this.ob();this.b=function(a){a={keyCode:a};f(a,!0);f(a,!1)};this.m=function(a){var c=a.charCodeAt(0);c in z?this.b(z[c]):c in
|
||||
G?(r(42),this.b(G[c]),r(170)):console.log("ascii -> keyCode not found: ",c,a)}};function wg(a,c){function d(a){if(Ra.enabled&&Ra.b)if("mousemove"===a.type||"touchmove"===a.type)a=!0;else if("mousewheel"===a.type||"DOMMouseScroll"===a.type)a:{for(a=a.target;a.parentNode;){if(a===(c||document.body)){a=!0;break a}a=a.parentNode}a=!1}else a=!a.target||"INPUT"!==a.target.nodeName&&"TEXTAREA"!==a.target.nodeName;else a=!1;return a}function e(a){d(a)&&(a=a.changedTouches)&&a.length&&(a=a[a.length-1],ya=a.clientX,Sa=a.clientY)}function f(){if(G||L||F)Ra.J.send("mouse-click",[!1,!1,!1]),
|
||||
G=L=F=!1}function h(a){if(Ra.J&&d(a)){var c=0,e=0,f=a.changedTouches;f?f.length&&(f=f[f.length-1],c=f.clientX-ya,e=f.clientY-Sa,ya=f.clientX,Sa=f.clientY,a.preventDefault()):"number"===typeof a.movementX?(c=a.movementX,e=a.movementY):"number"===typeof a.webkitMovementX?(c=a.webkitMovementX,e=a.webkitMovementY):"number"===typeof a.mozMovementX?(c=a.mozMovementX,e=a.mozMovementY):(c=a.clientX-ya,e=a.clientY-Sa,ya=a.clientX,Sa=a.clientY);Ra.J.send("mouse-delta",[.15*c,-(.15*e)])}}function r(a){d(a)&&
|
||||
a.preventDefault()}function k(a){d(a)&&u(a,!0)}function t(a){d(a)&&u(a,!1)}function u(a,c){Ra.J&&(1===a.which?G=c:2===a.which?L=c:3===a.which?F=c:console.log("Unknown event.which: "+a.which),Ra.J.send("mouse-click",[G,L,F]),a.preventDefault())}function z(a){if(d(a)){var c=a.wheelDelta||-a.detail;0>c?c=-1:0<c&&(c=1);Ra.J.send("mouse-wheel",[c,0]);a.preventDefault()}}var G=!1,F=!1,L=!1,ya=0,Sa=0,Ra=this;this.enabled=!1;this.b=!0;this.J=a;this.J.register("mouse-enable",function(a){this.enabled=a},this);
|
||||
this.cb=function(){window.removeEventListener("touchstart",e,!1);window.removeEventListener("touchend",f,!1);window.removeEventListener("touchmove",h,!1);window.removeEventListener("mousemove",h,!1);document.removeEventListener("contextmenu",r,!1);window.removeEventListener("mousedown",k,!1);window.removeEventListener("mouseup",t,!1);window.removeEventListener("DOMMouseScroll",z,!1);window.removeEventListener("mousewheel",z,!1)};this.ob=function(){"undefined"!==typeof window&&(this.cb(),window.addEventListener("touchstart",
|
||||
e,!1),window.addEventListener("touchend",f,!1),window.addEventListener("touchmove",h,!1),window.addEventListener("mousemove",h,!1),document.addEventListener("contextmenu",r,!1),window.addEventListener("mousedown",k,!1),window.addEventListener("mouseup",t,!1),window.addEventListener("DOMMouseScroll",z,!1),window.addEventListener("mousewheel",z,!1))};this.ob()};function xg(a,c){function d(a){h.J&&h.enabled&&(h.m(a.which),a.preventDefault())}function e(a){8===a.which&&(h.m(127),a.preventDefault())}function f(a){if(h.enabled){for(var c=a.clipboardData.getData("text/plain"),d=0;d<c.length;d++)h.m(c.charCodeAt(d));a.preventDefault()}}var h=this;this.enabled=!0;this.J=c;this.g=[];this.o=this.b=!1;this.J.register("serial0-output-char",function(a){this.eh(a)},this);this.cb=function(){a.removeEventListener("keypress",d,!1);a.removeEventListener("keydown",e,!1);
|
||||
a.removeEventListener("paste",f,!1)};this.ob=function(){this.cb();a.addEventListener("keypress",d,!1);a.addEventListener("keydown",e,!1);a.addEventListener("paste",f,!1);setInterval(function(){this.b&&(this.b=!1,a.value=this.g.join(""),this.o&&(this.o=!1,a.scrollTop=1E9))}.bind(this),16)};this.ob();this.eh=function(a){"\b"===a?(this.g.pop(),this.b=!0):"\r"!==a&&(this.b=!0,this.g.push(a),"\n"===a&&(this.o=!0))};this.m=function(a){h.J&&h.J.send("serial0-input",a)}};function yg(a,c){this.J=c;this.b=void 0;this.g=[];this.url=a;this.m=Date.now()-1E4;this.J.register("net0-send",function(a){this.send(a)},this)}l=yg.prototype;l.ag=function(a){this.J&&this.J.send("net0-receive",new Uint8Array(a.data))};l.$e=function(){this.connect();setTimeout(this.connect.bind(this),1E4)};l.bg=function(){for(var a=0;a<this.g.length;a++)this.send(this.g[a]);this.g=[]};l.$f=function(){};l.cb=function(){this.b&&this.b.close()};
|
||||
l.connect=function(){if(this.b){var a=this.b.readyState;if(0===a||1===a)return}if(!(this.m+1E4>Date.now())){this.m=Date.now();try{this.b=new WebSocket(this.url)}catch(c){this.$e();return}this.b.binaryType="arraybuffer";this.b.onopen=this.bg.bind(this);this.b.onmessage=this.ag.bind(this);this.b.onclose=this.$e.bind(this);this.b.onerror=this.$f.bind(this)}};l.send=function(a){this.b&&1===this.b.readyState?this.b.send(a):(this.g.push(a),128<this.g.length&&(this.g=this.g.slice(-64)),this.connect())};(function(){function a(a,c){var d=new XMLHttpRequest;d.open(c.method||"get",a,!0);c.kd||(d.responseType="arraybuffer");if(c.headers)for(var e=Object.keys(c.headers),f=0;f<e.length;f++){var z=e[f];d.setRequestHeader(z,c.headers[z])}d.onload=function(){4===d.readyState&&(200!==d.status&&206!==d.status?console.log("Loading the image `"+a+"` failed"):d.response&&c.done&&c.done(d.response,d))};c.nf&&(d.onprogress=function(a){c.nf(a)});d.send(null)}function c(a,c){var d={encoding:c.kd?"utf-8":null};require("fs").readFile(a,
|
||||
d,function(d,e){d?console.log("Could not read file:",a):(d=e,c.kd||(d=(new Uint8Array(d)).buffer),c.done(d))})}function d(a,c){this.m=a;this.b=256;this.byteLength=c;this.g={};this.onload=void 0}function e(a){this.b=a;this.byteLength=a.size;1073741824<a.size&&console.warn("SyncFileBuffer: Allocating buffer of "+(a.size>>20)+" MB ...");this.buffer=new ArrayBuffer(a.size);this.onload=void 0}function f(a){this.m=a;this.byteLength=a.size;this.b=256;this.g={};this.onload=void 0}"undefined"===typeof XMLHttpRequest?
|
||||
Wa=c:Wa=a;Xa=d;Ya=f;Aa=e;d.prototype.load=function(){void 0!==this.byteLength?this.onload&&this.onload({}):a(this.m,{done:function(a,c){a=c.getResponseHeader("Content-Range")||"";(c=a.match(/\/(\d+)\s*$/))?(this.byteLength=+c[1],this.onload&&this.onload({})):console.assert(!1,"Cannot use: "+this.m+". `Range: bytes=...` header not supported (Got `"+a+"`)")}.bind(this),headers:{Range:"bytes=0-0"}})};d.prototype.o=function(a,c){var d=c/this.b;a/=this.b;for(var e=0;e<d;e++)if(!this.g[a+e])return;if(1===
|
||||
d)return this.g[a];c=new Uint8Array(c);for(e=0;e<d;e++)c.set(this.g[a+e],e*this.b);return c};d.prototype.get=function(c,d,e){console.assert(!(c%this.b));console.assert(!(d%this.b));console.assert(d);var f=this.o(c,d);f?e(f):a(this.m,{done:function(a){a=new Uint8Array(a);this.v(c,d,a);e(a)}.bind(this),headers:{Range:"bytes="+c+"-"+(c+d-1)}})};d.prototype.set=function(a,c,d){console.assert(a+c.byteLength<=this.byteLength);var e=c.length;console.assert(!(a%this.b));console.assert(!(e%this.b));console.assert(e);
|
||||
a/=this.b;for(var e=e/this.b,f=0;f<e;f++){var z=this.g[a+f];void 0===z&&(z=this.g[a+f]=new Uint8Array(this.b));var G=c.subarray(f*this.b,(f+1)*this.b);z.set(G);console.assert(z.byteLength===G.length)}d()};d.prototype.v=function(a,c,d){a/=this.b;c/=this.b;for(var e=0;e<c;e++){var f=this.g[a+e];f&&d.set(f,e*this.b)}};d.prototype.sd=function(a){a()};e.prototype.load=function(){this.g(0)};e.prototype.g=function(a){var c=new FileReader;c.onload=function(c){c=new Uint8Array(c.target.result);(new Uint8Array(this.buffer,
|
||||
a)).set(c);this.g(a+4194304)}.bind(this);a<this.byteLength?c.readAsArrayBuffer(this.b.slice(a,Math.min(a+4194304,this.byteLength))):(this.b=void 0,this.onload&&this.onload({buffer:this.buffer}))};e.prototype.get=function(a,c,d){console.assert(a+c<=this.byteLength);d(new Uint8Array(this.buffer,a,c))};e.prototype.set=function(a,c,d){console.assert(a+c.byteLength<=this.byteLength);(new Uint8Array(this.buffer,a,c.byteLength)).set(c);d()};e.prototype.sd=function(a){a(this.buffer)};f.prototype.load=function(){this.onload&&
|
||||
this.onload({})};f.prototype.get=function(a,c,d){console.assert(!(a%this.b));console.assert(!(c%this.b));console.assert(c);var e=this.o(a,c,d);e?d(e):(e=new FileReader,e.onload=function(e){e=new Uint8Array(e.target.result);this.v(a,c,e);d(e)}.bind(this),e.readAsArrayBuffer(this.m.slice(a,a+c)))};f.prototype.o=d.prototype.o;f.prototype.set=d.prototype.set;f.prototype.v=d.prototype.v;f.prototype.sd=function(a){a()};f.prototype.Ye=function(a){for(var c=[],d=Object.keys(this.g).map(Number).sort(function(a,
|
||||
c){return a-c}),e=0,f=0;f<d.length;f++){var z=d[f],G=this.g[z],z=z*this.b;console.assert(z>=e);z!==e&&(c.push(this.m.slice(e,z)),e=z);c.push(G);e+=G.length}e!==this.m.size&&c.push(this.m.slice(e));a=new File(c,a);console.assert(a.size===this.m.size);return a}})();function n(a){function c(a,c){switch(a){case "hda":k.Ma=this.Kc.hda=c;break;case "hdb":k.Vd=this.Kc.hdb=c;break;case "cdrom":k.Ka=this.Kc.cdrom=c;break;case "fda":k.Oa=this.Kc.fda=c;break;case "fdb":k.Se=this.Kc.fdb=c;break;case "bios":k.Hc=c.buffer;break;case "vga_bios":k.mh=c.buffer;break;case "initial_state":k.Qc=c.buffer;break;case "fs9p_json":k.We=c.buffer}}function d(a,c){if(c)if(c.get&&c.set&&c.load)t.push({name:a,rc:c});else{c={buffer:c.buffer,async:c.async,url:c.url,size:c.size};if("bios"===
|
||||
a||"vga_bios"===a||"initial_state"===a)c.async=!1;c.buffer instanceof ArrayBuffer?(c=new ab(c.buffer),t.push({name:a,rc:c})):c.buffer instanceof File?(void 0===c.async&&(c.async=268435456>c.buffer.size),c=c.async?new Aa(c.buffer):new Ya(c.buffer),t.push({name:a,rc:c})):c.url&&(c.async?(c=new Xa(c.url,c.size),t.push({name:a,rc:c})):t.push({name:a,url:c.url,size:c.size}))}}function e(){k.Qc&&(k.jg=!0);this.J.send("cpu-init",k);setTimeout(function(){k.Qc&&Rc(r.s,k.Qc);setTimeout(function(){k.Zb&&k.We&&
|
||||
jg(k.Zb,k.We);a.autostart&&this.J.send("cpu-run")}.bind(this),0)}.bind(this),0)}this.pe=!1;var f=Zc(),h=this.J=f[0];this.o=f[1];var r=this.b=new Ka(this.o);this.J.register("emulator-stopped",function(){this.pe=!1},this);this.J.register("emulator-started",function(){this.pe=!0},this);var k={};this.Kc={fda:void 0,fdb:void 0,hda:void 0,hdb:void 0,cdrom:void 0};k.gg=!0;k.bb=a.memory_size||67108864;k.Ca=a.vga_memory_size||8388608;k.Ic=a.boot_order||531;k.Oa=void 0;k.Se=void 0;a.network_relay_url&&(new yg(a.network_relay_url,
|
||||
h),k.Xf=!0);a.disable_keyboard||(this.g=new vg(h));a.disable_mouse||(this.v=new wg(h,a.screen_container));a.screen_container&&(this.m=new xa(a.screen_container,h));a.serial_container&&new xg(a.serial_container,h);for(var t=[],f="bios vga_bios cdrom hda hdb fda fdb initial_state".split(" "),h=0;h<f.length;h++)d(f[h],a[f[h]]);if(a.filesystem&&(f=a.filesystem.basefs,h=a.filesystem.baseurl,this.Zb=new hg(h),k.Zb=this.Zb,f)){console.assert(h,"Filesystem: baseurl must be specified");var u;"object"===typeof f&&
|
||||
(u=f.size,f=f.url);t.push({name:"fs9p_json",url:f,size:u,kd:!0})}var z=this,G=t.length,F=function(a){if(a===G)setTimeout(e.bind(this),0);else{var d=t[a];d.rc?(d.rc.onload=function(){c.call(this,d.name,d.rc);F(a+1)}.bind(this),d.rc.load()):Wa(d.url,{done:function(e){c.call(this,d.name,new ab(e));F(a+1)}.bind(this),nf:function(c){z.o.send("download-progress",{xe:a,we:G,zh:d.url,lengthComputable:c.lengthComputable,total:c.total||d.size,loaded:c.loaded})},kd:d.kd})}}.bind(this);F(0)}l=n.prototype;
|
||||
l.je=function(){this.J.send("cpu-run")};l.Qd=function(){this.J.send("cpu-stop")};l.cb=function(){this.g.cb()};l.He=function(){this.J.send("cpu-restart")};l.Sa=function(a,c){this.J.register(a,c,this)};l.Zg=function(a,c){this.J.unregister(a,c)};l.Ie=function(a){Rc(this.b.s,a)};
|
||||
l.Je=function(a){setTimeout(function(){try{for(var c=[],d=Pc(this.b.s,c),e=[],f=0,h=0;h<c.length;h++){var r=c[h].byteLength;e[h]={offset:f,length:r};f+=r;f=f+3&-4}var k=JSON.stringify({buffer_infos:e,state:d}),t=16+2*k.length,t=t+3&-4,d=t+f,u=new ArrayBuffer(d),z=new Int32Array(u,0,4),G=new Uint16Array(u,16,k.length),F=new Uint8Array(u,t);z[0]=-2039052682;z[1]=3;z[2]=d;z[3]=2*k.length;for(h=0;h<k.length;h++)G[h]=k.charCodeAt(h);for(h=0;h<c.length;h++)F.set(new Uint8Array(c[h]),e[h].offset);a(null,
|
||||
u)}catch(L){a(L,null)}}.bind(this),0)};l.Zf=function(){console.warn("V86Starter.prototype.get_statistics is deprecated. Use events instead.");var a={s:{Ch:this.b?this.b.s.V:0}};if(!this.b)return a;var c=this.b.s.H;c.Ma&&(a.Ma=c.Ma.Ia);c.Ka&&(a.Ka=c.Ka.Ia);c.Bd&&(a.mouse={enabled:c.Bd.ic});c.jc&&(a.vga={is_graphical:c.jc.Ia.ze});return a};l.Be=function(){return this.pe};l.Wd=function(a){for(var c=0;c<a.length;c++)this.J.send("keyboard-code",a[c])};l.eg=function(a){for(var c=0;c<a.length;c++)this.g.b(a[c])};
|
||||
l.af=function(a){for(var c=0;c<a.length;c++)this.g.m(a[c])};l.vf=function(){this.m&&this.m.m()};l.wf=function(a,c){this.m&&this.m.b(a,c)};l.uf=function(){if(this.m){var a=document.getElementById("screen_container");if(a){var c=a.requestFullScreen||a.webkitRequestFullscreen||a.mozRequestFullScreen||a.msRequestFullScreen;c&&(c.call(a),(a=document.getElementsByClassName("phone_keyboard")[0])&&a.focus());this.Xd()}}};
|
||||
l.Xd=function(){var a=document.body,c=a.requestPointerLock||a.mozRequestPointerLock||a.webkitRequestPointerLock;c&&c.call(a)};l.ff=function(a){this.v&&(this.v.b=a)};l.fg=function(a){this.g&&(this.g.g=a)};l.bh=function(a){for(var c=0;c<a.length;c++)this.J.send("serial0-input",a.charCodeAt(c))};l.Me=function(a,c,d){var e=this.Zb;if(e){var f=a.split("/"),f=f[f.length-1];a=sg(e,a).va;var h=""===f||-1===a;h||pg(e,f,a,c);d&&setTimeout(function(){h?d(new zg):d(null)},0)}};
|
||||
l.rf=function(a,c){var d=this.Zb;if(d){var e=sg(d,a).id;-1===e?c(new zg,null):(ha(d,e),ia(d,e,function(){var a=d.g[e];a?c(null,a.subarray(0,d.b[e].size)):c(new zg,null)}))}};function zg(a){this.message=a||"File not found"}zg.prototype=Error.prototype;"undefined"!==typeof window?(window.V86Starter=n,window.V86=n):"undefined"!==typeof module&&"undefined"!==typeof module.exports?(module.exports.V86Starter=n,module.exports.V86=n):"function"===typeof importScripts&&(self.V86Starter=n,self.V86=n);
|
||||
n.prototype.run=n.prototype.je;n.prototype.stop=n.prototype.Qd;n.prototype.restart=n.prototype.He;n.prototype.destroy=n.prototype.cb;n.prototype.add_listener=n.prototype.Sa;n.prototype.remove_listener=n.prototype.Zg;n.prototype.restore_state=n.prototype.Ie;n.prototype.save_state=n.prototype.Je;n.prototype.get_statistics=n.prototype.Zf;n.prototype.is_running=n.prototype.Be;n.prototype.keyboard_send_scancodes=n.prototype.Wd;n.prototype.keyboard_send_keys=n.prototype.eg;
|
||||
n.prototype.keyboard_send_text=n.prototype.af;n.prototype.screen_make_screenshot=n.prototype.vf;n.prototype.screen_set_scale=n.prototype.wf;n.prototype.screen_go_fullscreen=n.prototype.uf;n.prototype.lock_mouse=n.prototype.Xd;n.prototype.mouse_set_status=n.prototype.ff;n.prototype.keyboard_set_status=n.prototype.fg;n.prototype.serial0_send=n.prototype.bh;n.prototype.create_file=n.prototype.Me;n.prototype.read_file=n.prototype.rf;
|
||||
//# sourceMappingURL=v86_all.js.map
|
166
www/index.html
@ -7,45 +7,10 @@
|
||||
<meta name="keywords" content="minimal minimalistic tiny linux live tutorial howto kernel busybox cd usb iso image" />
|
||||
<meta name="author" content="Ivan Davidov - davidov (dot) i [at] gmail {dot} com">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<link rel="stylesheet" href="css/normalize.css">
|
||||
<link rel="stylesheet" href="css/skeleton.css">
|
||||
|
||||
<link rel="icon" type="image/x-icon" href="./images/favicon.ico" />
|
||||
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
function menuSwap(itemIndex) {
|
||||
for(var i = 1; i <= 6; i++) {
|
||||
var strItem = "item" + i;
|
||||
var objItem = document.getElementById(strItem);
|
||||
objItem.style.display = (i == itemIndex) ? "block" : "none";
|
||||
}
|
||||
}
|
||||
|
||||
function logSwap(itemIndex, show) {
|
||||
for(var i = 1; i <= 5; i++) {
|
||||
var showObj = document.getElementById("show" + i);
|
||||
var hideObj = document.getElementById("hide" + i);
|
||||
var textObj = document.getElementById("text" + i);
|
||||
|
||||
if(i == itemIndex) {
|
||||
if(show == true) {
|
||||
showObj.style.display = "none";
|
||||
hideObj.style.display = "block";
|
||||
textObj.style.display = "block";
|
||||
} else {
|
||||
showObj.style.display = "block";
|
||||
hideObj.style.display = "none";
|
||||
textObj.style.display = "none";
|
||||
}
|
||||
} else if(show == true) {
|
||||
showObj.style.display = "block";
|
||||
hideObj.style.display = "none";
|
||||
textObj.style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<link rel="stylesheet" href="assets/css/style.min.css">
|
||||
|
||||
<link rel="icon" type="image/x-icon" href="assets/img/favicon.ico" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
@ -75,9 +40,9 @@
|
||||
<div class="twelve columns">
|
||||
<strong>Minimal Linux Live</strong> is a set of Linux shell scripts which automatically build minimalistic Live
|
||||
Linux OS with basic network support via DHCP. The generated operating system is based on
|
||||
<a target="_blank" href="http://kernel.org">Linux kernel</a>,
|
||||
<a target="_blank" href="http://gnu.org/software/libc">GNU C library</a> and
|
||||
<a target="_blank" href="http://busybox.net">BusyBox</a>. All necessary source codes are automatically
|
||||
<a target="_blank" href="https://www.kernel.org/">Linux kernel</a>,
|
||||
<a target="_blank" href="https://www.gnu.org/software/libc/">GNU C library</a> and
|
||||
<a target="_blank" href="https://busybox.net/">BusyBox</a>. All necessary source codes are automatically
|
||||
downloaded and all build operations are fully encapsulated in the scripts.
|
||||
</div>
|
||||
</div>
|
||||
@ -94,7 +59,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div style="font-size: 10%;"> </div>
|
||||
<div class="row">
|
||||
<div class="row">
|
||||
<div class="twelve columns">
|
||||
<ul>
|
||||
<li>
|
||||
@ -110,7 +75,7 @@
|
||||
</li>
|
||||
<li>
|
||||
Depending on which Linux OS you are using, there might be one or more (or none, or even more) build dependencies that you
|
||||
need to resolve before you start the build process. If you work with <a target="_blank" href="http://ubuntu.com">Ubuntu</a>,
|
||||
need to resolve before you start the build process. If you work with <a target="_blank" href="http://www.ubuntu.com/">Ubuntu</a>,
|
||||
the following commands should resolve all necessary build dependencies:
|
||||
<ul>
|
||||
<li>
|
||||
@ -140,10 +105,10 @@
|
||||
Execute the script <code>build_minimal_linux_live.sh</code> and wait. If you have resolved all build dependencies, the whole
|
||||
process should take less than 30 minutes on a modern computer. If the build fails for some reason, most probably there
|
||||
are unresolved build dependencies. Several users reported that the <code>build-essential</code> package resolves all unexpected
|
||||
build dependencies for Ubuntu. If you are using <a target="_blank" href="http://linuxmint.com">Linux Mint</a> try to
|
||||
build dependencies for Ubuntu. If you are using <a target="_blank" href="https://linuxmint.com/">Linux Mint</a> try to
|
||||
install the package <code>g++</code> and if you still have troubles then try the <code>build-essential</code> package. On
|
||||
<a target="_blank" href="http://fedoraproject.org">Fedora</a> you might need the static 'glibc' package <code>glibc-static</code>.
|
||||
On <a target="_blank" href="http://www.archlinux.org/">Arch Linux</a> and <a target="_blank" href="http://debian.org">Debian</a>
|
||||
<a target="_blank" href="https://getfedora.org/">Fedora</a> you might need the static 'glibc' package <code>glibc-static</code>.
|
||||
On <a target="_blank" href="https://www.archlinux.org/">Arch Linux</a> and <a target="_blank" href="https://www.debian.org/">Debian</a>
|
||||
you might need to locate <code>isolinux.bin</code> and copy it to <code>/usr/lib/syslinux/isolinux.bin</code>.
|
||||
<div style="font-size: 10%;"> </div>
|
||||
Please have in mind that the build dependencies can vary a lot depending on the Linux OS which you use and the software
|
||||
@ -157,13 +122,13 @@
|
||||
When the scripts finish their job you will find newly generated <code>minimal_linux_live.iso</code> in the same folder where you
|
||||
executed the scripts. You can burn the ISO image file on CD/DVD, install it on USB flash drive via
|
||||
<a target="_blank" href="http://www.pendrivelinux.com">Universal USB Installer</a>,
|
||||
or run it directly via PC emulator like <a target="_blank" href="http://virtualbox.org">VirtualBox</a>. Minimal Linux Live
|
||||
or run it directly via PC emulator like <a target="_blank" href="https://www.virtualbox.org/">VirtualBox</a>. Minimal Linux Live
|
||||
requires at least 64MB RAM, otherwise the boot process most probably will hang.
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="row">
|
||||
<div class="twelve columns">
|
||||
The generated ISO image file contains Linux kernel compiled with default options, GNU C library compiled with default options,
|
||||
BusyBox compiled with default options and quite simple initramfs. This means that you don't get Windows support out of the box,
|
||||
@ -171,7 +136,7 @@
|
||||
that's all. This is why it's called "minimal".
|
||||
</div>
|
||||
</div>
|
||||
<div style="font-size: 10%;"> </div>
|
||||
<div style="font-size: 10%;"> </div>
|
||||
<div class="row">
|
||||
<div class="twelve columns">
|
||||
The good news is that the build scripts are very small in size and simple to understand. You can easily learn from the scripts
|
||||
@ -180,7 +145,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div style="font-size: 10%;"> </div>
|
||||
<div class="row">
|
||||
<div class="row">
|
||||
<div class="twelve columns">
|
||||
The <a href="#" onclick="javascript:menuSwap(4); return false;">tutorial</a> provides more details about the inner structure
|
||||
of the scripts and the overall build process. I encourage you to go through this document when you have the time. The same tutorial
|
||||
@ -188,51 +153,51 @@
|
||||
</div>
|
||||
</div>
|
||||
<div style="font-size: 10%;"> </div>
|
||||
<div class="row">
|
||||
<div class="row">
|
||||
<div class="twelve columns">
|
||||
Below you can find several screenshots which show what the environment looks like when you boot your newly generated
|
||||
Minimal Linux Live OS.
|
||||
Minimal Linux Live OS.
|
||||
</div>
|
||||
</div>
|
||||
<div style="font-size: 10%;"> </div>
|
||||
<div class="row">
|
||||
<div class="six columns">
|
||||
<a href="./images/screen1.png" target="_blank" title="Minimal Linux Live - screenshot 1">
|
||||
<img alt="Minimal Linux Live" id="screenshot1" width="100%" height="100%" border="0" src="./images/screen1.png" />
|
||||
<a href="assets/img/screen1.png" target="_blank" title="Minimal Linux Live - screenshot 1">
|
||||
<img alt="Minimal Linux Live" id="screenshot1" width="100%" height="100%" border="0" src="assets/img/screen1.png" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="six columns">
|
||||
<a href="./images/screen2.png" target="_blank" title="Minimal Linux Live - screenshot 2">
|
||||
<img alt="Minimal Linux Live" id="screenshot2" width="100%" height="100%" border="0" src="./images/screen2.png" />
|
||||
<a href="assets/img/screen2.png" target="_blank" title="Minimal Linux Live - screenshot 2">
|
||||
<img alt="Minimal Linux Live" id="screenshot2" width="100%" height="100%" border="0" src="assets/img/screen2.png" />
|
||||
</a>
|
||||
</div>
|
||||
</div class="row">
|
||||
<div style="font-size: 10%;"> </div>
|
||||
<div class="row">
|
||||
<div class="six columns">
|
||||
<a href="./images/screen3.png" target="_blank" title="Minimal Linux Live - screenshot 3">
|
||||
<img alt="Minimal Linux Live" id="screenshot3" width="100%" height="100%" border="0" src="./images/screen3.png" />
|
||||
<a href="assets/img/screen3.png" target="_blank" title="Minimal Linux Live - screenshot 3">
|
||||
<img alt="Minimal Linux Live" id="screenshot3" width="100%" height="100%" border="0" src="assets/img/screen3.png" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="six columns">
|
||||
<a href="./images/screen4.png" target="_blank" title="Minimal Linux Live - screenshot 4">
|
||||
<img alt="Minimal Linux Live" id="screenshot4" width="100%" height="100%" border="0" src="./images/screen4.png" />
|
||||
<a href="assets/img/screen4.png" target="_blank" title="Minimal Linux Live - screenshot 4">
|
||||
<img alt="Minimal Linux Live" id="screenshot4" width="100%" height="100%" border="0" src="assets/img/screen4.png" />
|
||||
</a>
|
||||
</div>
|
||||
</div class="row">
|
||||
<div style="font-size: 10%;"> </div>
|
||||
<div class="row">
|
||||
<div class="six columns">
|
||||
<a href="./images/screen5.png" target="_blank" title="Minimal Linux Live - screenshot 5">
|
||||
<img alt="Minimal Linux Live" id="screenshot5" width="100%" height="100%" border="0" src="./images/screen5.png" />
|
||||
<a href="assets/img/screen5.png" target="_blank" title="Minimal Linux Live - screenshot 5">
|
||||
<img alt="Minimal Linux Live" id="screenshot5" width="100%" height="100%" border="0" src="assets/img/screen5.png" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="six columns">
|
||||
<a href="./images/screen6.png" target="_blank" title="Minimal Linux Live - screenshot 6">
|
||||
<img alt="Minimal Linux Live" id="screenshot6" width="100%" height="100%" border="0" src="./images/screen6.png" />
|
||||
<a href="assets/img/screen6.png" target="_blank" title="Minimal Linux Live - screenshot 6">
|
||||
<img alt="Minimal Linux Live" id="screenshot6" width="100%" height="100%" border="0" src="assets/img/screen6.png" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="item2" style="display:none;">
|
||||
<div class="row">
|
||||
@ -240,11 +205,11 @@
|
||||
<h4>Change Log</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="row">
|
||||
<div class="twelve columns">
|
||||
<div id="show5" style="display:none;">
|
||||
<strong>03-Apr-2016</strong>
|
||||
<a href="#" onclick="javascript:logSwap(5, true); return false;">show</a>
|
||||
<a href="#" onclick="javascript:logSwap(5, true); return false;">show</a>
|
||||
</div>
|
||||
<div id="hide5" style="display:block;">
|
||||
<strong>03-Apr-2016</strong>
|
||||
@ -268,7 +233,7 @@
|
||||
</li>
|
||||
<li>
|
||||
The ISO image generation process is now in a separate script file, completely detached from the kernel build infrastructure.
|
||||
This allows the Mnimal Linux Live users to modify the ISO image file/directory structure before the actual ISO generation.
|
||||
This allows the Minimal Linux Live users to modify the ISO image file/directory structure before the actual ISO generation.
|
||||
</li>
|
||||
<li>
|
||||
The internal script comments have been revised and now they are more descriptive than before.
|
||||
@ -281,7 +246,7 @@
|
||||
<div style="font-size: 10%;"> </div>
|
||||
<div id="show4" style="display:block;">
|
||||
<strong>14-Sep-2015</strong>
|
||||
<a href="#" onclick="javascript:logSwap(4, true); return false;">show</a>
|
||||
<a href="#" onclick="javascript:logSwap(4, true); return false;">show</a>
|
||||
</div>
|
||||
<div id="hide4" style="display:none;">
|
||||
<strong>14-Sep-2015</strong>
|
||||
@ -308,7 +273,7 @@
|
||||
<li>
|
||||
In addition to the above changes, if you <a href="#" onclick="javascript:menuSwap(5); return false;">download</a> the latest
|
||||
stable build scripts, you will notice a folder named <strong>experimental</strong>. This folder contains some interesting
|
||||
scripts which produce ISO based on Linux kernel and <a href="http://landley.net/toybox" target="_blank">ToyBox</a> instead of
|
||||
scripts which produce ISO based on Linux kernel and <a href="https://landley.net/toybox/" target="_blank">ToyBox</a> instead of
|
||||
BusyBox. Please have in mind that this is work in progress and these scripts may not work on your host OS.
|
||||
</li>
|
||||
</ul>
|
||||
@ -316,7 +281,7 @@
|
||||
<div style="font-size: 10%;"> </div>
|
||||
<div id="show3" style="display:block;">
|
||||
<strong>07-Feb-2015</strong>
|
||||
<a href="#" onclick="javascript:logSwap(3, true); return false;">show</a>
|
||||
<a href="#" onclick="javascript:logSwap(3, true); return false;">show</a>
|
||||
</div>
|
||||
<div id="hide3" style="display:none;">
|
||||
<strong>07-Feb-2015</strong>
|
||||
@ -336,7 +301,7 @@
|
||||
<a href="#" onclick="javascript:logSwap(2, true); return false;">show</a>
|
||||
</div>
|
||||
<div id="hide2" style="display:none;">
|
||||
<strong>25-Aug-2014</strong>
|
||||
<strong>25-Aug-2014</strong>
|
||||
<a href="#" onclick="javascript:logSwap(2, false); return false;">hide</a>
|
||||
</div>
|
||||
<div id="text2" style="display:none;">
|
||||
@ -367,7 +332,7 @@
|
||||
<a href="#" onclick="javascript:logSwap(1, false); return false;">hide</a>
|
||||
</div>
|
||||
<div id="text1" style="display:none;">
|
||||
<div style="font-size: 10%;"> </div>
|
||||
<div style="font-size: 10%;"> </div>
|
||||
<ul>
|
||||
<li>
|
||||
<strong>Minimal Linux Live</strong> is now based on <strong>Linux kernel 3.15.6</strong> and <strong>BusyBox 1.22.1</strong>.
|
||||
@ -388,9 +353,9 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="twelve columns">
|
||||
My name is <a target="_blank" href="http://linkedin.com/in/ivandavidov">Ivan Davidov</a> and I currently
|
||||
live and work in <a target="_blank" href="http://en.wikipedia.org/wiki/Sofia">Sofia</a>,
|
||||
<a target="_blank" href="http://en.wikipedia.org/wiki/Bulgaria">Bulgaria</a>.
|
||||
My name is <a target="_blank" href="https://www.linkedin.com/in/ivandavidov">Ivan Davidov</a> and I currently
|
||||
live and work in <a target="_blank" href="https://en.wikipedia.org/wiki/Sofia">Sofia</a>,
|
||||
<a target="_blank" href="https://en.wikipedia.org/wiki/Bulgaria">Bulgaria</a>.
|
||||
</div>
|
||||
</div>
|
||||
<div style="font-size: 10%;"> </div>
|
||||
@ -420,9 +385,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div style="font-size: 10%;"> </div>
|
||||
<div class="row">
|
||||
<div class="row">
|
||||
<div class="twelve columns">
|
||||
My LinkedIn profile is here: <a target="_blank" href="http://linkedin.com/in/ivandavidov">http://linkedin.com/in/ivandavidov</a>
|
||||
My LinkedIn profile is here: <a target="_blank" href="https://www.linkedin.com/in/ivandavidov">http://linkedin.com/in/ivandavidov</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -499,7 +464,7 @@
|
||||
<div class="row">
|
||||
<div class="twelve columns">
|
||||
You can take a look at the latest development sources in
|
||||
<a target="_blank" href="http://github.com/ivandavidov/minimal">GitHub</a>.
|
||||
<a target="_blank" href="https://github.com/ivandavidov/minimal">GitHub</a>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -507,18 +472,53 @@
|
||||
<div style="font-size: 10%;"> </div>
|
||||
<div class="row">
|
||||
<div class="twelve columns" style="text-align: center;">
|
||||
<a class="button" href="#">Go to top</a>
|
||||
</div>
|
||||
<a class="button" href="#">Go to top</a>
|
||||
</div>
|
||||
</div>
|
||||
<div style="font-size: 10%;"> </div>
|
||||
<div class="row" style="text-align: center;">
|
||||
<div class="twelve columns">
|
||||
Copyright © 2014 - 2016
|
||||
<span class="separator">|</span>
|
||||
<a href="/" title="Minimal Linux Live">Minimal Linux Live</a>
|
||||
<span class="separator">|</span>
|
||||
<a href="/" title="Minimal Linux Live">Minimal Linux Live</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
function menuSwap(itemIndex) {
|
||||
for(var i = 1; i <= 6; i++) {
|
||||
var strItem = "item" + i;
|
||||
var objItem = document.getElementById(strItem);
|
||||
objItem.style.display = (i == itemIndex) ? "block" : "none";
|
||||
}
|
||||
}
|
||||
|
||||
function logSwap(itemIndex, show) {
|
||||
for(var i = 1; i <= 5; i++) {
|
||||
var showObj = document.getElementById("show" + i);
|
||||
var hideObj = document.getElementById("hide" + i);
|
||||
var textObj = document.getElementById("text" + i);
|
||||
|
||||
if(i == itemIndex) {
|
||||
if(show == true) {
|
||||
showObj.style.display = "none";
|
||||
hideObj.style.display = "block";
|
||||
textObj.style.display = "block";
|
||||
} else {
|
||||
showObj.style.display = "block";
|
||||
hideObj.style.display = "none";
|
||||
textObj.style.display = "none";
|
||||
}
|
||||
} else if(show == true) {
|
||||
showObj.style.display = "block";
|
||||
hideObj.style.display = "none";
|
||||
textObj.style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
</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),
|
||||
|