diff --git a/README.md b/README.md index a6c797c..8fb89ba 100644 --- a/README.md +++ b/README.md @@ -1 +1,18 @@ # tesseract.js +Tesseract.js is a pure javascript version of the Tesseract OCR Engine that can recognize English, Chinese, Russian, and 60 other languages. + + + +# Installation +Tesseract.js works with a ` + \ No newline at end of file diff --git a/lib/Tesseract.2015.07.26.js b/lib/Tesseract.2015.07.26.js deleted file mode 100644 index e066d85..0000000 --- a/lib/Tesseract.2015.07.26.js +++ /dev/null @@ -1,130 +0,0 @@ -var Tesseract = (function(){ - - var Tesseract = {} - - //https://cdn.rawgit.com/naptha/tesseract.js/master/worker/worker.js - //https://rawgit.com/naptha/tesseract.js/master/worker/worker.js for testing - //https://cdn.rawgit.com/naptha/tesseract.js/master/worker/worker.js - - var blob = new Blob(["importScripts('https://cdn.rawgit.com/naptha/tesseract.js/master/lib/worker.2015.07.26.js');"]); // changed on build - // console.log('localhost') - var worker = new Worker(window.URL.createObjectURL(blob)); - worker.postMessage({init: {mem: 16777216*6}}) - var bigworker = false - - var index = 0 - var handlers = [] - - worker.onmessage = function(e){ - var handler = handlers[e.data.index] - if(e.data.progress){ - handler.progress(e.data.progress) - } - else if(e.data.err){ - handler.reject(e.data.err) - handler.callback(e.data.err) - } - else { - handler.resolve(e.data.result) - handler.callback(null,e.data.result) - } - } - - function convertToImageData(image){ - if(image.getContext){ - image = image.getContext('2d'); - }else if(image.tagName == "IMG" || image.tagName == "VIDEO"){ - var c = document.createElement('canvas'); - if(image.tagName == "IMG"){ - c.width = image.naturalWidth; - c.height = image.naturalHeight; - }else if(image.tagName == "VIDEO"){ - c.width = image.videoWidth; - c.height = image.videoHeight; - } - var ctx = c.getContext('2d'); - ctx.drawImage(image, 0, 0); - image = ctx; - } - if(image.getImageData) image = image.getImageData(0, 0, image.canvas.width, image.canvas.height); - return image - } - - Tesseract.detect = function(image, progress, callback){ - image = convertToImageData(image) - - if(typeof progress === "undefined"){ - progress = callback = new Function() - } - - if (typeof callback === "undefined"){ - callback = progress - progress = new Function() - } - - var i = index++ - - handlers[i] = { - resolve: new Function(), - reject: new Function() - } - handlers[i].callback = callback - handlers[i].progress = progress - - return new Promise(function(resolve, reject){ - handlers[i].resolve = resolve - handlers[i].reject = reject - worker.postMessage({index: i, fun: 'detect', image: image}) - }) - - } - - Tesseract.recognize = function(image, options, callback){ - var lang = options.lang - if (typeof lang === "undefined"){ - lang = 'eng' - } - - if (!bigworker && ['chi_sim', 'chi_tra', 'jpn'].indexOf(lang) != -1){ - worker.postMessage({init: {mem: 16777216*10}}) - bigworker = true - console.log('started big worker') - } - - if (typeof options === 'string') { - lang = options - options = {} - } - - if (typeof options === "function") { - callback = options - options = {} - } - - image = convertToImageData(image) - - var i = index++ - - handlers[i] = { - resolve: new Function(), - reject: new Function() - } - handlers[i].callback = callback || new Function() - handlers[i].progress = (function(){ - if(typeof options.progress === 'function'){ - var p = options.progress - delete options.progress - return p - } - return function(){} - })() - - return new Promise(function(resolve, reject){ - handlers[i].resolve = resolve - handlers[i].reject = reject - worker.postMessage({index: i, fun: 'recognize', image: image, lang: lang, options: options}) - }) - - } - return Tesseract -})() diff --git a/lib/Tesseract_dev.js b/lib/Tesseract_dev.js deleted file mode 100644 index 01b11e4..0000000 --- a/lib/Tesseract_dev.js +++ /dev/null @@ -1,130 +0,0 @@ -var Tesseract = (function(){ - - var Tesseract = {} - - //https://cdn.rawgit.com/naptha/tesseract.js/master/worker/worker.js - //https://rawgit.com/naptha/tesseract.js/master/worker/worker.js for testing - //https://cdn.rawgit.com/naptha/tesseract.js/master/worker/worker.js - - var blob = new Blob(["importScripts('http://localhost:1234/master/lib/worker.2015.07.26.js');"]); // changed on build - // console.log('localhost') - var worker = new Worker(window.URL.createObjectURL(blob)); - worker.postMessage({init: {mem: 16777216*6}}) - var bigworker = false - - var index = 0 - var handlers = [] - - worker.onmessage = function(e){ - var handler = handlers[e.data.index] - if(e.data.progress){ - handler.progress(e.data.progress) - } - else if(e.data.err){ - handler.reject(e.data.err) - handler.callback(e.data.err) - } - else { - handler.resolve(e.data.result) - handler.callback(null,e.data.result) - } - } - - function convertToImageData(image){ - if(image.getContext){ - image = image.getContext('2d'); - }else if(image.tagName == "IMG" || image.tagName == "VIDEO"){ - var c = document.createElement('canvas'); - if(image.tagName == "IMG"){ - c.width = image.naturalWidth; - c.height = image.naturalHeight; - }else if(image.tagName == "VIDEO"){ - c.width = image.videoWidth; - c.height = image.videoHeight; - } - var ctx = c.getContext('2d'); - ctx.drawImage(image, 0, 0); - image = ctx; - } - if(image.getImageData) image = image.getImageData(0, 0, image.canvas.width, image.canvas.height); - return image - } - - Tesseract.detect = function(image, progress, callback){ - image = convertToImageData(image) - - if(typeof progress === "undefined"){ - progress = callback = new Function() - } - - if (typeof callback === "undefined"){ - callback = progress - progress = new Function() - } - - var i = index++ - - handlers[i] = { - resolve: new Function(), - reject: new Function() - } - handlers[i].callback = callback - handlers[i].progress = progress - - return new Promise(function(resolve, reject){ - handlers[i].resolve = resolve - handlers[i].reject = reject - worker.postMessage({index: i, fun: 'detect', image: image}) - }) - - } - - Tesseract.recognize = function(image, options, callback){ - var lang = options.lang - if (typeof lang === "undefined"){ - lang = 'eng' - } - - if (!bigworker && ['chi_sim', 'chi_tra', 'jpn'].indexOf(lang) != -1){ - worker.postMessage({init: {mem: 16777216*10}}) - bigworker = true - console.log('started big worker') - } - - if (typeof options === 'string') { - lang = options - options = {} - } - - if (typeof options === "function") { - callback = options - options = {} - } - - image = convertToImageData(image) - - var i = index++ - - handlers[i] = { - resolve: new Function(), - reject: new Function() - } - handlers[i].callback = callback || new Function() - handlers[i].progress = (function(){ - if(typeof options.progress === 'function'){ - var p = options.progress - delete options.progress - return p - } - return function(){} - })() - - return new Promise(function(resolve, reject){ - handlers[i].resolve = resolve - handlers[i].reject = reject - worker.postMessage({index: i, fun: 'recognize', image: image, lang: lang, options: options}) - }) - - } - return Tesseract -})() diff --git a/lib/worker.2015.07.26.js b/lib/worker.2015.07.26.js deleted file mode 100644 index 346a6b8..0000000 --- a/lib/worker.2015.07.26.js +++ /dev/null @@ -1,12281 +0,0 @@ -(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o 0 && this._count++ >= this._limit) - shouldCall = false - - if (shouldCall) this.callback(false, cursor.key, cursor.value) - if (cursor) cursor['continue']() -} - -Iterator.prototype._next = function (callback) { - if (!callback) return new Error('next() requires a callback argument') - if (!this._started) { - this.createIterator() - this._started = true - } - this.callback = callback -} - -},{"abstract-leveldown":6,"ltgt":11,"util":44}],3:[function(require,module,exports){ -(function (process){ -/* Copyright (c) 2013 Rod Vagg, MIT License */ - -function AbstractChainedBatch (db) { - this._db = db - this._operations = [] - this._written = false -} - -AbstractChainedBatch.prototype._checkWritten = function () { - if (this._written) - throw new Error('write() already called on this batch') -} - -AbstractChainedBatch.prototype.put = function (key, value) { - this._checkWritten() - - var err = this._db._checkKey(key, 'key', this._db._isBuffer) - if (err) - throw err - - if (!this._db._isBuffer(key)) key = String(key) - if (!this._db._isBuffer(value)) value = String(value) - - if (typeof this._put == 'function' ) - this._put(key, value) - else - this._operations.push({ type: 'put', key: key, value: value }) - - return this -} - -AbstractChainedBatch.prototype.del = function (key) { - this._checkWritten() - - var err = this._db._checkKey(key, 'key', this._db._isBuffer) - if (err) throw err - - if (!this._db._isBuffer(key)) key = String(key) - - if (typeof this._del == 'function' ) - this._del(key) - else - this._operations.push({ type: 'del', key: key }) - - return this -} - -AbstractChainedBatch.prototype.clear = function () { - this._checkWritten() - - this._operations = [] - - if (typeof this._clear == 'function' ) - this._clear() - - return this -} - -AbstractChainedBatch.prototype.write = function (options, callback) { - this._checkWritten() - - if (typeof options == 'function') - callback = options - if (typeof callback != 'function') - throw new Error('write() requires a callback argument') - if (typeof options != 'object') - options = {} - - this._written = true - - if (typeof this._write == 'function' ) - return this._write(callback) - - if (typeof this._db._batch == 'function') - return this._db._batch(this._operations, options, callback) - - process.nextTick(callback) -} - -module.exports = AbstractChainedBatch -}).call(this,require('_process')) -},{"_process":42}],4:[function(require,module,exports){ -(function (process){ -/* Copyright (c) 2013 Rod Vagg, MIT License */ - -function AbstractIterator (db) { - this.db = db - this._ended = false - this._nexting = false -} - -AbstractIterator.prototype.next = function (callback) { - var self = this - - if (typeof callback != 'function') - throw new Error('next() requires a callback argument') - - if (self._ended) - return callback(new Error('cannot call next() after end()')) - if (self._nexting) - return callback(new Error('cannot call next() before previous next() has completed')) - - self._nexting = true - if (typeof self._next == 'function') { - return self._next(function () { - self._nexting = false - callback.apply(null, arguments) - }) - } - - process.nextTick(function () { - self._nexting = false - callback() - }) -} - -AbstractIterator.prototype.end = function (callback) { - if (typeof callback != 'function') - throw new Error('end() requires a callback argument') - - if (this._ended) - return callback(new Error('end() already called on iterator')) - - this._ended = true - - if (typeof this._end == 'function') - return this._end(callback) - - process.nextTick(callback) -} - -module.exports = AbstractIterator - -}).call(this,require('_process')) -},{"_process":42}],5:[function(require,module,exports){ -(function (process,Buffer){ -/* Copyright (c) 2013 Rod Vagg, MIT License */ - -var xtend = require('xtend') - , AbstractIterator = require('./abstract-iterator') - , AbstractChainedBatch = require('./abstract-chained-batch') - -function AbstractLevelDOWN (location) { - if (!arguments.length || location === undefined) - throw new Error('constructor requires at least a location argument') - - if (typeof location != 'string') - throw new Error('constructor requires a location string argument') - - this.location = location - this.status = 'new' -} - -AbstractLevelDOWN.prototype.open = function (options, callback) { - var self = this - , oldStatus = this.status - - if (typeof options == 'function') - callback = options - - if (typeof callback != 'function') - throw new Error('open() requires a callback argument') - - if (typeof options != 'object') - options = {} - - options.createIfMissing = options.createIfMissing != false - options.errorIfExists = !!options.errorIfExists - - if (typeof this._open == 'function') { - this.status = 'opening' - this._open(options, function (err) { - if (err) { - self.status = oldStatus - return callback(err) - } - self.status = 'open' - callback() - }) - } else { - this.status = 'open' - process.nextTick(callback) - } -} - -AbstractLevelDOWN.prototype.close = function (callback) { - var self = this - , oldStatus = this.status - - if (typeof callback != 'function') - throw new Error('close() requires a callback argument') - - if (typeof this._close == 'function') { - this.status = 'closing' - this._close(function (err) { - if (err) { - self.status = oldStatus - return callback(err) - } - self.status = 'closed' - callback() - }) - } else { - this.status = 'closed' - process.nextTick(callback) - } -} - -AbstractLevelDOWN.prototype.get = function (key, options, callback) { - var err - - if (typeof options == 'function') - callback = options - - if (typeof callback != 'function') - throw new Error('get() requires a callback argument') - - if (err = this._checkKey(key, 'key', this._isBuffer)) - return callback(err) - - if (!this._isBuffer(key)) - key = String(key) - - if (typeof options != 'object') - options = {} - - options.asBuffer = options.asBuffer != false - - if (typeof this._get == 'function') - return this._get(key, options, callback) - - process.nextTick(function () { callback(new Error('NotFound')) }) -} - -AbstractLevelDOWN.prototype.put = function (key, value, options, callback) { - var err - - if (typeof options == 'function') - callback = options - - if (typeof callback != 'function') - throw new Error('put() requires a callback argument') - - if (err = this._checkKey(key, 'key', this._isBuffer)) - return callback(err) - - if (!this._isBuffer(key)) - key = String(key) - - // coerce value to string in node, don't touch it in browser - // (indexeddb can store any JS type) - if (value != null && !this._isBuffer(value) && !process.browser) - value = String(value) - - if (typeof options != 'object') - options = {} - - if (typeof this._put == 'function') - return this._put(key, value, options, callback) - - process.nextTick(callback) -} - -AbstractLevelDOWN.prototype.del = function (key, options, callback) { - var err - - if (typeof options == 'function') - callback = options - - if (typeof callback != 'function') - throw new Error('del() requires a callback argument') - - if (err = this._checkKey(key, 'key', this._isBuffer)) - return callback(err) - - if (!this._isBuffer(key)) - key = String(key) - - if (typeof options != 'object') - options = {} - - if (typeof this._del == 'function') - return this._del(key, options, callback) - - process.nextTick(callback) -} - -AbstractLevelDOWN.prototype.batch = function (array, options, callback) { - if (!arguments.length) - return this._chainedBatch() - - if (typeof options == 'function') - callback = options - - if (typeof array == 'function') - callback = array - - if (typeof callback != 'function') - throw new Error('batch(array) requires a callback argument') - - if (!Array.isArray(array)) - return callback(new Error('batch(array) requires an array argument')) - - if (!options || typeof options != 'object') - options = {} - - var i = 0 - , l = array.length - , e - , err - - for (; i < l; i++) { - e = array[i] - if (typeof e != 'object') - continue - - if (err = this._checkKey(e.type, 'type', this._isBuffer)) - return callback(err) - - if (err = this._checkKey(e.key, 'key', this._isBuffer)) - return callback(err) - } - - if (typeof this._batch == 'function') - return this._batch(array, options, callback) - - process.nextTick(callback) -} - -//TODO: remove from here, not a necessary primitive -AbstractLevelDOWN.prototype.approximateSize = function (start, end, callback) { - if ( start == null - || end == null - || typeof start == 'function' - || typeof end == 'function') { - throw new Error('approximateSize() requires valid `start`, `end` and `callback` arguments') - } - - if (typeof callback != 'function') - throw new Error('approximateSize() requires a callback argument') - - if (!this._isBuffer(start)) - start = String(start) - - if (!this._isBuffer(end)) - end = String(end) - - if (typeof this._approximateSize == 'function') - return this._approximateSize(start, end, callback) - - process.nextTick(function () { - callback(null, 0) - }) -} - -AbstractLevelDOWN.prototype._setupIteratorOptions = function (options) { - var self = this - - options = xtend(options) - - ;[ 'start', 'end', 'gt', 'gte', 'lt', 'lte' ].forEach(function (o) { - if (options[o] && self._isBuffer(options[o]) && options[o].length === 0) - delete options[o] - }) - - options.reverse = !!options.reverse - options.keys = options.keys != false - options.values = options.values != false - options.limit = 'limit' in options ? options.limit : -1 - options.keyAsBuffer = options.keyAsBuffer != false - options.valueAsBuffer = options.valueAsBuffer != false - - return options -} - -AbstractLevelDOWN.prototype.iterator = function (options) { - if (typeof options != 'object') - options = {} - - options = this._setupIteratorOptions(options) - - if (typeof this._iterator == 'function') - return this._iterator(options) - - return new AbstractIterator(this) -} - -AbstractLevelDOWN.prototype._chainedBatch = function () { - return new AbstractChainedBatch(this) -} - -AbstractLevelDOWN.prototype._isBuffer = function (obj) { - return Buffer.isBuffer(obj) -} - -AbstractLevelDOWN.prototype._checkKey = function (obj, type) { - - if (obj === null || obj === undefined) - return new Error(type + ' cannot be `null` or `undefined`') - - if (this._isBuffer(obj)) { - if (obj.length === 0) - return new Error(type + ' cannot be an empty Buffer') - } else if (String(obj) === '') - return new Error(type + ' cannot be an empty String') -} - -module.exports = AbstractLevelDOWN - -}).call(this,require('_process'),require("buffer").Buffer) -},{"./abstract-chained-batch":3,"./abstract-iterator":4,"_process":42,"buffer":37,"xtend":8}],6:[function(require,module,exports){ -exports.AbstractLevelDOWN = require('./abstract-leveldown') -exports.AbstractIterator = require('./abstract-iterator') -exports.AbstractChainedBatch = require('./abstract-chained-batch') -exports.isLevelDOWN = require('./is-leveldown') - -},{"./abstract-chained-batch":3,"./abstract-iterator":4,"./abstract-leveldown":5,"./is-leveldown":7}],7:[function(require,module,exports){ -const AbstractLevelDOWN = require('./abstract-leveldown') - -function isLevelDOWN (db) { - if (!db || typeof db !== 'object') - return false - return Object.keys(AbstractLevelDOWN.prototype).filter(function (name) { - // TODO remove approximateSize check when method is gone - return name[0] != '_' && name != 'approximateSize' - }).every(function (name) { - return typeof db[name] == 'function' - }) -} - -module.exports = isLevelDOWN - -},{"./abstract-leveldown":5}],8:[function(require,module,exports){ -module.exports = extend - -function extend() { - var target = {} - - for (var i = 0; i < arguments.length; i++) { - var source = arguments[i] - - for (var key in source) { - if (source.hasOwnProperty(key)) { - target[key] = source[key] - } - } - } - - return target -} - -},{}],9:[function(require,module,exports){ -/*global window:false, self:false, define:false, module:false */ - -/** - * @license IDBWrapper - A cross-browser wrapper for IndexedDB - * Copyright (c) 2011 - 2015 Jens Arps - * http://jensarps.de/ - * - * Licensed under the MIT (X11) license - */ - -(function (name, definition, global) { - if (typeof define === 'function') { - define(definition); - } else if (typeof module !== 'undefined' && module.exports) { - module.exports = definition(); - } else { - global[name] = definition(); - } -})('IDBStore', function () { - - 'use strict'; - - var defaultErrorHandler = function (error) { - throw error; - }; - var defaultSuccessHandler = function () {}; - - var defaults = { - storeName: 'Store', - storePrefix: 'IDBWrapper-', - dbVersion: 1, - keyPath: 'id', - autoIncrement: true, - onStoreReady: function () { - }, - onError: defaultErrorHandler, - indexes: [] - }; - - /** - * - * The IDBStore constructor - * - * @constructor - * @name IDBStore - * @version 1.5 - * - * @param {Object} [kwArgs] An options object used to configure the store and - * set callbacks - * @param {String} [kwArgs.storeName='Store'] The name of the store - * @param {String} [kwArgs.storePrefix='IDBWrapper-'] A prefix that is - * internally used to construct the name of the database, which will be - * kwArgs.storePrefix + kwArgs.storeName - * @param {Number} [kwArgs.dbVersion=1] The version of the store - * @param {String} [kwArgs.keyPath='id'] The key path to use. If you want to - * setup IDBWrapper to work with out-of-line keys, you need to set this to - * `null` - * @param {Boolean} [kwArgs.autoIncrement=true] If set to true, IDBStore will - * automatically make sure a unique keyPath value is present on each object - * that is stored. - * @param {Function} [kwArgs.onStoreReady] A callback to be called when the - * store is ready to be used. - * @param {Function} [kwArgs.onError=throw] A callback to be called when an - * error occurred during instantiation of the store. - * @param {Array} [kwArgs.indexes=[]] An array of indexData objects - * defining the indexes to use with the store. For every index to be used - * one indexData object needs to be passed in the array. - * An indexData object is defined as follows: - * @param {Object} [kwArgs.indexes.indexData] An object defining the index to - * use - * @param {String} kwArgs.indexes.indexData.name The name of the index - * @param {String} [kwArgs.indexes.indexData.keyPath] The key path of the index - * @param {Boolean} [kwArgs.indexes.indexData.unique] Whether the index is unique - * @param {Boolean} [kwArgs.indexes.indexData.multiEntry] Whether the index is multi entry - * @param {Function} [onStoreReady] A callback to be called when the store - * is ready to be used. - * @example - // create a store for customers with an additional index over the - // `lastname` property. - var myCustomerStore = new IDBStore({ - dbVersion: 1, - storeName: 'customer-index', - keyPath: 'customerid', - autoIncrement: true, - onStoreReady: populateTable, - indexes: [ - { name: 'lastname', keyPath: 'lastname', unique: false, multiEntry: false } - ] - }); - * @example - // create a generic store - var myCustomerStore = new IDBStore({ - storeName: 'my-data-store', - onStoreReady: function(){ - // start working with the store. - } - }); - */ - var IDBStore = function (kwArgs, onStoreReady) { - - if (typeof onStoreReady == 'undefined' && typeof kwArgs == 'function') { - onStoreReady = kwArgs; - } - if (Object.prototype.toString.call(kwArgs) != '[object Object]') { - kwArgs = {}; - } - - for (var key in defaults) { - this[key] = typeof kwArgs[key] != 'undefined' ? kwArgs[key] : defaults[key]; - } - - this.dbName = this.storePrefix + this.storeName; - this.dbVersion = parseInt(this.dbVersion, 10) || 1; - - onStoreReady && (this.onStoreReady = onStoreReady); - - var env = typeof window == 'object' ? window : self; - this.idb = env.indexedDB || env.webkitIndexedDB || env.mozIndexedDB || env.shimIndexedDB; - this.keyRange = env.IDBKeyRange || env.webkitIDBKeyRange || env.mozIDBKeyRange; - - this.features = { - hasAutoIncrement: !env.mozIndexedDB - }; - - this.consts = { - 'READ_ONLY': 'readonly', - 'READ_WRITE': 'readwrite', - 'VERSION_CHANGE': 'versionchange', - 'NEXT': 'next', - 'NEXT_NO_DUPLICATE': 'nextunique', - 'PREV': 'prev', - 'PREV_NO_DUPLICATE': 'prevunique' - }; - - this.openDB(); - }; - - IDBStore.prototype = /** @lends IDBStore */ { - - /** - * A pointer to the IDBStore ctor - * - * @type IDBStore - */ - constructor: IDBStore, - - /** - * The version of IDBStore - * - * @type String - */ - version: '1.5', - - /** - * A reference to the IndexedDB object - * - * @type Object - */ - db: null, - - /** - * The full name of the IndexedDB used by IDBStore, composed of - * this.storePrefix + this.storeName - * - * @type String - */ - dbName: null, - - /** - * The version of the IndexedDB used by IDBStore - * - * @type Number - */ - dbVersion: null, - - /** - * A reference to the objectStore used by IDBStore - * - * @type Object - */ - store: null, - - /** - * The store name - * - * @type String - */ - storeName: null, - - /** - * The prefix to prepend to the store name - * - * @type String - */ - storePrefix: null, - - /** - * The key path - * - * @type String - */ - keyPath: null, - - /** - * Whether IDBStore uses autoIncrement - * - * @type Boolean - */ - autoIncrement: null, - - /** - * The indexes used by IDBStore - * - * @type Array - */ - indexes: null, - - /** - * A hashmap of features of the used IDB implementation - * - * @type Object - * @proprty {Boolean} autoIncrement If the implementation supports - * native auto increment - */ - features: null, - - /** - * The callback to be called when the store is ready to be used - * - * @type Function - */ - onStoreReady: null, - - /** - * The callback to be called if an error occurred during instantiation - * of the store - * - * @type Function - */ - onError: null, - - /** - * The internal insertID counter - * - * @type Number - * @private - */ - _insertIdCount: 0, - - /** - * Opens an IndexedDB; called by the constructor. - * - * Will check if versions match and compare provided index configuration - * with existing ones, and update indexes if necessary. - * - * Will call this.onStoreReady() if everything went well and the store - * is ready to use, and this.onError() is something went wrong. - * - * @private - * - */ - openDB: function () { - - var openRequest = this.idb.open(this.dbName, this.dbVersion); - var preventSuccessCallback = false; - - openRequest.onerror = function (error) { - - var gotVersionErr = false; - if ('error' in error.target) { - gotVersionErr = error.target.error.name == 'VersionError'; - } else if ('errorCode' in error.target) { - gotVersionErr = error.target.errorCode == 12; - } - - if (gotVersionErr) { - this.onError(new Error('The version number provided is lower than the existing one.')); - } else { - this.onError(error); - } - }.bind(this); - - openRequest.onsuccess = function (event) { - - if (preventSuccessCallback) { - return; - } - - if(this.db){ - this.onStoreReady(); - return; - } - - this.db = event.target.result; - - if(typeof this.db.version == 'string'){ - this.onError(new Error('The IndexedDB implementation in this browser is outdated. Please upgrade your browser.')); - return; - } - - if(!this.db.objectStoreNames.contains(this.storeName)){ - // We should never ever get here. - // Lets notify the user anyway. - this.onError(new Error('Something is wrong with the IndexedDB implementation in this browser. Please upgrade your browser.')); - return; - } - - var emptyTransaction = this.db.transaction([this.storeName], this.consts.READ_ONLY); - this.store = emptyTransaction.objectStore(this.storeName); - - // check indexes - var existingIndexes = Array.prototype.slice.call(this.getIndexList()); - this.indexes.forEach(function(indexData){ - var indexName = indexData.name; - - if(!indexName){ - preventSuccessCallback = true; - this.onError(new Error('Cannot create index: No index name given.')); - return; - } - - this.normalizeIndexData(indexData); - - if(this.hasIndex(indexName)){ - // check if it complies - var actualIndex = this.store.index(indexName); - var complies = this.indexComplies(actualIndex, indexData); - if(!complies){ - preventSuccessCallback = true; - this.onError(new Error('Cannot modify index "' + indexName + '" for current version. Please bump version number to ' + ( this.dbVersion + 1 ) + '.')); - } - - existingIndexes.splice(existingIndexes.indexOf(indexName), 1); - } else { - preventSuccessCallback = true; - this.onError(new Error('Cannot create new index "' + indexName + '" for current version. Please bump version number to ' + ( this.dbVersion + 1 ) + '.')); - } - - }, this); - - if (existingIndexes.length) { - preventSuccessCallback = true; - this.onError(new Error('Cannot delete index(es) "' + existingIndexes.toString() + '" for current version. Please bump version number to ' + ( this.dbVersion + 1 ) + '.')); - } - - preventSuccessCallback || this.onStoreReady(); - }.bind(this); - - openRequest.onupgradeneeded = function(/* IDBVersionChangeEvent */ event){ - - this.db = event.target.result; - - if(this.db.objectStoreNames.contains(this.storeName)){ - this.store = event.target.transaction.objectStore(this.storeName); - } else { - var optionalParameters = { autoIncrement: this.autoIncrement }; - if (this.keyPath !== null) { - optionalParameters.keyPath = this.keyPath; - } - this.store = this.db.createObjectStore(this.storeName, optionalParameters); - } - - var existingIndexes = Array.prototype.slice.call(this.getIndexList()); - this.indexes.forEach(function(indexData){ - var indexName = indexData.name; - - if(!indexName){ - preventSuccessCallback = true; - this.onError(new Error('Cannot create index: No index name given.')); - } - - this.normalizeIndexData(indexData); - - if(this.hasIndex(indexName)){ - // check if it complies - var actualIndex = this.store.index(indexName); - var complies = this.indexComplies(actualIndex, indexData); - if(!complies){ - // index differs, need to delete and re-create - this.store.deleteIndex(indexName); - this.store.createIndex(indexName, indexData.keyPath, { unique: indexData.unique, multiEntry: indexData.multiEntry }); - } - - existingIndexes.splice(existingIndexes.indexOf(indexName), 1); - } else { - this.store.createIndex(indexName, indexData.keyPath, { unique: indexData.unique, multiEntry: indexData.multiEntry }); - } - - }, this); - - if (existingIndexes.length) { - existingIndexes.forEach(function(_indexName){ - this.store.deleteIndex(_indexName); - }, this); - } - - }.bind(this); - }, - - /** - * Deletes the database used for this store if the IDB implementations - * provides that functionality. - * - * @param {Function} [onSuccess] A callback that is called if deletion - * was successful. - * @param {Function} [onError] A callback that is called if deletion - * failed. - */ - deleteDatabase: function (onSuccess, onError) { - if (this.idb.deleteDatabase) { - this.db.close(); - var deleteRequest = this.idb.deleteDatabase(this.dbName); - deleteRequest.onsuccess = onSuccess; - deleteRequest.onerror = onError; - } else { - onError(new Error('Browser does not support IndexedDB deleteDatabase!')); - } - }, - - /********************* - * data manipulation * - *********************/ - - /** - * Puts an object into the store. If an entry with the given id exists, - * it will be overwritten. This method has a different signature for inline - * keys and out-of-line keys; please see the examples below. - * - * @param {*} [key] The key to store. This is only needed if IDBWrapper - * is set to use out-of-line keys. For inline keys - the default scenario - - * this can be omitted. - * @param {Object} value The data object to store. - * @param {Function} [onSuccess] A callback that is called if insertion - * was successful. - * @param {Function} [onError] A callback that is called if insertion - * failed. - * @returns {IDBTransaction} The transaction used for this operation. - * @example - // Storing an object, using inline keys (the default scenario): - var myCustomer = { - customerid: 2346223, - lastname: 'Doe', - firstname: 'John' - }; - myCustomerStore.put(myCustomer, mySuccessHandler, myErrorHandler); - // Note that passing success- and error-handlers is optional. - * @example - // Storing an object, using out-of-line keys: - var myCustomer = { - lastname: 'Doe', - firstname: 'John' - }; - myCustomerStore.put(2346223, myCustomer, mySuccessHandler, myErrorHandler); - // Note that passing success- and error-handlers is optional. - */ - put: function (key, value, onSuccess, onError) { - if (this.keyPath !== null) { - onError = onSuccess; - onSuccess = value; - value = key; - } - onError || (onError = defaultErrorHandler); - onSuccess || (onSuccess = defaultSuccessHandler); - - var hasSuccess = false, - result = null, - putRequest; - - var putTransaction = this.db.transaction([this.storeName], this.consts.READ_WRITE); - putTransaction.oncomplete = function () { - var callback = hasSuccess ? onSuccess : onError; - callback(result); - }; - putTransaction.onabort = onError; - putTransaction.onerror = onError; - - if (this.keyPath !== null) { // in-line keys - this._addIdPropertyIfNeeded(value); - putRequest = putTransaction.objectStore(this.storeName).put(value); - } else { // out-of-line keys - putRequest = putTransaction.objectStore(this.storeName).put(value, key); - } - putRequest.onsuccess = function (event) { - hasSuccess = true; - result = event.target.result; - }; - putRequest.onerror = onError; - - return putTransaction; - }, - - /** - * Retrieves an object from the store. If no entry exists with the given id, - * the success handler will be called with null as first and only argument. - * - * @param {*} key The id of the object to fetch. - * @param {Function} [onSuccess] A callback that is called if fetching - * was successful. Will receive the object as only argument. - * @param {Function} [onError] A callback that will be called if an error - * occurred during the operation. - * @returns {IDBTransaction} The transaction used for this operation. - */ - get: function (key, onSuccess, onError) { - onError || (onError = defaultErrorHandler); - onSuccess || (onSuccess = defaultSuccessHandler); - - var hasSuccess = false, - result = null; - - var getTransaction = this.db.transaction([this.storeName], this.consts.READ_ONLY); - getTransaction.oncomplete = function () { - var callback = hasSuccess ? onSuccess : onError; - callback(result); - }; - getTransaction.onabort = onError; - getTransaction.onerror = onError; - var getRequest = getTransaction.objectStore(this.storeName).get(key); - getRequest.onsuccess = function (event) { - hasSuccess = true; - result = event.target.result; - }; - getRequest.onerror = onError; - - return getTransaction; - }, - - /** - * Removes an object from the store. - * - * @param {*} key The id of the object to remove. - * @param {Function} [onSuccess] A callback that is called if the removal - * was successful. - * @param {Function} [onError] A callback that will be called if an error - * occurred during the operation. - * @returns {IDBTransaction} The transaction used for this operation. - */ - remove: function (key, onSuccess, onError) { - onError || (onError = defaultErrorHandler); - onSuccess || (onSuccess = defaultSuccessHandler); - - var hasSuccess = false, - result = null; - - var removeTransaction = this.db.transaction([this.storeName], this.consts.READ_WRITE); - removeTransaction.oncomplete = function () { - var callback = hasSuccess ? onSuccess : onError; - callback(result); - }; - removeTransaction.onabort = onError; - removeTransaction.onerror = onError; - - var deleteRequest = removeTransaction.objectStore(this.storeName)['delete'](key); - deleteRequest.onsuccess = function (event) { - hasSuccess = true; - result = event.target.result; - }; - deleteRequest.onerror = onError; - - return removeTransaction; - }, - - /** - * Runs a batch of put and/or remove operations on the store. - * - * @param {Array} dataArray An array of objects containing the operation to run - * and the data object (for put operations). - * @param {Function} [onSuccess] A callback that is called if all operations - * were successful. - * @param {Function} [onError] A callback that is called if an error - * occurred during one of the operations. - * @returns {IDBTransaction} The transaction used for this operation. - */ - batch: function (dataArray, onSuccess, onError) { - onError || (onError = defaultErrorHandler); - onSuccess || (onSuccess = defaultSuccessHandler); - - if(Object.prototype.toString.call(dataArray) != '[object Array]'){ - onError(new Error('dataArray argument must be of type Array.')); - } - var batchTransaction = this.db.transaction([this.storeName] , this.consts.READ_WRITE); - batchTransaction.oncomplete = function () { - var callback = hasSuccess ? onSuccess : onError; - callback(hasSuccess); - }; - batchTransaction.onabort = onError; - batchTransaction.onerror = onError; - - var count = dataArray.length; - var called = false; - var hasSuccess = false; - - var onItemSuccess = function () { - count--; - if (count === 0 && !called) { - called = true; - hasSuccess = true; - } - }; - - dataArray.forEach(function (operation) { - var type = operation.type; - var key = operation.key; - var value = operation.value; - - var onItemError = function (err) { - batchTransaction.abort(); - if (!called) { - called = true; - onError(err, type, key); - } - }; - - if (type == 'remove') { - var deleteRequest = batchTransaction.objectStore(this.storeName)['delete'](key); - deleteRequest.onsuccess = onItemSuccess; - deleteRequest.onerror = onItemError; - } else if (type == 'put') { - var putRequest; - if (this.keyPath !== null) { // in-line keys - this._addIdPropertyIfNeeded(value); - putRequest = batchTransaction.objectStore(this.storeName).put(value); - } else { // out-of-line keys - putRequest = batchTransaction.objectStore(this.storeName).put(value, key); - } - putRequest.onsuccess = onItemSuccess; - putRequest.onerror = onItemError; - } - }, this); - - return batchTransaction; - }, - - /** - * Takes an array of objects and stores them in a single transaction. - * - * @param {Array} dataArray An array of objects to store - * @param {Function} [onSuccess] A callback that is called if all operations - * were successful. - * @param {Function} [onError] A callback that is called if an error - * occurred during one of the operations. - * @returns {IDBTransaction} The transaction used for this operation. - */ - putBatch: function (dataArray, onSuccess, onError) { - var batchData = dataArray.map(function(item){ - return { type: 'put', value: item }; - }); - - return this.batch(batchData, onSuccess, onError); - }, - - /** - * Like putBatch, takes an array of objects and stores them in a single - * transaction, but allows processing of the result values. Returns the - * processed records containing the key for newly created records to the - * onSuccess calllback instead of only returning true or false for success. - * In addition, added the option for the caller to specify a key field that - * should be set to the newly created key. - * - * @param {Array} dataArray An array of objects to store - * @param {Object} [options] An object containing optional options - * @param {String} [options.keyField=this.keyPath] Specifies a field in the record to update - * with the auto-incrementing key. Defaults to the store's keyPath. - * @param {Function} [onSuccess] A callback that is called if all operations - * were successful. - * @param {Function} [onError] A callback that is called if an error - * occurred during one of the operations. - * @returns {IDBTransaction} The transaction used for this operation. - * - */ - upsertBatch: function (dataArray, options, onSuccess, onError) { - // handle `dataArray, onSuccess, onError` signature - if (typeof options == 'function') { - onSuccess = options; - onError = onSuccess; - options = {}; - } - - onError || (onError = defaultErrorHandler); - onSuccess || (onSuccess = defaultSuccessHandler); - options || (options = {}); - - if (Object.prototype.toString.call(dataArray) != '[object Array]') { - onError(new Error('dataArray argument must be of type Array.')); - } - var batchTransaction = this.db.transaction([this.storeName], this.consts.READ_WRITE); - batchTransaction.oncomplete = function () { - if (hasSuccess) { - onSuccess(dataArray); - } else { - onError(false); - } - }; - batchTransaction.onabort = onError; - batchTransaction.onerror = onError; - - var keyField = options.keyField || this.keyPath; - var count = dataArray.length; - var called = false; - var hasSuccess = false; - var index = 0; // assume success callbacks are executed in order - - var onItemSuccess = function (event) { - var record = dataArray[index++]; - record[keyField] = event.target.result; - - count--; - if (count === 0 && !called) { - called = true; - hasSuccess = true; - } - }; - - dataArray.forEach(function (record) { - var key = record.key; - - var onItemError = function (err) { - batchTransaction.abort(); - if (!called) { - called = true; - onError(err); - } - }; - - var putRequest; - if (this.keyPath !== null) { // in-line keys - this._addIdPropertyIfNeeded(record); - putRequest = batchTransaction.objectStore(this.storeName).put(record); - } else { // out-of-line keys - putRequest = batchTransaction.objectStore(this.storeName).put(record, key); - } - putRequest.onsuccess = onItemSuccess; - putRequest.onerror = onItemError; - }, this); - - return batchTransaction; - }, - - /** - * Takes an array of keys and removes matching objects in a single - * transaction. - * - * @param {Array} keyArray An array of keys to remove - * @param {Function} [onSuccess] A callback that is called if all operations - * were successful. - * @param {Function} [onError] A callback that is called if an error - * occurred during one of the operations. - * @returns {IDBTransaction} The transaction used for this operation. - */ - removeBatch: function (keyArray, onSuccess, onError) { - var batchData = keyArray.map(function(key){ - return { type: 'remove', key: key }; - }); - - return this.batch(batchData, onSuccess, onError); - }, - - /** - * Takes an array of keys and fetches matching objects - * - * @param {Array} keyArray An array of keys identifying the objects to fetch - * @param {Function} [onSuccess] A callback that is called if all operations - * were successful. - * @param {Function} [onError] A callback that is called if an error - * occurred during one of the operations. - * @param {String} [arrayType='sparse'] The type of array to pass to the - * success handler. May be one of 'sparse', 'dense' or 'skip'. Defaults to - * 'sparse'. This parameter specifies how to handle the situation if a get - * operation did not throw an error, but there was no matching object in - * the database. In most cases, 'sparse' provides the most desired - * behavior. See the examples for details. - * @returns {IDBTransaction} The transaction used for this operation. - * @example - // given that there are two objects in the database with the keypath - // values 1 and 2, and the call looks like this: - myStore.getBatch([1, 5, 2], onError, function (data) { … }, arrayType); - - // this is what the `data` array will be like: - - // arrayType == 'sparse': - // data is a sparse array containing two entries and having a length of 3: - [Object, 2: Object] - 0: Object - 2: Object - length: 3 - __proto__: Array[0] - // calling forEach on data will result in the callback being called two - // times, with the index parameter matching the index of the key in the - // keyArray. - - // arrayType == 'dense': - // data is a dense array containing three entries and having a length of 3, - // where data[1] is of type undefined: - [Object, undefined, Object] - 0: Object - 1: undefined - 2: Object - length: 3 - __proto__: Array[0] - // calling forEach on data will result in the callback being called three - // times, with the index parameter matching the index of the key in the - // keyArray, but the second call will have undefined as first argument. - - // arrayType == 'skip': - // data is a dense array containing two entries and having a length of 2: - [Object, Object] - 0: Object - 1: Object - length: 2 - __proto__: Array[0] - // calling forEach on data will result in the callback being called two - // times, with the index parameter not matching the index of the key in the - // keyArray. - */ - getBatch: function (keyArray, onSuccess, onError, arrayType) { - onError || (onError = defaultErrorHandler); - onSuccess || (onSuccess = defaultSuccessHandler); - arrayType || (arrayType = 'sparse'); - - if(Object.prototype.toString.call(keyArray) != '[object Array]'){ - onError(new Error('keyArray argument must be of type Array.')); - } - var batchTransaction = this.db.transaction([this.storeName] , this.consts.READ_ONLY); - batchTransaction.oncomplete = function () { - var callback = hasSuccess ? onSuccess : onError; - callback(result); - }; - batchTransaction.onabort = onError; - batchTransaction.onerror = onError; - - var data = []; - var count = keyArray.length; - var called = false; - var hasSuccess = false; - var result = null; - - var onItemSuccess = function (event) { - if (event.target.result || arrayType == 'dense') { - data.push(event.target.result); - } else if (arrayType == 'sparse') { - data.length++; - } - count--; - if (count === 0) { - called = true; - hasSuccess = true; - result = data; - } - }; - - keyArray.forEach(function (key) { - - var onItemError = function (err) { - called = true; - result = err; - onError(err); - batchTransaction.abort(); - }; - - var getRequest = batchTransaction.objectStore(this.storeName).get(key); - getRequest.onsuccess = onItemSuccess; - getRequest.onerror = onItemError; - - }, this); - - return batchTransaction; - }, - - /** - * Fetches all entries in the store. - * - * @param {Function} [onSuccess] A callback that is called if the operation - * was successful. Will receive an array of objects. - * @param {Function} [onError] A callback that will be called if an error - * occurred during the operation. - * @returns {IDBTransaction} The transaction used for this operation. - */ - getAll: function (onSuccess, onError) { - onError || (onError = defaultErrorHandler); - onSuccess || (onSuccess = defaultSuccessHandler); - var getAllTransaction = this.db.transaction([this.storeName], this.consts.READ_ONLY); - var store = getAllTransaction.objectStore(this.storeName); - if (store.getAll) { - this._getAllNative(getAllTransaction, store, onSuccess, onError); - } else { - this._getAllCursor(getAllTransaction, store, onSuccess, onError); - } - - return getAllTransaction; - }, - - /** - * Implements getAll for IDB implementations that have a non-standard - * getAll() method. - * - * @param {Object} getAllTransaction An open READ transaction. - * @param {Object} store A reference to the store. - * @param {Function} onSuccess A callback that will be called if the - * operation was successful. - * @param {Function} onError A callback that will be called if an - * error occurred during the operation. - * @private - */ - _getAllNative: function (getAllTransaction, store, onSuccess, onError) { - var hasSuccess = false, - result = null; - - getAllTransaction.oncomplete = function () { - var callback = hasSuccess ? onSuccess : onError; - callback(result); - }; - getAllTransaction.onabort = onError; - getAllTransaction.onerror = onError; - - var getAllRequest = store.getAll(); - getAllRequest.onsuccess = function (event) { - hasSuccess = true; - result = event.target.result; - }; - getAllRequest.onerror = onError; - }, - - /** - * Implements getAll for IDB implementations that do not have a getAll() - * method. - * - * @param {Object} getAllTransaction An open READ transaction. - * @param {Object} store A reference to the store. - * @param {Function} onSuccess A callback that will be called if the - * operation was successful. - * @param {Function} onError A callback that will be called if an - * error occurred during the operation. - * @private - */ - _getAllCursor: function (getAllTransaction, store, onSuccess, onError) { - var all = [], - hasSuccess = false, - result = null; - - getAllTransaction.oncomplete = function () { - var callback = hasSuccess ? onSuccess : onError; - callback(result); - }; - getAllTransaction.onabort = onError; - getAllTransaction.onerror = onError; - - var cursorRequest = store.openCursor(); - cursorRequest.onsuccess = function (event) { - var cursor = event.target.result; - if (cursor) { - all.push(cursor.value); - cursor['continue'](); - } - else { - hasSuccess = true; - result = all; - } - }; - cursorRequest.onError = onError; - }, - - /** - * Clears the store, i.e. deletes all entries in the store. - * - * @param {Function} [onSuccess] A callback that will be called if the - * operation was successful. - * @param {Function} [onError] A callback that will be called if an - * error occurred during the operation. - * @returns {IDBTransaction} The transaction used for this operation. - */ - clear: function (onSuccess, onError) { - onError || (onError = defaultErrorHandler); - onSuccess || (onSuccess = defaultSuccessHandler); - - var hasSuccess = false, - result = null; - - var clearTransaction = this.db.transaction([this.storeName], this.consts.READ_WRITE); - clearTransaction.oncomplete = function () { - var callback = hasSuccess ? onSuccess : onError; - callback(result); - }; - clearTransaction.onabort = onError; - clearTransaction.onerror = onError; - - var clearRequest = clearTransaction.objectStore(this.storeName).clear(); - clearRequest.onsuccess = function (event) { - hasSuccess = true; - result = event.target.result; - }; - clearRequest.onerror = onError; - - return clearTransaction; - }, - - /** - * Checks if an id property needs to present on a object and adds one if - * necessary. - * - * @param {Object} dataObj The data object that is about to be stored - * @private - */ - _addIdPropertyIfNeeded: function (dataObj) { - if (!this.features.hasAutoIncrement && typeof dataObj[this.keyPath] == 'undefined') { - dataObj[this.keyPath] = this._insertIdCount++ + Date.now(); - } - }, - - /************ - * indexing * - ************/ - - /** - * Returns a DOMStringList of index names of the store. - * - * @return {DOMStringList} The list of index names - */ - getIndexList: function () { - return this.store.indexNames; - }, - - /** - * Checks if an index with the given name exists in the store. - * - * @param {String} indexName The name of the index to look for - * @return {Boolean} Whether the store contains an index with the given name - */ - hasIndex: function (indexName) { - return this.store.indexNames.contains(indexName); - }, - - /** - * Normalizes an object containing index data and assures that all - * properties are set. - * - * @param {Object} indexData The index data object to normalize - * @param {String} indexData.name The name of the index - * @param {String} [indexData.keyPath] The key path of the index - * @param {Boolean} [indexData.unique] Whether the index is unique - * @param {Boolean} [indexData.multiEntry] Whether the index is multi entry - */ - normalizeIndexData: function (indexData) { - indexData.keyPath = indexData.keyPath || indexData.name; - indexData.unique = !!indexData.unique; - indexData.multiEntry = !!indexData.multiEntry; - }, - - /** - * Checks if an actual index complies with an expected index. - * - * @param {Object} actual The actual index found in the store - * @param {Object} expected An Object describing an expected index - * @return {Boolean} Whether both index definitions are identical - */ - indexComplies: function (actual, expected) { - var complies = ['keyPath', 'unique', 'multiEntry'].every(function (key) { - // IE10 returns undefined for no multiEntry - if (key == 'multiEntry' && actual[key] === undefined && expected[key] === false) { - return true; - } - // Compound keys - if (key == 'keyPath' && Object.prototype.toString.call(expected[key]) == '[object Array]') { - var exp = expected.keyPath; - var act = actual.keyPath; - - // IE10 can't handle keyPath sequences and stores them as a string. - // The index will be unusable there, but let's still return true if - // the keyPath sequence matches. - if (typeof act == 'string') { - return exp.toString() == act; - } - - // Chrome/Opera stores keyPath squences as DOMStringList, Firefox - // as Array - if ( ! (typeof act.contains == 'function' || typeof act.indexOf == 'function') ) { - return false; - } - - if (act.length !== exp.length) { - return false; - } - - for (var i = 0, m = exp.length; i b ? 1 : 0 -} - -function has(obj, key) { - return Object.hasOwnProperty.call(obj, key) -} - -// to be compatible with the current abstract-leveldown tests -// nullish or empty strings. -// I could use !!val but I want to permit numbers and booleans, -// if possible. - -function isDef (val) { - return val !== undefined && val !== '' -} - -function has (range, name) { - return Object.hasOwnProperty.call(range, name) -} - -function hasKey(range, name) { - return Object.hasOwnProperty.call(range, name) && name -} - -var lowerBoundKey = exports.lowerBoundKey = function (range) { - return ( - hasKey(range, 'gt') - || hasKey(range, 'gte') - || hasKey(range, 'min') - || (range.reverse ? hasKey(range, 'end') : hasKey(range, 'start')) - || undefined - ) -} - -var lowerBound = exports.lowerBound = function (range) { - var k = lowerBoundKey(range) - return k && range[k] - return ( - has(range, 'gt') ? range.gt - : has(range, 'gte') ? range.gte - : has(range, 'min') ? range.min - : has(range, 'start') && !range.reverse ? range.start - : has(range, 'end') && range.reverse ? range.end - : undefined - ) -} - -exports.lowerBoundInclusive = function (range) { - return has(range, 'gt') ? false : true -} - -exports.upperBoundInclusive = - function (range) { - return has(range, 'lt') || !range.minEx ? false : true - } - -var lowerBoundExclusive = exports.lowerBoundExclusive = - function (range) { - return has(range, 'gt') || range.minEx ? true : false - } - -var upperBoundExclusive = exports.upperBoundExclusive = - function (range) { - return has(range, 'lt') ? true : false - } - -var upperBoundKey = exports.upperBoundKey = function (range) { - return ( - hasKey(range, 'lt') - || hasKey(range, 'lte') - || hasKey(range, 'max') - || (range.reverse ? hasKey(range, 'start') : hasKey(range, 'end')) - || undefined - ) -} - -var upperBound = exports.upperBound = function (range) { - var k = upperBoundKey(range) - return k && range[k] -} - -function id (e) { return e } - -exports.toLtgt = function (range, _range, map, lower, upper) { - _range = _range || {} - map = map || id - var defaults = arguments.length > 3 - var lb = exports.lowerBoundKey(range) - var ub = exports.upperBoundKey(range) - if(lb) { - if(lb === 'gt') _range.gt = map(range.gt) - else _range.gte = map(range[lb]) - } - else if(defaults) - _range.gte = lower - - if(ub) { - if(ub === 'lt') _range.lt = map(range.lt) - else _range.lte = map(range[ub]) - } - else if(defaults) - _range.lte = upper - - _range.reverse = !!range.reverse - - return _range -} - -exports.contains = function (range, key, compare) { - compare = compare || exports.compare - - var lb = lowerBound(range) - if(isDef(lb)) { - var cmp = compare(key, lb) - if(cmp < 0 || (cmp === 0 && lowerBoundExclusive(range))) - return false - } - - var ub = upperBound(range) - if(isDef(ub)) { - var cmp = compare(key, ub) - if(cmp > 0 || (cmp === 0) && upperBoundExclusive(range)) - return false - } - - return true -} - -exports.filter = function (range, compare) { - return function (key) { - return exports.contains(range, key, compare) - } -} - -}).call(this,require("buffer").Buffer) -},{"buffer":37}],12:[function(require,module,exports){ -(function (Buffer){ -/** - * Convert a typed array to a Buffer without a copy - * - * Author: Feross Aboukhadijeh - * License: MIT - * - * `npm install typedarray-to-buffer` - */ - -module.exports = function (arr) { - if (typeof Buffer._augment === 'function' && Buffer.TYPED_ARRAY_SUPPORT) { - // If `Buffer` is from the `buffer` module and this browser supports typed arrays, - // then augment it with all the `Buffer` methods. - return Buffer._augment(arr) - } else { - // Otherwise, fallback to creating a `Buffer` with a copy. - return new Buffer(arr) - } -} - -}).call(this,require("buffer").Buffer) -},{"buffer":37}],13:[function(require,module,exports){ -module.exports = hasKeys - -function hasKeys(source) { - return source !== null && - (typeof source === "object" || - typeof source === "function") -} - -},{}],14:[function(require,module,exports){ -var Keys = require("object-keys") -var hasKeys = require("./has-keys") - -module.exports = extend - -function extend() { - var target = {} - - for (var i = 0; i < arguments.length; i++) { - var source = arguments[i] - - if (!hasKeys(source)) { - continue - } - - var keys = Keys(source) - - for (var j = 0; j < keys.length; j++) { - var name = keys[j] - target[name] = source[name] - } - } - - return target -} - -},{"./has-keys":13,"object-keys":16}],15:[function(require,module,exports){ -var hasOwn = Object.prototype.hasOwnProperty; -var toString = Object.prototype.toString; - -var isFunction = function (fn) { - var isFunc = (typeof fn === 'function' && !(fn instanceof RegExp)) || toString.call(fn) === '[object Function]'; - if (!isFunc && typeof window !== 'undefined') { - isFunc = fn === window.setTimeout || fn === window.alert || fn === window.confirm || fn === window.prompt; - } - return isFunc; -}; - -module.exports = function forEach(obj, fn) { - if (!isFunction(fn)) { - throw new TypeError('iterator must be a function'); - } - var i, k, - isString = typeof obj === 'string', - l = obj.length, - context = arguments.length > 2 ? arguments[2] : null; - if (l === +l) { - for (i = 0; i < l; i++) { - if (context === null) { - fn(isString ? obj.charAt(i) : obj[i], i, obj); - } else { - fn.call(context, isString ? obj.charAt(i) : obj[i], i, obj); - } - } - } else { - for (k in obj) { - if (hasOwn.call(obj, k)) { - if (context === null) { - fn(obj[k], k, obj); - } else { - fn.call(context, obj[k], k, obj); - } - } - } - } -}; - - -},{}],16:[function(require,module,exports){ -module.exports = Object.keys || require('./shim'); - - -},{"./shim":18}],17:[function(require,module,exports){ -var toString = Object.prototype.toString; - -module.exports = function isArguments(value) { - var str = toString.call(value); - var isArguments = str === '[object Arguments]'; - if (!isArguments) { - isArguments = str !== '[object Array]' - && value !== null - && typeof value === 'object' - && typeof value.length === 'number' - && value.length >= 0 - && toString.call(value.callee) === '[object Function]'; - } - return isArguments; -}; - - -},{}],18:[function(require,module,exports){ -(function () { - "use strict"; - - // modified from https://github.com/kriskowal/es5-shim - var has = Object.prototype.hasOwnProperty, - toString = Object.prototype.toString, - forEach = require('./foreach'), - isArgs = require('./isArguments'), - hasDontEnumBug = !({'toString': null}).propertyIsEnumerable('toString'), - hasProtoEnumBug = (function () {}).propertyIsEnumerable('prototype'), - dontEnums = [ - "toString", - "toLocaleString", - "valueOf", - "hasOwnProperty", - "isPrototypeOf", - "propertyIsEnumerable", - "constructor" - ], - keysShim; - - keysShim = function keys(object) { - var isObject = object !== null && typeof object === 'object', - isFunction = toString.call(object) === '[object Function]', - isArguments = isArgs(object), - theKeys = []; - - if (!isObject && !isFunction && !isArguments) { - throw new TypeError("Object.keys called on a non-object"); - } - - if (isArguments) { - forEach(object, function (value) { - theKeys.push(value); - }); - } else { - var name, - skipProto = hasProtoEnumBug && isFunction; - - for (name in object) { - if (!(skipProto && name === 'prototype') && has.call(object, name)) { - theKeys.push(name); - } - } - } - - if (hasDontEnumBug) { - var ctor = object.constructor, - skipConstructor = ctor && ctor.prototype === object; - - forEach(dontEnums, function (dontEnum) { - if (!(skipConstructor && dontEnum === 'constructor') && has.call(object, dontEnum)) { - theKeys.push(dontEnum); - } - }); - } - return theKeys; - }; - - module.exports = keysShim; -}()); - - -},{"./foreach":15,"./isArguments":17}],19:[function(require,module,exports){ -// Top level file is just a mixin of submodules & constants -'use strict'; - -var assign = require('./lib/utils/common').assign; - -var deflate = require('./lib/deflate'); -var inflate = require('./lib/inflate'); -var constants = require('./lib/zlib/constants'); - -var pako = {}; - -assign(pako, deflate, inflate, constants); - -module.exports = pako; - -},{"./lib/deflate":20,"./lib/inflate":21,"./lib/utils/common":22,"./lib/zlib/constants":25}],20:[function(require,module,exports){ -'use strict'; - - -var zlib_deflate = require('./zlib/deflate.js'); -var utils = require('./utils/common'); -var strings = require('./utils/strings'); -var msg = require('./zlib/messages'); -var zstream = require('./zlib/zstream'); - -var toString = Object.prototype.toString; - -/* Public constants ==========================================================*/ -/* ===========================================================================*/ - -var Z_NO_FLUSH = 0; -var Z_FINISH = 4; - -var Z_OK = 0; -var Z_STREAM_END = 1; -var Z_SYNC_FLUSH = 2; - -var Z_DEFAULT_COMPRESSION = -1; - -var Z_DEFAULT_STRATEGY = 0; - -var Z_DEFLATED = 8; - -/* ===========================================================================*/ - - -/** - * class Deflate - * - * Generic JS-style wrapper for zlib calls. If you don't need - * streaming behaviour - use more simple functions: [[deflate]], - * [[deflateRaw]] and [[gzip]]. - **/ - -/* internal - * Deflate.chunks -> Array - * - * Chunks of output data, if [[Deflate#onData]] not overriden. - **/ - -/** - * Deflate.result -> Uint8Array|Array - * - * Compressed result, generated by default [[Deflate#onData]] - * and [[Deflate#onEnd]] handlers. Filled after you push last chunk - * (call [[Deflate#push]] with `Z_FINISH` / `true` param) or if you - * push a chunk with explicit flush (call [[Deflate#push]] with - * `Z_SYNC_FLUSH` param). - **/ - -/** - * Deflate.err -> Number - * - * Error code after deflate finished. 0 (Z_OK) on success. - * You will not need it in real life, because deflate errors - * are possible only on wrong options or bad `onData` / `onEnd` - * custom handlers. - **/ - -/** - * Deflate.msg -> String - * - * Error message, if [[Deflate.err]] != 0 - **/ - - -/** - * new Deflate(options) - * - options (Object): zlib deflate options. - * - * Creates new deflator instance with specified params. Throws exception - * on bad params. Supported options: - * - * - `level` - * - `windowBits` - * - `memLevel` - * - `strategy` - * - * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced) - * for more information on these. - * - * Additional options, for internal needs: - * - * - `chunkSize` - size of generated data chunks (16K by default) - * - `raw` (Boolean) - do raw deflate - * - `gzip` (Boolean) - create gzip wrapper - * - `to` (String) - if equal to 'string', then result will be "binary string" - * (each char code [0..255]) - * - `header` (Object) - custom header for gzip - * - `text` (Boolean) - true if compressed data believed to be text - * - `time` (Number) - modification time, unix timestamp - * - `os` (Number) - operation system code - * - `extra` (Array) - array of bytes with extra data (max 65536) - * - `name` (String) - file name (binary string) - * - `comment` (String) - comment (binary string) - * - `hcrc` (Boolean) - true if header crc should be added - * - * ##### Example: - * - * ```javascript - * var pako = require('pako') - * , chunk1 = Uint8Array([1,2,3,4,5,6,7,8,9]) - * , chunk2 = Uint8Array([10,11,12,13,14,15,16,17,18,19]); - * - * var deflate = new pako.Deflate({ level: 3}); - * - * deflate.push(chunk1, false); - * deflate.push(chunk2, true); // true -> last chunk - * - * if (deflate.err) { throw new Error(deflate.err); } - * - * console.log(deflate.result); - * ``` - **/ -var Deflate = function(options) { - - this.options = utils.assign({ - level: Z_DEFAULT_COMPRESSION, - method: Z_DEFLATED, - chunkSize: 16384, - windowBits: 15, - memLevel: 8, - strategy: Z_DEFAULT_STRATEGY, - to: '' - }, options || {}); - - var opt = this.options; - - if (opt.raw && (opt.windowBits > 0)) { - opt.windowBits = -opt.windowBits; - } - - else if (opt.gzip && (opt.windowBits > 0) && (opt.windowBits < 16)) { - opt.windowBits += 16; - } - - this.err = 0; // error code, if happens (0 = Z_OK) - this.msg = ''; // error message - this.ended = false; // used to avoid multiple onEnd() calls - this.chunks = []; // chunks of compressed data - - this.strm = new zstream(); - this.strm.avail_out = 0; - - var status = zlib_deflate.deflateInit2( - this.strm, - opt.level, - opt.method, - opt.windowBits, - opt.memLevel, - opt.strategy - ); - - if (status !== Z_OK) { - throw new Error(msg[status]); - } - - if (opt.header) { - zlib_deflate.deflateSetHeader(this.strm, opt.header); - } -}; - -/** - * Deflate#push(data[, mode]) -> Boolean - * - data (Uint8Array|Array|ArrayBuffer|String): input data. Strings will be - * converted to utf8 byte sequence. - * - mode (Number|Boolean): 0..6 for corresponding Z_NO_FLUSH..Z_TREE modes. - * See constants. Skipped or `false` means Z_NO_FLUSH, `true` meansh Z_FINISH. - * - * Sends input data to deflate pipe, generating [[Deflate#onData]] calls with - * new compressed chunks. Returns `true` on success. The last data block must have - * mode Z_FINISH (or `true`). That will flush internal pending buffers and call - * [[Deflate#onEnd]]. For interim explicit flushes (without ending the stream) you - * can use mode Z_SYNC_FLUSH, keeping the compression context. - * - * On fail call [[Deflate#onEnd]] with error code and return false. - * - * We strongly recommend to use `Uint8Array` on input for best speed (output - * array format is detected automatically). Also, don't skip last param and always - * use the same type in your code (boolean or number). That will improve JS speed. - * - * For regular `Array`-s make sure all elements are [0..255]. - * - * ##### Example - * - * ```javascript - * push(chunk, false); // push one of data chunks - * ... - * push(chunk, true); // push last chunk - * ``` - **/ -Deflate.prototype.push = function(data, mode) { - var strm = this.strm; - var chunkSize = this.options.chunkSize; - var status, _mode; - - if (this.ended) { return false; } - - _mode = (mode === ~~mode) ? mode : ((mode === true) ? Z_FINISH : Z_NO_FLUSH); - - // Convert data if needed - if (typeof data === 'string') { - // If we need to compress text, change encoding to utf8. - strm.input = strings.string2buf(data); - } else if (toString.call(data) === '[object ArrayBuffer]') { - strm.input = new Uint8Array(data); - } else { - strm.input = data; - } - - strm.next_in = 0; - strm.avail_in = strm.input.length; - - do { - if (strm.avail_out === 0) { - strm.output = new utils.Buf8(chunkSize); - strm.next_out = 0; - strm.avail_out = chunkSize; - } - status = zlib_deflate.deflate(strm, _mode); /* no bad return value */ - - if (status !== Z_STREAM_END && status !== Z_OK) { - this.onEnd(status); - this.ended = true; - return false; - } - if (strm.avail_out === 0 || (strm.avail_in === 0 && (_mode === Z_FINISH || _mode === Z_SYNC_FLUSH))) { - if (this.options.to === 'string') { - this.onData(strings.buf2binstring(utils.shrinkBuf(strm.output, strm.next_out))); - } else { - this.onData(utils.shrinkBuf(strm.output, strm.next_out)); - } - } - } while ((strm.avail_in > 0 || strm.avail_out === 0) && status !== Z_STREAM_END); - - // Finalize on the last chunk. - if (_mode === Z_FINISH) { - status = zlib_deflate.deflateEnd(this.strm); - this.onEnd(status); - this.ended = true; - return status === Z_OK; - } - - // callback interim results if Z_SYNC_FLUSH. - if (_mode === Z_SYNC_FLUSH) { - this.onEnd(Z_OK); - strm.avail_out = 0; - return true; - } - - return true; -}; - - -/** - * Deflate#onData(chunk) -> Void - * - chunk (Uint8Array|Array|String): ouput data. Type of array depends - * on js engine support. When string output requested, each chunk - * will be string. - * - * By default, stores data blocks in `chunks[]` property and glue - * those in `onEnd`. Override this handler, if you need another behaviour. - **/ -Deflate.prototype.onData = function(chunk) { - this.chunks.push(chunk); -}; - - -/** - * Deflate#onEnd(status) -> Void - * - status (Number): deflate status. 0 (Z_OK) on success, - * other if not. - * - * Called once after you tell deflate that the input stream is - * complete (Z_FINISH) or should be flushed (Z_SYNC_FLUSH) - * or if an error happened. By default - join collected chunks, - * free memory and fill `results` / `err` properties. - **/ -Deflate.prototype.onEnd = function(status) { - // On success - join - if (status === Z_OK) { - if (this.options.to === 'string') { - this.result = this.chunks.join(''); - } else { - this.result = utils.flattenChunks(this.chunks); - } - } - this.chunks = []; - this.err = status; - this.msg = this.strm.msg; -}; - - -/** - * deflate(data[, options]) -> Uint8Array|Array|String - * - data (Uint8Array|Array|String): input data to compress. - * - options (Object): zlib deflate options. - * - * Compress `data` with deflate alrorythm and `options`. - * - * Supported options are: - * - * - level - * - windowBits - * - memLevel - * - strategy - * - * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced) - * for more information on these. - * - * Sugar (options): - * - * - `raw` (Boolean) - say that we work with raw stream, if you don't wish to specify - * negative windowBits implicitly. - * - `to` (String) - if equal to 'string', then result will be "binary string" - * (each char code [0..255]) - * - * ##### Example: - * - * ```javascript - * var pako = require('pako') - * , data = Uint8Array([1,2,3,4,5,6,7,8,9]); - * - * console.log(pako.deflate(data)); - * ``` - **/ -function deflate(input, options) { - var deflator = new Deflate(options); - - deflator.push(input, true); - - // That will never happens, if you don't cheat with options :) - if (deflator.err) { throw deflator.msg; } - - return deflator.result; -} - - -/** - * deflateRaw(data[, options]) -> Uint8Array|Array|String - * - data (Uint8Array|Array|String): input data to compress. - * - options (Object): zlib deflate options. - * - * The same as [[deflate]], but creates raw data, without wrapper - * (header and adler32 crc). - **/ -function deflateRaw(input, options) { - options = options || {}; - options.raw = true; - return deflate(input, options); -} - - -/** - * gzip(data[, options]) -> Uint8Array|Array|String - * - data (Uint8Array|Array|String): input data to compress. - * - options (Object): zlib deflate options. - * - * The same as [[deflate]], but create gzip wrapper instead of - * deflate one. - **/ -function gzip(input, options) { - options = options || {}; - options.gzip = true; - return deflate(input, options); -} - - -exports.Deflate = Deflate; -exports.deflate = deflate; -exports.deflateRaw = deflateRaw; -exports.gzip = gzip; - -},{"./utils/common":22,"./utils/strings":23,"./zlib/deflate.js":27,"./zlib/messages":32,"./zlib/zstream":34}],21:[function(require,module,exports){ -'use strict'; - - -var zlib_inflate = require('./zlib/inflate.js'); -var utils = require('./utils/common'); -var strings = require('./utils/strings'); -var c = require('./zlib/constants'); -var msg = require('./zlib/messages'); -var zstream = require('./zlib/zstream'); -var gzheader = require('./zlib/gzheader'); - -var toString = Object.prototype.toString; - -/** - * class Inflate - * - * Generic JS-style wrapper for zlib calls. If you don't need - * streaming behaviour - use more simple functions: [[inflate]] - * and [[inflateRaw]]. - **/ - -/* internal - * inflate.chunks -> Array - * - * Chunks of output data, if [[Inflate#onData]] not overriden. - **/ - -/** - * Inflate.result -> Uint8Array|Array|String - * - * Uncompressed result, generated by default [[Inflate#onData]] - * and [[Inflate#onEnd]] handlers. Filled after you push last chunk - * (call [[Inflate#push]] with `Z_FINISH` / `true` param) or if you - * push a chunk with explicit flush (call [[Inflate#push]] with - * `Z_SYNC_FLUSH` param). - **/ - -/** - * Inflate.err -> Number - * - * Error code after inflate finished. 0 (Z_OK) on success. - * Should be checked if broken data possible. - **/ - -/** - * Inflate.msg -> String - * - * Error message, if [[Inflate.err]] != 0 - **/ - - -/** - * new Inflate(options) - * - options (Object): zlib inflate options. - * - * Creates new inflator instance with specified params. Throws exception - * on bad params. Supported options: - * - * - `windowBits` - * - * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced) - * for more information on these. - * - * Additional options, for internal needs: - * - * - `chunkSize` - size of generated data chunks (16K by default) - * - `raw` (Boolean) - do raw inflate - * - `to` (String) - if equal to 'string', then result will be converted - * from utf8 to utf16 (javascript) string. When string output requested, - * chunk length can differ from `chunkSize`, depending on content. - * - * By default, when no options set, autodetect deflate/gzip data format via - * wrapper header. - * - * ##### Example: - * - * ```javascript - * var pako = require('pako') - * , chunk1 = Uint8Array([1,2,3,4,5,6,7,8,9]) - * , chunk2 = Uint8Array([10,11,12,13,14,15,16,17,18,19]); - * - * var inflate = new pako.Inflate({ level: 3}); - * - * inflate.push(chunk1, false); - * inflate.push(chunk2, true); // true -> last chunk - * - * if (inflate.err) { throw new Error(inflate.err); } - * - * console.log(inflate.result); - * ``` - **/ -var Inflate = function(options) { - - this.options = utils.assign({ - chunkSize: 16384, - windowBits: 0, - to: '' - }, options || {}); - - var opt = this.options; - - // Force window size for `raw` data, if not set directly, - // because we have no header for autodetect. - if (opt.raw && (opt.windowBits >= 0) && (opt.windowBits < 16)) { - opt.windowBits = -opt.windowBits; - if (opt.windowBits === 0) { opt.windowBits = -15; } - } - - // If `windowBits` not defined (and mode not raw) - set autodetect flag for gzip/deflate - if ((opt.windowBits >= 0) && (opt.windowBits < 16) && - !(options && options.windowBits)) { - opt.windowBits += 32; - } - - // Gzip header has no info about windows size, we can do autodetect only - // for deflate. So, if window size not set, force it to max when gzip possible - if ((opt.windowBits > 15) && (opt.windowBits < 48)) { - // bit 3 (16) -> gzipped data - // bit 4 (32) -> autodetect gzip/deflate - if ((opt.windowBits & 15) === 0) { - opt.windowBits |= 15; - } - } - - this.err = 0; // error code, if happens (0 = Z_OK) - this.msg = ''; // error message - this.ended = false; // used to avoid multiple onEnd() calls - this.chunks = []; // chunks of compressed data - - this.strm = new zstream(); - this.strm.avail_out = 0; - - var status = zlib_inflate.inflateInit2( - this.strm, - opt.windowBits - ); - - if (status !== c.Z_OK) { - throw new Error(msg[status]); - } - - this.header = new gzheader(); - - zlib_inflate.inflateGetHeader(this.strm, this.header); -}; - -/** - * Inflate#push(data[, mode]) -> Boolean - * - data (Uint8Array|Array|ArrayBuffer|String): input data - * - mode (Number|Boolean): 0..6 for corresponding Z_NO_FLUSH..Z_TREE modes. - * See constants. Skipped or `false` means Z_NO_FLUSH, `true` meansh Z_FINISH. - * - * Sends input data to inflate pipe, generating [[Inflate#onData]] calls with - * new output chunks. Returns `true` on success. The last data block must have - * mode Z_FINISH (or `true`). That will flush internal pending buffers and call - * [[Inflate#onEnd]]. For interim explicit flushes (without ending the stream) you - * can use mode Z_SYNC_FLUSH, keeping the decompression context. - * - * On fail call [[Inflate#onEnd]] with error code and return false. - * - * We strongly recommend to use `Uint8Array` on input for best speed (output - * format is detected automatically). Also, don't skip last param and always - * use the same type in your code (boolean or number). That will improve JS speed. - * - * For regular `Array`-s make sure all elements are [0..255]. - * - * ##### Example - * - * ```javascript - * push(chunk, false); // push one of data chunks - * ... - * push(chunk, true); // push last chunk - * ``` - **/ -Inflate.prototype.push = function(data, mode) { - var strm = this.strm; - var chunkSize = this.options.chunkSize; - var status, _mode; - var next_out_utf8, tail, utf8str; - - if (this.ended) { return false; } - _mode = (mode === ~~mode) ? mode : ((mode === true) ? c.Z_FINISH : c.Z_NO_FLUSH); - - // Convert data if needed - if (typeof data === 'string') { - // Only binary strings can be decompressed on practice - strm.input = strings.binstring2buf(data); - } else if (toString.call(data) === '[object ArrayBuffer]') { - strm.input = new Uint8Array(data); - } else { - strm.input = data; - } - - strm.next_in = 0; - strm.avail_in = strm.input.length; - - do { - if (strm.avail_out === 0) { - strm.output = new utils.Buf8(chunkSize); - strm.next_out = 0; - strm.avail_out = chunkSize; - } - - status = zlib_inflate.inflate(strm, c.Z_NO_FLUSH); /* no bad return value */ - - if (status !== c.Z_STREAM_END && status !== c.Z_OK) { - this.onEnd(status); - this.ended = true; - return false; - } - - if (strm.next_out) { - if (strm.avail_out === 0 || status === c.Z_STREAM_END || (strm.avail_in === 0 && (_mode === c.Z_FINISH || _mode === c.Z_SYNC_FLUSH))) { - - if (this.options.to === 'string') { - - next_out_utf8 = strings.utf8border(strm.output, strm.next_out); - - tail = strm.next_out - next_out_utf8; - utf8str = strings.buf2string(strm.output, next_out_utf8); - - // move tail - strm.next_out = tail; - strm.avail_out = chunkSize - tail; - if (tail) { utils.arraySet(strm.output, strm.output, next_out_utf8, tail, 0); } - - this.onData(utf8str); - - } else { - this.onData(utils.shrinkBuf(strm.output, strm.next_out)); - } - } - } - } while ((strm.avail_in > 0) && status !== c.Z_STREAM_END); - - if (status === c.Z_STREAM_END) { - _mode = c.Z_FINISH; - } - - // Finalize on the last chunk. - if (_mode === c.Z_FINISH) { - status = zlib_inflate.inflateEnd(this.strm); - this.onEnd(status); - this.ended = true; - return status === c.Z_OK; - } - - // callback interim results if Z_SYNC_FLUSH. - if (_mode === c.Z_SYNC_FLUSH) { - this.onEnd(c.Z_OK); - strm.avail_out = 0; - return true; - } - - return true; -}; - - -/** - * Inflate#onData(chunk) -> Void - * - chunk (Uint8Array|Array|String): ouput data. Type of array depends - * on js engine support. When string output requested, each chunk - * will be string. - * - * By default, stores data blocks in `chunks[]` property and glue - * those in `onEnd`. Override this handler, if you need another behaviour. - **/ -Inflate.prototype.onData = function(chunk) { - this.chunks.push(chunk); -}; - - -/** - * Inflate#onEnd(status) -> Void - * - status (Number): inflate status. 0 (Z_OK) on success, - * other if not. - * - * Called either after you tell inflate that the input stream is - * complete (Z_FINISH) or should be flushed (Z_SYNC_FLUSH) - * or if an error happened. By default - join collected chunks, - * free memory and fill `results` / `err` properties. - **/ -Inflate.prototype.onEnd = function(status) { - // On success - join - if (status === c.Z_OK) { - if (this.options.to === 'string') { - // Glue & convert here, until we teach pako to send - // utf8 alligned strings to onData - this.result = this.chunks.join(''); - } else { - this.result = utils.flattenChunks(this.chunks); - } - } - this.chunks = []; - this.err = status; - this.msg = this.strm.msg; -}; - - -/** - * inflate(data[, options]) -> Uint8Array|Array|String - * - data (Uint8Array|Array|String): input data to decompress. - * - options (Object): zlib inflate options. - * - * Decompress `data` with inflate/ungzip and `options`. Autodetect - * format via wrapper header by default. That's why we don't provide - * separate `ungzip` method. - * - * Supported options are: - * - * - windowBits - * - * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced) - * for more information. - * - * Sugar (options): - * - * - `raw` (Boolean) - say that we work with raw stream, if you don't wish to specify - * negative windowBits implicitly. - * - `to` (String) - if equal to 'string', then result will be converted - * from utf8 to utf16 (javascript) string. When string output requested, - * chunk length can differ from `chunkSize`, depending on content. - * - * - * ##### Example: - * - * ```javascript - * var pako = require('pako') - * , input = pako.deflate([1,2,3,4,5,6,7,8,9]) - * , output; - * - * try { - * output = pako.inflate(input); - * } catch (err) - * console.log(err); - * } - * ``` - **/ -function inflate(input, options) { - var inflator = new Inflate(options); - - inflator.push(input, true); - - // That will never happens, if you don't cheat with options :) - if (inflator.err) { throw inflator.msg; } - - return inflator.result; -} - - -/** - * inflateRaw(data[, options]) -> Uint8Array|Array|String - * - data (Uint8Array|Array|String): input data to decompress. - * - options (Object): zlib inflate options. - * - * The same as [[inflate]], but creates raw data, without wrapper - * (header and adler32 crc). - **/ -function inflateRaw(input, options) { - options = options || {}; - options.raw = true; - return inflate(input, options); -} - - -/** - * ungzip(data[, options]) -> Uint8Array|Array|String - * - data (Uint8Array|Array|String): input data to decompress. - * - options (Object): zlib inflate options. - * - * Just shortcut to [[inflate]], because it autodetects format - * by header.content. Done for convenience. - **/ - - -exports.Inflate = Inflate; -exports.inflate = inflate; -exports.inflateRaw = inflateRaw; -exports.ungzip = inflate; - -},{"./utils/common":22,"./utils/strings":23,"./zlib/constants":25,"./zlib/gzheader":28,"./zlib/inflate.js":30,"./zlib/messages":32,"./zlib/zstream":34}],22:[function(require,module,exports){ -'use strict'; - - -var TYPED_OK = (typeof Uint8Array !== 'undefined') && - (typeof Uint16Array !== 'undefined') && - (typeof Int32Array !== 'undefined'); - - -exports.assign = function (obj /*from1, from2, from3, ...*/) { - var sources = Array.prototype.slice.call(arguments, 1); - while (sources.length) { - var source = sources.shift(); - if (!source) { continue; } - - if (typeof source !== 'object') { - throw new TypeError(source + 'must be non-object'); - } - - for (var p in source) { - if (source.hasOwnProperty(p)) { - obj[p] = source[p]; - } - } - } - - return obj; -}; - - -// reduce buffer size, avoiding mem copy -exports.shrinkBuf = function (buf, size) { - if (buf.length === size) { return buf; } - if (buf.subarray) { return buf.subarray(0, size); } - buf.length = size; - return buf; -}; - - -var fnTyped = { - arraySet: function (dest, src, src_offs, len, dest_offs) { - if (src.subarray && dest.subarray) { - dest.set(src.subarray(src_offs, src_offs+len), dest_offs); - return; - } - // Fallback to ordinary array - for (var i=0; i= 252 ? 6 : q >= 248 ? 5 : q >= 240 ? 4 : q >= 224 ? 3 : q >= 192 ? 2 : 1); -} -_utf8len[254]=_utf8len[254]=1; // Invalid sequence start - - -// convert string to array (typed, when possible) -exports.string2buf = function (str) { - var buf, c, c2, m_pos, i, str_len = str.length, buf_len = 0; - - // count binary size - for (m_pos = 0; m_pos < str_len; m_pos++) { - c = str.charCodeAt(m_pos); - if ((c & 0xfc00) === 0xd800 && (m_pos+1 < str_len)) { - c2 = str.charCodeAt(m_pos+1); - if ((c2 & 0xfc00) === 0xdc00) { - c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00); - m_pos++; - } - } - buf_len += c < 0x80 ? 1 : c < 0x800 ? 2 : c < 0x10000 ? 3 : 4; - } - - // allocate buffer - buf = new utils.Buf8(buf_len); - - // convert - for (i=0, m_pos = 0; i < buf_len; m_pos++) { - c = str.charCodeAt(m_pos); - if ((c & 0xfc00) === 0xd800 && (m_pos+1 < str_len)) { - c2 = str.charCodeAt(m_pos+1); - if ((c2 & 0xfc00) === 0xdc00) { - c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00); - m_pos++; - } - } - if (c < 0x80) { - /* one byte */ - buf[i++] = c; - } else if (c < 0x800) { - /* two bytes */ - buf[i++] = 0xC0 | (c >>> 6); - buf[i++] = 0x80 | (c & 0x3f); - } else if (c < 0x10000) { - /* three bytes */ - buf[i++] = 0xE0 | (c >>> 12); - buf[i++] = 0x80 | (c >>> 6 & 0x3f); - buf[i++] = 0x80 | (c & 0x3f); - } else { - /* four bytes */ - buf[i++] = 0xf0 | (c >>> 18); - buf[i++] = 0x80 | (c >>> 12 & 0x3f); - buf[i++] = 0x80 | (c >>> 6 & 0x3f); - buf[i++] = 0x80 | (c & 0x3f); - } - } - - return buf; -}; - -// Helper (used in 2 places) -function buf2binstring(buf, len) { - // use fallback for big arrays to avoid stack overflow - if (len < 65537) { - if ((buf.subarray && STR_APPLY_UIA_OK) || (!buf.subarray && STR_APPLY_OK)) { - return String.fromCharCode.apply(null, utils.shrinkBuf(buf, len)); - } - } - - var result = ''; - for (var i=0; i < len; i++) { - result += String.fromCharCode(buf[i]); - } - return result; -} - - -// Convert byte array to binary string -exports.buf2binstring = function(buf) { - return buf2binstring(buf, buf.length); -}; - - -// Convert binary string (typed, when possible) -exports.binstring2buf = function(str) { - var buf = new utils.Buf8(str.length); - for (var i=0, len=buf.length; i < len; i++) { - buf[i] = str.charCodeAt(i); - } - return buf; -}; - - -// convert array to string -exports.buf2string = function (buf, max) { - var i, out, c, c_len; - var len = max || buf.length; - - // Reserve max possible length (2 words per char) - // NB: by unknown reasons, Array is significantly faster for - // String.fromCharCode.apply than Uint16Array. - var utf16buf = new Array(len*2); - - for (out=0, i=0; i 4) { utf16buf[out++] = 0xfffd; i += c_len-1; continue; } - - // apply mask on first byte - c &= c_len === 2 ? 0x1f : c_len === 3 ? 0x0f : 0x07; - // join the rest - while (c_len > 1 && i < len) { - c = (c << 6) | (buf[i++] & 0x3f); - c_len--; - } - - // terminated by end of string? - if (c_len > 1) { utf16buf[out++] = 0xfffd; continue; } - - if (c < 0x10000) { - utf16buf[out++] = c; - } else { - c -= 0x10000; - utf16buf[out++] = 0xd800 | ((c >> 10) & 0x3ff); - utf16buf[out++] = 0xdc00 | (c & 0x3ff); - } - } - - return buf2binstring(utf16buf, out); -}; - - -// Calculate max possible position in utf8 buffer, -// that will not break sequence. If that's not possible -// - (very small limits) return max size as is. -// -// buf[] - utf8 bytes array -// max - length limit (mandatory); -exports.utf8border = function(buf, max) { - var pos; - - max = max || buf.length; - if (max > buf.length) { max = buf.length; } - - // go back from last position, until start of sequence found - pos = max-1; - while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; } - - // Fuckup - very small and broken sequence, - // return max, because we should return something anyway. - if (pos < 0) { return max; } - - // If we came to start of buffer - that means vuffer is too small, - // return max too. - if (pos === 0) { return max; } - - return (pos + _utf8len[buf[pos]] > max) ? pos : max; -}; - -},{"./common":22}],24:[function(require,module,exports){ -'use strict'; - -// Note: adler32 takes 12% for level 0 and 2% for level 6. -// It doesn't worth to make additional optimizationa as in original. -// Small size is preferable. - -function adler32(adler, buf, len, pos) { - var s1 = (adler & 0xffff) |0, - s2 = ((adler >>> 16) & 0xffff) |0, - n = 0; - - while (len !== 0) { - // Set limit ~ twice less than 5552, to keep - // s2 in 31-bits, because we force signed ints. - // in other case %= will fail. - n = len > 2000 ? 2000 : len; - len -= n; - - do { - s1 = (s1 + buf[pos++]) |0; - s2 = (s2 + s1) |0; - } while (--n); - - s1 %= 65521; - s2 %= 65521; - } - - return (s1 | (s2 << 16)) |0; -} - - -module.exports = adler32; - -},{}],25:[function(require,module,exports){ -module.exports = { - - /* Allowed flush values; see deflate() and inflate() below for details */ - Z_NO_FLUSH: 0, - Z_PARTIAL_FLUSH: 1, - Z_SYNC_FLUSH: 2, - Z_FULL_FLUSH: 3, - Z_FINISH: 4, - Z_BLOCK: 5, - Z_TREES: 6, - - /* Return codes for the compression/decompression functions. Negative values - * are errors, positive values are used for special but normal events. - */ - Z_OK: 0, - Z_STREAM_END: 1, - Z_NEED_DICT: 2, - Z_ERRNO: -1, - Z_STREAM_ERROR: -2, - Z_DATA_ERROR: -3, - //Z_MEM_ERROR: -4, - Z_BUF_ERROR: -5, - //Z_VERSION_ERROR: -6, - - /* compression levels */ - Z_NO_COMPRESSION: 0, - Z_BEST_SPEED: 1, - Z_BEST_COMPRESSION: 9, - Z_DEFAULT_COMPRESSION: -1, - - - Z_FILTERED: 1, - Z_HUFFMAN_ONLY: 2, - Z_RLE: 3, - Z_FIXED: 4, - Z_DEFAULT_STRATEGY: 0, - - /* Possible values of the data_type field (though see inflate()) */ - Z_BINARY: 0, - Z_TEXT: 1, - //Z_ASCII: 1, // = Z_TEXT (deprecated) - Z_UNKNOWN: 2, - - /* The deflate compression method */ - Z_DEFLATED: 8 - //Z_NULL: null // Use -1 or null inline, depending on var type -}; - -},{}],26:[function(require,module,exports){ -'use strict'; - -// Note: we can't get significant speed boost here. -// So write code to minimize size - no pregenerated tables -// and array tools dependencies. - - -// Use ordinary array, since untyped makes no boost here -function makeTable() { - var c, table = []; - - for (var n =0; n < 256; n++) { - c = n; - for (var k =0; k < 8; k++) { - c = ((c&1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1)); - } - table[n] = c; - } - - return table; -} - -// Create table on load. Just 255 signed longs. Not a problem. -var crcTable = makeTable(); - - -function crc32(crc, buf, len, pos) { - var t = crcTable, - end = pos + len; - - crc = crc ^ (-1); - - for (var i = pos; i < end; i++) { - crc = (crc >>> 8) ^ t[(crc ^ buf[i]) & 0xFF]; - } - - return (crc ^ (-1)); // >>> 0; -} - - -module.exports = crc32; - -},{}],27:[function(require,module,exports){ -'use strict'; - -var utils = require('../utils/common'); -var trees = require('./trees'); -var adler32 = require('./adler32'); -var crc32 = require('./crc32'); -var msg = require('./messages'); - -/* Public constants ==========================================================*/ -/* ===========================================================================*/ - - -/* Allowed flush values; see deflate() and inflate() below for details */ -var Z_NO_FLUSH = 0; -var Z_PARTIAL_FLUSH = 1; -//var Z_SYNC_FLUSH = 2; -var Z_FULL_FLUSH = 3; -var Z_FINISH = 4; -var Z_BLOCK = 5; -//var Z_TREES = 6; - - -/* Return codes for the compression/decompression functions. Negative values - * are errors, positive values are used for special but normal events. - */ -var Z_OK = 0; -var Z_STREAM_END = 1; -//var Z_NEED_DICT = 2; -//var Z_ERRNO = -1; -var Z_STREAM_ERROR = -2; -var Z_DATA_ERROR = -3; -//var Z_MEM_ERROR = -4; -var Z_BUF_ERROR = -5; -//var Z_VERSION_ERROR = -6; - - -/* compression levels */ -//var Z_NO_COMPRESSION = 0; -//var Z_BEST_SPEED = 1; -//var Z_BEST_COMPRESSION = 9; -var Z_DEFAULT_COMPRESSION = -1; - - -var Z_FILTERED = 1; -var Z_HUFFMAN_ONLY = 2; -var Z_RLE = 3; -var Z_FIXED = 4; -var Z_DEFAULT_STRATEGY = 0; - -/* Possible values of the data_type field (though see inflate()) */ -//var Z_BINARY = 0; -//var Z_TEXT = 1; -//var Z_ASCII = 1; // = Z_TEXT -var Z_UNKNOWN = 2; - - -/* The deflate compression method */ -var Z_DEFLATED = 8; - -/*============================================================================*/ - - -var MAX_MEM_LEVEL = 9; -/* Maximum value for memLevel in deflateInit2 */ -var MAX_WBITS = 15; -/* 32K LZ77 window */ -var DEF_MEM_LEVEL = 8; - - -var LENGTH_CODES = 29; -/* number of length codes, not counting the special END_BLOCK code */ -var LITERALS = 256; -/* number of literal bytes 0..255 */ -var L_CODES = LITERALS + 1 + LENGTH_CODES; -/* number of Literal or Length codes, including the END_BLOCK code */ -var D_CODES = 30; -/* number of distance codes */ -var BL_CODES = 19; -/* number of codes used to transfer the bit lengths */ -var HEAP_SIZE = 2*L_CODES + 1; -/* maximum heap size */ -var MAX_BITS = 15; -/* All codes must not exceed MAX_BITS bits */ - -var MIN_MATCH = 3; -var MAX_MATCH = 258; -var MIN_LOOKAHEAD = (MAX_MATCH + MIN_MATCH + 1); - -var PRESET_DICT = 0x20; - -var INIT_STATE = 42; -var EXTRA_STATE = 69; -var NAME_STATE = 73; -var COMMENT_STATE = 91; -var HCRC_STATE = 103; -var BUSY_STATE = 113; -var FINISH_STATE = 666; - -var BS_NEED_MORE = 1; /* block not completed, need more input or more output */ -var BS_BLOCK_DONE = 2; /* block flush performed */ -var BS_FINISH_STARTED = 3; /* finish started, need only more output at next deflate */ -var BS_FINISH_DONE = 4; /* finish done, accept no more input or output */ - -var OS_CODE = 0x03; // Unix :) . Don't detect, use this default. - -function err(strm, errorCode) { - strm.msg = msg[errorCode]; - return errorCode; -} - -function rank(f) { - return ((f) << 1) - ((f) > 4 ? 9 : 0); -} - -function zero(buf) { var len = buf.length; while (--len >= 0) { buf[len] = 0; } } - - -/* ========================================================================= - * Flush as much pending output as possible. All deflate() output goes - * through this function so some applications may wish to modify it - * to avoid allocating a large strm->output buffer and copying into it. - * (See also read_buf()). - */ -function flush_pending(strm) { - var s = strm.state; - - //_tr_flush_bits(s); - var len = s.pending; - if (len > strm.avail_out) { - len = strm.avail_out; - } - if (len === 0) { return; } - - utils.arraySet(strm.output, s.pending_buf, s.pending_out, len, strm.next_out); - strm.next_out += len; - s.pending_out += len; - strm.total_out += len; - strm.avail_out -= len; - s.pending -= len; - if (s.pending === 0) { - s.pending_out = 0; - } -} - - -function flush_block_only (s, last) { - trees._tr_flush_block(s, (s.block_start >= 0 ? s.block_start : -1), s.strstart - s.block_start, last); - s.block_start = s.strstart; - flush_pending(s.strm); -} - - -function put_byte(s, b) { - s.pending_buf[s.pending++] = b; -} - - -/* ========================================================================= - * Put a short in the pending buffer. The 16-bit value is put in MSB order. - * IN assertion: the stream state is correct and there is enough room in - * pending_buf. - */ -function putShortMSB(s, b) { -// put_byte(s, (Byte)(b >> 8)); -// put_byte(s, (Byte)(b & 0xff)); - s.pending_buf[s.pending++] = (b >>> 8) & 0xff; - s.pending_buf[s.pending++] = b & 0xff; -} - - -/* =========================================================================== - * Read a new buffer from the current input stream, update the adler32 - * and total number of bytes read. All deflate() input goes through - * this function so some applications may wish to modify it to avoid - * allocating a large strm->input buffer and copying from it. - * (See also flush_pending()). - */ -function read_buf(strm, buf, start, size) { - var len = strm.avail_in; - - if (len > size) { len = size; } - if (len === 0) { return 0; } - - strm.avail_in -= len; - - utils.arraySet(buf, strm.input, strm.next_in, len, start); - if (strm.state.wrap === 1) { - strm.adler = adler32(strm.adler, buf, len, start); - } - - else if (strm.state.wrap === 2) { - strm.adler = crc32(strm.adler, buf, len, start); - } - - strm.next_in += len; - strm.total_in += len; - - return len; -} - - -/* =========================================================================== - * Set match_start to the longest match starting at the given string and - * return its length. Matches shorter or equal to prev_length are discarded, - * in which case the result is equal to prev_length and match_start is - * garbage. - * IN assertions: cur_match is the head of the hash chain for the current - * string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1 - * OUT assertion: the match length is not greater than s->lookahead. - */ -function longest_match(s, cur_match) { - var chain_length = s.max_chain_length; /* max hash chain length */ - var scan = s.strstart; /* current string */ - var match; /* matched string */ - var len; /* length of current match */ - var best_len = s.prev_length; /* best match length so far */ - var nice_match = s.nice_match; /* stop if match long enough */ - var limit = (s.strstart > (s.w_size - MIN_LOOKAHEAD)) ? - s.strstart - (s.w_size - MIN_LOOKAHEAD) : 0/*NIL*/; - - var _win = s.window; // shortcut - - var wmask = s.w_mask; - var prev = s.prev; - - /* Stop when cur_match becomes <= limit. To simplify the code, - * we prevent matches with the string of window index 0. - */ - - var strend = s.strstart + MAX_MATCH; - var scan_end1 = _win[scan + best_len - 1]; - var scan_end = _win[scan + best_len]; - - /* The code is optimized for HASH_BITS >= 8 and MAX_MATCH-2 multiple of 16. - * It is easy to get rid of this optimization if necessary. - */ - // Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever"); - - /* Do not waste too much time if we already have a good match: */ - if (s.prev_length >= s.good_match) { - chain_length >>= 2; - } - /* Do not look for matches beyond the end of the input. This is necessary - * to make deflate deterministic. - */ - if (nice_match > s.lookahead) { nice_match = s.lookahead; } - - // Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead"); - - do { - // Assert(cur_match < s->strstart, "no future"); - match = cur_match; - - /* Skip to next match if the match length cannot increase - * or if the match length is less than 2. Note that the checks below - * for insufficient lookahead only occur occasionally for performance - * reasons. Therefore uninitialized memory will be accessed, and - * conditional jumps will be made that depend on those values. - * However the length of the match is limited to the lookahead, so - * the output of deflate is not affected by the uninitialized values. - */ - - if (_win[match + best_len] !== scan_end || - _win[match + best_len - 1] !== scan_end1 || - _win[match] !== _win[scan] || - _win[++match] !== _win[scan + 1]) { - continue; - } - - /* The check at best_len-1 can be removed because it will be made - * again later. (This heuristic is not always a win.) - * It is not necessary to compare scan[2] and match[2] since they - * are always equal when the other bytes match, given that - * the hash keys are equal and that HASH_BITS >= 8. - */ - scan += 2; - match++; - // Assert(*scan == *match, "match[2]?"); - - /* We check for insufficient lookahead only every 8th comparison; - * the 256th check will be made at strstart+258. - */ - do { - /*jshint noempty:false*/ - } while (_win[++scan] === _win[++match] && _win[++scan] === _win[++match] && - _win[++scan] === _win[++match] && _win[++scan] === _win[++match] && - _win[++scan] === _win[++match] && _win[++scan] === _win[++match] && - _win[++scan] === _win[++match] && _win[++scan] === _win[++match] && - scan < strend); - - // Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan"); - - len = MAX_MATCH - (strend - scan); - scan = strend - MAX_MATCH; - - if (len > best_len) { - s.match_start = cur_match; - best_len = len; - if (len >= nice_match) { - break; - } - scan_end1 = _win[scan + best_len - 1]; - scan_end = _win[scan + best_len]; - } - } while ((cur_match = prev[cur_match & wmask]) > limit && --chain_length !== 0); - - if (best_len <= s.lookahead) { - return best_len; - } - return s.lookahead; -} - - -/* =========================================================================== - * Fill the window when the lookahead becomes insufficient. - * Updates strstart and lookahead. - * - * IN assertion: lookahead < MIN_LOOKAHEAD - * OUT assertions: strstart <= window_size-MIN_LOOKAHEAD - * At least one byte has been read, or avail_in == 0; reads are - * performed for at least two bytes (required for the zip translate_eol - * option -- not supported here). - */ -function fill_window(s) { - var _w_size = s.w_size; - var p, n, m, more, str; - - //Assert(s->lookahead < MIN_LOOKAHEAD, "already enough lookahead"); - - do { - more = s.window_size - s.lookahead - s.strstart; - - // JS ints have 32 bit, block below not needed - /* Deal with !@#$% 64K limit: */ - //if (sizeof(int) <= 2) { - // if (more == 0 && s->strstart == 0 && s->lookahead == 0) { - // more = wsize; - // - // } else if (more == (unsigned)(-1)) { - // /* Very unlikely, but possible on 16 bit machine if - // * strstart == 0 && lookahead == 1 (input done a byte at time) - // */ - // more--; - // } - //} - - - /* If the window is almost full and there is insufficient lookahead, - * move the upper half to the lower one to make room in the upper half. - */ - if (s.strstart >= _w_size + (_w_size - MIN_LOOKAHEAD)) { - - utils.arraySet(s.window, s.window, _w_size, _w_size, 0); - s.match_start -= _w_size; - s.strstart -= _w_size; - /* we now have strstart >= MAX_DIST */ - s.block_start -= _w_size; - - /* Slide the hash table (could be avoided with 32 bit values - at the expense of memory usage). We slide even when level == 0 - to keep the hash table consistent if we switch back to level > 0 - later. (Using level 0 permanently is not an optimal usage of - zlib, so we don't care about this pathological case.) - */ - - n = s.hash_size; - p = n; - do { - m = s.head[--p]; - s.head[p] = (m >= _w_size ? m - _w_size : 0); - } while (--n); - - n = _w_size; - p = n; - do { - m = s.prev[--p]; - s.prev[p] = (m >= _w_size ? m - _w_size : 0); - /* If n is not on any hash chain, prev[n] is garbage but - * its value will never be used. - */ - } while (--n); - - more += _w_size; - } - if (s.strm.avail_in === 0) { - break; - } - - /* If there was no sliding: - * strstart <= WSIZE+MAX_DIST-1 && lookahead <= MIN_LOOKAHEAD - 1 && - * more == window_size - lookahead - strstart - * => more >= window_size - (MIN_LOOKAHEAD-1 + WSIZE + MAX_DIST-1) - * => more >= window_size - 2*WSIZE + 2 - * In the BIG_MEM or MMAP case (not yet supported), - * window_size == input_size + MIN_LOOKAHEAD && - * strstart + s->lookahead <= input_size => more >= MIN_LOOKAHEAD. - * Otherwise, window_size == 2*WSIZE so more >= 2. - * If there was sliding, more >= WSIZE. So in all cases, more >= 2. - */ - //Assert(more >= 2, "more < 2"); - n = read_buf(s.strm, s.window, s.strstart + s.lookahead, more); - s.lookahead += n; - - /* Initialize the hash value now that we have some input: */ - if (s.lookahead + s.insert >= MIN_MATCH) { - str = s.strstart - s.insert; - s.ins_h = s.window[str]; - - /* UPDATE_HASH(s, s->ins_h, s->window[str + 1]); */ - s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[str + 1]) & s.hash_mask; -//#if MIN_MATCH != 3 -// Call update_hash() MIN_MATCH-3 more times -//#endif - while (s.insert) { - /* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */ - s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[str + MIN_MATCH-1]) & s.hash_mask; - - s.prev[str & s.w_mask] = s.head[s.ins_h]; - s.head[s.ins_h] = str; - str++; - s.insert--; - if (s.lookahead + s.insert < MIN_MATCH) { - break; - } - } - } - /* If the whole input has less than MIN_MATCH bytes, ins_h is garbage, - * but this is not important since only literal bytes will be emitted. - */ - - } while (s.lookahead < MIN_LOOKAHEAD && s.strm.avail_in !== 0); - - /* If the WIN_INIT bytes after the end of the current data have never been - * written, then zero those bytes in order to avoid memory check reports of - * the use of uninitialized (or uninitialised as Julian writes) bytes by - * the longest match routines. Update the high water mark for the next - * time through here. WIN_INIT is set to MAX_MATCH since the longest match - * routines allow scanning to strstart + MAX_MATCH, ignoring lookahead. - */ -// if (s.high_water < s.window_size) { -// var curr = s.strstart + s.lookahead; -// var init = 0; -// -// if (s.high_water < curr) { -// /* Previous high water mark below current data -- zero WIN_INIT -// * bytes or up to end of window, whichever is less. -// */ -// init = s.window_size - curr; -// if (init > WIN_INIT) -// init = WIN_INIT; -// zmemzero(s->window + curr, (unsigned)init); -// s->high_water = curr + init; -// } -// else if (s->high_water < (ulg)curr + WIN_INIT) { -// /* High water mark at or above current data, but below current data -// * plus WIN_INIT -- zero out to current data plus WIN_INIT, or up -// * to end of window, whichever is less. -// */ -// init = (ulg)curr + WIN_INIT - s->high_water; -// if (init > s->window_size - s->high_water) -// init = s->window_size - s->high_water; -// zmemzero(s->window + s->high_water, (unsigned)init); -// s->high_water += init; -// } -// } -// -// Assert((ulg)s->strstart <= s->window_size - MIN_LOOKAHEAD, -// "not enough room for search"); -} - -/* =========================================================================== - * Copy without compression as much as possible from the input stream, return - * the current block state. - * This function does not insert new strings in the dictionary since - * uncompressible data is probably not useful. This function is used - * only for the level=0 compression option. - * NOTE: this function should be optimized to avoid extra copying from - * window to pending_buf. - */ -function deflate_stored(s, flush) { - /* Stored blocks are limited to 0xffff bytes, pending_buf is limited - * to pending_buf_size, and each stored block has a 5 byte header: - */ - var max_block_size = 0xffff; - - if (max_block_size > s.pending_buf_size - 5) { - max_block_size = s.pending_buf_size - 5; - } - - /* Copy as much as possible from input to output: */ - for (;;) { - /* Fill the window as much as possible: */ - if (s.lookahead <= 1) { - - //Assert(s->strstart < s->w_size+MAX_DIST(s) || - // s->block_start >= (long)s->w_size, "slide too late"); -// if (!(s.strstart < s.w_size + (s.w_size - MIN_LOOKAHEAD) || -// s.block_start >= s.w_size)) { -// throw new Error("slide too late"); -// } - - fill_window(s); - if (s.lookahead === 0 && flush === Z_NO_FLUSH) { - return BS_NEED_MORE; - } - - if (s.lookahead === 0) { - break; - } - /* flush the current block */ - } - //Assert(s->block_start >= 0L, "block gone"); -// if (s.block_start < 0) throw new Error("block gone"); - - s.strstart += s.lookahead; - s.lookahead = 0; - - /* Emit a stored block if pending_buf will be full: */ - var max_start = s.block_start + max_block_size; - - if (s.strstart === 0 || s.strstart >= max_start) { - /* strstart == 0 is possible when wraparound on 16-bit machine */ - s.lookahead = s.strstart - max_start; - s.strstart = max_start; - /*** FLUSH_BLOCK(s, 0); ***/ - flush_block_only(s, false); - if (s.strm.avail_out === 0) { - return BS_NEED_MORE; - } - /***/ - - - } - /* Flush if we may have to slide, otherwise block_start may become - * negative and the data will be gone: - */ - if (s.strstart - s.block_start >= (s.w_size - MIN_LOOKAHEAD)) { - /*** FLUSH_BLOCK(s, 0); ***/ - flush_block_only(s, false); - if (s.strm.avail_out === 0) { - return BS_NEED_MORE; - } - /***/ - } - } - - s.insert = 0; - - if (flush === Z_FINISH) { - /*** FLUSH_BLOCK(s, 1); ***/ - flush_block_only(s, true); - if (s.strm.avail_out === 0) { - return BS_FINISH_STARTED; - } - /***/ - return BS_FINISH_DONE; - } - - if (s.strstart > s.block_start) { - /*** FLUSH_BLOCK(s, 0); ***/ - flush_block_only(s, false); - if (s.strm.avail_out === 0) { - return BS_NEED_MORE; - } - /***/ - } - - return BS_NEED_MORE; -} - -/* =========================================================================== - * Compress as much as possible from the input stream, return the current - * block state. - * This function does not perform lazy evaluation of matches and inserts - * new strings in the dictionary only for unmatched strings or for short - * matches. It is used only for the fast compression options. - */ -function deflate_fast(s, flush) { - var hash_head; /* head of the hash chain */ - var bflush; /* set if current block must be flushed */ - - for (;;) { - /* Make sure that we always have enough lookahead, except - * at the end of the input file. We need MAX_MATCH bytes - * for the next match, plus MIN_MATCH bytes to insert the - * string following the next match. - */ - if (s.lookahead < MIN_LOOKAHEAD) { - fill_window(s); - if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) { - return BS_NEED_MORE; - } - if (s.lookahead === 0) { - break; /* flush the current block */ - } - } - - /* Insert the string window[strstart .. strstart+2] in the - * dictionary, and set hash_head to the head of the hash chain: - */ - hash_head = 0/*NIL*/; - if (s.lookahead >= MIN_MATCH) { - /*** INSERT_STRING(s, s.strstart, hash_head); ***/ - s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask; - hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h]; - s.head[s.ins_h] = s.strstart; - /***/ - } - - /* Find the longest match, discarding those <= prev_length. - * At this point we have always match_length < MIN_MATCH - */ - if (hash_head !== 0/*NIL*/ && ((s.strstart - hash_head) <= (s.w_size - MIN_LOOKAHEAD))) { - /* To simplify the code, we prevent matches with the string - * of window index 0 (in particular we have to avoid a match - * of the string with itself at the start of the input file). - */ - s.match_length = longest_match(s, hash_head); - /* longest_match() sets match_start */ - } - if (s.match_length >= MIN_MATCH) { - // check_match(s, s.strstart, s.match_start, s.match_length); // for debug only - - /*** _tr_tally_dist(s, s.strstart - s.match_start, - s.match_length - MIN_MATCH, bflush); ***/ - bflush = trees._tr_tally(s, s.strstart - s.match_start, s.match_length - MIN_MATCH); - - s.lookahead -= s.match_length; - - /* Insert new strings in the hash table only if the match length - * is not too large. This saves time but degrades compression. - */ - if (s.match_length <= s.max_lazy_match/*max_insert_length*/ && s.lookahead >= MIN_MATCH) { - s.match_length--; /* string at strstart already in table */ - do { - s.strstart++; - /*** INSERT_STRING(s, s.strstart, hash_head); ***/ - s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask; - hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h]; - s.head[s.ins_h] = s.strstart; - /***/ - /* strstart never exceeds WSIZE-MAX_MATCH, so there are - * always MIN_MATCH bytes ahead. - */ - } while (--s.match_length !== 0); - s.strstart++; - } else - { - s.strstart += s.match_length; - s.match_length = 0; - s.ins_h = s.window[s.strstart]; - /* UPDATE_HASH(s, s.ins_h, s.window[s.strstart+1]); */ - s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + 1]) & s.hash_mask; - -//#if MIN_MATCH != 3 -// Call UPDATE_HASH() MIN_MATCH-3 more times -//#endif - /* If lookahead < MIN_MATCH, ins_h is garbage, but it does not - * matter since it will be recomputed at next deflate call. - */ - } - } else { - /* No match, output a literal byte */ - //Tracevv((stderr,"%c", s.window[s.strstart])); - /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/ - bflush = trees._tr_tally(s, 0, s.window[s.strstart]); - - s.lookahead--; - s.strstart++; - } - if (bflush) { - /*** FLUSH_BLOCK(s, 0); ***/ - flush_block_only(s, false); - if (s.strm.avail_out === 0) { - return BS_NEED_MORE; - } - /***/ - } - } - s.insert = ((s.strstart < (MIN_MATCH-1)) ? s.strstart : MIN_MATCH-1); - if (flush === Z_FINISH) { - /*** FLUSH_BLOCK(s, 1); ***/ - flush_block_only(s, true); - if (s.strm.avail_out === 0) { - return BS_FINISH_STARTED; - } - /***/ - return BS_FINISH_DONE; - } - if (s.last_lit) { - /*** FLUSH_BLOCK(s, 0); ***/ - flush_block_only(s, false); - if (s.strm.avail_out === 0) { - return BS_NEED_MORE; - } - /***/ - } - return BS_BLOCK_DONE; -} - -/* =========================================================================== - * Same as above, but achieves better compression. We use a lazy - * evaluation for matches: a match is finally adopted only if there is - * no better match at the next window position. - */ -function deflate_slow(s, flush) { - var hash_head; /* head of hash chain */ - var bflush; /* set if current block must be flushed */ - - var max_insert; - - /* Process the input block. */ - for (;;) { - /* Make sure that we always have enough lookahead, except - * at the end of the input file. We need MAX_MATCH bytes - * for the next match, plus MIN_MATCH bytes to insert the - * string following the next match. - */ - if (s.lookahead < MIN_LOOKAHEAD) { - fill_window(s); - if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) { - return BS_NEED_MORE; - } - if (s.lookahead === 0) { break; } /* flush the current block */ - } - - /* Insert the string window[strstart .. strstart+2] in the - * dictionary, and set hash_head to the head of the hash chain: - */ - hash_head = 0/*NIL*/; - if (s.lookahead >= MIN_MATCH) { - /*** INSERT_STRING(s, s.strstart, hash_head); ***/ - s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask; - hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h]; - s.head[s.ins_h] = s.strstart; - /***/ - } - - /* Find the longest match, discarding those <= prev_length. - */ - s.prev_length = s.match_length; - s.prev_match = s.match_start; - s.match_length = MIN_MATCH-1; - - if (hash_head !== 0/*NIL*/ && s.prev_length < s.max_lazy_match && - s.strstart - hash_head <= (s.w_size-MIN_LOOKAHEAD)/*MAX_DIST(s)*/) { - /* To simplify the code, we prevent matches with the string - * of window index 0 (in particular we have to avoid a match - * of the string with itself at the start of the input file). - */ - s.match_length = longest_match(s, hash_head); - /* longest_match() sets match_start */ - - if (s.match_length <= 5 && - (s.strategy === Z_FILTERED || (s.match_length === MIN_MATCH && s.strstart - s.match_start > 4096/*TOO_FAR*/))) { - - /* If prev_match is also MIN_MATCH, match_start is garbage - * but we will ignore the current match anyway. - */ - s.match_length = MIN_MATCH-1; - } - } - /* If there was a match at the previous step and the current - * match is not better, output the previous match: - */ - if (s.prev_length >= MIN_MATCH && s.match_length <= s.prev_length) { - max_insert = s.strstart + s.lookahead - MIN_MATCH; - /* Do not insert strings in hash table beyond this. */ - - //check_match(s, s.strstart-1, s.prev_match, s.prev_length); - - /***_tr_tally_dist(s, s.strstart - 1 - s.prev_match, - s.prev_length - MIN_MATCH, bflush);***/ - bflush = trees._tr_tally(s, s.strstart - 1- s.prev_match, s.prev_length - MIN_MATCH); - /* Insert in hash table all strings up to the end of the match. - * strstart-1 and strstart are already inserted. If there is not - * enough lookahead, the last two strings are not inserted in - * the hash table. - */ - s.lookahead -= s.prev_length-1; - s.prev_length -= 2; - do { - if (++s.strstart <= max_insert) { - /*** INSERT_STRING(s, s.strstart, hash_head); ***/ - s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask; - hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h]; - s.head[s.ins_h] = s.strstart; - /***/ - } - } while (--s.prev_length !== 0); - s.match_available = 0; - s.match_length = MIN_MATCH-1; - s.strstart++; - - if (bflush) { - /*** FLUSH_BLOCK(s, 0); ***/ - flush_block_only(s, false); - if (s.strm.avail_out === 0) { - return BS_NEED_MORE; - } - /***/ - } - - } else if (s.match_available) { - /* If there was no match at the previous position, output a - * single literal. If there was a match but the current match - * is longer, truncate the previous match to a single literal. - */ - //Tracevv((stderr,"%c", s->window[s->strstart-1])); - /*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/ - bflush = trees._tr_tally(s, 0, s.window[s.strstart-1]); - - if (bflush) { - /*** FLUSH_BLOCK_ONLY(s, 0) ***/ - flush_block_only(s, false); - /***/ - } - s.strstart++; - s.lookahead--; - if (s.strm.avail_out === 0) { - return BS_NEED_MORE; - } - } else { - /* There is no previous match to compare with, wait for - * the next step to decide. - */ - s.match_available = 1; - s.strstart++; - s.lookahead--; - } - } - //Assert (flush != Z_NO_FLUSH, "no flush?"); - if (s.match_available) { - //Tracevv((stderr,"%c", s->window[s->strstart-1])); - /*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/ - bflush = trees._tr_tally(s, 0, s.window[s.strstart-1]); - - s.match_available = 0; - } - s.insert = s.strstart < MIN_MATCH-1 ? s.strstart : MIN_MATCH-1; - if (flush === Z_FINISH) { - /*** FLUSH_BLOCK(s, 1); ***/ - flush_block_only(s, true); - if (s.strm.avail_out === 0) { - return BS_FINISH_STARTED; - } - /***/ - return BS_FINISH_DONE; - } - if (s.last_lit) { - /*** FLUSH_BLOCK(s, 0); ***/ - flush_block_only(s, false); - if (s.strm.avail_out === 0) { - return BS_NEED_MORE; - } - /***/ - } - - return BS_BLOCK_DONE; -} - - -/* =========================================================================== - * For Z_RLE, simply look for runs of bytes, generate matches only of distance - * one. Do not maintain a hash table. (It will be regenerated if this run of - * deflate switches away from Z_RLE.) - */ -function deflate_rle(s, flush) { - var bflush; /* set if current block must be flushed */ - var prev; /* byte at distance one to match */ - var scan, strend; /* scan goes up to strend for length of run */ - - var _win = s.window; - - for (;;) { - /* Make sure that we always have enough lookahead, except - * at the end of the input file. We need MAX_MATCH bytes - * for the longest run, plus one for the unrolled loop. - */ - if (s.lookahead <= MAX_MATCH) { - fill_window(s); - if (s.lookahead <= MAX_MATCH && flush === Z_NO_FLUSH) { - return BS_NEED_MORE; - } - if (s.lookahead === 0) { break; } /* flush the current block */ - } - - /* See how many times the previous byte repeats */ - s.match_length = 0; - if (s.lookahead >= MIN_MATCH && s.strstart > 0) { - scan = s.strstart - 1; - prev = _win[scan]; - if (prev === _win[++scan] && prev === _win[++scan] && prev === _win[++scan]) { - strend = s.strstart + MAX_MATCH; - do { - /*jshint noempty:false*/ - } while (prev === _win[++scan] && prev === _win[++scan] && - prev === _win[++scan] && prev === _win[++scan] && - prev === _win[++scan] && prev === _win[++scan] && - prev === _win[++scan] && prev === _win[++scan] && - scan < strend); - s.match_length = MAX_MATCH - (strend - scan); - if (s.match_length > s.lookahead) { - s.match_length = s.lookahead; - } - } - //Assert(scan <= s->window+(uInt)(s->window_size-1), "wild scan"); - } - - /* Emit match if have run of MIN_MATCH or longer, else emit literal */ - if (s.match_length >= MIN_MATCH) { - //check_match(s, s.strstart, s.strstart - 1, s.match_length); - - /*** _tr_tally_dist(s, 1, s.match_length - MIN_MATCH, bflush); ***/ - bflush = trees._tr_tally(s, 1, s.match_length - MIN_MATCH); - - s.lookahead -= s.match_length; - s.strstart += s.match_length; - s.match_length = 0; - } else { - /* No match, output a literal byte */ - //Tracevv((stderr,"%c", s->window[s->strstart])); - /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/ - bflush = trees._tr_tally(s, 0, s.window[s.strstart]); - - s.lookahead--; - s.strstart++; - } - if (bflush) { - /*** FLUSH_BLOCK(s, 0); ***/ - flush_block_only(s, false); - if (s.strm.avail_out === 0) { - return BS_NEED_MORE; - } - /***/ - } - } - s.insert = 0; - if (flush === Z_FINISH) { - /*** FLUSH_BLOCK(s, 1); ***/ - flush_block_only(s, true); - if (s.strm.avail_out === 0) { - return BS_FINISH_STARTED; - } - /***/ - return BS_FINISH_DONE; - } - if (s.last_lit) { - /*** FLUSH_BLOCK(s, 0); ***/ - flush_block_only(s, false); - if (s.strm.avail_out === 0) { - return BS_NEED_MORE; - } - /***/ - } - return BS_BLOCK_DONE; -} - -/* =========================================================================== - * For Z_HUFFMAN_ONLY, do not look for matches. Do not maintain a hash table. - * (It will be regenerated if this run of deflate switches away from Huffman.) - */ -function deflate_huff(s, flush) { - var bflush; /* set if current block must be flushed */ - - for (;;) { - /* Make sure that we have a literal to write. */ - if (s.lookahead === 0) { - fill_window(s); - if (s.lookahead === 0) { - if (flush === Z_NO_FLUSH) { - return BS_NEED_MORE; - } - break; /* flush the current block */ - } - } - - /* Output a literal byte */ - s.match_length = 0; - //Tracevv((stderr,"%c", s->window[s->strstart])); - /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/ - bflush = trees._tr_tally(s, 0, s.window[s.strstart]); - s.lookahead--; - s.strstart++; - if (bflush) { - /*** FLUSH_BLOCK(s, 0); ***/ - flush_block_only(s, false); - if (s.strm.avail_out === 0) { - return BS_NEED_MORE; - } - /***/ - } - } - s.insert = 0; - if (flush === Z_FINISH) { - /*** FLUSH_BLOCK(s, 1); ***/ - flush_block_only(s, true); - if (s.strm.avail_out === 0) { - return BS_FINISH_STARTED; - } - /***/ - return BS_FINISH_DONE; - } - if (s.last_lit) { - /*** FLUSH_BLOCK(s, 0); ***/ - flush_block_only(s, false); - if (s.strm.avail_out === 0) { - return BS_NEED_MORE; - } - /***/ - } - return BS_BLOCK_DONE; -} - -/* Values for max_lazy_match, good_match and max_chain_length, depending on - * the desired pack level (0..9). The values given below have been tuned to - * exclude worst case performance for pathological files. Better values may be - * found for specific files. - */ -var Config = function (good_length, max_lazy, nice_length, max_chain, func) { - this.good_length = good_length; - this.max_lazy = max_lazy; - this.nice_length = nice_length; - this.max_chain = max_chain; - this.func = func; -}; - -var configuration_table; - -configuration_table = [ - /* good lazy nice chain */ - new Config(0, 0, 0, 0, deflate_stored), /* 0 store only */ - new Config(4, 4, 8, 4, deflate_fast), /* 1 max speed, no lazy matches */ - new Config(4, 5, 16, 8, deflate_fast), /* 2 */ - new Config(4, 6, 32, 32, deflate_fast), /* 3 */ - - new Config(4, 4, 16, 16, deflate_slow), /* 4 lazy matches */ - new Config(8, 16, 32, 32, deflate_slow), /* 5 */ - new Config(8, 16, 128, 128, deflate_slow), /* 6 */ - new Config(8, 32, 128, 256, deflate_slow), /* 7 */ - new Config(32, 128, 258, 1024, deflate_slow), /* 8 */ - new Config(32, 258, 258, 4096, deflate_slow) /* 9 max compression */ -]; - - -/* =========================================================================== - * Initialize the "longest match" routines for a new zlib stream - */ -function lm_init(s) { - s.window_size = 2 * s.w_size; - - /*** CLEAR_HASH(s); ***/ - zero(s.head); // Fill with NIL (= 0); - - /* Set the default configuration parameters: - */ - s.max_lazy_match = configuration_table[s.level].max_lazy; - s.good_match = configuration_table[s.level].good_length; - s.nice_match = configuration_table[s.level].nice_length; - s.max_chain_length = configuration_table[s.level].max_chain; - - s.strstart = 0; - s.block_start = 0; - s.lookahead = 0; - s.insert = 0; - s.match_length = s.prev_length = MIN_MATCH - 1; - s.match_available = 0; - s.ins_h = 0; -} - - -function DeflateState() { - this.strm = null; /* pointer back to this zlib stream */ - this.status = 0; /* as the name implies */ - this.pending_buf = null; /* output still pending */ - this.pending_buf_size = 0; /* size of pending_buf */ - this.pending_out = 0; /* next pending byte to output to the stream */ - this.pending = 0; /* nb of bytes in the pending buffer */ - this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip */ - this.gzhead = null; /* gzip header information to write */ - this.gzindex = 0; /* where in extra, name, or comment */ - this.method = Z_DEFLATED; /* can only be DEFLATED */ - this.last_flush = -1; /* value of flush param for previous deflate call */ - - this.w_size = 0; /* LZ77 window size (32K by default) */ - this.w_bits = 0; /* log2(w_size) (8..16) */ - this.w_mask = 0; /* w_size - 1 */ - - this.window = null; - /* Sliding window. Input bytes are read into the second half of the window, - * and move to the first half later to keep a dictionary of at least wSize - * bytes. With this organization, matches are limited to a distance of - * wSize-MAX_MATCH bytes, but this ensures that IO is always - * performed with a length multiple of the block size. - */ - - this.window_size = 0; - /* Actual size of window: 2*wSize, except when the user input buffer - * is directly used as sliding window. - */ - - this.prev = null; - /* Link to older string with same hash index. To limit the size of this - * array to 64K, this link is maintained only for the last 32K strings. - * An index in this array is thus a window index modulo 32K. - */ - - this.head = null; /* Heads of the hash chains or NIL. */ - - this.ins_h = 0; /* hash index of string to be inserted */ - this.hash_size = 0; /* number of elements in hash table */ - this.hash_bits = 0; /* log2(hash_size) */ - this.hash_mask = 0; /* hash_size-1 */ - - this.hash_shift = 0; - /* Number of bits by which ins_h must be shifted at each input - * step. It must be such that after MIN_MATCH steps, the oldest - * byte no longer takes part in the hash key, that is: - * hash_shift * MIN_MATCH >= hash_bits - */ - - this.block_start = 0; - /* Window position at the beginning of the current output block. Gets - * negative when the window is moved backwards. - */ - - this.match_length = 0; /* length of best match */ - this.prev_match = 0; /* previous match */ - this.match_available = 0; /* set if previous match exists */ - this.strstart = 0; /* start of string to insert */ - this.match_start = 0; /* start of matching string */ - this.lookahead = 0; /* number of valid bytes ahead in window */ - - this.prev_length = 0; - /* Length of the best match at previous step. Matches not greater than this - * are discarded. This is used in the lazy match evaluation. - */ - - this.max_chain_length = 0; - /* To speed up deflation, hash chains are never searched beyond this - * length. A higher limit improves compression ratio but degrades the - * speed. - */ - - this.max_lazy_match = 0; - /* Attempt to find a better match only when the current match is strictly - * smaller than this value. This mechanism is used only for compression - * levels >= 4. - */ - // That's alias to max_lazy_match, don't use directly - //this.max_insert_length = 0; - /* Insert new strings in the hash table only if the match length is not - * greater than this length. This saves time but degrades compression. - * max_insert_length is used only for compression levels <= 3. - */ - - this.level = 0; /* compression level (1..9) */ - this.strategy = 0; /* favor or force Huffman coding*/ - - this.good_match = 0; - /* Use a faster search when the previous match is longer than this */ - - this.nice_match = 0; /* Stop searching when current match exceeds this */ - - /* used by trees.c: */ - - /* Didn't use ct_data typedef below to suppress compiler warning */ - - // struct ct_data_s dyn_ltree[HEAP_SIZE]; /* literal and length tree */ - // struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */ - // struct ct_data_s bl_tree[2*BL_CODES+1]; /* Huffman tree for bit lengths */ - - // Use flat array of DOUBLE size, with interleaved fata, - // because JS does not support effective - this.dyn_ltree = new utils.Buf16(HEAP_SIZE * 2); - this.dyn_dtree = new utils.Buf16((2*D_CODES+1) * 2); - this.bl_tree = new utils.Buf16((2*BL_CODES+1) * 2); - zero(this.dyn_ltree); - zero(this.dyn_dtree); - zero(this.bl_tree); - - this.l_desc = null; /* desc. for literal tree */ - this.d_desc = null; /* desc. for distance tree */ - this.bl_desc = null; /* desc. for bit length tree */ - - //ush bl_count[MAX_BITS+1]; - this.bl_count = new utils.Buf16(MAX_BITS+1); - /* number of codes at each bit length for an optimal tree */ - - //int heap[2*L_CODES+1]; /* heap used to build the Huffman trees */ - this.heap = new utils.Buf16(2*L_CODES+1); /* heap used to build the Huffman trees */ - zero(this.heap); - - this.heap_len = 0; /* number of elements in the heap */ - this.heap_max = 0; /* element of largest frequency */ - /* The sons of heap[n] are heap[2*n] and heap[2*n+1]. heap[0] is not used. - * The same heap array is used to build all trees. - */ - - this.depth = new utils.Buf16(2*L_CODES+1); //uch depth[2*L_CODES+1]; - zero(this.depth); - /* Depth of each subtree used as tie breaker for trees of equal frequency - */ - - this.l_buf = 0; /* buffer index for literals or lengths */ - - this.lit_bufsize = 0; - /* Size of match buffer for literals/lengths. There are 4 reasons for - * limiting lit_bufsize to 64K: - * - frequencies can be kept in 16 bit counters - * - if compression is not successful for the first block, all input - * data is still in the window so we can still emit a stored block even - * when input comes from standard input. (This can also be done for - * all blocks if lit_bufsize is not greater than 32K.) - * - if compression is not successful for a file smaller than 64K, we can - * even emit a stored file instead of a stored block (saving 5 bytes). - * This is applicable only for zip (not gzip or zlib). - * - creating new Huffman trees less frequently may not provide fast - * adaptation to changes in the input data statistics. (Take for - * example a binary file with poorly compressible code followed by - * a highly compressible string table.) Smaller buffer sizes give - * fast adaptation but have of course the overhead of transmitting - * trees more frequently. - * - I can't count above 4 - */ - - this.last_lit = 0; /* running index in l_buf */ - - this.d_buf = 0; - /* Buffer index for distances. To simplify the code, d_buf and l_buf have - * the same number of elements. To use different lengths, an extra flag - * array would be necessary. - */ - - this.opt_len = 0; /* bit length of current block with optimal trees */ - this.static_len = 0; /* bit length of current block with static trees */ - this.matches = 0; /* number of string matches in current block */ - this.insert = 0; /* bytes at end of window left to insert */ - - - this.bi_buf = 0; - /* Output buffer. bits are inserted starting at the bottom (least - * significant bits). - */ - this.bi_valid = 0; - /* Number of valid bits in bi_buf. All bits above the last valid bit - * are always zero. - */ - - // Used for window memory init. We safely ignore it for JS. That makes - // sense only for pointers and memory check tools. - //this.high_water = 0; - /* High water mark offset in window for initialized bytes -- bytes above - * this are set to zero in order to avoid memory check warnings when - * longest match routines access bytes past the input. This is then - * updated to the new high water mark. - */ -} - - -function deflateResetKeep(strm) { - var s; - - if (!strm || !strm.state) { - return err(strm, Z_STREAM_ERROR); - } - - strm.total_in = strm.total_out = 0; - strm.data_type = Z_UNKNOWN; - - s = strm.state; - s.pending = 0; - s.pending_out = 0; - - if (s.wrap < 0) { - s.wrap = -s.wrap; - /* was made negative by deflate(..., Z_FINISH); */ - } - s.status = (s.wrap ? INIT_STATE : BUSY_STATE); - strm.adler = (s.wrap === 2) ? - 0 // crc32(0, Z_NULL, 0) - : - 1; // adler32(0, Z_NULL, 0) - s.last_flush = Z_NO_FLUSH; - trees._tr_init(s); - return Z_OK; -} - - -function deflateReset(strm) { - var ret = deflateResetKeep(strm); - if (ret === Z_OK) { - lm_init(strm.state); - } - return ret; -} - - -function deflateSetHeader(strm, head) { - if (!strm || !strm.state) { return Z_STREAM_ERROR; } - if (strm.state.wrap !== 2) { return Z_STREAM_ERROR; } - strm.state.gzhead = head; - return Z_OK; -} - - -function deflateInit2(strm, level, method, windowBits, memLevel, strategy) { - if (!strm) { // === Z_NULL - return Z_STREAM_ERROR; - } - var wrap = 1; - - if (level === Z_DEFAULT_COMPRESSION) { - level = 6; - } - - if (windowBits < 0) { /* suppress zlib wrapper */ - wrap = 0; - windowBits = -windowBits; - } - - else if (windowBits > 15) { - wrap = 2; /* write gzip wrapper instead */ - windowBits -= 16; - } - - - if (memLevel < 1 || memLevel > MAX_MEM_LEVEL || method !== Z_DEFLATED || - windowBits < 8 || windowBits > 15 || level < 0 || level > 9 || - strategy < 0 || strategy > Z_FIXED) { - return err(strm, Z_STREAM_ERROR); - } - - - if (windowBits === 8) { - windowBits = 9; - } - /* until 256-byte window bug fixed */ - - var s = new DeflateState(); - - strm.state = s; - s.strm = strm; - - s.wrap = wrap; - s.gzhead = null; - s.w_bits = windowBits; - s.w_size = 1 << s.w_bits; - s.w_mask = s.w_size - 1; - - s.hash_bits = memLevel + 7; - s.hash_size = 1 << s.hash_bits; - s.hash_mask = s.hash_size - 1; - s.hash_shift = ~~((s.hash_bits + MIN_MATCH - 1) / MIN_MATCH); - - s.window = new utils.Buf8(s.w_size * 2); - s.head = new utils.Buf16(s.hash_size); - s.prev = new utils.Buf16(s.w_size); - - // Don't need mem init magic for JS. - //s.high_water = 0; /* nothing written to s->window yet */ - - s.lit_bufsize = 1 << (memLevel + 6); /* 16K elements by default */ - - s.pending_buf_size = s.lit_bufsize * 4; - s.pending_buf = new utils.Buf8(s.pending_buf_size); - - s.d_buf = s.lit_bufsize >> 1; - s.l_buf = (1 + 2) * s.lit_bufsize; - - s.level = level; - s.strategy = strategy; - s.method = method; - - return deflateReset(strm); -} - -function deflateInit(strm, level) { - return deflateInit2(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY); -} - - -function deflate(strm, flush) { - var old_flush, s; - var beg, val; // for gzip header write only - - if (!strm || !strm.state || - flush > Z_BLOCK || flush < 0) { - return strm ? err(strm, Z_STREAM_ERROR) : Z_STREAM_ERROR; - } - - s = strm.state; - - if (!strm.output || - (!strm.input && strm.avail_in !== 0) || - (s.status === FINISH_STATE && flush !== Z_FINISH)) { - return err(strm, (strm.avail_out === 0) ? Z_BUF_ERROR : Z_STREAM_ERROR); - } - - s.strm = strm; /* just in case */ - old_flush = s.last_flush; - s.last_flush = flush; - - /* Write the header */ - if (s.status === INIT_STATE) { - - if (s.wrap === 2) { // GZIP header - strm.adler = 0; //crc32(0L, Z_NULL, 0); - put_byte(s, 31); - put_byte(s, 139); - put_byte(s, 8); - if (!s.gzhead) { // s->gzhead == Z_NULL - put_byte(s, 0); - put_byte(s, 0); - put_byte(s, 0); - put_byte(s, 0); - put_byte(s, 0); - put_byte(s, s.level === 9 ? 2 : - (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ? - 4 : 0)); - put_byte(s, OS_CODE); - s.status = BUSY_STATE; - } - else { - put_byte(s, (s.gzhead.text ? 1 : 0) + - (s.gzhead.hcrc ? 2 : 0) + - (!s.gzhead.extra ? 0 : 4) + - (!s.gzhead.name ? 0 : 8) + - (!s.gzhead.comment ? 0 : 16) - ); - put_byte(s, s.gzhead.time & 0xff); - put_byte(s, (s.gzhead.time >> 8) & 0xff); - put_byte(s, (s.gzhead.time >> 16) & 0xff); - put_byte(s, (s.gzhead.time >> 24) & 0xff); - put_byte(s, s.level === 9 ? 2 : - (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ? - 4 : 0)); - put_byte(s, s.gzhead.os & 0xff); - if (s.gzhead.extra && s.gzhead.extra.length) { - put_byte(s, s.gzhead.extra.length & 0xff); - put_byte(s, (s.gzhead.extra.length >> 8) & 0xff); - } - if (s.gzhead.hcrc) { - strm.adler = crc32(strm.adler, s.pending_buf, s.pending, 0); - } - s.gzindex = 0; - s.status = EXTRA_STATE; - } - } - else // DEFLATE header - { - var header = (Z_DEFLATED + ((s.w_bits - 8) << 4)) << 8; - var level_flags = -1; - - if (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2) { - level_flags = 0; - } else if (s.level < 6) { - level_flags = 1; - } else if (s.level === 6) { - level_flags = 2; - } else { - level_flags = 3; - } - header |= (level_flags << 6); - if (s.strstart !== 0) { header |= PRESET_DICT; } - header += 31 - (header % 31); - - s.status = BUSY_STATE; - putShortMSB(s, header); - - /* Save the adler32 of the preset dictionary: */ - if (s.strstart !== 0) { - putShortMSB(s, strm.adler >>> 16); - putShortMSB(s, strm.adler & 0xffff); - } - strm.adler = 1; // adler32(0L, Z_NULL, 0); - } - } - -//#ifdef GZIP - if (s.status === EXTRA_STATE) { - if (s.gzhead.extra/* != Z_NULL*/) { - beg = s.pending; /* start of bytes to update crc */ - - while (s.gzindex < (s.gzhead.extra.length & 0xffff)) { - if (s.pending === s.pending_buf_size) { - if (s.gzhead.hcrc && s.pending > beg) { - strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg); - } - flush_pending(strm); - beg = s.pending; - if (s.pending === s.pending_buf_size) { - break; - } - } - put_byte(s, s.gzhead.extra[s.gzindex] & 0xff); - s.gzindex++; - } - if (s.gzhead.hcrc && s.pending > beg) { - strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg); - } - if (s.gzindex === s.gzhead.extra.length) { - s.gzindex = 0; - s.status = NAME_STATE; - } - } - else { - s.status = NAME_STATE; - } - } - if (s.status === NAME_STATE) { - if (s.gzhead.name/* != Z_NULL*/) { - beg = s.pending; /* start of bytes to update crc */ - //int val; - - do { - if (s.pending === s.pending_buf_size) { - if (s.gzhead.hcrc && s.pending > beg) { - strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg); - } - flush_pending(strm); - beg = s.pending; - if (s.pending === s.pending_buf_size) { - val = 1; - break; - } - } - // JS specific: little magic to add zero terminator to end of string - if (s.gzindex < s.gzhead.name.length) { - val = s.gzhead.name.charCodeAt(s.gzindex++) & 0xff; - } else { - val = 0; - } - put_byte(s, val); - } while (val !== 0); - - if (s.gzhead.hcrc && s.pending > beg) { - strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg); - } - if (val === 0) { - s.gzindex = 0; - s.status = COMMENT_STATE; - } - } - else { - s.status = COMMENT_STATE; - } - } - if (s.status === COMMENT_STATE) { - if (s.gzhead.comment/* != Z_NULL*/) { - beg = s.pending; /* start of bytes to update crc */ - //int val; - - do { - if (s.pending === s.pending_buf_size) { - if (s.gzhead.hcrc && s.pending > beg) { - strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg); - } - flush_pending(strm); - beg = s.pending; - if (s.pending === s.pending_buf_size) { - val = 1; - break; - } - } - // JS specific: little magic to add zero terminator to end of string - if (s.gzindex < s.gzhead.comment.length) { - val = s.gzhead.comment.charCodeAt(s.gzindex++) & 0xff; - } else { - val = 0; - } - put_byte(s, val); - } while (val !== 0); - - if (s.gzhead.hcrc && s.pending > beg) { - strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg); - } - if (val === 0) { - s.status = HCRC_STATE; - } - } - else { - s.status = HCRC_STATE; - } - } - if (s.status === HCRC_STATE) { - if (s.gzhead.hcrc) { - if (s.pending + 2 > s.pending_buf_size) { - flush_pending(strm); - } - if (s.pending + 2 <= s.pending_buf_size) { - put_byte(s, strm.adler & 0xff); - put_byte(s, (strm.adler >> 8) & 0xff); - strm.adler = 0; //crc32(0L, Z_NULL, 0); - s.status = BUSY_STATE; - } - } - else { - s.status = BUSY_STATE; - } - } -//#endif - - /* Flush as much pending output as possible */ - if (s.pending !== 0) { - flush_pending(strm); - if (strm.avail_out === 0) { - /* Since avail_out is 0, deflate will be called again with - * more output space, but possibly with both pending and - * avail_in equal to zero. There won't be anything to do, - * but this is not an error situation so make sure we - * return OK instead of BUF_ERROR at next call of deflate: - */ - s.last_flush = -1; - return Z_OK; - } - - /* Make sure there is something to do and avoid duplicate consecutive - * flushes. For repeated and useless calls with Z_FINISH, we keep - * returning Z_STREAM_END instead of Z_BUF_ERROR. - */ - } else if (strm.avail_in === 0 && rank(flush) <= rank(old_flush) && - flush !== Z_FINISH) { - return err(strm, Z_BUF_ERROR); - } - - /* User must not provide more input after the first FINISH: */ - if (s.status === FINISH_STATE && strm.avail_in !== 0) { - return err(strm, Z_BUF_ERROR); - } - - /* Start a new block or continue the current one. - */ - if (strm.avail_in !== 0 || s.lookahead !== 0 || - (flush !== Z_NO_FLUSH && s.status !== FINISH_STATE)) { - var bstate = (s.strategy === Z_HUFFMAN_ONLY) ? deflate_huff(s, flush) : - (s.strategy === Z_RLE ? deflate_rle(s, flush) : - configuration_table[s.level].func(s, flush)); - - if (bstate === BS_FINISH_STARTED || bstate === BS_FINISH_DONE) { - s.status = FINISH_STATE; - } - if (bstate === BS_NEED_MORE || bstate === BS_FINISH_STARTED) { - if (strm.avail_out === 0) { - s.last_flush = -1; - /* avoid BUF_ERROR next call, see above */ - } - return Z_OK; - /* If flush != Z_NO_FLUSH && avail_out == 0, the next call - * of deflate should use the same flush parameter to make sure - * that the flush is complete. So we don't have to output an - * empty block here, this will be done at next call. This also - * ensures that for a very small output buffer, we emit at most - * one empty block. - */ - } - if (bstate === BS_BLOCK_DONE) { - if (flush === Z_PARTIAL_FLUSH) { - trees._tr_align(s); - } - else if (flush !== Z_BLOCK) { /* FULL_FLUSH or SYNC_FLUSH */ - - trees._tr_stored_block(s, 0, 0, false); - /* For a full flush, this empty block will be recognized - * as a special marker by inflate_sync(). - */ - if (flush === Z_FULL_FLUSH) { - /*** CLEAR_HASH(s); ***/ /* forget history */ - zero(s.head); // Fill with NIL (= 0); - - if (s.lookahead === 0) { - s.strstart = 0; - s.block_start = 0; - s.insert = 0; - } - } - } - flush_pending(strm); - if (strm.avail_out === 0) { - s.last_flush = -1; /* avoid BUF_ERROR at next call, see above */ - return Z_OK; - } - } - } - //Assert(strm->avail_out > 0, "bug2"); - //if (strm.avail_out <= 0) { throw new Error("bug2");} - - if (flush !== Z_FINISH) { return Z_OK; } - if (s.wrap <= 0) { return Z_STREAM_END; } - - /* Write the trailer */ - if (s.wrap === 2) { - put_byte(s, strm.adler & 0xff); - put_byte(s, (strm.adler >> 8) & 0xff); - put_byte(s, (strm.adler >> 16) & 0xff); - put_byte(s, (strm.adler >> 24) & 0xff); - put_byte(s, strm.total_in & 0xff); - put_byte(s, (strm.total_in >> 8) & 0xff); - put_byte(s, (strm.total_in >> 16) & 0xff); - put_byte(s, (strm.total_in >> 24) & 0xff); - } - else - { - putShortMSB(s, strm.adler >>> 16); - putShortMSB(s, strm.adler & 0xffff); - } - - flush_pending(strm); - /* If avail_out is zero, the application will call deflate again - * to flush the rest. - */ - if (s.wrap > 0) { s.wrap = -s.wrap; } - /* write the trailer only once! */ - return s.pending !== 0 ? Z_OK : Z_STREAM_END; -} - -function deflateEnd(strm) { - var status; - - if (!strm/*== Z_NULL*/ || !strm.state/*== Z_NULL*/) { - return Z_STREAM_ERROR; - } - - status = strm.state.status; - if (status !== INIT_STATE && - status !== EXTRA_STATE && - status !== NAME_STATE && - status !== COMMENT_STATE && - status !== HCRC_STATE && - status !== BUSY_STATE && - status !== FINISH_STATE - ) { - return err(strm, Z_STREAM_ERROR); - } - - strm.state = null; - - return status === BUSY_STATE ? err(strm, Z_DATA_ERROR) : Z_OK; -} - -/* ========================================================================= - * Copy the source state to the destination state - */ -//function deflateCopy(dest, source) { -// -//} - -exports.deflateInit = deflateInit; -exports.deflateInit2 = deflateInit2; -exports.deflateReset = deflateReset; -exports.deflateResetKeep = deflateResetKeep; -exports.deflateSetHeader = deflateSetHeader; -exports.deflate = deflate; -exports.deflateEnd = deflateEnd; -exports.deflateInfo = 'pako deflate (from Nodeca project)'; - -/* Not implemented -exports.deflateBound = deflateBound; -exports.deflateCopy = deflateCopy; -exports.deflateSetDictionary = deflateSetDictionary; -exports.deflateParams = deflateParams; -exports.deflatePending = deflatePending; -exports.deflatePrime = deflatePrime; -exports.deflateTune = deflateTune; -*/ - -},{"../utils/common":22,"./adler32":24,"./crc32":26,"./messages":32,"./trees":33}],28:[function(require,module,exports){ -'use strict'; - - -function GZheader() { - /* true if compressed data believed to be text */ - this.text = 0; - /* modification time */ - this.time = 0; - /* extra flags (not used when writing a gzip file) */ - this.xflags = 0; - /* operating system */ - this.os = 0; - /* pointer to extra field or Z_NULL if none */ - this.extra = null; - /* extra field length (valid if extra != Z_NULL) */ - this.extra_len = 0; // Actually, we don't need it in JS, - // but leave for few code modifications - - // - // Setup limits is not necessary because in js we should not preallocate memory - // for inflate use constant limit in 65536 bytes - // - - /* space at extra (only when reading header) */ - // this.extra_max = 0; - /* pointer to zero-terminated file name or Z_NULL */ - this.name = ''; - /* space at name (only when reading header) */ - // this.name_max = 0; - /* pointer to zero-terminated comment or Z_NULL */ - this.comment = ''; - /* space at comment (only when reading header) */ - // this.comm_max = 0; - /* true if there was or will be a header crc */ - this.hcrc = 0; - /* true when done reading gzip header (not used when writing a gzip file) */ - this.done = false; -} - -module.exports = GZheader; - -},{}],29:[function(require,module,exports){ -'use strict'; - -// See state defs from inflate.js -var BAD = 30; /* got a data error -- remain here until reset */ -var TYPE = 12; /* i: waiting for type bits, including last-flag bit */ - -/* - Decode literal, length, and distance codes and write out the resulting - literal and match bytes until either not enough input or output is - available, an end-of-block is encountered, or a data error is encountered. - When large enough input and output buffers are supplied to inflate(), for - example, a 16K input buffer and a 64K output buffer, more than 95% of the - inflate execution time is spent in this routine. - - Entry assumptions: - - state.mode === LEN - strm.avail_in >= 6 - strm.avail_out >= 258 - start >= strm.avail_out - state.bits < 8 - - On return, state.mode is one of: - - LEN -- ran out of enough output space or enough available input - TYPE -- reached end of block code, inflate() to interpret next block - BAD -- error in block data - - Notes: - - - The maximum input bits used by a length/distance pair is 15 bits for the - length code, 5 bits for the length extra, 15 bits for the distance code, - and 13 bits for the distance extra. This totals 48 bits, or six bytes. - Therefore if strm.avail_in >= 6, then there is enough input to avoid - checking for available input while decoding. - - - The maximum bytes that a single length/distance pair can output is 258 - bytes, which is the maximum length that can be coded. inflate_fast() - requires strm.avail_out >= 258 for each loop to avoid checking for - output space. - */ -module.exports = function inflate_fast(strm, start) { - var state; - var _in; /* local strm.input */ - var last; /* have enough input while in < last */ - var _out; /* local strm.output */ - var beg; /* inflate()'s initial strm.output */ - var end; /* while out < end, enough space available */ -//#ifdef INFLATE_STRICT - var dmax; /* maximum distance from zlib header */ -//#endif - var wsize; /* window size or zero if not using window */ - var whave; /* valid bytes in the window */ - var wnext; /* window write index */ - var window; /* allocated sliding window, if wsize != 0 */ - var hold; /* local strm.hold */ - var bits; /* local strm.bits */ - var lcode; /* local strm.lencode */ - var dcode; /* local strm.distcode */ - var lmask; /* mask for first level of length codes */ - var dmask; /* mask for first level of distance codes */ - var here; /* retrieved table entry */ - var op; /* code bits, operation, extra bits, or */ - /* window position, window bytes to copy */ - var len; /* match length, unused bytes */ - var dist; /* match distance */ - var from; /* where to copy match from */ - var from_source; - - - var input, output; // JS specific, because we have no pointers - - /* copy state to local variables */ - state = strm.state; - //here = state.here; - _in = strm.next_in; - input = strm.input; - last = _in + (strm.avail_in - 5); - _out = strm.next_out; - output = strm.output; - beg = _out - (start - strm.avail_out); - end = _out + (strm.avail_out - 257); -//#ifdef INFLATE_STRICT - dmax = state.dmax; -//#endif - wsize = state.wsize; - whave = state.whave; - wnext = state.wnext; - window = state.window; - hold = state.hold; - bits = state.bits; - lcode = state.lencode; - dcode = state.distcode; - lmask = (1 << state.lenbits) - 1; - dmask = (1 << state.distbits) - 1; - - - /* decode literals and length/distances until end-of-block or not enough - input data or output space */ - - top: - do { - if (bits < 15) { - hold += input[_in++] << bits; - bits += 8; - hold += input[_in++] << bits; - bits += 8; - } - - here = lcode[hold & lmask]; - - dolen: - for (;;) { // Goto emulation - op = here >>> 24/*here.bits*/; - hold >>>= op; - bits -= op; - op = (here >>> 16) & 0xff/*here.op*/; - if (op === 0) { /* literal */ - //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ? - // "inflate: literal '%c'\n" : - // "inflate: literal 0x%02x\n", here.val)); - output[_out++] = here & 0xffff/*here.val*/; - } - else if (op & 16) { /* length base */ - len = here & 0xffff/*here.val*/; - op &= 15; /* number of extra bits */ - if (op) { - if (bits < op) { - hold += input[_in++] << bits; - bits += 8; - } - len += hold & ((1 << op) - 1); - hold >>>= op; - bits -= op; - } - //Tracevv((stderr, "inflate: length %u\n", len)); - if (bits < 15) { - hold += input[_in++] << bits; - bits += 8; - hold += input[_in++] << bits; - bits += 8; - } - here = dcode[hold & dmask]; - - dodist: - for (;;) { // goto emulation - op = here >>> 24/*here.bits*/; - hold >>>= op; - bits -= op; - op = (here >>> 16) & 0xff/*here.op*/; - - if (op & 16) { /* distance base */ - dist = here & 0xffff/*here.val*/; - op &= 15; /* number of extra bits */ - if (bits < op) { - hold += input[_in++] << bits; - bits += 8; - if (bits < op) { - hold += input[_in++] << bits; - bits += 8; - } - } - dist += hold & ((1 << op) - 1); -//#ifdef INFLATE_STRICT - if (dist > dmax) { - strm.msg = 'invalid distance too far back'; - state.mode = BAD; - break top; - } -//#endif - hold >>>= op; - bits -= op; - //Tracevv((stderr, "inflate: distance %u\n", dist)); - op = _out - beg; /* max distance in output */ - if (dist > op) { /* see if copy from window */ - op = dist - op; /* distance back in window */ - if (op > whave) { - if (state.sane) { - strm.msg = 'invalid distance too far back'; - state.mode = BAD; - break top; - } - -// (!) This block is disabled in zlib defailts, -// don't enable it for binary compatibility -//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR -// if (len <= op - whave) { -// do { -// output[_out++] = 0; -// } while (--len); -// continue top; -// } -// len -= op - whave; -// do { -// output[_out++] = 0; -// } while (--op > whave); -// if (op === 0) { -// from = _out - dist; -// do { -// output[_out++] = output[from++]; -// } while (--len); -// continue top; -// } -//#endif - } - from = 0; // window index - from_source = window; - if (wnext === 0) { /* very common case */ - from += wsize - op; - if (op < len) { /* some from window */ - len -= op; - do { - output[_out++] = window[from++]; - } while (--op); - from = _out - dist; /* rest from output */ - from_source = output; - } - } - else if (wnext < op) { /* wrap around window */ - from += wsize + wnext - op; - op -= wnext; - if (op < len) { /* some from end of window */ - len -= op; - do { - output[_out++] = window[from++]; - } while (--op); - from = 0; - if (wnext < len) { /* some from start of window */ - op = wnext; - len -= op; - do { - output[_out++] = window[from++]; - } while (--op); - from = _out - dist; /* rest from output */ - from_source = output; - } - } - } - else { /* contiguous in window */ - from += wnext - op; - if (op < len) { /* some from window */ - len -= op; - do { - output[_out++] = window[from++]; - } while (--op); - from = _out - dist; /* rest from output */ - from_source = output; - } - } - while (len > 2) { - output[_out++] = from_source[from++]; - output[_out++] = from_source[from++]; - output[_out++] = from_source[from++]; - len -= 3; - } - if (len) { - output[_out++] = from_source[from++]; - if (len > 1) { - output[_out++] = from_source[from++]; - } - } - } - else { - from = _out - dist; /* copy direct from output */ - do { /* minimum length is three */ - output[_out++] = output[from++]; - output[_out++] = output[from++]; - output[_out++] = output[from++]; - len -= 3; - } while (len > 2); - if (len) { - output[_out++] = output[from++]; - if (len > 1) { - output[_out++] = output[from++]; - } - } - } - } - else if ((op & 64) === 0) { /* 2nd level distance code */ - here = dcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))]; - continue dodist; - } - else { - strm.msg = 'invalid distance code'; - state.mode = BAD; - break top; - } - - break; // need to emulate goto via "continue" - } - } - else if ((op & 64) === 0) { /* 2nd level length code */ - here = lcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))]; - continue dolen; - } - else if (op & 32) { /* end-of-block */ - //Tracevv((stderr, "inflate: end of block\n")); - state.mode = TYPE; - break top; - } - else { - strm.msg = 'invalid literal/length code'; - state.mode = BAD; - break top; - } - - break; // need to emulate goto via "continue" - } - } while (_in < last && _out < end); - - /* return unused bytes (on entry, bits < 8, so in won't go too far back) */ - len = bits >> 3; - _in -= len; - bits -= len << 3; - hold &= (1 << bits) - 1; - - /* update state and return */ - strm.next_in = _in; - strm.next_out = _out; - strm.avail_in = (_in < last ? 5 + (last - _in) : 5 - (_in - last)); - strm.avail_out = (_out < end ? 257 + (end - _out) : 257 - (_out - end)); - state.hold = hold; - state.bits = bits; - return; -}; - -},{}],30:[function(require,module,exports){ -'use strict'; - - -var utils = require('../utils/common'); -var adler32 = require('./adler32'); -var crc32 = require('./crc32'); -var inflate_fast = require('./inffast'); -var inflate_table = require('./inftrees'); - -var CODES = 0; -var LENS = 1; -var DISTS = 2; - -/* Public constants ==========================================================*/ -/* ===========================================================================*/ - - -/* Allowed flush values; see deflate() and inflate() below for details */ -//var Z_NO_FLUSH = 0; -//var Z_PARTIAL_FLUSH = 1; -//var Z_SYNC_FLUSH = 2; -//var Z_FULL_FLUSH = 3; -var Z_FINISH = 4; -var Z_BLOCK = 5; -var Z_TREES = 6; - - -/* Return codes for the compression/decompression functions. Negative values - * are errors, positive values are used for special but normal events. - */ -var Z_OK = 0; -var Z_STREAM_END = 1; -var Z_NEED_DICT = 2; -//var Z_ERRNO = -1; -var Z_STREAM_ERROR = -2; -var Z_DATA_ERROR = -3; -var Z_MEM_ERROR = -4; -var Z_BUF_ERROR = -5; -//var Z_VERSION_ERROR = -6; - -/* The deflate compression method */ -var Z_DEFLATED = 8; - - -/* STATES ====================================================================*/ -/* ===========================================================================*/ - - -var HEAD = 1; /* i: waiting for magic header */ -var FLAGS = 2; /* i: waiting for method and flags (gzip) */ -var TIME = 3; /* i: waiting for modification time (gzip) */ -var OS = 4; /* i: waiting for extra flags and operating system (gzip) */ -var EXLEN = 5; /* i: waiting for extra length (gzip) */ -var EXTRA = 6; /* i: waiting for extra bytes (gzip) */ -var NAME = 7; /* i: waiting for end of file name (gzip) */ -var COMMENT = 8; /* i: waiting for end of comment (gzip) */ -var HCRC = 9; /* i: waiting for header crc (gzip) */ -var DICTID = 10; /* i: waiting for dictionary check value */ -var DICT = 11; /* waiting for inflateSetDictionary() call */ -var TYPE = 12; /* i: waiting for type bits, including last-flag bit */ -var TYPEDO = 13; /* i: same, but skip check to exit inflate on new block */ -var STORED = 14; /* i: waiting for stored size (length and complement) */ -var COPY_ = 15; /* i/o: same as COPY below, but only first time in */ -var COPY = 16; /* i/o: waiting for input or output to copy stored block */ -var TABLE = 17; /* i: waiting for dynamic block table lengths */ -var LENLENS = 18; /* i: waiting for code length code lengths */ -var CODELENS = 19; /* i: waiting for length/lit and distance code lengths */ -var LEN_ = 20; /* i: same as LEN below, but only first time in */ -var LEN = 21; /* i: waiting for length/lit/eob code */ -var LENEXT = 22; /* i: waiting for length extra bits */ -var DIST = 23; /* i: waiting for distance code */ -var DISTEXT = 24; /* i: waiting for distance extra bits */ -var MATCH = 25; /* o: waiting for output space to copy string */ -var LIT = 26; /* o: waiting for output space to write literal */ -var CHECK = 27; /* i: waiting for 32-bit check value */ -var LENGTH = 28; /* i: waiting for 32-bit length (gzip) */ -var DONE = 29; /* finished check, done -- remain here until reset */ -var BAD = 30; /* got a data error -- remain here until reset */ -var MEM = 31; /* got an inflate() memory error -- remain here until reset */ -var SYNC = 32; /* looking for synchronization bytes to restart inflate() */ - -/* ===========================================================================*/ - - - -var ENOUGH_LENS = 852; -var ENOUGH_DISTS = 592; -//var ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS); - -var MAX_WBITS = 15; -/* 32K LZ77 window */ -var DEF_WBITS = MAX_WBITS; - - -function ZSWAP32(q) { - return (((q >>> 24) & 0xff) + - ((q >>> 8) & 0xff00) + - ((q & 0xff00) << 8) + - ((q & 0xff) << 24)); -} - - -function InflateState() { - this.mode = 0; /* current inflate mode */ - this.last = false; /* true if processing last block */ - this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip */ - this.havedict = false; /* true if dictionary provided */ - this.flags = 0; /* gzip header method and flags (0 if zlib) */ - this.dmax = 0; /* zlib header max distance (INFLATE_STRICT) */ - this.check = 0; /* protected copy of check value */ - this.total = 0; /* protected copy of output count */ - // TODO: may be {} - this.head = null; /* where to save gzip header information */ - - /* sliding window */ - this.wbits = 0; /* log base 2 of requested window size */ - this.wsize = 0; /* window size or zero if not using window */ - this.whave = 0; /* valid bytes in the window */ - this.wnext = 0; /* window write index */ - this.window = null; /* allocated sliding window, if needed */ - - /* bit accumulator */ - this.hold = 0; /* input bit accumulator */ - this.bits = 0; /* number of bits in "in" */ - - /* for string and stored block copying */ - this.length = 0; /* literal or length of data to copy */ - this.offset = 0; /* distance back to copy string from */ - - /* for table and code decoding */ - this.extra = 0; /* extra bits needed */ - - /* fixed and dynamic code tables */ - this.lencode = null; /* starting table for length/literal codes */ - this.distcode = null; /* starting table for distance codes */ - this.lenbits = 0; /* index bits for lencode */ - this.distbits = 0; /* index bits for distcode */ - - /* dynamic table building */ - this.ncode = 0; /* number of code length code lengths */ - this.nlen = 0; /* number of length code lengths */ - this.ndist = 0; /* number of distance code lengths */ - this.have = 0; /* number of code lengths in lens[] */ - this.next = null; /* next available space in codes[] */ - - this.lens = new utils.Buf16(320); /* temporary storage for code lengths */ - this.work = new utils.Buf16(288); /* work area for code table building */ - - /* - because we don't have pointers in js, we use lencode and distcode directly - as buffers so we don't need codes - */ - //this.codes = new utils.Buf32(ENOUGH); /* space for code tables */ - this.lendyn = null; /* dynamic table for length/literal codes (JS specific) */ - this.distdyn = null; /* dynamic table for distance codes (JS specific) */ - this.sane = 0; /* if false, allow invalid distance too far */ - this.back = 0; /* bits back of last unprocessed length/lit */ - this.was = 0; /* initial length of match */ -} - -function inflateResetKeep(strm) { - var state; - - if (!strm || !strm.state) { return Z_STREAM_ERROR; } - state = strm.state; - strm.total_in = strm.total_out = state.total = 0; - strm.msg = ''; /*Z_NULL*/ - if (state.wrap) { /* to support ill-conceived Java test suite */ - strm.adler = state.wrap & 1; - } - state.mode = HEAD; - state.last = 0; - state.havedict = 0; - state.dmax = 32768; - state.head = null/*Z_NULL*/; - state.hold = 0; - state.bits = 0; - //state.lencode = state.distcode = state.next = state.codes; - state.lencode = state.lendyn = new utils.Buf32(ENOUGH_LENS); - state.distcode = state.distdyn = new utils.Buf32(ENOUGH_DISTS); - - state.sane = 1; - state.back = -1; - //Tracev((stderr, "inflate: reset\n")); - return Z_OK; -} - -function inflateReset(strm) { - var state; - - if (!strm || !strm.state) { return Z_STREAM_ERROR; } - state = strm.state; - state.wsize = 0; - state.whave = 0; - state.wnext = 0; - return inflateResetKeep(strm); - -} - -function inflateReset2(strm, windowBits) { - var wrap; - var state; - - /* get the state */ - if (!strm || !strm.state) { return Z_STREAM_ERROR; } - state = strm.state; - - /* extract wrap request from windowBits parameter */ - if (windowBits < 0) { - wrap = 0; - windowBits = -windowBits; - } - else { - wrap = (windowBits >> 4) + 1; - if (windowBits < 48) { - windowBits &= 15; - } - } - - /* set number of window bits, free window if different */ - if (windowBits && (windowBits < 8 || windowBits > 15)) { - return Z_STREAM_ERROR; - } - if (state.window !== null && state.wbits !== windowBits) { - state.window = null; - } - - /* update state and reset the rest of it */ - state.wrap = wrap; - state.wbits = windowBits; - return inflateReset(strm); -} - -function inflateInit2(strm, windowBits) { - var ret; - var state; - - if (!strm) { return Z_STREAM_ERROR; } - //strm.msg = Z_NULL; /* in case we return an error */ - - state = new InflateState(); - - //if (state === Z_NULL) return Z_MEM_ERROR; - //Tracev((stderr, "inflate: allocated\n")); - strm.state = state; - state.window = null/*Z_NULL*/; - ret = inflateReset2(strm, windowBits); - if (ret !== Z_OK) { - strm.state = null/*Z_NULL*/; - } - return ret; -} - -function inflateInit(strm) { - return inflateInit2(strm, DEF_WBITS); -} - - -/* - Return state with length and distance decoding tables and index sizes set to - fixed code decoding. Normally this returns fixed tables from inffixed.h. - If BUILDFIXED is defined, then instead this routine builds the tables the - first time it's called, and returns those tables the first time and - thereafter. This reduces the size of the code by about 2K bytes, in - exchange for a little execution time. However, BUILDFIXED should not be - used for threaded applications, since the rewriting of the tables and virgin - may not be thread-safe. - */ -var virgin = true; - -var lenfix, distfix; // We have no pointers in JS, so keep tables separate - -function fixedtables(state) { - /* build fixed huffman tables if first call (may not be thread safe) */ - if (virgin) { - var sym; - - lenfix = new utils.Buf32(512); - distfix = new utils.Buf32(32); - - /* literal/length table */ - sym = 0; - while (sym < 144) { state.lens[sym++] = 8; } - while (sym < 256) { state.lens[sym++] = 9; } - while (sym < 280) { state.lens[sym++] = 7; } - while (sym < 288) { state.lens[sym++] = 8; } - - inflate_table(LENS, state.lens, 0, 288, lenfix, 0, state.work, {bits: 9}); - - /* distance table */ - sym = 0; - while (sym < 32) { state.lens[sym++] = 5; } - - inflate_table(DISTS, state.lens, 0, 32, distfix, 0, state.work, {bits: 5}); - - /* do this just once */ - virgin = false; - } - - state.lencode = lenfix; - state.lenbits = 9; - state.distcode = distfix; - state.distbits = 5; -} - - -/* - Update the window with the last wsize (normally 32K) bytes written before - returning. If window does not exist yet, create it. This is only called - when a window is already in use, or when output has been written during this - inflate call, but the end of the deflate stream has not been reached yet. - It is also called to create a window for dictionary data when a dictionary - is loaded. - - Providing output buffers larger than 32K to inflate() should provide a speed - advantage, since only the last 32K of output is copied to the sliding window - upon return from inflate(), and since all distances after the first 32K of - output will fall in the output data, making match copies simpler and faster. - The advantage may be dependent on the size of the processor's data caches. - */ -function updatewindow(strm, src, end, copy) { - var dist; - var state = strm.state; - - /* if it hasn't been done already, allocate space for the window */ - if (state.window === null) { - state.wsize = 1 << state.wbits; - state.wnext = 0; - state.whave = 0; - - state.window = new utils.Buf8(state.wsize); - } - - /* copy state->wsize or less output bytes into the circular window */ - if (copy >= state.wsize) { - utils.arraySet(state.window,src, end - state.wsize, state.wsize, 0); - state.wnext = 0; - state.whave = state.wsize; - } - else { - dist = state.wsize - state.wnext; - if (dist > copy) { - dist = copy; - } - //zmemcpy(state->window + state->wnext, end - copy, dist); - utils.arraySet(state.window,src, end - copy, dist, state.wnext); - copy -= dist; - if (copy) { - //zmemcpy(state->window, end - copy, copy); - utils.arraySet(state.window,src, end - copy, copy, 0); - state.wnext = copy; - state.whave = state.wsize; - } - else { - state.wnext += dist; - if (state.wnext === state.wsize) { state.wnext = 0; } - if (state.whave < state.wsize) { state.whave += dist; } - } - } - return 0; -} - -function inflate(strm, flush) { - var state; - var input, output; // input/output buffers - var next; /* next input INDEX */ - var put; /* next output INDEX */ - var have, left; /* available input and output */ - var hold; /* bit buffer */ - var bits; /* bits in bit buffer */ - var _in, _out; /* save starting available input and output */ - var copy; /* number of stored or match bytes to copy */ - var from; /* where to copy match bytes from */ - var from_source; - var here = 0; /* current decoding table entry */ - var here_bits, here_op, here_val; // paked "here" denormalized (JS specific) - //var last; /* parent table entry */ - var last_bits, last_op, last_val; // paked "last" denormalized (JS specific) - var len; /* length to copy for repeats, bits to drop */ - var ret; /* return code */ - var hbuf = new utils.Buf8(4); /* buffer for gzip header crc calculation */ - var opts; - - var n; // temporary var for NEED_BITS - - var order = /* permutation of code lengths */ - [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]; - - - if (!strm || !strm.state || !strm.output || - (!strm.input && strm.avail_in !== 0)) { - return Z_STREAM_ERROR; - } - - state = strm.state; - if (state.mode === TYPE) { state.mode = TYPEDO; } /* skip check */ - - - //--- LOAD() --- - put = strm.next_out; - output = strm.output; - left = strm.avail_out; - next = strm.next_in; - input = strm.input; - have = strm.avail_in; - hold = state.hold; - bits = state.bits; - //--- - - _in = have; - _out = left; - ret = Z_OK; - - inf_leave: // goto emulation - for (;;) { - switch (state.mode) { - case HEAD: - if (state.wrap === 0) { - state.mode = TYPEDO; - break; - } - //=== NEEDBITS(16); - while (bits < 16) { - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - } - //===// - if ((state.wrap & 2) && hold === 0x8b1f) { /* gzip header */ - state.check = 0/*crc32(0L, Z_NULL, 0)*/; - //=== CRC2(state.check, hold); - hbuf[0] = hold & 0xff; - hbuf[1] = (hold >>> 8) & 0xff; - state.check = crc32(state.check, hbuf, 2, 0); - //===// - - //=== INITBITS(); - hold = 0; - bits = 0; - //===// - state.mode = FLAGS; - break; - } - state.flags = 0; /* expect zlib header */ - if (state.head) { - state.head.done = false; - } - if (!(state.wrap & 1) || /* check if zlib header allowed */ - (((hold & 0xff)/*BITS(8)*/ << 8) + (hold >> 8)) % 31) { - strm.msg = 'incorrect header check'; - state.mode = BAD; - break; - } - if ((hold & 0x0f)/*BITS(4)*/ !== Z_DEFLATED) { - strm.msg = 'unknown compression method'; - state.mode = BAD; - break; - } - //--- DROPBITS(4) ---// - hold >>>= 4; - bits -= 4; - //---// - len = (hold & 0x0f)/*BITS(4)*/ + 8; - if (state.wbits === 0) { - state.wbits = len; - } - else if (len > state.wbits) { - strm.msg = 'invalid window size'; - state.mode = BAD; - break; - } - state.dmax = 1 << len; - //Tracev((stderr, "inflate: zlib header ok\n")); - strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/; - state.mode = hold & 0x200 ? DICTID : TYPE; - //=== INITBITS(); - hold = 0; - bits = 0; - //===// - break; - case FLAGS: - //=== NEEDBITS(16); */ - while (bits < 16) { - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - } - //===// - state.flags = hold; - if ((state.flags & 0xff) !== Z_DEFLATED) { - strm.msg = 'unknown compression method'; - state.mode = BAD; - break; - } - if (state.flags & 0xe000) { - strm.msg = 'unknown header flags set'; - state.mode = BAD; - break; - } - if (state.head) { - state.head.text = ((hold >> 8) & 1); - } - if (state.flags & 0x0200) { - //=== CRC2(state.check, hold); - hbuf[0] = hold & 0xff; - hbuf[1] = (hold >>> 8) & 0xff; - state.check = crc32(state.check, hbuf, 2, 0); - //===// - } - //=== INITBITS(); - hold = 0; - bits = 0; - //===// - state.mode = TIME; - /* falls through */ - case TIME: - //=== NEEDBITS(32); */ - while (bits < 32) { - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - } - //===// - if (state.head) { - state.head.time = hold; - } - if (state.flags & 0x0200) { - //=== CRC4(state.check, hold) - hbuf[0] = hold & 0xff; - hbuf[1] = (hold >>> 8) & 0xff; - hbuf[2] = (hold >>> 16) & 0xff; - hbuf[3] = (hold >>> 24) & 0xff; - state.check = crc32(state.check, hbuf, 4, 0); - //=== - } - //=== INITBITS(); - hold = 0; - bits = 0; - //===// - state.mode = OS; - /* falls through */ - case OS: - //=== NEEDBITS(16); */ - while (bits < 16) { - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - } - //===// - if (state.head) { - state.head.xflags = (hold & 0xff); - state.head.os = (hold >> 8); - } - if (state.flags & 0x0200) { - //=== CRC2(state.check, hold); - hbuf[0] = hold & 0xff; - hbuf[1] = (hold >>> 8) & 0xff; - state.check = crc32(state.check, hbuf, 2, 0); - //===// - } - //=== INITBITS(); - hold = 0; - bits = 0; - //===// - state.mode = EXLEN; - /* falls through */ - case EXLEN: - if (state.flags & 0x0400) { - //=== NEEDBITS(16); */ - while (bits < 16) { - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - } - //===// - state.length = hold; - if (state.head) { - state.head.extra_len = hold; - } - if (state.flags & 0x0200) { - //=== CRC2(state.check, hold); - hbuf[0] = hold & 0xff; - hbuf[1] = (hold >>> 8) & 0xff; - state.check = crc32(state.check, hbuf, 2, 0); - //===// - } - //=== INITBITS(); - hold = 0; - bits = 0; - //===// - } - else if (state.head) { - state.head.extra = null/*Z_NULL*/; - } - state.mode = EXTRA; - /* falls through */ - case EXTRA: - if (state.flags & 0x0400) { - copy = state.length; - if (copy > have) { copy = have; } - if (copy) { - if (state.head) { - len = state.head.extra_len - state.length; - if (!state.head.extra) { - // Use untyped array for more conveniend processing later - state.head.extra = new Array(state.head.extra_len); - } - utils.arraySet( - state.head.extra, - input, - next, - // extra field is limited to 65536 bytes - // - no need for additional size check - copy, - /*len + copy > state.head.extra_max - len ? state.head.extra_max : copy,*/ - len - ); - //zmemcpy(state.head.extra + len, next, - // len + copy > state.head.extra_max ? - // state.head.extra_max - len : copy); - } - if (state.flags & 0x0200) { - state.check = crc32(state.check, input, copy, next); - } - have -= copy; - next += copy; - state.length -= copy; - } - if (state.length) { break inf_leave; } - } - state.length = 0; - state.mode = NAME; - /* falls through */ - case NAME: - if (state.flags & 0x0800) { - if (have === 0) { break inf_leave; } - copy = 0; - do { - // TODO: 2 or 1 bytes? - len = input[next + copy++]; - /* use constant limit because in js we should not preallocate memory */ - if (state.head && len && - (state.length < 65536 /*state.head.name_max*/)) { - state.head.name += String.fromCharCode(len); - } - } while (len && copy < have); - - if (state.flags & 0x0200) { - state.check = crc32(state.check, input, copy, next); - } - have -= copy; - next += copy; - if (len) { break inf_leave; } - } - else if (state.head) { - state.head.name = null; - } - state.length = 0; - state.mode = COMMENT; - /* falls through */ - case COMMENT: - if (state.flags & 0x1000) { - if (have === 0) { break inf_leave; } - copy = 0; - do { - len = input[next + copy++]; - /* use constant limit because in js we should not preallocate memory */ - if (state.head && len && - (state.length < 65536 /*state.head.comm_max*/)) { - state.head.comment += String.fromCharCode(len); - } - } while (len && copy < have); - if (state.flags & 0x0200) { - state.check = crc32(state.check, input, copy, next); - } - have -= copy; - next += copy; - if (len) { break inf_leave; } - } - else if (state.head) { - state.head.comment = null; - } - state.mode = HCRC; - /* falls through */ - case HCRC: - if (state.flags & 0x0200) { - //=== NEEDBITS(16); */ - while (bits < 16) { - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - } - //===// - if (hold !== (state.check & 0xffff)) { - strm.msg = 'header crc mismatch'; - state.mode = BAD; - break; - } - //=== INITBITS(); - hold = 0; - bits = 0; - //===// - } - if (state.head) { - state.head.hcrc = ((state.flags >> 9) & 1); - state.head.done = true; - } - strm.adler = state.check = 0 /*crc32(0L, Z_NULL, 0)*/; - state.mode = TYPE; - break; - case DICTID: - //=== NEEDBITS(32); */ - while (bits < 32) { - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - } - //===// - strm.adler = state.check = ZSWAP32(hold); - //=== INITBITS(); - hold = 0; - bits = 0; - //===// - state.mode = DICT; - /* falls through */ - case DICT: - if (state.havedict === 0) { - //--- RESTORE() --- - strm.next_out = put; - strm.avail_out = left; - strm.next_in = next; - strm.avail_in = have; - state.hold = hold; - state.bits = bits; - //--- - return Z_NEED_DICT; - } - strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/; - state.mode = TYPE; - /* falls through */ - case TYPE: - if (flush === Z_BLOCK || flush === Z_TREES) { break inf_leave; } - /* falls through */ - case TYPEDO: - if (state.last) { - //--- BYTEBITS() ---// - hold >>>= bits & 7; - bits -= bits & 7; - //---// - state.mode = CHECK; - break; - } - //=== NEEDBITS(3); */ - while (bits < 3) { - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - } - //===// - state.last = (hold & 0x01)/*BITS(1)*/; - //--- DROPBITS(1) ---// - hold >>>= 1; - bits -= 1; - //---// - - switch ((hold & 0x03)/*BITS(2)*/) { - case 0: /* stored block */ - //Tracev((stderr, "inflate: stored block%s\n", - // state.last ? " (last)" : "")); - state.mode = STORED; - break; - case 1: /* fixed block */ - fixedtables(state); - //Tracev((stderr, "inflate: fixed codes block%s\n", - // state.last ? " (last)" : "")); - state.mode = LEN_; /* decode codes */ - if (flush === Z_TREES) { - //--- DROPBITS(2) ---// - hold >>>= 2; - bits -= 2; - //---// - break inf_leave; - } - break; - case 2: /* dynamic block */ - //Tracev((stderr, "inflate: dynamic codes block%s\n", - // state.last ? " (last)" : "")); - state.mode = TABLE; - break; - case 3: - strm.msg = 'invalid block type'; - state.mode = BAD; - } - //--- DROPBITS(2) ---// - hold >>>= 2; - bits -= 2; - //---// - break; - case STORED: - //--- BYTEBITS() ---// /* go to byte boundary */ - hold >>>= bits & 7; - bits -= bits & 7; - //---// - //=== NEEDBITS(32); */ - while (bits < 32) { - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - } - //===// - if ((hold & 0xffff) !== ((hold >>> 16) ^ 0xffff)) { - strm.msg = 'invalid stored block lengths'; - state.mode = BAD; - break; - } - state.length = hold & 0xffff; - //Tracev((stderr, "inflate: stored length %u\n", - // state.length)); - //=== INITBITS(); - hold = 0; - bits = 0; - //===// - state.mode = COPY_; - if (flush === Z_TREES) { break inf_leave; } - /* falls through */ - case COPY_: - state.mode = COPY; - /* falls through */ - case COPY: - copy = state.length; - if (copy) { - if (copy > have) { copy = have; } - if (copy > left) { copy = left; } - if (copy === 0) { break inf_leave; } - //--- zmemcpy(put, next, copy); --- - utils.arraySet(output, input, next, copy, put); - //---// - have -= copy; - next += copy; - left -= copy; - put += copy; - state.length -= copy; - break; - } - //Tracev((stderr, "inflate: stored end\n")); - state.mode = TYPE; - break; - case TABLE: - //=== NEEDBITS(14); */ - while (bits < 14) { - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - } - //===// - state.nlen = (hold & 0x1f)/*BITS(5)*/ + 257; - //--- DROPBITS(5) ---// - hold >>>= 5; - bits -= 5; - //---// - state.ndist = (hold & 0x1f)/*BITS(5)*/ + 1; - //--- DROPBITS(5) ---// - hold >>>= 5; - bits -= 5; - //---// - state.ncode = (hold & 0x0f)/*BITS(4)*/ + 4; - //--- DROPBITS(4) ---// - hold >>>= 4; - bits -= 4; - //---// -//#ifndef PKZIP_BUG_WORKAROUND - if (state.nlen > 286 || state.ndist > 30) { - strm.msg = 'too many length or distance symbols'; - state.mode = BAD; - break; - } -//#endif - //Tracev((stderr, "inflate: table sizes ok\n")); - state.have = 0; - state.mode = LENLENS; - /* falls through */ - case LENLENS: - while (state.have < state.ncode) { - //=== NEEDBITS(3); - while (bits < 3) { - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - } - //===// - state.lens[order[state.have++]] = (hold & 0x07);//BITS(3); - //--- DROPBITS(3) ---// - hold >>>= 3; - bits -= 3; - //---// - } - while (state.have < 19) { - state.lens[order[state.have++]] = 0; - } - // We have separate tables & no pointers. 2 commented lines below not needed. - //state.next = state.codes; - //state.lencode = state.next; - // Switch to use dynamic table - state.lencode = state.lendyn; - state.lenbits = 7; - - opts = {bits: state.lenbits}; - ret = inflate_table(CODES, state.lens, 0, 19, state.lencode, 0, state.work, opts); - state.lenbits = opts.bits; - - if (ret) { - strm.msg = 'invalid code lengths set'; - state.mode = BAD; - break; - } - //Tracev((stderr, "inflate: code lengths ok\n")); - state.have = 0; - state.mode = CODELENS; - /* falls through */ - case CODELENS: - while (state.have < state.nlen + state.ndist) { - for (;;) { - here = state.lencode[hold & ((1 << state.lenbits) - 1)];/*BITS(state.lenbits)*/ - here_bits = here >>> 24; - here_op = (here >>> 16) & 0xff; - here_val = here & 0xffff; - - if ((here_bits) <= bits) { break; } - //--- PULLBYTE() ---// - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - //---// - } - if (here_val < 16) { - //--- DROPBITS(here.bits) ---// - hold >>>= here_bits; - bits -= here_bits; - //---// - state.lens[state.have++] = here_val; - } - else { - if (here_val === 16) { - //=== NEEDBITS(here.bits + 2); - n = here_bits + 2; - while (bits < n) { - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - } - //===// - //--- DROPBITS(here.bits) ---// - hold >>>= here_bits; - bits -= here_bits; - //---// - if (state.have === 0) { - strm.msg = 'invalid bit length repeat'; - state.mode = BAD; - break; - } - len = state.lens[state.have - 1]; - copy = 3 + (hold & 0x03);//BITS(2); - //--- DROPBITS(2) ---// - hold >>>= 2; - bits -= 2; - //---// - } - else if (here_val === 17) { - //=== NEEDBITS(here.bits + 3); - n = here_bits + 3; - while (bits < n) { - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - } - //===// - //--- DROPBITS(here.bits) ---// - hold >>>= here_bits; - bits -= here_bits; - //---// - len = 0; - copy = 3 + (hold & 0x07);//BITS(3); - //--- DROPBITS(3) ---// - hold >>>= 3; - bits -= 3; - //---// - } - else { - //=== NEEDBITS(here.bits + 7); - n = here_bits + 7; - while (bits < n) { - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - } - //===// - //--- DROPBITS(here.bits) ---// - hold >>>= here_bits; - bits -= here_bits; - //---// - len = 0; - copy = 11 + (hold & 0x7f);//BITS(7); - //--- DROPBITS(7) ---// - hold >>>= 7; - bits -= 7; - //---// - } - if (state.have + copy > state.nlen + state.ndist) { - strm.msg = 'invalid bit length repeat'; - state.mode = BAD; - break; - } - while (copy--) { - state.lens[state.have++] = len; - } - } - } - - /* handle error breaks in while */ - if (state.mode === BAD) { break; } - - /* check for end-of-block code (better have one) */ - if (state.lens[256] === 0) { - strm.msg = 'invalid code -- missing end-of-block'; - state.mode = BAD; - break; - } - - /* build code tables -- note: do not change the lenbits or distbits - values here (9 and 6) without reading the comments in inftrees.h - concerning the ENOUGH constants, which depend on those values */ - state.lenbits = 9; - - opts = {bits: state.lenbits}; - ret = inflate_table(LENS, state.lens, 0, state.nlen, state.lencode, 0, state.work, opts); - // We have separate tables & no pointers. 2 commented lines below not needed. - // state.next_index = opts.table_index; - state.lenbits = opts.bits; - // state.lencode = state.next; - - if (ret) { - strm.msg = 'invalid literal/lengths set'; - state.mode = BAD; - break; - } - - state.distbits = 6; - //state.distcode.copy(state.codes); - // Switch to use dynamic table - state.distcode = state.distdyn; - opts = {bits: state.distbits}; - ret = inflate_table(DISTS, state.lens, state.nlen, state.ndist, state.distcode, 0, state.work, opts); - // We have separate tables & no pointers. 2 commented lines below not needed. - // state.next_index = opts.table_index; - state.distbits = opts.bits; - // state.distcode = state.next; - - if (ret) { - strm.msg = 'invalid distances set'; - state.mode = BAD; - break; - } - //Tracev((stderr, 'inflate: codes ok\n')); - state.mode = LEN_; - if (flush === Z_TREES) { break inf_leave; } - /* falls through */ - case LEN_: - state.mode = LEN; - /* falls through */ - case LEN: - if (have >= 6 && left >= 258) { - //--- RESTORE() --- - strm.next_out = put; - strm.avail_out = left; - strm.next_in = next; - strm.avail_in = have; - state.hold = hold; - state.bits = bits; - //--- - inflate_fast(strm, _out); - //--- LOAD() --- - put = strm.next_out; - output = strm.output; - left = strm.avail_out; - next = strm.next_in; - input = strm.input; - have = strm.avail_in; - hold = state.hold; - bits = state.bits; - //--- - - if (state.mode === TYPE) { - state.back = -1; - } - break; - } - state.back = 0; - for (;;) { - here = state.lencode[hold & ((1 << state.lenbits) -1)]; /*BITS(state.lenbits)*/ - here_bits = here >>> 24; - here_op = (here >>> 16) & 0xff; - here_val = here & 0xffff; - - if (here_bits <= bits) { break; } - //--- PULLBYTE() ---// - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - //---// - } - if (here_op && (here_op & 0xf0) === 0) { - last_bits = here_bits; - last_op = here_op; - last_val = here_val; - for (;;) { - here = state.lencode[last_val + - ((hold & ((1 << (last_bits + last_op)) -1))/*BITS(last.bits + last.op)*/ >> last_bits)]; - here_bits = here >>> 24; - here_op = (here >>> 16) & 0xff; - here_val = here & 0xffff; - - if ((last_bits + here_bits) <= bits) { break; } - //--- PULLBYTE() ---// - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - //---// - } - //--- DROPBITS(last.bits) ---// - hold >>>= last_bits; - bits -= last_bits; - //---// - state.back += last_bits; - } - //--- DROPBITS(here.bits) ---// - hold >>>= here_bits; - bits -= here_bits; - //---// - state.back += here_bits; - state.length = here_val; - if (here_op === 0) { - //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ? - // "inflate: literal '%c'\n" : - // "inflate: literal 0x%02x\n", here.val)); - state.mode = LIT; - break; - } - if (here_op & 32) { - //Tracevv((stderr, "inflate: end of block\n")); - state.back = -1; - state.mode = TYPE; - break; - } - if (here_op & 64) { - strm.msg = 'invalid literal/length code'; - state.mode = BAD; - break; - } - state.extra = here_op & 15; - state.mode = LENEXT; - /* falls through */ - case LENEXT: - if (state.extra) { - //=== NEEDBITS(state.extra); - n = state.extra; - while (bits < n) { - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - } - //===// - state.length += hold & ((1 << state.extra) -1)/*BITS(state.extra)*/; - //--- DROPBITS(state.extra) ---// - hold >>>= state.extra; - bits -= state.extra; - //---// - state.back += state.extra; - } - //Tracevv((stderr, "inflate: length %u\n", state.length)); - state.was = state.length; - state.mode = DIST; - /* falls through */ - case DIST: - for (;;) { - here = state.distcode[hold & ((1 << state.distbits) -1)];/*BITS(state.distbits)*/ - here_bits = here >>> 24; - here_op = (here >>> 16) & 0xff; - here_val = here & 0xffff; - - if ((here_bits) <= bits) { break; } - //--- PULLBYTE() ---// - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - //---// - } - if ((here_op & 0xf0) === 0) { - last_bits = here_bits; - last_op = here_op; - last_val = here_val; - for (;;) { - here = state.distcode[last_val + - ((hold & ((1 << (last_bits + last_op)) -1))/*BITS(last.bits + last.op)*/ >> last_bits)]; - here_bits = here >>> 24; - here_op = (here >>> 16) & 0xff; - here_val = here & 0xffff; - - if ((last_bits + here_bits) <= bits) { break; } - //--- PULLBYTE() ---// - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - //---// - } - //--- DROPBITS(last.bits) ---// - hold >>>= last_bits; - bits -= last_bits; - //---// - state.back += last_bits; - } - //--- DROPBITS(here.bits) ---// - hold >>>= here_bits; - bits -= here_bits; - //---// - state.back += here_bits; - if (here_op & 64) { - strm.msg = 'invalid distance code'; - state.mode = BAD; - break; - } - state.offset = here_val; - state.extra = (here_op) & 15; - state.mode = DISTEXT; - /* falls through */ - case DISTEXT: - if (state.extra) { - //=== NEEDBITS(state.extra); - n = state.extra; - while (bits < n) { - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - } - //===// - state.offset += hold & ((1 << state.extra) -1)/*BITS(state.extra)*/; - //--- DROPBITS(state.extra) ---// - hold >>>= state.extra; - bits -= state.extra; - //---// - state.back += state.extra; - } -//#ifdef INFLATE_STRICT - if (state.offset > state.dmax) { - strm.msg = 'invalid distance too far back'; - state.mode = BAD; - break; - } -//#endif - //Tracevv((stderr, "inflate: distance %u\n", state.offset)); - state.mode = MATCH; - /* falls through */ - case MATCH: - if (left === 0) { break inf_leave; } - copy = _out - left; - if (state.offset > copy) { /* copy from window */ - copy = state.offset - copy; - if (copy > state.whave) { - if (state.sane) { - strm.msg = 'invalid distance too far back'; - state.mode = BAD; - break; - } -// (!) This block is disabled in zlib defailts, -// don't enable it for binary compatibility -//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR -// Trace((stderr, "inflate.c too far\n")); -// copy -= state.whave; -// if (copy > state.length) { copy = state.length; } -// if (copy > left) { copy = left; } -// left -= copy; -// state.length -= copy; -// do { -// output[put++] = 0; -// } while (--copy); -// if (state.length === 0) { state.mode = LEN; } -// break; -//#endif - } - if (copy > state.wnext) { - copy -= state.wnext; - from = state.wsize - copy; - } - else { - from = state.wnext - copy; - } - if (copy > state.length) { copy = state.length; } - from_source = state.window; - } - else { /* copy from output */ - from_source = output; - from = put - state.offset; - copy = state.length; - } - if (copy > left) { copy = left; } - left -= copy; - state.length -= copy; - do { - output[put++] = from_source[from++]; - } while (--copy); - if (state.length === 0) { state.mode = LEN; } - break; - case LIT: - if (left === 0) { break inf_leave; } - output[put++] = state.length; - left--; - state.mode = LEN; - break; - case CHECK: - if (state.wrap) { - //=== NEEDBITS(32); - while (bits < 32) { - if (have === 0) { break inf_leave; } - have--; - // Use '|' insdead of '+' to make sure that result is signed - hold |= input[next++] << bits; - bits += 8; - } - //===// - _out -= left; - strm.total_out += _out; - state.total += _out; - if (_out) { - strm.adler = state.check = - /*UPDATE(state.check, put - _out, _out);*/ - (state.flags ? crc32(state.check, output, _out, put - _out) : adler32(state.check, output, _out, put - _out)); - - } - _out = left; - // NB: crc32 stored as signed 32-bit int, ZSWAP32 returns signed too - if ((state.flags ? hold : ZSWAP32(hold)) !== state.check) { - strm.msg = 'incorrect data check'; - state.mode = BAD; - break; - } - //=== INITBITS(); - hold = 0; - bits = 0; - //===// - //Tracev((stderr, "inflate: check matches trailer\n")); - } - state.mode = LENGTH; - /* falls through */ - case LENGTH: - if (state.wrap && state.flags) { - //=== NEEDBITS(32); - while (bits < 32) { - if (have === 0) { break inf_leave; } - have--; - hold += input[next++] << bits; - bits += 8; - } - //===// - if (hold !== (state.total & 0xffffffff)) { - strm.msg = 'incorrect length check'; - state.mode = BAD; - break; - } - //=== INITBITS(); - hold = 0; - bits = 0; - //===// - //Tracev((stderr, "inflate: length matches trailer\n")); - } - state.mode = DONE; - /* falls through */ - case DONE: - ret = Z_STREAM_END; - break inf_leave; - case BAD: - ret = Z_DATA_ERROR; - break inf_leave; - case MEM: - return Z_MEM_ERROR; - case SYNC: - /* falls through */ - default: - return Z_STREAM_ERROR; - } - } - - // inf_leave <- here is real place for "goto inf_leave", emulated via "break inf_leave" - - /* - Return from inflate(), updating the total counts and the check value. - If there was no progress during the inflate() call, return a buffer - error. Call updatewindow() to create and/or update the window state. - Note: a memory error from inflate() is non-recoverable. - */ - - //--- RESTORE() --- - strm.next_out = put; - strm.avail_out = left; - strm.next_in = next; - strm.avail_in = have; - state.hold = hold; - state.bits = bits; - //--- - - if (state.wsize || (_out !== strm.avail_out && state.mode < BAD && - (state.mode < CHECK || flush !== Z_FINISH))) { - if (updatewindow(strm, strm.output, strm.next_out, _out - strm.avail_out)) { - state.mode = MEM; - return Z_MEM_ERROR; - } - } - _in -= strm.avail_in; - _out -= strm.avail_out; - strm.total_in += _in; - strm.total_out += _out; - state.total += _out; - if (state.wrap && _out) { - strm.adler = state.check = /*UPDATE(state.check, strm.next_out - _out, _out);*/ - (state.flags ? crc32(state.check, output, _out, strm.next_out - _out) : adler32(state.check, output, _out, strm.next_out - _out)); - } - strm.data_type = state.bits + (state.last ? 64 : 0) + - (state.mode === TYPE ? 128 : 0) + - (state.mode === LEN_ || state.mode === COPY_ ? 256 : 0); - if (((_in === 0 && _out === 0) || flush === Z_FINISH) && ret === Z_OK) { - ret = Z_BUF_ERROR; - } - return ret; -} - -function inflateEnd(strm) { - - if (!strm || !strm.state /*|| strm->zfree == (free_func)0*/) { - return Z_STREAM_ERROR; - } - - var state = strm.state; - if (state.window) { - state.window = null; - } - strm.state = null; - return Z_OK; -} - -function inflateGetHeader(strm, head) { - var state; - - /* check state */ - if (!strm || !strm.state) { return Z_STREAM_ERROR; } - state = strm.state; - if ((state.wrap & 2) === 0) { return Z_STREAM_ERROR; } - - /* save header structure */ - state.head = head; - head.done = false; - return Z_OK; -} - - -exports.inflateReset = inflateReset; -exports.inflateReset2 = inflateReset2; -exports.inflateResetKeep = inflateResetKeep; -exports.inflateInit = inflateInit; -exports.inflateInit2 = inflateInit2; -exports.inflate = inflate; -exports.inflateEnd = inflateEnd; -exports.inflateGetHeader = inflateGetHeader; -exports.inflateInfo = 'pako inflate (from Nodeca project)'; - -/* Not implemented -exports.inflateCopy = inflateCopy; -exports.inflateGetDictionary = inflateGetDictionary; -exports.inflateMark = inflateMark; -exports.inflatePrime = inflatePrime; -exports.inflateSetDictionary = inflateSetDictionary; -exports.inflateSync = inflateSync; -exports.inflateSyncPoint = inflateSyncPoint; -exports.inflateUndermine = inflateUndermine; -*/ - -},{"../utils/common":22,"./adler32":24,"./crc32":26,"./inffast":29,"./inftrees":31}],31:[function(require,module,exports){ -'use strict'; - - -var utils = require('../utils/common'); - -var MAXBITS = 15; -var ENOUGH_LENS = 852; -var ENOUGH_DISTS = 592; -//var ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS); - -var CODES = 0; -var LENS = 1; -var DISTS = 2; - -var lbase = [ /* Length codes 257..285 base */ - 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, - 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0 -]; - -var lext = [ /* Length codes 257..285 extra */ - 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, - 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78 -]; - -var dbase = [ /* Distance codes 0..29 base */ - 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, - 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, - 8193, 12289, 16385, 24577, 0, 0 -]; - -var dext = [ /* Distance codes 0..29 extra */ - 16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, - 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, - 28, 28, 29, 29, 64, 64 -]; - -module.exports = function inflate_table(type, lens, lens_index, codes, table, table_index, work, opts) -{ - var bits = opts.bits; - //here = opts.here; /* table entry for duplication */ - - var len = 0; /* a code's length in bits */ - var sym = 0; /* index of code symbols */ - var min = 0, max = 0; /* minimum and maximum code lengths */ - var root = 0; /* number of index bits for root table */ - var curr = 0; /* number of index bits for current table */ - var drop = 0; /* code bits to drop for sub-table */ - var left = 0; /* number of prefix codes available */ - var used = 0; /* code entries in table used */ - var huff = 0; /* Huffman code */ - var incr; /* for incrementing code, index */ - var fill; /* index for replicating entries */ - var low; /* low bits for current root entry */ - var mask; /* mask for low root bits */ - var next; /* next available space in table */ - var base = null; /* base value table to use */ - var base_index = 0; -// var shoextra; /* extra bits table to use */ - var end; /* use base and extra for symbol > end */ - var count = new utils.Buf16(MAXBITS+1); //[MAXBITS+1]; /* number of codes of each length */ - var offs = new utils.Buf16(MAXBITS+1); //[MAXBITS+1]; /* offsets in table for each length */ - var extra = null; - var extra_index = 0; - - var here_bits, here_op, here_val; - - /* - Process a set of code lengths to create a canonical Huffman code. The - code lengths are lens[0..codes-1]. Each length corresponds to the - symbols 0..codes-1. The Huffman code is generated by first sorting the - symbols by length from short to long, and retaining the symbol order - for codes with equal lengths. Then the code starts with all zero bits - for the first code of the shortest length, and the codes are integer - increments for the same length, and zeros are appended as the length - increases. For the deflate format, these bits are stored backwards - from their more natural integer increment ordering, and so when the - decoding tables are built in the large loop below, the integer codes - are incremented backwards. - - This routine assumes, but does not check, that all of the entries in - lens[] are in the range 0..MAXBITS. The caller must assure this. - 1..MAXBITS is interpreted as that code length. zero means that that - symbol does not occur in this code. - - The codes are sorted by computing a count of codes for each length, - creating from that a table of starting indices for each length in the - sorted table, and then entering the symbols in order in the sorted - table. The sorted table is work[], with that space being provided by - the caller. - - The length counts are used for other purposes as well, i.e. finding - the minimum and maximum length codes, determining if there are any - codes at all, checking for a valid set of lengths, and looking ahead - at length counts to determine sub-table sizes when building the - decoding tables. - */ - - /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */ - for (len = 0; len <= MAXBITS; len++) { - count[len] = 0; - } - for (sym = 0; sym < codes; sym++) { - count[lens[lens_index + sym]]++; - } - - /* bound code lengths, force root to be within code lengths */ - root = bits; - for (max = MAXBITS; max >= 1; max--) { - if (count[max] !== 0) { break; } - } - if (root > max) { - root = max; - } - if (max === 0) { /* no symbols to code at all */ - //table.op[opts.table_index] = 64; //here.op = (var char)64; /* invalid code marker */ - //table.bits[opts.table_index] = 1; //here.bits = (var char)1; - //table.val[opts.table_index++] = 0; //here.val = (var short)0; - table[table_index++] = (1 << 24) | (64 << 16) | 0; - - - //table.op[opts.table_index] = 64; - //table.bits[opts.table_index] = 1; - //table.val[opts.table_index++] = 0; - table[table_index++] = (1 << 24) | (64 << 16) | 0; - - opts.bits = 1; - return 0; /* no symbols, but wait for decoding to report error */ - } - for (min = 1; min < max; min++) { - if (count[min] !== 0) { break; } - } - if (root < min) { - root = min; - } - - /* check for an over-subscribed or incomplete set of lengths */ - left = 1; - for (len = 1; len <= MAXBITS; len++) { - left <<= 1; - left -= count[len]; - if (left < 0) { - return -1; - } /* over-subscribed */ - } - if (left > 0 && (type === CODES || max !== 1)) { - return -1; /* incomplete set */ - } - - /* generate offsets into symbol table for each length for sorting */ - offs[1] = 0; - for (len = 1; len < MAXBITS; len++) { - offs[len + 1] = offs[len] + count[len]; - } - - /* sort symbols by length, by symbol order within each length */ - for (sym = 0; sym < codes; sym++) { - if (lens[lens_index + sym] !== 0) { - work[offs[lens[lens_index + sym]]++] = sym; - } - } - - /* - Create and fill in decoding tables. In this loop, the table being - filled is at next and has curr index bits. The code being used is huff - with length len. That code is converted to an index by dropping drop - bits off of the bottom. For codes where len is less than drop + curr, - those top drop + curr - len bits are incremented through all values to - fill the table with replicated entries. - - root is the number of index bits for the root table. When len exceeds - root, sub-tables are created pointed to by the root entry with an index - of the low root bits of huff. This is saved in low to check for when a - new sub-table should be started. drop is zero when the root table is - being filled, and drop is root when sub-tables are being filled. - - When a new sub-table is needed, it is necessary to look ahead in the - code lengths to determine what size sub-table is needed. The length - counts are used for this, and so count[] is decremented as codes are - entered in the tables. - - used keeps track of how many table entries have been allocated from the - provided *table space. It is checked for LENS and DIST tables against - the constants ENOUGH_LENS and ENOUGH_DISTS to guard against changes in - the initial root table size constants. See the comments in inftrees.h - for more information. - - sym increments through all symbols, and the loop terminates when - all codes of length max, i.e. all codes, have been processed. This - routine permits incomplete codes, so another loop after this one fills - in the rest of the decoding tables with invalid code markers. - */ - - /* set up for code type */ - // poor man optimization - use if-else instead of switch, - // to avoid deopts in old v8 - if (type === CODES) { - base = extra = work; /* dummy value--not used */ - end = 19; - - } else if (type === LENS) { - base = lbase; - base_index -= 257; - extra = lext; - extra_index -= 257; - end = 256; - - } else { /* DISTS */ - base = dbase; - extra = dext; - end = -1; - } - - /* initialize opts for loop */ - huff = 0; /* starting code */ - sym = 0; /* starting code symbol */ - len = min; /* starting code length */ - next = table_index; /* current table to fill in */ - curr = root; /* current table index bits */ - drop = 0; /* current bits to drop from code for index */ - low = -1; /* trigger new sub-table when len > root */ - used = 1 << root; /* use root table entries */ - mask = used - 1; /* mask for comparing low */ - - /* check available table space */ - if ((type === LENS && used > ENOUGH_LENS) || - (type === DISTS && used > ENOUGH_DISTS)) { - return 1; - } - - var i=0; - /* process all codes and make table entries */ - for (;;) { - i++; - /* create table entry */ - here_bits = len - drop; - if (work[sym] < end) { - here_op = 0; - here_val = work[sym]; - } - else if (work[sym] > end) { - here_op = extra[extra_index + work[sym]]; - here_val = base[base_index + work[sym]]; - } - else { - here_op = 32 + 64; /* end of block */ - here_val = 0; - } - - /* replicate for those indices with low len bits equal to huff */ - incr = 1 << (len - drop); - fill = 1 << curr; - min = fill; /* save offset to next table */ - do { - fill -= incr; - table[next + (huff >> drop) + fill] = (here_bits << 24) | (here_op << 16) | here_val |0; - } while (fill !== 0); - - /* backwards increment the len-bit code huff */ - incr = 1 << (len - 1); - while (huff & incr) { - incr >>= 1; - } - if (incr !== 0) { - huff &= incr - 1; - huff += incr; - } else { - huff = 0; - } - - /* go to next symbol, update count, len */ - sym++; - if (--count[len] === 0) { - if (len === max) { break; } - len = lens[lens_index + work[sym]]; - } - - /* create new sub-table if needed */ - if (len > root && (huff & mask) !== low) { - /* if first time, transition to sub-tables */ - if (drop === 0) { - drop = root; - } - - /* increment past last table */ - next += min; /* here min is 1 << curr */ - - /* determine length of next table */ - curr = len - drop; - left = 1 << curr; - while (curr + drop < max) { - left -= count[curr + drop]; - if (left <= 0) { break; } - curr++; - left <<= 1; - } - - /* check for enough space */ - used += 1 << curr; - if ((type === LENS && used > ENOUGH_LENS) || - (type === DISTS && used > ENOUGH_DISTS)) { - return 1; - } - - /* point entry in root table to sub-table */ - low = huff & mask; - /*table.op[low] = curr; - table.bits[low] = root; - table.val[low] = next - opts.table_index;*/ - table[low] = (root << 24) | (curr << 16) | (next - table_index) |0; - } - } - - /* fill in remaining table entry if code is incomplete (guaranteed to have - at most one remaining entry, since if the code is incomplete, the - maximum code length that was allowed to get this far is one bit) */ - if (huff !== 0) { - //table.op[next + huff] = 64; /* invalid code marker */ - //table.bits[next + huff] = len - drop; - //table.val[next + huff] = 0; - table[next + huff] = ((len - drop) << 24) | (64 << 16) |0; - } - - /* set return parameters */ - //opts.table_index += used; - opts.bits = root; - return 0; -}; - -},{"../utils/common":22}],32:[function(require,module,exports){ -'use strict'; - -module.exports = { - '2': 'need dictionary', /* Z_NEED_DICT 2 */ - '1': 'stream end', /* Z_STREAM_END 1 */ - '0': '', /* Z_OK 0 */ - '-1': 'file error', /* Z_ERRNO (-1) */ - '-2': 'stream error', /* Z_STREAM_ERROR (-2) */ - '-3': 'data error', /* Z_DATA_ERROR (-3) */ - '-4': 'insufficient memory', /* Z_MEM_ERROR (-4) */ - '-5': 'buffer error', /* Z_BUF_ERROR (-5) */ - '-6': 'incompatible version' /* Z_VERSION_ERROR (-6) */ -}; - -},{}],33:[function(require,module,exports){ -'use strict'; - - -var utils = require('../utils/common'); - -/* Public constants ==========================================================*/ -/* ===========================================================================*/ - - -//var Z_FILTERED = 1; -//var Z_HUFFMAN_ONLY = 2; -//var Z_RLE = 3; -var Z_FIXED = 4; -//var Z_DEFAULT_STRATEGY = 0; - -/* Possible values of the data_type field (though see inflate()) */ -var Z_BINARY = 0; -var Z_TEXT = 1; -//var Z_ASCII = 1; // = Z_TEXT -var Z_UNKNOWN = 2; - -/*============================================================================*/ - - -function zero(buf) { var len = buf.length; while (--len >= 0) { buf[len] = 0; } } - -// From zutil.h - -var STORED_BLOCK = 0; -var STATIC_TREES = 1; -var DYN_TREES = 2; -/* The three kinds of block type */ - -var MIN_MATCH = 3; -var MAX_MATCH = 258; -/* The minimum and maximum match lengths */ - -// From deflate.h -/* =========================================================================== - * Internal compression state. - */ - -var LENGTH_CODES = 29; -/* number of length codes, not counting the special END_BLOCK code */ - -var LITERALS = 256; -/* number of literal bytes 0..255 */ - -var L_CODES = LITERALS + 1 + LENGTH_CODES; -/* number of Literal or Length codes, including the END_BLOCK code */ - -var D_CODES = 30; -/* number of distance codes */ - -var BL_CODES = 19; -/* number of codes used to transfer the bit lengths */ - -var HEAP_SIZE = 2*L_CODES + 1; -/* maximum heap size */ - -var MAX_BITS = 15; -/* All codes must not exceed MAX_BITS bits */ - -var Buf_size = 16; -/* size of bit buffer in bi_buf */ - - -/* =========================================================================== - * Constants - */ - -var MAX_BL_BITS = 7; -/* Bit length codes must not exceed MAX_BL_BITS bits */ - -var END_BLOCK = 256; -/* end of block literal code */ - -var REP_3_6 = 16; -/* repeat previous bit length 3-6 times (2 bits of repeat count) */ - -var REPZ_3_10 = 17; -/* repeat a zero length 3-10 times (3 bits of repeat count) */ - -var REPZ_11_138 = 18; -/* repeat a zero length 11-138 times (7 bits of repeat count) */ - -var extra_lbits = /* extra bits for each length code */ - [0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]; - -var extra_dbits = /* extra bits for each distance code */ - [0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]; - -var extra_blbits = /* extra bits for each bit length code */ - [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]; - -var bl_order = - [16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]; -/* The lengths of the bit length codes are sent in order of decreasing - * probability, to avoid transmitting the lengths for unused bit length codes. - */ - -/* =========================================================================== - * Local data. These are initialized only once. - */ - -// We pre-fill arrays with 0 to avoid uninitialized gaps - -var DIST_CODE_LEN = 512; /* see definition of array dist_code below */ - -// !!!! Use flat array insdead of structure, Freq = i*2, Len = i*2+1 -var static_ltree = new Array((L_CODES+2) * 2); -zero(static_ltree); -/* The static literal tree. Since the bit lengths are imposed, there is no - * need for the L_CODES extra codes used during heap construction. However - * The codes 286 and 287 are needed to build a canonical tree (see _tr_init - * below). - */ - -var static_dtree = new Array(D_CODES * 2); -zero(static_dtree); -/* The static distance tree. (Actually a trivial tree since all codes use - * 5 bits.) - */ - -var _dist_code = new Array(DIST_CODE_LEN); -zero(_dist_code); -/* Distance codes. The first 256 values correspond to the distances - * 3 .. 258, the last 256 values correspond to the top 8 bits of - * the 15 bit distances. - */ - -var _length_code = new Array(MAX_MATCH-MIN_MATCH+1); -zero(_length_code); -/* length code for each normalized match length (0 == MIN_MATCH) */ - -var base_length = new Array(LENGTH_CODES); -zero(base_length); -/* First normalized length for each code (0 = MIN_MATCH) */ - -var base_dist = new Array(D_CODES); -zero(base_dist); -/* First normalized distance for each code (0 = distance of 1) */ - - -var StaticTreeDesc = function (static_tree, extra_bits, extra_base, elems, max_length) { - - this.static_tree = static_tree; /* static tree or NULL */ - this.extra_bits = extra_bits; /* extra bits for each code or NULL */ - this.extra_base = extra_base; /* base index for extra_bits */ - this.elems = elems; /* max number of elements in the tree */ - this.max_length = max_length; /* max bit length for the codes */ - - // show if `static_tree` has data or dummy - needed for monomorphic objects - this.has_stree = static_tree && static_tree.length; -}; - - -var static_l_desc; -var static_d_desc; -var static_bl_desc; - - -var TreeDesc = function(dyn_tree, stat_desc) { - this.dyn_tree = dyn_tree; /* the dynamic tree */ - this.max_code = 0; /* largest code with non zero frequency */ - this.stat_desc = stat_desc; /* the corresponding static tree */ -}; - - - -function d_code(dist) { - return dist < 256 ? _dist_code[dist] : _dist_code[256 + (dist >>> 7)]; -} - - -/* =========================================================================== - * Output a short LSB first on the stream. - * IN assertion: there is enough room in pendingBuf. - */ -function put_short (s, w) { -// put_byte(s, (uch)((w) & 0xff)); -// put_byte(s, (uch)((ush)(w) >> 8)); - s.pending_buf[s.pending++] = (w) & 0xff; - s.pending_buf[s.pending++] = (w >>> 8) & 0xff; -} - - -/* =========================================================================== - * Send a value on a given number of bits. - * IN assertion: length <= 16 and value fits in length bits. - */ -function send_bits(s, value, length) { - if (s.bi_valid > (Buf_size - length)) { - s.bi_buf |= (value << s.bi_valid) & 0xffff; - put_short(s, s.bi_buf); - s.bi_buf = value >> (Buf_size - s.bi_valid); - s.bi_valid += length - Buf_size; - } else { - s.bi_buf |= (value << s.bi_valid) & 0xffff; - s.bi_valid += length; - } -} - - -function send_code(s, c, tree) { - send_bits(s, tree[c*2]/*.Code*/, tree[c*2 + 1]/*.Len*/); -} - - -/* =========================================================================== - * Reverse the first len bits of a code, using straightforward code (a faster - * method would use a table) - * IN assertion: 1 <= len <= 15 - */ -function bi_reverse(code, len) { - var res = 0; - do { - res |= code & 1; - code >>>= 1; - res <<= 1; - } while (--len > 0); - return res >>> 1; -} - - -/* =========================================================================== - * Flush the bit buffer, keeping at most 7 bits in it. - */ -function bi_flush(s) { - if (s.bi_valid === 16) { - put_short(s, s.bi_buf); - s.bi_buf = 0; - s.bi_valid = 0; - - } else if (s.bi_valid >= 8) { - s.pending_buf[s.pending++] = s.bi_buf & 0xff; - s.bi_buf >>= 8; - s.bi_valid -= 8; - } -} - - -/* =========================================================================== - * Compute the optimal bit lengths for a tree and update the total bit length - * for the current block. - * IN assertion: the fields freq and dad are set, heap[heap_max] and - * above are the tree nodes sorted by increasing frequency. - * OUT assertions: the field len is set to the optimal bit length, the - * array bl_count contains the frequencies for each bit length. - * The length opt_len is updated; static_len is also updated if stree is - * not null. - */ -function gen_bitlen(s, desc) -// deflate_state *s; -// tree_desc *desc; /* the tree descriptor */ -{ - var tree = desc.dyn_tree; - var max_code = desc.max_code; - var stree = desc.stat_desc.static_tree; - var has_stree = desc.stat_desc.has_stree; - var extra = desc.stat_desc.extra_bits; - var base = desc.stat_desc.extra_base; - var max_length = desc.stat_desc.max_length; - var h; /* heap index */ - var n, m; /* iterate over the tree elements */ - var bits; /* bit length */ - var xbits; /* extra bits */ - var f; /* frequency */ - var overflow = 0; /* number of elements with bit length too large */ - - for (bits = 0; bits <= MAX_BITS; bits++) { - s.bl_count[bits] = 0; - } - - /* In a first pass, compute the optimal bit lengths (which may - * overflow in the case of the bit length tree). - */ - tree[s.heap[s.heap_max]*2 + 1]/*.Len*/ = 0; /* root of the heap */ - - for (h = s.heap_max+1; h < HEAP_SIZE; h++) { - n = s.heap[h]; - bits = tree[tree[n*2 +1]/*.Dad*/ * 2 + 1]/*.Len*/ + 1; - if (bits > max_length) { - bits = max_length; - overflow++; - } - tree[n*2 + 1]/*.Len*/ = bits; - /* We overwrite tree[n].Dad which is no longer needed */ - - if (n > max_code) { continue; } /* not a leaf node */ - - s.bl_count[bits]++; - xbits = 0; - if (n >= base) { - xbits = extra[n-base]; - } - f = tree[n * 2]/*.Freq*/; - s.opt_len += f * (bits + xbits); - if (has_stree) { - s.static_len += f * (stree[n*2 + 1]/*.Len*/ + xbits); - } - } - if (overflow === 0) { return; } - - // Trace((stderr,"\nbit length overflow\n")); - /* This happens for example on obj2 and pic of the Calgary corpus */ - - /* Find the first bit length which could increase: */ - do { - bits = max_length-1; - while (s.bl_count[bits] === 0) { bits--; } - s.bl_count[bits]--; /* move one leaf down the tree */ - s.bl_count[bits+1] += 2; /* move one overflow item as its brother */ - s.bl_count[max_length]--; - /* The brother of the overflow item also moves one step up, - * but this does not affect bl_count[max_length] - */ - overflow -= 2; - } while (overflow > 0); - - /* Now recompute all bit lengths, scanning in increasing frequency. - * h is still equal to HEAP_SIZE. (It is simpler to reconstruct all - * lengths instead of fixing only the wrong ones. This idea is taken - * from 'ar' written by Haruhiko Okumura.) - */ - for (bits = max_length; bits !== 0; bits--) { - n = s.bl_count[bits]; - while (n !== 0) { - m = s.heap[--h]; - if (m > max_code) { continue; } - if (tree[m*2 + 1]/*.Len*/ !== bits) { - // Trace((stderr,"code %d bits %d->%d\n", m, tree[m].Len, bits)); - s.opt_len += (bits - tree[m*2 + 1]/*.Len*/)*tree[m*2]/*.Freq*/; - tree[m*2 + 1]/*.Len*/ = bits; - } - n--; - } - } -} - - -/* =========================================================================== - * Generate the codes for a given tree and bit counts (which need not be - * optimal). - * IN assertion: the array bl_count contains the bit length statistics for - * the given tree and the field len is set for all tree elements. - * OUT assertion: the field code is set for all tree elements of non - * zero code length. - */ -function gen_codes(tree, max_code, bl_count) -// ct_data *tree; /* the tree to decorate */ -// int max_code; /* largest code with non zero frequency */ -// ushf *bl_count; /* number of codes at each bit length */ -{ - var next_code = new Array(MAX_BITS+1); /* next code value for each bit length */ - var code = 0; /* running code value */ - var bits; /* bit index */ - var n; /* code index */ - - /* The distribution counts are first used to generate the code values - * without bit reversal. - */ - for (bits = 1; bits <= MAX_BITS; bits++) { - next_code[bits] = code = (code + bl_count[bits-1]) << 1; - } - /* Check that the bit counts in bl_count are consistent. The last code - * must be all ones. - */ - //Assert (code + bl_count[MAX_BITS]-1 == (1< length code (0..28) */ - length = 0; - for (code = 0; code < LENGTH_CODES-1; code++) { - base_length[code] = length; - for (n = 0; n < (1< dist code (0..29) */ - dist = 0; - for (code = 0 ; code < 16; code++) { - base_dist[code] = dist; - for (n = 0; n < (1<>= 7; /* from now on, all distances are divided by 128 */ - for (; code < D_CODES; code++) { - base_dist[code] = dist << 7; - for (n = 0; n < (1<<(extra_dbits[code]-7)); n++) { - _dist_code[256 + dist++] = code; - } - } - //Assert (dist == 256, "tr_static_init: 256+dist != 512"); - - /* Construct the codes of the static literal tree */ - for (bits = 0; bits <= MAX_BITS; bits++) { - bl_count[bits] = 0; - } - - n = 0; - while (n <= 143) { - static_ltree[n*2 + 1]/*.Len*/ = 8; - n++; - bl_count[8]++; - } - while (n <= 255) { - static_ltree[n*2 + 1]/*.Len*/ = 9; - n++; - bl_count[9]++; - } - while (n <= 279) { - static_ltree[n*2 + 1]/*.Len*/ = 7; - n++; - bl_count[7]++; - } - while (n <= 287) { - static_ltree[n*2 + 1]/*.Len*/ = 8; - n++; - bl_count[8]++; - } - /* Codes 286 and 287 do not exist, but we must include them in the - * tree construction to get a canonical Huffman tree (longest code - * all ones) - */ - gen_codes(static_ltree, L_CODES+1, bl_count); - - /* The static distance tree is trivial: */ - for (n = 0; n < D_CODES; n++) { - static_dtree[n*2 + 1]/*.Len*/ = 5; - static_dtree[n*2]/*.Code*/ = bi_reverse(n, 5); - } - - // Now data ready and we can init static trees - static_l_desc = new StaticTreeDesc(static_ltree, extra_lbits, LITERALS+1, L_CODES, MAX_BITS); - static_d_desc = new StaticTreeDesc(static_dtree, extra_dbits, 0, D_CODES, MAX_BITS); - static_bl_desc =new StaticTreeDesc(new Array(0), extra_blbits, 0, BL_CODES, MAX_BL_BITS); - - //static_init_done = true; -} - - -/* =========================================================================== - * Initialize a new block. - */ -function init_block(s) { - var n; /* iterates over tree elements */ - - /* Initialize the trees. */ - for (n = 0; n < L_CODES; n++) { s.dyn_ltree[n*2]/*.Freq*/ = 0; } - for (n = 0; n < D_CODES; n++) { s.dyn_dtree[n*2]/*.Freq*/ = 0; } - for (n = 0; n < BL_CODES; n++) { s.bl_tree[n*2]/*.Freq*/ = 0; } - - s.dyn_ltree[END_BLOCK*2]/*.Freq*/ = 1; - s.opt_len = s.static_len = 0; - s.last_lit = s.matches = 0; -} - - -/* =========================================================================== - * Flush the bit buffer and align the output on a byte boundary - */ -function bi_windup(s) -{ - if (s.bi_valid > 8) { - put_short(s, s.bi_buf); - } else if (s.bi_valid > 0) { - //put_byte(s, (Byte)s->bi_buf); - s.pending_buf[s.pending++] = s.bi_buf; - } - s.bi_buf = 0; - s.bi_valid = 0; -} - -/* =========================================================================== - * Copy a stored block, storing first the length and its - * one's complement if requested. - */ -function copy_block(s, buf, len, header) -//DeflateState *s; -//charf *buf; /* the input data */ -//unsigned len; /* its length */ -//int header; /* true if block header must be written */ -{ - bi_windup(s); /* align on byte boundary */ - - if (header) { - put_short(s, len); - put_short(s, ~len); - } -// while (len--) { -// put_byte(s, *buf++); -// } - utils.arraySet(s.pending_buf, s.window, buf, len, s.pending); - s.pending += len; -} - -/* =========================================================================== - * Compares to subtrees, using the tree depth as tie breaker when - * the subtrees have equal frequency. This minimizes the worst case length. - */ -function smaller(tree, n, m, depth) { - var _n2 = n*2; - var _m2 = m*2; - return (tree[_n2]/*.Freq*/ < tree[_m2]/*.Freq*/ || - (tree[_n2]/*.Freq*/ === tree[_m2]/*.Freq*/ && depth[n] <= depth[m])); -} - -/* =========================================================================== - * Restore the heap property by moving down the tree starting at node k, - * exchanging a node with the smallest of its two sons if necessary, stopping - * when the heap property is re-established (each father smaller than its - * two sons). - */ -function pqdownheap(s, tree, k) -// deflate_state *s; -// ct_data *tree; /* the tree to restore */ -// int k; /* node to move down */ -{ - var v = s.heap[k]; - var j = k << 1; /* left son of k */ - while (j <= s.heap_len) { - /* Set j to the smallest of the two sons: */ - if (j < s.heap_len && - smaller(tree, s.heap[j+1], s.heap[j], s.depth)) { - j++; - } - /* Exit if v is smaller than both sons */ - if (smaller(tree, v, s.heap[j], s.depth)) { break; } - - /* Exchange v with the smallest son */ - s.heap[k] = s.heap[j]; - k = j; - - /* And continue down the tree, setting j to the left son of k */ - j <<= 1; - } - s.heap[k] = v; -} - - -// inlined manually -// var SMALLEST = 1; - -/* =========================================================================== - * Send the block data compressed using the given Huffman trees - */ -function compress_block(s, ltree, dtree) -// deflate_state *s; -// const ct_data *ltree; /* literal tree */ -// const ct_data *dtree; /* distance tree */ -{ - var dist; /* distance of matched string */ - var lc; /* match length or unmatched char (if dist == 0) */ - var lx = 0; /* running index in l_buf */ - var code; /* the code to send */ - var extra; /* number of extra bits to send */ - - if (s.last_lit !== 0) { - do { - dist = (s.pending_buf[s.d_buf + lx*2] << 8) | (s.pending_buf[s.d_buf + lx*2 + 1]); - lc = s.pending_buf[s.l_buf + lx]; - lx++; - - if (dist === 0) { - send_code(s, lc, ltree); /* send a literal byte */ - //Tracecv(isgraph(lc), (stderr," '%c' ", lc)); - } else { - /* Here, lc is the match length - MIN_MATCH */ - code = _length_code[lc]; - send_code(s, code+LITERALS+1, ltree); /* send the length code */ - extra = extra_lbits[code]; - if (extra !== 0) { - lc -= base_length[code]; - send_bits(s, lc, extra); /* send the extra length bits */ - } - dist--; /* dist is now the match distance - 1 */ - code = d_code(dist); - //Assert (code < D_CODES, "bad d_code"); - - send_code(s, code, dtree); /* send the distance code */ - extra = extra_dbits[code]; - if (extra !== 0) { - dist -= base_dist[code]; - send_bits(s, dist, extra); /* send the extra distance bits */ - } - } /* literal or match pair ? */ - - /* Check that the overlay between pending_buf and d_buf+l_buf is ok: */ - //Assert((uInt)(s->pending) < s->lit_bufsize + 2*lx, - // "pendingBuf overflow"); - - } while (lx < s.last_lit); - } - - send_code(s, END_BLOCK, ltree); -} - - -/* =========================================================================== - * Construct one Huffman tree and assigns the code bit strings and lengths. - * Update the total bit length for the current block. - * IN assertion: the field freq is set for all tree elements. - * OUT assertions: the fields len and code are set to the optimal bit length - * and corresponding code. The length opt_len is updated; static_len is - * also updated if stree is not null. The field max_code is set. - */ -function build_tree(s, desc) -// deflate_state *s; -// tree_desc *desc; /* the tree descriptor */ -{ - var tree = desc.dyn_tree; - var stree = desc.stat_desc.static_tree; - var has_stree = desc.stat_desc.has_stree; - var elems = desc.stat_desc.elems; - var n, m; /* iterate over heap elements */ - var max_code = -1; /* largest code with non zero frequency */ - var node; /* new node being created */ - - /* Construct the initial heap, with least frequent element in - * heap[SMALLEST]. The sons of heap[n] are heap[2*n] and heap[2*n+1]. - * heap[0] is not used. - */ - s.heap_len = 0; - s.heap_max = HEAP_SIZE; - - for (n = 0; n < elems; n++) { - if (tree[n * 2]/*.Freq*/ !== 0) { - s.heap[++s.heap_len] = max_code = n; - s.depth[n] = 0; - - } else { - tree[n*2 + 1]/*.Len*/ = 0; - } - } - - /* The pkzip format requires that at least one distance code exists, - * and that at least one bit should be sent even if there is only one - * possible code. So to avoid special checks later on we force at least - * two codes of non zero frequency. - */ - while (s.heap_len < 2) { - node = s.heap[++s.heap_len] = (max_code < 2 ? ++max_code : 0); - tree[node * 2]/*.Freq*/ = 1; - s.depth[node] = 0; - s.opt_len--; - - if (has_stree) { - s.static_len -= stree[node*2 + 1]/*.Len*/; - } - /* node is 0 or 1 so it does not have extra bits */ - } - desc.max_code = max_code; - - /* The elements heap[heap_len/2+1 .. heap_len] are leaves of the tree, - * establish sub-heaps of increasing lengths: - */ - for (n = (s.heap_len >> 1/*int /2*/); n >= 1; n--) { pqdownheap(s, tree, n); } - - /* Construct the Huffman tree by repeatedly combining the least two - * frequent nodes. - */ - node = elems; /* next internal node of the tree */ - do { - //pqremove(s, tree, n); /* n = node of least frequency */ - /*** pqremove ***/ - n = s.heap[1/*SMALLEST*/]; - s.heap[1/*SMALLEST*/] = s.heap[s.heap_len--]; - pqdownheap(s, tree, 1/*SMALLEST*/); - /***/ - - m = s.heap[1/*SMALLEST*/]; /* m = node of next least frequency */ - - s.heap[--s.heap_max] = n; /* keep the nodes sorted by frequency */ - s.heap[--s.heap_max] = m; - - /* Create a new node father of n and m */ - tree[node * 2]/*.Freq*/ = tree[n * 2]/*.Freq*/ + tree[m * 2]/*.Freq*/; - s.depth[node] = (s.depth[n] >= s.depth[m] ? s.depth[n] : s.depth[m]) + 1; - tree[n*2 + 1]/*.Dad*/ = tree[m*2 + 1]/*.Dad*/ = node; - - /* and insert the new node in the heap */ - s.heap[1/*SMALLEST*/] = node++; - pqdownheap(s, tree, 1/*SMALLEST*/); - - } while (s.heap_len >= 2); - - s.heap[--s.heap_max] = s.heap[1/*SMALLEST*/]; - - /* At this point, the fields freq and dad are set. We can now - * generate the bit lengths. - */ - gen_bitlen(s, desc); - - /* The field len is now set, we can generate the bit codes */ - gen_codes(tree, max_code, s.bl_count); -} - - -/* =========================================================================== - * Scan a literal or distance tree to determine the frequencies of the codes - * in the bit length tree. - */ -function scan_tree(s, tree, max_code) -// deflate_state *s; -// ct_data *tree; /* the tree to be scanned */ -// int max_code; /* and its largest code of non zero frequency */ -{ - var n; /* iterates over all tree elements */ - var prevlen = -1; /* last emitted length */ - var curlen; /* length of current code */ - - var nextlen = tree[0*2 + 1]/*.Len*/; /* length of next code */ - - var count = 0; /* repeat count of the current code */ - var max_count = 7; /* max repeat count */ - var min_count = 4; /* min repeat count */ - - if (nextlen === 0) { - max_count = 138; - min_count = 3; - } - tree[(max_code+1)*2 + 1]/*.Len*/ = 0xffff; /* guard */ - - for (n = 0; n <= max_code; n++) { - curlen = nextlen; - nextlen = tree[(n+1)*2 + 1]/*.Len*/; - - if (++count < max_count && curlen === nextlen) { - continue; - - } else if (count < min_count) { - s.bl_tree[curlen * 2]/*.Freq*/ += count; - - } else if (curlen !== 0) { - - if (curlen !== prevlen) { s.bl_tree[curlen * 2]/*.Freq*/++; } - s.bl_tree[REP_3_6*2]/*.Freq*/++; - - } else if (count <= 10) { - s.bl_tree[REPZ_3_10*2]/*.Freq*/++; - - } else { - s.bl_tree[REPZ_11_138*2]/*.Freq*/++; - } - - count = 0; - prevlen = curlen; - - if (nextlen === 0) { - max_count = 138; - min_count = 3; - - } else if (curlen === nextlen) { - max_count = 6; - min_count = 3; - - } else { - max_count = 7; - min_count = 4; - } - } -} - - -/* =========================================================================== - * Send a literal or distance tree in compressed form, using the codes in - * bl_tree. - */ -function send_tree(s, tree, max_code) -// deflate_state *s; -// ct_data *tree; /* the tree to be scanned */ -// int max_code; /* and its largest code of non zero frequency */ -{ - var n; /* iterates over all tree elements */ - var prevlen = -1; /* last emitted length */ - var curlen; /* length of current code */ - - var nextlen = tree[0*2 + 1]/*.Len*/; /* length of next code */ - - var count = 0; /* repeat count of the current code */ - var max_count = 7; /* max repeat count */ - var min_count = 4; /* min repeat count */ - - /* tree[max_code+1].Len = -1; */ /* guard already set */ - if (nextlen === 0) { - max_count = 138; - min_count = 3; - } - - for (n = 0; n <= max_code; n++) { - curlen = nextlen; - nextlen = tree[(n+1)*2 + 1]/*.Len*/; - - if (++count < max_count && curlen === nextlen) { - continue; - - } else if (count < min_count) { - do { send_code(s, curlen, s.bl_tree); } while (--count !== 0); - - } else if (curlen !== 0) { - if (curlen !== prevlen) { - send_code(s, curlen, s.bl_tree); - count--; - } - //Assert(count >= 3 && count <= 6, " 3_6?"); - send_code(s, REP_3_6, s.bl_tree); - send_bits(s, count-3, 2); - - } else if (count <= 10) { - send_code(s, REPZ_3_10, s.bl_tree); - send_bits(s, count-3, 3); - - } else { - send_code(s, REPZ_11_138, s.bl_tree); - send_bits(s, count-11, 7); - } - - count = 0; - prevlen = curlen; - if (nextlen === 0) { - max_count = 138; - min_count = 3; - - } else if (curlen === nextlen) { - max_count = 6; - min_count = 3; - - } else { - max_count = 7; - min_count = 4; - } - } -} - - -/* =========================================================================== - * Construct the Huffman tree for the bit lengths and return the index in - * bl_order of the last bit length code to send. - */ -function build_bl_tree(s) { - var max_blindex; /* index of last bit length code of non zero freq */ - - /* Determine the bit length frequencies for literal and distance trees */ - scan_tree(s, s.dyn_ltree, s.l_desc.max_code); - scan_tree(s, s.dyn_dtree, s.d_desc.max_code); - - /* Build the bit length tree: */ - build_tree(s, s.bl_desc); - /* opt_len now includes the length of the tree representations, except - * the lengths of the bit lengths codes and the 5+5+4 bits for the counts. - */ - - /* Determine the number of bit length codes to send. The pkzip format - * requires that at least 4 bit length codes be sent. (appnote.txt says - * 3 but the actual value used is 4.) - */ - for (max_blindex = BL_CODES-1; max_blindex >= 3; max_blindex--) { - if (s.bl_tree[bl_order[max_blindex]*2 + 1]/*.Len*/ !== 0) { - break; - } - } - /* Update opt_len to include the bit length tree and counts */ - s.opt_len += 3*(max_blindex+1) + 5+5+4; - //Tracev((stderr, "\ndyn trees: dyn %ld, stat %ld", - // s->opt_len, s->static_len)); - - return max_blindex; -} - - -/* =========================================================================== - * Send the header for a block using dynamic Huffman trees: the counts, the - * lengths of the bit length codes, the literal tree and the distance tree. - * IN assertion: lcodes >= 257, dcodes >= 1, blcodes >= 4. - */ -function send_all_trees(s, lcodes, dcodes, blcodes) -// deflate_state *s; -// int lcodes, dcodes, blcodes; /* number of codes for each tree */ -{ - var rank; /* index in bl_order */ - - //Assert (lcodes >= 257 && dcodes >= 1 && blcodes >= 4, "not enough codes"); - //Assert (lcodes <= L_CODES && dcodes <= D_CODES && blcodes <= BL_CODES, - // "too many codes"); - //Tracev((stderr, "\nbl counts: ")); - send_bits(s, lcodes-257, 5); /* not +255 as stated in appnote.txt */ - send_bits(s, dcodes-1, 5); - send_bits(s, blcodes-4, 4); /* not -3 as stated in appnote.txt */ - for (rank = 0; rank < blcodes; rank++) { - //Tracev((stderr, "\nbl code %2d ", bl_order[rank])); - send_bits(s, s.bl_tree[bl_order[rank]*2 + 1]/*.Len*/, 3); - } - //Tracev((stderr, "\nbl tree: sent %ld", s->bits_sent)); - - send_tree(s, s.dyn_ltree, lcodes-1); /* literal tree */ - //Tracev((stderr, "\nlit tree: sent %ld", s->bits_sent)); - - send_tree(s, s.dyn_dtree, dcodes-1); /* distance tree */ - //Tracev((stderr, "\ndist tree: sent %ld", s->bits_sent)); -} - - -/* =========================================================================== - * Check if the data type is TEXT or BINARY, using the following algorithm: - * - TEXT if the two conditions below are satisfied: - * a) There are no non-portable control characters belonging to the - * "black list" (0..6, 14..25, 28..31). - * b) There is at least one printable character belonging to the - * "white list" (9 {TAB}, 10 {LF}, 13 {CR}, 32..255). - * - BINARY otherwise. - * - The following partially-portable control characters form a - * "gray list" that is ignored in this detection algorithm: - * (7 {BEL}, 8 {BS}, 11 {VT}, 12 {FF}, 26 {SUB}, 27 {ESC}). - * IN assertion: the fields Freq of dyn_ltree are set. - */ -function detect_data_type(s) { - /* black_mask is the bit mask of black-listed bytes - * set bits 0..6, 14..25, and 28..31 - * 0xf3ffc07f = binary 11110011111111111100000001111111 - */ - var black_mask = 0xf3ffc07f; - var n; - - /* Check for non-textual ("black-listed") bytes. */ - for (n = 0; n <= 31; n++, black_mask >>>= 1) { - if ((black_mask & 1) && (s.dyn_ltree[n*2]/*.Freq*/ !== 0)) { - return Z_BINARY; - } - } - - /* Check for textual ("white-listed") bytes. */ - if (s.dyn_ltree[9 * 2]/*.Freq*/ !== 0 || s.dyn_ltree[10 * 2]/*.Freq*/ !== 0 || - s.dyn_ltree[13 * 2]/*.Freq*/ !== 0) { - return Z_TEXT; - } - for (n = 32; n < LITERALS; n++) { - if (s.dyn_ltree[n * 2]/*.Freq*/ !== 0) { - return Z_TEXT; - } - } - - /* There are no "black-listed" or "white-listed" bytes: - * this stream either is empty or has tolerated ("gray-listed") bytes only. - */ - return Z_BINARY; -} - - -var static_init_done = false; - -/* =========================================================================== - * Initialize the tree data structures for a new zlib stream. - */ -function _tr_init(s) -{ - - if (!static_init_done) { - tr_static_init(); - static_init_done = true; - } - - s.l_desc = new TreeDesc(s.dyn_ltree, static_l_desc); - s.d_desc = new TreeDesc(s.dyn_dtree, static_d_desc); - s.bl_desc = new TreeDesc(s.bl_tree, static_bl_desc); - - s.bi_buf = 0; - s.bi_valid = 0; - - /* Initialize the first block of the first file: */ - init_block(s); -} - - -/* =========================================================================== - * Send a stored block - */ -function _tr_stored_block(s, buf, stored_len, last) -//DeflateState *s; -//charf *buf; /* input block */ -//ulg stored_len; /* length of input block */ -//int last; /* one if this is the last block for a file */ -{ - send_bits(s, (STORED_BLOCK<<1)+(last ? 1 : 0), 3); /* send block type */ - copy_block(s, buf, stored_len, true); /* with header */ -} - - -/* =========================================================================== - * Send one empty static block to give enough lookahead for inflate. - * This takes 10 bits, of which 7 may remain in the bit buffer. - */ -function _tr_align(s) { - send_bits(s, STATIC_TREES<<1, 3); - send_code(s, END_BLOCK, static_ltree); - bi_flush(s); -} - - -/* =========================================================================== - * Determine the best encoding for the current block: dynamic trees, static - * trees or store, and output the encoded block to the zip file. - */ -function _tr_flush_block(s, buf, stored_len, last) -//DeflateState *s; -//charf *buf; /* input block, or NULL if too old */ -//ulg stored_len; /* length of input block */ -//int last; /* one if this is the last block for a file */ -{ - var opt_lenb, static_lenb; /* opt_len and static_len in bytes */ - var max_blindex = 0; /* index of last bit length code of non zero freq */ - - /* Build the Huffman trees unless a stored block is forced */ - if (s.level > 0) { - - /* Check if the file is binary or text */ - if (s.strm.data_type === Z_UNKNOWN) { - s.strm.data_type = detect_data_type(s); - } - - /* Construct the literal and distance trees */ - build_tree(s, s.l_desc); - // Tracev((stderr, "\nlit data: dyn %ld, stat %ld", s->opt_len, - // s->static_len)); - - build_tree(s, s.d_desc); - // Tracev((stderr, "\ndist data: dyn %ld, stat %ld", s->opt_len, - // s->static_len)); - /* At this point, opt_len and static_len are the total bit lengths of - * the compressed block data, excluding the tree representations. - */ - - /* Build the bit length tree for the above two trees, and get the index - * in bl_order of the last bit length code to send. - */ - max_blindex = build_bl_tree(s); - - /* Determine the best encoding. Compute the block lengths in bytes. */ - opt_lenb = (s.opt_len+3+7) >>> 3; - static_lenb = (s.static_len+3+7) >>> 3; - - // Tracev((stderr, "\nopt %lu(%lu) stat %lu(%lu) stored %lu lit %u ", - // opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len, - // s->last_lit)); - - if (static_lenb <= opt_lenb) { opt_lenb = static_lenb; } - - } else { - // Assert(buf != (char*)0, "lost buf"); - opt_lenb = static_lenb = stored_len + 5; /* force a stored block */ - } - - if ((stored_len+4 <= opt_lenb) && (buf !== -1)) { - /* 4: two words for the lengths */ - - /* The test buf != NULL is only necessary if LIT_BUFSIZE > WSIZE. - * Otherwise we can't have processed more than WSIZE input bytes since - * the last block flush, because compression would have been - * successful. If LIT_BUFSIZE <= WSIZE, it is never too late to - * transform a block into a stored block. - */ - _tr_stored_block(s, buf, stored_len, last); - - } else if (s.strategy === Z_FIXED || static_lenb === opt_lenb) { - - send_bits(s, (STATIC_TREES<<1) + (last ? 1 : 0), 3); - compress_block(s, static_ltree, static_dtree); - - } else { - send_bits(s, (DYN_TREES<<1) + (last ? 1 : 0), 3); - send_all_trees(s, s.l_desc.max_code+1, s.d_desc.max_code+1, max_blindex+1); - compress_block(s, s.dyn_ltree, s.dyn_dtree); - } - // Assert (s->compressed_len == s->bits_sent, "bad compressed size"); - /* The above check is made mod 2^32, for files larger than 512 MB - * and uLong implemented on 32 bits. - */ - init_block(s); - - if (last) { - bi_windup(s); - } - // Tracev((stderr,"\ncomprlen %lu(%lu) ", s->compressed_len>>3, - // s->compressed_len-7*last)); -} - -/* =========================================================================== - * Save the match info and tally the frequency counts. Return true if - * the current block must be flushed. - */ -function _tr_tally(s, dist, lc) -// deflate_state *s; -// unsigned dist; /* distance of matched string */ -// unsigned lc; /* match length-MIN_MATCH or unmatched char (if dist==0) */ -{ - //var out_length, in_length, dcode; - - s.pending_buf[s.d_buf + s.last_lit * 2] = (dist >>> 8) & 0xff; - s.pending_buf[s.d_buf + s.last_lit * 2 + 1] = dist & 0xff; - - s.pending_buf[s.l_buf + s.last_lit] = lc & 0xff; - s.last_lit++; - - if (dist === 0) { - /* lc is the unmatched char */ - s.dyn_ltree[lc*2]/*.Freq*/++; - } else { - s.matches++; - /* Here, lc is the match length - MIN_MATCH */ - dist--; /* dist = match distance - 1 */ - //Assert((ush)dist < (ush)MAX_DIST(s) && - // (ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) && - // (ush)d_code(dist) < (ush)D_CODES, "_tr_tally: bad match"); - - s.dyn_ltree[(_length_code[lc]+LITERALS+1) * 2]/*.Freq*/++; - s.dyn_dtree[d_code(dist) * 2]/*.Freq*/++; - } - -// (!) This block is disabled in zlib defailts, -// don't enable it for binary compatibility - -//#ifdef TRUNCATE_BLOCK -// /* Try to guess if it is profitable to stop the current block here */ -// if ((s.last_lit & 0x1fff) === 0 && s.level > 2) { -// /* Compute an upper bound for the compressed length */ -// out_length = s.last_lit*8; -// in_length = s.strstart - s.block_start; -// -// for (dcode = 0; dcode < D_CODES; dcode++) { -// out_length += s.dyn_dtree[dcode*2]/*.Freq*/ * (5 + extra_dbits[dcode]); -// } -// out_length >>>= 3; -// //Tracev((stderr,"\nlast_lit %u, in %ld, out ~%ld(%ld%%) ", -// // s->last_lit, in_length, out_length, -// // 100L - out_length*100L/in_length)); -// if (s.matches < (s.last_lit>>1)/*int /2*/ && out_length < (in_length>>1)/*int /2*/) { -// return true; -// } -// } -//#endif - - return (s.last_lit === s.lit_bufsize-1); - /* We avoid equality with lit_bufsize because of wraparound at 64K - * on 16 bit machines and because stored blocks are restricted to - * 64K-1 bytes. - */ -} - -exports._tr_init = _tr_init; -exports._tr_stored_block = _tr_stored_block; -exports._tr_flush_block = _tr_flush_block; -exports._tr_tally = _tr_tally; -exports._tr_align = _tr_align; - -},{"../utils/common":22}],34:[function(require,module,exports){ -'use strict'; - - -function ZStream() { - /* next input byte */ - this.input = null; // JS specific, because we have no pointers - this.next_in = 0; - /* number of bytes available at input */ - this.avail_in = 0; - /* total number of input bytes read so far */ - this.total_in = 0; - /* next output byte should be put there */ - this.output = null; // JS specific, because we have no pointers - this.next_out = 0; - /* remaining free space at output */ - this.avail_out = 0; - /* total number of bytes output so far */ - this.total_out = 0; - /* last error message, NULL if no error */ - this.msg = ''/*Z_NULL*/; - /* not visible by applications */ - this.state = null; - /* best guess about the data type: binary or text */ - this.data_type = 2/*Z_UNKNOWN*/; - /* adler32 value of the uncompressed data */ - this.adler = 0; -} - -module.exports = ZStream; - -},{}],35:[function(require,module,exports){ -var TesseractCore = function(Module) { - Module = Module || {}; - -function f(a){throw a;}var h=void 0,i=!0,j=null,k=!1;function aa(){return function(){}}function ba(a){return function(){return a}}var n,Module;Module||(Module=eval("(function() { try { return TesseractCore || {} } catch(e) { return {} } })()"));var ca={},da;for(da in Module)Module.hasOwnProperty(da)&&(ca[da]=Module[da]);var ea=i,fa=!ea&&i; -fa?(Module.print||(Module.print=print),"undefined"!=typeof printErr&&(Module.printErr=printErr),Module.read="undefined"!=typeof read?read:function(){f("no read() available (jsc?)")},Module.readBinary=function(a){if("function"===typeof readbuffer)return new Uint8Array(readbuffer(a));a=read(a,"binary");p("object"===typeof a);return a},"undefined"!=typeof scriptArgs?Module.arguments=scriptArgs:"undefined"!=typeof arguments&&(Module.arguments=arguments),eval("if (typeof gc === 'function' && gc.toString().indexOf('[native code]') > 0) var gc = undefined")): -ea?(Module.read=function(a){var b=new XMLHttpRequest;b.open("GET",a,k);b.send(j);return b.responseText},"undefined"!=typeof arguments&&(Module.arguments=arguments),"undefined"!==typeof console?(Module.print||(Module.print=function(a){console.log(a)}),Module.printErr||(Module.printErr=function(a){console.log(a)})):Module.print||(Module.print=aa()),"undefined"===typeof Module.setWindowTitle&&(Module.setWindowTitle=function(a){document.title=a})):f("Unknown runtime environment. Where are we?"); -function ga(a){eval.call(j,a)}!Module.load&&Module.read&&(Module.load=function(a){ga(Module.read(a))});Module.print||(Module.print=aa());Module.printErr||(Module.printErr=Module.print);Module.arguments||(Module.arguments=[]);Module.thisProgram||(Module.thisProgram="./this.program");Module.print=Module.print;Module.$a=Module.printErr;Module.preRun=[];Module.postRun=[];for(da in ca)ca.hasOwnProperty(da)&&(Module[da]=ca[da]); -var q={lf:function(a){ha=a},Ge:function(){return ha},Zb:function(){return ia},Yb:function(a){ia=a},md:function(a){switch(a){case "i1":case "i8":return 1;case "i16":return 2;case "i32":return 4;case "i64":return 8;case "float":return 4;case "double":return 8;default:return"*"===a[a.length-1]?q.Gb:"i"===a[0]?(a=parseInt(a.substr(1)),p(0===a%8),a/8):0}},ld:function(a){return Math.max(q.md(a),q.Gb)},gh:16,Pb:function(a,b,c){return!c&&("i64"==a||"double"==a)?8:!a?Math.min(b,8):Math.min(b||(a?q.ld(a):0), -q.Gb)},Lb:function(a,b,c){return c&&c.length?(c.splice||(c=Array.prototype.slice.call(c)),c.splice(0,0,b),Module["dynCall_"+a].apply(j,c)):Module["dynCall_"+a].call(j,b)},Ob:[],ae:function(a){for(var b=0;b=na)ka("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value "+na+", (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs."),a=i;return a?0:b},ic:function(a,b){return Math.ceil(a/(b?b:16))*(b?b:16)},Re:function(a,b,c){return c?+(a>>>0)+4294967296*+(b>>>0):+(a>>>0)+4294967296*+(b|0)},g:8,Gb:4,kh:0};Module.Runtime=q; -q.addFunction=q.ae;q.removeFunction=q.hf;var oa=k,pa,qa,ha;function p(a,b){a||ka("Assertion failed: "+b)}function ra(a){var b=Module["_"+a];if(!b)try{b=eval("_"+a)}catch(c){}p(b,"Cannot call unknown function "+a+" (perhaps LLVM optimizations or closure removed it?)");return b}var sa,ta; -(function(){function a(a){a=a.toString().match(d).slice(1);return{arguments:a[0],body:a[1],returnValue:a[2]}}var b={stackSave:function(){q.Zb()},stackRestore:function(){q.Yb()},arrayToC:function(a){var b=q.Xb(a.length);ua(a,b);return b},stringToC:function(a){var b=0;a!==j&&(a!==h&&0!==a)&&(b=q.Xb((a.length<<2)+1),va(a,b));return b}},c={string:b.stringToC,array:b.arrayToC};ta=function(a,b,d,e){var g=ra(a),u=[],a=0;if(e)for(var D=0;D>0]=b;break;case "i8":x[a>>0]=b;break;case "i16":xa[a>>1]=b;break;case "i32":y[a>>2]=b;break;case "i64":qa=[b>>>0,(pa=b,1<=+ya(pa)?0>>0:~~+Ba((pa-+(~~pa>>>0))/4294967296)>>>0:0)];y[a>>2]=qa[0];y[a+4>>2]=qa[1];break;case "float":Ca[a>>2]=b;break;case "double":Da[a>>3]=b;break;default:ka("invalid type for setValue: "+c)}}Module.setValue=wa; -function Ea(a,b){b=b||"i8";"*"===b.charAt(b.length-1)&&(b="i32");switch(b){case "i1":return x[a>>0];case "i8":return x[a>>0];case "i16":return xa[a>>1];case "i32":return y[a>>2];case "i64":return y[a>>2];case "float":return Ca[a>>2];case "double":return Da[a>>3];default:ka("invalid type for setValue: "+b)}return j}Module.getValue=Ea;var Fa=0,Ga=1,A=2,B=4;Module.ALLOC_NORMAL=Fa;Module.ALLOC_STACK=Ga;Module.ALLOC_STATIC=A;Module.ALLOC_DYNAMIC=3;Module.ALLOC_NONE=B; -function C(a,b,c,d){var e,g;"number"===typeof a?(e=i,g=a):(e=k,g=a.length);var l="string"===typeof b?b:j,c=c==B?d:[F,q.Xb,q.Gd,q.pb][c===h?A:c](Math.max(g,l?1:b.length));if(e){d=c;p(0==(c&3));for(a=c+(g&-4);d>2]=0;for(a=c+g;d>0]=0;return c}if("i8"===l){if("string"===typeof a)for(d=0;d>0];c|=d;if(0==d&&!b)break;e++;if(b&&e==b)break}b||(b=e);d="";if(128>c){for(;0>0];if(!c)return b;b+=String.fromCharCode(c)}}; -Module.stringToAscii=function(a,b){return Ha(a,b,k)}; -function Ia(a,b){for(var c,d,e,g,l,m,s="";;){c=a[b++];if(!c)return s;c&128?(d=a[b++]&63,192==(c&224)?s+=String.fromCharCode((c&31)<<6|d):(e=a[b++]&63,224==(c&240)?c=(c&15)<<12|d<<6|e:(g=a[b++]&63,240==(c&248)?c=(c&7)<<18|d<<12|e<<6|g:(l=a[b++]&63,248==(c&252)?c=(c&3)<<24|d<<18|e<<12|g<<6|l:(m=a[b++]&63,c=(c&1)<<30|d<<24|e<<18|g<<12|l<<6|m))),65536>c?s+=String.fromCharCode(c):(c-=65536,s+=String.fromCharCode(55296|c>>10,56320|c&1023)))):s+=String.fromCharCode(c)}}Module.UTF8ArrayToString=Ia; -Module.UTF8ToString=function(a){return Ia(H,a)}; -function Ja(a,b,c,d){if(!(0=l&&(l=65536+((l&1023)<<10)|a.charCodeAt(++g)&1023);if(127>=l){if(c>=d)break;b[c++]=l}else{if(2047>=l){if(c+1>=d)break;b[c++]=192|l>>6}else{if(65535>=l){if(c+2>=d)break;b[c++]=224|l>>12}else{if(2097151>=l){if(c+3>=d)break;b[c++]=240|l>>18}else{if(67108863>=l){if(c+4>=d)break;b[c++]=248|l>>24}else{if(c+5>=d)break;b[c++]=252|l>>30;b[c++]=128|l>>24&63}b[c++]=128|l>>18&63}b[c++]=128|l>> -12&63}b[c++]=128|l>>6&63}b[c++]=128|l&63}}b[c]=0;return c-e}Module.stringToUTF8Array=Ja;Module.stringToUTF8=function(a,b,c){return Ja(a,H,b,c)};function Ka(a){for(var b=0,c=0;c=d&&(d=65536+((d&1023)<<10)|a.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:2097151>=d?b+4:67108863>=d?b+5:b+6}return b}Module.lengthBytesUTF8=Ka;Module.UTF16ToString=function(a){for(var b=0,c="";;){var d=xa[a+2*b>>1];if(0==d)return c;++b;c+=String.fromCharCode(d)}}; -Module.stringToUTF16=function(a,b,c){c===h&&(c=2147483647);if(2>c)return 0;for(var c=c-2,d=b,c=c<2*a.length?c/2:a.length,e=0;e>1]=a.charCodeAt(e),b+=2;xa[b>>1]=0;return b-d};Module.lengthBytesUTF16=function(a){return 2*a.length};Module.UTF32ToString=function(a){for(var b=0,c="";;){var d=y[a+4*b>>2];if(0==d)return c;++b;65536<=d?(d-=65536,c+=String.fromCharCode(55296|d>>10,56320|d&1023)):c+=String.fromCharCode(d)}}; -Module.stringToUTF32=function(a,b,c){c===h&&(c=2147483647);if(4>c)return 0;for(var d=b,c=d+c-4,e=0;e=g)var l=a.charCodeAt(++e),g=65536+((g&1023)<<10)|l&1023;y[b>>2]=g;b+=4;if(b+4>c)break}y[b>>2]=0;return b-d};Module.lengthBytesUTF32=function(a){for(var b=0,c=0;c=d&&++c;b+=4}return b}; -function La(a){function b(c,d,e){var d=d||Infinity,g="",l=[],u;if("N"===a[m]){m++;"K"===a[m]&&m++;for(u=[];"E"!==a[m];)if("S"===a[m]){m++;var O=a.indexOf("_",m);u.push(w[a.substring(m,O)||0]||"?");m=O+1}else if("C"===a[m])u.push(u[u.length-1]),m+=2;else{var O=parseInt(a.substr(m)),z=O.toString().length;if(!O||!z){m--;break}var ja=a.substr(m+z,O);u.push(ja);w.push(ja);m+=z+O}m++;u=u.join("::");d--;if(0===d)return c?[u]:u}else if(("K"===a[m]||r&&"L"===a[m])&&m++,O=parseInt(a.substr(m)))z=O.toString().length, -u=a.substr(m+z,O),m+=z+O;r=k;"I"===a[m]?(m++,O=b(i),z=b(i,1,i),g+=z[0]+" "+u+"<"+O.join(", ")+">"):g=u;a:for(;mVa?2*Va:Va+16777216; -Va!==na&&(Module.$a("increasing TOTAL_MEMORY to "+Va+" to be compliant with the asm.js spec (and given that TOTAL_STACK="+Ua+")"),na=Va);p("undefined"!==typeof Int32Array&&"undefined"!==typeof Float64Array&&!!(new Int32Array(1)).subarray&&!!(new Int32Array(1)).set,"JS engine does not provide full typed array support");var Wa=new ArrayBuffer(na);x=new Int8Array(Wa);xa=new Int16Array(Wa);y=new Int32Array(Wa);H=new Uint8Array(Wa);Oa=new Uint16Array(Wa);Pa=new Uint32Array(Wa);Ca=new Float32Array(Wa); -Da=new Float64Array(Wa);y[0]=255;p(255===H[0]&&0===H[3],"Typed arrays 2 must be run on a little-endian system");Module.HEAP=h;Module.buffer=Wa;Module.HEAP8=x;Module.HEAP16=xa;Module.HEAP32=y;Module.HEAPU8=H;Module.HEAPU16=Oa;Module.HEAPU32=Pa;Module.HEAPF32=Ca;Module.HEAPF64=Da;function Xa(a){for(;0>0]=a[c],c+=1}Module.writeStringToMemory=va;function ua(a,b){for(var c=0;c>0]=a[c]}Module.writeArrayToMemory=ua;function Ha(a,b,c){for(var d=0;d>0]=a.charCodeAt(d);c||(x[b>>0]=0)}Module.writeAsciiToMemory=Ha; -function hb(a,b){return 0<=a?a:32>=b?2*Math.abs(1<=a)return a;var c=32>=b?Math.abs(1<=c&&(32>=b||a>c))a=-2*c+a;return a}if(!Math.imul||-5!==Math.imul(4294967295,5))Math.imul=function(a,b){var c=a&65535,d=b&65535;return c*d+((a>>>16)*d+c*(b>>>16)<<16)|0};Math.Kh=Math.imul;Math.clz32||(Math.clz32=function(a){for(var a=a>>>0,b=0;32>b;b++)if(a&1<<31-b)return b;return 32});Math.uh=Math.clz32; -var ya=Math.abs,jb=Math.cos,kb=Math.sin,lb=Math.tan,mb=Math.asin,nb=Math.atan,ob=Math.atan2,pb=Math.exp,qb=Math.log,rb=Math.sqrt,Ba=Math.ceil,Aa=Math.floor,sb=Math.pow,za=Math.min,tb=0,ub=j,vb=j;function wb(){tb++;Module.monitorRunDependencies&&Module.monitorRunDependencies(tb)}Module.addRunDependency=wb;function xb(){tb--;Module.monitorRunDependencies&&Module.monitorRunDependencies(tb);if(0==tb&&(ub!==j&&(clearInterval(ub),ub=j),vb)){var a=vb;vb=j;a()}}Module.removeRunDependency=xb; -Module.preloadedImages={};Module.preloadedAudios={};var yb=j,Qa=8,la=Qa+1717328; -Za.push({u:function(){zb()}},{u:function(){Ab()}},{u:function(){Bb()}},{u:function(){Cb()}},{u:function(){Db()}},{u:function(){Eb()}},{u:function(){Fb()}},{u:function(){Gb()}},{u:function(){Hb()}},{u:function(){Ib()}},{u:function(){Jb()}},{u:function(){Kb()}},{u:function(){Lb()}},{u:function(){Mb()}},{u:function(){Nb()}},{u:function(){Ob()}},{u:function(){Pb()}},{u:function(){Qb()}},{u:function(){Rb()}},{u:function(){Sb()}},{u:function(){Tb()}},{u:function(){Ub()}},{u:function(){Vb()}},{u:function(){Wb()}}, -{u:function(){Xb()}},{u:function(){Yb()}},{u:function(){Zb()}},{u:function(){$b()}},{u:function(){ac()}},{u:function(){bc()}},{u:function(){cc()}},{u:function(){dc()}},{u:function(){ec()}},{u:function(){fc()}},{u:function(){gc()}},{u:function(){hc()}},{u:function(){ic()}},{u:function(){jc()}});C("","i8",B,q.g); -C("stream_filelist\x00Stream a filelist from stdin\x00\x00\x00\x00noname.tif\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\u00c0\u0005\x00\x00\u0001\x00\x00\x00\u0002\x00\x00\x00\u0001\x00\x00\x00\x00\x00\x00\x003.04.00\x00CatchSignals has no non-linux implementation!\n\x00\x00Please call SetImage before SetSourceResolution.\n\x00\x00\x00\x00\x00\x00\x00P5 %d %d 255\n\x00\x00\x00Please call SetImage before attempting recognition.\x00\x00\x00\x00\x00
\n\x00\x00\x00\x00\x00
\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00\x00\x00\x00\x00\x00\x00\x00\n \x00\x00\x00\n

\n\x00\x00\x00\x00\x00\x00
\n\x00\x00\x00\x00\x00\x00
\n\x00\x00\x00\x00\x00\x00\x00%s %d %d %d %d %d\n\x00\x00\x00\x00\x00\x00\u00ac \x00\x00\u001c \x00\x00\u001d \x00\x00\u0018 \x00\x00\u0019 \x00\x00\" \x00\x00\u0014 \x00\x00\x00\x00\x00\x00\u00a2\x00\x00\x00\"\x00\x00\x00\"\x00\x00\x00'\x00\x00\x00'\x00\x00\x00\u00b7\x00\x00\x00-\x00\x00\x00\x00\x00\x00\x00Trying to adapt \"%s\" to \"%s\"\n\x00\x00\x00Please call Init before attempting to set an image.\x00\x00\x00\x00\x00../api/baseapi.cpp\x00\x00\x00\x00\x00\x00Estimated resolution %d out of range! Corrected to %d\n\x00\x00Image too large: (%d, %d)\n\x00\x00\x00\x00\x00\x00osd\x00\x00\x00\x00\x00Warning: Auto orientation and script detection requested, but osd language failed to load\n\x00\x00\x00\x00\x00\x00<\x00\x00\x00\x00>\x00\x00\x00\x00&\x00\x00\x00"\x00\x00'\x00\x00\x00N9tesseract11TessBaseAPIE\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u00a0\u0005\x00\x00\x00\x00\x00\x00p\u0006\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0001\x00\x00\x00\x00\x00\x00\x0034_ConstTessMemberResultCallback_5_0ILb0EbN9tesseract12PageIteratorENS0_17PageIteratorLevelEPiS3_S3_S3_E\x00\x00\x00\x00\x00\x00\x00\x0018TessResultCallbackIbE\x00\u0080-\u001a\x00P\u0006\x00\x00\u00a8-\u001a\x00\u00e0\u0005\x00\x00h\u0006\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\b\u0007\x00\x00\u0003\x00\x00\x00\u0005\x00\x00\x00\u0002\x00\x00\x00\x00\x00\x00\x0034_ConstTessMemberResultCallback_6_0ILb0EbN9tesseract12PageIteratorENS0_17PageIteratorLevelEiPiS3_S3_S3_E\x00\x00\x00\x00\x00\x00\x00\u00a8-\u001a\x00\u0098\u0006\x00\x00h\u0006\x00\x00\x00\x00\x00\x00ELIST_ITERATOR::move_to_first\x00\x00\x00ELIST_ITERATOR::data\x00\x00\x00\x00ELIST2_ITERATOR::data\x00\x00\x00ELIST2_ITERATOR::cycled_list\x00\x00\x00\x00ELIST2_ITERATOR::mark_cycle_pt\x00\x00ELIST2_ITERATOR::set_to_list\x00\x00\x00\x00ELIST_ITERATOR::add_after_then_move\x00\x00\x00\x00\x00ELIST_ITERATOR::set_to_list\x00\x00\x00\x00\x00ELIST_ITERATOR::add_list_after\x00\x00ELIST_ITERATOR::at_first\x00\x00\x00\x00\x00\x00\x00\x00ELIST_ITERATOR::empty\x00\x00\x00ELIST_ITERATOR::cycled_list\x00\x00\x00\x00\x00ELIST_ITERATOR::mark_cycle_pt\x00\x00\x00index < len\x00\x00\x00\x00\x00../ccstruct/rejctmap.h\x00\x00' title=\"bbox \x00\x00\">\x00\x00\x00\x00\x00\x00; textangle \x00\x00\x00\x00; baseline \x00\x00\x00\x00\x00\x00\x00\x00\x00X\t\x00\x00\u0006\x00\x00\x00\u0007\x00\x00\x00\b\x00\x00\x00\t\x00\x00\x00\n\x00\x00\x00\u0001\x00\x00\x00\u0002\x00\x00\x00\u0001\x00\x00\x00\u0003\x00\x00\x00\x00\x00\x00\x00N9tesseract15MutableIteratorE\x00\x00\x00\u00a8-\u001a\x008\t\x00\x00`\u00a1\x00\x00\x00\x00\x00\x00debug\x00\x00\x00bbufferCreate\x00\x00\x00bb not made\x00\x00\x00\x00\x00byte array not made\x00\x00\x00\x00\x00bbufferDestroy\x00\x00bb not defined\x00\x00bbufferExtendArray\x00\x00\x00\x00\x00\x00pixExpandBinaryReplicate\x00\x00\x00\x00\x00\x00\x00\x00pixExpandBinaryPower2\x00\x00\x00factor must be in {2,4,8,16}\x00\x00\x00\x00tab2 not made\x00\x00\x00tab4 not made\x00\x00\x00\x00\x00\x00\x00\u00ff\u00ff\x00\x00\x00\x00\u00ff\u00ff\u00ff\u00ff\u00ff\u00ffmakeExpandTab8x\x00makeExpandTab4x\x00makeExpandTab2x\x00pixs not binary\x00hs must be at least 2\x00\x00\x00pixReduceRankBinaryCascade\x00\x00\x00\x00\x00\x00pixs must be binary\x00\x00\x00\x00\x00levels must not exceed 4\x00\x00\x00\x00\x00\x00\x00\x00Warning in %s: no reduction because level1 not > 0\n\x00\x00\x00\x00\x00pixReduceRankBinary2\x00\x00\x00\x00level must be in set {1,2,3,4}\x00\x00makeSubsampleTab2x\x00\x00\x00\x00\x00\x00\u00ff\u00ff\u00ff\u00ff\x00\x00\x00\u00ffpixReadStreamBmp\x00\x00\x00\x00\x00\x00\x00\x00item 1 not read\x00not bmf format\x00\x00item 2 not read\x00item 3 not read\x00item 4 not read\x00item 5 not read\x00item 6 not read\x00item 7 not read\x00item 8 not read\x00item 9 not read\x00item 10 not read\x00\x00\x00\x00\x00\x00\x00\x00item 11 not read\x00\x00\x00\x00\x00\x00\x00\x00item 12 not read\x00\x00\x00\x00\x00\x00\x00\x00item 13 not read\x00\x00\x00\x00\x00\x00\x00\x00item 14 not read\x00\x00\x00\x00\x00\x00\x00\x00item 15 not read\x00\x00\x00\x00\x00\x00\x00\x00item 16 not read\x00\x00\x00\x00\x00\x00\x00\x00item 17 not read\x00\x00\x00\x00\x00\x00\x00\x00item 18 not read\x00\x00\x00\x00\x00\x00\x00\x00cannot read compressed BMP files\x00\x00\x00\x00\x00\x00\x00\x00width < 1\x00\x00\x00\x00\x00\x00\x00height < 1\x00\x00\x00\x00\x00\x00depth not in {1, 2, 4, 8, 16, 24, 32}\x00\x00\x00invalid imagebytes\x00\x00\x00\x00\x00\x00invalid offset: too small\x00\x00\x00\x00\x00\x00\x00invalid offset: too large\x00\x00\x00\x00\x00\x00\x00colormap too large\x00\x00\x00\x00\x00\x00colormapBuf alloc fail\x00\x00colormap read fail\x00\x00\x00\x00\x00\x00BMP read fail\x00\x00\x00bmp(1) read fail\x00\x00\x00\x00\x00\x00\x00\x00bmp(2) read fail\x00\x00\x00\x00\x00\x00\x00\x00pixWriteStreamBmp\x00\x00\x00\x00\x00\x00\x00Warning in %s: writing 2 bpp bmp file; nobody else can read\n\x00\x00\x00\x00colormap alloc fail\x00\x00\x00\x00\x00colormap write fail\x00\x00\x00\x00\x00boxCreate\x00\x00\x00\x00\x00\x00\x00w and h not both >= 0\x00\x00\x00x < 0 and box off +quad\x00y < 0 and box off +quad\x00boxCopy\x00boxClone\x00\x00\x00\x00\x00\x00\x00\x00boxDestroy\x00\x00\x00\x00\x00\x00boxGetGeometry\x00\x00boxSetGeometry\x00\x00boxGetRefcount\x00\x00boxChangeRefcount\x00\x00\x00\x00\x00\x00\x00boxaCreate\x00\x00\x00\x00\x00\x00boxa ptrs not made\x00\x00\x00\x00\x00\x00boxaCopy\x00\x00\x00\x00\x00\x00\x00\x00boxaDestroy\x00\x00\x00\x00\x00boxaAddBox\x00\x00\x00\x00\x00\x00boxc not made\x00\x00\x00boxaExtendArray\x00boxaExtendArrayToSize\x00\x00\x00boxaGetCount\x00\x00\x00\x00boxaGetBox\x00\x00\x00\x00\x00\x00boxaGetBoxGeometry\x00\x00\x00\x00\x00\x00box not found!\x00\x00boxaReplaceBox\x00\x00boxClipToRectangle\x00\x00\x00\x00\x00\x00box outside rectangle\x00\x00\x00pixDrawBoxa\x00\x00\x00\x00\x00width must be >= 1\x00\x00\x00\x00\x00\x00Warning in %s: no boxes to draw; returning a copy\n\x00\x00\x00\x00\x00\x00l_byteaCreate\x00\x00\x00ba not made\x00\x00\x00\x00\x00ba array not made\x00\x00\x00\x00\x00\x00\x00l_byteaInitFromMem\x00\x00\x00\x00\x00\x00no bytes to initialize\x00\x00l_byteaDestroy\x00\x00l_byteaGetSize\x00\x00ba not defined\x00\x00l_byteaGetData\x00\x00l_byteaCopyData\x00l_byteaAppendData\x00\x00\x00\x00\x00\x00\x00newdata not defined\x00\x00\x00\x00\x00l_byteaAppendString\x00\x00\x00\x00\x00l_byteaFindEachSequence\x00&da not defined\x00sequence not defined\x00\x00\x00\x00l_byteaExtendArrayToSize\x00\x00\x00\x00\x00\x00\x00\x00new array not returned\x00\x00pixNumColors\x00\x00\x00\x00d not in {2, 4, 8, 32}\x00\x00Warning in %s: colormap size %d differs from actual colors\n\x00\x00\x00\x00\x00pixcmapCreate\x00\x00\x00depth not in {1,2,4,8}\x00\x00cta not made\x00\x00\x00\x00pixcmapCopy\x00\x00\x00\x00\x00cmaps not defined\x00\x00\x00\x00\x00\x00\x00cmap array not made\x00\x00\x00\x00\x00pixcmapDestroy\x00\x00pixcmapAddColor\x00cmap not defined\x00\x00\x00\x00\x00\x00\x00\x00no free color entries\x00\x00\x00pixcmapAddRGBA\x00\x00pixcmapAddNewColor\x00\x00\x00\x00\x00\x00&index not defined\x00\x00\x00\x00\x00\x00Warning in %s: no free color entries\n\x00\x00\x00pixcmapAddNearestColor\x00\x00pixcmapAddBlackOrWhite\x00\x00pixcmapGetCount\x00pixcmapGetFreeCount\x00\x00\x00\x00\x00pixcmapGetColor\x00&rval, &gval, &bval not all defined\x00\x00\x00\x00\x00index out of bounds\x00\x00\x00\x00\x00pixcmapGetRGBA\x00\x00&rval, &gval, &bval, &aval not all defined\x00\x00\x00\x00\x00\x00pixcmapGetIndex\x00pixcmapHasColor\x00pixcmapIsOpaque\x00&opaque not defined\x00\x00\x00\x00\x00pixcmapIsBlackAndWhite\x00\x00&blackwhite not defined\x00pixcmapGetRankIntensity\x00pixcmapGetNearestIndex\x00\x00cta not defined(!)\x00\x00\x00\x00\x00\x00pixcmapToArrays\x00&rmap, &gmap, &bmap not all defined\x00\x00\x00\x00\x00calloc fail for *map\x00\x00\x00\x00pixcmapSerializeToMemory\x00\x00\x00\x00\x00\x00\x00\x00&ncolors not defined\x00\x00\x00\x00cpc not 3 or 4\x00\x00pixcmapDeserializeFromMemory\x00\x00\x00\x00no entries\x00\x00\x00\x00\x00\x00ncolors > 256\x00\x00\x00pixcmapConvertToHex\x00\x00\x00\x00\x00no colors\x00\x00\x00\x00\x00\x00\x00%02x\x00\x00\x00\x00pixEqualWithAlpha\x00\x00\x00\x00\x00\x00\x00psame not defined\x00\x00\x00\x00\x00\x00\x00pix1 not defined\x00\x00\x00\x00\x00\x00\x00\x00pix2 not defined\x00\x00\x00\x00\x00\x00\x00\x00Info in %s: pix sizes differ\n\x00\x00\x00Info in %s: no colormaps, pix depths unequal, and one of them is RGB\n\x00\x00\x00Info in %s: one pix is 16 bpp\n\x00\x00Info in %s: failure to convert to 8 bpp\n\x00\x00\x00\x00\x00\x00\x00\x00pixEqualWithCmap\x00\x00\x00\x00\x00\x00\x00\x00&same not defined\x00\x00\x00\x00\x00\x00\x00Info in %s: both images don't have colormap\n\x00\x00\x00\x00Info in %s: pix depth not in {1, 2, 4, 8}\n\x00\x00\x00\x00\x00\x00Info in %s: colormap sizes are different\n\x00\x00\x00\x00\x00\x00\x00pixUsesCmapColor\x00\x00\x00\x00\x00\x00\x00\x00&color not defined\x00\x00\x00\x00\x00\x00pixConnComp\x00\x00\x00\x00\x00pixConnCompPixa\x00&pixa not defined\x00\x00\x00\x00\x00\x00\x00pixt1 not made\x00\x00pixt2 not made\x00\x00stack not made\x00\x00auxstack not made\x00\x00\x00\x00\x00\x00\x00box not made\x00\x00\x00\x00pixConnCompBB\x00\x00\x00pixCountConnComp\x00\x00\x00\x00\x00\x00\x00\x00nextOnPixelInRaster\x00\x00\x00\x00\x00pixSeedfillBB\x00\x00\x00stack not defined\x00\x00\x00\x00\x00\x00\x00pixSeedfill8BB\x00\x00pixSeedfill\x00\x00\x00\x00\x00pixSeedfill8\x00\x00\x00\x00popFillseg\x00\x00\x00\x00\x00\x00Error in %s: stack not defined\n\x00Error in %s: auxstack not defined\n\x00\x00\x00\x00\x00\x00pushFillseg\x00\x00\x00\x00\x00Error in %s: fillseg not made\n\x00\x00pushFillsegBB\x00\x00\x00pixBlockconv\x00\x00\x00\x00Warning in %s: kernel too large; reducing!\n\x00\x00\x00\x00\x00Info in %s: wc = %d, hc = %d\n\x00\x00\x00pixBlockconvGray\x00\x00\x00\x00\x00\x00\x00\x00pixBlockconvAccum\x00\x00\x00\x00\x00\x00\x00pixs not 1, 8 or 32 bpp\x00Error in %s: wc >= w || hc >=h\n\x00blockconvAccumLow\x00\x00\x00\x00\x00\x00\x00Error in %s: depth not 1, 8 or 32 bpp\n\x00\x00blockconvLow\x00\x00\x00\x00l_dnaCreate\x00\x00\x00\x00\x00da not made\x00\x00\x00\x00\x00double array not made\x00\x00\x00l_dnaDestroy\x00\x00\x00\x00da not defined\x00\x00l_dnaClone\x00\x00\x00\x00\x00\x00l_dnaEmpty\x00\x00\x00\x00\x00\x00l_dnaAddNumber\x00\x00l_dnaGetCount\x00\x00\x00l_dnaGetIValue\x00\x00l_dnaGetIArray\x00\x00l_dnaGetRefcount\x00\x00\x00\x00\x00\x00\x00\x00l_dnaChangeRefcount\x00\x00\x00\x00\x00l_dnaaCreate\x00\x00\x00\x00daa not made\x00\x00\x00\x00l_dna ptr array not made\x00\x00\x00\x00\x00\x00\x00\x00l_dnaaDestroy\x00\x00\x00l_dnaaAddDna\x00\x00\x00\x00daa not defined\x00l_dnaaGetCount\x00\x00l_dnaaGetDna\x00\x00\x00\x00l_dnaMakeDelta\x00\x00das not defined\x00l_dnaaExtendArray\x00\x00\x00\x00\x00\x00\x00l_dnaExtendArray\x00\x00\x00\x00\x00\x00\x00\x00&outsize not defined\x00\x00\x00\x00inarray not defined\x00\x00\x00\x00\x00insize not > 0\x00\x00chara not made\x00\x00encodeAscii85\x00\x00\x00outbuf not made\x00\u0001\x00\x00\x00U\x00\x00\x009\u001c\x00\x00\u00ed^\t\x00\u00b1\u0084\u001c\u0003\x00\x00\x00\x00pixUnsharpMasking\x00\x00\x00\x00\x00\x00\x00pixs not defined or 1 bpp\x00\x00\x00\x00\x00\x00\x00Warning in %s: no sharpening requested; clone returned\n\x00pixUnsharpMaskingGray\x00\x00\x00pixs not 8 bpp or has cmap\x00\x00\x00\x00\x00\x00pixUnsharpMaskingFast\x00\x00\x00halfwidth must be 1 or 2\x00\x00\x00\x00\x00\x00\x00\x00pixUnsharpMaskingGrayFast\x00\x00\x00\x00\x00\x00\x00pixUnsharpMaskingGray2D\x00fpixCreate\x00\x00\x00\x00\x00\x00Error in %s: requested w = %d, h = %d\n\x00\x00CALLOC fail for fpixd\x00\x00\x00CALLOC fail for data\x00\x00\x00\x00fpix not defined\x00\x00\x00\x00\x00\x00\x00\x00fpixDestroy\x00\x00\x00\x00\x00fpixSetDimensions\x00\x00\x00\x00\x00\x00\x00fpixGetWpl\x00\x00\x00\x00\x00\x00fpixSetWpl\x00\x00\x00\x00\x00\x00fpixGetRefcount\x00fpixChangeRefcount\x00\x00\x00\x00\x00\x00fpixGetData\x00\x00\x00\x00\x00fpixSetData\x00\x00\x00\x00\x00pixReadStreamGif\x00\x00\x00\x00\x00\x00\x00\x00pixWriteStreamGif\x00\x00\x00\x00\x00\x00\x00generatePtaLine\x00generatePtaWideLine\x00\x00\x00\x00\x00Warning in %s: width < 1; setting to 1\n\x00ptaj not made\x00\x00\x00generatePtaBox\x00\x00box has w = 0 or h = 0\x00\x00generatePtaBoxa\x00boxa not defined\x00\x00\x00\x00\x00\x00\x00\x00generatePtaPolyline\x00\x00\x00\x00\x00ptas not defined\x00\x00\x00\x00\x00\x00\x00\x00pixRenderPta\x00\x00\x00\x00invalid op\x00\x00\x00\x00\x00\x00pixRenderPtaArb\x00depth not in {1,2,4,8,32}\x00\x00\x00\x00\x00\x00\x00pixRenderBoxArb\x00pixRenderBoxaArb\x00\x00\x00\x00\x00\x00\x00\x00pixRenderPolyline\x00\x00\x00\x00\x00\x00\x00pixRenderPolylineArb\x00\x00\x00\x00pixReadStreamJp2k\x00\x00\x00\x00\x00\x00\x00pixWriteStreamJp2k\x00\x00\x00\x00\x00\x00pixReadStreamJpeg\x00\x00\x00\x00\x00\x00\x00freadHeaderJpeg\x00fgetJpegResolution\x00\x00\x00\x00\x00\x00fgetJpegComment\x00pixWriteJpeg\x00\x00\x00\x00pixWriteStreamJpeg\x00\x00\x00\x00\x00\x00pixDilate\x00\x00\x00\x00\x00\x00\x00processMorphArgs1 failed\x00\x00\x00\x00\x00\x00\x00\x00pixErode\x00\x00\x00\x00\x00\x00\x00\x00pixOpen\x00pixd not returned\x00\x00\x00\x00\x00\x00\x00pixClose\x00\x00\x00\x00\x00\x00\x00\x00pixDilateBrick\x00\x00hsize and vsize not >= 1\x00\x00\x00\x00\x00\x00\x00\x00pixErodeBrick\x00\x00\x00pixOpenBrick\x00\x00\x00\x00pixCloseBrick\x00\x00\x00pixCloseSafeBrick\x00\x00\x00\x00\x00\x00\x00processMorphArgs2\x00\x00\x00\x00\x00\x00\x00sel of size 0\x00\x00\x00processMorphArgs1\x00\x00\x00\x00\x00\x00\x00&pixt not defined\x00\x00\x00\x00\x00\x00\x00numaCreate\x00\x00\x00\x00\x00\x00number array not made\x00\x00\x00numaDestroy\x00\x00\x00\x00\x00numaClone\x00\x00\x00\x00\x00\x00\x00numaAddNumber\x00\x00\x00index not in {0...n - 1}\x00\x00\x00\x00\x00\x00\x00\x00numaReplaceNumber\x00\x00\x00\x00\x00\x00\x00numaGetCount\x00\x00\x00\x00numaSetCount\x00\x00\x00\x00numaGetIValue\x00\x00\x00&ival not defined\x00\x00\x00\x00\x00\x00\x00numaSetValue\x00\x00\x00\x00numaGetIArray\x00\x00\x00numaGetFArray\x00\x00\x00numaGetRefcount\x00numaChangeRefcount\x00\x00\x00\x00\x00\x00numaaCreate\x00\x00\x00\x00\x00naa not made\x00\x00\x00\x00numa ptr array not made\x00naa not defined\x00numaaDestroy\x00\x00\x00\x00numaaAddNuma\x00\x00\x00\x00numaaExtendArray\x00\x00\x00\x00\x00\x00\x00\x00numaaGetCount\x00\x00\x00numaaGetNuma\x00\x00\x00\x00numaExtendArray\x00na not defined\x00\x00numaMakeSequence\x00\x00\x00\x00\x00\x00\x00\x00numaGetSortIndex\x00\x00\x00\x00\x00\x00\x00\x00iarray not made\x00pixGenHalftoneMask\x00\x00\x00\x00\x00\x00pixSetMaskedCmap\x00\x00\x00\x00\x00\x00\x00\x00no colormap in pixs\x00\x00\x00\x00\x00depth not in {2,4,8}\x00\x00\x00\x00no room in cmap\x00pdf data not made\x00\x00\x00\x00\x00\x00\x00Error in %s: pdf data not written to file\n\x00\x00\x00\x00\x00\x00Error in %s: no pdf files made\n\x00selectDefaultPdfEncoding\x00\x00\x00\x00\x00\x00\x00\x00&type not defined\x00\x00\x00\x00\x00\x00\x00type selection failure\x00\x00pixaConvertToPdf\x00\x00\x00\x00\x00\x00\x00\x00conversion to pdf failed\x00\x00\x00\x00\x00\x00\x00\x00pixaConvertToPdfData\x00\x00\x00\x00Error in %s: pix[%d] not retrieved\n\x00\x00\x00\x00\x00Error in %s: encoding type selection failed for pix[%d]\n\x00\x00\x00\x00\x00\x00\x00\x00Error in %s: pdf encoding failed for pix[%d]\n\x00\x00\x00pixWriteStreamPdf\x00\x00\x00\x00\x00\x00\x00failure writing pdf data to stream\x00\x00\x00\x00\x00\x00pixWriteMemPdf\x00\x00&data or","i8", -B,q.g+152); -C(" &nbytes not defined\x00\x00\x00\x00pixConvertToPdfData\x00\x00\x00\x00\x00cid not made\x00\x00\x00\x00lpd not made\x00\x00\x00\x00pdf output not made\x00\x00\x00\x00\x00ptraConcatenatePdfToData\x00\x00\x00\x00\x00\x00\x00\x00pa_data not defined\x00\x00\x00\x00\x00Error in %s: can't parse file %d; skipping\n\x00\x00\x00\x00\x00no parsable pdf files found\x00\x00\x00\x00\x00&cid not defined\x00\x00\x00\x00\x00\x00\x00\x00fname not defined\x00\x00\x00\x00\x00\x00\x00cmapdata not made\x00\x00\x00\x00\x00\x00\x00l_generateJpegData\x00\x00\x00\x00\x00\x00datacomp not extracted\x00\x00invalid conversion type\x00Warning in %s: pixs has cmap; using flate encoding\n\x00\x00\x00\x00\x00Warning in %s: pixs has < 8 bpp; using flate encoding\n\x00\x00Warning in %s: pixs has > 1 bpp; using flate encoding\n\x00\x00jpeg data not made\x00\x00\x00\x00\x00\x00g4 data not made\x00\x00\x00\x00\x00\x00\x00\x00flate data not made\x00\x00\x00\x00\x00pixGenerateCIData\x00\x00\x00\x00\x00\x00\x00l_generateG4Data\x00\x00\x00\x00\x00\x00\x00\x00l_CIDataDestroy\x00pdfdataDestroy\x00\x00 0 R\x00\x00\x00\x00generatePagesObjStringPdf\x00\x00\x00\x00\x00\x00\x00napage not defined\x00\x00\x00\x00\x00\x00 %d 0 R \x00\x00\x00\x00\x00\x00\x00\x003 0 obj\n<<\n/Type /Pages\n/Kids [%s]\n/Count %d\n>>\n\x00\x00\x00\x00\x00\x00\x00\x00parseTrailerPdf\x00bas not defined\x00%PDF-1.\x00PDF header signature not found\x00\x00startxref\n\x00\x00\x00\x00\x00\x00startxref not found!\x00\x00\x00\x00%d\n\x00\x00\x00\x00\x00xrefloc not found!\x00\x00\x00\x00\x00\x00invalid xrefloc!\x00\x00\x00\x00\x00\x00\x00\x000 %d\x00\x00\x00\x00nobj not found\x00\x00%d 0 obj\x00\x00\x00\x00\x00\x00\x00\x00Error in %s: bad trailer for object %d\n\x00Info in %s: rebuilding pdf trailer\n\x00\x00\x00\x00\x00 0 obj\n\x00xref\x00\x00\x00\x00makeTrailerStringPdf\x00\x00\x00\x00daloc not defined\x00\x00\x00\x00\x00\x00\x00xref\n0 %d\n0000000000 65535 f \n\x00\x00%010d 00000 n \n\x00trailer\n<<\n/Size %d\n/Root 1 0 R\n/Info 2 0 R\n>>\nstartxref\n%d\n%%%%EOF\n\x00\x00\x00\x00l_generatePdf\x00\x00\x00lpd not defined\x00generateOutputDataPdf\x00\x00\x00cid not found\x00\x00\x00pdfdataGetCid\x00\x00\x00invalid image index\x00\x00\x00\x00\x00generateColormapStringsPdf\x00\x00\x00\x00\x00\x00%d 0 obj\n[ /Indexed /DeviceRGB\n%d\n%s\n]\nendobj\n\x00\x00generatePreXStringsPdf\x00\x00/ImageMask true\n/ColorSpace /DeviceGray\x00/ColorSpace /DeviceGray\x00/BitsPerComponent 1\n/Interpolate true\x00\x00\x00/Filter /CCITTFaxDecode\n/DecodeParms\n<<\n/K -1\n/Columns %d\n>>\x00\x00\x00\x00/ColorSpace /DeviceRGB\x00\x00Error in %s: in jpeg: spp != 1 && spp != 3\n\x00\x00\x00\x00\x00/BitsPerComponent 8\x00\x00\x00\x00\x00/Filter /DCTDecode\x00\x00\x00\x00\x00\x00Error in %s: in jp2k: spp != 1 && spp != 3\n\x00\x00\x00\x00\x00/Filter /JPXDecode\x00\x00\x00\x00\x00\x00/ColorSpace %d 0 R\x00\x00\x00\x00\x00\x00/ColorSpace /DeviceGray\n/Decode [1 0]\x00\x00\x00Error in %s: unknown colorspace: spp = %d\n\x00\x00\x00\x00\x00\x00/BitsPerComponent %d\x00\x00\x00\x00/Filter /FlateDecode\x00\x00\x00\x00/DecodeParms\n<<\n /Columns %d\n /Predictor 14\n /Colors %d\n /BitsPerComponent %d\n>>\n\x00\x00\x00%d 0 obj\n<<\n/Length %lu\n/Subtype /Image\n%s\n/Width %d\n/Height %d\n%s\n%s\n%s>>\nstream\n\x00\x00\x00\x00\x00\x00generateContentStringPdf\x00\x00\x00\x00\x00\x00\x00\x00calloc fail for buf\x00\x00\x00\x00\x00q %.4f %.4f %.4f %.4f %.4f %.4f cm /Im%d Do Q\n\x00\x00cstr not found\x00\x005 0 obj\n<< /Length %d >>\nstream\n%sendstream\nendobj\n\x00\x00\x00\x00\x00generatePageStringPdf\x00\x00\x00/Im%d %d 0 R \x00xstr not found\x00\x004 0 obj\n<<\n/Type /Page\n/Parent 3 0 R\n/MediaBox [%d %d %d %d]\n/Contents 5 0 R\n/Resources\n<<\n/XObject << %s >>\n/ProcSet [ /ImageB /ImageI /ImageC ]\n>>\n>>\nendobj\n\x00%PDF-1.5\n\x00\x00\x00\x00\x00\x00\x001 0 obj\n<<\n/Type /Catalog\n/Pages 3 0 R\n>>\nendobj\n\x00\x00\x00\x00\x00\x00\x002 0 obj\n<<\n\x00\x00\x00\x00\x00/CreationDate (D:%s)\n\x00\x00\x00/Producer (leptonica: %s)\n\x00\x00\x00\x00\x00\x00/Title (%s)\n\x00\x00\x00\x00>>\nendobj\n\x00\x00\x00\x00\x00\x003 0 obj\n<<\n/Type /Pages\n/Kids [ 4 0 R ]\n/Count 1\n>>\n\x00\x00\x00\x00\nendstream\nendobj\n\x00\x00\x00\x00\x00\x00pixGenerateG4Data\x00\x00\x00\x00\x00\x00\x00lept\x00\x00\x00\x00/tmp/lept\x00\x00\x00\x00\x00\x00\x00temp.tif\x00\x00\x00\x00\x00\x00\x00\x00pixGenerateJpegData\x00\x00\x00\x00\x00pixs not 8 or 32 bpp\x00\x00\x00\x00temp.jpg\x00\x00\x00\x00\x00\x00\x00\x00pixGenerateFlateData\x00\x00\x00\x00datacomp not made\x00\x00\x00\x00\x00\x00\x00pixCreate\x00\x00\x00\x00\x00\x00\x00pixCreateNoInit\x00pix_malloc fail for data\x00\x00\x00\x00\x00\x00\x00\x00pixCreateTemplate\x00\x00\x00\x00\x00\x00\x00pixCreateTemplateNoInit\x00pixCreateHeader\x00depth must be {1, 2, 4, 8, 16, 24, 32}\x00\x00Error in %s: requested w = %d, h = %d, d = %d\n\x00\x00requested bytes >= 2^31\x00CALLOC fail for pixd\x00\x00\x00\x00pixClone\x00\x00\x00\x00\x00\x00\x00\x00pixDestroy\x00\x00\x00\x00\x00\x00Warning in %s: ptr address is null!\n\x00\x00\x00\x00pixCopy\x00reallocation of data failed\x00\x00\x00\x00\x00pixResizeImageData\x00\x00\x00\x00\x00\x00pixCopyColormap\x00cmapd not made\x00\x00pixSizesEqual\x00\x00\x00pix1 and pix2 not both defined\x00\x00pixGetWidth\x00\x00\x00\x00\x00pixSetWidth\x00\x00\x00\x00\x00width must be >= 0\x00\x00\x00\x00\x00\x00pixGetHeight\x00\x00\x00\x00pixSetHeight\x00\x00\x00\x00h must be >= 0\x00\x00pixGetDepth\x00\x00\x00\x00\x00pixSetDepth\x00\x00\x00\x00\x00d must be >= 1\x00\x00pixGetDimensions\x00\x00\x00\x00\x00\x00\x00\x00pixGetSpp\x00\x00\x00\x00\x00\x00\x00pixSetSpp\x00\x00\x00\x00\x00\x00\x00spp must be >= 1\x00\x00\x00\x00\x00\x00\x00\x00pixCopySpp\x00\x00\x00\x00\x00\x00pixGetWpl\x00\x00\x00\x00\x00\x00\x00pixSetWpl\x00\x00\x00\x00\x00\x00\x00pixGetRefcount\x00\x00pixChangeRefcount\x00\x00\x00\x00\x00\x00\x00pixGetXRes\x00\x00\x00\x00\x00\x00pixSetXRes\x00\x00\x00\x00\x00\x00pixGetYRes\x00\x00\x00\x00\x00\x00pixSetYRes\x00\x00\x00\x00\x00\x00pixCopyResolution\x00\x00\x00\x00\x00\x00\x00pixScaleResolution\x00\x00\x00\x00\x00\x00pixGetInputFormat\x00\x00\x00\x00\x00\x00\x00pixSetInputFormat\x00\x00\x00\x00\x00\x00\x00pixCopyInputFormat\x00\x00\x00\x00\x00\x00pixGetText\x00\x00\x00\x00\x00\x00pixSetText\x00\x00\x00\x00\x00\x00pixCopyText\x00\x00\x00\x00\x00pixGetColormap\x00\x00pixSetColormap\x00\x00pixDestroyColormap\x00\x00\x00\x00\x00\x00pixGetData\x00\x00\x00\x00\x00\x00pixSetData\x00\x00\x00\x00\x00\x00pixFreeData\x00\x00\x00\x00\x00pixGetLinePtrs\x00\x00lines not made\x00\x00pixGetPixel\x00\x00\x00\x00\x00x out of bounds\x00y out of bounds\x00depth must be in {1,2,4,8,16,32} bpp\x00\x00\x00\x00pixSetPixel\x00\x00\x00\x00\x00pixClearPixel\x00\x00\x00pixFlipPixel\x00\x00\x00\x00pixClearAll\x00\x00\x00\x00\x00pixSetAll\x00\x00\x00\x00\x00\x00\x00cmap entry does not exist\x00\x00\x00\x00\x00\x00\x00pixSetAllArbitrary\x00\x00\x00\x00\x00\x00Warning in %s: index not in colormap; using last color\n\x00Warning in %s: val too large for depth; using maxval\n\x00\x00\x00pixSetBlackOrWhite\x00\x00\x00\x00\x00\x00pixClearInRect\x00\x00pixSetInRect\x00\x00\x00\x00pixs not defined or not 32 bpp\x00\x00pixSetPadBits\x00\x00\x00pixSetOrClearBorder\x00\x00\x00\x00\x00pixCopyBorder\x00\x00\x00pixAddBorder\x00\x00\x00\x00pixAddBorderGeneral\x00\x00\x00\x00\x00pixRemoveBorder\x00pixRemoveBorderGeneral\x00\x00width must be > 0\x00\x00\x00\x00\x00\x00\x00height must be > 0\x00\x00\x00\x00\x00\x00pixShiftAndTransferAlpha\x00\x00\x00\x00\x00\x00\x00\x00pixCreateRGBImage\x00\x00\x00\x00\x00\x00\x00pixr not defined\x00\x00\x00\x00\x00\x00\x00\x00pixg not defined\x00\x00\x00\x00\x00\x00\x00\x00pixb not defined\x00\x00\x00\x00\x00\x00\x00\x00input pix not all 8 bpp\x00widths not the same\x00\x00\x00\x00\x00heights not the same\x00\x00\x00\x00pixGetRGBComponent\x00\x00\x00\x00\x00\x00invalid comp\x00\x00\x00\x00pixSetRGBComponent\x00\x00\x00\x00\x00\x00Warning in %s: images sizes not equal\n\x00\x00pixGetRGBComponentCmap\x00\x00pixs not cmapped\x00\x00\x00\x00\x00\x00\x00\x00alpha in cmaps not supported\x00\x00\x00\x00pixCopyRGBComponent\x00\x00\x00\x00\x00composeRGBPixel\x00&pixel not defined\x00\x00\x00\x00\x00\x00composeRGBAPixel\x00\x00\x00\x00\x00\x00\x00\x00pixEndianByteSwap\x00\x00\x00\x00\x00\x00\x00pixGetRasterData\x00\x00\x00\x00\x00\x00\x00\x00pixSetMasked\x00\x00\x00\x00Warning in %s: no mask; nothing to do\n\x00\x00pixm not 1 bpp\x00\x00pixd not 1, 2, 4, 8, 16 or 32 bpp\x00\x00\x00\x00\x00\x00\x00Warning in %s: pixd and pixm sizes differ\n\x00\x00\x00\x00\x00\x00shouldn't get here\x00\x00\x00\x00\x00\x00pixInvert\x00\x00\x00\x00\x00\x00\x00pixOr\x00\x00\x00pixs1 not defined\x00\x00\x00\x00\x00\x00\x00pixs2 not defined\x00\x00\x00\x00\x00\x00\x00cannot have pixs2 == pixd\x00\x00\x00\x00\x00\x00\x00depths of pixs* unequal\x00pixAnd\x00\x00pixXor\x00\x00pixSubtract\x00\x00\x00\x00\x00pixZero\x00&empty not defined\x00\x00\x00\x00\x00\x00pixForegroundFraction\x00\x00\x00&fract not defined\x00\x00\x00\x00\x00\x00pix not defined or not 1 bpp\x00\x00\x00\x00pixCountPixels\x00\x00pix undefined or not 1 bpp\x00\x00\x00\x00\x00\x00pixCountPixelsByRow\x00\x00\x00\x00\x00pixCountPixelsInRow\x00\x00\x00\x00\x00row out of bounds\x00\x00\x00\x00\x00\x00\x00makePixelSumTab8\x00\x00\x00\x00\x00\x00\x00\x00pixGetGrayHistogram\x00\x00\x00\x00\x00depth not in {1,2,4,8,16}\x00\x00\x00\x00\x00\x00\x00na not made\x00\x00\x00\x00\x00illegal depth\x00\x00\x00no output requested\x00\x00\x00\x00\x00pixs not defined or not 1 bpp\x00\x00\x00pixClipRectangle\x00\x00\x00\x00\x00\x00\x00\x00Warning in %s: box doesn't overlap pix\n\x00pixClipToForeground\x00\x00\x00\x00\x00pixClipBoxToForeground\x00\x00box not within image\x00\x00\x00\x00pixScanForForeground\x00\x00\x00\x00&loc not defined\x00\x00\x00\x00\x00\x00\x00\x00invalid box\x00\x00\x00\x00\x00invalid scanflag\x00\x00\x00\x00\x00\x00\x00\x00pixaCreate\x00\x00\x00\x00\x00\x00pixa not made\x00\x00\x00pix ptrs not made\x00\x00\x00\x00\x00\x00\x00boxa not made\x00\x00\x00pixaDestroy\x00\x00\x00\x00\x00pixa not defined\x00\x00\x00\x00\x00\x00\x00\x00pixaAddPix\x00\x00\x00\x00\x00\x00pixaAddBox\x00\x00\x00\x00\x00\x00box not defined\x00pixaExtendArrayToSize\x00\x00\x00pixaGetCount\x00\x00\x00\x00pixaChangeRefcount\x00\x00\x00\x00\x00\x00pixaGetPix\x00\x00\x00\x00\x00\x00Error in %s: no pix at pixa[%d]\n\x00\x00\x00\x00\x00\x00\x00\x00pix not found!\x00\x00pixaReplacePix\x00\x00pixaExtendArray\x00pixaccCreate\x00\x00\x00\x00pixacc not made\x00pixaccDestroy\x00\x00\x00Warning in %s: ptr address is NULL!\x00\x00\x00\x00\x00pixaccFinal\x00\x00\x00\x00\x00pixacc not defined\x00\x00\x00\x00\x00\x00pixaccGetPix\x00\x00\x00\x00pixaccGetOffset\x00pixaccAdd\x00\x00\x00\x00\x00\x00\x00pixaccSubtract\x00\x00pixaccMultConst\x00pixFinalAccumulate\x00\x00\x00\x00\x00\x00pixAccumulate\x00\x00\x00pixd not defined or not 32 bpp\x00\x00pixs not 1, 8, 16 or 32 bpp\x00\x00\x00\x00\x00op must be in {L_ARITH_ADD, L_ARITH_SUBTRACT}\x00\x00\x00pixMultConstAccumulate\x00\x00pixMaxDynamicRange\x00\x00\x00\x00\x00\x00pixs not in {4,8,16,32} bpp\x00\x00\x00\x00\x00makeLogBase2Tab\x00getLogBase2\x00\x00\x00\x00\x00logtab not defined\x00\x00\x00\x00\x00\x00pixs not 8 bpp\x00\x00pixRemoveColormap\x00\x00\x00\x00\x00\x00\x00Warning in %s: Invalid type; converting based on src\n\x00\x00\x00pixs must be {1,2,4,8} bpp\x00\x00\x00\x00\x00\x00colormap arrays not made\x00\x00\x00\x00\x00\x00\x00\x00Warning in %s: not 1 bpp; can't remove cmap to binary\n\x00\x00calloc fail for graymap\x00calloc fail for lut\x00\x00\x00\x00\x00Warning in %s: pixel value out of bounds\n\x00\x00\x00\x00\x00\x00\x00pixAddGrayColormap8\x00\x00\x00\x00\x00pixs not defined or not 8 bpp\x00\x00\x00pixConvertRGBToGray\x00\x00\x00\x00\x00pixs not 32 bpp\x00pixConvert16To8\x00pixs not 16 bpp\x00pixUnpackBinary\x00depth not 2, 4, 8, 16 or 32 bpp\x00pixConvert1To16\x00tab not made\x00\x00\x00\x00pixConvert1To32\x00pixConvert1To2\x00\x00pixConvert1To4\x00\x00pixConvert1To8\x00\x00pixConvert2To8\x00\x00pixs not 2 bpp\x00\x00pixConvert4To8\x00\x00pixs not 4 bpp\x00\x00depth not {1,2,4,8,16,32}\x00\x00\x00\x00\x00\x00\x00pixConvertTo8\x00\x00\x00pixConvertTo32\x00\x00depth not 1, 2, 4, 8, 16, 32 bpp\x00\x00\x00\x00\x00\x00\x00\x00pixConvert8To32\x00pixConvertTo8Or32\x00\x00\x00\x00\x00\x00\x00depth not 8 or 32 bpp\x00\x00\x00pixConvert24to32\x00\x00\x00\x00\x00\x00\x00\x00pixs not 24 bpp\x00pixConvertLossless\x00\x00\x00\x00\x00\x00pixs has colormap\x00\x00\x00\x00\x00\x00\x00depth > d\x00\x00\x00\x00\x00\x00\x00pixConvertForPSWrap\x00\x00\x00\x00\x00depth not in {1, 2, 4, 8, 16, 32}\x00\x00\x00\x00\x00\x00\x00pixReadStreamPng\x00\x00\x00\x00\x00\x00\x00\x00pixWriteStreamPng\x00\x00\x00\x00\x00\x00\x00pixReadStreamPnm\x00\x00\x00\x00\x00\x00\x00\x00header read failed\x00\x00\x00\x00\x00\x00read abend\x00\x00\x00\x00\x00\x00read error in 4\x00error in 5\x00\x00\x00\x00\x00\x0016 bpp error\x00\x00\x00\x00read error type 6\x00\x00\x00\x00\x00\x00\x00freadHeaderPnm\x00\x00P%d\n\x00\x00\x00\x00invalid read for type\x00\x00\x00invalid pnm file\x00\x00\x00\x00\x00\x00\x00\x00no data in file\x00%d %d\n\x00\x00invalid read for w,h\x00\x00\x00\x00Info in %s: invalid size: w = %d, h = %d\n\x00\x00\x00\x00\x00\x00\x00invalid read for maxval (2,5)\x00\x00\x00maxval = %d\n\x00\x00\x00\x00invalid maxval\x00\x00invalid read for maxval (3,6)\x00\x00\x00Warning in %s: unexpected maxval = %d\n\x00\x00pixWriteStreamPnm\x00\x00\x00\x00\x00\x00\x00d not in {1,2,4,8,16,24,32}\x00\x00\x00\x00\x00P4\n# Raw PBM file written by leptonica (www.leptonica.com)\n%d %d\n\x00\x00\x00\x00\x00\x00\x00P5\n# Raw PGM file written by leptonica (www.leptonica.com)\n%d %d\n%d\n\x00\x00\x00\x00P6\n# Raw PPM file written by leptonica (www.leptonica.com)\n%d %d\n255\n\x00\x00\x00image write fail\x00\x00\x00\x00\x00\x00\x00\x00pnmReadNextNumber\x00\x00\x00\x00\x00\x00\x00&val not defined\x00\x00\x00\x00\x00\x00\x00\x00end of file reached\x00\x00\x00\x00\x00char read is not a digit\x00\x00\x00\x00\x00\x00\x00\x00no whitespace found\x00\x00\x00\x00\x00invalid read\x00\x00\x00\x00pnmReadNextAsciiValue\x00\x00\x00pixWriteStreamPS\x00\x00\x00\x00\x00\x00\x00\x00pixc not made\x00\x00\x00pixWriteStringPS\x00\x00\x00\x00\x00\x00\x00\x00hexdata not made\x00\x00\x00\x00\x00\x00\x00\x00outstr not made\x00generateUncompressedPS\x00\x00hexdata not defined\x00\x00\x00\x00\x00%!Adobe-PS\x00\x00\x00\x00\x00\x00%%%%BoundingBox: %7.2f %7.2f %7.2f %7.2f\x00\x00\x00\x00\x00\x00\x00\x00{1 exch sub} settransfer %invert binary\x00\x00\x00\x00\x00\x00/bpl %d string def %%bpl as a string\x00\x00\x00\x00%7.2f %7.2f translate %%set image origin in pts\x00%7.2f %7.2f scale %%set image size in pts\x00\x00\x00%d %d %d %%image dimensions in pixels\x00\x00\x00[%d %d %d %d %d %d] %%mapping matrix: [w 0 0 -h 0 h]\x00\x00\x00\x00\x00\x00\x00\x00{currentfile bpl readhexstring pop} image\x00\x00\x00\x00\x00\x00\x00{currentfile bpl readhexstring pop} false 3 colorimage\x00\x00\nshowpage\x00\x00\x00\x00\x00\x00\x00getScaledParametersPS\x00\x00\x00Warning in %s: left edge < 0.0 inch\n\x00\x00\x00\x00Warning in %s: right edge > 8.5 inch\n\x00\x00\x00Warning in %s: bottom edge < 0.0 inch\n\x00\x00Warning in %s: top edge > 11.0 inch\n\x00\x00\x00\x00ptaCreate\x00\x00\x00\x00\x00\x00\x00pta not made\x00\x00\x00\x00x array not made\x00\x00\x00\x00\x00\x00\x00\x00y array not made\x00\x00\x00\x00\x00\x00\x00\x00ptaDestroy\x00\x00\x00\x00\x00\x00pta not defined\x00ptaClone\x00\x00\x00\x00\x00\x00\x00\x00ptaAddPt\x00\x00\x00\x00\x00\x00\x00\x00ptaGetRefcount\x00\x00ptaChangeRefcount\x00\x00\x00\x00\x00\x00\x00ptaGetCount\x00\x00\x00\x00\x00ptaGetPt\x00\x00\x00\x00\x00\x00\x00\x00invalid index\x00\x00\x00ptaGetIPt\x00\x00\x00\x00\x00\x00\x00ptaSetPt\x00\x00\x00\x00\x00\x00\x00\x00ptaExtendArrays\x00new x array not returned\x00\x00\x00\x00\x00\x00\x00\x00new y ar","i8", -B,q.g+10392); -C("ray not returned\x00\x00\x00\x00\x00\x00\x00\x00ptaJoin\x00ptad not defined\x00\x00\x00\x00\x00\x00\x00\x00istart > iend; no pts\x00\x00\x00ptraCreate\x00\x00\x00\x00\x00\x00pa not made\x00\x00\x00\x00\x00ptraDestroy\x00\x00\x00\x00\x00ptraAdd\x00pa not defined\x00\x00extension failure\x00\x00\x00\x00\x00\x00\x00ptraRemove\x00\x00\x00\x00\x00\x00index not in [0 ... imax]\x00\x00\x00\x00\x00\x00\x00ptraCompactArray\x00\x00\x00\x00\x00\x00\x00\x00Error in %s: index = %d; != nactual\n\x00\x00\x00\x00ptraGetMaxIndex\x00&maxindex not defined\x00\x00\x00ptraGetActualCount\x00\x00\x00\x00\x00\x00&count not defined\x00\x00\x00\x00\x00\x00ptraGetPtrToItem\x00\x00\x00\x00\x00\x00\x00\x00index not in [0 ... nalloc-1]\x00\x00\x00ptraExtendArray\x00pixRead\x00Error in %s: image file not found: %s\n\x00\x00pix not read\x00\x00\x00\x00pixReadStream\x00\x00\x00bmp: no pix returned\x00\x00\x00\x00jpeg: no pix returned\x00\x00\x00png: no pix returned\x00\x00\x00\x00tiff: no pix returned\x00\x00\x00pnm: no pix returned\x00\x00\x00\x00gif: no pix returned\x00\x00\x00\x00jp2: no pix returned\x00\x00\x00\x00webp: no pix returned\x00\x00\x00spix: no pix returned\x00\x00\x00Unknown format: no pix returned\x00&format not defined\x00\x00\x00\x00\x00findFileFormatStream\x00\x00\x00\x00truncated file\x00\x00failed to read first 12 bytes of file\x00\x00\x00findFileFormatBuffer\x00\x00\x00\x00byte buffer not defined\x00\u00ffO\u00ffQ\x00\x00\x00\x00pixRasterop\x00\x00\x00\x00\x00pixd not defined\x00\x00\x00\x00\x00\x00\x00\x00depths of pixs and pixd differ\x00\x00pixRasteropVip\x00\x00bw must be > 0\x00\x00\x00\x00\x00\x00\u0001\x00\x00\x00\u0003\x00\x00\x00\u0007\x00\x00\x00\u000f\x00\x00\x00\u001f\x00\x00\x00?\x00\x00\x00\u007f\x00\x00\x00\u00ff\x00\x00\x00\u00ff\u0001\x00\x00\u00ff\u0003\x00\x00\u00ff\u0007\x00\x00\u00ff\u000f\x00\x00\u00ff\u001f\x00\x00\u00ff?\x00\x00\u00ff\u007f\x00\x00\u00ff\u00ff\x00\x00\u00ff\u00ff\u0001\x00\u00ff\u00ff\u0003\x00\u00ff\u00ff\u0007\x00\u00ff\u00ff\u000f\x00\u00ff\u00ff\u001f\x00\u00ff\u00ff?\x00\u00ff\u00ff\u007f\x00\u00ff\u00ff\u00ff\x00\u00ff\u00ff\u00ff\u0001\u00ff\u00ff\u00ff\u0003\u00ff\u00ff\u00ff\u0007\u00ff\u00ff\u00ff\u000f\u00ff\u00ff\u00ff\u001f\u00ff\u00ff\u00ff?\u00ff\u00ff\u00ff\u007f\u00ff\u00ff\u00ff\u00ff","i8", -B,q.g+20632); -C("\u0080\x00\x00\x00\u00c0\x00\x00\x00\u00e0\x00\x00\x00\u00f0\x00\x00\x00\u00f8\x00\x00\x00\u00fc\x00\x00\x00\u00fe\x00\x00\x00\u00ff\x00\x00\u0080\u00ff\x00\x00\u00c0\u00ff\x00\x00\u00e0\u00ff\x00\x00\u00f0\u00ff\x00\x00\u00f8\u00ff\x00\x00\u00fc\u00ff\x00\x00\u00fe\u00ff\x00\x00\u00ff\u00ff\x00\u0080\u00ff\u00ff\x00\u00c0\u00ff\u00ff\x00\u00e0\u00ff\u00ff\x00\u00f0\u00ff\u00ff\x00\u00f8\u00ff\u00ff\x00\u00fc\u00ff\u00ff\x00\u00fe\u00ff\u00ff\x00\u00ff\u00ff\u00ff\u0080\u00ff\u00ff\u00ff\u00c0\u00ff\u00ff\u00ff\u00e0\u00ff\u00ff\u00ff\u00f0\u00ff\u00ff\u00ff\u00f8\u00ff\u00ff\u00ff\u00fc\u00ff\u00ff\u00ff\u00fe\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\x00\x00\x00\x00Operation %x invalid\n\x00\x00\x00Operation %d invalid\n\x00\x00\x00Operation %d not permitted here!\n\x00\x00\x00\x00\x00\x00\x00pixRotate\x00\x00\x00\x00\x00\x00\x00Info in %s: 1 bpp, large angle; rotate by sampling\n\x00\x00\x00\x00\x00Info in %s: 1 bpp; rotate by shear\n\x00\x00\x00\x00\x00pixEmbedForRotation\x00\x00\x00\x00\x00pixRotateBySampling\x00\x00\x00\x00\x00invalid depth\x00\x00\x00pixRotateAMColor\x00\x00\x00\x00\x00\x00\x00\x00pixs must be 32 bpp\x00\x00\x00\x00\x00pixRotateAMGray\x00pixs must be 8 bpp\x00\x00\x00\x00\x00\x00pixRotateShear\x00\x00Warning in %s: %6.2f radians; large angle for shear rotation\n\x00\x00\x00pixRotate2Shear\x00Warning in %s: %6.2f radians; large angle for 2-shear rotation\n\x00pix1 not made\x00\x00\x00pixRotate3Shear\x00Warning in %s: %6.2f radians; large angle for 3-shear rotation\n\x00pixRotateShearCenter\x00\x00\x00\x00sarrayCreate\x00\x00\x00\x00sa not made\x00\x00\x00\x00\x00textstr not defined\x00\x00\x00\x00\x00sarrayCreateLinesFromString\x00\x00\x00\x00\x00\r\n\x00\x00\x00\x00\x00\x00sarrayDestroy\x00\x00\x00sa not defined\x00\x00sarrayAddString\x00string not defined\x00\x00\x00\x00\x00\x00invalid copyflag\x00\x00\x00\x00\x00\x00\x00\x00sarrayGetCount\x00\x00sarrayGetString\x00index not valid\x00sarrayGetRefcount\x00\x00\x00\x00\x00\x00\x00sarrayChangeRefcount\x00\x00\x00\x00sarrayToString\x00\x00sarrayToStringRange\x00\x00\x00\x00\x00invalid addnlflag\x00\x00\x00\x00\x00\x00\x00first not valid\x00str not found\x00\x00\x00sarraySplitString\x00\x00\x00\x00\x00\x00\x00str not defined\x00separators not defined\x00\x00dirname not defined\x00\x00\x00\x00\x00getFilenamesInDirectory\x00pdir not opened\x00safiles not made\x00\x00\x00\x00\x00\x00\x00\x00sarrayExtendArray\x00\x00\x00\x00\x00\x00\x00new ptr array not returned\x00\x00\x00\x00\x00\x00pixScale\x00\x00\x00\x00\x00\x00\x00\x00pixScaleGeneral\x00pixs not {1,2,4,8,16,32} bpp\x00\x00\x00\x00scale factor <= 0\x00\x00\x00\x00\x00\x00\x00Warning in %s: scaling factors < 0.7; do regular scaling\n\x00\x00\x00\x00\x00\x00\x00pixScaleColorLI\x00pixs undefined or not 32 bpp\x00\x00\x00\x00pixScaleColor2xLI\x00\x00\x00\x00\x00\x00\x00pixScaleColor4xLI\x00\x00\x00\x00\x00\x00\x00pixScaleGrayLI\x00\x00pixs undefined, cmapped or not 8 bpp\x00\x00\x00\x00pixScaleGray2xLI\x00\x00\x00\x00\x00\x00\x00\x00pixScaleGray4xLI\x00\x00\x00\x00\x00\x00\x00\x00pixScaleSmooth\x00\x00Warning in %s: scaling factor not < 0.7; do regular scaling\n\x00\x00\x00\x00Warning in %s: pix has colormap; removing\n\x00\x00\x00\x00\x00\x00Warning in %s: depth not 8 or 32 bpp; do regular scaling\n\x00\x00\x00\x00\x00\x00\x00pixs too small\x00\x00pixd too small\x00\x00pixScaleAreaMap\x00pix not 2, 4, 8 or 32 bpp\x00\x00\x00\x00\x00\x00\x00Warning in %s: scaling factors not < 0.7; do regular scaling\n\x00\x00\x00pixScaleAreaMap2\x00\x00\x00\x00\x00\x00\x00\x00pixScaleBinary\x00\x00pixs must be 1 bpp\x00\x00\x00\x00\x00\x00pixScaleToGray\x00\x00pixs not 1 bpp\x00\x00scalefactor <= 0.0\x00\x00\x00\x00\x00\x00scalefactor >= 1.0\x00\x00\x00\x00\x00\x00scalefactor too small\x00\x00\x00pixScaleToGray2\x00sumtab not made\x00valtab not made\x00pixScaleToGray3\x00pixScaleToGray4\x00pixScaleToGray6\x00tab8 not made\x00\x00\x00pixScaleToGray8\x00pixScaleToGray16\x00\x00\x00\x00\x00\x00\x00\x00pixExpandReplicate\x00\x00\x00\x00\x00\x00depth not in {1,2,4,8,16,32}\x00\x00\x00\x00factor <= 0; invalid\x00\x00\x00\x00invalid depth\n\x00\x00pixScaleAndTransferAlpha\x00\x00\x00\x00\x00\x00\x00\x00pixs and pixd not both defined\x00\x00pixs not 32 bpp and 4 spp\x00\x00\x00\x00\x00\x00\x00pixd not 32 bpp\x00srow not made\x00\x00\x00scol not made\x00\x00\x00scaleSmoothLow\x00\x00scaleBinaryLow\x00\x00\x00\x00\x00\x00\u0001\x00\x00\x00\u0001\x00\x00\x00\u0002\x00\x00\x00makeSumTabSG2\x00\x00\x00calloc fail for tab\x00\x00\x00\x00\x00makeValTabSG2\x00\x00\x00\x00\x00\x00\x00\u0001\x00\x00\x00\u0001\x00\x00\x00\u0002\x00\x00\x00\u0001\x00\x00\x00\u0002\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00makeSumTabSG3\x00\x00\x00makeValTabSG3\x00\x00\x00\x00\x00\x00\x00\u0001\x00\x00\x00\u0001\x00\x00\x00\u0002\x00\x00\x00\u0001\x00\x00\x00\u0002\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0001\x00\x00\x00\u0002\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00makeSumTabSG4\x00\x00\x00makeValTabSG4\x00\x00\x00makeValTabSG6\x00\x00\x00makeValTabSG8\x00\x00\x00pixSeedfillBinary\x00\x00\x00\x00\x00\x00\x00pixs undefined or not 1 bpp\x00\x00\x00\x00\x00pixm undefined or not 1 bpp\x00\x00\x00\x00\x00connectivity not in {4,8}\x00\x00\x00\x00\x00\x00\x00pixt not made\x00\x00\x00pixDistanceFunction\x00\x00\x00\x00\x00!pixs or pixs not 1 bpp\x00seedfillBinaryLow\x00\x00\x00\x00\x00\x00\x00Error in %s: connectivity must be 4 or 8\n\x00\x00\x00\x00\x00\x00\x00selCreate\x00\x00\x00\x00\x00\x00\x00sel not made\x00\x00\x00\x00data not allocated\x00\x00\x00\x00\x00\x00selDestroy\x00\x00\x00\x00\x00\x00Warning in %s: ptr address is NULL!\n\x00\x00\x00\x00sel not defined\x00selCreateBrick\x00\x00h and w must both be > 0\x00\x00\x00\x00\x00\x00\x00\x00create2dIntArray\x00\x00\x00\x00\x00\x00\x00\x00ptr array not made\x00\x00\x00\x00\x00\x00array not made\x00\x00selGetParameters\x00\x00\x00\x00\x00\x00\x00\x00selSetOrigin\x00\x00\x00\x00selaFindMaxTranslations\x00&xp (etc) defined\x00\x00\x00\x00\x00\x00\x00pixHShear\x00\x00\x00\x00\x00\x00\x00pixs is colormapped\x00\x00\x00\x00\x00pixd not made\x00\x00\x00pixVShear\x00\x00\x00\x00\x00\x00\x00pixVShearIP\x00\x00\x00\x00\x00normalizeAngleForShear\x00\x00Warning in %s: angle close to pi/2; shifting away\n\x00\x00\x00\x00\x00\x00Warning in %s: angle close to -pi/2; shifting away\n\x00\x00\x00\x00\x00pixReadStreamSpix\x00\x00\x00\x00\x00\x00\x00data not read\x00\x00\x00pix not made\x00\x00\x00\x00pixWriteStreamSpix\x00\x00\x00\x00\x00\x00failure to write pix to memory\x00\x00pixSerializeToMemory\x00\x00\x00\x00&data and &nbytes not both defined\x00\x00\x00\x00\x00\x00data not made\x00\x00\x00pixDeserializeFromMemory\x00\x00\x00\x00\x00\x00\x00\x00invalid data\x00\x00\x00\x00invalid id string\x00\x00\x00\x00\x00\x00\x00cmap not made\x00\x00\x00Error in %s: imdatasize is inconsistent with nbytes\n\x00\x00\x00\x00lstackCreate\x00\x00\x00\x00lstack not made\x00lstack array not made\x00\x00\x00lstackDestroy\x00\x00\x00Warning in %s: ptr address is NULL\n\x00\x00\x00\x00\x00lstackAdd\x00\x00\x00\x00\x00\x00\x00lstack not defined\x00\x00\x00\x00\x00\x00item not defined\x00\x00\x00\x00\x00\x00\x00\x00lstackRemove\x00\x00\x00\x00lstackGetCount\x00\x00lstackExtendArray\x00\x00\x00\x00\x00\x00\x00new lstack array not defined\x00\x00\x00\x00pixReadStreamTiff\x00\x00\x00\x00\x00\x00\x00pixWriteStreamTiff\x00\x00\x00\x00\x00\x00getTiffResolution\x00\x00\x00\x00\x00\x00\x00findTiffCompression\x00\x00\x00\x00\x00extractG4DataFromFile\x00\x00\x00Error in %s: %s\n\x00\x00\x00\x00\x00\x00\x00\x00stringNew\x00\x00\x00\x00\x00\x00\x00Warning in %s: src not defined\n\x00dest not made\x00\x00\x00stringCopy\x00\x00\x00\x00\x00\x00dest not defined\x00\x00\x00\x00\x00\x00\x00\x00stringReplace\x00\x00\x00pdest not defined\x00\x00\x00\x00\x00\x00\x00scopy not made\x00\x00src not defined\x00stringJoin\x00\x00\x00\x00\x00\x00calloc fail for dest\x00\x00\x00\x00strtokSafe\x00\x00\x00\x00\x00\x00seps not defined\x00\x00\x00\x00\x00\x00\x00\x00&saveptr not defined\x00\x00\x00\x00stringFindSubstr\x00\x00\x00\x00\x00\x00\x00\x00arrayFindEachSequence\x00\x00\x00data & sequence not both defined\x00\x00\x00\x00\x00\x00\x00\x00arrayFindSequence\x00\x00\x00\x00\x00\x00\x00&offset and &found not defined\x00\x00reallocNew\x00\x00\x00\x00\x00\x00input data not defined\x00\x00newdata not made\x00\x00\x00\x00\x00\x00\x00\x00l_binaryRead\x00\x00\x00\x00pnbytes not defined\x00\x00\x00\x00\x00file stream not opened\x00\x00l_binaryReadStream\x00\x00\x00\x00\x00\x00&nbytes not defined\x00\x00\x00\x00\x00fp not defined\x00\x00Error in %s: calloc fail for data\n\x00\x00\x00\x00\x00\x00l_binaryReadSelectStream\x00\x00\x00\x00\x00\x00\x00\x00&nread not defined\x00\x00\x00\x00\x00\x00calloc fail for data\x00\x00\x00\x00Info in %s: %lu bytes requested; %lu bytes read\n\x00\x00\x00\x00\x00\x00\x00\x00l_binaryWrite\x00\x00\x00data not defined\x00\x00\x00\x00\x00\x00\x00\x00nbytes must be > 0\x00\x00\x00\x00\x00\x00w\x00\x00\x00\x00\x00\x00\x00operation not one of {'w','a'}\x00\x00fnbytesInFile\x00\x00\x00stream not open\x00l_binaryCopy\x00\x00\x00\x00datas not defined\x00\x00\x00\x00\x00\x00\x00datad not made\x00\x00fopenReadStream\x00file not found\x00\x00fopenWriteStream\x00\x00\x00\x00\x00\x00\x00\x00lept_mkdir\x00\x00\x00\x00\x00\x00subdir not defined\x00\x00\x00\x00\x00\x00subdir not an actual subdirectory\x00\x00\x00\x00\x00\x00\x00/tmp\x00\x00\x00\x00lept_rmdir\x00\x00\x00\x00\x00\x00directory name not made\x00Error in %s: directory %s does not exist!\n\x00\x00\x00\x00\x00\x00lept_rmfile\x00\x00\x00\x00\x00filepath undefined or empty\x00\x00\x00\x00\x00splitPathAtDirectory\x00\x00\x00\x00null input for both strings\x00\x00\x00\x00\x00pathname not defined\x00\x00\x00\x00pathJoin\x00\x00\x00\x00\x00\x00\x00\x00fname starts with '.'\x00\x00\x00appendSubdirectory\x00\x00\x00\x00\x00\x00dir and subdir not both defined\x00convertSepCharsInPath\x00\x00\x00path not defined\x00\x00\x00\x00\x00\x00\x00\x00genPathname\x00\x00\x00\x00\x00no input\x00\x00\x00\x00\x00\x00\x00\x00no current dir found\x00\x00\x00\x00pathout not made\x00\x00\x00\x00\x00\x00\x00\x00genTempFilename\x00tail can't contain '/'\x00\x00%s/%d_%d_\x00\x00\x00\x00\x00\x00\x00leptonica-%d.%d\x00%y%m%d%H%M%S\x00\x00\x00\x00pixReadStreamWebP\x00\x00\x00\x00\x00\x00\x00pixWriteStreamWebP\x00\x00\x00\x00\x00\x00invalid format\x00\x00pixWrite\x00\x00\x00\x00\x00\x00\x00\x00pix not defined\x00filename not defined\x00\x00\x00\x00stream not opened\x00\x00\x00\x00\x00\x00\x00pix not written to stream\x00\x00\x00\x00\x00\x00\x00pixWriteStream\x00\x00stream not defined\x00\x00\x00\x00\x00\x00unknown format\x00\x00pixChooseOutputFormat\x00\x00\x00&data not defined\x00\x00\x00\x00\x00\x00\x00&size not defined\x00\x00\x00\x00\x00\x00\x00pixs not defined","i8", -B,q.g+21815); -C('pixDisplayWriteFormat\x00\x00\x00display\x00file.%03d.png\x00\x00\x00/tmp/display\x00\x00\x00\x00file.%03d.jpg\x00\x00\x00function not present\x00\x00\x00\x00zlibCompress\x00\x00\x00\x00Running word_adaptable() for %s rating %.4f certainty %.4f\n\x00\x00\x00\x00\x00adaption disabled\n\x00\x00\x00\x00\x00\x00tess_would_adapt bit is false\n\x00\x00tess_accepted bit is false\n\x00\x00\x00\x00\x00word not in dawgs\n\x00\x00\x00\x00\x00\x00word has ell conflict\n\x00\x00word contains spaces\n\x00\x00\x00word is ambiguous\n\x00\x00\x00\x00\x00\x00returning status %d\n\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00\u00e0\u00f3\u0005\x00\x00\x00\x00\x00\b\u00f4\u0005\x00\x00\x00\x00\x00`\u00f4\u0005\x00\x00\x00\x00\x00\x00\u00f5\u0005\x00\x00\x00\x00\x00 \u00f5\u0005\x00\x00\x00\x00\x00FAILURE! Couldn\'t find a matching blob\x00\x00APPLY_BOXES:\n\x00\x00\x00 Boxes read from boxfile: %6d\n\x00\x00\x00\x00\x00\x00\x00 Boxes failed resegmentation: %6d\n\x00\x00\x00row xheight=%g, but median xheight = %g\n\x00\x00\x00\x00\x00\x00\x00\x00Maximally chopping word at:\x00\x00\x00\x00\x00!word_res->chopped_word->blobs.empty()\x00\x00../ccmain/applybox.cpp\x00\x00\nAPPLY_BOX: in ResegmentCharBox() for %s\n\x00\x00\x00\x00\x00\x00\x00Checking word box:\x00\x00\x00\x00\x00\x00Checking blob:\x00\x00Current miss metric = %g, next = %g\n\x00\x00\x00\x00Index [%d, %d) seem good.\n\x00\x00\x00\x00\x00\x00%d Blobs match: blob box:\x00\x00\x00\x00\x00\x00\x00Matches box:\x00\x00\x00\x00With next box:\x00\x00Best state = \x00\x00\x00Correct text = [[ \x00\x00\x00\x00\x00\x00]]\n\x00\x00\x00\x00\x00FAIL!\n\x00\x00\nAPPLY_BOX: in ResegmentWordBox() for %s\n\x00\x00\x00\x00\x00\x00\x00Checking word:\x00\x00Blob match: blob:\x00\x00\x00\x00\x00\x00\x00APPLY_BOX: FAILURE: can\'t find class_id for \'%s\'\n\x00\x00\x00\x00\x00\x00\x00APPLY_BOX: FAILURE: can\'t find segmentation for \'%s\'\n\x00\x00\x00Applybox\x00\x00\x00\x00\x00\x00\x00\x00%d+%d:\x00\x00Segment:\x00\x00\x00\x00\x00\x00\x00\x00Complete match, rating = %g, best=%g, seglength=%d, best=%d\n\x00\x00\x00\x00Match found for %d=%s:%s, at %d+%d, recursing...\n\x00\x00\x00\x00\x00\x00\x00Match\x00\x00\x00Ambig\x00\x00\x00End recursion for %d=%s\n\x00\x00\x00\x00\x00\x00\x00\x00APPLY_BOXES: Unlabelled word at :\x00\x00\x00\x00\x00\x00\x00 Found %d good blobs.\n\x00\x00\x00\x00\x00\x00\x00\x00 Leaving %d unlabelled blobs in %d words.\n\x00\x00\x00\x00 %d remaining unlabelled words deleted.\n\x00\x00\x00\x00\x00\x00APPLY_BOXES: boxfile line %d/%s ((%d,%d),(%d,%d)): %s\n\x00\x00Generated training data for %d words\n\x00\x00\x00reserved_ > length_\x00\x00\x00\x00\x00append_unichar_id_space_allocated\x00\x00\x00\x00\x00\x00\x00ELIST_ITERATOR::extract\x00ELIST_ITERATOR::add_to_end\x00\x00\x00\x00\x00\x00ELIST_ITERATOR::add_before_stay_put\x00\x00\x00\x00\x00ELIST_ITERATOR::add_after_stay_put\x00\x00\x00\x00\x00\x00ELIST_ITERATOR::at_last\x00ELIST2_ITERATOR::add_to_end\x00\x00\x00\x00\x00ELIST2_ITERATOR::add_before_stay_put\x00\x00\x00\x00ELIST2_ITERATOR::at_first\x00\x00\x00\x00\x00\x00\x00ELIST2_ITERATOR::add_after_stay_put\x00\x00\x00\x00\x00ELIST2_ITERATOR::at_last\x00\x00\x00\x00\x00\x00\x00\x00Bounding box=(%d,%d)->(%d,%d)\n\x00\x00ELIST2_ITERATOR::extract\x00\x00\x00\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00{ if(Module[\'TesseractProgress\']) Module[\'TesseractProgress\']($0); }\x00\x00\x00\x00pr_it->word() != NULL\x00\x00\x00../ccmain/control.cpp\x00\x00\x00Pass%d: %s [%s]\n\x00\x00\x00\x00\x00\x00\x00\x00Skipping because one of the words is W_REP_CHAR\n\x00\x00\x00\x00\x00\x00\x00\x00Top choice "%s %s" verified by bigram model.\n\x00\x00\x00Examining alt choices for "%s %s".\n\x00\x00\x00\x00\x00Top choice "%s %s" verified (sans case) by bigram model.\n\x00\x00\x00\x00\x00\x00\x00This was the unique bigram choice.\x00\x00\x00\x00\x00\x00There were many choices: {\x00\x00\x00\x00\x00\x00}\x00\x00\x00\x00\x00\x00\x00There were \x00\x00\x00\x00\x00 compatible bigrams.\x00\x00\x00\x00Replaced "%s %s" with "%s %s" with bigram model. %s\n\x00\x00\x00\x00QUALITY: num_chs= %d num_rejs= %d %5.3f blob_qual= %d %5.3f outline_errs= %d %5.3f char_qual= %d %5.3f good_ch_qual= %d %5.3f\n\x00Blame reasons:\n\x00Misadaption log:\n\x00\x00\x00\x00\x00\x00\x00Trying word using lang %s, oem %d\n\x00\x00\x00\x00\x00\x00Lang result\x00\x00\x00\x00\x00Used %d/%d overlapped %d/%d non-overlaped diacritics on word:\x00\x00\x00%d noise outlines overlap blob at:\x00\x00\x00\x00\x00\x00Num blobless outlines = %d\n\x00\x00\x00\x00\x00Added to left blob\n\x00\x00\x00\x00\x00Added to right blob\n\x00\x00\x00\x00Fitted between blobs\n\x00\x00\x00No Noise blob classified as %s=%g(%g) at:\x00\x00\x00\x00\x00\x00\x00All Noise blob classified as %s=%g, delta=%g at:\x00\x00\x00\x00\x00\x00\x00\x00 blob classified as %s=%g, delta=%g) at:\x00\x00\x00\x00\x00\x00\x00\x00%s noise combination \x00\x00\x00Adding\x00\x00 yields certainty %g, beating target of %g\n\x00\x00\x00\x00\x00it.word() == word_res\x00\x00\x00word xheight=%g, row=%g, range=[%g,%g]\n\x00%s word with lang %s at:\x00\x00\x00\x00\x00\x00\x00\x00Already done\x00\x00\x00\x00Processing\x00\x00\x00\x00\x00\x00word_data->word->box_word != NULL\x00\x00\x00\x00\x00\x00\x00no best words!!\n\x00\x00\x00\x00\x00\x00\x00\x00%s (ocr took %.2f sec)\n\x00New XHT Match:%s = %s \x00\x00 -> %s = %s \x00\x00\x00\x00 %s->%s %s %s\n\x00\x00GUESS\x00\x00\x00CERT\x00\x00\x00\x00STILL DOUBT\x00\x00\x00\x00\x00Old misfits=%d with x-height %f, new=%d with x-height %f\n\x00\x00\x00\x00\x00\x00\x00Old rating= %f, certainty=%f, new=%f, %f\n\x00\x00\x00\x00\x00\x00\x00POST FIX_QUOTES FAIL String:"%s"; Strlen=%d; #Blobs=%d\n\x00word->raw_choice != NULL\x00\x00\x00\x00\x00\x00\x00\x00Failed to find a choice for %s, occurring %d times\n\x00\x00\x00\x00\x00\n\nTESTWD::\x00\x00\x00\x00\x00\x00classify_word_pass1 start\n\x00\x00\x00\x00\x00\x00make_reject_map: initial map\x00\x00\x00\x00make_reject_map: after NN\x00\x00\x00\x00\x00\x00\x00classify_word_pass2 - START\x00\x00\x00\x00\x00classify_word_pass2 - Pre Xht\x00\x00\x00classify_word_pass2 - END\x00\x00\x00\x00\x00\x00\x00fixspace\x00\x00\x00\x00\x00\x00\x00\x00MM pass START\x00\x00\x00MM pass END\x00\x00\x00\x00\x00After Poor quality rejection\x00\x00\x00\x00unrej_good_quality_words - START\x00\x00\x00\x00\x00\x00\x00\x00unrej_good_quality_words - END\x00\x00Write results pass\x00\x00\x00\x00\x00\x00 "%s" \x00\x00"%s"\n\x00\x00\x00**** "%c" ****\n\x00null best choice\n\x00\x00\x00\x00\x00\x00\x00Tess Accepted: %s\n\x00\x00\x00\x00\x00\x00Done flag: %s\n\n\x00word->best_choice != NULL\x00\x00\x00\x00\x00\x00\x00Examining fonts in %s\n\x00\x00Font %s, total score = %d\n\x00\x00\x00\x00\x00\x00Word modal font=%s, score=%d, 2nd choice %s/%d\n\x00Word modal font=%s, score=%d. No 2nd choice\n\x00\x00\x00\x00modal_font != NULL\x00\x00\x00\x00\x00\x00Dictionary correction replaces best choice \'%s\' with \'%s\'\n\x00\x00\x00\x00\x00\x00index < length_\x00set_unichar_id\x00\x00%d new words %s than %d old words: r: %g v %g c: %g v %g valid dict: %d v %d\n\x00\x00\x00better\x00\x00worse\x00\x00\x00unichar_id\x00\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00REJECT ALL #chars: %d #Rejects: %d; \n\x00\x00\x00NO PAGE REJECTION #chars: %d # Rejects: %d; \n\x00\x00REJECTING BLOCK %d #chars: %d; #Rejects: %d\n\x00\x00NOT REJECTING BLOCK %d #chars: %d # Rejects: %d; \n\x00\x00\x00\x00\x00REJECTING ROW %d #chars: %d; #Rejects: %d\n\x00\x00\x00\x00NOT REJECTING ROW %d #chars: %d # Rejects: %d; \n\x00\x00\x00\x00\x00\x00\x00T CRUNCHING: "%s"\n\x00\x00\x00\x00\x00\x00P1 CRUNCHING: "%s"\n\x00\x00\x00\x00\x00P2 CRUNCHING: "%s"\n\x00\x00\x00\x00\x00P3 CRUNCHING: "%s"\n\x00\x00\x00\x00\x00NO CRUNCH: "%s"\n\x00\x00\x00\x00\x00\x00\x00\x00Terrible_word_crunch (%d) on "%s"\n\x00\x00\x00\x00\x00\x00Potential poor rating on "%s"\n\x00\x00Potential poor cert on "%s"\n\x00\x00\x00\x00Potential garbage on "%s"\n\x00\x00\x00\x00\x00\x00BOL CRUNCH DELETING(%d): "%s"\n\x00\x00EOL CRUNCH DELETING(%d): "%s"\n\x00\x00~\x00\x00\x00\x00\x00\x00\x00^\x00\x00\x00\x00\x00\x00\x00garbage_word: "%s"\n\x00\x00\x00\x00\x00LEN: %d bad: %d iso_N: %d iso_A: %d rej: %d\n',"i8", -B,q.g+28256);C("p\u0084\x00\x00\x0B\x00\x00\x00\f\x00\x00\x00\u0002\x00\x00\x00\x00\x00\x00\x0029_TessMemberResultCallback_0_1ILb0EvN9tesseract16DocQualCallbacksEiE\x00\x00\x0013TessCallback1IiE\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00P\u0084\x00\x00\u00a8-\u001a\x00\b\u0084\x00\x00h\u0084","i8",B,q.g+33772);C("equationdetect_save_bi_image\x00\x00\x00\x00Save input bi image","i8",B,q.g+34064);C("equationdetect_save_spt_image\x00\x00\x00Save special character image","i8",B,q.g+34136); -C("equationdetect_save_seed_image\x00\x00Save the seed image","i8",B,q.g+34216); -C("equationdetect_save_merged_image\x00\x00\x00\x00\x00\x00\x00\x00Save the merged image\x00\x00\x00\x00\x00\x00\x00\u00c8\u0089\x00\x00\r\x00\x00\x00\u000e\x00\x00\x00\u0004\x00\x00\x00\u0002\x00\x00\x00equ\x00\x00\x00\x00\x00Warning: equation region detection requested, but %s failed to load from %s\n\x00\x00\x00\x00Warning: input to_block is NULL!\n\x00\x00\x00\x00\x00\x00\x00blobnbox != NULL\x00\x00\x00\x00\x00\x00\x00\x00../ccmain/equationdetect.cpp","i8",B,q.g+34288); -C("'\x00\x00\x00\x00\x00\x00\x00`\x00\x00\x00\x00\x00\x00\x00\u00e3\u0080\u0088\x00\x00\x00\x00\x00\u00e3\u0080\u0089\x00\x00\x00\x00\x00\u00e3\u0080\u008a\x00\x00\x00\x00\x00\u00e3\u0080\u008b\x00\x00\x00\x00\x00\u00e3\u0080\u008d\x00\x00\x00\x00\x00\u00e3\u0080\u008c","i8",B,q.g+34656); -C("_spt\x00\x00\x00\x00part\x00\x00\x00\x00!blob_it.data()->joined_to_prev()\x00\x00\x00\x00\x00\x00\x00Warning: equ_tesseract_/lang_tesseract_ is NULL!\n\x00\x00\x00\x00\x00\x00\x00part_grid/best_columns is NULL!!\n\x00\x00\x00\x00\x00\x00\x00_bi\x00\x00\x00\x00\x00_seed\x00\x00\x00_merged\x00parts_to_merge[i] != NULL && parts_to_merge[i] != part\x00\x00seed != NULL && parts_overlap != NULL\x00\x00\x00part && splitted_boxes\x00\x00cps_super_bbox_\x00seed != NULL && parts_to_merge != NULL\x00\x00seed != NULL && parts_to_merge != NULL && cps_super_bbox_ != NULL\x00\x00\x00\x00\x00\x00\x00part != NULL && math_blocks != NULL\x00\x00\x00\x00\x00image_name && name\x00\x00\x00\x00\x00\x00%04d\x00\x00\x00\x00N9tesseract14EquationDetectE\x00\x00\x00\x00\u00a8-\u001a\x00\u00a8\u0089\x00\x00\u00e8\u00f7\u0004\x00\x00\x00\x00\x00CLIST_ITERATOR::data\x00\x00\x00\x00CLIST_ITERATOR::set_to_list\x00\x00\x00\x00\x00list_to_iterate is NULL\x00CLIST_ITERATOR::empty\x00\x00\x00CLIST_ITERATOR::extract\x00CLIST_ITERATOR::move_to_first\x00\x00\x00cp1 != NULL && cp2 != NULL\x00\x00\x00\x00\x00\x00CLIST_ITERATOR::at_last\x00CLIST_ITERATOR::cycled_list\x00\x00\x00\x00\x00CLIST_ITERATOR::mark_cycle_pt\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00\u00e0\u00f3\u0005\x00\x00\x00\x00\x00\b\u00f4\u0005\x00\x00\x00\x00\x00\x00\u00f5\u0005\x00\x00\x00\x00\x00 \u00f5\u0005\x00\x00\x00\x00\x00!\"`',.:;\x00\x00\x00\x00\x00\x00\x00\x00EXTRACTED (%d): \"\x00\x00\x00\x00\x00\x00\x00TESTED (%d): \"\x00\x00RETURNED (%d): \"\x00\x00\x00\x00\x00\x00\x00\x00%s/%1d \x00\"\n\x00\x00\x00\x00\x00\x00FIX SPACING \"%s\" => \"\x00\x00\x00FP fixspace working on \"%s\"\n\x00\x00\x00\x00blob_count <= 512\x00\x00\x00\x00\x00\x00\x00../ccmain/fixspace.cpp\x00\x00%1.1f \x00\x00ELIST_ITERATOR::add_before_then_move\x00\x00\x00\x00ELIST_ITERATOR::add_list_before\x00`\u00f8\u0019\x00\x00\x00\x00\x00Class %s is %s with top %d vs limits of %d->%d, +/-%d\n\x00\x00Misfit\x00\x00Class %s: height=%d, bottom=%d,%d top=%d,%d, actual=%d,%d: \x00\x00\x00\x00\x00 xht range min=%d, max=%d\n\x00\x00\x00\x00\x00\x00 bottom shift min=%d, max=%d\n\x00\x00\x00 already OK\n\x00\x00\x00\x00Applying bottom shift=%d\n\x00\x00\x00\x00\x00\x00\x00baseline shift=%g\n\x00\x00\x00\x00\x00\x00Median xht=%f\n\x00\x00Mode20:A: New x-height = %f (norm), %f (orig)\n\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00\x00\x00\x00\x000\u008e\x00\x00\u0006\x00\x00\x00\u000f\x00\x00\x00\u0010\x00\x00\x00\t\x00\x00\x00\n\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0003\x00\x00\x00../ccmain/ltrresultiterator.cpp\x00it_->word()->uch_set != NULL\x00\x00\x00\x00result_it.it_->word() != NULL\x00\x00\x00N9tesseract17LTRResultIteratorE\x00\u00a8-\u001a\x00\u0010\u008e\x00\x00H\u0091\x00\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00\u00e0\u00f3\u0005\x00\x00\x00\x00\x00\b\u00f4\u0005\x00\x00\x00\x00\x00\x00\u00f5\u0005\x00\x00\x00\x00\x00Fraktur\x00Orientation id #%d\n\x00\x00\x00\x00\x00%12s\t: %f\n\x00\x00\x00\x00\x00\x00../ccmain/osdetect.cpp\x00\x00tess->pix_binary() != NULL\x00\x00\x00\x00\x00\x00Number of blobs post-filtering = %d\n\x00\x00\x00\x00Number of blobs to try = %d\n\x00\x00\x00\x00Too few characters. Skipping this page\n\x00CLIST_ITERATOR::length\x00\x00CLIST_ITERATOR::add_to_end\x00\x00\x00\x00\x00\x00CLIST_ITERATOR::add_before_stay_put\x00\x00\x00\x00\x00CLIST_ITERATOR::at_first\x00\x00\x00\x00\x00\x00\x00\x00CLIST_ITERATOR::add_after_stay_put\x00\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00word->best_choice->length() == word->reject_map.length()\x00\x00\x00\x00\x00\x00\x00\x00../ccmain/output.cpp\x00\x00\x00\x00Dict word: \"%s\": %d\n\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00\u00e0\u00f3\u0005\x00\x00\x00\x00\x00\b\u00f4\u0005\x00\x00\x00\x00\x00\x00\x00\x00\x00H\u0091\x00\x00\u0011\x00\x00\x00\u0012\x00\x00\x00\u0010\x00\x00\x00\t\x00\x00\x00\n\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0003\x00\x00\x00Corrupted word! best_choice[len=%d] = %s, box_word[len=%d]: \x00\x00\x00\x00word_res->box_word->length() == word_length_\x00\x00\x00\x00../ccmain/pageiterator.cpp\x00\x00\x00\x00\x00\x00N9tesseract12PageIteratorE\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00(\u0091\x00\x00ELIST_ITERATOR::length\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00pix_binary_ != NULL\x00\x00\x00\x00\x00../ccmain/pagesegmain.cpp\x00\x00\x00\x00\x00\x00\x00Empty page\n\x00\x00\x00\x00\x00tessinput.png\x00\x00\x00tessnolines.png\x00tessnoimages.png\x00\x00\x00\x00\x00\x00\x00\x00to_blocks->singleton()\x00\x00Japanese\x00\x00\x00\x00\x00\x00\x00\x00Korean\x00\x00Hangul\x00\x00OSD: Weak margin (%.2f), horiz textlines, not CJK: Don't rotate.\n\x00\x00\x00\x00\x00\x00\x00OSD: Weak margin (%.2f) for %d blob text block, but using orientation anyway: %d\n\x00\x00\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00'\"({[\x00\x00\x00:'\".?!]})\x00\x00\x00\x00\x00\x00\x00ivxlmdIVXLMD\x00\x00\x00\x00012345789\x00\x00\x00\x00\x00\x00\x00[{(\x00\x00\x00\x00\x00:;-.,\x00\x00\x00]})\x00\x00\x00\x00\x000Oo*.,+.\x00\x00\x00\x00\x00\x00\x00\x00[lmarg,lind;rind,rmarg]\x00model\x00\x00\x00[%3d,%3d;%3d,%3d]\x00\x00\x00\x00\x00\x00\x00:\x00\x00\x00\x00\x00\x00\x00CrL\x00\x00\x00\x00\x00CrR\x00\x00\x00\x00\x00Encountered bad value in hypothesis list: %c\n\x00\x00\x00Trying to set a line to be START when it's already BODY.\n\x00\x00\x00\x00\x00\x00\x00Trying to set a line to be BODY when it's already START.\n\x00\x00\x00\x00\x00\x00\x00CalculateTabStops\x00\x00\x00\x00\x00\x00\x00MarkRowsWithModel\x00\x00\x00\x00\x00\x00\x00Not enough full lines to know which lines start paras.\x00\x00# Not enough variety for clear outline classification. Guessing these are %s aligned based on script.\n\x00\x00left\x00\x00\x00\x00right\x00\x00\x00GeometricClassify\x00\x00\x00\x00\x00\x00\x00###############################################\n\x00\x00\x00\x00\x00\x00\x00\x00##### GeometricClassify( rows[%d:%d) ) ####\n\x00\x00Too much variety for simple outline classification.\x00\x00\x00\x00\x00Not enough variety for simple outline classification.\x00\x00\x00# Cannot determine %s indent likely to start paragraphs.\n\x00\x00\x00\x00\x00\x00\x00# Indent of %d looks like a first line %d%% of the time.\n\x00\x00\x00\x00\x00\x00\x00ValidFirstLine() should only be called with strong models!\n\x00\x00\x00\x00\x00ValidBodyLine() should only be called with strong models!\n\x00\x00\x00\x00\x00\x00CrownCompatible() should only be called with crown models!\n\x00\x00\x00\x00\x00ParagraphModelSmearer\x00\x00\x00RecomputeMarginsAndClearHypotheses\x00\x00\x00\x00\x00\x00Don't call FirstWordWouldHaveFit(r, s, JUSTIFICATION_UNKNOWN).\n\x00InternalParagraphModelByOutline\x00Margins don't match! Software error.\n\x00\x00\x00Could not determine a model for this paragraph:\n\x00\x00\x00\x00\x00\x00\x00\x00ModelStrongEvidence\x00\x00\x00\x00\x00StrongEvidenceClassify\x00\x00#############################################\n\x00\x00# StrongEvidenceClassify( rows[%d:%d) )\n\x00\x00\x00\x00\x00\x00\x00\x00Initial strong signals.\x00Unsmeared hypotheses.s.\x00Memory leak! ConvertHypothesizeModelRunsToParagraphs() called more than once!\n\x00\x00End of Pass 1\x00\x00\x00End of Pass 2\x00\x00\x00End of Pass 3\x00\x00\x00End of Pass 4\x00\x00\x00Final Paragraph Segmentation\x00\x00\x00\x00\x00\x00\x00\x00@\u009a\x00\x00\u0013\x00\x00\x00\u0014\x00\x00\x00\u0004\x00\x00\x00\x00\x00\x00\x0031_TessFunctionResultCallback_0_2ILb0EbRKPK14ParagraphModelS4_E\x0019TessResultCallback2IbRKPK14ParagraphModelS4_E\x00\u0080-\u001a\x00\b\u009a\x00\x00\u00a8-\u001a\x00\u00c8\u0099\x00\x008\u009a\x00\x00\x00\x00\x00\x00# %s\n\x00\x00\x00Geometry: TabStop cluster tolerance = %d; %d left tabs; %d right tabs\n\x00\x00\x00\x00\x00\x00\u0010\u009b\x00\x00\u0015\x00\x00\x00\u0016\x00\x00\x00\u0005\x00\x00\x00\x00\x00\x00\x0031_TessFunctionResultCallback_0_2ILb0EbRKiS1_E\x00\x0019TessResultCallback2IbRKiS1_E\x00\x00\u0080-\u001a\x00\u00e8\u009a\x00\x00\u00a8-\u001a\x00\u00b8\u009a\x00\x00\b\u009b\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\u00d0\u009b\x00\x00\u0017\x00\x00\x00\u0018\x00\x00\x00\u0006\x00\x00\x00\x00\x00\x00\x0031_TessFunctionResultCallback_0_2ILb0EbRKN9tesseract14LineHypothesisES3_E\x00\x00\x00\x00\x00\x00\x0019TessResultCallback2IbRKN9tesseract14LineHypothesisES3_E\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u0088\u009b\x00\x00\u00a8-\u001a\x008\u009b\x00\x00\u00c8\u009b\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00p\u009c\x00\x00\u0019\x00\x00\x00\u001a\x00\x00\x00\u0007\x00\x00\x00\x00\x00\x00\x0031_TessFunctionResultCallback_0_2ILb0EbRKP14ParagraphModelS3_E\x00\x0019TessResultCallback2IbRKP14ParagraphModelS3_E\x00\x00\u0080-\u001a\x008\u009c\x00\x00\u00a8-\u001a\x00\u00f8\u009b\x00\x00h\u009c\x00\x00\x00\x00\x00\x00#row\x00\x00\x00\x00space\x00\x00\x00..\x00\x00\x00\x00\x00\x00lword[widthSEL]\x00rword[widthSEL]\x00text\x00\x00\x00\x00[\x00\x00\x00\x00\x00\x00\x00S\x00\x00\x00\x00\x00\x00\x00s\x00\x00\x00\x00\x00\x00\x00E\x00\x00\x00\x00\x00\x00\x00e\x00\x00\x00\x00\x00\x00\x00Active Paragraph Models:\n\x00\x00\x00\x00\x00\x00\x00 %d: %s\n\x00\x00\x00\x00\x00\x00\x00\x00%-\x00\x00\x00\x00\x00\x00======================================\n\x00Invalid arguments rows[%d, %d) while rows is of size %d.\n\x00\x00\x00\x00\x00\x00\x00# Too few rows[%d, %d) for %s.\n\x00`\u00f8\u0019\x00\x00\x00\x00\x00.txt\x00\x00\x00\x00a+\x00\x00\x00\x00\x00\x00r\x00\x00\x00\x00\x00\x00\x00TODO(antonova): clean up recog_training_segmented; It examined only a small fraction of the ambigs image.\n\x00\x00\x00\x00\x00recog_training_segmented: examined %d / %d words.\n\x00\x00\x00\x00\x00\x00../ccmain/recogtraining.cpp\x00\x00\x00\x00\x00Not outputting illegal unichar %s\n\x00\x00\x00\x00\x00\x00\t%s\t%.4f\t%.4f\n\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00one_ell_conflict detected\n\x00\x00\x00\x00\x00\x00non-dict or ambig word detected\n\x00\x00\x00\x00\x00\x00\x00\x00set_done(): done=%d\n\x00\x00\x00\x00BAD tessedit_reject_mode\n\x00\x00\x00\x00\x00\x00\x00Permuter Type = %d\n\x00\x00\x00\x00\x00Certainty: %f Rating: %f\n\x00\x00\x00Dict word: %d\n\x00\x00word->reject_map.length() == blobcount\x00\x00../ccmain/reject.cpp\x00\x00\x00\x00I\x00\x00\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00\x00\x00\x00\x00`\u00a1\x00\x00\u0006\x00\x00\x00\u001b\x00\x00\x00\b\x00\x00\x00\t\x00\x00\x00\n\x00\x00\x00\u0001\x00\x00\x00\u0002\x00\x00\x00\u0001\x00\x00\x00\u0003\x00\x00\x00\x00\x00\x00\x00blob_indices->size() == word_length_\x00\x00\x00\x00../ccmain/resultiterator.cpp\x00\x00\x00\x00Next(RIL_WORD): %d -> %d\n\x00\x00\x00\x00\x00\x00\x00Next(RIL_WORD): %d -> EOL\n\x00\x00\x00\x00\x00\x00it_->word()->best_choice != NULL\x00\x00\x00\x00\x00\x00\x00\x00Strong Script dirs [%p/P=%s]: \x00\x00\x00\x00\x00\x00ltr\x00\x00\x00\x00\x00rtl\x00\x00\x00\x00\x00Logical textline order [%p/P=%s]: \x00\x00\x00\x00\x00\x00%d words printed\n\x00\x00\x00\x00\x00\x00\x00N9tesseract14ResultIteratorE\x00\x00\x00\x00\u00a8-\u001a\x00@\u00a1\x00\x000\u008e\x00\x00\x00\x00\x00\x00N \x00\x00\x00\x00\x00\x00L \x00\x00\x00\x00\x00\x00R \x00\x00\x00\x00\x00\x00Z \x00\x00\x00\x00\x00\x00? \x00\x00\x00\x00\x00\x00sub\x00\x00\x00\x00\x00super\x00\x00\x00Candidate for superscript detection: %s (\x00\x00\x00\x00\x00\x00\x00%d.%d %s-leading \x00\x00\x00\x00\x00\x00\x00%d.%d %s-trailing \x00\x00\x00\x00\x00\x00 Certainties -- Average: %.2f Unlikely thresh: %.2f \x00\x00Orig. leading (min): %.2f \x00\x00\x00\x00\x00Orig. trailing (min): %.2f \x00\x00\x00\x00 recognizing first %d chopped blobs\n\x00\x00\x00\x00 The leading bits look like %s %s\n\x00\x00\x00\x00\x00\x00 recognizing middle %d chopped blobs\n\x00\x00\x00 recognizing last %d chopped blobs\n\x00\x00\x00\x00\x00 The trailing bits look like %s %s\n\x00\x00\x00\x00\x00%s superscript fix: %s\n\x00ACCEPT\x00\x00REJECT\x00\x00 Rejecting: superscript is italic.\n\x00\x00\x00\x00\x00 Rejecting: punctuation present.\n\x00\x00\x00\x00\x00\x00\x00 Rejecting: don't believe character %s with certainty %.2f which is less than threshold %.2f\n\x00\x00\x00 Rejecting: character %s seems too small @ %.2f versus expected %.2f\n\x00\x00\x00 Accept: worst revised certainty is %.2f\n\x00\x00\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00configs/\x00\x00\x00\x00\x00\x00\x00\x00tessconfigs/\x00\x00\x00\x00eng\x00\x00\x00\x00\x00traineddata\x00\x00\x00\x00\x00Loaded language config file\n\x00\x00\x00\x00Wrote parameters to %s\n\x00Failed to open %s for writing params.\n\x00\x00Loading Tesseract/Cube with tessedit_ocr_engine_mode %d\n\x00\x00\x00\x00\x00\x00\x00\x00Returning after loading config file\n\x00\x00\x00\x00Error: Size of unicharset is greater than MAX_NUM_CLASSES\n\x00\x00\x00\x00\x00\x00Loaded unicharset\n\x00\x00\x00\x00\x00\x00Loaded ambigs\n\x00\x00Adding language '%s' to list\n\x00\x00\x00Failed loading language '%s'\n\x00\x00\x00Loaded language '%s' as main language\n\x00\x00Loaded language '%s' as secondary language\n\x00\x00\x00\x00\x00Tesseract couldn't load any languages!\n\x00Using params model of the primary language\n\x00\x00\x00\x00\x00Using default language params\n\x00\x00\x00\x00\x00\x00\u00b8\u00a7\x00\x00\u001c\x00\x00\x00\u001d\x00\x00\x00\b\x00\x00\x00\x00\x00\x00\x0031_TessFunctionResultCallback_0_2ILb0EbRKN9tesseract8FontInfoES3_E\x00\x00\x00\x00\x00\x0019TessResultCallback2IbRKN9tesseract8FontInfoES3_E\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00x\u00a7\x00\x00\u00a8-\u001a\x000\u00a7\x00\x00\u00b0\u00a7\x00\x00\x00\x00\x00\x00compare_cb_ != NULL\x00\x00\x00\x00\x00TessdataManager: end offset for type %d is %lld\n\x00\x00\x00\x00\x00\x00\x00\x00TessdataManager: seek to offset %lld - start of tessdatatype %d (%s))\n\x00\x00 \u00a9\x00\x00(\u00a9\x00\x008\u00a9\x00\x00H\u00a9\x00\x00P\u00a9\x00\x00`\u00a9\x00\x00p\u00a9\x00\x00\u0080\u00a9\x00\x00\u0090\u00a9\x00\x00\u00a0\u00a9\x00\x00\u00b0\u00a9\x00\x00\u00c8\u00a9\x00\x00\u00d8\u00a9\x00\x00\u00e8\u00a9\x00\x00\u00f8\u00a9\x00\x00\b\u00aa\x00\x00\u0018\u00aa\x00\x00\x00\x00\x00\x00fseek(data_file_, static_cast(offset_table_[tessdata_type]), SEEK_SET) == 0\x00\x00\x00\x00\x00../ccutil/tessdatamanager.h\x00\x00\x00\x00\x00config\x00\x00unicharset\x00\x00\x00\x00\x00\x00unicharambigs\x00\x00\x00inttemp\x00pffmtable\x00\x00\x00\x00\x00\x00\x00normproto\x00\x00\x00\x00\x00\x00\x00punc-dawg\x00\x00\x00\x00\x00\x00\x00word-dawg\x00\x00\x00\x00\x00\x00\x00number-dawg\x00\x00\x00\x00\x00freq-dawg\x00\x00\x00\x00\x00\x00\x00fixed-length-dawgs\x00\x00\x00\x00\x00\x00cube-unicharset\x00cube-word-dawg\x00\x00shapetable\x00\x00\x00\x00\x00\x00bigram-dawg\x00\x00\x00\x00\x00unambig-dawg\x00\x00\x00\x00params-model\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00\x00\x00\x00\x00\u00f8\u00e4\x00\x00\u001e\x00\x00\x00\u001f\x00\x00\x00\u0001\x00\x00\x00\x00\x00\x00\x00tessedit_resegment_from_boxes\x00\x00\x00Take segmentation and labeling from box file\x00\x00\x00\x00tessedit_resegment_from_line_boxes\x00\x00\x00\x00\x00\x00Conversion of word/line box file to char box file\x00\x00\x00\x00\x00\x00\x00tessedit_train_from_boxes\x00\x00\x00\x00\x00\x00\x00Generate training data from boxed chars\x00tessedit_make_boxes_from_boxes\x00\x00Generate more boxes from boxed chars\x00\x00\x00\x00tessedit_dump_pageseg_images\x00\x00\x00\x00Dump intermediate images made during page segmentation\x00\x00tessedit_pageseg_mode\x00\x00\x00Page seg mode: 0=osd only, 1=auto+osd, 2=auto, 3=col, 4=block, 5=line, 6=word, 7=char (Values from PageSegMode enum in publictypes.h)\x00\x00\x00tessedit_ocr_engine_mode\x00\x00\x00\x00\x00\x00\x00\x00Which OCR engine(s) to run (Tesseract, Cube, both). Defaults to loading and running only Tesseract (no Cube,no combiner). Values from OcrEngineMode enum in tesseractclass.h)\x00\x00\x00tessedit_char_blacklist\x00Blacklist of chars not to recognize\x00\x00\x00\x00\x00tessedit_char_whitelist\x00Whitelist of chars to recognize\x00tessedit_char_unblacklist\x00\x00\x00\x00\x00\x00\x00List of chars to override tessedit_char_blacklist\x00\x00\x00\x00\x00\x00\x00tessedit_ambigs_training\x00\x00\x00\x00\x00\x00\x00\x00Perform training for ambiguities\x00\x00\x00\x00\x00\x00\x00\x00pageseg_devanagari_split_strategy\x00\x00\x00\x00\x00\x00\x00Whether to use the top-line splitting process for Devanagari documents while performing page-segmentation.\x00\x00\x00\x00\x00\x00ocr_devanagari_split_strategy\x00\x00\x00Whether to use the top-line splitting process for Devanagari documents while performing ocr.\x00\x00\x00\x00tessedit_write_params_to_file\x00\x00\x00Write all parameters to ","i8", -B,q.g+34736); -C("the given file.\x00tessedit_adaption_debug\x00Generate and print debug information for adaption\x00\x00\x00\x00\x00\x00\x00bidi_debug\x00\x00\x00\x00\x00\x00Debug level for BiDi\x00\x00\x00\x00applybox_debug\x00\x00Debug level\x00\x00\x00\x00\x00applybox_page\x00\x00\x00Page number to apply boxes from\x00.exp\x00\x00\x00\x00applybox_exposure_pattern\x00\x00\x00\x00\x00\x00\x00Exposure value follows this pattern in the image filename. The name of the image files are expected to be in the form [lang].[fontname].exp[num].tif\x00\x00\x00\x00applybox_learn_chars_and_char_frags_mode\x00\x00\x00\x00\x00\x00\x00\x00Learn both character fragments (as is done in the special low exposure mode) as well as unfragmented characters.\x00\x00\x00\x00\x00\x00\x00\x00applybox_learn_ngrams_mode\x00\x00\x00\x00\x00\x00Each bounding box is assumed to contain ngrams. Only learn the ngrams whose outlines overlap horizontally.\x00\x00\x00\x00\x00\x00tessedit_display_outwords\x00\x00\x00\x00\x00\x00\x00Draw output words\x00\x00\x00\x00\x00\x00\x00tessedit_dump_choices\x00\x00\x00Dump char choices\x00\x00\x00\x00\x00\x00\x00tessedit_timing_debug\x00\x00\x00Print timing stats\x00\x00\x00\x00\x00\x00tessedit_fix_fuzzy_spaces\x00\x00\x00\x00\x00\x00\x00Try to improve fuzzy spaces\x00\x00\x00\x00\x00tessedit_unrej_any_wd\x00\x00\x00Dont bother with word plausibility\x00\x00\x00\x00\x00\x00tessedit_fix_hyphens\x00\x00\x00\x00Crunch double hyphens?\x00\x00tessedit_redo_xheight\x00\x00\x00Check/Correct x-height\x00\x00tessedit_enable_doc_dict\x00\x00\x00\x00\x00\x00\x00\x00Add words to the document dictionary\x00\x00\x00\x00tessedit_debug_fonts\x00\x00\x00\x00Output font info per char\x00\x00\x00\x00\x00\x00\x00tessedit_debug_block_rejection\x00\x00Block and Row stats\x00\x00\x00\x00\x00tessedit_enable_bigram_correction\x00\x00\x00\x00\x00\x00\x00Enable correction based on the word bigram dictionary.\x00\x00tessedit_enable_dict_correction\x00Enable single word correction based on the dictionary.\x00\x00tessedit_bigram_debug\x00\x00\x00Amount of debug output for bigram correction.\x00\x00\x00enable_noise_removal\x00\x00\x00\x00Remove and conditionally reassign small outlines when they confuse layout analysis, determining diacritics vs noise\x00\x00\x00\x00\x00debug_noise_removal\x00\x00\x00\x00\x00Debug reassignment of small outlines\x00\x00\x00\x00noise_cert_basechar\x00\x00\x00\x00\x00Hingepoint for base char certainty\x00\x00\x00\x00\x00\x00noise_cert_disjoint\x00\x00\x00\x00\x00Hingepoint for disjoint certainty\x00\x00\x00\x00\x00\x00\x00noise_cert_punc\x00Threshold for new punc char certainty\x00\x00\x00noise_cert_factor\x00\x00\x00\x00\x00\x00\x00Scaling on certainty diff from Hingepoint\x00\x00\x00\x00\x00\x00\x00noise_maxperblob\x00\x00\x00\x00\x00\x00\x00\x00Max diacritics to apply to a blob\x00\x00\x00\x00\x00\x00\x00noise_maxperword\x00\x00\x00\x00\x00\x00\x00\x00Max diacritics to apply to a word\x00\x00\x00\x00\x00\x00\x00debug_x_ht_level\x00\x00\x00\x00\x00\x00\x00\x00Reestimate debug\x00\x00\x00\x00\x00\x00\x00\x00debug_acceptable_wds\x00\x00\x00\x00Dump word pass/fail chk\x00('`\"\x00\x00\x00\x00chs_leading_punct\x00\x00\x00\x00\x00\x00\x00Leading punctuation\x00\x00\x00\x00\x00).,;:?!\x00chs_trailing_punct1\x00\x00\x00\x00\x001st Trailing punctuation\x00\x00\x00\x00\x00\x00\x00\x00)'`\"\x00\x00\x00\x00chs_trailing_punct2\x00\x00\x00\x00\x002nd Trailing punctuation\x00\x00\x00\x00\x00\x00\x00\x00quality_rej_pc\x00\x00good_quality_doc lte rejection limit\x00\x00\x00\x00quality_blob_pc\x00good_quality_doc gte good blobs limit\x00\x00\x00quality_outline_pc\x00\x00\x00\x00\x00\x00good_quality_doc lte outline error limit\x00\x00\x00\x00\x00\x00\x00\x00quality_char_pc\x00good_quality_doc gte good char limit\x00\x00\x00\x00quality_min_initial_alphas_reqd\x00alphas in a good word\x00\x00\x00tessedit_tess_adaption_mode\x00\x00\x00\x00\x00Adaptation decision algorithm for tess\x00\x00tessedit_minimal_rej_pass1\x00\x00\x00\x00\x00\x00Do minimal rejection on pass 1 output\x00\x00\x00tessedit_test_adaption\x00\x00Test adaption criteria\x00\x00tessedit_matcher_log\x00\x00\x00\x00Log matcher activity\x00\x00\x00\x00tessedit_test_adaption_mode\x00\x00\x00\x00\x00test_pt\x00Test for point\x00\x00test_pt_x\x00\x00\x00\x00\x00\x00\x00xcoord\x00\x00test_pt_y\x00\x00\x00\x00\x00\x00\x00ycoord\x00\x00paragraph_debug_level\x00\x00\x00Print paragraph debug info.\x00\x00\x00\x00\x00paragraph_text_based\x00\x00\x00\x00Run paragraph detection on the post-text-recognition (more accurate)\x00\x00\x00\x00cube_debug_level\x00\x00\x00\x00\x00\x00\x00\x00Print cube debug info.\x00\x00%| \x00\x00\x00\x00\x00outlines_odd\x00\x00\x00\x00Non standard number of outlines\x00ij!?%\":;\x00\x00\x00\x00\x00\x00\x00\x00outlines_2\x00\x00\x00\x00\x00\x00docqual_excuse_outline_errs\x00\x00\x00\x00\x00Allow outline errs in unrejection?\x00\x00\x00\x00\x00\x00tessedit_good_quality_unrej\x00\x00\x00\x00\x00Reduce rejection on good docs\x00\x00\x00tessedit_use_reject_spaces\x00\x00\x00\x00\x00\x00Reject spaces?\x00\x00tessedit_reject_doc_percent\x00\x00\x00\x00\x00%rej allowed before rej whole doc\x00\x00\x00\x00\x00\x00\x00tessedit_reject_block_percent\x00\x00\x00%rej allowed before rej whole block\x00\x00\x00\x00\x00tessedit_reject_row_percent\x00\x00\x00\x00\x00%rej allowed before rej whole row\x00\x00\x00\x00\x00\x00\x00tessedit_whole_wd_rej_row_percent\x00\x00\x00\x00\x00\x00\x00Number of row rejects in whole word rejectswhich prevents whole row rejection\x00\x00\x00tessedit_preserve_blk_rej_perfect_wds\x00\x00\x00Only rej partially rejected words in block rejection\x00\x00\x00\x00tessedit_preserve_row_rej_perfect_wds\x00\x00\x00Only rej partially rejected words in row rejection\x00\x00\x00\x00\x00\x00tessedit_dont_blkrej_good_wds\x00\x00\x00Use word segmentation quality metric\x00\x00\x00\x00tessedit_dont_rowrej_good_wds\x00\x00\x00tessedit_preserve_min_wd_len\x00\x00\x00\x00Only preserve wds longer than this\x00\x00\x00\x00\x00\x00tessedit_row_rej_good_docs\x00\x00\x00\x00\x00\x00Apply row rejection to good docs\x00\x00\x00\x00\x00\x00\x00\x00tessedit_good_doc_still_rowrej_wd\x00\x00\x00\x00\x00\x00\x00rej good doc wd if more than this fraction rejected\x00\x00\x00\x00\x00tessedit_reject_bad_qual_wds\x00\x00\x00\x00Reject all bad quality wds\x00\x00\x00\x00\x00\x00tessedit_debug_doc_rejection\x00\x00\x00\x00Page stats\x00\x00\x00\x00\x00\x00tessedit_debug_quality_metrics\x00\x00Output data to debug file\x00\x00\x00\x00\x00\x00\x00bland_unrej\x00\x00\x00\x00\x00unrej potential with no chekcs\x00\x00quality_rowrej_pc\x00\x00\x00\x00\x00\x00\x00unlv_tilde_crunching\x00\x00\x00\x00Mark v.bad words for tilde crunch\x00\x00\x00\x00\x00\x00\x00hocr_font_info\x00\x00Add font info to hocr output\x00\x00\x00\x00crunch_early_merge_tess_fails\x00\x00\x00Before word crunch?\x00\x00\x00\x00\x00crunch_early_convert_bad_unlv_chs\x00\x00\x00\x00\x00\x00\x00Take out ~^ early?\x00\x00\x00\x00\x00\x00crunch_terrible_rating\x00\x00crunch rating lt this\x00\x00\x00crunch_terrible_garbage\x00As it says\x00\x00\x00\x00\x00\x00crunch_poor_garbage_cert\x00\x00\x00\x00\x00\x00\x00\x00crunch garbage cert lt this\x00\x00\x00\x00\x00crunch_poor_garbage_rate\x00\x00\x00\x00\x00\x00\x00\x00crunch garbage rating lt this\x00\x00\x00crunch_pot_poor_rate\x00\x00\x00\x00POTENTIAL crunch rating lt this\x00crunch_pot_poor_cert\x00\x00\x00\x00POTENTIAL crunch cert lt this\x00\x00\x00crunch_pot_garbage\x00\x00\x00\x00\x00\x00POTENTIAL crunch garbage\x00\x00\x00\x00\x00\x00\x00\x00crunch_del_rating\x00\x00\x00\x00\x00\x00\x00crunch_del_cert\x00crunch_del_min_ht\x00\x00\x00\x00\x00\x00\x00Del if word ht lt xht x this\x00\x00\x00\x00crunch_del_max_ht\x00\x00\x00\x00\x00\x00\x00Del if word ht gt xht x this\x00\x00\x00\x00crunch_del_min_width\x00\x00\x00\x00Del if word width lt xht x this\x00crunch_del_high_word\x00\x00\x00\x00Del if word gt xht x this above bl\x00\x00\x00\x00\x00\x00crunch_del_low_word\x00\x00\x00\x00\x00Del if word gt xht x this below bl\x00\x00\x00\x00\x00\x00crunch_small_outlines_size\x00\x00\x00\x00\x00\x00Small if lt xht x this\x00\x00crunch_rating_max\x00\x00\x00\x00\x00\x00\x00For adj length in rating per ch\x00crunch_pot_indicators\x00\x00\x00How many potential indicators needed\x00\x00\x00\x00crunch_leave_ok_strings\x00Dont touch sensible strings\x00\x00\x00\x00\x00crunch_accept_ok\x00\x00\x00\x00\x00\x00\x00\x00Use acceptability in okstring\x00\x00\x00crunch_leave_accept_strings\x00\x00\x00\x00\x00Dont pot crunch sensible strings\x00\x00\x00\x00\x00\x00\x00\x00crunch_include_numerals\x00Fiddle alpha figures\x00\x00\x00\x00crunch_leave_lc_strings\x00Dont crunch words with long lower case strings\x00\x00crunch_leave_uc_strings\x00crunch_long_repetitions\x00Crunch words with long repetitions\x00\x00\x00\x00\x00\x00crunch_debug\x00\x00\x00\x00fixsp_non_noise_limit\x00\x00\x00How many non-noise blbs either side?\x00\x00\x00\x00fixsp_small_outlines_size\x00\x00\x00\x00\x00\x00\x00tessedit_prefer_joined_punct\x00\x00\x00\x00Reward punctation joins\x00fixsp_done_mode\x00What constitues done for spacing\x00\x00\x00\x00\x00\x00\x00\x00debug_fix_space_level\x00\x00\x00Contextual fixspace debug\x00\x00\x00\x00\x00\x00\x00.,\x00\x00\x00\x00\x00\x00numeric_punctuation\x00\x00\x00\x00\x00Punct. chs expected WITHIN numbers\x00\x00\x00\x00\x00\x00x_ht_acceptance_tolerance\x00\x00\x00\x00\x00\x00\x00Max allowed deviation of blob top outside of font data\x00\x00x_ht_min_change\x00Min change in xht before actually trying it\x00\x00\x00\x00\x00superscript_debug\x00\x00\x00\x00\x00\x00\x00Debug level for sub & superscript fixer\x00superscript_worse_certainty\x00\x00\x00\x00\x00How many times worse certainty does a superscript position glyph need to be for us to try classifying it as a char with a different baseline?\x00\x00\x00superscript_bettered_certainty\x00\x00What reduction in badness do we think sufficient to choose a superscript over what we'd thought. For example, a value of 0.6 means we want to reduce badness of certainty by at least 40%\x00\x00\x00\x00\x00\x00superscript_scaledown_ratio\x00\x00\x00\x00\x00A superscript scaled down more than this is unbelievably small. For example, 0.3 means we expect the font size to be no smaller than 30% of the text line font size.\x00\x00\x00subscript_max_y_top\x00\x00\x00\x00\x00Maximum top of a character measured as a multiple of x-height above the baseline for us to reconsider whether it's a subscript.\x00superscript_min_y_bottom\x00\x00\x00\x00\x00\x00\x00\x00Minimum bottom of a character measured as a multiple of x-height above the baseline for us to reconsider whether it's a superscript.\x00\x00\x00\x00tessedit_write_block_separators\x00Write block separators in output\x00\x00\x00\x00\x00\x00\x00\x00tessedit_write_rep_codes\x00\x00\x00\x00\x00\x00\x00\x00Write repetition char code\x00\x00\x00\x00\x00\x00tessedit_write_unlv\x00\x00\x00\x00\x00Write .unlv output file\x00tessedit_create_txt\x00\x00\x00\x00\x00Write .txt output file\x00\x00tessedit_create_hocr\x00\x00\x00\x00Write .html hOCR output file\x00\x00\x00\x00tessedit_create_pdf\x00\x00\x00\x00\x00Write .pdf output file\x00\x00|\x00\x00\x00\x00\x00\x00\x00unrecognised_char\x00\x00\x00\x00\x00\x00\x00Output char for unidentified blobs\x00\x00\x00\x00\x00\x00suspect_level\x00\x00\x00Suspect marker level\x00\x00\x00\x00suspect_space_level\x00\x00\x00\x00\x00Min suspect level for rejecting spaces\x00\x00suspect_short_words\x00\x00\x00\x00\x00Dont Suspect dict wds longer than this\x00\x00suspect_constrain_1Il\x00\x00\x00UNLV keep 1Il chars rejected\x00\x00\x00\x00suspect_rating_per_ch\x00\x00\x00Dont touch bad rating limit\x00\x00\x00\x00\x00suspect_accept_rating\x00\x00\x00Accept good rating limit\x00\x00\x00\x00\x00\x00\x00\x00tessedit_minimal_rejection\x00\x00\x00\x00\x00\x00Only reject tess failures\x00\x00\x00\x00\x00\x00\x00tessedit_zero_rejection\x00Dont reject ANYTHING\x00\x00\x00\x00tessedit_word_for_word\x00\x00Make output have exactly one word per WERD\x00\x00\x00\x00\x00\x00tessedit_zero_kelvin_rejection\x00\x00Dont reject ANYTHING AT ALL\x00\x00\x00\x00\x00tessedit_consistent_reps\x00\x00\x00\x00\x00\x00\x00\x00Force all rep chars the same\x00\x00\x00\x00tessedit_reject_mode\x00\x00\x00\x00Rejection algorithm\x00\x00\x00\x00\x00tessedit_rejection_debug\x00\x00\x00\x00\x00\x00\x00\x00Adaption debug\x00\x00tessedit_flip_0O\x00\x00\x00\x00\x00\x00\x00\x00Contextual 0O O0 flips\x00\x00tessedit_lower_flip_hyphen\x00\x00\x00\x00\x00\x00Aspect ratio dot/hyphen test\x00\x00\x00\x00tessedit_upper_flip_hyphen\x00\x00\x00\x00\x00\x00rej_trust_doc_dawg\x00\x00\x00\x00\x00\x00Use DOC dawg in 11l conf. detector\x00\x00\x00\x00\x00\x00rej_1Il_use_dict_word\x00\x00\x00Use dictword test\x00\x00\x00\x00\x00\x00\x00rej_1Il_trust_permuter_type\x00\x00\x00\x00\x00Dont double check\x00\x00\x00\x00\x00\x00\x00rej_use_tess_accepted\x00\x00\x00Individual rejection control\x00\x00\x00\x00rej_use_tess_blanks\x00\x00\x00\x00\x00rej_use_good_perm\x00\x00\x00\x00\x00\x00\x00rej_use_sensible_wd\x00\x00\x00\x00\x00Extend permuter check\x00\x00\x00rej_alphas_in_number_perm\x00\x00\x00\x00\x00\x00\x00rej_whole_of_mostly_reject_word_fract\x00\x00\x00if >this fract\x00\x00tessedit_image_border\x00\x00\x00Rej blbs near image edge limit\x00\x00-?*=\x00\x00\x00\x00ok_repeated_ch_non_alphanum_wds\x00Allow NN to unrej\x00\x00\x00\x00\x00\x00\x00Il1[]\x00\x00\x00conflict_set_I_l_1\x00\x00\x00\x00\x00\x00Il1 conflict set\x00\x00\x00\x00\x00\x00\x00\x00min_sane_x_ht_pixels\x00\x00\x00\x00Reject any x-ht lt or eq than this\x00\x00\x00\x00\x00\x00tessedit_create_boxfile\x00Output text with boxes\x00\x00tessedit_page_number\x00\x00\x00\x00-1 -> All pages , else specifc page to process\x00\x00tessedit_write_images\x00\x00\x00Capture the image from the IPE\x00\x00interactive_display_mode\x00\x00\x00\x00\x00\x00\x00\x00Run interactively?\x00\x00\x00\x00\x00\x00.tif\x00\x00\x00\x00file_type\x00\x00\x00\x00\x00\x00\x00Filename extension\x00\x00\x00\x00\x00\x00tessedit_override_permuter\x00\x00\x00\x00\x00\x00According to dict_word\x00\x00tessdata_manager_debug_level\x00\x00\x00\x00Debug level for TessdataManager functions.\x00\x00\x00\x00\x00\x00tessedit_load_sublangs\x00\x00List of languages to load with this one\x00tessedit_use_primary_params_model\x00\x00\x00\x00\x00\x00\x00In multilingual mode use params model of the primary language\x00\x00\x00min_orientation_margin\x00\x00Min acceptable orientation margin","i8", -B,q.g+44976); -C("textord_tabfind_show_vlines\x00\x00\x00\x00\x00Debug line finding\x00\x00\x00\x00\x00\x00textord_use_cjk_fp_model\x00\x00\x00\x00\x00\x00\x00\x00Use CJK fixed pitch model\x00\x00\x00\x00\x00\x00\x00poly_allow_detailed_fx\x00\x00Allow feature extractors to see the original outline\x00\x00\x00\x00tessedit_init_config_only\x00\x00\x00\x00\x00\x00\x00Only initialize with the config file. Useful if the instance is not going to be used for OCR but say only for layout analysis.\x00\x00textord_equation_detect\x00Turn on equation detector\x00\x00\x00\x00\x00\x00\x00textord_tabfind_vertical_text\x00\x00\x00Enable vertical detection\x00\x00\x00\x00\x00\x00\x00textord_tabfind_force_vertical_text\x00\x00\x00\x00\x00Force using vertical text page mode\x00\x00\x00\x00\x00textord_tabfind_vertical_text_ratio\x00\x00\x00\x00\x00Fraction of textlines deemed vertical to use vertical page mode\x00textord_tabfind_aligned_gap_fraction\x00\x00\x00\x00Fraction of height used as a minimum gap for aligned blobs.\x00\x00\x00\x00\x00tessedit_parallelize\x00\x00\x00\x00Run in parallel where possible\x00\x00preserve_interword_spaces\x00\x00\x00\x00\x00\x00\x00Preserve multiple interword spaces\x00\x00\x00\x00\x00\x00include_page_breaks\x00\x00\x00\x00\x00Include page separator string in output text after each image/page.\x00\x00\x00\x00\x00\f\x00\x00\x00\x00\x00\x00\x00page_separator\x00\x00Page separator (default is form feed control character)\x00textord_tabfind_vertical_horizontal_mix\x00find horizontal lines such as headers in vertical page mode\x00\x00\x00\x00\x00tessedit_ok_mode\x00\x00\x00\x00\x00\x00\x00\x00Acceptance decision algorithm\x00\x00\x00load_fixed_length_dawgs\x00Load fixed length dawgs (e.g. for non-space delimited languages)\x00\x00\x00\x00\x00\x00\x00\x00segment_debug\x00\x00\x00Debug the whole segmentation process\x00\x00\x00\x00permute_debug\x00\x00\x00Debug char permutation process\x00\x00bestrate_pruning_factor\x00Multiplying factor of current best rate to prune other hypotheses\x00\x00\x00\x00\x00\x00\x00permute_script_word\x00\x00\x00\x00\x00Turn on word script consistency permuter\x00\x00\x00\x00\x00\x00\x00\x00segment_segcost_rating\x00\x00incorporate segmentation cost in word rating?\x00\x00\x00segment_reward_script\x00\x00\x00Score multipler for script consistency within a word. Being a 'reward' factor, it should be <= 1. Smaller value implies bigger reward.\x00\x00permute_fixed_length_dawg\x00\x00\x00\x00\x00\x00\x00Turn on fixed-length phrasebook search permuter\x00permute_chartype_word\x00\x00\x00Turn on character type (property) consistency permuter\x00\x00segment_reward_chartype\x00Score multipler for char type consistency within a word. \x00\x00\x00\x00\x00\x00\x00segment_reward_ngram_best_choice\x00\x00\x00\x00\x00\x00\x00\x00Score multipler for ngram permuter's best choice (only used in the Han script path).\x00\x00\x00\x00ngram_permuter_activated\x00\x00\x00\x00\x00\x00\x00\x00Activate character-level n-gram-based permuter\x00\x00permute_only_top\x00\x00\x00\x00\x00\x00\x00\x00Run only the top choice permuter\x00\x00\x00\x00\x00\x00\x00\x00language_model_fixed_length_choices_depth\x00\x00\x00\x00\x00\x00\x00Depth of blob choice lists to explore when fixed length dawgs are on\x00\x00\x00\x00use_new_state_cost\x00\x00\x00\x00\x00\x00use new state cost heuristics for segmentation state evaluation\x00heuristic_segcost_rating_base\x00\x00\x00base factor for adding segmentation cost into word rating.It's a multiplying factor, the larger the value above 1, the bigger the effect of segmentation cost.\x00\x00heuristic_weight_rating\x00weight associated with char rating in combined cost ofstate\x00\x00\x00\x00\x00heuristic_weight_width\x00\x00weight associated with width evidence in combined cost of state\x00heuristic_weight_seamcut\x00\x00\x00\x00\x00\x00\x00\x00weight associated with seam cut in combined cost of state\x00\x00\x00\x00\x00\x00\x00heuristic_max_char_wh_ratio\x00\x00\x00\x00\x00max char width-to-height ratio allowed in segmentation\x00\x00enable_new_segsearch\x00\x00\x00\x00Enable new segmentation search path.\x00\x00\x00\x00segsearch_max_fixed_pitch_char_wh_ratio\x00Maximum character width-to-height ratio for fixed-pitch fonts\x00\x00\x00splitter_.splitted_image()\x00\x00\x00\x00\x00\x00../ccmain/tesseractclass.cpp\x00\x00\x00\x00splitter_.orig_pix()\x00\x00\x00\x00N9tesseract9TesseractE\x00\x00\u00a8-\u001a\x00\u00e0\u00e4\x00\x00\u00d0\u00be\u0004","i8", -B,q.g+55216); -C('`\u00f8\u0019\x00\x00\x00\x00\x00No truth for word - skipping\n\x00\x00\x00!word->chopped_word->blobs.empty()\x00\x00\x00\x00\x00\x00../ccmain/tfacepp.cpp\x00\x00\x00recog_word ASSERT FAIL String:"%s"; Strlen=%d; #Blobs=%d\n\x00\x00\x00\x00\x00\x00\x00word->best_choice->length() == word->box_word->length()\x00Not all words have valid states relative to ratings matrix!!\x00\x00\x00\x00Permuter Type Flipped from %d to %d\n\x00\x00\x00\x00(word->best_choice == NULL) == (word->raw_choice == NULL)\x00\x00\x00\x00\x00\x00\x00recog_word: Discarded long string "%s" (%d characters vs %d blobs)\n\x00\x00\x00\x00\x00Word is at:\x00\x00\x00\x00\x00split_index > 0\x00split_pt >0 && split_pt < word->chopped_word->NumBlobs()\x00\x00\x00\x00\x00\x00\x00\x00word->ratings->dimension() == rat1 + rat2',"i8", -B,q.g+58632); -C('\u00e8\u00e7\x00\x00 \x00\x00\x00!\x00\x00\x00"\x00\x00\x00\u0001\x00\x00\x00\u0001\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00#\x00\x00\x00Cannot convert RAW image to Pix with bpp = %d\n\x00\x00N9tesseract16ImageThresholderE\x00\x00\u0080-\u001a\x00\u00c8\u00e7\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00Reading ambiguities\n\x00\x00\x00\x00ambig_file->FGets(buffer, kBufferSize) != NULL && strlen(buffer) > 0\x00\x00\x00\x00../ccutil/ambigs.cpp\x00\x00\x00\x00read line %s\n\x00\x00\x00id_to_insert != INVALID_UNICHAR_ID\x00\x00\x00\x00\x00\x00%s Ambiguities for %s:\n\x00Replaceable\x00\x00\x00\x00\x00Dangerous\x00\x00\x00\x00\x00\x00\x00wrong_ngram:\x00\x00\x00\x00correct_fragments:\x00\x00\x00\x00\x00\x00%sAmbigs for adaption for %s:\n\x00\x00Reverse \x00\x00\x00\x00\x00\x00\x00\x00Illegal ambiguity specification on line %d\n\x00\x00\x00\x00\x00Too many unichars in ambiguity on line %d\n\x00\x00\x00\x00\x00\x00\t \x00\x00\x00\x00\x00\x00Illegal unichar %s in ambiguity specification\n\x00\x00[Empty]\x00( \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\u0001\x00\x00\x00\u0001\x00\x00\x00\u0002\x00\x00\x00\u0001\x00\x00\x00\u0002\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0001\x00\x00\x00\u0002\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0001\x00\x00\x00\u0002\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0001\x00\x00\x00\u0002\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0001\x00\x00\x00\u0002\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0006\x00\x00\x00\u0007\x00\x00\x00\u0001\x00\x00\x00\u0002\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0006\x00\x00\x00\u0007\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0006\x00\x00\x00\u0007\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0006\x00\x00\x00\u0007\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0006\x00\x00\x00\u0007\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0006\x00\x00\x00\u0007\x00\x00\x00\u0006\x00\x00\x00\u0007\x00\x00\x00\u0007\x00\x00\x00\b\x00\x00\x000 <= index && index < bit_size_\x00../ccutil/bitvector.h\x00\x00\x00WordIndex',"i8", -B,q.g+59244);C("\u00f8\u00ef\x00\x00$\x00\x00\x00%\x00\x00\x00m_data_sub_dir\x00\x00Directory for data files\x00\x00\x00\x00\x00\x00\x00\x00ambigs_debug_level\x00\x00\x00\x00\x00\x00Debug level for unichar ambiguities\x00\x00\x00\x00\x00use_definite_ambigs_for_classifier\x00\x00\x00\x00\x00\x00Use definite ambiguities when running character classifier\x00\x00\x00\x00\x00\x00use_ambigs_for_adaption\x00Use ambigs for deciding whether to adapt to a character","i8",B,q.g+61068); -C("N9tesseract6CCUtilE\x00\x00\x00\x00\x00\u0080-\u001a\x00\u00e0\u00ef\x00\x00\u00e0\u00f3\u0005\x00\x00\x00\x00\x00\b\u00f4\u0005\x00\x00\x00\x00\x00(\u00f4\u0005\x00\x00\x00\x00\x00\u0088\u00f4\u0005\x00\x00\x00\x00\x00\u00e8\u00f4\u0005\x00\x00\x00\x00\x00\x00\u00f5\u0005\x00\x00\x00\x00\x00CLIST::internal_deep_clear\x00\x00\x00\x00\x00\x00CLIST::shallow_clear\x00\x00\x00\x00CLIST::length\x00\x00\x00CLIST::sort\x00\x00\x00\x00\x00CLIST_ITERATOR::forward\x00CLIST_ITERATOR::data_relative\x00\x00\x00CLIST_ITERATOR::move_to_last\x00\x00\x00\x00CLIST_ITERATOR::add_before_then_move\x00\x00\x00\x00\u00e0\u00f3\u0005\x00\x00\x00\x00\x00\b\u00f4\u0005\x00\x00\x00\x00\x00(\u00f4\u0005\x00\x00\x00\x00\x00\u0088\u00f4\u0005\x00\x00\x00\x00\x00\u00e8\u00f4\u0005\x00\x00\x00\x00\x00\x00\u00f5\u0005\x00\x00\x00\x00\x00ELIST::internal_clear\x00\x00\x00Destination list must be empty before extracting a sublist\x00\x00\x00\x00\x00\x00ELIST::assign_to_sublist\x00\x00\x00\x00\x00\x00\x00\x00ELIST.assign_to_sublist\x00ELIST::length\x00\x00\x00ELIST::sort\x00\x00\x00\x00\x00ELIST_ITERATOR::forward\x00ELIST_ITERATOR::data_relative\x00\x00\x00offset < -l\x00\x00\x00\x00\x00ELIST_ITERATOR::move_to_last\x00\x00\x00\x00other_it NULL\x00\x00\x00Can't extract sublist from points on different lists\x00\x00\x00\x00Can't extract a sublist marked by deleted points\x00\x00\x00\x00\x00\x00\x00\x00Can't find sublist end point in original list\x00\x00\x00ELIST_ITERATOR::extract_sublist\x00ELIST_ITERATOR.extract_sublist\x00\x00\u00e0\u00f3\u0005\x00\x00\x00\x00\x00\b\u00f4\u0005\x00\x00\x00\x00\x00(\u00f4\u0005\x00\x00\x00\x00\x00\u0088\u00f4\u0005\x00\x00\x00\x00\x00\u00b8\u00f4\u0005\x00\x00\x00\x00\x00\u00e8\u00f4\u0005\x00\x00\x00\x00\x00\x00\u00f5\u0005\x00\x00\x00\x00\x00 \u00f5\u0005\x00\x00\x00\x00\x00ELIST2::internal_clear\x00\x00ELIST2::length\x00\x00ELIST2::sort\x00\x00\x00\x00ELIST2_ITERATOR::forward\x00\x00\x00\x00\x00\x00\x00\x00This is: %p Current is: %p\x00\x00\x00\x00\x00ELIST2_ITERATOR::backward\x00\x00\x00\x00\x00\x00\x00ELIST2_ITERATOR::data_relative\x00\x00ELIST2_ITERATOR::add_before_then_move\x00\x00\x00h\u00f4\x00\x00\x00\x00\x00\x00Illegal error action\x00\x00\x00\x00%s:\x00\x00\x00\x00\x00Error:%s\x00\x00\x00\x00\x00\x00\x00\x00error\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00\"Fatal error encountered!\" == NULL\x00\x00\x00\x00\x00\x00../ccutil/globaloc.cpp\x00\x00TESSDATA_PREFIX\x00./\x00\x00\x00\x00\x00\x00tessdata\x00\x00\x00\x00\x00\x00\x00\x00tessdata/\x00\x00\x00\x00\x00\x00\x00\\","i8", -B,q.g+61400); -C('read_params_file: Can\'t open %s\n\x00\x00\x00\x00\x00\x00\x00\x00read_params_file: parameter not found: %s\n\x00\x00\x00\x00\x00\x00%lf\x00\x00\x00\x00\x00%s\t%d\t%s\n\x00\x00\x00\x00\x00\x00\x00%s\t%s\t%s\n\x00\x00\x00\x00\x00\x00\x00%s\t%g\t%s\n\x00\x00\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00!is_writing_\x00\x00\x00\x00../ccutil/serialis.cpp\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00../ccutil/strngs.cpp\x00\x00\x00\x00index >= 0\x00\x00\x00\x00\x00\x00%.8g\x00\x00\x00\x00Error opening data file %s\n\x00\x00\x00\x00\x00Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "tessdata" directory.\n\x00TessdataManager loaded %d types of tesseract data files.\n\x00\x00\x00\x00\x00\x00\x00Offset for type %d is %lld\n',"i8", -B,q.g+62768);C("debug_file\x00\x00\x00\x00\x00\x00File to send tprintf output to","i8",B,q.g+63392); -C("\u00800\x00\x00\u0080 \u000e\x00\u0080 \u00c8\u0003\x00\x00\x00\x00\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001","i8", -B,q.g+129E3); -C('\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0002\u0003\u0003\u0003\u0003\u0003\u0003\u0003\u0003\u0003\u0003\u0003\u0003\u0003\u0003\u0003\u0003\u0004\u0004\u0004\u0004\u0004\u0004\u0004\u0004\x00\x00\x00\x00\x00\x00\x00\x00*unichar_repr != \'\\0\'\x00\x00\x00../ccutil/unicharmap.cpp\x00\x00\x00\x00\x00\x00\x00\x00insert\x00\x00id >= 0\x00`\u00f8\u0019\x00\x00\x00\x00\x00ct\x00\x00\x00\x00\x00\x00\u00ee\u0080\u0083\x00\x00\x00\x00\x00\u00c5\u00bfh\x00\x00\x00\x00\x00\u00ee\u0080\u0086\x00\x00\x00\x00\x00\u00c5\u00bfi\x00\x00\x00\x00\x00\u00ee\u0080\u0087\x00\x00\x00\x00\x00\u00c5\u00bfl\x00\x00\x00\x00\x00\u00ee\u0080\u0088\x00\x00\x00\x00\x00\u00c5\u00bf\u00c5\u00bf\x00\x00\x00\x00\u00ee\u0080\u0089\x00\x00\x00\x00\x00P\u00f9\u0001\x00X\u00f9\u0001\x00`\u00f9\u0001\x00h\u00f9\u0001\x00p\u00f9\u0001\x00x\u00f9\u0001\x00\u0080\u00f9\u0001\x00\u0088\u00f9\u0001\x00\u0090\u00f9\u0001\x00\u0098\u00f9\u0001\x00\x00\x00\x00\x00\x00\x00\x00\x00Joined\x00\x00|Broken|0|1\x00\x00\x00\x00\x00\u00b8\u00f7\u0019\x00\u00d0\u00f9\u0001\x00\u00d8\u00f9\u0001\x00\x00\x00\x00\x00length > 0 && length <= UNICHAR_LEN\x00\x00\x00\x00\x00../ccutil/unicharset.cpp\x00\x00\x00\x00\x00\x00\x00\x00unichar_to_id\x00\x00\x00__INVALID_UNICHAR__\x00\x00\x00\x00\x00id < this->size()\x00\x00\x00\x00\x00\x00\x00 [\x00\x00\x00\x00\x00\x00%x\x00\x00\x00\x00\x00\x00]\x00\x00\x00\x00\x00\x00\x00A\x00\x00\x00\x00\x00\x00\x00x\x00\x00\x00\x00\x00\x00\x00p\x00\x00\x00\x00\x00\x00\x00Utf8 buffer too big, size=%d for %s\n\x00\x00\x00\x00%s %x %d,%d,%d,%d,%g,%g,%g,%g,%g,%g %63s %d %d %d %63s\x00\x00%s %x %d,%d,%d,%d,%g,%g,%g,%g,%g,%g %63s %d %d %d\x00\x00\x00\x00\x00\x00\x00%s %x %d,%d,%d,%d %63s %d %d %d\x00%s %x %d,%d,%d,%d %63s %d\x00\x00\x00\x00\x00\x00\x00%s %x %63s %d\x00\x00\x00%s %x %63s\x00\x00\x00\x00\x00\x00%s %x\x00\x00\x00other_case < unicharset_size\x00\x00\x00\x00mirror < unicharset_size\x00\x00\x00\x00\x00\x00\x00\x00null_sid_ == 0\x00\x00Common\x00\x00Latin\x00\x00\x00Cyrillic\x00\x00\x00\x00\x00\x00\x00\x00Greek\x00\x00\x00Han\x00\x00\x00\x00\x00Hiragana\x00\x00\x00\x00\x00\x00\x00\x00Katakana\x00\x00\x00\x00\x00\x00\x00\x00%c%d%c%d\x00\x00\x00\x00\x00\x00\x00\x0019TessResultCallback2IPcS0_iE\x00\x00\x00\u0080-\u001a\x00`\u00fc\u0001\x00\x00\x00\x00\x00\u00e0\u00fc\u0001\x00&\x00\x00\x00\'\x00\x00\x00\t\x00\x00\x00\x00\x00\x00\x0029_TessMemberResultCallback_0_2ILb0EPc16LocalFilePointerS0_iE\x00\x00\x00\u00a8-\u001a\x00\u00a0\u00fc\u0001\x00\u0080\u00fc\u0001\x00\x00\x00\x00\x00\u00e2\u0080\u008e\x00\x00\x00\x00\x00\u00e2\u0080\u008f\x00\x00\x00\x00\x00\u00e2\u0080\u00aa\x00\x00\x00\x00\x00\u00e2\u0080\u00ac\x00\x00\x00\x00\x00v2\n\'\' " 1\n`\' " 1\n\'` " 1\n\u00e2\u0080\u0098\' " 1\n\'\u00e2\u0080\u0098 " 1\n\u00e2\u0080\u0099\' " 1\n\'\u00e2\u0080\u0099 " 1\n`` " 1\n`\u00e2\u0080\u0098 " 1\n\u00e2\u0080\u0098` " 1\n`\u00e2\u0080\u0099 " 1\n\u00e2\u0080\u0099` " 1\n\u00e2\u0080\u0098\u00e2\u0080\u0098 \u00e2\u0080\u009c 1\n\u00e2\u0080\u0098\u00e2\u0080\u0099 " 1\n\u00e2\u0080\u0099\u00e2\u0080\u0098 " 1\n\u00e2\u0080\u0099\u00e2\u0080\u0099 \u00e2\u0080\u009d 1\n,, \u00e2\u0080\u009e 1\nm rn 0\nrn m 0\nm in 0\nin m 0\nd cl 0\ncl d 0\nnn rm 0\nrm nn 0\nn ri 0\nri n 0\nli h 0\nlr h 0\nii u 0\nii n 0\nni m 0\niii m 0\nll H 0\nI-I H 0\nvv w 0\nVV W 0\nt f 0\nf t 0\na o 0\no a 0\ne c 0\nc e 0\nrr n 0\nE fi 0\nl< k 0\nld ki 0\nlx h 0\nxn m 0\nux in 0\nr t 0\nd tl 0\ndi th 0\nur in 0\nun im 0\nu a 0\no \u00c3\u00b3 0\n\u00c3\u00b3 o 0\ni \u00c3\u00ad 0\n\u00c3\u00ad i 0\na \u00c3\u00a1 0\n\u00c3\u00a1 a 0\ne \u00c3\u00a9 0\n\u00c3\u00a9 e 0\nu \u00c3\u00ba 0\n\u00c3\u00ba u 0\nn \u00c3\u00b1 0\n\u00c3\u00b1 n 0\n0 o 0\nd tr 0\nn tr 0\n\u00c3\u00b1 fi 0\nu ti 0\n\u00c3\u00b1 ti 0\nd ti 0\nd t\u00c3\u00ad 0\nd r\u00c3\u00ad 0\na \u00c3\u00a0 0\ne \u00c3\u00a8 0\nn ij 0\ng ij 0\no \u00c3\u00b2 0\nE \u00c3\u0089 0\nE \u00c3\u0088 0\nu \u00c3\u00bc 0\nxnE an 1\nmYx me 1\nqtE nt 1\nTlb le 1\nvxN va 1\ngjQ ng 1\njpF ij 1\nYrl le 1\naqY an 1\nzvJ va 1\nfbL be 1\nNvk va 1\nfJp pr 1\nwxC wa 1\ncuJ qu 1\nQzt ta 1\nqKw wa 1\nscJ st 1\npXp po 1\nVqi ti 1\nUxk ka 1\nkJv ka 1\nYkd ka 1\nvpX va 1\niBv ti 1\nzRb sz 1\nyTm mi 1\nmKp pr 1\nVzq qu 1\nXtp ti 1\nmvD va 1\nmDq me 1\njxP ij 1\nBxv va 1\noIu qu 1\nRvc va 1\nuCj qu 1\noAo vo 1\nquB tu 1\nbtV ti 1\nLmc me 1\ntVw ti 1\nYxv va 1\nHxm me 1\ndVh th 1\nxYc ch 1\nuPj tu 1\nfTf fo 1\nRjw ij 1\nxdA di 1\njzN ij 1\nmxL me 1\nygJ ng 1\nVvg va 1\nrjK ij 1\nyuV tu 1\nsWk ku 1\nPgz sz 1\njHm me 1\nzkU ku 1\ngvG va 1\nhdP th 1\nmVb me 1\nQgd di 1\nzcZ ch 1\nzqj ij 1\nzsJ sz 1\ndfN di 1\ndgW di 1\nwNr ri 1\nzvC va 1\nqYw qu 1\nuHy tu 1\ntNq th 1\nlxJ li 1\nHbk ku 1\nxsG st 1\nvSb va 1\nxFb bu 1\nNtg th 1\noBj ij 1\nqkv qu 1\nbVj ij 1\nzjT ij 1\nbvX va 1\noZf to 1\nkcU ko 1\nfFm me 1\nXbj ij 1\nKqv va 1\nRwj ij 1\ndvJ va 1\nznJ sz 1\nqqV qu 1\npxM po 1\neBj ij 1\nmJx me 1\nxnM ng 1\naCq va 1\npHj ij 1\ntfQ th 1\nwqn qu 1\nmSs is 1\nsBw st 1\nFhn th 1\nzNb sz 1\nMvb va 1\nbVt th 1\nqHt th 1\nqLv qu 1\nkgF ng 1\nvxW va 1\ncdY ch 1\nXrz sz 1\nEfh th 1\nlqI qu 1\nLzq qu 1\nzhX th 1\nghZ th 1\nlFg ng 1\nvVc va 1\nlMr er 1\nTqj qu 1\njAx ij 1\niMt th 1\nNlv va 1\nzbP sz 1\nkVx ka 1\neQl te 1\nsWb st 1\nBqy qu 1\ndXk ka 1\nvUc va 1\nvOb va 1\nuHf qu 1\nqNr qu 1\nuFz qu 1\nMlr er 1\nkmZ ka 1\nsRt th 1\nWqv qu 1\nhfK th 1\nvxQ va 1\nlCq qu 1\nfYw wa 1\ntfS th 1\nqdO qu 1\ndQd de 1\nxdX de 1\nmNx me 1\nkFz sz 1\nwjS ij 1\nyPp pr 1\nwcW ch 1\nNjz sz 1\ndVp de 1\ndqD qu 1\nrJs sz 1\nxpH po 1\nxqR qu 1\ngVr er 1\nBtq th 1\nnmB nt 1\nzcM sz 1\ncfG ch 1\nmfO me 1\nYhc th 1\nbZm me 1\nmzB sz 1\nvRw va 1\nyDh th 1\nZgf ng 1\nkqT qu 1\nIuz qu 1\nrbW er 1\nJmq qu 1\nKvj va 1\nzcD ch 1\nxgC ng 1\njCx ij 1\nbWg ng 1\nywW wa 1\nJkc ch 1\nxGs sz 1\nvbH va 1\nlTz sz 1\neCb er 1\njVv va 1\njDq qu 1\njoQ po 1\nqtM th 1\nRqk qu 1\nHvg va 1\nuAz qu 1\nmfW me 1\ntgS th 1\ncqD qu 1\nsfY sz 1\nYhv th 1\nuqM qu 1\nxpK pr 1\nJzh th 1\ncQk ch 1\ntjO th 1\nqxZ qu 1\nzPv sz 1\nqNk qu 1\nlvQ va 1\nkGw ka 1\nxuD qu 1\nJvy va 1\njYe te 1\nfZu qu 1\nqYo qu 1\nvhI th 1\nfxY fo 1\nyPf fo 1\nfGj ij 1\ndmT me 1\nvfX va 1\nxQt th 1\ncxS ch 1\nvzA va 1\nqaA qu 1\nJbx be 1\nkVd ka 1\nXjv va 1\nhkI th 1\nvQu qu 1\nvhK th 1\nDvj va 1\nVbm me 1\nfpN pr 1\npkG ka 1\nbLc ch 1\ntJc th 1\nwwJ wa 1\nZrw er 1\nwdW de 1\nWgf ng 1\nPqz qu 1\nwgN ng 1\nzHt th 1\nxTl le 1\nDvt th 1\nwmU me 1\nxhm th 1\nhCx th 1\nvwV va 1\nzvL va 1\nnGf nt 1\njjC ij 1\nUcg ch 1\npWf pr 1\njxG ij 1\nMqn qu 1\nyvW va 1\nlWk ka 1\nmdO me 1\nqNm qu 1\nRwg ng 1\nxfv va 1\nuOw qu 1\nxhZ th 1\njLr er 1\nfBy fo 1\nnUj nt 1\nlTg ng 1\njlP ij 1\nwrR er 1\nrXw er 1\neVw ve 1\nzWn ng 1\nmJs sz 1\nMgy ng 1\nuZq qu 1\nTdg ng 1\nmqI qu 1\nDhp th 1\npmK me 1\nSsf sz 1\nsWl sz 1\niqK qu 1\ngjG ng 1\ndjB ij 1\nwKv va 1\nwvI va 1\ntcU th 1\ntkG th 1\nzUe te 1\nlUh th 1\nnBg nt 1\ndHx de 1\nWbz sz 1\nvuQ qu 1\nHpl le 1\noVj ij 1\nvBb va 1\nTdz sz 1\npfV pr 1\nqgN qu 1\npcU ch 1\ngcN ch 1\nvkA va 1\ncQf ch 1\nYzx sz 1\nypF pr 1\nvBw va 1\npPd de 1\nqmU qu 1\neWf ve 1\njZr er 1\nHwl le 1\nyyI ny 1\nZfh th 1\nLgw ng 1\nuqp qu 1\nxOj ij 1\ndkJ ko 1\ndqM qu 1\nsbW is 1\nzMp sz 1\nnJz ng 1\nkMc ko 1\nzqW qu 1\nvQk va 1\neqD qu 1\nhFn th 1\nvcZ ch 1\nxGk ka 1\nkzf sz 1\nxZx xe 1\nqvN qu 1\nykY ka 1\nbrH er 1\nWrh th 1\nwjE ij 1\nkjQ ka 1\nfLj ij 1\nmgE ng 1\nxwI wa 1\niDw ti 1\nBtx th 1\nvPz va 1\nyqH qu 1\nwFe er 1\nlQy le 1\ngBp ng 1\njdY de 1\ntvQ th 1\nljO le 1\nNsq qu 1\nxdO de 1\ngzW ng 1\nwtM th 1\nqfR qu 1\njZh th 1\nWcb ch 1\ndvQ va 1\njHb ij 1\nxbM be 1\nnWg nt 1\nYwj ij 1\nXwj ij 1\npxK pr 1\nybQ be 1\nWvm va 1\nLgz ng 1\nbtS th 1\njRl le 1\nqqJ qu 1\nCnq qu 1\nFmw me 1\ndvP va 1\nvqB qu 1\ndjI de 1\njVq qu 1\nfvZ va 1\nCwt th 1\nUyb be 1\nFfc ch 1\nsoX sz 1\nqhR th 1\nfWz sz 1\nvrX va 1\neOq qu 1\nbwZ be 1\ndnV ng 1\nGbw be 1\nxGd de 1\nmnZ ng 1\nbpN pr 1\ndzX de 1\nBxq qu 1\nzpx sz 1\ndqZ qu 1\nxTf fo 1\nwPv va 1\ncxq qu 1\nhdT th 1\nywX wa 1\nUvv va 1\nrKp er 1\nsdF de 1\nJcg ch 1\nxzO sz 1\nxTt th 1\ndjP de 1\ngTn ng 1\nGtp th 1\nxgA ng 1\nbdL de 1\nwzO sz 1\nfhI th 1\nWmp me 1\nQdt th 1\nuYq qu 1\npbJ pr 1\njRd de 1\nXsx sz 1\nzgI ng 1\nqhY th 1\nGgj ng 1\nFjq qu 1\nQwk ka 1\nzxW sz 1\nvCc ch 1\nccL ch 1\nKxs sz 1\nmYr er 1\nrQt er 1\nZxs sz 1\nhdQ th 1\ndwH de 1\nYml le 1\nqVz qu 1\nRvl va 1\nyHk ka 1\nWjt th 1\nhMw th 1\npzU sz 1\ngcL ch 1\nqOa qu 1\neqI qu 1\niYp ti 1\nvCq qu 1\nuoV ro 1\nfZx fo 1\nqQd qu 1\nqdE qu 1\nqWx qu 1\nYkj ij 1\nFpj ij 1\nzGv va 1\nrwO er 1\nQzq qu 1\nKqb qu 1\nzgT ng 1\njsZ sz 1\naHq qu 1\nyjL ij 1\nYcw ch 1\nbnP an 1\nvWn an 1\nzyY sz 1\nzRs st 1\nwuP qu 1\nvjB va 1\njrT er 1\nvwJ va 1\ndVj de 1\nzvW va 1\ndZk de 1\nnrG an 1\nqsU qu 1\nPvs va 1\nlLh th 1\nqCz qu 1\ndvV de 1\nPjw ij 1\nKmj ij 1\nJfh th 1\nnwY an 1\ngwC ng 1\nvGb va 1\nqWr qu 1\nqpW qu 1\ndKk de 1\nyWb be 1\njmN ij 1\ngpV ng 1\nqzS qu 1\noZh th 1\nQmt th 1\nmNk me 1\nypM pr 1\nlwH le 1\nzHs sz 1\njzC jo 1\noJh th 1\nLqh th 1\nhXg th 1\nxEf fo 1\nuWx qu 1\nkvT va 1\nzsG sz 1\nlSx le 1\nqKb qu 1\nQye de 1\nxHk ka 1\nCwp pr 1\nzmJ sz 1\nxuL qu 1\nbdH de 1\nPbw wa 1\nqdX qu 1\nlVc ch 1\nbqL qu 1\nwNs sz 1\nvzN va 1\nqjA qu 1\nZhf th 1\nypJ pr 1\nxMq qu 1\nbTk ka 1\ntLf th 1\nxgR ng 1\nkQz sz 1\nRjp ij 1\nxhG th 1\nbCc ch 1\nhbF th 1\nrxQ er 1\nqVp qu 1\nbkY ka 1\nqPl qu 1\njQk ij 1\nOvq qu 1\nsVv va 1\npmU me 1\nuFv qu 1\nxaZ va 1\ngGn an 1\npgI ng 1\nzTj sz 1\nlvC va 1\nwGv va 1\nrNv va 1\nQtq th 1\nvNh th 1\nlPv va 1\nJdq qu 1\nXdj de 1\nyqk qu 1\niwY ti 1\nNmq qu 1\nfTp pr 1\nqzQ qu 1\npjA ij 1\npvH va 1\nxLj ij 1\nqWh th 1\nvVq qu 1\ngQd de 1\nsvY va 1\nfLf fo 1\nqzB qu 1\nDxg ng 1\nuzY qu 1\ngVz sz 1\nhZb th 1\nGpx pr 1\nxqh th 1\ngcX ch 1\nHxd de 1\ntUq th 1\nbKp pr 1\niGx ti 1\nxvQ va 1\nlxA le 1\nsjH st 1\nGqo qu 1\ndgQ de 1\nyDk ka 1\nZnv va 1\nvfU va 1\nvuD qu 1\noQj ij 1\nbhD th 1\nqLj qu 1\nmdY de 1\nrZb er 1\nkDv va 1\nfsK sz 1\nKqf qu 1\nyWl le 1\nmVw me 1\nmcV ch 1\ntDf th 1\nlAo le 1\nfzR sz 1\nXrq qu 1\njrZ er 1\nqmN qu 1\nJnp an 1\njhC th 1\nkqR qu 1\ndWn de 1\nWmw me 1\nRgy ng 1\nuvN qu 1\njiY ti 1\nxWc ch 1\nyJr er 1\noHq qu 1\nyvw va 1\nYdn de 1\nNvq qu 1\nGmv va 1\nxxZ xe 1\nXdf de 1\nxYh th 1\nVnv an 1\njNz sz 1\nWnq qu 1\nXwk ka 1\nqWz qu 1\nmQs sz 1\nVxb be 1\nxwG wa 1\nwvp va 1\ngmV ng 1\nRzq qu 1\nCpw pr 1\nGyy ny 1\nxzA sz 1\nwGx wa 1\nbqS qu 1\nwhR th 1\njPc ch 1\niqG qu 1\ndjK de 1\ncVk ch 1\nrwT er 1\nVhn th 1\nHfw wa 1\nbnJ an 1\nCpd de 1\nNmd de 1\ndnO an 1\nqWc qu 1\naVq qu 1\nqOn qu 1\nQlr er 1\nqnN qu 1\nrLq qu 1\nwtE th 1\njgR ng 1\nYqp qu 1\nHwg ng 1\nnWk an 1\nwqB qu 1\nfAp pr 1\nhZv th 1\nKzp sz 1\nfNk ka 1\nTkd de 1\nuYm qu 1\nkcR ch 1\nxNl le 1\nkHk ka 1\nbJk ka 1\njjD ij 1\nNlq qu 1\ndhB th 1\njXl le 1\nnwB an 1\nHzb sz 1\nqQz qu 1\nfKc ch 1\njVw ij 1\nylU le 1\nLzj sz 1\nsXu qu 1\nwBw wa 1\nIqg qu 1\nwjV ij 1\nwxt th 1\njzK sz 1\nrDd de 1\nuQy qu 1\nqGw qu 1\ntbU th 1\nkUo ka 1\ndVm de 1\nDdn an 1\nvqC vo 1\njkZ ij 1\nLvz va 1\ntPy th 1\nVfj ij 1\nQhb th 1\nwhB th 1\nFqf qu 1\nhCv th 1\nFjf ij 1\nQfr er 1\nzwF sz 1\nFwf wa 1\npvU va 1\nwhC th 1\nhTk th 1\ndlQ de 1\nwzL sz 1\nzqS qu 1\nqtP th 1\nyhC th 1\nyjB ij 1\niTd de 1\nkLx ka 1\nRqi qu 1\nqjS qu 1\nvjI va 1\npGz sz 1\nwnV an 1\nlQx le 1\nuvS qu 1\nZge de 1\ngJv ng 1\nYdb de 1\nwDh th 1\nzwV sz 1\nhNm th 1\nzwQ sz 1\nfRr er 1\nwVr er 1\nnKg an 1\nTgg ng 1\nbYp pr 1\nlBn an 1\nzjp sz 1\nqAf qu 1\nzmK me 1\nwqK qu 1\nvjT va 1\nLql qu 1\nsnC an 1\nfzY sz 1\nvqU qu 1\nmGb me 1\nfkP ka 1\nwQg ng 1\nFqt th 1\nbVm me 1\nWcx ch 1\nwpY wa 1\nlFv va 1\ngwD ng 1\ngWp ng 1\nfjT ij 1\npFt th 1\niIp in 1\ntbD th 1\nXqc qu 1\nQkc ch 1\nqeZ qu 1\nqPb qu 1\ngwL ng 1\nfHi in 1\nxwP wa 1\nxvB va 1\njSw ij 1\npzF sz 1\nwYp wa 1\ndDx de 1\nnBx an 1\ncNv ch 1\nUbm me 1\nxXu qu 1\ndRl de 1\ndBz de 1\nXvh th 1\nXld de 1\nmwY me 1\nwhQ th 1\nMzl le 1\nAqj qu 1\nuDp qu 1\ncjZ ch 1\nVkf ka 1\nuGq qu 1\nhBs th 1\nqLh th 1\ntfW th 1\ncPn an 1\nxoN on 1\nYdx de 1\nLxk ka 1\nccZ ch 1\nuJh th 1\nsVp sz 1\nwrE er 1\nxgP ng 1\nhPp th 1\neuU qu 1\nsZh th 1\nqnK qu 1\nBgh th 1\nslQ le 1\ngxA ng 1\njLd de 1\nznD an 1\nkXk ka 1\ntfV th 1\nVwl le 1\nxWd do 1\nxnH an 1\ncOq ch 1\nLkk ka 1\nNvy va 1\nxIh th 1\nxkK ka 1\nrMr er 1\nrmQ er 1\nbPn an 1\nfAa an 1\nvQv va 1\nfHr er 1\nPmv va 1\nvzJ sz 1\nwTg ng 1\nbWc ch 1\nZwg ng 1\ngKx ng 1\nGbq qu 1\nwMk ka 1\nNfx fo 1\nfAo on 1\ndHb de 1\nlxH le 1\ndqO qu 1\nTlq qu 1\nYjj ij 1\nIyh th 1\nuoY qu 1\nmhH th 1\nlMj le 1\nfzF sz 1\nfrR er 1\nyNl le 1\naPv an 1\nywG wa 1\nCmw me 1\nsvK va 1\nsrO er 1\nUhz th 1\nvPn an 1\nzTq qu 1\nkzH sz 1\nIox on 1\nfQa an 1\nwZr er 1\nnqU an 1\nwPb wa 1\nTzg ng 1\npnR an 1\nvfJ va 1\nvyX va 1\nfLz sz 1\nzjP sz 1\npmR me 1\nePq qu 1\njyT ij 1\nmjP ij 1\nfsH sz 1\nvwB va 1\nYnr an 1\nTqh th 1\nLvv va 1\ntCf th 1\nwpB wa 1\nwXh th 1\nmhX th 1\nkYd de 1\nDpg ng 1\nygR ng 1\nRfp pr 1\nJyq qu 1\nyxq qu 1\npPc ch 1\naOj an 1\nZww wa 1\nfFx fo 1\nbDh th 1\nqKx qu 1\nwHx wa 1\nhrX th 1\nrFh th 1\nlLx le 1\naYj an 1\nkCs sz 1\nlWt th 1\npdY de 1\nswI sz 1\nbLw wa 1\nMzx sz 1\ncKk ch 1\nhMz th 1\nJcu qu 1\nwjB ij 1\nMqe qu 1\nrxW er 1\ngZv ng 1\nRfn an 1\npwD wa 1\nlhX th 1\nfVg ng 1\nvfW va 1\nlxP le 1\nYyj ij 1\nhPg th 1\nUxq qu 1\nbdO de 1\nbRz sz 1\ndXq qu 1\nRjq qu 1\nfgV ng 1\nxAf fo 1\nwXn an 1\nKvv va 1\nsvL va 1\nfWv va 1\ndrQ er 1\nLpv va 1\nqKp qu 1\neCv er 1\nxwH wa 1\ncvC ch 1\nkUf ka 1\noPx on 1\ntjJ th 1\nbBk ka 1\nvpI va 1\ngzY ng 1\n',"i8", -B,q.g+129208); -C("oZs on 1\npKc ch 1\nxKs sz 1\nqcH qu 1\nVfm me 1\nsvM va 1\nVjx ij 1\nlVw le 1\nwWf wa 1\nXpx pr 1\nlcA ch 1\ntLc th 1\nlDg ng 1\nXjh th 1\nXdh th 1\nrKm er 1\nfnW an 1\nTcb ch 1\nqgX qu 1\nqZo qu 1\neJv er 1\nYxy ny 1\nkfM ka 1\nqKe qu 1\nvMf va 1\ndgY de 1\ngGd ng 1\nVcj ch 1\nSfw wa 1\nxDk ka 1\nfTc ch 1\nqRw qu 1\ntOa th 1\nguQ qu 1\nmgJ ng 1\nbRd de 1\nkYq qu 1\nxwD wa 1\nvXs va 1\nzlC le 1\nkmH ka 1\njhZ th 1\nWxo on 1\nvtX th 1\niWm in 1\nqVx qu 1\nHjv va 1\nPxs sz 1\nbYi in 1\nwgG ng 1\nJvs va 1\ngHh th 1\nKzy sz 1\nxjI ij 1\nuVb qu 1\nPzq qu 1\nhxC th 1\nwPy wa 1\nbXh th 1\njzY sz 1\nfqJ qu 1\nqxX qu 1\nvfB va 1\npPm me 1\nbpC pr 1\nhFv th 1\nCql qu 1\ndwI de 1\nTcq ch 1\nZjx ij 1\nwOz sz 1\nJfj ij 1\niZr in 1\nVxf fo 1\nLpx pr 1\nfHt th 1\nhFy th 1\nlcD ch 1\nvMc ch 1\nxyU ny 1\nmGq qu 1\nwJv va 1\nzKs sz 1\nlMm le 1\nmqU qu 1\nvHg ng 1\nlGc ch 1\neIj te 1\nVdh th 1\nrCk er 1\nwQh th 1\nYwf wa 1\nzUf sz 1\nqZs qu 1\nvNt th 1\nDxj ij 1\ncYr ch 1\ndKt th 1\nvDp va 1\nqnF an 1\nLsj sz 1\nxHv va 1\njCt th 1\nbnX an 1\nfBx fo 1\njVt th 1\nqOy qu 1\nuqD qu 1\nRfw wa 1\ncjS ch 1\nufX qu 1\nfvI va 1\nOwx wa 1\ngXw ng 1\noCv va 1\nMrx er 1\ncIb ch 1\nfJj ij 1\nkqM qu 1\nzqL qu 1\nrPz er 1\niwW in 1\ncMp ch 1\nlVt th 1\nvTb va 1\nIwf wa 1\nxlZ le 1\nvjQ va 1\niPb in 1\nWhk th 1\nWvh th 1\nmzD sz 1\nHqk qu 1\njqB qu 1\nqhM th 1\nprR er 1\nnlV an 1\nqYk qu 1\nzVp sz 1\nvpO va 1\nRvr er 1\nscY ch 1\nqdA qu 1\nvLk va 1\nsvI va 1\nmdE de 1\nhBx th 1\nZrv er 1\njWt th 1\nfTx fo 1\nYpc ch 1\nmMk ka 1\nfdq qu 1\nhcK th 1\nxCy ny 1\nfVr er 1\naPx an 1\nfpU pr 1\nVkb ka 1\ntbM th 1\nzQt th 1\ngxV ng 1\nSfg ng 1\npYl le 1\ngWt th 1\nxEb be 1\nmXy me 1\nlnQ an 1\nqmL qu 1\nVky ka 1\nwwX wa 1\nUwx wa 1\ncfB ch 1\nGxp pr 1\nfpL pr 1\njTx ij 1\ncZv ch 1\nzlK le 1\nhBc th 1\nWqi qu 1\nlGs le 1\nDqz qu 1\nJgw ng 1\ngCx ng 1\ncNj ch 1\ncqJ ch 1\nblD le 1\nqXr qu 1\nkXr er 1\nkhK th 1\nxZh th 1\njSs sz 1\nyjx ij 1\nHwf wa 1\nfXs sz 1\nqgz qu 1\nXdw de 1\nhcN th 1\njJd de 1\ncmQ ch 1\nmvV va 1\nNqe qu 1\nzxS sz 1\nkGt th 1\ntFg th 1\nfzM sz 1\nXrr er 1\ndcJ ch 1\ndQa an 1\nqNy qu 1\nhxT th 1\ntwB th 1\nBqj qu 1\nprK er 1\nzdC de 1\nyAo on 1\ndLt st 1\npgF ng 1\nvgW ng 1\nvpN va 1\nIvx va 1\nvYl le 1\nxRg ng 1\njPu qu 1\nOqr qu 1\nvjg ng 1\ndpH de 1\nyDp pr 1\nxfJ fo 1\nfqV qu 1\neBf er 1\nZkw ka 1\nqHp qu 1\nAqz qu 1\nbNw wa 1\nfjX ij 1\nfqS qu 1\nljK le 1\nGkf ka 1\nbSf be 1\nMxg ng 1\nDqm qu 1\nhKp th 1\nwFq qu 1\nwmJ me 1\nvzT va 1\nrhJ th 1\nnHf an 1\njJo on 1\nqWy qu 1\nWvk va 1\ngkB ng 1\nmEw me 1\nUgx ng 1\nQmy me 1\nLjq qu 1\nbGp pr 1\nlHg ng 1\ncGg ch 1\ngFk ng 1\nxnV an 1\neFy er 1\nNfm me 1\nhSf th 1\ngXj ng 1\nxHf fo 1\nuqj qu 1\nwXa an 1\nvcT ch 1\nuJw qu 1\npWx pr 1\nqpQ qu 1\nhqE th 1\nYfn an 1\njrI er 1\ncgK ch 1\nyyP ny 1\nZmg ng 1\nLkc ch 1\neUq qu 1\njrY er 1\nkFs sz 1\nsUq qu 1\njlZ le 1\ncnV ch 1\naPj an 1\nmjE ij 1\npZl le 1\nuFs qu 1\nKnf an 1\nFpc ch 1\nhfR th 1\nqnC an 1\nDlq qu 1\nfrM er 1\nsfB sz 1\nGxk ka 1\nFkj ij 1\nvGk va 1\ngRm ng 1\nrWf er 1\nrYv er 1\nqEd qu 1\nqHr qu 1\nSmv va 1\nlFp le 1\nkDs sz 1\ndSd de 1\nrLw er 1\ncnZ an 1\nWjp ij 1\npTq qu 1\nKcx ch 1\nvKs va 1\nbcK ch 1\nvwy va 1\nUjx ij 1\nQvr er 1\ndcV ch 1\nxVf fo 1\nuIk qu 1\njlN le 1\nvwL va 1\nfWp pr 1\nPxr er 1\nrRb er 1\nbfD be 1\nyCx ny 1\nnJs an 1\ndCm de 1\ncbG ch 1\ngCf ng 1\ntmV th 1\nqeC qu 1\nknS an 1\ngwY ng 1\nWjl le 1\nmIw me 1\nqjW qu 1\ngwv ng 1\nqJw wa 1\ncnA an 1\nbBm me 1\ngFw ng 1\nwDn an 1\nqgL qu 1\nlUa an 1\nhDn th 1\nkHx ka 1\nwXm me 1\nqyY qu 1\npkD ka 1\nsLz st 1\nzxF sz 1\nvMx va 1\nplR le 1\npwZ pr 1\npYd de 1\nzfL sz 1\nztK th 1\nmTm me 1\ndCp de 1\nbwx wa 1\nxCs sz 1\ntfF th 1\nLnq an 1\ndYi in 1\npWq qu 1\noIx on 1\nywE wa 1\nwNk ka 1\njwO ij 1\nxZz sz 1\nwGm me 1\ncVw ch 1\nbjK ij 1\nGzg ng 1\nkwz sz 1\npBn an 1\ncTx ch 1\nrHq qu 1\nWsg ng 1\nxEh th 1\nyrK er 1\nmMb me 1\npHw pr 1\ncjN ch 1\nnXn an 1\nbwO wa 1\nflB le 1\nQqj qu 1\nmKv va 1\nfFn an 1\nwfG wa 1\nwfB wa 1\nJqk qu 1\nbwK wa 1\nhhI th 1\nlUe er 1\nwFd de 1\nvkT va 1\nxLg ng 1\nfhB th 1\nwmV me 1\ntmF th 1\nRtc th 1\ndyY de 1\njyw ij 1\nkRf ka 1\nfXz sz 1\nZnz an 1\nwqX qu 1\nuMx qu 1\ngwV ng 1\nPbh th 1\ndcM ch 1\nnPz an 1\ncwU ch 1\nvJt th 1\ngyQ ng 1\nfXi in 1\nbsZ sz 1\nBqi qu 1\nvGn an 1\nknN an 1\nwYq qu 1\ntTb th 1\nbmP me 1\njpZ ij 1\nMqw qu 1\nvjM va 1\nqVh th 1\njuY qu 1\nrBk er 1\njuI qu 1\nzEq qu 1\nzWg ng 1\nfzH sz 1\ntLx th 1\nNcf ch 1\nkfN ka 1\nuUo qu 1\nfCs sz 1\ntCv th 1\nsUy sz 1\npBf pr 1\njBz sz 1\nvDc ch 1\nqmx qu 1\nqtK th 1\nqcS ch 1\nvPt th 1\ngQm ng 1\nhzR th 1\ndcL ch 1\nxrI er 1\ndvN va 1\nCwv va 1\nxhQ th 1\nGzu qu 1\npdO de 1\nBqr qu 1\nvLn an 1\nlxf le 1\nvYk va 1\nwSq qu 1\npkS ka 1\nzKg ng 1\ntPm th 1\nPmj ij 1\nlWu qu 1\nXuu qu 1\njcX ch 1\nxzQ sz 1\nGzw sz 1\nePm er 1\nfwW wa 1\nqwA qu 1\nvQt th 1\nbxP be 1\ndmD de 1\nawQ an 1\nfVf fo 1\nbwY wa 1\nZxt th 1\nXhk th 1\ngYk ng 1\nzCf sz 1\nyfQ ny 1\nzGw sz 1\ngvE ng 1\ngCv ng 1\noPf on 1\nzXi in 1\nhvI th 1\nhzS th 1\nmfX me 1\ndPd de 1\nLrf er 1\nlrG er 1\nmYf me 1\nhNj th 1\nqAj qu 1\nsxQ st 1\nkTl le 1\nqOf qu 1\nJdx de 1\nswK sz 1\njQb ij 1\nDqp qu 1\ncWv ch 1\ndxE de 1\nsXj sz 1\nnvB an 1\nwXf wa 1\nCqi qu 1\nbzW sz 1\nrRf er 1\nmZj ij 1\nbnF an 1\nqaG an 1\nBqs qu 1\nlMn an 1\nwHp pr 1\nLjc ch 1\nMwf wa 1\npzK sz 1\nmPb me 1\nqjE qu 1\nwRr er 1\nxZf fo 1\nnqG an 1\nvVb va 1\npjC ij 1\nuHl qu 1\njDn an 1\npqX qu 1\npqk qu 1\nxgU ng 1\nwJx wa 1\nznK an 1\nrhB th 1\nvDq qu 1\nsJc ch 1\nXkh th 1\nlnJ an 1\nbRq qu 1\nfzA sz 1\nbQe er 1\nTxw wa 1\nbkG ka 1\nywZ wa 1\nzWc ch 1\nlhL th 1\ngmF ng 1\nsfQ sz 1\nzmG sz 1\nOgz ng 1\nxuA qu 1\nqAq qu 1\nzDw sz 1\nlVu qu 1\nxRw wa 1\nxmM me 1\npxB pr 1\nztT th 1\nkzJ sz 1\nnFz an 1\nuVz qu 1\npnQ an 1\npGt th 1\nXdn an 1\nfVz sz 1\nMhg th 1\nXqo qu 1\nsHq qu 1\njwC ij 1\nvkG va 1\nXkx ka 1\ntRg th 1\nnvV an 1\nqwG qu 1\nVhh th 1\nzwO sz 1\nqQb qu 1\ncrR ch 1\nMrq qu 1\noQe er 1\nmBt th 1\nvUy va 1\ntwW th 1\nQgn an 1\nNxu qu 1\nqhF th 1\nxpX pr 1\nfvD va 1\nCvy va 1\noHj on 1\nQqo qu 1\nvYd de 1\nxhV th 1\nfZf fo 1\nyKm me 1\nxYq qu 1\nfcU ch 1\nqEp qu 1\njXd de 1\nmlQ le 1\nGgz ng 1\ncLp ch 1\nyxU ny 1\ngvJ ng 1\nwqD qu 1\nvsN sz 1\nIjf ij 1\njbJ ij 1\nbMx be 1\nkXs sz 1\ngrT ng 1\nwOd de 1\npGw pr 1\nGkd de 1\nqCj qu 1\nhqY th 1\nrDp er 1\nnQt th 1\nkdV de 1\nbgS ng 1\nTqo qu 1\nfEj ij 1\nhZs th 1\njYn an 1\nbPx be 1\nhgY th 1\nPvy va 1\nfxK fo 1\nHww wa 1\nxRk ka 1\ndmP de 1\nmcY ch 1\nbxR be 1\nLsl le 1\nhRl th 1\niwQ in 1\nWqx qu 1\nkfV ka 1\nqwN qu 1\nQpv va 1\nmrO er 1\niFc ti 1\nwzD sz 1\nqbF qu 1\nxfS fo 1\nPqh th 1\nxYb be 1\nlDh th 1\nvtG th 1\nXzu qu 1\nxjK ij 1\njDx ij 1\nnCj an 1\nmCk ka 1\nqxP qu 1\noMv on 1\ncgY ch 1\nWqt th 1\nkkQ ka 1\ntqO th 1\njnC an 1\nfGq qu 1\nBfv va 1\nvYi in 1\npcL ch 1\nFgp ng 1\njtR th 1\nvhF th 1\nwUi in 1\nnNj an 1\njTw ij 1\nqsM qu 1\naJg an 1\njQe er 1\nGnj an 1\nfmM me 1\nzqM qu 1\ngjZ ng 1\nnxH an 1\ncdO ch 1\naAx an 1\ntUv th 1\nhXk th 1\nqBx qu 1\ntgK th 1\nfZy ny 1\nJkx ka 1\npvD va 1\nbmT me 1\noYx on 1\nhwV th 1\nmjB ij 1\nbYn an 1\niHx in 1\nlYh th 1\nqCi in 1\nfhR th 1\nnDf an 1\nhCd th 1\nlxB le 1\neXj er 1\nfvW va 1\nccW ch 1\ndTc ch 1\nsqA qu 1\nfNt th 1\nzkM sz 1\nlRv le 1\nqnI an 1\nxwC wa 1\nzqY qu 1\nyQb be 1\nxrC er 1\nxFm me 1\noeQ er 1\nmLl le 1\njwT ij 1\nfwD wa 1\nvpE va 1\nflY le 1\nsRg ng 1\nvSd de 1\nwuR qu 1\nwrI er 1\nYsn st 1\nVhj th 1\nCqh th 1\nYgb ng 1\nhPq th 1\nmkB ka 1\ntRq th 1\najQ an 1\nhcR th 1\nvDw va 1\npQn an 1\nxeU er 1\nvcM ch 1\nzVc ch 1\nbRh th 1\nuFx qu 1\nfbW be 1\nuUv qu 1\nNhv th 1\nYkx ka 1\nWtp th 1\nMzj sz 1\nnpT in 1\nXqk qu 1\nxwN wa 1\nhXw th 1\nzLb sz 1\nGxy ny 1\ndDq qu 1\nBfy ny 1\nfkx ka 1\njOq qu 1\nDdk de 1\nNjp ij 1\nxjJ ij 1\nqhS th 1\nQwm me 1\nyWj ij 1\nnFv an 1\npLb pr 1\nqbB qu 1\nsmX sz 1\ntnZ th 1\nzQh th 1\nFzb sz 1\ncNb ch 1\nhpV th 1\nBxz sz 1\nxgG ng 1\nRlj le 1\niHq in 1\nswN sz 1\nNjv va 1\nwPk ka 1\noRv on 1\npJs sz 1\nkZw ka 1\nvVs st 1\nVbw wa 1\nFfh th 1\nmzQ sz 1\nGvl le 1\nPgq qu 1\nlPp le 1\nvCv va 1\nkNf ka 1\nbmD me 1\nmWt th 1\nslF le 1\nqiX in 1\nyRt th 1\nlqx qu 1\nqlj qu 1\nsfZ sz 1\nWfy ny 1\nvrO er 1\ngxT ng 1\nlwE le 1\nqdJ qu 1\nYpk ka 1\nQpf pr 1\nZnw an 1\nbfJ be 1\nqQy qu 1\nqAy qu 1\naqW an 1\nqqI qu 1\nLwg ng 1\nNnw an 1\ncLv ch 1\nWtx th 1\nqcq ch 1\nsjR sz 1\nlWn an 1\nZmx me 1\nqZg qu 1\ntYz th 1\ngVx ng 1\nmXt th 1\nnwJ an 1\njwZ ij 1\nlwL le 1\neGx er 1\nSqk qu 1\ngBg ng 1\nzsS sz 1\nknQ an 1\nNnf an 1\nqmT qu 1\nSqp qu 1\nffQ fo 1\nVcv ch 1\nfmD me 1\nzYg ng 1\nbAx be 1\nnbW an 1\ngJm ng 1\nJwn an 1\nmxJ me 1\nxbC be 1\nRbq qu 1\nxZc ch 1\nbJy be 1\nXyk ka 1\nzkV sz 1\nuoF qu 1\nbcU ch 1\ncZq ch 1\nrPm er 1\nrGn an 1\nlcL ch 1\nrVt th 1\nCgw ng 1\nCtq th 1\neGv er 1\nRzs st 1\nQhz th 1\nsLv va 1\nVqm qu 1\nydJ de 1\nxVr er 1\ntLk th 1\nqfy qu 1\nwxV wa 1\nyRq qu 1\nVxq qu 1\nqYz qu 1\nzhM th 1\nmLn an 1\nZvt th 1\nFvm va 1\nhcM th 1\nMwp wa 1\ncTg ch 1\nlXr er 1\nfQe er 1\nJbw wa 1\nyfG ny 1\nphK th 1\ngjH ng 1\nWdg de 1\npPn an 1\nBwg ng 1\nznB an 1\nfwJ wa 1\nutQ th 1\ncjC ch 1\nfVd de 1\ncTm ch 1\nwMv va 1\nKgk ng 1\nnRd an 1\nmMt th 1\nxjQ ij 1\nqYt th 1\nsYj st 1\njNc ch 1\nqXt th 1\nwzB sz 1\nSjq qu 1\nqtF th 1\nwYi in 1\nglT ng 1\nUug ng 1\nuOp qu 1\niBx in 1\nRqt th 1\nzWj sz 1\nHcx ch 1\njNd de 1\nzQr er 1\niHd in 1\nWpx pr 1\nnfY an 1\nRkz sz 1\nKqg qu 1\nGfv va 1\nkrC er 1\nWhc th 1\nljM le 1\nyxG ny 1\nfpW pr 1\nbcF ch 1\nkrx er 1\nuDt th 1\nFzo on 1\nwPn an 1\nLfj ij 1\nBkp ka 1\nXkq qu 1\njxH ij 1\nvIj va 1\ngTc ch 1\nhEj th 1\nfqB qu 1\njlD le 1\ntFf th 1\nNfw wa 1\nFqe qu 1\nTzp sz 1\nsJr er 1\nqIt th 1\ndFb de 1\nqzE qu 1\nmVv va 1\nVqa an 1\nbqM qu 1\nmdJ de 1\ndIp de 1\nZnx an 1\njkK ij 1\nrfQ er 1\nxkI ku 1\nfIo ro 1\nlqV qu 1\nQpd de 1\npAx pr 1\nrrQ er 1\nbIu qu 1\nxDw wa 1\noHx on 1\nwJw wa 1\nCqv qu 1\nyvB va 1\nyqU qu 1\nrLx er 1\nFzx sz 1\ndZf de 1\nNqh th 1\nRnz an 1\nhTc th 1\nbVb be 1\nFdm de 1\nvfv va 1\nhwS th 1\nzPt th 1\nGxv va 1\nFvt th 1\nmZr er 1\nzVr er 1\nmBc ch 1\nfXq qu 1\nPlw le 1\nNlx le 1\njCd de 1\nKwv va 1\nJqa an 1\nzGs st 1\nfuV qu 1\npzL sz 1\niFx in 1\nfTm me 1\nyWd de 1\ncHv ch 1\nfFk ka 1\nmqd qu 1\naQk an 1\nuDf qu 1\nVbf be 1\npgJ ng 1\nfkN ka 1\npBm me 1\nBdv de 1\njmW ij 1\nJvv va 1\nXpk ka 1\nqQc ch 1\nkdG de 1\nqkP qu 1\ncSd ch 1\nFdc ch 1\nqgK qu 1\nqdH qu 1\nuNv qu 1\neVt th 1\ndfA de 1\nHzy sz 1\nlWc ch 1\nvxH va 1\nhxW th 1\nKhp th 1\nxQb be 1\npwT pr 1\nLwf wa 1\nzDq qu 1\nkxK ka 1\nmtY th 1\nbhT th 1\nywR wa 1\njIa an 1\nWze er 1\nhqK th 1\nflZ le 1\nqMi in 1\nwpR wa 1\nqHh th 1\naOw an 1\ndkU de 1\nvRr er 1\nvjX va 1\ncuQ ch 1\nqmJ qu 1\nuuJ ou 1\nyWx ny 1\nhUf th 1\nvzP va 1\nrSx er 1\nqgy qu 1\nRzf sz 1\nzjB sz 1\nSjx ij 1\nxfA fo 1\nfHj ij 1\nqkB qu 1\ncdF ch 1\nfWj ij 1\njbA ij 1\nBmb me 1\nyjg ng 1\nrxZ er 1\nVmr er 1\niIq in 1\nWgl ng 1\nmRp me 1\nwvS va 1\nUvy va 1\nypQ pr 1\nvFw vo 1\nfqE qu 1\nswJ st 1\nJrx er 1\ncxE ch 1\nlZk le 1\nfVn an 1\nbhZ th 1\njhR th 1\nvSq qu 1\nyQz sz 1\nfHv va 1\nvuN qu 1\njpG ij 1\nPkz sz 1\ngQb ng 1\npFs st 1\nGjq qu 1\nhsK th 1\ntwx th 1\nyyQ ny 1\ndqF qu 1\nbHh th 1\nqMq qu 1\nqKv qu 1\nzLg ng 1\njmO ij 1\nwBk ka 1\npjQ ij 1\nxZv va 1\nqIu un 1\nycY ch 1\nmDf me 1\nyJs st 1\nIsx st 1\nQqr qu 1\nFkw ka 1\nCpj ij 1\nYvq qu 1\nzjG sz 1\ngGc ch 1\nXdm de 1\nhBv th 1\nWxj ij 1\nYwb ow 1\nVtq th 1\ntjY th 1\njDj ij 1\nuGd qu 1\nwvF va 1\nuqg qu 1\nRwp pr 1\nBgb ng 1\nmnU an 1\ndpI de 1\nwKd de 1\nyXz sz 1\nkLd de 1\ngYx ng ","i8", -B,q.g+139448); -C("1\nqxk qu 1\nHhy th 1\nfpJ pr 1\ncVc ch 1\nkVv va 1\nJzs st 1\nnDw an 1\ntjF th 1\nbZj ij 1\nmqL qu 1\nhFt th 1\nnNw an 1\nwFv va 1\ngHc ch 1\nqRx qu 1\nJxh th 1\nVpv va 1\nnMk an 1\ntjN th 1\nfhQ th 1\nbpD pr 1\nDfg ng 1\njyO ij 1\njhV th 1\nkVk ka 1\nnKc an 1\njkJ ij 1\ncwS ch 1\noDf on 1\nmkY ka 1\ngdV ng 1\nXhb th 1\njUq qu 1\naJf an 1\nQxg ng 1\nxzS sz 1\nvUw va 1\nhTj th 1\noVt th 1\nzdq qu 1\nfHs st 1\nxKk ka 1\nbFc ch 1\ngWq qu 1\nYqa an 1\ndmH de 1\nTtq th 1\niQc ch 1\njFh ij 1\nfcY ch 1\nfsR st 1\niWg in 1\nXyj ij 1\nXjs st 1\nxpb pr 1\nlzY le 1\npzg ng 1\ndVw de 1\nIjc ch 1\nfvq qu 1\nVnb an 1\nzdH de 1\ncDd ch 1\nwqI qu 1\nyfU ny 1\nqoH qu 1\nxkw ka 1\nKck ch 1\nmUq qu 1\nzWm sz 1\nBfj ij 1\nrQj er 1\nqeW qu 1\nqpC qu 1\noqM qu 1\npzO sz 1\ncjQ ch 1\nzTx sz 1\ngRw ng 1\nkdQ de 1\nwbQ wa 1\nQpj ij 1\nzIc ch 1\nyxN ny 1\nnCk an 1\nJqz qu 1\ndEq qu 1\ngdE ng 1\nwCg ng 1\npQt th 1\nvKe er 1\nTjm ij 1\nZcy ch 1\nkmR ka 1\ncTp ch 1\nbqE qu 1\nvvZ va 1\ncLw ch 1\noIw on 1\nxjG ij 1\nvtU th 1\nhcH th 1\nxgT ng 1\nvqR qu 1\nwuM qu 1\nxsY st 1\njCu qu 1\nFbn an 1\ncqH ch 1\nXjz ij 1\nfgR ng 1\nyiX in 1\nqnO an 1\nwmN me 1\nwgH ng 1\ntbZ th 1\nXks st 1\npzC po 1\nlfX le 1\nqBu un 1\nmLw me 1\npmY me 1\nxqE qu 1\nrjY er 1\nvrH er 1\nIuf qu 1\nyfD ny 1\nclG ch 1\ncdZ ch 1\neTd er 1\nlXv le 1\nkpV ka 1\nsZq qu 1\nWxc ch 1\nvmJ va 1\nhkE th 1\npUw pr 1\nCqd qu 1\nwCn an 1\npxQ pr 1\nYwp pr 1\nxwb wa 1\nWjm ij 1\nzqQ qu 1\ngTp ng 1\nuZv qu 1\nmdH de 1\njuQ qu 1\ngVm ng 1\nzjY ij 1\nfhN th 1\nwfD wa 1\nZjc ch 1\niPv in 1\nmzW sz 1\nvXm va 1\nfEq qu 1\nOzq qu 1\ngEp ng 1\nkDj ij 1\nZlw le 1\nzbR sz 1\nzCt th 1\nwoY on 1\npkT ka 1\nkbI ka 1\nhdW de 1\nHsx st 1\nzpX sz 1\nzfV sz 1\nDhk th 1\nwMp pr 1\nhzJ th 1\nLwp pr 1\nzmN sz 1\nxfq qu 1\nsjQ sz 1\nzkK sz 1\nbBv va 1\nbdE de 1\nQxn an 1\njqt th 1\njhG th 1\nfYv va 1\nxhE th 1\ncbF ch 1\nJnb an 1\njxN ij 1\nfYx fo 1\nhJp th 1\ncRt th 1\nqnS an 1\nvLp va 1\ncBd ch 1\nqqU qu 1\nSdd de 1\nxeZ er 1\nJwo on 1\ndPf de 1\nfNl le 1\nkIb ka 1\ncbL ch 1\nQdr er 1\nMfb be 1\njJl le 1\nmxY me 1\nlFd le 1\ntwT th 1\nkFk ka 1\ncrB ch 1\njRr er 1\nHtz th 1\npYf pr 1\nrVc er 1\nvRf va 1\nwVq qu 1\nzpA sz 1\nglY le 1\nsNj ij 1\nvKx va 1\ntvB th 1\nYjf ij 1\nmwP me 1\nJyb be 1\ntBc th 1\ngSb ng 1\ncMl ch 1\ngjJ ng 1\ndYz de 1\nzPg ng 1\nkqB qu 1\nsFv st 1\nxkH ka 1\nfZt th 1\nyhR th 1\nbwN wa 1\nqjG qu 1\nnQm an 1\nqMr qu 1\njcW ch 1\nqJv qu 1\ngTm ng 1\nkmQ ka 1\nWlc ch 1\nkYf ka 1\neJp er 1\nTkb ka 1\nhfM th 1\nnxY an 1\npDl le 1\nwcN ch 1\npQa an 1\nohZ th 1\nxRz sz 1\nlbV le 1\nlKc ch 1\nwxB wa 1\nLww wa 1\nfqQ qu 1\nkkZ ka 1\niwO in 1\ndgU ng 1\ndvO de 1\npDt th 1\nkvK ka 1\njlV le 1\nxXd de 1\nykF ku 1\niyT in 1\nUfx fo 1\nnzU an 1\nxbH bu 1\nlSb le 1\nXpf pr 1\nUvf va 1\nyyF ny 1\nfxP fo 1\njYu qu 1\nqjb qu 1\ngxL ng 1\npwI pr 1\njUe er 1\nrFc ch 1\nfsF st 1\ncdW ch 1\nXwp pr 1\nxdH de 1\njYs ij 1\nbFd de 1\nqIh th 1\nyIg ng 1\nvTd de 1\nwfE wa 1\nqRb qu 1\nyhK th 1\nkMn an 1\ncpB ch 1\ntxN th 1\nkPd de 1\nnbB an 1\nskQ st 1\nuKw qu 1\nwQf wa 1\nkWf ka 1\nwqA qu 1\ncwA ch 1\nvJk ka 1\nhcD th 1\nnfK an 1\nuXf qu 1\ncgA ch 1\nPjd de 1\nLqs qu 1\nzwC sz 1\nljN le 1\nvkP ka 1\nRqp qu 1\nzGx sz 1\njPg ng 1\nkbT ka 1\nkpQ ka 1\nMzq qu 1\nGjs st 1\nkDl le 1\njwR ij 1\nWyq qu 1\nqxS qu 1\nqGt th 1\nWvr er 1\nzNx sz 1\nvCm va 1\nhlD th 1\nvBp va 1\nmJc ch 1\nhFb th 1\nvDm va 1\npfC pr 1\nLpy pr 1\nFhd th 1\ndxS de 1\nwWg ng 1\nFgn an 1\nnFf an 1\ncxF ch 1\naVh th 1\nSqx qu 1\nVjz ij 1\nznC an 1\nqqv qu 1\nzrZ er 1\nbNl le 1\nnvW an 1\nQyb be 1\nFht th 1\njGv ij 1\ngLp ng 1\ngLb ng 1\nqKj qu 1\nhJd th 1\nZjg ng 1\nnQq an 1\nnpX an 1\nqiO in 1\nvvG va 1\njOx ij 1\nhhE th 1\nvdN de 1\nCzz sz 1\ngjU ng 1\nhVb th 1\nKcg ch 1\ndvH de 1\nwtD th 1\njIo on 1\njQa an 1\nFyj ij 1\ncpU ch 1\nhxY th 1\nqbD qu 1\nsvJ st 1\nvjW ij 1\ngpY ng 1\nqnR an 1\ngQn an 1\nCvh th 1\nykB ka 1\nxgB ng 1\nzfD sz 1\nyHw wa 1\nqdG qu 1\nqTn an 1\nlTm le 1\njgB ng 1\ngxS ng 1\nqPe qu 1\nppQ pr 1\nyxW ny 1\nHjk ij 1\nkNk ka 1\ncnJ an 1\nuHd qu 1\njvH ij 1\nGgn ng 1\nlbS le 1\nQcx ch 1\ncqR ch 1\nJyc ch 1\nwRp pr 1\nnfA an 1\nlXw le 1\ncmJ ch 1\nYsw st 1\nqQs qu 1\ngsX ng 1\ncIq ch 1\njjZ ij 1\nLlb le 1\nmMv va 1\nlVh th 1\nFph th 1\nZmm me 1\nxMd de 1\nGwb wa 1\nQjv ij 1\nlqZ qu 1\nzJh th 1\nWky ka 1\nhDk th 1\nyLg ng 1\ndYw de 1\ndCq qu 1\nGmj ij 1\nxTq qu 1\nwkF ka 1\nhFp th 1\nqnB an 1\nxyJ ny 1\nnIj an 1\nxYd de 1\nWqr qu 1\nxqV qu 1\nwYk ka 1\nQdz de 1\nfbN be 1\nqwY qu 1\nUbx be 1\nwtL th 1\nnQw an 1\njJk ij 1\nNzs st 1\ndCn an 1\nNfv va 1\nHgh th 1\nHcq ch 1\nXvb va 1\nsxJ st 1\nwMx wa 1\nqFn an 1\nGzf sz 1\nqfJ qu 1\nzdQ de 1\nXgz ng 1\nfkI ka 1\npvK va 1\nCqr qu 1\nzFd de 1\noHm on 1\naJj an 1\nFzd de 1\ndWk de 1\nwmE me 1\nsMl le 1\ntBp th 1\nvNw va 1\nQdh th 1\nwhG th 1\nqAp qu 1\njrM er 1\nrHw er 1\nLvc ch 1\ngRn an 1\nyjV ij 1\nhRk th 1\nbkV ka 1\njWm ij 1\nyYz sz 1\nvTy va 1\ndxV de 1\nmKy me 1\nQlq qu 1\nUpx pr 1\nQpq qu 1\nLwm me 1\nyXr er 1\ngTk ng 1\nqnT an 1\nVlq qu 1\nQqd qu 1\nZdd de 1\nXqt th 1\nDfb be 1\noeO on 1\nnCx an 1\nlXd le 1\nvHc ch 1\nvAb va 1\nYbw wa 1\nzDn an 1\ndGk de 1\nplH le 1\nlxG le 1\nHgp ng 1\njRz ij 1\ndTs de 1\nmCj ij 1\nlHf le 1\nlLj le 1\ntNb th 1\nmKk ka 1\ngGj ng 1\njlQ le 1\nYyg ng 1\nfDv va 1\nzXg ng 1\nqzZ qu 1\nfEg ng 1\nlhS th 1\nmzM sz 1\nxqT qu 1\nYcj ch 1\nfbF be 1\nXsj ij 1\nLnc an 1\nGqp qu 1\nfjO ij 1\nzhI th 1\nzgH ng 1\ngWc ch 1\nyKf ny 1\nuQd qu 1\nKwl le 1\ndxG de 1\nYqw qu 1\ntKc th 1\ncWn an 1\nhcI th 1\nwfY wa 1\nrBp er 1\ncJd ch 1\nsYf sz 1\nSqj qu 1\nkQv ka 1\nxpF pr 1\nfcX ch 1\nyfK ny 1\njQo on 1\ngTg ng 1\nQwn an 1\nPnx an 1\nyZt th 1\nwPz sz 1\njuX qu 1\nLxv va 1\niXr in 1\npcE ch 1\nNqy qu 1\nhjI th 1\nhzV th 1\nnmF an 1\npvW va 1\neJw er 1\nIqd qu 1\ngXy ng 1\nwfW wa 1\nVdw de 1\nqJx qu 1\nPdq qu 1\nBjb ij 1\nqLl qu 1\nzdW de 1\nfQr er 1\nxzW sz 1\nvwQ va 1\nrwU er 1\nqPn an 1\nbFw wa 1\nvHl le 1\nhWl th 1\nwgO ng 1\nhLk th 1\nJkb ka 1\nzBh th 1\nDhx th 1\nFgv ng 1\nbpA pr 1\nzxC sz 1\ngfS ng 1\nMvx va 1\nuPk qu 1\nVqn an 1\nyqC qu 1\nvMk ka 1\nwqL qu 1\nwrJ er 1\ncdN ch 1\npwR pr 1\nhMf th 1\njPf ij 1\nVbv va 1\nqzF qu 1\nqNc ch 1\nJbq qu 1\nfTk ka 1\nZff fo 1\nFzt th 1\nKcw ch 1\neKf er 1\npqZ qu 1\nWpb pr 1\njkF ij 1\nVxp pr 1\nhGq th 1\nqBc ch 1\nfcT ch 1\njMq qu 1\nkZv ka 1\nqkG qu 1\nIfp pr 1\ndRw de 1\nZlj le 1\nKwj ij 1\nfNb be 1\ndYy de 1\nhZl th 1\nwtP th 1\nhPz th 1\nYkc ch 1\nJlw le 1\njNt th 1\nyrW er 1\ngWd ng 1\nyXd de 1\nfQl le 1\njfF ij 1\nEjx ij 1\nfGk ka 1\nZjz ij 1\nwdM de 1\njlF le 1\ncxZ ch 1\nZgk ng 1\nmcJ ch 1\nslE le 1\nnYq an 1\nWfg ng 1\nzJk ka 1\nbvF va 1\nHnz an 1\nWkv ka 1\nMvq qu 1\nDxh th 1\nBvt th 1\nsMj ij 1\nwRf wa 1\nvLb va 1\nzGq qu 1\nmFp me 1\ngNb ng 1\npCg ng 1\nxFs sz 1\njKf ij 1\nqJb qu 1\npzI sz 1\njgG ng 1\npKs sz 1\nfqD qu 1\ngxQ ng 1\nfvG va 1\nwgF ng 1\nXxz sz 1\nLwu qu 1\ndlX le 1\nlPz le 1\nWqk qu 1\nXzj ij 1\nuHj qu 1\nuFj qu 1\njvV ij 1\njXe le 1\nZfm me 1\nqIm qu 1\nzbB sz 1\nyZf ny 1\nsKk sz 1\nzpL sz 1\nqKg qu 1\nIbj ij 1\niQb in 1\nFxu qu 1\nFpb pr 1\nWva an 1\nfzD sz 1\nbkT ka 1\nYkt th 1\nnjG an 1\nUvh th 1\ngfT ng 1\nzcI ch 1\nbDq qu 1\nJdh th 1\nxMg ng 1\nJby be 1\nlwJ le 1\nsWw sz 1\nSvw va 1\nnrX an 1\nuvV qu 1\njVr er 1\ntqB th 1\nbVr er 1\nkQl le 1\nfbG be 1\nrqM qu 1\nzHj ij 1\nfhY th 1\nYzr er 1\nvFf va 1\nQpg ng 1\nuAq qu 1\nzxP sz 1\njCn an 1\nqaM an 1\nxlY le 1\ncTf ch 1\nkBf ka 1\ncQc ch 1\nRbj ij 1\nkVs sz 1\nbGv va 1\nwdN de 1\ngfN ng 1\nbPj ij 1\ngcI ch 1\ngxj ng 1\nrHb er 1\npVr er 1\nrVj er 1\nvgS ng 1\nFqz qu 1\nxMk ka 1\nqQm qu 1\njZc ch 1\njBc ch 1\nuwY qu 1\nrHf er 1\nczX ch 1\nzcT ch 1\nbFj ij 1\nqcB ch 1\nhfT th 1\nxqO qu 1\nqfp qu 1\nxjU ij 1\nbhR th 1\ntWv th 1\niqE in 1\ngpU ng 1\niWb in 1\ntlP th 1\ntYq th 1\nbCv va 1\noKc ch 1\nSgj ng 1\nhvq th 1\nkfY ka 1\nzbM sz 1\nzvA sz 1\ncHp ch 1\nvvK va 1\nfpZ pr 1\ndfX de 1\nwrK er 1\nxeE er 1\nfkY ka 1\nsbX sz 1\nfcS ch 1\nvKh th 1\nQlx le 1\nZqh th 1\nqWg qu 1\ncdL ch 1\njvG ij 1\nMgx ng 1\ngwF ng 1\nkdP de 1\nuMr qu 1\ntcD th 1\nqrL qu 1\nMtm th 1\nbQz sz 1\nHpx pr 1\nzpI sz 1\njkR ij 1\nkhH th 1\nmSq qu 1\npFz sz 1\njuO qu 1\nXyq qu 1\njGd de 1\nYzd de 1\nwbC wa 1\nwSb wa 1\nsZd de 1\nRzx sz 1\nFlx le 1\nbqC qu 1\nlcH ch 1\nwmG me 1\nzCj ij 1\nxaD an 1\niwH in 1\nqDp qu 1\nsGx sz 1\nXhy th 1\neVc ch 1\nwkJ wa 1\nLcf ch 1\nlgQ ng 1\nDhh th 1\nzfO sz 1\nkVc ch 1\nhmL th 1\nOwf wa 1\nwZc ch 1\ndnN an 1\nMzp sz 1\nmYw me 1\nyLh th 1\nXxr er 1\nqwI qu 1\nTxs sz 1\nyKp pr 1\nbjX ij 1\npbS pr 1\nzrP er 1\nhJm th 1\nqgA qu 1\nzwY sz 1\nrXk er 1\nnDx an 1\nvGz sz 1\nmQq qu 1\nupY qu 1\nrLn an 1\nVfk ka 1\nwCv va 1\ncgx ch 1\nkZq qu 1\nWjw ij 1\nQax an 1\ngrG ng 1\nbJd de 1\ndJx de 1\ncMd ch 1\nQcs ch 1\nmkK ka 1\njNx ij 1\nmrY er 1\nXwx wa 1\nrZl er 1\ngxU ng 1\nLnv an 1\nygC ng 1\nDqh th 1\nlLn an 1\nmnQ an 1\nkjU ij 1\nbvO va 1\noVm on 1\nvWt th 1\nrGq qu 1\ntbJ th 1\nfSv va 1\nwJn an 1\nfJv va 1\noQv on 1\nVws sz 1\npnU an 1\nNmh th 1\ncTq ch 1\nEdx de 1\nuqw qu 1\nYrh th 1\nQnx an 1\nmJf me 1\nkDq qu 1\nXhd th 1\nnLx an 1\nxkU ka 1\nfqT qu 1\nqYh th 1\nbFv va 1\nxbQ be 1\nvcS ch 1\nqqT qu 1\ngkF ng 1\nzFh th 1\nkpE ka 1\nGxb be 1\nZtw th 1\nqIl qu 1\nQkd de 1\nwdV de 1\nrwP er 1\naCg an 1\nZrs er 1\nzmW sz 1\nvfO va 1\nhBj th 1\ntbH th 1\nDxv va 1\nzdD de 1\nnBw an 1\nlrV er 1\ngQq ng 1\ntlK th 1\nztP th 1\nyqV qu 1\nnRm an 1\njVz sz 1\nCrq er 1\nfFg ng 1\nXjg ng 1\nCml le 1\nqWj qu 1\njzO ij 1\nMdq qu 1\nmtQ th 1\nrGv er 1\nkGn an 1\nmLg ng 1\nuWj qu 1\nRcq ch 1\ncVp ch 1\nbWk ka 1\nXzx sz 1\nWkb ka 1\nxzH sz 1\nquP un 1\ndHv de 1\nDmq qu 1\nDgv ng 1\ntgY th 1\njtM th 1\ntMz th 1\nbHm me 1\nZfk ka 1\nxZp pr 1\njkH ij 1\nrNp er 1\nxMv va 1\nwpF pr 1\ndjD de 1\nbxV be 1\nhgS th 1\nPkh th 1\nDxq qu 1\nmMx me 1\ndGj de 1\nkbH ka 1\nLhg th 1\nDvq qu 1\nqrT qu 1\nIjw ij 1\nwuI qu 1\nZwn an 1\ndhJ th 1\nqcR ch 1\nwhM th 1\npgP ng 1\nqkR qu 1\nsqR qu 1\nlxY le 1\nvVw va 1\nlKd le 1\nNly le 1\nyKz sz 1\nqBb qu 1\nwQx wa 1\nkYw ka 1\nfQd de 1\nsvW sz 1\nyGp pr 1\nytB th 1\njvU ij 1\nkjz ka 1\njVc ch 1\nQbz sz 1\npqM qu 1\nvwu ku 1\nQww wa 1\ndcZ ch 1\nlhG th 1\ngmS ng 1\nIqz qu 1\nzZf sz 1\nhLn th 1\neMf er 1\nxNq qu 1\nmPm um 1\npMg ng 1\nwzW sz 1\nkRl le 1\nhzK th 1\nfbO be 1\nXxt th 1\nFnx an 1\nBvn an 1\nbjZ ij 1\ntcY th 1\ndmB de 1\nqFe qu 1\nkxB ka 1\nqBz qu 1\npVp pr 1\nboQ on 1\nxoH on 1\ndWg de 1\nTdq qu 1\nzNq qu 1\nvYp va 1\npDf pr 1\nlwG le 1\nhDq th 1\nJdy de 1\nsnZ an 1\nmzU sz 1\nzKx sz 1\nrvC er 1\nwuS qu 1\ndnQ an 1\nvCy va 1\nUdw wa 1\nbTl le 1\nqbC qu 1\ntbT th 1\niDk ka 1\nWhb th 1\ntbX th 1\ntfO th 1\nTfq qu 1\ndbW de 1\nBdy de 1\nvjR ij 1\ncbC ch 1\nwuW qu 1\nwCw wa 1\nWdq qu 1\nvRb va 1\nbWm me 1\nvZw va 1\ndJj de 1\nqZy qu 1\nJgq ng 1\nzbH sz 1\nhJl th 1\nXhg th 1\nnVp an 1\ndVc ch 1\nqCc ch 1\noYg ng 1\nkwH ka 1\nvwN va 1\nzfw sz 1\nvlO le 1\nztX ti 1\ndKx de 1\nxQs sz 1\ncDl ch 1\nyVv va 1\nzpN sz 1\nxkG ka 1\neqW qu 1\njdD di 1\nfQm me 1\nYhl th 1\ntBf th 1\nqEf qu 1\nwhX th 1\nVgv ng 1\nLsq qu 1\ndfJ de 1\nZdp de 1\nrZc ch 1\ntZh ch 1\nmtC th 1\nzxQ sz 1\nVnj an 1\nsHg ng 1\nwYl le 1\nBqb qu 1\nyrV er 1\nYcs ch 1\njRw ij 1\niWt th 1\nhVw th 1\nwZs sz 1\nCqo qu 1\nGfn an 1\nrBv er 1\nOjz sz 1\nzGf sz 1\nbZc ch 1\nFvd de 1\nZgs ng 1\nRfg ng 1\nRww wa 1\nYrp er 1\niFp in 1\nbVx be 1\nzfM sz 1\nqdV qu 1\nbGm me 1\ntnJ th 1\npdR de 1\ngBc ch 1\ngzC ng 1\nPwc ch 1\nuAw qu 1\nznX an 1\nvgT ng 1\noAw ko 1\nxBm me 1\ndNf de 1\nPqs qu 1\nNpd di 1\noUy ko 1\nfpD p","i8", -B,q.g+149688); -C("r 1\nRfx fo 1\nlXm le 1\nqWs qu 1\ngWv vi 1\nFwv va 1\nLqj qu 1\nfvQ va 1\nzgB ng 1\nkJl le 1\nvWo on 1\nXvc ch 1\nyDq qu 1\nbdP de 1\njVf ij 1\nwPw wa 1\ndwA de 1\nOqp qu 1\nqiZ in 1\nxdV de 1\nqFg ng 1\nqzI qu 1\nywL wa 1\nsWv sz 1\nTpy pr 1\nwbf wa 1\nuPg ng 1\nKnw an 1\niuO in 1\nQdn an 1\nYfv va 1\nwuK qu 1\nxLn an 1\nyJg ng 1\nNfk ka 1\nYql qu 1\nqsH qu 1\nRzv sz 1\nbIp pr 1\nsQt th 1\ntgC th 1\nqSa an 1\nfxQ fo 1\nhcZ th 1\nwbJ wa 1\nqRl qu 1\nGcy ch 1\nvZm va 1\nXzl le 1\nwgR ng 1\ndlO le 1\ntCb th 1\nqmY qu 1\nqZx qu 1\nLbp pr 1\nDgq ng 1\nVkj ij 1\nwqU qu 1\nMqk qu 1\nwUv va 1\nqgC ng 1\nsbD sz 1\nSqy qu 1\nbMq qu 1\nBzt th 1\nsIq qu 1\ncVj ch 1\nwJt th 1\nXjm ij 1\nHmg ng 1\naQd an 1\niHt th 1\nfMm me 1\nwWc ch 1\nfuE qu 1\nmCf me 1\nqnP an 1\nzLn an 1\nkRt th 1\nMvl le 1\nmRd de 1\nyfJ ny 1\nxCb be 1\nsQb sz 1\nquC un 1\nCtc th 1\npPv va 1\nzjI sz 1\nxmC me 1\nxdJ de 1\nnXv an 1\nvsO sz 1\npRd de 1\nvbF va 1\nwNl le 1\nkHq qu 1\nrwM er 1\ngxD ng 1\nQhi th 1\nmqB qu 1\npnL an 1\nbKb be 1\niqN in 1\ndkX de 1\nbQd de 1\nbNj ij 1\nTlk le 1\nNlg ng 1\nCxh th 1\nMqf qu 1\nPvj ij 1\nzwZ sz 1\npGb pr 1\nnrF an 1\nbkS ka 1\ndRv de 1\njJm ij 1\niqF in 1\nfGc ch 1\nnxW an 1\nxsW sz 1\nmfQ me 1\nfgP ng 1\njlH le 1\nnrI an 1\nkXv ka 1\nVpq qu 1\nzMk sz 1\npHf pr 1\njdM de 1\nbqJ qu 1\nCkt th 1\nzKv sz 1\njzG sz 1\nuIx qu 1\nyNm me 1\njYt th 1\nfwL wa 1\ndZx de 1\nvgF ng 1\nwXi in 1\nvZt th 1\nCtf th 1\nxqC qu 1\nqOc ch 1\nygX ng 1\nkWk ka 1\ngrF ng 1\nqnX an 1\nxUi in 1\npmC me 1\nuzE qu 1\nIvw va 1\ngvI ng 1\nknZ an 1\nlxZ le 1\nXwf wa 1\nDqb qu 1\nyKg ng 1\nVwg ng 1\nxSb be 1\nHwp pr 1\nyNx ny 1\nyoQ on 1\ncSx ch 1\nEvq qu 1\ntIw th 1\ndfZ de 1\nhzP th 1\nxBk ka 1\nkqr qu 1\nyBm me 1\nlJj le 1\ncjq ch 1\ndrW er 1\nqaD an 1\nwDf wa 1\nLxz sz 1\nzQf fo 1\nJtq th 1\nqRv qu 1\nGfc ch 1\nXbt th 1\nwZb wa 1\nsrQ er 1\ngJq ng 1\njFt th 1\ngNc ch 1\nRkr er 1\npzJ sz 1\nlbA le 1\ncBq ch 1\nKyq qu 1\nxcO ch 1\nzXr er 1\ncVs ch 1\nrYm er 1\nkVm ka 1\nfcZ ch 1\nfzC sz 1\ntKp th 1\ngPz ng 1\nqcL ch 1\nYjr er 1\nzxU sz 1\nxbT be 1\nnvX an 1\nqmR qu 1\nbxL be 1\nXww wa 1\njSf ij 1\nlNf le 1\nzTs sz 1\nkFq qu 1\nqLz qu 1\nrrX er 1\nwXg ng 1\nzvE sz 1\nHwx wa 1\nqFm qu 1\ncgR ch 1\npDp pr 1\nOqb qu 1\nsVc ch 1\nXtx th 1\nQwt th 1\nWfe er 1\nPcx ch 1\nbpO pr 1\nCwg ng 1\nwxO wa 1\nbVs sz 1\njFw ij 1\nfnF an 1\nkxH ka 1\nYws sz 1\ngdD ng 1\njWx ij 1\ncTl ch 1\nkmW ka 1\nmhW th 1\nbzT sz 1\nrvJ er 1\nxcJ ch 1\nvkS ka 1\nsXr er 1\nsCv sz 1\nNtp th 1\noHh lo 1\nYvs sz 1\npVf pr 1\nkEq qu 1\nqfE qu 1\noWm on 1\ntMw th 1\nzYp sz 1\nnFw an 1\nyQc ch 1\nzQj sz 1\nwKq qu 1\nmKf me 1\nuLr qu 1\nwIb wa 1\nwrH er 1\npgL ng 1\nLbt th 1\nzjF sz 1\nqFp qu 1\nzdX de 1\nwTc ch 1\nJwl le 1\nlxU le 1\nhjA th 1\niPg in 1\nXns an 1\nwkW ka 1\npfP pr 1\nDyq qu 1\njWu qu 1\nqzR qu 1\nYjz sz 1\ntwX th 1\nNwj ij 1\njbB ij 1\nqwR qu 1\nYtf th 1\nblX le 1\nxZk ka 1\nYmw me 1\nwfX wa 1\nVqy qu 1\nXqn an 1\nyUw wa 1\njzT jo 1\nkNt th 1\npmQ me 1\ndXr er 1\nylq qu 1\ntWz th 1\nKvr er 1\nbhQ th 1\nuJn an 1\npbT pr 1\naBf an 1\nRhj th 1\nuAx qu 1\nBgx ng 1\njqN qu 1\njdC ij 1\nfBs st 1\ncXk ch 1\nnmM an 1\nxRr er 1\nHkz sz 1\ndhZ th 1\nFyp pr 1\nkGm ka 1\nsGq qu 1\njKh th 1\nvDz sz 1\nvLq qu 1\nlJs le 1\nzNn an 1\nWgj ng 1\njmL ij 1\ngVt th 1\nwFz sz 1\nzbD sz 1\nkTd de 1\ndwX de 1\nxRl le 1\nAzv sz 1\nbQh th 1\nqQf qu 1\nyoZ on 1\njPs sz 1\njyG ij 1\nkXj ka 1\nyBv va 1\nnwP an 1\nxnA an 1\nbKf be 1\nqbP qu 1\nvGs sz 1\njjG ij 1\nKqc ch 1\nzVt th 1\nwSg ng 1\nsWm sz 1\nfDg ng 1\npHz sz 1\nfYp pr 1\nzrW er 1\nlDx le 1\nhQh th 1\nBdp de 1\nfqZ qu 1\noQm on 1\nQsq qu 1\nxjq qu 1\nMfv va 1\nzbQ sz 1\nquR un 1\ncMb ch 1\nzqD qu 1\ndXf de 1\nrHh th 1\njhF th 1\nnNf an 1\nwHb wa 1\nTpq qu 1\nbjY ij 1\ncJq ch 1\nlCk le 1\nPfp pr 1\nOqn an 1\nfmR me 1\nQpu qu 1\nNcv ch 1\nqYr qu 1\nsfA sz 1\nfrS er 1\nGpf pr 1\njmD ij 1\nhwI th 1\nRbz sz 1\njhB th 1\nxXj ij 1\nqYd qu 1\nsVf sz 1\ncCz ch 1\nqMl qu 1\nfpK pr 1\nhVy th 1\nlcJ ch 1\nOkj ij 1\nqJg ng 1\njLp ij 1\nnYf an 1\nnpF on 1\nrWk er 1\nmcP ch 1\nnZm an 1\nfYb fo 1\nzbC sz 1\nnBq an 1\nfjy ij 1\nbIx be 1\ntwN th 1\nGgk ng 1\nCzm sz 1\njtO th 1\nnRl an 1\njyC ij 1\nyEh th 1\nvmH va 1\nwtQ th 1\nwIf wa 1\njIf ij 1\nqbM qu 1\nRwq qu 1\nfqF qu 1\nWfj ij 1\njfW ij 1\nwWm me 1\nWpp pr 1\nMgj ng 1\ndSf de 1\nwYv va 1\nccI ch 1\nylT le 1\nGqh th 1\nCmz sz 1\nHfk ka 1\nqBt th 1\nyCf ny 1\nqzO qu 1\nydF de 1\nVdt th 1\npJd de 1\nsfR sz 1\ndlV le 1\njOd de 1\nnfF an 1\nwTt th 1\nrGk er 1\nxAw wa 1\nvfF va 1\nDzg ng 1\nkFp ka 1\njTm ij 1\nnNq an 1\nqcN ch 1\nJjx ij 1\ntKf th 1\nZrq qu 1\nhmK th 1\nMqz qu 1\nxfR fo 1\nwQq qu 1\nmqG qu 1\nxUr er 1\noiU in 1\nqsS qu 1\nqGg ng 1\nqtO th 1\ntPb th 1\nRqm qu 1\nvkX ka 1\nWsb st 1\ncxR ch 1\nfZr er 1\nyQg ng 1\nziU in 1\nxvW va 1\naDx an 1\nbQj ij 1\njxC ij 1\nTwk ka 1\nsQh th 1\nBfx fo 1\naGj an 1\nPgc ch 1\nHzh th 1\nqgW ng 1\nkdF de 1\nkbY ka 1\nQjx ij 1\nHxj ij 1\ntVx th 1\nnxZ an 1\noVd on 1\nHlq qu 1\njKz sz 1\nqAi in 1\ndNl le 1\npqA qu 1\neIv er 1\nxmW me 1\nycK ch 1\nmQd de 1\nhmU th 1\nnlF an 1\nGkl le 1\nqBq qu 1\nrhQ th 1\nZnk an 1\nVfp pr 1\nnBn an 1\nqvL qu 1\naqN an 1\nkLf ka 1\nzJr er 1\ntQw th 1\nsWq qu 1\nbwW wa 1\nvzB sz 1\nyyR ny 1\nqqN qu 1\nwyI ny 1\njzJ sz 1\nqgI qu 1\nbgQ ng 1\nyLt th 1\nVqq qu 1\nXnr an 1\nwHg ng 1\naQg an 1\ncFh th 1\nzjQ sz 1\ngpD ng 1\nxzN sz 1\niIw in 1\ndQg ng 1\npQy pr 1\nXyx ny 1\nsWc ch 1\njFd de 1\nbpF pr 1\nVsv st 1\nQql qu 1\nwzT sz 1\nsqQ qu 1\nKzm sz 1\noFq qu 1\ngkJ ng 1\nhkH th 1\nqLg ng 1\nbmU me 1\ncrJ ch 1\nslX le 1\nTzx sz 1\nqbx qu 1\nkpI ka 1\nxCf fo 1\nFml le 1\nQhj th 1\ntQs th 1\nvRd de 1\nYcb ch 1\ncjP ch 1\nyuE qu 1\ngIi in 1\nkWg ng 1\nJwh th 1\nfVy ny 1\njqy qu 1\nWzp sz 1\nCwc ch 1\nqEy qu 1\njrX er 1\nKqi in 1\nlYv le 1\ndGv de 1\nCwj ij 1\nnDv an 1\nOjm ij 1\nDnx an 1\nvrF er 1\nJmr er 1\nzfI sz 1\nbqT qu 1\nXvj ij 1\nnPp an 1\naVw an 1\nwBv va 1\nkVb ka 1\ngcH ch 1\nXbs sz 1\ntRd th 1\nmQz sz 1\nHxe er 1\nDnw an 1\nxWg ng 1\npGc ch 1\nhgI th 1\nywP wa 1\nnrW an 1\niVq di 1\nxzE sz 1\nVxd de 1\nLzc ch 1\nJwp pr 1\ngCq ng 1\nOtq th 1\nwvP va 1\ncNr ch 1\niXq in 1\nQnl in 1\ntPz th 1\nhIb th 1\naPg an 1\nzvw sz 1\nnqO an 1\nsqO qu 1\nbjQ ij 1\nlwQ le 1\npEq qu 1\nbWj ij 1\nswT sz 1\ngmY ng 1\ngRk ng 1\ndZr er 1\nfMr er 1\nlxO le 1\nkbQ ka 1\nyfN ny 1\nymq qu 1\njpK ij 1\nWjn an 1\nfmW me 1\nrKx er 1\ndlH le 1\nkcK ch 1\nvbV va 1\nqNl qu 1\npHt th 1\nhlT th 1\nlBv le 1\noaF an 1\nxfM fo 1\nrZd er 1\njgW ng 1\nHvh th 1\nFkf ka 1\ncDc ch 1\nhLh th 1\nqQp qu 1\nzhJ th 1\nivQ in 1\nUkq qu 1\nbpV pr 1\nbJq qu 1\naPw an 1\nsdK de 1\ncGf ch 1\nLjw ij 1\nqhP th 1\nmFw me 1\nfIu qu 1\nzhB th 1\nfuH qu 1\nbFq qu 1\nWgk ng 1\nFqh th 1\nzmf sz 1\nZpf pr 1\nnFh th 1\nyBw wa 1\ngIj ng 1\nqBf fo 1\nUwl le 1\nzrM er 1\nyBd de 1\nRlf le 1\nPzh ch 1\nrZx er 1\nqVs qu 1\ndxJ de 1\nLcz ch 1\ngFn an 1\nvIm va 1\nqtG th 1\nqbG qu 1\nbHg ng 1\nxrY er 1\ntBd th 1\nnKq an 1\nNkt th 1\njCq qu 1\nbyX be 1\noBp on 1\nWjz sz 1\nzfP sz 1\naQz an 1\nsjx ij 1\nnfW an 1\nnXw an 1\nbJw wa 1\naSf an 1\niRf in 1\nyMd de 1\nfBc ch 1\nvxR va 1\nLlx le 1\nyGs sz 1\nJsy sz 1\nLvx va 1\neFh th 1\nwbM wa 1\nuOq qu 1\nwWl le 1\nbvU va 1\nfnO an 1\nmzI sz 1\nVcf ch 1\nmhE th 1\nvgQ ng 1\njgP ng 1\nqbj qu 1\nbZf be 1\nXtj th 1\nyYq qu 1\njdK de 1\njzB sz 1\nYys sz 1\nwUg ng 1\nyBb be 1\nqjM qu 1\nsXw sz 1\nXqw qu 1\ncTb ch 1\njrE er 1\nsNp sz 1\nZhm th 1\nxVs sz 1\njGz sz 1\nJqh th 1\nzTm sz 1\nvhE th 1\ndQi in 1\nTmv va 1\nqxD qu 1\nfzE sz 1\nvMr er 1\nCqx qu 1\ntwY th 1\nnVz an 1\nlRk le 1\nOwq qu 1\nqYj qu 1\nyQk ka 1\nNlf le 1\nqDn an 1\nbHw wa 1\ncjA ch 1\nsgU ng 1\nkQi in 1\nyNf ny 1\nlwZ le 1\nvGd de 1\nVmn an 1\ntpB th 1\ncFd ch 1\nxHm me 1\nbSg ng 1\nhEq th 1\newQ er 1\neWd er 1\njfR ij 1\nzpY sz 1\ncvQ ch 1\nhXr th 1\ncJw ch 1\nwEp pr 1\nNxl le 1\nqMf qu 1\nvGc ch 1\npyQ pr 1\njpU ij 1\nxoA on 1\ngXn an 1\nqqG qu 1\npXn an 1\nvlP le 1\nLzv sz 1\njxB ij 1\ncJc ch 1\njcT ch 1\nWtm th 1\ncLg ch 1\nkUx ka 1\nnFp an 1\nJsw sz 1\nsBg ng 1\njFn an 1\ngvC ng 1\nfFy ny 1\nqnA an 1\nZbb be 1\nPzx sz 1\npsJ sz 1\nlZq qu 1\nyfP ny 1\ngYv ng 1\nbfC be 1\ndMx de 1\nhlN th 1\nwRl le 1\nqjH qu 1\nWjc ch 1\nuQp qu 1\nzTb sz 1\nqUr qu 1\nzqp qu 1\nvlR le 1\njqX qu 1\nswR sz 1\nqMy ny 1\nzkT sz 1\nyqX qu 1\nnlR an 1\nHqn an 1\naaJ an 1\nlKw le 1\nbzB sz 1\nVgk ng 1\naVm an 1\ndnR an 1\ntxQ th 1\nQzi in 1\nzxV sz 1\nxgQ ng 1\ntvZ th 1\njwN ij 1\nEqj qu 1\nBxj ij 1\nhzH th 1\nQfy ny 1\nPpj ij 1\nAqp qu 1\nzJn an 1\nszF st 1\nqfX qu 1\npzV sz 1\ntgN th 1\nxsS sz 1\nnQz an 1\ntkF th 1\nQhq th 1\ngJc ch 1\nuOa an 1\nrqW qu 1\nfYz sz 1\nuFc ch 1\nNcx ch 1\nlMw le 1\ncjI ch 1\nJcw ch 1\nvEo on 1\neQy er 1\nSxc ch 1\nbUx mb 1\nzdJ sz 1\nlpN le 1\nRkq qu 1\nvvI va 1\nQmq qu 1\ntgJ th 1\ngfE ng 1\nqcX ch 1\nklT le 1\nbbV be 1\npmZ me 1\nuqA qu 1\ncYy ch 1\nwmY me 1\nzlB le 1\nzNd sz 1\ncvZ ch 1\ndvL de 1\nwLz sz 1\nqcG ch 1\nQjl le 1\nnqf an 1\ngxY ng 1\naqI an 1\nKqa an 1\nXqp qu 1\nYvg ng 1\nqqF qu 1\nyHh th 1\nnHc an 1\nUqq qu 1\nzfN sz 1\nmXq qu 1\nFgj ng 1\nDsx sz 1\nxRv va 1\nwbZ wa 1\nHnp an 1\nfUx fo 1\ncYd ch 1\nqTg ng 1\nBgq ng 1\npCn an 1\nXmh th 1\nvjJ ij 1\ntdG th 1\nZhk th 1\nxFn an 1\ndkQ de 1\nLcg ch 1\nmIu qu 1\nIwd de 1\nwjw ij 1\nzbX sz 1\nYhp th 1\ncvH ch 1\nLcx ch 1\nWfn an 1\nNfq qu 1\nqMv qu 1\nUvw va 1\nQnh th 1\nnbG an 1\nsFg ng 1\nxlJ le 1\nbPb be 1\nxpI pr 1\nmrV er 1\nFwu qu 1\nwOy wa 1\nPmh th 1\nJhq th 1\nZbx be 1\npgY ng 1\nRbw wa 1\nAwx wa 1\nmcB ch 1\ngkG ng 1\nxkW ka 1\nPnw in 1\nbNs sz 1\nnXr an 1\nVmt th 1\neUv er 1\nyQv va 1\nkxr er 1\nKsw sz 1\nbpW pr 1\nqeD qu 1\nQvh th 1\nbRm me 1\nqJm qu 1\ncsY ch 1\nqwH qu 1\nCqc ch 1\nlYq qu 1\ndPp de 1\noAe er 1\ndcS ch 1\nuwU qu 1\nzjL sz 1\noZx on 1\nkjR ij 1\ncDy ch 1\nfSs sz 1\neQf le 1\nqBm qu 1\nmLb me 1\nZrj er 1\nGkx ka 1\npkX ka 1\nvTk ka 1\nZgp ng 1\ndhP th 1\nnPv an 1\nxnQ an 1\nbHp pr 1\nXgf ng 1\nCwf wa 1\nlbN le 1\njNm ij 1\nxNt th 1\nrJp er 1\noJd on 1\nRyq qu 1\nlvL le 1\nqvY qu 1\nvwC va 1\nkFj ij 1\nqHd qu 1\nwcB ch 1\nxTs sz 1\nfQz sz 1\nDlf le 1\nwLt th 1\nFbh th 1\nrqJ qu 1\nhhO th 1\nxOi in 1\nmqz qu 1\nqmQ me 1\nqQj qu 1\novQ on 1\ngfR ng 1\nPmq qu 1\nTcj ch 1\nmqQ qu 1\nmwV me 1\nbXw wa 1\njlA le 1\nfjG ij 1\njxY ij 1\nqwM qu 1\nkvU ka 1\nBkq qu 1\ngfA ng 1\nAwc ch 1\nVmv va 1\nQhl th 1\nWmj ij 1\ncMq ch 1\ntHp th 1\nlPb le 1\nvlK le 1\nYgk ng 1\ngJs ng 1\ntWl th 1\nxVw wa 1\nsrN er 1\nUhb th 1\nvfR va 1\nkFf ka 1\nJlz le 1\nfKq qu 1\nmRq qu 1\nkWw ka 1\nzvO sz 1\nXqz qu 1\ndIj de 1\nwJm me 1\nFqv qu 1\nwNt th 1\nlxL le 1\nxLm me 1\ndqN qu 1\nwRj ij 1\nLjt th 1\nwRw wa 1\ncxB ch 1\ncjH ch 1\nVqj qu 1\nqJs qu 1\ncFk ch 1\nxqd qu 1\nEqh th 1\nqRd qu 1\nvfT va 1\nZqb qu 1\nmGc ch 1\nSbd de 1\niwV in 1\njfI ij 1\nnWz an 1\nLjg ng 1\nrjG er 1\ncFb ch 1\nuqZ qu 1\nmVm me 1\njgK ng 1\ndZh th 1\nBqx qu 1\nquG un 1\nlCv le 1\nlxW le 1\ngGb ng 1\ngvY ng 1\nmjF ij 1\nptX th 1\npYy pr 1\nYrf er 1\nmVd de 1\nzpR sz 1\nxKw wa 1\nwpM pr 1\ncLk ch 1\nSqz qu 1\ngWn an 1\nsWz st 1\nsrS er 1\ncVx ch 1\nxNb be 1\nhPb th 1\nbGq qu 1\ntdH th 1\nyJl le 1\nvUk ka 1\ndJz sz 1\nqhI th 1\nmtP th 1\nlGb le 1\nhDx th 1\nzfW sz 1\nNml le 1\nHsw st 1\npfG pr 1\ndMj de 1\nkKq qu 1\nrjS er 1\nQlg ng 1\nNfy ny 1\ncqM ch 1\nhWm th 1\nfuO qu 1\nzfF sz 1\nqgH ng 1\nbpZ pr 1\nbtY th 1\nuqB qu 1\nqyA qu 1\nXrp er 1\nytX th 1\ndHm de 1\nvBg ng 1\nyyN ny 1\nQrj er 1\ngKd ng 1\nbfU be 1\nQft th 1\nbqP qu 1\nqOz qu 1\nXhc th 1\ndqY qu 1\nhjQ th 1\nYfu qu 1\naXk an 1\npbV","i8", -B,q.g+159928); -C(" pr 1\nvjP ij 1\nYbp pr 1\nJmb me 1\nqFq qu 1\nyPq qu 1\nyWw wa 1\nvhX th 1\niwT in 1\nqZf qu 1\nuqU qu 1\nuFk qu 1\ncpW ch 1\nLpq qu 1\nkfL ka 1\npQe er 1\ngwz ng 1\njpM ij 1\nQkm ka 1\njgH ng 1\nxjP ij 1\nxgL ng 1\njLm ij 1\ndxN de 1\nvWs st 1\nJjh th 1\nhhG th 1\nYvc ch 1\nxrE er 1\nbZw wa 1\nLvw va 1\neNw er 1\nfjB ij 1\ndcQ ch 1\nlZt th 1\nJwq qu 1\nqPg ng 1\nxMb be 1\nhfD th 1\njzQ sz 1\nUuf qu 1\nzGk sz 1\nzCc ch 1\nnpC an 1\ntWd th 1\nhjF th 1\nPzs st 1\nwuA qu 1\nQhg th 1\nMqm qu 1\nfsI st 1\nfdU de 1\nXrm er 1\nqQg ng 1\nbkW ka 1\ndHg ng 1\nrcB ch 1\nhWu th 1\nnIq an 1\nrYq qu 1\nxXv va 1\nwqP qu 1\nxmN me 1\nsJf st 1\nyMf ny 1\nSfk ka 1\nqzW qu 1\ncvT ch 1\nkmX ka 1\nxqU qu 1\ncnG an 1\nJpi in 1\nfrX er 1\nyLf ny 1\nuyU qu 1\nDdw de 1\nTgj ng 1\nqeH qu 1\nfEz sz 1\npCk ka 1\nqmf qu 1\nrjH er 1\nxMp pr 1\nYwo on 1\nzgD ng 1\nPqx qu 1\nnqM on 1\nwdX de 1\nBpz sz 1\nlhM th 1\nEpb pr 1\nbhJ th 1\nkvQ ka 1\nRsq qu 1\nxbP be 1\nnMm an 1\nxuC qu 1\nwjs sz 1\nfxX fo 1\nhvT th 1\nuPx qu 1\nJmy me 1\nQzd de 1\nNsz st 1\nvWd de 1\nhfX th 1\njCg ng 1\nyQx ny 1\nwhJ th 1\nwrq qu 1\nxgW ng 1\nJhj th 1\nlhC th 1\nPwf ow 1\nljC le 1\nvvB va 1\nmcN ch 1\nyHx ny 1\nbBj ij 1\nqRz qu 1\nglH ng 1\ncZp ch 1\nqJh th 1\ntSg th 1\nxVm me 1\nuWs qu 1\nVxo on 1\nfjM ij 1\nzhK th 1\nCjh th 1\nvZr er 1\nbCs sz 1\nrwY er 1\nxEi in 1\ndUv de 1\nfRg ng 1\nGcu ch 1\njDf ij 1\ndjH de 1\nvlU le 1\nqyG qu 1\nkfq qu 1\nlXg ng 1\nlbC le 1\nPwg ng 1\nOae an 1\npbC pr 1\ndWt th 1\nlzU le 1\nwJz sz 1\ndYj de 1\ncBj ch 1\nfRv va 1\ndjG de 1\nmYg ng 1\nQbc ch 1\ngnX an 1\nwPm me 1\nwvN va 1\nqGm qu 1\nqNh th 1\nmRg ng 1\nUqv qu 1\nQxm me 1\nfzX sz 1\nzjM sz 1\nxqA qu 1\nbMs sz 1\nvmL me 1\nEyx ny 1\nhHj th 1\njGp ij 1\nmfD me 1\nJfw wa 1\nWjh th 1\nbZs sz 1\nIyk ka 1\nzRn an 1\ncdU ch 1\nmJh th 1\nQjy ij 1\nQao an 1\nbXv va 1\nhSg th 1\nrAo er 1\nhLs th 1\nlCs le 1\nqkJ qu 1\nRxu qu 1\nxdN de 1\nyYx ny 1\ndkN de 1\nRgw ng 1\nzgL sz 1\nRcj ch 1\niWz in 1\ndLk de 1\nmpX me 1\nGbd de 1\nbnH an 1\nkdM de 1\nwqG qu 1\nvMz sz 1\nzwH sz 1\nwgx ng 1\nLjk ij 1\ntlG th 1\ntgE th 1\nWcw ch 1\nVby be 1\nmVz sz 1\nHgc ch 1\ngqP ng 1\nhhB th 1\nnFx an 1\nyBf ny 1\nWmx me 1\nvNb va 1\nMnv an 1\nZmc ch 1\nbzS sz 1\nyfC ny 1\nEpx pr 1\nljG le 1\nwUa an 1\nQgo ng 1\npqb qu 1\nJkm ka 1\nWvy va 1\nBjp ij 1\nvfZ va 1\nwxT wa 1\nVxw wa 1\ndRt th 1\nnVq an 1\niWf in 1\nSmq qu 1\njwG ij 1\nvcW ch 1\nQgz ng 1\nWkq qu 1\nxrL er 1\ntVh ch 1\nZlr er 1\nzDt th 1\nyxP ny 1\nYyw wa 1\nzPk sz 1\nBgg ng 1\nxOk ka 1\noXq qu 1\ntQf th 1\nfxF fo 1\ndOq qu 1\nVtp th 1\njhP th 1\nvhZ th 1\nGqq qu 1\ndFg ng 1\neCg ng 1\nkjH ij 1\nvqQ qu 1\njpL ij 1\nhgZ th 1\nxFd de 1\nQjd de 1\nxKm me 1\nzQc ch 1\nNhw th 1\nKqo qu 1\nhwO th 1\noYn an 1\nWnf an 1\nvSc ch 1\nAfq qu 1\njqJ qu 1\njEg ng 1\ndKp de 1\nnmK an 1\nwXw wa 1\nvjC ij 1\ndXb de 1\ntQn th 1\nqoR qu 1\nbRf be 1\nyyL ny 1\nkSj ij 1\nXyu qu 1\nvmA va 1\nZgm ng 1\nLbx be 1\nbIv va 1\nZdq qu 1\ngHn an 1\nbYq qu 1\nMqd qu 1\nqMk qu 1\nQsv st 1\nzXx sz 1\nhQf th 1\nwcV ch 1\nXfz sz 1\nMhc th 1\nkBz sz 1\nbWp pr 1\nWzu qu 1\nhWw th 1\nyNp pr 1\nxbZ be 1\nmTb me 1\nKdf de 1\npfQ pr 1\nvCd de 1\nPqf qu 1\nofZ on 1\nwYd de 1\nTfc ch 1\nGnb an 1\nZdx de 1\nzVj sz 1\nTqw qu 1\nfzV sz 1\nIgq ng 1\nQvv vi 1\nPmf me 1\nqHe qu 1\nybR be 1\ncFg ch 1\nKvf va 1\nZxm me 1\noVc ch 1\nYhb th 1\nbwP wa 1\nVvz sz 1\nsdW de 1\ngFz ng 1\nmRl le 1\nbqN qu 1\nbhU th 1\ntBw th 1\nHbb be 1\nJzp sz 1\nzrS er 1\nmkZ me 1\nbKw wa 1\njPx ij 1\nXqa an 1\nfGz sz 1\nxLk ka 1\nnrV an 1\nTmx me 1\nzvZ sz 1\ngWl ng 1\nYxb be 1\nyWt th 1\nlqN qu 1\ntWu th 1\nxZt th 1\niqI in 1\ncpQ ch 1\nzPf sz 1\nbqG qu 1\ngmI ng 1\nWkc ch 1\nZvs sz 1\nqdN qu 1\nhYf th 1\nsBn an 1\nDwb ow 1\nWzq qu 1\nQdw de 1\nsvR sz 1\nNvv va 1\njRc ch 1\nqDv qu 1\nqGe qu 1\ncwT ch 1\nfTy ny 1\nCvv va 1\nflQ le 1\nmWg ng 1\ntwS th 1\nnpM an 1\nUfq qu 1\nfuG qu 1\noCj on 1\ntxF th 1\nYft th 1\nqwy qu 1\nVdz de 1\nVgq ng 1\nRkg ng 1\nPxz sz 1\nmCn an 1\nwhZ th 1\nfgB ng 1\njvW ij 1\nkdL de 1\nLxi in 1\nsvB sz 1\nxuH qu 1\ngFy ng 1\noVv on 1\nZhq th 1\noqG qu 1\noJp on 1\ngIf ng 1\nbwF wa 1\nvLh th 1\njgX ng 1\nqKi in 1\nxRh th 1\nqwV qu 1\nmNl le 1\nGvv va 1\npQf pr 1\nxbV be 1\ndpZ de 1\nfHq qu 1\nbBd de 1\nvUh th 1\nhzA th 1\nMnz an 1\npBt th 1\noaE an 1\nslK le 1\nWlg ng 1\njhK th 1\nxvX va 1\nFfx fo 1\ngXh th 1\ncWf ch 1\nGpy pr 1\nxmS me 1\ngZn an 1\ndjX de 1\nbkX ka 1\nxlP le 1\nhCt th 1\nYhj th 1\ngwQ ng 1\nklD le 1\nRhq th 1\naEj an 1\njpY ij 1\npVn an 1\nnJx an 1\nzdV de 1\nRvf va 1\nOqy qu 1\nzpT sz 1\nPzc ch 1\nqTm qu 1\njfq ij 1\nztY th 1\nZqv qu 1\nnZb an 1\npHl le 1\nQcr ch 1\nzVm sz 1\npNm me 1\nXhj th 1\noYy on 1\nFlq qu 1\nlwj le 1\nrwH er 1\noWq qu 1\nBwm me 1\njXs sz 1\nLkt th 1\nlVn an 1\njXa an 1\nhkB th 1\nqrQ qu 1\ndqK qu 1\nZxn an 1\nygZ ng 1\nFgt th 1\nnwM an 1\nWzx sz 1\nqgb ng 1\nYgv ng 1\nXdd de 1\nxjM ij 1\nqHb qu 1\nzKz sz 1\ndvM de 1\nZpx pr 1\nwPt th 1\nqiA in 1\njyV ij 1\njyR ij 1\nUox on 1\nQkz ka 1\nLxq qu 1\nfpq qu 1\nXmf me 1\nkRx ka 1\njFk ij 1\nnZc an 1\nhCp th 1\nHbw wa 1\nzlF le 1\nkqI qu 1\nwWj ij 1\nqKk qu 1\nJpf pr 1\nlbR le 1\nrbJ er 1\nzfK sz 1\ngVk ng 1\nbZx be 1\nznQ an 1\ngZb ga 1\nwtI th 1\nbvW va 1\nqhG th 1\nxrV er 1\npYc ch 1\nbQq qu 1\nqpV qu 1\npFm me 1\nzdO de 1\nJvj ij 1\nmQl le 1\nxWm me 1\nDtz th 1\nlKz le 1\ndkI de 1\nfSx fo 1\nyCp pr 1\nwhF th 1\nlVm le 1\nyHv va 1\nPlm le 1\nJpm me 1\nhEw ha 1\nzHz sz 1\nuIj qu 1\ngzB ng 1\nqsV qu 1\npbX pr 1\njyY ij 1\nmjq qu 1\nzDd de 1\nTqc ch 1\nfTg ng 1\nqbh th 1\nCjq qu 1\npcW ch 1\nXhp th 1\nfwR wa 1\ndQm de 1\nxCk ka 1\nyhM th 1\nglQ ng 1\ngVb ng 1\nPdy de 1\nyOj ij 1\njZg ng 1\noqZ qu 1\nbqI qu 1\njkX ij 1\nKfh th 1\nxpQ pr 1\nrhX th 1\nwjI ij 1\nBqf qu 1\naCp an 1\nccX ch 1\nvGm ma 1\npaU an 1\nxUh th 1\ngLd ng 1\ntfJ th 1\nfwH wa 1\nPnq an 1\nkxV ka 1\nNbk ka 1\nsqE qu 1\nCjp ij 1\nkcZ ka 1\nWqj ij 1\ntzY th 1\nnqX an 1\nYyc ch 1\nLzd de 1\nxZy ny 1\nsdY de 1\njXn an 1\nNbm me 1\nwLr er 1\nNqr qu 1\nZwx wa 1\nyvH va 1\nylC le 1\nqyh th 1\nJnz an 1\nhHv th 1\nzUq qu 1\nxgI ng 1\nZtp th 1\nVvb va 1\ntGn th 1\nUjq qu 1\njHs sz 1\nbWq qu 1\nbXr er 1\nhFg th 1\ngdT ng 1\nqHc ch 1\nlCj le 1\nmVg ng 1\npQq qu 1\nvWl le 1\nyFq qu 1\ndjY de 1\nbtQ th 1\nvlM le 1\nIwt th 1\nPdb de 1\njtQ th 1\nxjR ij 1\ndhW th 1\nzXs sz 1\nfbE be 1\nHqr qu 1\nvLt th 1\nkbD ka 1\nvUd de 1\nyZc ch 1\nQke le 1\nfhG th 1\neHt th 1\nvHj ij 1\nTfg ng 1\nuoA qu 1\nzCx sz 1\nzLk sz 1\njdW de 1\nCgn an 1\nLrq qu 1\nyOi in 1\nqOw qu 1\nfqs qu 1\nltQ th 1\nnwU an 1\nzYq qu 1\nGzs st 1\nnWv an 1\nlNx le 1\nWql qu 1\ndcD ch 1\nvfD va 1\nqVd qu 1\nWzz sz 1\njfH ij 1\nRrt th 1\nqDr qu 1\nlOh th 1\nwwZ wa 1\nmQw me 1\nnqK an 1\nUvl le 1\nkRq qu 1\nVhg th 1\nxsD st 1\nLdd de 1\nsQv st 1\nqMj qu 1\nhbQ th 1\ncjX ch 1\nnbT an 1\nxNf fo 1\nwCt th 1\njnX an 1\ntZf th 1\nqCk qu 1\ndHk de 1\nCcq ch 1\nuMf qu 1\nbvG va 1\nzPz sz 1\nyIy ny 1\nlHx le 1\nfnB an 1\nEbx be 1\nrGc ch 1\nmgD ng 1\nhJg th 1\njcG ch 1\nYbd de 1\noDq qu 1\njRx ij 1\nkJf ka 1\ntFv th 1\nGdv de 1\nfHn an 1\nUqp qu 1\ncYh th 1\nkHp ka 1\nqhZ th 1\nwZh th 1\nkQt th 1\nhwH th 1\nxzU sz 1\ntQg th 1\nQbj ij 1\nzVl le 1\nqJd qu 1\nXrf er 1\nfMv va 1\nqJc ch 1\nDqy qu 1\nqMs qu 1\nfzl le 1\nWdx de 1\nTdw wa 1\nmcT ch 1\nfOd de 1\nKgj ng 1\nyrT er 1\nbqA qu 1\nsnq an 1\nLzt th 1\ngLw ng 1\ndLq qu 1\nQzr er 1\nQrn an 1\neFn an 1\nNmw wa 1\npxE pr 1\nCqk qu 1\nWcd ch 1\nfXw wa 1\nfbU be 1\naeO an 1\nsvV st 1\nyVt th 1\nsRp st 1\nrxU er 1\nqhK th 1\nuQw qu 1\noXw on 1\nJvw va 1\nkvH ka 1\nzVy sz 1\nrOq qu 1\ncWx ch 1\niXv in 1\ncBk ch 1\nxkM ka 1\nvHb va 1\njbW ij 1\nmYq qu 1\nfnH an 1\nzRj sz 1\nhvN th 1\noMh th 1\nyqO qu 1\nfBf fo 1\noPj on 1\nfFc ch 1\nlVq qu 1\nptJ th 1\nNtj th 1\nrwL er 1\ncFz ch 1\njVd de 1\nGbv va 1\noJn an 1\nwkL ka 1\nqoT qu 1\nQxk ka 1\nrZj ij 1\nCgd ng 1\ngvW ng 1\nkYv ka 1\nqjR qu 1\nVnq an 1\nyJt th 1\nxWy ny 1\nbXl le 1\nxVk ka 1\nxuG qu 1\nHzs st 1\nuDq qu 1\nYwk ka 1\nJkh th 1\nGdm de 1\nqcO ch 1\nhlH th 1\nJfv va 1\ncLn an 1\nwzG sz 1\nyhF th 1\nkfD ka 1\nkbJ ka 1\nNqp qu 1\ngYq ng 1\nztM th 1\njcD ch 1\nwgY ng 1\nqdT da 1\nvTw va 1\ncNz ch 1\nJbc ch 1\nXcj ch 1\nrUw er 1\ngXv ng 1\ndRf de 1\nbJz sz 1\naqA an 1\nuOz qu 1\nwPj ij 1\nuDw qu 1\nmqF qu 1\ncXr ch 1\nyrL er 1\nnJk an 1\nhsY th 1\nZqs qu 1\nqeS qu 1\nbLv va 1\njEo on 1\npmE me 1\njIt th 1\nvzZ sz 1\nQhd th 1\ncnN an 1\nbPq qu 1\npZw pr 1\niwR in 1\noJv ko 1\nufI qu 1\nwKm me 1\nuWv qu 1\nfCf fo 1\nwBn an 1\nUyf ny 1\nuVx qu 1\nkKf ka 1\nmrZ er 1\nlXb le 1\nzJm sz 1\nwYr er 1\nHkw ka 1\nEwz sz 1\nxJy ny 1\nEmx me 1\ncqL ch 1\nzVk sz 1\nyPb be 1\nzcC ch 1\nNdq qu 1\nuWf qu 1\nkcM ch 1\ntkB th 1\nyhq th 1\nqaP an 1\nrVs er 1\ndLd de 1\nSgm ng 1\nXhx th 1\nxqH qu 1\nKqy qu 1\nyRw wa 1\nWdw de 1\nqcQ ch 1\nzbp sz 1\ndtY th 1\ncwB ch 1\nnfV an 1\ncgP ch 1\npwW pr 1\npqf qu 1\nXkp ka 1\nizJ in 1\ncYw ch 1\niQl in 1\nQvy va 1\nylR le 1\nsFp st 1\nLqg ng 1\nxnP an 1\ngYl ng 1\nwIr er 1\nfqR qu 1\nQpk ka 1\nqXz qu 1\nLrr er 1\nsjI st 1\niyX in 1\nZfq qu 1\nvtH th 1\ncZf ch 1\nhXp th 1\nrJw er 1\ngbP ng 1\nQug ng 1\njRt th 1\nlXh th 1\npVc ch 1\nkGc ch 1\nNxr er 1\nyKk ka 1\nxAo on 1\noUx on 1\nnWx an 1\nfwU wa 1\nmKg ng 1\nqhO th 1\nsGg ng 1\nWwu qu 1\ncnE an 1\ntjS th 1\nQyd de 1\nyWm me 1\nQdj de 1\njSd de 1\nIoy on 1\nXpp pr 1\nxJb be 1\nxvT va 1\ncdT ch 1\nkhX th 1\nhVp th 1\ncjT ch 1\nHqf qu 1\nnbP an 1\nUwb wa 1\nKcb ch 1\nqsQ qu 1\ntkZ th 1\nzrX er 1\nzbN sz 1\nmYi in 1\ngLx ng 1\nsGc ch 1\nPbv va 1\ngcV ch 1\nQjf ij 1\nwvB va 1\ngKp ng 1\njZy ij 1\nqhW th 1\nvCg ng 1\nLrk er 1\nfRw wa 1\ncMj ch 1\nohK th 1\nfrK er 1\ndQq qu 1\nHdj de 1\nBkx ka 1\nyXv va 1\nfdO de 1\nsWg ng 1\nXtf th 1\nrUx ar 1\nqHm qu 1\nkQh th 1\nwzU sz 1\nvTt th 1\nzkN sz 1\nFqp qu 1\nxJc ch 1\nwkQ ka 1\nwxF wa 1\nvRj ij 1\njzD sz 1\nZqu un 1\nzWw sz 1\nzgU ng 1\nugX ng 1\npmB me 1\ngzA ng 1\nZjj ij 1\nxIj ij 1\nxoK on 1\nGqx qu 1\nuLq qu 1\nlGw le 1\ntZq th 1\nzcN ch 1\nyPz sz 1\nrqN qu 1\npwG pr 1\nvfP va 1\nvIy va 1\nvEj ij 1\njqD qu 1\nHxu qu 1\nqLs qu 1\nJpy pr 1\npRw pr 1\nfZs st 1\nVvx va 1\nzkB sz 1\nyGk ka 1\nkvZ ka 1\ncqW ch 1\nwLg ng 1\nYpg ng 1\njrR er 1\nvwZ va 1\ngVd ng 1\niCw ij 1\nFxw wa 1\nqyZ qu 1\nqgT qu 1\nxLs st 1\npXg ng 1\ngNv ng 1\nHgz ng 1\nzJv sz 1\nHvm va 1\nuXb qu 1\nlLz le 1\ndwP de 1\ngvN ng 1\ncpF ch 1\nvZj ij 1\nPfv va 1\nxcI ch 1\nyVp pr 1\nfdC de 1\npbE pr 1\njQm ij 1\nTqt th 1\nwMh th 1\nGkq qu 1\ntdV th 1\nxIk ka 1\nhHp th 1\nLsb st 1\nWvs st 1\nQcw ch 1\ngfQ ng 1\nFjt th 1\nxBz sz 1\nfLx fo 1\nzkR sz 1\nkjA ij 1\nFcw ch 1\nfhT th 1\nqiK qu 1\nwQv va 1\npXl le 1\nhLg th 1\njJw ij 1\nsOj st 1\nvWb va 1\nAjq qu 1\nvKc ch 1\niIy in 1\npJy pr 1\nLqc ch 1\nwBd de 1\nkRb ka 1\nLcp ch 1\ngfB ng 1\nzVn an 1\nqWf qu 1\nQyf ny 1\npuF qu 1\nfIe er 1\nwGb wa 1\njjL ij 1\nhcE th 1\nqhp th 1\ngxN ng 1\ntMd th 1\nRzt th 1\ncgO ch 1\nvmT va 1\nDcq ch 1\nqoI qu 1\nNqz qu 1\nvhM th 1\ngBq ng 1\njWv ij 1\nxmE me 1\nqcd ch 1\nlYj le 1\ndDc ch 1\nxUa an 1\nkVl le 1\nwqN qu 1\nuuI qu 1\nWzf sz 1\nyvX va 1\nPyq qu 1\nwuU qu 1\nhLp th 1\nqqL qu 1\ncVh th 1\nFgs ng 1\nxjF ij 1\nwkG ka 1\nqJr qu 1\nGzq qu 1\nIxv va 1\nhMv th 1\ndfQ de 1\neOx er 1\nmHq qu 1\nZkn an 1\nnqW an 1\nnJd an 1\npEh th 1\ngVg ng 1\nZyf ny 1\nnmT an 1\ncsQ ch 1\nPkq qu 1\ntdP th 1\nfkz sz 1\nQnc an 1\npBj ij 1\nMjv ij 1\nymJ me 1\nMxs st 1\nhbL th 1\nvQh th 1\nxDy ny 1\ndjC de 1\ncdQ ch 1\nbnL an 1\nYjl le 1\nqUc ch 1\nmjW ij 1\nzWs st 1\nxvF va 1\nGqi qu 1\nfGm me 1\nXuw qu 1\nqCs qu 1\nK","i8", -B,q.g+170168); -C("xm me 1\nlNn an 1\nsdL de 1\nVtn th 1\nsJj st 1\nkQj ij 1\nxfX fo 1\nNqk qu 1\ncBs ch 1\nyzP sz 1\nxUv va 1\nlbT le 1\nwyV wa 1\nXkm ka 1\nWdv de 1\nqQn an 1\nsqZ qu 1\nsfW st 1\ngfM ng 1\nVlp le 1\nXjx ij 1\nhIj th 1\nJws st 1\nxZr er 1\niKw in 1\nTbd de 1\nzQv sz 1\nnmZ an 1\nbpE pr 1\nzSv sz 1\nFgi ng 1\nuIw qu 1\nZvx va 1\nrqR qu 1\nvjZ ij 1\nNjr er 1\nkwF ka 1\nOvw va 1\nhwZ th 1\nMvk ka 1\nDvf va 1\nxsP st 1\ngZq ng 1\nvXv va 1\nwGt th 1\nqlO qu 1\nfNz sz 1\nNvw va 1\nzdZ de 1\nvxV va 1\nNhz th 1\ntZm th 1\niyS in 1\nqZa an 1\nxrZ er 1\nqly qu 1\ncjM ch 1\nkYj ij 1\niyF in 1\nCdq qu 1\nxwE wa 1\nxfV fo 1\nwbF wa 1\nwuO qu 1\nRlh th 1\nfCj ij 1\nbcZ ch 1\nGjv ij 1\ngLl ng 1\nwLc ch 1\nzmP sz 1\ncYo ch 1\nRhk th 1\ngrM ng 1\nfDh th 1\nYyb be 1\nuyW un 1\nkGb ka 1\niwK in 1\nqkN qu 1\nqXd qu 1\nzCb sz 1\nrQf er 1\nxrO er 1\nFzh th 1\nwSj ij 1\nyPw wa 1\nBqw qu 1\nkWc ch 1\nqhX th 1\nkBw ka 1\nyvL va 1\nxcT ch 1\nFbz sz 1\ncEb ch 1\nvEk ka 1\nuQh th 1\nsHw us 1\nFvf va 1\nwkO ka 1\nwiY in 1\nsPm st 1\ndFn an 1\nqQx qu 1\nRsg ng 1\nfUj ij 1\ntLw th 1\nsRk st 1\nzkP sz 1\nmvF va 1\njYb ij 1\nswY is 1\nrRc ch 1\nrHd er 1\nbDk ka 1\nlWv le 1\nvqv qu 1\nqoN qu 1\nzMl le 1\npfJ pr 1\nDmz sz 1\nobQ on 1\nVfz sz 1\nbVd de 1\nCjv ij 1\nmKz sz 1\njjE ij 1\nAqc ch 1\nCxn an 1\nvpH va 1\nLxa an 1\nzpH sz 1\nqoF qu 1\nhRz th 1\nyYw wa 1\ndUx de 1\nKxl le 1\nxUo on 1\nhDp th 1\nzDf sz 1\nWsq qu 1\njzZ sz 1\nmGf me 1\njjV ij 1\npfR pr 1\nbPd de 1\nwjq qu 1\nRjx ij 1\nLwq qu 1\nfqH qu 1\njRs sz 1\nsfT sz 1\nGrw er 1\nzGn an 1\nycW ch 1\nlUq qu 1\npRq qu 1\nnZq an 1\nSvx va 1\nPhf th 1\nFvj ij 1\nQlm le 1\njgS ng 1\nMmv va 1\nxPd de 1\nqqw qu 1\nrWp er 1\nqIr qu 1\nCxf fo 1\nwtG th 1\ncKb ch 1\nbtL th 1\npRx pr 1\nzsB sz 1\nnbD an 1\njKg ng 1\nbhL th 1\nYhw th 1\nyYr er 1\njCm ij 1\nxzK sz 1\npJl le 1\nQrr er 1\nuvG qu 1\ncfJ ch 1\niqX in 1\nvNd de 1\nqcM ch 1\nWvj ij 1\nvmS va 1\nvWp va 1\naIj an 1\njmS ij 1\nFmk ka 1\niyN in 1\nbZu qu 1\nKzj sz 1\nVwd de 1\nUlx le 1\nrCv er 1\nwvq qu 1\nQkr ri 1\nfjC ij 1\ntRr th 1\npCy pr 1\nfbC be 1\nfQc ch 1\nXkf ka 1\nDqr qu 1\nfgE ng 1\nvMm va 1\ndPb de 1\nvjL ij 1\nwKc ch 1\nPyw wa 1\neXv er 1\nnVw an 1\nJww wa 1\nDfq qu 1\ntCc th 1\nqtH th 1\nXqm qu 1\nBhc th 1\ntcX th 1\nxKp pr 1\ntfN th 1\nibZ in 1\nNzb sz 1\nWnj an 1\nvXy va 1\niVf in 1\ndxT de 1\njxQ ij 1\nDdv de 1\nmXd de 1\nfUq qu 1\nwgQ ng 1\nLgj ng 1\nmgY ng 1\nqMw qu 1\ngpJ ng 1\nsZx st 1\nnXz an 1\nWve er 1\nlVk le 1\nwCb wa 1\nxvI va 1\nmfJ me 1\ntQq th 1\ndTt th 1\nfqk qu 1\nnVt th 1\nwIh th 1\nQvp va 1\nvfN va 1\ngQs ng 1\niVp in 1\njGl le 1\nxMf fo 1\nxvw wi 1\nzIl le 1\nzfR sz 1\nzWv sz 1\nehV th 1\ndZq qu 1\ntmK th 1\ncLt th 1\npZb pr 1\nvnJ an 1\nfvk ka 1\nXhv th 1\nVjn an 1\ntgI th 1\nxaJ an 1\nmSf me 1\nXzm sz 1\ndTz de 1\nxXm me 1\npQz sz 1\nCqg ng 1\nbSs st 1\nprW er 1\nhDb th 1\nsXt th 1\nkcD ch 1\nkgZ ng 1\nTzt th 1\nzcR ch 1\nXwu qu 1\nkXg ng 1\nYwv wi 1\nrpK er 1\nwPs is 1\nKjz sz 1\nfDb be 1\njrF er 1\nbbQ be 1\nQdb de 1\nrKt th 1\nvYf va 1\nvxA va 1\nfhM th 1\njsU st 1\nzXk sz 1\nuwO qu 1\njsR st 1\nkHn an 1\nxWv va 1\nvfS va 1\npIv va 1\nbcW ch 1\nzdM sz 1\ngCz ng 1\nhzN th 1\nbQw wa 1\nojX on 1\nVqv qu 1\nqWb qu 1\nYkb ka 1\nxnJ an 1\nsJz st 1\nhRr th 1\ntXs th 1\nQeb er 1\nUwd de 1\nnYg an 1\nYfx fo 1\nxrG er 1\neZr le 1\nufV us 1\nrXm er 1\nqZv qu 1\nvQz sz 1\nTnq an 1\nRmj ij 1\njlM le 1\ncqO ch 1\nxWf fo 1\njcZ ch 1\njfV ij 1\nZmj ij 1\nbxM be 1\nfFd de 1\ngjP ng 1\nhMs th 1\nYsq qu 1\nqkV qu 1\nKmc ch 1\nxYy ny 1\ndvX de 1\nrwC er 1\ngwW wa 1\nQpy pr 1\njXy ij 1\nqOj qu 1\nQmz sz 1\nEqq qu 1\nzJs st 1\nfHy ny 1\nhDt th 1\nsDh th 1\nVkq qu 1\nyLc ch 1\nvHm va 1\nvnX an 1\njxS ij 1\nJtj th 1\nqgE ng 1\nbpH pr 1\nIqy qu 1\nqMn an 1\ndmE de 1\nHfq qu 1\npSb pr 1\nxhI th 1\nQjt th 1\nyfX ny 1\nvuF qu 1\nwFw wa 1\nznS an 1\nzlV le 1\nlkK le 1\nFvz sz 1\nqjT qu 1\nzoQ on 1\nWvx va 1\nhMn th 1\ndMw de 1\ngcF ch 1\ndbB de 1\nCqj qu 1\nmCv va 1\npJx pr 1\nDfv va 1\nsjL st 1\nqiG in 1\nZls le 1\nVsf st 1\nFgd ng 1\nwmD me 1\nDxo on 1\nqrk qu 1\npJr er 1\ncLx ch 1\njdB de 1\nybM be 1\nmvM va 1\njtX th 1\ncnB an 1\nwtW th 1\nKsd st 1\nwql wa 1\nmhU th 1\noJy on 1\nGhp th 1\nqoX qu 1\nxsI st 1\nvFs st 1\nfYe er 1\nlnV an 1\nuXn an 1\nEoh th 1\nwcM wa 1\njwK ij 1\nGke er 1\nuFq qu 1\nYcg ch 1\nxqy qu 1\nbtM th 1\njHw ij 1\nqeU qu 1\nQjz sz 1\nnuQ an 1\nFcx ch 1\nKqt th 1\nLqv qu 1\nmwU me 1\nfQs st 1\nkSd de 1\nnYv an 1\nwGj ij 1\ngvZ ng 1\nmqN qu 1\nFhp th 1\npMq qu 1\ndBh ch 1\nbXk ka 1\nfqK qu 1\nYyq qu 1\nKrq qu 1\nRnv an 1\nuuE qu 1\nXsz st 1\nfKb be 1\nyIh th 1\nNcd ch 1\nmLr er 1\ncSs ch 1\nlbE le 1\nxaW an 1\nRtd th 1\nrbF er 1\nvgR ng 1\nscZ ch 1\nrHp er 1\neYw er 1\nLxj ij 1\nqRg ng 1\njpN ij 1\nrjW er 1\nlgK ng 1\nmCc ch 1\nfGu qu 1\nxzT sz 1\nwQw wa 1\nklJ li 1\ncqk ch 1\nlMh th 1\npYs st 1\nhQk th 1\nHxz sz 1\nfeY er 1\nfhF th 1\nfBm me 1\nfVt th 1\nzfh th 1\nsbT st 1\ndQy de 1\nFmc ch 1\nvhL th 1\nJtb th 1\nVrx er 1\nyqZ qu 1\njDm ij 1\nmfV me 1\noSx on 1\nJxg ng 1\nwOq qu 1\ndJq qu 1\nVvc ch 1\nEqe qu 1\njqO qu 1\nzxI sz 1\nqKf qu 1\nfdW de 1\nccM ch 1\ngcW ch 1\nlFn an 1\nRvq qu 1\nznN an 1\nzbU sz 1\ntNw th 1\nwjK ij 1\nJbd de 1\nBfc ch 1\nqeX le 1\ntXk th 1\nslJ le 1\ncKd ch 1\nnCf an 1\nqgV ng 1\nMhx th 1\nsKf st 1\nhqZ th 1\nFdt th 1\nqzJ qu 1\nsNn an 1\ntjW th 1\nxcN ch 1\nfcJ ch 1\ndjU de 1\nYgh th 1\nwoI on 1\nYyz sz 1\nkQc ch 1\nhfQ th 1\nnrL an 1\nlQs le 1\nmtF th 1\nwbX wa 1\ngmR ng 1\nZsq qu 1\nytQ th 1\nmbF me 1\nfgT ng 1\ncWu ch 1\ngxG ng 1\nhNv th 1\ndfW de 1\nzrC er 1\nwoX on 1\nwjT ij 1\nPqw qu 1\nvkf ka 1\nnLz an 1\ncjV ch 1\nfcP ch 1\nvlQ le 1\nFgq ng 1\nhgP th 1\nGqy qu 1\ntKs th 1\nXfv va 1\nyZq qu 1\nyiZ in 1\nrXv er 1\nYcy ch 1\nfvA va 1\nTqs qu 1\nhZy th 1\nxwc ch 1\nqVf qu 1\nMhq th 1\nzSj sz 1\nvhQ th 1\ntzX th 1\nGvm va 1\ncqU ch 1\nHhp th 1\ngQk ng 1\npwL pr 1\nsNw st 1\nqEt th 1\nNzq qu 1\nzsD st 1\nmDg ng 1\nRtq th 1\njLf ij 1\nwTp pr 1\nxJh th 1\nVqo qu 1\nZqk qu 1\nqqQ qu 1\nhrY th 1\nWqo qu 1\nmIy me 1\nIpk ka 1\nxjC ij 1\nlLp le 1\nhqF th 1\ncWg ch 1\nqYc qu 1\ncjU ch 1\nqXk qu 1\nhqL th 1\nzxT sz 1\ndnX an 1\nzBt th 1\nQls le 1\nkhC th 1\nuqX qu 1\nZbf be 1\niDx li 1\nZnp an 1\nJxq qu 1\njqY qu 1\nvbU va 1\nqRr qu 1\nqpj qu 1\nwlG le 1\nWgx ng 1\nVxj ij 1\nzSw sz 1\nihW th 1\nkzT sz 1\naeZ an 1\nhKj th 1\ntWs th 1\ngLc ch 1\ngpK ng 1\nyJz sz 1\nGvt th 1\nfEo on 1\nsKd st 1\nxhN th 1\naMq an 1\nehX th 1\nkfZ ku 1\nWwc ch 1\nYmz sz 1\nVkd de 1\nbzD sz 1\nXkg ng 1\nVzz sz 1\nxvV va 1\npHh th 1\nrKq qu 1\nvmM va 1\nQxj ij 1\nzNr er 1\nbqB qu 1\nJqw qu 1\nzqB qu 1\nXvm va 1\nlBf le 1\nqqB qu 1\ngCs ng 1\nrRg ng 1\nRnm an 1\nLzw sz 1\niwN in 1\npfN pr 1\nhCw wa 1\nuHz qu 1\ncLc ch 1\nlwD le 1\nqjB qu 1\nOjy ij 1\ndmV di 1\ncCw ch 1\nlXs le 1\nsmR st 1\nmxO me 1\nJrt th 1\nzjN sz 1\nbBn an 1\ncxQ ch 1\nKdp de 1\nDlb le 1\npqD qu 1\nqqC qu 1\nSpz sz 1\ntCd th 1\ngfP ng 1\nuGj qu 1\nxbE be 1\nXpv va 1\nXzt th 1\ngqG qu 1\nkqq qu 1\nKvq qu 1\nqWi qu 1\nmxZ me 1\nqoY qu 1\nSgf ng 1\ncRv ch 1\nWgi ng 1\neDx er 1\ncWw ch 1\nvFq qu 1\nKxv va 1\niWp in 1\nfRx fo 1\nwtB th 1\nswW st 1\ngrK ng 1\nHfe er 1\ngfZ ng 1\nxqX qu 1\noKj on 1\nvfq qu 1\npWw pr 1\nuWc ch 1\nlCg ng 1\nqkg qu 1\ncDh th 1\nSfz sz 1\nuYx qu 1\nxvR va 1\neAo er 1\npYg ng 1\ndRx de 1\niWd in 1\ngGx ng 1\nbXz sz 1\nkcP ch 1\nhcJ th 1\nlCf le 1\ngmW ng 1\nHkf ka 1\nrhL th 1\njqP qu 1\nrQp er 1\nvCn an 1\ndWj de 1\nHrx er 1\nsTz st 1\naVt th 1\nqwK qu 1\nvvE va 1\nwKp pr 1\nxcY ch 1\nvpM va 1\njlC le 1\ndlG le 1\noTq qu 1\niLp in 1\nxsL st 1\nlFz le 1\nvhC th 1\nylX le 1\npmO me 1\nYcc ch 1\nYnp an 1\nYbm me 1\nQln an 1\nbxA be 1\ntFs th 1\nLqw qu 1\nzcU ch 1\nvfK va 1\nvpQ va 1\nDtf th 1\nbTj ij 1\nVvw va 1\nQbx be 1\nzWk sz 1\nbSx be 1\nzpK sz 1\nwTb wa 1\nmkC ka 1\ncRh th 1\nnBk an 1\nxGv va 1\nhnQ th 1\naqQ an 1\nzhZ th 1\nzwP sz 1\nvqL qu 1\nscU ch 1\nglS ng 1\npjE ij 1\nqqD qu 1\nlRx le 1\nqVr qu 1\nXuh th 1\nbrB er 1\nQyc ch 1\nSgx ng 1\ndqk qu 1\nbYj ij 1\nmPx me 1\nFdv de 1\nXmd de 1\ncPj ch 1\nPqg qu 1\nvYh th 1\nbJx be 1\ndQt th 1\nfxj ij 1\nHwq qu 1\nvgC ng 1\nkjK ij 1\nnrC an 1\nvqX qu 1\nBgk ng 1\nCbv va 1\nUww wa 1\nwcJ ch 1\ngBf ng 1\nzTv va 1\nzwX sz 1\nlWg le 1\nqOs qu 1\nfbB be 1\nxqG qu 1\njQj ij 1\nvoQ on 1\nyjW ij 1\nqvO qu 1\nxbF be 1\nnWu an 1\nyjQ ij 1\ncjK ch 1\nSxn an 1\nybX be 1\neYg ng 1\nBmn an 1\nfDt th 1\njXm ij 1\nnMt th 1\nSxb be 1\nlHm le 1\ngfY ng 1\nnwG an 1\ngHl ng 1\nWpm me 1\nwFj ij 1\nhGm th 1\nwwC wa 1\nMlf le 1\ncJb ch 1\nbnC an 1\nFvp va 1\ntGc th 1\nfhZ th 1\nVkh th 1\njwg ng 1\nxbK be 1\nzVq qu 1\nqTz qu 1\nvrD er 1\nfRt th 1\nfFs st 1\nhWg th 1\nlzE le 1\nlwX le 1\njHy ij 1\nQqt th 1\nDqi in 1\nTvj ij 1\ngPb ng 1\ndPz sz 1\nzdT sz 1\nmvA va 1\nZvh th 1\nqaU an 1\nfwQ wa 1\nRsw st 1\nklB le 1\nvlN le 1\nGvx va 1\npdJ de 1\nlcB ch 1\nvTq qu 1\nyhV th 1\njLv ij 1\npzR sz 1\nXyw wa 1\nXlq qu 1\nRqw wa 1\nzhP th 1\nsgT ng 1\ngpG ng 1\ntkY th 1\ndqE qu 1\nQcg ch 1\nbfB be 1\nWpv va 1\nWxl le 1\nXbq qu 1\nyFh th 1\nRfq qu 1\nhhL th 1\njxz sz 1\nbKh th 1\nptU th 1\ncXe ch 1\nzXm sz 1\nGhw th 1\ndzY sz 1\ndXn an 1\nkxW ka 1\nvVr er 1\nJxu un 1\nbbX be 1\nrPb er 1\nqCm qu 1\nqiJ qu 1\nXgw ng 1\nNhq th 1\ncGp po 1\nhPw th 1\nbTz sz 1\nqIg ng 1\npJh th 1\nwcE ch 1\nmCb me 1\nbJc ch 1\nnzQ an 1\nyqR qu 1\nxHw wa 1\nbwH wa 1\nqCr qu 1\nUqe qu 1\nqxM qu 1\nfpO pr 1\nkcN ch 1\nykV ka 1\nmQb me 1\nYqs qu 1\nyVk ka 1\nvbX va 1\nmTd de 1\njXo on 1\nwqJ qu 1\nkKt th 1\nfkS ka 1\nWvz sz 1\nIyv va 1\nhGk th 1\nFze er 1\nbhM th 1\nqvI qu 1\nnXq an 1\nnXc an 1\nkJt th 1\nNqc ch 1\nYjc ch 1\nFhb th 1\njyK ij 1\nJzj sz 1\nyqc ch 1\nwmZ me 1\nzbF sz 1\nspq qu 1\ngPn an 1\njSg ng 1\ngMh th 1\nfXt th 1\nFyw wa 1\nFwg ng 1\nhmN th 1\nhNl th 1\ntqY th 1\npGm me 1\nmXz sz 1\nqYy qu 1\nRmq qu 1\nDqa an 1\nWkx ka 1\ndpT de 1\njyJ ij 1\nJqj qu 1\nwjZ ij 1\nxNr er 1\nqAm qu 1\nhBn th 1\nqpJ qu 1\nygW ng 1\njXf ij 1\nrMl er 1\nzgV ng 1\nnLp an 1\npFx pr 1\ntvG th 1\nzQl le 1\nfdF de 1\nbxK be 1\nBcx ch 1\nrpY er 1\nsJb st 1\nKvh th 1\nkNq qu 1\nzHd sz 1\ndzF sz 1\ntJq th 1\nHfv va 1\nvQd de 1\npKj ij 1\nfhV th 1\nqZi qu 1\nohY th 1\nvqq qu 1\ntnQ th 1\nVqk qu 1\nzJf sz 1\nJkz sz 1\nRwf wa 1\nzvM va 1\nbxY be 1\npXh th 1\nfUy ny 1\npvE va 1\nLpk ka 1\ndzV sz 1\nxIf fo 1\nwZw wa 1\nnpQ an 1\npWk ka 1\njgQ ng 1\nJqr qu 1\ngmX ng 1\njfM ij 1\nlWj le 1\npbN pr 1\nfvF va 1\nsDd st 1\nqdB qu 1\nfrL er 1\nuHn an 1\ngwN ng 1\nyBh th 1\nZzq qu 1\nvDg ng 1\nQcz ch 1\nqzf qu 1\nwEc ch 1\npxH pr 1\nfqO qu 1\nVqe qu 1\ngkD ng 1\nXfq qu 1\nuXg qu 1\njCw ij 1\nPzu qu 1\ngRh th 1\nvqH qu 1\nvvW va 1\nRfb be 1\ngqJ qu 1\ntgO th 1\nwUy wa 1\nJkw ka 1\nhSs th 1\ngkW ng 1\nQgy ng 1\ndJb de 1\nprF er 1\nbuX qu 1\ncVg ch 1\njtU th 1\nfDc ch 1\nYgc ch 1\nKqr qu 1\nUyp pr 1\nlJk le 1\nsxY st 1\nxfY fo 1\nXkz sz 1\ncgZ ch 1\ncyX ch 1\ngbF ng 1\nzTk sz 1\nhsU th 1\ntlW th 1\nZzv sz 1\nkqE qu 1\nlpQ po 1\nqJu un 1\nhYi th 1\nzlM le 1\nvDt th 1\nHvn an 1\nNsf st 1\nbJg ng 1\nfNg ng 1\nkQo on 1\nKqp qu 1\nbKs st 1\nmHp me 1\nUyj ij 1\ncxY ch 1\nyIe er 1\nqTj qu 1\nwfP wa 1\nfxI fo 1\nvQa an 1\nfvN va 1\npwN pr 1\nvaQ an 1\nmxQ me 1\nbdV de 1\nCgj ng 1\nxjz sz 1\nWqw qu 1\nwpO pr 1\nwoQ on 1\nxYj ij 1\nfpT pr 1\nlNp le 1\npvX va 1\npLp pr 1\nKsg ng 1\nrWg ng 1\niUy in 1\nbfX be 1\nxsV st 1\nXnj an 1\ndmW de 1\noQw on 1\nZxy ny 1\nOay an 1\npjG ij 1\nZbt th 1\nHql qu 1\nZxq qu 1\njWd de 1\nqUp qu 1\nqxN qu 1\nqCo qu 1\nYfd de 1\nvvU va 1\nvIk ka 1\nDfj ij 1\nZmh th 1\nCqt th 1\nvQf va 1","i8", -B,q.g+180408); -C("\nNbn an 1\ntJs th 1\nFhx th 1\ndzQ sz 1\nzYj ij 1\nqBw qu 1\nvcV ch 1\ngGt th 1\niVw in 1\nFzp sz 1\nbjH ij 1\ncuY ch 1\njwS ij 1\nCqp qu 1\nyJv va 1\nkdJ de 1\nkdT de 1\nnqB an 1\nhWs th 1\nqsj qu 1\nhLw th 1\nhdX th 1\ncgV ch 1\ntYc th 1\neZx er 1\nhfN th 1\ngvw ng 1\naVp an 1\ngMs ng 1\nPbf be 1\nmQf me 1\nyUi in 1\nvGf va 1\nxgF ng 1\nzvY sz 1\nwrA er 1\nyrM er 1\nvMj ij 1\nUyv va 1\ndLp de 1\nGjj ij 1\nzEi in 1\nXdg ng 1\njHf ij 1\noPz on 1\nxIz sz 1\nbCb be 1\nDzq qu 1\nYjn an 1\ngGz ng 1\nmjU ij 1\nCjx ij 1\nxKc ch 1\nmvO va 1\nPzb sz 1\ncrK ch 1\nxhO th 1\nylB le 1\nlDk le 1\nzlO le 1\npgH ng 1\nvQb va 1\nsdZ st 1\nkQm ka 1\nlRh th 1\noQy on 1\ntwC th 1\nBdj ij 1\nQjg ng 1\ndnP an 1\nNnp an 1\nqiP qu 1\nCcj ch 1\nuHt th 1\nqLx qu 1\nQsf st 1\nfKx fo 1\nfkE ka 1\njlX le 1\njZb ij 1\nVwj ij 1\nzbA sz 1\nHhd th 1\ncbY ch 1\nIkf ka 1\nGrx er 1\njpP ij 1\nQfh th 1\nxhW th 1\nwmX me 1\naJb an 1\nsfO st 1\nqXq qu 1\nmXg ng 1\nbnV an 1\nYpw pr 1\nzCy sz 1\nlhN th 1\nrXn an 1\nfGh th 1\nWxq qu 1\ncxT ch 1\nZsg ng 1\nuGv qu 1\nbzM sz 1\nzjS sz 1\ndfS de 1\ngpH ng 1\nqgO ng 1\nkqF qu 1\nqfU qu 1\nqTp qu 1\nvZb va 1\nEjw ij 1\nzQn an 1\ngYz ng 1\nkjV ij 1\nfWl le 1\nfRk ka 1\nuSj qu 1\nCxg ng 1\nLcv ch 1\nbzK sz 1\nwqF qu 1\nqJp qu 1\nrCj er 1\nqvs qu 1\nlwN le 1\nxmR me 1\nbtC th 1\nkTx ka 1\nqkU qu 1\nLhj th 1\ndIx de 1\nvsQ st 1\ngSd ng 1\nwDl le 1\nVjm ij 1\npmI me 1\nvWh th 1\nfKv va 1\nxPt th 1\nuoQ qu 1\nKgh th 1\ngwX ng 1\nsgJ ng 1\npWj ij 1\nQff fo 1\nhkJ th 1\nHqo qu 1\njwW ij 1\nsQz st 1\nwUw wa 1\nmKx me 1\noQf on 1\njVk ij 1\nxwT wa 1\nsTq qu 1\nuqV qu 1\nQlp le 1\npMb pr 1\nxKj ij 1\nbpX pr 1\nvQe er 1\nJjq qu 1\nqKh th 1\nfkJ ka 1\njbQ ij 1\nmZw me 1\nXgc ch 1\nvzU sz 1\npTm me 1\npNq qu 1\nrwD er 1\nQdg ng 1\nwqC qu 1\nYrn an 1\nqww qu 1\nqwU qu 1\nxzF sz 1\nflW le 1\njzP sz 1\nWxp pr 1\nrDq qu 1\ndGp de 1\nZtj th 1\nUvp va 1\neGc ch 1\nzZb sz 1\ngQh th 1\ntFd th 1\nMqg ng 1\ndnD an 1\nhvY th 1\nIyb be 1\nfDz sz 1\nKbj ij 1\nvYm va 1\nWxr er 1\nKwz sz 1\nhrQ th 1\nyCt th 1\nHxw wa 1\nhEf th 1\nbdU de 1\nsGj st 1\nGwt th 1\nbYh th 1\nzmU sz 1\npDm po 1\nqmC qu 1\ndTd de 1\nQxq qu 1\nuVf qu 1\nqAl qu 1\njEa an 1\nKpy pr 1\nHqv qu 1\nfCk ka 1\naqZ an 1\nlUo on 1\nPvo on 1\nDqf qu 1\ngdM ng 1\nfzL sz 1\nBhh th 1\ndGd de 1\nwtY th 1\nqTy qu 1\nUxr er 1\nVvm va 1\nvHh th 1\nqZc ch 1\nfhC th 1\nxdZ de 1\nhZp th 1\nPmz sz 1\ncfT ch 1\npjI ij 1\nmdZ de 1\njkQ ij 1\nSdj de 1\nhDf th 1\neJj er 1\nwjY ij 1\nzLm sz 1\neFs er 1\nwgj ng 1\nZmk ka 1\nlvJ le 1\nxYm me 1\nNzf sz 1\nwJi in 1\nyQs st 1\npfM pr 1\ndhR th 1\ncmK ch 1\ndhM th 1\nqGb qu 1\nwvQ va 1\nCgq ng 1\nJfc ch 1\nbkD ka 1\nfdS de 1\nIvp va 1\nGkj ij 1\nzIv sz 1\nBzl le 1\ngBb ng 1\nTpj ij 1\nvyY va 1\nUxs st 1\nkwW ka 1\ngPf ng 1\npqC qu 1\ncTj ch 1\nyzI sz 1\nYph th 1\nbvD va 1\nxCc ch 1\npcQ ch 1\nfZw wa 1\nZxf fo 1\nwbA wa 1\nbTf be 1\nrxR er 1\nqqE qu 1\nyFp pr 1\npNf pr 1\nkMv ka 1\nvUq qu 1\nwOh th 1\nhxH th 1\nXqh th 1\nuIu qu 1\nFzq qu 1\nYsd st 1\nojY on 1\ncEo ch 1\nlwR le 1\nqjF qu 1\njTp ij 1\nyzT sz 1\njfO ij 1\nqSg ng 1\nNck ch 1\nhwF th 1\nGmq qu 1\nIiq qu 1\nzwE sz 1\nqQv qu 1\nxVd de 1\nYwq qu 1\nsFx st 1\nfvB va 1\nqYe le 1\ngwT ng 1\nWjx ij 1\nbHn an 1\nfMn an 1\ngJg ng 1\nVkg ng 1\nFxv va 1\nlHv le 1\nWpk ka 1\nxAq qu 1\nrxB pr 1\nxuQ qu 1\npIb pr 1\nbfE be 1\ngRx ng 1\nBpb pr 1\nbxN be 1\nkgU ng 1\nPxc ch 1\ncCq ch 1\nNpb pr 1\nlxE le 1\nlCy le 1\ndgX ng 1\nxLf fo 1\nbQt th 1\nqgF ng 1\npxZ pr 1\npPx pr 1\niYz in 1\nvJl le 1\nkTf ka 1\nqVm qu 1\ngwS ng 1\nzTd sz 1\npQk ka 1\nxEg ng 1\nfpP pr 1\nqjw qu 1\nOyw wa 1\nmcO ch 1\nVjd de 1\nqdg ng 1\nLfp pr 1\nvZc ch 1\nnOq an 1\nqjn an 1\nsKc ch 1\nwgU ng 1\nhgX th 1\ndMv de 1\nXcp ch 1\nFwz sz 1\npwA pr 1\nLpj ij 1\nbkP ka 1\nvHn an 1\nJjy ij 1\nmCq qu 1\nwvM va 1\nIcb ch 1\nkfJ ka 1\nhsQ th 1\ndWd de 1\nfUs st 1\nfLn an 1\npjN ij 1\nzgQ ng 1\njLj ij 1\nzqE qu 1\nQmv va 1\nZjr er 1\nZkp ka 1\niyH in 1\nwuY qu 1\nmzT sz 1\ncwK ch 1\nbCm me 1\nydG de 1\nxdU de 1\nwTf wa 1\nlHh th 1\nqyD qu 1\nxlV le 1\nqyT qu 1\ntWn th 1\nrMz er 1\npXv va 1\nXbz sz 1\nkHm ka 1\ncVd ch 1\nqzH qu 1\nydN de 1\nqMb qu 1\nyjS ij 1\ngmC ng 1\nzIi in 1\nfpM pr 1\nlcZ ch 1\nqHn an 1\nJjd de 1\njlG le 1\nqcK ch 1\nxQm me 1\nvIi in 1\nwBp pr 1\nwcI ch 1\ndJd de 1\nQbn an 1\nBjf ij 1\ndpY de 1\ndcF ch 1\nxSj ij 1\niXj in 1\nQgb ng 1\ngDt th 1\nxxq qu 1\nxcQ ch 1\nSqs qu 1\nQmg ng 1\ngcU ch 1\nBvv va 1\npzE sz 1\nwtT th 1\nvbL va 1\nbCt th 1\nQpo on 1\nmXs me 1\nZqr qu 1\nGky ka 1\nXmr er 1\nLnz an 1\nvYq qu 1\nyRl le 1\ngmK ng 1\nvwP va 1\neFg ng 1\nNjd de 1\nklG le 1\nhbE th 1\nkWz sz 1\nqpM qu 1\noZc ch 1\njRm ij 1\nwXl le 1\niyD in 1\nfvL va 1\nrPw er 1\nfdR de 1\niSg ng 1\ndbQ de 1\nxxQ xe 1\nDjc ch 1\nygK ng 1\nRhb th 1\nzgG ng 1\nYky ka 1\nCxj ij 1\nwWk ka 1\nlmY le 1\nqrB qu 1\nywK wa 1\nxqI qu 1\nTwj ij 1\nXgq ng 1\ndwZ de 1\nnQl an 1\nGhc th 1\npnH an 1\nvmU va 1\nqqK qu 1\ncjB ch 1\ngzS ng 1\nRwz sz 1\ngYr ng 1\nFgx ng 1\nwdK de 1\nhxZ th 1\nxUx xe 1\nwmT me 1\nyYk ka 1\nfcD ch 1\nhVv th 1\nSgv ng 1\nzPn an 1\nvYb va 1\nbzE sz 1\nwhV th 1\nqNz qu 1\nwtS th 1\nvhY th 1\nnLf an 1\nLfw wa 1\ngVc ch 1\ngkS ng 1\nJqb qu 1\nhWx th 1\nzgO ng 1\ntgX th 1\njPb ij 1\nWxb be 1\ngqw ng 1\nCfw wa 1\nwoU on 1\nycJ ch 1\nkwD ka 1\nSbp pr 1\nqcw ch 1\nHwr er 1\nbmL me 1\ngwZ ng 1\nyKj ij 1\nfXv va 1\niKx in 1\nlRz le 1\ncHj ch 1\nfFt th 1\nsJv sz 1\nxmI me 1\ncCd ch 1\niYd in 1\nyfY ny 1\nxbY be 1\nbmE me 1\nfBv va 1\ndHw de 1\nycR ch 1\nwvL va 1\nrjL er 1\nsYv sz 1\nWpn an 1\nzxB sz 1\nyBq qu 1\ngdJ ng 1\nYjo on 1\nfpQ pr 1\nqOq qu 1\nWjf ij 1\nqcT ch 1\nLfh th 1\ncFj ch 1\nlMq qu 1\nwSf wa 1\nwQc ch 1\nzDy sz 1\nqrl qu 1\npYw pr 1\nVnf an 1\nHcj ch 1\nzdU sz 1\nbvP va 1\nYfj ij 1\nQkn an 1\nwHm me 1\nqVv qu 1\ngkV ng 1\nvpq qu 1\nhFk th 1\nfWf fo 1\npYq qu 1\ndNv de 1\nWwj ij 1\nFmx me 1\nmDl le 1\njMg ng 1\nfZk ka 1\njNp ij 1\nqhf th 1\nVbg ng 1\nlKx le 1\niZx in 1\nsjT sz 1\nijY in 1\nqtV th 1\nyTk ka 1\nHpz sz 1\niGq qu 1\nyqW qu 1\nhgF th 1\nmFk ka 1\nOqw qu 1\ndXa an 1\nZbq qu 1\nlKm le 1\nSvz sz 1\nzKc ch 1\nVmz sz 1\nmIx me 1\ngKj ng 1\ngTt th 1\nvfC fo 1\nhKg th 1\nhSx th 1\noKg ng 1\nnQs an 1\nyiG in 1\nqgM ng 1\nkQg ng 1\nCjd de 1\njPy ij 1\nXqe qu 1\nPzy sz 1\nFtq th 1\nfcE ch 1\nmkL ka 1\nHzj sz 1\nbTn an 1\nqXy qu 1\ndmM de 1\ndVx de 1\nTqn an 1\nxWj ij 1\nqxQ qu 1\nfQx fo 1\nvLl le 1\nPgk ng 1\ngHk ng 1\nhxV th 1\ntJz th 1\nfMz sz 1\nIxb be 1\nCyy ny 1\npXf pr 1\npLl le 1\nTwq qu 1\nDtw th 1\nwRn an 1\nuXl qu 1\nzhq th 1\nwIv va 1\ncjL ch 1\nqxH qu 1\nlDm le 1\ntXv th 1\ngjC ng 1\nZzd sz 1\ntgT th 1\nhnP th 1\nKjc ch 1\ngVw ng 1\nxbI be 1\nZpc ch 1\nbfO be 1\nmSx me 1\nqaF an 1\naQh th 1\nHjd de 1\nqXj qu 1\nfqA qu 1\nbvR va 1\nqSn an 1\ncdV ch 1\npTf pr 1\nKzc ch 1\nqtI th 1\negY ng 1\nRxt th 1\nbhY th 1\npGh th 1\njDg ng 1\nfoY on 1\ndKs sz 1\nqJt th 1\nXwz sz 1\nIxg ng 1\nrMt th 1\nzXu qu 1\nsQy sz 1\nNpz sz 1\nQfz sz 1\nrLm er 1\nzGm sz 1\nwHz sz 1\nvcY ch 1\nkqZ qu 1\njDh th 1\nqgG ng 1\nDqq qu 1\nfmO me 1\nqdW qu 1\ndNw de 1\nrXj er 1\nJwc ch 1\nmDb me 1\nwMw wa 1\nYjg ng 1\nfjY ij 1\niJb in 1\ncdC ch 1\nYxq qu 1\nVbk ka 1\nFpx pr 1\nzhD th 1\nhCs th 1\ndXw de 1\nkDd de 1\nuqT un 1\nBxw wa 1\nBjq qu 1\njGx ij 1\nfXb be 1\nybF be 1\ndtA th 1\ncVv ch 1\nCbd de 1\nwtH th 1\nKdj de 1\nkPs sz 1\nZvk ka 1\nxPv va 1\nwoH on 1\nXpz sz 1\nqXe qu 1\npTj ij 1\nkwQ ka 1\nkZf ka 1\nUqj qu 1\nyJh th 1\nhCq th 1\njMj ij 1\nphY th 1\nkbB ka 1\nGpz sz 1\nsGz st 1\nfwE wa 1\nTtf th 1\nGqm qu 1\nbzN sz 1\nfkO ka 1\nuzW qu 1\noxQ on 1\nVgm ng 1\nqmD qu 1\nxqn an 1\nvRl le 1\nTnr an 1\nzjW sz 1\nvwq qu 1\njtW th 1\nqnL an 1\nyDx ny 1\nxfQ fo 1\nwxJ wa 1\nnxE an 1\nvQn in 1\nWkh th 1\nywD wa 1\npFf pr 1\nlbK le 1\nvHy va 1\ngVj ng 1\nOqh th 1\nbcN ch 1\ntWm th 1\nwMc ch 1\nnwQ an 1\nqnM an 1\nZtx th 1\nnQj an 1\nVxt th 1\nUxc ch 1\npWv va 1\nyRx ny 1\nqKu un 1\njXg ng 1\njpX ij 1\ndkG de 1\nBnf an 1\nYkf ka 1\ngbW ng 1\nklX le 1\nvkH ka 1\ndKd de 1\nKpq qu 1\ngqM ng 1\nyBz sz 1\nrPj er 1\nHzv sz 1\nwYz sz 1\nqGa an 1\njIs sz 1\nbUj ij 1\nrTt th 1\nnqI an 1\njfP ij 1\nhRt th 1\nyRr er 1\njjK ij 1\ntfE th 1\nQsw st 1\nFcm ch 1\nbJm me 1\ntXq th 1\nfRl le 1\ngqE ng 1\nwGg ng 1\ngKc ch 1\nyXc ch 1\nzBy sz 1\nlTd le 1\nWqc ch 1\nFtf th 1\nwdB de 1\nxnX an 1\nBqc ch 1\nzqO qu 1\nQdl le 1\nojJ on 1\nqZn an 1\nhzW th 1\nylQ le 1\nZbw wa 1\nmvL va 1\nLjb ij 1\nGqe qu 1\nmfE me 1\nxQq qu 1\nfLv va 1\nxLt th 1\nwBj ij 1\njUm ij 1\npdL de 1\nmJv va 1\ndxU de 1\nxqN qu 1\nfpG pr 1\ntlO th 1\nwhL th 1\nkDx ka 1\nRqb qu 1\nuvX qu 1\nvjY ij 1\ncrQ ch 1\nxyY ny 1\nyhQ th 1\nyYc ch 1\nLmg ng 1\nJsq qu 1\nGbj ij 1\naPb an 1\ndwJ de 1\nXyv va 1\nucJ ch 1\ndTf de 1\nlBb le 1\nhKz th 1\njcR ch 1\neQc ch 1\nqYi in 1\nVtb th 1\nCcg ch 1\nzAe er 1\ngxJ ng 1\nuvC qu 1\nBhm ma 1\nZgx ng 1\nyzJ sz 1\ncvJ ch 1\nxTk ka 1\nqdK qu 1\nvwG va 1\nYmx me 1\noYw on 1\njXx ij 1\nywf wa 1\nvVx vi 1\nRwm me 1\nDvk ka 1\nxKt th 1\nqLp qu 1\nYyv vi 1\nCqa an 1\nxRf fo 1\nQqk qu 1\nJqe qu 1\nyZg ng 1\nvqG qu 1\nhbO th 1\nuVq qu 1\nRlm le 1\nuZc ch 1\nPpv va 1\npVd de 1\nyVd de 1\nzJl le 1\nYzg ng 1\nCvq qu 1\npwS pr 1\nKkw ka 1\nWvv va 1\nFdy de 1\nppX pr 1\nhvC th 1\niwG in 1\nrBg ng 1\nhBq th 1\nnYs an 1\nkcO ch 1\nqEe qu 1\nYbv va 1\nQsn an 1\nsvC st 1\nqkD qu 1\nQiw in 1\nGtj th 1\nqAh th 1\nwVy wa 1\nbxT be 1\nQhs th 1\ntlX th 1\nhbA th 1\nQfb be 1\nxWl le 1\nxeV er 1\nrqG qu 1\nvqZ qu 1\njKv ij 1\niTf in 1\nkwU ka 1\niFq in 1\nmjZ ij 1\nxgJ ng 1\nzLp sz 1\nqsR qu 1\nzDj sz 1\npdF de 1\nwxN wa 1\nwGk ka 1\ndUq qu 1\ndJw de 1\nfCb be 1\nDhz th 1\nyIq qu 1\naQm an 1\nYzs st 1\nvHf va 1\nbjV ij 1\nzSq qu 1\nWqs qu 1\njrW er 1\nHzq qu 1\nwWs st 1\nMkg ng 1\nzgF ng 1\nCnk an 1\nrDg ng 1\nfzB sz 1\nfOm me 1\nuVt th 1\nQfi in 1\nMhj th 1\nuYj qu 1\nRqx qu 1\nhkY th 1\nwYb wa 1\ntqP th 1\nJpb pr 1\nbGw wa 1\nxFh th 1\nXwb wa 1\nKgt th 1\nIqc ch 1\npJm me 1\nQkq qu 1\nbVh th 1\nyTq qu 1\nzZg ng 1\ncDz ch 1\nqfm qu 1\nafQ an 1\nQwc ch 1\nbdJ de 1\nqTu un 1\nUcx ch 1\nHnx an 1\nHbh th 1\ngyH ng 1\ntTz th 1\ntxV th 1\nbdS de 1\nWgg ng 1\noqP qu 1\nRrf er 1\ngYy ng 1\nfMs st 1\nfKd de 1\nHyx ny 1\nMxz sz 1\nqHk qu 1\ntfM th 1\nhgQ th 1\nzmO sz 1\nwzS sz 1\njwQ ij 1\nFhc ic 1\nxIy ny 1\nfHg ng 1\nwqY qu 1\nbFp pr 1\nQdq qu 1\nbhV th 1\nbCg ng 1\nHgr ng 1\nxqL qu 1\nqgS ng 1\nNqg ng 1\nfQv va 1\nQzw sz 1\nIxd de 1\nCxm me 1\nmxN me 1\nvQi in 1\ncAq ch 1\neCx er 1\nmqX qu 1\nrqY qu 1\nfVp pr 1\nqoP qu 1\nGxc ch 1\nvzX sz 1\nfXf fo 1\nQtc th 1\nohQ th 1\nYgy ng 1\nXnb an 1\ncWm ch 1\njXw ij 1\ngWj ng 1\nKmg ng 1\nvvH va 1\nUew er 1\nqJk qu 1\nHkd de 1\nxmP me 1\nslR is 1\nUaq an 1\nzbG sz 1\nvNv va 1\ncVb ch 1\nbGg ng 1\niwU in 1\nCnw an 1\nrXd er 1\nvWz sz 1\ntGf th 1\nfbY be 1\nhzp th 1\nuWz qu 1\nbMb be 1\njzW sz 1\ngLh th 1\nkZc ch 1\nkHg ng 1\nVwf wa 1\nvtY th 1\nqeA qu 1\ncxG ch 1\nuQz qu 1\njGc ch 1\ncvA ch 1\noTm on 1\npjY ij 1\nbUo on 1\njwU ij 1\nJgm ng 1\ntfZ th 1\nxeO er 1\nqBp qu 1\npBz sz 1\nqSb qu 1\njyP ij 1\nFkq qu 1\nnjS an 1\njtA th 1\nZmf me 1\nYtm th 1\nPqc ch 1\nbwJ wa 1\noWf on 1\nkxJ ka 1\njHx ij 1\ngcP ch 1\ngBs ng 1\nbkK ka 1\nvdQ de 1\npjZ ij 1\nVgf ng 1\nsvG st 1\nkGj ij 1\nWjg ng 1\nQmk ka 1\nGlv le 1\ntmY th 1\nklY le 1\nPcj ch 1\nfQw wi 1\nxaO an 1\njfN ij 1\nqGx qu 1\nqvB qu 1\nhwA th 1\nXmq qu 1\nXvt th 1\nBpq qu 1\noJq qu 1\nvmZ va 1\nnJp an 1\nzqJ qu 1\nqHf qu 1\nmQg ng 1\nyGz sz 1\nhQm th 1\nmBp me 1\ntpJ th 1\nQkj ij 1\nuUg ng 1\ntdJ th 1\nJfn an 1\nLvj ij 1\niXc ch 1\npOq qu 1\nbhK th","i8", -B,q.g+190648); -C(" 1\nbMk ka 1\nFsw st 1\nqAt th 1\nxwJ wa 1\nfPm me 1\nDfy ny 1\nZbp pr 1\nBgw ng 1\npQp pr 1\nkQp ka 1\nqoV qu 1\nUqd qu 1\njYo on 1\nsDf st 1\nxuJ qu 1\nvRk ka 1\nQsg ng 1\nyTd de 1\nQxr er 1\nHvc ch 1\nhZt th 1\nqDu un 1\nfxA fo 1\nxPf fo 1\nwXc ch 1\njJb ij 1\npdK de 1\ngpW ng 1\nQgx ng 1\nkxG ka 1\ndLx de 1\nBwz sz 1\nVdx de 1\nyQh th 1\nWsx st 1\nfSb be 1\nUkg ng 1\nPjz sz 1\nrFg ng 1\nfjP ij 1\nkWv ka 1\nKhf th 1\nyGv va 1\npnD an 1\njYf ij 1\nmgR ng 1\nrjC er 1\nXjl le 1\nkzE sz 1\nQgq ng 1\nzgb ng 1\nmhD th 1\nvkO ka 1\nuwV qu 1\nrPp er 1\nwXd de 1\ngAo ng 1\nkvG ka 1\nvcX ch 1\nxOz sz 1\nXzq qu 1\nFmu qu 1\nxGg ng 1\njjR ij 1\nqkI ku 1\npqH qu 1\ncnH an 1\ndhT th 1\nmdR de 1\ndDf de 1\nqIq qu 1\nxCj ij 1\nqRk qu 1\nkKc ch 1\nIuu qu 1\njqR qu 1\nqEk qu 1\nhfO th 1\nquJ un 1\nnRp an 1\ntxI th 1\nyfZ ny 1\noqT ho 1\ncgX ch 1\npbL pr 1\nXmx me 1\nVjr er 1\nylY le 1\ndfK de 1\nxgD ng 1\nuwL qu 1\nbPm me 1\nqCy qu 1\nRpq qu 1\nyqh th 1\nxJt th 1\nlzQ le 1\nfgM ng 1\nYlc ch 1\nfTz sz 1\nRjf ij 1\nRgj jo 1\nGkt th 1\nfxG fo 1\nmtG th 1\nlgJ ng 1\ntdR th 1\niHk in 1\nGqv qu 1\nlDj le 1\nwzZ sz 1\ndFp de 1\nqTt th 1\nWtg th 1\ncbT ch 1\ndvK de 1\nCtw th 1\nmdG de 1\nvKj ij 1\nClf le 1\nwrU er 1\ngmT ng 1\nbXx be 1\nzOx sz 1\nXnf an 1\nrzQ er 1\nvQj ij 1\nkpT ka 1\nfYh th 1\nzLr er 1\nXgd ng 1\ncZl ch 1\nlFy le 1\nZng an 1\naXg an 1\nqbE qu 1\nzcY ch 1\nsqK qu 1\nBlx le 1\noqJ qu 1\njPv ij 1\nqZd qu 1\nfdZ de 1\nBqm qu 1\ncpG ch 1\nxdP de 1\nfuF qu 1\nvbq qu 1\ndhH th 1\nJwm me 1\nqkO ko 1\ngsY ng 1\nqGh th 1\nJkv ka 1\nzpg ng 1\nrwK er 1\nLhq th 1\nzuV qu 1\nbqV qu 1\nQcv ch 1\nmWd de 1\ncnF an 1\nlWw le 1\ntxS th 1\nznE an 1\nfTj ij 1\nlFq qu 1\nwdJ de 1\neVk er 1\nzjZ sz 1\nfPq qu 1\ncqQ ch 1\nPcg ch 1\nYdk de 1\nsvE st 1\nWqb qu 1\nbcV ch 1\nnHx on 1\nwAx wa 1\nhfB th 1\naMv an 1\npwO pr 1\nYwx wa 1\ncbH ch 1\nojZ on 1\nsuU qu 1\njcU ch 1\nsqY qu 1\njMr er 1\npxG pr 1\nrBq qu 1\nvlY le 1\nhyY th 1\nCvw va 1\nTqe qu 1\nfSj ij 1\nfVs st 1\nEqc ch 1\nxnD an 1\nOwp pr 1\nxTb be 1\nwjL ij 1\nRxv va 1\nnWf an 1\nvHp va 1\nvBk ka 1\nNqv qu 1\nLzf sz 1\nbwS wa 1\nCby be 1\nzRr er 1\nqwJ qu 1\nxnB an 1\nqIc ch 1\ncGk ch 1\nYji in 1\ngVh th 1\nlDc ch 1\nQyr er 1\nfcH ch 1\nnxB an 1\ndvw de 1\ngQc ch 1\nmrR er 1\nfnK an 1\nHlr le 1\nDnq an 1\nbnU an 1\nqCe qu 1\nTjv ij 1\nEpq qu 1\nwLf wa 1\npZj ij 1\ngvR ng 1\nkqK qu 1\nvlG le 1\nvvN va 1\ngbM ng 1\nbNk ka 1\njzL sz 1\nWlq qu 1\naYq an 1\nzdY de 1\nsfG st 1\nqfW qu 1\nkBv ka 1\nbtG th 1\nMqb qu 1\nlrC er 1\nvuE qu 1\nfyJ ny 1\nqmZ qu 1\nJkq qu 1\nCmj ij 1\nbXy be 1\nYmy me 1\nqxY qu 1\ncNl ch 1\nfzU fo 1\nRvt th 1\nylI le 1\nxMs st 1\nQhm th 1\ndHq qu 1\ndwL de 1\nvYr er 1\nQxu qu 1\ndNh th 1\nzNc ch 1\njmP ij 1\nPbq qu 1\nfqj qu 1\nfUw wa 1\nHyq qu 1\nQdx de 1\nzSl le 1\ncWt th 1\nFke er 1\nZtz th 1\nuUq qu 1\nnBm an 1\nzJy sz 1\npdI de 1\nnTd an 1\nYjb ij 1\nQjn an 1\nyXj ij 1\nxwB ow 1\nklq qu 1\nhfY th 1\npDg ng 1\nzZd de 1\nmqO qu 1\nhZr th 1\ncmY ch 1\ngLk ng 1\nQcj ch 1\nuKj qu 1\nnqD an 1\nyKw wa 1\nbfR be 1\nRqz qu 1\njhQ th 1\nvNj ij 1\nTcf ch 1\nHbn an 1\nLwv va 1\nwcZ ch 1\ncdK ch 1\nbpR pr 1\nlWm le 1\nwNq qu 1\npAj ij 1\ngrV ng 1\nqmk qu 1\ncLf ch 1\niwB in 1\neqV qu 1\nWqz qu 1\nQnj an 1\nuoJ qu 1\nfVj ij 1\ncbU ch 1\nqpT qu 1\npdZ de 1\ndzW de 1\nWfw wa 1\nZqm qu 1\nkJd de 1\nzWf sz 1\nbYg ng 1\nrjQ er 1\ndwB de 1\nVlx le 1\nzKd de 1\nLxw wa 1\nHpw pr 1\nmvR va 1\nqMt th 1\npWb pr 1\ndcW ch 1\nzEh th 1\nXrs er 1\nFtz th 1\nqyL qu 1\njSn an 1\nWzh th 1\nPzf sz 1\nzkW sz 1\nywY wa 1\noGb on 1\njBw ij 1\nQpz sz 1\nrWm er 1\nsmQ st 1\nuGk qu 1\nxkV ka 1\nwJf wa 1\ncjW ch 1\nwNx wa 1\nwjR ij 1\nwDd wa 1\nlrB er 1\nqhJ th 1\njKp ij 1\nkNn an 1\ntqU th 1\nJmj ij 1\nbJv va 1\nfrN er 1\nuBj qu 1\nUuv qu 1\nMzv sz 1\nDjq qu 1\nQgl le 1\nhdC th 1\nmFh th 1\nvjU ij 1\nprX er 1\nKvc ch 1\nryY er 1\nvzQ sz 1\nOjh th 1\nQfn an 1\nVqg ng 1\naQv an 1\nhHx th 1\nuIg ng 1\nKpv va 1\ndQk ko 1\nGhq th 1\ncZs ch 1\nnvH an 1\njwJ ij 1\ndMm de 1\ngjI ng 1\nlPg ng 1\nqBs qu 1\nVhq th 1\nqLt th 1\nhBd th 1\nVcu ch 1\ncQd ch 1\nypX pr 1\nmQv va 1\nvmR va 1\nxfH fo 1\npqY qu 1\nXtb th 1\nVcx ch 1\ntWb th 1\nPxa an 1\nQmr er 1\nmdX de 1\nBxt th 1\njZv ij 1\nhNp th 1\nybN be 1\nbkZ ka 1\nnVf an 1\nlKq qu 1\noJj on 1\npBv va 1\nhgA th 1\nqxE qu 1\nnvJ an 1\nXcf ch 1\nFdb de 1\nzAo on 1\nwQk ka 1\ntmX th 1\npvZ va 1\nfNw wa 1\nzKk sz 1\nhRx th 1\nTlj le 1\niQj in 1\njmU ij 1\ntbW th 1\nwVh th 1\nTvh th 1\nnVg an 1\nLxp pr 1\nvgO ng 1\ndfE de 1\nnVm an 1\nqKy qu 1\neqZ qu 1\nTcc ch 1\ncTk ch 1\nfKz sz 1\nWkz sz 1\nlvZ le 1\nrGp er 1\nkKz sz 1\nCbf be 1\njQd de 1\nZfc ch 1\nhvX th 1\nxgN ng 1\nKpe er 1\nhzM th 1\njxZ ij 1\nyqL qu 1\npgC ng 1\nFqd qu 1\ntMb th 1\nnjQ an 1\ntfB th 1\ngjN ng 1\nwNc ch 1\nPzj sz 1\nmhO th 1\nqUm qu 1\nFhh th 1\nSjd de 1\nhWj th 1\nyhL th 1\nlGp le 1\ndtX th 1\nhwX th 1\nsrK er 1\nvqE qu 1\nbcO ch 1\nxQl le 1\nQqf qu 1\nkJg ng 1\npXz sz 1\nyuJ qu 1\nGnp an 1\nDlc ch 1\nMxf fo 1\nyNr er 1\nbmV me 1\nfXo on 1\nmwW me 1\nlIj le 1\nFvq qu 1\nUtq th 1\njGk ij 1\nwYw wa 1\nwVm me 1\nbTq qu 1\nIjp ij 1\nznM an 1\nxmO me 1\ngQx ng 1\ndKw de 1\ndUf de 1\ncSb ch 1\nzVb sz 1\nccY ch 1\nxjE ij 1\npYt th 1\nVrq qu 1\nkzK sz 1\nzfC sz 1\nYbh th 1\ndgS ng 1\nxcV ch 1\nxNm me 1\nXkw ka 1\nTpw pr 1\nBwd de 1\nhwT th 1\ngQl ng 1\ncDs ch 1\nzYr er 1\nxTp pr 1\nqWm qu 1\nxjT ij 1\nhjK th 1\nuDc ch 1\nxhS th 1\nbWd de 1\nvCw va 1\njyB ij 1\nuWd qu 1\nNnq qu 1\nQvb va 1\njzV sz 1\nzBx sz 1\nwIj ij 1\nqRt th 1\nqrJ qu 1\nzZj sz 1\nkRr er 1\nNzv sz 1\nQfw wa 1\nNjt th 1\nbFy be 1\nlhY th 1\neWj er 1\njbM ij 1\nXsg ng 1\nRsd de 1\nflF le 1\nPhz th 1\nxWs st 1\nbCw wa 1\ngfJ ng 1\nqVo qu 1\neQh th 1\nvcP ch 1\nmDj ij 1\nqTs qu 1\nXgs ng 1\nVuq qu 1\nufN qu 1\nxBs st 1\npTk ka 1\nfSq qu 1\nmbD me 1\nVwz sz 1\nhhQ th 1\nkfP ka 1\nPwq qu 1\ndhG th 1\nqZj qu 1\nyRj ij 1\nyCs st 1\nfjN ij 1\nRqg ng 1\njJh th 1\ndlR le 1\nXmb me 1\nJjt th 1\ngqI ng 1\nfqM qu 1\niVg ng 1\nHgu ng 1\niHw in 1\neQv er 1\nmzE sz 1\nfjZ ij 1\nqNn an 1\nwlE le 1\nkGp ka 1\nIqv qu 1\nkBn an 1\nxZd de 1\nDkc ch 1\nzlH le 1\ntxB th 1\ntQr th 1\nuOx qu 1\npJi in 1\nzbL sz 1\nxkD ka 1\nscV ch 1\nqXh th 1\nkIq qu 1\nxNn an 1\ngJf ng 1\ntmB th 1\ntcK th 1\nkwZ ka 1\nuZj qu 1\nsnQ an 1\nuKq qu 1\ncrX ch 1\nhXy th 1\nZcc ch 1\nPfz sz 1\ndwM de 1\nqIy qu 1\nxuP qu 1\nwDw wa 1\nHjr er 1\ndQf de 1\nwvJ wa 1\ntHm th 1\nYdw de 1\nwxI wa 1\npOv va 1\nWmq qu 1\ndhD th 1\nqpw qu 1\nbmC me 1\nwcX ch 1\nwjH ij 1\nbWf be 1\nGdp de 1\nLdw de 1\nSbq qu 1\nvZv va 1\nKwb wa 1\nqhT th 1\nyRf ny 1\nhwC th 1\nnpJ an 1\njmV ij 1\nvGg ng 1\nxqF qu 1\nPhm th 1\npWc ch 1\nVxk ka 1\nsHz st 1\nWbx be 1\nbfK be 1\nJgl ng 1\nkTb ka 1\nKbf be 1\nkzC sz 1\npKq qu 1\nzwB sz 1\nuZg ng 1\nbtI th 1\nzXj sz 1\nuzS qu 1\nvWk ka 1\nxrH er 1\noQc ch 1\nzlT le 1\ndfI de 1\nQmf me 1\nsgE ng 1\nYsx st 1\nRzd de 1\nxLd de 1\nqsX qu 1\nkqJ qu 1\nkCm ka 1\nbFm me 1\nigQ ng 1\nsRq qu 1\njGm ij 1\nSzs st 1\nYvz sz 1\nkXz sz 1\nGnz an 1\nmWc ch 1\ntDq th 1\ngqz ng 1\nnHb ng 1\ntdM th 1\nOvx va 1\nZnl an 1\nwuE qu 1\nzLt th 1\nofQ on 1\nvYj ij 1\njyH ij 1\nzqA qu 1\ncJy ch 1\nWbf be 1\nlTt th 1\nklW le 1\nXxa an 1\nfCz sz 1\nlKf le 1\nqwT qu 1\nrHk er 1\ndbN de 1\nuUy qu 1\nzgN ng 1\nPxg ng 1\npNc ch 1\ncyJ ch 1\njpH ij 1\nVtf th 1\nsjJ st 1\nQlh th 1\ntwV th 1\nyGq qu 1\ntVp th 1\nksQ st 1\nxnT an 1\nrpJ er 1\nwzI sz 1\nZhp th 1\naDf an 1\nUxj ij 1\ncPg ch 1\nqSq qu 1\nmKq qu 1\nvBz sz 1\nyPj ij 1\nVkz sz 1\nqiB qu 1\ntkJ th 1\nOuq qu 1\nzoH on 1\nqVt th 1\nGxs st 1\njzF sz 1\nswH st 1\nnBb an 1\nzhQ th 1\nyRn an 1\nfnX an 1\nqoQ qu 1\nmxP me 1\nbwR wa 1\ngJj ng 1\nqnk an 1\ntMk th 1\ndxO de 1\nrzV er 1\nvpP va 1\nNvz sz 1\nNfp pr 1\nCnz an 1\noTd on 1\ndqG qu 1\nHmx me 1\npsX st 1\nswM st 1\ndqC qu 1\nVwx wa 1\nnXf an 1\nwkY ka 1\nwfC wa 1\nqSr qu 1\nqVc ch 1\nkDn an 1\nYvb va 1\nzqH qu 1\nqxJ qu 1\nzKj sz 1\njcN ch 1\ntWk th 1\nRrz er 1\nbmG me 1\nsrZ er 1\nwWq qu 1\nCfh th 1\nlNt th 1\nhcV th 1\nZnf an 1\nJhv th 1\nqIp qu 1\nvSz sz 1\nfeU er 1\nxIi in 1\nZmq qu 1\neGf er 1\nbQk ka 1\nXcb ch 1\nnlK an 1\ntmJ th 1\njlL le 1\nmwC me 1\nqjr qu 1\nzBb sz 1\nfhU th 1\nsPq qu 1\nsBf st 1\nuXy qu 1\nLkx ka 1\nrGz er 1\nhXz th 1\nzuW qu 1\nRvx va 1\nbcJ ch 1\nEoj on 1\niVt in 1\nyhH th 1\nxVv va 1\npMr er 1\nvZd de 1\nVvn an 1\niCv in 1\nvQp va 1\nvlB le 1\nwVt th 1\nUgk ng 1\nktQ th 1\njCr er 1\nqvz qu 1\nbVf be 1\nrPv er 1\nwfH wa 1\nhbU th 1\npjF ij 1\noXg ng 1\nzSr er 1\nwRb wa 1\nHcu ch 1\nyxJ ny 1\nlTc ch 1\nbYb be 1\nWxz sz 1\nvrE er 1\nzGy sz 1\nJqm qu 1\nrzI er 1\nxgV gi 1\nRvw va 1\nVnx an 1\nuJg ng 1\nhFq th 1\nTgz ng 1\naQc an 1\nxzJ sz 1\ntNc th 1\njfA ij 1\nycO ch 1\nWkj ij 1\nyBp pr 1\nhgD th 1\niSx in 1\nxCm me 1\nyjX ij 1\nuIh th 1\nqgq ng 1\nTzj sz 1\nyjO ij 1\nyrY er 1\nbmZ me 1\nzqT qu 1\nmBd de 1\nqvK qu 1\nzcA ch 1\nxrX er 1\nmJm me 1\nXqf qu 1\nPxk ka 1\naDb an 1\nqXg ng 1\neGw er 1\nhjD th 1\ntTx th 1\noMd on 1\nfKg ng 1\nNpn an 1\nkqU qu 1\nlbF le 1\nHvj ij 1\nqZe qu 1\nlQj le 1\ndkY de 1\ndZl le 1\nzZh th 1\nqyM qu 1\ndmJ de 1\nkfK ka 1\niPq qu 1\nzwU sz 1\npvS va 1\nihJ th 1\nucW ch 1\nJjz sz 1\nmMd de 1\nvpw va 1\nxCg ng 1\nhKs th 1\nvlI le 1\nNmc ch 1\nxzV sz 1\ngZs ng 1\nrRp er 1\nUfd de 1\nfpF pr 1\nfwY wa 1\nGxr er 1\nxLr er 1\nvzE sz 1\njRf ij 1\nbrR er 1\ngkZ ng 1\ndUy de 1\nXji in 1\nKdb de 1\njpC ij 1\noUj on 1\nqmh th 1\nqjL qu 1\nwRs sz 1\njhM th 1\nRhr th 1\nbtN th 1\nPjq ij 1\nxwU wa 1\nqyE qu 1\nJxd de 1\nPqr qu 1\nlRd le 1\njqI qu 1\nqFs qu 1\nMwk ka 1\njEb ij 1\nNxy ny 1\nPzm sz 1\ntfL th 1\nvFc ch 1\njQg ng 1\nBnx an 1\nlMv le 1\ntKq th 1\neVq qu 1\nTyq qu 1\ndrJ er 1\noHw on 1\nlFk le 1\njpW ij 1\nQjw ij 1\ncNx ch 1\nBhz th 1\nbhB th 1\npDx pr 1\nxpY pr 1\ntnH th 1\ndfL de 1\nhzL th 1\nzNk sz 1\nlBm le 1\nlXl le 1\nyPv va 1\nZcl ch 1\nhMq th 1\nrJj ri 1\naXw an 1\nzsQ sz 1\ncQm ch 1\nSqc ch 1\ntKm th 1\nhvO th 1\nhGd th 1\nWbn an 1\nvCf va 1\nlGg ng 1\nvDh th 1\nwDq qu 1\nxRy ny 1\nvXi in 1\nqiQ qu 1\ncFs ch 1\nLhp th 1\nxEp pr 1\nfQt th 1\ncJv ch 1\nlzO le 1\nFxk ka 1\ntDd th 1\nXnx an 1\ntxC th 1\ntGb th 1\nzvG sz 1\ngpC ng 1\npxD pr 1\nZfp pr 1\noWt th 1\nvvV va 1\nGwf wa 1\nYcv ch 1\ngcZ ch 1\nmMw me 1\nyQl le 1\nuGp qu 1\nlNj le 1\nYcm ch 1\nvIx va 1\nyLp pr 1\nmRx me 1\nnrK an 1\nZyh th 1\nNct th 1\nQml le 1\nzPd de 1\ndWq qu 1\nEgx ng 1\nvNs st 1\nsNl le 1\npdW de 1\nSnh th 1\nyrP er 1\nfJl le 1\ntVg th 1\njvC ij 1\nyhN th 1\nqdC qu 1\npmT me 1\nLbg ng 1\nxpJ pr 1\nmYt th 1\nbwV wa 1\nwjD ij 1\nfqC qu 1\nxUf fo 1\ndhU th 1\nbZb be 1\ntwD th 1\nbbM be 1\nhgC th 1\ndKb de 1\nvJm va 1\nwEq qu 1\nOfq qu 1\ncXl ch 1\nwpV pr 1\ntqM th 1\npUf pr 1\nTwx wa 1\nMgq ng 1\nvQo on 1\nyjT ij 1\naVd an 1\neHp er 1\nvGv va 1\nsrG er 1\nqVb qu 1\ntlM th 1\nnrT an 1\nzRh th 1\ncLr ch 1\nlrH er 1\nwTl le 1\ncvI ch 1\nkqN qu 1\nIxp pr 1\nxeQ er 1\ncNy ch 1\nkRh th 1\nruY qu 1\nXcq ch 1\nKzb bi 1\nWxh th 1\npjM ij 1\njdO de 1\nJfy ny 1\nbVz sz 1\ndQo on 1\nncQ an 1\npVw pr 1\nSxj ij 1\nUbp pr 1\nwvC va 1\nkhG th 1\ncqF ch 1\nNxj ij 1\nwDm me 1\nyDd de 1\niyI in 1\neXq qu 1\nhqP th 1\nKxr er 1\nvsY st 1\nTwb wa 1\nfqw qu 1\nwmC me 1\nvFx va 1\nvnC an 1\nnWq an 1\nhzB th 1\nKfk ka 1\ntQe th 1\njuW qu 1\nqlX qu 1\nhGw th 1\nOqd qu 1\nNpw pr 1\nhgW th 1\nfxM fo 1\njSy ij 1\nfJt th 1\nmjG ij 1\ntgV th 1\nOgx ng 1\nHbx be 1\nLjl le 1\nivZ in 1\nbmY me 1\nQfp pr 1\nwfQ wa 1\nhCg th 1\nvuU qu 1\nydZ de 1\nvVk ka 1\nmZf me 1\nlOq qu 1\nqIv qu 1\nxZb be 1\nxqk qu 1\nWmy me 1\nJqi qu 1\ncxL ch 1\nZtq ","i8", -B,q.g+200888); -C("th 1\ntdT th 1\nuWt th 1\nxGz sz 1\nWwk ka 1\npBk ka 1\nyqg ng 1\ncYl ch 1\nynW an 1\nwyJ wa 1\nqGy qu 1\nfNp pr 1\nhFs th 1\nYxu qu 1\nkvJ ka 1\nFxz sz 1\ntwG th 1\nqvG qu 1\nvRp va 1\nQqi qu 1\ngzE ng 1\npNl le 1\nzpW sz 1\ndcP ch 1\ncPx ch 1\nwcQ ch 1\npQc ch 1\nqyF qu 1\nzcX ch 1\nwqk qu 1\nkmY ka 1\nqlG qu 1\nxEz sz 1\npqV qu 1\nOhp th 1\nxdM de 1\nfLp pr 1\nqAe qu 1\nXwv va 1\nLzi in 1\nqOk qu 1\ncXn an 1\nKds de 1\ngvU ng 1\nfPk ka 1\nnZr an 1\nHxq qu 1\nfCm me 1\nqfD qu 1\nWfv va 1\nqfb qu 1\njqC qu 1\nfuX qu 1\nqfA qu 1\nRlt th 1\nxjD ij 1\nwtF th 1\nXmz sz 1\npWp pr 1\nQxv va 1\nzVf sz 1\ngmZ ng 1\nqdU qu 1\njqV qu 1\ngXc ch 1\nqmK qu 1\nGfj ij 1\ncQr ch 1\nYhr th 1\nvvS va 1\nuDb qu 1\ncdB ch 1\nbvE va 1\nxvS va 1\njRq qu 1\nrvD er 1\nXyy ny 1\nJfi in 1\naBw an 1\nnWc an 1\nxBq qu 1\nkgY ng 1\nbGb bi 1\ngjE ng 1\nRlw le 1\nwrT er 1\nbQr er 1\nljY le 1\nqvU qu 1\nfKm me 1\npTt th 1\nzTw sz 1\nqnV an 1\nrWx er 1\nnWd an 1\nnKf an 1\nkMf ka 1\nfkG ka 1\nbwX wa 1\ncwV ch 1\nuwK qu 1\nrLv er 1\nzMb sz 1\nzpZ sz 1\nrMq qu 1\nTtj th 1\ngvO ng 1\nJcz ch 1\nCyx ny 1\nnjX an 1\naVx an 1\nqXn an 1\nUqs qu 1\ndVz de 1\nRcp ch 1\neKg ng 1\nXzn in 1\nvyF va 1\nKlc ch 1\nxdI de 1\nHqb qu 1\nxEe er 1\nqpI qu 1\ngDx ng 1\nJhf th 1\nquK un 1\nvgU ng 1\nrWv er 1\nPnm an 1\nnLm an 1\nBhj th 1\nbPt th 1\njpI ij 1\ntLz th 1\nvpS va 1\nFxj ij 1\nqDs qu 1\nwzM sz 1\ngwJ ng 1\nzBw sz 1\nqGv qu 1\nrLh th 1\nBjl le 1\nhfH th 1\nclW ch 1\nRgk ng 1\nGsg ng 1\nUvx va 1\nQgv ng 1\ngfX ng 1\nrQv er 1\nxvG va 1\nkjx ij 1\ndGf de 1\nfcA ch 1\nEhq th 1\nzBz sz 1\nGpk ka 1\ntBv th 1\nXfg ng 1\nyJm me 1\nsqT qu 1\nprY er 1\nDqo qu 1\nJzg ng 1\nqMp qu 1\nyfM ny 1\nGxf fo 1\nwzP sz 1\nzNm sz 1\nwKg ng 1\nRrd er 1\nHvw va 1\ngfD ng 1\nWmz sz 1\ncJn an 1\nnTf an 1\nuvW qu 1\nuPf qu 1\nvwR va 1\nbMf be 1\nwIu qu 1\nkxY ka 1\ngZk ng 1\nqFd qu 1\nbMl le 1\nwHl le 1\nwVg ng 1\nwlX le 1\nfsL st 1\npRf pr 1\nzsX st 1\nqBk qu 1\nXzp sz 1\njdR de 1\nZlz le 1\nWfc ch 1\nRjv ij 1\nvFz sz 1\ntkV th 1\nXbw wa 1\nxQc ch 1\nKxy ny 1\nxCv va 1\nnqV an 1\nWwx wa 1\nkdW de 1\npkI ka 1\nohS th 1\nZdc ch 1\nmCg ng 1\nsxL st 1\nQrx er 1\nqXw qu 1\nwqQ qu 1\nijK in 1\nsFz st 1\nHlw le 1\nGqn an 1\nxPk ka 1\nwZq qu 1\njqm qu 1\nLzp sz 1\nBdz de 1\nwQl le 1\nwtJ th 1\nUyi in 1\nWcy ch 1\nwqH qu 1\nBns an 1\ncDt th 1\nxJv va 1\nWfz sz 1\nxhP th 1\ncWp ch 1\nrqZ qu 1\nbkB ka 1\nWtl th 1\ngzf ng 1\nbMr er 1\npxN pr 1\nvhV th 1\nkqX qu 1\nKdq qu 1\nvQl le 1\nykC ka 1\nzMh th 1\nEqz qu 1\nlXq qu 1\nzmZ sz 1\nqpB qu 1\nvGj ij 1\nTjx zj 1\ntvK th 1\ngYc ch 1\nlFc ch 1\niJt th 1\nPkx ka 1\ncDv ch 1\nYyd de 1\nVcq ch 1\nXhq th 1\nzNf sz 1\nvcD ch 1\nbnW an 1\nuvQ qu 1\nZzj sz 1\ngPj ng 1\njwD ij 1\njpO ij 1\nbDx be 1\nvEi in 1\nZct th 1\nwrX er 1\ndhS th 1\nzjJ sz 1\ndDk de 1\nsrJ er 1\naWg an 1\nmvJ va 1\nYtc th 1\njiQ in 1\ntFz th 1\nsJl le 1\nvZq qu 1\nxUd de 1\noqB qu 1\nxDh th 1\nhfE th 1\nmSb me 1\njmR ij 1\nrFp er 1\nXjy ij 1\nbPp pr 1\niqQ ti 1\nmfq qu 1\ntxL th 1\njBd de 1\nXvq qu 1\ndvY de 1\nsdM de 1\nxgY ng 1\nrYh th 1\nvlA le 1\npFb pr 1\nyFz sz 1\ngcK ch 1\nxfZ fo 1\njDc ch 1\nyNv va 1\ntKt th 1\nwtU th 1\nbHk ka 1\nqCw qu 1\nZca an 1\nkDw ka 1\nYwc ch 1\npXs st 1\nyMm me 1\nGwq qu 1\nmYv va 1\nwCx wa 1\njZx ij 1\noQd on 1\nFzk sz 1\nlwF le 1\nXzk sz 1\nNjx ij 1\nyoI on 1\nsJm st 1\nwKk ka 1\nQth ch 1\nLlz le 1\ngVf gi 1\npPq qu 1\nlGy le 1\ngzR ng 1\nrXg ng 1\nNpf pr 1\nwvR va 1\nyXs st 1\nmMl li 1\nbYx be 1\nfzZ sz 1\nvrG er 1\nKdk de 1\nyqw qu 1\nLkq qu 1\njKs st 1\nZqx qu 1\nPfm me 1\nrlW er 1\nhPv th 1\nOjx ij 1\nGtq th 1\nvtJ th 1\nWly le 1\nyHd de 1\nkQb ka 1\nLdc de 1\nsUx st 1\ncJg ch 1\nfLd de 1\nMjq qu 1\nCjm ij 1\nawX an 1\nGtl th 1\nwzN sz 1\nbqx qu 1\nfAq qu 1\nezX er 1\ncBx ch 1\ncsX ch 1\ncUf ch 1\nqsJ qu 1\nhsZ th 1\nqzg ng 1\nQgk ng 1\nNxg ng 1\nHqa an 1\nrXl er 1\nnlP an 1\naVg an 1\nyhG th 1\nkfA ka 1\nVmk mG 1\njKm ij 1\nhPd th 1\naPd an 1\nbYy be 1\nbnZ an 1\nGsj st 1\nkxQ ka 1\nvkF ka 1\njzS sz 1\nfWm me 1\nQcu ch 1\nrZf er 1\njbZ ij 1\naQj an 1\nbzO sz 1\nfZq qu 1\nlrN er 1\nfkL ka 1\nDqv qu 1\nzkC sz 1\nsLw st 1\nNvr er 1\nNby be 1\neMh th 1\nwFc ch 1\nCxz sz 1\niZp in 1\ndvZ de 1\nvIh th 1\nqCl qu 1\nPzo on 1\nvNq qu 1\nzqK qu 1\nLmx me 1\nxVt th 1\nglD ng 1\nGbf be 1\nJvq qu 1\nzFw sz 1\ntMq th 1\nvkJ ka 1\nSxu qu 1\nafU an 1\nmHb me 1\njxU ij 1\ncJl ch 1\nuqE qu 1\nNqq qu 1\nxGt th 1\nczG ch 1\nKfg ng 1\nzWh th 1\nyXm me 1\nfnD an 1\nJrd er 1\noxZ on 1\nhXn th 1\nfqI qu 1\nwAo on 1\niGk in 1\nxEw wa 1\nfVq qu 1\nytU th 1\nbhG th 1\noQz on 1\npgO ng 1\nYqm qu 1\nbJi in 1\nkcV ch 1\nknM an 1\nCwr er 1\nWgd ng 1\nbpT pr 1\nJdj de 1\nNbq qu 1\ntwJ th 1\nQep er 1\nKdc ch 1\nkQq qu 1\nrPq qu 1\nlWp le 1\nFbq qu 1\nbVk ka 1\nzlI le 1\nBzp sz 1\njfK ij 1\nYvm va 1\nFtm th 1\naMj an 1\nzzV sz 1\nzOa an 1\nmHc ch 1\nxWn an 1\nfFh th 1\nsDv st 1\nvmD va 1\nxjL ij 1\niBq qu 1\njqT qu 1\nhsR th 1\nQxo on 1\njsG st 1\ncXb ch 1\nYbj ij 1\nxeJ er 1\noPq qu 1\nyXt th 1\nxvL va 1\njcF ch 1\nkFb ka 1\njXv ij 1\nAox on 1\nzkQ sz 1\nfPd de 1\nFvx va 1\nfbX be 1\noCf on 1\nYjd de 1\nPpf pr 1\nNjs st 1\ncZh th 1\nvnG an 1\ncwJ cm 1\nqJl qu 1\ngNf ng 1\nTfv va 1\nvwK va 1\nZcs ch 1\neBv er 1\nqLf qu 1\nYqt th 1\ncrD ch 1\nIcj ch 1\nqBl qu 1\ngzX ng 1\nujF qu 1\nvxU va 1\nkZt th 1\nLdh th 1\nbfM be 1\nmQm QO 1\nzlQ le 1\njbU ij 1\nKvz sz 1\nUxw wa 1\npjS ij 1\nXvv va 1\nkjI ij 1\ncYi ch 1\nnJn an 1\nQxz sz 1\naNw an 1\nJfp pr 1\nbNz sz 1\nxdQ de 1\nBzk sz 1\nqZz qu 1\nYcp ch 1\npGs st 1\nkCf ka 1\ngwP ng 1\nwbV wa 1\nEqt eq 1\nXhn th 1\noUf on 1\ndKc ch 1\nsxN st 1\nOfz sz 1\ngCp ng 1\nbhI th 1\nhgU th 1\nknU an 1\nkjT ij 1\nfsZ st 1\nlGv le 1\nwMd de 1\nukQ qu 1\nGhk th 1\nkRw ka 1\nzRc ch 1\ngwK ng 1\nvJp va 1\ntVc th 1\npqT qu 1\niYl in 1\nxLv va 1\nXdq qu 1\nzcO ch 1\nplM le 1\nbDz sz 1\nNmx me 1\ndKv de 1\nhPk th 1\nTjy ij 1\nwYs st 1\nnfJ an 1\ntfC th 1\nzJt th 1\nlKp le 1\nIyc ch 1\nxuB qu 1\neKx er 1\nsZf st 1\nzpQ sz 1\nsfL st 1\nmjT ij 1\nzXw sz 1\nyKt th 1\nrwV er 1\npjB ij 1\nqYb qu 1\nbYz sz 1\nqqY eq 1\nuIf qu 1\njTc ch 1\nsqC qu 1\nuJc ch 1\ndGx de 1\nswF st 1\nHfn an 1\nHtb th 1\npfW hW 1\niyG in 1\nzPc ch 1\nyzV sz 1\npVz sz 1\nsPg ng 1\nfKj ij 1\neFb er 1\nQji jS 1\nmtH th 1\nwgZ ng 1\nhHd th 1\nfTt th 1\ngxZ ng 1\nKtg th 1\nhWd th 1\nfWq qu 1\nwSv va 1\nFzn an 1\nghH th 1\nnpW an 1\njvP ij 1\nuYk qu 1\nUxn an 1\nSqg ng 1\nzcJ ch 1\ndMr er 1\nZgc ch 1\nqGp qu 1\noVq qu 1\noUa an 1\noqV qu 1\njGs st 1\nYbq qu 1\nqRf qu 1\nbrZ er 1\nqTv qu 1\nwZf wa 1\ngOj ng 1\nJji in 1\nPpx pr 1\nqwB qu 1\nqcJ ch 1\nfFz sz 1\nwwY wa 1\nkTc ch 1\nuGn an 1\neQq qu 1\nqGk qu 1\ndpV de 1\nvTm va 1\nOjq qu 1\ndpX de 1\nbYf be 1\ntjV th 1\nLzn LG 1\nYjm ij 1\nuYw qu 1\nZdg ng 1\nhXs th 1\nIwp pr 1\nhJw th 1\nTfd de 1\ncxO ch 1\nQqy qu 1\nlDv le 1\nzsO st 1\nmrG er 1\ncjJ ch 1\ndgD ng 1\ncUw ch 1\nzdB de 1\njlU le 1\nbBf be 1\nqbJ qu 1\nqlR qu 1\ncWc ch 1\nXgb ng 1\nzrU er 1\nbgI ng 1\nwjJ ij 1\nmvU va 1\nrCp GC 1\nnVx an 1\nxbG be 1\ntdN th 1\nyjR ij 1\nwQj ij 1\nxzZ sz 1\nqUk qu 1\nxjY ij 1\nJxz sz 1\nxZs st 1\nvZx va 1\nlRs le 1\nvwp va 1\nwpj ij 1\nswS st 1\nEqx qu 1\nvEw va 1\ntkQ th 1\nvgX ng 1\nRwb wa 1\nsjW st 1\ndXm de 1\nfvY vK 1\nlrO er 1\nLdx de 1\ncxV ch 1\nqFh th 1\nqVw qu 1\nPyf ny 1\nKxz sz 1\nhwJ th 1\ncpL ch 1\nHge ng 1\nWbh th 1\nlQq qu 1\nhDl th 1\nZph th 1\nwZj ij 1\nZqt th 1\nxmU me 1\ntUf th 1\nqWo qu 1\nLrd er 1\npQs st 1\nrZv er 1\nmjI ij 1\nxQy ny 1\nvGy va 1\njwY ij 1\ncNn an 1\nzpP sz 1\nvKd de 1\nwVk ka 1\ntMh ch 1\nKtd th 1\ntpG th 1\niDf in 1\nqKl qu 1\njLc ch 1\nJjl le 1\nhcQ th 1\nTqg qu 1\nbGk ka 1\njxV ij 1\nfcC ch 1\nFwx wa 1\nqPy qu 1\njmE ij 1\nxmT me 1\nlxC GC 1\nlRr er 1\nQkl le 1\nihF th 1\nLlt th 1\nKqe qu 1\nHhf th 1\nnPq an 1\nzvQ QO 1\njGy ij 1\nlMk le 1\nuOj qu 1\nfdT de 1\nqvH qu 1\npcZ ch 1\nqkc ch 1\ncbJ ch 1\ngfK ng 1\npMt th 1\nvpF va 1\ndgP ng 1\nmxF me 1\nrZp er 1\ncGd ch 1\nsPx st 1\nrGd er 1\ngbQ ng 1\nDfz sz 1\nsjC st 1\nzSx sz 1\nqIo qu 1\ndIw de 1\nkpF ka 1\neUw er 1\nHxc ch 1\nyvG va 1\nvUf va 1\nfjF ij 1\nkLq qu 1\nZjt th 1\nfLq qu 1\nydS de 1\nzwK sz 1\nhHy th 1\nSsw st 1\nhjG th 1\nDdp de 1\nbPs st 1\nWpq qu 1\ncrW ch 1\nXpj ij 1\noXr er 1\nvjK ij 1\nVzf sz 1\nlYd le 1\nOdx de 1\nhVt th 1\ngRc ch 1\nZtf th 1\nhVj th 1\nJjf ij 1\njFb ij 1\nLhf th 1\njlO le 1\njvB ij 1\ngbN ng 1\nvPm va 1\ntQd th 1\nVvj ij 1\nrqX qu 1\nzEo on 1\njsB st 1\nqmH qu 1\nbtE th 1\nWdd de 1\nDmj ij 1\nywI wa 1\njpQ ij 1\nuXs qu 1\nbYm me 1\noFz on 1\ntBg th 1\ncCn ch 1\ndZg ng 1\nwrL er 1\nJry er 1\niKd in 1\nvcN ch 1\nzNp sz 1\nnRf an 1\ndcH ch 1\nqaO an 1\nuaQ an 1\njxL ij 1\nmUf me 1\nvOk ka 1\nPxt th 1\nfuQ qu 1\nsfN st 1\nQlv le 1\nbZy be 1\nvEq vK 1\nXvg ng 1\nJxb be 1\nzGz sz 1\nCqf qu 1\nsPp st 1\nvAq qu 1\nkWd de 1\nrcZ cm 1\nlDs le 1\nxDd de 1\npSj ij 1\nvwS va 1\nkgQ ng 1\ncrT ch 1\nfKs st 1\nqhc th 1\ngMl ng 1\nzKt th 1\njdF de 1\ncfN ch 1\nsdO st 1\nkHh th 1\nxvE va 1\nbPf be 1\nrzX er 1\nvSj ij 1\ndFf de 1\nvXl le 1\nbRv va 1\nZxw wa 1\nXzw sz 1\nvrR er 1\nxHb be 1\nqeE qu 1\njrQ er 1\nvkI ka 1\nfrY er 1\njqL qu 1\ncZj ch 1\nTmg ng 1\nmHw me 1\ndqS qu 1\nqlI qu 1\nZvb va 1\nKlx le 1\ngbS ng 1\nsbQ st 1\nquF un 1\nqzT qu 1\nqaI an 1\nVmd de 1\nqaQ an 1\nQkb ka 1\nXjb ij 1\noCq GC 1\nqQh QO 1\ncwO ch 1\ntMf th 1\nzrK er 1\nwKy wa 1\nwKb wa 1\ncqS ch 1\niGv in 1\nxXw wa 1\nfMx fo 1\nZmv va 1\nYqq qu 1\nkDh th 1\nJxy ny 1\nyyE ny 1\nsUv st 1\ncVr ch 1\nbqH qu 1\nWgq qu 1\nuqQ qu 1\nbTg ng 1\niMv in 1\nqWk qu 1\nfdV de 1\noQq qu 1\nnZp an 1\nzoY on 1\njRk ij 1\nqPj qu 1\nuqL qu 1\ncqX ch 1\nlBq qu 1\nfpX pr 1\nbYw wa 1\nYeq qu 1\nhjN th 1\ntqW th 1\njhT th 1\ncvF ch 1\nYcx ch 1\njFs st 1\nHdy de 1\nlrZ er 1\nfZv va 1\nTfw wa 1\nzrI er 1\ndDv de 1\nxeH er 1\nlzH le 1\nsLr er 1\niKq qu 1\nFzc cm 1\nxRd de 1\nfSd de 1\nqwF qu 1\nwxY wa 1\nYkw ka 1\noVp on 1\ncgB ch 1\nbFh th 1\nnjT an 1\ndZz de 1\nbhS th 1\nFzu qu 1\nfHm me 1\nvNz sz 1\nqlF qu 1\nLvf va 1\nzpU sz 1\njtL th 1\ncQq ch 1\nmKm me 1\nRwc ch 1\njrO er 1\nnpB an 1\nQtx th 1\nMqj qu 1\nOqx qu 1\nDzp sz 1\nhVg th 1\npTn an 1\ngQj ng 1\nmTn an 1\ntQv th 1\nlZh th 1\nkJj ij 1\ncrP ch 1\nmqC qu 1\nDwl le 1\nvVj ij 1\nhqT th 1\nmJw me 1\ntxT th 1\nwZm me 1\nXnq an 1\nhfU th 1\nkVr er 1\ngVp ng 1\nnBp an 1\nxnZ an 1\njqA qu 1\nPzk sz 1\nfJq qu 1\nGnf an 1\nKxp pr 1\ndXl Xm 1\nhwL th 1\nRrn an 1\nklL le 1\nfOg ng 1\nQwx wa 1\nCmx me 1\nFbf be 1\nhWq th 1\nbSw wa 1\nBxr er 1\nzcB ch 1\nlvX le 1\nKkx ka 1\nqfI qu 1\nuKg qu 1\nYku qu 1\njJz sz 1\nuIp qu 1\nqAd qu 1\npfH pr 1\nQwf wa 1\nwbU wa 1\nvDv va 1\ngJn an 1\nzlR le 1\nmXr er 1\nrHx er 1\noVz on 1\ngtG th 1\nlrK HK 1\nWxe er 1\npnJ an 1\nFqy qu 1\njVl le 1\ncbP ch 1\nGjc jS 1\njQs st 1\ntvV th 1\nHzk sz 1\njyW ij 1\nXbf be 1\nqfS qu 1\nWvp va 1\nwbL wa 1\nmkO ka 1\neqB qu 1\ndvS de 1\nzGh th 1\nvWu qu 1\nflX le 1\nxJq qu 1\nqLk qu 1\nvNl le 1\nkzQ sz 1\nCzv sz 1\nknV an 1\nRjb ij 1\nbNq qu 1\nzPm sz 1\nqxB qu 1\nLhh th 1\nUvt th 1\nxfU fo 1\niNp in 1\nyYg ng 1\noPb on 1\nqiW qu 1\nycD ch 1\nwVz sz 1\nwGq qu 1\nhRb th 1\nxbB be 1\nsZl le 1\ngxO ng 1\nwFk ka 1\nMxd de 1\ndxP de 1\nlRq qu 1\nhbZ th 1\nEao an 1\nzgA ng 1\nqcW ch 1\nvmQ va 1\nYqf qu 1\nwiO in 1\nxOe er 1\nHfy ny 1\nbfS be 1\nQhn th 1\nCmk ka 1\nlYs le 1\nNqt th 1\nqeJ qu 1\nztJ th 1\npMv va 1\nuhW th 1\njSb ij 1\ndYh th 1\ncfW ch 1\ngSx ng 1\nqSv qu 1\njCs st 1\npwC pr 1\nGxq qu 1\nfMq qu 1\nkkC ka 1\nuqI qu 1\nzBk sz 1\nzsW st 1\nfZb be 1\nxjb ij 1\nvHq qu 1\nfwN wa 1\nvMw va 1\nHhq th 1\ncsJ ch 1\nbr","i8", -B,q.g+211128); -C("J er 1\nxvM va 1\nmXn an 1\nqWw wa 1\ndxZ de 1\nsVj st 1\nxrF er 1\npbU pr 1\nTfz sz 1\nwqT qu 1\nvcF ch 1\nnrS an 1\nWhz th 1\nkgX ng 1\nyXk ka 1\nkJb ka 1\nrZk er 1\npBc ch 1\ngUv ng 1\nHqe qu 1\nKqj qu 1\noFj on 1\nxbN be 1\npnK an 1\nLbw wa 1\ndMb de 1\nqSp qu 1\nZsv st 1\nwrV er 1\nuKf qu 1\nmlY le 1\ngxF ng 1\ntjL th 1\nXrc ch 1\nrvF er 1\nmLq qu 1\njrK er 1\nQlz le 1\nzxD sz 1\nfdY de 1\njvD ij 1\nxQg ng 1\nqFu un 1\nsfJ st 1\npIf pr 1\nhxJ th 1\ncNc ch 1\nIdq qu 1\nyHf ny 1\nqXm qu 1\nylD le 1\nzFq qu 1\njWp ij 1\neKp er 1\nxhf th 1\nybV be 1\nxXs st 1\nYhk th 1\nfwX wa 1\nbqK qu 1\nnvY an 1\nxvk ka 1\nrbP er 1\nsXl le 1\nUwt th 1\nwmW me 1\npxV pr 1\nnjZ an 1\nTqk qu 1\nzmE sz 1\nRqu un 1\nqqM qu 1\ndhQ th 1\nuJz qu 1\nVqd qu 1\nyCk ka 1\npWu qu 1\nVdy de 1\niRx in 1\nVcm ch 1\nwIg ng 1\nXbh th 1\nvcG ch 1\njjX ij 1\nnmO an 1\ndQj de 1\ndfV de 1\ndbK de 1\ngqk qu 1\nnFd an 1\noWv on 1\nnHp an 1\nknK an 1\nbxZ be 1\nwmH me 1\nfgX ng 1\ngzH ng 1\nZbv va 1\nvgM ng 1\ndmK de 1\ncvB ch 1\neQs er 1\ncHm ch 1\nsBt th 1\nbHx be 1\nvqd qu 1\nNpy pr 1\nxzL sz 1\ngMx ng 1\nvwU va 1\npfX pr 1\nnFg an 1\nsFs st 1\nVqh th 1\nEmq qu 1\ntXy th 1\nuVd qu 1\nYvj ij 1\nqHo qu 1\npWm me 1\nxcK ch 1\npUv va 1\npLn an 1\nuVn an 1\nFsq qu 1\ncGj ch 1\nXwy wa 1\ngzT ng 1\ndNq qu 1\njrU er 1\nqtA th 1\ngqT qu 1\npwM pr 1\nlrP er 1\njmC ij 1\npmP me 1\nyiY in 1\npTs st 1\nZwj ij 1\nqpF qu 1\nfhJ ch 1\nfOv va 1\nwcK ch 1\nkqk qu 1\nUgz ng 1\nxfF fo 1\ncTv ch 1\ngpX ng 1\nLfx fo 1\ngwU ng 1\nDzx sz 1\nkDc ch 1\nPvh th 1\nkdY de 1\nwWv va 1\nsQq qu 1\nmjY ij 1\nyCb be 1\nrSq qu 1\nSfv va 1\nfZh th 1\ndMd de 1\ndNs st 1\njTv ij 1\ntmW th 1\ncxJ ch 1\nuAo qu 1\nmHx me 1\nfgA ng 1\nRhx th 1\nwWt th 1\npfU pr 1\noIj on 1\nlhQ th 1\nvDk ka 1\nvJd de 1\nsDp st 1\nqiU qu 1\nYfs st 1\nqxW qu 1\nsFh th 1\nvhP th 1\nVjj ij 1\ntmQ th 1\nwmM me 1\ncVy ch 1\nKzw sz 1\ntfA th 1\ngjR ij 1\nxyQ ny 1\nmBv va 1\nfQy ny 1\ndZc ch 1\neVh th 1\nNvc ch 1\nqFb qu 1\nqhl th 1\nZcn ch 1\nqwW qu 1\nxZq qu 1\njhL th 1\nlWf le 1\njJx ij 1\nYzt th 1\nEoq qu 1\nNjm ij 1\nZgd ng 1\npGq qu 1\nsgY ng 1\njyE ij 1\njzE sz 1\nujK qu 1\nqbm qu 1\nWsf st 1\nmQn an 1\nsQs st 1\nyXg ng 1\nvYe er 1\nePv er 1\naCv an 1\npVm me 1\nzxO sz 1\njjW ij 1\nvgI ng 1\ntZc th 1\nQtg th 1\nvMt th 1\nkTt th 1\nMxj ij 1\nfbI be 1\nqAu un 1\nwfT wa 1\nfcF ch 1\npfK pr 1\nbOq qu 1\nhuX th 1\ncJm ch 1\nXpg ng 1\ntqJ th 1\nOvf va 1\nXlj le 1\nNrl er 1\nfxW fo 1\nSwq qu 1\nqvE qu 1\nqpY qu 1\noNw on 1\nkYc ch 1\njXb ij 1\nQfk ka 1\neDp er 1\nVqb qu 1\nsKz us 1\nqjp qu 1\nUxl le 1\nLky ka 1\nzFy sz 1\nnMl an 1\nyYi in 1\ncQe ch 1\noYj on 1\ntbB th 1\nYbg ng 1\nnVk nd 1\nbXc ch 1\nLqn an 1\nmdK de 1\npdP de 1\ntqS th 1\nZjf ij 1\nkcC ch 1\nqZq qu 1\naSd an 1\nCmh th 1\nhzG th 1\nwQm me 1\nGqg qu 1\nyWp pr 1\nXrw er 1\nyJy ny 1\nsqD qu 1\ndWb de 1\nnbQ an 1\niwP in 1\nlWs le 1\nTsg ng 1\ndHz de 1\ntcF th 1\nQkt th 1\nBdd de 1\nMxq qu 1\npjV ij 1\nkQr er 1\ndnI an 1\nfyY ny 1\naFq an 1\nYlx le 1\nYym me 1\njbV ij 1\nqcV ch 1\npzX sz 1\nqRh th 1\ndjA de 1\nbnI an 1\nLlv le 1\ntmZ th 1\nhQo th 1\nztW th 1\nRxz sz 1\ndxW de 1\nqtW th 1\nkqO qu 1\nlHc ch 1\nlRj le 1\nhNf th 1\nGiq qu 1\ncYq ch 1\nYdp de 1\nqWn an 1\nxkB ka 1\nkxC ka 1\nljA le 1\nQwp pr 1\nmCp me 1\nfJd de 1\nvCt th 1\nVcz ch 1\nvBf va 1\ncYx ch 1\nfHw wa 1\nkvW ka 1\nJmz sz 1\nhQj th 1\nrbQ er 1\nvxX va 1\nwFh th 1\nTjz sz 1\nhxR th 1\nvdY de 1\npmF me 1\nsDl le 1\nrVh th 1\nwDc ch 1\ngBw ng 1\ncHf ch 1\npzQ sz 1\nlVp le 1\ngfH ng 1\noGc ch 1\ntvJ th 1\ncMv ch 1\nxnS an 1\nvQx va 1\nuoM qu 1\nzkX sz 1\nzHp sz 1\nyuW qu 1\nQbv va 1\nzwG sz 1\ncpX ch 1\nRpv va 1\nzKq qu 1\nwUb wa 1\nqnJ an 1\nRpy pr 1\nbcS ch 1\nqxK qu 1\nqjD qu 1\nlQg ng 1\nkrX er 1\nFcg ch 1\noVx on 1\nvJf va 1\nBvk ka 1\ndmX de 1\nWdj de 1\nYzp sz 1\nYcd ch 1\njKx ij 1\nkrH er 1\nLnm an 1\nzCm sz 1\nUwj ij 1\nUvk ka 1\nMfj ij 1\nyqJ qu 1\nLfq qu 1\nyHz sz 1\nkgJ ng 1\naGq an 1\ntjH th 1\nZkc ch 1\nwHv va 1\nNzp sz 1\ncZx ch 1\njvK ij 1\nclF ch 1\nxmD me 1\nYpz sz 1\npFy pr 1\nhvF th 1\nmtW th 1\nhqG th 1\nkvN ka 1\ntcZ th 1\ntkR th 1\npdH de 1\nqEs qu 1\nZcw ch 1\nVwu un 1\ngXz ng 1\nmWj ij 1\nmWv va 1\nJqx qu 1\noSj on 1\nlwY le 1\nTkf ka 1\npcC ch 1\nohG th 1\ndzG de 1\nfdN de 1\nxrS er 1\nhHk th 1\nFjz sz 1\nvbZ va 1\nUdx de 1\nwzX sz 1\nuNq qu 1\nwfZ wa 1\nswB st 1\ndmQ de 1\ndcA ch 1\nqzP qu 1\njJj ij 1\nqWq qu 1\ntVk th 1\ngwB ng 1\nbIw wa 1\nbpU pr 1\nbwM wa 1\nfkA ka 1\nxUc ch 1\nxTd de 1\nfKl le 1\nlxS le 1\nxaS an 1\nyvQ va 1\ndhV th 1\nmdW de 1\nwfJ wa 1\nWqq qu 1\nsZj st 1\nLxy ny 1\nxXy ny 1\nqDm qu 1\ngKq qu 1\nQvj ij 1\nkfH ka 1\naQp an 1\nxFz sz 1\nnjW an 1\nRpn an 1\nMmn an 1\nfhD th 1\njKk ij 1\nzAq qu 1\nqfL qu 1\nywN wa 1\nqpz qu 1\nhxP th 1\nGdq qu 1\ntMx th 1\njwL ij 1\nkBb ka 1\nfAw wa 1\nSdx de 1\nJmv va 1\nbgX ng 1\nxWp pr 1\nhHt th 1\nGww wa 1\nFbb be 1\nzoT on 1\nyjG ij 1\nRlg ng 1\nvFn an 1\nzcK ch 1\nxdC de 1\nwvO va 1\noQl le 1\nnIw an 1\nwzA sz 1\nRzj sz 1\nQzn an 1\nYjt th 1\nxkQ ku 1\nlrq qu 1\nnwZ an 1\npGk ka 1\nmnL an 1\nRlq qu 1\nccD ch 1\nrRd er 1\nOfj ij 1\nFjh th 1\nuuO qu 1\nzZx sz 1\nNbj ij 1\nznW an 1\njbH ij 1\nrDx er 1\nQmc ch 1\ndwV de 1\nOqv qu 1\nZqe qu 1\nfwI wa 1\nnjP an 1\nOqq qu 1\npVv va 1\nfqx qu 1\ngfO ng 1\nhqU th 1\ngDj ng 1\nTmj ij 1\nvcK ch 1\nqmV qu 1\nsVx st 1\nWfh th 1\nmJk ka 1\nfuK qu 1\nbfN be 1\nqfT qu 1\nFmj ij 1\ntbN th 1\nkjN ij 1\nyhZ th 1\nNxk ka 1\nwxU wa 1\nzXb sz 1\nNzd de 1\nohL th 1\npVt th 1\nZsx st 1\nZqj qu 1\nwUj ij 1\nyjC ij 1\nkTn an 1\nvqV qu 1\nFyc ch 1\nIcd ch 1\nsvN st 1\nJjv ij 1\nbVp pr 1\nfdI de 1\nnbX an 1\ncfU ch 1\nlGm le 1\nOvg ng 1\nzDc ch 1\njgq qu 1\nlYr er 1\nhjR th 1\nqPm qu 1\niRq qu 1\nZrx er 1\nwpT pr 1\nxsB st 1\nqxT qu 1\ngFx ng 1\nqoJ qu 1\nsmD st 1\nlbM le 1\nwCc ch 1\nwFm me 1\nXlv le 1\nzyU sz 1\nvFk ka 1\ntjR th 1\niYx in 1\nuJk qu 1\nQeh th 1\nXrv er 1\nBqq qu 1\nVdb de 1\nznR an 1\npmL me 1\ntvH th 1\nTmd de 1\nDgb ng 1\nozO on 1\nfQb be 1\nPqb qu 1\nqYn an 1\nxPm me 1\ngWf ng 1\ncCv ch 1\nqeP qu 1\nqZm qu 1\ndgZ ng 1\nmjO ij 1\ngCw ng 1\nsvQ st 1\nRqq qu 1\nQbt th 1\nLkj ij 1\nFza an 1\njlB le 1\niWj in 1\nZxi in 1\nKxw wa 1\njcJ ij 1\nuCf qu 1\ncAx ch 1\nVjw ij 1\nvUs st 1\nMnq an 1\njjM ij 1\nvUx va 1\nuZr qu 1\ntwU th 1\nYtv th 1\nhRp th 1\nkzV sz 1\nmvY va 1\njFj ij 1\njBp ij 1\nkGz sz 1\nqUq qu 1\nqgR qu 1\nlWb le 1\nwwP wa 1\nwvE va 1\nFsx st 1\nIzx sz 1\nbwC wa 1\nFmq qu 1\ncLd ch 1\nbRl le 1\niXf in 1\nyMq qu 1\ncqP ch 1\njsL st 1\njIq qu 1\nwuG qu 1\nLbv va 1\nEqf qu 1\nOgf ng 1\nkGv ka 1\npjK ij 1\nvcQ ch 1\nXzh th 1\njUv ij 1\nwGd de 1\nhmX th 1\nyqm qu 1\nqkE qu 1\nzgX ng 1\nvwO va 1\nwmS me 1\nvhT th 1\nsyX st 1\nnbC an 1\nzgW ng 1\nvqM qu 1\ndWf de 1\ncwF ch 1\ndnF an 1\nqDi qu 1\nqSw qu 1\njQf ij 1\ncrZ ch 1\nqGl qu 1\nWxu qu 1\ngrW ng 1\nglX ng 1\nvFd de 1\npbF pr 1\nbNf be 1\nQcf ch 1\nfVx fo 1\npPf pr 1\npVq qu 1\nxlG le 1\nDwj ij 1\nxQj ij 1\nlkQ le 1\nsqH qu 1\nYyx ny 1\nvFm va 1\ntQo th 1\nzlU le 1\nvlW le 1\nglW ng 1\nqmW qu 1\naWl an 1\nzmV sz 1\ngLm ng 1\nglB ng 1\ntqA th 1\nhgJ th 1\ncGb ch 1\nqwE qu 1\nFfy ny 1\nwmL me 1\nxLh th 1\nsbE st 1\nbQl le 1\nxkR ka 1\nyFd de 1\nOmq qu 1\nXfj ij 1\nwJj ij 1\nLws st 1\nwfU wa 1\nzfk sz 1\nlNv le 1\nykQ ka 1\nxDt th 1\njDw ij 1\nzbx sz 1\nvQs st 1\nvvM va 1\nXqq qu 1\njLq qu 1\nzkZ sz 1\nqAg qu 1\nXjw ij 1\ncFw ch 1\nrwQ er 1\nmWk ka 1\nYrx er 1\neUo er 1\nuDm qu 1\nMhw th 1\nfGp pr 1\nRpz sz 1\nsbF st 1\nnfX an 1\nWfu qu 1\nMwq qu 1\nqDj qu 1\nWpw pr 1\nzFv sz 1\nqXc ch 1\nqsT qu 1\npZh th 1\nlLc ch 1\npqB qu 1\nXjo on 1\nkDk ka 1\nJxf fo 1\nVqz qu 1\nHvq qu 1\nZqw qu 1\nkRc ch 1\ntvR th 1\ndNx de 1\njWq qu 1\nnRw an 1\nrGb er 1\nvZz sz 1\nXtz th 1\nkZn an 1\nVmj ij 1\ndMp de 1\ncPy ch 1\nuzR qu 1\nyjE ij 1\ngzF ng 1\ntCp th 1\nqfC qu 1\nvcq ch 1\nZfg ng 1\nkwC ka 1\nfkM ko 1\nvJh th 1\neCq qu 1\nwPp pr 1\nqJy qu 1\ndmY de 1\nuMj qu 1\nfKh th 1\nsqU qu 1\nvNp va 1\nCrj er 1\nhsH th 1\nVwn an 1\nSdy de 1\nFpw pr 1\nWcq ch 1\npjW ij 1\ndwW de 1\ngjX ng 1\nyZk ka 1\ncKg ch 1\nxdR de 1\nwqW qu 1\nkhD th 1\nvgG ng 1\nvMl le 1\nqnQ an 1\nhJt th 1\nfvC va 1\ncpR ch 1\nWtt th 1\nuyX qu 1\ncXf ch 1\nuKv qu 1\ngVv ng 1\nxzg ng 1\ncPq ch 1\nfTn an 1\nsFj st 1\nmzX sz 1\ngMq qu 1\nrxI er 1\neYf er 1\nkwB ka 1\neQk er 1\njBq qu 1\nlbH le 1\nqCt th 1\nWnv an 1\ngYd ng 1\nZxe er 1\nfZj ij 1\nHgj ng 1\nbRj ij 1\nfpR pr 1\ncbR ch 1\nlqT qu 1\ncMt th 1\ntQy to 1\nvxG va 1\ngpB ng 1\nGkw ka 1\nzqX qu 1\ntPw th 1\nfnN an 1\nGkp ka 1\nmvQ va 1\nhHf th 1\nwfS wa 1\nqCx qu 1\nmqH qu 1\nhgR th 1\nMwg ng 1\nbqQ qu 1\nFkz sz 1\noFv on 1\nDdq qu 1\nuIo qu 1\nYfh th 1\nygQ ng 1\nfxh th 1\nZqd qu 1\nHtn th 1\nGvz sz 1\nzRw sz 1\nvCb va 1\nrjT ro 1\nrjD er 1\nQpm me 1\nXdb de 1\nLkf ka 1\nAjx ij 1\nYlz le 1\nQtb th 1\nbHz sz 1\nbDg ng 1\nLqx qu 1\nyhW th 1\nzLv sz 1\nxgK ng 1\neWq qu 1\nsjS st 1\nqVe qu 1\nOkq qu 1\nEwj ij 1\nDsv st 1\njhI th 1\nxGf fo 1\nOkx ka 1\nFqx qu 1\ndPv de 1\nzsK st 1\nqLn an 1\nfkB ka 1\ncCb ch 1\ngNp ng 1\nQwd de 1\nzTf sz 1\nPqq qu 1\nrFv ro 1\nRwt th 1\nuKc ch 1\nhqN th 1\nkmK ka 1\nwuC qu 1\npnZ an 1\ntgM th 1\nQds st 1\nAxq qu 1\nxwO wa 1\neQg ng 1\nmFj ij 1\nDpm me 1\npQm me 1\naFp an 1\nmfB me 1\nfpA pr 1\njgZ ng 1\nlGk le 1\nxcA ch 1\ngWw ng 1\nlzF le 1\nxsQ st 1\nbQx be 1\nwjc ch 1\nbDc ch 1\nWpz sz 1\nrfV er 1\nZbs st 1\nhKq th 1\nqXa ar 1\nwjA ij 1\nvzS sz 1\ncWy ch 1\ngjK ng 1\nyRb be 1\nqgU qu 1\npqF qu 1\nqnU an 1\nZqc ch 1\nXqg qu 1\nzLq qu 1\ngzV ng 1\nKqs qu 1\nzgZ ng 1\njqG qu 1\npqJ qu 1\nIeq qu 1\nhjH th 1\nvmN va 1\niuF qu 1\nwGy wa 1\nKdh th 1\nhQb th 1\njWr er 1\nCxy ny 1\nKqz qu 1\nwXr er 1\nxoQ on 1\nwBh th 1\nqyI qu 1\nqhC th 1\nVpy pr 1\nnJb an 1\nuGw qu 1\nhhX th 1\nmjS ij 1\nScv ch 1\nhFw th 1\nbKg ng 1\nXmn an 1\nbdT de 1\nsJq qu 1\nxTm me 1\nqjz qu 1\nMqp qu 1\ndHp de 1\nrRn ar 1\nXlf le 1\ncNs ch 1\nXql qu 1\niFz in 1\nNlk le 1\nsPw st 1\nvWq qu 1\nwXt th 1\nFnq an 1\nozJ on 1\nzIg ng 1\nlSf le 1\nwRc ch 1\nBvp va 1\nWwr er 1\npWg pr 1\npLk ka 1\nkrJ er 1\nZfv va 1\nyIx ny 1\noKx on 1\nqLb qu 1\ndHj de 1\noqK qu 1\ncxC ch 1\nwJh th 1\nwZd de 1\ncWz ch 1\nyqS qu 1\nkXq qu 1\nfYd de 1\ndGy de 1\ndDt th 1\npKg ng 1\nXjd de 1\nsjM st 1\nsfC st 1\ndMh th 1\ndZp de 1\nwcD ch 1\nQoj on 1\ngxC ng 1\nZfn an 1\nhYv th 1\nxWq qu 1\ngZw ng 1\npQi in 1\nXlb le 1\ngQz ng 1\nnbZ an 1\nEzx sz 1\nwNg ng 1\nXrj er 1\ncxX ch 1\ndQp de 1\nYpn an 1\npNp pr 1\npbQ pr 1\ngMv ng 1\nqeF qu 1\nuVv qu 1\ndVk de 1\nuMv qu 1\njQn an 1\nmhP th 1\niTb in 1\nPvw va 1\nzCw sz 1\nwcR ch 1\nsvU st 1\nnMz an 1\ncjE ch 1\njmH ij 1\nQzc ch 1\nmqc ch 1\nqlU qu 1\nZvp va 1\nxHl le 1\ngqB qu 1\nxsN st 1\nkCj ij 1\nOlx le 1\nGxw wa 1\nxwV wa 1\nfPb be 1\nRhv th 1\npgV ng 1\nQdp de 1\nzFs st 1\nklQ le 1\nyJd de 1\nrxE er 1\nuHv qu 1\nwKl le 1\nwpJ pr 1\nCjr er 1\ntYg th 1\nVpz sz 1\nZxh th 1\npQl le 1\nFxe er 1\nQok on 1\nplK le 1\nlpX le 1\njdP de 1\nZqy qu 1\nyRz sz 1\nnDg an 1\nkqL qu 1\nugW qu 1\nMbf be 1\nKql qu 1\nNqw qu 1\nJzw sz 1\nsGn an 1\nwDv va 1\nJjk ij 1\nztQ th 1\nhwP th 1\nwDp pr 1\ngfG ng 1\nqhL th 1\ncUv ch 1\nWbk ka 1\nfkF ko 1\nPqv qu 1\nnbK an 1\nqSz qu 1\nvwI va 1\ncFc ch 1\nqfG qu 1\nrhF th 1\nxzl le 1\ndNc ch 1\nzwR sz 1\nwzK sz 1\nbQa an 1\nhLq th 1\nfUv va 1\nrHg ng 1\nuJj qu 1\nFhz th 1\nNzm sz 1\ngRz ng 1\nqXf qu 1\nTzm sz 1\nZkx ka 1\nhLx th 1\nUkd de 1\nfMf fo 1\nvGp va 1\njtI th 1\nhxE th 1\njrH er 1\nFgh th 1\ndlF le 1\njcO ja 1\nsCw st 1\nBqh th 1\nkZy ka 1\nfOh th 1\nrJb er 1\nrjV er 1\nKwq qu 1\nHcw ch 1\nmCw ma 1\n","i8", -B,q.g+221368); -C("hxM th 1\njTb ij 1\nmmQ me 1\npjR ij 1\ncdP ch 1\nZjs st 1\njqF qu 1\nvMn an 1\nMqs qu 1\nsvX st 1\niXn an 1\nnwR an 1\nytR th 1\nVjb ij 1\nCjl le 1\npXd de 1\nGwu qu 1\nqIj qu 1\nkQn an 1\nfYm me 1\nvtZ th 1\nUsx st 1\nnfP an 1\ndQx de 1\noXf on 1\nfEw wa 1\nsgX ng 1\ncPp ch 1\nybW be 1\nkcW ch 1\nkHf ka 1\nvcU ch 1\ntXo th 1\nKzh th 1\nCfq qu 1\nUjy ij 1\nFxa an 1\nhxS th 1\ntWx th 1\nmlK le 1\nnZj an 1\nqOv qu 1\nXkt th 1\nFzf sz 1\nuTd qu 1\nqrS qu 1\nPtw th 1\ndDs st 1\nrNm er 1\nEwf wa 1\nhJk th 1\nHdq qu 1\nJtw th 1\nkqc ch 1\nnHq an 1\nrhH th 1\noqH qu 1\nvpZ va 1\nDgd ng 1\nqxV qu 1\nCxv va 1\nplV pr 1\nkIi in 1\nKhc th 1\njsY st 1\nfLh th 1\nYkq qu 1\nQmx me 1\nzvI sz 1\nyhS th 1\nqfg qu 1\nwxZ wa 1\njVy ij 1\nkQw ka 1\nzXv sz 1\nLhs th 1\nMkq qu 1\njkU ij 1\nYhq th 1\nzrH er 1\nvhG va 1\ndrD er 1\nPsj st 1\ngDf ng 1\nXjj ij 1\npLm me 1\nklC le 1\nhTx th 1\nzrJ er 1\nXgk ng 1\nWxf fo 1\nfdD de 1\njHp ij 1\nyDw wa 1\nkPv ka 1\nRkm ka 1\nmzg ng 1\nlHz le 1\nvpR va 1\nwZt th 1\npBd de 1\nqPf qu 1\nhNw th 1\nNvj ij 1\npyU pr 1\nSjh th 1\nKzx sz 1\noQp on 1\nxdL de 1\ndnZ an 1\nqfB qu 1\nkJc ch 1\nfWn an 1\nXmc ch 1\nrGx er 1\nsFf st 1\nVwv va 1\ntKd th 1\nsQx st 1\noNm on 1\nuXj qu 1\nXsq qu 1\nyWc ch 1\nhfC th 1\nIjd de 1\ndkW de 1\nNxn an 1\njuC qu 1\nbPy be 1\nlKs le 1\naLq an 1\njPp ij 1\nwpZ pr 1\nfjE ij 1\nzNt th 1\nmhN th 1\nbQn an 1\nbxB be 1\nfdX de 1\nJcv va 1\nFdp de 1\nwVx wa 1\ntmU th 1\nnjJ an 1\nqzK qu 1\njtD th 1\nbcX ch 1\nGhx th 1\nxZj ij 1\nvKw va 1\npvO va 1\ngXs ng 1\nwRv va 1\nhgN th 1\ngpO ng 1\nhWc th 1\nUpq qu 1\nvwD va 1\nmxE me 1\nZvm va 1\nozM on 1\nfbJ be 1\ntpQ th 1\nyeV er 1\nZnb an 1\nwXv va 1\nbcY ch 1\nsgZ ng 1\nqfM qu 1\nfcL ch 1\nmXl le 1\nuBq qu 1\njxW ij 1\nmtU th 1\nqgJ qu 1\ndAq qu 1\njBv ij 1\nGty th 1\nJfm me 1\nxqQ qu 1\ncBp ch 1\nXqd qu 1\nfvM va 1\nuWm qu 1\nrSb er 1\nXqj qu 1\nqTd qu 1\nlLg ng 1\nJrp er 1\noJb on 1\npXy pr 1\nzrQ er 1\ncnT ch 1\nqsE qu 1\npZc ch 1\nbVy be 1\nqIz qu 1\ndgR ng 1\nmLv va 1\nhVl th 1\nqRj qu 1\nfhA th 1\nzLc ch 1\nSgq qu 1\npLc ch 1\nTxq qu 1\nypY pr 1\ntXz th 1\ndcC ch 1\niYf in 1\nWwm me 1\nkZk ka 1\nYwr er 1\ngFv ng 1\nFmz sz 1\nuQq qu 1\nxwR wa 1\nYfc ch 1\naIo an 1\nsBq qu 1\nGzb sz 1\njwI ij 1\ncFf ch 1\naWv an 1\nEaw an 1\nvkW ka 1\nNfh th 1\nflN le 1\nLpm me 1\nylK le 1\nZnr an 1\nmcQ ch 1\nkfE ka 1\nIyf ny 1\nqrV qu 1\nfPx fo 1\nfgJ ng 1\njIi in 1\nbPw wa 1\nQyx ny 1\nQnb an 1\nWdm de 1\nnJt th 1\nqCd qu 1\ngZl ng 1\nNlz le 1\nZwh th 1\niWl in 1\nbUu qu 1\nlbJ le 1\nsNq qu 1\nqjU qu 1\nwbT wa 1\nyNc ch 1\nmxM me 1\npHk ka 1\nRdq qu 1\ngkE ng 1\nhbN th 1\nTgq qu 1\ngjV ng 1\nGjw ij 1\ngqX qu 1\nqXx qu 1\nvQq qu 1\npNb pr 1\nfJy ny 1\nyvZ va 1\nzNl le 1\nzDb sz 1\nlUz le 1\nDxy ny 1\nWwn an 1\nhPn th 1\nkNb ko 1\nWdb de 1\nzXt th 1\npjL ij 1\ntJg th 1\njmM ij 1\nbXg ng 1\nhTv th 1\nYsf st 1\nhmQ th 1\nVyq qu 1\nFpd de 1\nyQw wa 1\nPbn an 1\nxVj ij 1\nwhP th 1\nfSg ng 1\nGxz ze 1\nDfw wa 1\nrMx er 1\nzMf sz 1\nvJw va 1\nxJl le 1\nxfN fo 1\ndQw de 1\nfuD qu 1\nxjB ij 1\nlPj le 1\nmqA qu 1\nmfM me 1\nkwG ka 1\neaY an 1\nVmm me 1\nzfS sz 1\nFmy me 1\nsqP qu 1\nfKk ka 1\nQdv de 1\ndjZ de 1\nqrR qu 1\ntxK th 1\nbxH be 1\njRb ij 1\ncjD ch 1\nSxw wa 1\nSxh th 1\nvrZ er 1\nxmH me 1\ndfH de 1\nfJw wa 1\nmwZ me 1\nvRm va 1\nxwj ij 1\nXqr er 1\nGvj ij 1\nhzF th 1\nxnK an 1\nxhU th 1\nNls le 1\nzbV sz 1\nfTq qu 1\nWxv va 1\nupG qu 1\nqAo qu 1\nkKx ka 1\nzlD le 1\nhTl th 1\nGqr qu 1\nGxm me 1\nzPj sz 1\nbvZ va 1\njHc ch 1\niXg ng 1\nKgz ng 1\nJyi in 1\nvFh th 1\nytW th 1\nqBd qu 1\nXjq qu 1\ndgO ng 1\nmjN ij 1\nDjg ng 1\nzIj sz 1\nuDx qu 1\nqJf qu 1\nfAx fo 1\nFsj st 1\nyDf ny 1\nxjV ij 1\nhdB th 1\ndwG de 1\nslW le 1\nzYb sz 1\nvzO sz 1\nvqO qu 1\nJzv sz 1\nxmG me 1\nKdw de 1\nxVq qu 1\njtE th 1\nkJy ka 1\nxjW ij 1\nmwR me 1\nzVx sz 1\ntMj th 1\nqqb qu 1\nnlQ le 1\nbxQ be 1\nhJv th 1\njnY an 1\nyfS ny 1\nMdw de 1\nzZc ch 1\nysJ st 1\nQqv qu 1\nzxl le 1\njAq qu 1\nlJw le 1\nkwJ ka 1\nsxC st 1\nhJr th 1\nxGp pr 1\nccF ch 1\nvGq qu 1\nqSc ch 1\nfqq qu 1\nkkV ka 1\ngVq qu 1\nWqg qu 1\nkJp ka 1\nWlr er 1\nJwz sz 1\nqEa an 1\nkrL er 1\ntqE th 1\neJz er 1\nWhx th 1\nvWw va 1\nQzh th 1\npcF ch 1\nVmx me 1\ndvC de 1\nqjZ qu 1\npkF ka 1\ncvO ch 1\nQyv va 1\nhNs th 1\nsnJ an 1\nyjU ij 1\nYfq qu 1\nxLw wa 1\nrVz er 1\ngOw ng 1\nfxL fo 1\nsnW an 1\nyWk ka 1\nwgK ng 1\naTf an 1\neVf er 1\nvZp va 1\nuVp qu 1\nVjh th 1\nzwT sz 1\nwSn an 1\nnNp an 1\ngfF ng 1\nhcW th 1\ngTf ng 1\nqaJ an 1\nkzY sz 1\nljX le 1\nwMm me 1\nbtB st 1\nzfE sz 1\nbxO be 1\nwPc ch 1\nfgK ng 1\nfzW sz 1\ndcX ch 1\nqqR qu 1\nkjq qu 1\nvMh th 1\ngZj ng 1\nqtw th 1\nvkY ka 1\nlCb le 1\ndpO de 1\nmXm me 1\nvWc ch 1\nfOq qu 1\nVgy ng 1\ndkD de 1\nfQh th 1\nvIq qu 1\nlZr er 1\nzKn an 1\nVpt th 1\nDmw me 1\nNwf wa 1\nkYl le 1\njpJ ij 1\nqXi qu 1\nBnj an 1\nxfK fo 1\nfCc ch 1\nvPd de 1\nQnp an 1\nypW pr 1\nuwJ qu 1\nPvb va 1\ncnC ch 1\nhvA th 1\nhGz th 1\nnZx an 1\nkbS ka 1\nSwx wa 1\nhvP th 1\nkqG qu 1\nbLq qu 1\nqjP qu 1\nsUo on 1\nlDq qu 1\nZlp le 1\ndwQ de 1\ndlN le 1\nfTl le 1\nNpv va 1\nbMn an 1\ndNz sz 1\nefV er 1\naCw an 1\naWf an 1\nLqo qu 1\nfzT sz 1\nJjr er 1\nzvK sz 1\nnwT an 1\nfXr er 1\ncGm ch 1\nlvS le 1\nqDq qu 1\nqRm qu 1\nvYt th 1\niQv in 1\nfkH ka 1\nfcO ch 1\nrNn an 1\nqmS qu 1\nkzR sz 1\nDfc ch 1\nqUs qu 1\nxqP qu 1\nsXk st 1\nXyt th 1\npWt th 1\njbL ij 1\njYd ij 1\nkqV qu 1\nFqm qu 1\nxoX on 1\nzuX qu 1\nxUq qu 1\ncgC ch 1\nwBq qu 1\ngQp ng 1\njnE an 1\nyZs st 1\nfkD ka 1\nsVk st 1\nqyX qu 1\ncBf ch 1\nCjy ij 1\ndPq qu 1\nwDg ng 1\ndxB de 1\nDkm ka 1\nkPp ka 1\nhWz th 1\nBjv ij 1\nIzf sz 1\nHnk an 1\nrQc ch 1\nJwu qu 1\nfbP be 1\nfrQ er 1\nAov on 1\nyqQ qu 1\njfY ij 1\nxsH st 1\nzxh th 1\nJbj ij 1\nMjz sz 1\ngRp ng 1\nGvw va 1\nmzF sz 1\noqF qu 1\nejU er 1\nxmQ me 1\nhOq th 1\npwX pr 1\nzgK ng 1\nwLk ka 1\nfqc ch 1\ndPm de 1\ntCg th 1\nqrF qu 1\npWl le 1\nrDf er 1\nYnw an 1\njnQ an 1\ntFb th 1\nrpU er 1\npPj ij 1\nyjM ij 1\njmY ij 1\nCpz sz 1\nuDn an 1\nuqY qu 1\nPjx ij 1\nqFv qu 1\nKtf th 1\nJcj ch 1\nkpO pr 1\npgZ ng 1\nkfO ka 1\ntZv th 1\njHq qu 1\ncRq ch 1\nzDm sz 1\nlPm le 1\nsvP st 1\nqkx qu 1\nbNp pr 1\nKjq qu 1\nvqS qu 1\nfQp pr 1\ntxR th 1\nHpf pr 1\niQg ng 1\nvvP va 1\niGf in 1\ntjI th 1\npWn an 1\nQqg qu 1\nqiF ti 1\nZzr er 1\naYf an 1\nzjA sz 1\nkwR ka 1\ngkM ng 1\nCjf ij 1\nzgM ng 1\nRxk ka 1\nbCd de 1\nYpv va 1\nwyE wa 1\niyB in 1\nhQp th 1\nipQ in 1\nUcj ch 1\nqkW qu 1\nkrK er 1\nHpp pr 1\nxnN an 1\njwB ij 1\nZdm de 1\nmYj ij 1\ntQx th 1\nqwS qu 1\nHxo on 1\nqDx qu 1\ncXd ch 1\ngdO ng 1\naEo an 1\nTwd de 1\navQ an 1\nlhZ th 1\nlzV le 1\nbHf be 1\nbJn an 1\nUqz qu 1\nuFy qu 1\njNl le 1\nxBp pr 1\ndRb de 1\nnlT an 1\nwrO er 1\nlzW le 1\nfYf fo 1\nmRw me 1\nrXy er 1\nqyR qu 1\nfGv va 1\nUwk ka 1\nkXm ka 1\nhJy th 1\nXgv ng 1\nxYv va 1\nyYd de 1\nxzC sz 1\ngjB ng 1\njzI sz 1\nzrO er 1\ntqF th 1\nvwM va 1\nzCq qu 1\nljL le 1\nvnZ an 1\neDq qu 1\nQvq qu 1\npfL pr 1\niRb in 1\ngdR ng 1\nqAv qu 1\nvnL an 1\nmkT ka 1\npVk ka 1\nxKh th 1\njNk ij 1\njLt th 1\ncNp ch 1\ntmP th 1\nvVt th 1\nqfP qu 1\nUqo qu 1\nDnp an 1\nyGb be 1\nsHd st 1\npwF pr 1\nfPy ny 1\nDrq qu 1\nbJh th 1\nsQp st 1\nIws st 1\nuCw qu 1\nLwj ij 1\nrFw er 1\nsJp st 1\nxiI in 1\nRqv qu 1\nbkQ ka 1\nqNp qu 1\ndYl le 1\nVmf me 1\nlYc ch 1\noPw on 1\nkjO ij 1\nmKb me 1\nfDf fo 1\nfFb be 1\nVhv th 1\nHjq qu 1\nqfK qu 1\nKjp ij 1\nvTg ng 1\npBq qu 1\nHtd th 1\npNd de 1\nbQv va 1\naSx an 1\njwx ij 1\nUyx ny 1\nwVj ij 1\nIoq qu 1\nNhm th 1\nHqh th 1\nrUq qu 1\nbBx be 1\nGqb qu 1\nCcw ch 1\nhZw th 1\nQbl le 1\nxFv va 1\nsZv st 1\nqzY qu 1\npDb pr 1\ncfR ch 1\nrqk qu 1\nfzP sz 1\nhqO th 1\npzH sz 1\nqSj qu 1\npxJ pr 1\nxbq qu 1\nsXf st 1\nybT be 1\nsHn an 1\nvTz sz 1\nPgf ng 1\nhKw th 1\njPj ij 1\nwTx wa 1\njSj ij 1\nFgz ng 1\nbKk ka 1\neUj er 1\ncDf ch 1\nxFg ng 1\ncnW an 1\ntUy th 1\nJgx ng 1\nyuF qu 1\nvyQ va 1\nxCz sz 1\njRh th 1\ncXx ch 1\nkGk ka 1\nXnh th 1\nqPh th 1\nlfZ le 1\nqVa an 1\nxws st 1\nDzt th 1\nxfG fo 1\nfXh th 1\njgV ng 1\nvJj ij 1\nbXj ij 1\ncgG ch 1\nvuW qu 1\ntxG th 1\nZxz sz 1\nfNc ch 1\noBq qu 1\nWgv ng 1\nHwz sz 1\noaW an 1\nvRg ng 1\nuXz qu 1\nfzQ sz 1\nbcB ch 1\nBnw an 1\ngvB ng 1\nrQm er 1\ncvU ch 1\nxhR th 1\nzxR sz 1\nbtZ th 1\nKkf ka 1\nzJw sz 1\nuwq qu 1\npSx pr 1\nyRv va 1\nnCq an 1\ntGv th 1\nwgT ng 1\nkNz sz 1\noHk on 1\nWzw sz 1\nhvU th 1\nskX st 1\nvYz sz 1\njoZ on 1\nnGq an 1\nqmM qu 1\nBmr er 1\nsVg ng 1\nuCv qu 1\niXz in 1\nvKp va 1\nlEw le 1\nhhF th 1\niwS in 1\nqyU qu 1\njjY ij 1\nYgm ng 1\nwJd de 1\neQp er 1\nYfb be 1\nWpg ng 1\njdS de 1\nvmG va 1\nmdT de 1\ngrZ ng 1\nyqN qu 1\npBp po 1\nfkZ ka 1\nqeB qu 1\ncGs ch 1\nEqg qu 1\ncfO ch 1\nuSx qu 1\nDhf th 1\nQjr er 1\nxqZ qu 1\nyQf ny 1\nnpY an 1\nxDc ch 1\nbmQ me 1\nkMb ka 1\naqC an 1\njYl le 1\nwkD ka 1\ncWs ch 1\nyyJ ny 1\nwvV va 1\nlYb le 1\nqrW qu 1\nbqz qu 1\nwjC ij 1\nvKy va 1\nvjD ij 1\nsDs st 1\nfKf fo 1\nzsT st 1\njYc ch 1\nYwt th 1\nHjw ij 1\nwIy wa 1\nffU fo 1\nWnx an 1\neHq qu 1\nfWy ny 1\nNwv va 1\nySj ij 1\njfC ij 1\nxXq qu 1\ngrI ng 1\noVf on 1\nVfy ny 1\njgY ng 1\nHjp ij 1\nzqC qu 1\nqyH qu 1\nkcQ ch 1\nzsE st 1\npCx pr 1\nkwP ka 1\njfQ ij 1\nwZg ng 1\nVxm me 1\nJvb va 1\nsEw sz 1\njLl le 1\ndOx de 1\nwpS pr 1\nyIo on 1\ntGt th 1\nvHz sz 1\nxGj ij 1\ngvQ ng 1\npNr er 1\ngqY qu 1\nsfK st 1\ndYd de 1\nsMm st 1\noBx on 1\nqsF qu 1\nbmI me 1\ntmC th 1\nwlW le 1\nTwg ng 1\nsrV er 1\nrNz er 1\nUuc ch 1\nGjg ng 1\nnjY an 1\nvOh th 1\nQmh th 1\nFnf an 1\nyvY va 1\npGf pr 1\nlHp al 1\nqgZ qu 1\njbS ij 1\nxQi in 1\ntqG th 1\nnwI an 1\nqkY qu 1\nWxy ny 1\nhDm th 1\nqQe qu 1\niJp in 1\nxrN er 1\ndGg ng 1\nkQx ka 1\nJqg qu 1\nhMk th 1\nljT le 1\nXkn an 1\nztq th 1\nqNd qu 1\nsuY qu 1\nUoa an 1\ndjR de 1\nmFf me 1\njzq qu 1\nzjR sz 1\nNnl an 1\ntJp th 1\ngZr ng 1\nBwx wa 1\ndWz sz 1\nlwM le 1\nIqk qu 1\ntwZ th 1\nMwt th 1\nkjY ij 1\nzBv sz 1\niwF in 1\nrHz er 1\nSqh th 1\noKq qu 1\nqjO qu 1\nhtQ th 1\ncKx ch 1\nbqW qu 1\nkYh th 1\ntBq th 1\ngmJ ng 1\neYx er 1\nhGv th 1\nhQd th 1\npnX an 1\nbvJ va 1\nsxM st 1\nqNt th 1\nWlj le 1\nkqD qu 1\nqdZ qu 1\nmhY th 1\ntlC th 1\npqI qu 1\nybD be 1\nxAe er 1\npLt th 1\nlHb le 1\nxVc ch 1\ndhN th 1\nqxU qu 1\ndVf de 1\nZkm ka 1\nkpD ka 1\npjH ij 1\nyGm me 1\niyP in 1\nwmK me 1\nmJz sz 1\nfmL me 1\ncBv ch 1\nVvf va 1\nEql qu 1\nohV th 1\nlCx le 1\noWc ch 1\nnzX an 1\nfIj ij 1\nkPt th 1\npYm me 1\nzhG th 1\ncqN ch 1\numQ qu 1\nwXs st 1\nlZj le 1\nSxs st 1\nKqd qu 1\ntWc th 1\nKcc ch 1\npvB po 1\ntgR th 1\nyrN er 1\nxQr er 1\nXvz sz 1\nlJh th 1\nXfk ka 1\nFvr er 1\nfUb be 1\nlZb le 1\ngdI ng 1\njoI on 1\nyKq qu 1\ntwz th 1\nqJj qu 1\nvxM va 1\nVzs st 1\nfjR ij 1\nKmz sz 1\nqIw qu 1\njyD ij 1\nqbU qu 1\nqkZ qu 1\njVg ng 1\nFhj th 1\nqJq qu 1\nwPq qu 1\nUeo er 1\nzXd sz 1\ngFb ng 1\njJy ij 1\nNsj st 1\nlMb le 1\nyQn an 1\ndnM an 1\nyRg ng 1\nFjc ch 1\ndKg ng 1\ngqV ng 1\ngCk ng 1\nsOz st 1\nhlO th 1\nqbN qu 1\nsjN st 1\nUjz sz 1\nrVm er 1\nWjs st 1\nbmM me 1\nVzx sz 1\nhZg th 1\nzFt th 1\nyhJ th 1\nvNk ka 1\nzbT sz 1\nxmJ me 1\nFcs ch 1\nyTc ch 1\ncSg ch 1\nqmP qu 1\nmFz sz 1\nbdI de 1\njlK le 1\nbnB an 1\nqyQ qu 1\nVjk ij 1\nhzU th 1\nqgp qu 1\nlqW qu 1\nfNn an 1\nTjp ij 1\nvlV le 1\nrVp er 1\nbLd de 1\nydQ de 1\ngYg ng 1\nqhE th 1\nGsq qu 1\ngWz ng 1\nQtk th 1\nHzw sz 1\nkIo ho 1\nkfC ka 1\nzBg ng 1\njJp ij 1\neIq qu 1\nvuB qu 1\nWbg ng 1\nJjp ij 1\nlXk le 1\nTfx fo 1\nzLl le 1\ndqT qu 1\noZq qu 1\nJfu qu 1\nQhh th 1\nqkK qu 1\nEjc ch 1\nzwN sz 1\nyQq qu 1\ndDp de 1\nPww wa 1\nztC th 1\njtH th 1\nyrX er 1\nvwT va 1\nyRh th ","i8", -B,q.g+231608); -C("1\nwQt th 1\nlXz le 1\ncfL ch 1\nFwl le 1\nrNw er 1\nBhx th 1\nglZ ng 1\ngcD ch 1\nSfs st 1\nUzf sz 1\nTdl le 1\ndRn an 1\nvYw va 1\nxcD ch 1\nxcC ch 1\nlBx le 1\ngHq qu 1\nwJy wa 1\nyrO er 1\nvqF qu 1\ntYb th 1\nZjw ij 1\njLk ij 1\nHvf va 1\npnS an 1\npcT ch 1\nsFk st 1\ndcO ch 1\nzPw sz 1\nvNf va 1\nGdx de 1\ndlP le 1\njLx jo 1\njZj ij 1\nwwT wa 1\ntGx th 1\nfhS th 1\nXtk th 1\nxnW on 1\npkJ ka 1\nxIo on 1\nZxb be 1\nnOj an 1\nwHj ij 1\nfjS ij 1\nwdL de 1\njbN ij 1\nykO ka 1\nxqB qu 1\nqzN qu 1\nQbq qu 1\nFqw qu 1\njWw ij 1\nnxM an 1\ntpX th 1\nTtz th 1\nzsH st 1\nfjz sz 1\nxIg ng 1\nxkY ka 1\nFqa an 1\noGk on 1\nHnc an 1\njPq qu 1\nzlW le 1\nuRx qu 1\nuGx qu 1\njYv ij 1\nKpz sz 1\ngQo ng 1\nKwx wa 1\njNw ij 1\ntdD th 1\nyGj ij 1\nLbq qu 1\nRrc ch 1\nqvX qu 1\nhhK th 1\nkZx ka 1\nxDf fo 1\nPjf ij 1\ncgF ch 1\nvCk ka 1\nfWw ow 1\nmJp me 1\nfXe er 1\nuYp qu 1\njHk ij 1\nwdP de 1\nqFk qu 1\njrG er 1\nfgD ng 1\nfsG st 1\nVgb ng 1\nxAa an 1\ngtZ th 1\ntlq th 1\nTmw me 1\ngyY ng 1\nQxt th 1\nUxz sz 1\niVr in 1\nzqI qu 1\nNbw wa 1\nDhd th 1\nmOq qu 1\niBd in 1\ncqB ch 1\nzQq qu 1\nWbv va 1\nQks ka 1\nqPa an 1\ntfI th 1\nmZs st 1\npDs st 1\nnJj an 1\nzcp ch 1\ntWj th 1\nZxp pr 1\nvPy va 1\ndxK de 1\noPv on 1\nrjN er 1\noQh th 1\nvwH va 1\nQhp th 1\nxsU st 1\nkGq qu 1\nwjW ij 1\nPwx wa 1\nBbn an 1\nxOq qu 1\nqpN qu 1\nnbq an 1\nzpM sz 1\njmB ij 1\nNqj qu 1\nzYd sz 1\nYbc ch 1\nxcW ch 1\ngPg ng 1\nQys st 1\nBhq th 1\nyGx ny 1\nqxL qu 1\nJfd de 1\nmbV me 1\npkY ka 1\ncWl ch 1\nwBg ng 1\nvOw va 1\nGpb pr 1\nPpq qu 1\nfsX st 1\nvtQ th 1\nyCj ij 1\nyoY on 1\npwQ pr 1\nyGd de 1\nqtJ th 1\nnrZ an 1\neVx er 1\nNrq qu 1\nwtA th 1\nfHf fo 1\ngsQ ng 1\nhlC th 1\ndLc ch 1\nzjC sz 1\njvY ij 1\ntIj th 1\npvL va 1\nHhg th 1\nyMv va 1\nxMn an 1\ntYx th 1\nvVp va 1\nYnb an 1\nvmX va 1\nqjQ qu 1\nvQr er 1\nhQz th 1\nmNf me 1\nzfY sz 1\nxjS ij 1\njBm ij 1\njpq qu 1\nnJq an 1\nKnz an 1\ngGf ng 1\npZx pr 1\nGql qu 1\nUqm qu 1\neWv er 1\nfGg ng 1\nqsA qu 1\nuhY th 1\nxhH th 1\nyxS ny 1\nrxK er 1\nhNc th 1\nVwh th 1\naNv an 1\nQzv sz 1\nfQn an 1\njzH sz 1\nRvh th 1\nQpt th 1\nqXv qu 1\nphQ th 1\nQlb le 1\nbnQ an 1\nnjK an 1\nJjs st 1\ntJx th 1\niwX in 1\nnVd an 1\nkzA sz 1\nuwE qu 1\nTsq qu 1\nhqM th 1\nRnq an 1\nrDn an 1\nyNb be 1\nuqN qu 1\nfKw wa 1\nIqn an 1\nxHc ch 1\nWwq qu 1\ngMw ng 1\nyWf ny 1\nvcO ch 1\nGkm ka 1\nfRh th 1\ndMc nd 1\nZhx th 1\nqlH qu 1\nqUl qu 1\nzHf sz 1\nwCk ka 1\nQfj ij 1\nQkw ka 1\nmYh th 1\ndcU ch 1\njTf ij 1\nrjF er 1\nhxQ th 1\nwNf wa 1\nLgg ng 1\nFdu qu 1\ntJw th 1\nycQ ch 1\nxXf fo 1\nwwQ wa 1\nevQ er 1\nFcj ch 1\nCyq qu 1\ntpF th 1\nAxj ij 1\nzGg ng 1\nQbb be 1\nvfY va 1\noXd on 1\nwAq qu 1\nXbk ka 1\nwmR me 1\nrzN er 1\nfcB ch 1\nBwc ch 1\nxgS ng 1\ndQr er 1\nkJw ka 1\nbgx ng 1\npZs sz 1\nwfA wa 1\njmX ij 1\ndNp de 1\nVxr er 1\nRvb va 1\nwZl le 1\nwgA ng 1\nWrq qu 1\nJcq ch 1\nljW le 1\nqPt th 1\ngjY ng 1\njUo on 1\nmIj ij 1\nHpy pr 1\nMpj ij 1\nbkO ka 1\nAvz sz 1\nvKk ka 1\nBfz sz 1\nyYj ij 1\nEgq qu 1\nwxH wa 1\nzHh th 1\nsvA st 1\nzcP ch 1\nBxo on 1\nhSv th 1\nLxt th 1\nhBz th 1\ncWk ch 1\nxBv va 1\nhwN th 1\nmkJ ka 1\noNj on 1\nUgq qu 1\njZq qu 1\nxfP fo 1\nbYv va 1\nqxF qu 1\ndcI ch 1\ndhY th 1\ncvP ch 1\nqUy qu 1\nmxC me 1\nzPx sz 1\nNql qu 1\nYfw wa 1\nWgp ng 1\njgD ng 1\nQfq qu 1\nlcW ch 1\nqxy qu 1\nXpq qu 1\nwrD er 1\nbEo on 1\nbzV sz 1\nfwS wa 1\nmLj ij 1\nwMr er 1\nvFb va 1\nzfT sz 1\nnRk an 1\nkJh th 1\nRmw me 1\nnqR an 1\nqpO qu 1\nbHb be 1\nTkq qu 1\nsjG st 1\nqaT an 1\nPql qu 1\nhlQ th 1\nkzW sz 1\nyFc ch 1\nuBv qu 1\nvxO va 1\nqvC qu 1\nYqx qu 1\njCb ij 1\nQjk ij 1\nfBh th 1\nvKq qu 1\nrMg ng 1\nhRw th 1\nykU ka 1\nbUq qu 1\nvYv va 1\nPdx de 1\noGv on 1\njLy ij 1\nduY qu 1\nWcp ch 1\noGx on 1\nvGl le 1\nJdz sz 1\nijH in 1\nmlX le 1\njNr er 1\nkCq qu 1\nGhh th 1\nrMv er 1\nBgp ng 1\nbFt th 1\nuWl qu 1\ndXg ng 1\nWcf ch 1\ndbI de 1\nbGx be 1\nexQ er 1\njWj jo 1\npQb pr 1\njcH ch 1\nqOl qu 1\nmtL th 1\ncrC ch 1\npBh th 1\nWlz le 1\nnHn an 1\nHfp pr 1\nXpc ch 1\nUxp pr 1\nKsq qu 1\nxWk ka 1\nnqZ an 1\nCxd de 1\nzJx sz 1\nrWq qu 1\nCbq qu 1\nqqP qu 1\nlhU th 1\nUfv va 1\nUxg ng 1\nhJf th 1\nnvQ an 1\ndhF th 1\nCvb va 1\naPf an 1\nJxj ij 1\nDwp pr 1\nIxw wa 1\nkfS ka 1\nrZm er 1\nfmE me 1\nsLq qu 1\nbmR me 1\nuCs qu 1\nkFm ka 1\nKqk qu 1\nxQk ka 1\nSfn an 1\nfgU ng 1\nvvT va 1\nmQe er 1\nGbt th 1\ntbY th 1\nlQk le 1\ncIh th 1\nTjq qu 1\nnQg an 1\nyYp pr 1\nqPw qu 1\nxOa an 1\npNw pr 1\nfJz sz 1\nzHb sz 1\nkBh th 1\nfdE de 1\nwPg ng 1\nlVv le 1\nmPw me 1\nRmg ng 1\nxoE on 1\nhnJ th 1\nuvE qu 1\nWoq qu 1\nucX ch 1\nnmD an 1\npcX ch 1\nhDw th 1\ndgI ng 1\nvVd de 1\ntDh ch 1\njHn an 1\nhkX th 1\npxT pr 1\nxYz sz 1\nrTp er 1\nUbz sz 1\nLlm le 1\nyjZ ij 1\nQss st 1\ncfM ch 1\njbG be 1\nJfz sz 1\nmWb me 1\njDp ij 1\nlWz le 1\ncXy ch 1\noQr er 1\nucZ ch 1\ncvN ch 1\ncvK ch 1\nzDk sz 1\nbLr er 1\ndDl le 1\nhhD th 1\nvmK va 1\nhLt th 1\nmqW qu 1\nBfs st 1\nAcj ch 1\ndcG ch 1\nyJc ch 1\nmfS me 1\ndrL er 1\nqyK qu 1\ntQz th 1\njrL er 1\nccJ ch 1\nwpX pr 1\nZzf sz 1\nsnU an 1\nqEw qu 1\ntQb th 1\nmPd de 1\nvJq qu 1\nvpU va 1\nvzM sz 1\nuZb qu 1\nywU wa 1\nRjs st 1\nhKt th 1\nBfb be 1\nwuQ qu 1\nbvM va 1\nyiW in 1\nhqC th 1\niUq qu 1\nlBd le 1\nZxj ij 1\nwpW pr 1\nrHm er 1\nmhQ th 1\nfMb be 1\nvWf va 1\nFdq qu 1\njGb ij 1\nDhw th 1\ncjR ch 1\nkvD ka 1\nqvD qu 1\nXmk ka 1\nCjj ij 1\nkkX ka 1\nqkF qu 1\nvWg ng 1\nMsq qu 1\nnNv an 1\nHzu qu 1\nzrY er 1\nhgB th 1\npwB pr 1\nJxc ch 1\nvcJ ch 1\nsYw st 1\nTqx qu 1\neJf le 1\nczJ ch 1\nQyh th 1\nbvV va 1\nXyh th 1\nfjq qu 1\ndYc ch 1\npBx pr 1\njvR ij 1\ngbH ng 1\nygH ng 1\nhbV th 1\nlwU le 1\ntJk th 1\npIw pr 1\nVjl le 1\nDgm ng 1\nnvR an 1\nyRp pr 1\nfOj ij 1\nEcf ch 1\nZrf er 1\nmxD me 1\nIqf qu 1\nzBj sz 1\ntTs th 1\nlqB qu 1\nkCv ka 1\nnVh th 1\njGq qu 1\ncgQ ch 1\nPpd de 1\nJcd ch 1\nhhP th 1\nsLg ng 1\nxYt th 1\nQps st 1\nsfE st 1\nwxR wa 1\npFp pr 1\nYmf me 1\nJgy ng 1\nyvI va 1\nNcz ch 1\nwBf wa 1\nrVx er 1\njvX ij 1\nnYp an 1\nnNb an 1\ncQi ch 1\nQwy wa 1\nvPf va 1\nqvd qu 1\nhkD th 1\nWmr er 1\ngdY ng 1\nKjj ij 1\nqsN qu 1\nvJg ng 1\nmDc ch 1\nkvF ka 1\nkWx ka 1\nxYu qu 1\neMq qu 1\nmYy me 1\nHxt th 1\npbM pr 1\nHwd de 1\nmWu qu 1\nzNs st 1\nQjh th 1\naqD an 1\nGcd ch 1\nbtX th 1\nZql qu 1\nUjw ij 1\nyvM va 1\nHhw th 1\nzWd sz 1\npYj ij 1\nxWt th 1\nylO le 1\ncnX ch 1\ncMf ch 1\npKb pr 1\nwoV on 1\nfzG sz 1\nLqb qu 1\neOj er 1\nGtb th 1\nclX ch 1\nkdC de 1\ncfq ch 1\nhKk th 1\ncJi ch 1\nuSb qu 1\njgT ng 1\ntcG th 1\nqNv qu 1\nfpB pr 1\nvPw va 1\njmA ij 1\ndxI de 1\njGg ng 1\nBvg ng 1\nqrC qu 1\nnPx an 1\nQmn an 1\ncqC ch 1\nkFh th 1\nJtf th 1\nCqz qu 1\nrCd er 1\nZms st 1\ndVq qu 1\nGwg ng 1\ncwP ch 1\nwVu qu 1\ndNg ng 1\njXc ch 1\nMbz sz 1\nwvG ve 1\nVpw pr 1\nyXq qu 1\nhlK th 1\npYv va 1\nFbd de 1\nzcV ch 1\nrQk er 1\nwtN th 1\nqeI qu 1\neGt th 1\nkMq qu 1\nkqS qu 1\ncqd ch 1\npLf po 1\nxvO va 1\nrfH er 1\ngIq qu 1\nPqk qu 1\nxCn an 1\ndVs st 1\niqY qu 1\nbsJ st 1\nVww wa 1\nZnm an 1\nYrz er 1\nRvz sz 1\ndzK de 1\nzbW sz 1\ntkx th 1\nxkP ka 1\nkzS sz 1\ngXq qu 1\nLxf fo 1\nFwr er 1\nlHs le 1\nzrB er 1\njNb ij 1\nHxy ny 1\nGfw wa 1\nEgw ng 1\nJxw wa 1\ntVm th 1\nbwQ wa 1\ngIx ng 1\nWqu un 1\njvI ij 1\ncGc ch 1\nkSb ka 1\nhxG th 1\nzHm sz 1\nJpk ka 1\nfVb be 1\nUkf ka 1\nrxF er 1\ndVu qu 1\nsdX st 1\nmjM ij 1\nxwq qu 1\nOgk ng 1\nqhr th 1\nvfA va 1\nqbA qu 1\nLfu qu 1\nhzY th 1\niHf in 1\njxb ij 1\nvmP va 1\nbvI va 1\nfmH me 1\nqtx th 1\nbvQ va 1\nqzX qu 1\nbVn an 1\nXmt th 1\nqXo qu 1\npfD pr 1\nfCd de 1\nvbx va 1\nZhz th 1\nKwg ng 1\nrcJ ch 1\njlT le 1\njzM sz 1\nrpP er 1\ntmA th 1\naYw an 1\nzBq qu 1\nxhT th 1\nyLq qu 1\ncKf ch 1\nqdP qu 1\nYbx be 1\ndHs st 1\njhH th 1\nBsv st 1\nrZt th 1\nmhJ th 1\nZwq qu 1\nkXf ka 1\nzvT sz 1\nyiC in 1\ngkT ng 1\nnJw an 1\nzpV sz 1\ntPq th 1\ncVt th 1\ndBg ng 1\ncRf ch 1\nvRq qu 1\njgA ng 1\nbMz sz 1\nhJh th 1\nmHd de 1\nCkq qu 1\nqcj ch 1\nyIb be 1\nwqE qu 1\npMh th 1\nHqj qu 1\njZu qu 1\niqO qu 1\ntqC th 1\nqoK qu 1\nKnq an 1\nbQm me 1\nuuX qu 1\nWzc ch 1\nPxy ny 1\nQgf ng 1\nsFw st 1\ngHf ng 1\nkgN ng 1\nrCw er 1\nYjy ij 1\npnV an 1\nfbS be 1\niHz in 1\nkGx ka 1\nkwS ka 1\nsDm st 1\nVhk th 1\nphN th 1\nJbf be 1\npWz sz 1\nvvQ va 1\nvNm va 1\nlYw le 1\nzHx sz 1\nZzc ch 1\nbDt th 1\nFcv ch 1\ndJg ng 1\nQwb wa 1\nqFw qu 1\nwmO me 1\nBvy va 1\nqgY qu 1\nvYs st 1\nxwF wa 1\nqwP qu 1\nuEc ch 1\nmWq qu 1\nfzO sz 1\nbPg ng 1\npnW an 1\nhGx th 1\nVkk ka 1\nXrx er 1\ngJd ng 1\nLlq qu 1\nVqu un 1\nfgH ng 1\nVcy ch 1\nhVc th 1\nrwZ er 1\nXlc ch 1\nxJd de 1\nFnn an 1\nYpj ij 1\nlhJ th 1\naUj an 1\nlBp pr 1\ndlW le 1\npvV va 1\nMwr er 1\nZwc ch 1\nwcU ch 1\ncVq ch 1\nycU ch 1\nLcq ch 1\nrvQ er 1\neYm er 1\nqCn an 1\ndBx de 1\nIwq qu 1\ngMt th 1\nbhC th 1\nbDs st 1\nVhz th 1\nkJz sz 1\nOhz th 1\nkDz sz 1\nhTn th 1\neqG qu 1\ngJr ng 1\nZpz sz 1\nhwQ th 1\nfgY ng 1\nsdV st 1\nljV le 1\nyGg ng 1\nuWg qu 1\nsbO st 1\nqdD qu 1\nyJj ij 1\nnwq an 1\nApq qu 1\nccK ch 1\nQwl le 1\noyQ on 1\nlPw le 1\ncYt th 1\nbrG er 1\nxkT ka 1\ndUj de 1\nrhR th 1\nxPw wa 1\nxoF on 1\nhYj th 1\nhYw th 1\nlPn an 1\nzCg ng 1\nsJt th 1\nwDs st 1\nfVh th 1\nzwW sz 1\nyLj ij 1\naBx an 1\nDvv va 1\ntKb th 1\njfG ij 1\nxMm me 1\nbLp pr 1\nxwW wa 1\nbzH sz 1\ncIw ch 1\nzdN sz 1\nGgv va 1\nlwV le 1\nqyV qu 1\nvBv va 1\nOwm me 1\nLtx th 1\nmqE qu 1\nXjc ch 1\npzY sz 1\nJds st 1\nkMl le 1\nDdj de 1\ntfX th 1\ncqT ch 1\nbuG qu 1\noHb po 1\nvRx va 1\nqyq qu 1\nkpY ka 1\nvqN qu 1\njNq qu 1\ncWb ch 1\ngbJ ng 1\noZw on 1\ncBz ch 1\nPvv va 1\nljI le 1\nhvQ th 1\nkwY ka 1\nhBg th 1\nkdN de 1\nyxH ny 1\nfxH fo 1\ntXj th 1\nuBx qu 1\nuJm qu 1\nGxh th 1\nfjK ij 1\ngqO qu 1\ndMt th 1\nlVx le 1\nRhp th 1\ncDn ch 1\nXkv ka 1\nzmB sz 1\nqaY an 1\nIvq qu 1\nwmP me 1\nbjq qu 1\ncmU ch 1\nslC le 1\nKrx er 1\niVv in 1\nZwz sz 1\nyPd de 1\nqUv qu 1\nPdz sz 1\nQzk sz 1\nzoU on 1\nxJf fo 1\nUdq qu 1\nQwj ij 1\nKvd de 1\nvQw va 1\nRdk de 1\nsIj st 1\nGgt th 1\nlNw le 1\nqvr qu 1\nyqD qu 1\nfXl le 1\njqg qu 1\nqmA qu 1\nTgd ng 1\nzpO po 1\ntEz th 1\nBqz qu 1\nwfL wa 1\nvYu qu 1\nDxw wa 1\nqWl qu 1\nRzc ch 1\nmQo on 1\nTtc th 1\ntVv th 1\nRqn an 1\nWcn ch 1\nNwu qu 1\nxoJ on 1\nvDf va 1\nphH th 1\nfJs st 1\nPxm me 1\nrFb er 1\nhlM th 1\nmkX ka 1\nnnQ an 1\nXfn an 1\nsbZ st 1\nYyf ny 1\nBjw ij 1\nIlx le 1\nqpA qu 1\nMqc ch 1\ngqZ qu 1\nsNv st 1\nZvq qu 1\nkSx ka 1\nvBd de 1\nwvZ va 1\nUoe er 1\nFjy ij 1\nzKb sz 1\npvI va 1\nZll le 1\nhdE th 1\nFpv va 1\nlhV th 1\nrqQ qu 1\nwjG ij 1\npLq qu 1\nbpJ pr 1\nwzV sz 1\nHgq ng 1\nzhW th 1\nLvq qu 1\nXhr th 1\nquY un 1\njqZ qu 1\nvuH qu 1\nFzj sz 1\ngzG ng 1\ntFc th 1\nvfE va 1\nIgx ng 1\nfqY qu 1\ngYb ng 1\nlJg ng 1\nwcO ch 1\nQvk ka 1\nTqq qu 1\nbdY de 1\nwuT qu 1\nlHw le 1\nzRm sz 1\nHgw ng 1\ntPk th 1\nJqv qu 1\ntKx th 1\nxpA pr 1\nbkI ka 1\nbSj ij 1\nmxW me 1\nmjR ij 1\nOip in 1\nwyY wa 1\ndFc ch 1\nqDg qu 1\nwXp pr 1\nVbp pr 1\njyN ij 1\nyvP va 1\nyVr er 1\naWm an 1\nGjk ij 1\nApw pr 1\nZsw st 1\njQv ij 1\njbT ij 1\nbdB de 1\nkcY ch 1\nrqC qu 1\nbxD be 1\nvlx le 1\nkjJ ij 1\nxqW qu 1\nzxE sz 1\nsHf st 1\njuF qu 1\nkwX ka 1\noqW qu 1\nqWt th 1\nfHc ch 1\ncHc ch 1\nJjm ij 1\nxbA be 1\nRqj qu 1\nIjy ij 1\nvSx va 1\npVj ij 1\nrQx er 1\nfmK me 1\nfnA an 1\nPhv th 1\nbhN th 1\nHxp pr 1\nVjq qu 1\nlqC qu 1\nWhd th 1\nzsF st 1\ntYt th 1\nJzq qu 1\nNff fo 1\nqXs qu 1\nxJj ij 1\nlXn an 1\nZpv va 1\nqTh th 1\nnpH an 1\nkYx ka 1\nbBs st 1\nvEa an 1\npjq qu 1\nqIi qu 1\nFdk de 1\nfNx fo 1\nOfh th 1\nwXe er 1\nmvZ va 1\nCjs st 1\nFmm me 1\npkR ka 1\nzfZ sz 1\nZpm me 1\ncbA ch 1\ntvY th 1\nLmp me 1\ngFd n","i8", -B,q.g+241848); -C("g 1\nbFx be 1\nFjm ij 1\nwjF ij 1\nbjv ij 1\ndbT de 1\njmQ ij 1\nxFw wa 1\ncDk ch 1\nhFz th 1\nuGm qu 1\nYhx th 1\nVtl th 1\nazV an 1\nxJs st 1\nMxw wa 1\nvgK ng 1\ncwQ ch 1\nGnx an 1\nlbP le 1\nkdS de 1\nkDt th 1\nPvq qu 1\nyHs st 1\nLgq qu 1\nXmj ij 1\npvA va 1\nvUu qu 1\nQju qu 1\nqDf qu 1\nGxj ij 1\nGfz sz 1\ngbY ng 1\nSjf ij 1\nOgw ng 1\nhGt th 1\nbtT th 1\ngwH ng 1\nMwj ij 1\nfvU va 1\nfrG er 1\ncMx ch 1\nYdv de 1\nxkZ ka 1\nfjL ij 1\nyPx ny 1\ndrX er 1\njxR ij 1\nhYq th 1\nxHn an 1\njrP er 1\ntcJ th 1\nqJz qu 1\nzUd sz 1\njXj ij 1\nqDd qu 1\nBjh th 1\nqFz sz 1\nmxG me 1\nxOd de 1\nhgL th 1\ncpD ch 1\njhS th 1\nZqp qu 1\nyNq qu 1\npHq qu 1\nrZq qu 1\nWjy ij 1\nTfb be 1\nNwb wa 1\nzQk sz 1\nRkc ch 1\nQvw va 1\nwlJ le 1\ncFp ch 1\noDb on 1\nlsY le 1\nZbn an 1\nwCd de 1\nzxN sz 1\nbQf be 1\nKjy ij 1\nOvk ka 1\ncxA ch 1\nHqw qu 1\nhwY th 1\nsGv st 1\nRwn an 1\nzvH sz 1\nyVw wa 1\nzmX sz 1\nqdM qu 1\ndJv de 1\nwDj ij 1\nVhm th 1\nfLt th 1\nbvC va 1\nxVn an 1\nHfx fo 1\ntQl th 1\nlhW th 1\noqS qu 1\nQya an 1\ngZf ng 1\nbKy be 1\ntjX th 1\nVkc ch 1\nyjv ij 1\nbgN ng 1\nlNm le 1\nJzl le 1\nLwx wa 1\nvcL ch 1\nyXh th 1\nztZ th 1\nyJx ny 1\nnpV an 1\nswG st 1\nsXn an 1\neJb er 1\ndcR ch 1\nZrg ng 1\nPgv ng 1\nxYr er 1\njlI le 1\nFmf me 1\nGqk qu 1\nvlZ le 1\nCsq qu 1\nuQj qu 1\nlLm le 1\nhwK th 1\ncQv ch 1\nqfH qu 1\nrRw er 1\naUo an 1\nqpE qu 1\nlPc ch 1\ndHd de 1\ngqL qu 1\nzWp sz 1\nbBq be 1\nwWp pr 1\ncfK ch 1\nfWx fo 1\nrvV er 1\nzhR th 1\nKlh th 1\ncbQ ch 1\nJmg ng 1\nfPg ng 1\nQnn an 1\nsMq qu 1\naFz an 1\nsJs st 1\nPwj ij 1\njcL ch 1\ngmQ ng 1\nYqr qu 1\nCgz ng 1\nwqz qu 1\nfnI nt 1\nqOt th 1\nvyU va 1\nwQz sz 1\nvUa an 1\nxBt th 1\ndNm de 1\nEwx wa 1\nypD pr 1\nwxL wa 1\nqeN qu 1\nvkB ka 1\njBj ij 1\ngUj ng 1\nkQk ka 1\nfwO wa 1\nqQt th 1\nQrl er 1\ndTx de 1\nfWd de 1\njxK ij 1\nfHl le 1\njcY ch 1\noJs on 1\nsRx st 1\nuQg qu 1\nhhY th 1\nsdN st 1\nmxR me 1\nXsv st 1\nPcq ch 1\npkZ ka 1\nzDl le 1\nrIh th 1\nHnv an 1\njpA ij 1\nhZj th 1\nZnd an 1\nhZd th 1\nqrO qu 1\nSbx be 1\ntWp th 1\nHpd de 1\nHjz sz 1\nzcS ch 1\nkPz sz 1\nHtq th 1\ngcG ch 1\nXqx qu 1\nmZc ch 1\nXzv sz 1\nKgw ng 1\naUf an 1\nYmq qu 1\nwcY ch 1\noVh th 1\npdM de 1\nvzK sz 1\nlrX er 1\nydV de 1\nuqP qu 1\nfmN me 1\nOcg ch 1\nfLk ka 1\ncJs ch 1\nuGf qu 1\ncMk ch 1\ngTx ng 1\nxNc ch 1\nbHl le 1\nuWp qu 1\ndxL de 1\nzxG sz 1\ndVn an 1\nNbh th 1\nCxs st 1\ncvG ch 1\nwCf wa 1\nkjC ij 1\ncfY ch 1\nzcf ch 1\ndpW de 1\nPqy qu 1\ntlN th 1\nsIi in 1\nqxC qu 1\nKjm ij 1\nzZk sz 1\nFks st 1\ngWb ng 1\ntqK th 1\nJlv le 1\nkCk ka 1\nwhT th 1\nOwv va 1\nzKm sz 1\njql qu 1\ntGz th 1\ndCw de 1\nymQ me 1\nxnF an 1\nwuF qu 1\npFq qu 1\njyS ij 1\npjX ij 1\nlOj le 1\nJmd de 1\nZvz sz 1\njqM qu 1\njTd de 1\nqOi qu 1\noJg ng 1\nMjx ij 1\nTpb pr 1\nWtv th 1\njxO ij 1\ndBs st 1\ntNv th 1\nqTb qu 1\nvnU an 1\nzDx sz 1\npSq qu 1\nxRm me 1\nqUf qu 1\nmBb me 1\nqjI qu 1\nsIy st 1\ndCg ng 1\nqIx qu 1\npZp pr 1\nqDt th 1\nxrM er 1\nuOe qu 1\nxgO ng 1\ngrX ng 1\nPgg ng 1\nyVq qu 1\nqEu un 1\nkBc ch 1\nSgz ng 1\nhjX th 1\ngOq qu 1\npmW me 1\nGnw an 1\nxZl le 1\nhTd th 1\nGfq qu 1\nsLf st 1\nPgj ng 1\ntwF th 1\nmDk ka 1\nqdY qu 1\nvsZ st 1\nvcC ch 1\nDcj ch 1\nwUh th 1\nqId qu 1\nqrZ qu 1\ncbS ch 1\nXzc ch 1\nvWj ij 1\npvC va 1\nJrw er 1\nyxI ny 1\ndqI qu 1\nuCm qu 1\nvXd de 1\nWdp de 1\nDzc ch 1\nhdV th 1\nqbO qu 1\nJwk ka 1\nWqm qu 1\niXw in 1\nfYl le 1\nquQ un 1\nkjD ij 1\nmIh th 1\nxWw wa 1\noCw on 1\nZcv ch 1\njdN de 1\nuYb qu 1\nSrx er 1\npgU ng 1\nrQg ng 1\nmHf me 1\nfBt th 1\njVx ij 1\nvYc ch 1\nVgj ng 1\nqaS an 1\npxW pr 1\nmnJ an 1\nBww wa 1\nTqz qu 1\njFv ij 1\nxwM wa 1\nDqw qu 1\nmwI me 1\nvhW th 1\nsqX qu 1\ntlR th 1\naBh th 1\nqnZ an 1\ngXg ng 1\nsCj st 1\ngrN ng 1\ntYv th 1\nWwg ng 1\nfYi in 1\nbtF th 1\nwQn an 1\nZlt th 1\ncJz ch 1\nXbn an 1\ntLm th 1\nZlx le 1\nNmj ij 1\nhcG th 1\nWrk er 1\nNhc th 1\nvqD qu 1\nujY qu 1\niJd in 1\ndLf de 1\ncQn ch 1\nWfx fo 1\nhkZ th 1\nmhC th 1\nzMq qu 1\nzLz sz 1\nXgt th 1\nqKr qu 1\nyjJ ij 1\nrJm er 1\nVxc ch 1\nBxn an 1\ncnQ ch 1\nqkQ qu 1\nNlw le 1\nhWv th 1\nwdU de 1\nqtB th 1\nqIe qu 1\nqeY qu 1\nZrp er 1\nNhd th 1\nfDp po 1\nCnj an 1\nkxU ka 1\nBqv qu 1\nvXr er 1\nkBx ka 1\nfBn an 1\npMx pr 1\nkxR ka 1\nLzg ng 1\njBh th 1\nFjn an 1\nwpC pr 1\nfKy ny 1\nhwD th 1\nfqf qu 1\nqBy qu 1\nYcq ch 1\nNns an 1\njmZ ij 1\ngKw ng 1\ndqA qu 1\nBjg ng 1\nfGx fo 1\nLnp an 1\nwhU th 1\nqPd qu 1\nyMx ny 1\nwEj ij 1\nkmJ ka 1\nQsx st 1\nlCw le 1\nQqb qu 1\nhvJ th 1\nxkN ka 1\nuVg qu 1\nsQm st 1\nuJp qu 1\nYzn an 1\ncXh th 1\nsrI er 1\ntBz th 1\ncRj ch 1\nyIw wa 1\njHg ng 1\nxFp pr 1\nwJq qu 1\nqdF qu 1\nvKv va 1\nsHc ch 1\nhBf th 1\njDy ij 1\nGjx ij 1\nFkd de 1\nHhz th 1\nxSg ng 1\njFf ij 1\nqvM qu 1\noRw on 1\nxgX ng 1\ngjF ng 1\nqDz qu 1\nYcf ch 1\nXcw ch 1\nnfQ an 1\nqGs qu 1\nkGs st 1\nfxV fo 1\niPj in 1\nqgP qu 1\njIv ij 1\nVhu th 1\nBzj sz 1\nJvg ng 1\nVjf ij 1\nwTq qu 1\npDw pr 1\nYsv st 1\nztV th 1\nmtZ th 1\njFy ij 1\ngqC qu 1\nVsg ng 1\ngjS ng 1\nvXz sz 1\nbpK pr 1\nnDq an 1\nsKx st 1\nxYg ng 1\nfZd de 1\npxf pr 1\njqS qu 1\nhTb th 1\nNkq qu 1\nqpH qu 1\nvEz sz 1\nvqP qu 1\nvHw va 1\nDkp ka 1\ncqY ch 1\nmqS qu 1\nsVt th 1\nPxh th 1\nhxN th 1\nyTf ny 1\nwCj ij 1\nqQw qu 1\nVfv va 1\nyQd de 1\ngUc ch 1\nwsQ st 1\nfGw wa 1\nwKf wa 1\nwwB wa 1\nvFt th 1\ntwQ th 1\nnrB an 1\nlpY le 1\nxlR le 1\nfdK de 1\neFz er 1\njyQ ij 1\nlwT le 1\nxCw wa 1\ncgM ch 1\nwtV th 1\naqJ an 1\nbXu qu 1\nqdQ qu 1\nYxd de 1\nxcS ch 1\nnmV an 1\nrQd er 1\nGlk le 1\nqEm qu 1\nuvO qu 1\nsvF st 1\nsJx st 1\nQyg ng 1\nmXh th 1\nbtD th 1\nwGc ch 1\nfZo on 1\nEvx va 1\nvzD sz 1\nufC qu 1\nPxq qu 1\nqdt th 1\nrKz er 1\nJhh th 1\nCxk ka 1\nqxR qu 1\ngTl ng 1\nqGf qu 1\nwYh th 1\ncEh th 1\nbzU sz 1\nzWq qu 1\nrWb er 1\nWrp er 1\nsLc ch 1\nJpu qu 1\nJkf ka 1\nvgE ng 1\nBqk qu 1\noQs on 1\nkbZ ka 1\nrVf er 1\nqLw qu 1\nLrc ch 1\nxsR st 1\nhwB th 1\nQnk an 1\ncPz ch 1\nUcq ch 1\negJ ng 1\nQyq qu 1\nXwr pr 1\nxfD fo 1\nwyH wa 1\nlBw le 1\nMdx de 1\nQsy st 1\nzqV qu 1\nvpY va 1\nslY le 1\nwgL ng 1\nsnN an 1\nhVd th 1\nyKx ny 1\nbdW de 1\nlqL qu 1\nyhD th 1\ntNz th 1\nzJg ng 1\nkIx ka 1\nfHp pr 1\nyrJ er 1\nlrR er 1\nwzY sz 1\npgB pr 1\nmfC me 1\nqkL qu 1\njUu qu 1\nqCh th 1\nzlN le 1\nBgj ng 1\ngcE ch 1\nzRx sz 1\njhN th 1\neGz er 1\nFpq qu 1\nWvi in 1\nmBf me 1\nhhW th 1\noUq qu 1\ndxQ de 1\nWhq th 1\nrMk er 1\nlWd le 1\nxWz sz 1\noQn an 1\nmWx me 1\nnuV an 1\nwWz sz 1\nhvR th 1\nZwd de 1\nsmJ st 1\nHlh th 1\nsJh th 1\nzmY sz 1\nhZn th 1\nVjg ng 1\nJhz th 1\nmqR qu 1\nhcO th 1\ndqL qu 1\nBfh th 1\npkV ka 1\ntBx th 1\nHkc ch 1\nKqm qu 1\nqWv qu 1\nlXy le 1\nyRd de 1\nmjH ij 1\nqzA qu 1\nqxm qu 1\nQvm va 1\ngcM ch 1\nxqx qu 1\nkKv ka 1\nyoX po 1\nxrT er 1\ncWq ch 1\njqW qu 1\nsWj st 1\nSdw de 1\ndfR de 1\nKqn an 1\nGjd do 1\nQbd de 1\nyyK ny 1\nxmX me 1\nxuF qu 1\nyVg ng 1\nqoO qu 1\nGlq qu 1\nMkx ka 1\nxLb be 1\ngMr ng 1\nsCp st 1\nbGh th 1\ncXo ch 1\nzTz sz 1\nqkC qu 1\nhTp th 1\nqNf qu 1\nmXk ka 1\nxcZ ch 1\njVm ij 1\nbIi in 1\nqnH an 1\nnwC an 1\ndSg ng 1\nqoD qu 1\ntDx th 1\njdU de 1\nXmw me 1\nkNh th 1\njYr er 1\nYgp ng 1\nblJ le 1\nmFv va 1\nSxr er 1\nFzl le 1\njTq qu 1\ncIp pr 1\najY an 1\nyYb be 1\nrKb er 1\npzB sz 1\neIy er 1\nwfK wa 1\nFmh th 1\nufL qu 1\nXlm le 1\nCzg ng 1\nlPq qu 1\ntqV th 1\nwFy wa 1\nbQc ch 1\nkVw ka 1\nnMh th 1\ncCj ch 1\noeE er 1\nwHf wa 1\nfNf fo 1\nmXv va 1\nNkg ng 1\njWc ch 1\nzFj sz 1\nKfx fo 1\nbgY ng 1\nlYz le 1\ncgD ch 1\npgM ng 1\nfhH th 1\njrD er 1\njwA ij 1\njyM ij 1\nvzC sz 1\nlQd le 1\nzcH ch 1\nlbX le 1\nvzG sz 1\nmSr er 1\nxYf fo 1\nqgB qu 1\njYk ij 1\ndIq qu 1\nwpG pr 1\nhVk th 1\nTjb ij 1\nzvP sz 1\nbZg ng 1\nbFg ng 1\nkfU ka 1\nSxz sz 1\nfwF wa 1\nQwg ng 1\nfWb be 1\njqQ ij 1\nVfx fo 1\ncJj ch 1\nzwJ sz 1\nxBg ng 1\nDdm de 1\nbWv va 1\nzpG sz 1\nxrQ er 1\nhcS th 1\nwHn an 1\nhIy th 1\nYxj ij 1\nsdC st 1\nyVu qu 1\nqjf qu 1\nTzy sz 1\nFfn an 1\nzzX sz 1\nHdx de 1\ngLg ng 1\nYqg qu 1\nfLb be 1\nlQc ch 1\nvjG ij 1\nwpL pr 1\ncJr ch 1\naJq an 1\nYnq an 1\nWvc ch 1\nlKy le 1\neYq qu 1\nkxL ka 1\ngCb ng 1\nsRd st 1\nrMd er 1\nBvh th 1\nkKg ng 1\nwlK le 1\nmDd de 1\nzkJ sz 1\nvRc ch 1\nXlh th 1\npRk ka 1\nxvN va 1\nnxI an 1\nfCx fo 1\nYbt th 1\nEbq qu 1\nbkN ka 1\nbQy be 1\nrDw er 1\ndjJ de 1\ntmM th 1\nnwH an 1\nhJz th 1\nlcM ch 1\nozV on 1\nmLd de 1\nbKc ch 1\neZf er 1\nFhg th 1\nZcj ch 1\npLr er 1\nwqs qu 1\nbXi in 1\ntgD th 1\nhQc th 1\nzDp sz 1\noDg ng 1\nsgM ng 1\nbnD an 1\ngHp ng 1\nWkf ka 1\nqIs qu 1\nwLd de 1\nztN th 1\ngdQ ng 1\nwCm ow 1\nvVf va 1\nJmw me 1\nhbC th 1\nsrW er 1\nnxN an 1\npVs st 1\nuWq qu 1\nhgM th 1\nlBc ch 1\nwUo on 1\nflH le 1\nyWg ng 1\njjN ij 1\nUwn an 1\nnYj an 1\nmtN th 1\nPgp ng 1\nzFc ch 1\noXz on 1\niCg ng 1\nLpc ch 1\nGqd qu 1\nrYc ch 1\nvqA qu 1\nVhc th 1\nzmF sz 1\nBpc ch 1\nJfq qu 1\noXv on 1\nlgX ng 1\nJfx fo 1\nzpS sz 1\ngcO ch 1\nxwQ wa 1\npkQ ka 1\nwOc ch 1\nWgm ng 1\ncOj ch 1\nNft th 1\npqN qu 1\nqsB qu 1\nydH de 1\nqRs qu 1\nykX ka 1\ncDq ch 1\nmfU me 1\nxzM sz 1\nvGt th 1\nfuW qu 1\nlqG qu 1\nTqp qu 1\nzvD sz 1\nwWb wa 1\nFzi in 1\nqpK qu 1\noyq qu 1\ngQe ng 1\nZmw me 1\nqYp qu 1\nWvf va 1\naQl an 1\noqO qu 1\neqJ qu 1\nnvT an 1\nfUk ka 1\nibH in 1\njvZ ij 1\nWwz sz 1\nlgY ng 1\neFp er 1\nXgx ng 1\nfYs st 1\nkZs st 1\nvpD va 1\nqcZ ch 1\nBqo qu 1\njLb ij 1\nrwX er 1\nfyK ny 1\nSxv va 1\nsxZ st 1\nwkK ka 1\nyJp pr 1\ntjT th 1\nqPv qu 1\nyZj ij 1\nRrm er 1\nnhJ th 1\nvqJ qu 1\nyxY ny 1\nvsE st 1\nfkK ka 1\nfuY qu 1\nzQo on 1\nXvr er 1\nmMq qu 1\nOqm qu 1\nDxs st 1\nLqa an 1\nWnh th 1\njmG ij 1\nWqa an 1\nmhT th 1\nbgZ ng 1\nvmO va 1\nzFm sz 1\nKhk th 1\nyqB qu 1\nnVv an 1\nRft th 1\nzmL sz 1\nhdD th 1\nnWp an 1\nvvO va 1\ndYp de 1\nohX th 1\nqoU qu 1\nrjB er 1\nDwc ch 1\naWq an 1\nclD ch 1\nVdk de 1\ntwM th 1\nfZz sz 1\nwQp pr 1\ndwD de 1\niYv in 1\nAwv va 1\npgG ng 1\nXoq qu 1\nkrQ er 1\nVxg ng 1\nlwB le 1\nPxw wa 1\nJwf wa 1\nzLh th 1\nbtH th 1\npwY pr 1\nMjd de 1\nXrh th 1\nqXu un 1\nEqy qu 1\nBpy pr 1\nznY an 1\nRqd qu 1\nnQf an 1\nZvw va 1\nzjO sz 1\nwNd de 1\nlIq qu 1\nvMq qu 1\nGqt th 1\nlMf le 1\nJqn an 1\nfVw wa 1\nqvQ qu 1\neHk er 1\njbK ij 1\nfWs st 1\nqTk qu 1\nznF an 1\nyxO ny 1\nFqr qu 1\nnFb an 1\noDp on 1\njUc ch 1\nqHg qu 1\ngGq qu 1\nqPs qu 1\njHv ij 1\nIwj ij 1\nvzV sz 1\nyUq qu 1\njQt th 1\nsFb st 1\nLvg ng 1\nzTt th 1\nbvK va 1\nCcx ch 1\njyA ij 1\nyEj ij 1\nzdG sz 1\ntqT th 1\nqbH qu 1\nnHd an 1\nHhj th 1\njVb ij 1\nuHw un 1\nZck ch 1\ngPq qu 1\nmxq qu 1\nwHs st 1\nfDy ny 1\ntlV th 1\nLsv st 1\nzvF va 1\nmqx qu 1\nnqF an 1\nxgM ng 1\ngyq qu 1\ngrJ ng 1\njSq qu 1\nMmw me 1\nCgx ng 1\nRlr er 1\nmvG va 1\nfuA qu 1\nuVh th 1\nsMz st 1\nwWr er 1\nqpD qu 1\nhQw th 1\nxBc ch 1\nfcW ch 1\nhxL th 1\nrfK er 1\nmFn an 1\nQnw an 1\ntjB th 1\nRkx ka 1\nsrE er 1\ndrG er 1\nCfy ny 1\nyZw wa 1\nWxw wa 1\nzCp sz 1\njZt th 1\nNqf qu 1\njgO ng 1\nfWc ch 1\nqrN qu 1\nNzj sz 1\nHjy ij 1\nUxy ny 1\noIy on 1\nrfX er 1\noBw on 1\nyyV ny 1\nQiv in 1\ndKh th 1\nqDk qu 1\ntgQ th 1\nxNw wa 1\nqdL qu 1\novY on 1\nfbZ be 1\nqiI qu 1\nbvT va 1\njYq qu 1\nkbK ka 1\nMfn an 1\nRpd de 1\npHb pr 1\nqqO qu 1\nvkV ka 1\nsWp st 1\nkPf ka 1\nqLy qu 1\nqoE qu 1\nwLh th 1\nzhV th 1\nbpL pr 1\nTqf qu 1\npzG sz 1\nkcT ch 1\nwjX ij 1\nkPy ku 1\nfdB de 1\nQxs st 1\ngYf ng 1\nYpx pr 1\nzSk sz 1\ntDg th 1\nxbJ be 1\nyfO ny 1\nuQf qu 1\nbpQ pr 1\ndXc ch 1\nlwP le 1\nvTs st 1\nJlq qu 1\nCqw qu 1\nbWy be 1\ncUq ch 1\nYbk ka 1\nwyq qu 1\njhq th 1\nxUy ny 1\nNcj ch 1\nkMh th 1\nvZy va 1\nzcq ch 1\nQsr er 1\nLhx th 1\nGcj ch 1\nuQt th 1\nwYn an 1\ndYm de 1\nQvx","i8", -B,q.g+252088); -C(" va 1\nRcg ch 1\nqGz qu 1\nbxJ be 1\njFg ng 1\nxLp pr 1\nlDn an 1\nwqS qu 1\nbIq qu 1\ntBm th 1\nbQs st 1\nzJb sz 1\njfJ ij 1\nqTc ch 1\nkbX ka 1\nHlz le 1\npuQ qu 1\nhKb th 1\nrBb er 1\nvpW va 1\nYjk ij 1\nWnm an 1\npZr er 1\nldZ le 1\ngMm ng 1\npZf pi 1\neYp er 1\nvTp va 1\nGkc ch 1\nCgy ng 1\nqDw qu 1\ngxW ng 1\nCwz sz 1\njhY th 1\nFvk ka 1\nnfH an 1\nzcW ch 1\nzgC ng 1\nDfk ka 1\nvpJ va 1\nWpj ij 1\nsCb st 1\nfgF ng 1\ntPx th 1\noCp on 1\nNrx er 1\nHwm me 1\nfRp pr 1\naeX an 1\njdI de 1\nsBv st 1\nvOv va 1\ngQt th 1\nWmk ka 1\nPqj qu 1\nkhV th 1\nHkj ij 1\nhbB th 1\nvzF sz 1\nYbz sz 1\nsXb st 1\nyQr er 1\nhhV th 1\ntgW th 1\nbXo on 1\nNxp pr 1\naOx an 1\nzfb sz 1\nQxp pr 1\nqwQ qu 1\nfjV ij 1\nhjY ij 1\nwtX th 1\njgU ng 1\nnMq an 1\nNwx wa 1\nvPg ng 1\nXfh th 1\nyFf ny 1\nfHz sz 1\nnZf an 1\njPt th 1\nJgb ng 1\nxBb bi 1\nsjO st 1\nwDx wa 1\nnjN an 1\nohF th 1\npqR qu 1\nFzw sz 1\nqrU qu 1\ncjG ch 1\nkFv ka 1\nzQd sz 1\nvbE vi 1\nUjt th 1\nqIb qu 1\ncFt th 1\nbvY va 1\nSzq qu 1\nwlH le 1\nqcY ch 1\ngEw ng 1\nxhL th 1\nkVg ng 1\nbfH be 1\nNrz er 1\nsJn an 1\nbWn an 1\nnvK an 1\nqiH qu 1\nqbS qu 1\nvxB va 1\ntvT th 1\nNrh th 1\nlYx le 1\ntkX th 1\nGzx sz 1\nvCx vi 1\nZbj ij 1\nmWp me 1\nDqx qu 1\npfE pr 1\nhvW th 1\nEox on 1\ndbZ de 1\nlNb le 1\nrTd er 1\nljQ le 1\nVvp va 1\ngJw ng 1\nuqW qu 1\nGjf ij 1\npDd de 1\nsgQ ng 1\nhkQ th 1\nfJc ch 1\nmdI de 1\nGcp ch 1\npXa an 1\npQj ij 1\nbgE ng 1\nKzv sz 1\ncPb ch 1\nHcz ch 1\ndjQ de 1\npGd de 1\nfyE ny 1\ndBb de 1\nePj er 1\nfgO ng 1\nxRq qu 1\nxqK qu 1\npKp pr 1\nxmY me 1\nhgO th 1\nwdG de 1\nhvZ th 1\nsrF er 1\nBvf vi 1\nyvD va 1\nxVg ng 1\nfYg ng 1\nbqd qu 1\neFq qu 1\ncwZ ch 1\ncqG ch 1\nsKp st 1\nhJq th 1\nvLd de 1\nhdK th 1\npcN ch 1\ntNf th 1\nxlK le 1\nrJx er 1\nqaN an 1\nzKf sz 1\nsNf st 1\nqPz qu 1\nbzL sz 1\nJdw de 1\nnRb an 1\njNs st 1\ntnV th 1\nynI an 1\ntZp th 1\nfZp pr 1\nwMq qu 1\nOnq an 1\nzIh th 1\nbvH va 1\nUvc ch 1\nzxJ sz 1\nVmq qu 1\nuPm qu 1\nmwD me 1\njQc ch 1\ngPk ng 1\nvfV va 1\nTql qu 1\nbJl le 1\nlwO le 1\nwbG wa 1\nfTd de 1\nXtq th 1\nhzX th 1\nPzv sz 1\nPmx me 1\nxZm me 1\njCp ij 1\nbKm me 1\nTmq qu 1\nHnf an 1\nkjX ij 1\nvgH ng 1\nfSm me 1\nylN le 1\ngvq qu 1\njTz sz 1\ntWw th 1\nywB wa 1\nbCq qu 1\ndNk de 1\nyCq qu 1\nRxj ij 1\nnTq an 1\ngFs ng 1\nXwq qu 1\ngJl ng 1\nvcR ch 1\nfbT be 1\nFcd ch 1\nWxm me 1\nqwv qu 1\nSfh th 1\nlcK ch 1\nsbV st 1\nfSf fo 1\nlbB le 1\nOcw ch 1\njgM ng 1\nnbI an 1\nqsK qu 1\nXyf ny 1\npxv va 1\nmRc ch 1\nOgq qu 1\nzuY qu 1\nfXu qu 1\nWbj ij 1\nTbw wa 1\nzrR er 1\ngmP ng 1\ncCm ch 1\ngtQ th 1\nphG th 1\nqjV qu 1\nygG ng 1\nwFb wa 1\nrqL qu 1\nqSx qu 1\nybK be 1\nmqJ qu 1\nQrq qu 1\nqdI qu 1\nbcG ch 1\niFb in 1\nmcZ ch 1\nvCz sz 1\nxHz tz 1\nhjM th 1\nqtL th 1\ntmH th 1\nslD le 1\nvRz sz 1\ngCd ng 1\nXxc ch 1\nqKc ch 1\nsIw st 1\nfsY st 1\nxrJ er 1\ntNs th 1\ngbD ng 1\nwLl le 1\nhFf th 1\nNxi in 1\nfRb be 1\nJrb er 1\njEq qu 1\nhwM th 1\nuVw qu 1\nfgN ng 1\nmAo on 1\nPjb ij 1\nnpP in 1\nJcy ch 1\nyJb bi 1\njxI ij 1\nKkc ch 1\nkwV ka 1\ngRf ng 1\nWfm me 1\nTdp po 1\nwEz sz 1\nLvk ka 1\nDqn an 1\ntqL th 1\njJq qu 1\nvdC de 1\nhxU th 1\nxUe er 1\ntQc th 1\nLzk sz 1\ndTj de 1\nTlz le 1\nxQw wa 1\nFcq ch 1\nwgE ng 1\nCkd de 1\nyKs st 1\nxwS wa 1\nwRt th 1\ngkK ng 1\nhQv th 1\nsLp st 1\njAi in 1\ndmG de 1\njKn an 1\nqUb qu 1\nwXy wa 1\nbzJ sz 1\ngzJ ng 1\nhNz th 1\nygY ng 1\nqhU th 1\nafX an 1\njZw ij 1\nXdx de 1\nTdx de 1\njNn an 1\nvXf va 1\nqcE ch 1\nMnw an 1\nqDh th 1\nTdj de 1\ndgJ ng 1\nsdR st 1\nqGn an 1\nMjj ij 1\nsxH st 1\nPpz sz 1\ngfV ng 1\nfOy ny 1\nNvx vi 1\nqaV an 1\nxjl le 1\nxgZ ng 1\ncGv ch 1\nZxu qu 1\nMfp pr 1\nzFp sz 1\njgJ ng 1\nbpG pr 1\nvKz sz 1\nhqI th 1\nQgw ng 1\nQyy ny 1\njmI ij 1\nVgd ng 1\nxCt th 1\nyVs st 1\nuEq qu 1\ndcN ch 1\nBzb sz 1\ngVl ng 1\nsXg ng 1\nkQf ka 1\nlrY er 1\nVtd th 1\nnHs an 1\nwjN ij 1\nrzJ er 1\nsYy st 1\nwxQ wa 1\nZtb th 1\ntWf th 1\ntCx th 1\naFb an 1\nlqf qu 1\nfeZ er 1\nfPz sz 1\ncjY ch 1\nwKh th 1\nQhy th 1\ndCj de 1\nbkH ka 1\nyjD ij 1\njTs st 1\nhxI th 1\nlvK vi 1\nLwz sz 1\nswQ st 1\ndTk di 1\nfsO st 1\nljE le 1\nwjM ij 1\nuQk qu 1\nxPg ng 1\nvmC va 1\nqsD qu 1\ngDw ng 1\nwJk ka 1\nZpq qu 1\nYhg th 1\nkNc ch 1\nbWl le 1\nFwh th 1\nfHx fo 1\nFnv an 1\nfdL de 1\noqD qu 1\naYx an 1\nVqx qu 1\nvKf va 1\nCbw wa 1\nvyq qu 1\ncqZ ch 1\nRfh th 1\nSwc ch 1\nqNi qu 1\nqoW qu 1\njhD th 1\nkJq qu 1\ngdF ng 1\npvF va 1\ncpV ch 1\nqtC th 1\ngWm ng 1\ngPc ch 1\njBs st 1\nrlV er 1\ngZc ch 1\nkTk ka 1\nhfJ th 1\nSvv va 1\nkmG ka 1\nsDq qu 1\nhGb th 1\nBlq qu 1\nQry er 1\nhHz th 1\nyLx ny 1\nlqF qu 1\nwbB bi 1\niYr in 1\nwDz tz 1\nxsJ st 1\nbzY sz 1\npMw pr 1\nUuj qu 1\nhxK th 1\nXvf va 1\nkrZ er 1\nfwV wa 1\ngPw ng 1\nqVn an 1\nQnq an 1\ngDb ng 1\nhVr th 1\nzKh th 1\nFxy ny 1\noZj on 1\nzAy sz 1\njMm ij 1\nmvI va 1\nFwm me 1\nzql qu 1\neVv er 1\nyWq qu 1\nLwk ka 1\nLmw me 1\nvXb va 1\nXhs th 1\nhlR th 1\nQqw qu 1\nzbK sz 1\nPxl le 1\nnPm an 1\nwQo on 1\nDcb ch 1\nhjT th 1\nrjJ er 1\nbMc ch 1\niYb in 1\nFqj qu 1\nUoq qu 1\nXvp va 1\nLwb wa 1\nJpd de 1\nqUg qu 1\nlJx le 1\nXwd de 1\nxKf fo 1\nZnq an 1\nqCb qu 1\nZbz sz 1\nQux qu 1\nqNq qu 1\nfvV va 1\nQqz qu 1\nHdf de 1\nySx ny 1\nqSm qu 1\nLhb th 1\nMvf va 1\ncDp ch 1\nbHq qu 1\nWmg ng 1\nytG th 1\ndbJ de 1\nFfg ng 1\nhvM th 1\nWqy qu 1\ngXd ng 1\nuFg qu 1\njpR ij 1\nXcc ch 1\nTbp pr 1\nQwq qu 1\ntPp th 1\nfMh th 1\nqiV qu 1\ndcB ch 1\ndFx de 1\nYmj ij 1\nLdq qu 1\nlxV le 1\ncCk ch 1\nhVx th 1\ndlT le 1\nkhP th 1\nqVg qu 1\nLjj ij 1\nzCv sz 1\nywV wa 1\nybZ be 1\nvGh th 1\nBvj ij 1\nZqq qu 1\nGwk ka 1\nqLq qu 1\nfkX ka 1\nNbz sz 1\nbXm me 1\ndQh th 1\nuYd qu 1\nxYs st 1\nzSs st 1\nycZ ch 1\nlnU an 1\ntCj th 1\nxnY an 1\nptQ th 1\nswO st 1\nhXu th 1\nmBw mb 1\nwmF me 1\nxJx xe 1\ndXj de 1\neqg qu 1\nnBf an 1\nXbd de 1\nfcQ ch 1\nxkS ka 1\ntOq th 1\nuQb qu 1\ncvV ch 1\nsBh th 1\ndCk de 1\ncKv ch 1\ncVf ch 1\nwZx wa 1\nBvm va 1\nlqJ qu 1\nfxR fo 1\nvmF va 1\nxnq an 1\nbBg ng 1\ntPd th 1\nfNs st 1\nFkp ka 1\nYye er 1\nUbq qu 1\nxzP sz 1\nfmQ me 1\nqcA ch 1\nyKc ch 1\nxvZ va 1\ncbN ch 1\nyYl le 1\nPmw me 1\nwFx wa 1\nhRh th 1\nqpS qu 1\nVqf qu 1\nGhg th 1\nWvq qu 1\nxkC ka 1\nytM th 1\nLnh th 1\ndxD de 1\nbMw wa 1\nxvU va 1\nQzx sz 1\nsrM er 1\nvLg ng 1\ncGq ch 1\nVmy me 1\nhcL th 1\npKx pr 1\nJxs st 1\nblW le 1\npQo on 1\nbEq qu 1\nfWt th 1\nsYm st 1\nnKw an 1\ndtF th 1\nkTz sz 1\nepX er 1\nfCp pr 1\nbFk ka 1\nRzb sz 1\nvqI qu 1\nZhc th 1\nHvv va 1\nmVt th 1\nIwx wa 1\nphR th 1\nwNb wa 1\nfRc ch 1\nljq qu 1\nlvY le 1\njcA ch 1\ndGw de 1\nCqn an 1\nmBx me 1\nMmx me 1\nVxa an 1\nXhw th 1\neqK qu 1\ntCw th 1\nzvU sz 1\nlxQ le 1\nvMv va 1\ngqA qu 1\nJbn an 1\ngCj ng 1\noTf on 1\nkbW ka 1\nqjY qu 1\nRqf qu 1\nhYh th 1\nyhE th 1\ngYj ng 1\njcI ch 1\nqvJ qu 1\nqoC qu 1\nqFc ch 1\nqqH qu 1\nNxq qu 1\nwVo on 1\nzHv sz 1\nybS be 1\nHwc ch 1\nMxa an 1\nxkL ka 1\nqmO qu 1\nqbR qu 1\nZfy ny 1\nRkf ka 1\nvgV ng 1\nhBw th 1\npXx pr 1\nbrQ er 1\nfvO va 1\nhDc th 1\nxQa an 1\nwfF wa 1\nhZx th 1\nJgz ng 1\nqnY an 1\nqXl le 1\neNb er 1\nfxS fo 1\nsNk st 1\nmFc ch 1\nUux qu 1\nYdg ng 1\nozW on 1\nXzd de 1\nJfe er 1\nFtx th 1\nvzR sz 1\nwZk ka 1\noHz on 1\nqvT qu 1\nqoA qu 1\nSdq qu 1\ntxW th 1\nEgf ng 1\ndMf de 1\nRhh th 1\nvRn an 1\nujX qu 1\nfRj ij 1\ngjA ng 1\ngDg ng 1\nsmZ st 1\njId de 1\nqkM qu 1\nbKz sz 1\nsCg ng 1\nuTp qu 1\nlVs le 1\nuQo qu 1\nJfs st 1\nvKm va 1\njQh th 1\nfUf fo 1\nuTf qu 1\nBnv an 1\ntdU th 1\ndxY de 1\nhgV th 1\nZdf de 1\nhqS th 1\neJg ng 1\nqGu un 1\nvmE va 1\ngKz ng 1\nmUg ng 1\nVjy ij 1\nuvJ qu 1\nmHr er 1\nMhv th 1\nzsZ st 1\nVzy sz 1\njKb ij 1\nzPp sz 1\nqgD qu 1\nXhf th 1\nOgp ng 1\njwX ij 1\nlYy le 1\nqzD qu 1\nwXj jo 1\nKpx pr 1\nydY de 1\nvBq qu 1\nZpp pr 1\nbDd de 1\nFjk ij 1\nkdA de 1\nzWt th 1\nwSd de 1\nkFd de 1\nSxl le 1\nFvh th 1\npbR pr 1\nqrD qu 1\nvZs st 1\nvUm va 1\nwEy wa 1\njjH jo 1\nsDg ng 1\nUjc ch 1\nknI an 1\nfOa an 1\nCjg ng 1\ntbV th 1\ngqd qu 1\nePx er 1\nwRm me 1\npvG va 1\nQyl le 1\ncwG ch 1\nDtq th 1\nPbz sz 1\nRgq qu 1\nfjU ij 1\njJf ij 1\nRxq qu 1\nJtx th 1\nqvZ qu 1\nkKm ka 1\nhFm th 1\nkcX ch 1\nfNm me 1\nbpB pr 1\nxqY qu 1\nhYy th 1\ngGp ng 1\nVfs st 1\nwDt th 1\nbTs st 1\nhfV th 1\nqzp qu 1\nyUv va 1\nqGc ch 1\nVdl le 1\nXjt th 1\nkMj ij 1\nhTg th 1\nHlc ch 1\ntKz th 1\nWvt th 1\nlMz le 1\nMwx wa 1\nWlv le 1\nxzG sz 1\ngmD ng 1\nzOi in 1\nbbI be 1\nbpI pr 1\nfQg ng 1\npQv va 1\nvEb va 1\njFz sz 1\nWhf th 1\njvQ ij 1\nqYx qu 1\nrxM er 1\nvPp va 1\nfjD ij 1\nVwy wa 1\nYqc ch 1\ntcW th 1\njYg ng 1\ngJb ng 1\nTkc ch 1\nqhj th 1\njxF ij 1\nFpz sz 1\nkXh th 1\nlgZ ng 1\nznI an 1\nqyN qu 1\nvBj ij 1\njSx ij 1\ncqI ch 1\nqYv qu 1\nZrr er 1\nsHr er 1\nvrK er 1\npbH pr 1\nzVh th 1\ndQb de 1\nlxF le 1\nsgW ng 1\nGhf th 1\nxpq qu 1\nqhN th 1\nFsf st 1\nQga an 1\nRdp de 1\nfvK va 1\nYdz de 1\nwvW va 1\ncPm ch 1\ncQy ch 1\nywF wa 1\nYpq qu 1\nRsj st 1\nYgw ng 1\nxVp pr 1\nyxL ny 1\nYwl le 1\njMc ch 1\nzTl le 1\naIq an 1\nqQi qu 1\ntqI th 1\nHvp va 1\nwQd de 1\nhfG th 1\ncTd ch 1\nbfQ be 1\nKfd de 1\ncXs ch 1\nvYx va 1\nQoc ro 1\nvrL er 1\npZk ka 1\ncdX ch 1\nYgn an 1\nlnO an 1\nmfY me 1\nfnV an 1\nmbZ me 1\ngbE ng 1\nxjZ ij 1\nFpy pr 1\nnpE an 1\nRxy ny 1\noWp on 1\nhVh th 1\nyJf ny 1\nsQd st 1\nZvg ng 1\nbDm me 1\npLv va 1\nwwF wa 1\nxBh th 1\nqKm qu 1\nwXx wa 1\nIux qu 1\ndgB ng 1\ngJp ng 1\nqgx qu 1\nfNh ho 1\ncvE ch 1\ncgH ch 1\nlNs le 1\nvDj ij 1\nzcG ch 1\nfZn on 1\nuUx qu 1\nclQ le 1\nfdH de 1\neZj er 1\nVqc ch 1\nRcx ch 1\njGh th 1\nqzM sz 1\nQpw pr 1\nSpx pr 1\ncGx ch 1\ncqA ch 1\nvbK va 1\nxeW er 1\nvkC ka 1\nxzB sz 1\nxuR qu 1\nOyq qu 1\nMqx qu 1\nqqj qu 1\nyqY qu 1\ncwL ch 1\npPt th 1\ndSx de 1\ndPk de 1\nuzH qu 1\nfvH va 1\npcH ch 1\nhlY le 1\nqtX th 1\nNvs st 1\nhvL th 1\nzRk sz 1\ntNj th 1\nDbv va 1\njKc ch 1\ndKy de 1\nyVz sz 1\niqJ qu 1\nzgJ ng 1\neJs er 1\nwOx wa 1\nrXh th 1\nHqp qu 1\nvWx va 1\nbTt th 1\nfCy ny 1\naOq an 1\noCg ng 1\npnE an 1\nFwc ch 1\nzrT er 1\nxHs st 1\nydX de 1\ndkV de 1\nRqy qu 1\nZyq qu 1\nkXl le 1\noJt th 1\nsxI st 1\nqZw qu 1\nzqx qu 1\nclZ ch 1\nswX sz 1\naHw an 1\nrWc ch 1\ncQp ch 1\nJwj ij 1\nqeV qu 1\nsQj st 1\nRpb pr 1\nmZq qu 1\nrBx er 1\nmxV me 1\nMvy ny 1\ncRl ch 1\nFzv sz 1\npBs sz 1\njWs st 1\nvqK qu 1\nIxl le 1\nyhw th 1\nwyQ wa 1\nuCb qu 1\nzrF sz 1\niyQ in 1\nqsP qu 1\nhLr er 1\ncvX ch 1\nScq ch 1\nzrL er 1\necU ch 1\nVxz sz 1\nfCq qu 1\novX on 1\nUqn an 1\nsVw st 1\nspX st 1\nQkv ka 1\nfyW ny 1\nrBc ch 1\nmdC de 1\nWjk ij 1\njYh th 1\nhXq th 1\nxkm ka 1\nhhU th 1\nDvz sz 1\ntcq th 1\nwZy wa 1\njtC th 1\nqnD an 1\nvmB va 1\nkjB ij 1\ncdG ch 1\nVkt th 1\nhNq th 1\nJft th 1\niWv in 1\nWtn th 1\nlfE le 1\ndZb de 1\neqQ qu 1\ngUq qu 1\nqwL qu 1\nhUq th 1\nhGc th 1\nnwX an 1\nNbt th 1\njjP ij 1\nsqJ qu 1\nlQf le 1\njZz sz 1\nwWn an 1\nMxu qu 1\nqFi qu 1\nmjX ij 1\nvDx va 1\nvDn an 1\nwUc ch 1\nzhU th 1\nzHw sz 1\nTjl le 1\nxuX qu 1\njZp ij 1\nwVc ch 1\ngFp ng 1\nGyq qu 1\nJlh th 1\nBkf ka 1\nhhJ th 1\ntvW th 1\nbIy ny 1\nLlg ng 1\nzJz sz 1\nqeQ qu 1\nnlX an 1\ntcQ th 1\nqtU th 1\nfkW ka 1\ngJk ng 1\ngQy ng 1\nsPz st 1\nbmO me 1\nYtx th 1\nyqF qu 1\niBk in 1\nuzV qu 1\nxNp pr 1\nzRz sz 1\nqHq qu 1\nyuY qu 1\njqh th 1\nxBd de 1\nvvA va 1\neVj er 1\nzGp sz 1\nvcB ch 1\nkpH ka 1\nmDw me 1\nvuG qu 1\nvVy ny 1\nmzS sz 1\njvM ij 1\nsfV st 1\nhQq th 1\nwTm me 1\nPlq qu 1\nfxJ fo 1\nqQq qu 1\nFnw an 1\nqJo qu 1\nNsg ng 1\nLjx ij 1\nsRb st 1\npcY ch 1\nvVm va 1\nsQg ng 1\nYwz sz 1\nhqJ th 1\nsjK st 1\nZks st 1\nMjt th 1\nDwh th 1\nwbN wa 1\nmvK va 1\nrLp er 1\nLbm me 1\nwjO ij 1\nlQz le 1\nKwf wa 1\nq","i8", -B,q.g+262328); -C("mB qu 1\nXbv va 1\ncKq ch 1\nhqR th 1\nyVb be 1\nxcF ch 1\nEwv va 1\nGpq qu 1\nGbh th 1\nyHj ij 1\ngXk ng 1\nqOx qu 1\nKbw wa 1\nqHx qu 1\nwjP ij 1\njQl le 1\nFfq qu 1\noYb on 1\nFqo qu 1\nwXz sz 1\nfIp pr 1\npMf pr 1\nnqP an 1\nbbZ be 1\nhsX th 1\nWjr er 1\nZqn an 1\nPxb be 1\nBzs st 1\npbI pr 1\nYvp va 1\njxM ij 1\njyZ ij 1\nmzJ sz 1\nvYg ng 1\nqMm qu 1\nfhL th 1\nqOg qu 1\nMnp an 1\nIfv va 1\nqYm qu 1\ngxv ng 1\nzfG sz 1\nfqG qu 1\nlLq qu 1\nhkK th 1\noYk on 1\nlRg le 1\nlOx le 1\nVxv va 1\nqAs qu 1\ntKk th 1\nlhF th 1\ndCv de 1\nwvY va 1\nwiV in 1\ncrF ch 1\nfEp pr 1\nRrl er 1\nZjy ij 1\nqbY qu 1\nkMw ka 1\nvZi in 1\nFxi in 1\nzkS sz 1\nvKb va 1\nzbI sz 1\nuHg qu 1\nqzG qu 1\njMk ij 1\nFkc ch 1\ndKm de 1\nnHh th 1\nxGc ch 1\nqpU qu 1\nrcU ch 1\naWx an 1\nxdS de 1\nqhV th 1\naHc ch 1\nvmI va 1\nWcc ch 1\nzBn an 1\nkQe er 1\nawJ an 1\nxdD de 1\nyZx ny 1\nKkd de 1\nwBz sz 1\nlzA le 1\nyyT ny 1\nqeK qu 1\nzpE sz 1\nzFn an 1\nyyG ny 1\nlLw le 1\nbvS va 1\nmvX va 1\nhlW th 1\npgX ng 1\nlQt th 1\nymY me 1\nmjJ ij 1\nmVc ch 1\nXqs qu 1\nbKr er 1\nbHt th 1\njRv ij 1\nLpw pr 1\nzPb sz 1\nwkR ka 1\nkxS ka 1\njWf ij 1\nNkx ka 1\nKcj ch 1\nbJb be 1\nxwZ wa 1\nRqc ch 1\nQzg ng 1\njwH ij 1\nDqd qu 1\nvLf va 1\nhXd th 1\ncfD ch 1\nsjX st 1\nhzI th 1\nqUd qu 1\ntSx th 1\nhxA th 1\ngxK ng 1\nhVm th 1\nyzX sz 1\nUcs ch 1\nqaH an 1\nYfy ny 1\nsJg ng 1\niHp in 1\niyC in 1\nTjf ij 1\ndJp de 1\nJgv ng 1\nuJf qu 1\nnNl an 1\nzdA sz 1\nxIq qu 1\nqjK qu 1\nvzY sz 1\nwqv qu 1\nXvx va 1\nfJr er 1\nnqH an 1\nqGd qu 1\nvQg ng 1\niQz in 1\ntLn th 1\nlVj le 1\nvqW qu 1\nzrN er 1\nxKz sz 1\nwaV an 1\nYdq qu 1\ndkq qu 1\nfCn an 1\nXcy ch 1\npIl le 1\nhXl th 1\naFs an 1\niwM in 1\nGwx wa 1\nXlp le 1\nQfu qu 1\njqE qu 1\nlqP qu 1\nkVq qu 1\nxqJ qu 1\nMzf sz 1\nmNw me 1\nWsv st 1\nfnM an 1\nuSf qu 1\nhCf th 1\nzjH sz 1\nmTs st 1\njWz sz 1\nDxk ka 1\nZtd th 1\nRvv va 1\ngBx ng 1\nLzx sz 1\nezU er 1\njqH qu 1\nRjh th 1\nDcg ch 1\nbBh th 1\nfhO th 1\nhpH th 1\nZqa an 1\nkCx ka 1\nrRv er 1\ndkZ de 1\nGgx ng 1\npQh th 1\nGcv ch 1\nScg ch 1\nvDb va 1\npbD pr 1\nvEh th 1\nvlE le 1\nRjl le 1\nlFw le 1\nzqN qu 1\naPq an 1\ngjD ng 1\njcE ch 1\nwSw wa 1\nDgj ng 1\nhuZ th 1\ngPv ng 1\npJj ij 1\ncQh th 1\nmwq qu 1\nvpA va 1\nhGf th 1\ncXz ch 1\nLcb ch 1\nfJm me 1\nQzy sz 1\nzQm sz 1\nHhn th 1\nxdY de 1\nuYl qu 1\nXkj ij 1\njvA ij 1\nJvp va 1\niwZ in 1\nzkq qu 1\nNhb th 1\nkmV ka 1\nqKd qu 1\nBcq ch 1\npfY pr 1\nqUj qu 1\ngqR qu 1\ngwO ng 1\ngXm ng 1\njHh th 1\nrBn an 1\nuPw qu 1\npJk ka 1\nIpj ij 1\nyqM qu 1\nYqn an 1\nKbz sz 1\nvfL va 1\nnpZ an 1\noqY qu 1\nZqf qu 1\njzU sz 1\nvNx va 1\nhXf th 1\nfCg ng 1\nnzJ an 1\nmKj ij 1\nwmB me 1\nWjq qu 1\nDbq qu 1\nzXy sz 1\nxYw wa 1\nfQf fo 1\ndqP qu 1\nKxq qu 1\njdZ de 1\nqrX qu 1\nLxb be 1\nyfL ny 1\nyYm me 1\nsbH st 1\nwlV le 1\nuKp qu 1\nhhN th 1\nXxq qu 1\njLg ng 1\nnQh th 1\nWqp qu 1\nNqd qu 1\njfD ij 1\nJnq an 1\nBzn an 1\nmJr er 1\nqaX an 1\npJw pr 1\njHz sz 1\nyaX an 1\nWhs th 1\nhYr th 1\ntmS th 1\nFhy th 1\nGgd ng 1\nXmy me 1\nRqh th 1\nFsn an 1\nqhA th 1\nfhX th 1\nHqx qu 1\nwIo on 1\nIbx be 1\ncFx ch 1\ndRg ng 1\nsnV an 1\nkqz qu 1\neqO er 1\nGkz sz 1\nNnz an 1\nyqE qu 1\ncJh th 1\nxvA va 1\nqMx qu 1\ndwS de 1\nyAj ij 1\nxCq qu 1\ngmE ng 1\nbhP th 1\nrwE er 1\nXnz an 1\nUhw th 1\nxnR an 1\nnfZ an 1\nQpx pr 1\nqxO qu 1\nlGt th 1\nqRc ch 1\nRwx wa 1\ntcM th 1\nfBd de 1\nRjc ch 1\ndfY de 1\nhhR th 1\nbCj ij 1\nfqL qu 1\nlzS le 1\nLrm er 1\neqE qu 1\nvgL ng 1\nwQr er 1\nbwB wa 1\nlGf le 1\nNwq qu 1\nsdU st 1\nZxv va 1\nyDm me 1\nLsw st 1\ncNq ch 1\nDqc ch 1\nvLz sz 1\ndWv de 1\nfkQ ka 1\nzjD sz 1\nyYv va 1\nqeT qu 1\ncvL ch 1\nwkA ka 1\nNvb va 1\ndjM de 1\nhgK th 1\npXb pr 1\nTlw le 1\nRhz ha 1\nwkP ka 1\nwDk ka 1\neFc ch 1\nehU th 1\nXly le 1\nwxK wa 1\ndPw de 1\nsFd st 1\nvcI ch 1\nFxd de 1\nfvR va 1\njqs qu 1\nrMj er 1\nqbW qu 1\nkpP ka 1\nBvw va 1\nTmk ka 1\nhbP th 1\nhMx th 1\njgL ng 1\nefU er 1\ncQb ch 1\nmcA ch 1\nEwq qu 1\nxmV me 1\nQcq ch 1\nmzG sz 1\npKm me 1\nFwq qu 1\nlRn an 1\njPk ij 1\njMb ij 1\nmzO sz 1\noFw on 1\nhJb th 1\nsVq qu 1\niVz in 1\noqU qu 1\nbhW th 1\nOxq qu 1\nmQk ka 1\nXfb be 1\ncNw ch 1\nfgZ ng 1\nTvf va 1\nsIx st 1\nuZs qu 1\nxzX sz 1\nYlq qu 1\noHf on 1\ncsU ch 1\nQzs st 1\nBfq qu 1\nyJn an 1\npgQ ng 1\nwxk ka 1\nTnw an 1\nbKx be 1\nbqX qu 1\nQjs st 1\npFh th 1\nXvl le 1\nkfB ka 1\nmZl le 1\nCsg ng 1\nvrJ er 1\nGfy ny 1\njbP ij 1\nYvl le 1\nHxb be 1\nlrD er 1\nqTl qu 1\naBc ch 1\nfGb be 1\nmhS th 1\nzTp sz 1\nkRd de 1\nWph th 1\nNpj ij 1\nlwS le 1\nmGm me 1\nnqT an 1\nUjn an 1\nxjO ij 1\ndMz sz 1\nwKj ij 1\nyZr er 1\nNjb ij 1\nYlr er 1\nmVf me 1\ngZg ng 1\nHcb ch 1\nxcB ch 1\nkMm ka 1\nlwC le 1\nDnf an 1\nhjW th 1\nrTk er 1\nVzj sz 1\nVxy ny 1\nwlQ le 1\nNrv er 1\npjP ij 1\nfwZ wa 1\ntnW th 1\noJw on 1\nkJx ka 1\nVpj ij 1\nqAw qu 1\nQht th 1\nbCn an 1\nvrU er 1\nhRc th 1\nclC ch 1\nrFd er 1\ntwH th 1\nkCw ka 1\nmSd de 1\nXnw an 1\nfXm me 1\nTwf wa 1\nFwj ij 1\nbjJ ij 1\nlbQ le 1\nkvS ka 1\nSmz sz 1\nfBp pr 1\nNzz sz 1\nbQp pr 1\nvLx va 1\nhVf th 1\nyUj ij 1\ncZd ch 1\ngIy eg 1\nhVq th 1\naQx an 1\nQfv va 1\nlKb le 1\nzhN th 1\nZbm me 1\nGcq ch 1\ngbT ng 1\npYk ka 1\nXvd de 1\nxMl le 1\nuHb qu 1\nbXf be 1\nsNc ch 1\nqVy qu 1\ncpO ch 1\nFgb ng 1\neWl er 1\nkKd de 1\nCbj ij 1\nmfH me 1\nqIa an 1\nsfX st 1\nsnH an 1\nHjg ng 1\nLmf me 1\nxgf ng 1\nEvw va 1\nwOk ka 1\nHjf ij 1\nzuJ qu 1\nfZm me 1\nlNq qu 1\nxUg ng 1\nnLs an 1\njkS ij 1\nGvp va 1\njPd de 1\nywQ wa 1\nqrG qu 1\nbbH be 1\nghJ th 1\nmMh th 1\nYvt th 1\nxLq qu 1\nBdq qu 1\nzJd sz 1\nxRs st 1\nvgP ng 1\nHhb th 1\nnpL an 1\nvFp va 1\nhSj th 1\nbdC de 1\nkGg ng 1\nkVf ka 1\nqvP qu 1\nkwO ka 1\nJqt th 1\nzWx sz 1\nsQk st 1\nhnV th 1\nrrD er 1\njVh th 1\nvvY va 1\nbfI be 1\nfSz sz 1\nCzf sz 1\nkWl le 1\njJc ch 1\nGwj ij 1\nlFh th 1\nVpf fo 1\nfkV ka 1\ncYj ch 1\nmrW er 1\nhBb th 1\nhJx th 1\nwIq qu 1\ncdA ch 1\nwQy wa 1\nwCq qu 1\nwqZ qu 1\njfX ij 1\njtG th 1\nxkJ ka 1\nQzf sz 1\ngKs ng 1\nQzo on 1\nbwI wa 1\nTsb st 1\nvvX va 1\njlR le 1\nqlQ qu 1\ndbX de 1\nHfc ch 1\nBsj st 1\nYqk qu 1\nXnc ch 1\nbzZ sz 1\ndGt th 1\nXgg ng 1\njwE wa 1\nOyc ch 1\npQd de 1\njRy ij 1\npmX me 1\nlZx le 1\ngFq qu 1\nmJd de 1\nsKq qu 1\nIkj ij 1\nzkG sz 1\nwGf wa 1\nqRp qu 1\nxDn an 1\ngvL ng 1\nmGx me 1\niIj in 1\nGzd sz 1\nbLx be 1\njUl le 1\nQvc ch 1\nmVh th 1\nuhF th 1\nfVk ka 1\ncnM ch 1\nuFh th 1\nmXf me 1\nrCb er 1\nnLw an 1\nvfH fo 1\niqV qu 1\nqhD th 1\nsHx st 1\nYwy wa 1\nmDx me 1\ncBt th 1\nBmq qu 1\nxRc ch 1\nbSz sz 1\nvCj ij 1\nTcv ch 1\naZq an 1\nJcx ch 1\nnbF an 1\nQzb sz 1\nvkQ ka 1\nhzD th 1\nxHp pr 1\nhqX th 1\nfEv va 1\nyjF ij 1\nPjk ij 1\nsfU st 1\nbGc ch 1\nmcX ch 1\npXc ch 1\nyvS va 1\npMl le 1\nwJs st 1\nVwq qu 1\nyCw wa 1\nqds qu 1\nrRj er 1\nQhv th 1\nucG ch 1\noEh th 1\nwQi in 1\nlSg ng 1\nLqt th 1\nnlH an 1\nuqG qu 1\nOao an 1\nhlX th 1\nfPw wa 1\ntIb th 1\nzIq qu 1\nqmG qu 1\nxJm me 1\nVgw ng 1\nUkx ka 1\nztH th 1\nlhP th 1\nJtk th 1\nHzd sz 1\nyxQ ny 1\nnrP an 1\nfHh th 1\nYct th 1\nGqa an 1\nFgy ng 1\noBn an 1\nvuC qu 1\nBnz an 1\nvPu qu 1\nxFf fo 1\njdJ de 1\nfGf fo 1\nYjq qu 1\nQjp ij 1\nxTj ij 1\nvOq qu 1\nvLw va 1\nsMf st 1\noVl on 1\ncwN ch 1\nsgR ng 1\njjQ ij 1\nwzR sz 1\nzhY th 1\nvbR va 1\nwgW ng 1\nqwX qu 1\nNxw wa 1\neQo er 1\nmQp me 1\nKqh th 1\ntvA th 1\ndlJ le 1\nyVx ny 1\nsPf st 1\ndQz sz 1\nsZb st 1\nzhS th 1\nkWb ka 1\nmqP qu 1\nFfk ka 1\nxql qu 1\ngqH qu 1\nTly le 1\nkpL ka 1\nqEg qu 1\nbMg ng 1\nxRj ij 1\nxsC st 1\njlS le 1\nlzM le 1\nPfb be 1\nuJv qu 1\nyVf ny 1\nZgq qu 1\nxbS be 1\noFh th 1\nxvb va 1\nhcU th 1\nwwU wa 1\nyCg ng 1\nmPz sz 1\nsJd st 1\nbmN me 1\nuVc ch 1\nqdS qu 1\nVwp pr 1\nVml le 1\nHqy qu 1\nLfz sz 1\nAyj ij 1\nyxK ny 1\nHwv va 1\ngIp ng 1\nZgt th 1\nXtw th 1\nhLf th 1\nNkd de 1\njMs st 1\nxFt th 1\nxBw wa 1\nwHd de 1\nQzz sz 1\ngYt th 1\nPvk ka 1\npvY va 1\nJxt th 1\nugQ qu 1\nLqq qu 1\nxlL le 1\nwMb wa 1\nSbz sz 1\nvEv va 1\nqfz qu 1\ngcS ch 1\ntCq th 1\nyHp pr 1\nzkF sz 1\nxuK qu 1\nTbf be 1\nIpg ng 1\nYzk sz 1\nQwz sz 1\npFj ij 1\njPm ij 1\nDpq qu 1\npJz sz 1\nwpN pr 1\nwzE sz 1\ngqD qu 1\nXwm me 1\noQx on 1\nlCp le 1\nMhk th 1\ndTq qu 1\nxUw wa 1\nhgE th 1\ngcB ch 1\nhpJ th 1\nmqK qu 1\ngBn an 1\nhIv th 1\nlqD qu 1\nwPx wa 1\nsMt th 1\nyXw wa 1\njKq qu 1\nLrz er 1\nHwj ij 1\nyfW ny 1\nYyu qu 1\nqYs qu 1\nyvR va 1\nsRz st 1\nKyx ny 1\nnxR an 1\ncdJ ch 1\nNwc ch 1\ntbE th 1\noeZ er 1\nbcQ ch 1\nSwb wa 1\nIkq qu 1\nBvz sz 1\nzhF th 1\nXqy qu 1\nkKb ka 1\nWdk de 1\nwpP pr 1\nkQy ka 1\nBqe qu 1\nqfZ qu 1\npPw pr 1\nAoh th 1\nplJ le 1\nYnv an 1\njMh th 1\nbQg ng 1\nafM an 1\njvO ij 1\neHf er 1\nhQg th 1\nkqY qu 1\nzJq qu 1\npYh th 1\nqeM qu 1\nKpk ka 1\nkfW ka 1\nWds st 1\nbNc ch 1\nvBx va 1\nsuJ qu 1\nqEx qu 1\nrfZ er 1\noHg ng 1\neFw er 1\nfPp pr 1\nkDb ka 1\ntZn th 1\ndcK ch 1\nyWv va 1\nUxv va 1\nyQe er 1\nZjq qu 1\nWjv ij 1\nygO ng 1\nojQ on 1\nKwc ch 1\npFg ng 1\nsMd st 1\nMfq qu 1\nMzy sz 1\nNwp pr 1\nywT wa 1\nwLq qu 1\nHqm qu 1\nqsC qu 1\nbNn an 1\nbUv va 1\nnRc ch 1\nRlk le 1\nBqp qu 1\ncfI ch 1\nmVq qu 1\nqGj qu 1\nvlX le 1\nkfG ka 1\nwVd de 1\ncdE ch 1\nhzE th 1\nDhv th 1\nbzj sz 1\nvvL va 1\nbzQ sz 1\nwVb wa 1\nZxl le 1\nzLw sz 1\nhTq th 1\nVqp qu 1\nhmW th 1\nflD le 1\nKcd ch 1\npDq qu 1\nkvY ka 1\ncQl ch 1\nIxk ka 1\nsGf st 1\ngFh th 1\nRkd de 1\nqHl qu 1\nrCg ng 1\nqBn an 1\nsJw st 1\ncWj ch 1\nzXp sz 1\nHhl th 1\nhjP th 1\nqlZ qu 1\nHxr er 1\nzrE er 1\ngkH ng 1\nuHk qu 1\nGzm sz 1\ncBc ch 1\nzff sz 1\nzLs st 1\nUqy qu 1\nvkD ka 1\nfqX qu 1\nhLj th 1\nfYu qu 1\njKw ij 1\njIb ij 1\nnrU an 1\nfFp pr 1\nsbC st 1\nmGv va 1\nfXp pr 1\nPkv ka 1\nCqe qu 1\ncCx ch 1\nrNq qu 1\nZwf wa 1\nJgc ch 1\nxlQ le 1\ngBz ng 1\ncIx ch 1\nodQ on 1\nQnz an 1\nUzx sz 1\nJpt th 1\ngxX ng 1\nZkd de 1\nXkk ka 1\nhRv th 1\nycV ch 1\nzMm sz 1\neBq qu 1\ngHd ng 1\nbxU be 1\nxdK de 1\nmQc ch 1\ntYj th 1\nhlF th 1\ncRz ch 1\nlGz le 1\nzFz ze 1\nqOp qu 1\nGgc ch 1\noGm on 1\nXnp an 1\nwYg ng 1\nwuJ qu 1\nsNs st 1\nzqU qu 1\nkCp ka 1\nWhw th 1\nnQx an 1\nvwA va 1\nVcg ch 1\nkWj ij 1\nHqd qu 1\nCpy pr 1\nzcL ch 1\ncfF ch 1\nkXn an 1\naXj an 1\nSwk ka 1\nfhq th 1\nVxi in 1\nGqu un 1\nUxd de 1\nzdK sz 1\nhZq th 1\nmwJ me 1\ncvD ch 1\nlbZ le 1\nPzl le 1\nhdO th 1\nhJn th 1\nqWp qu 1\ndXy de 1\nfuU qu 1\nfXy ny 1\nxnL an 1\ngMf ng 1\nrNf er 1\nxQh th 1\nkqH qu 1\nrFz er 1\nvpT va 1\nNwy wa 1\nyqA qu 1\nvhO th 1\nkVh th 1\nnYb an 1\njvN ij 1\nbIf be 1\nqqS qu 1\njbF ij 1\ngMk ng 1\nbTd de 1\nRhd th 1\ntWq th 1\ngLz ng 1\nfsD st 1\nuMt th 1\nyHq qu 1\nXgj ng 1\nLmm me 1\nvkU ka 1\nlAx le 1\nKzd sz 1\nhKm th 1\nkQd de 1\ngFc ch 1\nwyX wa 1\nzfU sz 1\nxpU pr 1\nywJ wa 1\nAyq qu 1\ngIu qu 1\nzuQ qu 1\nVfn an 1\nvBn an 1\nHty th 1\ngRv ng 1\npTb pr 1\nUqx qu 1\nvTn an 1\nvJc ch 1\nUiw in 1\nJlp le 1\nzPq qu 1\nrCx er 1\nlqS qu 1\nzlZ le 1\nzOw sz 1\nklK le 1\nkfQ ka 1\nuJx qu 1\npkP ka 1\nGqz qu 1\nJlc ch 1\nyyD ny 1\njhX th 1\ncrV ch 1\nDww wa 1\nyjw ij 1\nqpX qu 1\nQmd de 1\nyWz sz 1\nwPd de 1\nUqk qu 1\nnbR an 1\nYdc ch 1\nqQl qu 1\npmD me 1\nJkj ka 1\njTk ka 1\nwYf wa 1\nZzx sz 1\nrkQ er 1\nbDp pr 1\nqSs qu 1\ngXr ng 1\ncZb ch 1\nNgp ng 1\nhqQ th 1\nWvw va 1\nWbw wa 1\nwvK va 1\ncJf ch 1\nMwd de 1\nddJ de 1\niwE in 1\nbxX be 1\njxT ij 1\nYcn ch 1\nwMf wa 1\nbqD qu 1\nyqI qu 1\ndRj de 1\nwYy wa 1\nTxz sz 1\nvrN er 1\nqVu un 1\nmRj ij 1\nFjx ij 1\nfyQ ny 1\nxeI er 1\nWqf qu 1\nJly le 1\njDb ij 1\nYzu qu 1\nBxm me 1\nwLj ij 1\nbqc ch 1\nsgK ng 1\nkqW qu 1\nZsn an 1\nFqq qu 1\nrXz er 1\nlJq qu 1\njEh th 1\nnCb an 1\nXrd er 1\nRzh th 1\ngfW ng 1\nXtl th 1","i8", -B,q.g+272568); -C("\nmTx me 1\nufA qu 1\nwjQ ij 1\nxlW le 1\ndqH qu 1\nxhM th 1\nXwt th 1\ndnW an 1\nRfz sz 1\nfKp pr 1\nkFw ka 1\nQuv qu 1\nmXw me 1\nVkw ka 1\ntFh ch 1\nhIu th 1\nlTf le 1\nMwv va 1\nwvT va 1\nkKp ka 1\ntRv th 1\nwXo on 1\nvzL sz 1\nJcf ch 1\nTbq qu 1\njdQ de 1\nRbx be 1\nJrm er 1\nsRj st 1\nzWz sz 1\nqnE an 1\nKcf ch 1\nQqm qu 1\nfpI pr 1\niNw in 1\nujE qu 1\nqHv qu 1\nJvx va 1\nhHc th 1\nfvJ va 1\nnqY an 1\nwpE wa 1\nHws st 1\nxzI sz 1\nCgg ng 1\ncWd ch 1\nquV un 1\nbjN ij 1\nxQp pr 1\nbxE be 1\nuVk qu 1\nWrl er 1\nLrx er 1\nIwl le 1\naqB an 1\nVcp ch 1\nWwt th 1\naGx an 1\nfPn an 1\nmFq qu 1\nqgd qu 1\nZsd st 1\nVxs sz 1\nKhq th 1\nwSs st 1\noGq qu 1\nYzv sz 1\ndqX qu 1\nmpQ me 1\nKcp ch 1\nswD st 1\nrZg ng 1\njYm ij 1\nuJl qu 1\nvWv va 1\nsvO st 1\npFd de 1\nYjx ij 1\ntpI th 1\ndVt th 1\nsNm st 1\nlKt th 1\nnvU an 1\nHxf fo 1\npuW qu 1\nwJg ng 1\ngxR ng 1\nfAg ng 1\nYqe qu 1\nPwz sz 1\nhmC th 1\nylJ le 1\nmqT qu 1\ncCf ch 1\npZg ng 1\naFx an 1\noYq qu 1\nfPj ij 1\ndJt th 1\nxwn an 1\nCcb ch 1\nwFn an 1\nwrY er 1\nCdh th 1\nhLc th 1\nZxg ng 1\nMxc ch 1\nhcY th 1\nzVw sz 1\nhkV th 1\ntxE th 1\nyvT va 1\nMlw le 1\nztF th 1\nfGd de 1\nzjE sz 1\ngjM ng 1\njwP ij 1\nKxt th 1\nyFg ng 1\nWcg ch 1\nthZ ch 1\nhzQ th 1\nJtg th 1\nyvK va 1\nzVz sz 1\nPwb wa 1\nxqD qu 1\nuyQ qu 1\ngCm ng 1\nzjU sz 1\nxGq qu 1\nMqy qu 1\nOcx ch 1\nsqM qu 1\nlRb le 1\ntfU th 1\nvZg ng 1\nfZc ch 1\ngpZ ng 1\nFpf pr 1\nqtQ th 1\nmhZ th 1\nbqF qu 1\nfgG ng 1\nwoT on 1\nzSb sz 1\nwxS wa 1\nWrf er 1\nOqk qu 1\nxLc ch 1\nQzj sz 1\nwXk ka 1\ntdX th 1\nJqc ch 1\nfXk ka 1\nkBd de 1\niqW qu 1\nOcb ch 1\nfUo on 1\njXk ij 1\nhbI th 1\nZcg ch 1\nzwS wa 1\ncVm ch 1\nvwj ij 1\ngwG ng 1\nzsM st 1\nPqo qu 1\nhPj th 1\nfwG wa 1\nXwh th 1\nWwh th 1\nVqw qu 1\nvmY va 1\nuvF qu 1\ntfK th 1\nXbg ng 1\nNfn an 1\nwpH pr 1\nyJq qu 1\nwqO qu 1\nncV ch 1\nwgM ng 1\nfQk ka 1\nhvK th 1\nqLr qu 1\nWce ch 1\nkFn an 1\nrBm er 1\nmdV de 1\njFc ch 1\nknX an 1\nnMf an 1\nsCc ch 1\npCq qu 1\nuJt th 1\nCfk ka 1\nCxb be 1\nfOw wa 1\naJz an 1\ngLt th 1\nbmX me 1\nYfo on 1\ndJf de 1\nEay an 1\nqSd qu 1\nmjQ ij 1\npNk ka 1\nNvh th 1\nxkX ka 1\nJwx wa 1\njvL ij 1\nfpH pr 1\npxO pr 1\nvPx va 1\ndWu qu 1\nhbR th 1\nwoE on 1\ngtX th 1\nbfF be 1\nmvW va 1\nxsM st 1\nwLv va 1\nwHh th 1\nsCn an 1\npLw pr 1\nkXw ka 1\nxVl le 1\nhCc th 1\noUk on 1\nzcF ch 1\nsMv st 1\ndrZ er 1\nwfO wa 1\nyFv va 1\nhXa th 1\nqMu un 1\nfCv va 1\nfwC wa 1\noTg ng 1\nFkm ka 1\neQt th 1\nPxd de 1\nkjG ij 1\ntGs th 1\ndqB qu 1\nfmX me 1\nxYi in 1\nkIk ka 1\nvDd de 1\nkvC ka 1\nqtZ th 1\nfPc ch 1\ndpN de 1\nhNr th 1\nZnj an 1\nHke er 1\nIqp qu 1\nwfN wa 1\nVhx th 1\nDgk ng 1\nmkQ ka 1\nWxd de 1\nIcx ch 1\nyYt th 1\ntqx th 1\nZvf va 1\nsxU st 1\nLqk qu 1\nnfI an 1\njyq qu 1\nWvn an 1\nSdv de 1\nuYc ch 1\nQgm ng 1\ncXa ch 1\nwBx wa 1\npYx pr 1\njWl le 1\nKfw wa 1\nqjJ qu 1\nPjj ij 1\najX an 1\nsXd st 1\nxHg ng 1\nxhA th 1\nrGm er 1\nQtm th 1\nsrY er 1\nqPx qu 1\nwRz sz 1\nwOg wa 1\nfLg ng 1\nhQt th 1\njhW th 1\nCwk ka 1\nzWl le 1\nwJc ch 1\nPxv va 1\nnpI an 1\nlnW an 1\nkqy qu 1\nywg ng 1\nsCd st 1\nqfF qu 1\nqpg qu 1\nMbx be 1\nnwN an 1\nwLs st 1\nWcv ch 1\nVvr er 1\nVkx ka 1\ndmU de 1\nfGs st 1\ngJz ng 1\ndFz sz 1\nqCf qu 1\nlvW le 1\nSvb va 1\nxJr er 1\nuZf qu 1\nTjc ch 1\npIj ij 1\nbVg ng 1\nvdO de 1\nlTq qu 1\nbMh th 1\nnDm an 1\nTzb sz 1\npCw pr 1\nQkg ng 1\nfpY pr 1\nyQj ij 1\nqiC qu 1\nmQi in 1\nwUq qu 1\nkVj ij 1\ntjQ th 1\nmXj ij 1\nXfd de 1\ncgI ch 1\nPkj ij 1\njjF ij 1\njrJ er 1\nqwZ qu 1\nRtz th 1\nfHb be 1\nHgx ng 1\nDzf sz 1\ncbE ch 1\nXfs st 1\nRjm ij 1\nfmY me 1\nwYj ij 1\nuFp qu 1\nvWm va 1\nyVc ch 1\ncgL ch 1\nzmR sz 1\nzfB sz 1\nznH an 1\nhgG th 1\nxuE qu 1\nBsl le 1\noWx on 1\nPjl le 1\nJdf de 1\nXmp me 1\nsgO ng 1\nhCj th 1\nwtR th 1\nfDs st 1\nbQb be 1\nquM un 1\nfLl le 1\nNhp th 1\nznU an 1\nsdS st 1\nwWu qu 1\ntFq th 1\ncFq ch 1\nWwl le 1\nLqy qu 1\nnqQ an 1\nzmD sz 1\nGyx ny 1\nbkR ka 1\nlQw le 1\nPqm qu 1\nFwk ka 1\ntHt th 1\njyL ij 1\nqxA qu 1\nmrC er 1\nqzL qu 1\njJg ng 1\njfS ij 1\nqMh th 1\nmlV le 1\nbkJ ka 1\nknH an 1\nUqt th 1\ncuF ch 1\niYq qu 1\nfUe er 1\nsBb st 1\nNhx th 1\nrhP th 1\ndWp de 1\nYvf va 1\nRxr er 1\nkzG sz 1\nxuZ qu 1\nxvD va 1\nfwq qu 1\nhjJ th 1\nkZr er 1\nvJn an 1\nxnO an 1\nvcA ch 1\nmfK me 1\nvjS ij 1\nNvp va 1\ndfB de 1\nQsb st 1\ndXp pr 1\nzRl le 1\nEjq qu 1\naGz an 1\nnHg an 1\nbvA va 1\nBfd de 1\nzVg ng 1\nzsY st 1\nhVz th 1\nPjm ij 1\nsXi in 1\niKj in 1\nqaE an 1\nCfj ij 1\nzMc ch 1\nmgZ ng 1\nvgA ng 1\niwJ in 1\nvGx va 1\ntfY th 1\nljH le 1\nzGj sz 1\nbmK me 1\nnUq an 1\nzRt th 1\ntGj th 1\nzVd sz 1\njSr er 1\nfNq qu 1\nxTg ng 1\nnqE an 1\nWng an 1\nzVv sz 1\ngVs ng 1\nfNd de 1\nqNw qu 1\nZnc ch 1\nuJs qu 1\nyvJ va 1\nxlM le 1\nJzc ch 1\nvRh th 1\nfcK ch 1\nwVn an 1\nrWw er 1\ncHk ch 1\nvOx va 1\niUa an 1\nnWn an 1\nzqZ qu 1\nxFj ij 1\nnCg an 1\nfYj ij 1\nVsx st 1\nmtM th 1\nmhG th 1\njtN th 1\nhcC th 1\nNwk ka 1\ndXu qu 1\nmJq qu 1\nxsO st 1\nqRn an 1\nRnj an 1\nkmP ka 1\nXtg th 1\nGvh th 1\njqv qu 1\ncVl ch 1\ncdI ch 1\nzdE sz 1\nhZk th 1\nBdx de 1\nhHn th 1\nhkG th 1\nvxJ va 1\nlrA er 1\nlrT er 1\nhjV th 1\nqbI qu 1\nmTg ng 1\nfmV me 1\nrDk er 1\ndNd de 1\nGzj sz 1\naVj an 1\nvNr er 1\nkXa an 1\nrGs er 1\nxaX an 1\ncrG ch 1\nqJa an 1\njDt th 1\nMfx fo 1\nxEa an 1\nQvz sz 1\nwRg ng 1\npFc ch 1\nCpv va 1\nrJk er 1\nfbQ be 1\nXzg ng 1\nqFy qu 1\nZfj ij 1\ntwE th 1\nOaq an 1\nysY st 1\nwdZ de 1\ngmO ng 1\nwGn an 1\nwRk ka 1\ngqS qu 1\nAgq qu 1\nTwv va 1\nQnv an 1\nbVv va 1\ncDw ch 1\ntGq th 1\nfbq qu 1\nTvw va 1\nmNv va 1\ndtE th 1\npzP sz 1\nVsw sz 1\nqGq qu 1\nqPc ch 1\nqyC qu 1\nnxF an 1\njDl le 1\njHt th 1\nfxZ fo 1\nsQc ch 1\nnmH an 1\nxrD er 1\nhMh th 1\nvHk ka 1\nhmS th 1\nXdt th 1\nXwl le 1\nuJr qu 1\nsPk st 1\nXjp ij 1\nUqi qu 1\nkgD ng 1\njgI ng 1\nuFw qu 1\nxNd de 1\ndhI th 1\nLxo on 1\nSfq qu 1\nzRp sz 1\nxwK wa 1\nfmB me 1\nvrV er 1\nqSf qu 1\njPn an 1\nHbp pr 1\nbJt th 1\nlqQ qu 1\nxSd de 1\ndMk de 1\nvVz sz 1\nvkK ka 1\nXds de 1\nybB be 1\ngpE ng 1\nqcC ch 1\npxL pr 1\ngPm ng 1\nBpd de 1\ndpB de 1\njlJ le 1\npkC ka 1\nypP pr 1\nNqm qu 1\ntgZ th 1\nEqo qu 1\ndRk de 1\nUbc ch 1\nxhY th 1\nlJd le 1\npvN va 1\nQfc ch 1\nDbw wa 1\nsFc ch 1\nwkX ka 1\nxpR pr 1\npjJ ij 1\ngkQ ng 1\nrMf er 1\nJsn an 1\nxOw wa 1\nDqu un 1\nnbJ an 1\ngvF ng 1\nFnp an 1\njpV ij 1\nqtD th 1\nuEj qu 1\nyhY th 1\nOhq th 1\nnXy an 1\npdU de 1\nmDz sz 1\niVk in 1\nHqq qu 1\nxpZ po 1\naeU an 1\nsjZ st 1\nsGp st 1\nWqn an 1\nxqS qu 1\nJjc ch 1\nqPp qu 1\nsXz st 1\nxvP va 1\nWbq qu 1\ntjK th 1\nlhH th 1\nhqV th 1\ndYf de 1\npFk ka 1\nsFq qu 1\nuHq qu 1\nvhA th 1\njlE le 1\nsqB qu 1\nqnr an 1\nFxq qu 1\nzHn an 1\npdB de 1\nwHc ch 1\nPxj ij 1\ngHx ng 1\nnqJ an 1\noqX qu 1\nXby be 1\ntbI th 1\nkSf ka 1\nvhD th 1\nqHj qu 1\nNpx pr 1\nQzp sz 1\nxiU in 1\nrjZ er 1\nwjU ij 1\njtB th 1\nYgq qu 1\naQf an 1\nxWu qu 1\naVf an 1\npQx pr 1\nLnw an 1\nqWa an 1\nuHp qu 1\nLvp va 1\nJxp pr 1\nzHk sz 1\nwvU va 1\nWqh th 1\nhVs th 1\nXgy ng 1\ndZj de 1\nuCq qu 1\nGxl le 1\nHlg ng 1\nWqd qu 1\nDxz sz 1\nhdN th 1\npvM va 1\nWxk ka 1\nqWd qu 1\nfiO in 1\nfDw wa 1\nbHj ij 1\niVh th 1\nPmg ng 1\nfXc ch 1\nxfL fo 1\nyGc ch 1\nyBn an 1\nhCk th 1\nLlk le 1\nyMh th 1\nqrY qu 1\ngdX ng 1\nqxG qu 1\nZmt th 1\nRzw sz 1\nnBd an 1\nmWl le 1\nxuI qu 1\njyF ij 1\nbVu qu 1\nygP ng 1\ndFq qu 1\njFm ij 1\nRml le 1\nklH le 1\nVff fo 1\nKzk sz 1\nLhv th 1\ncSj ch 1\nQrh th 1\nuBw qu 1\nsCk ka 1\nqyS qu 1\ncXu ch 1\nwfM wa 1\nkdK de 1\ncXj ch 1\nctZ th 1\nfjI ij 1\ncgS ch 1\nmwL me 1\nkzU sz 1\ncZr ch 1\nfqU qu 1\nqJi qu 1\ngDd ng 1\nbKq qu 1\naUw an 1\nsxE st 1\nmxU me 1\ncwY ch 1\nfpC pr 1\nsRw st 1\nKkq qu 1\nwxA wa 1\ngQf ng 1\npPb pr 1\nHwu ku 1\nsuX qu 1\nlqY qu 1\nsxW st 1\naFh th 1\nlWq qu 1\npbZ pr 1\nbqm qu 1\nkJk ka 1\nqtT th 1\nzMd sz 1\nhGs th 1\nxlH le 1\ndmq qu 1\nXrk er 1\nOcf ch 1\nmKc ch 1\nzrA er 1\ngxE ng 1\nqWu un 1\nxQf fo 1\nXoz on 1\nfmP me 1\nkdD de 1\nbBz sz 1\nwpA pr 1\nnMb an 1\ntHq th 1\njMt th 1\nSvq qu 1\njMl le 1\nwBc ch 1\nymX me 1\nhcB th 1\nbrU er 1\npaX an 1\nhdG th 1\nFwp pr 1\nsbY st 1\nmhB th 1\npfZ pr 1\nVmh th 1\nsCq qu 1\nZfw wa 1\nLjm ij 1\npqG qu 1\ndpK de 1\ntfG th 1\nijR in 1\niJy in 1\nqfN qu 1\ncrS ch 1\ncgT ch 1\nwOt th 1\nfnE an 1\nhWp th 1\nZpw pr 1\nwdO de 1\nvYy va 1\nqrI qu 1\ndmF de 1\njhJ th 1\nwHr er 1\nJzb sz 1\nfEy ny 1\nhhZ th 1\nwpQ pr 1\nqYg qu 1\nqtY th 1\nKdx de 1\nqfj qu 1\nRbv va 1\nbbO be 1\nXcn ch 1\nkCd de 1\nGcx ch 1\nzmC sz 1\nwJl le 1\nqDc ch 1\nJzr er 1\nYrw er 1\nKsx st 1\nuKx qu 1\njSc ch 1\nLjz sz 1\nxdB de 1\nzWb sz 1\nvwY va 1\nvMd de 1\ndbH de 1\nQsu qu 1\nwHq qu 1\ngJh th 1\nwZp pr 1\nbtO th 1\nXmv va 1\nqpd qu 1\nJnw an 1\nvlD le 1\nxcX ch 1\nYvv va 1\nZft th 1\nHqz qu 1\nxqM qu 1\nHth ch 1\nztL th 1\niOj in 1\ncIz ch 1\nhhC th 1\ntvX th 1\nFgk ng 1\nmjC ij 1\nOjp ij 1\nkvI ka 1\nzqb qu 1\nqqW qu 1\niHg ng 1\njxJ ij 1\nGbz sz 1\nnQc ch 1\npXq qu 1\njDd de 1\nqQr qu 1\nvJx va 1\nzbY sz 1\nfRm me 1\nqEl qu 1\noaZ an 1\nvjF ij 1\nlqX qu 1\npSd de 1\nbXq qu 1\njJv ij 1\nWrv er 1\nKpw pr 1\nxaY an 1\njCv ij 1\nfbR be 1\npTp pr 1\nwdI de 1\nqfQ qu 1\nRrq qu 1\ndbF de 1\nbzF sz 1\nqwO qu 1\nvrY er 1\ntwI th 1\nzLf sz 1\nbVc ch 1\nXnl an 1\nWgb ng 1\nfuS qu 1\nvIf va 1\nTwt th 1\nnKd an 1\nDkh th 1\nuBd qu 1\nkOz ka 1\nzOj sz 1\nnzE an 1\nZbh th 1\nqMg qu 1\ngfC ng 1\nvgD ng 1\nytC th 1\nmqM qu 1\nKjn an 1\nxbX be 1\nzfH sz 1\nmwH me 1\nzQb sz 1\nGzk sz 1\nqsW qu 1\nkNs st 1\nLqz qu 1\nnmW an 1\nqNx qu 1\nzcQ ch 1\nqMz qu 1\nwGz sz 1\nuCd qu 1\nBpv pr 1\nqNe qu 1\nbpP pr 1\nlXf le 1\ncLq ch 1\npdX de 1\nqzU qu 1\nKxd de 1\njvF ij 1\nrFn an 1\nEtq th 1\nzYh th 1\nKsv st 1\nfJk ka 1\nfkC ka 1\nmxK me 1\nfbz sz 1\nvrW er 1\nmPq qu 1\nyBt th 1\niCf in 1\nsrH er 1\nhjB th 1\nfcG ch 1\nFtg th 1\nuBp qu 1\nyqT qu 1\ndjF de 1\ntgU th 1\nWrj er 1\nxFc ch 1\nycC ch 1\neqA qu 1\npbG pr 1\nCwh th 1\nfDk ka 1\nwTz sz 1\nxrW er 1\nkQs st 1\nwMl le 1\nyCn nd 1\neGp er 1\nuPv qu 1\nWqe qu 1\nyiI in 1\nrqF qu 1\nKjs st 1\nlwK le 1\nfjQ ij 1\nuIq qu 1\ndxR de 1\nGqj qu 1\nnLb an 1\ngRd ng 1\nqyv qu 1\nwtZ th 1\ncRk ch 1\niKf in 1\nhbK th 1\nrqT qu 1\nxmF me 1\nvHt th 1\ntqN th 1\nvLv va 1\nxvJ va 1\nbgJ ng 1\nQjq qu 1\nLvb va 1\nHxg ng 1\ntVq th 1\nrhZ th 1\nslL le 1\nkdH de 1\nKfb be 1\nDfh th 1\nCqq qu 1\nnQk an 1\nWnz an 1\nNjj ij 1\nbJf be 1\nwRh th 1\nDpb pr 1\nsPj st 1\nZpn an 1\nmPj ij 1\nQcl ch 1\nzCd sz 1\nyrC er 1\nhCb th 1\naBv an 1\nyuG qu 1\nfcN ch 1\nbZp pr 1\nGtf th 1\nwbW wa 1\nvPq qu 1\nVtj th 1\nkWq qu 1\nJbm me 1\nWmb me 1\npxY pr 1\nhQx th 1\ntNn th 1\nqdx qu 1\ncYv ch 1\nzlX le 1\nrwF er 1\ncZm ch 1\nybJ be 1\nqaB an 1\ntVj th 1\nzUg ng 1\ncfC ch 1\nhxB th 1\nTbz sz 1\noFn an 1\nbTp pr 1\nhBk th 1\nhQe th 1\nqBe de 1\ndpC de 1\nkpW ka 1\nZkj ij 1\nNwn an 1\ngrC ng 1\nuXq qu 1\nUoy on 1\nZfu qu 1\nxKb be 1\nhSb th 1\nbPc ch 1\nqcg ch 1\nxIu qu 1\ngBv ng 1\ngZm me 1\nqPu un 1\nBfp pr 1\nrxC er 1\nsLk st 1\nhGj th 1\nqvR qu 1\nqpR qu 1\nvNn an 1\nDft th 1\nnRq an 1\nkhR th 1\npqP qu 1\ntNp th 1\nVwt th 1\nxwA wa 1\nwMn an 1\nSnq an 1\ndfD de 1\nvGw va 1\nXqb qu 1\nKww wa 1\nQhx th 1\nOyx ny 1\ndvB de 1\nsVh th 1\nHcn ch 1\nsbU st 1\nfFw wa 1\nkfT ka 1\nrvW er 1\nYxw wa 1\nnFk an 1\nLqd qu 1\nhoQ th 1\nNfj ij 1\ngrH ng 1\ncJk ch 1\nPnv an 1\nNqx qu 1\nyfE ny 1\nkmI ka 1\nGmz sz 1\nbxS be 1\nquU un 1\nqYf qu 1\nzKw sz 1\nwhK th 1\nofY on 1\nprH er 1\njXz sz 1\nvQm va 1\niWx in 1\nbzC sz 1\nnYx an 1\nqaK an 1\nGgb ng 1\nzSf sz 1\nrQz er 1\nhkW th 1\nVnl an 1\nGtd th 1\nrMw er 1\nwvX va 1\njyU ij","i8", -B,q.g+282808); -C(" 1\nQqp qu 1\nHnq an 1\nbFb be 1\nqkH qu 1\nWck ch 1\nfMw wa 1\nzgE ng 1\noJz on 1\nxvH va 1\nhQy th 1\ncYf ch 1\ncxD ch 1\nyDs st 1\nqBh th 1\ncJx ch 1\ndPj de 1\nwWd de 1\nrHn an 1\niyM in 1\nyxD ny 1\nkPc ch 1\ncXv ch 1\nNmg ng 1\nvkN ka 1\nlFj le 1\nymU me 1\npZv va 1\ngZt th 1\nJqy qu 1\nqAz qu 1\nBcy ch 1\npqj qu 1\ncqE ch 1\nRwv va 1\ncrM ch 1\nAxz sz 1\nZjp ij 1\nyxF ny 1\nvZh th 1\nsPb st 1\nvCs st 1\nfQq qu 1\nqYq qu 1\nhBp th 1\nJbk ka 1\ngqK qu 1\nkrq qu 1\nCfz sz 1\nmbJ me 1\nfRq qu 1\nIwv va 1\nuFn an 1\ncYz ch 1\nqDb qu 1\nxHd de 1\nqmI qu 1\nycE ch 1\nMhf th 1\niuE qu 1\ngXf ng 1\nlPy le 1\nbPv va 1\njXh th 1\ngOx ng 1\nNmv va 1\nxDg ng 1\nCwd de 1\nljP le 1\nwqV qu 1\nnrE an 1\nKmw me 1\ngJt th 1\ntgB th 1\nxzR sz 1\nvJr er 1\naUi an 1\nynY an 1\nbZv va 1\nfFq qu 1\nSxg ng 1\nqAc ch 1\niZv in 1\njXu qu 1\ngpR ng 1\nwVl le 1\ndNj de 1\nfBw wa 1\nMjy ij 1\nkjZ ij 1\ntLs th 1\niYj in 1\nwbO wa 1\nqXb qu 1\nuJq qu 1\nqKt th 1\nvjO ij 1\nwuD qu 1\nblQ le 1\nyfB ny 1\nQsk st 1\nUwm me 1\nZqg qu 1\nnmY an 1\npXw pr 1\nyVj ij 1\ngIw ng 1\nHxk ka 1\nPgy ng 1\nlQv le 1\nbnK an 1\nxtZ th 1\nQce ch 1\nNjq qu 1\nmvq qu 1\nMwz sz 1\nGtn th 1\nfJh th 1\nvJz sz 1\ngDk ng 1\ndLw de 1\noeU er 1\ncvY ch 1\nGbb be 1\nTqd qu 1\naTp an 1\nYwg ng 1\njdT de 1\nWkm ka 1\npxA pr 1\nvDl le 1\nsfD st 1\nrqV qu 1\ncHb ch 1\niVc ch 1\nMfh th 1\nsVm st 1\nnzR an 1\nQvs st 1\nkZg ng 1\nWnw an 1\nqZb qu 1\nGvq qu 1\nvPk ka 1\nSxq qu 1\nvNg ng 1\nqrH qu 1\nfLc ch 1\nwVs st 1\nqEh th 1\nuqC qu 1\ntZx th 1\nyhI th 1\nwNh th 1\nrFj er 1\nxPq qu 1\npqW qu 1\nPjc ch 1\njYj ij 1\npFv va 1\nvLr er 1\nlqq qu 1\nxJg ng 1\nlVz le 1\ncZc ch 1\nhcF th 1\nuhJ th 1\ncLj ch 1\nqyW qu 1\nzhT th 1\nmtK th 1\npRb pr 1\nbCx be 1\nnJf an 1\njwF ij 1\nPdj de 1\njxE ij 1\nslZ le 1\nLxn an 1\nznL an 1\nmzV sz 1\nlGq le 1\nQbw wa 1\njbY ij 1\nzSm sz 1\nQqx qu 1\nypR pr 1\ngCc ch 1\nYvx va 1\nihI th 1\nZfx fo 1\nnjI nd 1\nYpt th 1\nlxT le 1\nfVv va 1\nJzm sz 1\njxA ij 1\ngDl ng 1\nEaq an 1\nQcn an 1\nzGb sz 1\njLh th 1\nqkX qu 1\nwbK wa 1\nnNx an 1\nsqW qu 1\nwRx wa 1\nxrU er 1\nfnQ an 1\nkzB sz 1\nRcn ch 1\nqbL qu 1\nsrD er 1\nVxu qu 1\nqvF qu 1\nwJr er 1\nYxg ng 1\nqiY qu 1\nfMc ch 1\nhbY th 1\nhgH th 1\ndmS de 1\njTn an 1\nZjm ij 1\nNjl le 1\ndqV qu 1\nYjh th 1\nrKw er 1\ncxU ch 1\nCkj ij 1\nzfJ sz 1\nytF th 1\nxrP er 1\nqEj qu 1\nrxO er 1\nrZn an 1\nbZq qu 1\ncXq ch 1\nwvD va 1\nhcX th 1\nzkO sz 1\nhNx th 1\nwFg ng 1\nkXu qu 1\nVkn an 1\nGjz sz 1\nQcd ch 1\nyvF va 1\nxFx xe 1\ndSj de 1\nxPb be 1\noFp on 1\nqAk qu 1\nrqU qu 1\npGv va 1\nhzC th 1\nqIk qu 1\nLhl th 1\nFwb wa 1\npgE ng 1\nAwz sz 1\nfBk ka 1\nxKd de 1\nPfw wa 1\nuqK qu 1\npJc ch 1\nbTc ch 1\ntWg th 1\ngdN ng 1\njrN er 1\nklS le 1\nqEi qu 1\nsFn an 1\ntqR th 1\nFnm an 1\nhXv th 1\nfxN fo 1\nbvL va 1\noGf on 1\nhZm th 1\nyfH ny 1\ndcE ch 1\npgW ng 1\nwrB er 1\nkWm ka 1\nShx th 1\ntwP th 1\nQvd de 1\nQgu qu 1\npJt th 1\nzNv sz 1\nHph th 1\nklF le 1\nvqz qu 1\nsgG ng 1\nkdZ de 1\nejX er 1\nPxu qu 1\npvT va 1\nKqx qu 1\nQmb me 1\nxFk ka 1\nwQb wa 1\nPgx ng 1\nypL pr 1\nbwE wa 1\nxHt th 1\nkVz sz 1\njmF ij 1\nIxq qu 1\nqyP qu 1\nrVv er 1\nYtw th 1\nqpZ qu 1\ntpZ th 1\nzjX sz 1\nKhg th 1\nqfV qu 1\nJzx sz 1\nkTj ij 1\nBzq qu 1\nnjR an 1\ncgW ch 1\ncmI ch 1\nkCb ka 1\npYp pr 1\nvkZ ka 1\nwvk ka 1\nVfq qu 1\nnlZ an 1\nqNj qu 1\nrCq qu 1\nkbV ka 1\nDqj qu 1\nbrD er 1\nlbG le 1\nxhF th 1\nkxZ ka 1\nIuq qu 1\nyFx ny 1\nqVl qu 1\nlcG ch 1\nvWr er 1\naBq an 1\nyJk ka 1\nczL ch 1\njIu qu 1\nvUl le 1\npZq qu 1\nvtW th 1\nQxw wa 1\ndYv de 1\niqH qu 1\nXws st 1\nfDj ij 1\nxVz sz 1\ndKq qu 1\nvfQ va 1\nhvD th 1\nwdY de 1\nHzz sz 1\ncYs ch 1\nFtj th 1\ndpU de 1\nLld le 1\nGqw qu 1\nkdR de 1\nvXg ng 1\nqsY qu 1\njNf ij 1\nQjj ij 1\npVl le 1\nJmx me 1\npDj ij 1\niBc ch 1\nkLj ij 1\nxnG an 1\nvTl le 1\nNdg ng 1\npqU qu 1\nUaw an 1\nfzN sz 1\ngNq qu 1\nkjM ij 1\nlnK an 1\nzxb sz 1\nkcS ch 1\nnjM an 1\nGdw de 1\nlnZ an 1\nYgj ng 1\nhKd th 1\ngpT ng 1\nyqP qu 1\nijX in 1\njGf ij 1\nbxI be 1\nvXx va 1\nVrw er 1\nCwx wa 1\nnBh th 1\nqvy qu 1\nsxB st 1\nmVk ka 1\nCzx sz 1\nfyV ny 1\ncXw ch 1\nQnf an 1\nYqd qu 1\nlqH qu 1\ndbY de 1\nSqb qu 1\nKqw qu 1\nzpJ sz 1\ncbM ch 1\nzFg ng 1\nsKb st 1\nqrK qu 1\nzJc ch 1\nnRn an 1\nfqN qu 1\nhfA th 1\nqoG qu 1\nOwz sz 1\nnlG an 1\nwIx wa 1\nqrP qu 1\nNwg ng 1\nqaW an 1\nhcT th 1\nwkB ka 1\nNdt th 1\nKzq qu 1\ngxB ng 1\nBjz sz 1\nvTf va 1\njFq qu 1\nqMe qu 1\nufQ qu 1\nnpG an 1\nuZk qu 1\nqTw qu 1\nGlw le 1\nKqq qu 1\nCxr er 1\njZs st 1\nSqv qu 1\nyPm me 1\neQj er 1\naIh th 1\ngDq qu 1\nlIp le 1\njNj ij 1\nqOd qu 1\nvkM ka 1\nvFy va 1\ncfV ch 1\nKjh th 1\ngkP ng 1\nrJc ch 1\nuPq qu 1\nozQ on 1\nDlk le 1\nvXh th 1\nktY th 1\nvWy va 1\ngQv ng 1\nYww wa 1\nTpz sz 1\nQhc th 1\nxuT qu 1\nnbS an 1\nzQg ng 1\nvgZ ng 1\npUo on 1\nuWb qu 1\nmMf me 1\nZcd ch 1\niBp in 1\nfwp pr 1\nzYf sz 1\nwCp pr 1\nCqy qu 1\ncjF ch 1\nGfh th 1\nmcW ch 1\ncqV ch 1\nuJd qu 1\niUj in 1\nvkR ka 1\nwgI ng 1\nvUg ng 1\nWdn de 1\nsjF st 1\ntPv th 1\nxRn an 1\nklV le 1\nsbM st 1\nmfT me 1\ndbV de 1\nFmn an 1\ngfU ng 1\ncbB ch 1\nYxz sz 1\nKxk ka 1\nDwq qu 1\nwgX ng 1\nsPv st 1\nvHd de 1\nnbH an 1\ncFn an 1\nqqX qu 1\njFe er 1\nqEb qu 1\ndFh th 1\nuEo qu 1\nlcI ch 1\nbMm me 1\nzZw sz 1\nhjO th 1\nhKx th 1\njgC ng 1\ncnL an 1\nFdg ng 1\nbGf be 1\nSjz sz 1\nbMj ij 1\nvXw va 1\nGff fo 1\nCww wa 1\njsQ st 1\nZgv ng 1\nlPf le 1\nnmQ an 1\nVdq qu 1\nlcX ch 1\ngjT ng 1\nmwE me 1\nqLm qu 1\ncHq ch 1\nXtn th 1\nNtq th 1\ngWk ng 1\nPqd qu 1\nqpP qu 1\nsRf st 1\nqpL qu 1\ncnD an 1\nqpG qu 1\ndzS sz 1\ntZb th 1\nygM ng 1\nbxC be 1\ndfU de 1\nbmB me 1\nlBz le 1\ngJx ng 1\nYkv ka 1\nZdk de 1\nwnQ an 1\ntZj th 1\nZzm sz 1\nVfh th 1\nMwc ch 1\nrUo on 1\nqwp qu 1\ntcI th 1\ntfD th 1\nuoZ qu 1\nfCw wa 1\niQq qu 1\nqBg qu 1\nsVb st 1\npjU ij 1\nscQ ch 1\npqQ qu 1\nsvZ st 1\nZpj ij 1\npiV in 1\nkbP ka 1\nwqM qu 1\nrVb er 1\nqZr qu 1\nhxO th 1\nwTn an 1\nJzf sz 1\nQjb ij 1\nuYv qu 1\npwK pr 1\nhvH th 1\nDqe qu 1\npfI pr 1\nmhV th 1\njgE ng 1\nrcQ ch 1\nkmT ka 1\nWzj sz 1\nxNs st 1\nPbj ij 1\nzvB sz 1\nxhJ th 1\nsvq qu 1\nNvn an 1\nswZ st 1\njgF ng 1\nmfL me 1\nzkL sz 1\njVp ij 1\nDkj ij 1\nxuY qu 1\nhHq th 1\ncSf ch 1\nJzd sz 1\nlqU qu 1\nqMd qu 1\nQgj ng 1\nfxk ka 1\ntRt th 1\nzFk sz 1\nqEo qu 1\nvoY on 1\nAwj ij 1\nTxj ij 1\ncIg ch 1\nxUu qu 1\nsRr er 1\nJxn an 1\niPf in 1\nejY er 1\nXts th 1\npfT pr 1\nPqa an 1\nzsV st 1\nypC pr 1\nwMs st 1\nqEc ch 1\nvxY va 1\nfUg ng 1\nDff fo 1\ngqQ qu 1\nzMv sz 1\nvJi in 1\nfPv va 1\ndLz sz 1\ncdM ch 1\ngNx ng 1\naGv an 1\nvvD va 1\ndJh th 1\nrxY er 1\nrWj er 1\nPvx va 1\nrhD th 1\nzRd sz 1\nKgv ng 1\nXvy va 1\nkZj ij 1\nkpK ka 1\nPfn an 1\nwUe er 1\nwWx wa 1\njPw ij 1\ngLq qu 1\niJq qu 1\ngPx ng 1\njHd de 1\nvJb va 1\nxhB th 1\nxQv va 1\nEoa an 1\npjO ij 1\nyFj ij 1\nsXo on 1\nwbY wa 1\ncjO ch 1\nmlZ le 1\nbNv va 1\nkjP ij 1\nyXn an 1\nqVj qu 1\nfNv va 1\ngjW ng 1\nnXj an 1\ndqJ qu 1\nHnh th 1\nQyk ka 1\nkvB ka 1\nqyB qu 1\nmDt th 1\nzgP ng 1\nZzk sz 1\nfMk ka 1\nxzY sz 1\nqbT qu 1\nxOt th 1\nxsA st 1\ngLj ng 1\nzxH sz 1\ncLm ch 1\nDnk an 1\nzIu qu 1\nkpJ ka 1\nxrK er 1\neIb er 1\nJbp pr 1\nBqg qu 1\ntXg th 1\nZjk ij 1\ndRd de 1\ntjZ th 1\nhQl th 1\niyW in 1\nJwd de 1\nqZt th 1\ncJp ch 1\njBg ng 1\nzrG er 1\nhWf th 1\nZds st 1\nqsZ qu 1\ncQx ch 1\nccN ch 1\nywM wa 1\ngbX ng 1\ntfT th 1\nvwt th 1\nQbp pr 1\nyeY er 1\naUb an 1\nqHw qu 1\nFhq th 1\nFng an 1\nlvI le 1\njCf ij 1\nhqH th 1\ntTq th 1\nsfI st 1\nvsM st 1\nlDp le 1\nwJb wa 1\nbhX th 1\nrRq qu 1\nqtS th 1\nZwp pr 1\nJbh th 1\nhHb th 1\npDy pr 1\nsjD st 1\nOyp pr 1\nqwD qu 1\njbD ij 1\nvpG va 1\nWjb ij 1\nvpB va 1\naXq an 1\nmWz sz 1\nqHi qu 1\nfyN ny 1\nmbQ me 1\nywC wa 1\noVg ng 1\nxmZ me 1\nslO le 1\nfXn an 1\nkYs st 1\npVu qu 1\nbkU ka 1\nBrq qu 1\nqCq qu 1\nXcx ch 1\nzMt th 1\ncRw ch 1\ngzQ ng 1\nQbg ng 1\njuU qu 1\nxSz sz 1\nVgz ng 1\noMw on 1\nfpE pr 1\nxjX ij 1\nqCg qu 1\nzwM sz 1\nuQl qu 1\nqPk qu 1\npjD ij 1\nQzm sz 1\nsIp st 1\nuoG qu 1\nrVl er 1\ncbK ch 1\nhXm th 1\nKsf st 1\nkbF ka 1\nwBm me 1\niYt th 1\nsgH ng 1\nGzv sz 1\nyvE va 1\nxKq qu 1\nsWf st 1\nzBc ch 1\nykH ka 1\nvjH ij 1\nwhI th 1\nvPj ij 1\nZht th 1\niJx in 1\ncZt th 1\ndqU qu 1\nhMd th 1\ncUj ch 1\nvMg ng 1\npcJ ch 1\nBcm ch 1\njXi in 1\nxoI on 1\nZkq qu 1\nXzr er 1\nyzM sz 1\nqjX qu 1\nmNq qu 1\nhpX th 1\nfBq qu 1\ntXd th 1\nXki in 1\nHsq qu 1\nbqU qu 1\nsgF ng 1\ndPc ch 1\nJxi in 1\nUgp ng 1\nRxi in 1\nKwm me 1\nzkD sz 1\nRql qu 1\npJb pr 1\nfcV ch 1\niVd in 1\nbBp be 1\nOjw ij 1\nvZl le 1\nIyj ij 1\nfkU ka 1\nKcq ch 1\ndBq qu 1\nMqq qu 1\niMg ng 1\nWws st 1\ntqX th 1\nxhD th 1\nrNl er 1\npWd de 1\njrV er 1\nBmj ij 1\nHmq qu 1\nvlH le 1\nMxb be 1\nyyS ny 1\nqvW qu 1\nfvX va 1\nVfe er 1\nCdw de 1\nKge ng 1\nQej er 1\nrvZ er 1\nvzI sz 1\ndDn an 1\nnwS an 1\nQcb ch 1\nwkV ka 1\nuCx qu 1\nIgk ng 1\nVpm me 1\nhBm th 1\npdQ de 1\nfgQ ng 1\nyQm me 1\ngxH ng 1\npqK qu 1\nlRc ch 1\nXdv de 1\nhDz th 1\ndFw de 1\nqQu un 1\nxbD be 1\nqmE qu 1\nmWm me 1\njBb ij 1\njXt th 1\nfxU fo 1\nXwc ch 1\nLqf qu 1\nhcP th 1\npfB pr 1\nvSg ng 1\nxJw wa 1\nmRf me 1\nhqW th 1\nnVb an 1\ncEu ch 1\nnfN an 1\nnVj an 1\nRwk ka 1\nnmG an 1\noDt th 1\nkPb ka 1\ngqW qu 1\nQhf th 1\nqZl qu 1\nzHq qu 1\niXl in 1\n\x00\x00\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00word_res != NULL\x00\x00\x00\x00\x00\x00\x00\x00../wordrec/associate.cpp\x00\x00\x00\x00\x00\x00\x00\x00AssociateUtils::ComputeStats() for col=%d, row=%d%s\n\x00\x00\x00\x00 (fixed pitch)\x00\x00normalizing height = %g (scale %g xheight %g ascenders %g)\n\x00\x00\x00\x00\x00wh_ratio=%g (max_char_wh_ratio=%g) gap_sum=%d %s\n\x00\x00\x00\x00\x00\x00\x00bad_shape\x00\x00\x00\x00\x00\x00\x00left_gap %g, left_seam %g %s\n\x00\x00\x00right_gap %g right_seam %g %s\n\x00\x00full_wh_ratio %g full_wh_ratio_total %g full_wh_ratio_var %g\n\x00\x00\x00shape_cost %g\n\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00Good seam picked=\x00\x00\x00\x00\x00\x00\x00\n** no seam picked *** \n\x00\x00\x00\x00\x00\x00\x00\x00blob_number from fixpt = %d\n\x00\x00\x00\x00blob_number = %d\n\x00\x00\x00\x00\x00\x00\x00Initial:\x00\x00\x00\x00\x00\x00\x00\x00Final Ratings Matrix:\n\x00\x00Chop1\x00\x00\x00Chop2\x00\x00\x00rating_ceiling = %8.4f\n\x00rating_ceiling = No Limit\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\u00e0\u009b\u0004\x00(\x00\x00\x00)\x00\x00\x00\u0005\x00\x00\x00\n\x00\x00\x006MATRIX\x0013BandTriMatrixIP16BLOB_CHOICE_LISTE\x00\x00\x00\x0016GENERIC_2D_ARRAYIP16BLOB_CHOICE_LISTE\x00\u0080-\u001a\x00\u00a0\u009b\u0004\x00\u00a8-\u001a\x00x\u009b\u0004\x00\u00c8\u009b\u0004\x00\x00\x00\x00\x00\u00a8-\u001a\x00p\u009b\u0004\x00\u00d0\u009b\u0004\x00\x00\x00\x00\x00row >= column\x00\x00\x00row - column < this->dim2_\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\u00c8\u009b\u0004\x00(\x00\x00\x00*\x00\x00\x00\u0005\x00\x00\x00\x0B\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00Pushing new seam with priority %g :\x00\x00\x00\x00\x00seam: \x00\x00Old seam staying with priority %g\n\x00\x00\x00\x00\x00\x00New seam with priority %g beats old worst seam with %g\n\x00Partial priority \x00\x00\x00\x00Full my_priority %0.0f, \x00\x00\x00\x00\x00\x00\x00Combo priority \x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00language_model_debug_level\x00\x00\x00\x00\x00\x00Language model debug level\x00\x00\x00\x00\x00\x00language_model_ngram_on\x00Turn on/off the use of character ngram model\x00\x00\x00\x00language_model_ngram_order\x00\x00\x00\x00\x00\x00Maximum order of the character ngram model\x00\x00\x00\x00\x00\x00language_model_viterbi_list_max_num_prunable\x00\x00\x00\x00Maximum number of prunable (those for which PrunablePath() is true) entries in each viterbi list recorded in BLOB_CHOICEs\x00\x00\x00\x00\x00\x00\x00language_model_viterbi_list_max_size\x00\x00\x00\x00Maximum size of viterbi lists recorded in BLOB_CHOICEs\x00\x00language_model_ngram_small_prob\x00To avoid overly small denominators use this as the floor of the probability returned by the ngram model.\x00\x00\x00\x00\x00\x00\x00\x00language_model_ngram_nonmatch_score\x00\x00\x00\x00\x00Average classifier score of a non-matching unichar.\x00\x00\x00\x00\x00language_model_ngram_use_only_first_uft8_step\x00\x00\x00language_model_ngram_scale_factor\x00\x00\x00\x00\x00\x00\x00Strength of the character ngram model relative to the character classifier \x00\x00\x00\x00\x00language_model_ngram_rat","i8", -B,q.g+293048); -C("ing_factor\x00\x00\x00\x00\x00\x00Factor to bring log-probs into the same range as ratings when multiplied by outline length \x00\x00\x00\x00\x00language_model_ngram_space_delimited_language\x00\x00\x00Words are delimited by space\x00\x00\x00\x00language_model_min_compound_length\x00\x00\x00\x00\x00\x00Minimum length of compound words\x00\x00\x00\x00\x00\x00\x00\x00language_model_penalty_non_freq_dict_word\x00\x00\x00\x00\x00\x00\x00Penalty for words not in the frequent word dictionary\x00\x00\x00language_model_penalty_non_dict_word\x00\x00\x00\x00Penalty for non-dictionary words\x00\x00\x00\x00\x00\x00\x00\x00language_model_penalty_punc\x00\x00\x00\x00\x00Penalty for inconsistent punctuation\x00\x00\x00\x00language_model_penalty_case\x00\x00\x00\x00\x00Penalty for inconsistent case\x00\x00\x00language_model_penalty_script\x00\x00\x00Penalty for inconsistent script\x00language_model_penalty_chartype\x00Penalty for inconsistent character type\x00language_model_penalty_font\x00\x00\x00\x00\x00Penalty for inconsistent font\x00\x00\x00language_model_penalty_spacing\x00\x00Penalty for inconsistent spacing\x00\x00\x00\x00\x00\x00\x00\x00language_model_penalty_increment\x00\x00\x00\x00\x00\x00\x00\x00Penalty increment\x00\x00\x00\x00\x00\x00\x00wordrec_display_segmentations\x00\x00\x00Display Segmentations\x00\x00\x00language_model_use_sigmoidal_certainty\x00\x00Use sigmoidal score for certainty\x00\x00\x00\x00\x00\x00\x00dict_ != NULL\x00\x00\x00../wordrec/language_model.cpp\x00\x00\x00str_ptr == str_end\x00\x00\x00\x00\x00\x00\nUpdateState: col=%d row=%d %s\x00\x00just_classified\x00(parent=%p)\n\x00\x00\x00\x00No parents found to process\n\x00\x00\x00\x00Parent viterbi list\x00\x00\x00\x00\x00first_unichar != NULL\x00\x00\x00Considering\x00\x00\x00\x00\x00Parent %s has competition %s\n\x00\x00\x00AddViterbiStateEntry for unichar %s rating=%.4f certainty=%.4f top_choice_flags=0x%x\x00\x00\x00\x00 parent_vse=%p\n\x00AddViterbiStateEntry: viterbi list is full!\n\x00\x00\x00\x00ngram_info != NULL\x00\x00\x00\x00\x00\x00Language model components very early pruned this entry\n\x00Language model components early pruned this entry\n\x00\x00\x00\x00\x00\x00Adjusted cost = %g\n\x00\x00\x00\x00\x00Language model components did not like this entry\n\x00\x00\x00\x00\x00\x00Discarded ViterbiEntry with high cost %g max cost %g\n\x00\x00\x00Discarded ViterbiEntry with high cost %g\n\x00\x00\x00\x00\x00\x00\x00!curr_state->viterbi_state_entries.empty()\x00\x00\x00\x00\x00\x00Set viterbi_state_entries_prunable_max_cost to %g\n\x00\x00\x00\x00\x00\x00New\x00\x00\x00\x00\x00Updated viterbi list\x00\x00\x00\x00GenerateTopChoiceInfo: top_choice_flags=0x%x\n\x00\x00\x00Hyphenated word found\n\x00\x00Found compound marker\n\x00\x00Compound word found\n\x00\x00\x00\x00Test Letter OK for unichar %d, normed %d\n\x00\x00\x00\x00\x00\x00\x00Letter was OK for unichar %d, normed %d\n\x00\x00\x00\x00\x00\x00\x00\x00Letter %s not OK!\n\x00\x00\x00\x00\x00\x00ngram_info->context_unichar_step_len <= language_model_ngram_order\x00\x00\x00\x00\x00\x00GenerateNgramInfo\x00\x00\x00\x00\x00\x00\x00prob(%s | %s)=%g\n\x00\x00\x00\x00\x00\x00\x00Found small prob %g\n\x00\x00\x00\x00-log [ p(%s) * p(%s | %s) ] = -log2(%g*%g) = %g\n\x00\x00\x00\x00\x00\x00\x00\x00c_it.data() != NULL\x00\x00\x00\x00\x00len != 0\x00\x00\x00\x00\x00\x00\x00\x00ComputeDenom\x00\x00\x00\x00pfont %s pfont %s font %s font2 %s common %s(%d)\n\x00\x00\x00\x00\x00\x00\x00fontinfo_id < fontinfo_table_->size()\x00\x00\x00temp_fid < 0 || fontinfo_table_->size()\x00spacing for %s(%d) %s(%d) col %d: expected %g actual %g\n\x00\x00\x00\x00\x00\x00\x00\x00vse != NULL\x00\x00\x00\x00\x00ComputeAdjustedPathCost %g ParamsModel features:\n\x00\x00\x00\x00\x00\x00\x00%s=%g\n\x00\x00vse->ngram_info != NULL\x00UpdateBestChoice() constructed word\x00\x00\x00\x00\x00Raw features extracted from %s (cost=%g) [ \x00\x00\x00\x00\x00%g \x00\x00\x00\x00\x00]\n\x00\x00\x00\x00\x00\x00Updated raw choice\n\x00\x00\x00\x00\x00Updated best choice\n\x00\x00\x00\x00New state \x00\x00\x00\x00\x00\x00full_wh_ratio_var += (%g-%g)^2\n\x00i == 0\x00\x00total_blobs == word_res->ratings->dimension()\x00\x00\x00reserved_ >= len\x00\x00\x00\x00\x00\x00\x00\x00../ccstruct/ratngs.h\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00NO pain point (Classified) for col=%d row=%d type=%s\n\x00\x00\x00Generating pain point for col=%d row=%d type=%s\n\x00\x00\x00\x00\x00\x00\x00\x00Discarded pain point with a bad shape\n\x00\x00Added pain point with priority %g\n\x00\x00\x00\x00\x00\x00Pain points heap is full\n\x00\x00\x00\x00\x00\x00\x00row >= col\x00\x00\x00\x00\x00\x00../ccstruct/matrix.h\x00\x00\x00\x00 script=%d, font1=%d, font2=%d, yshift=%g, classifier=%d\n\x00\x00\x00\x00\x00\x00\x00r%.2f c%.2f x[%g,%g]: %d %s\x00\x00\x00\x00\x00%s ViterbiStateEntry\x00\x00\x00\x00(NEW)\x00\x00\x00 str=%s\x00 with ratings_sum=%.4f length=%d cost=%.6f\x00\x00\x00\x00\x00\x00 top_choice_flags=0x%x\x00\x00 inconsistent=(punc %d case %d chartype %d script %d font %d)\x00\x00\x00 permuter=%d\x00\x00\x00\x00 ngram_cl_cost=%g context=%s ngram pruned=%d\x00\x00\x00\x00 shape_cost=%g\x00\x00 %s\x00\x00\x00\x00\x00X\u00af\u0004\x00`\u00af\u0004\x00p\u00af\u0004\x00\x00\x00\x00\x00%s VSEs (max_cost=%g prn_len=%d tot_len=%d):\n\x00\x00\x00XH_GOOD\x00XH_SUBNORMAL\x00\x00\x00\x00XH_INCONSISTENT\x00ParamsModel for pass %d lang %s\n\x00\x00\x00\x00\x00\x00\x00\x00%s = %g\n\x00\x00\x00\x00\x00\x00\x00\x00ParamsModel::Incomplete line %s\n\x00\x00\x00\x00\x00\x00\x00\x00 %f\x00\x00\x00\x00\x00ParamsModel::Unknown parameter %s\n\x00\x00\x00\x00\x00\x00Missing field %s.\n","i8", -B,q.g+303288);C("wordrec_display_all_blobs\x00\x00\x00\x00\x00\x00\x00Display Blobs","i8",B,q.g+307352);C("wordrec_display_all_words\x00\x00\x00\x00\x00\x00\x00Display Words","i8",B,q.g+307416); -C("wordrec_blob_pause\x00\x00\x00\x00\x00\x00Blob pause\x00\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00Final seam list:\x00\x00\x00\x00\x00\x00\x00\x00Pain points queue is empty\n\x00\x00\x00\x00\x00num_futile_classifications %d\n\x00\x00Done with SegSearch (AcceptableChoiceFound: %d)\n\x00\x00\x00\x00\x00\x00\x00\x00 (with assoc)\x00\x00\x00Starting SegSearch on ratings matrix%s:\n\x00\x00\x00\x00\x00\x00\x00\x00ratings->dimension() == pending->size()\x00../wordrec/segsearch.cpp\x00\x00\x00\x00\x00\x00\x00\x00ratings->dimension() == best_choice_bundle->beam.size()\x00\n\nUpdateSegSearchNodes: col=%d, rows=[%d,%d], alljust=%d\n\x00\x00\x00\x00\x00\x00\x00Added child col=%d to pending\n\x00\x00word_res->StatesAllValid()\x00\x00\x00\x00\x00\x00Classifying pain point %s priority=%.4f, col=%d, row=%d\n\x00\x00\x00\x00\x00\x00\x00\x00pain_points != NULL\x00\x00\x00\x00\x00pain_point.Valid(*ratings)\x00\x00\x00\x00\x00\x00Updated ratings matrix with a new entry:","i8", -B,q.g+307480); -C("X\u00b4\u0004\x00+\x00\x00\x00,\x00\x00\x00\f\x00\x00\x00\x00\x00\x00\x0029_TessMemberResultCallback_2_2ILb0EbN9tesseract12LMPainPointsEdP8WERD_RESiiE\x00\x00\x0019TessResultCallback2IbiiE\x00\x00\x00\x00\x00\x00\u0080-\u001a\x000\u00b4\u0004\x00\u00a8-\u001a\x00\u00e0\u00b3\u0004\x00P\u00b4\u0004\x00\x00\x00\x00\x00x\u00b4\u0004\x00\u0090\u00b4\u0004\x00\u00a8\u00b4\u0004\x00\u00b8\u00b4\u0004\x00LM_PPTYPE_BLAMER\x00\x00\x00\x00\x00\x00\x00\x00LM_PPTYPE_AMBIGS\x00\x00\x00\x00\x00\x00\x00\x00LM_PPTYPE_PATH\x00\x00LM_PPTYPE_SHAPE\x00`\u00f8\u0019\x00\x00\x00\x00\x00word->StatesAllValid()\x00\x00../wordrec/tface.cpp\x00\x00\x00\x00\x00\x00\x00\x00\u00d0\u00be\u0004\x00-\x00\x00\x00.\x00\x00\x00\u0001\x00\x00\x00\x00\x00\x00\x00merge_fragments_in_matrix\x00\x00\x00\x00\x00\x00\x00Merge the fragments in the ratings matrix and delete them after merging\x00wordrec_no_block\x00\x00\x00\x00\x00\x00\x00\x00Don't output block information\x00\x00wordrec_enable_assoc\x00\x00\x00\x00Associator Enable\x00\x00\x00\x00\x00\x00\x00force_word_assoc\x00\x00\x00\x00\x00\x00\x00\x00force associator to run regardless of what enable_assoc is.This is used for CJK where component grouping is necessary.\x00\x00wordrec_worst_state\x00\x00\x00\x00\x00Worst segmentation state\x00\x00\x00\x00\x00\x00\x00\x00fragments_guide_chopper\x00Use information from fragments to guide chopping process\x00\x00\x00\x00\x00\x00\x00\x00repair_unchopped_blobs\x00\x00Fix blobs that aren't chopped\x00\x00\x00tessedit_certainty_threshold\x00\x00\x00\x00Good blob limit\x00chop_debug\x00\x00\x00\x00\x00\x00Chop debug\x00\x00\x00\x00\x00\x00chop_enable\x00\x00\x00\x00\x00Chop enable\x00\x00\x00\x00\x00chop_vertical_creep\x00\x00\x00\x00\x00Vertical creep\x00\x00chop_split_length\x00\x00\x00\x00\x00\x00\x00Split Length\x00\x00\x00\x00chop_same_distance\x00\x00\x00\x00\x00\x00Same distance\x00\x00\x00chop_min_outline_points\x00Min Number of Points on Outline\x00chop_seam_pile_size\x00\x00\x00\x00\x00Max number of seams in seam_pile\x00\x00\x00\x00\x00\x00\x00\x00chop_new_seam_pile\x00\x00\x00\x00\x00\x00Use new seam_pile\x00\x00\x00\x00\x00\x00\x00chop_inside_angle\x00\x00\x00\x00\x00\x00\x00Min Inside Angle Bend\x00\x00\x00chop_min_outline_area\x00\x00\x00Min Outline Area\x00\x00\x00\x00\x00\x00\x00\x00chop_split_dist_knob\x00\x00\x00\x00Split length adjustment\x00chop_overlap_knob\x00\x00\x00\x00\x00\x00\x00Split overlap adjustment\x00\x00\x00\x00\x00\x00\x00\x00chop_center_knob\x00\x00\x00\x00\x00\x00\x00\x00Split center adjustment\x00chop_centered_maxwidth\x00\x00Width of (smaller) chopped blobs above which we don't care that a chop is not near the center.\x00\x00chop_sharpness_knob\x00\x00\x00\x00\x00Split sharpness adjustment\x00\x00\x00\x00\x00\x00chop_width_change_knob\x00\x00Width change adjustment\x00chop_ok_split\x00\x00\x00OK split limit\x00\x00chop_good_split\x00Good split limit\x00\x00\x00\x00\x00\x00\x00\x00chop_x_y_weight\x00X / Y length weight\x00\x00\x00\x00segment_adjust_debug\x00\x00\x00\x00Segmentation adjustment debug\x00\x00\x00assume_fixed_pitch_char_segment\x00include fixed-pitch heuristics in char segmentation\x00\x00\x00\x00\x00wordrec_debug_level\x00\x00\x00\x00\x00Debug level for wordrec\x00wordrec_max_join_chunks\x00Max number of broken pieces to associate\x00\x00\x00\x00\x00\x00\x00\x00wordrec_skip_no_truth_words\x00\x00\x00\x00\x00Only run OCR for words that had truth recorded in BlamerBundle\x00\x00wordrec_debug_blamer\x00\x00\x00\x00Print blamer debug messages\x00\x00\x00\x00\x00wordrec_run_blamer\x00\x00\x00\x00\x00\x00Try to set the blame for errors\x00segsearch_debug_level\x00\x00\x00SegSearch debug level\x00\x00\x00segsearch_max_pain_points\x00\x00\x00\x00\x00\x00\x00Maximum number of pain points stored in the queue\x00\x00\x00\x00\x00\x00\x00segsearch_max_futile_classifications\x00\x00\x00\x00Maximum number of pain point classifications per chunk thatdid not result in finding a better word choice.\x00\x00\x00\x00\x00\x00segsearch_max_char_wh_ratio\x00\x00\x00\x00\x00Maximum character width-to-height ratio\x00save_alt_choices\x00\x00\x00\x00\x00\x00\x00\x00Save alternative paths found during chopping and segmentation search\x00\x00\x00\x00N9tesseract7WordrecE\x00\x00\x00\x00\u00a8-\u001a\x00\u00b8\u00be\u0004\x00\b\u00d8\u0005","i8", -B,q.g+308164);C("textord_debug_tabfind\x00\x00\x00Debug tab finding","i8",B,q.g+311160);C("textord_debug_bugs\x00\x00\x00\x00\x00\x00Turn on output related to bugs in tab finding","i8",B,q.g+311232);C("textord_testregion_left\x00Left edge of debug reporting rectangle","i8",B,q.g+311328);C("textord_testregion_top\x00\x00Top edge of debug reporting rectangle","i8",B,q.g+311416);C("textord_testregion_right\x00\x00\x00\x00\x00\x00\x00\x00Right edge of debug rectangle","i8",B,q.g+311504); -C("textord_testregion_bottom\x00\x00\x00\x00\x00\x00\x00Bottom edge of debug rectangle","i8",B,q.g+311592);C("textord_debug_images\x00\x00\x00\x00Use greyed image background for debug","i8",B,q.g+311672);C("textord_debug_printable\x00Make debug windows printable\x00\x00\x00\x00psdebug_pix","i8",B,q.g+311752); -C(".pix\x00\x00\x00\x00\x00\x00\x00\x00\u0090\u00c4\u0004\x00/\x00\x00\x000\x00\x00\x00\u0002\x00\x00\x00\x00\x00\x00\x00Confirming tab vector of %d pts starting at %d,%d\n\x00\x00\x00\x00\x00\x00Box was %d, %d\n\x00After fitting\x00\x00\x00Ragged tab used too many used points: %d out of %d\n\x00\x00\x00\x00\x00Tab vector failed basic tests: pt count %d vs min %d, length %d vs min %d, min grad %g\n\x00Starting alignment run at blob:\x00Alignment run ended with %d pts at blob:\x00\x00\x00\x00\x00\x00\x00\x00Starting %s %s search at %d-%d,%d, search_size=%d, gutter=%d\n\x00\x00\x00Right\x00\x00\x00Left\x00\x00\x00\x00Neighbour too far at (%d,%d)->(%d,%d)\n\x00\x00neighbour at (%d,%d)->(%d,%d), n_x=%d, n_y=%d, xatn=%d\n\x00gutter\n\x00aligned, seeking%d, l=%d, r=%d\n\x00Backup\n\x00Better backup\n\x00\x00N9tesseract11AlignedBlobE\x00\x00\x00\x00\x00\x00\x00\u00a8-\u001a\x00p\u00c4\u0004\x008\u00cb\u0004\x00\x00\x00\x00\x00CLIST_ITERATOR::add_after_then_move\x00\x00\x00\x00\x00new_data is NULL\x00\x00\x00\x00\x00\x00\x00\x00Baseline (%g,%g)->(%g,%g), angle=%g, intercept=%g\n\x00\x00\x00\x00\x00\x00Quant factor=%g, error=%g, good=%d, box:\x00\x00\x00\x00\x00\x00\x00\x00Row empty at:\x00\x00\x00Mode at %g has error %g from model \n\x00\x00\x00\x00Attempting linespacing model fit with mode %g to row at:\x00\x00\x00\x00\x00\x00\x00\x00Linespacing model only moves current line by %g for row at:\x00\x00\x00\x00\x00Linespacing model not close enough to any mode for row at:\x00\x00\x00\x00\x00\x00Constrained error = %g, original = %g\x00\x00\x00 angles = %g, %g, delta=%g vs threshold %g\n\x00\x00\x00\x00\x00Replacing with constrained baseline, good = %d\n\x00Keeping old baseline\n\x00\x00\x00Initial block skew angle = %g, good = %d\n\x00\x00\x00\x00\x00\x00\x00Adjusting block to skew angle %g\n\x00\x00\x00\x00\x00\x00\x00Spacing %g, in %d rows, %d gaps fitted out of %d non-trivial\n\x00\x00\x00Estimate of linespacing = %g\n\x00\x00\x00Final linespacing model = %g + offset %g, error %g\n\x00\x00\x00\x00\x00%d: %g\n\x00Median offset = %g, compared to mean of %g.\n\x00\x00\x00\x00Linespacing of y=%g x + %g improved to %g x + %g, rms=%g\n\x00\x00\x00\x00\x00\x00\x00Fitting initial baselines...\n\x00\x00\x00Page skew angle = %g\n\x00\x00\x00_spline.png\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00\x00\x00\x00\x00\u00d0\u00c8\u0004\x001\x00\x00\x002\x00\x00\x00\x00\x00\x00\x00\u00f0\u00c8\u0004\x003\x00\x00\x004\x00\x00\x00N9tesseract8GridBaseE\x00\x00\x00\u0080-\u001a\x00\u00b8\u00c8\u0004\x00N9tesseract7IntGridE\x00\x00\x00\x00\u00a8-\u001a\x00\u00d8\u00c8\u0004\x00\u00d0\u00c8\u0004\x00\x00\x00\x00\x00grid_x >= 0 && grid_x < gridwidth()\x00\x00\x00\x00\x00grid_y >= 0 && grid_y < gridheight()","i8", -B,q.g+311840);C("textord_underline_threshold\x00\x00\x00\x00\x00Fraction of width occupied\x00\x00\x00\x00\x00\x00Testing underline on blob at (%d,%d)->(%d,%d), base=%d\nOccs:\x00\x00\x00\x00%d %d %d\n\x00\x00\x00\x00\x00\x00\x00Bottom=%d, top=%d, base=%d, x=%d\n","i8",B,q.g+313848); -C("8\u00cb\u0004\x005\x00\x00\x006\x00\x00\x00\u0002\x00\x00\x00\x00\x00\x00\x00N9tesseract8BlobGridE\x00\x00\x00N9tesseract6BBGridI8BLOBNBOX14BLOBNBOX_CLIST13BLOBNBOX_C_ITEE\x00\x00\x00\u00a8-\u001a\x00\u00e8\u00ca\u0004\x00\u00d0\u00c8\u0004\x00\x00\x00\x00\x00\u00a8-\u001a\x00\u00d0\u00ca\u0004\x00(\u00cb\u0004\x00\x00\x00\x00\x00\x00\x00\x00\x00(\u00cb\u0004\x007\x00\x00\x008\x00\x00\x00\u0002","i8",B,q.g+314036); -C("\u00cc\u0004\x009\x00\x00\x00:\x00\x00\x00\u0002\x00\x00\x00\x00\x00\x00\x00junknoisemask.png\x00\x00\x00\x00\x00\x00\x00junkccphotomask.png\x00\x00\x00\x00\x00At %d, %d, noise = %d, good=%d, orig=%d, thr=%d\n\x00\x00\x00\x00\x00\x00\x00\x00N9tesseract15CCNonTextDetectE\x00\x00\x00\u00a8-\u001a\x00\u00e0\u00cb\u0004\x008\u00cb\u0004","i8",B,q.g+314205); -C("textord_space_size_is_variable\x00\x00If true, word delimiter spaces are assumed to have variable width, even though characters have fixed pitch.\x00\x00\x00\x00\x00Page doesn't seem to contain fixed pitch rows\n\x00\x00compute_fixed_pitch_cjk finished after %d iteration (limit=%d)\n\x00FPAnalyzer: final result\n\x00\x00\x00\x00\x00\x00\x00Row %d: pitch_decision=%d, fixed_pitch=%f, max_nonspace=%d, space_size=%f, space_threshold=%d, xheight=%f\n\x00\x00\x00\x00\x00\x00Char %d: is_final=%d is_good=%d num_blobs=%d: \x00\x00../textord/cjkpitch.cpp\x00pitch_ > 0.0f\x00\x00\x00row != NULL","i8", -B,q.g+314528);C("textord_tabfind_show_initial_partitions\x00Show partition bounds","i8",B,q.g+315184);C("textord_tabfind_show_reject_blobs\x00\x00\x00\x00\x00\x00\x00Show blobs rejected as noise","i8",B,q.g+315264);C("textord_tabfind_show_partitions\x00Show partition bounds, waiting if >1","i8",B,q.g+315360);C("textord_tabfind_show_columns\x00\x00\x00\x00Show column bounds","i8",B,q.g+315448);C("textord_tabfind_show_blocks\x00\x00\x00\x00\x00Show final block bounds","i8",B,q.g+315520); -C('textord_tabfind_find_tables\x00\x00\x00\x00\x00run table detection\x00\x00\x00\x00\x00\x00\x00\x00\x00\u00e8\u00d6\u0004\x00;\x00\x00\x00<\x00\x00\x00\u0002\x00\x00\x00\x00\x00\x00\x00Vertical=%d, orientation=%d, final rotation=(%f, %f)+(%f,%f)\n\x00\x00\x00denorm_ == NULL\x00../textord/colfind.cpp\x00\x00Empty page!!\n\x00\x00\x00Found %d blocks, %d to_blocks\n\x00\x00part_grid_.gridheight() == gridheight_\x00\x00Column candidates\x00\x00\x00\x00\x00\x00\x00Improved columns\x00\x00\x00\x00\x00\x00\x00\x00Final Columns\x00\x00\x00column_candidate != NULL\x00\x00\x00\x00\x00\x00\x00\x00Found %d %s:\n\x00\x00\x00set_count == gridheight()\x00\x00\x00\x00\x00\x00\x00Set id %d did not match at y=%d, lineset =%p\n\x00\x00\x00Biggest unassigned range = %d- %d\n\x00\x00\x00\x00\x00\x00Range modal column id = %d\n\x00\x00\x00\x00\x00Shrunk range = %d- %d\n\x00\x00Column id %d applies to range = %d - %d\n\x00\x00\x00\x00\x00\x00\x00\x00column_stats.get_total() > 0\x00\x00\x00\x00Starting expansion at %d, step=%d, limit=%d\n\x00\x00\x00\x00At %d, Barrier size=%d\n\x00At %d, good size = %d\n\x00\x00best_columns_[i] != NULL\x00\x00\x00\x00\x00\x00\x00\x00Considering partition for GridSplit:\x00\x00\x00\x00Searching box (%d,%d)->(%d,%d)\n\x00Splitting part at %d:\x00\x00\x00Split result:\x00\x00\x00Split had no effect\n\x00\x00\x00\x00Part cannot be split: blob (%d,%d)->(%d,%d) in column gap\n\x00\x00\x00\x00\x00\x00Considering part for merge at:\x00\x00In different columns\n\x00\x00\x00Considering merge with neighbour at:\x00\x00\x00\x00Running grid-based merge between:\n\x00\x00\x00\x00\x00\x00Neighbour failed hgap test\n\x00\x00\x00\x00\x00Neighbour failed overlap or typesmatch test\n\x00\x00\x00\x00Adding noise blob with distance %d, thr=%g:box:\x00To partition:\x00\x00\x00Ooops! Partition:(%d partners)\x00\x00has singleton partner:(%d partners\x00\x00\x00\x00\x00\x00but its singleton partner is:\x00\x00\x00NULL\n\x00\x00\x00column_set != NULL\x00\x00\x00\x00\x00\x00Changed column groups at grid index %d, y=%d\n\x00\x00\x00Block median size = (%d, %d)\n\x00\x00\x00Blk %d, type %d rerotation(%.2f, %.2f), char(%.2f,%.2f), box:\x00\x00\x00N9tesseract12ColumnFinderE\x00\x00\x00\x00\x00\x00\u00a8-\u001a\x00\u00c8\u00d6\u0004\x00X3\u0005\x00\x00\x00\x00\x00it2.data() != ptr\x00\x00\x00\x00\x00\x00\x00../textord/bbgrid.h\x00\x00\x00\x00\x00ELIST2_ITERATOR::add_list_after\x00`\u00f8\u0019\x00\x00\x00\x00\x00\u00e0\u00f3\u0005\x00\x00\x00\x00\x00\b\u00f4\u0005\x00\x00\x00\x00\x00\x00\u00f5\u0005\x00\x00\x00\x00\x00 \u00f5\u0005\x00\x00\x00\x00\x00Added box (%d,%d)->(%d,%d) left_blob_x_=%d, right_blob_x_ = %d\n\x00other == this\x00\x00\x00../textord/colpartition.cpp\x00\x00\x00\x00\x00bblob->owner() == this || bblob->owner() == NULL\x00\x00\x00\x00\x00\x00\x00\x00!left_key_tab_ && !right_key_tab_\x00\x00\x00\x00\x00\x00\x00Bounding box invalid\n\x00\x00\x00Margins invalid\n\x00\x00\x00\x00\x00\x00\x00\x00Key inside box: %d v %d or %d v %d\n\x00\x00\x00\x00\x00Blob is not a diacritic:\x00\x00\x00\x00\x00\x00\x00\x00OKDiacritic!\n\x00\x00\x00y ranges don\'t overlap: %d-%d / %d-%d\n\x00\x00type < BSTT_COUNT\x00\x00\x00\x00\x00\x00\x00owns_blobs() == other->owns_blobs()\x00\x00\x00\x00\x00Merging:\x00\x00\x00\x00\x00\x00\x00\x00prev_owner == other || prev_owner == NULL\x00\x00\x00\x00\x00\x00\x00Vertical partition\n\x00\x00\x00\x00\x00Voverlap %d (%d)\n\x00\x00\x00\x00\x00\x00\x00Excessive box overlap\n\x00\x00!owns_blobs() || prev_owner == this || prev_owner == NULL\x00\x00\x00\x00\x00\x00\x00!it.empty()\x00\x00\x00\x00\x00Computed left-illegal partition\n\x00\x00\x00\x00\x00\x00\x00\x00Computed right-illegal partition\n\x00\x00\x00\x00\x00\x00\x00Made partition with bad right coords\x00\x00\x00\x00Made partition with bad left coords\x00\x00\x00\x00\x00Recomputed box for partition %p\n\x00\x00\x00\x00\x00\x00\x00\x00!"Undefined flow type for image!"\x00\x00\x00\x00\x00\x00\x00!"Undefined flow type for text!"\x00\x00\x00\x00\x00\x00\x00\x00!"Should never get here!"\x00\x00\x00\x00\x00\x00\x00gap iqr = %g, blob_count=%d, limits=%g,%g\n\x00\x00\x00\x00\x00\x00No path\n\x00\x00\x00\x00\x00\x00\x00\x00Total cost = %d vs allowed %d\n\x00\x00RegionFlowTypesFromProjectionValue count=%d, noisy=%d, score=%d,\x00\x00\x00\x00\x00\x00\x00\x00 Projection value=%d, flow=%d, blob_type=%d\n\x00\x00\x00\x00blob->owner() == NULL || blob->owner() == this\x00\x00Partition with partner has no working set!:\x00\x00\x00\x00\x00Match is %s for:\x00\x00\x00\x00\x00\x00\x00\x00Real\x00\x00\x00\x00Between\x00Target column=%d, only had %d\n\x00\x00!it.cycled_list()\x00\x00\x00\x00\x00\x00\x00!part->boxes()->empty()\x00side step = %.2f, top spacing = %d, bottom spacing=%d\n\x00\x00Spacings unequal: upper:%d/%d, lower:%d/%d, sizes %d %d %d\n\x00\x00\x00\x00\x00Added line to current block.\n\x00\x00\x00Spacings equal: upper:%d/%d, lower:%d/%d\n\x00\x00\x00\x00\x00\x00\x00Making block at (%d,%d)->(%d,%d)\n\x00\x00\x00\x00\x00\x00\x00Making block at:\x00\x00\x00\x00\x00\x00\x00\x00ColPart:%c(M%d-%c%d-B%d/%d,%d/%d)->(%dB-%d%c-%dM/%d,%d/%d) w-ok=%d, v-ok=%d, type=%d%c%d, fc=%d, lc=%d, boxes=%d ts=%d bs=%d ls=%d rs=%d\n\x00\x00\x00\x00\x00\x00\x00NHSRIUVT\x00\x00\x00\x00\x00\x00\x00\x00Refining %d %s partners by type for:\n\x00\x00\x00Upper\x00\x00\x00Lower\x00\x00\x00Removing partner:\x00\x00\x00\x00\x00\x00\x00Keeping partner:\x00\x00\x00\x00\x00\x00\x00\x00Refining %d %s partners by merge for:\n\x00\x00Refining %d %s partners by overlap for:\n\x00\x00\x00\x00\x00\x00\x00\x00Spacing run ended. Cause:\x00\x00\x00\x00\x00\x00\x00No more lines\n\x00\x00Spacing change. Spacings:\n\x00\x00\x00\x00\x00\x00 Lower partner:\x00 NULL lower partner:\n\x00\x00\x00Top = %d, bottom = %d\n\x00\x00Mean spacing = %d/%d\n\x00\x00\x00Setting mean on:\x00\x00\x00\x00\x00\x00\x00\x00Left run from y=%d to %d terminated with sum %d-%d, new %d-%d\n\x00\x00Right run from y=%d to %d terminated with sum %d-%d, new %d-%d\n\x00Ownership incorrect for blob:\x00\x00\x00Part=\x00\x00\x00Not owned\n\x00\x00\x00\x00\x00\x00Owner part:\x00\x00\x00\x00\x00bblob->owner() == part\x00\x00!text_type || bblob->region_type() >= BRT_UNKNOWN\x00\x00\x00\x00\x00\x00\x00!text_type || ol_it.data()->pathlength() > 0\x00\x00\x00\x00ELIST2_ITERATOR::move_to_first\x00\x00ELIST2_ITERATOR::move_to_last\x00\x00\x00new_element is NULL\x00\x00\x00\x00\x00ELIST2_ITERATOR::empty\x00\x00boxes_.empty()\x00\x00../textord/colpartition.h\x00\x00\x00\x00\x00\x00\x00CLIST_ITERATOR::add_list_after\x00\x00list_to_add is NULL\x00\x00\x00\x00\x00ELIST2_ITERATOR::add_after_then_move',"i8", -B,q.g+315592); -C("textord_tabfind_show_color_fit\x00\x00\x00\x00\x00\x00\u00b8\u00e7\u0004\x00=\x00\x00\x00>\x00\x00\x00\u0003\x00\x00\x00\x00\x00\x00\x00Block box:\x00\x00\x00\x00\x00\x00Merge candidate:\x00\x00\x00\x00\x00\x00\x00\x00Merging:hoverlap=%d, voverlap=%d, OLI=%d\n\x00\x00\x00\x00\x00\x00\x00Overlapped when merged with increase %d: \x00\x00\x00\x00\x00\x00\x00No candidate neighbour returned\n\x00\x00\x00\x00\x00\x00\x00\x00Finding best merge candidate from %d, %d neighbours for box:\x00\x00\x00\x00Candidate not confirmed:\x00\x00\x00\x00\x00\x00\x00\x00New best merge candidate has increase %d, area %d, over box:\x00\x00\x00\x00right_part != NULL\x00\x00\x00\x00\x00\x00../textord/colpartitiongrid.cpp\x00blob->cblob()->area() != 0\x00\x00\x00\x00\x00\x00Computed margins for part:\x00\x00\x00\x00\x00\x00Finding figure captions for image part:\x00Considering partner:\x00\x00\x00\x00Best caption candidate:\x00Line count=%d, biggest gap %d, smallest%d, mean height %d\n\x00\x00\x00\x00\x00\x00End partner:\x00\x00\x00\x00Set caption type for partition:\x00Combined box overlaps another that is not OK despite allowance of %d:\x00\x00\x00Reason:\x00...and:\x00Overlap:\x00\x00\x00\x00\x00\x00\x00\x00Adding candidate:\x00\x00\x00\x00\x00\x00\x00Smooothing part at:\x00\x00\x00\x00\x00Result in dir %d = %d at dist %d\n\x00\x00\x00\x00\x00\x00\x00Modified part:\x00\x00Totals: htext=%d+%d, vtext=%d+%d, image=%d+%d, at dist=%d\n\x00\x00\x00\x00\x00\x00Part has x-gap=%d, y=%d, dist=%d at:\x00\x00\x00\x00%s %d\n\x00\x00Htext\x00\x00\x00Vtext\x00\x00\x00Weak %d\n\x00\x00\x00\x00\x00\x00\x00\x00Image %d\n\x00\x00\x00\x00\x00\x00\x00N9tesseract16ColPartitionGridE\x00\x00N9tesseract6BBGridINS_12ColPartitionENS_18ColPartition_CLISTENS_17ColPartition_C_ITEEE\x00\x00\u00a8-\u001a\x00P\u00e7\u0004\x00\u00d0\u00c8\u0004\x00\x00\x00\x00\x00\u00a8-\u001a\x000\u00e7\u0004\x00\u00a8\u00e7\u0004\x00\x00\x00\x00\x00\x00\x00\x00\x00\u00a8\u00e7\u0004\x00?\x00\x00\x00@\x00\x00\x00\u0004\x00\x00\x00\x00\x00\x00\x00Examining merge candidate:\x00\x00\x00\x00\x00\x00Too far away: h_dist = %d\n\x00\x00\x00\x00\x00\x00Too far away: v_dist = %d\n\x00\x00\x00\x00\x00\x00Candidate fails overlap and diacritic tests!\n\x00\x00\x00NC overlap failed:Candidate:\x00\x00\x00\x00fails to be a good merge with:\x00\x00merge1 != NULL && merge2 != NULL\x00\x00\x00\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00\u00e0\u00f3\u0005\x00\x00\x00\x00\x00\b\u00f4\u0005\x00\x00\x00\x00\x00!part_it.empty()\x00\x00\x00\x00\x00\x00\x00\x00../textord/colpartitionset.cpp\x00\x00Considering new column candidate:\n\x00\x00\x00\x00\x00\x00Not a legal column candidate:\n\x00\x00Good one\n\x00\x00\x00\x00\x00\x00\x00Duplicate\n\x00\x00\x00\x00\x00\x00Added to end\n\x00\x00\x00CompatibleColumns testing compatibility\n\x00\x00\x00\x00\x00\x00\x00\x00CompatibleColumns true due to empty other\n\x00\x00\x00\x00\x00\x00CompatibleColumns ignoring image partition\n\x00\x00\x00\x00\x00CompatibleColumns false due to partition edge outside\n\x00\x00CompatibleColumns false due to good width in multiple cols\n\x00\x00\x00\x00\x00CompatibleColumns false due to 2 parts of good width\n\x00\x00\x00part1 %d-%d, part2 %d-%d\n\x00\x00\x00\x00\x00\x00\x00CompatibleColumns true!\n\x00\x00\x00\x00\x00\x00\x00\x00*first_col >= 0 && *last_col >= 0\x00\x00\x00\x00\x00\x00\x00*first_col <= *last_col\x00Partition set of %d parts, %d good, coverage=%d+%d (%d,%d)->(%d,%d)\n\x00\x00\x00\x00ELIST2_ITERATOR::length","i8", -B,q.g+320240);C("devanagari_split_debuglevel\x00\x00\x00\x00\x00Debug level for split shiro-rekha process.","i8",B,q.g+322648); -C("devanagari_split_debugimage\x00\x00\x00\x00\x00Whether to create a debug image for split shiro-rekha process.\x00\x00\x00\x00\x00\x00\u00e0\u00ef\u0004\x00A\x00\x00\x00B\x00\x00\x00split_strategy == MINIMAL_SPLIT || split_strategy == MAXIMAL_SPLIT\x00\x00\x00\x00\x00\x00../textord/devanagari_processing.cpp\x00\x00\x00\x00orig_pix_\x00\x00\x00\x00\x00\x00\x00Splitting shiro-rekha ...\n\x00\x00\x00\x00\x00\x00Split strategy = %s\n\x00\x00\x00\x00Minimal\x00Maximal\x00Initial pageseg available = %s\n\x00yes\x00\x00\x00\x00\x00no\x00\x00\x00\x00\x00\x00Performing a global close operation..\n\x00\x00word_pix\x00\x00\x00\x00\x00\x00\x00\x00CC dropped from splitting: %d,%d (%d, %d)\n\x00\x00\x00\x00\x00\x00pageseg_split_debug.png\x00ocr_split_debug.png\x00\x00\x00\x00\x00Skipping splitting CC at (%d, %d): shirorekha in lower half..\n\x00\x00Skipping splitting CC at (%d, %d): stroke width too huge..\n\x00\x00\x00\x00\x00segmentation_block_list_\x00\x00\x00\x00\x00\x00\x00\x00Before refreshing blobs:\n\x00\x00\x00\x00\x00\x00\x00New Blobs found: %d\n\x00\x00\x00\x00After refreshing blobs:\n\x00\x00\x00\x00\x00\x00\x00\x00N9tesseract18ShiroRekhaSplitterE\x00\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u00b8\u00ef\u0004","i8", -B,q.g+322744);C("textord_show_fixed_cuts\x00Draw fixed pitch cell boundaries","i8",B,q.g+323704);C("edges_use_new_outline_complexity\x00\x00\x00\x00\x00\x00\x00\x00Use the new outline complexity module","i8",B,q.g+323920);C("edges_max_children_per_outline\x00\x00Max number of children inside a character outline","i8",B,q.g+324024);C("edges_max_children_layers\x00\x00\x00\x00\x00\x00\x00Max layers of nested children inside a character outline","i8",B,q.g+324136); -C("edges_debug\x00\x00\x00\x00\x00turn on debugging for this module","i8",B,q.g+324248);C("edges_children_per_grandchild\x00\x00\x00Importance ratio for chucking outlines","i8",B,q.g+324328);C("edges_children_count_limit\x00\x00\x00\x00\x00\x00Max holes allowed in blob","i8",B,q.g+324424);C("edges_children_fix\x00\x00\x00\x00\x00\x00Remove boxy parents of char-like children","i8",B,q.g+324504);C("edges_min_nonhole\x00\x00\x00\x00\x00\x00\x00Min pixels for potential char in box","i8",B,q.g+324600); -C("edges_patharea_ratio\x00\x00\x00\x00Max lensq/area for acceptable child outline","i8",B,q.g+324688);C("edges_childarea\x00Min area fraction of child outline","i8",B,q.g+324800); -C("edges_boxarea\x00\x00\x00Min area fraction of grandchild for box\x00Discard outline on child_count=%d > max_children_per_outline=%d\n\x00\x00\x00\x00\x00\x00\x00\x00Disgard outline on child_count=%d + grandchild_count=%d > max_count=%d\n\x00Discarding parent with child count=%d, gc=%d\n\x00\x00\x00Discarding parent of area %d, child area=%d, max%g with gc=%d\n\x00\x00Discarding parent of area %d, child area=%d, max%g with child length=%d\n\x00\x00\x00\x00\x00\x00\x00\x00Discarding parent of area %d, child area=%d, max%g with child rect=%d\n\x00\x00Illegal sum of chain codes\x00\x00\x00\x00\x00\x00check_path_legal\x00\x00\x00\x00\x00\x00\x00\x00chainsum=%d\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00\x00\x00\x00\x00\u00e8\u00f7\u0004\x00C\x00\x00\x00D\x00\x00\x00\u0001\x00\x00\x00\u0001\x00\x00\x00pix != NULL && pixGetDepth(pix) == 32 && blob != NULL\x00\x00\x00../textord/equationdetectbase.cpp\x00\x00\x00\x00\x00\x00\x00N9tesseract18EquationDetectBaseE\x00\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u00c0\u00f7\u0004","i8", -B,q.g+324896);C("textord_fp_chop_error\x00\x00\x00Max allowed bending of chop cells","i8",B,q.g+325776); -C("textord_fp_chop_snap\x00\x00\x00\x00Max distance of chop pt from vertex\x00\x00\x00\x00\x00Row without enough char cells!\n\x00Leftmost blob is at (%d,%d)\n\x00\x00\x00\x00!cell_it.empty () && !row->char_cells.singleton ()\x00\x00\x00\x00\x00\x00../textord/fpchop.cpp\x00\x00\x00word != NULL\x00\x00\x00\x00left_ch.empty() && right_ch.empty()\x00\x00\x00\x00\x00head_index != tail_index\x00\x00\x00\x00\x00\x00\x00\x00tail_pos.x () == head_pos.x ()\x00\x00tail_index != head_index\x00\x00\x00\x00\x00\x00\x00\x00stepcount > 0\x00\x00\x00outline == NULL\x00top->steps != 0\x00top->steps == 0\x00bottom->end.x () == top->start.x ()\x00\x00\x00\x00\x00start.x () == end.x ()","i8", -B,q.g+325880);C("gapmap_debug\x00\x00\x00\x00Say which blocks have tables","i8",B,q.g+326520);C("gapmap_use_ends\x00Use large space at start and end of rows","i8",B,q.g+326584);C("gapmap_no_isolated_quanta\x00\x00\x00\x00\x00\x00\x00Ensure gaps not less than 2quanta wide","i8",B,q.g+326664);C("gapmap_big_gaps\x00Table found\n","i8",B,q.g+326776); -C("textord_tabfind_show_images\x00\x00\x00\x00\x00Show image blobs\x00\x00\x00\x00\x00\x00\x00\x00junkexpandedcoarsemask.png\x00\x00\x00\x00\x00\x00junkfinalimagemask.png\x00\x00junkconncompimage.png\x00\x00\x00pix != NULL\x00\x00\x00\x00\x00../textord/imagefind.cpp\x00\x00\x00\x00\x00\x00\x00\x00junkimagecomponent.png\x00\x00Component has %d parts\n\x00Searching for merge with image part:\x00\x00\x00\x00Text box=\x00\x00\x00\x00\x00\x00\x00Considering merge with part:\x00\x00\x00\x00Fully contained\n\x00\x00\x00\x00\x00\x00\x00\x00Not within text box\n\x00\x00\x00\x00Too strong text\n\x00\x00\x00\x00\x00\x00\x00\x00Real candidate\n\x00Merging image part:\x00\x00\x00\x00\x00with part:\x00\x00\x00\x00\x00\x00!part_list->empty()\x00\x00\x00\x00\x00Error in parameters for LineFinder::FindAndRemoveLines\n\x00LineFinding\x00\x00\x00\x00\x00vhlinefinding.pdf\x00\x00\x00\x00\x00\x00\x00Finding line vector starting at bbox (%d,%d)\n\x00\x00\x00Image resolution = %d, max line width = %d, min length=%d\n","i8", -B,q.g+326968);C("textord_heavy_nr\x00\x00\x00\x00\x00\x00\x00\x00Vigorously remove noise","i8",B,q.g+327808);C("textord_show_initial_rows\x00\x00\x00\x00\x00\x00\x00Display row accumulation","i8",B,q.g+327872);C("textord_show_parallel_rows\x00\x00\x00\x00\x00\x00Display page correlated rows","i8",B,q.g+327952);C("textord_show_expanded_rows\x00\x00\x00\x00\x00\x00Display rows after expanding","i8",B,q.g+328032);C("textord_show_final_rows\x00Display rows after final fitting","i8",B,q.g+328112); -C("textord_show_final_blobs\x00\x00\x00\x00\x00\x00\x00\x00Display blob bounds after pre-ass","i8",B,q.g+328192);C("textord_test_landscape\x00\x00Tests refer to land/port","i8",B,q.g+328280);C("textord_parallel_baselines\x00\x00\x00\x00\x00\x00Force parallel baselines","i8",B,q.g+328352);C("textord_straight_baselines\x00\x00\x00\x00\x00\x00Force straight baselines","i8",B,q.g+328432);C("textord_old_baselines\x00\x00\x00Use old baseline algorithm","i8",B,q.g+328512); -C("textord_old_xheight\x00\x00\x00\x00\x00Use old xheight algorithm","i8",B,q.g+328584);C("textord_fix_xheight_bug\x00Use spline baseline","i8",B,q.g+328656);C("textord_fix_makerow_bug\x00Prevent multiple baselines","i8",B,q.g+328720);C("textord_debug_xheights\x00\x00Test xheight algorithms","i8",B,q.g+328792);C("textord_biased_skewcalc\x00Bias skew estimates with line length","i8",B,q.g+328856);C("textord_interpolating_skew\x00\x00\x00\x00\x00\x00Interpolate across gaps","i8",B,q.g+328936); -C("textord_skewsmooth_offset\x00\x00\x00\x00\x00\x00\x00For smooth factor","i8",B,q.g+329016);C("textord_skewsmooth_offset2","i8",B,q.g+329096);C("textord_test_x\x00\x00coord of test pt","i8",B,q.g+329152);C("textord_test_y","i8",B,q.g+329216);C("textord_min_blobs_in_row\x00\x00\x00\x00\x00\x00\x00\x00Min blobs before gradient counted","i8",B,q.g+329256);C("textord_spline_minblobs\x00Min blobs in each spline segment","i8",B,q.g+329352); -C("textord_spline_medianwin\x00\x00\x00\x00\x00\x00\x00\x00Size of window for spline segmentation","i8",B,q.g+329440);C("textord_max_blob_overlaps\x00\x00\x00\x00\x00\x00\x00Max number of blobs a big blob can overlap","i8",B,q.g+329536);C("textord_min_xheight\x00\x00\x00\x00\x00Min credible pixel xheight","i8",B,q.g+329640);C("textord_spline_shift_fraction\x00\x00\x00Fraction of line spacing for quad","i8",B,q.g+329736); -C("textord_spline_outlier_fraction\x00Fraction of line spacing for outlier","i8",B,q.g+329848);C("textord_skew_ile\x00\x00\x00\x00\x00\x00\x00\x00Ile of gradients for page skew","i8",B,q.g+329960);C("textord_skew_lag\x00\x00\x00\x00\x00\x00\x00\x00Lag for skew on row accumulation","i8",B,q.g+330056);C("textord_linespace_iqrlimit\x00\x00\x00\x00\x00\x00Max iqr/median for linespace","i8",B,q.g+330160);C("textord_width_limit\x00\x00\x00\x00\x00Max width of blobs to make rows","i8",B,q.g+330264); -C("textord_chop_width\x00\x00\x00\x00\x00\x00Max width before chopping","i8",B,q.g+330360);C("textord_expansion_factor\x00\x00\x00\x00\x00\x00\x00\x00Factor to expand rows by in expand_rows","i8",B,q.g+330456);C("textord_overlap_x\x00\x00\x00\x00\x00\x00\x00Fraction of linespace for good overlap","i8",B,q.g+330568);C("textord_minxh\x00\x00\x00fraction of linesize for min xheight","i8",B,q.g+330672);C("textord_min_linesize\x00\x00\x00\x00* blob height for initial linesize","i8",B,q.g+330768); -C("textord_excess_blobsize\x00New row made if blob makes row this big","i8",B,q.g+330872);C("textord_occupancy_threshold\x00\x00\x00\x00\x00Fraction of neighbourhood","i8",B,q.g+330976);C("textord_underline_width\x00Multiple of line_size for underline","i8",B,q.g+331080);C("textord_min_blob_height_fraction\x00\x00\x00\x00\x00\x00\x00\x00Min blob height/top to include blob top into xheight stats","i8",B,q.g+331184); -C("textord_xheight_mode_fraction\x00\x00\x00Min pile height to make xheight","i8",B,q.g+331328);C("textord_ascheight_mode_fraction\x00Min pile height to make ascheight","i8",B,q.g+331432);C("textord_descheight_mode_fraction\x00\x00\x00\x00\x00\x00\x00\x00Min pile height to make descheight","i8",B,q.g+331544);C("textord_ascx_ratio_min\x00\x00Min cap/xheight","i8",B,q.g+331664);C("textord_ascx_ratio_max\x00\x00Max cap/xheight","i8",B,q.g+331744); -C("textord_descx_ratio_min\x00Min desc/xheight","i8",B,q.g+331824);C("textord_descx_ratio_max\x00Max desc/xheight","i8",B,q.g+331912);C("textord_xheight_error_margin\x00\x00\x00\x00Accepted variation","i8",B,q.g+332E3);C("textord_lms_line_trials\x00Number of linew fits to do","i8",B,q.g+332080);C("textord_new_initial_xheight\x00\x00\x00\x00\x00Use test xheight mechanism","i8",B,q.g+332152); -C("textord_debug_blob\x00\x00\x00\x00\x00\x00Print test blob information\x00\x00\x00\x00\x00compute_page_skew\x00\x00\x00\x00\x00\x00\x00compute_line_spacing\x00\x00\x00\x00Row at %g(%g), dropout dist=%d,\x00 too far - deleting\n\x00\x00\x00\x00 nearer neighbour (%d) at %g\n\x00\x00\x00 equal but more believable at %g (%g/%g)\n\x00\x00\x00\x00\x00\x00\x00 keeping\n\x00\x00\x00\x00\x00\x00\x00Bad y coord of bottom, %d(%d,%d)\n\x00\x00\x00\x00\x00\x00\x00Bad y coord of top, %d(%d,%d)\n\x00\x00Expanding bottom of row at %f from %f to %f\n\x00\x00\x00\x00Eating row below at %f\n\x00Truncating limit to %f due to touching row at %f\n\x00\x00\x00\x00\x00\x00\x00Not expanding limit beyond %f due to touching row at %f\n\x00\x00\x00\x00\x00\x00\x00\x00Expanding top of row at %f from %f to %f\n\x00\x00\x00\x00\x00\x00\x00Eating row above at %f\n\x00Adjusting row limits for block(%d,%d)\n\x00\x00Row at %f has min %f, max %f, size %f\n\x00\x00compute_row_stats\x00\x00\x00\x00\x00\x00\x00Row at %g yields spacing of %g\n\x00Blob based spacing=(%g,%g), offset=%g\x00\x00\x00 row based=%g(%g)\x00\x00\x00\x00\x00\x00\x00\nEstimate line size=%g, spacing=%g, offset=%g\n\x00\x00Block average xheight=%.4f, ascrise=%.4f, descdrop=%.4f\n\x00\x00\x00\x00\x00\x00\x00\x00Skipping repeated char when computing xheight\n\x00\x00min_height=%d, max_height=%d, mode=%d, count=%d, total=%d\n\x00\x00\x00\x00\x00\x00found %d modes: \x00\x00\x00\x00\x00\x00\x00\x00%d \x00\x00\x00\x00\x00X=%d, asc=%d, count=%d, ratio=%g\n\x00\x00\x00\x00\x00\x00\x00Single mode xheight set to %g\n\x00\x00Multi-mode xheight set to %g, asc=%g\n\x00\x00\x00Descdrop: %d (potential ascenders %d, descenders %d)\n\x00\x00\x00correcting row xheight: row->xheight %.4f, row->acrise %.4f row->descdrop %.4f\n\x00using average xheight\n\x00\x00lowercase, corrected ascrise\n\x00\x00\x00all caps\n\x00\x00\x00\x00\x00\x00\x00small caps\n\x00\x00\x00\x00\x00all caps with irregular xheight\n\x00\x00\x00\x00\x00\x00\x00\x00corrected row->xheight = %.4f, row->acrise = %.4f, row->descdrop = %.4f\n\x00\x00\x00\x00\x00\x00\x00\x00blob->cblob() != NULL\x00\x00\x00../textord/makerow.cpp\x00\x00Underlined blob at:\x00\x00\x00\x00\x00Was:\x00\x00\x00\x00Large blob overlaps %d blobs at:\x00\x00\x00\x00\x00\x00\x00\x00Segmenting baseline of %d blobs at (%d,%d)\n\x00\x00\x00\x00\x00Made %d segments on row at (%d,%d)\n\x00\x00\x00\x00\x00Linear splining baseline of %d blobs at (%d,%d), into %d segments of %d blobs\n\x00\x00Test blob assigned to row at (%g,%g) on pass %d\n\x00\x00\x00\x00\x00\x00\x00\x00Test blob assigned to no row on pass %d\n\x00\x00\x00\x00\x00\x00\x00\x00Test blob y=(%g,%g), row=(%f,%f), size=%g, overlap=%f\n\x00\x00Merging rows at (%g,%g), (%g,%g)\n\x00\x00\x00\x00\x00\x00\x00Test blob y=(%g,%g), row=(%f,%f), size=%g, overlap=%f->%f\n\x00\x00\x00\x00\x00\x00ELIST_ITERATOR::sort\x00\x00\x00\x00ELIST2_ITERATOR::sort","i8", -B,q.g+332232);C("textord_really_old_xheight\x00\x00\x00\x00\x00\x00Use original wiseowl xheight","i8",B,q.g+334488);C("textord_oldbl_debug\x00\x00\x00\x00\x00Debug old baseline generation","i8",B,q.g+334568);C("textord_debug_baselines\x00Debug baseline generation","i8",B,q.g+334640);C("textord_oldbl_paradef\x00\x00\x00Use para default mechanism","i8",B,q.g+334712);C("textord_oldbl_split_splines\x00\x00\x00\x00\x00Split stepped splines","i8",B,q.g+334784); -C("textord_oldbl_merge_parts\x00\x00\x00\x00\x00\x00\x00Merge suspect partitions","i8",B,q.g+334856);C("oldbl_corrfix\x00\x00\x00Improve correlation of heights","i8",B,q.g+334936);C("oldbl_xhfix\x00\x00\x00\x00\x00Fix bug in modes threshold for xheights","i8",B,q.g+335E3);C("textord_ocropus_mode\x00\x00\x00\x00Make baselines for ocropus","i8",B,q.g+335072);C("oldbl_xhfract\x00\x00\x00Fraction of est allowed in calc","i8",B,q.g+335168); -C("oldbl_holed_losscount\x00\x00\x00Max lost before fallback line used","i8",B,q.g+335240);C("oldbl_dot_error_size\x00\x00\x00\x00Max aspect ratio of a dot","i8",B,q.g+335344); -C("textord_oldbl_jumplimit\x00X fraction for new partition\x00\x00\x00\x00Row baseline generation failed on row at (%d,%d)\n\x00\x00\x00\x00\x00\x00\x00\nInput height=%g, Estimate x-height=%d pixels, jumplimit=%.2f\n\x00\x00%d(%d,%d), \x00\x00\x00\x00\x00Fitted line y=%g x + %g\n\x00\x00\x00\x00\x00\x00\x00\x00Diff of common blob to suspect part=%g at (%g,%g)\n\x00\x00\x00\x00\x00\x00Merged %d blobs back into part %d from %d starting at (%d,%d)\n\x00\x00Diff=%.2f, Delta=%.3f, Drift=%.3f, \x00\x00\x00\x00\x00P=%d\n\x00\x00\x00First turn is %d at (%d,%d)\n\x00\x00\x00\x00Turn %d is %d at (%d,%d), mid pt is %d@%d, final @%d\n\x00\x00\x00Too many segments to resegment spline!!\n\x00\x00\x00\x00\x00\x00\x00\x00Splitting spline at %d with step %g at (%d,%d)\n\x00Resegmenting spline failed - insufficient pts (%d,%d,%d,%d)\n\x00\x00\x00\x00blobcount=%d, mode_count=%d, mode_t=%d\n\x00mode[%d]=%d \x00\x00\x00\x00Output xheight=%g\n\x00\x00\x00\x00\x00\x00warning: Row Line height < 0; %4.2f\n\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00right_edge >= left_edge\x00../textord/pithsync.cpp\x00best_fake < MAX_INT16\x00\x00\x00x=%d, C=%g, s=%g, sq=%g, prev=%d\n","i8", -B,q.g+335440);C("pitsync_linear_version\x00\x00Use new fast algorithm","i8",B,q.g+336480);C("pitsync_joined_edge\x00\x00\x00\x00\x00Dist inside big blob for chopping","i8",B,q.g+336568);C("pitsync_offset_freecut_fraction\x00Fraction of cut for free cuts","i8",B,q.g+336672); -C("pitsync_fake_depth\x00\x00\x00\x00\x00\x00Max advance fake generation\x00\x00\x00\x00\x00best_end != NULL\x00\x00\x00\x00\x00\x00\x00\x00../textord/pitsync1.cpp\x00best_end == NULL\x00\x00\x00\x00\x00\x00\x00\x00!outseg_it.empty ()\x00\x00\x00\x00\x00Impossible sqsum=%g, mean=%g, total=%d\n\x00offset >= 0\x00\x00\x00\x00\x00made fake at %d\n","i8",B,q.g+336760);C("textord_tabfind_show_strokewidths\x00\x00\x00\x00\x00\x00\x00Show stroke widths","i8",B,q.g+337152); -C("textord_tabfind_only_strokewidths\x00\x00\x00\x00\x00\x00\x00Only run stroke widths\x00\x00\x00\x00\x00\x00\u0098+\u0005\x00E\x00\x00\x00F\x00\x00\x00\u0005\x00\x00\x00\x00\x00\x00\x00TextDir hbox=%d vs vbox=%d, %dH, %dV, %dN osd blobs\n\x00\x00\x00\x00Max neighbour size=%d for candidate line box at:\x00\x00\x00\x00\x00\x00\x00\x00Detected %d diacritics\n\x00Left gap=%d, right=%d, above=%d, below=%d, horz=%d, vert=%d\nGood= %d %d %d %d\n\x00\x00Checking for Broken CJK (max size=%d):\x00\x00Bad final aspectratio:\x00\x00Too many neighbours: %d\n\x00\x00\x00\x00\x00\x00\x00\x00Bad stroke widths:\x00\x00\x00\x00\x00\x00Done! Final box:\x00\x00\x00\x00\x00\x00\x00\x00Added:\x00\x00Testing for overlap with:\x00\x00\x00\x00\x00\x00\x00Final box overlaps nearest\n\x00\x00\x00\x00\x00FGN in dir %d for blob:\x00Neighbour at:\x00\x00\x00Bad size\n\x00\x00\x00\x00\x00\x00\x00On wrong side\n\x00\x00Overlaps wrong way\n\x00\x00\x00\x00\x00Doesn't overlap enough\n\x00goodness = %g vs best of %g, good=%d, overlap=%d, gap=%d\n\x00\x00\x00\x00\x00\x00\x00SetNeighbourFlows (current flow=%d, type=%d) on:\x00\x00\x00\x00\x00\x00\x00\x00SetFlows: h_count=%d, v_count=%d\n\x00\x00\x00\x00\x00\x00\x00pure_h=%d, pure_v=%d\n\x00\x00\x00Clean on pass 3!\n\x00\x00\x00\x00\x00\x00\x00Blob not available to be a diacritic at:\x00\x00\x00\x00\x00\x00\x00\x00Found %d small diacritics, %d medium\n\x00\x00\x00Testing blob for diacriticness at:\x00\x00\x00\x00\x00\x00Neighbour not strong enough:\x00\x00\x00\x00Neighbour not big enough:\x00\x00\x00\x00\x00\x00\x00xgap=%d, y=%d, total dist=%d\n\x00\x00\x00Neighbour with median size %d too far away:\x00\x00\x00\x00\x00Computing reduced box for :\x00\x00\x00\x00\x00New best:\x00\x00\x00\x00\x00\x00\x00Shrunken box doesn't win:\x00\x00\x00\x00\x00\x00\x00New best y overlap:\x00\x00\x00\x00\x00New y overlap box doesn't win:\x00\x00Neighbour wrong side of a tab:\x00\x00DiacriticBlob OK! (x-overlap:\x00\x00\x00DiacriticBlob OK! (y-overlap:\x00\x00\x00DiacriticBlob fails:\x00\x00\x00\x00Best x+y gap = %d, y = %d\n\x00\x00\x00\x00\x00\x00XGapFilled=%d, NoiseBetween=%d\n\x00p1 != NULL && p2 != NULL\x00\x00\x00\x00\x00\x00\x00\x00../textord/strokewidth.cpp\x00\x00\x00\x00\x00\x00!p1->IsEmpty() && !p2->IsEmpty()\x00\x00\x00\x00\x00\x00\x00\x00N9tesseract11StrokeWidthE\x00\x00\x00\x00\x00\x00\x00\u00a8-\u001a\x00x+\u0005\x008\u00cb\u0004\x00\x00\x00\x00\x00\x00\x00\x00\x00X,\u0005\x00G\x00\x00\x00H\x00\x00\x00\r\x00\x00\x00\x00\x00\x00\x0029_TessMemberResultCallback_0_2ILb0EbN9tesseract11StrokeWidthEPKNS0_12ColPartitionES4_E\x0019TessResultCallback2IbPKN9tesseract12ColPartitionES3_E\x00\u0080-\u001a\x00\u0018,\u0005\x00\u00a8-\u001a\x00\u00c0+\u0005\x00P,\u0005\x00\x00\x00\x00\x00\x00\x00\x00\x00(-\u0005\x00I\x00\x00\x00J\x00\x00\x00\u000e\x00\x00\x00\x00\x00\x00\x0029_TessMemberResultCallback_0_2ILb0EbN9tesseract11StrokeWidthEPNS0_12ColPartitionEP4TBOXE\x00\x00\x00\x00\x00\x00\x0019TessResultCallback2IbPN9tesseract12ColPartitionEP4TBOXE\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u00e0,\u0005\x00\u00a8-\u001a\x00\u0080,\u0005\x00 -\u0005\x00\x00\x00\x00\x00Hgaps [%d,%d], vgaps [%d,%d]:\x00\x00\x00Horz at:\x00\x00\x00\x00\x00\x00\x00\x00Vert at:\x00\x00\x00\x00\x00\x00\x00\x00Neither at:\x00\x00\x00\x00\x00gaps = %d, %d, merged_box:\x00\x00\x00\x00\x00\x00Box (%d,%d)->(%d,%d): h-width=%.1f, v-width=%.1f p-width=%1.f\n","i8", -B,q.g+337232);C("textord_tabfind_show_initialtabs\x00\x00\x00\x00\x00\x00\x00\x00Show tab candidates","i8",B,q.g+339576);C("textord_tabfind_show_finaltabs\x00\x00Show tab vectors","i8",B,q.g+339656); -C("X3\u0005\x00K\x00\x00\x00L\x00\x00\x00\u0002\x00\x00\x00\x00\x00\x00\x00Inserted %d blobs into grid, %d rejected.\n\x00\x00\x00\x00\x00\x00Looking in gutter\n\x00\x00\x00\x00\x00\x00Looking for neighbour\n\x00\x00Found neighbour:\x00\x00\x00\x00\x00\x00\x00\x00Moved %d large blobs to normal list\n\x00\x00\x00\x00Column edges for blob at (%d,%d)->(%d,%d) are [%d, %d]\n\x00Neighbour at (%d,%d)->(%d,%d)\n\x00\x00Not a left tab\n\x00Maybe a left tab\n\x00\x00\x00\x00\x00\x00\x00Maybe Not a left tab\n\x00\x00\x00Not a ragged left\n\x00\x00\x00\x00\x00\x00Not a right tab\n\x00\x00\x00\x00\x00\x00\x00\x00Maybe a right tab\n\x00\x00\x00\x00\x00\x00Maybe Not a right tab\n\x00\x00Not a ragged right\n\x00\x00\x00\x00\x00Left result = %s, Right result=%s\n\x00\x00\x00\x00\x00\x00Aligned\x00Ragged\x00\x00None\x00\x00\x00\x00Beginning real tab search with vertical = %d,%d...\n\x00\x00\x00\x00\x00Vertical skew vector=(%d,%d)\n\x00\x00\x00Too few boxes\x00\x00\x00Evaluated tab\x00\x00\x00Column of width %d has %d = %.2f%% lines\n\x00\x00\x00\x00\x00\x00\x00Checking for vertical lines\n\x00\x00\x00\x00TabGutter total %d median_gap %.2f median_hgt %.2f\n\x00\x00\x00Adjacent blob: considering box:\x00Giving up due to big gap = %d vs %d\n\x00\x00\x00\x00Collision with like tab of type %d at %d,%d\n\x00\x00\x00\x00Good result\n\x00\x00\x00\x00Wrong way\n\x00\x00\x00\x00\x00\x00Insufficient overlap\n\x00\x00\x00Giving up due to end of search\n\x00Box edge (%d,%d-%d)\x00\x00\x00\x00\x00 looking for improvement for\x00\x00\x00\x00Extended vector\x00Created new vector\x00\x00\x00\x00\x00\x00N9tesseract7TabFindE\x00\x00\x00\x00\u00a8-\u001a\x00@3\u0005\x00\u0090\u00c4\u0004\x00\x00\x00\x00\x00\x00\x00\x00\x00\u00e83\u0005\x00M\x00\x00\x00N\x00\x00\x00\u0007\x00\x00\x00\x00\x00\x00\x0029_TessMemberResultCallback_0_1ILb0EbN9tesseract7TabFindEiE\x00\x00\x00\x00\x0019TessResultCallback1IbiE\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u00c03\u0005\x00\u00a8-\u001a\x00\u00803\u0005\x00\u00e03\u0005","i8", -B,q.g+339716);C("textord_dump_table_images\x00\x00\x00\x00\x00\x00\x00Paint table detection output","i8",B,q.g+341128);C("textord_show_tables\x00\x00\x00\x00\x00Show table regions","i8",B,q.g+341208);C("textord_tablefind_show_mark\x00\x00\x00\x00\x00Debug table marking steps in detail","i8",B,q.g+341272);C("textord_tablefind_show_stats\x00\x00\x00\x00Show page stats used in table finding","i8",B,q.g+341360); -C("textord_tablefind_recognize_tables\x00\x00\x00\x00\x00\x00Enables the table recognizer for table layout and filtering.\x00\x00\x00\x00part != NULL\x00\x00\x00\x00../textord/tablefind.cpp\x00\x00\x00\x00\x00\x00\x00\x00part->median_width() > 0\x00\x00\x00\x00\x00\x00\x00\x00part->IsTextType()\x00\x00\x00\x00\x00\x00&part != leader\x00page_height > 0\x00page_width > 0\x00\x00test1.tif\x00\x00\x00\x00\x00\x00\x00Input file test1.tif not found.\n\x00\x00\x00\x00\x00\x00\x00\x00tess-table.txt\x00\x00%d %d %d %d TABLE\n\x00\x00\x00\x00\x00\x00out.png\x00\x00\x00\x00\x00\u00a87\u0005\x00O\x00\x00\x00P\x00\x00\x00\u0006\x00\x00\x00\x00\x00\x00\x00N9tesseract6BBGridINS_10ColSegmentENS_16ColSegment_CLISTENS_15ColSegment_C_ITEEE\x00\x00\x00\x00\x00\x00\x00\x00\u00a8-\u001a\x00P7\u0005\x00\u00d0\u00c8\u0004\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x000 <= row && row < row_count()\x00\x00\x00../textord/tablerecog.cpp\x00\x00\x00\x00\x00\x00\x000 <= column && column < column_count()\x00\x000 <= row_start && row_start <= row_end && row_end < row_count()\x000 <= column_start && column_start <= column_end && column_end < column_count()\x00\x00cell_y_.length() >= 2 && cell_x_.length() >= 2\x00\x00text->bounding_box().left() < text->bounding_box().right()\x00\x00\x00\x00\x00\x00text->bounding_box().bottom() < text->bounding_box().top()\x00\x00\x00\x00\x00\x00min_list.length() == max_list.length()\x00\x00min_list.get(0) < max_list.get(0)\x00\x00\x00\x00\x00\x00\x00min_list.get(min_list.length() - 1) < max_list.get(max_list.length() - 1)\x00\x00\x00\x00\x00\x00\x00check\x00\x00\x00bounding_box->area() >= old_area","i8", -B,q.g+341448);C("textord_tabvector_vertical_gap_fraction\x00max fraction of mean blob width allowed for vertical gaps in vertical text","i8",B,q.g+342752); -C("textord_tabvector_vertical_box_ratio\x00\x00\x00\x00Fraction of box matches required to declare a line vertical\x00\x00\x00\x00\x00Testing constraint compatibility\n\x00\x00\x00\x00\x00\x00\x00Resulting range = [%d,%d]\n\x00\x00\x00\x00\x00\x00Merging constraints\n\x00\x00\x00\x00Merge\x00\x00\x00Constraint is [%d,%d]\x00\x00\x00 for\x00\x00\x00\x00Constructed a new tab vector:\x00\x00\x00Impossible: has no constraints\x00\x00This vector has it as a partner\x00Merging\x00by deleting\x00\x00\x00\x00\x00Producing\x00\x00\x00\x00\x00\x00\x00Garbage result of merge?\x00\x00\x00\x00\x00\x00\x00\x00Left Aligned\x00\x00\x00\x00Left Ragged\x00\x00\x00\x00\x00Center\x00\x00Right Aligned\x00\x00\x00Right Ragged\x00\x00\x00\x00Separator\x00\x00\x00\x00\x00\x00\x00 =\u0005\x000=\u0005\x00@=\u0005\x00H=\u0005\x00X=\u0005\x00h=\u0005\x00%s \n\x00\x00\x00\x00\x00\x00%s %s (%d,%d)->(%d,%d) w=%d s=%d, sort key=%d, boxes=%d, partners=%d\n\x00\x00\x00Zero length in evaluate\x00After already deleting %d boxes, \x00\x00\x00\x00\x00\x00\x00Starting evaluation\x00\x00\x00\x00\x00Box (%d,%d)->(%d,%d) has gutter %d, ndist %d\n\x00\x00\x00Box and prev good, gap=%d, target %g, goodlength=%d\n\x00\x00\x00\x00Bad Box (%d,%d)->(%d,%d) with gutter %d, ndist %d\n\x00\x00\x00\x00\x00\x00Evaluating:\x00\x00\x00\x00\x00Bad Box (%d,%d)->(%d,%d) with gutter %d, mean gutter %d\n\x00\x00\x00\x00\x00\x00\x00\x00Rejecting bad tab Vector with %d gutter vs %g min\n\x00\x00\x00\x00\x00\x00Final gutter %d, vs limit of %g, required shift = %d\n\x00\x00\x00Evaluation complete:\x00\x00\x00\x00projection.png\x00\x00At (%d,%d), pix = %d, prev=%d\n\x00\x00Partition hresult=%d, vresult=%d from:\x00\x00Gradients: top = %d, bottom = %d, left= %d, right= %d for box:\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00textord_single_height_mode\x00\x00\x00\x00\x00\x00Script has no xheight, so use a single mode\x00\x00\x00\x00\x00tosp_old_to_method\x00\x00\x00\x00\x00\x00Space stats use prechopping?\x00\x00\x00\x00tosp_old_to_constrain_sp_kn\x00\x00\x00\x00\x00Constrain relative values of inter and intra-word gaps for old_to_method.\x00\x00\x00\x00\x00\x00\x00tosp_only_use_prop_rows\x00Block stats to use fixed pitch rows?\x00\x00\x00\x00tosp_force_wordbreak_on_punct\x00\x00\x00Force word breaks on punct to break long lines in non-space delimited langs\x00\x00\x00\x00\x00tosp_use_pre_chopping\x00\x00\x00tosp_old_to_bug_fix\x00\x00\x00\x00\x00Fix suspected bug in old code\x00\x00\x00tosp_block_use_cert_spaces\x00\x00\x00\x00\x00\x00Only stat OBVIOUS spaces\x00\x00\x00\x00\x00\x00\x00\x00tosp_row_use_cert_spaces\x00\x00\x00\x00\x00\x00\x00\x00tosp_narrow_blobs_not_cert\x00\x00\x00\x00\x00\x00tosp_row_use_cert_spaces1\x00\x00\x00\x00\x00\x00\x00tosp_recovery_isolated_row_stats\x00\x00\x00\x00\x00\x00\x00\x00Use row alone when inadequate cert spaces\x00\x00\x00\x00\x00\x00\x00tosp_only_small_gaps_for_kern\x00\x00\x00Better guess\x00\x00\x00\x00tosp_all_flips_fuzzy\x00\x00\x00\x00Pass ANY flip to context?\x00\x00\x00\x00\x00\x00\x00tosp_fuzzy_limit_all\x00\x00\x00\x00Dont restrict kn->sp fuzzy limit to tables\x00\x00\x00\x00\x00\x00tosp_stats_use_xht_gaps\x00Use within xht gap for wd breaks\x00\x00\x00\x00\x00\x00\x00\x00tosp_use_xht_gaps\x00\x00\x00\x00\x00\x00\x00tosp_only_use_xht_gaps\x00\x00Only use within xht gap for wd breaks\x00\x00\x00tosp_rule_9_test_punct\x00\x00Dont chng kn to space next to punct\x00\x00\x00\x00\x00tosp_flip_fuzz_kn_to_sp\x00Default flip\x00\x00\x00\x00tosp_flip_fuzz_sp_to_kn\x00tosp_improve_thresh\x00\x00\x00\x00\x00Enable improvement heuristic\x00\x00\x00\x00tosp_debug_level\x00\x00\x00\x00\x00\x00\x00\x00Debug data\x00\x00\x00\x00\x00\x00tosp_enough_space_samples_for_median\x00\x00\x00\x00or should we use mean\x00\x00\x00tosp_redo_kern_limit\x00\x00\x00\x00No.samples reqd to reestimate for row\x00\x00\x00tosp_few_samples\x00\x00\x00\x00\x00\x00\x00\x00No.gaps reqd with 1 large gap to treat as a table\x00\x00\x00\x00\x00\x00\x00tosp_short_row\x00\x00No.gaps reqd with few cert spaces to use certs\x00\x00tosp_sanity_method\x00\x00\x00\x00\x00\x00How to avoid being silly\x00\x00\x00\x00\x00\x00\x00\x00tosp_old_sp_kn_th_factor\x00\x00\x00\x00\x00\x00\x00\x00Factor for defining space threshold in terms of space and kern sizes\x00\x00\x00\x00tosp_threshold_bias1\x00\x00\x00\x00how far between kern and space?\x00tosp_threshold_bias2\x00\x00\x00\x00tosp_narrow_fraction\x00\x00\x00\x00Fract of xheight for narrow\x00\x00\x00\x00\x00tosp_narrow_aspect_ratio\x00\x00\x00\x00\x00\x00\x00\x00narrow if w/h less than this\x00\x00\x00\x00tosp_wide_fraction\x00\x00\x00\x00\x00\x00Fract of xheight for wide\x00\x00\x00\x00\x00\x00\x00tosp_wide_aspect_ratio\x00\x00wide if w/h less than this\x00\x00\x00\x00\x00\x00tosp_fuzzy_space_factor\x00Fract of xheight for fuzz sp\x00\x00\x00\x00tosp_fuzzy_space_factor1\x00\x00\x00\x00\x00\x00\x00\x00tosp_fuzzy_space_factor2\x00\x00\x00\x00\x00\x00\x00\x00tosp_gap_factor\x00gap ratio to flip sp->kern\x00\x00\x00\x00\x00\x00tosp_kern_gap_factor1\x00\x00\x00gap ratio to flip kern->sp\x00\x00\x00\x00\x00\x00tosp_kern_gap_factor2\x00\x00\x00tosp_kern_gap_factor3\x00\x00\x00tosp_ignore_big_gaps\x00\x00\x00\x00xht multiplier\x00\x00tosp_ignore_very_big_gaps\x00\x00\x00\x00\x00\x00\x00tosp_rep_space\x00\x00rep gap multiplier for space\x00\x00\x00\x00tosp_enough_small_gaps\x00\x00Fract of kerns reqd for isolated row stats\x00\x00\x00\x00\x00\x00tosp_table_kn_sp_ratio\x00\x00Min difference of kn & sp in table\x00\x00\x00\x00\x00\x00tosp_table_xht_sp_ratio\x00Expect spaces bigger than this\x00\x00tosp_table_fuzzy_kn_sp_ratio\x00\x00\x00\x00Fuzzy if less than this\x00tosp_fuzzy_kn_fraction\x00\x00New fuzzy kn alg\x00\x00\x00\x00\x00\x00\x00\x00tosp_fuzzy_sp_fraction\x00\x00New fuzzy sp alg\x00\x00\x00\x00\x00\x00\x00\x00tosp_min_sane_kn_sp\x00\x00\x00\x00\x00Dont trust spaces less than this time kn\x00\x00\x00\x00\x00\x00\x00\x00tosp_init_guess_kn_mult\x00Thresh guess - mult kn by this\x00\x00tosp_init_guess_xht_mult\x00\x00\x00\x00\x00\x00\x00\x00Thresh guess - mult xht by this\x00tosp_max_sane_kn_thresh\x00Multiplier on kn to limit thresh\x00\x00\x00\x00\x00\x00\x00\x00tosp_flip_caution\x00\x00\x00\x00\x00\x00\x00Dont autoflip kn to sp when large separation\x00\x00\x00\x00tosp_large_kerning\x00\x00\x00\x00\x00\x00Limit use of xht gap with large kns\x00\x00\x00\x00\x00tosp_dont_fool_with_small_kerns\x00Limit use of xht gap with odd small kns\x00tosp_near_lh_edge\x00\x00\x00\x00\x00\x00\x00Dont reduce box if the top left is non blank\x00\x00\x00\x00tosp_silly_kn_sp_gap\x00\x00\x00\x00Dont let sp minus kn get too small\x00\x00\x00\x00\x00\x00tosp_pass_wide_fuzz_sp_to_context\x00\x00\x00\x00\x00\x00\x00How wide fuzzies need context\x00\x00\x00textord_no_rejects\x00\x00\x00\x00\x00\x00Don't remove noise blobs\x00\x00\x00\x00\x00\x00\x00\x00textord_show_blobs\x00\x00\x00\x00\x00\x00Display unsorted blobs\x00\x00textord_show_boxes\x00\x00\x00\x00\x00\x00textord_max_noise_size\x00\x00Pixel size of noise\x00\x00\x00\x00\x00textord_baseline_debug\x00\x00Baseline debug level\x00\x00\x00\x00textord_blob_size_bigile\x00\x00\x00\x00\x00\x00\x00\x00Percentile for large blobs\x00\x00\x00\x00\x00\x00textord_noise_area_ratio\x00\x00\x00\x00\x00\x00\x00\x00Fraction of bounding box for noise\x00\x00\x00\x00\x00\x00textord_blob_size_smallile\x00\x00\x00\x00\x00\x00Percentile for small blobs\x00\x00\x00\x00\x00\x00textord_initialx_ile\x00\x00\x00\x00Ile of sizes for xheight guess\x00\x00textord_initialasc_ile\x00\x00textord_noise_sizefraction\x00\x00\x00\x00\x00\x00Fraction of size for maxima\x00\x00\x00\x00\x00textord_noise_sizelimit\x00Fraction of x for big t count\x00\x00\x00textord_noise_translimit\x00\x00\x00\x00\x00\x00\x00\x00Transitions for normal blob\x00\x00\x00\x00\x00textord_noise_normratio\x00Dot to norm ratio for deletion\x00\x00textord_noise_rejwords\x00\x00Reject noise-like words\x00textord_noise_rejrows\x00\x00\x00Reject noise-like rows\x00\x00textord_noise_syfract\x00\x00\x00xh fract height error for norm blobs\x00\x00\x00\x00textord_noise_sxfract\x00\x00\x00xh fract width error for norm blobs\x00\x00\x00\x00\x00textord_noise_hfract\x00\x00\x00\x00Height fraction to discard outlines as speckle noise\x00\x00\x00\x00textord_noise_sncount\x00\x00\x00super norm blobs to save row\x00\x00\x00\x00textord_noise_rowratio\x00\x00textord_noise_debug\x00\x00\x00\x00\x00Debug row garbage detector\x00\x00\x00\x00\x00\x00textord_blshift_maxshift\x00\x00\x00\x00\x00\x00\x00\x00Max baseline shift\x00\x00\x00\x00\x00\x00textord_blshift_xfraction\x00\x00\x00\x00\x00\x00\x00Min size of baseline shift\x00\x00\x00\x00\x00\x00!to_blocks->empty()\x00\x00\x00\x00\x00../textord/textord.cpp\x00\x00block->poly_block() != NULL\x00\x00\x00\x00\x00../ccstruct/blobbox.h","i8", -B,q.g+342912);C("textord_all_prop\x00\x00\x00\x00\x00\x00\x00\x00All doc is proportial text","i8",B,q.g+349168);C("textord_debug_pitch_test\x00\x00\x00\x00\x00\x00\x00\x00Debug on fixed pitch test","i8",B,q.g+349240);C("textord_disable_pitch_test\x00\x00\x00\x00\x00\x00Turn off dp fixed pitch algorithm","i8",B,q.g+349320);C("textord_fast_pitch_test\x00Do even faster pitch algorithm","i8",B,q.g+349408);C("textord_debug_pitch_metric\x00\x00\x00\x00\x00\x00Write full metric stuff","i8",B,q.g+349480); -C("textord_show_row_cuts\x00\x00\x00Draw row-level cuts","i8",B,q.g+349552);C("textord_show_page_cuts\x00\x00Draw page-level cuts","i8",B,q.g+349616);C("textord_pitch_cheat\x00\x00\x00\x00\x00Use correct answer for fixed/prop","i8",B,q.g+349680);C("textord_blockndoc_fixed\x00Attempt whole doc/block fixed pitch","i8",B,q.g+349760);C("textord_projection_scale\x00\x00\x00\x00\x00\x00\x00\x00Ding rate for mid-cuts","i8",B,q.g+349864); -C("textord_balance_factor\x00\x00Ding rate for unbalanced char cells\x00\x00\x00\x00\x00Warning:row %d of block %d set prop with no like rows against trend\n\x00\x00\x00\x00:b_votes=%d:l_votes=%d:o_votes=%d\x00\x00\x00\x00\x00\x00\x00x=%g:asc=%g\n\x00\x00\x00\x00Warning:guessing pitch as xheight on row %d, block %d\n\x00\x00Block %d at (%d,%d)->(%d,%d)\n\x00\x00\x00block->xheight > 0\x00\x00\x00\x00\x00\x00../textord/topitch.cpp\x00\x00row->xheight > 0\x00\x00\x00\x00\x00\x00\x00\x00try_doc:props=%d:fixed=%d:pitch=%d:final_pitch=%g:pitch_sd=%g:sp_sd=%g:sd/trc=%g:sd/p=%g:sd/trc/p=%g\n\x00\x00\x00Initially:\x00\x00\x00\x00\x00\x00Block %d has (%d,%d,%d)\x00 (Wrongly)\x00\x00\x00\x00\x00\x00 fixed, (%d,%d,%d)\x00\x00\x00\x00\x00\x00 prop, %d dunno\n\x00\x00\x00\x00\x00\x00\x00\x00cluster_count=%d:\x00\x00\x00\x00\x00\x00\x00 %g(%d)\x00No clusters below nonspace threshold!!\n\x00No clusters above nonspace threshold!!\n\x00No clusters below space threshold!!\n\x00\x00\x00\x00No clusters above space threshold!!\n\x00\x00\x00\x00Initial estimates:pr_nonsp=%g, pr_space=%g, fp_nonsp=%g, fp_space=%g\n\x00\x00\x00First fp iteration:initial_pitch=%g, gap_iqr=%g, pitch_iqr=%g, pitch=%g\n\x00\x00\x00\x00\x00\x00\x00\x00Revised fp iteration:initial_pitch=%g, gap_iqr=%g, pitch_iqr=%g, pitch=%g\n\x00\x00\x00\x00\x00\x00Blk=%d:Row=%d:%c:p_iqr=%g:g_iqr=%g:dm_p_iqr=%g:dm_g_iqr=%g:%c:\x00\x00Choosing non dm version:pitch_iqr=%g, gap_iqr=%g, dm_pitch_iqr=%g, dm_gap_iqr=%g\n\x00\x00\x00\x00\x00\x00\x00Choosing dm version:pitch_iqr=%g, gap_iqr=%g, dm_pitch_iqr=%g, dm_gap_iqr=%g\n\x00\x00\x00rev_p_iqr=%g:rev_g_iqr=%g:pitch=%g:\x00\x00\x00\x00\x00p_iqr/g=%g:p_iqr/x=%g:iqr_res=%c:\x00\x00\x00\x00\x00\x00\x00??\x00\x00\x00\x00\x00\x00DP\x00\x00\x00\x00\x00\x00MP\x00\x00\x00\x00\x00\x00DF\x00\x00\x00\x00\x00\x00MF\x00\x00\x00\x00\x00\x00:sd/p=%g:occ=%g:init_res=%s\n\x00\x00\x00\x00tune_row_pitch:start pitch=%g, sd=%g\n\x00\x00\x00testing pitch at %g, sd=%g\n\x00\x00\x00\x00\x00tune_row_pitch:start pitch=%g, best_delta=%d, count=%d\n\x00tune_row_pitch:output pitch=%g, sd=%g\n\x00\x00Word ending at (%d,%d), len=%d, sync rating=%g, \x00\x00\x00\x00\x00\x00\x00\x00(F)\x00\x00\x00\x00\x00%d, \x00\x00\x00\x00Row ending at (%d,%d), len=%d, sync rating=%g, \x00new_sd=%g:sd/p=%g:new_sp_sd=%g:res=%c:\x00\x00row_sd=%g:sd/p=%g:res=%c:N=%d:res2=%s,init pitch=%g, row_pitch=%g, all_caps=%d\n\x00Bad box joined to prev at\x00\x00\x00\x00\x00\x00\x00After repeated word:\x00\x00\x00\x00box_it.empty() || !box_it.data()->joined_to_prev()\x00\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00Input image too large! (%d, %d)\n\x00\x00\x00\x00\x00\x00\x00\x00!word->cblob_list()->empty()\x00\x00\x00\x00../textord/tordmain.cpp\x00cleanup_blocks: # rows = %d / %d\n\x00\x00\x00\x00\x00\x00\x00cleanup_blocks: # blocks = %d / %d\n\x00\x00\x00\x00\x00Blob at (%d,%d) -> (%d,%d), ols=%d, tc=%d, bldiff=%g\n\x00\x00\x00Row ending at (%d,%g):\x00\x00 R=%g, dc=%d, nc=%d, %s\n\x00\x00\x00\x00\x00\x00\x00\x00REJECTED\x00\x00\x00\x00\x00\x00\x00\x00ACCEPTED","i8", -B,q.g+349960); -C("(`\u0005\x00Q\x00\x00\x00R\x00\x00\x00\u0007\x00\x00\x00\x00\x00\x00\x00N9tesseract6BBGridINS_11WordWithBoxENS_17WordWithBox_CLISTENS_16WordWithBox_C_ITEEE\x00\x00\x00\x00\x00\u00a8-\u001a\x00\u00d0_\u0005\x00\u00d0\u00c8\u0004\x00\x00\x00\x00\x00Click at (%d, %d)\n\x00\x00\x00\x00\x00\x00Block %d Row %d: Now Proportional\n\x00\x00\x00\x00\x00\x00Block %d Row %d: Now Fixed Pitch Decision:%d fp flag:%f\n\x00\x00\x00\x00\x00\x00\x00\x00B:%d R:%d -- Inadequate certain spaces.\n\x00\x00\x00\x00\x00\x00\x00\x00B:%d R:%d -- DONT BELIEVE SPACE %3.2f %d %3.2f.\n\x00\x00\x00\x00\x00\x00\x00\x00B:%d R:%d -- DONT BELIEVE SPACE %3.2f %d %3.2f -> %3.2f.\n\x00\x00\x00\x00\x00\x00\x00B:%d R:%d -- DONT BELIEVE THRESH %3.2f %d %3.2f->%d.\n\x00\x00\x00B:%d R:%d -- SUSPECT NO SPACES %3.2f %d %3.2f.\n\x00B:%d R:%d L:%d-- Kn:%d Sp:%d Thr:%d -- Kn:%3.2f (%d) Thr:%d (%d) Sp:%3.2f\n\x00\x00\x00\x00\x00\x00row->kern_size = %3.2f, row->space_size = %3.2f, row->space_threshold = %d\n\x00\x00\x00\x00\x00B:%d R:%d -- Cant do isolated row stats.\n\x00\x00\x00\x00\x00\x00\x00B:%d R:%d -- Isolated row stats SANITY FAILURE: %f %d %f\n\x00\x00\x00\x00\x00\x00\x00B:%d R:%d -- Isolated row stats: %f %d %f\n\x00\x00\x00\x00\x00\x00Improve row threshold 0\x00 1\x00\x00\x00\x00\x00\x00 reqd_z_width: %d found %d 0's, starting %d; thresh: %d/n\x00\x00\x00\x00\x00\x00\x00 2\x00\x00\x00\x00\x00\x00Improve row kn:%5.2f sp:%5.2f 0's: %d -> %d thresh:%d -> %d\n\x00\x00\x00Repch wd at BOL(%d, %d). rep spacing %5.2f; Rgap:%d \x00\x00Repch wd (%d,%d) rep gap %5.2f; Lgap:%d (%d blanks);\x00\x00\x00 Rgap:%d (%d blanks)\n\x00\x00\x00Repch wd at EOL (%d,%d). rep spacing %d; Lgap:%d (%d blanks)\n\x00\x00\x00Row: Made %d words in row ((%d,%d)(%d,%d))\n\x00\x00\x00\x00\x00Row:Made %d words in row ((%d,%d)(%d,%d))\n\x00\x00\x00\x00\x00\x00word break = %d current_gap = %d, prev_gap = %d, next_gap = %d\n","i8", -B,q.g+352180);C("textord_show_initial_words\x00\x00\x00\x00\x00\x00Display separate words","i8",B,q.g+353576);C("textord_show_new_words","i8",B,q.g+353648);C("textord_show_fixed_words\x00\x00\x00\x00\x00\x00\x00\x00Display forced fixed pitch words","i8",B,q.g+353688);C("textord_blocksall_fixed\x00Moan about prop blocks","i8",B,q.g+353776);C("textord_blocksall_prop\x00\x00Moan about fixed pitch blocks","i8",B,q.g+353840); -C("textord_blocksall_testing\x00\x00\x00\x00\x00\x00\x00Dump stats when moaning","i8",B,q.g+353912);C("textord_test_mode\x00\x00\x00\x00\x00\x00\x00Do current test","i8",B,q.g+353984);C("textord_dotmatrix_gap\x00\x00\x00Max pixel gap for broken pixed pitch","i8",B,q.g+354048);C("textord_debug_block\x00\x00\x00\x00\x00Block to do debug on","i8",B,q.g+354136);C("textord_pitch_range\x00\x00\x00\x00\x00Max range test on pitch","i8",B,q.g+354208); -C("textord_wordstats_smooth_factor\x00Smoothing gap stats","i8",B,q.g+354296);C("textord_width_smooth_factor\x00\x00\x00\x00\x00Smoothing width stats","i8",B,q.g+354392);C("textord_words_width_ile\x00Ile of blob widths for space est","i8",B,q.g+354488);C("textord_words_maxspace\x00\x00Multiple of xheight","i8",B,q.g+354592);C("textord_words_default_maxspace\x00\x00Max believable third space","i8",B,q.g+354680);C("textord_words_default_minspace\x00\x00Fraction of xheight","i8",B,q.g+354784); -C("textord_words_min_minspace","i8",B,q.g+354880);C("textord_words_default_nonspace","i8",B,q.g+354952);C("textord_words_initial_lower\x00\x00\x00\x00\x00Max inital cluster size","i8",B,q.g+355024);C("textord_words_initial_upper\x00\x00\x00\x00\x00Min initial cluster spacing","i8",B,q.g+355120);C("textord_words_minlarge\x00\x00Fraction of valid gaps needed","i8",B,q.g+355224);C("textord_words_pitchsd_threshold\x00Pitch sync threshold","i8",B,q.g+355320); -C("textord_words_def_fixed\x00Threshold for definite fixed","i8",B,q.g+355416);C("textord_words_def_prop\x00\x00Threshold for definite prop","i8",B,q.g+355512);C("textord_words_veto_power\x00\x00\x00\x00\x00\x00\x00\x00Rows required to outvote a veto","i8",B,q.g+355592);C("textord_pitch_rowsimilarity\x00\x00\x00\x00\x00Fraction of xheight for sameness","i8",B,q.g+355696);C("textord_pitch_scalebigwords\x00\x00\x00\x00\x00Scale scores on big words","i8",B,q.g+355784); -C("words_initial_lower","i8",B,q.g+355888);C("words_initial_upper","i8",B,q.g+355952);C("words_default_prop_nonspace","i8",B,q.g+356016);C("words_default_fixed_space","i8",B,q.g+356088);C("words_default_fixed_limit\x00\x00\x00\x00\x00\x00\x00Allowed size variance","i8",B,q.g+356160);C("textord_words_definite_spread\x00\x00\x00Non-fuzzy spacing region","i8",B,q.g+356256);C("textord_spacesize_ratiofp\x00\x00\x00\x00\x00\x00\x00Min ratio space/nonspace","i8",B,q.g+356360); -C("textord_spacesize_ratioprop","i8",B,q.g+356464);C("textord_fpiqr_ratio\x00\x00\x00\x00\x00Pitch IQR/Gap IQR threshold","i8",B,q.g+356536);C("textord_max_pitch_iqr\x00\x00\x00Xh fraction noise in pitch","i8",B,q.g+356632);C("textord_fp_min_width\x00\x00\x00\x00Min width of decent blobs","i8",B,q.g+356728);C("textord_underline_offset\x00\x00\x00\x00\x00\x00\x00\x00Fraction of x to ignore","i8",B,q.g+356960); -C("textord_restore_underlines\x00\x00\x00\x00\x00\x00Chop underlines & put back\x00\x00\x00\x00\x00\x00u_line->cblob () != NULL\x00\x00\x00\x00\x00\x00\x00\x00../textord/underlin.cpp","i8",B,q.g+357032);C("Out of memory","i8",B,q.g+357168);C("textord_fp_chopping\x00\x00\x00\x00\x00Do fixed pitch chopping","i8",B,q.g+357328);C("textord_force_make_prop_words\x00\x00\x00Force proportional word segmentation on all rows","i8",B,q.g+357392); -C("textord_chopper_test\x00\x00\x00\x00Chopper is being tested.\x00\x00\x00\x00\x00\x00\x00\x00FALSE\x00\x00\x00../textord/wordseg.cpp\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00partner->SingletonPartner(false) == part\x00\x00\x00\x00\x00\x00\x00\x00../textord/workingpartset.cpp\x00\x00\x00completed_blocks_.length() == to_blocks_.length()\x00\x00\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00\u00f8z\u0005\x00\x00{\u0005\x00\b{\u0005\x00\u0010{\u0005\x00\u0018{\u0005\x00 {\u0005\x00({\u0005\x000{\u0005\x00@{\u0005\x00H{\u0005\x00X{\u0005\x00`{\u0005\x00Truth \x00\x00 (no char boxes)\x00\x00\x00\x00\x00\x00\x00\x00 Choice \x00\x00\x00\x00\x00\x00\x00\x00Looking for truth split at\x00\x00\x00\x00\x00\x00 end1_x \x00\x00\x00\x00\x00\x00\x00\x00 begin2_x \x00\x00\x00\x00\x00\x00\nnorm_truth_word boxes:\n\x00\x00\x00\x00\x00\x00\x00\x00Split found\x00\x00\x00\x00\x00Truth split not found\x00\x00\x00 (no truth char boxes)\n\x00Blame from part 1: \x00\x00\x00\x00\x00Blame from part 2: \x00\x00\x00\x00\x00unichar \x00\x00\x00\x00\x00\x00\x00\x00 not found in classification list\x00\x00\x00\x00\x00\x00\x00better rating for adapted \x00\x00\x00\x00\x00\x00 than for correct \x00\x00\x00\x00\x00\x00Detected missing chop (tolerance=\x00\x00\x00\x00\x00\x00\x00) at Bounding Box=\x00\x00\x00\x00\x00\x00\nNo chop for truth at x=\x00\x00\x00\x00\x00\x00\x00\x00Missing chops for last \x00 truth box(es)\x00\x00\nMaximally chopped word boxes:\n\x00Truth bounding boxes:\n\x00\x00\x00\x00\x00\x00\x00\x00!blob_choice_it.empty()\x00../ccstruct/blamer.cpp\x00\x00first_choice != NULL\x00\x00\x00\x00Best choice is: incorrect, top choice, dictionary word\x00\x00 with permuter \x00Classifier/Old LM tradeoff is to blame\x00\x00Blamer computing correct_segmentation_cols\n\x00\x00\x00\x00\x00Box x coord vs. truth: \x00col=\x00\x00\x00\x00 row=\x00\x00\x00Blamer failed to find correct segmentation (tolerance=\x00\x00 blob == NULL\x00\x00\x00)\n\x00\x00\x00\x00\x00\x00 path length \x00\x00\x00 vs. truth \x00\x00\x00\x00\x00segsearch starting to look for blame\n\x00\x00\x00Correct segmentation:\n\x00\x00\nFailed to insert pain point\n\x00\x00\x00Correct segmentation state was not explored\x00\x00\x00\x00\x00Correct segmentation paths were pruned by LM\n\x00\x00\x00Best correct segmentation rating \x00\x00\x00\x00\x00\x00\x00 vs. best choice rating \x00\x00\x00\x00\x00\x00\x00\x00LastChanceBlame\x00Rejected truth\x00\x00Choice is incorrect after recognition\x00\x00\x00Corrected %s\n\x00\x00\x00misadapt to word (\x00\x00\x00\x00\x00\x00): \x00\x00\x00\x00\x00 to blame: \x00\x00\x00\x00\x00SetBlame(): %s\x00\x00corr\x00\x00\x00\x00cl\x00\x00\x00\x00\x00\x00chop\x00\x00\x00\x00cl/LM\x00\x00\x00pglt\x00\x00\x00\x00ss_heur\x00ss_pp\x00\x00\x00cl/old_LM\x00\x00\x00\x00\x00\x00\x00adapt\x00\x00\x00no_tr_spl\x00\x00\x00\x00\x00\x00\x00no_tr\x00\x00\x00unkn\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00rotation.x() >= kCosSmallAngle\x00\x00../ccstruct/blobbox.cpp\x00\x00\x00\u0001\x00\x00\x00\x00\x00\u0001\x00\u0005\x00\x00\x00\x00\x00.uzn\x00\x00\x00\x00%d %d %d %d %*s\x00.box\x00\x00\x00\x00Box file format error on line %i; ignored\n\x00\x00\x00\x00\x00\x00%d %d %d %d %d\x00\x00Bad box coordinates in boxfile string! %s\n\x00\x00\x00\x00\x00\x00Bad UTF-8 str %s starts with 0x%02x at col %d\n\x00\x00WordStr\x00`\u00f8\u0019\x00\x00\x00\x00\x00\x00\x00\x00\x00\u00b0|\u0005\x00S\x00\x00\x00T\x00\x00\x00N9tesseract8CCStructE\x00\x00\x00\u00a8-\u001a\x00\u0098|\u0005\x00(\u00bd\u0005\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00\u00ff\u00ff\x00\x00\x00\x00\u00ff\u00ff\u0001\x00\x00\x00\x00\x00\u0001\x00length >= 0\x00\x00\x00\x00\x00../ccstruct/coutln.cpp\x00\x00pos.x () == startpt.x () && pos.y () == startpt.y ()\x00\x00\x00\x00stepcount >= 4\x00\x00destpos.x () == start.x () && destpos.y () == start.y ()\x00\x00\x00\x00\x00\x00\x00\x00destindex <= stepcount\x00\x00dirdiff == 0 || dirdiff == 32 || dirdiff == -32\x00count == 128 || count == -128\x00\x00\x00this == it->data()\x00\x00\x00\x00\x00\x00Constrained fit to dir %g, %g = %d, %d :%d distances:\n\x00\x00%d: %d, %d -> %g\n\x00\x00\x00\x00\x00\x00\x00Result = %d\n\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00min_step > 0\x00\x00\x00\x00../ccstruct/dppoint.cpp\x00`\u00f8\u0019\x00\x00\x00\x00\x00vec_size >= 0\x00\x00\x00../ccstruct/fontinfo.cpp","i8", -B,q.g+357496); -C('X\u007f\u0005\x00U\x00\x00\x00V\x00\x00\x00\u0003\x00\x00\x00\x00\x00\x00\x0031_TessFunctionResultCallback_0_1ILb0EvN9tesseract8FontInfoEE\x00\x00\x0013TessCallback1IN9tesseract8FontInfoEE\x00\x00\u0080-\u001a\x00(\u007f\u0005\x00\u00a8-\u001a\x00\u00e8~\u0005\x00P\u007f\u0005\x00\x00\x00\x00\x00spacing_vec != NULL && spacing_vec->size() > uch_id\x00\x00\x00\x00\x00../ccstruct/fontinfo.h\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00coord.Valid(*result)\x00\x00\x00\x00../ccstruct/matrix.cpp\x00\x00Ratings Matrix (top 3 choices)\n\x00col=%d row=%d \x00\x00%s rat=%g cert=%g \x00\x00\x00\x00\x00\x00\t%d\x00\x00\x00\x00\x00%d\t\x00\x00\x00\x00\x00 \t\x00\x00\x00\x00\x00\x00%s \x00\x00\x00\x00\x00\u00e8\u0003\x00\x00\u00e6\u00031\x00\u00e3\u0003b\x00\u00dd\u0003\u0092\x00\u00d4\u0003\u00c3\x00\u00ca\u0003\u00f2\x00\u00bc\u0003"\u0001\u00ad\u0003P\u0001\u009b\u0003~\u0001\u0087\u0003\u00ab\u0001q\u0003\u00d7\u0001Y\u0003\u0002\u0002?\u0003+\u0002#\u0003S\u0002\u0005\u0003z\u0002\u00e4\u0002\u009f\u0002\u00c3\u0002\u00c3\u0002\u009f\u0002\u00e4\u0002z\u0002\u0005\u0003S\u0002#\u0003+\u0002?\u0003\u0002\u0002Y\u0003\u00d7\u0001q\u0003\u00ab\u0001\u0087\u0003~\u0001\u009b\u0003P\u0001\u00ad\u0003"\u0001\u00bc\u0003\u00f2\x00\u00ca\u0003\u00c3\x00\u00d4\u0003\u0092\x00\u00dd\u0003b\x00\u00e3\u00031\x00\u00e6\u0003\x00\x00\u00e8\u0003\u00cf\u00ff\u00e6\u0003\u009e\u00ff\u00e3\u0003n\u00ff\u00dd\u0003=\u00ff\u00d4\u0003\u000e\u00ff\u00ca\u0003\u00de\u00fe\u00bc\u0003\u00b0\u00fe\u00ad\u0003\u0082\u00fe\u009b\u0003U\u00fe\u0087\u0003)\u00feq\u0003\u00fe\u00fdY\u0003\u00d5\u00fd?\u0003\u00ad\u00fd#\u0003\u0086\u00fd\u0005\u0003a\u00fd\u00e4\u0002=\u00fd\u00c3\u0002\u001c\u00fd\u009f\u0002\u00fb\u00fcz\u0002\u00dd\u00fcS\u0002\u00c1\u00fc+\u0002\u00a7\u00fc\u0002\u0002\u008f\u00fc\u00d7\u0001y\u00fc\u00ab\u0001e\u00fc~\u0001S\u00fcP\u0001D\u00fc"\u00016\u00fc\u00f2\x00,\u00fc\u00c3\x00#\u00fc\u0092\x00\u001d\u00fcb\x00\u001a\u00fc1\x00\u0018\u00fc\x00\x00\u001a\u00fc\u00cf\u00ff\u001d\u00fc\u009e\u00ff#\u00fcn\u00ff,\u00fc=\u00ff6\u00fc\u000e\u00ffD\u00fc\u00de\u00feS\u00fc\u00b0\u00fee\u00fc\u0082\u00fey\u00fcU\u00fe\u008f\u00fc)\u00fe\u00a7\u00fc\u00fe\u00fd\u00c1\u00fc\u00d5\u00fd\u00dd\u00fc\u00ad\u00fd\u00fb\u00fc\u0086\u00fd\u001c\u00fda\u00fd=\u00fd=\u00fda\u00fd\u001c\u00fd\u0086\u00fd\u00fb\u00fc\u00ad\u00fd\u00dd\u00fc\u00d5\u00fd\u00c1\u00fc\u00fe\u00fd\u00a7\u00fc)\u00fe\u008f\u00fcU\u00fey\u00fc\u0082\u00fee\u00fc\u00b0\u00feS\u00fc\u00de\u00feD\u00fc\u000e\u00ff6\u00fc=\u00ff,\u00fcn\u00ff#\u00fc\u009e\u00ff\u001d\u00fc\u00cf\u00ff\u001a\u00fc\x00\x00\u0018\u00fc1\x00\u001a\u00fcb\x00\u001d\u00fc\u0092\x00#\u00fc\u00c3\x00,\u00fc\u00f2\x006\u00fc"\u0001D\u00fcP\u0001S\u00fc~\u0001e\u00fc\u00ab\u0001y\u00fc\u00d7\u0001\u008f\u00fc\u0002\u0002\u00a7\u00fc+\u0002\u00c1\u00fcS\u0002\u00dd\u00fcz\u0002\u00fb\u00fc\u009f\u0002\u001c\u00fd\u00c3\u0002=\u00fd\u00e4\u0002a\u00fd\u0005\u0003\u0086\u00fd#\u0003\u00ad\u00fd?\u0003\u00d5\u00fdY\u0003\u00fe\u00fdq\u0003)\u00fe\u0087\u0003U\u00fe\u009b\u0003\u0082\u00fe\u00ad\u0003\u00b0\u00fe\u00bc\u0003\u00de\u00fe\u00ca\u0003\u000e\u00ff\u00d4\u0003=\u00ff\u00dd\u0003n\u00ff\u00e3\u0003\u009e\u00ff\u00e6\u0003\u00cf\u00ff`\u00f8\u0019\x00\x00\x00\x00\x00\x00\x00\x00\x00\u0090\u0082\u0005\x00W\x00\x00\x00X\x00\x00\x00\u0006\x00\x00\x00\u000f\x00\x00\x0016GENERIC_2D_ARRAYIiE\x00\x00\x00\u0080-\u001a\x00x\u0082\u0005\x00minruns->dim1() == width\x00\x00\x00\x00\x00\x00\x00\x00../ccstruct/normalis.cpp\x00\x00\x00\x00\x00\x00\x00\x00minruns->dim2() == height\x00\x00\x00\x00\x00\x00\x00Block list stats:\nBlocks = %d\nRows = %d\nWords = %d\nBlobs = %d\n\x00\x00margin: %d, first_indent: %d, body_indent: %d, alignment: %s\x00\x00\x00\x00LEFT\x00\x00\x00\x00RIGHT\x00\x00\x00CENTER\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00combo != NULL\x00\x00\x00../ccstruct/pageres.cpp\x00raw_choice has total of states = %d vs ratings dim of %d\n\x00\x00\x00\x00\x00\x00\x00Cooked #%d has total of states = %d vs ratings dim of %d\n\x00\x00\x00\x00\x00\x00\x00\nBest Raw Choice\x00\x00\x00\x00\x00\x00\x00\x00\nCooked Choice #\x00\x00\x00\x00\x00\x00\x00\x00Best choice: accepted=%d, adaptable=%d, done=%d : \x00\x00\x00\x00\x00\x00\n\x00\x00\nFiltering against best choice\x00\x00\nDiscarding bad choice #\x00\x00\x00\x00\x00\x00\x00\x00i %d j %d Chunk %d Choice->Blob[i].Certainty %.4g BestChoice->ChunkCertainty[Chunk] %g Threshold %g\n\x00\x00\x00\x00Discarding choice "%s" with an overly low certainty %.3f vs best choice certainty %.3f (Threshold: %.3f)\n\x00\x00\x00\x00\x00\x00\x00Discarding duplicate choice "%s", rating %g vs %g\n\x00\x00\x00\x00\x00\x00New %s\x00\x00Best\x00\x00\x00\x00Secondary\x00\x00\x00\x00\x00\x00\x00Poor\x00\x00\x00\x00 Word Choice\x00\x00\x00\x00", "\x00\x00\x00\x00Alternates for "%s": {"%s"}\n\x00\x00\x00\x00blamer_bundle != NULL\x00\x00\x00ConsumeWordResults\x00\x00\x00\x00\x00\x00best_choice != NULL\x00\x00\x00\x00\x00box_word != NULL\x00\x00\x00\x00\x00\x00\x00\x00blob_count == box_word->length()\x00\x00\x00\x00\x00\x00\x00\x00best_choice->length() == 0 || ratings != NULL\x00\x00\x00"\x00\x00\x00\x00\x00\x00\x00-\x00\x00\x00\x00\x00\x00\x00reject_map.length() == len\x00\x00\x00\x00\x00\x00box_word->length() == len\x00\x00\x00\x00\x00\x00\x00page_res == other.page_res\x00\x00\x00\x00\x00\x00other.word_res != NULL && word_res != NULL\x00\x00\x00\x00\x00\x00"Error: Incomparable PAGE_RES_ITs" == NULL\x00\x00\x00\x00\x00\x00!wr_it.cycled_list()\x00\x00\x00\x00!w_it.cycled_list()\x00\x00\x00\x00\x00!word_res->part_of_combo\x00\x00\x00\x00\x00\x00\x00\x00wr_it.data()->part_of_combo\x00\x00\x00\x00\x00!real_word->flag(W_FUZZY_SP) && !real_word->flag(W_FUZZY_NON)\x00\x00\x00!word_res_it.cycled_list()\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00H\u0089\u0005\x00Y\x00\x00\x00Z\x00\x00\x00\u0010\x00\x00\x00\x00\x00\x00\x0029_TessMemberResultCallback_0_2ILb0Eb8WERD_RESRK4TBOXS3_E\x00\x00\x00\x00\x00\x00\x0019TessResultCallback2IbRK4TBOXS2_E\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u0018\u0089\u0005\x00\u00a8-\u001a\x00\u00d8\u0088\u0005\x00@\u0089\u0005\x00\x00\x00\x00\x00\x00\x00\x00\x00\u00d0\u0089\u0005\x00[\x00\x00\x00\\\x00\x00\x00\u0011\x00\x00\x00\x00\x00\x00\x0029_TessMemberResultCallback_0_2ILb0Ei8WERD_RESiiE\x00\x00\x00\x00\x00\x00\x0019TessResultCallback2IiiiE\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u00a8\u0089\u0005\x00\u00a8-\u001a\x00p\u0089\u0005\x00\u00c8\u0089\u0005\x00\x00\x00\x00\x00@\u008a\u0005\x00X\u008a\u0005\x00p\u008a\u0005\x00\u0088\u008a\u0005\x00\u00a0\u008a\u0005\x00\u00b0\u008a\u0005\x00\u00c0\u008a\u0005\x00\u00d8\u008a\u0005\x00\u00e8\u008a\u0005\x00\u00f8\u008a\u0005\x00\u0010\u008b\u0005\x00 \u008b\u0005\x008\u008b\u0005\x00P\u008b\u0005\x00`\u008b\u0005\x00x\u008b\u0005\x00\u0098\u008b\u0005\x00\u00b8\u008b\u0005\x00\u00d0\u008b\u0005\x00\u00e8\u008b\u0005\x00\b\u008c\u0005\x00(\u008c\u0005\x00@\u008c\u0005\x00X\u008c\u0005\x00PTRAIN_DIGITS_SHORT\x00\x00\x00\x00\x00PTRAIN_DIGITS_MED\x00\x00\x00\x00\x00\x00\x00PTRAIN_DIGITS_LONG\x00\x00\x00\x00\x00\x00PTRAIN_NUM_SHORT\x00\x00\x00\x00\x00\x00\x00\x00PTRAIN_NUM_MED\x00\x00PTRAIN_NUM_LONG\x00PTRAIN_DOC_SHORT\x00\x00\x00\x00\x00\x00\x00\x00PTRAIN_DOC_MED\x00\x00PTRAIN_DOC_LONG\x00PTRAIN_DICT_SHORT\x00\x00\x00\x00\x00\x00\x00PTRAIN_DICT_MED\x00PTRAIN_DICT_LONG\x00\x00\x00\x00\x00\x00\x00\x00PTRAIN_FREQ_SHORT\x00\x00\x00\x00\x00\x00\x00PTRAIN_FREQ_MED\x00PTRAIN_FREQ_LONG\x00\x00\x00\x00\x00\x00\x00\x00PTRAIN_SHAPE_COST_PER_CHAR\x00\x00\x00\x00\x00\x00PTRAIN_NGRAM_COST_PER_CHAR\x00\x00\x00\x00\x00\x00PTRAIN_NUM_BAD_PUNC\x00\x00\x00\x00\x00PTRAIN_NUM_BAD_CASE\x00\x00\x00\x00\x00PTRAIN_XHEIGHT_CONSISTENCY\x00\x00\x00\x00\x00\x00PTRAIN_NUM_BAD_CHAR_TYPE\x00\x00\x00\x00\x00\x00\x00\x00PTRAIN_NUM_BAD_SPACING\x00\x00PTRAIN_NUM_BAD_FONT\x00\x00\x00\x00\x00PTRAIN_RATING_PER_CHAR\x00\x00h\u00f5\u0005\x00\x00\x00\x00\x00\u0098\u00f5\u0005\x00\x00\x00\x00\x00BLOCK_LINE_IT::get_line\x00Y=%d',"i8", -B,q.g+360140);C("poly_debug\x00\x00\x00\x00\x00\x00Debug old poly","i8",B,q.g+363824); -C('poly_wide_objects_better\x00\x00\x00\x00\x00\x00\x00\x00More accurate approx on wide things\x00\x00\x00\x00\x00pos.x () == c_outline->start_pos ().x () && pos.y () == c_outline->start_pos ().y ()\x00\x00\x00\x00../ccstruct/polyaprx.cpp\x00\x00\x00\x00\x00\x00\x00\x00Poly2:starting at (%d,%d)+%d=(%d,%d),%d to (%d,%d)\n\x00\x00\x00\x00\x00Cutline:Final perp=%d\n\x00\x00perp != 0\x00\x00\x00\x00\x00\x00\x00Cutline:A=%d, max=%.2f(%.2f%%), msd=%.2f(%.2f%%)\n\x00\x00\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00Baseline diff %g for %d v %d\n\x00\x00\x00PosAndSize for %d v %d: bl diff = %g, ranges %g, %g / %g ->%g\n\x00\x00\b1\u0005\x00\u00c8\u0090\u0005\x00\u00d8\u0090\u0005\x00\u00e8\u0090\u0005\x00\u00f8\u0090\u0005\x00\b\u0091\u0005\x00\u0010\u0091\u0005\x00\u0018\u0091\u0005\x00(\u0091\u0005\x00@\u0091\u0005\x00X\u0091\u0005\x00h\u0091\u0005\x00\u0088\u0091\u0005\x00\x00\x00\x00\x00NORM\x00\x00\x00\x00SUB\x00\x00\x00\x00\x00SUPER\x00\x00\x00DROPC\x00\x00\x00SP_UNKNOWN\x00\x00\x00\x00\x00\x00start >= 0 && start + num <= length_\x00\x00\x00\x00../ccstruct/ratngs.cpp\x00\x00start >= 0 && start <= length_\x00\x00end >= 0 && end <= length_\x00\x00\x00\x00\x00\x00unicharset_ == second.unicharset_\x00\x00\x00\x00\x00\x00\x00%s : \x00\x00\x00 : R=%g, C=%g, F=%g, Perm=%d, xht=[%g,%g], ambig=%d\n\x00\x00\x00\x00pos\x00\x00\x00\x00\x00\t%s\x00\x00\x00\x00\x00\nstr\x00\x00\x00\x00\nstate:\x00\t%d \x00\x00\x00\x00\nC\x00\x00\x00\x00\x00\x00\t%.3f\x00\x00\x00 %d\x00\x00\x00\x00\x00%s:\n\x00\x00\x00\x00\x00\x00Punctuation\x00\x00\x00\x00\x00Top Choice\x00\x00\x00\x00\x00\x00Top Lower Case\x00\x00Top Upper Case\x00\x00Ngram\x00\x00\x00Number\x00\x00User Pattern\x00\x00\x00\x00System Dictionary\x00\x00\x00\x00\x00\x00\x00Document Dictionary\x00\x00\x00\x00\x00User Dictionary\x00Frequent Words Dictionary\x00\x00\x00\x00\x00\x00\x00Compound\x00\x00\x00\x00\x00\x00\x00\x00(\x00\x00\x00\x00\x00\x00\x00,\x00\x00\x00\x00\x00\x00\x00)->(\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00R_TESS_FAILURE: %s\n\x00\x00\x00\x00\x00T\x00\x00\x00\x00\x00\x00\x00R_SMALL_XHT: %s\n\x00\x00\x00\x00\x00\x00\x00\x00R_EDGE_CHAR: %s\n\x00\x00\x00\x00\x00\x00\x00\x00R_1IL_CONFLICT: %s\n\x00\x00\x00\x00\x00R_POSTNN_1IL: %s\n\x00\x00\x00\x00\x00\x00\x00R_REJ_CBLOB: %s\n\x00\x00\x00\x00\x00\x00\x00\x00R_MM_REJECT: %s\n\x00\x00\x00\x00\x00\x00\x00\x00R_BAD_REPETITION: %s\n\x00\x00\x00R_POOR_MATCH: %s\n\x00\x00\x00\x00\x00\x00\x00R_NOT_TESS_ACCEPTED: %s\n\x00\x00\x00\x00\x00\x00\x00\x00R_CONTAINS_BLANKS: %s\n\x00\x00R_BAD_PERMUTER: %s\n\x00\x00\x00\x00\x00R_HYPHEN: %s\n\x00\x00\x00R_DUBIOUS: %s\n\x00\x00R_NO_ALPHANUMS: %s\n\x00\x00\x00\x00\x00R_MOSTLY_REJ: %s\n\x00\x00\x00\x00\x00\x00\x00R_XHT_FIXUP: %s\n\x00\x00\x00\x00\x00\x00\x00\x00R_BAD_QUALITY: %s\n\x00\x00\x00\x00\x00\x00R_DOC_REJ: %s\n\x00\x00R_BLOCK_REJ: %s\n\x00\x00\x00\x00\x00\x00\x00\x00R_ROW_REJ: %s\n\x00\x00R_UNLV_REJ: %s\n\x00R_HYPHEN_ACCEPT: %s\n\x00\x00\x00\x00R_NN_ACCEPT: %s\n\x00\x00\x00\x00\x00\x00\x00\x00R_MM_ACCEPT: %s\n\x00\x00\x00\x00\x00\x00\x00\x00R_QUALITY_ACCEPT: %s\n\x00\x00\x00R_MINIMAL_REJ_ACCEPT: %s\n\x00\x00\x00\x00\x00\x00\x00pos >= 0\x00\x00\x00\x00\x00\x00\x00\x00../ccstruct/rejctmap.cpp\x00\x00\x00\x00\x00\x00\x00\x00pos < len\x00\x00\x00\x00\x00\x00\x00len > 0\x00"%s"\x00\x00\x00\x00 %6.2f @ (%d,%d), p=%d, n=%d \x00\x00\x00, \x00\x00\x00\x00%2d: ',"i8", -B,q.g+363872); -C("wordrec_display_splits\x00\x00Display splits\x00\x00(%d,%d)--(%d,%d)\x00\x00\x00\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00buckets_[index - 1] > 0\x00../ccstruct/statistc.cpp\x00\x00\x00\x00\x00\x00\x00\x00%4d:%-3d \x00\x00\x00\x00\x00\x00\x00Total count=%d\n\x00Min=%.2f Really=%d\n\x00\x00\x00\x00\x00Lower quartile=%.2f\n\x00\x00\x00\x00Median=%.2f, ile(0.5)=%.2f\n\x00\x00\x00\x00\x00Upper quartile=%.2f\n\x00\x00\x00\x00Max=%.2f Really=%d\n\x00\x00\x00\x00\x00Range=%d\n\x00\x00\x00\x00\x00\x00\x00Mean= %.2f\n\x00\x00\x00\x00\x00SD= %.2f\n\x00\x00\x00\x00\x00\x00\x00Blanks= %d\n\x00\x00\x00\x00\x00Flags = %d = 0%o\n\x00\x00\x00\x00\x00\x00\x00 W_SEGMENTED = %s\n\x00\x00\x00\x00TRUE\x00\x00\x00\x00FALSE \x00\x00 W_ITALIC = %s\n\x00\x00\x00\x00\x00\x00\x00 W_BOL = %s\n\x00\x00 W_EOL = %s\n\x00\x00 W_NORMALIZED = %s\n\x00\x00\x00 W_SCRIPT_HAS_XHEIGHT = %s\n\x00\x00\x00 W_SCRIPT_IS_LATIN = %s\n\x00\x00\x00\x00\x00\x00 W_DONT_CHOP = %s\n\x00\x00\x00\x00 W_REP_CHAR = %s\n\x00\x00\x00\x00\x00 W_FUZZY_SP = %s\n\x00\x00\x00\x00\x00 W_FUZZY_NON = %s\n\x00\x00\x00\x00Correct= %s\n\x00\x00\x00\x00Rejected cblob count = %d\n\x00\x00\x00\x00\x00\x00Script = %d\n\x00\x00\x00\x00Bounding box couldn't be ascertained\n\x00\x00\x00\x00\x00\x00\x00\u0001\x00\x00\x00\u0005\x00\x00\x00\u0004\x00\x00\x00\x00\x00\x00\x00\u0003\x00\x00\x00\u0002\x00\x00\x00\u0004\x00\x00\x00\x00\x00\x00\x00\u00ff\u00ff\u00ff\u00ff\u0002\x00\x00\x00\u00ff\u00ff\u00ff\u00ff\x00\x00\x00\x00\u0003\x00\x00\x00\u00ff\u00ff\u00ff\u00ff\u0004\x00\x00\x00\x00\x00\x00\x00\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u0004\x00\x00\x00\u0005\x00\x00\x00\u00ff\u00ff\u00ff\u00ff\u0002\x00\x00\x00\u00ff\u00ff\u00ff\u00ff`\u00f8\u0019\x00\x00\x00\x00\x00unicharset_size > 0\x00\x00\x00\x00\x00../dict/dawg.cpp","i8", -B,q.g+365888); -C("x\u009a\u0005\x00]\x00\x00\x00^\x00\x00\x00\u0001\x00\x00\x00\u0001\x00\x00\x00\u0012\x00\x00\x00\u0013\x00\x00\x00\u0014\x00\x00\x00\u0001\x00\x00\x00\u0002\x00\x00\x00\u0002\x00\x00\x00FORWARD\x00 \x00LAST\x00\x00\x00\x00 \x00\x00\x00\x00EOW\x00\x00\x00\x00\x00 \x00\x00\x00\x00\x00%lld : next = %lld, unichar_id = %d, %s %s %s\n\x00\x00%lld : no edges in this node\n\x00\x00\x00NO_EDGE\n\x00\x00\x00\x00\x00\x00\x00\x00%lld : next = %lld, unichar_id = '%d', %s %s %s\n\x00\x00\x00\x00\x00\x00\x00\x00Reading squished dawg\n\x00\x00num_edges_ > 0\x00\x00type: %d lang: %s perm: %d unicharset_size: %d num_edges: %d\n\x00\x00\x00N9tesseract12SquishedDawgE\x00\x00\x00\x00\x00\x00N9tesseract4DawgE\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00X\u009a\u0005\x00\u00a8-\u001a\x008\u009a\u0005\x00p\u009a\u0005\x00\x00\x00\x00\x00forward_edge(edge)\x00\x00\x00\x00\x00\x00../dict/dawg.h\x00\x00unichar_ids_of\x00\x00\x00\x00\x00\x00p\u009a\u0005\x00_\x00\x00\x00`\x00\x00\x00\u0001\x00\x00\x00\u0001\x00\x00\x00\u0001\x00\x00\x00\u0001\x00\x00\x00\u0001\x00\x00\x00\u0001\x00\x00\x00\u0002\x00\x00\x00\u0002\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00\u00f0\u009b\u0005\x00\u00f8\u009b\u0005\x00\b\u009c\u0005\x00\u0018\u009c\u0005\x00 \u009c\u0005\x000\u009c\u0005\x00@\u009c\u0005\x00P\u009c\u0005\x00`\u009c\u0005\x00p\u009c\u0005\x00\u0080\u009c\u0005\x00\u0098\u009c\u0005\x00\u00a8\u009c\u0005\x00\u00b8\u009c\u0005\x00\u00c8\u009c\u0005\x00\u00d8\u009c\u0005\x00\u00e8\u009c\u0005\x00\x00\x00\x00\x00\x00\x00\x00\x00\u00e0\u009b\u0005\x00a\x00\x00\x00b\x00\x00\x00\u0007\x00\x00\x00\x00\x00\x00\x0029_TessMemberResultCallback_0_0ILb1EPN9tesseract4DawgENS0_10DawgLoaderEE\x00\x00\x00\x00\x00\x00\x00\x0018TessResultCallbackIPN9tesseract4DawgEE\x00\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u00a8\u009b\u0005\x00\u00a8-\u001a\x00X\u009b\u0005\x00\u00d8\u009b\u0005\x00\x00\x00\x00\x00config\x00\x00unicharset\x00\x00\x00\x00\x00\x00unicharambigs\x00\x00\x00inttemp\x00pffmtable\x00\x00\x00\x00\x00\x00\x00normproto\x00\x00\x00\x00\x00\x00\x00punc-dawg\x00\x00\x00\x00\x00\x00\x00word-dawg\x00\x00\x00\x00\x00\x00\x00number-dawg\x00\x00\x00\x00\x00freq-dawg\x00\x00\x00\x00\x00\x00\x00fixed-length-dawgs\x00\x00\x00\x00\x00\x00cube-unicharset\x00cube-word-dawg\x00\x00shapetable\x00\x00\x00\x00\x00\x00bigram-dawg\x00\x00\x00\x00\x00unambig-dawg\x00\x00\x00\x00params-model\x00\x00\x00\x00user_words_file\x00A filename of user-provided words.\x00\x00\x00\x00\x00\x00user_words_suffix\x00\x00\x00\x00\x00\x00\x00A suffix of user-provided words located in tessdata.\x00\x00\x00\x00user_patterns_file\x00\x00\x00\x00\x00\x00A filename of user-provided patterns.\x00\x00\x00user_patterns_suffix\x00\x00\x00\x00A suffix of user-provided patterns located in tessdata.\x00load_system_dawg\x00\x00\x00\x00\x00\x00\x00\x00Load system word dawg.\x00\x00load_freq_dawg\x00\x00Load frequent word dawg.\x00\x00\x00\x00\x00\x00\x00\x00load_unambig_dawg\x00\x00\x00\x00\x00\x00\x00Load unambiguous word dawg.\x00\x00\x00\x00\x00load_punc_dawg\x00\x00Load dawg with punctuation patterns.\x00\x00\x00\x00load_number_dawg\x00\x00\x00\x00\x00\x00\x00\x00Load dawg with number patterns.\x00load_bigram_dawg\x00\x00\x00\x00\x00\x00\x00\x00Load dawg with special word bigrams.\x00\x00\x00\x00xheight_penalty_subscripts\x00\x00\x00\x00\x00\x00Score penalty (0.1 = 10%) added if there are subscripts or superscripts in a word, but it is otherwise OK.\x00\x00\x00\x00\x00\x00xheight_penalty_inconsistent\x00\x00\x00\x00Score penalty (0.1 = 10%) added if an xheight is inconsistent.\x00\x00segment_penalty_dict_frequent_word\x00\x00\x00\x00\x00\x00Score multiplier for word matches which have good case andare frequent in the given language (lower is better).\x00segment_penalty_dict_case_ok\x00\x00\x00\x00Score multiplier for word matches that have good case (lower is better).\x00\x00\x00\x00\x00\x00\x00\x00segment_penalty_dict_case_bad\x00\x00\x00Default score multiplier for word matches, which may have case issues (lower is better).\x00\x00\x00\x00\x00\x00\x00\x00segment_penalty_ngram_best_choice\x00\x00\x00\x00\x00\x00\x00Multipler to for the best choice from the ngram model.\x00\x00segment_penalty_dict_nonword\x00\x00\x00\x00Score multiplier for glyph fragment segmentations which do not match a dictionary word (lower is better).\x00\x00\x00\x00\x00\x00\x00segment_penalty_garbage\x00Score multiplier for poorly cased strings that are not in the dictionary and generally look like garbage (lower is better).\x00\x00\x00\x00\x00output_ambig_words_file\x00Output file for ambiguities found in the dictionary\x00\x00\x00\x00\x00dawg_debug_level\x00\x00\x00\x00\x00\x00\x00\x00Set to 1 for general debug info, to 2 for more details, to 3 to see all the debug messages\x00\x00\x00\x00\x00\x00hyphen_debug_level\x00\x00\x00\x00\x00\x00Debug level for hyphenated words.\x00\x00\x00\x00\x00\x00\x00max_viterbi_list_size\x00\x00\x00Maximum size of viterbi list.\x00\x00\x00use_only_first_uft8_step\x00\x00\x00\x00\x00\x00\x00\x00Use only the first UTF8 step of the given string when computing log probabilities.\x00\x00\x00\x00\x00\x00stopper_nondict_certainty_base\x00\x00Certainty threshold for non-dict words\x00\x00stopper_phase2_certainty_rejection_offset\x00\x00\x00\x00\x00\x00\x00Reject certainty offset\x00stopper_smallword_size\x00\x00Size of dict word to be treated as non-dict word\x00\x00\x00\x00\x00\x00\x00\x00stopper_certainty_per_char\x00\x00\x00\x00\x00\x00Certainty to add for each dict char above small word size.\x00\x00\x00\x00\x00\x00stopper_allowable_character_badness\x00\x00\x00\x00\x00Max certaintly variation allowed in a word (in sigma)\x00\x00\x00stopper_debug_level\x00\x00\x00\x00\x00Stopper debug level\x00\x00\x00\x00\x00stopper_no_acceptable_choices\x00\x00\x00Make AcceptableChoice() always return false. Useful when there is a need to explore all segmentations\x00\x00\x00save_raw_choices\x00\x00\x00\x00\x00\x00\x00\x00Deprecated- backward compatablity only\x00\x00tessedit_truncate_wordchoice_log\x00\x00\x00\x00\x00\x00\x00\x00Max words to keep in list\x00\x00\x00\x00\x00\x00\x00word_to_debug\x00\x00\x00Word for which stopper debug information should be printed to stdout\x00\x00\x00\x00word_to_debug_lengths\x00\x00\x00Lengths of unichars in word_to_debug\x00\x00\x00\x00fragments_debug\x00Debug character fragments\x00\x00\x00\x00\x00\x00\x00segment_nonalphabetic_script\x00\x00\x00\x00Don't use any alphabetic-specific tricks.Set to true in the traineddata config file for scripts that are cursive or inherently fixed-pitch\x00\x00\x00\x00\x00\x00save_doc_words\x00\x00Save Document Words\x00\x00\x00\x00\x00doc_dict_pending_threshold\x00\x00\x00\x00\x00\x00Worst certainty for using pending dictionary\x00\x00\x00\x00doc_dict_certainty_threshold\x00\x00\x00\x00Worst certainty for words that can be inserted into thedocument dictionary\x00\x00\x00\x00\x00\x00max_permuter_attempts\x00\x00\x00Maximum number of different character choices to consider during permutation. This limit is especially useful when user patterns are specified, since overly generic patterns can result in dawg search exploring an overly large number of options.","i8", -B,q.g+366804); -C("?\x00\x00\x00\x00\x00\x00\x00Error: failed to load %s\n\x00\x00\x00\x00\x00\x00\x00\x00\u0001\u0001\x00\u0001\x00\x00\x00\u0001\x00\x00\x00\x00\x00\x00\x00def_letter_is_okay: current unichar=%s word_end=%d num active dawgs=%d\n\x00Received DawgPosition with no dawg or punc_dawg. wth?\n\x00Letter found in dawg %d\n\x00\x00\x00\x00\x00\x00\x00\x00Append transition from punc dawg to current dawgs: \x00\x00\x00\x00\x00Letter found in punctuation dawg\n\x00\x00\x00\x00\x00\x00\x00Extend punctuation dawg: \x00\x00\x00\x00\x00\x00\x00Return to punctuation dawg: \x00\x00\x00\x00Active dawg: [%d, %lld] edge=%lld\n\x00\x00\x00\x00\x00\x00Punctuation constraint not satisfied at end of word.\n\x00\x00\x00Append current dawg to updated active dawgs: \x00\x00\x00Returning %d for permuter code for this character.\n\x00\x00\x00\x00\x00Pattern dawg: [%d, %lld] edge=%lld\n\x00\x00\x00\x00\x00Letter found in pattern dawg %d\n\x00\x00\x00\x00\x00\x00\x00\x00Adding hyphen beginning dawg [%d, %lld]\n\x00\x00\x00\x00\x00\x00\x00\x00Adding beginning punc dawg [%d, %lld]\n\x00\x00Adding beginning dawg [%d, %lld]\n\x00\x00\x00\x00\x00\x00\x00.doc\x00\x00\x00\x00a\x00\x00\x00\x00\x00\x00\x00, xhtBAD\x00\x00\x00\x00\x00\x00\x00\x00, xhtSUB\x00\x00\x00\x00\x00\x00\x00\x00Consistency could not be calculated.\n\x00\x00\x00%sWord: %s %4.2f%s\x00\x00\x00\x00\x00\x00Non-\x00\x00\x00\x00, W\x00\x00\x00\x00\x00, C\x00\x00\x00\x00\x00, P\x00\x00\x00\x00\x00, F\x00\x00\x00\x00\x00 %4.2f --\> %4.2f\n\x00\x00\x00\x00\x00\x00\x00copy_hyphen_info: \x00\x00\x00\x00\x00\x00%s[%d, %lld] [punc: %lld%s]\n\x00\x00\x00\x00 returned\x00\x00\x00\x00\x00\x00\x00ObjectCache(%p)::~ObjectCache(): WARNING! LEAK! object %p still has count %d (id %s)\n\x00\x00\x00reset_hyphen_vars: last_word_on_line %d -> %d\n\x00\x00set_hyphen_word: \x00\x00\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00checking unigrams in an ngram %s\n\x00\x00\x00\x00\x00\x00\x00getUnicharset().encode_string(ngram_str, true, &encoding, NULL, NULL)\x00\x00\x00../dict/permdawg.cpp\x00\x00\x00\x00uch_id != INVALID_UNICHAR_ID\x00\x00\x00\x00unigram %s is %s\n\x00\x00\x00\x00\x00\x00\x00OK\x00\x00\x00\x00\x00\x00not OK\x00\x00found word = %s\n\x00\x00\x00\x00\x00\x00\x00\x00wb+\x00\x00\x00\x00\x00Failed to open output_ambig_words_file %s\n\x00\x00\x00\x00\x00\x00last unichar not OK at index %d in %s\n\x00\x00permute_dawg_debug\x00\x00\x00\x00\x00\x00%s permute_choices: char_choice_index=%d limit=%g rating=%g, certainty=%g word=%s\n\x00\x00\x00\x00\x00\x00permute_choices(): attempts_left is 0\n\x00\x00%s check fragments: choice=%s word_ending=%d\n\x00\x00\x00prev_fragment %s\n\x00\x00\x00\x00\x00\x00\x00this_fragment %s\n\x00\x00\x00\x00\x00\x00\x00Skip choice with incomplete fragment\n\x00\x00\x00Non-matching fragment piece\n\x00\x00\x00\x00Built character %s from fragments\n\x00\x00\x00\x00\x00\x00Record fragment continuation\n\x00\x00\x00Record fragment beginning\n\x00\x00\x00\x00\x00\x00Non-starting fragment piece with no prev_fragment\n\x00\x00\x00\x00\x00\x00Word can not end with a fragment\n\x00\x00\x00\x00\x00\x00\x00contains_unichar_id(unichar_id)\x00../ccutil/unicharset.h\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00UNKNOWN\x00NORMAL\x00\x00SUBNORMAL\x00\x00\x00\x00\x00\x00\x00INCONSISTENT\x00\x00\x00\x00\nStopper: %s (word=%c, case=%c, xht_ok=%s=[%g,%g])\n\x00\x00\x00\x00Stopper: Rating = %4.1f, Certainty = %4.1f, Threshold = %4.1f\n\x00AcceptableChoice() returned false (no_dang_ambig:%d cert:%.4g thresh:%g uniform:%d)\n\x00\x00\x00\x00\nRejecter: %s (word=%c, case=%c, unambig=%c, multiple=%c)\n\x00\x00\x00\x00\x00\x00Rejecter: Certainty = %4.1f, Threshold = %4.1f \x00\x00\x00\x00\x00\x00\x00ACCEPTED\n\x00\x00\x00\x00\x00\x00\x00REJECTED\n\x00\x00\x00\x00\x00\x00\x00\nRunning NoDangerousAmbig() for %s\n\x00\x00\x00\x00\x00Looking for %s ngrams starting with %s:\n\x00\x00\x00\x00\x00\x00\x00\x00replaceable\x00\x00\x00\x00\x00ambiguous\x00\x00\x00\x00\x00\x00\x00candidate ngram: \x00\x00\x00\x00\x00\x00\x00current ngram from spec: \x00\x00\x00\x00\x00\x00\x00comparison result: %d\n\x00\x00fixpt+=(%d %d %d %d %s)\n\x00\x00\x00\x00\x00\x00\x00\x00replace ambiguity with %s : \x00\x00\x00\x00found ambiguity: \x00\x00\x00\x00\x00\x00\x00\nResulting ambig_blob_choices:\n\x00Stopper: Possible ambiguous word = %s\n\x00\x00fixpt->dangerous+=(%d %d %d %d %s)\n\x00\x00\x00\x00\x00choices != NULL\x00../dict/stopper.cpp\x00\x00\x00\x00\x00old_choice != NULL\x00\x00\x00\x00\x00\x00ReplaceAmbig() \x00Modified blob_choices: \x00Stopper: Non-uniform certainty = %4.1f (m=%4.1f, s=%4.1f, t=%4.1f)\n\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00\u00e2\u0080\u0080\x00\x00\x00\x00\x00\u00e2\u0080\u0081\x00\x00\x00\x00\x00\u00e2\u0080\u0082\x00\x00\x00\x00\x00\u00e2\u0080\u0083\x00\x00\x00\x00\x00\u00e2\u0080\u0084\x00\x00\x00\x00\x00\u00e2\u0080\u0085\x00\x00\x00\x00\x00edge_char_of() given node_ref %lld next_node %lld direction %d word_end %d unichar_id %d, exploring node:\n\x00\x00\x00\x00\x00\x00node_ref < nodes_.size()\x00\x00\x00\x00\x00\x00\x00\x00../dict/trie.cpp\x00\x00\x00\x00\x00\x00\x00\x00edge_char_of\x00\x00\x00\x00new edge in nodes_[%lld]: \x00\x00\x00\x00\x00\x00edge_char_of(the_next_node, NO_EDGE, BACKWARD_EDGE, false, unichar_id, &back_edge_ptr, &back_edge_index)\x00\x00\x00\x00\x00\x00\x00\x00repetitions->size() == word.length()\x00\x00\x00\x00\nAdding word: \x00\x00Adding letter %d\n\x00\x00\x00\x00\x00\x00\x00exploring edge %lld in node %lld\n\x00\x00\x00\x00\x00\x00\x00adding node %lld\n\x00\x00\x00\x00\x00\x00\x00Re-initializing document dictionary...\n\x00Read %d words so far\n\x00\x00\x00Skipping invalid word %s\n\x00\x00\x00\x00\x00\x00\x00Read %d words total.\n\x00\x00\x00Error: word '%s' not in DAWG after adding it\n\x00\x00\x00please call initialize_patterns() before read_pattern_list()\n\x00\x00\x00Error opening pattern file %s\n\x00\x00Please provide at least %d concrete characters at the beginning of the pattern\n\x00Invalid user pattern %s\n\x00\x00\x00\x00\x00\x00\x00\x00Inserting expanded user pattern %s\n\x00\x00\x00\x00\x00Error: failed to insert pattern '%s'\n\x00\x00\x00Read %d valid patterns from %s\n\x00edge_char_of(node1, node2, direction, word_end, unichar_id, &edge_ptr, &edge_index)\x00\x00\x00\x00\x00removed edge in nodes_[%lld]: \x00\x00%lld (%d %d): \x00\x00\t\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00`\u00bc\u0005\x00c\x00\x00\x00d\x00\x00\x00\u0003\x00\x00\x00\u0002\x00\x00\x00\u0015\x00\x00\x00\u0016\x00\x00\x00\u0017\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0004\x00\x00\x00N9tesseract4TrieE\x00\x00\x00\x00\x00\x00\x00\u00a8-\u001a\x00H\u00bc\u0005\x00p\u009a\u0005\x00\x00\x00\x00\x00index >= 0 && index <= size_used_\x00\x00\x00\x00\x00\x00\x00size_used_ > 0\x00\x00|%lld|%s%s%s|%d|\x00\x00\x00\x00\x00\x00\x00\x00R,\x00\x00\x00\x00\x00\x00F\x00\x00\x00\x00\x00\x00\x00B\x00\x00\x00\x00\x00\x00\x00,E\x00\x00\x00\x00\x00\x00Could not open file, %s\n","i8", -B,q.g+371560); -C("(\u00bd\u0005\x00e\x00\x00\x00f\x00\x00\x00N9tesseract5CUtilE\x00\x00\x00\x00\x00\x00\u00a8-\u001a\x00\u0010\u00bd\u0005\x00\u00f8\u00ef\x00\x00\x00\x00\x00\x00\nError: %s!\n\x00\x00\x00\x00Illegal malloc request size\x00\x00\x00\x00\x00Not enough memory\x00\x00\x00\x00\x00\x00\x00Illegal realloc request size\x00\x00\x00\x00Attempted to free NULL ptr\x00\x00\x00\x00\x00\x00Templates != NULL\x00\x00\x00\x00\x00\x00\x00../classify/adaptive.cpp\x00\x00\x00\x00\x00\x00\x00\x00AddAdaptedClass\x00UnusedClassIdIn (Templates->Templates, ClassId)\x00Class->NumPermConfigs == 0\x00\x00\x00\x00\x00\x00Templates->Class[ClassId] == NULL\x00\x00\x00\x00\x00\x00\x00Config != NULL\x00\x00FreeTempConfig\x00\x00FreePermConfig\x00\x00\n\nSUMMARY OF ADAPTED TEMPLATES:\n\n\x00\x00\x00\x00\x00\x00\x00Num classes = %d; Num permanent classes = %d\n\n\x00 Id NC NPC NP NPP\n\x00\x00------------------------\n\x00\x00\x00\x00\x00\x00\x00%5d %s %3d %3d %3d %3d\n\x00\x00\x00\x00\x00\x00\x00\x00WritePermConfig\x00WriteTempConfig\x00Config->ContextsSeen == NULL\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00Choices != NULL\x00../classify/adaptmatch.cpp\x00\x00\x00\x00\x00\x00AdaptiveClassifier\x00\x00\x00\x00\x00\x00AdaptedTemplates != NULL\x00\x00\x00\x00\x00\x00\x00\x00AD Matches = \x00\x00\n\nAdapting to word = %s\n\x00\x00\x00\x00\x00\x00\x00\x00\nLearning %s\n\x00\x00\x00Adapting to char = %s, thr= %g font_id= %d\n\x00\x00\x00\x00\x00Can't adapt to %s not in unicharset\n\x00\x00\x00\x00.a\x00\x00\x00\x00\x00\x00wb\x00\x00\x00\x00\x00\x00Unable to save adapted templates to %s!\n\x00\x00\x00\x00\x00\x00\x00\x00\nSaving adapted templates to %s ...\x00\x00\x00\x00\x00tessdata_manager.SeekToStart(TESSDATA_INTTEMP)\x00\x00Loaded inttemp\n\x00Error loading shape table!\n\x00\x00\x00\x00\x00Successfully loaded shape table!\n\x00\x00\x00\x00\x00\x00\x00tessdata_manager.SeekToStart(TESSDATA_PFFMTABLE)\x00\x00\x00\x00\x00\x00\x00\x00Loaded pffmtable\n\x00\x00\x00\x00\x00\x00\x00tessdata_manager.SeekToStart(TESSDATA_NORMPROTO)\x00\x00\x00\x00\x00\x00\x00\x00Loaded normproto\n\x00\x00\x00\x00\x00\x00\x00rb\x00\x00\x00\x00\x00\x00\nReading pre-adapted templates from %s ...\n\x00\x00\x00\x00\x00Resetting adaptive classifier (NumAdaptationsFailed=%d)\n\x00\x00\x00\x00\x00\x00\x00\x00Switch to backup adaptive classifier (NumAdaptationsFailed=%d)\n\x00Pid != NO_PROTO\x00InitAdaptedClass\x00\x00\x00\x00\x00\x00\x00\x00Added new class '%s' with class id %d and %d protos.\n\x00\x00\x00Class != NULL\x00\x00\x00AdaptToChar\x00\x00\x00\x00\x00Found good match to perm config %d = %4.1f%%.\n\x00\x00Increasing reliability of temp config %d to %d.\n\x00\x00\x00\x00\x00\x00\x00\x00Found poor match to temp config %d = %4.1f%%.\n\x00\x00AM Matches = \x00\x00top=%d, vs [%d, %d], bottom=%d, vs [%d, %d]\n\x00\x00\x00\x00%s: %2.1f%%(CP%2.1f, IM%2.1f + CN%.2f(%d) + MP%2.1f + VP%2.1f)\n\x00BL Matches = \x00\x00ConvertMatchesToChoices\x00======================\nLooksLikeGarbage() got \x00\x00Cannot make new temporary config: maximum number exceeded.\n\x00\x00\x00\x00\x00Cannot make new temp protos: maximum number exceeded.\n\x00\x00Making new temp config %d fontinfo id %d using %d old and %d new protos.\n\x00\x00\x00\x00\x00\x00\x00Making config %d for %s (ClassId %d) permanent: fontinfo id %d, ambiguities '\x00\x00\x00'.\n\x00\x00\x00\x00\x00%s \x00\x00\x00\x00i v x I V X\x00\x00\x00\x00\x00O\x00\x00\x00\x00\x00\x00\x00. , ; : / ` ~ ' - = \\ | \" ! _ ^\x000 1 2 3 4 5 6 7 8 9\x00\x00\x00\x00\x00int_result_config >= 0 && int_result_config < fs.size\x00\x00\x00NumTimesSeen for config of %s is %d\n\x00\x00\x00\x00ambig_class != NULL\x00\x00\x00\x00\x00TempConfigReliable\x00\x00\x00\x00\x00\x00Ambig %s has not been seen enough times, not making config for %s permanent\n\x00\x00\x00\x00Running UpdateAmbigsGroup for %s class_id=%d\n\x00\x00\x00Making config %d of %s permanent\n\x00\x00\x00\x00\x00\x00\x00Unichar-id=%d, rating=%g, adapted=%d, config=%d, misses=%d, %d fonts\n","i8", -B,q.g+376060); -C('UnknownFont\x00\x00\x00\x00\x00classify_font_name\x00\x00\x00\x00\x00\x00Default font name to be used in training\x00\x00\x00\x00\x00\x00\x00\x00Blob learned was invalid!\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\b\u00d8\u0005\x00g\x00\x00\x00h\x00\x00\x00allow_blob_division\x00\x00\x00\x00\x00Use divisible blobs chopping\x00\x00\x00\x00prioritize_division\x00\x00\x00\x00\x00Prioritize blob division over chopping\x00\x00tessedit_single_match\x00\x00\x00Top choice only from CP\x00classify_enable_learning\x00\x00\x00\x00\x00\x00\x00\x00Enable adaptive classifier\x00\x00\x00\x00\x00\x00classify_debug_level\x00\x00\x00\x00Classify debug level\x00\x00\x00\x00classify_norm_method\x00\x00\x00\x00Normalization Method ...\x00\x00\x00\x00\x00\x00classify_char_norm_range\x00\x00\x00\x00\x00\x00\x00\x00Character Normalization Range ...\x00\x00\x00\x00\x00\x00\x00classify_min_norm_scale_x\x00\x00\x00\x00\x00\x00\x00Min char x-norm scale ...\x00\x00\x00\x00\x00\x00\x00classify_max_norm_scale_x\x00\x00\x00\x00\x00\x00\x00Max char x-norm scale ...\x00\x00\x00\x00\x00\x00\x00classify_min_norm_scale_y\x00\x00\x00\x00\x00\x00\x00Min char y-norm scale ...\x00\x00\x00\x00\x00\x00\x00classify_max_norm_scale_y\x00\x00\x00\x00\x00\x00\x00Max char y-norm scale ...\x00\x00\x00\x00\x00\x00\x00classify_max_rating_ratio\x00\x00\x00\x00\x00\x00\x00Veto ratio between classifier ratings\x00\x00\x00classify_max_certainty_margin\x00\x00\x00Veto difference between classifier certainties\x00\x00tess_cn_matching\x00\x00\x00\x00\x00\x00\x00\x00Character Normalized Matching\x00\x00\x00tess_bn_matching\x00\x00\x00\x00\x00\x00\x00\x00Baseline Normalized Matching\x00\x00\x00\x00classify_enable_adaptive_matcher\x00\x00\x00\x00\x00\x00\x00\x00classify_use_pre_adapted_templates\x00\x00\x00\x00\x00\x00Use pre-adapted classifier templates\x00\x00\x00\x00classify_save_adapted_templates\x00Save adapted templates to a file\x00\x00\x00\x00\x00\x00\x00\x00classify_enable_adaptive_debugger\x00\x00\x00\x00\x00\x00\x00Enable match debugger\x00\x00\x00classify_nonlinear_norm\x00Non-linear stroke-density normalization\x00matcher_debug_level\x00\x00\x00\x00\x00Matcher Debug Level\x00\x00\x00\x00\x00matcher_debug_flags\x00\x00\x00\x00\x00Matcher Debug Flags\x00\x00\x00\x00\x00classify_learning_debug_level\x00\x00\x00Learning Debug Level: \x00\x00matcher_good_threshold\x00\x00Good Match (0-1)\x00\x00\x00\x00\x00\x00\x00\x00matcher_reliable_adaptive_result\x00\x00\x00\x00\x00\x00\x00\x00Great Match (0-1)\x00\x00\x00\x00\x00\x00\x00matcher_perfect_threshold\x00\x00\x00\x00\x00\x00\x00Perfect Match (0-1)\x00\x00\x00\x00\x00matcher_bad_match_pad\x00\x00\x00Bad Match Pad (0-1)\x00\x00\x00\x00\x00matcher_rating_margin\x00\x00\x00New template margin (0-1)\x00\x00\x00\x00\x00\x00\x00matcher_avg_noise_size\x00\x00Avg. noise blob length\x00\x00matcher_permanent_classes_min\x00\x00\x00Min # of permanent classes\x00\x00\x00\x00\x00\x00matcher_min_examples_for_prototyping\x00\x00\x00\x00Reliable Config Threshold\x00\x00\x00\x00\x00\x00\x00matcher_sufficient_examples_for_prototyping\x00\x00\x00\x00\x00Enable adaption even if the ambiguities have not been seen\x00\x00\x00\x00\x00\x00matcher_clustering_max_angle_delta\x00\x00\x00\x00\x00\x00Maximum angle delta for prototype clustering\x00\x00\x00\x00classify_misfit_junk_penalty\x00\x00\x00\x00Penalty to apply when a non-alnum is vertically out of its expected textline position\x00\x00\x00rating_scale\x00\x00\x00\x00Rating scaling factor\x00\x00\x00certainty_scale\x00Certainty scaling factor\x00\x00\x00\x00\x00\x00\x00\x00tessedit_class_miss_scale\x00\x00\x00\x00\x00\x00\x00Scale factor for features not used\x00\x00\x00\x00\x00\x00classify_adapted_pruning_factor\x00Prune poor adapted results this much worse than best result\x00\x00\x00\x00\x00classify_adapted_pruning_threshold\x00\x00\x00\x00\x00\x00Threshold at which classify_adapted_pruning_factor starts\x00\x00\x00\x00\x00\x00\x00classify_adapt_proto_threshold\x00\x00Threshold for good protos during adaptive 0-255\x00classify_adapt_feature_threshold\x00\x00\x00\x00\x00\x00\x00\x00Threshold for good features during adaptive 0-255\x00\x00\x00\x00\x00\x00\x00disable_character_fragments\x00\x00\x00\x00\x00Do not include character fragments in the results of the classifier\x00\x00\x00\x00\x00classify_character_fragments_garbage_certainty_threshold\x00\x00\x00\x00\x00\x00\x00\x00Exclude fragments that do not look like whole characters from training and adaption\x00\x00\x00\x00\x00classify_debug_character_fragments\x00\x00\x00\x00\x00\x00Bring up graphical debugging windows for fragments training\x00\x00\x00\x00\x00matcher_debug_separate_windows\x00\x00Use two different windows for debugging the matching: One for the protos and one for the features.\x00\x00\x00\x00\x00\x00classify_learn_debug_str\x00\x00\x00\x00\x00\x00\x00\x00Class str to debug learning\x00\x00\x00\x00\x00classify_class_pruner_threshold\x00Class Pruner Threshold 0-255\x00\x00\x00\x00classify_class_pruner_multiplier\x00\x00\x00\x00\x00\x00\x00\x00Class Pruner Multiplier 0-255: \x00\x00\x00classify_cp_cutoff_strength\x00\x00\x00\x00\x00Class Pruner CutoffStrength: \x00\x00\x00classify_integer_matcher_multiplier\x00\x00\x00\x00\x00Integer Matcher Multiplier 0-255: \x00\x00\x00il1_adaption_test\x00\x00\x00\x00\x00\x00\x00Dont adapt to i/I at beginning of word\x00\x00classify_bln_numeric_mode\x00\x00\x00\x00\x00\x00\x00Assume the input is numbers [0-9].\x00\x00\x00\x00\x00\x00speckle_large_max_size\x00\x00Max large speckle size\x00\x00speckle_rating_penalty\x00\x00Penalty to add to worst rating for noise\x00\x00\x00\x00\x00\x00\x00\x00N9tesseract8ClassifyE\x00\x00\x00\u00a8-\u001a\x00\u00f0\u00d7\u0005\x00\u00b0|\u0005\x00\x00\x00\x00\x00\x00\x00\x00\x00\u00a0\u00d8\u0005\x00i\x00\x00\x00j\x00\x00\x00\u0004\x00\x00\x00\x00\x00\x00\x0031_TessFunctionResultCallback_0_1ILb0EvN9tesseract7FontSetEE\x00\x00\x00\x0013TessCallback1IN9tesseract7FontSetEE\x00\x00\x00\u0080-\u001a\x00p\u00d8\u0005\x00\u00a8-\u001a\x000\u00d8\u0005\x00\u0098\u00d8\u0005\x00\x00\x00\x00\x00\x00\x00\x00\x00P\u00d9\u0005\x00k\x00\x00\x00l\x00\x00\x00\u0018\x00\x00\x00\x00\x00\x00\x0031_TessFunctionResultCallback_0_2ILb0EbRKN9tesseract7FontSetES3_E\x00\x00\x00\x00\x00\x00\x0019TessResultCallback2IbRKN9tesseract7FontSetES3_E\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u0010\u00d9\u0005\x00\u00a8-\u001a\x00\u00c8\u00d8\u0005\x00H\u00d9\u0005\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00%d\x00\x00\x00\x00\x00\x00Illegal sample size\x00\x00\x00\x00\x00%s\x00\x00\x00\x00\x00\x00Illegal circular/linear specification\x00\x00\x00Illegal essential/non-essential spec\x00\x00\x00\x00%f%f\x00\x00\x00\x00Illegal min or max specification\x00\x00\x00\x00\x00\x00\x00\x00Illegal sample count\x00\x00\x00\x00Illegal prototype mean\x00\x00Illegal prototype variance\x00\x00\x00\x00\x00\x00Illegal prototype distribution\x00\x00!"Distribution count not allowed!"\x00\x00\x00\x00\x00\x00../classify/clusttool.cpp\x00\x00\x00\x00\x00\x00\x00Illegal significance specification\x00\x00\x00\x00\x00\x00Illegal prototype style specification\x00\x00\x00%f\x00\x00\x00\x00\x00\x00Illegal float specification\x00\x00\x00\x00\x00Error during read of shapetable pffmtable!\n\x00\x00\x00\x00\x00%30s %d\x00NULL\x00\x00\x00\x00mf\x00\x00\x00\x00\x00\x00cn\x00\x00\x00\x00\x00\x00if\x00\x00\x00\x00\x00\x00tb\x00\x00\x00\x00\x00\x00\u0006\x00\x00\x00\u0080\u00db\u0005\x00\u00b0\u00db\u0005',"i8", -B,q.g+378992); -C("\u00bf\x00\x00\x00?\x00\x00\u0080?\x00\x00\x00?\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\u0080\u00be\x00\x00@?\x00\x00\u0080?\x00\x00\x00?\x00\x00\u0080>\x00\u0001\x00\x00\x00\x00\x00\x00\x00\x00\u0080?\x00\x00\u0080?\x00\x00\x00?\x00\x00\x00?\u0001\x00\x00\x00\x00\x00\x00\x00\x00\x00\u0080?\x00\x00\u0080?\x00\x00\x00?\x00\x00\x00?\x00\u0001\x00\x00\x00\x00\x00\u00bf\x00\x00\x00?\x00\x00\u0080?\x00\x00\x00?\x00\x00\x00\x00\x00\u0001\x00\x00\x00\x00\x00\u00bf\x00\x00\x00?\x00\x00\u0080?\x00\x00\x00?\x00\x00\x00\x00\u0004\x00\x00\x00\u0088\u00db\u0005\x00P\u00dc\u0005","i8", -B,q.g+383919);C("\u0080\u00be\x00\x00@?\x00\x00\u0080?\x00\x00\x00?\x00\x00\u0080>\x00\u0001\x00\x00\x00\x00\x00\x00\x00\x00\u0080?\x00\x00\u0080?\x00\x00\x00?\x00\x00\x00?\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\u0080?\x00\x00\u0080?\x00\x00\x00?\x00\x00\x00?\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\u0080?\x00\x00\u0080?\x00\x00\x00?\x00\x00\x00?\u0003\x00\x00\x00\u0090\u00db\u0005\x00\u00c0\u00dc\u0005","i8",B,q.g+384078); -C("\u007fC\x00\x00\u007fC\x00\x00\u00ffB\x00\x00\u00ffB\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\u007fC\x00\x00\u007fC\x00\x00\u00ffB\x00\x00\u00ffB\u0001\x00\x00\x00\x00\x00\x00\x00\x00\x00\u007fC\x00\x00\u007fC\x00\x00\u00ffB\x00\x00\u00ffB\u0003\x00\x00\x00\u0098\u00db\u0005\x00\u0018\u00dd\u0005","i8",B,q.g+384194); -C("\u007fC\x00\x00\u007fC\x00\x00\u00ffB\x00\x00\u00ffB\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\u007fC\x00\x00\u007fC\x00\x00\u00ffB\x00\x00\u00ffB\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\u007fC\x00\x00\u007fC\x00\x00\u00ffB\x00\x00\u00ffBpf","i8",B,q.g+384282); -C("\u0080\u00be\x00\x00@?\x00\x00\u0080?\x00\x00\x00?\x00\x00\u0080>\u0001\x00\x00\x00\x00\x00\x00\x00\x00\x00\u0080?\x00\x00\u0080?\x00\x00\x00?\x00\x00\x00?\x00\x00\x00\x00\x00\x00\x00\u00bf\x00\x00\x00?\x00\x00\u0080?\x00\x00\x00?\x00\x00\x00\x00\u0003\x00\x00\x00`\u00dd\u0005\x00h\u00dd\u0005\x00\x00\x00\x00\x00of","i8",B,q.g+384358); -C("\u00bf\x00\x00\x00?\x00\x00\u0080?\x00\x00\x00?\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\u0080\u00be\x00\x00@?\x00\x00\u0080?\x00\x00\x00?\x00\x00\u0080>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\u0080?\x00\x00\u0080?\x00\x00\x00?\x00\x00\x00?\u0001\x00\x00\x00\x00\x00\x00\x00\x00\x00\u0080?\x00\x00\u0080?\x00\x00\x00?\x00\x00\x00?\u0004\x00\x00\x00\u00c0\u00dd\u0005\x00\u00c8\u00dd\u0005","i8",B,q.g+384455); -C('Integer Matcher -------------------------------------------\n\x00\x00\x00\x00Find Good Protos -------------------------------------------\n\x00\x00\x00Match Complete --------------------------------------------\n\x00\x00\x00\x00Find Bad Features -------------------------------------------\n\x00\x00F = %3d, P = %3d, E = %3d, Configs = \x00\x00\x001\x00\x00\x00\x00\x00\x00\x000\x00\x00\x00\x00\x00\x00\x00F=%3d, C=\x00\x00\x00\x00\x00\x00\x00%4d\x00\x00\x00\x00\x00Config %d, rating=%d\n\x00\x00\x00\u00ff\x00\u0001\x00\u0002\x00\u0001\x00\u0003\x00\u0001\x00\u0002\x00\u0001\x00\u0004\x00\u0001\x00\u0002\x00\u0001\x00\u0003\x00\u0001\x00\u0002\x00\u0001\x00\u0005\x00\u0001\x00\u0002\x00\u0001\x00\u0003\x00\u0001\x00\u0002\x00\u0001\x00\u0004\x00\u0001\x00\u0002\x00\u0001\x00\u0003\x00\u0001\x00\u0002\x00\u0001\x00\u0006\x00\u0001\x00\u0002\x00\u0001\x00\u0003\x00\u0001\x00\u0002\x00\u0001\x00\u0004\x00\u0001\x00\u0002\x00\u0001\x00\u0003\x00\u0001\x00\u0002\x00\u0001\x00\u0005\x00\u0001\x00\u0002\x00\u0001\x00\u0003\x00\u0001\x00\u0002\x00\u0001\x00\u0004\x00\u0001\x00\u0002\x00\u0001\x00\u0003\x00\u0001\x00\u0002\x00\u0001\x00\u0007\x00\u0001\x00\u0002\x00\u0001\x00\u0003\x00\u0001\x00\u0002\x00\u0001\x00\u0004\x00\u0001\x00\u0002\x00\u0001\x00\u0003\x00\u0001\x00\u0002\x00\u0001\x00\u0005\x00\u0001\x00\u0002\x00\u0001\x00\u0003\x00\u0001\x00\u0002\x00\u0001\x00\u0004\x00\u0001\x00\u0002\x00\u0001\x00\u0003\x00\u0001\x00\u0002\x00\u0001\x00\u0006\x00\u0001\x00\u0002\x00\u0001\x00\u0003\x00\u0001\x00\u0002\x00\u0001\x00\u0004\x00\u0001\x00\u0002\x00\u0001\x00\u0003\x00\u0001\x00\u0002\x00\u0001\x00\u0005\x00\u0001\x00\u0002\x00\u0001\x00\u0003\x00\u0001\x00\u0002\x00\u0001\x00\u0004\x00\u0001\x00\u0002\x00\u0001\x00\u0003\x00\u0001\x00\u0002\x00\u0001\x00\x00\x00\x00\u0002\x00\u0004\u0004\u0006\x00\b\b\n\b\f\f\u000e\x00\u0010\u0010\u0012\u0010\u0014\u0014\u0016\u0010\u0018\u0018\u001a\u0018\u001c\u001c\u001e\x00 " $$& ((*(,,. 0020446088:8<<>\x00@@B@DDF@HHJHLLN@PPRPTTVPXXZX\\\\^@``b`ddf`hhjhlln`pprpttvpxxzx||~\x00\u0080\u0080\u0082\u0080\u0084\u0084\u0086\u0080\u0088\u0088\u008a\u0088\u008c\u008c\u008e\u0080\u0090\u0090\u0092\u0090\u0094\u0094\u0096\u0090\u0098\u0098\u009a\u0098\u009c\u009c\u009e\u0080\u00a0\u00a0\u00a2\u00a0\u00a4\u00a4\u00a6\u00a0\u00a8\u00a8\u00aa\u00a8\u00ac\u00ac\u00ae\u00a0\u00b0\u00b0\u00b2\u00b0\u00b4\u00b4\u00b6\u00b0\u00b8\u00b8\u00ba\u00b8\u00bc\u00bc\u00be\u0080\u00c0\u00c0\u00c2\u00c0\u00c4\u00c4\u00c6\u00c0\u00c8\u00c8\u00ca\u00c8\u00cc\u00cc\u00ce\u00c0\u00d0\u00d0\u00d2\u00d0\u00d4\u00d4\u00d6\u00d0\u00d8\u00d8\u00da\u00d8\u00dc\u00dc\u00de\u00c0\u00e0\u00e0\u00e2\u00e0\u00e4\u00e4\u00e6\u00e0\u00e8\u00e8\u00ea\u00e8\u00ec\u00ec\u00ee\u00e0\u00f0\u00f0\u00f2\u00f0\u00f4\u00f4\u00f6\u00f0\u00f8\u00f8\u00fa\u00f8\u00fc\u00fc\u00feCP:%d classes, %d features:\n\x00\x00\x00\x00%s:Initial=%d, E=%d, Xht-adj=%d, N=%d, Rat=%.2f\n\x00\x00\x00\x00\x00\x00\x00\x00F=%3d(%d,%d,%d),\x00\x00\x00\x00\x00\x00\x00\x00 %s=%d,',"i8", -B,q.g+384728);C("classify_num_cp_levels\x00\x00Number of Class Pruner Levels","i8",B,q.g+385880);C("classify_cp_angle_pad_loose\x00\x00\x00\x00\x00Class Pruner Angle Pad Loose","i8",B,q.g+385976);C("classify_cp_angle_pad_medium\x00\x00\x00\x00Class Pruner Angle Pad Medium","i8",B,q.g+386080);C("classify_cp_angle_pad_tight\x00\x00\x00\x00\x00CLass Pruner Angle Pad Tight","i8",B,q.g+386184);C("classify_cp_end_pad_loose\x00\x00\x00\x00\x00\x00\x00Class Pruner End Pad Loose","i8",B,q.g+386288); -C("classify_cp_end_pad_medium\x00\x00\x00\x00\x00\x00Class Pruner End Pad Medium","i8",B,q.g+386392);C("classify_cp_end_pad_tight\x00\x00\x00\x00\x00\x00\x00Class Pruner End Pad Tight","i8",B,q.g+386496);C("classify_cp_side_pad_loose\x00\x00\x00\x00\x00\x00Class Pruner Side Pad Loose","i8",B,q.g+386600);C("classify_cp_side_pad_medium\x00\x00\x00\x00\x00Class Pruner Side Pad Medium","i8",B,q.g+386704);C("classify_cp_side_pad_tight\x00\x00\x00\x00\x00\x00Class Pruner Side Pad Tight","i8",B,q.g+386808); -C("classify_pp_angle_pad\x00\x00\x00Proto Pruner Angle Pad","i8",B,q.g+386912);C("classify_pp_end_pad\x00\x00\x00\x00\x00Proto Prune End Pad","i8",B,q.g+387E3); -C("classify_pp_side_pad\x00\x00\x00\x00Proto Pruner Side Pad\x00\x00\x00LegalClassId (ClassId)\x00\x00../classify/intproto.cpp\x00\x00\x00\x00\x00\x00\x00\x00AddIntClass\x00\x00\x00\x00\x00Please make sure that classes are added to templates\x00\x00\x00\x00 in increasing order of ClassIds\n\x00\x00\x00\x00\x00\x00\x00Class->NumConfigs < MAX_NUM_CONFIGS\x00\x00\x00\x00\x00AddIntConfig\x00\x00\x00\x00AddProtoToProtoPruner:assert failed: %d < %d\x00\x00\x00\x00ProtoId < Class->NumProtos\x00\x00\x00\x00\x00\x00AddProtoToProtoPruner\x00\x00\x00!isnan(Angle)\x00\x00\x00ConvertProto\x00\x00\x00\x00Converted ffeat to (A=%d,B=%d,C=%d,L=%d)\x00\x00\x00\x00\x00\x00\x00\x00Bad read of inttemp!\n\x00\x00\x00Class->NumConfigs < MaxNumConfigs\x00\x00\x00\x00\x00\x00\x00UnusedClassIdIn (Templates, 0)\x00\x00ReadIntTemplates\x00\x00\x00\x00\x00\x00\x00\x00Non-contiguous class ids in inttemp\n\x00\x00\x00\x00Class id %d exceeds NumClassesIn (Templates) %d\n\x00\x00\x00\x00\x00\x00\x00\x00Warning: executing WriteIntTemplates() with %d classes in Templates, while target_unicharset size is %d\n\x00\x00\x00\x00\x00\x00\x00\x00Class->NumConfigs == this->fontset_table_.get(Class->font_set_id).size\x00\x00Circular fill from %d to %d\x00\x00\x00\x00\x00Linear fill from %d to %d","i8", -B,q.g+387088); -C('`\u00ec\u0005\x00m\x00\x00\x00n\x00\x00\x00\u0019\x00\x00\x00\x00\x00\x00\x0031_TessFunctionResultCallback_0_2ILb0EbP8_IO_FILERKN9tesseract7FontSetEE\x00\x00\x00\x00\x00\x00\x00\x0019TessResultCallback2IbP8_IO_FILERKN9tesseract7FontSetEE\x00\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u0018\u00ec\u0005\x00\u00a8-\u001a\x00\u00c8\u00eb\u0005\x00X\u00ec\u0005\x00\x00\x00\x00\x00\x00\x00\x00\x00 \u00ed\u0005\x00o\x00\x00\x00p\x00\x00\x00\u001a\x00\x00\x00\x00\x00\x00\x0031_TessFunctionResultCallback_0_2ILb0EbP8_IO_FILERKN9tesseract8FontInfoEE\x00\x00\x00\x00\x00\x00\x0019TessResultCallback2IbP8_IO_FILERKN9tesseract8FontInfoEE\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u00d8\u00ec\u0005\x00\u00a8-\u001a\x00\u0088\u00ec\u0005\x00\u0018\u00ed\u0005\x00\x00\x00\x00\x00\x00\x00\x00\x00\u00e0\u00ed\u0005\x00q\x00\x00\x00r\x00\x00\x00\u0001\x00\x00\x00\x00\x00\x00\x0031_TessFunctionResultCallback_0_3ILb0EbP8_IO_FILEPN9tesseract7FontSetEbE\x00\x00\x00\x00\x00\x00\x00\x0019TessResultCallback3IbP8_IO_FILEPN9tesseract7FontSetEbE\x00\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u0098\u00ed\u0005\x00\u00a8-\u001a\x00H\u00ed\u0005\x00\u00d8\u00ed\u0005\x00\x00\x00\x00\x00\x00\x00\x00\x00\u00a0\u00ee\u0005\x00s\x00\x00\x00t\x00\x00\x00\u0002\x00\x00\x00\x00\x00\x00\x0031_TessFunctionResultCallback_0_3ILb0EbP8_IO_FILEPN9tesseract8FontInfoEbE\x00\x00\x00\x00\x00\x00\x0019TessResultCallback3IbP8_IO_FILEPN9tesseract8FontInfoEbE\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00X\u00ee\u0005\x00\u00a8-\u001a\x00\b\u00ee\u0005\x00\u0098\u00ee\u0005\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00../classify/mf.cpp\x00\x00\x00\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00!"How did NormalizeOutlines get called in character mode?"\x00\x00\x00\x00\x00\x00../classify/mfoutline.cpp',"i8", -B,q.g+388012);C("classify_min_slope\x00\x00\x00\x00\x00\x00Slope below which lines are called horizontal","i8",B,q.g+389056);C("classify_max_slope\x00\x00\x00\x00\x00\x00Slope above which lines are called vertical","i8",B,q.g+389168);C("classify_norm_adj_midpoint\x00\x00\x00\x00\x00\x00Norm adjust midpoint ...","i8",B,q.g+389416); -C("classify_norm_adj_curl\x00\x00Norm adjust curl ...\x00\x00\x00\x00%s %d\x00\x00\x00Error: unichar %s in normproto file is not in unichar set.\n\x00\x00\x00\x00\x00!isnan(Feature->Params[i])\x00\x00\x00\x00\x00\x00../classify/ocrfeatures.cpp\x00\x00\x00\x00\x00WriteFeature","i8",B,q.g+389520);C("classify_pico_feature_length\x00\x00\x00\x00Pico Feature Length","i8",B,q.g+389896);C("Can't create a list by assignment","i8",B,q.g+389968);C("Can't assign to lists","i8",B,q.g+390016); -C("Attempted to (de)serialise a link element","i8",B,q.g+390048);C("Iterator not set to a list","i8",B,q.g+390104);C("List found this = NULL!\x00\x00\x00\x00\x00\x00\x00\x00\x00List would have returned a NULL data pointer","i8",B,q.g+390144);C("List current position is NULL","i8",B,q.g+390232);C("Next element on the list is NULL","i8",B,q.g+390272);C("Previous element on the list is NULL","i8",B,q.g+390320);C("List is empty","i8",B,q.g+390368);C("List parameter error","i8",B,q.g+390392); -C("Attemting to add an element with non NULL links, to a list","i8",B,q.g+390424);C("Y coordinate in block out of bounds","i8",B,q.g+390496);C("Can't find rectangle for line","i8",B,q.g+390544);C("Gradient wrong side of edge step!","i8",B,q.g+390584);C("Word doesn't have blobs of that type","i8",B,q.g+390632); -C('MicroFeatures\x00\x00\x00classify_training_file\x00\x00Training file\x00\x00\x00`\u00f8\u0019\x00\x00\x00\x00\x00"Must implement ClassifySample!" == NULL\x00\x00\x00\x00\x00\x00\x00\x00../classify/shapeclassifier.cpp\x00%s\n\x00\x00\x00\x00\x00%g: c_id=%d=%s\x00\x00 Font Vector:\x00\x00\x00%g:\x00\x00\x00\x00\x00[J]\x00\x00\x00\x00\x00[B]\x00\x00\x00\x00\x00 %s\n\x00\x00\x00\x00N9tesseract15ShapeClassifierE\x00\x00\x00\u0080-\u001a\x00\u00e0\u00f6\u0019\x00index >= 0 && index < size_used_\x00\x00\x00\x00\x00\x00\x00\x00../ccutil/genericvector.h\x00\x00\x00\x00\x00\x00\x00operator[]\x00\x00\x00\x00\x00\x00INVALID_UNICHAR_ID\x00\x00\x00\x00\x00\x00Shape\x00\x00\x00 Num unichars=\x00\x00 c_id=\x00\x00=\x00\x00\x00\x00\x00\x00\x00, \x00\x00\x00\x00\x00\x00 fonts =\x00\x00\x00\x00\x00\x00\x00\x00 \x00\x00\x00\x00\x00\x00\x00 ... \x00\x00\x00No built-in templates for class/shape %d\n',"i8", -B,q.g+1701376);C("P\u00f8\u0019\x00u\x00\x00\x00v\x00\x00\x00\u0001\x00\x00\x00\u0002\x00\x00\x00\u0005\x00\x00\x00\b\x00\x00\x00\t\x00\x00\x00\u0005\x00\x00\x00\u0003\x00\x00\x00\b\x00\x00\x00\t\x00\x00\x00\x00\x00\x00\x00N9tesseract14TessClassifierE\x00\x00\x00\x00\u00a8-\u001a\x000\u00f8\u0019\x00\x00\u00f7\u0019\x00\x00\x00\x00\x00Assert failed\x00\x00\x00in file %s, line %d","i8",B,q.g+1701876); -C('\b\u00fd\u0019\x00w\x00\x00\x00x\x00\x00\x00\u0005\x00\x00\x00\u001b\x00\x00\x00\u0001\x00\x00\x00\u0006\x00\x00\x00\n\x00\x00\x00\x0B\x00\x00\x00\u001c\x00\x00\x00\f\x00\x00\x00\r\x00\x00\x00\b\x00\x00\x00\u001d\x00\x00\x00\t\x00\x00\x00NSt3__111__stdoutbufIwEE\x00\x00\x00\x00\x00\x00\x00\x00\u00a8-\u001a\x00\u00e8\u00fc\u0019\x00\u00e0\u0002\u001a\x00\x00\x00\x00\x00\x00\x00\x00\x00p\u00fd\u0019\x00w\x00\x00\x00y\x00\x00\x00\u0006\x00\x00\x00\u001b\x00\x00\x00\u0001\x00\x00\x00\u0006\x00\x00\x00\u000e\x00\x00\x00\x0B\x00\x00\x00\u001c\x00\x00\x00\u000f\x00\x00\x00\u0010\x00\x00\x00\n\x00\x00\x00\u001e\x00\x00\x00\x0B\x00\x00\x00NSt3__110__stdinbufIwEE\x00\u00a8-\u001a\x00X\u00fd\u0019\x00\u00e0\u0002\u001a\x00\x00\x00\x00\x00unsupported locale for standard input\x00\x00\x00\x00\x00\x00\x00\b\u00fe\u0019\x00z\x00\x00\x00{\x00\x00\x00\u0007\x00\x00\x00\u001f\x00\x00\x00\u0002\x00\x00\x00\u0007\x00\x00\x00\u0011\x00\x00\x00\u0012\x00\x00\x00 \x00\x00\x00\u0013\x00\x00\x00\u0014\x00\x00\x00\f\x00\x00\x00!\x00\x00\x00\r\x00\x00\x00NSt3__111__stdoutbufIcEE\x00\x00\x00\x00\x00\x00\x00\x00\u00a8-\u001a\x00\u00e8\u00fd\u0019\x00\u00a0\u0002\u001a\x00\x00\x00\x00\x00\x00\x00\x00\x00p\u00fe\u0019\x00z\x00\x00\x00|\x00\x00\x00\b\x00\x00\x00\u001f\x00\x00\x00\u0002\x00\x00\x00\u0007\x00\x00\x00\u0015\x00\x00\x00\u0012\x00\x00\x00 \x00\x00\x00\u0016\x00\x00\x00\u0017\x00\x00\x00\u000e\x00\x00\x00"\x00\x00\x00\u000f\x00\x00\x00NSt3__110__stdinbufIcEE\x00\u00a8-\u001a\x00X\u00fe\u0019\x00\u00a0\u0002\u001a\x00\x00\x00\x00\x00NSt3__114__shared_countE\x00\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u0080\u00fe\u0019\x00\x00\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0005\x00\x00\x00\u0007\x00\x00\x00\x0B\x00\x00\x00\r\x00\x00\x00\u0011\x00\x00\x00\u0013\x00\x00\x00\u0017\x00\x00\x00\u001d\x00\x00\x00\u001f\x00\x00\x00%\x00\x00\x00)\x00\x00\x00+\x00\x00\x00/\x00\x00\x005\x00\x00\x00;\x00\x00\x00=\x00\x00\x00C\x00\x00\x00G\x00\x00\x00I\x00\x00\x00O\x00\x00\x00S\x00\x00\x00Y\x00\x00\x00a\x00\x00\x00e\x00\x00\x00g\x00\x00\x00k\x00\x00\x00m\x00\x00\x00q\x00\x00\x00\u007f\x00\x00\x00\u0083\x00\x00\x00\u0089\x00\x00\x00\u008b\x00\x00\x00\u0095\x00\x00\x00\u0097\x00\x00\x00\u009d\x00\x00\x00\u00a3\x00\x00\x00\u00a7\x00\x00\x00\u00ad\x00\x00\x00\u00b3\x00\x00\x00\u00b5\x00\x00\x00\u00bf\x00\x00\x00\u00c1\x00\x00\x00\u00c5\x00\x00\x00\u00c7\x00\x00\x00\u00d3\x00\x00\x00\u0001\x00\x00\x00\x0B\x00\x00\x00\r\x00\x00\x00\u0011\x00\x00\x00\u0013\x00\x00\x00\u0017\x00\x00\x00\u001d\x00\x00\x00\u001f\x00\x00\x00%\x00\x00\x00)\x00\x00\x00+\x00\x00\x00/\x00\x00\x005\x00\x00\x00;\x00\x00\x00=\x00\x00\x00C\x00\x00\x00G\x00\x00\x00I\x00\x00\x00O\x00\x00\x00S\x00\x00\x00Y\x00\x00\x00a\x00\x00\x00e\x00\x00\x00g\x00\x00\x00k\x00\x00\x00m\x00\x00\x00q\x00\x00\x00y\x00\x00\x00\u007f\x00\x00\x00\u0083\x00\x00\x00\u0089\x00\x00\x00\u008b\x00\x00\x00\u008f\x00\x00\x00\u0095\x00\x00\x00\u0097\x00\x00\x00\u009d\x00\x00\x00\u00a3\x00\x00\x00\u00a7\x00\x00\x00\u00a9\x00\x00\x00\u00ad\x00\x00\x00\u00b3\x00\x00\x00\u00b5\x00\x00\x00\u00bb\x00\x00\x00\u00bf\x00\x00\x00\u00c1\x00\x00\x00\u00c5\x00\x00\x00\u00c7\x00\x00\x00\u00d1\x00\x00\x00__next_prime overflow',"i8", -B,q.g+1703076); -C('basic_string\x00\x00\x00\x00\x00\x00\x00\x00\u00a0\u0002\u001a\x00}\x00\x00\x00~\x00\x00\x00\t\x00\x00\x00\u001f\x00\x00\x00\u0002\x00\x00\x00\u0007\x00\x00\x00\u0015\x00\x00\x00\u0012\x00\x00\x00 \x00\x00\x00\u0013\x00\x00\x00\u0014\x00\x00\x00\f\x00\x00\x00"\x00\x00\x00\u000f\x00\x00\x00\x00\x00\x00\x00\u00e0\u0002\u001a\x00\u007f\x00\x00\x00\u0080\x00\x00\x00\n\x00\x00\x00\u001b\x00\x00\x00\u0001\x00\x00\x00\u0006\x00\x00\x00\u000e\x00\x00\x00\x0B\x00\x00\x00\u001c\x00\x00\x00\f\x00\x00\x00\r\x00\x00\x00\b\x00\x00\x00\u001e\x00\x00\x00\x0B\x00\x00\x00\b\x00\x00\x00\x00\x00\x00\x00\u0018\u0003\u001a\x00\u0081\x00\x00\x00\u0082\x00\x00\x00\u00f8\u00ff\u00ff\u00ff\u00f8\u00ff\u00ff\u00ff\u0018\u0003\u001a\x00\u0083\x00\x00\x00\u0084\x00\x00\x00\b\x00\x00\x00\x00\x00\x00\x00`\u0003\u001a\x00\u0085\x00\x00\x00\u0086\x00\x00\x00\u00f8\u00ff\u00ff\u00ff\u00f8\u00ff\u00ff\u00ff`\u0003\u001a\x00\u0087\x00\x00\x00\u0088\x00\x00\x00\u0004\x00\x00\x00\x00\x00\x00\x00\u00a8\u0003\u001a\x00\u0089\x00\x00\x00\u008a\x00\x00\x00\u00fc\u00ff\u00ff\u00ff\u00fc\u00ff\u00ff\u00ff\u00a8\u0003\u001a\x00\u008b\x00\x00\x00\u008c\x00\x00\x00\u0004\x00\x00\x00\x00\x00\x00\x00\u00f0\u0003\u001a\x00\u008d\x00\x00\x00\u008e\x00\x00\x00\u00fc\u00ff\u00ff\u00ff\u00fc\u00ff\u00ff\u00ff\u00f0\u0003\u001a\x00\u008f\x00\x00\x00\u0090\x00\x00\x00\x00\x00\x00\x00\u00e0\u0001\u001a\x00\u0091\x00\x00\x00\u0092\x00\x00\x00NSt3__18ios_baseE\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u00c8\u0001\u001a\x00NSt3__19basic_iosIcNS_11char_traitsIcEEEE\x00\x00\x00\x00\x00\x00\x00\u00a8-\u001a\x00\u00e8\u0001\u001a\x00\u00e0\u0001\u001a\x00\x00\x00\x00\x00NSt3__19basic_iosIwNS_11char_traitsIwEEEE\x00\x00\x00\x00\x00\x00\x00\u00a8-\u001a\x00(\u0002\u001a\x00\u00e0\u0001\u001a\x00\x00\x00\x00\x00NSt3__115basic_streambufIcNS_11char_traitsIcEEEE\x00\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00h\u0002\u001a\x00NSt3__115basic_streambufIwNS_11char_traitsIwEEEE\x00\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u00a8\u0002\u001a\x00NSt3__113basic_istreamIcNS_11char_traitsIcEEEE\x00\x00\b.\u001a\x00\u00e8\u0002\u001a\x00\x00\x00\x00\x00\u0001\x00\x00\x00\u0018\u0002\u001a\x00\u0003\u00f4\u00ff\u00ffNSt3__113basic_istreamIwNS_11char_traitsIwEEEE\x00\x00\b.\u001a\x000\u0003\u001a\x00\x00\x00\x00\x00\u0001\x00\x00\x00X\u0002\u001a\x00\u0003\u00f4\u00ff\u00ffNSt3__113basic_ostreamIcNS_11char_traitsIcEEEE\x00\x00\b.\u001a\x00x\u0003\u001a\x00\x00\x00\x00\x00\u0001\x00\x00\x00\u0018\u0002\u001a\x00\u0003\u00f4\u00ff\u00ffNSt3__113basic_ostreamIwNS_11char_traitsIwEEEE\x00\x00\b.\u001a\x00\u00c0\u0003\u001a\x00\x00\x00\x00\x00\u0001\x00\x00\x00X\u0002\u001a\x00\u0003\u00f4\u00ff\u00ff\x00\x00\x00\x008\u0012\u001a\x00\u0093\x00\x00\x00\u0094\x00\x00\x00\u0095\x00\x00\x00\u0006\x00\x00\x00\b\x00\x00\x00#',"i8", -B,q.g+1704064);C("`\u0012\u001a\x00\u0096\x00\x00\x00\u0097\x00\x00\x00\u0095\x00\x00\x00\u0007\x00\x00\x00\t\x00\x00\x00$","i8",B,q.g+1705004);C("0\u0014\u001a\x00\u0098\x00\x00\x00\u0099\x00\x00\x00\u0095\x00\x00\x00\u0002\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0007\x00\x00\x00\b\x00\x00\x00\t\x00\x00\x00\n\x00\x00\x00\x0B\x00\x00\x00\f","i8",B,q.g+1705044); -C("0123456789abcdefABCDEFxX+-pPiInN\x00\x00\x00\x00\x00\x00\x00\x00%p\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\u00c8\u0014\u001a\x00\u009a\x00\x00\x00\u009b\x00\x00\x00\u0095\x00\x00\x00\r\x00\x00\x00\u000e\x00\x00\x00\u000f\x00\x00\x00\u0010\x00\x00\x00\u0011\x00\x00\x00\u0012\x00\x00\x00\u0013\x00\x00\x00\u0014\x00\x00\x00\u0015\x00\x00\x00\u0016\x00\x00\x00\u0017","i8",B,q.g+1705112); -C("\u0088\u0015\u001a\x00\u009c\x00\x00\x00\u009d\x00\x00\x00\u0095\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\u0018\x00\x00\x00\u0005\x00\x00\x00\u0019\x00\x00\x00\u0001\x00\x00\x00\u0002\x00\x00\x00\u0006","i8",B,q.g+1705236);C("l\x00\x00\x00\x00\x00\x00\x00ll\x00\x00\x00\x00\x00\x00L","i8",B,q.g+1705296); -C(" \u0016\u001a\x00\u009e\x00\x00\x00\u009f\x00\x00\x00\u0095\x00\x00\x00\u0007\x00\x00\x00\b\x00\x00\x00\u001a\x00\x00\x00\t\x00\x00\x00\u001b\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\n","i8",B,q.g+1705324); -C("%\x00\x00\x00\x00\x00\x00\x00%p\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\u00d8\u0016\u001a\x00\u00a0\x00\x00\x00\u00a1\x00\x00\x00\u0095\x00\x00\x00\u0018\x00\x00\x00\u001c\x00\x00\x00\u001d\x00\x00\x00\u001e\x00\x00\x00\u001f\x00\x00\x00 \x00\x00\x00\u0001\x00\x00\x00\u00f8\u00ff\u00ff\u00ff\u00d8\u0016\u001a\x00\u0019\x00\x00\x00\u001a\x00\x00\x00\u001b\x00\x00\x00\u001c\x00\x00\x00\u001d\x00\x00\x00\u001e\x00\x00\x00\u001f","i8",B,q.g+1705384); -C('%H:%M:%S%m/%d/%y%Y-%m-%d%I:%M:%S %p\x00\x00\x00\x00\x00%H:%M\x00\x00\x00%H:%M:%S\x00\x00\x00\x00x\u0017\u001a\x00\u00a2\x00\x00\x00\u00a3\x00\x00\x00\u0095\x00\x00\x00 \x00\x00\x00!\x00\x00\x00"\x00\x00\x00#\x00\x00\x00$\x00\x00\x00%\x00\x00\x00\u0002\x00\x00\x00\u00f8\u00ff\u00ff\u00ffx\u0017\u001a\x00!\x00\x00\x00"\x00\x00\x00#\x00\x00\x00$\x00\x00\x00%\x00\x00\x00&\x00\x00\x00\'',"i8",B,q.g+1705496); -C("%\x00\x00\x00H\x00\x00\x00:\x00\x00\x00%\x00\x00\x00M\x00\x00\x00:\x00\x00\x00%\x00\x00\x00S\x00\x00\x00%\x00\x00\x00m\x00\x00\x00/\x00\x00\x00%\x00\x00\x00d\x00\x00\x00/\x00\x00\x00%\x00\x00\x00y\x00\x00\x00%\x00\x00\x00Y\x00\x00\x00-\x00\x00\x00%\x00\x00\x00m\x00\x00\x00-\x00\x00\x00%\x00\x00\x00d\x00\x00\x00%\x00\x00\x00I\x00\x00\x00:\x00\x00\x00%\x00\x00\x00M\x00\x00\x00:\x00\x00\x00%\x00\x00\x00S\x00\x00\x00 \x00\x00\x00%\x00\x00\x00p\x00\x00\x00\x00\x00\x00\x00%\x00\x00\x00H\x00\x00\x00:\x00\x00\x00%\x00\x00\x00M\x00\x00\x00\x00\x00\x00\x00%\x00\x00\x00H\x00\x00\x00:\x00\x00\x00%\x00\x00\x00M\x00\x00\x00:\x00\x00\x00%\x00\x00\x00S\x00\x00\x00\x00\x00\x00\x00\b\u0018\u001a\x00\u00a4\x00\x00\x00\u00a5\x00\x00\x00\u0095\x00\x00\x00\u0001","i8", -B,q.g+1705648);C("p\u0018\u001a\x00\u00a6\x00\x00\x00\u00a7\x00\x00\x00\u0095\x00\x00\x00\u0002","i8",B,q.g+1705884);C("\u00b0\u0012\u001a\x00\u00a8\x00\x00\x00\u00a9\x00\x00\x00\u0095\x00\x00\x00(\x00\x00\x00)\x00\x00\x00\x0B\x00\x00\x00\f\x00\x00\x00\r\x00\x00\x00\u000e\x00\x00\x00*\x00\x00\x00\u000f\x00\x00\x00\u0010","i8",B,q.g+1705916); -C("\u00f0\u0012\u001a\x00\u00aa\x00\x00\x00\u00ab\x00\x00\x00\u0095\x00\x00\x00+\x00\x00\x00,\x00\x00\x00\u0011\x00\x00\x00\u0012\x00\x00\x00\u0013\x00\x00\x00\u0014\x00\x00\x00-\x00\x00\x00\u0015\x00\x00\x00\u0016","i8",B,q.g+1705980);C("0\u0013\u001a\x00\u00ac\x00\x00\x00\u00ad\x00\x00\x00\u0095\x00\x00\x00.\x00\x00\x00/\x00\x00\x00\u0017\x00\x00\x00\u0018\x00\x00\x00\u0019\x00\x00\x00\u001a\x00\x00\x000\x00\x00\x00\u001b\x00\x00\x00\u001c","i8",B,q.g+1706044); -C('p\u0013\u001a\x00\u00ae\x00\x00\x00\u00af\x00\x00\x00\u0095\x00\x00\x001\x00\x00\x002\x00\x00\x00\u001d\x00\x00\x00\u001e\x00\x00\x00\u001f\x00\x00\x00 \x00\x00\x003\x00\x00\x00!\x00\x00\x00"',"i8",B,q.g+1706108);C("\u0019\u001a\x00\u00b0\x00\x00\x00\u00b1\x00\x00\x00\u0095\x00\x00\x00\u0003\x00\x00\x00\u0004","i8",B,q.g+1706173); -C("0123456789\x00\x00\x00\x00\x00\x00%Lf\x00\x00\x00\x00\x00money_get error\x00\x00\x00\x00\x00\u0090\u0019\u001a\x00\u00b2\x00\x00\x00\u00b3\x00\x00\x00\u0095\x00\x00\x00\u0005\x00\x00\x00\u0006","i8",B,q.g+1706208);C("0123456789\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \u001a\u001a\x00\u00b4\x00\x00\x00\u00b5\x00\x00\x00\u0095\x00\x00\x00\u0001\x00\x00\x00&","i8",B,q.g+1706288); -C("%.0Lf\x00\x00\x00\x00\x00\x00\x00\u00b0\u001a\u001a\x00\u00b6\x00\x00\x00\u00b7\x00\x00\x00\u0095\x00\x00\x00\u0002\x00\x00\x00'","i8",B,q.g+1706344);C("\b\u001b\u001a\x00\u00b8\x00\x00\x00\u00b9\x00\x00\x00\u0095\x00\x00\x00%\x00\x00\x00\x0B\x00\x00\x00#","i8",B,q.g+1706396);C("@\u001b\u001a\x00\u00ba\x00\x00\x00\u00bb\x00\x00\x00\u0095\x00\x00\x00&\x00\x00\x00\f\x00\x00\x00$","i8",B,q.g+1706436);C("vector","i8",B,q.g+1706472);C("C","i8",B,q.g+1706496); -C("\u0010\u0012\u001a\x00\u00bc\x00\x00\x00\u00bd\x00\x00\x00\u0095","i8",B,q.g+1706508);C("\u00e8\u000e\u001a\x00\u00be\x00\x00\x00\u00bf\x00\x00\x00\u0095\x00\x00\x00\u0010\x00\x00\x00'\x00\x00\x00\u0011\x00\x00\x00(\x00\x00\x00\u0012\x00\x00\x00\u0003\x00\x00\x00)\x00\x00\x00\b","i8",B,q.g+1706604);C("\u00c8\u000f\u001a\x00\u00c0\x00\x00\x00\u00c1\x00\x00\x00\u0095\x00\x00\x00\u0001\x00\x00\x00\u0002\x00\x00\x00\t\x00\x00\x004\x00\x00\x005\x00\x00\x00\n\x00\x00\x006","i8",B,q.g+1706676); -C("\u00c0\u0011\u001a\x00\u00c2\x00\x00\x00\u00c3\x00\x00\x00\u0095\x00\x00\x007\x00\x00\x008\x00\x00\x00%\x00\x00\x00&\x00\x00\x00'\x00\x00\x00\x00\x00\x00\x00\u00e8\u0011\u001a\x00\u00c4\x00\x00\x00\u00c5\x00\x00\x00\u0095\x00\x00\x009\x00\x00\x00:\x00\x00\x00(\x00\x00\x00)\x00\x00\x00*\x00\x00\x00true\x00\x00\x00\x00t\x00\x00\x00r\x00\x00\x00u\x00\x00\x00e","i8",B,q.g+1706756);C("false\x00\x00\x00f\x00\x00\x00a\x00\x00\x00l\x00\x00\x00s\x00\x00\x00e","i8",B,q.g+1706864); -C("%m/%d/%y","i8",B,q.g+1707016);C("%\x00\x00\x00m\x00\x00\x00/\x00\x00\x00%\x00\x00\x00d\x00\x00\x00/\x00\x00\x00%\x00\x00\x00y","i8",B,q.g+1707056);C("%H:%M:%S","i8",B,q.g+1707120);C("%\x00\x00\x00H\x00\x00\x00:\x00\x00\x00%\x00\x00\x00M\x00\x00\x00:\x00\x00\x00%\x00\x00\x00S","i8",B,q.g+1707160);C("%a %b %d %H:%M:%S %Y","i8",B,q.g+1707224); -C("%\x00\x00\x00a\x00\x00\x00 \x00\x00\x00%\x00\x00\x00b\x00\x00\x00 \x00\x00\x00%\x00\x00\x00d\x00\x00\x00 \x00\x00\x00%\x00\x00\x00H\x00\x00\x00:\x00\x00\x00%\x00\x00\x00M\x00\x00\x00:\x00\x00\x00%\x00\x00\x00S\x00\x00\x00 \x00\x00\x00%\x00\x00\x00Y","i8",B,q.g+1707272);C("%I:%M:%S %p","i8",B,q.g+1707384); -C("%\x00\x00\x00I\x00\x00\x00:\x00\x00\x00%\x00\x00\x00M\x00\x00\x00:\x00\x00\x00%\x00\x00\x00S\x00\x00\x00 \x00\x00\x00%\x00\x00\x00p\x00\x00\x00\x00\x00\x00\x00locale not supported\x00\x00\x00\x00\x00\x00\x00\x00 \u000e\u001a\x00\u00c6\x00\x00\x00\u00c7\x00\x00\x00\u0095\x00\x00\x00\x00\x00\x00\x00NSt3__16locale5facetE\x00\x00\x00\u00a8-\u001a\x00\b\u000e\u001a\x00\u00a0\u00fe\u0019\x00\x00\x00\x00\x00\x00\x00\x00\x00\u00b0\u000e\u001a\x00\u00c6\x00\x00\x00\u00c8\x00\x00\x00\u0095\x00\x00\x00*\x00\x00\x00\u0004\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u0013\x00\x00\x00+\x00\x00\x00\u0014\x00\x00\x00,\x00\x00\x00\u0015\x00\x00\x00\u0007\x00\x00\x00-\x00\x00\x00\x0B\x00\x00\x00\x00\x00\x00\x00NSt3__15ctypeIwEE\x00\x00\x00\x00\x00\x00\x00NSt3__110ctype_baseE\x00\x00\x00\x00\u0080-\u001a\x00\u0090\u000e\u001a\x00\b.\u001a\x00x\u000e\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00\u00a8\u000e\u001a\x00\u0002\x00\x00\x00NSt3__15ctypeIcEE\x00\x00\x00\x00\x00\x00\x00\b.\u001a\x00\u00d0\u000e\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00\u00a8\u000e\u001a\x00\u0002\x00\x00\x00\x00\x00\x00\x00\u0080\u000f\u001a\x00\u00c6\x00\x00\x00\u00c9\x00\x00\x00\u0095\x00\x00\x00\u0003\x00\x00\x00\u0004\x00\x00\x00\f\x00\x00\x00;\x00\x00\x00<\x00\x00\x00\r\x00\x00\x00=\x00\x00\x00NSt3__17codecvtIcc11__mbstate_tEE\x00\x00\x00\x00\x00\x00\x00NSt3__112codecvt_baseE\x00\x00\u0080-\u001a\x00`\u000f\u001a\x00\b.\u001a\x008\u000f\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00x\u000f\u001a\x00\u0002\x00\x00\x00NSt3__17codecvtIwc11__mbstate_tEE\x00\x00\x00\x00\x00\x00\x00\b.\u001a\x00\u00a0\u000f\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00x\u000f\u001a\x00\u0002\x00\x00\x00\x00\x00\x00\x00@\u0010\u001a\x00\u00c6\x00\x00\x00\u00ca\x00\x00\x00\u0095\x00\x00\x00\u0005\x00\x00\x00\u0006\x00\x00\x00\u000e\x00\x00\x00>\x00\x00\x00?\x00\x00\x00\u000f\x00\x00\x00@\x00\x00\x00NSt3__17codecvtIDsc11__mbstate_tEE\x00\x00\x00\x00\x00\x00\b.\u001a\x00\u0018\u0010\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00x\u000f\u001a\x00\u0002\x00\x00\x00\x00\x00\x00\x00\u00b8\u0010\u001a\x00\u00c6\x00\x00\x00\u00cb\x00\x00\x00\u0095\x00\x00\x00\u0007\x00\x00\x00\b\x00\x00\x00\u0010\x00\x00\x00A\x00\x00\x00B\x00\x00\x00\u0011\x00\x00\x00C\x00\x00\x00NSt3__17codecvtIDic11__mbstate_tEE\x00\x00\x00\x00\x00\x00\b.\u001a\x00\u0090\u0010\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00x\u000f\u001a\x00\u0002\x00\x00\x00\x00\x00\x00\x000\u0011\u001a\x00\u00c6\x00\x00\x00\u00cc\x00\x00\x00\u0095\x00\x00\x00\u0007\x00\x00\x00\b\x00\x00\x00\u0010\x00\x00\x00A\x00\x00\x00B\x00\x00\x00\u0011\x00\x00\x00C\x00\x00\x00NSt3__116__narrow_to_utf8ILj32EEE\x00\x00\x00\x00\x00\x00\x00\u00a8-\u001a\x00\b\u0011\u001a\x00\u00b8\u0010\u001a\x00\x00\x00\x00\x00\x00\x00\x00\x00\u0098\u0011\u001a\x00\u00c6\x00\x00\x00\u00cd\x00\x00\x00\u0095\x00\x00\x00\u0007\x00\x00\x00\b\x00\x00\x00\u0010\x00\x00\x00A\x00\x00\x00B\x00\x00\x00\u0011\x00\x00\x00C\x00\x00\x00NSt3__117__widen_from_utf8ILj32EEE\x00\x00\x00\x00\x00\x00\u00a8-\u001a\x00p\u0011\u001a\x00\u00b8\u0010\u001a\x00\x00\x00\x00\x00NSt3__18numpunctIcEE\x00\x00\x00\x00\u00a8-\u001a\x00\u00a8\u0011\u001a\x00 \u000e\u001a\x00\x00\x00\x00\x00NSt3__18numpunctIwEE\x00\x00\x00\x00\u00a8-\u001a\x00\u00d0\u0011\u001a\x00 \u000e\u001a\x00\x00\x00\x00\x00NSt3__16locale5__impE\x00\x00\x00\u00a8-\u001a\x00\u00f8\u0011\u001a\x00 \u000e\u001a\x00\x00\x00\x00\x00NSt3__17collateIcEE\x00\x00\x00\x00\x00\u00a8-\u001a\x00 \u0012\u001a\x00 \u000e\u001a\x00\x00\x00\x00\x00NSt3__17collateIwEE\x00\x00\x00\x00\x00\u00a8-\u001a\x00H\u0012\u001a\x00 \u000e\u001a\x00\x00\x00\x00\x00NSt3__110moneypunctIcLb0EEE\x00\x00\x00\x00\x00NSt3__110money_baseE\x00\x00\x00\x00\u0080-\u001a\x00\u0090\u0012\u001a\x00\b.\u001a\x00p\u0012\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00\u00a8\u0012\u001a\x00\u0002\x00\x00\x00NSt3__110moneypunctIcLb1EEE\x00\x00\x00\x00\x00\b.\u001a\x00\u00d0\u0012\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00\u00a8\u0012\u001a\x00\u0002\x00\x00\x00NSt3__110moneypunctIwLb0EEE\x00\x00\x00\x00\x00\b.\u001a\x00\u0010\u0013\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00\u00a8\u0012\u001a\x00\u0002\x00\x00\x00NSt3__110moneypunctIwLb1EEE\x00\x00\x00\x00\x00\b.\u001a\x00P\u0013\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00\u00a8\u0012\u001a\x00\u0002\x00\x00\x00NSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEE\x00\x00\x00\x00\x00NSt3__19__num_getIcEE\x00\x00\x00NSt3__114__num_get_baseE\x00\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u00f0\u0013\u001a\x00\b.\u001a\x00\u00d8\u0013\u001a\x00\x00\x00\x00\x00\u0001\x00\x00\x00\u0010\u0014\u001a\x00\x00\x00\x00\x00\b.\u001a\x00\u0090\u0013\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00\u0018\u0014\u001a\x00\x00\x00\x00\x00NSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEE\x00\x00\x00\x00\x00NSt3__19__num_getIwEE\x00\x00\x00\b.\u001a\x00\u0098\u0014\u001a\x00\x00\x00\x00\x00\u0001\x00\x00\x00\u0010\u0014\u001a\x00\x00\x00\x00\x00\b.\u001a\x00P\u0014\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00\u00b0\u0014\u001a\x00\x00\x00\x00\x00NSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEE\x00\x00\x00\x00\x00NSt3__19__num_putIcEE\x00\x00\x00NSt3__114__num_put_baseE\x00\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00H\u0015\u001a\x00\b.\u001a\x000\u0015\u001a\x00\x00\x00\x00\x00\u0001\x00\x00\x00h\u0015\u001a\x00\x00\x00\x00\x00\b.\u001a\x00\u00e8\u0014\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00p\u0015\u001a\x00\x00\x00\x00\x00NSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEE\x00\x00\x00\x00\x00NSt3__19__num_putIwEE\x00\x00\x00\b.\u001a\x00\u00f0\u0015\u001a\x00\x00\x00\x00\x00\u0001\x00\x00\x00h\u0015\u001a\x00\x00\x00\x00\x00\b.\u001a\x00\u00a8\u0015\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00\b\u0016\u001a\x00\x00\x00\x00\x00NSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEE\x00\x00\x00\x00NSt3__19time_baseE\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u0088\u0016\u001a\x00NSt3__120__time_get_c_storageIcEE\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u00a8\u0016\u001a\x00\b.\u001a\x00@\u0016\u001a\x00\x00\x00\x00\x00\u0003\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00\u00a0\u0016\u001a\x00\u0002\x00\x00\x00\u00d0\u0016\u001a\x00\x00\b\x00\x00NSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEE\x00\x00\x00\x00NSt3__120__time_get_c_storageIwEE\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00H\u0017\u001a\x00\b.\u001a\x00\x00\u0017\u001a\x00\x00\x00\x00\x00\u0003\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00\u00a0\u0016\u001a\x00\u0002\x00\x00\x00p\u0017\u001a\x00\x00\b\x00\x00NSt3__18time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEE\x00\x00\x00\x00NSt3__110__time_putE\x00\x00\x00\x00\u0080-\u001a\x00\u00e8\u0017\u001a\x00\b.\u001a\x00\u00a0\u0017\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00\x00\u0018\u001a\x00\x00\b\x00\x00NSt3__18time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEE\x00\x00\x00\x00\b.\u001a\x00(\u0018\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00\x00\u0018\u001a\x00\x00\b\x00\x00NSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEE\x00\x00\x00NSt3__111__money_getIcEE\x00\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u00d8\u0018\u001a\x00\b.\u001a\x00\u0090\u0018\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00\u00f8\u0018\u001a\x00\x00\x00\x00\x00NSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEE\x00\x00\x00NSt3__111__money_getIwEE\x00\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00h\u0019\u001a\x00\b.\u001a\x00 \u0019\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00\u0088\u0019\u001a\x00\x00\x00\x00\x00NSt3__19money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEE\x00\x00\x00NSt3__111__money_putIcEE\x00\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u00f8\u0019\u001a\x00\b.\u001a\x00\u00b0\u0019\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00\u0018\u001a\u001a\x00\x00\x00\x00\x00NSt3__19money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEE\x00\x00\x00NSt3__111__money_putIwEE\x00\x00\x00\x00\x00\x00\x00\x00\u0080-\u001a\x00\u0088\u001a\u001a\x00\b.\u001a\x00@\u001a\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00\u00a8\u001a\u001a\x00\x00\x00\x00\x00NSt3__18messagesIcEE\x00\x00\x00\x00NSt3__113messages_baseE\x00\u0080-\u001a\x00\u00e8\u001a\u001a\x00\b.\u001a\x00\u00d0\u001a\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00\x00\u001b\u001a\x00\u0002\x00\x00\x00NSt3__18messagesIwEE\x00\x00\x00\x00\b.\u001a\x00(\u001b\u001a\x00\x00\x00\x00\x00\u0002\x00\x00\x00 \u000e\u001a\x00\u0002\x00\x00\x00\x00\u001b\u001a\x00\u0002","i8", -B,q.g+1707424);C("A\x00\x00\x00M","i8",B,q.g+1711704);C("P\x00\x00\x00M","i8",B,q.g+1711720);C("AM\x00\x00\x00\x00\x00\x00PM","i8",B,q.g+1712032);C("J\x00\x00\x00a\x00\x00\x00n\x00\x00\x00u\x00\x00\x00a\x00\x00\x00r\x00\x00\x00y\x00\x00\x00\x00\x00\x00\x00F\x00\x00\x00e\x00\x00\x00b\x00\x00\x00r\x00\x00\x00u\x00\x00\x00a\x00\x00\x00r\x00\x00\x00y","i8",B,q.g+1712344); -C("M\x00\x00\x00a\x00\x00\x00r\x00\x00\x00c\x00\x00\x00h\x00\x00\x00\x00\x00\x00\x00A\x00\x00\x00p\x00\x00\x00r\x00\x00\x00i\x00\x00\x00l\x00\x00\x00\x00\x00\x00\x00M\x00\x00\x00a\x00\x00\x00y\x00\x00\x00\x00\x00\x00\x00J\x00\x00\x00u\x00\x00\x00n\x00\x00\x00e","i8",B,q.g+1712416);C("J\x00\x00\x00u\x00\x00\x00l\x00\x00\x00y","i8",B,q.g+1712504);C("A\x00\x00\x00u\x00\x00\x00g\x00\x00\x00u\x00\x00\x00s\x00\x00\x00t","i8",B,q.g+1712528); -C("S\x00\x00\x00e\x00\x00\x00p\x00\x00\x00t\x00\x00\x00e\x00\x00\x00m\x00\x00\x00b\x00\x00\x00e\x00\x00\x00r\x00\x00\x00\x00\x00\x00\x00O\x00\x00\x00c\x00\x00\x00t\x00\x00\x00o\x00\x00\x00b\x00\x00\x00e\x00\x00\x00r\x00\x00\x00\x00\x00\x00\x00N\x00\x00\x00o\x00\x00\x00v\x00\x00\x00e\x00\x00\x00m\x00\x00\x00b\x00\x00\x00e\x00\x00\x00r","i8",B,q.g+1712560);C("D\x00\x00\x00e\x00\x00\x00c\x00\x00\x00e\x00\x00\x00m\x00\x00\x00b\x00\x00\x00e\x00\x00\x00r","i8",B,q.g+1712672); -C("J\x00\x00\x00a\x00\x00\x00n\x00\x00\x00\x00\x00\x00\x00F\x00\x00\x00e\x00\x00\x00b\x00\x00\x00\x00\x00\x00\x00M\x00\x00\x00a\x00\x00\x00r\x00\x00\x00\x00\x00\x00\x00A\x00\x00\x00p\x00\x00\x00r\x00\x00\x00\x00\x00\x00\x00J\x00\x00\x00u\x00\x00\x00n\x00\x00\x00\x00\x00\x00\x00J\x00\x00\x00u\x00\x00\x00l\x00\x00\x00\x00\x00\x00\x00A\x00\x00\x00u\x00\x00\x00g\x00\x00\x00\x00\x00\x00\x00S\x00\x00\x00e\x00\x00\x00p\x00\x00\x00\x00\x00\x00\x00O\x00\x00\x00c\x00\x00\x00t\x00\x00\x00\x00\x00\x00\x00N\x00\x00\x00o\x00\x00\x00v\x00\x00\x00\x00\x00\x00\x00D\x00\x00\x00e\x00\x00\x00c","i8", -B,q.g+1712712); -C("January\x00February\x00\x00\x00\x00\x00\x00\x00\x00March\x00\x00\x00April\x00\x00\x00May\x00\x00\x00\x00\x00June\x00\x00\x00\x00July\x00\x00\x00\x00August\x00\x00September\x00\x00\x00\x00\x00\x00\x00October\x00November\x00\x00\x00\x00\x00\x00\x00\x00December\x00\x00\x00\x00\x00\x00\x00\x00Jan\x00\x00\x00\x00\x00Feb\x00\x00\x00\x00\x00Mar\x00\x00\x00\x00\x00Apr\x00\x00\x00\x00\x00Jun\x00\x00\x00\x00\x00Jul\x00\x00\x00\x00\x00Aug\x00\x00\x00\x00\x00Sep\x00\x00\x00\x00\x00Oct\x00\x00\x00\x00\x00Nov\x00\x00\x00\x00\x00Dec","i8", -B,q.g+1713184);C("S\x00\x00\x00u\x00\x00\x00n\x00\x00\x00d\x00\x00\x00a\x00\x00\x00y","i8",B,q.g+1713576);C("M\x00\x00\x00o\x00\x00\x00n\x00\x00\x00d\x00\x00\x00a\x00\x00\x00y","i8",B,q.g+1713608); -C("T\x00\x00\x00u\x00\x00\x00e\x00\x00\x00s\x00\x00\x00d\x00\x00\x00a\x00\x00\x00y\x00\x00\x00\x00\x00\x00\x00W\x00\x00\x00e\x00\x00\x00d\x00\x00\x00n\x00\x00\x00e\x00\x00\x00s\x00\x00\x00d\x00\x00\x00a\x00\x00\x00y\x00\x00\x00\x00\x00\x00\x00T\x00\x00\x00h\x00\x00\x00u\x00\x00\x00r\x00\x00\x00s\x00\x00\x00d\x00\x00\x00a\x00\x00\x00y","i8",B,q.g+1713640);C("F\x00\x00\x00r\x00\x00\x00i\x00\x00\x00d\x00\x00\x00a\x00\x00\x00y","i8",B,q.g+1713752); -C("S\x00\x00\x00a\x00\x00\x00t\x00\x00\x00u\x00\x00\x00r\x00\x00\x00d\x00\x00\x00a\x00\x00\x00y","i8",B,q.g+1713784);C("S\x00\x00\x00u\x00\x00\x00n\x00\x00\x00\x00\x00\x00\x00M\x00\x00\x00o\x00\x00\x00n\x00\x00\x00\x00\x00\x00\x00T\x00\x00\x00u\x00\x00\x00e\x00\x00\x00\x00\x00\x00\x00W\x00\x00\x00e\x00\x00\x00d\x00\x00\x00\x00\x00\x00\x00T\x00\x00\x00h\x00\x00\x00u\x00\x00\x00\x00\x00\x00\x00F\x00\x00\x00r\x00\x00\x00i\x00\x00\x00\x00\x00\x00\x00S\x00\x00\x00a\x00\x00\x00t","i8",B,q.g+1713824); -C("Sunday\x00\x00Monday\x00\x00Tuesday\x00Wednesday\x00\x00\x00\x00\x00\x00\x00Thursday\x00\x00\x00\x00\x00\x00\x00\x00Friday\x00\x00Saturday\x00\x00\x00\x00\x00\x00\x00\x00Sun\x00\x00\x00\x00\x00Mon\x00\x00\x00\x00\x00Tue\x00\x00\x00\x00\x00Wed\x00\x00\x00\x00\x00Thu\x00\x00\x00\x00\x00Fri\x00\x00\x00\x00\x00Sat\x00\x00\x00\x00\x00\n\x00\x00\x00\x00\x00\x00\x00\u0002\x00\x00\u00c0\u0003\x00\x00\u00c0\u0004\x00\x00\u00c0\u0005\x00\x00\u00c0\u0006\x00\x00\u00c0\u0007\x00\x00\u00c0\b\x00\x00\u00c0\t\x00\x00\u00c0\n\x00\x00\u00c0\x0B\x00\x00\u00c0\f\x00\x00\u00c0\r\x00\x00\u00c0\u000e\x00\x00\u00c0\u000f\x00\x00\u00c0\u0010\x00\x00\u00c0\u0011\x00\x00\u00c0\u0012\x00\x00\u00c0\u0013\x00\x00\u00c0\u0014\x00\x00\u00c0\u0015\x00\x00\u00c0\u0016\x00\x00\u00c0\u0017\x00\x00\u00c0\u0018\x00\x00\u00c0\u0019\x00\x00\u00c0\u001a\x00\x00\u00c0\u001b\x00\x00\u00c0\u001c\x00\x00\u00c0\u001d\x00\x00\u00c0\u001e\x00\x00\u00c0\u001f\x00\x00\u00c0\x00\x00\x00\u00b3\u0001\x00\x00\u00c3\u0002\x00\x00\u00c3\u0003\x00\x00\u00c3\u0004\x00\x00\u00c3\u0005\x00\x00\u00c3\u0006\x00\x00\u00c3\u0007\x00\x00\u00c3\b\x00\x00\u00c3\t\x00\x00\u00c3\n\x00\x00\u00c3\x0B\x00\x00\u00c3\f\x00\x00\u00c3\r\x00\x00\u00d3\u000e\x00\x00\u00c3\u000f\x00\x00\u00c3\x00\x00\f\u00bb\u0001\x00\f\u00c3\u0002\x00\f\u00c3\u0003\x00\f\u00c3\u0004\x00\f\u00d3","i8", -B,q.g+1714112);C("/","i8",B,q.g+1714480);C("\u0002\x00\x00\x00\x00\x00\x00\x00uncaught\x00\x00\x00\x00\x00\x00\x00\x00terminating with %s exception of type %s: %s\x00\x00\x00\x00terminating with %s exception of type %s\x00\x00\x00\x00\x00\x00\x00\x00terminating with %s foreign exception\x00\x00\x00terminating","i8",B,q.g+1714496); -C("pthread_once failure in __cxa_get_globals_fast()\x00\x00\x00\x00\x00\x00\x00\x00cannot create pthread key for __cxa_get_globals()\x00\x00\x00\x00\x00\x00\x00cannot zero out thread value for __cxa_get_globals()\x00\x00\x00\x00\x00\x00\x00\x00\u00e8*\u001a\x00\u00ce\x00\x00\x00\u00cf\x00\x00\x00D\x00\x00\x00\x00\x00\x00\x00std::bad_alloc\x00\x00St9bad_alloc\x00\x00\x00\x00\u00a8-\u001a\x00\u00d8*\u001a\x008+\u001a\x00\x00\x00\x00\x00terminate_handler unexpectedly returned\x00\x00\x00\x00\x00\x00\x00\x00\x00St9exception\x00\x00\x00\x00\u0080-\u001a\x00(+\u001a\x00\x00\x00\x00\x00\u0080+\u001a\x00\u00d0\x00\x00\x00\u00d1\x00\x00\x00E","i8", -B,q.g+1714688); -C("\u00e8+\u001a\x00\u00d2\x00\x00\x00\u00d3\x00\x00\x00F\x00\x00\x00\x00\x00\x00\x00St11logic_error\x00\u00a8-\u001a\x00p+\u001a\x008+\u001a\x00\x00\x00\x00\x00\x00\x00\x00\x00\u00c0+\u001a\x00\u00d0\x00\x00\x00\u00d4\x00\x00\x00E\x00\x00\x00\x00\x00\x00\x00St12length_error\x00\x00\x00\x00\x00\x00\x00\x00\u00a8-\u001a\x00\u00a8+\u001a\x00\u0080+\u001a\x00\x00\x00\x00\x00St13runtime_error\x00\x00\x00\x00\x00\x00\x00\u00a8-\u001a\x00\u00d0+\u001a\x008+\u001a\x00\x00\x00\x00\x00\x00\x00\x00\x00(,\u001a\x00\u00d2\x00\x00\x00\u00d5\x00\x00\x00F\x00\x00\x00\x00\x00\x00\x00St14overflow_error\x00\x00\x00\x00\x00\x00\u00a8-\u001a\x00\u0010,\u001a\x00\u00e8+\u001a\x00\x00\x00\x00\x00\x00\x00\x00\x00\u0088,\u001a\x00\u00d6\x00\x00\x00\u00d7\x00\x00\x00G\x00\x00\x00\x00\x00\x00\x00std::bad_cast\x00\x00\x00St9type_info\x00\x00\x00\x00\u0080-\u001a\x00`,\u001a\x00St8bad_cast\x00\x00\x00\x00\x00\u00a8-\u001a\x00x,\u001a\x008+\u001a\x00\x00\x00\x00\x00N10__cxxabiv116__shim_type_infoE\x00\x00\x00\x00\x00\x00\x00\x00\u00a8-\u001a\x00\u0098,\u001a\x00p,\u001a\x00\x00\x00\x00\x00N10__cxxabiv117__class_type_infoE\x00\x00\x00\x00\x00\x00\x00\u00a8-\u001a\x00\u00d0,\u001a\x00\u00c0,\u001a\x00\x00\x00\x00\x00N10__cxxabiv119__pointer_type_infoE\x00\x00\x00\x00\x00N10__cxxabiv117__pbase_type_infoE\x00\x00\x00\x00\x00\x00\x00\u00a8-\u001a\x000-\u001a\x00\u00c0,\u001a\x00\x00\x00\x00\x00\u00a8-\u001a\x00\b-\u001a\x00X-\u001a\x00\x00\x00\x00\x00\x00\x00\x00\x00\u00f8,\u001a\x00\u00d8\x00\x00\x00\u00d9\x00\x00\x00\u00da\x00\x00\x00\u00db\x00\x00\x00.\x00\x00\x00\r\x00\x00\x00\u0003\x00\x00\x00\n\x00\x00\x00\x00\x00\x00\x00\u00f0-\u001a\x00\u00d8\x00\x00\x00\u00dc\x00\x00\x00\u00da\x00\x00\x00\u00db\x00\x00\x00.\x00\x00\x00\u000e\x00\x00\x00\u0004\x00\x00\x00\x0B\x00\x00\x00N10__cxxabiv120__si_class_type_infoE\x00\x00\x00\x00\u00a8-\u001a\x00\u00c8-\u001a\x00\u00f8,\u001a\x00\x00\x00\x00\x00\x00\x00\x00\x00P.\u001a\x00\u00d8\x00\x00\x00\u00dd\x00\x00\x00\u00da\x00\x00\x00\u00db\x00\x00\x00.\x00\x00\x00\u000f\x00\x00\x00\u0005\x00\x00\x00\f\x00\x00\x00N10__cxxabiv121__vmi_class_type_infoE\x00\x00\x00\u00a8-\u001a\x00(.\u001a\x00\u00f8,\u001a","i8", -B,q.g+1715028); -C('\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\x00\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\n\x0B\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !"#\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\n\x0B\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !"#\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\x00\x00\x00\x00\x00\x00\x00\x00\u0001\u0002\u0004\u0007\u0003\u0006\u0005\x00\x00\x00\x00\x00\x00\x00\x00infinity\x00\x00\x00\x00\x00\x00\x00\x00_p\u0089\x00\u00ff\t/\u000f\n\x00\x00\x00d\x00\x00\x00\u00e8\u0003\x00\x00\u0010\'\x00\x00\u00a0\u0086\u0001\x00@B\u000f\x00\u0080\u0096\u0098\x00\x00\u00e1\u00f5\u0005\x00\x00\x00\x00\x00\x00\x00\x00\u0011\x00\n\x00\u0011\u0011\u0011\x00\x00\x00\x00\u0005\x00\x00\x00\x00\x00\x00\t\x00\x00\x00\x00\x0B\x00\x00\x00\x00\x00\x00\x00\x00\u0011\x00\u000f\n\u0011\u0011\u0011\u0003\n\u0007\x00\u0001\u0013\t\x0B\x0B\x00\x00\t\u0006\x0B\x00\x00\x0B\x00\u0006\u0011\x00\x00\x00\u0011\u0011\u0011',"i8", -B,q.g+1716296);C("\x0B\x00\x00\x00\x00\x00\x00\x00\x00\u0011\x00\n\n\u0011\u0011\u0011\x00\n\x00\x00\u0002\x00\t\x0B\x00\x00\x00\t\x00\x0B\x00\x00\x0B","i8",B,q.g+1716721);C("\f","i8",B,q.g+1716779);C("\f\x00\x00\x00\x00\f\x00\x00\x00\x00\t\f\x00\x00\x00\x00\x00\f\x00\x00\f","i8",B,q.g+1716791);C("\u000e","i8",B,q.g+1716837);C("\r\x00\x00\x00\u0004\r\x00\x00\x00\x00\t\u000e\x00\x00\x00\x00\x00\u000e\x00\x00\u000e","i8",B,q.g+1716849);C("\u0010","i8",B,q.g+1716895); -C("\u000f\x00\x00\x00\x00\u000f\x00\x00\x00\x00\t\u0010\x00\x00\x00\x00\x00\u0010\x00\x00\u0010\x00\x00\u0012\x00\x00\x00\u0012\u0012\u0012","i8",B,q.g+1716907);C("\u0012\x00\x00\x00\u0012\u0012\u0012\x00\x00\x00\x00\x00\x00\t","i8",B,q.g+1716962);C("\x0B","i8",B,q.g+1717011);C("\n\x00\x00\x00\x00\n\x00\x00\x00\x00\t\x0B\x00\x00\x00\x00\x00\x0B\x00\x00\x0B","i8",B,q.g+1717023);C("\f","i8",B,q.g+1717069); -C("\f\x00\x00\x00\x00\f\x00\x00\x00\x00\t\f\x00\x00\x00\x00\x00\f\x00\x00\f\x00\x00-+ 0X0x\x00\x00\x00\x00\x00\x00\x00(null)\x00\x00-0X+0X 0X-0x+0x 0x\x00\x00\x00\x00\x00\x00inf\x00\x00\x00\x00\x00INF\x00\x00\x00\x00\x00nan\x00\x00\x00\x00\x00NAN\x00\x00\x00\x00\x000123456789ABCDEF.","i8",B,q.g+1717081);C("/","i8",B,q.g+1717244);C("\u00ff\u00ff\u00ff\u00ff\u00ff","i8",B,q.g+1717283);var kc=q.ic(C(12,"i8",A),8);p(0==kc%8); -var I={ga:1,da:2,Ug:3,Vf:4,Ha:5,Lc:6,tf:7,rg:8,M:9,Gf:10,kb:11,eh:11,Sd:12,cc:13,Qf:14,Dg:15,Ga:16,Kc:17,Ud:18,Bb:19,Ta:20,Sa:21,H:22,mg:23,Rd:24,Td:25,ah:26,Rf:27,zg:28,lb:29,Rg:30,fg:31,Lg:32,Nf:33,Mc:34,vg:42,Tf:43,Hf:44,Xf:45,Yf:46,Zf:47,eg:48,bh:49,pg:50,Wf:51,Lf:35,sg:37,yf:52,Bf:53,fh:54,ng:55,Cf:56,Df:57,Mf:35,Ef:59,Bg:60,qg:61,Yg:62,Ag:63,wg:64,xg:65,Qg:66,tg:67,wf:68,Vg:69,If:70,Mg:71,hg:72,Of:73,Af:74,Hg:76,zf:77,Pg:78,$f:79,ag:80,dg:81,cg:82,bg:83,Cg:38,ec:39,ig:36,dc:40,Db:95,Kg:96,Kf:104, -og:105,xf:97,Og:91,Fg:88,yg:92,Sg:108,Md:111,uf:98,Jf:103,lg:101,jg:100,Zg:110,Sf:112,Od:113,Pd:115,Ld:114,Nd:89,gg:90,Ng:93,Tg:94,vf:99,kg:102,Qd:106,Cb:107,$g:109,dh:87,Pf:122,Wg:116,Gg:95,ug:123,Uf:84,Ig:75,Ff:125,Eg:131,Jg:130,Xg:86},lc={"0":"Success",1:"Not super-user",2:"No such file or directory",3:"No such process",4:"Interrupted system call",5:"I/O error",6:"No such device or address",7:"Arg list too long",8:"Exec format error",9:"Bad file number",10:"No children",11:"No more processes", -12:"Not enough core",13:"Permission denied",14:"Bad address",15:"Block device required",16:"Mount device busy",17:"File exists",18:"Cross-device link",19:"No such device",20:"Not a directory",21:"Is a directory",22:"Invalid argument",23:"Too many open files in system",24:"Too many open files",25:"Not a typewriter",26:"Text file busy",27:"File too large",28:"No space left on device",29:"Illegal seek",30:"Read only file system",31:"Too many links",32:"Broken pipe",33:"Math arg out of domain of func", -34:"Math result not representable",35:"File locking deadlock error",36:"File or path name too long",37:"No record locks available",38:"Function not implemented",39:"Directory not empty",40:"Too many symbolic links",42:"No message of desired type",43:"Identifier removed",44:"Channel number out of range",45:"Level 2 not synchronized",46:"Level 3 halted",47:"Level 3 reset",48:"Link number out of range",49:"Protocol driver not attached",50:"No CSI structure available",51:"Level 2 halted",52:"Invalid exchange", -53:"Invalid request descriptor",54:"Exchange full",55:"No anode",56:"Invalid request code",57:"Invalid slot",59:"Bad font file fmt",60:"Device not a stream",61:"No data (for no delay io)",62:"Timer expired",63:"Out of streams resources",64:"Machine is not on the network",65:"Package not installed",66:"The object is remote",67:"The link has been severed",68:"Advertise error",69:"Srmount error",70:"Communication error on send",71:"Protocol error",72:"Multihop attempted",73:"Cross mount point (not really error)", -74:"Trying to read unreadable message",75:"Value too large for defined data type",76:"Given log. name not unique",77:"f.d. invalid for this operation",78:"Remote address changed",79:"Can access a needed shared lib",80:"Accessing a corrupted shared lib",81:".lib section in a.out corrupted",82:"Attempting to link in too many libs",83:"Attempting to exec a shared library",84:"Illegal byte sequence",86:"Streams pipe error",87:"Too many users",88:"Socket operation on non-socket",89:"Destination address required", -90:"Message too long",91:"Protocol wrong type for socket",92:"Protocol not available",93:"Unknown protocol",94:"Socket type not supported",95:"Not supported",96:"Protocol family not supported",97:"Address family not supported by protocol family",98:"Address already in use",99:"Address not available",100:"Network interface is not configured",101:"Network is unreachable",102:"Connection reset by network",103:"Connection aborted",104:"Connection reset by peer",105:"No buffer space available",106:"Socket is already connected", -107:"Socket is not connected",108:"Can't send after socket shutdown",109:"Too many references",110:"Connection timed out",111:"Connection refused",112:"Host is down",113:"Host is unreachable",114:"Socket already connected",115:"Connection already in progress",116:"Stale file handle",122:"Quota exceeded",123:"No medium (in tape drive)",125:"Operation canceled",130:"Previous owner died",131:"State not recoverable"},mc=0;function K(a){return y[mc>>2]=a} -function nc(a,b){for(var c=0,d=a.length-1;0<=d;d--){var e=a[d];"."===e?a.splice(d,1):".."===e?(a.splice(d,1),c++):c&&(a.splice(d,1),c--)}if(b)for(;c--;c)a.unshift("..");return a}function oc(a){var b="/"===a.charAt(0),c="/"===a.substr(-1),a=nc(a.split("/").filter(function(a){return!!a}),!b).join("/");!a&&!b&&(a=".");a&&c&&(a+="/");return(b?"/":"")+a} -function pc(a){var b=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(a).slice(1),a=b[0],b=b[1];if(!a&&!b)return".";b&&(b=b.substr(0,b.length-1));return a+b}function qc(a){if("/"===a)return"/";var b=a.lastIndexOf("/");return-1===b?a:a.substr(b+1)}function rc(){var a=Array.prototype.slice.call(arguments,0);return oc(a.join("/"))}function sc(a,b){return oc(a+"/"+b)} -function tc(){for(var a="",b=k,c=arguments.length-1;-1<=c&&!b;c--){b=0<=c?arguments[c]:v.Jb();"string"!==typeof b&&f(new TypeError("Arguments to path.resolve must be strings"));if(!b)return"";a=b+"/"+a;b="/"===b.charAt(0)}a=nc(a.split("/").filter(function(a){return!!a}),!b).join("/");return(b?"/":"")+a||"."} -function uc(a,b){function c(a){for(var b=0;bc?[]:a.slice(b,c-b+1)}for(var a=tc(a).substr(1),b=tc(b).substr(1),d=c(a.split("/")),e=c(b.split("/")),g=Math.min(d.length,e.length),l=g,m=0;ma.p.length)&&(a.p=L.Ee(a),a.I=a.p.length);if(!a.p||a.p.subarray){var c=a.p?a.p.buffer.byteLength:0;c>=b||(b=Math.max(b,c*(1048576>c?2:1.125)|0),0!=c&&(b=Math.max(b,256)),c=a.p,a.p=new Uint8Array(b),0b)a.p.length=b;else for(;a.p.length=a.o.I)return 0;a=Math.min(a.o.I-e,d);p(0<=a);if(8b&&f(new v.k(I.H));return b},mb:function(a,b,c){L.hd(a.o,b+c);a.o.I=Math.max(a.o.I,b+c)},sb:function(a,b,c,d,e,g,l){v.isFile(a.o.mode)||f(new v.k(I.Bb));c=a.o.p;if(!(l&2)&&(c.buffer===b||c.buffer===b.buffer))a=k,d=c.byteOffset; -else{if(0>>0)%v.pa.length},pd:function(a){var b=v.vc(a.parent.id,a.name);a.Ma=v.pa[b];v.pa[b]=a},qd:function(a){var b=v.vc(a.parent.id,a.name);if(v.pa[b]===a)v.pa[b]=a.Ma;else for(b=v.pa[b];b;){if(b.Ma===a){b.Ma=a.Ma;break}b=b.Ma}},na:function(a,b){var c=v.Se(a);c&&f(new v.k(c,a));for(c=v.pa[v.vc(a.id,b)];c;c=c.Ma){var d=c.name;if(c.parent.id===a.id&&d===b)return c}return v.Ya(a,b)},createNode:function(a,b,c,d){v.Eb||(v.Eb=function(a,b,c,d){a||(a=this);this.parent=a;this.Q= -a.Q;this.tb=j;this.id=v.Xe++;this.name=b;this.mode=c;this.q={};this.A={};this.wb=d},v.Eb.prototype={},Object.defineProperties(v.Eb.prototype,{$:{get:function(){return 365===(this.mode&365)},set:function(a){a?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146===(this.mode&146)},set:function(a){a?this.mode|=146:this.mode&=-147}},Ne:{get:function(){return v.R(this.mode)}},ud:{get:function(){return v.Wa(this.mode)}}}));a=new v.Eb(a,b,c,d);v.pd(a);return a},pc:function(a){v.qd(a)},Tb:function(a){return a=== -a.parent},Ja:function(a){return!!a.tb},isFile:function(a){return 32768===(a&61440)},R:function(a){return 16384===(a&61440)},Xa:function(a){return 40960===(a&61440)},Wa:function(a){return 8192===(a&61440)},Le:function(a){return 24576===(a&61440)},Me:function(a){return 4096===(a&61440)},Oe:function(a){return 49152===(a&49152)},ze:{r:0,rs:1052672,"r+":2,w:577,wx:705,xw:705,"w+":578,"wx+":706,"xw+":706,a:1089,ax:1217,xa:1217,"a+":1090,"ax+":1218,"xa+":1218},yd:function(a){var b=v.ze[a];"undefined"=== -typeof b&&f(Error("Unknown file open mode: "+a));return b},Ae:function(a){var b=["r","w","rw"][a&2097155];a&512&&(b+="w");return b},Na:function(a,b){return v.rd?0:-1!==b.indexOf("r")&&!(a.mode&292)||-1!==b.indexOf("w")&&!(a.mode&146)||-1!==b.indexOf("x")&&!(a.mode&73)?I.cc:0},Se:function(a){var b=v.Na(a,"x");return b?b:!a.q.Ya?I.cc:0},xc:function(a,b){try{return v.na(a,b),I.Kc}catch(c){}return v.Na(a,"wx")},Ub:function(a,b,c){var d;try{d=v.na(a,b)}catch(e){return e.Nb}if(a=v.Na(a,"wx"))return a;if(c){if(!v.R(d.mode))return I.Ta; -if(v.Tb(d)||v.ka(d)===v.Jb())return I.Ga}else if(v.R(d.mode))return I.Sa;return 0},Te:function(a,b){return!a?I.da:v.Xa(a.mode)?I.dc:v.R(a.mode)&&(0!==(b&2097155)||b&512)?I.Sa:v.Na(a,v.Ae(b))},Wd:4096,Ye:function(a,b){for(var b=b||v.Wd,c=a||0;c<=b;c++)if(!v.Pa[c])return c;f(new v.k(I.Rd))},X:function(a){return v.Pa[a]},Yc:function(a,b,c){v.Fb||(v.Fb=aa(),v.Fb.prototype={},Object.defineProperties(v.Fb.prototype,{object:{get:function(){return this.o},set:function(a){this.o=a}},Mh:{get:function(){return 1!== -(this.N&2097155)}},Nh:{get:function(){return 0!==(this.N&2097155)}},Lh:{get:function(){return this.N&1024}}}));var d=new v.Fb,e;for(e in a)d[e]=a[e];a=d;b=v.Ye(b,c);a.T=b;return v.Pa[b]=a},ke:function(a){v.Pa[a]=j},ba:function(a){return v.Pa[a-1]},qb:function(a){return a?a.T+1:0},je:{open:function(a){a.A=v.De(a.o.wb).A;a.A.open&&a.A.open(a)},ma:function(){f(new v.k(I.lb))}},wc:function(a){return a>>8},Th:function(a){return a&255},La:function(a,b){return a<<8|b},Bc:function(a,b){v.cd[a]={A:b}},De:function(a){return v.cd[a]}, -kd:function(a){for(var b=[],a=[a];a.length;){var c=a.pop();b.push(c);a.push.apply(a,c.ub)}return b},Hd:function(a,b){function c(a){if(a){if(!c.ye)return c.ye=i,b(a)}else++e>=d.length&&b(j)}"function"===typeof a&&(b=a,a=k);var d=v.kd(v.root.Q),e=0;d.forEach(function(b){if(!b.type.Hd)return c(j);b.type.Hd(b,a,c)})},Q:function(a,b,c){var d="/"===c,e=!c,g;d&&v.root&&f(new v.k(I.Ga));!d&&!e&&(g=v.J(c,{sc:k}),c=g.path,g=g.o,v.Ja(g)&&f(new v.k(I.Ga)),v.R(g.mode)||f(new v.k(I.Ta)));b={type:a,Vh:b,Ue:c,ub:[]}; -a=a.Q(b);a.Q=b;b.root=a;d?v.root=a:g&&(g.tb=b,g.Q&&g.Q.ub.push(b));return a},ei:function(a){a=v.J(a,{sc:k});v.Ja(a.o)||f(new v.k(I.H));var a=a.o,b=a.tb,c=v.kd(b);Object.keys(v.pa).forEach(function(a){for(a=v.pa[a];a;){var b=a.Ma;-1!==c.indexOf(a.Q)&&v.pc(a);a=b}});a.tb=j;b=a.Q.ub.indexOf(b);p(-1!==b);a.Q.ub.splice(b,1)},Ya:function(a,b){return a.q.Ya(a,b)},oa:function(a,b,c){var d=v.J(a,{parent:i}).o,a=qc(a);(!a||"."===a||".."===a)&&f(new v.k(I.H));var e=v.xc(d,a);e&&f(new v.k(e));d.q.oa||f(new v.k(I.ga)); -return d.q.oa(d,a,b,c)},create:function(a,b){b=(b!==h?b:438)&4095;b|=32768;return v.oa(a,b,0)},wa:function(a,b){b=(b!==h?b:511)&1023;b|=16384;return v.oa(a,b,0)},Vb:function(a,b,c){"undefined"===typeof c&&(c=b,b=438);return v.oa(a,b|8192,c)},ya:function(a,b){tc(a)||f(new v.k(I.da));var c=v.J(b,{parent:i}).o;c||f(new v.k(I.da));var d=qc(b),e=v.xc(c,d);e&&f(new v.k(e));c.q.ya||f(new v.k(I.ga));return c.q.ya(c,d,a)},rename:function(a,b){var c=pc(a),d=pc(b),e=qc(a),g=qc(b),l,m,s;try{l=v.J(a,{parent:i}), -m=l.o,l=v.J(b,{parent:i}),s=l.o}catch(w){f(new v.k(I.Ga))}(!m||!s)&&f(new v.k(I.da));m.Q!==s.Q&&f(new v.k(I.Ud));l=v.na(m,e);d=uc(a,d);"."!==d.charAt(0)&&f(new v.k(I.H));d=uc(b,c);"."!==d.charAt(0)&&f(new v.k(I.ec));var r;try{r=v.na(s,g)}catch(u){}if(l!==r){c=v.R(l.mode);(e=v.Ub(m,e,c))&&f(new v.k(e));(e=r?v.Ub(s,g,c):v.xc(s,g))&&f(new v.k(e));m.q.rename||f(new v.k(I.ga));(v.Ja(l)||r&&v.Ja(r))&&f(new v.k(I.Ga));s!==m&&(e=v.Na(m,"w"))&&f(new v.k(e));try{v.S.willMovePath&&v.S.willMovePath(a,b)}catch(D){console.log("FS.trackingDelegate['willMovePath']('"+ -a+"', '"+b+"') threw an exception: "+D.message)}v.qd(l);try{m.q.rename(l,s,g)}catch(J){f(J)}finally{v.pd(l)}try{if(v.S.onMovePath)v.S.onMovePath(a,b)}catch(G){console.log("FS.trackingDelegate['onMovePath']('"+a+"', '"+b+"') threw an exception: "+G.message)}}},eb:function(a){var b=v.J(a,{parent:i}).o,c=qc(a),d=v.na(b,c),e=v.Ub(b,c,i);e&&f(new v.k(e));b.q.eb||f(new v.k(I.ga));v.Ja(d)&&f(new v.k(I.Ga));try{v.S.willDeletePath&&v.S.willDeletePath(a)}catch(g){console.log("FS.trackingDelegate['willDeletePath']('"+ -a+"') threw an exception: "+g.message)}b.q.eb(b,c);v.pc(d);try{if(v.S.onDeletePath)v.S.onDeletePath(a)}catch(l){console.log("FS.trackingDelegate['onDeletePath']('"+a+"') threw an exception: "+l.message)}},ab:function(a){a=v.J(a,{ia:i}).o;a.q.ab||f(new v.k(I.Ta));return a.q.ab(a)},Ra:function(a){var b=v.J(a,{parent:i}).o,c=qc(a),d=v.na(b,c),e=v.Ub(b,c,k);e&&(e===I.Sa&&(e=I.ga),f(new v.k(e)));b.q.Ra||f(new v.k(I.ga));v.Ja(d)&&f(new v.k(I.Ga));try{v.S.willDeletePath&&v.S.willDeletePath(a)}catch(g){console.log("FS.trackingDelegate['willDeletePath']('"+ -a+"') threw an exception: "+g.message)}b.q.Ra(b,c);v.pc(d);try{if(v.S.onDeletePath)v.S.onDeletePath(a)}catch(l){console.log("FS.trackingDelegate['onDeletePath']('"+a+"') threw an exception: "+l.message)}},bb:function(a){var a=v.J(a),b=a.o;b||f(new v.k(I.da));b.q.bb||f(new v.k(I.H));return tc(v.ka(a.o.parent),b.q.bb(b))},Fc:function(a,b){var c=v.J(a,{ia:!b}).o;c||f(new v.k(I.da));c.q.la||f(new v.k(I.ga));return c.q.la(c)},Qe:function(a){return v.Fc(a,i)},Hb:function(a,b,c){a="string"===typeof a?v.J(a, -{ia:!c}).o:a;a.q.U||f(new v.k(I.ga));a.q.U(a,{mode:b&4095|a.mode&-4096,timestamp:Date.now()})},Ph:function(a,b){v.Hb(a,b,i)},Bh:function(a,b){var c=v.X(a);c||f(new v.k(I.M));v.Hb(c.o,b)},Uc:function(a,b,c,d){a="string"===typeof a?v.J(a,{ia:!d}).o:a;a.q.U||f(new v.k(I.ga));a.q.U(a,{timestamp:Date.now()})},Qh:function(a,b,c){v.Uc(a,b,c,i)},Ch:function(a,b,c){(a=v.X(a))||f(new v.k(I.M));v.Uc(a.o,b,c)},truncate:function(a,b){0>b&&f(new v.k(I.H));var c;c="string"===typeof a?v.J(a,{ia:i}).o:a;c.q.U||f(new v.k(I.ga)); -v.R(c.mode)&&f(new v.k(I.Sa));v.isFile(c.mode)||f(new v.k(I.H));var d=v.Na(c,"w");d&&f(new v.k(d));c.q.U(c,{size:b,timestamp:Date.now()})},Eh:function(a,b){var c=v.X(a);c||f(new v.k(I.M));0===(c.N&2097155)&&f(new v.k(I.H));v.truncate(c.o,b)},fi:function(a,b,c){a=v.J(a,{ia:i}).o;a.q.U(a,{timestamp:Math.max(b,c)})},open:function(a,b,c,d,e){""===a&&f(new v.k(I.da));var b="string"===typeof b?v.yd(b):b,c=b&64?("undefined"===typeof c?438:c)&4095|32768:0,g;if("object"===typeof a)g=a;else{a=oc(a);try{g=v.J(a, -{ia:!(b&131072)}).o}catch(l){}}var m=k;b&64&&(g?b&128&&f(new v.k(I.Kc)):(g=v.oa(a,c,0),m=i));g||f(new v.k(I.da));v.Wa(g.mode)&&(b&=-513);m||(c=v.Te(g,b))&&f(new v.k(c));b&512&&v.truncate(g,0);b&=-641;d=v.Yc({o:g,path:v.ka(g),N:b,seekable:i,position:0,A:g.A,bc:[],error:k},d,e);d.A.open&&d.A.open(d);Module.logReadFiles&&!(b&1)&&(v.zc||(v.zc={}),a in v.zc||(v.zc[a]=1,Module.printErr("read file: "+a)));try{v.S.onOpenFile&&(e=0,1!==(b&2097155)&&(e|=v.Jd.zd.Xd),0!==(b&2097155)&&(e|=v.Jd.zd.$d),v.S.onOpenFile(a, -e))}catch(s){console.log("FS.trackingDelegate['onOpenFile']('"+a+"', flags) threw an exception: "+s.message)}return d},close:function(a){try{a.A.close&&a.A.close(a)}catch(b){f(b)}finally{v.ke(a.T)}},ma:function(a,b,c){(!a.seekable||!a.A.ma)&&f(new v.k(I.lb));a.position=a.A.ma(a,b,c);a.bc=[];return a.position},$:function(a,b,c,d,e){(0>d||0>e)&&f(new v.k(I.H));1===(a.N&2097155)&&f(new v.k(I.M));v.R(a.o.mode)&&f(new v.k(I.Sa));a.A.$||f(new v.k(I.H));var g=i;"undefined"===typeof e?(e=a.position,g=k): -a.seekable||f(new v.k(I.lb));b=a.A.$(a,b,c,d,e);g||(a.position+=b);return b},write:function(a,b,c,d,e,g){(0>d||0>e)&&f(new v.k(I.H));0===(a.N&2097155)&&f(new v.k(I.M));v.R(a.o.mode)&&f(new v.k(I.Sa));a.A.write||f(new v.k(I.H));a.N&1024&&v.ma(a,0,2);var l=i;"undefined"===typeof e?(e=a.position,l=k):a.seekable||f(new v.k(I.lb));b=a.A.write(a,b,c,d,e,g);l||(a.position+=b);try{if(a.path&&v.S.onWriteToFile)v.S.onWriteToFile(a.path)}catch(m){console.log("FS.trackingDelegate['onWriteToFile']('"+path+"') threw an exception: "+ -m.message)}return b},mb:function(a,b,c){(0>b||0>=c)&&f(new v.k(I.H));0===(a.N&2097155)&&f(new v.k(I.M));!v.isFile(a.o.mode)&&!v.R(node.mode)&&f(new v.k(I.Bb));a.A.mb||f(new v.k(I.Db));a.A.mb(a,b,c)},sb:function(a,b,c,d,e,g,l){1===(a.N&2097155)&&f(new v.k(I.cc));a.A.sb||f(new v.k(I.Bb));return a.A.sb(a,b,c,d,e,g,l)},rb:function(a,b,c){a.A.rb||f(new v.k(I.Td));return a.A.rb(a,b,c)},Wh:function(a,b){b=b||{};b.N=b.N||"r";b.encoding=b.encoding||"binary";"utf8"!==b.encoding&&"binary"!==b.encoding&&f(Error('Invalid encoding type "'+ -b.encoding+'"'));var c,d=v.open(a,b.N),e=v.Fc(a).size,g=new Uint8Array(e);v.$(d,g,0,e,0);"utf8"===b.encoding?c=Ia(g,0):"binary"===b.encoding&&(c=g);v.close(d);return c},gi:function(a,b,c){c=c||{};c.N=c.N||"w";c.encoding=c.encoding||"utf8";"utf8"!==c.encoding&&"binary"!==c.encoding&&f(Error('Invalid encoding type "'+c.encoding+'"'));a=v.open(a,c.N,c.mode);if("utf8"===c.encoding){var d=new Uint8Array(Ka(b)+1),b=Ja(b,d,0,d.length);v.write(a,d,0,b,0,c.ie)}else"binary"===c.encoding&&v.write(a,b,0,b.length, -0,c.ie);v.close(a)},Jb:function(){return v.$c},th:function(a){a=v.J(a,{ia:i});v.R(a.o.mode)||f(new v.k(I.Ta));var b=v.Na(a.o,"x");b&&f(new v.k(b));v.$c=a.path},me:function(){v.wa("/tmp");v.wa("/home");v.wa("/home/web_user")},le:function(){v.wa("/dev");v.Bc(v.La(1,3),{$:ba(0),write:ba(0)});v.Vb("/dev/null",v.La(1,3));wc(v.La(5,0),yc);wc(v.La(6,0),zc);v.Vb("/dev/tty",v.La(5,0));v.Vb("/dev/tty1",v.La(6,0));var a;if("undefined"!==typeof crypto){var b=new Uint8Array(1);a=function(){crypto.getRandomValues(b); -return b[0]}}else a=function(){return 256*Math.random()|0};v.ua("/dev","random",a);v.ua("/dev","urandom",a);v.wa("/dev/shm");v.wa("/dev/shm/tmp")},te:function(){Module.stdin?v.ua("/dev","stdin",Module.stdin):v.ya("/dev/tty","/dev/stdin");Module.stdout?v.ua("/dev","stdout",j,Module.stdout):v.ya("/dev/tty","/dev/stdout");Module.stderr?v.ua("/dev","stderr",j,Module.stderr):v.ya("/dev/tty1","/dev/stderr");var a=v.open("/dev/stdin","r");y[Ac>>2]=v.qb(a);p(0===a.T,"invalid handle for stdin ("+a.T+")"); -a=v.open("/dev/stdout","w");y[Bc>>2]=v.qb(a);p(1===a.T,"invalid handle for stdout ("+a.T+")");a=v.open("/dev/stderr","w");y[Cc>>2]=v.qb(a);p(2===a.T,"invalid handle for stderr ("+a.T+")")},ed:function(){v.k||(v.k=function(a,b){this.o=b;this.Fd=function(a){this.Nb=a;for(var b in I)if(I[b]===a){this.code=b;break}};this.Fd(a);this.message=lc[a]},v.k.prototype=Error(),[I.da].forEach(function(a){v.uc[a]=new v.k(a);v.uc[a].stack=""}))},nf:function(){v.ed();v.pa=Array(4096);v.Q(L, -{},"/");v.me();v.le()},Va:function(a,b,c){p(!v.Va.Sb,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)");v.Va.Sb=i;v.ed();Module.stdin=a||Module.stdin;Module.stdout=b||Module.stdout;Module.stderr=c||Module.stderr;v.te()},ef:function(){v.Va.Sb=k;for(var a=0;a=a.length)return 0;d=Math.min(a.length-e,d);p(0<=d);if(a.slice)for(var l=0;l>8,a.xb&255]));return b},Rb:function(a,b,c){return a.vb[b+":"+c]},Sc:function(a,b){a.vb[b.Aa+":"+b.port]=b},Dd:function(a,b){delete a.vb[b.Aa+ -":"+b.port]},Ke:function(a,b){var c=i;b.C.onopen=function(){Module.websocket.Mb("open",a.aa.T);try{for(var c=b.Kb.shift();c;)b.C.send(c),c=b.Kb.shift()}catch(e){b.C.close()}};b.C.onclose=function(){Module.websocket.Mb("close",a.aa.T)};b.C.onmessage=function(d){d=d.data;p("string"!==typeof d&&d.byteLength!==h);var d=new Uint8Array(d),e=c;c=k;e&&10===d.length&&255===d[0]&&255===d[1]&&255===d[2]&&255===d[3]&&112===d[4]&&111===d[5]&&114===d[6]&&116===d[7]?(d=d[8]<<8|d[9],M.fa.Dd(a,b),b.port=d,M.fa.Sc(a, -b)):(a.cb.push({Aa:b.Aa,port:b.port,data:d}),Module.websocket.Mb("message",a.aa.T))};b.C.onerror=function(){a.error=I.Md;Module.websocket.Mb("error",[a.aa.T,a.error,"ECONNREFUSED: Connection refused"])}},Bd:function(a){if(1===a.type&&a.ra)return a.Ad.length?65:0;var b=0,c=1===a.type?M.fa.Rb(a,a.Ca,a.Da):j;if(a.cb.length||!c||c&&c.C.readyState===c.C.Ab||c&&c.C.readyState===c.C.CLOSED)b|=65;if(!c||c&&c.C.readyState===c.C.OPEN)b|=4;if(c&&c.C.readyState===c.C.Ab||c&&c.C.readyState===c.C.CLOSED)b|=16; -return b},rb:function(a,b,c){switch(b){case 21531:return b=0,a.cb.length&&(b=a.cb[0].data.length),y[c>>2]=b,0;default:return I.H}},close:function(a){if(a.ra){try{a.ra.close()}catch(b){}a.ra=j}for(var c=Object.keys(a.vb),d=0;d>0]=d.bc.pop(),c--,e++;a=Ec(d.T,a,c);if(-1==a)return d&&(d.error=i),0;e+=a;e>0]}Module._i64Subtract=Hc;var Ic=ya;Module._i64Add=Jc;function Kc(){return!!Kc.Hc}var Lc=0,Mc=[],Nc={};function Oc(a){if(!a||Nc[a])return a;for(var b in Nc)if(Nc[b].Tc===a)return b;return a} -function Pc(){var a=Lc;if(!a)return(N.setTempRet0(0),0)|0;var b=Nc[a],c=b.type;if(!c)return(N.setTempRet0(0),a)|0;var d=Array.prototype.slice.call(arguments);Module.___cxa_is_pointer_type(c);Pc.buffer||(Pc.buffer=F(4));y[Pc.buffer>>2]=a;for(var a=Pc.buffer,e=0;e>2],b.Tc=a,(N.setTempRet0(d[e]),a)|0;a=y[a>>2];return(N.setTempRet0(c),a)|0} -function Qc(a){a=v.X(a);if(!a)return K(I.M),-1;try{return v.close(a),0}catch(b){return v.Y(b),-1}}function Rc(a){if(v.X(a))return 0;K(I.M);return-1}function Sc(a){a=v.ba(a);return!a?-1:a.T}function Tc(a,b,c){c=y[c>>2];a=t(a);try{return v.open(a,b,c).T}catch(d){return v.Y(d),-1}}Module._strncpy=Uc;function Vc(a,b,c){a=v.X(a);if(!a)return K(I.M),-1;try{return v.write(a,x,b,c)}catch(d){return v.Y(d),-1}} -function Wc(a,b){var c=hb(a&255);x[Wc.P>>0]=c;if(-1==Vc(Sc(b),Wc.P,1)){if(c=v.ba(b))c.error=i;return-1}return c}function Xc(a){a=t(a);try{return v.Ra(a),0}catch(b){return v.Y(b),-1}}var Yc=Aa;function Zc(a,b,c,d){c*=b;if(0==c)return 0;a=Vc(Sc(d),a,c);if(-1==a){if(b=v.ba(d))b.error=i;return 0}return a/b|0}Module._strlen=$c;var ad=C(44,"i8",A);C(gb("GMT"),"i8",A);var bd=C(8,"i32*",A),cd=C(1,"i32*",A),dd=C(1,"i32*",A); -function ed(){function a(a){return(a=a.toTimeString().match(/\(([A-Za-z ]+)\)$/))?a[1]:"GMT"}if(!ed.nb){ed.nb=i;y[dd>>2]=60*-(new Date).getTimezoneOffset();var b=new Date(2E3,0,1),c=new Date(2E3,6,1);y[cd>>2]=Number(b.getTimezoneOffset()!=c.getTimezoneOffset());var d=a(b),e=a(c),d=C(gb(d),"i8",Fa),e=C(gb(e),"i8",Fa);c.getTimezoneOffset()>2]=d,y[bd+4>>2]=e):(y[bd>>2]=e,y[bd+4>>2]=d)}} -function fd(a,b){ed();var c=new Date(1E3*y[a>>2]);y[b>>2]=c.getSeconds();y[b+4>>2]=c.getMinutes();y[b+8>>2]=c.getHours();y[b+12>>2]=c.getDate();y[b+16>>2]=c.getMonth();y[b+20>>2]=c.getFullYear()-1900;y[b+24>>2]=c.getDay();var d=new Date(c.getFullYear(),0,1);y[b+28>>2]=(c.getTime()-d.getTime())/864E5|0;y[b+36>>2]=-(60*c.getTimezoneOffset());c=c.getTimezoneOffset()==Math.min(d.getTimezoneOffset(),(new Date(2E3,6,1)).getTimezoneOffset())|0;y[b+32>>2]=c;y[b+40>>2]=y[bd+(c?q.Gb:0)>>2];return b} -Module._bitshift64Ashr=hd;Module._bitshift64Lshr=id;var jd=Ba;function kd(a){return 0===a%4&&(0!==a%100||0===a%400)}function ld(a,b){for(var c=0,d=0;d<=b;c+=a[d++]);return c}var md=[31,29,31,30,31,30,31,31,30,31,30,31],nd=[31,28,31,30,31,30,31,31,30,31,30,31]; -function od(a,b){for(var c=new Date(a.getTime());0e-c.getDate())b-=e-c.getDate()+1,c.setDate(1),11>d?c.setMonth(d+1):(c.setMonth(0),c.setFullYear(c.getFullYear()+1));else{c.setDate(c.getDate()+b);break}}return c} -function pd(a,b,c,d){function e(a,b,c){for(a="number"===typeof a?a.toString():a||"";a.lengtha.getFullYear()-b.getFullYear()?-1:0a.getMonth()-b.getMonth()?-1:0a.getDate()-b.getDate()?-1:0=l(m(new Date(a.getFullYear(),0,4)),a)?0>=l(b,a)?a.getFullYear()+1:a.getFullYear():a.getFullYear()-1}var w=y[d+40>>2],d={qf:y[d>>2],pf:y[d+4>>2],hb:y[d+8>>2],Qa:y[d+12>>2],Fa:y[d+16>>2],V:y[d+20>>2],Id:y[d+24>>2], -$b:y[d+28>>2],di:y[d+32>>2],of:y[d+36>>2],rf:w?t(w):""},c=t(c),w={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S"},r;for(r in w)c=c.replace(RegExp(r,"g"),w[r]);var u="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),D="January February March April May June July August September October November December".split(" "),w={"%a":function(a){return u[a.Id].substring(0,3)},"%A":function(a){return u[a.Id]}, -"%b":function(a){return D[a.Fa].substring(0,3)},"%B":function(a){return D[a.Fa]},"%C":function(a){return g((a.V+1900)/100|0,2)},"%d":function(a){return g(a.Qa,2)},"%e":function(a){return e(a.Qa,2," ")},"%g":function(a){return s(a).toString().substring(2)},"%G":function(a){return s(a)},"%H":function(a){return g(a.hb,2)},"%I":function(a){return g(13>a.hb?a.hb:a.hb-12,2)},"%j":function(a){return g(a.Qa+ld(kd(a.V+1900)?md:nd,a.Fa-1),3)},"%m":function(a){return g(a.Fa+1,2)},"%M":function(a){return g(a.pf, -2)},"%n":ba("\n"),"%p":function(a){return 0a.hb?"AM":"PM"},"%S":function(a){return g(a.qf,2)},"%t":ba("\t"),"%u":function(a){return(new Date(a.V+1900,a.Fa+1,a.Qa,0,0,0,0)).getDay()||7},"%U":function(a){var b=new Date(a.V+1900,0,1),c=0===b.getDay()?b:od(b,7-b.getDay()),a=new Date(a.V+1900,a.Fa,a.Qa);return 0>l(c,a)?g(Math.ceil((31-c.getDate()+(ld(kd(a.getFullYear())?md:nd,a.getMonth()-1)-31)+a.getDate())/7),2):0===l(c,b)?"01":"00"},"%V":function(a){var b=m(new Date(a.V+1900,0,4)),c=m(new Date(a.V+ -1901,0,4)),d=od(new Date(a.V+1900,0,1),a.$b);return 0>l(d,b)?"53":0>=l(c,d)?"01":g(Math.ceil((b.getFullYear()l(c,a)?g(Math.ceil((31-c.getDate()+(ld(kd(a.getFullYear())?md:nd,a.getMonth()-1)-31)+a.getDate())/7),2):0===l(c,b)?"01":"00"}, -"%y":function(a){return(a.V+1900).toString().substring(2)},"%Y":function(a){return a.V+1900},"%z":function(a){var a=a.of,b=0<=a,a=Math.abs(a)/60;return(b?"+":"-")+String("0000"+(100*(a/60)+a%60)).slice(-4)},"%Z":function(a){return a.rf},"%%":ba("%")};for(r in w)0<=c.indexOf(r)&&(c=c.replace(RegExp(r,"g"),w[r](d)));r=gb(c,k);if(r.length>b)return 0;ua(r,a);return r.length-1}function qd(a){return 0>a||0===a&&-Infinity===1/a} -function rd(a,b){function c(a){var c;"double"===a?c=(y[kc>>2]=y[b+e>>2],y[kc+4>>2]=y[b+(e+4)>>2],+Da[kc>>3]):"i64"==a?c=[y[b+e>>2],y[b+(e+4)>>2]]:(a="i32",c=y[b+e>>2]);e+=q.ld(a);return c}for(var d=a,e=0,g=[],l,m;;){var s=d;l=x[d>>0];if(0===l)break;m=x[d+1>>0];if(37==l){var w=k,r=k,u=k,D=k,J=k;a:for(;;){switch(m){case 43:w=i;break;case 45:r=i;break;case 35:u=i;break;case 48:if(D)break a;else{D=i;break}case 32:J=i;break;default:break a}d++;m=x[d+1>>0]}var G=0;if(42==m)G=c("i32"),d++,m=x[d+1>>0];else for(;48<= -m&&57>=m;)G=10*G+(m-48),d++,m=x[d+1>>0];var X=k,S=-1;if(46==m){S=0;X=i;d++;m=x[d+1>>0];if(42==m)S=c("i32"),d++;else for(;;){m=x[d+1>>0];if(48>m||57>0]}0>S&&(S=6,X=k);var E;switch(String.fromCharCode(m)){case "h":m=x[d+2>>0];104==m?(d++,E=1):E=2;break;case "l":m=x[d+2>>0];108==m?(d++,E=8):E=4;break;case "L":case "q":case "j":E=8;break;case "z":case "t":case "I":E=4;break;default:E=j}E&&d++;m=x[d+1>>0];switch(String.fromCharCode(m)){case "d":case "i":case "u":case "o":case "x":case "X":case "p":s= -100==m||105==m;E=E||4;var O=l=c("i"+8*E),z;8==E&&(l=q.Re(l[0],l[1],117==m));4>=E&&(l=(s?ib:hb)(l&Math.pow(256,E)-1,8*E));var ja=Math.abs(l),s="";if(100==m||105==m)z=8==E&&sd?sd.stringify(O[0],O[1],j):ib(l,8*E).toString(10);else if(117==m)z=8==E&&sd?sd.stringify(O[0],O[1],i):hb(l,8*E).toString(10),l=Math.abs(l);else if(111==m)z=(u?"0":"")+ja.toString(8);else if(120==m||88==m){s=u&&0!=l?"0x":"";if(8==E&&sd)if(O[1]){z=(O[1]>>>0).toString(16);for(u=(O[0]>>>0).toString(16);8>u.length;)u="0"+u;z+=u}else z= -(O[0]>>>0).toString(16);else if(0>l){l=-l;z=(ja-1).toString(16);O=[];for(u=0;uE&&-4<=E?(m=(103==m?"f":"F").charCodeAt(0),S-=E+1):(m=(103==m?"e":"E").charCodeAt(0),S--),E=Math.min(S,20);if(101==m||69==m)z=l.toExponential(E),/[eE][-+]\d$/.test(z)&&(z=z.slice(0,-1)+"0"+z.slice(-1));else if(102==m||70==m)z=l.toFixed(E),0===l&&qd(l)&&(z="-"+z);s=z.split("e");if(X&& -!u)for(;1E++;)s[0]+="0";z=s[0]+(1l?"-":"")+"inf",D=k;for(;z.lengthm&&(z=z.toUpperCase());z.split("").forEach(function(a){g.push(a.charCodeAt(0))});break;case "s":D=(w=c("i8*"))?$c(w):6; -X&&(D=Math.min(D,S));if(!r)for(;D>0]);else g=g.concat(gb("(null)".substr(0,D),i));if(r)for(;D>2]=g.length;break;case "%":g.push(l);break;default:for(u=s;u>0])}d+=2}else g.push(l),d+=1}return g}function td(a,b,c){c=rd(b,c);b=q.Zb();a=Zc(C(c,"i8",Ga),1,c.length,a);q.Yb(b);return a}Module._memcpy=ud; -function vd(a){if(!vd.nb){var b=ma;0>2],w=w+q.Pb("void*",j,i);y[u>>2]=e;m+=2}else{if("%"===a[m]){var D=a.indexOf("c",m+1);if(0m+1&&(r=a.substring(m+1,D),J=parseInt(r), -J!=r&&(J=0));if(J){u=y[d+w>>2];w+=q.Pb("void*",j,i);s++;for(var G=0;G>0]=r,0===r)return 0>2];w+=q.Pb("void*",j,i);s++;for(G=0;GS.indexOf(String.fromCharCode(r)))x[u++>>0]=r;else{c();break}else if(0<=S.indexOf(String.fromCharCode(r)))x[u++>>0]=r;else{c();break}x[u++>>0]=0;m+=D[0].length;continue}for(;;){r=b();if(0==r)return s;if(!(r in Bd.whiteSpace))break}c();if("%"===a[m]){m++;u=k;"*"==a[m]&&(u=i,m++);for(r=m;48<=a[m].charCodeAt(0)&&57>=a[m].charCodeAt(0);)m++;var O;m!=r&&(O=parseInt(a.slice(r,m),10));S=X=J=D=k;"l"==a[m]?(D=i,m++,"l"==a[m]&&(S=i,m++)):"h"==a[m]&&(J=i,m++,"h"==a[m]&&(X=i,m++));E=a[m];m++;var G=0,z= -[];if("f"==E||"e"==E||"g"==E||"F"==E||"E"==E||"G"==E){for(r=b();0=r||ja&&45==r)||("x"===E||"X"===E)&&(48<=r&&57>=r||97<=r&&102>=r||65<=r&&70>=r))&&(m>=a.length||r!==a[m].charCodeAt(0)))z.push(String.fromCharCode(r)), -r=b(),G++,ja=k;else break;c()}if(0===z.length)break;if(!u){r=z.join("");u=y[d+w>>2];w+=q.Pb("void*",j,i);G=10;switch(E){case "X":case "x":G=16;case "d":case "u":case "i":X?x[u>>0]=parseInt(r,G):J?xa[u>>1]=parseInt(r,G):S?(qa=[parseInt(r,G)>>>0,(pa=parseInt(r,G),1<=+ya(pa)?0>>0:~~+Ba((pa-+(~~pa>>>0))/4294967296)>>>0:0)],y[u>>2]=qa[0],y[u+4>>2]=qa[1]):y[u>>2]=parseInt(r,G);break;case "F":case "f":case "E":case "e":case "G":case "g":case "E":D?Da[u>>3]=parseFloat(r): -Ca[u>>2]=parseFloat(r);break;case "s":r=gb(r);for(G=0;G>0]=r[G]}s++}}else{if(a[m].charCodeAt(0)in Bd.whiteSpace){for(r=b();r in Bd.whiteSpace;){if(0>=r)break a;r=b()}c(r)}else if(r=b(),a[m].charCodeAt(0)!==r){c(r);break a}m++}}return s}function Cd(a,b){b=v.ba(b);if(!b)return-1;if(-1===a)return a;a=hb(a&255);b.bc.push(a);b.Ua=k;return a}function Dd(a){a=t(a);try{return v.eb(a),0}catch(b){return v.Y(b),-1}}Module._llvm_bswap_i32=Ed;Module._memset=zd;Module._strcat=Fd; -function Gd(a,b,c){var d=v.ba(a);if(!d)return K(I.M);if(!d.ob)try{d.ob=v.ab(d.path)}catch(e){return v.Y(e)}if(0>d.position||d.position>=d.ob.length)return y[c>>2]=0;var g,l=d.ob[d.position++];if(l.indexOf(".")){try{g=v.na(d.o,l)}catch(m){return Gd(a,b,c)}a=g.id;g=v.Wa(g.mode)?2:v.R(g.mode)?4:v.Xa(g.mode)?10:8}else a=1,g=4;y[b>>2]=a;y[b+4>>2]=d.position;y[b+8>>2]=268;for(d=0;d>0]=l.charCodeAt(d);x[b+11+d>>0]=0;x[b+10>>0]=g;y[c>>2]=b;return 0} -function Hd(a){if(!v.ba(a))return K(I.M),0;Hd.gd||(Hd.gd=F(268));Hd.result||(Hd.result=F(4));return(a=Gd(a,Hd.gd,Hd.result))?(K(a),0):y[Hd.result>>2]}function Id(a,b,c){if(a in lc){if(lc[a].length>c-1)return K(I.Mc);Ha(lc[a],b);return 0}return K(I.H)}function Jd(a){Jd.buffer||(Jd.buffer=F(256));Id(a,Jd.buffer,256);return Jd.buffer}Module._bitshift64Shl=Kd;var Ld={},Md=ya;function Nd(){Nd.start===h&&(Nd.start=Date.now());return 1E3*(Date.now()-Nd.start)|0} -function Od(a,b,c){a=v.X(a);if(!a)return K(I.M),-1;try{return v.ma(a,b,c)}catch(d){return v.Y(d),-1}}function Pd(a,b,c){if(-1==Od(Sc(a),b,c))return-1;a=v.ba(a);a.Ua=k;return 0}function Qd(a){Module.exit(a)} -function Rd(){if(!Rd.P){for(var a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,8195,8194,8194,8194,8194,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,24577,49156,49156,49156,49156,49156,49156,49156,49156,49156,49156,49156,49156,49156,49156,49156,55304,55304,55304,55304,55304,55304, -55304,55304,55304,55304,49156,49156,49156,49156,49156,49156,49156,54536,54536,54536,54536,54536,54536,50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,49156,49156,49156,49156,49156,49156,54792,54792,54792,54792,54792,54792,50696,50696,50696,50696,50696,50696,50696,50696,50696,50696,50696,50696,50696,50696,50696,50696,50696,50696,50696,50696,49156,49156,49156,49156,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],b=F(2*a.length),c=0;c>1]=a[c];Rd.P=C([b+256],"i16*",Fa)}return Rd.P}function Ma(){}Module._free=Ma;function F(a){return q.pb(a+8)+8&4294967288}Module._malloc=F;var Sd=Ba; -function Td(){if(!Td.P){for(var a=[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244, -245,246,247,248,249,250,251,252,253,254,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147, -148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255],b=F(4*a.length),c=0;c>2]=a[c];Td.P=C([b+512],"i32*", -Fa)}return Td.P} -function Ud(){if(!Ud.P){for(var a=[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244, -245,246,247,248,249,250,251,252,253,254,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136, -137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255],b=F(4*a.length),c=0;c>2]=a[c];Ud.P=C([b+512],"i32*",Fa)}return Ud.P}var Vd=C(1,"i32*",A); -function Wd(a){var b,c;Wd.nb?(c=y[Vd>>2],b=y[c>>2]):(Wd.nb=i,Xd.USER="web_user",Xd.PATH="/",Xd.PWD="/",Xd.HOME="/home/web_user",Xd.LANG="C",Xd._=Module.thisProgram,b=C(1024,"i8",A),c=C(256,"i8*",A),y[c>>2]=b,y[Vd>>2]=c);var d=[],e=0,g;for(g in a)if("string"===typeof a[g]){var l=g+"="+a[g];d.push(l);e+=l.length}1024>2]=b,b+=l.length+1;y[c+4*d.length>>2]=0}var Xd={}; -function Yd(a){if(0===a)return 0;a=t(a);if(!Xd.hasOwnProperty(a))return 0;Yd.P&&Ma(Yd.P);Yd.P=C(gb(Xd[a]),"i8",Fa);return Yd.P}var Zd=Aa;function $d(a,b){$d.Cc||($d.Cc={});a in $d.Cc||(q.Lb("v",b),$d.Cc[a]=1)}Module._strcpy=ae;var be=1;Gc.P=C([0],"i8",A);v.nf();Za.unshift({u:function(){!Module.noFSInit&&!v.Va.Sb&&v.Va()}});$a.push({u:function(){v.rd=k}});ab.push({u:function(){v.ef()}});Module.FS_createFolder=v.oe;Module.FS_createPath=v.re;Module.FS_createDataFile=v.oc; -Module.FS_createPreloadedFile=v.se;Module.FS_createLazyFile=v.pe;Module.FS_createLink=v.qe;Module.FS_createDevice=v.ua;mc=q.Gd(4);y[mc>>2]=0;Za.unshift({u:aa()});ab.push({u:aa()});Za.push({u:function(){M.root=v.Q(M,{},j)}});Wc.P=C([0],"i8",A);Wd(Xd);Ra=ia=q.ic(la);Sa=Ra+Ua;Ta=ma=q.ic(Sa);p(Ta> -0]?x[a>>0]=1:0},___assert_fail:function(a,b,c,d){oa=i;f("Assertion failed: "+t(a)+", at: "+[b?t(b):"unknown filename",c,d?t(d):"unknown function"]+" at "+Na())},__ZSt18uncaught_exceptionv:Kc,___ctype_toupper_loc:Td,__addDays:od,_ftell:function(a){a=v.ba(a);return!a?(K(I.M),-1):v.Wa(a.o.mode)?(K(I.lb),-1):a.position},_sbrk:vd,___cxa_begin_catch:function(a){Kc.Hc--;Mc.push(a);var b=Oc(a);b&&Nc[b].Cd++;return a},_emscripten_memcpy_big:function(a,b,c){H.set(H.subarray(b,b+c),a);return a},_sysconf:function(a){switch(a){case 30:return 4096; -case 132:case 133:case 12:case 137:case 138:case 15:case 235:case 16:case 17:case 18:case 19:case 20:case 149:case 13:case 10:case 236:case 153:case 9:case 21:case 22:case 159:case 154:case 14:case 77:case 78:case 139:case 80:case 81:case 79:case 82:case 68:case 67:case 164:case 11:case 29:case 47:case 48:case 95:case 52:case 51:case 46:return 200809;case 27:case 246:case 127:case 128:case 23:case 24:case 160:case 161:case 181:case 182:case 242:case 183:case 184:case 243:case 244:case 245:case 165:case 178:case 179:case 49:case 50:case 168:case 169:case 175:case 170:case 171:case 172:case 97:case 76:case 32:case 173:case 35:return-1; -case 176:case 177:case 7:case 155:case 8:case 157:case 125:case 126:case 92:case 93:case 129:case 130:case 131:case 94:case 91:return 1;case 74:case 60:case 69:case 70:case 4:return 1024;case 31:case 42:case 72:return 32;case 87:case 26:case 33:return 2147483647;case 34:case 1:return 47839;case 38:case 36:return 99;case 43:case 37:return 2048;case 0:return 2097152;case 3:return 65536;case 28:return 32768;case 44:return 32767;case 75:return 16384;case 39:return 1E3;case 89:return 700;case 71:return 256; -case 40:return 255;case 2:return 100;case 180:return 64;case 25:return 20;case 5:return 16;case 6:return 6;case 73:return 4;case 84:return"object"===typeof navigator?navigator.hardwareConcurrency||1:1}K(I.H);return-1},_close:Qc,_clock:Nd,_ceilf:Sd,_rewind:function(a){Pd(a,0,0);if(a=v.ba(a))a.error=k},_cos:jb,_readdir:Hd,_unlink:Xc,_write:Vc,__isLeapYear:kd,_fsync:Rc,_catclose:ba(0),_mknod:function(a,b,c){a=t(a);switch(b&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return K(I.H), --1}try{return v.oa(a,b,c),0}catch(d){return v.Y(d),-1}},_mkdir:function(a,b){a=t(a);a=oc(a);"/"===a[a.length-1]&&(a=a.substr(0,a.length-1));try{return v.wa(a,b,0),0}catch(c){return v.Y(c),-1}},_closedir:function(a){var a=Sc(a),b=v.X(a);b.ob&&(b.ob=j);return Qc(a)},_llvm_trap:function(){ka("trap!")},_send:function(a,b,c){return!M.nd(a)?(K(I.M),-1):Vc(a,b,c)},_atan2:ob,___cxa_find_matching_catch:Pc,___cxa_guard_release:aa(),_opendir:function(a){var b=t(a);if(!b)return K(I.da),0;var c;try{c=v.J(b,{ia:i}).o}catch(d){return v.Y(d), -0}if(!v.R(c.mode))return K(I.Ta),0;a=Tc(a,0,C([0,0,0,0],"i32",Ga));return-1===a?0:v.qb(v.X(a))},_strerror_r:Id,_fscanf:function(a,b,c){if(!v.ba(a))return-1;var d=[];return Bd(b,function(){var b=Gc(a);d.push(b);return b},function(){Cd(d.pop(),a)},c)},___setErrNo:K,_getpid:ba(42),___ctype_tolower_loc:Ud,_newlocale:function(a,b,c){(a=b)&&(a=t(a));if(!("C"===a||"POSIX"===a||!a))return K(I.da),0;c||(c=yd(1,4));return c},___resumeException:function(a){Lc||(Lc=a);var b=Oc(a);b&&(Nc[b].Cd=0);f(a+" - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch.")}, -_freelocale:function(a){Ma(a)},_floor:Zd,_pthread_once:$d,_localtime:function(a){return fd(a,ad)},_stat:function(a,b,c){a="string"!==typeof a?t(a):a;try{var d=c?v.Qe(a):v.Fc(a);y[b>>2]=d.ve;y[b+4>>2]=0;y[b+8>>2]=d.sd;y[b+12>>2]=d.mode;y[b+16>>2]=d.Ze;y[b+20>>2]=d.uid;y[b+24>>2]=d.He;y[b+28>>2]=d.wb;y[b+32>>2]=0;y[b+36>>2]=d.size;y[b+40>>2]=4096;y[b+44>>2]=d.he;y[b+48>>2]=d.fe.getTime()/1E3|0;y[b+52>>2]=0;y[b+56>>2]=d.Ve.getTime()/1E3|0;y[b+60>>2]=0;y[b+64>>2]=d.ue.getTime()/1E3|0;y[b+68>>2]=0;y[b+ -72>>2]=d.sd;return 0}catch(e){return e.o&&oc(a)!==oc(v.ka(e.o))&&e.Fd(I.Ta),v.Y(e),-1}},_read:Ec,_fwrite:Zc,_time:function(a){var b=Date.now()/1E3|0;a&&(y[a>>2]=b);return b},_fprintf:td,_gettimeofday:function(a){var b=Date.now();y[a>>2]=b/1E3|0;y[a+4>>2]=1E3*(b%1E3)|0;return 0},_catopen:ba(-1),_exit:function(a){Qd(a)},_readdir_r:Gd,_llvm_pow_f64:sb,_getcwd:function(a,b){if(0==b)return K(I.H),0;var c=v.Jb();if(b>2])},_rmdir:Dd,___cxa_allocate_exception:function(a){return F(a)},_asin:mb,___buildEnvironment:Wd,_pwrite:function(a,b,c,d){a=v.X(a);if(!a)return K(I.M),-1;try{return v.write(a,x,b,c,d)}catch(e){return v.Y(e),-1}},_localtime_r:fd,_tzset:ed,_open:Tc,_fabsf:Ic,_remove:function(a){var b=Xc(a);-1==b&&(b=Dd(a));return b},_uselocale:function(a){var b=xd;a&&(xd=a);return b},___errno_location:function(){return mc},_strftime:pd,_fseek:Pd,_getenv:Yd,_fclose:function(a){a=Sc(a);Rc(a); -return Qc(a)},_floorf:Yc,_sqrtf:rb,_pthread_cond_broadcast:ba(0),_recv:function(a,b,c){return!M.nd(a)?(K(I.M),-1):Ec(a,b,c)},_tan:lb,__getFloat:Ad,_abort:function(){Module.abort()},_ceil:jd,_fopen:function(a,b){var c,b=t(b);if("r"==b[0])c=-1!=b.indexOf("+")?2:0;else if("w"==b[0])c=-1!=b.indexOf("+")?2:1,c|=576;else if("a"==b[0])c=-1!=b.indexOf("+")?2:1,c|=64,c|=1024;else return K(I.H),0;c=Tc(a,c,C([511,0,0,0],"i32",Ga));return-1===c?0:v.qb(v.X(c))},___cxa_pure_virtual:function(){oa=i;f("Pure virtual function called!")}, -_pthread_getspecific:function(a){return Ld[a]||0},_pthread_cond_wait:ba(0),_sin:kb,_pthread_key_create:function(a){if(0==a)return I.H;y[a>>2]=be;Ld[be]=0;be++;return 0},_ungetc:Cd,_emscripten_asm_const_int:function(a){var b=Array.prototype.slice.call(arguments,1);return q.Ce(a,b.length).apply(j,b)|0},__ZN10ScrollViewD1Ev:function(){Module.printErr("missing function: _ZN10ScrollViewD1Ev");ka(-1)},_fflush:aa(),_strftime_l:function(a,b,c,d){return pd(a,b,c,d)},_pthread_mutex_lock:aa(),__reallyNegative:qd, -_catgets:function(a,b,c,d){return d},_fileno:Sc,__exit:Qd,__arraySum:ld,__formatString:rd,_atan:nb,_pthread_mutex_unlock:aa(),_pread:function(a,b,c,d){a=v.X(a);if(!a)return K(I.M),-1;try{return v.$(a,x,b,c,d)}catch(e){return v.Y(e),-1}},_mkport:Dc,_getc:function(){return Gc.apply(j,arguments)},__scanString:Bd,_pthread_setspecific:function(a,b){if(!(a in Ld))return I.H;Ld[a]=b;return 0},_fgetc:Gc,_fputc:Wc,___cxa_throw:function(a,b,c){Nc[a]={e:a,Tc:a,type:b,yh:c,Cd:0};Lc=a;"uncaught_exception"in Kc? -Kc.Hc++:Kc.Hc=1;f(a+" - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch.")},_strerror:Jd,_fgets:function(a,b,c){var d=v.ba(c);if(!d||d.error||d.Ua)return 0;for(var e,g=0;g>0]=e}x[a+g>>0]=0;return a},_fputs:function(a,b){return Vc(Sc(b),a,$c(a))},_sqrt:rb,_pthread_mutex_init:aa(),STACKTOP:ia,STACK_MAX:Sa,tempDoublePtr:kc, -ABORT:oa,cttz_i8:ce,_stderr:Cc,_stdin:Ac,_stdout:Bc};// EMSCRIPTEN_START_ASM - -var N=(function(global,env,buffer) { -"use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.STACKTOP|0;var j=env.STACK_MAX|0;var k=env.tempDoublePtr|0;var l=env.ABORT|0;var m=env.cttz_i8|0;var n=env._stderr|0;var o=env._stdin|0;var p=env._stdout|0;var q=0;var r=0;var s=0;var t=0;var u=global.NaN,v=global.Infinity;var w=0,x=0,y=0,z=0,A=0.0,B=0,C=0,D=0,E=0.0;var F=0;var G=0;var H=0;var I=0;var J=0;var K=0;var L=0;var M=0;var N=0;var O=0;var P=global.Math.floor;var Q=global.Math.abs;var R=global.Math.sqrt;var S=global.Math.pow;var T=global.Math.cos;var U=global.Math.sin;var V=global.Math.tan;var W=global.Math.acos;var X=global.Math.asin;var Y=global.Math.atan;var Z=global.Math.atan2;var _=global.Math.exp;var $=global.Math.log;var aa=global.Math.ceil;var ba=global.Math.imul;var ca=global.Math.min;var da=global.Math.clz32;var ea=env.abort;var fa=env.assert;var ga=env.invoke_iiiiiiii;var ha=env.invoke_viiiii;var ia=env.invoke_vid;var ja=env.invoke_vi;var ka=env.invoke_vii;var la=env.invoke_iiiiiii;var ma=env.invoke_ii;var na=env.invoke_iiiiii;var oa=env.invoke_iiii;var pa=env.invoke_iidiii;var qa=env.invoke_viiiiid;var ra=env.invoke_viiiiiiii;var sa=env.invoke_viiiiii;var ta=env.invoke_viiiiiii;var ua=env.invoke_viiiiiid;var va=env.invoke_viiiiiiiii;var wa=env.invoke_iii;var xa=env.invoke_diiiiii;var ya=env.invoke_viiiiiiiiiiii;var za=env.invoke_iiiii;var Aa=env.invoke_viii;var Ba=env.invoke_v;var Ca=env.invoke_iiiiiiiii;var Da=env.invoke_viiii;var Ea=env._fabs;var Fa=env._exp;var Ga=env._log;var Ha=env._fread;var Ia=env.___cxa_guard_acquire;var Ja=env.___assert_fail;var Ka=env.__ZSt18uncaught_exceptionv;var La=env.___ctype_toupper_loc;var Ma=env.__addDays;var Na=env._ftell;var Oa=env._sbrk;var Pa=env.___cxa_begin_catch;var Qa=env._emscripten_memcpy_big;var Ra=env._sysconf;var Sa=env._close;var Ta=env._clock;var Ua=env._ceilf;var Va=env._rewind;var Wa=env._cos;var Xa=env._readdir;var Ya=env._unlink;var Za=env._write;var _a=env.__isLeapYear;var $a=env._fsync;var ab=env._catclose;var bb=env._mknod;var cb=env._mkdir;var db=env._closedir;var eb=env._llvm_trap;var fb=env._send;var gb=env._atan2;var hb=env.___cxa_find_matching_catch;var ib=env.___cxa_guard_release;var jb=env._opendir;var kb=env._strerror_r;var lb=env._fscanf;var mb=env.___setErrNo;var nb=env._getpid;var ob=env.___ctype_tolower_loc;var pb=env._newlocale;var qb=env.___resumeException;var rb=env._freelocale;var sb=env._floor;var tb=env._pthread_once;var ub=env._localtime;var vb=env._stat;var wb=env._read;var xb=env._fwrite;var yb=env._time;var zb=env._fprintf;var Ab=env._gettimeofday;var Bb=env._catopen;var Cb=env._exit;var Db=env._readdir_r;var Eb=env._llvm_pow_f64;var Fb=env._getcwd;var Gb=env.___ctype_b_loc;var Hb=env._lseek;var Ib=env._vfprintf;var Jb=env._rmdir;var Kb=env.___cxa_allocate_exception;var Lb=env._asin;var Mb=env.___buildEnvironment;var Nb=env._pwrite;var Ob=env._localtime_r;var Pb=env._tzset;var Qb=env._open;var Rb=env._fabsf;var Sb=env._remove;var Tb=env._uselocale;var Ub=env.___errno_location;var Vb=env._strftime;var Wb=env._fseek;var Xb=env._getenv;var Yb=env._fclose;var Zb=env._floorf;var _b=env._sqrtf;var $b=env._pthread_cond_broadcast;var ac=env._recv;var bc=env._tan;var cc=env.__getFloat;var dc=env._abort;var ec=env._ceil;var fc=env._fopen;var gc=env.___cxa_pure_virtual;var hc=env._pthread_getspecific;var ic=env._pthread_cond_wait;var jc=env._sin;var kc=env._pthread_key_create;var lc=env._ungetc;var mc=env._emscripten_asm_const_int;var nc=env.__ZN10ScrollViewD1Ev;var oc=env._fflush;var pc=env._strftime_l;var qc=env._pthread_mutex_lock;var rc=env.__reallyNegative;var sc=env._catgets;var tc=env._fileno;var uc=env.__exit;var vc=env.__arraySum;var wc=env.__formatString;var xc=env._atan;var yc=env._pthread_mutex_unlock;var zc=env._pread;var Ac=env._mkport;var Bc=env._getc;var Cc=env.__scanString;var Dc=env._pthread_setspecific;var Ec=env._fgetc;var Fc=env._fputc;var Gc=env.___cxa_throw;var Hc=env._strerror;var Ic=env._fgets;var Jc=env._fputs;var Kc=env._sqrt;var Lc=env._pthread_mutex_init;var Mc=0.0; -// EMSCRIPTEN_START_FUNCS -function jd(a){a=a|0;var b=0;b=i;i=i+a|0;i=i+15&-16;return b|0}function kd(){return i|0}function ld(a){a=a|0;i=a}function md(a,b){a=a|0;b=b|0;if(!q){q=a;r=b}}function nd(b){b=b|0;a[k>>0]=a[b>>0];a[k+1>>0]=a[b+1>>0];a[k+2>>0]=a[b+2>>0];a[k+3>>0]=a[b+3>>0]}function od(b){b=b|0;a[k>>0]=a[b>>0];a[k+1>>0]=a[b+1>>0];a[k+2>>0]=a[b+2>>0];a[k+3>>0]=a[b+3>>0];a[k+4>>0]=a[b+4>>0];a[k+5>>0]=a[b+5>>0];a[k+6>>0]=a[b+6>>0];a[k+7>>0]=a[b+7>>0]}function pd(a){a=a|0;F=a}function qd(){return F|0}function rd(a){a=a|0;if(a)YEa(a);return}function sd(a){a=a|0;YEa(a);return}function td(a){a=a|0;if(a)YEa(a);return}function ud(a){a=a|0;if(a)YEa(a);return}function vd(a){a=a|0;var b=0;b=WEa(72)|0;wd(b,a);return b|0}function wd(b,e){b=b|0;e=e|0;wi(b,e);c[b>>2]=40944;e=d[e+68>>0]|d[e+69>>0]<<8|d[e+70>>0]<<16|d[e+71>>0]<<24;a[b+68>>0]=e;a[b+69>>0]=e>>8;a[b+70>>0]=e>>16;a[b+71>>0]=e>>24;return}function xd(a){a=a|0;Qc[c[(c[a>>2]|0)+8>>2]&511](a);return}function yd(a){a=a|0;Qc[c[(c[a>>2]|0)+12>>2]&511](a);return}function zd(a){a=a|0;return eD(a)|0}function Ad(a){a=a|0;Qc[c[(c[a>>2]|0)+16>>2]&511](a);return}function Bd(a,b){a=a|0;b=b|0;return bd[c[(c[a>>2]|0)+20>>2]&63](a,b)|0}function Cd(a,b){a=a|0;b=b|0;return bd[c[(c[a>>2]|0)+24>>2]&63](a,b)|0}function Dd(a,b,d){a=a|0;b=b|0;d=d|0;return Vc[c[(c[a>>2]|0)+28>>2]&63](a,b,d)|0}function Ed(a,b){a=a|0;b=b|0;return kD(a,b)|0}function Fd(b,c,d){b=b|0;c=c|0;d=d|0;a[b+32>>0]=c&1;a[b+33>>0]=d&1;return}function Gd(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return mD(a,b,c,d,e,f)|0}function Hd(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;return nD(a,b,c,d,e,f,g)|0}function Id(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return lD(a,b,c,d,e,f)|0}function Jd(a,b){a=a|0;b=b|0;return jD(a,b)|0}function Kd(a){a=a|0;return oD(c[(c[a+12>>2]|0)+24>>2]|0)|0}function Ld(a){a=a|0;return pD(a)|0}function Md(a,b){a=a|0;b=b|0;return qD(a,b)|0}function Nd(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return rD(a,b,c,d,e,f)|0}function Od(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return sD(a,b,c,d,e,f)|0}function Pd(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;tD(c[(c[(c[a+12>>2]|0)+24>>2]|0)+4>>2]|0,b,d,e,f);return}function Qd(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;uD(c[(c[a+12>>2]|0)+20>>2]|0,b,d,e,f);return}function Rd(b){b=b|0;return RH(a[b+68>>0]|0)|0}function Sd(a,b){a=a|0;b=b|0;return bd[c[(c[a>>2]|0)+32>>2]&63](a,b)|0}function Td(a,b){a=a|0;b=b|0;LB(a,b);return}function Ud(a,b){a=a|0;b=b|0;MB(a,b);return}function Vd(a,b){a=a|0;b=b|0;return +(+NB(a,b))}function Wd(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;return OB(a,b,c,d,e,f,g,h,i)|0}function Xd(a){a=a|0;return PB(c[(c[a+12>>2]|0)+16>>2]|0)|0}function Yd(a){a=a|0;return QB(a)|0}function Zd(a){a=a|0;return RB(c[(c[a+12>>2]|0)+16>>2]|0)|0}function _d(a){a=a|0;return SB(c[(c[a+12>>2]|0)+16>>2]|0)|0}function $d(a){a=a|0;return TB(c[(c[a+12>>2]|0)+16>>2]|0)|0}function ae(a){a=a|0;return UB(c[(c[a+12>>2]|0)+16>>2]|0)|0}function be(a,b){a=a|0;b=b|0;return VB(a,b)|0}function ce(a){a=a|0;return WB(c[(c[a+12>>2]|0)+16>>2]|0)|0}function de(a){a=a|0;return XB(a)|0}function ee(a,b){a=a|0;b=b|0;return YB(c[(c[a+12>>2]|0)+16>>2]|0,b)|0}function fe(a){a=a|0;return ZB(a)|0}function ge(a){a=a|0;return _B(a)|0}function he(a){a=a|0;return $B(a)|0}function ie(a){a=a|0;if(a)Qc[c[(c[a>>2]|0)+4>>2]&511](a);return}function je(a){a=a|0;if(a)YEa(a);return}function ke(a){a=a|0;if(a)YEa(a);return}function le(a){a=a|0;Qc[c[(c[a>>2]|0)+8>>2]&511](a);return}function me(a){a=a|0;Qc[c[(c[a>>2]|0)+12>>2]&511](a);return}function ne(a){a=a|0;return eD(a)|0}function oe(a){a=a|0;Qc[c[(c[a>>2]|0)+16>>2]&511](a);return}function pe(a,b){a=a|0;b=b|0;return bd[c[(c[a>>2]|0)+20>>2]&63](a,b)|0}function qe(a,b){a=a|0;b=b|0;return bd[c[(c[a>>2]|0)+24>>2]&63](a,b)|0}function re(a,b,d){a=a|0;b=b|0;d=d|0;return Vc[c[(c[a>>2]|0)+28>>2]&63](a,b,d)|0}function se(a,b){a=a|0;b=b|0;return kD(a,b)|0}function te(b,c,d){b=b|0;c=c|0;d=d|0;a[b+32>>0]=c&1;a[b+33>>0]=d&1;return}function ue(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return mD(a,b,c,d,e,f)|0}function ve(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;return nD(a,b,c,d,e,f,g)|0}function we(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return lD(a,b,c,d,e,f)|0}function xe(a,b){a=a|0;b=b|0;return jD(a,b)|0}function ye(a){a=a|0;return oD(c[(c[a+12>>2]|0)+24>>2]|0)|0}function ze(a){a=a|0;return pD(a)|0}function Ae(a,b){a=a|0;b=b|0;return qD(a,b)|0}function Be(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return rD(a,b,c,d,e,f)|0}function Ce(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return sD(a,b,c,d,e,f)|0}function De(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;tD(c[(c[(c[a+12>>2]|0)+24>>2]|0)+4>>2]|0,b,d,e,f);return}function Ee(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;uD(c[(c[a+12>>2]|0)+20>>2]|0,b,d,e,f);return}function Fe(a){a=a|0;if(a)Qc[c[(c[a>>2]|0)+4>>2]&511](a);return}function Ge(a){a=a|0;if(a)YEa(a);return}function He(a){a=a|0;if(a)YEa(a);return}function Ie(a){a=a|0;return c[a>>2]|0}function Je(a){a=a|0;return c[a+4>>2]|0}function Ke(a){a=a|0;return c[a+8>>2]|0}function Le(a){a=a|0;return c[a+12>>2]|0}function Me(a){a=a|0;return c[a+16>>2]|0}function Ne(a){a=a|0;if(a)YEa(a);return}function Oe(a){a=a|0;if(a)YEa(a);return}function Pe(a){a=a|0;var b=0;b=WEa(8)|0;aC(b,a);return b|0}function Qe(a){a=a|0;return cC(a)|0}function Re(a){a=a|0;return dC(c[a+4>>2]|0)|0}function Se(a){a=a|0;return +(+eC(c[a+4>>2]|0))}function Te(a){a=a|0;if(a){bC(c[a+4>>2]|0);YEa(a)}return}function Ue(a){a=a|0;if(a)YEa(a);return}function Ve(a){a=a|0;var b=0;b=WEa(8)|0;fC(b,a);return b|0}function We(a){a=a|0;return hC(a)|0}function Xe(a){a=a|0;return iC(a)|0}function Ye(a){a=a|0;return +(+jC(c[a+4>>2]|0))}function Ze(a){a=a|0;if(a){gC(c[a+4>>2]|0);YEa(a)}return}function _e(a){a=a|0;if(a)YEa(a);return}function $e(a,b){a=a|0;b=b|0;return af(a,b)|0}function af(a,b){a=a|0;b=b|0;if((b|0)<0?1:(c[a+20>>2]|0)<=(b|0))b=a+28|0;else b=(c[a+16>>2]|0)+(b<<2)|0;return c[b>>2]|0}function bf(a,b){a=a|0;b=b|0;return aO(a,b)|0}function cf(a){a=a|0;return c[a+20>>2]|0}function df(a){a=a|0;if(a){EN(a);YEa(a)}return}function ef(a){a=a|0;if(a)YEa(a);return}function ff(a){a=a|0;if(a)YEa(a);return}function gf(a){a=a|0;return c[a>>2]|0}function hf(a){a=a|0;return c[a+4>>2]|0}function jf(a){a=a|0;return +(+g[a+8>>2])}function kf(a){a=a|0;return +(+g[a+12>>2])}function lf(a){a=a|0;if(a)YEa(a);return}function mf(a){a=a|0;return c[a>>2]|0}function nf(a){a=a|0;return c[a+4>>2]|0}function of(a){a=a|0;return c[a+8>>2]|0}function pf(a){a=a|0;return c[a+12>>2]|0}function qf(a){a=a|0;if(a)YEa(a);return}function rf(a){a=a|0;return c[a>>2]|0}function sf(a){a=a|0;return c[a+4>>2]|0}function tf(a){a=a|0;return c[a+8>>2]|0}function uf(a){a=a|0;return c[a+12>>2]|0}function vf(a){a=a|0;if(a)YEa(a);return}function wf(a){a=a|0;return c[a>>2]|0}function xf(a){a=a|0;return c[a+4>>2]|0}function yf(a){a=a|0;return c[a+8>>2]|0}function zf(a){a=a|0;return c[a+12>>2]|0}function Af(a){a=a|0;return c[a+16>>2]|0}function Bf(a){a=a|0;if(a)YEa(a);return}function Cf(a){a=a|0;return c[a>>2]|0}function Df(a){a=a|0;return c[a+4>>2]|0}function Ef(a){a=a|0;return c[a+8>>2]|0}function Ff(a){a=a|0;return c[a+12>>2]|0}function Gf(a){a=a|0;return c[a+16>>2]|0}function Hf(a){a=a|0;return c[a+20>>2]|0}function If(a){a=a|0;return c[a+24>>2]|0}function Jf(a){a=a|0;return c[a+28>>2]|0}function Kf(a){a=a|0;return c[a+32>>2]|0}function Lf(a){a=a|0;return c[a+36>>2]|0}function Mf(a){a=a|0;return c[a+40>>2]|0}function Nf(a){a=a|0;return c[a+44>>2]|0}function Of(a){a=a|0;return c[a+48>>2]|0}function Pf(a){a=a|0;if(a)YEa(a);return}function Qf(a){a=a|0;if(a)YEa(a);return}function Rf(a){a=a|0;if(a)YEa(a);return}function Sf(){var a=0;a=WEa(88)|0;xi(a);return a|0}function Tf(a){a=a|0;return 248}function Uf(a){a=a|0;Bi();return}function Vf(a,b){a=a|0;b=b|0;Ci(a,b);return}function Wf(a){a=a|0;return rj(c[a+32>>2]|0)|0}function Xf(a,b){a=a|0;b=b|0;$i(a,b);return}function Yf(a){a=a|0;return qj(c[a+36>>2]|0)|0}function Zf(a){a=a|0;return tj(c[(c[a+16>>2]|0)+28>>2]|0)|0}function _f(a){a=a|0;return sj(c[a+4>>2]|0)|0}function $f(a,b){a=a|0;b=b|0;Di(a,b);return}function ag(a,b,c){a=a|0;b=b|0;c=c|0;return Ei(a,b,c)|0}function bg(a,b,c){a=a|0;b=b|0;c=c|0;return Fi(a,b,c)|0}function cg(a,b,c){a=a|0;b=b|0;c=c|0;return Gi(a,b,c)|0}function dg(a,b,c){a=a|0;b=b|0;c=c|0;return Hi(a,b,c)|0}function eg(a,b,c){a=a|0;b=b|0;c=c|0;return Ji(a,b,c)|0}function fg(a,b){a=a|0;b=b|0;return Ii(a,b)|0}function gg(a){a=a|0;hg(c[a+4>>2]|0);return}function hg(a){a=a|0;Ki(a,c[p>>2]|0);return}function ig(a,b,c){a=a|0;b=b|0;c=c|0;return jg(a,b,c)|0}function jg(a,b,c){a=a|0;b=b|0;c=c|0;return Li(a,b,c,3)|0}function kg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return lg(a,b,c,d)|0}function lg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Li(a,b,c,d)|0}function mg(a){a=a|0;return Mi(a)|0}function ng(a,b,c){a=a|0;b=b|0;c=c|0;return Ni(a,b,c)|0}function og(a){a=a|0;Oi(a);return}function pg(a,b){a=a|0;b=b|0;Pi(c[a+4>>2]|0,b);return}function qg(a,b){a=a|0;b=b|0;Qi(c[a+4>>2]|0,b);return}function rg(a,b){a=a|0;b=b|0;Ri(a,b);return}function sg(a){a=a|0;return Si(c[a+4>>2]|0)|0}function tg(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;return Ti(a,b,c,d,e,f,g,h)|0}function ug(a){a=a|0;Xi(a);return}function vg(a,b){a=a|0;b=b|0;_i(a,b);return}function wg(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Ui(a,b,c,d,e,f);return}function xg(a,b){a=a|0;b=b|0;Zi(c[a+16>>2]|0,b);return}function yg(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Vi(a,b,c,d,e);return}function zg(a){a=a|0;return bj(a)|0}function Ag(a,b){a=a|0;b=b|0;return cj(a,b)|0}function Bg(a,b,c){a=a|0;b=b|0;c=c|0;return Cg(a,b,c)|0}function Cg(a,b,c){a=a|0;b=b|0;c=c|0;return dj(a,0,0,b,c,0)|0}function Dg(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return dj(a,b,c,d,e,f)|0}function Eg(a,b,c){a=a|0;b=b|0;c=c|0;return fj(a,b,c)|0}function Fg(a,b){a=a|0;b=b|0;return gj(a,b)|0}function Gg(a,b){a=a|0;b=b|0;return hj(a,b)|0}function Hg(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Ig(a,b,c,d,e)|0}function Ig(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ej(a,b,c,0,0,d,e,0)|0}function Jg(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;return ej(a,b,c,d,e,f,g,h)|0}function Kg(a){a=a|0;return jj(c[a+16>>2]|0)|0}function Lg(a,b){a=a|0;b=b|0;kj(a,b);return}function Mg(a){a=a|0;return lj(a,0)|0}function Ng(a,b){a=a|0;b=b|0;return lj(a,b)|0}function Og(a,b){a=a|0;b=b|0;return oj(a,b)|0}function Pg(a,b){a=a|0;b=b|0;return pj(a)|0}function Qg(a){a=a|0;return ij(a)|0}function Rg(a){a=a|0;return Wi(a)|0}function Sg(a,b){a=a|0;b=b|0;return wj(a,b)|0}function Tg(a,b){a=a|0;b=b|0;return yj(a,b)|0}function Ug(a){a=a|0;return Aj(a)|0}function Vg(a){a=a|0;return Bj(a)|0}function Wg(a){a=a|0;return Cj(a)|0}function Xg(a,b,c){a=a|0;b=b|0;c=c|0;return Dj(a,b,c)|0}function Yg(a){a=a|0;Ej(a);return}function Zg(a){a=a|0;zi(a);return}function _g(a){a=a|0;Fj();return}function $g(a,b){a=a|0;b=b|0;return Gj(c[a+4>>2]|0,b)|0}function ah(a,b){a=a|0;b=b|0;return Hj(c[a+4>>2]|0,b)|0}function bh(a,b){a=a|0;b=b|0;return Jj(a,b)|0}function ch(a,b){a=a|0;b=b|0;return Kj(c[a+4>>2]|0,b)|0}function dh(a,b){a=a|0;b=b|0;return Lj(c[a+4>>2]|0,b)|0}function eh(a){a=a|0;return Mj(c[a+4>>2]|0)|0}function fh(a){a=a|0;return c[a+52>>2]|0}function gh(a){a=a|0;if(a)Qc[c[(c[a>>2]|0)+4>>2]&511](a);return}function hh(){var a=0;a=WEa(1956)|0;YGa(a|0,0,1956)|0;return a|0}function ih(a){a=a|0;xC(a);return}function jh(a){a=a|0;return a+1940|0}function kh(a){a=a|0;return c[a+1936>>2]|0}function lh(a){a=a|0;if(a)YEa(a);return}function mh(a){a=a|0;return c[a>>2]|0}function nh(a){a=a|0;return c[a+4>>2]|0}function oh(a){a=a|0;return c[a+8>>2]|0}function ph(a){a=a|0;return c[a+12>>2]|0}function qh(a){a=a|0;return c[a+16>>2]|0}function rh(a){a=a|0;if(a)YEa(a);return}function sh(){return 0}function th(){return 1}function uh(){return 2}function vh(){return 3}function wh(){return 4}function xh(){return 0}function yh(){return 1}function zh(){return 2}function Ah(){return 3}function Bh(){return 0}function Ch(){return 1}function Dh(){return 2}function Eh(){return 0}function Fh(){return 1}function Gh(){return 2}function Hh(){return 3}function Ih(){return 4}function Jh(){return 5}function Kh(){return 6}function Lh(){return 7}function Mh(){return 8}function Nh(){return 9}function Oh(){return 10}function Ph(){return 11}function Qh(){return 12}function Rh(){return 13}function Sh(){return 14}function Th(){return 15}function Uh(){return 0}function Vh(){return 1}function Wh(){return 2}function Xh(){return 3}function Yh(){return 0}function Zh(){return 1}function _h(){return 2}function $h(){return 3}function ai(){return 0}function bi(){return 1}function ci(){return 2}function di(){return 0}function ei(){return 1}function fi(){return 2}function gi(){return 3}function hi(){return 0}function ii(){return 1}function ji(){return 2}function ki(){return 3}function li(){return 4}function mi(){return 5}function ni(){return 6}function oi(){return 7}function pi(){return 8}function qi(){return 9}function ri(){return 10}function si(){return 11}function ti(){return 12}function ui(){return 13}function vi(){return 14}function wi(a,b){a=a|0;b=b|0;var d=0;$C(a,b);c[a>>2]=36240;d=c[b+64>>2]|0;c[a+60>>2]=c[b+60>>2];c[a+64>>2]=d;return}function xi(b){b=b|0;var d=0,e=0;c[b>>2]=232;d=b+4|0;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));c[b+52>>2]=3;a[b+56>>0]=0;c[b+60>>2]=0;c[b+64>>2]=0;c[b+68>>2]=0;c[b+72>>2]=0;c[b+76>>2]=0;c[b+80>>2]=0;c[b+84>>2]=0;return}function yi(a){a=a|0;c[a>>2]=232;zi(a);return}function zi(a){a=a|0;var b=0;b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}b=c[a+28>>2]|0;if(b){Oj(b);YEa(b);c[a+28>>2]=0}b=c[a+24>>2]|0;if(b){KL(b,222);YEa(b);c[a+24>>2]=0}b=c[a+20>>2]|0;if(b){Pj(b);b=c[a+20>>2]|0;if(b){Qj(b);YEa(b)}c[a+20>>2]=0}b=c[a+4>>2]|0;if(!b)b=c[a+8>>2]|0;else{Qc[c[(c[b>>2]|0)+4>>2]&511](b);b=c[a+8>>2]|0;if((b|0)==(c[a+4>>2]|0)){c[a+8>>2]=0;b=0}c[a+4>>2]=0}if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+8>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+32>>2]|0;if(b){RM(c[b>>2]|0);YEa(b);c[a+32>>2]=0}if(c[a+36>>2]|0){cp(a+36|0);c[a+36>>2]=0}b=c[a+40>>2]|0;if(b){RM(c[b>>2]|0);YEa(b);c[a+40>>2]=0}b=c[a+44>>2]|0;if(b){RM(c[b>>2]|0);YEa(b);c[a+44>>2]=0}b=c[a+48>>2]|0;if(b){RM(c[b>>2]|0);YEa(b);c[a+48>>2]=0}return}function Ai(a){a=a|0;c[a>>2]=232;zi(a);YEa(a);return}function Bi(){var a=0;a=i;i=i+16|0;jN(256,a);i=a;return}function Ci(a,b){a=a|0;b=b|0;var d=0;d=c[a+32>>2]|0;if(!d){d=WEa(4)|0;PM(d,b);c[a+32>>2]=d}else fN(d,b);return}function Di(a,b){a=a|0;b=b|0;var d=0;d=c[a+40>>2]|0;if(!d){d=WEa(4)|0;PM(d,b);c[a+40>>2]=d}else fN(d,b);return}function Ei(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a+4>>2]|0;if(!e){e=WEa(13e3)|0;hJ(e);c[a+4>>2]=e}return nM(b,d,3,e+364|0)|0}function Fi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a+4>>2]|0;if(!e){e=WEa(13e3)|0;hJ(e);c[a+4>>2]=e}return nM(b,d,1,e+364|0)|0}function Gi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=kM()|0;b=Rj(b,e,(c[a+4>>2]|0)+364|0)|0;if(!b)b=0;else{c[d>>2]=c[b+12>>2];b=1}return b|0}function Hi(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=(kM()|0)+20|0;d=Sj(d,f,(c[b+4>>2]|0)+384|0)|0;if(!d)d=0;else{a[e>>0]=(a[d+10>>0]|0)!=0&1;d=1}return d|0}function Ii(a,b){a=a|0;b=b|0;var d=0;d=(kM()|0)+40|0;b=Tj(b,d,(c[a+4>>2]|0)+404|0)|0;if(!b)b=0;else b=VM(c[b+12>>2]|0)|0;return b|0}function Ji(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=(kM()|0)+60|0;b=Uj(b,e,(c[a+4>>2]|0)+424|0)|0;if(!b)b=0;else{h[d>>3]=+h[b+16>>3];b=1}return b|0}function Ki(a,b){a=a|0;b=b|0;oM(b,a+364|0);return}function Li(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;j=(e|0)==0?42176:e;a:do if(!(c[b+4>>2]|0))i=12;else{e=c[b+44>>2]|0;do if((((e|0)!=0?(c[b+48>>2]|0)!=0:0)?($M(e,d)|0)<<24>>24==0:0)?(c[b+52>>2]|0)==(f|0):0){if(($M(c[b+48>>2]|0,j)|0)<<24>>24!=0?($M((c[b+4>>2]|0)+12|0,j)|0)<<24>>24!=0:0)break;if(!(c[b+4>>2]|0)){i=12;break a}else{g=b+44|0;h=1;i=16;break a}}while(0);e=c[b+4>>2]|0;if(e)Qc[c[(c[e>>2]|0)+4>>2]&511](e);c[b+4>>2]=0;i=12}while(0);if((i|0)==12){g=WEa(13e3)|0;hJ(g);c[b+4>>2]=g;e=c[b+40>>2]|0;if(!e)e=0;else e=VM(c[e>>2]|0)|0;if(!(FI(g,d,e,j,f)|0)){g=b+44|0;h=0;i=16}else e=-1}if((i|0)==16){e=c[g>>2]|0;if(!e){e=WEa(4)|0;PM(e,d);c[g>>2]=e}else{fN(e,d);e=c[g>>2]|0}if((a[(VM(c[e>>2]|0)|0)>>0]|0)==0?(a[(VM(c[(c[b+4>>2]|0)+4>>2]|0)|0)>>0]|0)!=0:0)aN(c[g>>2]|0,(c[b+4>>2]|0)+4|0);e=c[b+48>>2]|0;if(!e){d=WEa(4)|0;PM(d,j);c[b+48>>2]=d}else fN(e,j);c[b+52>>2]=f;if(h){mJ(c[b+4>>2]|0);e=0}else e=0}return e|0}function Mi(a){a=a|0;var b=0;b=c[a+48>>2]|0;if((b|0)!=0?(VM(c[b>>2]|0)|0)!=0:0)b=VM(c[c[a+48>>2]>>2]|0)|0;else b=1714496;return b|0}function Ni(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a+4>>2]|0;if(!e){e=WEa(13e3)|0;hJ(e);c[a+4>>2]=e}else{pM(e+364|0);e=c[a+4>>2]|0}return II(e,b,d)|0}function Oi(a){a=a|0;var b=0;if(!(c[a+4>>2]|0)){b=WEa(13e3)|0;hJ(b);c[a+4>>2]=b;upa(b,0)}return}function Pi(a,b){a=a|0;b=b|0;CI(a,b,3);return}function Qi(a,b){a=a|0;b=b|0;CI(a,b,1);return}function Ri(a,b){a=a|0;b=b|0;var d=0;d=c[a+4>>2]|0;if(!d){d=WEa(13e3)|0;hJ(d);c[a+4>>2]=d}c[d+5260>>2]=b;return}function Si(a){a=a|0;if(!a)a=6;else a=c[a+5260>>2]|0;return a|0}function Ti(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;if((c[a+4>>2]|0)==0|(h|0)<10|(i|0)<10)e=0;else{Ui(a,b,(e<<3|0)/(((d|0)==0?1:d<<3)|0)|0,i+g|0,d,e);Vi(a,f,g,h,i);e=Wi(a)|0}return e|0}function Ui(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if(Yi(a)|0)qK(c[a+16>>2]|0,b,d,e,f,g);return}function Vi(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=c[a+16>>2]|0;if(g){lK(g,b,d,e,f);aj(a)}return}function Wi(b){b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+16|0;do if(!(c[b+4>>2]|0))b=0;else{if((a[b+56>>0]|0)==0?(oj(b,0)|0)<0:0){b=0;break}PM(f,1714496);d=ij(b)|0;do if(!(jD(d,1)|0)){e=bd[c[(c[d>>2]|0)+32>>2]&63](d,1)|0;dN(f,e);ZEa(e)}while(bd[c[(c[d>>2]|0)+20>>2]&63](d,1)|0);b=(SM(f)|0)+1|0;b=XEa((b|0)>-1?b:-1)|0;e=c[f>>2]|0;g=VM(e)|0;RGa(b|0,g|0,(SM(f)|0)+1|0)|0;if(d)Qc[c[(c[d>>2]|0)+4>>2]&511](d);RM(e)}while(0);i=f;return b|0}function Xi(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(b){mJ(b);nJ(c[a+4>>2]|0)}return}function Yi(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;if(!(c[a+4>>2]|0)){jN(1128,b);a=0}else{if(!(c[a+16>>2]|0)){d=WEa(52)|0;kK(d);c[a+16>>2]=d}aj(a);a=1}i=b;return a|0}function Zi(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if(!a)jN(304,d);else{c[a+28>>2]=b;c[a+32>>2]=b}i=d;return}function _i(a,b){a=a|0;b=b|0;if(Yi(a)|0)rK(c[a+16>>2]|0,b);$i(a,b);return}function $i(a,b){a=a|0;b=b|0;if(c[a+36>>2]|0)cp(a+36|0);c[a+36>>2]=0;if(b)c[a+36>>2]=tp(0,b)|0;return}function aj(b){b=b|0;var d=0;d=c[b+4>>2]|0;if(d)jJ(d);d=c[b+28>>2]|0;if(d){Oj(d);YEa(d);c[b+28>>2]=0}a[b+56>>0]=0;d=c[b+24>>2]|0;if(!d){d=WEa(4)|0;c[d>>2]=0;c[b+24>>2]=d}else KL(d,222);d=c[b+20>>2]|0;if(d){Pj(d);d=c[b+20>>2]|0;if(d){Qj(d);YEa(d)}c[b+20>>2]=0}return}function bj(a){a=a|0;var b=0,d=0;d=c[a+4>>2]|0;if((d|0)!=0?(c[a+16>>2]|0)!=0:0){b=c[d+10280>>2]|0;if(!b){b=c[(c[a>>2]|0)+8>>2]|0;jJ(d);Rc[b&63](a,d+10280|0);b=c[(c[a+4>>2]|0)+10280>>2]|0}b=rp(b)|0}else b=0;return b|0}function cj(a,b){a=a|0;b=b|0;return Ig(a,0,0,b,0)|0}function dj(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ej(a,2,1,b,c,d,e,f)|0}function ej(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+16|0;l=ij(b)|0;if(!l)s=lj(b,0)|0;else s=l;if(!s)l=0;else{if(f){r=WEa(40)|0;c[r>>2]=1672;c[r+4>>2]=s;a[r+8>>0]=2;a[r+9>>0]=0;a[r+10>>0]=0;a[r+11>>0]=0;a[r+12>>0]=0;a[r+13>>0]=0;a[r+14>>0]=0;a[r+15>>0]=0;c[r+16>>2]=d;c[r+20>>2]=g;c[r+24>>2]=u+12;c[r+28>>2]=u+8;c[r+32>>2]=u+4;c[r+36>>2]=u}else{r=WEa(36)|0;c[r>>2]=1488;c[r+4>>2]=s;a[r+8>>0]=4;a[r+9>>0]=0;a[r+10>>0]=0;a[r+11>>0]=0;a[r+12>>0]=0;a[r+13>>0]=0;a[r+14>>0]=0;a[r+15>>0]=0;c[r+16>>2]=d;c[r+20>>2]=u+12;c[r+24>>2]=u+8;c[r+28>>2]=u+4;c[r+32>>2]=u}t=s+12|0;l=0;while(1){do if(Tc[c[(c[r>>2]|0)+8>>2]&127](r)|0){if(e?!(Zj(oD(c[(c[t>>2]|0)+24>>2]|0)|0)|0):0){m=l;break}m=l+1|0}else m=l;while(0);if(bd[c[(c[s>>2]|0)+20>>2]&63](s,d)|0)l=m;else break}l=Nl(m)|0;if(h)c[h>>2]=Hq(m)|0;if(j)c[j>>2]=XEa(m>>>0>1073741823?-1:m<<2)|0;if(k)c[k>>2]=XEa(m>>>0>1073741823?-1:m<<2)|0;Qc[c[(c[s>>2]|0)+8>>2]&511](s);m=0;q=0;n=0;while(1){do if(Tc[c[(c[r>>2]|0)+8>>2]&127](r)|0){if(e?!(Zj(oD(c[(c[t>>2]|0)+24>>2]|0)|0)|0):0){p=q;break}p=c[u+12>>2]|0;o=c[u+8>>2]|0;o=Fl(p,o,(c[u+4>>2]|0)-p|0,(c[u>>2]|0)-o|0)|0;Ql(l,o,0);if(h){if(f)p=rD(s,d,g,c[b+36>>2]|0,u+12|0,u+8|0)|0;else p=qD(s,d)|0;Iq(c[h>>2]|0,p,0);Jq(c[h>>2]|0,o)}if(k){c[(c[k>>2]|0)+(q<<2)>>2]=n;n=((Vc[c[(c[s>>2]|0)+28>>2]&63](s,1,d)|0)&1)+n|0}if(j){c[(c[j>>2]|0)+(q<<2)>>2]=m;p=Vc[c[(c[s>>2]|0)+28>>2]&63](s,0,d)|0;m=(p&1)+m|0;n=p?0:n}p=q+1|0}else p=q;while(0);if(bd[c[(c[s>>2]|0)+20>>2]&63](s,d)|0)q=p;else break}Qc[c[(c[s>>2]|0)+4>>2]&511](s);Qc[c[(c[r>>2]|0)+4>>2]&511](r)}i=u;return l|0}function fj(a,b,c){a=a|0;b=b|0;c=c|0;return Ig(a,2,0,b,c)|0}function gj(a,b){a=a|0;b=b|0;return Ig(a,3,1,b,0)|0}function hj(a,b){a=a|0;b=b|0;return Ig(a,4,1,b,0)|0}function ij(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=i;i=i+80|0;b=c[a+4>>2]|0;if((b|0)!=0?(d=c[a+28>>2]|0,(d|0)!=0):0){f=c[a+16>>2]|0;g=c[f+24>>2]|0;f=ba(c[f+28>>2]|0,g)|0;HB(e,d,b,g,f,c[a+64>>2]|0,c[a+68>>2]|0,c[a+72>>2]|0,c[a+76>>2]|0);b=QH(e)|0;IB(e)}else b=0;i=e;return b|0}function jj(a){a=a|0;if(!a)a=0;else a=c[a+24>>2]|0;return a|0}function kj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;if(c[a+4>>2]|0){h=fc(b|0,377008)|0;e=c[(c[a+4>>2]|0)+10280>>2]|0;f=Cp(e)|0;g=up(e)|0;a=vp(e)|0;c[j>>2]=f;c[j+4>>2]=g;zb(h|0,360,j|0)|0;if((g|0)>0){d=0;do{if((f|0)>0){b=0;do{Fc(((c[a+(b>>5<<2)>>2]&1<<(b&31^31)|0)==0)<<31>>31|0,h|0)|0;b=b+1|0}while((b|0)!=(f|0))}d=d+1|0;a=a+((bp(e)|0)<<2)|0}while((d|0)!=(g|0))}Yb(h|0)|0}i=j;return}function lj(a,b){a=a|0;b=b|0;var d=0,e=0;if((mj(a)|0)==0?(d=c[a+24>>2]|0,(c[d>>2]|0)!=0):0){e=WEa(60)|0;Tfa(e,b,d,0);c[a+28>>2]=e;nj(a,0);d=WEa(60)|0;b=c[a+16>>2]|0;e=c[b+24>>2]|0;b=ba(c[b+28>>2]|0,e)|0;XC(d,c[a+28>>2]|0,c[a+4>>2]|0,e,b,c[a+64>>2]|0,c[a+68>>2]|0,c[a+72>>2]|0,c[a+76>>2]|0)}else d=0;return d|0}function mj(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+1968|0;d=c[b+16>>2]|0;do if((d|0)!=0?!(pK(c[d+4>>2]|0)|0):0){if(a[b+56>>0]|0)aj(b);if(!(c[c[b+24>>2]>>2]|0)){d=c[b+4>>2]|0;if(!d){d=WEa(13e3)|0;hJ(d);c[b+4>>2]=d;upa(d,0);d=c[b+4>>2]|0}e=d+10280|0;f=c[e>>2]|0;if(!f){f=c[(c[b>>2]|0)+8>>2]|0;jJ(d);Rc[f&63](b,e);d=c[(c[b+4>>2]|0)+10280>>2]|0}else d=f;if((Cp(d)|0)<=32767?(up(c[(c[b+4>>2]|0)+10280>>2]|0)|0)<=32767:0){pJ(c[b+4>>2]|0);e=c[b+4>>2]|0;if(a[e+9426>>0]|0){d=c[b+12>>2]|0;if(!d){d=c[b+44>>2]|0;if(!d)d=0;else{f=WEa(52)|0;bz(f,VM(c[d>>2]|0)|0,0);c[b+12>>2]=f;e=c[b+4>>2]|0;d=f}}lJ(e,d);e=c[b+4>>2]|0}d=c[b+8>>2]|0;YGa(h+8|0,0,1956)|0;f=c[e+5260>>2]|0;do if(((f|0)<2|(f|0)==12)&(d|0)==0){if(!(HGa(VM(c[c[b+48>>2]>>2]|0)|0,1296)|0)){d=c[b+4>>2]|0;break}f=WEa(13e3)|0;hJ(f);c[b+8>>2]=f;if(!(FI(f,VM(c[c[b+44>>2]>>2]|0)|0,0,1296,0)|0)){d=c[b+8>>2]|0;c[d+10296>>2]=c[(c[b+16>>2]|0)+28>>2];break}jN(1304,h);d=c[b+8>>2]|0;if(d)Qc[c[(c[d>>2]|0)+4>>2]&511](d);c[b+8>>2]=0;d=0}while(0);zD(c[b+4>>2]|0,c[b+32>>2]|0,c[b+24>>2]|0,d,h+8|0);qJ(c[b+4>>2]|0,c[b+24>>2]|0);d=0;break}f=Cp(c[(c[b+4>>2]|0)+10280>>2]|0)|0;d=up(c[(c[b+4>>2]|0)+10280>>2]|0)|0;c[h>>2]=f;c[h+4>>2]=d;jN(1264,h);d=-1}else d=0}else g=3;while(0);if((g|0)==3){jN(376,h);d=-1}i=h;return d|0}function nj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+32|0;c[f+20>>2]=0;Gi(a,48032,f+20|0)|0;if(!(c[a+20>>2]|0)){e=WEa(20)|0;_j(e);c[a+20>>2]=e}d=vj(a)|0;e=c[f+20>>2]|0;do{_j(f);_E(e,b,d,f);$j(c[a+20>>2]|0,f);Qj(f)}while(bd[c[(c[d>>2]|0)+20>>2]&63](d,0)|0);if(d)Qc[c[(c[d>>2]|0)+4>>2]&511](d);i=f;return}function oj(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;g=i;i=i+16|0;do if((c[b+4>>2]|0)!=0?(mj(b)|0)==0:0){e=c[b+28>>2]|0;if(e){Oj(e);YEa(e)}e=c[b+24>>2]|0;if(!(c[e>>2]|0)){d=WEa(60)|0;Tfa(d,0,e,(c[b+4>>2]|0)+5136|0);c[b+28>>2]=d;e=0;break}oJ(c[b+4>>2]|0);a[b+56>>0]=1;e=c[b+4>>2]|0;do if(!(a[e+5194>>0]|0))if(!(a[e+5178>>0]|0)){f=WEa(60)|0;Tfa(f,0,c[b+24>>2]|0,e+5136|0);c[b+28>>2]=f;break}else{f=Uu(e,c[b+32>>2]|0,0,c[b+24>>2]|0)|0;c[b+28>>2]=f;break}else{f=Uu(e,c[b+32>>2]|0,1,c[b+24>>2]|0)|0;c[b+28>>2]=f}while(0);e=c[b+4>>2]|0;if(a[e+5226>>0]|0){ev(e,f);e=0;break}if(c[b+60>>2]|0){a[e+4994>>0]=1;h=WEa(60)|0;j=c[b+16>>2]|0;k=c[j+24>>2]|0;j=ba(c[j+28>>2]|0,k)|0;XC(h,f,e,k,j,c[b+64>>2]|0,c[b+68>>2]|0,c[b+72>>2]|0,c[b+76>>2]|0);f=c[b+60>>2]|0;e=c[b+4>>2]|0;Oc[c[(c[f>>2]|0)+8>>2]&7](f,(c[e+2776>>2]|0)+184|0,c[b+84>>2]|0,h,c[e+10288>>2]|0);Qc[c[(c[h>>2]|0)+4>>2]&511](h);e=c[b+4>>2]|0}if(a[e+9202>>0]|0){e=c[b+28>>2]|0;if(e){Oj(e);YEa(e)}c[b+28>>2]=0;e=-1;break}if(a[e+5210>>0]|0){NM(g);Cqa(c[b+40>>2]|0,g);fv(c[b+4>>2]|0,g,c[b+28>>2]|0);RM(c[g>>2]|0);e=0;break}if(a[e+5378>>0]|0){e=pH(e,c[b+32>>2]|0)|0;rH(c[b+4>>2]|0,c[b+32>>2]|0,c[b+28>>2]|0,e);Yb(e|0)|0;e=0;break}a[g+4>>0]=1;Hi(b,48088,g+4|0)|0;f=(a[g+4>>0]|0)==0;if(f)nj(b,0);e=(cw(c[b+4>>2]|0,c[b+28>>2]|0,d)|0)^1;if(f|e)e=e<<31>>31;else{nj(b,1);e=0}}else e=-1;while(0);i=g;return e|0}function pj(b){b=b|0;var d=0,e=0,f=0;e=i;i=i+144|0;a:do if(!(c[b+4>>2]|0))d=-1;else{d=c[b+16>>2]|0;if((d|0)!=0?!(pK(c[d+4>>2]|0)|0):0){if(c[b+28>>2]|0)aj(b);if(mj(b)|0){d=-1;break}d=c[b+4>>2]|0;if(a[d+9202>>0]|0){d=-1;break}a[b+56>>0]=1;f=WEa(60)|0;Tfa(f,0,c[b+24>>2]|0,d+5136|0);c[b+28>>2]=f;ak(e,f);d=c[e+16>>2]|0;if(!d){d=0;break}while(1){bk(e+124|0);av(c[b+4>>2]|0,e+124|0,c[(c[e+24>>2]|0)+4>>2]|0,c[(c[e+20>>2]|0)+4>>2]|0,d);ck(e)|0;dk(e+124|0);d=c[e+16>>2]|0;if(!d){d=0;break a}}}jN(376,e);d=-1}while(0);i=e;return d|0}function qj(a){a=a|0;return a|0}function rj(a){a=a|0;if(!a)a=0;else a=WM(c[a>>2]|0)|0;return a|0}function sj(a){a=a|0;return WM(c[a+4>>2]|0)|0}function tj(a){a=a|0;return a|0}function uj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=c[a+4>>2]|0;if((b|0)!=0?(d=c[a+28>>2]|0,(d|0)!=0):0){e=WEa(68)|0;f=c[a+16>>2]|0;g=c[f+24>>2]|0;f=ba(c[f+28>>2]|0,g)|0;HB(e,d,b,g,f,c[a+64>>2]|0,c[a+68>>2]|0,c[a+72>>2]|0,c[a+76>>2]|0);b=e}else b=0;return b|0}function vj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=c[a+4>>2]|0;if((b|0)!=0?(d=c[a+28>>2]|0,(d|0)!=0):0){e=WEa(72)|0;f=c[a+16>>2]|0;g=c[f+24>>2]|0;f=ba(c[f+28>>2]|0,g)|0;hk(e,d,b,g,f,c[a+64>>2]|0,c[a+68>>2]|0,c[a+72>>2]|0,c[a+76>>2]|0);b=e}else b=0;return b|0}function wj(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+48|0;do if(!(c[b+4>>2]|0))e=0;else{if((c[b+28>>2]|0)==0?(oj(b,0)|0)<0:0){e=0;break}a[q+41>>0]=0;Hi(b,49688,q+41|0)|0;PM(q+4|0,1714496);if(!(c[b+32>>2]|0))Ci(b,0);cN(q+4|0,432,d+1|0);dN(q+4|0,472);e=c[b+32>>2]|0;if(!e)dN(q+4|0,496);else{xj(q+16|0,VM(c[e>>2]|0)|0);bN(q+4|0,q+16|0);RM(c[q+16>>2]|0)}cN(q+4|0,504,c[b+64>>2]|0);cN(q+4|0,1701816,c[b+68>>2]|0);cN(q+4|0,1701816,c[b+72>>2]|0);cN(q+4|0,1701816,c[b+76>>2]|0);cN(q+4|0,520,d);dN(q+4|0,536);p=ij(b)|0;n=(a[q+41>>0]|0)==0;o=1;b=1;e=1;f=1;a:while(1){m=b;while(1){while(1){if(jD(p,0)|0)break a;l=jD(p,3)|0;b=c[p>>2]|0;if(!l)break;bd[c[b+20>>2]&63](p,3)|0}if(bd[c[b+24>>2]&63](p,0)|0){cN(q+4|0,544,d+1|0);cN(q+4|0,584,o);ik(p,0,q+4|0)}if(bd[c[(c[p>>2]|0)+24>>2]&63](p,1)|0){if(RH(a[p+68>>0]|0)|0){cN(q+4|0,592,d+1|0);cN(q+4|0,584,e)}else{cN(q+4|0,640,d+1|0);cN(q+4|0,584,e)}ik(p,1,q+4|0)}if(bd[c[(c[p>>2]|0)+24>>2]&63](p,2)|0){cN(q+4|0,688,d+1|0);cN(q+4|0,584,m);ik(p,2,q+4|0)}cN(q+4|0,728,d+1|0);cN(q+4|0,584,f);mD(p,3,q+36|0,q+32|0,q,q+12|0)|0;b=OB(p,q+40|0,q+46|0,q+42|0,q+45|0,q+44|0,q+43|0,q+28|0,q+20|0)|0;cN(q+4|0,768,c[q+36>>2]|0);cN(q+4|0,1701816,c[q+32>>2]|0);cN(q+4|0,1701816,c[q>>2]|0);cN(q+4|0,1701816,c[q+12>>2]|0);cN(q+4|0,784,~~+NB(p,3));if(!n){dN(q+4|0,800);xj(q+24|0,b);bN(q+4|0,q+24|0);RM(c[q+24>>2]|0);cN(q+4|0,816,c[q+28>>2]|0)}dN(q+4|0,34664);if(PB(c[(c[p+12>>2]|0)+16>>2]|0)|0){dN(q+4|0,832);dN(q+4|0,PB(c[(c[p+12>>2]|0)+16>>2]|0)|0);dN(q+4|0,34664)}b=QB(p)|0;if((b|0)==1)dN(q+4|0,840);else if((b|0)==2)dN(q+4|0,856);dN(q+4|0,872);b=Vc[c[(c[p>>2]|0)+28>>2]&63](p,2,3)|0;k=Vc[c[(c[p>>2]|0)+28>>2]&63](p,1,3)|0;l=Vc[c[(c[p>>2]|0)+28>>2]&63](p,0,3)|0;g=(a[q+40>>0]|0)==0;if(!g)dN(q+4|0,880);h=(a[q+46>>0]|0)==0;if(!h)dN(q+4|0,896);do{j=bd[c[(c[p>>2]|0)+32>>2]&63](p,4)|0;if((j|0)!=0?(a[j>>0]|0)!=0:0){xj(q+8|0,j);bN(q+4|0,q+8|0);RM(c[q+8>>2]|0)}ZEa(j);bd[c[(c[p>>2]|0)+20>>2]&63](p,4)|0;if(jD(p,0)|0)break}while(!(bd[c[(c[p>>2]|0)+24>>2]&63](p,3)|0));if(!h)dN(q+4|0,904);if(!g)dN(q+4|0,912);dN(q+4|0,928);f=f+1|0;if(b){dN(q+4|0,944);b=m+1|0}else b=m;if(k){dN(q+4|0,960);e=e+1|0}if(l)break;else m=b}dN(q+4|0,976);o=o+1|0}dN(q+4|0,992);e=(SM(q+4|0)|0)+1|0;e=XEa((e|0)>-1?e:-1)|0;$Ga(e|0,VM(c[q+4>>2]|0)|0)|0;if(p)Qc[c[(c[p>>2]|0)+4>>2]&511](p);RM(c[q+4>>2]|0)}while(0);i=q;return e|0}function xj(b,c){b=b|0;c=c|0;var d=0;NM(b);d=a[c>>0]|0;a:do if(d<<24>>24)while(1){switch(d<<24>>24|0){case 38:{dN(b,1416);break}case 62:{dN(b,1408);break}case 60:{dN(b,1400);break}case 34:{dN(b,1424);break}case 39:{dN(b,1432);break}default:hN(b,d)}c=c+1|0;d=a[c>>0]|0;if(!(d<<24>>24))break a}while(0);return}function yj(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=i;i=i+48|0;do if(!(c[b+4>>2]|0))e=0;else{if((a[b+56>>0]|0)==0?(oj(b,0)|0)<0:0){e=0;break}l=zj(b,o+40|0)|0;l=((c[o+40>>2]|0)*31|0)+l|0;e=XEa((l+136|0)>-1?l+136|0:-1)|0;a[e>>0]=0;m=uj(b)|0;f=0;do if(mD(m,4,o+36|0,o+32|0,o+28|0,o+24|0)|0){k=KB(m)|0;j=0;while(1){g=k+j|0;h=a[g>>0]|0;if(!(h<<24>>24))break;else if(h<<24>>24==32)a[g>>0]=126;j=j+1|0}j=e+f|0;q=c[o+36>>2]|0;h=c[b+84>>2]|0;p=h-(c[o+24>>2]|0)|0;g=c[o+28>>2]|0;h=h-(c[o+32>>2]|0)|0;c[o>>2]=k;c[o+4>>2]=q;c[o+8>>2]=p;c[o+12>>2]=g;c[o+16>>2]=h;c[o+20>>2]=d;wGa(j,l+136-f|0,1008,o)|0;f=(SGa(j|0)|0)+f|0;ZEa(k);if((f|0)>(l|0)){n=12;break}}while(bd[c[(c[m>>2]|0)+20>>2]&63](m,4)|0);if((n|0)==12?(m|0)==0:0)break;Qc[c[(c[m>>2]|0)+4>>2]&511](m)}while(0);i=o;return e|0}function zj(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+128|0;if((c[a+4>>2]|0)!=0?(e=c[a+28>>2]|0,(e|0)!=0):0){ak(j,e);_ga(j,0);e=c[j+16>>2]|0;if(!e){a=0;e=2}else{g=e;a=0;e=2;do{f=c[g+140>>2]|0;if(f){a=a+2+(c[f+28>>2]|0)|0;e=e+2+(SM(jk(f)|0)|0)|0;h=g+216|0;if((b[h>>1]|0)>0){f=g+212|0;g=0;do{e=((oja(kk(f,g&65535)|0)|0)<<24>>24!=0&1)+e|0;g=g+1|0}while((g|0)<(b[h>>1]|0))}}ck(j)|0;g=c[j+16>>2]|0}while((g|0)!=0)}if(d)c[d>>2]=a}else e=0;i=j;return e|0}function Aj(d){d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+160|0;do if(!(c[d+4>>2]|0))e=0;else{if((a[d+56>>0]|0)==0?(oj(d,0)|0)<0:0){e=0;break}e=zj(d,0)|0;ak(s,c[d+28>>2]|0);e=XEa((e|0)>-1?e:-1)|0;_ga(s,0);f=c[s+16>>2]|0;if(!f)f=e;else{q=f;l=1;k=0;f=e;j=0;while(1){g=c[q+240>>2]|0;do if((g|0)==3){h=l;g=k}else if(!g){UC(c[d+4>>2]|0,q);o=q+140|0;n=VM(c[(jk(c[o>>2]|0)|0)>>2]|0)|0;o=lk(c[o>>2]|0)|0;p=SM(o)|0;if((k?(a[(c[q+4>>2]|0)+8>>0]|0)==0:0)?(a[n>>0]|0)==32:0){j=1;h=a[(XM(c[o>>2]|0,0)|0)>>0]|0}else{j=0;h=0}if((j|0)<(p|0)?(a[n+h>>0]|0)!=0:0){if(!l){a[f>>0]=32;f=f+1|0}m=q+212|0;l=j;k=h;do{j=n+k|0;h=a[j>>0]|0;do if(!(h<<24>>24==126|h<<24>>24==32)){if((oja(kk(m,l&65535)|0)|0)<<24>>24){a[f>>0]=94;f=f+1|0}lN(s+124|0,j,a[(XM(c[o>>2]|0,l)|0)>>0]|0);j=nN(s+124|0)|0;g=0;while(1){h=g+1|0;if((c[1032+(g<<2)>>2]|0)==(j|0)){r=32;break}if((h|0)==7)break;else g=h}if((r|0)==32){r=0;j=c[1064+(g<<2)>>2]|0}if((j|0)<256){a[f>>0]=j;g=0;f=f+1|0;break}else{a[f>>0]=126;g=1;f=f+1|0;break}}else{a[f>>0]=126;g=1;f=f+1|0}while(0);j=l;l=l+1|0;k=(a[(XM(c[o>>2]|0,j)|0)>>0]|0)+k|0}while((l|0)!=(p|0));h=0;j=0}else{h=l;g=k;j=0}}else{if(j){if((g|0)!=1){h=l;g=k;j=1;break}h=c[q+4>>2]|0;if(!(a[h+8>>0]|0)){h=l;g=k;j=1;break}g=b[h+10>>1]|0;if(g&3072){h=l;g=k;j=1;break}}else{h=c[q+4>>2]|0;g=b[h+10>>1]|0}p=g&65535;if((p&8|0)==0?(a[h+8>>0]|0)!=0&(p&2048|0)==0&(p&1024|0)==0:0){a[f>>0]=32;f=f+1|0}else if(k){h=l;g=1;break}a[f>>0]=126;h=0;g=1;f=f+1|0;j=1}while(0);if(b[(c[q+4>>2]|0)+10>>1]&16)if(h)h=1;else{a[f>>0]=10;h=1;g=0;f=f+1|0;j=0}ck(s)|0;q=c[s+16>>2]|0;if(!q)break;else{l=h;k=g}}}a[f>>0]=10;a[f+1>>0]=0}while(0);i=s;return e|0}function Bj(a){a=a|0;var b=0,d=0,e=0;e=Cj(a)|0;if(!e)a=0;else{a=c[e>>2]|0;if((a|0)>-1){b=a;d=e;a=0;do{d=d+4|0;a=b+a|0;b=c[d>>2]|0}while((b|0)>-1);if((d|0)!=(e|0))a=(a|0)/(d-e>>2|0)|0}else a=0;ZEa(e)}return a|0}function Cj(b){b=b|0;var d=0,e=0,f=0,h=0,j=0;h=i;i=i+128|0;do if(!(c[b+4>>2]|0))b=0;else{if((a[b+56>>0]|0)==0?(oj(b,0)|0)<0:0){b=0;break}ak(h,c[b+28>>2]|0);_ga(h,0);if(!(c[h+16>>2]|0))b=1;else{b=1;do{ck(h)|0;b=b+1|0}while((c[h+16>>2]|0)!=0)}b=XEa(b>>>0>1073741823?-1:b<<2)|0;_ga(h,0);d=c[h+16>>2]|0;if(!d)d=0;else{f=0;while(1){j=~~(+g[(c[d+140>>2]|0)+40>>2]*5.0+100.0);j=(j|0)<0?0:j;e=f+1|0;c[b+(f<<2)>>2]=(j|0)>100?100:j;ck(h)|0;d=c[h+16>>2]|0;if(!d){d=e;break}else f=e}}c[b+(d<<2)>>2]=-1}while(0);i=h;return b|0}function Dj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+272|0;c[n+268>>2]=0;Gi(b,45120,n+268|0)|0;f=c[b+4>>2]|0;if(!f)m=6;else m=c[f+5260>>2]|0;Ri(b,d);Ei(b,379304,385040)|0;l=Wi(b)|0;if(c[n+268>>2]|0){c[n>>2]=l;c[n+4>>2]=e;jN(1096,n)}if(!l)f=0;else{ak(n,c[b+28>>2]|0);g=c[n+16>>2]|0;if(!g)k=0;else{fN((c[g+4>>2]|0)+16|0,e);k=1}j=0;d=0;while(1){h=a[l+j>>0]|0;if(!(h<<24>>24==32|h<<24>>24==10))if(h<<24>>24){f=d;do{d=a[e+f>>0]|0;f=f+1|0}while(d<<24>>24==32);if(h<<24>>24==d<<24>>24)d=f;else{j=13;break}}else{j=14;break}j=j+1|0}if((j|0)==13)if(!(h<<24>>24))j=15;else j=16;else if((j|0)==14){d=a[e+d>>0]|0;j=15}if((j|0)==15)if(!(d<<24>>24)){Fga(g);d=k}else j=16;if((j|0)==16){d=c[b+28>>2]|0;if(d){Oj(d);YEa(d)}bk(n+248|0);e=Vu(c[b+4>>2]|0,n+248|0,c[b+24>>2]|0)|0;c[b+28>>2]=e;Zu(c[b+4>>2]|0,e);_u(c[b+4>>2]|0,c[b+28>>2]|0);ak(n+124|0,c[b+28>>2]|0);e=c[n+140>>2]|0;dk(n+248|0);d=(e|0)==0?0:k;g=(e|0)==0?g:e}f=d&1;if(f<<24>>24){e=c[b+4>>2]|0;a[e+1988>>0]=1;ppa(e,0,g)}ZEa(l);f=f<<24>>24!=0}Ri(b,m);i=n;return f|0}function Ej(a){a=a|0;var b=0;b=c[a+16>>2]|0;if(b)Qc[c[(c[b>>2]|0)+8>>2]&511](b);aj(a);$i(a,0);return}function Fj(){mk(xma()|0);return}function Gj(a,b){a=a|0;b=b|0;return nk(a+2744|0,b)|0}function Hj(a,b){a=a|0;b=b|0;return UN(a+184|0,b)|0}function Ij(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if(!b){c[e>>2]=1184;c[e+4>>2]=2021;$L(8,327112,2,1702e3,e)}if(c[b>>2]|0)cp(b);d=c[a+16>>2]|0;if(((ba(c[d+28>>2]|0,c[d+24>>2]|0)|0)+-70|0)>>>0>2330){c[d+28>>2]=70;c[d+32>>2]=70}fd[c[(c[d>>2]|0)+16>>2]&15](d,c[(c[a+4>>2]|0)+5260>>2]|0,b);b=c[a+16>>2]|0;_c[c[(c[b>>2]|0)+12>>2]&63](b,a+64|0,a+68|0,a+72|0,a+76|0,a+80|0,a+84|0);b=c[a+16>>2]|0;d=c[a+4>>2]|0;if(!(c[b+16>>2]|0)){cp(d+10292|0);c[d+10292>>2]=0;d=(c[a+4>>2]|0)+10288|0;cp(d);c[d>>2]=0}else{b=Tc[c[(c[b>>2]|0)+20>>2]&127](b)|0;cp(d+10292|0);c[d+10292>>2]=b;d=c[a+4>>2]|0;b=c[a+16>>2]|0;b=Tc[c[(c[b>>2]|0)+24>>2]&127](b)|0;cp(d+10288|0);c[d+10288>>2]=b}d=c[a+16>>2]|0;d=ba(c[d+32>>2]|0,c[d+24>>2]|0)|0;if((d|0)<70)b=70;else b=(d|0)>2400?2400:d;if((b|0)!=(d|0)){c[e>>2]=d;c[e+4>>2]=b;jN(1208,e)}c[(c[a+4>>2]|0)+10296>>2]=b;i=e;return}function Jj(a,b){a=a|0;b=b|0;var d=0,e=0;if(!(c[a+4>>2]|0))d=0;else{aj(a);d=c[a+4>>2]|0;if(!(c[d+10280>>2]|0)){e=c[(c[a>>2]|0)+8>>2]|0;jJ(d);Rc[e&63](a,d+10280|0)}d=c[a+32>>2]|0;if(!d){d=WEa(4)|0;PM(d,208);c[a+32>>2]=d}d=(AC(d,b,c[a+4>>2]|0)|0)!=0}return d|0}function Kj(a,b){a=a|0;b=b|0;return MN(a+184|0,b)|0}function Lj(a,b){a=a|0;b=b|0;if((a|0)!=0?(c[a+2868>>2]|0)>(b|0):0)b=c[(Pk(a+2868|0,b)|0)>>2]|0;else b=0;return b|0}function Mj(a){a=a|0;if(!a)a=0;else a=c[a+2868>>2]|0;return a|0}function Nj(){c[2]=1701984;c[4]=389976;c[6]=390024;c[8]=390056;c[10]=390112;c[12]=390152;c[14]=390184;c[16]=390240;c[18]=390280;c[20]=390328;c[22]=390376;c[24]=390400;c[26]=390432;c[28]=390504;c[30]=390552;c[32]=390592;c[34]=390640;Wk(144,0,160,176,0,kM()|0);return}function Oj(a){a=a|0;Vj(a+40|0);Jk(a+20|0);KL(a+8|0,223);return}function Pj(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){YEa(d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0))}return}function Qj(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function Rj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;a:do if((c[b>>2]|0)>0){f=0;while(1){e=f+1|0;if(!(HGa(c[c[(Yk(b,f)|0)>>2]>>2]|0,a)|0))break;if((e|0)<(c[b>>2]|0))f=e;else{g=3;break a}}b=c[(Yk(b,f)|0)>>2]|0}else g=3;while(0);b:do if((g|0)==3)if((c[d>>2]|0)>0){e=0;while(1){b=e+1|0;if(!(HGa(c[c[(Yk(d,e)|0)>>2]>>2]|0,a)|0))break;if((b|0)<(c[d>>2]|0))e=b;else{b=0;break b}}b=c[(Yk(d,e)|0)>>2]|0}else b=0;while(0);return b|0}function Sj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;a:do if((c[b>>2]|0)>0){f=0;while(1){e=f+1|0;if(!(HGa(c[c[(Zk(b,f)|0)>>2]>>2]|0,a)|0))break;if((e|0)<(c[b>>2]|0))f=e;else{g=3;break a}}b=c[(Zk(b,f)|0)>>2]|0}else g=3;while(0);b:do if((g|0)==3)if((c[d>>2]|0)>0){e=0;while(1){b=e+1|0;if(!(HGa(c[c[(Zk(d,e)|0)>>2]>>2]|0,a)|0))break;if((b|0)<(c[d>>2]|0))e=b;else{b=0;break b}}b=c[(Zk(d,e)|0)>>2]|0}else b=0;while(0);return b|0}function Tj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;a:do if((c[b>>2]|0)>0){f=0;while(1){e=f+1|0;if(!(HGa(c[c[(_k(b,f)|0)>>2]>>2]|0,a)|0))break;if((e|0)<(c[b>>2]|0))f=e;else{g=3;break a}}b=c[(_k(b,f)|0)>>2]|0}else g=3;while(0);b:do if((g|0)==3)if((c[d>>2]|0)>0){e=0;while(1){b=e+1|0;if(!(HGa(c[c[(_k(d,e)|0)>>2]>>2]|0,a)|0))break;if((b|0)<(c[d>>2]|0))e=b;else{b=0;break b}}b=c[(_k(d,e)|0)>>2]|0}else b=0;while(0);return b|0}function Uj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;a:do if((c[b>>2]|0)>0){f=0;while(1){e=f+1|0;if(!(HGa(c[c[($k(b,f)|0)>>2]>>2]|0,a)|0))break;if((e|0)<(c[b>>2]|0))f=e;else{g=3;break a}}b=c[($k(b,f)|0)>>2]|0}else g=3;while(0);b:do if((g|0)==3)if((c[d>>2]|0)>0){e=0;while(1){b=e+1|0;if(!(HGa(c[c[($k(d,e)|0)>>2]>>2]|0,a)|0))break;if((b|0)<(c[d>>2]|0))e=b;else{b=0;break b}}b=c[($k(d,e)|0)>>2]|0}else b=0;while(0);return b|0}function Vj(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+16|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;OM(e,(c[a+8>>2]|0)+(d<<2)|0);Rc[f&63](b,e);RM(c[e>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b){d=c[b+-4>>2]|0;if(d){d=b+(d<<2)|0;do{d=d+-4|0;RM(c[d>>2]|0)}while((d|0)!=(b|0))}ZEa(b+-4|0)}c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function Wj(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){al(a);d=c[a>>2]|0}c[a>>2]=d+1;aN((c[a+8>>2]|0)+(d<<2)|0,b);return}function Xj(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function Yj(a){a=a|0;Pa(a|0)|0;dFa()}function Zj(a){a=a|0;if((a+-1|0)>>>0<8)return ((-9&255)>>>(a+-1&255)&1)!=0|0;else return 0;return 0}function _j(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;bl(a,4);return}function $j(a,b){a=a|0;b=b|0;var d=0;bl(a,(c[b>>2]|0)+(c[a>>2]|0)|0);if((c[b>>2]|0)>0){d=0;do{cl(a,c[(c[b+8>>2]|0)+(d<<2)>>2]|0)|0;d=d+1|0}while((d|0)<(c[b>>2]|0))}return}function ak(a,b){a=a|0;b=b|0;c[a+40>>2]=0;c[a+68>>2]=0;c[a+96>>2]=0;c[a>>2]=b;_ga(a,0);return}function bk(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;dl(a,4);return}function ck(a){a=a|0;return $ga(a,0,0)|0}function dk(a){a=a|0;var b=0,d=0,f=0,g=0,h=0,j=0;f=i;i=i+16|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){g=c[(c[b>>2]|0)+8>>2]|0;j=(c[a+8>>2]|0)+(d<<3)|0;h=e[j+4>>1]|e[j+6>>1]<<16;c[f>>2]=e[j>>1]|e[j+2>>1]<<16;c[f+4>>2]=h;Rc[g&63](b,f);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b+-4|0);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=f;return}function ek(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;el(a,4);return}function fk(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function gk(b){b=b|0;var c=0,d=0,e=0;c=(SGa(b|0)|0)+-1|0;a:do if((c|0)>-1)do{d=b+c|0;e=a[d>>0]|0;if(!(e<<24>>24==13|e<<24>>24==10))break a;a[d>>0]=0;c=c+-1|0}while((c|0)>-1);while(0);return}function hk(a,b,d,e,f,g,h,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0;l=i;i=i+80|0;HB(l,b,d,e,f,g,h,j,k);NH(a,l);IB(l);c[a>>2]=2320;i=l;return}function ik(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+64|0;mD(a,b,j+24|0,j+8|0,j+36|0,j+12|0)|0;cN(d,2256,c[j+24>>2]|0);cN(d,1701816,c[j+8>>2]|0);cN(d,1701816,c[j+36>>2]|0);cN(d,1701816,c[j+12>>2]|0);do if((b|0)==2){tD(c[(c[(c[a+12>>2]|0)+24>>2]|0)+4>>2]|0,j+20|0,j+16|0,j+44|0,j+52|0);b=c[j+20>>2]|0;if(b){cN(d,2280,(ba(b,-90)|0)+360|0);break}mD(a,2,j+32|0,j+40|0,j+48|0,j+56|0)|0;if(sD(a,2,j+60|0,j,j+28|0,j+4|0)|0?(f=c[j+32>>2]|0,e=(c[j+60>>2]|0)-f|0,c[j+60>>2]=e,f=(c[j+28>>2]|0)-f|0,c[j+28>>2]=f,h=c[j+56>>2]|0,g=(c[j>>2]|0)-h|0,c[j>>2]=g,h=(c[j+4>>2]|0)-h|0,c[j+4>>2]=h,(f|0)!=(e|0)):0){eN(d,2296,+kGa(+(h-g|0)/+(f-e|0)*1.0e3)/1.0e3);eN(d,1701816,+kGa((+(g|0)-+(e|0)*(+(h-g|0)/+(f-e|0)))*1.0e3)/1.0e3)}}while(0);dN(d,2272);i=j;return}function jk(a){a=a|0;Iia(a,a+56|0,a+60|0);return a+56|0}function kk(a,d){a=a|0;d=d|0;var e=0;e=i;i=i+16|0;if((b[a+4>>1]|0)<=d<<16>>16){c[e>>2]=2232;c[e+4>>2]=233;$L(8,2216,2,1702e3,e)}i=e;return (c[a>>2]|0)+(d<<16>>16<<2)|0}function lk(a){a=a|0;Iia(a,a+56|0,a+60|0);return a+60|0}function mk(a){a=a|0;var b=0,d=0;eL(a);b=c[a+24>>2]|0;if((b|0)>0)do{b=b+-1|0;if((c[(fl(a+24|0,b)|0)+8>>2]|0)<1){d=c[(fl(a+24|0,b)|0)+4>>2]|0;if(d)Qc[c[(c[d>>2]|0)+4>>2]&511](d);gl(a+24|0,b)}}while((b|0)>0);fL(a);return}function nk(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+64|0;uia(d,b,(c[a+32>>2]|0)+184|0);a=Gma(a,d,0)|0;wia(d);i=d;return a|0}function ok(a){a=+a;var b=0;if(!(a>=0.0))b=0-~~(.5-a)|0;else b=~~(a+.5);return b|0}function pk(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if(!b)$L(48,2032,2,0,e);if(!d)$L(96,2032,2,35344,e);c[b>>2]=d;d=c[d>>2]|0;c[b+4>>2]=d;if(d){d=c[d>>2]|0;c[b+8>>2]=d;if(!d)d=0;else d=c[d>>2]|0}else{c[b+8>>2]=0;d=0}c[b+12>>2]=d;c[b+20>>2]=0;a[b+24>>0]=0;a[b+16>>0]=0;a[b+17>>0]=0;i=e;return}function qk(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if(!a)$L(48,1816,2,0,e);b=c[a>>2]|0;if(!b){$L(40,1816,2,0,e);b=c[a>>2]|0}b=c[b>>2]|0;if(b){d=c[b>>2]|0;c[a+8>>2]=d;c[a+4>>2]=b;if(!d)b=0;else b=c[d>>2]|0}else{c[a+8>>2]=0;c[a+4>>2]=0;b=0}c[a+12>>2]=b;i=e;return}function rk(b){b=b|0;var d=0,e=0;e=i;i=i+16|0;if(!b)$L(48,2184,2,0,e);if(!(c[b>>2]|0))$L(40,2184,2,0,e);d=c[b+8>>2]|0;if(!d)a[b+17>>0]=1;else c[b+20>>2]=d;a[b+24>>0]=0;i=e;return}function sk(b){b=b|0;var d=0,e=0;e=i;i=i+16|0;if(!b)$L(48,2152,2,0,e);d=c[b>>2]|0;if(!d){$L(40,2152,2,0,e);d=c[b>>2]|0}if(c[d>>2]|0)if((c[b+8>>2]|0)==(c[b+20>>2]|0))d=(a[b+24>>0]|0)!=0;else d=0;else d=1;i=e;return d|0}function tk(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(!(c[a>>2]|0))$L(40,1848,2,0,d);b=c[a+8>>2]|0;if(!b){$L(56,1848,2,0,d);b=c[a+8>>2]|0}i=d;return b|0}function uk(a,b){a=+a;b=+b;return +(+Z(+b,+a))}function vk(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if(!b){$L(40,2128,2,0,d);b=c[a>>2]|0}i=d;return (c[b>>2]|0)==0|0}function wk(a){a=a|0;KL(a+64|0,224);KL(a+60|0,224);KL(a+56|0,225);KL(a+52|0,226);RM(c[a+48>>2]|0);hl(a+4|0);return}function xk(b){b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;if(!b)$L(48,2096,2,0,f);d=c[b>>2]|0;if(!d){$L(40,2096,2,0,f);d=c[b>>2]|0}d=c[d>>2]|0;if((d|0)!=0?(e=c[b+8>>2]|0,(e|0)!=(c[d>>2]|0)):0)if((e|0)==0?(c[b+4>>2]|0)==(d|0):0)d=(a[b+16>>0]|0)==0;else d=0;else d=1;i=f;return d|0}function yk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;if(!b)$L(48,2064,2,0,k);if(!(c[b>>2]|0))$L(40,2064,2,0,k);if(!d)$L(96,2064,2,320032,k);e=c[d>>2]|0;if(e){j=c[b>>2]|0;f=c[j>>2]|0;do if(f){g=c[b+8>>2]|0;h=c[e>>2]|0;if(!g){f=c[b+4>>2]|0;c[f>>2]=h;if(a[b+16>>0]|0){c[j>>2]=e;a[b+16>>0]=0;e=c[d>>2]|0}c[e>>2]=c[b+12>>2];c[b+12>>2]=c[f>>2];break}else{c[g>>2]=h;if((g|0)==(f|0)){c[j>>2]=e;e=c[d>>2]|0}c[e>>2]=c[b+12>>2];c[b+12>>2]=c[g>>2];break}}else{c[j>>2]=e;c[b+4>>2]=e;c[b+12>>2]=c[e>>2];a[b+16>>0]=1;c[b+8>>2]=0}while(0);c[d>>2]=0}i=k;return}function zk(a,b){a=a|0;b=+b;return +(+fia(a+40|0,b))}function Ak(a){a=a|0;cia(a+40|0);TL(a+36|0,227);return}function Bk(a){a=a|0;Hba(a);afa(a+4|0);return}function Ck(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if(!b)$L(48,1992,2,0,h);if(!(c[b>>2]|0))$L(40,1992,2,0,h);if(!d)$L(96,1992,2,319904,h);if(c[d>>2]|0)$L(104,1992,2,0,h);f=c[b>>2]|0;g=c[f>>2]|0;do if(g){c[d>>2]=c[b+12>>2];e=c[b+8>>2]|0;if(e){c[e>>2]=d;c[b+4>>2]=e;if((e|0)!=(g|0)){e=b+8|0;break}c[f>>2]=d;e=b+8|0;break}c[c[b+4>>2]>>2]=d;if(a[b+16>>0]|0)c[f>>2]=d;if(!(a[b+17>>0]|0))e=b+8|0;else{c[b+20>>2]=d;e=b+8|0}}else{c[d>>2]=d;c[f>>2]=d;c[b+12>>2]=d;c[b+4>>2]=d;e=b+8|0}while(0);c[e>>2]=d;i=h;return}function Dk(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<3)|0;Ja(1701640,1701680,663,1701712);return 0}function Ek(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;il(a,4);return}function Fk(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;jl(a,4);return}function Gk(b){b=b|0;var e=0,f=0,g=0,h=0,j=0;g=i;i=i+16|0;if((c[b+4>>2]|0)>0){e=c[b+12>>2]|0;a:do if((e|0)!=0?(c[b>>2]|0)>0:0){f=0;while(1){h=c[(c[e>>2]|0)+8>>2]|0;j=(c[b+8>>2]|0)+(f<<2)|0;c[g>>2]=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;a[g+4>>0]=a[g+0>>0]|0;a[g+5>>0]=a[g+1>>0]|0;a[g+6>>0]=a[g+2>>0]|0;a[g+7>>0]=a[g+3>>0]|0;Rc[h&63](e,g+4|0);f=f+1|0;if((f|0)>=(c[b>>2]|0))break a;e=c[b+12>>2]|0}}while(0);e=c[b+8>>2]|0;if(e)ZEa(e);c[b+8>>2]=0;c[b>>2]=0;c[b+4>>2]=0}e=c[b+12>>2]|0;if(e){Qc[c[(c[e>>2]|0)+4>>2]&511](e);c[b+12>>2]=0}e=c[b+16>>2]|0;if(e){Qc[c[(c[e>>2]|0)+4>>2]&511](e);c[b+16>>2]=0}i=g;return}function Hk(a,b){a=a|0;b=b|0;if((a|0)>0)return b|0;else Ja(1701640,1701680,663,1701712);return 0}function Ik(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function Jk(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function Kk(a,c){a=a|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;h=b[c+4>>1]|0;i=b[a+4>>1]|0;f=b[c>>1]|0;g=b[a>>1]|0;d=kl(c)|0;e=kl(a)|0;if((((h<<16>>16>i<<16>>16?i:h)<<16>>16)-((f<<16>>16>16?g:f)<<16>>16)<<1|0)<((d<<16>>16>e<<16>>16?e:d)<<16>>16|0))c=0;else{f=b[c+6>>1]|0;e=b[a+6>>1]|0;h=b[c+2>>1]|0;g=b[a+2>>1]|0;c=ll(c)|0;i=ll(a)|0;c=(((f<<16>>16>e<<16>>16?e:f)<<16>>16)-((h<<16>>16>16?g:h)<<16>>16)<<1|0)>=((c<<16>>16>i<<16>>16?i:c)<<16>>16|0)}return c|0}function Lk(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if(!b)$L(48,1960,2,0,e);if(!d)$L(96,1960,2,35344,e);c[b>>2]=d;d=c[d>>2]|0;c[b+4>>2]=d;if(d){d=c[d+4>>2]|0;c[b+8>>2]=d;if(!d)d=0;else d=c[d+4>>2]|0}else{c[b+8>>2]=0;d=0}c[b+12>>2]=d;c[b+20>>2]=0;a[b+24>>0]=0;a[b+16>>0]=0;a[b+17>>0]=0;i=e;return}function Mk(b){b=b|0;var d=0,e=0;e=i;i=i+16|0;if(!b)$L(48,1928,2,0,e);if(!(c[b>>2]|0))$L(40,1928,2,0,e);d=c[b+8>>2]|0;if(!d)a[b+17>>0]=1;else c[b+20>>2]=d;a[b+24>>0]=0;i=e;return}function Nk(b){b=b|0;var d=0,e=0;e=i;i=i+16|0;if(!b)$L(48,1896,2,0,e);d=c[b>>2]|0;if(!d){$L(40,1896,2,0,e);d=c[b>>2]|0}if(c[d>>2]|0)if((c[b+8>>2]|0)==(c[b+20>>2]|0))d=(a[b+24>>0]|0)!=0&1;else d=0;else d=1;i=e;return d|0}function Ok(a){a=a|0;var b=0;b=i;i=i+16|0;if(!(c[a+8>>2]|0))$L(56,1872,2,0,b);if(!(c[a>>2]|0))$L(40,1872,2,0,b);i=b;return c[a+8>>2]|0}function Pk(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function Qk(a){a=a|0;return}function Rk(a){a=a|0;YEa(a);return}function Sk(a){a=a|0;var b=0,e=0,f=0;b=d[a+8>>0]|d[a+9>>0]<<8|d[a+10>>0]<<16|d[a+11>>0]<<24;f=d[a+12>>0]|d[a+13>>0]<<8|d[a+14>>0]<<16|d[a+15>>0]<<24;e=(c[a+4>>2]|0)+(f>>1)|0;if(f&1)b=c[(c[e>>2]|0)+b>>2]|0;return Sc[b&7](e,c[a+16>>2]|0,c[a+20>>2]|0,c[a+24>>2]|0,c[a+28>>2]|0,c[a+32>>2]|0)|0}function Tk(a){a=a|0;YEa(a);return}function Uk(a){a=a|0;var b=0,e=0,f=0;b=d[a+8>>0]|d[a+9>>0]<<8|d[a+10>>0]<<16|d[a+11>>0]<<24;f=d[a+12>>0]|d[a+13>>0]<<8|d[a+14>>0]<<16|d[a+15>>0]<<24;e=(c[a+4>>2]|0)+(f>>1)|0;if(f&1)b=c[(c[e>>2]|0)+b>>2]|0;return Nc[b&3](e,c[a+16>>2]|0,c[a+20>>2]|0,c[a+24>>2]|0,c[a+28>>2]|0,c[a+32>>2]|0,c[a+36>>2]|0)|0}function Vk(a){a=a|0;IB(a);YEa(a);return}function Wk(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;ml(b,e,f,g);a[b+10>>0]=d&1;a[b+11>>0]=d&1;c[b+12>>2]=h+20;nl(h+20|0,b);return}function Xk(a){a=a|0;ol(a,c[a+12>>2]|0);return}function Yk(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function Zk(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function _k(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function $k(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function al(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)el(a,4);else el(a,b<<1);return}function bl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function cl(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){pl(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return d|0}function dl(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!((d|0)<1?1:(c[a+4>>2]|0)>=(d|0))){i=XEa(d>>>0>536870911|d<<3>>>0>4294967291?-1:(d<<3)+4|0)|0;c[i>>2]=d;if(d){f=i+4|0;do{b[f>>1]=32767;b[f+2>>1]=32767;b[f+4>>1]=-32767;b[f+6>>1]=-32767;f=f+8|0}while((f|0)!=(i+4+(d<<3)|0))}g=c[a>>2]|0;f=c[a+8>>2]|0;if((g|0)>0){h=0;do{k=f+(h<<3)|0;l=e[k>>1]|e[k+2>>1]<<16;k=e[k+4>>1]|e[k+6>>1]<<16;j=i+4+(h<<3)|0;b[j>>1]=l;b[j+2>>1]=l>>>16;b[j+4>>1]=k;b[j+6>>1]=k>>>16;h=h+1|0}while((h|0)!=(g|0))}if(f)ZEa(f+-4|0);c[a+8>>2]=i+4;c[a+4>>2]=d}return}function el(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){f=XEa(b>>>0>1073741823|b<<2>>>0>4294967291?-1:(b<<2)+4|0)|0;c[f>>2]=b;if(b){d=f+4|0;do{NM(d);d=d+4|0}while((d|0)!=(f+4+(b<<2)|0))}if((c[a>>2]|0)>0){d=0;do{aN(f+4+(d<<2)|0,(c[a+8>>2]|0)+(d<<2)|0);d=d+1|0}while((d|0)<(c[a>>2]|0))}e=c[a+8>>2]|0;if(e){d=c[e+-4>>2]|0;if(d){d=e+(d<<2)|0;do{d=d+-4|0;RM(c[d>>2]|0)}while((d|0)!=(e|0))}ZEa(e+-4|0)}c[a+8>>2]=f+4;c[a+4>>2]=b}return}function fl(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b*12|0)|0;Ja(1701640,1701680,663,1701712);return 0}function gl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;if(!((b|0)>-1?(d=c[a>>2]|0,(d|0)>(b|0)):0)){c[e>>2]=1701680;c[e+4>>2]=705;$L(8,1701640,2,1702e3,e);d=c[a>>2]|0}d=d+-1|0;if((d|0)>(b|0))do{d=c[a+8>>2]|0;f=b;b=b+1|0;ql(d+(f*12|0)|0,d+(b*12|0)|0);d=(c[a>>2]|0)+-1|0}while((b|0)<(d|0));c[a>>2]=d;i=e;return}function hl(a){a=a|0;var b=0;b=c[a>>2]|0;if(b){KL(b,228);YEa(b)}KL(a+8|0,228);KL(a+4|0,228);return}function il(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function jl(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;if(!((e|0)<1?1:(c[b+4>>2]|0)>=(e|0))){g=XEa(e>>>0>1073741823?-1:e<<2)|0;if(e)YGa(g|0,0,e<<2|0)|0;h=c[b>>2]|0;f=c[b+8>>2]|0;if((h|0)>0){i=0;do{j=g+(i<<2)|0;k=f+(i<<2)|0;k=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;a[j>>0]=k;a[j+1>>0]=k>>8;a[j+2>>0]=k>>16;a[j+3>>0]=k>>24;i=i+1|0}while((i|0)!=(h|0))}if(f)ZEa(f);c[b+8>>2]=g;c[b+4>>2]=e}return}function kl(a){a=a|0;if(rl(a)|0)a=0;else a=(e[a+4>>1]|0)-(e[a>>1]|0)&65535;return a|0}function ll(a){a=a|0;if(rl(a)|0)a=0;else a=(e[a+6>>1]|0)-(e[a+2>>1]|0)&65535;return a|0}function ml(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;c[b>>2]=d;c[b+4>>2]=e;a[b+8>>0]=f&1;if(!(MEa(d,2408)|0))e=(MEa(d,28288)|0)!=0&1;else e=1;a[b+9>>0]=e;return}function nl(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){sl(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function ol(a,b){a=a|0;b=b|0;var d=0,e=0;a:do if((c[b>>2]|0)>0){e=0;while(1){d=e+1|0;if((c[(Zk(b,e)|0)>>2]|0)==(a|0))break;if((d|0)<(c[b>>2]|0))e=d;else break a}tl(b,e)}while(0);return}function pl(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)bl(a,4);else bl(a,b<<1);return}function ql(a,b){a=a|0;b=b|0;var d=0;aN(a,b);d=c[b+8>>2]|0;c[a+4>>2]=c[b+4>>2];c[a+8>>2]=d;return}function rl(a){a=a|0;if((b[a>>1]|0)<(b[a+4>>1]|0))a=(b[a+6>>1]|0)<=(b[a+2>>1]|0);else a=1;return a|0}function sl(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)ul(a,4);else ul(a,b<<1);return}function tl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;if(!((b|0)>-1?(d=c[a>>2]|0,(d|0)>(b|0)):0)){c[g>>2]=1701680;c[g+4>>2]=705;$L(8,1701640,2,1702e3,g);d=c[a>>2]|0}f=d+-1|0;if((f|0)>(b|0)){e=d+-1|0;d=b;do{b=d;d=d+1|0;h=c[a+8>>2]|0;c[h+(b<<2)>>2]=c[h+(d<<2)>>2]}while((d|0)!=(e|0))}c[a>>2]=f;i=g;return}function ul(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function vl(){var a=0,b=0;a=WFa(1,16)|0;do if(a){b=WFa(4096,1)|0;c[a+12>>2]=b;if(!b){a=du(2448,2416,0)|0;break}else{c[a>>2]=4096;c[a+8>>2]=0;c[a+4>>2]=0;break}}else a=du(2432,2416,0)|0;while(0);return a|0}function wl(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(a){b=c[a>>2]|0;if(b){VFa(c[b+12>>2]|0);VFa(b);c[a>>2]=0}}else{a=c[n>>2]|0;c[d>>2]=2472;zb(a|0,25936,d|0)|0}i=d;return}function xl(a,b){a=a|0;b=b|0;var d=0;do if(a){d=c[a>>2]|0;d=mu(a+12|0,d,d+b|0)|0;c[a+12>>2]=d;if(!d){cu(23144,2504,1)|0;break}else{c[a>>2]=(c[a>>2]|0)+b;break}}else cu(2488,2504,1)|0;while(0);return}function yl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=i;i=i+16|0;a:do if(!a)d=du(28232,2528,0)|0;else{gp(a,p+8|0,p+4|0,p);if((c[p>>2]|0)!=1){d=du(2712,2528,0)|0;break}if((b|0)<1){d=du(24240,2528,0)|0;break}switch(b|0){case 1:{d=tp(0,a)|0;break a}case 2:case 4:case 8:case 16:{d=zl(a,b)|0;break a}default:{o=bp(a)|0;m=vp(a)|0;d=_o(ba(c[p+8>>2]|0,b)|0,ba(c[p+4>>2]|0,b)|0,1)|0;if(!d){d=du(25344,2528,0)|0;break a}ip(d,a);Mp(d,+(b|0),+(b|0));g=bp(d)|0;h=vp(d)|0;if((c[p+4>>2]|0)<=0)break a;j=ba(g,b)|0;l=0;do{f=ba(l,o)|0;k=ba(j,l)|0;a=c[p+8>>2]|0;if((a|0)>0){e=0;do{if((c[m+((e>>5)+f<<2)>>2]&1<<(e&31^31)|0)!=0?(n=ba(e,b)|0,(b|0)>0):0){a=0;do{q=a+n|0;c[h+((q>>5)+k<<2)>>2]=c[h+((q>>5)+k<<2)>>2]|-2147483648>>>(q&31);a=a+1|0}while((a|0)!=(b|0));a=c[p+8>>2]|0}e=e+1|0}while((e|0)<(a|0))}if((b|0)>1){a=1;do{VGa(h+((ba(a,g)|0)+k<<2)|0,h+(k<<2)|0,g<<2|0)|0;a=a+1|0}while((a|0)!=(b|0))}l=l+1|0}while((l|0)<(c[p+4>>2]|0))}}}while(0);i=p;return d|0}function zl(a,f){a=a|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;a:do if(!a)g=du(28232,2560,0)|0;else{gp(a,q+8|0,q+4|0,q);if((c[q>>2]|0)!=1){g=du(2712,2560,0)|0;break}switch(f|0){case 2:case 4:case 8:case 16:{o=bp(a)|0;p=vp(a)|0;g=_o(ba(c[q+8>>2]|0,f)|0,ba(c[q+4>>2]|0,f)|0,1)|0;if(!g){g=du(25344,2560,0)|0;break a}ip(g,a);Mp(g,+(f|0),+(f|0));m=bp(g)|0;n=vp(g)|0;if((f|0)==4){a=WFa(256,4)|0;if(!a)a=du(18040,2680,0)|0;else{f=0;do{if(f&1)c[a+(f<<2)>>2]=15;if(f&2){l=a+(f<<2)|0;c[l>>2]=c[l>>2]|240}if(f&4){l=a+(f<<2)|0;c[l>>2]=c[l>>2]|3840}if(f&8){l=a+(f<<2)|0;c[l>>2]=c[l>>2]|61440}if(f&16){l=a+(f<<2)|0;c[l>>2]=c[l>>2]|983040}if(f&32){l=a+(f<<2)|0;c[l>>2]=c[l>>2]|15728640}if(f&64){l=a+(f<<2)|0;c[l>>2]=c[l>>2]|251658240}if(f&128){l=a+(f<<2)|0;c[l>>2]=c[l>>2]|-268435456}f=f+1|0}while((f|0)!=256)}if(!a){g=du(2632,2560,0)|0;break a}f=c[q+8>>2]|0;if((c[q+4>>2]|0)>0){k=0;do{h=ba(k<<2,m)|0;if((f|0)>0){j=p+((ba(k,o)|0)<<2)|0;l=0;do{c[n+(l+h<<2)>>2]=c[a+((d[(j+l^3)>>0]|0)<<2)>>2];l=l+1|0}while((l|0)<((f+7|0)/8|0|0))}VGa(n+(m+h<<2)|0,n+(h<<2)|0,m<<2|0)|0;VGa(n+((m<<1)+h<<2)|0,n+(h<<2)|0,m<<2|0)|0;VGa(n+((m*3|0)+h<<2)|0,n+(h<<2)|0,m<<2|0)|0;k=k+1|0}while((k|0)<(c[q+4>>2]|0))}VFa(a);break a}else if((f|0)==2){a=WFa(256,2)|0;if(!a)a=du(18040,2696,0)|0;else{f=0;do{if(f&1)b[a+(f<<1)>>1]=3;if(f&2){l=a+(f<<1)|0;b[l>>1]=e[l>>1]|0|12}if(f&4){l=a+(f<<1)|0;b[l>>1]=e[l>>1]|0|48}if(f&8){l=a+(f<<1)|0;b[l>>1]=e[l>>1]|0|192}if(f&16){l=a+(f<<1)|0;b[l>>1]=e[l>>1]|0|768}if(f&32){l=a+(f<<1)|0;b[l>>1]=e[l>>1]|0|3072}if(f&64){l=a+(f<<1)|0;b[l>>1]=e[l>>1]|0|12288}if(f&128){l=a+(f<<1)|0;b[l>>1]=e[l>>1]|0|49152}f=f+1|0}while((f|0)!=256)}if(!a){g=du(2616,2560,0)|0;break a}j=c[q+8>>2]|0;if((c[q+4>>2]|0)>0){k=0;do{h=ba(k<<1,m)|0;if((j|0)>0){f=p+((ba(k,o)|0)<<2)|0;l=0;do{b[(n+(h<<2)+(l<<1)^2)>>1]=b[a+((d[(f+l^3)>>0]|0)<<1)>>1]|0;l=l+1|0}while((l|0)<((j+7|0)/8|0|0))}VGa(n+(h+m<<2)|0,n+(h<<2)|0,m<<2|0)|0;k=k+1|0}while((k|0)<(c[q+4>>2]|0))}VFa(a);break a}else if((f|0)==8){a=WFa(16,4)|0;if(!a)a=du(18040,2664,0)|0;else{f=0;do{if(f&1)c[a+(f<<2)>>2]=255;if(f&2){l=a+(f<<2)|0;c[l>>2]=c[l>>2]|65280}if(f&4){l=a+(f<<2)|0;c[l>>2]=c[l>>2]|16711680}if(f&8){l=a+(f<<2)|0;c[l>>2]=c[l>>2]|-16777216}f=f+1|0}while((f|0)!=16)}if(!a){g=du(24128,2560,0)|0;break a}j=c[q+8>>2]|0;if((c[q+4>>2]|0)>0){k=0;do{h=ba(k,o)|0;f=ba(k<<3,m)|0;if((j|0)>0){l=0;do{c[n+(l+f<<2)>>2]=c[a+(((c[p+((l>>3)+h<<2)>>2]|0)>>>(l<<2&28^28)&15)<<2)>>2];l=l+1|0}while((l|0)<((j+3|0)/4|0|0))}VGa(n+(m+f<<2)|0,n+(f<<2)|0,m<<2|0)|0;VGa(n+((m<<1)+f<<2)|0,n+(f<<2)|0,m<<2|0)|0;VGa(n+((m*3|0)+f<<2)|0,n+(f<<2)|0,m<<2|0)|0;VGa(n+((m<<2)+f<<2)|0,n+(f<<2)|0,m<<2|0)|0;VGa(n+((m*5|0)+f<<2)|0,n+(f<<2)|0,m<<2|0)|0;VGa(n+((m*6|0)+f<<2)|0,n+(f<<2)|0,m<<2|0)|0;VGa(n+((m*7|0)+f<<2)|0,n+(f<<2)|0,m<<2|0)|0;k=k+1|0}while((k|0)<(c[q+4>>2]|0))}VFa(a);break a}else{j=c[q+8>>2]|0;if((c[q+4>>2]|0)<=0)break a;k=0;do{f=ba(k,o)|0;h=ba(k<<4,m)|0;if((j|0)>0){a=0;do{c[n+(a+h<<2)>>2]=c[2648+(((c[p+((a>>4)+f<<2)>>2]|0)>>>(a<<1&30^30)&3)<<2)>>2];a=a+1|0}while((a|0)<((j+1|0)/2|0|0))}f=1;do{VGa(n+((ba(f,m)|0)+h<<2)|0,n+(h<<2)|0,m<<2|0)|0;f=f+1|0}while((f|0)!=16);k=k+1|0}while((k|0)<(c[q+4>>2]|0))}break}case 1:{g=tp(0,a)|0;break a}default:{g=du(2584,2560,0)|0;break a}}}while(0);i=q;return g|0}function Al(){var b=0,c=0;b=WFa(256,1)|0;if(!b)b=du(18040,2952,0)|0;else{c=0;do{a[b+c>>0]=c&129|c>>>1&2|c>>>2&4|c>>>3&8|c<<3&16|c<<2&32|c<<1&64;c=c+1|0}while((c|0)!=256)}return b|0}function Bl(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+16|0;do if(a){if((Dp(a)|0)!=1){b=du(2784,2752,0)|0;break}if((b|0)>4|(d|0)>4|(e|0)>4|(f|0)>4){b=du(2808,2752,0)|0;break}if((b|0)<1){b=c[n>>2]|0;c[h>>2]=2752;zb(b|0,2840,h|0)|0;b=tp(0,a)|0;break}g=Al()|0;if(!g){b=du(18040,2752,0)|0;break}b=Cl(a,b,g)|0;c[h+12>>2]=b;if((d|0)<1){VFa(g);break}b=Cl(b,d,g)|0;c[h+8>>2]=b;cp(h+12|0);if((e|0)<1){VFa(g);b=c[h+8>>2]|0;break}b=Cl(b,e,g)|0;c[h+4>>2]=b;cp(h+8|0);if((f|0)<1){VFa(g);b=c[h+4>>2]|0;break}else{b=Cl(b,f,g)|0;cp(h+4|0);VFa(g);break}}else b=du(28232,2752,0)|0;while(0);i=h;return b|0}function Cl(a,e,f){a=a|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;do if(a){if((Dp(a)|0)!=1){g=du(2712,2896,0)|0;break}if((e+-1|0)>>>0>3){g=du(2920,2896,0)|0;break}if(!f){g=Al()|0;if(!g){g=du(18040,2896,0)|0;break}else r=g}else r=f;g=Cp(a)|0;o=up(a)|0;if((o|0)<2){g=du(2728,2896,0)|0;break}p=bp(a)|0;q=vp(a)|0;g=_o((g|0)/2|0,(o|0)/2|0,1)|0;if(!g){g=du(25344,2896,0)|0;break}ip(g,a);Mp(g,.5,.5);m=bp(g)|0;n=vp(g)|0;l=(p|0)<(m<<1|0)?p:m<<1;if((e|0)==4){if((o+-1|0)>0){h=~((~p|0)>(~(m<<1)|0)?~p:~(m<<1));i=0;j=0;while(1){e=ba(i,p)|0;if((l|0)>0){a=n+((ba(j,m)|0)<<2)|0;k=0;do{s=c[q+(e+p+k<<2)>>2]&c[q+(k+e<<2)>>2];s=(s&-1431655766&s<<1)<<7|s&-1431655766&s<<1;b[(a+(k<<1)^2)>>1]=(d[r+(s>>>24)>>0]|0)<<8|(d[r+(s>>>8&255)>>0]|0);k=k+1|0}while((k|0)!=(h|0))}i=i+2|0;if((i|0)>=(o+-1|0))break;else j=j+1|0}}}else if((e|0)==3){if((o+-1|0)>0){h=~((~p|0)>(~(m<<1)|0)?~p:~(m<<1));i=0;j=0;while(1){e=ba(i,p)|0;if((l|0)>0){a=n+((ba(j,m)|0)<<2)|0;k=0;do{s=c[q+(k+e<<2)>>2]|0;t=c[q+(e+p+k<<2)>>2]|0;s=((t|s)&-1431655766&(t|s)<<1&((t&s)<<1|t&s))<<7|(t|s)&-1431655766&(t|s)<<1&((t&s)<<1|t&s);b[(a+(k<<1)^2)>>1]=(d[r+(s>>>24)>>0]|0)<<8|(d[r+(s>>>8&255)>>0]|0);k=k+1|0}while((k|0)!=(h|0))}i=i+2|0;if((i|0)>=(o+-1|0))break;else j=j+1|0}}}else if((e|0)==1){if((o+-1|0)>0){h=~((~p|0)>(~(m<<1)|0)?~p:~(m<<1));i=0;j=0;while(1){e=ba(i,p)|0;if((l|0)>0){a=n+((ba(j,m)|0)<<2)|0;k=0;do{t=c[q+(e+p+k<<2)>>2]|c[q+(k+e<<2)>>2];t=((t<<1|t)&-1431655766)<<7|(t<<1|t)&-1431655766;b[(a+(k<<1)^2)>>1]=(d[r+(t>>>24)>>0]|0)<<8|(d[r+(t>>>8&255)>>0]|0);k=k+1|0}while((k|0)!=(h|0))}i=i+2|0;if((i|0)>=(o+-1|0))break;else j=j+1|0}}}else if((e|0)==2?(o+-1|0)>0:0){h=~((~p|0)>(~(m<<1)|0)?~p:~(m<<1));i=0;j=0;while(1){e=ba(i,p)|0;if((l|0)>0){a=n+((ba(j,m)|0)<<2)|0;k=0;do{t=c[q+(k+e<<2)>>2]|0;s=c[q+(e+p+k<<2)>>2]|0;t=(((s&t)<<1|s&t|(s|t)<<1&(s|t))&-1431655766)<<7|((s&t)<<1|s&t|(s|t)<<1&(s|t))&-1431655766;b[(a+(k<<1)^2)>>1]=(d[r+(t>>>24)>>0]|0)<<8|(d[r+(t>>>8&255)>>0]|0);k=k+1|0}while((k|0)!=(h|0))}i=i+2|0;if((i|0)>=(o+-1|0))break;else j=j+1|0}}if(!f)VFa(r)}else g=du(28232,2896,0)|0;while(0);return g|0}function Dl(d){d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;a:do if(!d)e=du(26872,2984,0)|0;else{if((Ha(q+8|0,2,1,d|0)|0)!=1){e=du(3008,2984,0)|0;break}if((vu(b[q+8>>1]|0)|0)<<16>>16!=19778){e=du(3024,2984,0)|0;break}if((Ha(q+8|0,2,1,d|0)|0)!=1){e=du(3040,2984,0)|0;break}if((Ha(q+8|0,2,1,d|0)|0)!=1){e=du(3056,2984,0)|0;break}if((Ha(q+8|0,2,1,d|0)|0)!=1){e=du(3072,2984,0)|0;break}if((Ha(q+8|0,2,1,d|0)|0)!=1){e=du(3088,2984,0)|0;break}if((Ha(q+8|0,2,1,d|0)|0)!=1){e=du(3104,2984,0)|0;break}l=vu(b[q+8>>1]|0)|0;if((Ha(q+8|0,2,1,d|0)|0)!=1){e=du(3120,2984,0)|0;break}if((Ha(q+4|0,4,1,d|0)|0)!=1){e=du(3136,2984,0)|0;break}if((Ha(q+4|0,4,1,d|0)|0)!=1){e=du(3152,2984,0)|0;break}n=wu(c[q+4>>2]|0)|0;if((Ha(q+4|0,4,1,d|0)|0)!=1){e=du(3168,2984,0)|0;break}o=wu(c[q+4>>2]|0)|0;if((Ha(q+8|0,2,1,d|0)|0)!=1){e=du(3192,2984,0)|0;break}if((Ha(q+8|0,2,1,d|0)|0)!=1){e=du(3216,2984,0)|0;break}p=vu(b[q+8>>1]|0)|0;if((Ha(q+4|0,4,1,d|0)|0)!=1){e=du(3240,2984,0)|0;break}f=wu(c[q+4>>2]|0)|0;if((Ha(q+4|0,4,1,d|0)|0)!=1){e=du(3264,2984,0)|0;break}g=wu(c[q+4>>2]|0)|0;if((Ha(q+4|0,4,1,d|0)|0)!=1){e=du(3288,2984,0)|0;break}j=wu(c[q+4>>2]|0)|0;if((Ha(q+4|0,4,1,d|0)|0)!=1){e=du(3312,2984,0)|0;break}k=wu(c[q+4>>2]|0)|0;if((Ha(q+4|0,4,1,d|0)|0)!=1){e=du(3336,2984,0)|0;break}if((Ha(q+4|0,4,1,d|0)|0)!=1){e=du(3360,2984,0)|0;break}if(f){e=du(3384,2984,0)|0;break}if((n|0)<1){e=du(3424,2984,0)|0;break}if((o|0)<1){e=du(3440,2984,0)|0;break}switch(p<<16>>16){case 32:case 24:case 16:case 8:case 4:case 2:case 1:break;default:{e=du(3456,2984,0)|0;break a}}m=(((ba(p<<16>>16,n)|0)+31|0)/32|0)<<2;if(!((g|0)==0|(g|0)==(ba(m,o)|0))){e=du(3496,2984,0)|0;break}if((l&65535)<54){e=du(3520,2984,0)|0;break}if((l&65535)>1078){e=du(3552,2984,0)|0;break}h=((l<<16>>16)+-54|0)>>>2;if(((l<<16>>16)+-54|0)>>>0>1027){e=du(3584,2984,0)|0;break}do if(h){g=WFa(h,4)|0;if(!g){e=du(3608,2984,0)|0;break a}if((Ha(g|0,4,h|0,d|0)|0)==(h|0))break;VFa(g);e=du(3632,2984,0)|0;break a}else g=0;while(0);f=p<<16>>16==24?32:p<<16>>16;e=_o(n,o,f)|0;c[q>>2]=e;if(!e){VFa(g);e=du(25568,2984,0)|0;break}Jp(e,~~(+(j|0)/39.37+.5));Lp(e,~~(+(k|0)/39.37+.5));j=bp(e)|0;if(h){k=im((f|0)<8?f:8)|0;VFa(c[k>>2]|0);c[k>>2]=g;c[k+12>>2]=h>>>0<256?h:256;e=c[q>>2]|0}else k=0;Bp(e,k);Wb(d|0,l<<16>>16|0,0)|0;b:do if(p<<16>>16==24){h=m+(ba(n,-3)|0)|0;g=vp(e)|0;if((o|0)<=0)break;e=0;f=g+((ba(j,o+-1|0)|0)<<2)|0;c:while(1){if((n|0)>0){g=0;do{if((Ha(q+12|0,1,3,d|0)|0)!=3){f=76;break c}m=f+(g<<2)|0;a[m>>0]=a[q+14>>0]|0;a[m+1>>0]=a[q+13>>0]|0;a[m+2>>0]=a[q+12>>0]|0;g=g+1|0}while((g|0)<(n|0))}if((h|0)>=1){g=0;do{g=g+1|0;if((Ha(q+12|0,1,1,d|0)|0)!=1){f=81;break c}}while((g|0)<(h|0))}e=e+1|0;if((e|0)>=(o|0)){f=83;break}else f=f+(0-j<<2)|0}if((f|0)==76){cp(q);e=du(3672,2984,0)|0;break a}else if((f|0)==81){cp(q);e=du(3696,2984,0)|0;break a}else if((f|0)==83){e=c[q>>2]|0;break}}else{f=vp(e)|0;if((o|0)<=0)break;f=f+((ba(j,o+-1|0)|0)<<2)|0;g=0;while(1){if((Ha(f|0,1,m|0,d|0)|0)!=(m|0))break;g=g+1|0;if((g|0)>=(o|0))break b;else f=f+(0-(j<<2))|0}cp(q);e=du(3656,2984,0)|0;break a}while(0);oq(e);if(!(p<<16>>16==1&(k|0)!=0))break;e=dr(e,0)|0;cp(q);c[q>>2]=e}while(0);i=q;return e|0}function El(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+64|0;a:do if(d){if(!e){cu(28008,3720,1)|0;break}r=Cp(e)|0;u=up(e)|0;h=Dp(e)|0;if((h|0)==2){t=c[n>>2]|0;c[v>>2]=3720;zb(t|0,3744,v|0)|0}p=(h|0)==32?24:h;l=~~(+(Ip(e)|0)*39.37+.5);m=~~(+(Kp(e)|0)*39.37+.5);t=bp(e)|0;q=(((ba(p,r)|0)+31|0)/32|0)<<2;o=ba(q,u)|0;do if((h|0)!=32){g=Ap(e)|0;if(g){f=qm(g)|0;s=g;k=f<<2;j=c[g>>2]|0;h=0;g=f;break}if((h|0)!=1){j=WFa(1<>0]=s;a[g+1>>0]=s;a[g>>0]=s;a[g+3>>0]=-1;h=h+1|0;if((h|0)>=(1<>1]=vu(19778)|0;f=k+54|0;b[v+52>>1]=vu(f+o&65535)|0;b[v+46>>1]=vu((f+o|0)>>>16&65535)|0;b[v+40>>1]=0;b[v+54>>1]=0;b[v+44>>1]=vu(f&65535)|0;b[v+42>>1]=vu(f>>>16&65535)|0;xb(v+50|0,1,2,d|0)|0;xb(v+52|0,1,2,d|0)|0;xb(v+46|0,1,2,d|0)|0;xb(v+40|0,1,2,d|0)|0;xb(v+54|0,1,2,d|0)|0;xb(v+44|0,1,2,d|0)|0;xb(v+42|0,1,2,d|0)|0;c[v+36>>2]=wu(40)|0;c[v+32>>2]=wu(r)|0;c[v+28>>2]=wu(u)|0;b[v+48>>1]=vu(1)|0;b[v+56>>1]=vu(p&65535)|0;c[v+12>>2]=0;c[v+4>>2]=wu(o)|0;c[v+16>>2]=wu(l)|0;c[v+8>>2]=wu(m)|0;o=wu(g)|0;c[v+20>>2]=o;c[v+24>>2]=o;xb(v+36|0,1,4,d|0)|0;xb(v+32|0,1,4,d|0)|0;xb(v+28|0,1,4,d|0)|0;xb(v+48|0,1,2,d|0)|0;xb(v+56|0,1,2,d|0)|0;xb(v+12|0,1,4,d|0)|0;xb(v+4|0,1,4,d|0)|0;xb(v+16|0,1,4,d|0)|0;xb(v+8|0,1,4,d|0)|0;xb(v+20|0,1,4,d|0)|0;xb(v+24|0,1,4,d|0)|0;do if((g|0)>0){f=(h|0)!=0;if((xb(j|0,1,k|0,d|0)|0)==(k|0)){if(!f)break;VFa(j);break}if(f)VFa(j);cu(3832,3720,1)|0;break a}while(0);o=(p|0)==1&(s|0)!=0;if(o?(a[c[s>>2]>>0]|0)==0:0)rq(e,e)|0;oq(e);if((p|0)==24){k=q+(ba(r,-3)|0)|0;f=vp(e)|0;if((u|0)>0){l=0;j=f+((ba(t,u+-1|0)|0)<<2)|0;f=0;while(1){if((r|0)>0){h=0;do{q=j+(h<<2)|0;a[v+62>>0]=a[q>>0]|0;a[v+61>>0]=a[q+1>>0]|0;a[v+60>>0]=a[q+2>>0]|0;q=(xb(v+60|0,1,3,d|0)|0)==3;f=q?f:1;h=h+1|0}while((h|0)!=(r|0))}if((k|0)>=1){h=a[v+60>>0]|0;g=0;do{Fc(h|0,d|0)|0;g=g+1|0}while((g|0)!=(k|0))}l=l+1|0;if((l|0)==(u|0))break;else j=j+(0-t<<2)|0}}else f=0}else{f=vp(e)|0;if((u|0)>0){g=f+((ba(t,u+-1|0)|0)<<2)|0;h=0;f=0;while(1){r=(xb(g|0,1,q|0,d|0)|0)==(q|0);f=r?f:1;h=h+1|0;if((h|0)==(u|0))break;else g=g+(0-(t<<2))|0}}else f=0}oq(e);if(o?(a[c[s>>2]>>0]|0)==0:0)rq(e,e)|0;if(f)cu(19280,3720,1)|0}else cu(28120,3720,1)|0;while(0);i=v;return}function Fl(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;do if((e|d|0)>=0){if((a|0)<0)if((d+a|0)<1){d=du(3896,3856,0)|0;break}else{f=d+a|0;a=0}else f=d;if((b|0)<0)if((e+b|0)<1){d=du(3920,3856,0)|0;break}else{e=e+b|0;b=0}d=WFa(1,20)|0;if(!d){d=du(6552,3856,0)|0;break}else{Gl(d,a,b,f,e);c[d+16>>2]=1;break}}else d=du(3872,3856,0)|0;while(0);return d|0}function Gl(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;if(a){if((b|0)!=-1)c[a>>2]=b;if((d|0)!=-1)c[a+4>>2]=d;if((e|0)!=-1)c[a+8>>2]=e;if((f|0)!=-1)c[a+12>>2]=f}else cu(16856,4e3,1)|0;return}function Hl(a){a=a|0;if(!a)a=du(16856,3944,0)|0;else a=Fl(c[a>>2]|0,c[a+4>>2]|0,c[a+8>>2]|0,c[a+12>>2]|0)|0;return a|0}function Il(a){a=a|0;if(!a)a=du(16856,3952,0)|0;else Jl(a,1);return a|0}function Jl(a,b){a=a|0;b=b|0;if(!a)cu(16856,4032,1)|0;else c[a+16>>2]=(c[a+16>>2]|0)+b;return}function Kl(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(a){b=c[a>>2]|0;if(b){Jl(b,-1);if((Ll(b)|0)<1)VFa(b);c[a>>2]=0}}else{a=c[n>>2]|0;c[d>>2]=3968;zb(a|0,13744,d|0)|0}i=d;return}function Ll(a){a=a|0;if(!a)a=cu(16856,4016,-1)|0;else a=c[a+16>>2]|0;return a|0}function Ml(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;if(b)c[b>>2]=0;if(d)c[d>>2]=0;if(e)c[e>>2]=0;if(f)c[f>>2]=0;if(a){if(b)c[b>>2]=c[a>>2];if(d)c[d>>2]=c[a+4>>2];if(e)c[e>>2]=c[a+8>>2];if(f)c[f>>2]=c[a+12>>2]}else cu(16856,3984,1)|0;return}function Nl(a){a=a|0;var b=0;b=(a|0)<1?20:a;a=WFa(1,16)|0;if(a){c[a>>2]=0;c[a+4>>2]=b;c[a+8>>2]=1;b=WFa(b,4)|0;c[a+12>>2]=b;if(!b)a=du(4072,4056,0)|0}else a=du(16768,4056,0)|0;return a|0}function Ol(a){a=a|0;if(!a)a=du(8496,4096,0)|0;else c[a+8>>2]=(c[a+8>>2]|0)+1;return a|0}function Pl(a,b){a=a|0;b=b|0;do if(!a)a=du(8496,4216,0)|0;else{if((b|0)>=0?(c[a>>2]|0)>(b|0):0){a=Il(c[(c[a+12>>2]|0)+(b<<2)>>2]|0)|0;break}a=du(22808,4216,0)|0}while(0);return a|0}function Ql(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;do if(!a)cu(8496,4128,1)|0;else{if(!b){cu(16856,4128,1)|0;break}if(!d)d=b;else if((d|0)==1){b=Hl(b)|0;e=9}else if((d|0)==2){b=Il(b)|0;e=9}else{cu(22752,4128,1)|0;break}if((e|0)==9)if(!b){cu(4144,4128,1)|0;break}else d=b;b=Sl(a)|0;if((b|0)>=(c[a+4>>2]|0))Tl(a);c[(c[a+12>>2]|0)+(b<<2)>>2]=d;c[a>>2]=(c[a>>2]|0)+1}while(0);return}function Rl(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;if(a){e=c[a>>2]|0;if(e){d=(c[e+8>>2]|0)+-1|0;c[e+8>>2]=d;if(!d){b=c[e+12>>2]|0;if((c[e>>2]|0)>0){d=0;do{Kl(b+(d<<2)|0);d=d+1|0;b=c[e+12>>2]|0}while((d|0)<(c[e>>2]|0))}VFa(b);VFa(e)}c[a>>2]=0}}else{a=c[n>>2]|0;c[f>>2]=4112;zb(a|0,13744,f|0)|0}i=f;return}function Sl(a){a=a|0;if(!a)a=cu(8496,4200,0)|0;else a=c[a>>2]|0;return a|0}function Tl(a){a=a|0;if(!a)cu(8496,4160,1)|0;else Ul(a,c[a+4>>2]<<1)|0;return}function Ul(a,b){a=a|0;b=b|0;var d=0;do if(a){d=c[a+4>>2]|0;if((d|0)<(b|0)){d=mu(a+12|0,d<<2,b<<2)|0;c[a+12>>2]=d;if(!d){d=cu(23144,4176,1)|0;break}else{c[a+4>>2]=b;d=0;break}}else d=0}else d=cu(8496,4176,1)|0;while(0);return d|0}function Vl(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;if(d)c[d>>2]=0;if(e)c[e>>2]=0;if(f)c[f>>2]=0;if(g)c[g>>2]=0;do if(!a)cu(8496,4232,1)|0;else{if((b|0)>=0?(c[a>>2]|0)>(b|0):0){a=Pl(a,b)|0;c[h>>2]=a;if(!a){cu(4256,4232,1)|0;break}else{Ml(a,d,e,f,g);Kl(h);break}}cu(22808,4232,1)|0}while(0);i=h;return}function Wl(a,b,d){a=a|0;b=b|0;d=d|0;do if(!a)cu(8496,4272,1)|0;else{if((b|0)>=0?(c[a>>2]|0)>(b|0):0)if(!d){cu(16856,4272,1)|0;break}else{Kl((c[a+12>>2]|0)+(b<<2)|0);c[(c[a+12>>2]|0)+(b<<2)>>2]=d;break}cu(22808,4272,1)|0}while(0);return}function Xl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;do if(!a)a=du(16856,4288,0)|0;else{e=c[a>>2]|0;if((((e|0)<(b|0)?(f=c[a+4>>2]|0,(f|0)<(d|0)):0)?((c[a+8>>2]|0)+e|0)>=1:0)?((c[a+12>>2]|0)+f|0)>=1:0){a=Hl(a)|0;e=c[a>>2]|0;if((e|0)<0){c[a+8>>2]=(c[a+8>>2]|0)+e;c[a>>2]=0;e=0}f=c[a+4>>2]|0;if((f|0)<0){c[a+12>>2]=(c[a+12>>2]|0)+f;c[a+4>>2]=0;f=0}if(((c[a+8>>2]|0)+e|0)>(b|0))c[a+8>>2]=b-e;if(((c[a+12>>2]|0)+f|0)<=(d|0))break;c[a+12>>2]=d-f;break}a=du(4312,4288,0)|0}while(0);return a|0}function Yl(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+32|0;do if(!a)f=du(28232,4336,0)|0;else{if(!b){f=du(8496,4336,0)|0;break}if((d|0)<1){f=du(4352,4336,0)|0;break}if(!(Sl(b)|0)){f=c[n>>2]|0;c[g>>2]=4336;zb(f|0,4376,g|0)|0;f=tp(0,a)|0;break}f=Ap(a)|0;if(!f)f=0;else f=(qm(f)|0)<256;if((Dp(a)|0)==1|f)f=qr(a,1)|0;else f=rr(a)|0;if(!f){f=du(25344,4336,0)|0;break}bq(e,g+16|0,g+12|0,g+8|0);if((Dp(f)|0)==8){e=Ap(f)|0;om(e,c[g+16>>2]|0,c[g+12>>2]|0,c[g+8>>2]|0,g+4|0)}On(f,b,d,c[g+16>>2]&255,c[g+12>>2]&255,c[g+8>>2]&255)}while(0);i=g;return f|0}function Zl(a){a=a|0;var b=0,d=0;b=WFa(1,16)|0;do if(b){a=(a|0)==0?201:a+1|0;d=WFa(a,1)|0;c[b+12>>2]=d;if(!d){b=du(4464,4432,0)|0;break}else{c[b>>2]=a;c[b+8>>2]=1;break}}else b=du(4448,4432,0)|0;while(0);return b|0}function _l(a,b){a=a|0;b=b|0;var d=0;do if(a){if(!b){d=du(4512,4488,0)|0;break}d=Zl(b)|0;if(!d){d=du(4448,4488,0)|0;break}else{VGa(c[d+12>>2]|0,a|0,b|0)|0;c[d+4>>2]=b;break}}else d=du(27080,4488,0)|0;while(0);return d|0}function $l(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;if(a){b=c[a>>2]|0;if(b){e=c[b+8>>2]|0;c[b+8>>2]=e+-1;if((e|0)<2){VFa(c[b+12>>2]|0);VFa(b)}c[a>>2]=0}}else{e=c[n>>2]|0;c[d>>2]=4536;zb(e|0,13744,d|0)|0}i=d;return}function am(a){a=a|0;if(!a)a=cu(4568,4552,0)|0;else a=c[a+4>>2]|0;return a|0}function bm(a,b){a=a|0;b=b|0;do if(a)if(!b){a=du(28208,4584,0)|0;break}else{c[b>>2]=c[a+4>>2];a=c[a+12>>2]|0;break}else a=du(4568,4584,0)|0;while(0);return a|0}function cm(a,b){a=a|0;b=b|0;do if(b){c[b>>2]=0;if(!a){a=du(4568,4600,0)|0;break}else{a=bm(a,b)|0;a=uu(a,c[b>>2]|0)|0;break}}else a=du(28208,4600,0)|0;while(0);return a|0}function dm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;do if(!a)cu(4568,4616,1)|0;else{if(!b){cu(4640,4616,1)|0;break}e=am(a)|0;if((c[a>>2]|0)>>>0<(d+1+e|0)>>>0)gm(a,d+1+e<<1);VGa((c[a+12>>2]|0)+e|0,b|0,d|0)|0;c[a+4>>2]=(c[a+4>>2]|0)+d}while(0);return}function em(a,b){a=a|0;b=b|0;var d=0,e=0;do if(!a)cu(4568,4664,1)|0;else{if(!b){cu(22992,4664,1)|0;break}d=am(a)|0;e=SGa(b|0)|0;if((c[a>>2]|0)>>>0<(d+1+e|0)>>>0)gm(a,d+1+e<<1);VGa((c[a+12>>2]|0)+d|0,b|0,e|0)|0;c[a+4>>2]=(c[a+4>>2]|0)+e}while(0);return}function fm(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;do if(e){c[e>>2]=0;if(!a){cu(4568,4688,1)|0;break}if(!b){cu(4728,4688,1)|0;break}else{a=bm(a,f)|0;c[e>>2]=ku(a,c[f>>2]|0,b,d)|0;break}}else cu(4712,4688,1)|0;while(0);i=f;return}function gm(a,b){a=a|0;b=b|0;var d=0;do if(a){d=c[a>>2]|0;if(d>>>0>>0){d=mu(a+12|0,d,b)|0;c[a+12>>2]=d;if(!d){cu(4784,4752,1)|0;break}else{c[a>>2]=b;break}}}else cu(4568,4752,1)|0;while(0);return}function hm(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+32|0;a:do if(e){c[e>>2]=0;if(!a){cu(28232,4808,1)|0;break}gp(a,s+20|0,s+24|0,s+28|0);r=c[s+28>>2]|0;if(!((r|0)==2|(r|0)==4|(r|0)==8|(r|0)==32)){cu(4824,4808,1)|0;break}r=(b|0)<1?1:b;p=vp(a)|0;q=bp(a)|0;b=c[s+28>>2]|0;if((b|0)==32){a=WFa(5507,4)|0;b=c[s+24>>2]|0;b:do if((b|0)>0){f=c[s+20>>2]|0;g=b;o=0;b=0;c:while(1){l=ba(o,q)|0;if((f|0)>0){g=0;do{bq(c[p+(g+l<<2)>>2]|0,s+12|0,s+8|0,s+16|0);f=a+(((((c[s+8>>2]|0)*269|0)+((c[s+12>>2]|0)*137|0)+((c[s+16>>2]|0)*353|0)|0)%5507|0)<<2)|0;if(!(c[f>>2]|0)){c[f>>2]=1;if((b|0)>255)break c;else b=b+1|0}g=g+r|0;f=c[s+20>>2]|0}while((g|0)<(f|0));g=c[s+24>>2]|0}o=o+r|0;if((o|0)>=(g|0))break b}VFa(a);break a}else b=0;while(0);c[e>>2]=b;VFa(a);break}m=WFa(256,4)|0;h=c[s+24>>2]|0;if((h|0)>0){g=c[s+20>>2]|0;j=0;do{f=ba(j,q)|0;if((g|0)>0){k=0;do{if((b|0)==4)l=(c[p+((k>>3)+f<<2)>>2]|0)>>>(k<<2&28^28)&15;else if((b|0)==8)l=d[(p+(f<<2)+k^3)>>0]|0;else l=(c[p+((k>>4)+f<<2)>>2]|0)>>>(k<<1&30^30)&3;c[m+(l<<2)>>2]=1;k=k+r|0}while((k|0)<(g|0))}j=j+r|0}while((j|0)<(h|0));b=0;f=0}else{b=0;f=0}do{f=((c[m+(b<<2)>>2]|0)!=0&1)+f|0;b=b+1|0}while((b|0)!=256);c[e>>2]=f;VFa(m);b=Ap(a)|0;if((b|0)!=0&(r|0)==1?(o=qm(b)|0,(f|0)!=(o|0)):0){e=c[n>>2]|0;c[s>>2]=4808;c[s+4>>2]=o;zb(e|0,4848,s|0)|0}}else cu(5752,4808,1)|0;while(0);i=s;return}function im(a){a=a|0;var b=0;do if((a|0)==1|(a|0)==2|(a|0)==4|(a|0)==8){b=WFa(1,16)|0;if(!b){b=du(25792,4912,0)|0;break}c[b+4>>2]=a;c[b+8>>2]=1<>2]=a;c[b+12>>2]=0;break}}else b=du(4928,4912,0)|0;while(0);return b|0}function jm(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;do if(b){g=c[b+12>>2]|0;if((g|0)<(c[b+8>>2]|0)){h=c[b>>2]|0;a[h+(g<<2)+2>>0]=d;a[h+(g<<2)+1>>0]=e;a[h+(g<<2)>>0]=f;a[h+(g<<2)+3>>0]=-1;c[b+12>>2]=g+1;g=0;break}else{g=cu(5088,5048,1)|0;break}}else g=cu(5064,5048,1)|0;while(0);return g|0}function km(){var a=0,b=0;a=im(8)|0;b=0;do{jm(a,b,b,b)|0;b=b+1|0}while((b|0)!=256);return a|0}function lm(a){a=a|0;var b=0,d=0,e=0;do if(a){b=WFa(1,16)|0;if(!b){b=du(13864,4968,0)|0;break}d=c[a+8>>2]|0;e=WFa(1,d<<2)|0;c[b>>2]=e;if(!e){b=du(5008,4968,0)|0;break}else{VGa(e|0,c[a>>2]|0,d<<2|0)|0;c[b+12>>2]=c[a+12>>2];c[b+8>>2]=d;c[b+4>>2]=c[a+4>>2];break}}else b=du(4984,4968,0)|0;while(0);return b|0}function mm(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(a){b=c[a>>2]|0;if(b){VFa(c[b>>2]|0);VFa(b);c[a>>2]=0}}else{a=c[n>>2]|0;c[d>>2]=5032;zb(a|0,13744,d|0)|0}i=d;return}function nm(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;do if(b){h=c[b+12>>2]|0;if((h|0)<(c[b+8>>2]|0)){i=c[b>>2]|0;a[i+(h<<2)+2>>0]=d;a[i+(h<<2)+1>>0]=e;a[i+(h<<2)>>0]=f;a[i+(h<<2)+3>>0]=g;c[b+12>>2]=h+1;break}else{cu(5088,5112,1)|0;break}}else cu(5064,5112,1)|0;while(0);return}function om(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+16|0;do if(f){c[f>>2]=0;if(!a){cu(5064,5128,1)|0;break}if(pm(a,b,d,e,f)|0)if((c[a+12>>2]|0)<(c[a+8>>2]|0)){jm(a,b,d,e)|0;c[f>>2]=(qm(a)|0)+-1;break}else{b=c[n>>2]|0;c[g>>2]=5128;zb(b|0,5176,g|0)|0;break}}else cu(5152,5128,1)|0;while(0);i=g;return}function pm(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;a:do if(g){c[g>>2]=0;if(!a){a=cu(5064,5448,1)|0;break}i=qm(a)|0;h=c[a>>2]|0;if((i|0)>0){a=0;while(1){if(((d[h+(a<<2)+2>>0]|0|0)==(b|0)?(d[h+(a<<2)+1>>0]|0|0)==(e|0):0)?(d[h+(a<<2)>>0]|0|0)==(f|0):0)break;a=a+1|0;if((a|0)>=(i|0)){a=1;break a}}c[g>>2]=a;a=0}else a=1}else a=cu(5152,5448,1)|0;while(0);return a|0}function qm(a){a=a|0;if(!a)a=cu(5064,5264,0)|0;else a=c[a+12>>2]|0;return a|0}function rm(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;do if(f){c[f>>2]=0;if(!a){cu(5064,5216,1)|0;break}if(pm(a,b,d,e,f)|0)if((c[a+12>>2]|0)<(c[a+8>>2]|0)){jm(a,b,d,e)|0;c[f>>2]=(qm(a)|0)+-1;break}else{sm(a,b,d,e,f);break}}else cu(5152,5216,1)|0;while(0);return}function sm(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;a:do if(g){c[g>>2]=-1;if(!a){cu(5064,5592,1)|0;break}k=c[a>>2]|0;if(!k){cu(5616,5592,1)|0;break}i=qm(a)|0;if((i|0)>0){j=0;h=195076;while(1){l=(d[k+(j<<2)+2>>0]|0)-b|0;l=ba(l,l)|0;a=(d[k+(j<<2)+1>>0]|0)-e|0;l=(ba(a,a)|0)+l|0;a=(d[k+(j<<2)>>0]|0)-f|0;a=l+(ba(a,a)|0)|0;if((a|0)<(h|0)){c[g>>2]=j;if(!a)break a}else a=h;j=j+1|0;if((j|0)>=(i|0))break;else h=a}}}else cu(5152,5592,1)|0;while(0);return}function tm(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if(b)c[b>>2]=0;if(a){if((um(a)|0)>0)om(a,255,255,255,d);else vm(a,d);if(b)c[b>>2]=c[d>>2]}else cu(5064,5240,1)|0;i=d;return}function um(a){a=a|0;if(!a)a=cu(5064,5280,0)|0;else a=(c[a+8>>2]|0)-(c[a+12>>2]|0)|0;return a|0}function vm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+32|0;do if(!b)cu(5152,5568,1)|0;else{c[b>>2]=0;if(!a){cu(5064,5568,1)|0;break}e=qm(a)|0;d=jo(e)|0;c[f+4>>2]=d;if((e|0)>0){d=0;do{wm(a,d,f+16|0,f+12|0,f+8|0);ko(c[f+4>>2]|0,+((c[f+12>>2]|0)+(c[f+16>>2]|0)+(c[f+8>>2]|0)|0));d=d+1|0}while((d|0)!=(e|0));d=c[f+4>>2]|0}a=Fo(d)|0;c[f>>2]=a;so(a,~~(+(e+-1|0)+.5),b);lo(f+4|0);lo(f)}while(0);i=f;return}function wm(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;do if((e|0)!=0&(f|0)!=0&(g|0)!=0){c[g>>2]=0;c[f>>2]=0;c[e>>2]=0;if(!a){cu(5064,5304,1)|0;break}if((b|0)>=0?(c[a+12>>2]|0)>(b|0):0){a=c[a>>2]|0;c[e>>2]=d[a+(b<<2)+2>>0];c[f>>2]=d[a+(b<<2)+1>>0];c[g>>2]=d[a+(b<<2)>>0];break}cu(5360,5304,1)|0}else cu(5320,5304,1)|0;while(0);return}function xm(a,b,e,f,g,h){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;do if((e|0)!=0&(f|0)!=0&(g|0)!=0&(h|0)!=0){c[h>>2]=0;c[g>>2]=0;c[f>>2]=0;c[e>>2]=0;if(!a){cu(5064,5384,1)|0;break}if((b|0)>=0?(c[a+12>>2]|0)>(b|0):0){a=c[a>>2]|0;c[e>>2]=d[a+(b<<2)+2>>0];c[f>>2]=d[a+(b<<2)+1>>0];c[g>>2]=d[a+(b<<2)>>0];c[h>>2]=d[a+(b<<2)+3>>0];break}cu(5360,5384,1)|0}else cu(5400,5384,1)|0;while(0);return}function ym(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;do if(!b)cu(6400,5464,1)|0;else{c[b>>2]=0;if(!a){cu(5064,5464,1)|0;break}if(zm(a,j+8|0,j+4|0,j,0)|0){cu(17664,5464,1)|0;break}d=qm(a)|0;e=c[j+8>>2]|0;a:do if((d|0)>0){f=c[j+4>>2]|0;g=c[j>>2]|0;h=0;while(1){a=c[e+(h<<2)>>2]|0;if((a|0)!=(c[f+(h<<2)>>2]|0))break;if((a|0)!=(c[g+(h<<2)>>2]|0))break;h=h+1|0;if((h|0)>=(d|0))break a}c[b>>2]=1}while(0);VFa(e);VFa(c[j+4>>2]|0);VFa(c[j>>2]|0)}while(0);i=j;return}function zm(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;a:do if((b|0)!=0&(e|0)!=0&(f|0)!=0){c[f>>2]=0;c[e>>2]=0;c[b>>2]=0;if(g)c[g>>2]=0;if(!a){b=cu(5064,5640,1)|0;break}j=qm(a)|0;k=WFa(j,4)|0;if(((k|0)!=0?(h=WFa(j,4)|0,(h|0)!=0):0)?(i=WFa(j,4)|0,(i|0)!=0):0){c[b>>2]=k;c[e>>2]=h;c[f>>2]=i;if(g){f=WFa(j,4)|0;c[g>>2]=f}else f=0;b=c[a>>2]|0;if((j|0)>0)e=0;else{b=0;break}while(1){c[k+(e<<2)>>2]=d[b+(e<<2)+2>>0];c[h+(e<<2)>>2]=d[b+(e<<2)+1>>0];c[i+(e<<2)>>2]=d[b+(e<<2)>>0];if(g)c[f+(e<<2)>>2]=d[b+(e<<2)+3>>0];e=e+1|0;if((e|0)==(j|0)){b=0;break a}}}b=cu(5696,5640,1)|0}else b=cu(5656,5640,1)|0;while(0);return b|0}function Am(b,d){b=b|0;d=d|0;var e=0,f=0;a:do if(d){c[d>>2]=1;if(!b){cu(5064,5480,1)|0;break}f=qm(b)|0;b=c[b>>2]|0;if((f|0)>0){e=0;while(1){if((a[b+(e<<2)+3>>0]|0)!=-1)break;e=e+1|0;if((e|0)>=(f|0))break a}c[d>>2]=0}}else cu(5496,5480,1)|0;while(0);return}function Bm(b,d){b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;do if(d){c[d>>2]=0;if(!b){cu(5064,5520,1)|0;break}if((qm(b)|0)==2?(ym(b,e),(c[e>>2]|0)==0):0){b=c[b>>2]|0;f=a[b+2>>0]|0;b=a[b+6>>0]|0;if(!(f<<24>>24==0&b<<24>>24==-1)?!(f<<24>>24==-1&b<<24>>24==0):0)break;c[d>>2]=1}}else cu(5544,5520,1)|0;while(0);i=e;return}function Cm(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=i;i=i+16|0;do if(f){c[f>>2]=0;if(!e){cu(5752,5720,1)|0;break}c[e>>2]=0;if(!b){cu(5064,5720,1)|0;break}if((d+-3|0)>>>0>1){cu(5776,5720,1)|0;break}h=qm(b)|0;c[e>>2]=h;g=WFa(ba(h,d)|0,1)|0;if(!g){cu(25704,5720,1)|0;break}c[f>>2]=g;if((h|0)>0){f=0;do{xm(b,f,j+12|0,j+8|0,j+4|0,j);e=ba(f,d)|0;a[g+e>>0]=c[j+12>>2];a[g+(e+1)>>0]=c[j+8>>2];a[g+(e+2)>>0]=c[j+4>>2];if((d|0)==4)a[g+(e+3)>>0]=c[j>>2];f=f+1|0}while((f|0)!=(h|0))}}else cu(28184,5720,1)|0;while(0);i=j;return}function Dm(a,b){a=a|0;b=b|0;var c=0,e=0,f=0;do if(!a)c=du(27080,5792,0)|0;else{if(!b){c=du(5824,5792,0)|0;break}if((b|0)>256){c=du(5840,5792,0)|0;break}if((b|0)<=16)if((b|0)<=4){c=im((b|0)>2?2:1)|0;if((b|0)<=0)break}else{c=4;e=9}else{c=8;e=9}if((e|0)==9)c=im(c)|0;e=0;do{f=e<<2;nm(c,d[a+f>>0]|0,d[a+(f|1)>>0]|0,d[a+(f|2)>>0]|0,d[a+(f|3)>>0]|0);e=e+1|0}while((e|0)!=(b|0))}while(0);return c|0}function Em(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;h=i;i=i+16|0;do if(!b)f=du(27080,5856,0)|0;else{if((e|0)<1){f=du(5880,5856,0)|0;break}f=WFa((e*7|0)+4|0,1)|0;a[f>>0]=60;a[f+1>>0]=32;g=0;do{j=g*7|0;k=g*3|0;c[h>>2]=d[b+k>>0];wGa(h+4|0,4,5896,h)|0;a[f+(j+2)>>0]=a[h+4>>0]|0;a[f+(j+3)>>0]=a[h+5>>0]|0;c[h>>2]=d[b+(k+1)>>0];wGa(h+4|0,4,5896,h)|0;a[f+(j+4)>>0]=a[h+4>>0]|0;a[f+(j+5)>>0]=a[h+5>>0]|0;c[h>>2]=d[b+(k+2)>>0];wGa(h+4|0,4,5896,h)|0;a[f+(j+6)>>0]=a[h+4>>0]|0;a[f+(j+7)>>0]=a[h+5>>0]|0;a[f+(j+8)>>0]=32;g=g+1|0}while((g|0)!=(e|0));a[f+((e*7|0)+2)>>0]=62;a[f+((e*7|0)+3)>>0]=0}while(0);i=h;return f|0}function Fm(a,b,c){a=a|0;b=b|0;c=c|0;Gm(a,b,c);return}function Gm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,o=0,p=0;p=i;i=i+48|0;a:do if(!d)cu(5928,5904,1)|0;else{c[d>>2]=0;if(!a){cu(5952,5904,1)|0;break}if(!b){cu(5976,5904,1)|0;break}gp(a,p+24|0,p+16|0,p+12|0);gp(b,p+20|0,p+8|0,p+4|0);if((c[p+24>>2]|0)==(c[p+20>>2]|0)?(c[p+16>>2]|0)==(c[p+8>>2]|0):0){Hp(a)|0;Hp(b)|0;g=Ap(a)|0;f=(Ap(b)|0)!=0;if((!((g|0)!=0|f)?(e=c[p+12>>2]|0,h=c[p+4>>2]|0,(e|0)!=(h|0)):0)?(e|0)==32|(h|0)==32:0){d=c[n>>2]|0;c[p>>2]=5904;zb(d|0,6032,p|0)|0;break}if((g|0)!=0&f?(c[p+12>>2]|0)==(c[p+4>>2]|0):0){Hm(a,b,d)|0;break}do if((g|0)==0|f){if(!((g|0)==0&f))if((g|0)!=0&f){c[p+32>>2]=dr(a,2)|0;c[p+36>>2]=dr(b,2)|0;break}else{c[p+32>>2]=rp(a)|0;c[p+36>>2]=rp(b)|0;break}Im(b,p+28|0);e=c[p+12>>2]|0;if((c[p+28>>2]|0)!=0&(e|0)<9)break a;if((e|0)<8)e=qr(a,0)|0;else e=rp(a)|0;c[p+32>>2]=e;if((c[p+12>>2]|0)<9){c[p+36>>2]=dr(b,1)|0;break}else{c[p+36>>2]=dr(b,2)|0;break}}else{Im(a,p+28|0);e=c[p+4>>2]|0;if((c[p+28>>2]|0)!=0&(e|0)<9)break a;if((e|0)<8)e=qr(b,0)|0;else e=rp(b)|0;c[p+36>>2]=e;if((c[p+4>>2]|0)<9){c[p+32>>2]=dr(a,1)|0;break}else{c[p+32>>2]=dr(a,2)|0;break}}while(0);e=c[p+32>>2]|0;c[p+12>>2]=Dp(e)|0;f=Dp(c[p+36>>2]|0)|0;c[p+4>>2]=f;g=c[p+12>>2]|0;if((g|0)!=(f|0)){if((g|0)==16|(f|0)==16){d=c[n>>2]|0;c[p>>2]=5904;zb(d|0,6104,p|0)|0;cp(p+32|0);cp(p+36|0);break}c[p+40>>2]=vr(e)|0;o=vr(c[p+36>>2]|0)|0;c[p+44>>2]=o;if(!((c[p+40>>2]|0)!=0&(o|0)!=0)){d=c[n>>2]|0;c[p>>2]=5904;zb(d|0,6136,p|0)|0;cp(p+32|0);cp(p+36|0);cp(p+40|0);cp(p+44|0);break}}else{c[p+40>>2]=rp(e)|0;c[p+44>>2]=rp(c[p+36>>2]|0)|0}cp(p+32|0);cp(p+36|0);c[p+12>>2]=Dp(c[p+40>>2]|0)|0;c[p+4>>2]=Dp(c[p+44>>2]|0)|0;k=bp(c[p+40>>2]|0)|0;l=bp(c[p+44>>2]|0)|0;m=vp(c[p+40>>2]|0)|0;o=vp(c[p+44>>2]|0)|0;g=c[p+12>>2]|0;b:do if((g|0)==32){h=c[p+16>>2]|0;if((h|0)>0){g=0;c:while(1){if((k|0)>0){f=0;e=m+((ba(g,k)|0)<<2)|0;a=o+((ba(g,l)|0)<<2)|0;while(1){if((c[a>>2]^c[e>>2])>>>0>=256)break c;f=f+1|0;if((f|0)>=(k|0))break;else{e=e+4|0;a=a+4|0}}}g=g+1|0;if((g|0)>=(h|0))break b}cp(p+40|0);cp(p+44|0);break a}}else{g=ba(c[p+24>>2]|0,g)|0;if(!(g&31))e=0;else e=-1<<32-(g&31);f=c[p+16>>2]|0;if((f|0)>0){j=0;d:while(1){a=m+((ba(j,k)|0)<<2)|0;b=o+((ba(j,l)|0)<<2)|0;if((g|0)>31){h=0;do{if((c[a>>2]|0)!=(c[b>>2]|0)){e=57;break d}a=a+4|0;b=b+4|0;h=h+1|0}while((h|0)<((g|0)/32|0|0))}if((g&31|0)!=0?((c[b>>2]^c[a>>2])&e|0)!=0:0){e=61;break}j=j+1|0;if((j|0)>=(f|0))break b}if((e|0)==57){cp(p+40|0);cp(p+44|0);break a}else if((e|0)==61){cp(p+40|0);cp(p+44|0);break a}}}while(0);cp(p+40|0);cp(p+44|0);c[d>>2]=1;break}d=c[n>>2]|0;c[p>>2]=5904;zb(d|0,6e3,p|0)|0}while(0);i=p;return}function Hm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,o=0,p=0;p=i;i=i+48|0;a:do if(d){c[d>>2]=0;if(!a){e=cu(5952,6184,1)|0;break}if(!b){e=cu(5976,6184,1)|0;break}if(xp(a,b)|0){j=Ap(a)|0;k=Ap(b)|0;if(!((j|0)!=0&(k|0)!=0)){e=c[n>>2]|0;c[p>>2]=6184;zb(e|0,6232,p|0)|0;e=0;break}g=Dp(a)|0;if(!((g|0)==1|(g|0)==2|(g|0)==4|(g|0)==8)){e=c[n>>2]|0;c[p>>2]=6184;zb(e|0,6280,p|0)|0;e=0;break}e=qm(j)|0;b:do if((e|0)==(qm(k)|0))if((e|0)>0){f=0;while(1){wm(j,f,p+24|0,p+8|0,p+4|0);wm(k,f,p+20|0,p+16|0,p+12|0);if((c[p+24>>2]|0)!=(c[p+20>>2]|0)){f=0;break b}if((c[p+8>>2]|0)!=(c[p+16>>2]|0)){f=0;break b}f=f+1|0;if((c[p+4>>2]|0)!=(c[p+12>>2]|0)){f=0;break b}if((f|0)>=(e|0)){f=1;break}}}else f=1;else{f=c[n>>2]|0;c[p>>2]=6184;zb(f|0,6328,p|0)|0;f=0}while(0);o=up(a)|0;h=Cp(a)|0;if(f){e=ba(h,g)|0;l=bp(a)|0;m=bp(b)|0;g=vp(a)|0;a=vp(b)|0;if((o|0)>0){j=0;do{h=g+((ba(j,l)|0)<<2)|0;f=a+((ba(j,m)|0)<<2)|0;if((e|0)>31){k=0;do{if((c[h>>2]|0)!=(c[f>>2]|0)){e=0;break a}h=h+4|0;f=f+4|0;k=k+1|0}while((k|0)<((e|0)/32|0|0))}if((e&31|0)!=0?((c[f>>2]^c[h>>2])&-1<<32-(e&31)|0)!=0:0){e=0;break a}j=j+1|0}while((j|0)<(o|0))}c[d>>2]=1;e=0;break}else{if((o|0)>0){f=0;do{if((h|0)>0){e=0;do{Qp(a,e,f,p+28|0);Qp(b,e,f,p+32|0);wm(j,c[p+28>>2]|0,p+24|0,p+8|0,p+4|0);wm(k,c[p+32>>2]|0,p+20|0,p+16|0,p+12|0);if((c[p+24>>2]|0)!=(c[p+20>>2]|0)){e=0;break a}if((c[p+8>>2]|0)!=(c[p+16>>2]|0)){e=0;break a}e=e+1|0;if((c[p+4>>2]|0)!=(c[p+12>>2]|0)){e=0;break a}}while((e|0)<(h|0))}f=f+1|0}while((f|0)<(o|0))}c[d>>2]=1;e=0;break}}else e=0}else e=cu(6208,6184,1)|0;while(0);i=p;return e|0}function Im(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+32|0;do if(b){c[b>>2]=0;if(!a){cu(28232,6376,1)|0;break}f=Ap(a)|0;if((f|0)!=0?(ym(f,b),(c[b>>2]|0)!=0):0){c[g>>2]=Cq(a)|0;d=qm(f)|0;a:do if((d|0)>0){e=0;while(1){wm(f,e,g+16|0,g+12|0,g+8|0);so(c[g>>2]|0,e,g+4|0);a=c[g+16>>2]|0;if((a|0)==(c[g+12>>2]|0)){if((c[g+4>>2]|0)!=0?(a|0)!=(c[g+8>>2]|0):0)break}else if(c[g+4>>2]|0)break;e=e+1|0;if((e|0)>=(d|0))break a}c[b>>2]=1}while(0);lo(g)}}else cu(6400,6376,1)|0;while(0);i=g;return}function Jm(a,b){a=a|0;b=b|0;if(b)c[b>>2]=0;do if(a){if((Dp(a)|0)!=1){a=du(23944,6424,0)|0;break}if(b){a=Lm(a,b)|0;break}else{a=Km(a)|0;break}}else a=du(28232,6424,0)|0;while(0);return a|0}function Km(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+32|0;a:do if((a|0)!=0?(Dp(a)|0)==1:0){uq(a,g+16|0);if(c[g+16>>2]|0){a=Nl(1)|0;break}e=tp(0,a)|0;c[g+4>>2]=e;if(!e){a=du(24840,6568,0)|0;break}a=Ut(up(a)|0)|0;c[g>>2]=a;if(!a){a=du(6512,6568,0)|0;break}b=Ut(0)|0;if(!b){a=du(6528,6568,0)|0;break}c[a+12>>2]=b;a=Nl(0)|0;if(!a){a=du(16768,6568,0)|0;break}b=c[g+4>>2]|0;b:do if(Mm(b,0,0,g+12|0,g+8|0)|0){while(1){d=c[g+12>>2]|0;e=c[g+8>>2]|0;b=Nm(b,c[g>>2]|0,d,e)|0;if(!b)break;Ql(a,b,0);if(!(Mm(c[g+4>>2]|0,d,e,g+12|0,g+8|0)|0))break b;b=c[g+4>>2]|0}a=du(6552,6568,0)|0;break a}while(0);Vt(g);cp(g+4|0)}else f=3;while(0);if((f|0)==3)a=du(24744,6568,0)|0;i=g;return a|0}function Lm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;g=i;i=i+32|0;a:do if(!b)b=du(6456,6440,0)|0;else{c[b>>2]=0;if((a|0)!=0?(Dp(a)|0)==1:0){f=Hq(0)|0;c[b>>2]=f;uq(a,g+8|0);if(c[g+8>>2]|0){b=Nl(1)|0;break}e=tp(0,a)|0;c[g+24>>2]=e;if(!e){b=du(6480,6440,0)|0;break}e=tp(0,a)|0;c[g+4>>2]=e;if(!e){b=du(6496,6440,0)|0;break}b=Ut(up(a)|0)|0;c[g+12>>2]=b;if(!b){b=du(6512,6440,0)|0;break}a=Ut(0)|0;if(!a){b=du(6528,6440,0)|0;break}c[b+12>>2]=a;b=Nl(0)|0;if(!b){b=du(16768,6440,0)|0;break}a=c[g+24>>2]|0;b:do if(Mm(a,0,0,g+16|0,g+20|0)|0){while(1){d=c[g+16>>2]|0;e=c[g+20>>2]|0;a=Nm(a,c[g+12>>2]|0,d,e)|0;if(!a)break;Ql(b,a,0);h=Dq(c[g+24>>2]|0,a)|0;j=Dq(c[g+4>>2]|0,a)|0;c[g>>2]=j;tq(h,h,j);fs(c[g+4>>2]|0,c[a>>2]|0,c[a+4>>2]|0,c[a+8>>2]|0,c[a+12>>2]|0,12,h,0,0);Iq(f,h,0);cp(g);if(!(Mm(c[g+24>>2]|0,d,e,g+16|0,g+20|0)|0))break b;a=c[g+24>>2]|0}b=du(6552,6440,0)|0;break a}while(0);Rl(f+16|0);c[f+16>>2]=Ol(b)|0;Vt(g+12|0);cp(g+24|0);cp(g+4|0);break}b=du(24744,6440,0)|0}while(0);i=g;return b|0}function Mm(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=i;i=i+16|0;do if(a){gp(a,g+8|0,g+4|0,g);if((c[g>>2]|0)==1){h=bp(a)|0;a=vp(a)|0;a=Qm(a,c[g+8>>2]|0,c[g+4>>2]|0,h,b,d,e,f)|0;break}else{a=cu(23944,6608,0)|0;break}}else a=cu(28232,6608,0)|0;while(0);i=g;return a|0}function Nm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;do if((a|0)!=0?(Dp(a)|0)==1:0){if(!b){a=du(6648,6632,0)|0;break}a=Rm(a,b,c,d)|0;if(!a)a=du(6552,6632,0)|0}else e=3;while(0);if((e|0)==3)a=du(24744,6632,0)|0;return a|0}function Om(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=i;i=i+32|0;do if(!b)cu(20992,6584,1)|0;else{c[b>>2]=0;if((a|0)!=0?(Dp(a)|0)==1:0){uq(a,e+16|0);if(c[e+16>>2]|0)break;d=tp(0,a)|0;c[e+4>>2]=d;if(!d){cu(24840,6584,1)|0;break}d=Ut(Dp(a)|0)|0;c[e>>2]=d;if(!d){cu(6512,6584,1)|0;break}a=Ut(0)|0;if(!a){cu(6528,6584,1)|0;break}c[d+12>>2]=a;a=c[e+4>>2]|0;a:do if(Mm(a,0,0,e+12|0,e+8|0)|0)while(1){f=c[e+12>>2]|0;d=c[e+8>>2]|0;Pm(a,c[e>>2]|0,f,d);c[b>>2]=(c[b>>2]|0)+1;if(!(Mm(c[e+4>>2]|0,f,d,e+12|0,e+8|0)|0))break a;a=c[e+4>>2]|0}while(0);Vt(e);cp(e+4|0);break}cu(16456,6584,1)|0}while(0);i=e;return}function Pm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;do if((a|0)!=0?(Dp(a)|0)==1:0)if(!b){cu(6648,6688,1)|0;break}else{Sm(a,b,c,d)|0;break}else e=3;while(0);if((e|0)==3)cu(16456,6688,1)|0;return}function Qm(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0;n=ba(g,e)|0;a:do if((c[a+(((f|0)/32|0)+n<<2)>>2]|0)!=0?((f|0)<(b|0)?(f+31-((f|0)%32|0)|0)>=(f|0):0):0){j=f;while(1){k=j+1|0;if(c[a+((j>>5)+n<<2)>>2]&1<<(j&31^31))break;if((k|0)<(b|0)?(j|0)<(f+31-((f|0)%32|0)|0):0)j=k;else{l=6;break a}}c[h>>2]=j;c[i>>2]=g;j=1}else l=6;while(0);b:do if((l|0)==6){c:do if((((f|0)/32|0)+1<<5|0)<(b|0)){m=a+(((f|0)/32|0)+1+n<<2)|0;j=((f|0)/32|0)+1<<5;d:while(1){if((c[m>>2]|0)!=0&(j|0)<(b|0)){k=0;do{if(c[a+((j>>5)+n<<2)>>2]&1<<(j&31^31))break d;k=k+1|0;j=j+1|0}while((k|0)<32&(j|0)<(b|0))}j=j+32|0;if((j|0)>=(b|0))break c;else m=m+4|0}c[h>>2]=j;c[i>>2]=g;j=1;break b}while(0);if((g+1|0)<(d|0)){j=g+1|0;e:while(1){l=ba(j,e)|0;if((b|0)>0){m=a+(l<<2)|0;k=0;while(1){if((c[m>>2]|0)!=0&(k|0)<(b|0)){f=0;do{if(c[a+((k>>5)+l<<2)>>2]&1<<(k&31^31))break e;f=f+1|0;k=k+1|0}while((f|0)<32&(k|0)<(b|0))}k=k+32|0;if((k|0)>=(b|0))break;else m=m+4|0}}j=j+1|0;if((j|0)>=(d|0)){j=0;break b}}c[h>>2]=k;c[i>>2]=j;j=1}else j=0}while(0);return j|0}function Rm(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+48|0;c[q>>2]=e;do if((a|0)!=0?(Dp(a)|0)==1:0){if(!b){e=du(6648,6672,0)|0;break}if(!(c[b+12>>2]|0))c[b+12>>2]=Ut(0)|0;gp(a,q+16|0,q+28|0,0);n=c[q+16>>2]|0;o=c[q+28>>2]|0;p=vp(a)|0;m=bp(a)|0;k=ba(m,e)|0;if(((d|0)>=0?!((n|0)<=(d|0)|(e|0)<0|(o|0)<=(e|0)):0)?(c[p+(k+(d>>5)<<2)>>2]&1<<(d&31^31)|0)!=0:0){c[q+20>>2]=1e5;c[q+12>>2]=1e5;c[q+8>>2]=0;c[q+24>>2]=0;Tm(b,d,d,e,1,o+-1|0,q+12|0,q+24|0,q+20|0,q+8|0);Tm(b,d,d,e+1|0,-1,o+-1|0,q+12|0,q+24|0,q+20|0,q+8|0);c[q+24>>2]=d;c[q+12>>2]=d;c[q+8>>2]=e;c[q+20>>2]=e;if((Yt(b)|0)>0){do{Um(b,q+4|0,q+32|0,q,q+36|0);j=c[q>>2]|0;k=ba(j,m)|0;d=c[q+4>>2]|0;if((d|0)>0){f=d;h=d+-1|0;while(1){a=p+((h>>5)+k<<2)|0;e=c[a>>2]|0;g=h&31;if(!(e&1<<(g^31))){a=h;break}c[a>>2]=e&~(-2147483648>>>g);a=h+-1|0;if((h|0)>0){f=h;h=a}else{f=h;break}}if((f|0)<=(d+-1|0))if((f|0)<(d|0)){Tm(b,f,d+-1|0,j,0-(c[q+36>>2]|0)|0,o+-1|0,q+12|0,q+24|0,q+20|0,q+8|0);h=f}else h=f;else l=17}else{a=d+-1|0;l=17}if((l|0)==17){d=c[q+32>>2]|0;l=25}while(1){if((l|0)==25){l=0;e=d+1|0;while(1){d=a;a=a+1|0;if(!((d|0)<(e|0)&(d|0)<(n+-1|0))){f=(d|0)<(n+-1|0);d=(d|0)<(e|0);break}if(c[p+((a>>5)+k<<2)>>2]&1<<(a&31^31)){f=1;d=1;break}}if(d&f){d=a;h=a}else break}a:do if((d|0)>(n+-1|0))a=d;else while(1){a=p+((d>>5)+k<<2)|0;f=c[a>>2]|0;e=d&31;if(!(f&1<<(e^31))){a=d;break a}c[a>>2]=f&~(-2147483648>>>e);a=d+1|0;if((d|0)<(n+-1|0))d=a;else break}while(0);f=a+-1|0;e=c[q+36>>2]|0;Tm(b,h,f,j,e,o+-1|0,q+12|0,q+24|0,q+20|0,q+8|0);d=c[q+32>>2]|0;if((a|0)<=(d|0)){l=25;continue}Tm(b,d+1|0,f,j,0-e|0,o+-1|0,q+12|0,q+24|0,q+20|0,q+8|0);l=25}}while((Yt(b)|0)>0);a=c[q+12>>2]|0;f=c[q+24>>2]|0;d=c[q+20>>2]|0;e=c[q+8>>2]|0}else{a=d;f=d;d=e}e=Fl(a,d,1-a+f|0,1-d+e|0)|0;if(!e)e=du(6552,6672,0)|0}else e=0}else l=3;while(0);if((l|0)==3)e=du(24744,6672,0)|0;i=q;return e|0}function Sm(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+32|0;c[q+20>>2]=e;do if((a|0)!=0?(Dp(a)|0)==1:0){if(!b){a=cu(6648,6704,1)|0;break}if(!(c[b+12>>2]|0))c[b+12>>2]=Ut(0)|0;gp(a,q+16|0,q+12|0,0);n=c[q+16>>2]|0;o=c[q+12>>2]|0;p=vp(a)|0;m=bp(a)|0;l=ba(m,e)|0;if((((d|0)>=0?!((n|0)<=(d|0)|(e|0)<0|(o|0)<=(e|0)):0)?(c[p+(l+(d>>5)<<2)>>2]&1<<(d&31^31)|0)!=0:0)?(Vm(b,d,d,e,1,o+-1|0),Vm(b,d,d,e+1|0,-1,o+-1|0),(Yt(b)|0)>0):0)while(1){Um(b,q+8|0,q+4|0,q+20|0,q);k=c[q+20>>2]|0;l=ba(k,m)|0;e=c[q+8>>2]|0;if((e|0)>0){f=e;h=e+-1|0;while(1){d=p+((h>>5)+l<<2)|0;a=c[d>>2]|0;g=h&31;if(!(a&1<<(g^31))){a=h;break}c[d>>2]=a&~(-2147483648>>>g);a=h+-1|0;if((h|0)>0){f=h;h=a}else{f=h;break}}if((f|0)<=(e+-1|0))if((f|0)<(e|0)){Vm(b,f,e+-1|0,k,0-(c[q>>2]|0)|0,o+-1|0);h=f}else h=f;else j=17}else{a=e+-1|0;j=17}if((j|0)==17){e=c[q+4>>2]|0;j=25}while(1){if((j|0)==25){j=0;d=e+1|0;while(1){e=a;a=a+1|0;if(!((e|0)<(d|0)&(e|0)<(n+-1|0))){f=(e|0)<(n+-1|0);e=(e|0)<(d|0);break}if(c[p+((a>>5)+l<<2)>>2]&1<<(a&31^31)){f=1;e=1;break}}if(e&f){e=a;h=a}else break}a:do if((e|0)>(n+-1|0))a=e;else while(1){d=p+((e>>5)+l<<2)|0;a=c[d>>2]|0;f=e&31;if(!(a&1<<(f^31))){a=e;break a}c[d>>2]=a&~(-2147483648>>>f);a=e+1|0;if((e|0)<(n+-1|0))e=a;else break}while(0);f=a+-1|0;d=c[q>>2]|0;Vm(b,h,f,k,d,o+-1|0);e=c[q+4>>2]|0;if((a|0)<=(e|0)){j=25;continue}Vm(b,e+1|0,f,k,0-d|0,o+-1|0);j=25}if((Yt(b)|0)<=0){a=0;break}}else a=0}else j=3;while(0);if((j|0)==3)a=cu(16456,6704,1)|0;i=q;return a|0}function Tm(a,b,d,e,f,g,h,j,k,l){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,o=0;m=i;i=i+16|0;do if(a){o=c[h>>2]|0;c[h>>2]=(o|0)<(b|0)?o:b;h=c[j>>2]|0;c[j>>2]=(h|0)>(d|0)?h:d;h=c[k>>2]|0;c[k>>2]=(h|0)<(e|0)?h:e;k=c[l>>2]|0;c[l>>2]=(k|0)>(e|0)?k:e;if(!((f+e|0)<0|(f+e|0)>(g|0))){j=c[a+12>>2]|0;if(!j){o=c[n>>2]|0;c[m>>2]=6856;zb(o|0,6768,m|0)|0;break}if((Yt(j)|0)<=0){j=WFa(1,16)|0;if(!j){o=c[n>>2]|0;c[m>>2]=6856;zb(o|0,6824,m|0)|0;break}}else j=Wt(j)|0;c[j>>2]=b;c[j+4>>2]=d;c[j+8>>2]=e;c[j+12>>2]=f;Xt(a,j)}}else{o=c[n>>2]|0;c[m>>2]=6856;zb(o|0,6736,m|0)|0}while(0);i=m;return}function Um(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+16|0;do if(a){g=c[a+12>>2]|0;if(!g){e=c[n>>2]|0;c[h>>2]=6720;zb(e|0,6768,h|0)|0;break}a=Wt(a)|0;if(a){c[b>>2]=c[a>>2];c[d>>2]=c[a+4>>2];c[e>>2]=(c[a+12>>2]|0)+(c[a+8>>2]|0);c[f>>2]=c[a+12>>2];Xt(g,a)}}else{e=c[n>>2]|0;c[h>>2]=6720;zb(e|0,6736,h|0)|0}while(0);i=h;return}function Vm(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;do if(a){if(!((f+e|0)<0|(f+e|0)>(g|0))){g=c[a+12>>2]|0;if(!g){e=c[n>>2]|0;c[h>>2]=6808;zb(e|0,6768,h|0)|0;break}if((Yt(g)|0)<=0){g=WFa(1,16)|0;if(!g){e=c[n>>2]|0;c[h>>2]=6808;zb(e|0,6824,h|0)|0;break}}else g=Wt(g)|0;c[g>>2]=b;c[g+4>>2]=d;c[g+8>>2]=e;c[g+12>>2]=f;Xt(a,g)}}else{e=c[n>>2]|0;c[h>>2]=6808;zb(e|0,6736,h|0)|0}while(0);i=h;return}function Wm(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+64|0;do if(!a)b=du(28008,6872,0)|0;else{gp(a,g+16|0,g+28|0,g+24|0);d=c[g+16>>2]|0;b=c[g+28>>2]|0;if((d|0)<3|(b|0)<3){f=((d+-1|0)/2|0|0)>1?1:(d+-1|0)/2|0;e=((b+-1|0)/2|0|0)>1?1:(b+-1|0)/2|0;d=c[n>>2]|0;c[g>>2]=6872;zb(d|0,6888,g|0)|0;c[g>>2]=6872;c[g+4>>2]=f;c[g+8>>2]=e;zb(d|0,6936,g|0)|0}else{e=1;f=1}if(!(e|f)){b=tp(0,a)|0;break}d=c[g+24>>2]|0;if((d|0)==2|(d|0)==4|(d|0)==8?(Ap(a)|0)!=0:0){d=c[n>>2]|0;c[g>>2]=6872;zb(d|0,23608,g|0)|0;d=dr(a,4)|0;c[g+32>>2]=d;d=Dp(d)|0;c[g+24>>2]=d}else{c[g+32>>2]=rp(a)|0;d=c[g+24>>2]|0}if(!((d|0)==8|(d|0)==32)){cp(g+32|0);b=du(18328,6872,0)|0;break}b=c[g+32>>2]|0;if((d|0)==8)b=Xm(b,f,e)|0;else{d=Yp(b,0)|0;c[g+12>>2]=d;d=Xm(d,f,e)|0;c[g+20>>2]=d;cp(g+12|0);a=Yp(c[g+32>>2]|0,1)|0;c[g+36>>2]=a;a=Xm(a,f,e)|0;c[g+40>>2]=a;cp(g+36|0);b=Yp(c[g+32>>2]|0,2)|0;c[g+44>>2]=b;b=Xm(b,f,e)|0;c[g+48>>2]=b;cp(g+44|0);b=lq(d,a,b)|0;cp(g+20|0);cp(g+40|0);cp(g+48|0)}cp(g+32|0)}while(0);i=g;return b|0}function Xm(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0.0,k=0,l=0,m=0,o=0,p=0,q=0,r=0,s=0.0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;C=i;i=i+32|0;do if(!b)e=du(28232,6968,0)|0;else{gp(b,C+24|0,C+20|0,C+16|0);if((c[C+16>>2]|0)!=8){e=du(17536,6968,0)|0;break}h=(e|0)<0?0:e;g=(f|0)<0?0:f;e=c[C+24>>2]|0;f=c[C+20>>2]|0;if(!((e|0)>=(h<<1|1|0)?(f|0)>=(g<<1|1|0):0)){h=(h|0)<((e+-1|0)/2|0|0)?h:(e+-1|0)/2|0;g=(g|0)<((f+-1|0)/2|0|0)?g:(f+-1|0)/2|0;B=c[n>>2]|0;c[C>>2]=6968;zb(B|0,6888,C|0)|0;c[C>>2]=6968;c[C+4>>2]=h;c[C+8>>2]=g;zb(B|0,6936,C|0)|0}if(!(h|g)){e=tp(0,b)|0;break}B=Ym(b)|0;c[C+12>>2]=B;if(!B){e=du(24840,6968,0)|0;break}e=ep(b)|0;if(!e){cp(C+12|0);e=du(25344,6968,0)|0;break}w=bp(b)|0;l=bp(c[C+12>>2]|0)|0;x=vp(e)|0;k=vp(c[C+12>>2]|0)|0;y=c[C+24>>2]|0;u=c[C+20>>2]|0;z=y-h|0;A=u-g|0;if(!((z|0)<1|(A|0)<1)){B=h<<1|1;v=g<<1|1;j=1.0/+(ba(B,v)|0);if((u|0)>0){b=~g;f=~h;q=0;do{m=q+b|0;o=q+g|0;m=ba((m|0)>0?m:0,l)|0;o=ba((o|0)<(u+-1|0)?o:u+-1|0,l)|0;if((y|0)>0){p=x+((ba(q,w)|0)<<2)|0;r=0;do{D=r+f|0;D=(D|0)>0?D:0;t=r+h|0;t=(t|0)<(y+-1|0)?t:y+-1|0;a[(p+r^3)>>0]=~~(j*+(((c[k+(t+o<<2)>>2]|0)-(c[k+(D+o<<2)>>2]|0)+(c[k+(D+m<<2)>>2]|0)-(c[k+(t+m<<2)>>2]|0)|0)>>>0)+.5);r=r+1|0}while((r|0)!=(y|0))}q=q+1|0}while((q|0)!=(u|0))}if((g|0)>=0){b=(h|0)<0;t=h+1|0;f=(h|0)>0;q=y+h|0;m=0;while(1){s=+(v|0)/+(m+g|0);o=x+((ba(m,w)|0)<<2)|0;if(!b){p=0;do{r=o+p^3;j=+(B|0)/+(p+h|0)*(s*+(d[r>>0]|0));if(j<255.0)k=~~j&255;else k=-1;a[r>>0]=k;p=p+1|0}while((p|0)!=(t|0))}if((t|0)<(z|0)){p=t;do{r=o+p^3;j=s*+(d[r>>0]|0);if(j<255.0)k=~~j&255;else k=-1;a[r>>0]=k;p=p+1|0}while((p|0)!=(z|0))}if(f){p=z;do{r=o+p^3;j=+(B|0)/+(q-p|0)*(s*+(d[r>>0]|0));if(j<255.0)k=~~j&255;else k=-1;a[r>>0]=k;p=p+1|0}while((p|0)<(y|0))}if((m|0)==(g|0))break;else m=m+1|0}if((g|0)>0){m=u+g|0;k=A;do{s=+(v|0)/+(m-k|0);l=x+((ba(k,w)|0)<<2)|0;if(!b){o=0;do{p=l+o^3;j=+(B|0)/+(o+h|0)*(s*+(d[p>>0]|0));if(j<255.0)r=~~j&255;else r=-1;a[p>>0]=r;o=o+1|0}while((o|0)!=(t|0))}if((t|0)<(z|0)){o=t;do{p=l+o^3;j=s*+(d[p>>0]|0);if(j<255.0)r=~~j&255;else r=-1;a[p>>0]=r;o=o+1|0}while((o|0)!=(z|0))}if(f){o=z;do{p=l+o^3;j=+(B|0)/+(q-o|0)*(s*+(d[p>>0]|0));if(j<255.0)r=~~j&255;else r=-1;a[p>>0]=r;o=o+1|0}while((o|0)<(y|0))}k=k+1|0}while((k|0)<(u|0))}}b=g+1|0;if((b|0)<(A|0)){r=(h|0)<0;p=(h|0)>0;o=y+h|0;do{l=x+((ba(b,w)|0)<<2)|0;if(!r){k=0;while(1){f=l+k^3;j=+(B|0)/+(k+h|0)*+(d[f>>0]|0);if(j<255.0)g=~~j&255;else g=-1;a[f>>0]=g;if((k|0)==(h|0))break;else k=k+1|0}}if(p){k=z;do{f=l+k^3;j=+(B|0)/+(o-k|0)*+(d[f>>0]|0);if(j<255.0)g=~~j&255;else g=-1;a[f>>0]=g;k=k+1|0}while((k|0)<(y|0))}b=b+1|0}while((b|0)!=(A|0))}}else{B=c[n>>2]|0;c[C>>2]=7136;zb(B|0,7040,C|0)|0}cp(C+12|0)}while(0);i=C;return e|0}function Ym(b){b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,o=0,p=0,q=0,r=0,s=0;r=i;i=i+16|0;do if(b){gp(b,r+12|0,r+8|0,r+4|0);q=c[r+4>>2]|0;if(!((q|0)==1|(q|0)==8|(q|0)==32)){e=du(7016,6992,0)|0;break}e=_o(c[r+12>>2]|0,c[r+8>>2]|0,32)|0;if(!e){e=du(25344,6992,0)|0;break}q=vp(b)|0;p=vp(e)|0;k=bp(b)|0;l=bp(e)|0;m=c[r+12>>2]|0;o=c[r+8>>2]|0;b=c[r+4>>2]|0;if((b|0)==8){if((m|0)>0){f=0;do{b=a[(q+f^3)>>0]|0;if(!f)c[p>>2]=b&255;else c[p+(f<<2)>>2]=(c[p+(f+-1<<2)>>2]|0)+(b&255);f=f+1|0}while((f|0)!=(m|0))}if((o|0)>1)h=1;else break;do{g=ba(h,l)|0;if((m|0)>0){f=q+((ba(h,k)|0)<<2)|0;j=0;do{b=d[(f+j^3)>>0]|0;if(!j)c[p+(g<<2)>>2]=(c[p+(g-l<<2)>>2]|0)+b;else{s=j+-1|0;c[p+(j+g<<2)>>2]=(c[p+(s+g<<2)>>2]|0)+b+(c[p+(j+(g-l)<<2)>>2]|0)-(c[p+(s+(g-l)<<2)>>2]|0)}j=j+1|0}while((j|0)!=(m|0))}h=h+1|0}while((h|0)!=(o|0))}else if((b|0)==32){if((m|0)>0){f=0;do{b=c[q+(f<<2)>>2]|0;if(!f)c[p>>2]=b;else c[p+(f<<2)>>2]=(c[p+(f+-1<<2)>>2]|0)+b;f=f+1|0}while((f|0)!=(m|0))}if((o|0)>1)h=1;else break;do{f=ba(h,k)|0;b=ba(h,l)|0;if((m|0)>0){j=0;do{g=c[q+(j+f<<2)>>2]|0;if(!j)c[p+(b<<2)>>2]=(c[p+(b-l<<2)>>2]|0)+g;else{s=j+-1|0;c[p+(j+b<<2)>>2]=(c[p+(s+b<<2)>>2]|0)+g+(c[p+(j+(b-l)<<2)>>2]|0)-(c[p+(s+(b-l)<<2)>>2]|0)}j=j+1|0}while((j|0)!=(m|0))}h=h+1|0}while((h|0)!=(o|0))}else if((b|0)==1){if((m|0)>0){f=0;do{b=(c[q+(f>>5<<2)>>2]|0)>>>(f&31^31)&1;if(!f)c[p>>2]=b;else c[p+(f<<2)>>2]=(c[p+(f+-1<<2)>>2]|0)+b;f=f+1|0}while((f|0)!=(m|0))}if((o|0)>1)h=1;else break;do{g=ba(h,k)|0;f=ba(h,l)|0;if((m|0)>0){j=0;do{b=(c[q+((j>>5)+g<<2)>>2]|0)>>>(j&31^31)&1;if(!j)c[p+(f<<2)>>2]=(c[p+(f-l<<2)>>2]|0)+b;else{s=j+-1|0;c[p+(j+f<<2)>>2]=(c[p+(s+f<<2)>>2]|0)+b+(c[p+(j+(f-l)<<2)>>2]|0)-(c[p+(s+(f-l)<<2)>>2]|0)}j=j+1|0}while((j|0)!=(m|0))}h=h+1|0}while((h|0)!=(o|0))}else{s=c[n>>2]|0;c[r>>2]=7072;zb(s|0,7096,r|0)|0;break}}else e=du(28232,6992,0)|0;while(0);i=r;return e|0}function Zm(a){a=a|0;var b=0,d=0;b=(a|0)<1?50:a;a=WFa(1,40)|0;do if(a){d=WFa(b,8)|0;c[a+32>>2]=d;if(!d){a=du(7184,7152,0)|0;break}else{c[a>>2]=b;c[a+4>>2]=0;c[a+8>>2]=1;h[a+16>>3]=0.0;h[a+24>>3]=1.0;break}}else a=du(7168,7152,0)|0;while(0);return a|0}function _m(a,b){a=a|0;b=+b;var d=0;if(!a)cu(7224,7272,1)|0;else{d=en(a)|0;if((d|0)>=(c[a>>2]|0))on(a);h[(c[a+32>>2]|0)+(d<<3)>>3]=b;c[a+4>>2]=(c[a+4>>2]|0)+1}return}function $m(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if(a){b=c[a>>2]|0;if(b){an(b,-1);if((bn(b)|0)<1){d=c[b+32>>2]|0;if(d)VFa(d);VFa(b)}c[a>>2]=0}}else{a=c[n>>2]|0;c[e>>2]=7208;zb(a|0,25936,e|0)|0}i=e;return}function an(a,b){a=a|0;b=b|0;if(!a)cu(7224,7360,1)|0;else c[a+8>>2]=(c[a+8>>2]|0)+b;return}function bn(a){a=a|0;if(!a)a=cu(7224,7336,-1)|0;else a=c[a+8>>2]|0;return a|0}function cn(a){a=a|0;if(!a)a=du(7224,7240,0)|0;else an(a,1);return a|0}function dn(a){a=a|0;if(!a)cu(7224,7256,1)|0;else c[a+4>>2]=0;return}function en(a){a=a|0;if(!a)a=cu(7224,7288,0)|0;else a=c[a+4>>2]|0;return a|0}function fn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;do if(!d)cu(9416,7304,1)|0;else{c[d>>2]=0;if(!a){cu(7224,7304,1)|0;break}if((b|0)>=0?(c[a+4>>2]|0)>(b|0):0){e=+h[(c[a+32>>2]|0)+(b<<3)>>3];c[d>>2]=~~(e+(e<0.0?-.5:.5));break}cu(22808,7304,1)|0}while(0);return}function gn(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;do if(a){d=en(a)|0;b=WFa(d,4)|0;if(!b){b=du(25200,7320,0)|0;break}if((d|0)>0){e=0;do{fn(a,e,f);c[b+(e<<2)>>2]=c[f>>2];e=e+1|0}while((e|0)!=(d|0))}}else b=du(7224,7320,0)|0;while(0);i=f;return b|0}function hn(a){a=a|0;var b=0,d=0;b=(a|0)<1?50:a;a=WFa(1,12)|0;do if(a){d=WFa(b,4)|0;c[a+8>>2]=d;if(!d){a=du(7416,7384,0)|0;break}else{c[a>>2]=b;c[a+4>>2]=0;break}}else a=du(7400,7384,0)|0;while(0);return a|0}function jn(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;if(a){e=c[a>>2]|0;if(e){b=c[e+8>>2]|0;if((c[e+4>>2]|0)>0){d=0;do{$m(b+(d<<2)|0);d=d+1|0;b=c[e+8>>2]|0}while((d|0)<(c[e+4>>2]|0))}VFa(b);VFa(e);c[a>>2]=0}}else{a=c[n>>2]|0;c[f>>2]=7448;zb(a|0,25048,f|0)|0}i=f;return}function kn(a,b){a=a|0;b=b|0;var d=0,e=0;do if(!a)cu(7480,7464,1)|0;else{if(!b){cu(7224,7464,1)|0;break}e=ln(a)|0;d=c[a>>2]|0;do if((e|0)>=(d|0)){d=mu(a+8|0,d<<2,d<<3)|0;c[a+8>>2]=d;if(!d){cu(23144,7560,1)|0;d=a+8|0;break}else{c[a>>2]=c[a>>2]<<1;d=a+8|0;break}}else d=a+8|0;while(0);c[(c[d>>2]|0)+(e<<2)>>2]=b;c[a+4>>2]=(c[a+4>>2]|0)+1}while(0);return}function ln(a){a=a|0;if(!a)a=cu(7480,7496,0)|0;else a=c[a+4>>2]|0;return a|0}function mn(a,b){a=a|0;b=b|0;do if(!a)a=du(7480,7512,0)|0;else{if((b|0)>=0?(c[a+4>>2]|0)>(b|0):0){a=cn(c[(c[a+8>>2]|0)+(b<<2)>>2]|0)|0;break}a=du(22808,7512,0)|0}while(0);return a|0}function nn(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if(a){d=en(a)|0;b=Zm(d+-1|0)|0;if((d|0)>1){e=1;f=0;while(1){fn(a,e,g);_m(b,+((c[g>>2]|0)-f|0));e=e+1|0;if((e|0)==(d|0))break;else f=c[g>>2]|0}}}else b=du(7544,7528,0)|0;i=g;return b|0}function on(a){a=a|0;var b=0;do if(a){b=c[a>>2]|0;b=mu(a+32|0,b<<3,b<<4)|0;c[a+32>>2]=b;if(!b){cu(23144,7584,1)|0;break}else{c[a>>2]=c[a>>2]<<1;break}}else cu(7224,7584,1)|0;while(0);return}function pn(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;do if(!f)g=du(7608,7688,0)|0;else{c[f>>2]=0;if(!b){g=du(7632,7688,0)|0;break}if((e|0)<1){g=du(7656,7688,0)|0;break}g=WFa(~~(+(e|0)*5.0*.25*1.03125+80.0),1)|0;if(!g){g=du(7672,7688,0)|0;break}r=WFa(8,1)|0;if(!r){g=du(7704,7688,0)|0;break}o=0;i=0;h=0;do{n=e-o|0;n=(n|0)>4?4:n;k=o;o=n+o|0;p=(o|0)==(e|0);if((n|0)>0){l=(k+~e|0)>-5?~(k+~e):4;m=0;j=0;do{j=((d[b+(m+k)>>0]|0)<<(3-m<<3))+j|0;m=m+1|0}while((m|0)!=(l|0));if(j){if((n|0)>=0){k=4;while(1){m=c[7720+(k<<2)>>2]|0;l=(j>>>0)/(m>>>0)|0;a[r+(4-k)>>0]=l+33;j=j-(ba(l,m)|0)|0;if((k|0)<=(4-n|0))break;else k=k+-1|0}if((n|0)>-1){m=n+1|0;q=20}}}else q=17}else q=17;if((q|0)==17){a[r>>0]=122;m=1;q=20}if((q|0)==20){q=0;n=0;do{j=h+1|0;a[g+h>>0]=a[r+n>>0]|0;if((i|0)>62){a[g+j>>0]=10;i=0;h=h+2|0}else{i=i+1|0;h=j}n=n+1|0}while((n|0)!=(m|0))}}while(!p);if(i){a[g+h>>0]=10;h=h+1|0}a[g+h>>0]=126;a[g+(h+1)>>0]=62;a[g+(h+2)>>0]=10;VFa(r);c[f>>2]=h+3}while(0);return g|0}function qn(a,b,d){a=a|0;b=b|0;d=+d;var e=0,f=0,g=0,h=0,j=0;g=i;i=i+32|0;do if((a|0)!=0?(Dp(a)|0)!=1:0){if(d<=0.0|(b|0)<1){e=c[n>>2]|0;c[g>>2]=7744;zb(e|0,7800,g|0)|0;e=rp(a)|0;break}if((b+-1|0)>>>0<2){e=rn(a,b,d)|0;break}e=ur(a)|0;c[g+8>>2]=e;if(!e){e=du(24840,7744,0)|0;break}if((Dp(e)|0)!=8){j=Yp(a,0)|0;c[g+20>>2]=j;j=sn(j,b,d)|0;c[g+16>>2]=j;cp(g+20|0);h=Yp(a,1)|0;c[g+24>>2]=h;h=sn(h,b,d)|0;c[g+4>>2]=h;cp(g+24|0);e=Yp(a,2)|0;c[g+12>>2]=e;e=sn(e,b,d)|0;c[g+28>>2]=e;cp(g+12|0);e=lq(j,h,e)|0;cp(g+16|0);cp(g+4|0);cp(g+28|0);if((Hp(a)|0)==4)Ps(e,a,1.0,1.0)}else e=sn(e,b,d)|0;cp(g+8|0)}else f=3;while(0);if((f|0)==3)e=du(7768,7744,0)|0;i=g;return e|0}function rn(a,b,d){a=a|0;b=b|0;d=+d;var e=0,f=0,g=0,h=0,j=0;g=i;i=i+32|0;do if((a|0)!=0?(Dp(a)|0)!=1:0){if(d<=0.0|(b|0)<1){e=c[n>>2]|0;c[g>>2]=7912;zb(e|0,7800,g|0)|0;e=rp(a)|0;break}if((b+-1|0)>>>0>1){e=du(7936,7912,0)|0;break}e=ur(a)|0;c[g+8>>2]=e;if(!e){e=du(24840,7912,0)|0;break}if((Dp(e)|0)==8)e=tn(e,b,d)|0;else{j=Yp(a,0)|0;c[g+20>>2]=j;j=tn(j,b,d)|0;c[g+16>>2]=j;cp(g+20|0);h=Yp(a,1)|0;c[g+24>>2]=h;h=tn(h,b,d)|0;c[g+4>>2]=h;cp(g+24|0);e=Yp(a,2)|0;c[g+12>>2]=e;e=tn(e,b,d)|0;c[g+28>>2]=e;cp(g+12|0);e=lq(j,h,e)|0;if((Hp(a)|0)==4)Ps(e,a,1.0,1.0);cp(g+16|0);cp(g+4|0);cp(g+28|0)}cp(g+8|0)}else f=3;while(0);if((f|0)==3)e=du(7768,7912,0)|0;i=g;return e|0}function sn(a,b,d){a=a|0;b=b|0;d=+d;var e=0,f=0;e=i;i=i+32|0;do if(!a)b=du(28232,7856,0)|0;else{gp(a,e+20|0,e+16|0,e+12|0);if((c[e+12>>2]|0)==8?(Ap(a)|0)==0:0){if(d<=0.0|(b|0)<1){b=c[n>>2]|0;c[e>>2]=7856;zb(b|0,7800,e|0)|0;b=rp(a)|0;break}if((b+-1|0)>>>0<2){b=tn(a,b,d)|0;break}b=Xm(a,b,b)|0;c[e+8>>2]=b;if(!b){b=du(19496,7856,0)|0;break}else{f=Rq(c[e+20>>2]|0,c[e+16>>2]|0)|0;c[e+4>>2]=f;Sq(f,a);Xq(f,b);Yq(f,d);Sq(f,a);b=Uq(f)|0;Tq(e+4|0);cp(e+8|0);break}}b=du(7880,7856,0)|0}while(0);i=e;return b|0}function tn(a,b,d){a=a|0;b=b|0;d=+d;var e=0;e=i;i=i+16|0;do if(!a)b=du(28232,7968,0)|0;else{if((Dp(a)|0)==8?(Ap(a)|0)==0:0){if(d<=0.0|(b|0)<1){b=c[n>>2]|0;c[e>>2]=7968;zb(b|0,7800,e|0)|0;b=rp(a)|0;break}if((b+-1|0)>>>0>1){b=du(7936,7968,0)|0;break}else{b=un(a,b,d)|0;break}}b=du(7880,7968,0)|0}while(0);i=e;return b|0}function un(b,e,f){b=b|0;e=e|0;f=+f;var h=0,j=0,k=0,l=0,m=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0;z=i;i=i+32|0;a:do if(!b)h=du(28232,8e3,0)|0;else{gp(b,z+16|0,z+12|0,z+8|0);if((c[z+8>>2]|0)==8?(Ap(b)|0)==0:0){if(f<=0.0|(e|0)<1){h=c[n>>2]|0;c[z>>2]=8e3;zb(h|0,7800,z|0)|0;h=rp(b)|0;break}if((e+-1|0)>>>0>1){h=du(7936,8e3,0)|0;break}h=eq(b,e,e,e,e)|0;w=vp(h)|0;x=bp(h)|0;y=vp(b)|0;v=bp(b)|0;if((e|0)==1){b=c[z+12>>2]|0;if((b+-1|0)<=1)break;e=c[z+16>>2]|0;o=1;while(1){j=o;o=o+1|0;if((e+-1|0)>1){k=w+((ba(j,x)|0)<<2)|0;l=y+((ba(o,v)|0)<<2)|0;m=y+((ba(j,v)|0)<<2)|0;b=y+((ba(j+-1|0,v)|0)<<2)|0;j=1;do{u=j+-1|0;e=j;j=j+1|0;u=~~(-f/9.0*+(d[(b+u^3)>>0]|0|0)+-f/9.0*+(d[(b+e^3)>>0]|0|0)+-f/9.0*+(d[(b+j^3)>>0]|0|0)+-f/9.0*+(d[(m+u^3)>>0]|0|0)+(f*8.0/9.0+1.0)*+(d[(m+e^3)>>0]|0|0)+-f/9.0*+(d[(m+j^3)>>0]|0|0)+-f/9.0*+(d[(l+u^3)>>0]|0|0)+-f/9.0*+(d[(l+e^3)>>0]|0|0)+-f/9.0*+(d[(l+j^3)>>0]|0|0)+.5);u=(u|0)<0?0:u;a[(k+e^3)>>0]=(u|0)>255?-1:u&255;e=c[z+16>>2]|0}while((j|0)<(e+-1|0));b=c[z+12>>2]|0}if((o|0)>=(b+-1|0))break a}}u=vn(c[z+16>>2]|0,c[z+12>>2]|0)|0;c[z+4>>2]=u;t=An(u)|0;u=Dn(u)|0;b=c[z+12>>2]|0;if((b+-2|0)>2){e=c[z+16>>2]|0;m=2;do{j=ba(m,u)|0;if((e+-2|0)>2){k=y+((ba(m,v)|0)<<2)|0;l=2;do{s=l;l=l+1|0;g[t+(s+j<<2)>>2]=+((d[(k+(s+-1)^3)>>0]|0)+(d[(k+(s+-2)^3)>>0]|0)+(d[(k+s^3)>>0]|0)+(d[(k+l^3)>>0]|0)+(d[(k+(s+2)^3)>>0]|0)|0)}while((l|0)!=(e+-2|0))}m=m+1|0}while((m|0)!=(b+-2|0));s=2;do{k=ba(s+-2|0,u)|0;j=ba(s+-1|0,u)|0;p=ba(s,u)|0;o=s;s=s+1|0;q=ba(s,u)|0;r=ba(o+2|0,u)|0;if((e+-2|0)>2){l=y+((ba(o,v)|0)<<2)|0;m=w+((ba(o,x)|0)<<2)|0;o=2;do{A=+(d[(l+o^3)>>0]|0|0);e=~~(A+(A-(+g[t+(o+k<<2)>>2]+ +g[t+(o+j<<2)>>2]+ +g[t+(o+p<<2)>>2]+ +g[t+(o+q<<2)>>2]+ +g[t+(o+r<<2)>>2])*.04)*f+.5);e=(e|0)<0?0:e;a[(m+o^3)>>0]=(e|0)>255?-1:e&255;o=o+1|0;e=c[z+16>>2]|0}while((o|0)<(e+-2|0));b=c[z+12>>2]|0}}while((s|0)<(b+-2|0))}Bn(z+4|0);break}h=du(7880,8e3,0)|0}while(0);i=z;return h|0}function vn(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;do if((a|0)>=1){if((b|0)<1){d=du(15200,8024,0)|0;break}if((ba(a<<2,b)|0)<0){d=c[n>>2]|0;c[e>>2]=8024;c[e+4>>2]=a;c[e+8>>2]=b;zb(d|0,8040,e|0)|0;d=du(13664,8024,0)|0;break}d=WFa(1,28)|0;if(!d){d=du(8080,8024,0)|0;break}wn(d,a,b);xn(d,a);c[d+12>>2]=1;b=WFa(ba(b,a)|0,4)|0;if(!b){d=du(8104,8024,0)|0;break}else{yn(d,b);break}}else d=du(15176,8024,0)|0;while(0);i=e;return d|0}function wn(a,b,d){a=a|0;b=b|0;d=d|0;if(!a)cu(8128,8168,1)|0;else{c[a>>2]=b;c[a+4>>2]=d}return}function xn(a,b){a=a|0;b=b|0;if(!a)cu(8128,8208,1)|0;else c[a+8>>2]=b;return}function yn(a,b){a=a|0;b=b|0;if(!a)cu(8128,8280,1)|0;else c[a+24>>2]=b;return}function zn(a){a=a|0;if(!a)cu(8128,8240,1)|0;else c[a+12>>2]=(c[a+12>>2]|0)+-1;return}function An(a){a=a|0;if(!a)a=du(8128,8264,0)|0;else a=c[a+24>>2]|0;return a|0}function Bn(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if(a){b=c[a>>2]|0;if(b){zn(b);if((Cn(b)|0)<1){d=An(b)|0;if(d)VFa(d);VFa(b)}c[a>>2]=0}}else{a=c[n>>2]|0;c[e>>2]=8152;zb(a|0,13744,e|0)|0}i=e;return}function Cn(a){a=a|0;if(!a)a=cu(8128,8224,-1)|0;else a=c[a+12>>2]|0;return a|0}function Dn(a){a=a|0;if(!a)a=cu(8128,8192,-1)|0;else a=c[a+8>>2]|0;return a|0}function En(){return du(28344,8296,0)|0}function Fn(){return cu(28344,8320,1)|0}function Gn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0.0,h=0,i=0,j=0;do if(!((c|0)==(a|0)&(d|0)==(b|0))){e=(c-a|0)<0?0-(c-a)|0:c-a|0;f=(d-b|0)<0?0-(d-b)|0:d-b|0;if((e|0)<(f|0)){h=0;i=f+1|0;j=d-b>>31|1;g=+(ba(d-b>>31|1,c-a|0)|0)/+(d-b|0);break}else{h=1;i=e+1|0;j=c-a>>31|1;g=+(ba(c-a>>31|1,d-b|0)|0)/+(c-a|0);break}}else{h=0;i=1;j=0;g=0.0}while(0);e=Ir(i)|0;do if(e){if((i|0)==1){Kr(e,+(a|0),+(b|0));break}f=(i|0)>0;if(!h){if(!f)break;f=0;do{Kr(e,+(~~(+(a|0)+g*+(f|0)+.5)|0),+((ba(f,j)|0)+b|0));f=f+1|0}while((f|0)!=(i|0))}else{if(!f)break;f=0;do{Kr(e,+((ba(f,j)|0)+a|0),+(~~(+(b|0)+g*+(f|0)+.5)|0));f=f+1|0}while((f|0)!=(i|0))}}else e=du(20336,8344,0)|0;while(0);return e|0}function Hn(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;if((f|0)<1){k=c[n>>2]|0;c[l>>2]=8360;zb(k|0,8384,l|0)|0;k=1}else k=f;f=Gn(a,b,d,e)|0;a:do if(f){if((k|0)!=1){g=(k|0)>1;if((((a-d|0)<0?0-(a-d)|0:a-d|0)|0)>(((b-e|0)<0?0-(b-e)|0:b-e|0)|0)){if(g)j=1;else break;while(1){h=j;j=j+1|0;g=(j|0)/2|0;if(!(h&1)){h=g+b|0;g=g+e|0}else{h=b-g|0;g=e-g|0}g=Gn(a,h,d,g)|0;c[l+4>>2]=g;if(!g)break;Tr(f,g);Lr(l+4|0);if((j|0)>=(k|0))break a}f=du(20336,8360,0)|0;break}else{if(g)j=1;else break;while(1){h=j;j=j+1|0;g=(j|0)/2|0;if(!(h&1)){h=g+a|0;g=g+d|0}else{h=a-g|0;g=d-g|0}g=Gn(h,b,g,e)|0;c[l+4>>2]=g;if(!g)break;Tr(f,g);Lr(l+4|0);if((j|0)>=(k|0))break a}f=du(20336,8360,0)|0;break}}}else f=du(8424,8360,0)|0;while(0);i=l;return f|0}function In(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+32|0;do if(a){if((b|0)<1){g=c[n>>2]|0;c[h>>2]=8440;zb(g|0,8384,h|0)|0;g=1}else g=b;Ml(a,h+20|0,h+16|0,h+12|0,h+8|0);if((c[h+12>>2]|0)==0|(c[h+8>>2]|0)==0){b=du(8456,8440,0)|0;break}b=Ir(0)|0;a=c[h+20>>2]|0;d=(g|0)/2|0;e=c[h+16>>2]|0;f=(c[h+12>>2]|0)+a|0;if(!(g&1)){e=Hn(a-d|0,e,d+-2+f|0,e,g)|0;c[h+4>>2]=e;Tr(b,e);Lr(h+4|0);e=(c[h+20>>2]|0)+-1+(c[h+12>>2]|0)|0;f=c[h+16>>2]|0;f=Hn(e,f+d|0,e,-2-d+f+(c[h+8>>2]|0)|0,g)|0;c[h+4>>2]=f;Tr(b,f);Lr(h+4|0);f=c[h+20>>2]|0;e=(c[h+16>>2]|0)+-1+(c[h+8>>2]|0)|0;e=Hn(d+-2+f+(c[h+12>>2]|0)|0,e,f-d|0,e,g)|0;c[h+4>>2]=e;Tr(b,e);Lr(h+4|0);e=c[h+20>>2]|0;f=c[h+16>>2]|0;g=Hn(e,-2-d+f+(c[h+8>>2]|0)|0,e,f+d|0,g)|0;c[h+4>>2]=g;Tr(b,g);Lr(h+4|0);break}else{e=Hn(a-d|0,e,d+-1+f|0,e,g)|0;c[h+4>>2]=e;Tr(b,e);Lr(h+4|0);e=(c[h+20>>2]|0)+-1+(c[h+12>>2]|0)|0;f=c[h+16>>2]|0;f=Hn(e,d+1+f|0,e,-2-d+f+(c[h+8>>2]|0)|0,g)|0;c[h+4>>2]=f;Tr(b,f);Lr(h+4|0);f=c[h+20>>2]|0;e=(c[h+16>>2]|0)+-1+(c[h+8>>2]|0)|0;e=Hn(d+-1+f+(c[h+12>>2]|0)|0,e,f-d|0,e,g)|0;c[h+4>>2]=e;Tr(b,e);Lr(h+4|0);e=c[h+20>>2]|0;f=c[h+16>>2]|0;g=Hn(e,-2-d+f+(c[h+8>>2]|0)|0,e,d+1+f|0,g)|0;c[h+4>>2]=g;Tr(b,g);Lr(h+4|0);break}}else b=du(16856,8440,0)|0;while(0);i=h;return b|0}function Jn(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+16|0;if(!a)b=du(8496,8480,0)|0;else{if((b|0)<1){d=c[n>>2]|0;c[f>>2]=8480;zb(d|0,8384,f|0)|0;d=1}else d=b;e=Sl(a)|0;b=Ir(0)|0;c[f+8>>2]=b;if((e|0)>0){b=0;do{g=Pl(a,b)|0;c[f+12>>2]=g;g=In(g,d)|0;c[f+4>>2]=g;Tr(c[f+8>>2]|0,g);Lr(f+4|0);Kl(f+12|0);b=b+1|0}while((b|0)!=(e|0));b=c[f+8>>2]|0}b=Qr(b)|0;Lr(f+8|0)}i=f;return b|0}function Kn(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;f=i;i=i+32|0;if(a){d=Or(a)|0;b=Ir(0)|0;c[f+4>>2]=b;if((d|0)>=2){Pr(a,0,f+20|0,f+16|0);e=1;do{Pr(a,e,f+12|0,f+8|0);g=Hn(c[f+20>>2]|0,c[f+16>>2]|0,c[f+12>>2]|0,c[f+8>>2]|0,5)|0;c[f>>2]=g;Tr(b,g);Lr(f);c[f+20>>2]=c[f+12>>2];c[f+16>>2]=c[f+8>>2];e=e+1|0}while((e|0)!=(d|0));Pr(a,0,f+12|0,f+8|0);g=Hn(c[f+20>>2]|0,c[f+16>>2]|0,c[f+12>>2]|0,c[f+8>>2]|0,5)|0;c[f>>2]=g;Tr(b,g);Lr(f);b=Qr(b)|0;Lr(f+4|0)}}else b=du(8544,8520,0)|0;i=f;return b|0} -function hJ(b){b=b|0;nT(b);c[b>>2]=43576;Wk(b+5168|0,0,43592,43624,0,b+364|0);Wk(b+5184|0,0,43672,43712,0,b+364|0);Wk(b+5200|0,0,43768,43800,0,b+364|0);Wk(b+5216|0,0,43840,43872,0,b+364|0);Wk(b+5232|0,0,43912,43944,0,b+364|0);rJ(b+5248|0,6,44e3,44024,0,b+364|0);rJ(b+5272|0,0,44160,44192,1,b+364|0);sJ(b+5296|0,1714496,44368,44392,0,b+364|0);sJ(b+5320|0,1714496,44432,44456,0,b+364|0);sJ(b+5344|0,1714496,44488,44520,0,b+364|0);Wk(b+5368|0,0,44576,44608,0,b+364|0);rJ(b+5384|0,0,44648,44688,0,b+364|0);rJ(b+5408|0,0,44800,44832,0,b+364|0);sJ(b+5432|0,1714496,44928,44960,0,b+364|0);Wk(b+5456|0,0,45e3,45024,0,b+364|0);rJ(b+5472|0,0,45080,45096,0,b+364|0);rJ(b+5496|0,1,45120,45136,0,b+364|0);rJ(b+5520|0,0,45152,45168,0,b+364|0);sJ(b+5544|0,45200,45208,45240,0,b+364|0);Wk(b+5568|0,0,45392,45440,0,b+364|0);Wk(b+5584|0,0,45560,45592,0,b+364|0);Wk(b+5600|0,0,45704,45736,0,b+364|0);Wk(b+5616|0,0,45760,45784,0,b+364|0);Wk(b+5632|0,0,45808,45832,0,b+364|0);Wk(b+5648|0,1,45856,45888,0,b+364|0);Wk(b+5664|0,0,45920,45944,0,b+364|0);Wk(b+5680|0,1,45984,46008,0,b+364|0);Wk(b+5696|0,1,46032,46056,0,b+364|0);Wk(b+5712|0,1,46080,46112,0,b+364|0);Wk(b+5728|0,0,46152,46176,0,b+364|0);Wk(b+5744|0,0,46208,46240,0,b+364|0);Wk(b+5760|0,1,46264,46304,0,b+364|0);Wk(b+5776|0,0,46360,46392,0,b+364|0);rJ(b+5792|0,0,46448,46472,0,b+364|0);Wk(b+5816|0,1,46520,46544,0,b+364|0);rJ(b+5832|0,0,46664,46688,0,b+364|0);tJ(b+5856|0,-8.0,46728,46752,b+364|0);tJ(b+5896|0,-1.0,46792,46816,b+364|0);tJ(b+5936|0,-3.0,46856,46872,b+364|0);tJ(b+5976|0,.375,46912,46936,b+364|0);rJ(b+6016|0,8,46984,47008,0,b+364|0);rJ(b+6040|0,16,47048,47072,0,b+364|0);rJ(b+6064|0,0,47112,47136,0,b+364|0);Wk(b+6088|0,0,47160,47184,0,b+364|0);sJ(b+6104|0,47208,47216,47240,0,b+364|0);sJ(b+6128|0,47264,47272,47296,0,b+364|0);sJ(b+6152|0,47328,47336,47360,0,b+364|0);tJ(b+6176|0,.08,47392,47408,b+364|0);tJ(b+6216|0,0.0,47448,47464,b+364|0);tJ(b+6256|0,1.0,47504,47528,b+364|0);tJ(b+6296|0,.95,47576,47592,b+364|0);rJ(b+6336|0,2,47632,47664,0,b+364|0);rJ(b+6360|0,39,47688,47720,0,b+364|0);Wk(b+6384|0,0,47760,47792,0,b+364|0);Wk(b+6400|0,0,47832,47856,0,b+364|0);Wk(b+6416|0,0,47880,47904,0,b+364|0);rJ(b+6432|0,3,47928,47720,0,b+364|0);Wk(b+6456|0,0,47960,47968,0,b+364|0);tJ(b+6472|0,99999.99,47984,48e3,b+364|0);tJ(b+6512|0,99999.99,48008,48024,b+364|0);rJ(b+6552|0,0,48032,48056,0,b+364|0);Wk(b+6576|0,1,48088,48112,0,b+364|0);rJ(b+6592|0,0,48184,48208,0,b+364|0);sJ(b+6616|0,48232,48240,48256,0,b+364|0);sJ(b+6640|0,48288,48304,48256,0,b+364|0);Wk(b+6664|0,0,48320,48352,0,b+364|0);Wk(b+6680|0,1,48392,48424,0,b+364|0);Wk(b+6696|0,1,48456,48488,0,b+364|0);tJ(b+6712|0,65.0,48504,48536,b+364|0);tJ(b+6752|0,45.0,48576,48608,b+364|0);tJ(b+6792|0,40.0,48648,48680,b+364|0);tJ(b+6832|0,70.0,48720,48760,b+364|0);Wk(b+6872|0,1,48840,48880,0,b+364|0);Wk(b+6888|0,1,48936,48976,0,b+364|0);Wk(b+6904|0,0,49032,49064,0,b+364|0);Wk(b+6920|0,0,49104,49064,0,b+364|0);rJ(b+6936|0,2,49136,49168,0,b+364|0);Wk(b+6960|0,1,49208,49240,0,b+364|0);tJ(b+6976|0,1.1,49280,49320,b+364|0);Wk(b+7016|0,1,49376,49408,0,b+364|0);Wk(b+7032|0,0,49440,49472,0,b+364|0);Wk(b+7048|0,0,49488,49520,0,b+364|0);Wk(b+7064|0,0,49552,49568,0,b+364|0);tJ(b+7080|0,1.1,49600,47592,b+364|0);Wk(b+7120|0,1,49624,49648,0,b+364|0);Wk(b+7136|0,0,49688,49704,0,b+364|0);Wk(b+7152|0,1,49736,49768,0,b+364|0);Wk(b+7168|0,0,49792,49832,0,b+364|0);tJ(b+7184|0,80.0,49856,49880,b+364|0);Wk(b+7224|0,1,49904,49928,0,b+364|0);tJ(b+7240|0,-9.0,49944,49976,b+364|0);tJ(b+7280|0,60.0,50008,50040,b+364|0);tJ(b+7320|0,40.0,50072,50096,b+364|0);tJ(b+7360|0,-8.0,50128,50152,b+364|0);Wk(b+7400|0,1,50184,50208,0,b+364|0);tJ(b+7416|0,60.0,50240,50096,b+364|0);tJ(b+7456|0,-10.0,50264,50152,b+364|0);tJ(b+7496|0,.7,50280,50304,b+364|0);tJ(b+7536|0,3.0,50336,50360,b+364|0);tJ(b+7576|0,3.0,50392,50416,b+364|0);tJ(b+7616|0,1.5,50448,50472,b+364|0);tJ(b+7656|0,.5,50512,50536,b+364|0);tJ(b+7696|0,.6,50576,50608,b+364|0);rJ(b+7736|0,10,50632,50656,0,b+364|0);rJ(b+7760|0,1,50688,50712,0,b+364|0);Wk(b+7784|0,1,50752,50776,0,b+364|0);Wk(b+7800|0,1,50808,50832,0,b+364|0);Wk(b+7816|0,0,50864,50896,0,b+364|0);Wk(b+7832|0,0,50936,50960,0,b+364|0);rJ(b+7848|0,4,50984,51008,0,b+364|0);rJ(b+7872|0,4,51056,51008,0,b+364|0);rJ(b+7896|0,3,51080,51104,0,b+364|0);rJ(b+7920|0,0,51144,49928,0,b+364|0);rJ(b+7944|0,1,51160,51184,0,b+364|0);tJ(b+7968|0,.28,51224,50608,b+364|0);Wk(b+8008|0,0,51256,51288,0,b+364|0);rJ(b+8024|0,1,51312,51328,0,b+364|0);rJ(b+8048|0,0,51368,51392,0,b+364|0);sJ(b+8072|0,51424,51432,51456,0,b+364|0);rJ(b+8096|0,8,51496,51528,0,b+364|0);rJ(b+8120|0,8,51584,51600,0,b+364|0);rJ(b+8144|0,0,51648,51672,0,b+364|0);tJ(b+8168|0,2.0,51712,51744,b+364|0);tJ(b+8208|0,.97,51888,51920,b+364|0);tJ(b+8248|0,.4,52112,52144,b+364|0);tJ(b+8288|0,.5,52312,52336,b+364|0);tJ(b+8328|0,.3,52464,52496,b+364|0);Wk(b+8368|0,0,52632,52664,0,b+364|0);Wk(b+8384|0,0,52704,52736,0,b+364|0);Wk(b+8400|0,0,52768,52792,0,b+364|0);Wk(b+8416|0,1,52816,52840,0,b+364|0);Wk(b+8432|0,0,52864,52888,0,b+364|0);Wk(b+8448|0,0,52920,52944,0,b+364|0);sJ(b+8464|0,52968,52976,53e3,0,b+364|0);rJ(b+8488|0,99,53040,53056,0,b+364|0);rJ(b+8512|0,100,53080,53104,0,b+364|0);rJ(b+8536|0,2,53144,53168,0,b+364|0);Wk(b+8560|0,0,53208,53232,0,b+364|0);tJ(b+8576|0,999.9,53264,53288,b+364|0);tJ(b+8616|0,-999.9,53320,53344,b+364|0);Wk(b+8656|0,0,53376,53408,0,b+364|0);Wk(b+8672|0,0,53440,53464,0,b+364|0);Wk(b+8688|0,0,53488,53512,0,b+364|0);Wk(b+8704|0,0,53560,53592,0,b+364|0);Wk(b+8720|0,1,53624,53656,0,b+364|0);rJ(b+8736|0,0,53688,53712,0,b+364|0);Wk(b+8760|0,0,53736,53768,0,b+364|0);Wk(b+8776|0,1,53784,53808,0,b+364|0);tJ(b+8792|0,1.5,53832,53864,b+364|0);tJ(b+8832|0,1.8,53896,53864,b+364|0);Wk(b+8872|0,0,53928,53952,0,b+364|0);Wk(b+8888|0,0,53992,54016,0,b+364|0);Wk(b+8904|0,1,54040,54072,0,b+364|0);Wk(b+8920|0,1,54096,54120,0,b+364|0);Wk(b+8936|0,1,54152,54120,0,b+364|0);Wk(b+8952|0,1,54176,54120,0,b+364|0);Wk(b+8968|0,0,54200,54224,0,b+364|0);Wk(b+8984|0,0,54248,54224,0,b+364|0);tJ(b+9e3|0,.85,54280,54320,b+364|0);rJ(b+9040|0,2,54336,54360,0,b+364|0);sJ(b+9064|0,54392,54400,54432,0,b+364|0);sJ(b+9088|0,54456,54464,54488,0,b+364|0);rJ(b+9112|0,8,54512,54536,0,b+364|0);Wk(b+9136|0,0,54576,54600,0,b+364|0);rJ(b+9152|0,-1,54624,54648,0,b+364|0);Wk(b+9176|0,0,54696,54720,0,b+364|0);Wk(b+9192|0,0,54752,54784,0,b+364|0);sJ(b+9208|0,54808,54816,54832,0,b+364|0);Wk(b+9232|0,1,54856,54888,0,b+364|0);rJ(b+9248|0,0,54912,54944,0,b+364|0);sJ(b+9272|0,1714496,54992,55016,0,b+364|0);Wk(b+9296|0,0,55056,55096,0,b+364|0);tJ(b+9312|0,7.0,55160,55184,b+364|0);Wk(b+9352|0,0,55224,55256,0,b+364|0);Wk(b+9368|0,0,55280,55312,0,b+364|0);Wk(b+9384|0,0,55344,55368,0,b+364|0);Wk(b+9400|0,0,55424,55456,1,b+364|0);Wk(b+9416|0,0,55584,55608,0,b+364|0);Wk(b+9432|0,1,55640,55672,0,b+364|0);Wk(b+9448|0,0,55704,55744,0,b+364|0);tJ(b+9464|0,.5,55784,55824,b+364|0);tJ(b+9504|0,.75,55888,55928,b+364|0);rJ(b+9544|0,0,55992,56016,0,b+364|0);Wk(b+9568|0,0,56048,56080,0,b+364|0);Wk(b+9584|0,0,56120,56144,0,b+364|0);sJ(b+9600|0,56216,56224,56240,0,b+364|0);Wk(b+9624|0,1,56296,56336,0,b+364|0);rJ(b+9640|0,5,56400,56424,0,b+364|0);Wk(b+9664|0,1,56456,56480,1,b+364|0);rJ(b+9680|0,0,56552,56568,0,b+364|0);Wk(b+9704|0,0,56608,56624,0,b+364|0);tJ(b+9720|0,2.0,56656,56680,b+364|0);Wk(b+9760|0,0,56752,56776,0,b+364|0);Wk(b+9776|0,0,56824,56848,0,b+364|0);tJ(b+9792|0,.95,56896,56920,b+364|0);Wk(b+9832|0,0,57056,57088,0,b+364|0);Wk(b+9848|0,0,57136,57160,0,b+364|0);tJ(b+9864|0,.97,57216,57240,b+364|0);tJ(b+9904|0,.99,57304,57344,b+364|0);Wk(b+9944|0,0,57432,57464,0,b+364|0);Wk(b+9960|0,0,57512,57536,0,b+364|0);rJ(b+9976|0,3,57576,57624,0,b+364|0);Wk(b+1e4|0,0,57696,57720,0,b+364|0);tJ(b+10016|0,1.25,57784,57816,b+364|0);tJ(b+10056|0,1.0,57976,58e3,b+364|0);tJ(b+10096|0,1.0e3,58064,58088,b+364|0);tJ(b+10136|0,0.0,58152,58184,b+364|0);tJ(b+10176|0,2.0,58248,58280,b+364|0);Wk(b+10216|0,1,58336,58360,0,b+364|0);tJ(b+10232|0,2.0,58400,58440,b+364|0);c[b+10272>>2]=0;NM(b+10276|0);c[b+10280>>2]=0;c[b+10284>>2]=0;c[b+10288>>2]=0;c[b+10292>>2]=0;c[b+10296>>2]=0;W_(b+10300|0);X7(b+10336|0,b);a[b+12904>>0]=0;c[b+12908>>2]=0;c[b+12912>>2]=-1;g[b+12916>>2]=1.0;g[b+12920>>2]=0.0;g[b+12924>>2]=1.0;g[b+12928>>2]=0.0;uJ(b+12932|0);vJ(b+12964|0);c[b+12984>>2]=b;c[b+12988>>2]=0;c[b+12992>>2]=0;return}function iJ(a){a=a|0;c[a>>2]=43576;jJ(a);JI(a);NI(a+12964|0);OI(a+12964|0);RM(c[a+12956>>2]|0);Y7(a+10336|0);X_(a+10300|0);RM(c[a+10276>>2]|0);wJ(a+10232|0);Xk(a+10216|0);wJ(a+10176|0);wJ(a+10136|0);wJ(a+10096|0);wJ(a+10056|0);wJ(a+10016|0);Xk(a+1e4|0);xJ(a+9976|0);Xk(a+9960|0);Xk(a+9944|0);wJ(a+9904|0);wJ(a+9864|0);Xk(a+9848|0);Xk(a+9832|0);wJ(a+9792|0);Xk(a+9776|0);Xk(a+9760|0);wJ(a+9720|0);Xk(a+9704|0);xJ(a+9680|0);Xk(a+9664|0);xJ(a+9640|0);Xk(a+9624|0);yJ(a+9600|0);Xk(a+9584|0);Xk(a+9568|0);xJ(a+9544|0);wJ(a+9504|0);wJ(a+9464|0);Xk(a+9448|0);Xk(a+9432|0);Xk(a+9416|0);Xk(a+9400|0);Xk(a+9384|0);Xk(a+9368|0);Xk(a+9352|0);wJ(a+9312|0);Xk(a+9296|0);yJ(a+9272|0);xJ(a+9248|0);Xk(a+9232|0);yJ(a+9208|0);Xk(a+9192|0);Xk(a+9176|0);xJ(a+9152|0);Xk(a+9136|0);xJ(a+9112|0);yJ(a+9088|0);yJ(a+9064|0);xJ(a+9040|0);wJ(a+9e3|0);Xk(a+8984|0);Xk(a+8968|0);Xk(a+8952|0);Xk(a+8936|0);Xk(a+8920|0);Xk(a+8904|0);Xk(a+8888|0);Xk(a+8872|0);wJ(a+8832|0);wJ(a+8792|0);Xk(a+8776|0);Xk(a+8760|0);xJ(a+8736|0);Xk(a+8720|0);Xk(a+8704|0);Xk(a+8688|0);Xk(a+8672|0);Xk(a+8656|0);wJ(a+8616|0);wJ(a+8576|0);Xk(a+8560|0);xJ(a+8536|0);xJ(a+8512|0);xJ(a+8488|0);yJ(a+8464|0);Xk(a+8448|0);Xk(a+8432|0);Xk(a+8416|0);Xk(a+8400|0);Xk(a+8384|0);Xk(a+8368|0);wJ(a+8328|0);wJ(a+8288|0);wJ(a+8248|0);wJ(a+8208|0);wJ(a+8168|0);xJ(a+8144|0);xJ(a+8120|0);xJ(a+8096|0);yJ(a+8072|0);xJ(a+8048|0);xJ(a+8024|0);Xk(a+8008|0);wJ(a+7968|0);xJ(a+7944|0);xJ(a+7920|0);xJ(a+7896|0);xJ(a+7872|0);xJ(a+7848|0);Xk(a+7832|0);Xk(a+7816|0);Xk(a+7800|0);Xk(a+7784|0);xJ(a+7760|0);xJ(a+7736|0);wJ(a+7696|0);wJ(a+7656|0);wJ(a+7616|0);wJ(a+7576|0);wJ(a+7536|0);wJ(a+7496|0);wJ(a+7456|0);wJ(a+7416|0);Xk(a+7400|0);wJ(a+7360|0);wJ(a+7320|0);wJ(a+7280|0);wJ(a+7240|0);Xk(a+7224|0);wJ(a+7184|0);Xk(a+7168|0);Xk(a+7152|0);Xk(a+7136|0);Xk(a+7120|0);wJ(a+7080|0);Xk(a+7064|0);Xk(a+7048|0);Xk(a+7032|0);Xk(a+7016|0);wJ(a+6976|0);Xk(a+6960|0);xJ(a+6936|0);Xk(a+6920|0);Xk(a+6904|0);Xk(a+6888|0);Xk(a+6872|0);wJ(a+6832|0);wJ(a+6792|0);wJ(a+6752|0);wJ(a+6712|0);Xk(a+6696|0);Xk(a+6680|0);Xk(a+6664|0);yJ(a+6640|0);yJ(a+6616|0);xJ(a+6592|0);Xk(a+6576|0);xJ(a+6552|0);wJ(a+6512|0);wJ(a+6472|0);Xk(a+6456|0);xJ(a+6432|0);Xk(a+6416|0);Xk(a+6400|0);Xk(a+6384|0);xJ(a+6360|0);xJ(a+6336|0);wJ(a+6296|0);wJ(a+6256|0);wJ(a+6216|0);wJ(a+6176|0);yJ(a+6152|0);yJ(a+6128|0);yJ(a+6104|0);Xk(a+6088|0);xJ(a+6064|0);xJ(a+6040|0);xJ(a+6016|0);wJ(a+5976|0);wJ(a+5936|0);wJ(a+5896|0);wJ(a+5856|0);xJ(a+5832|0);Xk(a+5816|0);xJ(a+5792|0);Xk(a+5776|0);Xk(a+5760|0);Xk(a+5744|0);Xk(a+5728|0);Xk(a+5712|0);Xk(a+5696|0);Xk(a+5680|0);Xk(a+5664|0);Xk(a+5648|0);Xk(a+5632|0);Xk(a+5616|0);Xk(a+5600|0);Xk(a+5584|0);Xk(a+5568|0);yJ(a+5544|0);xJ(a+5520|0);xJ(a+5496|0);xJ(a+5472|0);Xk(a+5456|0);yJ(a+5432|0);xJ(a+5408|0);xJ(a+5384|0);Xk(a+5368|0);yJ(a+5344|0);yJ(a+5320|0);yJ(a+5296|0);xJ(a+5272|0);xJ(a+5248|0);Xk(a+5232|0);Xk(a+5216|0);Xk(a+5200|0);Xk(a+5184|0);Xk(a+5168|0);oT(a);return}function jJ(a){a=a|0;var b=0;cp(a+10280|0);cp(a+10284|0);cp(a+10288|0);cp(a+10292|0);cp(a+12908|0);c[a+12916>>2]=1065353216;c[a+12920>>2]=0;c[a+12924>>2]=1065353216;c[a+12928>>2]=0;Y_(a+10300|0);c[a+12912>>2]=-1;if((c[a+12964>>2]|0)>0){b=0;do{jJ(c[(Xj(a+12964|0,b)|0)>>2]|0);b=b+1|0}while((b|0)<(c[a+12964>>2]|0))}return}function kJ(a){a=a|0;iJ(a);YEa(a);return}function lJ(a,b){a=a|0;b=b|0;c[a+12992>>2]=b;ez(b,a);return}function mJ(a){a=a|0;var b=0;vpa(a);if((c[a+12964>>2]|0)>0){b=0;do{vpa(c[(Xj(a+12964|0,b)|0)>>2]|0);b=b+1|0}while((b|0)<(c[a+12964>>2]|0))}return}function nJ(a){a=a|0;var b=0;zJ(a+2744|0);if((c[a+12964>>2]|0)>0){b=0;do{zJ((c[(Xj(a+12964|0,b)|0)>>2]|0)+2744|0);b=b+1|0}while((b|0)<(c[a+12964>>2]|0))}return}function oJ(a){a=a|0;var b=0,d=0,e=0,f=0;d=VM(c[a+5308>>2]|0)|0;b=VM(c[a+5332>>2]|0)|0;cO(a+184|0,d,b,VM(c[a+5356>>2]|0)|0);if((c[a+12964>>2]|0)>0){b=0;do{f=(c[(Xj(a+12964|0,b)|0)>>2]|0)+184|0;e=VM(c[a+5308>>2]|0)|0;d=VM(c[a+5332>>2]|0)|0;cO(f,e,d,VM(c[a+5356>>2]|0)|0);b=b+1|0}while((b|0)<(c[a+12964>>2]|0))}return}function pJ(b){b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+16|0;a[b+10344>>0]=(a[b+9378>>0]|0)!=0&1;cp(b+10284|0);c[b+10284>>2]=rp(c[b+10280>>2]|0)|0;d=c[b+5396>>2]|0;if((c[b+12964>>2]|0)>0){e=0;do{g=c[(c[(Xj(b+12964|0,e)|0)>>2]|0)+5396>>2]|0;d=(g|0)>(d|0)?g:d;cp((c[(Xj(b+12964|0,e)|0)>>2]|0)+10284|0);g=rp(c[b+10280>>2]|0)|0;c[(c[(Xj(b+12964|0,e)|0)>>2]|0)+10284>>2]=g;cp((c[(Xj(b+12964|0,e)|0)>>2]|0)+10280|0);g=rp(c[b+10280>>2]|0)|0;c[(c[(Xj(b+12964|0,e)|0)>>2]|0)+10280>>2]=g;e=e+1|0}while((e|0)<(c[b+12964>>2]|0))}$_(b+10300|0,c[b+10280>>2]|0);c[b+10312>>2]=d;if(a$(b+10300|0,1)|0){if(!(c[b+10308>>2]|0)){c[f>>2]=58536;c[f+4>>2]=715;$L(43560,58504,2,1702e3,f)}cp(b+10280|0);c[b+10280>>2]=rp(c[b+10308>>2]|0)|0}i=f;return}function qJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+96|0;e=c[a+5420>>2]|0;if((c[a+12964>>2]|0)>0){d=0;do{g=c[(c[(Xj(a+12964|0,d)|0)>>2]|0)+5420>>2]|0;e=(g|0)>(e|0)?g:e;d=d+1|0}while((d|0)<(c[a+12964>>2]|0))}c[a+10324>>2]=b;c[a+10316>>2]=e;d=a$(a+10300|0,0)|0;if(!(c[a+10304>>2]|0)){c[f>>2]=58536;c[f+4>>2]=745;$L(43560,58568,2,1702e3,f)}cp(a+10280|0);e=rp(c[a+10304>>2]|0)|0;c[a+10280>>2]=e;if((c[a+10312>>2]|0)!=(c[a+10316>>2]|0)){g=(Cp(e)|0)&65535;sfa(f,1714496,1,0,0,0,0,g,(up(c[a+10280>>2]|0)|0)&65535);s$(c[(d?a+10308|0:a+10304|0)>>2]|0,f);g$(a+10300|0,f+60|0);wk(f)}Y_(a+10300|0);i=f;return}function rJ(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;ml(a,d,e,f);c[a+12>>2]=b;c[a+16>>2]=b;c[a+20>>2]=g;AJ(g,a);return}function sJ(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;ml(a,d,e,f);NM(a+12|0);NM(a+16|0);fN(a+12|0,b);fN(a+16|0,b);c[a+20>>2]=g+40;BJ(g+40|0,a);return}function tJ(a,b,d,e,f){a=a|0;b=+b;d=d|0;e=e|0;f=f|0;ml(a,d,e,0);h[a+16>>3]=b;h[a+24>>3]=b;c[a+32>>2]=f+60;CJ(f+60|0,a);return}function uJ(d){d=d|0;c[d+16>>2]=0;c[d+20>>2]=0;c[d+0>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b[d+12>>1]=0;NM(d+24|0);a[d+28>>0]=0;a[d+29>>0]=1;a[d+30>>0]=0;a[d+31>>0]=1;return}function vJ(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;dJ(a,4);return}function wJ(a){a=a|0;DJ(a,c[a+32>>2]|0);return}function xJ(a){a=a|0;EJ(a,c[a+20>>2]|0);return}function yJ(a){a=a|0;FJ(a,c[a+20>>2]|0);RM(c[a+16>>2]|0);RM(c[a+12>>2]|0);return}function zJ(a){a=a|0;var b=0;b=c[a+164>>2]|0;if(b)Cna(b);b=c[a+184>>2]|0;if(b)Cna(b);return}function AJ(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){GJ(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function BJ(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){HJ(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function CJ(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){IJ(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function DJ(a,b){a=a|0;b=b|0;var d=0,e=0;a:do if((c[b>>2]|0)>0){e=0;while(1){d=e+1|0;if((c[($k(b,e)|0)>>2]|0)==(a|0))break;if((d|0)<(c[b>>2]|0))e=d;else break a}JJ(b,e)}while(0);return}function EJ(a,b){a=a|0;b=b|0;var d=0,e=0;a:do if((c[b>>2]|0)>0){e=0;while(1){d=e+1|0;if((c[(Yk(b,e)|0)>>2]|0)==(a|0))break;if((d|0)<(c[b>>2]|0))e=d;else break a}KJ(b,e)}while(0);return}function FJ(a,b){a=a|0;b=b|0;var d=0,e=0;a:do if((c[b>>2]|0)>0){e=0;while(1){d=e+1|0;if((c[(_k(b,e)|0)>>2]|0)==(a|0))break;if((d|0)<(c[b>>2]|0))e=d;else break a}LJ(b,e)}while(0);return}function GJ(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)MJ(a,4);else MJ(a,b<<1);return}function HJ(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)NJ(a,4);else NJ(a,b<<1);return}function IJ(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)OJ(a,4);else OJ(a,b<<1);return}function JJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;if(!((b|0)>-1?(d=c[a>>2]|0,(d|0)>(b|0)):0)){c[g>>2]=1701680;c[g+4>>2]=705;$L(43560,1701640,2,1702e3,g);d=c[a>>2]|0}f=d+-1|0;if((f|0)>(b|0)){e=d+-1|0;d=b;do{b=d;d=d+1|0;h=c[a+8>>2]|0;c[h+(b<<2)>>2]=c[h+(d<<2)>>2]}while((d|0)!=(e|0))}c[a>>2]=f;i=g;return}function KJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;if(!((b|0)>-1?(d=c[a>>2]|0,(d|0)>(b|0)):0)){c[g>>2]=1701680;c[g+4>>2]=705;$L(43560,1701640,2,1702e3,g);d=c[a>>2]|0}f=d+-1|0;if((f|0)>(b|0)){e=d+-1|0;d=b;do{b=d;d=d+1|0;h=c[a+8>>2]|0;c[h+(b<<2)>>2]=c[h+(d<<2)>>2]}while((d|0)!=(e|0))}c[a>>2]=f;i=g;return}function LJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;if(!((b|0)>-1?(d=c[a>>2]|0,(d|0)>(b|0)):0)){c[g>>2]=1701680;c[g+4>>2]=705;$L(43560,1701640,2,1702e3,g);d=c[a>>2]|0}f=d+-1|0;if((f|0)>(b|0)){e=d+-1|0;d=b;do{b=d;d=d+1|0;h=c[a+8>>2]|0;c[h+(b<<2)>>2]=c[h+(d<<2)>>2]}while((d|0)!=(e|0))}c[a>>2]=f;i=g;return}function MJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function NJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function OJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function PJ(){c[14658]=c[n>>2];return}function QJ(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;j=i;i=i+16|0;do if(!(a[b+4962>>0]|0))e=7;else{f=c[d+152>>2]|0;if((f|0)!=0?(c[f+92>>2]|0)!=10:0){e=7;break}if(c[b+608>>2]|0)jN(58648,j);a[d+220>>0]=1}while(0);do if((e|0)==7){if(!(c[c[d+72>>2]>>2]|0)){c[j>>2]=58720;c[j+4>>2]=53;$L(58640,58680,2,1702e3,j)}RJ(b,d);zga(d);e=c[d+140>>2]|0;if((c[e+28>>2]|0)!=(c[(c[d+160>>2]|0)+8>>2]|0)?(Lw(j+12|0,e),f=c[j+12>>2]|0,l=VM(f)|0,k=c[(c[d+140>>2]|0)+28>>2]|0,e=c[(c[d+160>>2]|0)+8>>2]|0,c[j>>2]=l,c[j+4>>2]=k,c[j+8>>2]=e,jN(58744,j),RM(f),(c[(c[d+140>>2]|0)+28>>2]|0)!=(c[(c[d+160>>2]|0)+8>>2]|0)):0){c[j>>2]=58720;c[j+4>>2]=62;$L(58640,58808,2,1702e3,j)}if(!(mga(d)|0)?(jN(58864,j),nga(d,1,0),!(mga(d)|0)):0){c[j>>2]=58720;c[j+4>>2]=68;$L(58640,308432,2,1702e3,j)}if(a[b+9242>>0]|0){e=c[d+140>>2]|0;f=a[e+52>>0]|0;if((!(f<<24>>24==10|f<<24>>24==11|f<<24>>24==8)?(g=kT(b,e)|0,(g&255|0)==10|(g&255|0)==11|(g&255|0)==8):0)?(l=VM(c[(jk(c[d+140>>2]|0)|0)>>2]|0)|0,(IH(b,l,VM(c[(lk(c[d+140>>2]|0)|0)>>2]|0)|0)|0)<<16>>16>0):0)a[(c[d+140>>2]|0)+52>>0]=g;if((a[b+8770>>0]|0)!=0?(h=a[(c[d+140>>2]|0)+52>>0]|0,f<<24>>24!=h<<24>>24):0){c[j>>2]=f&255;c[j+4>>2]=h&255;jN(58928,j)}}e=c[d+140>>2]|0;if((e|0)==0^(c[d+144>>2]|0)==0){c[j>>2]=58720;c[j+4>>2]=91;$L(58640,58968,2,1702e3,j);e=c[d+140>>2]|0}if(((e|0)!=0?(c[e+28>>2]|0)!=0:0)?(l=LEa(VM(c[(jk(e)|0)>>2]|0)|0,1701816)|0,(l|0)!=(c[(c[d+140>>2]|0)+28>>2]|0)):0){a[d+220>>0]=0;break}a[d+220>>0]=1;Cja(d+212|0,c[(c[d+160>>2]|0)+8>>2]&65535);Ija(d+212|0)}while(0);i=j;return}function RJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,j=0,k=0;k=i;i=i+32|0;if((c[c[b+72>>2]>>2]|0)<=24){jT(a,b);j=c[c[b+156>>2]>>2]|0;f=c[b+140>>2]|0;e=c[f+28>>2]|0;if((e|0)>(j|0)){c[f+28>>2]=0;g[f+36>>2]=1.0e5;g[f+40>>2]=-3402823466385288598117041.0e14;f=VM(c[(jk(f)|0)>>2]|0)|0;e=c[(c[b+140>>2]|0)+28>>2]|0;c[k>>2]=f;c[k+4>>2]=e;c[k+8>>2]=j;jN(59032,k);jN(59104,k);yla(k+16|0,c[b+4>>2]|0);jv(k+16|0);e=c[(c[b+140>>2]|0)+28>>2]|0}if((e|0)<(j|0)?(h=HN(a+184|0,1701816)|0,d=c[b+140>>2]|0,(c[d+28>>2]|0)<(j|0)):0)do{Jia(d,h,+g[d+40>>2]);d=c[b+140>>2]|0}while((c[d+28>>2]|0)<(j|0))}else SJ(a,b);i=k;return}function SJ(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+32|0;e=c[d+72>>2]|0;if((c[e>>2]|0)>1){h=1;j=-2147483647;k=0;while(1){Eba(m+24|0,c[c[(Vy(e,h+-1|0)|0)>>2]>>2]|0);Eba(m+16|0,c[c[(Vy(c[d+72>>2]|0,h)|0)>>2]>>2]|0);f=(b[m+16>>1]|0)-(b[m+28>>1]|0)|0;g=(f|0)>(j|0);k=g?h:k;h=h+1|0;e=c[d+72>>2]|0;if((h|0)>=(c[e>>2]|0))break;else j=g?f:j}if((k|0)>0)e=k;else{e=k;l=5}}else{e=0;l=5}if((l|0)==5){c[m>>2]=58720;c[m+4>>2]=157;$L(58640,59120,2,1702e3,m)}c[m+12>>2]=0;c[m+8>>2]=0;TJ(a,d,e,m+12|0,m+8|0);RJ(a,d);l=c[m+12>>2]|0;RJ(a,l);UJ(a,d,l,c[m+8>>2]|0);i=m;return}function TJ(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+32|0;if(!((f|0)>0?(c[c[e+72>>2]>>2]|0)>(f|0):0)){c[p>>2]=58720;c[p+4>>2]=186;$L(58640,59136,2,1702e3,p)}j=c[e+152>>2]|0;if(!j)o=0;else{o=WEa(184)|0;VJ(o,j)}l=WEa(260)|0;qy(l,e);m=c[e+72>>2]|0;n=WEa(24)|0;WJ(n);a[n+20>>0]=0;XJ(n,(c[m>>2]|0)-f|0);j=c[m>>2]|0;if((j|0)>(f|0)){k=f;do{YJ(n,c[(Vy(m,k)|0)>>2]|0);k=k+1|0;j=c[m>>2]|0}while((k|0)<(j|0))}if((j|0)>(f|0))c[m>>2]=f;c[e+72>>2]=0;j=c[l+72>>2]|0;if(j){ZJ(j);YEa(j)}c[l+72>>2]=0;aga(e);aga(l);c[e+72>>2]=m;c[l+72>>2]=n;cga(e);cga(l);if(o){f=WEa(184)|0;Ax(f);c[e+152>>2]=f;f=WEa(184)|0;Ax(f);c[l+152>>2]=f;Eba(p+16|0,c[c[(_J(m)|0)>>2]>>2]|0);f=b[p+20>>1]|0;Eba(p+8|0,c[c[(Vy(c[l+72>>2]|0,0)|0)>>2]>>2]|0);maa(o,f,b[p+8>>1]|0,(a[d+4978>>0]|0)!=0,c[e+152>>2]|0,c[l+152>>2]|0)}c[g>>2]=l;c[h>>2]=o;i=p;return}function UJ(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0;m=i;i=i+128|0;Eba(m+96|0,c[c[(_J(c[e+72>>2]|0)|0)>>2]>>2]|0);Eba(m+104|0,c[c[(Vy(c[f+72>>2]|0,0)|0)>>2]>>2]|0);$J(c[e+72>>2]|0,c[f+72>>2]|0);$J(c[e+156>>2]|0,c[f+156>>2]|0);aK(c[f+72>>2]|0);aK(c[f+156>>2]|0);b[m+112>>1]=((b[m+104>>1]|0)+(b[m+100>>1]|0)|0)/2|0;b[m+114>>1]=((b[m+98>>1]|0)+(b[m+102>>1]|0)+(b[m+110>>1]|0)+(b[m+106>>1]|0)|0)/4|0;l=WEa(36)|0;bK(l,m+112|0);cK(e+76|0,l);dK(e+76|0,f+76|0);if((c[f+76>>2]|0)>0)c[f+76>>2]=0;Yv(e+96|0,f+96|0);Yv(e+116|0,f+116|0);h=c[e+136>>2]|0;l=c[h+12>>2]|0;j=c[f+136>>2]|0;k=c[j+12>>2]|0;eK(h,j);if((c[(c[e+136>>2]|0)+12>>2]|0)!=(k+l|0)){c[m>>2]=58720;c[m+4>>2]=267;$L(58640,59200,2,1702e3,m)}Yv(e+164|0,f+164|0);Kia(c[e+144>>2]|0,c[f+144>>2]|0);c[m+64>>2]=0;pk(m+8|0,m+64|0);pk(m+36|0,e+148|0);pk(m+68|0,f+148|0);j=NL(e+148|0)|0;OL(m+68|0)|0;l=1;h=j;while(1){if(xk(m+68|0)|0)break;if((h|0)>99&(l|0)>2)break;qk(m+36|0);k=0;while(1){if((k|0)>=(j|0))break;if((h|0)>99&(k|0)>2)break;n=WEa(64)|0;fK(n,tk(m+36|0)|0);Kia(n,tk(m+68|0)|0);Ck(m+8|0,n);OL(m+36|0)|0;k=k+1|0;h=h+1|0}OL(m+68|0)|0;l=l+1|0}qk(m+36|0);qk(m+68|0);rk(m+36|0);while(1){if(sk(m+36|0)|0)break;n=tk(m+36|0)|0;Kia(n,tk(m+68|0)|0);OL(m+36|0)|0}SL(m+36|0);yk(m+36|0,m+64|0);if(g){naa(g,c[e+152>>2]|0,c[f+152>>2]|0,(a[d+4978>>0]|0)!=0);h=c[e+152>>2]|0;if(h){gK(h);YEa(h)}c[e+152>>2]=g}zga(e);Cja(e+212|0,c[(c[e+160>>2]|0)+8>>2]&65535);if(f){Qga(f);YEa(f)}KL(m+64|0,235);i=m;return}function VJ(a,b){a=a|0;b=b|0;zca(a+4|0);zca(a+36|0);ek(a+72|0);NM(a+96|0);NM(a+100|0);Ek(a+112|0);Ek(a+132|0);ey(a+164|0);Bx(a,b);hK(a,b);return}function WJ(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;XJ(a,4);return}function XJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function YJ(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){iK(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function ZJ(a){a=a|0;Xba(a);aK(a);return}function _J(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if((b|0)<=0){c[d>>2]=1701680;c[d+4>>2]=669;$L(58640,375960,2,1702e3,d);b=c[a>>2]|0}i=d;return (c[a+8>>2]|0)+(b+-1<<2)|0}function $J(a,b){a=a|0;b=b|0;var d=0;XJ(a,(c[b>>2]|0)+(c[a>>2]|0)|0);if((c[b>>2]|0)>0){d=0;do{YJ(a,c[(c[b+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0}while((d|0)<(c[b>>2]|0))}return}function aK(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function bK(d,f){d=d|0;f=f|0;g[d>>2]=0.0;f=e[f>>1]|e[f+2>>1]<<16;b[d+4>>1]=f;b[d+6>>1]=f>>>16;a[d+8>>0]=0;a[d+9>>0]=0;a[d+10>>0]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;c[d+24>>2]=0;c[d+28>>2]=0;c[d+32>>2]=0;return}function cK(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){jK(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function dK(a,b){a=a|0;b=b|0;var d=0;iy(a,(c[b>>2]|0)+(c[a>>2]|0)|0);if((c[b>>2]|0)>0){d=0;do{cK(a,c[(c[b+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0}while((d|0)<(c[b>>2]|0))}return}function eK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=(c[b+12>>2]|0)+(c[a+12>>2]|0)|0;j=c[a+16>>2]|0;k=c[b+16>>2]|0;j=(j|0)<(k|0)?k:j;k=ba(j,l)|0;k=XEa(k>>>0>1073741823?-1:k<<2)|0;if((l|0)>0){g=0;do{if((j|0)>0){e=ba(g,j)|0;h=0;do{d=h+e|0;f=c[a+12>>2]|0;if((g|0)<(f|0))if((h|0)<(c[a+16>>2]|0)){f=Vc[c[(c[a>>2]|0)+12>>2]&63](a,g,h+g|0)|0;c[k+(d<<2)>>2]=c[(c[a+4>>2]|0)+(f<<2)>>2]}else i=11;else if((h|0)<(c[b+16>>2]|0)){f=g-f|0;f=Vc[c[(c[b>>2]|0)+12>>2]&63](b,f,f+h|0)|0;c[k+(d<<2)>>2]=c[(c[b+4>>2]|0)+(f<<2)>>2];f=g-(c[a+12>>2]|0)|0;f=Vc[c[(c[b>>2]|0)+12>>2]&63](b,f,f+h|0)|0;c[(c[b+4>>2]|0)+(f<<2)>>2]=0}else i=11;if((i|0)==11){i=0;c[k+(d<<2)>>2]=c[a+8>>2]}h=h+1|0}while((h|0)<(j|0))}g=g+1|0}while((g|0)!=(l|0));d=a+4|0}else d=a+4|0;e=c[d>>2]|0;if(e)ZEa(e);c[d>>2]=k;c[a+12>>2]=l;c[a+16>>2]=j;return}function fK(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=c[b+4>>2];NM(a+56|0);NM(a+60|0);Rv(a,c[b+28>>2]|0);Lia(a,b);return}function gK(a){a=a|0;ZEa(c[a+156>>2]|0);gy(a+164|0);Jk(a+132|0);Jk(a+112|0);RM(c[a+100>>2]|0);RM(c[a+96>>2]|0);Vj(a+72|0);Cca(a+36|0);Cca(a+4|0);return}function hK(b,d){b=b|0;d=d|0;var e=0,f=0;Dca(b+36|0,d+36|0);c[b+68>>2]=c[d+68>>2];c[b+92>>2]=c[d+92>>2];a[b+104>>0]=a[d+104>>0]|0;g[b+108>>2]=+g[d+108>>2];Hv(b+112|0,d+112|0);Hv(b+132|0,d+132|0);a[b+152>>0]=a[d+152>>0]|0;if(!(c[d+156>>2]|0))c[b+156>>2]=0;else{e=c[d+160>>2]|0;f=XEa((e|0)>-1?e:-1)|0;c[b+156>>2]=f;VGa(f|0,c[d+156>>2]|0,e|0)|0;c[b+160>>2]=e}return}function iK(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)XJ(a,4);else XJ(a,b<<1);return}function jK(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)iy(a,4);else iy(a,b<<1);return}function kK(a){a=a|0;c[a>>2]=59256;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=1;c[a+28>>2]=300;c[a+32>>2]=300;c[a+36>>2]=0;c[a+40>>2]=0;c[a+44>>2]=0;c[a+48>>2]=0;return}function lK(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[a+36>>2]=b;c[a+40>>2]=d;c[a+44>>2]=e;c[a+48>>2]=f;return}function mK(a){a=a|0;c[a>>2]=59256;cp(a+4|0);return}function nK(a){a=a|0;c[a>>2]=59256;cp(a+4|0);YEa(a);return}function oK(a){a=a|0;cp(a+4|0);return}function pK(a){a=a|0;return (a|0)==0|0}function qK(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0;o=i;i=i+16|0;k=(h|0)==0?1:h<<3;n=_o(f,g,(k|0)==24?32:k)|0;c[o+4>>2]=n;h=vp(n)|0;n=bp(n)|0;if((k|0)==8){if((g|0)>0){l=0;while(1){if((f|0)>0){k=0;do{a[(h+k^3)>>0]=a[e+k>>0]|0;k=k+1|0}while((k|0)!=(f|0))}l=l+1|0;if((l|0)==(g|0))break;else{e=e+j|0;h=h+(n<<2)|0}}}}else if((k|0)==1){if((g|0)>0){m=0;while(1){if((f|0)>0){k=0;do{l=-2147483648>>>(k&31);if(!((d[e+((k|0)/8|0)>>0]|0)&128>>>(k&7))){p=h+(k>>5<<2)|0;c[p>>2]=c[p>>2]|l}else{p=h+(k>>5<<2)|0;c[p>>2]=c[p>>2]&~l}k=k+1|0}while((k|0)!=(f|0))}m=m+1|0;if((m|0)==(g|0))break;else{e=e+j|0;h=h+(n<<2)|0}}}}else if((k|0)==32){if((g|0)>0){k=0;while(1){if((f|0)>0){l=0;do{p=l<<2;c[h+(l<<2)>>2]=(d[e+(p|1)>>0]|0)<<16|(d[e+p>>0]|0)<<24|(d[e+(p|2)>>0]|0)<<8|(d[e+(p|3)>>0]|0);l=l+1|0}while((l|0)!=(f|0))}k=k+1|0;if((k|0)==(g|0))break;else{e=e+j|0;h=h+(n<<2)|0}}}}else if((k|0)==24){if((g|0)>0){m=0;while(1){if((f|0)>0){k=h;l=0;while(1){p=l*3|0;a[(k^3)>>0]=a[e+p>>0]|0;a[(k+1^3)>>0]=a[e+(p+1)>>0]|0;a[(k+2^3)>>0]=a[e+(p+2)>>0]|0;l=l+1|0;if((l|0)==(f|0))break;else k=k+4|0}h=h+(f<<2)|0}m=m+1|0;if((m|0)==(g|0))break;else e=e+j|0}}}else{c[o>>2]=k;jN(59288,o)}p=c[o+4>>2]|0;Lp(p,300);rK(b,p);cp(o+4|0);i=o;return}function rK(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if(c[a+4>>2]|0)cp(a+4|0);gp(b,a+8|0,a+12|0,e);do if(((c[e>>2]|0)+-2|0)>>>0>=6)if(!(Ap(b)|0)){d=rp(b)|0;c[a+4>>2]=d;break}else{d=dr(b,4)|0;c[a+4>>2]=d;break}else{d=qr(b,0)|0;c[a+4>>2]=d}while(0);d=Dp(d)|0;c[e>>2]=d;c[a+16>>2]=(d|0)/8|0;c[a+20>>2]=bp(c[a+4>>2]|0)|0;c[a+24>>2]=1;b=Kp(b)|0;c[a+28>>2]=b;c[a+32>>2]=b;Qc[c[(c[a>>2]|0)+28>>2]&511](a);i=e;return}function sK(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;c[b>>2]=c[a+36>>2];c[d>>2]=c[a+40>>2];c[e>>2]=c[a+44>>2];c[f>>2]=c[a+48>>2];c[g>>2]=c[a+8>>2];c[h>>2]=c[a+12>>2];return}function tK(a,b,d){a=a|0;b=b|0;d=d|0;if(!(c[a+16>>2]|0))c[d>>2]=uK(a)|0;else vK(a,c[a+4>>2]|0,d);return}function uK(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;if(AK(a)|0)a=rp(c[a+4>>2]|0)|0;else{d=Fl(c[a+36>>2]|0,c[a+40>>2]|0,c[a+44>>2]|0,c[a+48>>2]|0)|0;c[b>>2]=d;a=Dq(c[a+4>>2]|0,d)|0;Kl(b)}i=b;return a|0}function vK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=i;i=i+16|0;h=Mfa(b,c[a+36>>2]|0,c[a+40>>2]|0,c[a+44>>2]|0,c[a+48>>2]|0,g+4|0,g)|0;f=c[g+4>>2]|0;e=c[g>>2]|0;zK(a,b,h,f,e,d);if(f)ZEa(f);if(e)ZEa(e);i=g;return}function wK(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;if(c[a+16>>2]|0){e=Tc[c[(c[a>>2]|0)+24>>2]&127](a)|0;c[d+8>>2]=e;b=Cp(e)|0;a=up(e)|0;Mfa(e,0,0,b,a,d+4|0,d)|0;cp(d+8|0);a=_o(b,a,8)|0;b=c[d+4>>2]|0;e=c[b>>2]|0;Xp(a,(e|0)>0?e:128);if(b)ZEa(b);b=c[d>>2]|0;if(b)ZEa(b)}else a=0;i=d;return a|0}function xK(a){a=a|0;var b=0,d=0;d=c[a+8>>2]|0;b=c[a+12>>2]|0;c[a+36>>2]=0;c[a+40>>2]=0;c[a+44>>2]=d;c[a+48>>2]=b;return}function yK(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;a=uK(a)|0;c[d>>2]=a;b=Dp(a)|0;if((b|0)!=8){if((b|0)<8)a=qr(a,0)|0;else a=fr(a)|0;cp(d)}i=d;return a|0}function zK(a,b,e,f,g,h){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=_o(c[a+44>>2]|0,c[a+48>>2]|0,1)|0;c[h>>2]=p;p=vp(p)|0;n=bp(c[h>>2]|0)|0;o=bp(b)|0;m=vp(b)|0;b=c[a+48>>2]|0;if((b|0)>0){h=c[a+44>>2]|0;l=0;do{k=ba(l,n)|0;if((h|0)>0){i=m+((ba((c[a+40>>2]|0)+l|0,o)|0)<<2)|0;j=0;do{a:do if((e|0)>0){h=0;while(1){b=c[g+(h<<2)>>2]|0;if((b|0)>-1?(r=d[(i+((ba((c[a+36>>2]|0)+j|0,e)|0)+h)^3)>>0]|0,!((r|0)>(c[f+(h<<2)>>2]|0)^(b|0)==0)):0)break;h=h+1|0;if((h|0)>=(e|0)){q=9;break a}}r=p+((j>>5)+k<<2)|0;c[r>>2]=c[r>>2]|-2147483648>>>(j&31)}else q=9;while(0);if((q|0)==9){q=0;r=p+((j>>5)+k<<2)|0;c[r>>2]=c[r>>2]&~(-2147483648>>>(j&31))}j=j+1|0;h=c[a+44>>2]|0}while((j|0)<(h|0));b=c[a+48>>2]|0}l=l+1|0}while((l|0)<(b|0))}return}function AK(a){a=a|0;if(((c[a+36>>2]|0)==0?(c[a+40>>2]|0)==0:0)?(c[a+44>>2]|0)==(c[a+8>>2]|0):0)a=(c[a+48>>2]|0)==(c[a+12>>2]|0);else a=0;return a|0}function BK(a){a=a|0;if(a)YEa(a);return}function CK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if((c[b+8>>2]|0)>0){e=0;do{HK(a+20|0);HK(a);IK(a+40|0,0);if(d){IK(a+60|0,0);IK(a+80|0,0)}e=e+1|0}while((e|0)<(c[b+8>>2]|0))}return}function DK(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;wM(f);yM(f);EK(b,d,f,0,0,e);xM(c[f+4>>2]|0,a[f+8>>0]|0);i=f;return}function EK(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;u=i;i=i+464|0;if(f)jN(59384,u);t=XEa(670)|0;c[u+8>>2]=0;if(!((AM(e,t,670)|0)!=0?(n=a[t>>0]|0,n<<24>>24!=0):0)){c[u>>2]=59480;c[u+4>>2]=97;$L(59376,59408,2,1702e3,u);n=a[t>>0]|0}if(n<<24>>24==118){o=1;r=EGa(t+1|0,0,10)|0}else{BM(e);o=0;r=0}if(AM(e,t,670)|0)do{gk(t);if((f|0)>2){c[u>>2]=t;jN(59504,u)}o=o+1|0;if(FK(o,r,f,d,t,u+36|0,u+76|0,u+12|0,u+124|0,u+8|0)|0?(s=WEa(104)|0,c[s>>2]=0,c[s+4>>2]=-1,c[s+48>>2]=-1,c[s+92>>2]=-1,c[s+96>>2]=0,c[s+100>>2]=0,q=c[u+8>>2]|0,GK((q|0)==1?b+20|0:b,c[u+36>>2]|0,u+76|0,c[u+12>>2]|0,u+124|0,q,s,h)|0):0){if(((c[u+36>>2]|0)==1?(c[u+12>>2]|0)==1:0)&(c[u+8>>2]|0)==2){n=c[u+76>>2]|0;if(!(c[(JK(b+40|0,n)|0)>>2]|0)){q=WEa(20)|0;Ek(q);c[(JK(b+40|0,n)|0)>>2]=q}q=c[(JK(b+40|0,n)|0)>>2]|0;zv(q,c[s+92>>2]|0)}if(g){Ek(u+16|0);q=KN(h,u+124|0,1,u+16|0,0,0)|0;if(q&(c[u+36>>2]|0)>0){q=0;do{n=c[u+76+(q<<2)>>2]|0;if(!(c[(JK(b+60|0,n)|0)>>2]|0)){p=WEa(20)|0;Ek(p);c[(JK(b+60|0,n)|0)>>2]=p}k=c[(JK(b+60|0,n)|0)>>2]|0;if((c[u+16>>2]|0)>0){p=0;do{j=c[(Ik(u+16|0,p)|0)>>2]|0;if((j|0)==-1){c[u>>2]=59480;c[u+4>>2]=144;$L(59376,59520,2,1702e3,u)}n=c[k>>2]|0;a:do if((n|0)>0){l=0;while(1){v=(c[(Ik(k,l)|0)>>2]|0)>(j|0);m=l+1|0;n=c[k>>2]|0;if(!v){m=l;break a}if((m|0)<(n|0))l=m;else break}}else m=0;while(0);do if((m|0)<(n|0)){if((c[(Ik(k,m)|0)>>2]|0)==(j|0))break;KK(k,j,m)}else zv(k,j);while(0);p=p+1|0}while((p|0)<(c[u+16>>2]|0))}q=q+1|0}while((q|0)<(c[u+36>>2]|0))}Jk(u+16|0)}}}while((AM(e,t,670)|0)!=0);ZEa(t);if(g?(c[b+60>>2]|0)>0:0){l=0;do{k=c[(JK(b+60|0,l)|0)>>2]|0;if((k|0)!=0?(c[k>>2]|0)>0:0){m=0;do{j=c[(Ik(k,m)|0)>>2]|0;if(!(c[(JK(b+80|0,j)|0)>>2]|0)){v=WEa(20)|0;Ek(v);c[(JK(b+80|0,j)|0)>>2]=v}zv(c[(JK(b+80|0,j)|0)>>2]|0,l);m=m+1|0}while((m|0)<(c[k>>2]|0))}l=l+1|0}while((l|0)<(c[b+60>>2]|0))}if((f|0)>1){n=0;do{j=(n|0)==0;m=j?b+20|0:b;if((c[m>>2]|0)>0){j=j?59584:59600;l=0;do{k=c[(Gv(m,l)|0)>>2]|0;if(k){if(c[k>>2]|0){QN(u+68|0,h,l);v=c[u+68>>2]|0;f=VM(v)|0;c[u>>2]=j;c[u+4>>2]=f;jN(59560,u);RM(v)}pk(u+40|0,k);rk(u+40|0);if(!(sk(u+40|0)|0))do{v=tk(u+40|0)|0;jN(59616,u);LK(v+4|0,h);jN(59632,u);LK(v+48|0,h);OL(u+40|0)|0}while(!(sk(u+40|0)|0))}l=l+1|0}while((l|0)<(c[m>>2]|0))}n=n+1|0}while((n|0)<2);if(g){o=0;do{j=(o|0)==0;n=j?b+60|0:b+80|0;if((c[n>>2]|0)>0){k=j?1714496:59688;l=0;do{j=c[(JK(n,l)|0)>>2]|0;if(j){QN(u+72|0,h,l);v=c[u+72>>2]|0;g=VM(v)|0;c[u>>2]=k;c[u+4>>2]=g;jN(59656,u);RM(v);if((c[j>>2]|0)>0){m=0;do{QN(u+120|0,h,c[(Ik(j,m)|0)>>2]|0);v=c[u+120>>2]|0;c[u>>2]=VM(v)|0;jN(360528,u);RM(v);m=m+1|0}while((m|0)<(c[j>>2]|0))}jN(1714256,u)}l=l+1|0}while((l|0)<(c[n>>2]|0))}o=o+1|0}while((o|0)<2)}}i=u;return}function FK(b,d,e,f,g,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0;r=i;i=i+64|0;do if((d|0)<=1){g=NEa(g,r+4|0)|0;if(((g|0)!=0?(c[r>>2]=h,(zEa(g,383336,r)|0)!=0):0)?(o=c[h>>2]|0,(o|0)>=1):0){if((o|0)>10){if(!e){n=0;break}c[r>>2]=b;jN(59752,r);n=0;break}else g=0;do{o=NEa(0,r+4|0)|0;if(!o)break;if(!(UN(f,o)|0)){q=31;break}c[j+(g<<2)>>2]=HN(f,o)|0;g=g+1|0}while((g|0)<(c[h>>2]|0));if((q|0)==31)if(e){c[r>>2]=o;jN(59808,r)}c[j+(g<<2)>>2]=-1;if((((g|0)==(c[h>>2]|0)?(n=NEa(0,r+4|0)|0,(n|0)!=0):0)?(c[r>>2]=k,(zEa(n,383336,r)|0)!=0):0)?(p=c[k>>2]|0,(p|0)>=1):0){if((p|0)>10){if(!e){n=0;break}c[r>>2]=b;jN(59752,r);n=0;break}a[l>>0]=0;a:do if((c[k>>2]|0)>0){g=0;while(1){o=NEa(0,r+4|0)|0;if(!o){n=g;break a}ZGa(l|0,o|0)|0;n=g+1|0;if(!(UN(f,o)|0))break;if((n|0)<(c[k>>2]|0))g=n;else break a}if(!e)n=g;else{c[r>>2]=o;jN(59808,r);n=g}}else n=0;while(0);if((n|0)!=(c[k>>2]|0)){if(!e){n=0;break}c[r>>2]=b;jN(59704,r);n=0;break}if((d|0)<=0){n=1;break}n=NEa(0,r+4|0)|0;if((n|0)!=0?(c[r>>2]=m,(zEa(n,383336,r)|0)!=0):0){n=1;break}if(!e){n=0;break}c[r>>2]=b;jN(59704,r);n=0;break}if(!e){n=0;break}c[r>>2]=b;jN(59704,r);n=0;break}if(!e)n=0;else{c[r>>2]=b;jN(59704,r);n=0}}else{PM(r+48|0,g);ek(r+28|0);YM(r+48|0,32,r+28|0);if((c[r+28>>2]|0)!=3)if(!e)n=0;else{c[r>>2]=b;jN(59704,r);n=0}else{Ek(r+8|0);do if(KN(f,VM(c[(fk(r+28|0,0)|0)>>2]|0)|0,1,r+8|0,0,0)|0){n=c[r+8>>2]|0;c[h>>2]=n;if((n|0)>10){if(!e){n=0;break}c[r>>2]=b;jN(59752,r);n=0;break}if((n|0)>0){o=0;do{c[j+(o<<2)>>2]=c[(Ik(r+8|0,o)|0)>>2];o=o+1|0;n=c[r+8>>2]|0}while((o|0)<(n|0))}c[j+(n<<2)>>2]=-1;if(KN(f,VM(c[(fk(r+28|0,1)|0)>>2]|0)|0,1,r+8|0,0,0)|0){f=c[r+8>>2]|0;c[k>>2]=f;if((f|0)>10){if(!e){n=0;break}c[r>>2]=b;jN(59752,r);n=0;break}k=VM(c[(fk(r+28|0,2)|0)>>2]|0)|0;c[r>>2]=m;if((zEa(k,383336,r)|0)==1){c[r>>2]=VM(c[(fk(r+28|0,1)|0)>>2]|0)|0;wGa(l,330,383368,r)|0;n=1;break}if(e){c[r>>2]=b;jN(59704,r);n=0}else n=0}else n=0}else n=0;while(0);Jk(r+8|0)}Vj(r+28|0);RM(c[r+48>>2]|0)}while(0);i=r;return n|0}function GK(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0;l=i;i=i+16|0;c[j+96>>2]=h;if((d|0)==1&(f|0)==1?(h=MK(k,c[e>>2]|0)|0,(h|0)==(MK(k,HN(k,g)|0)|0)):0)c[j+96>>2]=4;c[j+100>>2]=NK(e,j+4|0)|0;DN(k,g);h=HN(k,g)|0;c[j+92>>2]=h;if((f|0)>1)a[(c[k>>2]|0)+(h*112|0)+37>>0]=1;if((d|0)>0){h=0;do{if((d|0)==1)f=c[j+92>>2]|0;else{dO(l,g,h,d,0);m=c[l>>2]|0;DN(k,VM(m)|0);f=HN(k,VM(m)|0)|0;RM(m)}c[j+(h<<2)+48>>2]=f;h=h+1|0}while((h|0)<(d|0))}else h=0;c[j+(h<<2)+48>>2]=-1;if(!(c[(Gv(b,c[e>>2]|0)|0)>>2]|0)){m=WEa(4)|0;c[m>>2]=0;c[(Gv(b,c[e>>2]|0)|0)>>2]=m}if((QL(c[(Gv(b,c[e>>2]|0)|0)>>2]|0,35,1,j)|0)!=(j|0))if(!j)h=0;else{YEa(j);h=0}else h=1;i=l;return h|0}function HK(a){a=a|0;var b=0;b=c[a>>2]|0;if((b|0)==(c[a+4>>2]|0)){PK(a);b=c[a>>2]|0}c[a>>2]=b+1;c[(c[a+8>>2]|0)+(b<<2)>>2]=0;return}function IK(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){QK(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function JK(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function KK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=i;i=i+16|0;if(!((d|0)>-1?(e=c[a>>2]|0,(e|0)>=(d|0)):0)){c[g>>2]=1701680;c[g+4>>2]=691;$L(59376,375920,2,1702e3,g);e=c[a>>2]|0}if((c[a+4>>2]|0)==(e|0)){Vv(a);e=c[a>>2]|0}f=c[a+8>>2]|0;if((e|0)>(d|0))do{h=e;e=e+-1|0;c[f+(h<<2)>>2]=c[f+(e<<2)>>2]}while((e|0)>(d|0));c[f+(d<<2)>>2]=b;c[a>>2]=(c[a>>2]|0)+1;i=g;return}function LK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;d=c[a>>2]|0;if((d|0)==-1){jN(59856,g);d=c[a>>2]|0;if((d|0)!=-1){e=a;f=3}}else{e=a;f=3}if((f|0)==3)while(1){e=e+4|0;c[g>>2]=MN(b,d)|0;jN(360528,g);d=c[e>>2]|0;if((d|0)==-1)break;else f=3}jN(59864,g);d=c[a>>2]|0;if((d|0)!=-1)do{a=a+4|0;c[g>>2]=d;jN(333280,g);d=c[a>>2]|0}while((d|0)!=-1);jN(358704,g);i=g;return}function MK(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if((d|0)!=-1){if(!(ay(b,d)|0)){c[e>>2]=373648;c[e+4>>2]=654;$L(59376,373616,2,1702e3,e)}b=c[b>>2]|0;if(!(a[b+(d*112|0)+33>>0]|0))d=c[b+(d*112|0)+72>>2]|0}else d=-1;i=e;return d|0}function NK(a,b){a=a|0;b=b|0;var d=0,e=0;d=0;while(1){e=c[a+(d<<2)>>2]|0;c[b+(d<<2)>>2]=e;if((e|0)==-1)break;else d=d+1|0}return d|0}function OK(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;b=c[b>>2]|0;a=RK(d+4|0,b+4|0)|0;if(!a)a=RK(d+48|0,b+48|0)|0;return a|0}function PK(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)SK(a,4);else SK(a,b<<1);return}function QK(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)TK(a,4);else TK(a,b<<1);return}function RK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=c[a>>2]|0;a:do if((d|0)==-1){d=b;f=6}else{e=a;while(1){a=c[b>>2]|0;if((a|0)==-1){f=7;break a}if((d|0)!=(a|0))break;e=e+4|0;a=b+4|0;d=c[e>>2]|0;if((d|0)==-1){d=a;f=6;break a}else b=a}d=(d|0)<(a|0)?-1:1}while(0);if((f|0)==6)if((c[d>>2]|0)==-1)d=0;else{d=-1;f=7}if((f|0)==7)d=(d|0)==-1?-1:1;return d|0}function SK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function TK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function UK(a,c){a=a|0;c=c|0;b[a>>1]=c;return}function VK(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;return}function WK(a,b){a=a|0;b=b|0;var d=0;d=((c[a>>2]|0)+31|0)/32|0;c[a>>2]=b;if(((b+31|0)/32|0|0)!=(d|0)){d=c[a+4>>2]|0;if(d)ZEa(d);c[a+4>>2]=XEa(((b+31|0)/32|0)>>>0>1073741823?-1:((b+31|0)/32|0)<<2)|0}return}function XK(a){a=a|0;if(a)ZEa(a);return}function YK(a,b){a=a|0;b=b|0;WK(a,b);YGa(c[a+4>>2]|0,0,(((c[a>>2]|0)+31|0)/32|0)<<2|0)|0;return}function ZK(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if((a|0)>0){d=0;e=0;do{f=c[b+(e<<2)>>2]|0;d=(c[59872+(f>>>24<<2)>>2]|0)+((c[59872+((f>>>16&255)<<2)>>2]|0)+((c[59872+((f>>>8&255)<<2)>>2]|0)+((c[59872+((f&255)<<2)>>2]|0)+d)))|0;e=e+1|0}while((e|0)<((a+31|0)/32|0|0))}else d=0;return d|0}function _K(b,c){b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if((c|0)>1){d=0;do{g=b+d|0;f=a[g>>0]|0;e=b+(c+-1-d)|0;a[g>>0]=a[e>>0]|0;a[e>>0]=f;d=d+1|0}while((d|0)<((c|0)/2|0|0))}return}function $K(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (b|0)/32|0|0;Ja(60896,60928,114,60952);return 0}function aL(a){a=a|0;var b=0,d=0;c[a>>2]=61080;NM(a+4|0);NM(a+8|0);NM(a+12|0);NM(a+16|0);hL(a+24|0);CN(a+184|0);iL(a+256|0);NM(a+356|0);NM(a+360|0);b=a+364|0;d=b+80|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));jL(a+364|0);sJ(a+444|0,62736,61088,61104,1,a+364|0);rJ(a+468|0,0,61136,61160,1,a+364|0);Wk(a+492|0,0,61200,61240,0,a+364|0);Wk(a+508|0,0,61304,61328,0,a+364|0);return}function bL(a){a=a|0;c[a>>2]=61080;Xk(a+508|0);Xk(a+492|0);xJ(a+468|0);yJ(a+444|0);kL(a+364|0);RM(c[a+360>>2]|0);RM(c[a+356>>2]|0);lL(a+256|0);EN(a+184|0);RM(c[a+164>>2]|0);RM(c[a+16>>2]|0);RM(c[a+12>>2]|0);RM(c[a+8>>2]|0);RM(c[a+4>>2]|0);return}function cL(a){a=a|0;bL(a);YEa(a);return}function dL(a){a=a|0;Lc(a|0,0)|0;return}function eL(a){a=a|0;qc(a|0)|0;return}function fL(a){a=a|0;yc(a|0)|0;return}function gL(){c[15242]=1701984;c[15244]=389976;c[15246]=390024;c[15248]=390056;c[15250]=390112;c[15252]=390152;c[15254]=390184;c[15256]=390240;c[15258]=390280;c[15260]=390328;c[15262]=390376;c[15264]=390400;c[15266]=390432;Lc(61384,0)|0;return}function hL(a){a=a|0;NM(a+140|0);c[a+144>>2]=0;c[a+136>>2]=0;YGa(a|0,-1,136)|0;return}function iL(a){a=a|0;mL(a);mL(a+20|0);nL(a+40|0);nL(a+60|0);nL(a+80|0);return}function jL(a){a=a|0;qL(a);rL(a+20|0);sL(a+40|0);tL(a+60|0);return}function kL(a){a=a|0;xL(a+60|0);uL(a+40|0);vL(a+20|0);wL(a);return}function lL(a){a=a|0;yL(a+20|0);yL(a);zL(a+40|0);oL(a+80|0);oL(a+60|0);oL(a+40|0);pL(a+20|0);pL(a);return}function mL(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;SK(a,4);return}function nL(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;TK(a,4);return}function oL(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function pL(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function qL(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;MJ(a,4);return}function rL(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;ul(a,4);return}function sL(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;NJ(a,4);return}function tL(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;OJ(a,4);return}function uL(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function vL(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function wL(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function xL(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function yL(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){KL(d,236);YEa(d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0))}return}function zL(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){Jk(d);YEa(d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0))}return}function AL(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if(!a)$L(61448,61488,2,0,e);d=c[a>>2]|0;if((d|0)!=0?(b=c[d>>2]|0,c[d>>2]=0,c[a>>2]=0,(b|0)!=0):0)do{a=b;b=c[b>>2]|0;_1(c[a+4>>2]|0);YEa(a)}while((b|0)!=0);i=e;return}function BL(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if(!a)$L(61448,61520,2,0,e);d=c[a>>2]|0;if((d|0)!=0?(b=c[d>>2]|0,c[d>>2]=0,c[a>>2]=0,(b|0)!=0):0)do{a=b;b=c[b>>2]|0;YEa(a)}while((b|0)!=0);i=e;return}function CL(a){a=a|0;var b=0;b=i;i=i+32|0;fA(b+4|0,a);if(!a)$L(61448,61544,2,0,b);gA(b+4|0);if(!((hA(b+4|0)|0)<<24>>24)){a=0;do{a=a+1|0;DL(b+4|0)|0}while((hA(b+4|0)|0)<<24>>24==0)}else a=0;i=b;return a|0}function DL(b){b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+16|0;if(!b)$L(61448,61576,2,0,f);d=c[b>>2]|0;if(!d){$L(61440,61576,2,0,f);d=c[b>>2]|0}if(!(c[d>>2]|0))d=0;else{d=c[b+8>>2]|0;if(!d)if(!(a[b+17>>0]|0)){e=b+12|0;d=b+12|0}else{c[b+20>>2]=c[b+12>>2];e=b+12|0;d=b+12|0}else{c[b+4>>2]=d;a[b+24>>0]=1;e=b+12|0}g=c[d>>2]|0;c[b+8>>2]=g;d=c[g>>2]|0;c[e>>2]=d;if(!g){$L(61456,61576,2,0,f);d=c[e>>2]|0}if(!d){g=c[b+8>>2]|0;c[f>>2]=b;c[f+4>>2]=g;$L(61464,61576,2,62424,f)}d=c[(c[b+8>>2]|0)+4>>2]|0}i=f;return d|0}function EL(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+32|0;fA(f+4|0,a);if(!a)$L(61448,61560,2,0,f);d=CL(a)|0;e=UFa(d<<2)|0;gA(f+4|0);if(!((hA(f+4|0)|0)<<24>>24)){a=e;while(1){c[a>>2]=ZA(f+4|0)|0;DL(f+4|0)|0;if(!((hA(f+4|0)|0)<<24>>24))a=a+4|0;else break}}DEa(e,d,4,b);if((d|0)>0){a=e;b=0;while(1){JC(f+4|0,c[a>>2]|0);b=b+1|0;if((b|0)==(d|0))break;else a=a+4|0}}VFa(e);i=f;return}function FL(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+48|0;c[g+32>>2]=d;e=c[a>>2]|0;a:do if(e){if((bd[b&63](e+4|0,g+32|0)|0)<0){b=c[a>>2]|0;d=c[g+32>>2]|0;f=4;break}if((c[(c[a>>2]|0)+4>>2]|0)!=(c[g+32>>2]|0)){fA(g+4|0,a);gA(g+4|0);b:do if(!((hA(g+4|0)|0)<<24>>24))do{a=iA(g+4|0)|0;c[g>>2]=a;if((a|0)==(c[g+32>>2]|0))break a;if((bd[b&63](g,g+32|0)|0)>0)break b;DL(g+4|0)|0}while((hA(g+4|0)|0)<<24>>24==0);while(0);a=(hA(g+4|0)|0)<<24>>24==0;e=c[g+32>>2]|0;if(a){JL(g+4|0,e);break}else{JC(g+4|0,e);break}}}else{b=0;f=4}while(0);if((f|0)==4){e=WEa(8)|0;c[e>>2]=0;c[e+4>>2]=d;if(!b)c[e>>2]=e;else{c[e>>2]=c[b>>2];c[b>>2]=e}c[a>>2]=e}i=g;return}function GL(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+64|0;BL(a);fA(f+36|0,b);fA(f+8|0,d);gA(f+36|0);if(!((hA(f+36|0)|0)<<24>>24))do{d=iA(f+36|0)|0;c[f+4>>2]=d;c[f>>2]=0;if(!((aB(f+8|0)|0)<<24>>24)){b=iA(f+8|0)|0;c[f>>2]=b;a:do if(!((kA(f+8|0)|0)<<24>>24))do{if((dB(f,f+4|0)|0)>=0)break a;DL(f+8|0)|0;b=iA(f+8|0)|0;c[f>>2]=b}while((kA(f+8|0)|0)<<24>>24==0);while(0);if(!((b|0)!=0?(dB(f,f+4|0)|0)==0:0))e=9}else e=9;if((e|0)==9){e=0;FL(a,28,d)}DL(f+36|0)|0}while((hA(f+36|0)|0)<<24>>24==0);i=f;return}function HL(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if(!a)$L(61448,61600,2,0,e);d=c[a>>2]|0;if(!d){$L(61440,61600,2,0,e);d=c[a>>2]|0}if(!(c[d>>2]|0))$L(61472,61600,2,0,e);if(b<<24>>24<-1)$L(61480,61600,2,61984,e);if(b<<24>>24!=-1){d=c[a+8>>2]|0;if(!d)d=c[a+4>>2]|0;if(b<<24>>24>0)do{b=b+-1<<24>>24;d=c[d>>2]|0}while(b<<24>>24>0)}else d=c[a+4>>2]|0;if(!d)$L(61456,61600,2,0,e);i=e;return c[d+4>>2]|0}function IL(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(!a)$L(61448,61632,2,0,d);b=c[a>>2]|0;if(!b){$L(61440,61632,2,0,d);b=c[a>>2]|0}if((c[a+8>>2]|0)!=(c[b>>2]|0))do DL(a)|0;while((c[a+8>>2]|0)!=(c[c[a>>2]>>2]|0));i=d;return}function JL(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if(!b)$L(61448,61664,2,0,g);if(!(c[b>>2]|0))$L(61440,61664,2,0,g);if(!d)$L(61480,61664,2,312520,g);f=WEa(8)|0;c[f>>2]=0;c[f+4>>2]=d;e=c[b>>2]|0;do if(c[e>>2]|0){c[c[b+4>>2]>>2]=f;d=c[b+8>>2]|0;if(d){c[f>>2]=d;c[b+12>>2]=d;d=b+8|0;break}c[f>>2]=c[b+12>>2];if(a[b+16>>0]|0)c[e>>2]=f;if(!(a[b+17>>0]|0))d=b+8|0;else{c[b+20>>2]=f;d=b+8|0}}else{c[f>>2]=f;c[e>>2]=f;c[b+12>>2]=f;c[b+4>>2]=f;d=b+8|0}while(0);c[d>>2]=f;i=g;return}function KL(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;if(!a)$L(61712,61752,2,0,f);e=c[a>>2]|0;if((e|0)!=0?(d=c[e>>2]|0,c[e>>2]=0,c[a>>2]=0,(d|0)!=0):0)do{a=d;d=c[d>>2]|0;Qc[b&511](a)}while((d|0)!=0);i=f;return}function LL(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+4>>2]=61776;if(!a)$L(61712,61840,2,0,e);if(c[a>>2]|0)$L(e+4|0,61872,2,0,e);c[a>>2]=ML(b,d)|0;i=e;return}function ML(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+48|0;c[h+40>>2]=62048;c[h+36>>2]=62104;c[h+32>>2]=62160;c[h+4>>2]=c[b+0>>2];c[h+8>>2]=c[b+4>>2];c[h+12>>2]=c[b+8>>2];c[h+16>>2]=c[b+12>>2];c[h+20>>2]=c[b+16>>2];c[h+24>>2]=c[b+20>>2];c[h+28>>2]=c[b+24>>2];if(!b)$L(61712,62208,2,0,h);if(!d)$L(61744,62208,2,62032,h);e=c[b>>2]|0;if(!e){$L(61704,62208,2,0,h);e=c[b>>2]|0}if((e|0)!=(c[d>>2]|0)){$L(h+40|0,62240,2,0,h);e=c[b>>2]|0}if(!(c[e>>2]|0))$L(61736,62208,2,0,h);if(!((c[b+8>>2]|0)!=0?(c[d+8>>2]|0)!=0:0))$L(h+36|0,62240,2,0,h);a[d+16>>0]=0;a[b+16>>0]=0;a[b+17>>0]=0;a[d+17>>0]=0;rk(h+4|0);do{if(sk(h+4|0)|0)$L(h+32|0,62240,2,0,h);if(Ov(h+4|0)|0){c[c[b>>2]>>2]=c[b+4>>2];a[d+16>>0]=1;a[b+16>>0]=1}e=c[h+12>>2]|0;if((e|0)==(c[b+20>>2]|0))a[b+17>>0]=1;if((e|0)==(c[d+20>>2]|0))a[d+17>>0]=1;OL(h+4|0)|0;g=c[h+8>>2]|0}while((g|0)!=(c[d+8>>2]|0));c[g>>2]=c[b+8>>2];e=c[b+4>>2]|0;if((e|0)==(g|0)){c[c[b>>2]>>2]=0;c[b+8>>2]=0;c[b+4>>2]=0;c[d+12>>2]=0;c[d+8>>2]=0;e=0;f=0}else{f=c[d+12>>2]|0;c[e>>2]=f;c[d+8>>2]=0;c[b+8>>2]=0}c[b+12>>2]=f;c[d+4>>2]=e;i=h;return g|0}function NL(a){a=a|0;var b=0;b=i;i=i+32|0;pk(b+4|0,a);if(!a)$L(61712,61896,2,0,b);rk(b+4|0);if(sk(b+4|0)|0)a=0;else{a=0;do{a=a+1|0;OL(b+4|0)|0}while(!(sk(b+4|0)|0))}i=b;return a|0}function OL(b){b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+16|0;if(!b)$L(61712,61928,2,0,f);d=c[b>>2]|0;if(!d){$L(61704,61928,2,0,f);d=c[b>>2]|0}if(!(c[d>>2]|0))d=0;else{d=c[b+8>>2]|0;if(!d)if(!(a[b+17>>0]|0)){e=b+12|0;d=b+12|0}else{c[b+20>>2]=c[b+12>>2];e=b+12|0;d=b+12|0}else{c[b+4>>2]=d;a[b+24>>0]=1;e=b+12|0}g=c[d>>2]|0;c[b+8>>2]=g;d=c[g>>2]|0;c[e>>2]=d;if(!g){$L(61720,61928,2,0,f);d=c[e>>2]|0}if(!d){g=c[b+8>>2]|0;c[f>>2]=b;c[f+4>>2]=g;$L(61728,61928,2,62424,f)}d=c[b+8>>2]|0}i=f;return d|0}function PL(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+32|0;pk(f+4|0,a);if(!a)$L(61712,61912,2,0,f);d=NL(a)|0;e=UFa(d<<2)|0;rk(f+4|0);if(!(sk(f+4|0)|0)){a=e;while(1){c[a>>2]=pv(f+4|0)|0;OL(f+4|0)|0;if(sk(f+4|0)|0)break;else a=a+4|0}}DEa(e,d,4,b);if((d|0)>0){a=e;b=0;while(1){qv(f+4|0,c[a>>2]|0);b=b+1|0;if((b|0)==(d|0))break;else a=a+4|0}}VFa(e);i=f;return}function QL(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+48|0;c[g+32>>2]=e;a:do if(c[a>>2]|0){if((bd[b&63](a,g+32|0)|0)<0){e=c[a>>2]|0;if(!e){e=c[g+32>>2]|0;f=5;break}else{c[c[g+32>>2]>>2]=c[e>>2];c[e>>2]=c[g+32>>2];f=7;break}}pk(g+4|0,a);rk(g+4|0);b:do if(!(sk(g+4|0)|0))do{c[g>>2]=tk(g+4|0)|0;e=bd[b&63](g,g+32|0)|0;if((e|0)>0)break b;if((e|0)==0&d){e=g;break a}OL(g+4|0)|0}while(!(sk(g+4|0)|0));while(0);a=sk(g+4|0)|0;e=c[g+32>>2]|0;if(a){qv(g+4|0,e);e=g+32|0;break}else{BB(g+4|0,e);e=g+32|0;break}}else f=5;while(0);if((f|0)==5){c[e>>2]=e;f=7}if((f|0)==7){c[a>>2]=c[g+32>>2];e=g+32|0}i=g;return c[e>>2]|0}function RL(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if(!a)$L(61712,61952,2,0,e);d=c[a>>2]|0;if(!d){$L(61704,61952,2,0,e);d=c[a>>2]|0}if(!(c[d>>2]|0))$L(61736,61952,2,0,e);if(b<<24>>24<-1)$L(61744,61952,2,61984,e);if(b<<24>>24!=-1){d=c[a+8>>2]|0;if(!d)d=c[a+4>>2]|0;if(b<<24>>24>0)do{b=b+-1<<24>>24;d=c[d>>2]|0}while(b<<24>>24>0)}else d=c[a+4>>2]|0;if(!d)$L(61720,61952,2,0,e);i=e;return d|0}function SL(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(!a)$L(61712,62e3,2,0,d);b=c[a>>2]|0;if(!b){$L(61704,62e3,2,0,d);b=c[a>>2]|0}if((c[a+8>>2]|0)!=(c[b>>2]|0))do OL(a)|0;while((c[a+8>>2]|0)!=(c[c[a>>2]>>2]|0));i=d;return}function TL(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;if(!a)$L(62280,62336,2,0,f);e=c[a>>2]|0;if((e|0)!=0?(d=c[e+4>>2]|0,c[e+4>>2]=0,c[a>>2]=0,(d|0)!=0):0)do{a=d;d=c[d+4>>2]|0;Qc[b&511](a)}while((d|0)!=0);i=f;return}function UL(a){a=a|0;var b=0;b=i;i=i+32|0;Lk(b+4|0,a);if(!a)$L(62280,62360,2,0,b);Mk(b+4|0);if(!((Nk(b+4|0)|0)<<24>>24)){a=0;do{a=a+1|0;VL(b+4|0)}while((Nk(b+4|0)|0)<<24>>24==0)}else a=0;i=b;return a|0}function VL(b){b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+16|0;if(!b)$L(62280,62392,2,0,f);d=c[b>>2]|0;if(!d){$L(62272,62392,2,0,f);d=c[b>>2]|0}if(c[d>>2]|0){d=c[b+8>>2]|0;if(!d)if(!(a[b+17>>0]|0)){e=b+12|0;d=b+12|0}else{c[b+20>>2]=c[b+12>>2];e=b+12|0;d=b+12|0}else{c[b+4>>2]=d;a[b+24>>0]=1;e=b+12|0;d=d+4|0}g=c[d>>2]|0;c[b+8>>2]=g;d=c[g+4>>2]|0;c[e>>2]=d;if(!g){$L(62288,62392,2,0,f);d=c[e>>2]|0}if(!d){g=c[b+8>>2]|0;c[f>>2]=b;c[f+4>>2]=g;$L(62296,62392,2,62424,f)}}i=f;return}function WL(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+32|0;Lk(f+4|0,a);if(!a)$L(62280,62376,2,0,f);d=UL(a)|0;e=UFa(d<<2)|0;Mk(f+4|0);if(!((Nk(f+4|0)|0)<<24>>24)){a=e;while(1){c[a>>2]=hv(f+4|0)|0;VL(f+4|0);if(!((Nk(f+4|0)|0)<<24>>24))a=a+4|0;else break}}DEa(e,d,4,b);if((d|0)>0){a=e;b=0;while(1){ov(f+4|0,c[a>>2]|0);b=b+1|0;if((b|0)==(d|0))break;else a=a+4|0}}VFa(e);i=f;return}function XL(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+48|0;c[f+32>>2]=b;d=c[a>>2]|0;do if(d){if((r4(a,f+32|0)|0)<0){c[b+4>>2]=c[d+4>>2];c[b>>2]=d;c[d+4>>2]=b;c[c[b+4>>2]>>2]=b;e=5;break}Lk(f+4|0,a);Mk(f+4|0);a:do if(!((Nk(f+4|0)|0)<<24>>24))do{c[f>>2]=Ok(f+4|0)|0;if((r4(f,f+32|0)|0)>0)break a;VL(f+4|0)}while((Nk(f+4|0)|0)<<24>>24==0);while(0);if(!((Nk(f+4|0)|0)<<24>>24)){_L(f+4|0,b);break}else{ov(f+4|0,b);break}}else{c[b+4>>2]=b;c[b>>2]=b;e=5}while(0);if((e|0)==5)c[a>>2]=b;i=f;return}function YL(b){b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+16|0;if(!b)$L(62280,62456,2,0,f);d=c[b>>2]|0;if(!d){$L(62272,62456,2,0,f);d=c[b>>2]|0}if(c[d>>2]|0){d=c[b+8>>2]|0;if(!d)if(!(a[b+17>>0]|0)){e=b+4|0;d=b+4|0}else{c[b+20>>2]=c[b+4>>2];e=b+4|0;d=b+4|0}else{c[b+12>>2]=d;a[b+24>>0]=1;e=b+4|0}g=c[d>>2]|0;c[b+8>>2]=g;d=c[g>>2]|0;c[e>>2]=d;if(!g){$L(62288,62456,2,0,f);d=c[e>>2]|0}if(!d){g=c[b+8>>2]|0;c[f>>2]=b;c[f+4>>2]=g;$L(62304,62456,2,62424,f)}}i=f;return}function ZL(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if(!a)$L(62280,62488,2,0,e);d=c[a>>2]|0;if(!d){$L(62272,62488,2,0,e);d=c[a>>2]|0}if(!(c[d>>2]|0))$L(62312,62488,2,0,e);d=c[a+8>>2]|0;if(b<<24>>24>=0){if(!d)d=c[a+4>>2]|0;if(b<<24>>24>0)do{b=b+-1<<24>>24;d=c[d+4>>2]|0}while(b<<24>>24>0)}else{if(!d)d=c[a+12>>2]|0;do{b=b+1<<24>>24;d=c[d>>2]|0}while(b<<24>>24<0)}if(!d)$L(62288,62488,2,0,e);i=e;return d|0}function _L(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if(!b)$L(62280,62520,2,0,g);if(!(c[b>>2]|0))$L(62272,62520,2,0,g);if(!d)$L(62320,62520,2,319904,g);if(c[d+4>>2]|0)$L(62328,62520,2,0,g);f=c[b>>2]|0;do if(c[f>>2]|0){e=c[b+4>>2]|0;c[e+4>>2]=d;c[d>>2]=e;e=c[b+8>>2]|0;if(e){c[d+4>>2]=e;c[e>>2]=d;c[b+12>>2]=e;e=b+8|0;break}e=c[b+12>>2]|0;c[d+4>>2]=e;c[e>>2]=d;if(a[b+16>>0]|0)c[f>>2]=d;if(!(a[b+17>>0]|0))e=b+8|0;else{c[b+20>>2]=d;e=b+8|0}}else{c[d+4>>2]=d;c[d>>2]=d;c[f>>2]=d;c[b+12>>2]=d;c[b+4>>2]=d;e=b+8|0}while(0);c[e>>2]=d;i=g;return}function $L(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;k=i;i=i+1056|0;if(!d){j=0;h=k+24|0}else{c[k>>2]=d;h=xGa(k+24|0,62592,k)|0;j=h;h=k+24+h|0}c[k>>2]=c[b>>2];d=xGa(h,62600,k)|0;h=k+24+(d+j)|0;if(!f){a[h>>0]=10;a[h+1>>0]=0}else{a[h>>0]=58;a[h+1>>0]=0;j=d+1+j|0;c[k+8>>2]=g;g=k+24+(j+(AGa(k+24+j|0,f,k+8|0)|0))|0;a[g>>0]=10;a[g+1>>0]=0}Jc(k+24|0,c[n>>2]|0)|0;if((e|0)==2|(e|0)==1)dc();else if(!((e|0)==0|(e|0)==-1))$L(62560,62616,2,0,k);i=k;return}function aM(){var a=0;a=i;i=i+16|0;c[a>>2]=62672;c[a+4>>2]=75;$L(62624,62632,2,1702e3,a);i=a;return}function bM(a,b){a=a|0;b=b|0;if((xb(a|0,4,1,b|0)|0)==1){b=xb(c[a+8>>2]|0,4,c[a>>2]|0,b|0)|0;b=(b|0)==(c[a>>2]|0)}else b=0;return b|0}function cM(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((Ha(f|0,4,1,d|0)|0)==1){if(b)_K(f,4);e=c[f>>2]|0;il(a,e);c[a>>2]=e;e=Ha(c[a+8>>2]|0,4,e|0,d|0)|0;d=(e|0)!=(c[a>>2]|0);if(!(d|b^1))if((e|0)>0){d=0;do{_K((c[a+8>>2]|0)+(d<<2)|0,4);d=d+1|0}while((d|0)<(c[a>>2]|0));d=1}else d=1;else d=d^1}else d=0;i=f;return d|0}function dM(a,b,d){a=a|0;b=b|0;d=d|0;fN(a+8|0,d);do if(!b){b=Xb(62696)|0;if(!b){fN(a+4|0,62712);break}else{fN(a+4|0,b);break}}else fN(a+4|0,b);while(0);do if(SM(a+4|0)|0){b=SM(a+4|0)|0;if((b|0)>7){if(!(HGa(XM(c[a+4>>2]|0,b+-8|0)|0,62720)|0)){TM(a+4|0,b+-8|0);break}if((b|0)>8?(HGa(XM(c[a+4>>2]|0,b+-9|0)|0,62736)|0)==0:0)TM(a+4|0,b+-9|0)}}else fN(a+4|0,62712);while(0);b=VM(c[a+4>>2]|0)|0;b=b+((SM(a+4|0)|0)+-1)|0;if((HGa(b,1714488)|0)!=0?(HGa(b,62752)|0)!=0:0)dN(a+4|0,1714488);bN(a+4|0,a+456|0);return}function eM(a){a=a|0;return UFa(a+3&-4)|0}function fM(a){a=a|0;VFa(a);return}function gM(a){a=a|0;return UFa(a)|0}function hM(a){a=a|0;VFa(a);return}function iM(a){a=a|0;return UFa(a)|0}function jM(a){a=a|0;VFa(a);return}function kM(){var b=0,d=0,e=0;if((a[62768]|0)==0?(Ia(62768)|0)!=0:0){b=WEa(80)|0;d=b+0|0;e=d+80|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));jL(b);c[15690]=b;ib(62768)}return c[15690]|0}function lM(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;f=a[b>>0]|0;if(f<<24>>24==45|f<<24>>24==43)f=1;else f=0;f=b+f|0;b=fc(f|0,377400)|0;if(!b){c[g>>2]=f;jN(62776,g)}else{mM(b,-1,-1,d,e);Yb(b|0)|0}i=g;return}function mM(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;l=i;i=i+4112|0;while(1){if((e|0)>=0?(j=Na(b|0)|0,!((((j|0)<0)<<31>>31|0)<(e|0)|(((j|0)<0)<<31>>31|0)==(e|0)&j>>>0>>0)):0){k=13;break}if(!(Ic(l+8|0,4096,b|0)|0)){k=13;break}j=a[l+8>>0]|0;if(j<<24>>24==35|j<<24>>24==10)continue;gk(l+8|0);h=l+8|0;while(1){j=a[h>>0]|0;if(j<<24>>24==32|j<<24>>24==9){k=9;break}else if(!(j<<24>>24))break;h=h+1|0}if((k|0)==9){k=0;a[h>>0]=0;do{h=h+1|0;j=a[h>>0]|0}while(j<<24>>24==9|j<<24>>24==32)}if(!(nM(l+8|0,h,f,g)|0)){k=12;break}}if((k|0)==12){c[l>>2]=l+8;jN(62816,l);Cb(1)}else if((k|0)==13){i=l;return}}function nM(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,j=0,k=0,l=0;l=i;i=i+32|0;k=Tj(b,(kM()|0)+40|0,f+40|0)|0;if((k|0)!=0?qM(k,e)|0:0){PM(l+16|0,d);aN(k+12|0,l+16|0);RM(c[l+16>>2]|0)}if(!(a[d>>0]|0))f=(k|0)!=0;else{g=Rj(b,kM()|0,f)|0;if(((g|0)!=0?qM(g,e)|0:0)?(c[l+8>>2]=l+12,(zEa(d,383336,l+8|0)|0)==1):0)c[g+12>>2]=c[l+12>>2];j=Sj(b,(kM()|0)+20|0,f+20|0)|0;a:do if((j|0)!=0?qM(j,e)|0:0)switch(a[d>>0]|0){case 49:case 121:case 89:case 116:case 84:{a[j+10>>0]=1;break a}case 48:case 110:case 78:case 102:case 70:{a[j+10>>0]=0;break a}default:break a}while(0);f=Uj(b,(kM()|0)+60|0,f+60|0)|0;if(((f|0)!=0?qM(f,e)|0:0)?(c[l+8>>2]=l,(zEa(d,62864,l+8|0)|0)==1):0)h[f+16>>3]=+h[l>>3];f=(k|0)!=0|(g|0)!=0|(j|0)!=0|(f|0)!=0}i=l;return f|0}function oM(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0.0;m=i;i=i+16|0;j=(b|0)==0?1:2;l=0;do{if(!l)g=kM()|0;else g=b;if((c[g>>2]|0)>0){e=0;do{o=c[c[(Yk(g,e)|0)>>2]>>2]|0;n=c[(c[(Yk(g,e)|0)>>2]|0)+12>>2]|0;f=c[(c[(Yk(g,e)|0)>>2]|0)+4>>2]|0;c[m>>2]=o;c[m+4>>2]=n;c[m+8>>2]=f;zb(a|0,62872,m|0)|0;e=e+1|0}while((e|0)<(c[g>>2]|0))}f=g+20|0;if((c[f>>2]|0)>0){e=0;do{p=c[c[(Zk(f,e)|0)>>2]>>2]|0;n=d[(c[(Zk(f,e)|0)>>2]|0)+10>>0]|0;o=c[(c[(Zk(f,e)|0)>>2]|0)+4>>2]|0;c[m>>2]=p;c[m+4>>2]=n;c[m+8>>2]=o;zb(a|0,62872,m|0)|0;e=e+1|0}while((e|0)<(c[f>>2]|0))}f=g+40|0;if((c[f>>2]|0)>0){e=0;do{n=c[c[(_k(f,e)|0)>>2]>>2]|0;o=VM(c[(c[(_k(f,e)|0)>>2]|0)+12>>2]|0)|0;p=c[(c[(_k(f,e)|0)>>2]|0)+4>>2]|0;c[m>>2]=n;c[m+4>>2]=o;c[m+8>>2]=p;zb(a|0,62888,m|0)|0;e=e+1|0}while((e|0)<(c[f>>2]|0))}e=g+60|0;if((c[e>>2]|0)>0){f=0;do{o=c[c[($k(e,f)|0)>>2]>>2]|0;q=+h[(c[($k(e,f)|0)>>2]|0)+16>>3];p=c[(c[($k(e,f)|0)>>2]|0)+4>>2]|0;c[m>>2]=o;h[k>>3]=q;c[m+4>>2]=c[k>>2];c[m+8>>2]=c[k+4>>2];c[m+12>>2]=p;zb(a|0,62904,m|0)|0;f=f+1|0}while((f|0)<(c[e>>2]|0))}l=l+1|0}while((l|0)<(j|0));i=m;return}function pM(b){b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0;g=(b|0)==0?1:2;i=0;do{if(!i)f=kM()|0;else f=b;if((c[f>>2]|0)>0){d=0;do{e=c[(Yk(f,d)|0)>>2]|0;c[e+12>>2]=c[e+16>>2];d=d+1|0}while((d|0)<(c[f>>2]|0))}e=f+20|0;if((c[e>>2]|0)>0){d=0;do{j=c[(Zk(e,d)|0)>>2]|0;a[j+10>>0]=a[j+11>>0]|0;d=d+1|0}while((d|0)<(c[e>>2]|0))}e=f+40|0;if((c[e>>2]|0)>0){d=0;do{j=c[(_k(e,d)|0)>>2]|0;aN(j+12|0,j+16|0);d=d+1|0}while((d|0)<(c[e>>2]|0))}d=f+60|0;if((c[d>>2]|0)>0){e=0;do{j=c[($k(d,e)|0)>>2]|0;h[j+16>>3]=+h[j+24>>3];e=e+1|0}while((e|0)<(c[d>>2]|0))}i=i+1|0}while((i|0)<(g|0));return}function qM(b,c){b=b|0;c=c|0;if((c|0)==1)return (a[b+9>>0]|0)!=0|0;else if((c|0)==2)c=(a[b+9>>0]|0)==0;else if(c)if((c|0)==3)c=(a[b+8>>0]|0)==0;else c=0;else c=1;return c|0}function rM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=Ec(a|0)|0;if((YFa(c&255)|0)!=0&(c|0)!=-1)do c=Ec(a|0)|0;while((YFa(c&255)|0)!=0&(c|0)!=-1);if((c|0)==43|(c|0)==45){d=Ec(a|0)|0;h=(c|0)==45&1}else{d=c;h=0}if(!b)if((d|0)==48){c=Ec(a|0)|0;if((c&-33|0)==88){g=16;c=Ec(a|0)|0}else g=8}else{g=0;c=d}else if((b|0)==16&(d|0)==48){c=Ec(a|0)|0;if((c&-33|0)==88){g=16;c=Ec(a|0)|0}else g=16}else{g=b;c=d}a:do if((c|0)==-1){b=0;d=0;c=-1}else{f=((g|0)<0)<<31>>31;b=0;d=0;while(1){e=uM(c,g)|0;if((e|0)<=-1)break a;b=eHa(g|0,f|0,b|0,d|0)|0;b=QGa(e|0,((e|0)<0)<<31>>31|0,b|0,F|0)|0;d=F;c=Ec(a|0)|0;if((c|0)==-1){c=-1;break}}}while(0);lc(c|0,a|0)|0;h=(h|0)!=0;a=PGa(0,0,b|0,d|0)|0;F=h?F:d;return (h?a:b)|0}function sM(a){a=a|0;var b=0.0,c=0,d=0,e=0,f=0,g=0,h=0;c=Ec(a|0)|0;if((YFa(c&255)|0)!=0&(c|0)!=-1)do c=Ec(a|0)|0;while((YFa(c&255)|0)!=0&(c|0)!=-1);if((c|0)==43|(c|0)==45){d=Ec(a|0)|0;h=(c|0)==45&1}else{d=c;h=0}a:do if((d|0)!=-1){c=d;f=0;while(1){d=uM(c,10)|0;if((d|0)<=-1)break;d=d+(f*10|0)|0;c=Ec(a|0)|0;if((c|0)==-1){c=-1;e=1;f=d;d=0;break a}else f=d}if((c|0)==46){c=Ec(a|0)|0;if((c|0)==-1){c=-1;e=1;d=0}else{g=1;d=0;while(1){e=uM(c,10)|0;if((e|0)<=-1){e=g;break a}d=e+(d*10|0)|0;e=g*10|0;c=Ec(a|0)|0;if((c|0)==-1){c=-1;break}else g=e}}}else{e=1;d=0}}else{c=-1;e=1;f=0;d=0}while(0);b=+(f|0)+ +(d|0)/+(e|0);if((c&-33|0)==69){d=Ec(a|0)|0;if((d|0)==43|(d|0)==45){c=Ec(a|0)|0;g=(d|0)==45?-1:1}else{c=d;g=1}b:do if((c|0)==-1){c=-1;e=0}else{d=0;while(1){e=uM(c,10)|0;if((e|0)<=-1){e=d;break b}e=e+(d*10|0)|0;c=Ec(a|0)|0;if((c|0)==-1){c=-1;break}else d=e}}while(0);b=b*+S(10.0,+(+(ba(e,g)|0)))}lc(c|0,a|0)|0;if(h)b=-b;return +b}function tM(d,e,f){d=d|0;e=e|0;f=f|0;var j=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;i=i+48|0;c[z>>2]=f;x=Na(d|0)|0;vM(d)|0;f=a[e>>0]|0;a:do if(!(f<<24>>24)){e=0;f=0}else{q=f;f=0;s=0;o=e;t=0;u=0;r=0;n=0;v=0;p=0;l=-1;while(1){w=o+1|0;b:do switch(p|0){case 3:{e=q<<24>>24;switch(e|0){case 122:{e=0;o=w;k=u;n=1;m=v;p=3;break b}case 104:{e=0;o=w;k=u;n=n+-1|0;m=v;p=3;break b}case 116:{e=0;o=w;k=u;n=1;m=v;p=3;break b}case 108:{e=0;o=w;k=u;n=n+1|0;m=v;p=3;break b}case 113:case 76:case 106:{e=0;o=w;k=u;n=2;m=v;p=3;break b}default:{if((n|0)<-2)q=-2;else q=(n|0)>2?2:n;do switch(e|0){case 91:{e=c[z>>2]|0;m=c[e>>2]|0;c[z>>2]=e+4;c[z+16>>2]=0;c[z+20>>2]=0;c[z+24>>2]=0;c[z+28>>2]=0;c[z+32>>2]=0;c[z+36>>2]=0;c[z+40>>2]=0;c[z+44>>2]=0;e=0;t=0;o=w;k=u;n=q;p=4;break b}case 88:case 120:{e=16;n=q;y=28;break}case 110:{e=(Na(d|0)|0)-x|0;o=e;e=((e|0)<0)<<31>>31;k=u;n=q;break}case 69:case 101:case 71:case 103:case 102:{k=vM(d)|0;if((k|0)<1){e=1;break a}j=+sM(d);if(s&1){e=0;o=w;n=q;m=v;p=0;break b}if(!q){p=c[z>>2]|0;u=c[p>>2]|0;c[z>>2]=p+4;g[u>>2]=j}else if((q|0)==1){p=c[z>>2]|0;u=c[p>>2]|0;c[z>>2]=p+4;h[u>>3]=j}e=0;f=f+1|0;o=w;n=q;m=v;p=0;break b}case 115:{e=c[z>>2]|0;m=c[e>>2]|0;c[z>>2]=e+4;e=l+-1|0;c:do if(!l){l=e;k=u;e=m}else{o=(s&1|0)==0;n=e;e=m;while(1){k=Ec(d|0)|0;if((YFa(k&255)|0)!=0|(k|0)<1)break;if(o)a[e>>0]=k;e=e+1|0;l=n+-1|0;if(!n)break c;else n=l}lc(k|0,d|0)|0;l=n}while(0);if((m|0)==(e|0)){e=1;break a}if(s&1){e=0;o=w;n=q;p=0;break b}a[e>>0]=0;e=0;f=f+1|0;o=w;n=q;p=0;break b}case 100:{e=10;n=q;y=28;break}case 112:case 80:{e=0;n=2147483647;y=28;break}case 105:{e=0;n=q;y=28;break}case 99:{o=c[z>>2]|0;m=c[o>>2]|0;c[z>>2]=o+4;o=(s&1|0)==0;k=u;e=(s&4|0)!=0?l:1;while(1){l=e;do{v=l;l=l+-1|0;if(!v){e=0;o=w;n=q;p=0;break b}k=Ec(d|0)|0;if((k|0)<1){e=1;break a}}while(!o);a[m>>0]=k;f=f+1|0;m=m+1|0;e=l}}case 37:{e=(Ec(d|0)|0)==37;e=e?0:2;o=w;k=u;n=q;m=v;p=0;break b}case 117:{e=10;n=q;y=28;break}case 111:{e=8;n=q;y=28;break}default:{e=2;break a}}while(0);if((y|0)==28){y=0;k=vM(d)|0;if((k|0)<1){e=1;break a}o=rM(d,e)|0;e=F}if(s&1){e=0;o=w;m=v;p=0;break b}f=f+1|0;if(!n){n=c[z>>2]|0;e=c[n>>2]|0;c[z>>2]=n+4;c[e>>2]=o;e=0;o=w;n=0;m=v;p=0;break b}else if((n|0)==2){m=c[z>>2]|0;n=c[m>>2]|0;c[z>>2]=m+4;c[n>>2]=o;c[n+4>>2]=e;e=0;o=w;n=2;m=v;p=0;break b}else if((n|0)==-2){n=c[z>>2]|0;e=c[n>>2]|0;c[z>>2]=n+4;a[e>>0]=o;e=0;o=w;n=-2;m=v;p=0;break b}else if((n|0)==-1){n=c[z>>2]|0;e=c[n>>2]|0;c[z>>2]=n+4;b[e>>1]=o;e=0;o=w;n=-1;m=v;p=0;break b}else if((n|0)==2147483647){n=c[z>>2]|0;e=c[n>>2]|0;c[z>>2]=n+4;c[e>>2]=o;e=0;o=w;n=2147483647;m=v;p=0;break b}else if((n|0)==1){n=c[z>>2]|0;e=c[n>>2]|0;c[z>>2]=n+4;c[e>>2]=o;e=0;o=w;n=1;m=v;p=0;break b}else{e=0;o=w;m=v;p=0;break b}}}}case 4:{if(q<<24>>24==94&(s&2|0)==0){e=0;t=1;o=w;k=u;m=v;p=4}else{e=q&255;c[z+16+(e>>>5<<2)>>2]=c[z+16+(e>>>5<<2)>>2]|1<<(e&31);e=0;o=w;k=u;m=v;p=5}break}case 0:{e=q<<24>>24;if(q<<24>>24!=37)if(!(YFa(q&255)|0)){e=(Ec(d|0)|0)==(e|0);e=e?0:2;o=w;k=u;m=v;p=0;break b}else{vM(d)|0;e=0;o=w;k=u;m=v;p=0;break b}else{e=0;s=0;o=w;k=u;n=0;m=v;p=1;l=-1}break}case 2:{if((q+-48&255)<10){e=0;o=w;k=u;m=v;p=2;l=(q<<24>>24)+-48+(l*10|0)|0}else{e=0;k=u;m=v;p=3}break}case 1:{if(q<<24>>24==42){e=0;s=s|1;o=w;k=u;m=v;p=1;break b}if((q+-48&255)<10){e=0;s=s|4;o=w;k=u;m=v;p=2;l=(q<<24>>24)+-48|0}else{e=0;k=u;m=v;p=3}break}case 5:{if(q<<24>>24==93){y=68;break b}else if(q<<24>>24==45){e=0;o=w;k=u;r=45;m=v;p=6;break b}e=q&255;c[z+16+(e>>>5<<2)>>2]=c[z+16+(e>>>5<<2)>>2]|1<<(e&31);e=0;o=w;k=u;m=v;p=5;break}case 6:{if(q<<24>>24==93){c[z+20>>2]=c[z+20>>2]|8192;y=68;break b}k=q&255;if((r&255)<(q&255)){e=r&255;do{q=z+16+(e>>>5<<2)|0;c[q>>2]=1<<(e&31)|c[q>>2];e=e+1|0}while((e|0)<(k|0));e=0;o=w;k=u;m=v;p=5}else{e=0;o=w;k=u;m=v;p=5}break}default:{e=0;o=w;k=u;m=v}}while(0);if((y|0)==68){y=0;if(!l){k=u;m=v}else{o=(s&1|0)==0;e=Ec(d|0)|0;d:do if((e|0)<1)m=v;else{m=v;do{if(((c[z+16+((e>>>5&7)<<2)>>2]|0)>>>(e&31)&1|0)==(t|0))break d;if(o)a[m>>0]=e;m=m+1|0;e=Ec(d|0)|0}while((e|0)>=1)}while(0);lc(e|0,d|0)|0;k=e}if((v|0)==(m|0))break;if(!(s&1)){a[m>>0]=0;e=0;f=f+1|0;o=w}else{e=0;o=w}}q=a[o>>0]|0;if(!(q<<24>>24!=0&(e|0)==0))break a;else{u=k;v=m}}e=(k|0)<1?1:2}while(0);i=z;return ((e|0)!=1|(f|0)!=0?f:-1)|0}function uM(a,b){a=a|0;b=b|0;do if((a+-48|0)>>>0>=10)if((a+-65|0)>>>0<26&(b|0)==16){b=a+-55|0;break}else return ((a+-97|0)>>>0<26&(b|0)==16?a+-87|0:-1)|0;else b=(b|0)>9|(a|0)<56?a+-48|0:-1;while(0);return b|0}function vM(a){a=a|0;var b=0;do b=Ec(a|0)|0;while((YFa(b)|0)!=0);lc(b|0,a|0)|0;return b|0}function wM(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;b[a+8>>1]=0;return}function xM(a,b){a=a|0;b=b|0;if(!(b<<24>>24==0|(a|0)==0)){CM(a);YEa(a)}return}function yM(b){b=b|0;var d=0;c[b>>2]=0;if(!(a[b+8>>0]|0)){d=WEa(20)|0;DM(d);c[b+4>>2]=d;a[b+8>>0]=1}else d=c[b+4>>2]|0;a[b+9>>0]=0;FM(d,170929);VGa(GM(c[b+4>>2]|0,0)|0,130320,170929)|0;return}function zM(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;c[b>>2]=0;h=Na(d|0)|0;if((f|0)<0){if((Wb(d|0,0,2)|0)==0?(g=Na(d|0)|0,(Wb(d|0,h|0,0)|0)==0):0){e=g;f=((g|0)<0)<<31>>31;i=4}}else i=4;if((i|0)==4){e=PGa(e|0,f|0,h|0,0)|0;a[b+9>>0]=0;if(!(a[b+8>>0]|0)){f=WEa(20)|0;DM(f);c[b+4>>2]=f;a[b+8>>0]=1}else f=c[b+4>>2]|0;FM(f,e);Ha(GM(c[b+4>>2]|0,0)|0,1,e|0,d|0)|0}return}function AM(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;if(a[b+9>>0]|0){c[k>>2]=62944;c[k+4>>2]=81;$L(62920,62928,2,1702e3,k)}j=0;while(1){f=j+1|0;if((f|0)>=(e|0)){f=j;break}g=c[b>>2]|0;h=c[b+4>>2]|0;if((g|0)>=(c[h>>2]|0)){f=j;break}c[b>>2]=g+1;a[d+j>>0]=a[(GM(h,g)|0)>>0]|0;if((a[(GM(c[b+4>>2]|0,(c[b>>2]|0)+-1|0)|0)>>0]|0)==10)break;else j=f}if((f|0)<(e|0))a[d+f>>0]=0;i=k;return ((f|0)>0?d:0)|0}function BM(b){b=b|0;var d=0;d=i;i=i+16|0;if(a[b+9>>0]|0){c[d>>2]=62944;c[d+4>>2]=105;$L(62920,62928,2,1702e3,d)}c[b>>2]=0;i=d;return}function CM(b){b=b|0;var d=0,e=0;if((c[b+4>>2]|0)>0){d=c[b+12>>2]|0;a:do if((d|0)!=0?(c[b>>2]|0)>0:0){e=0;while(1){Rc[c[(c[d>>2]|0)+8>>2]&63](d,a[(c[b+8>>2]|0)+e>>0]|0);e=e+1|0;if((e|0)>=(c[b>>2]|0))break a;d=c[b+12>>2]|0}}while(0);ZEa(c[b+8>>2]|0);c[b+8>>2]=0;c[b>>2]=0;c[b+4>>2]=0}d=c[b+12>>2]|0;if(d){Qc[c[(c[d>>2]|0)+4>>2]&511](d);c[b+12>>2]=0}d=c[b+16>>2]|0;if(d){Qc[c[(c[d>>2]|0)+4>>2]&511](d);c[b+16>>2]=0}return}function DM(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;IM(a,4);return}function EM(a,b){a=a|0;b=b|0;var c=0;a=fc(VM(a)|0,377400)|0;if(!a)a=0;else{Wb(a|0,0,2)|0;c=Na(a|0)|0;Wb(a|0,0,0)|0;FM(b,c+1|0);b=(Ha(GM(b,0)|0,1,c|0,a|0)|0)==(c|0);Yb(a|0)|0;a=b}return a|0}function FM(b,d){b=b|0;d=d|0;var e=0;IM(b,d);c[b>>2]=d;if((d|0)>0){e=0;do{a[(c[b+8>>2]|0)+e>>0]=0;e=e+1|0}while((e|0)!=(d|0))}return}function GM(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+b|0;Ja(1701640,1701680,663,1701712);return 0}function HM(b,d){b=b|0;d=d|0;var e=0;e=c[b>>2]|0;if((e|0)==(c[b+4>>2]|0)){JM(b);e=c[b>>2]|0}c[b>>2]=e+1;a[(c[b+8>>2]|0)+e>>0]=d;return}function IM(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;if(!((d|0)<1?1:(c[b+4>>2]|0)>=(d|0))){f=XEa((d|0)>-1?d:-1)|0;g=c[b>>2]|0;e=c[b+8>>2]|0;if((g|0)>0){h=0;do{a[f+h>>0]=a[e+h>>0]|0;h=h+1|0}while((h|0)!=(g|0))}ZEa(e);c[b+8>>2]=f;c[b+4>>2]=d}return}function JM(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)IM(a,4);else IM(a,b<<1);return}function KM(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=eM(d+8|0)|0;c[a>>2]=e;c[e>>2]=d;c[e+4>>2]=b;return e+8|0}function LM(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=c[a>>2]|0;e=c[d>>2]|0;if((e|0)<(b|0)){f=(e<<1|0)>(b|0)?e<<1:b;b=eM(f+8|0)|0;e=c[a>>2]|0;VGa(b+8|0,e+8|0,c[d+4>>2]|0)|0;c[b>>2]=f;c[b+4>>2]=c[d+4>>2];fM(e);c[a>>2]=b;d=b}return d+8|0}function MM(a){a=a|0;if((c[a+4>>2]|0)<0)c[a+4>>2]=(SGa(a+8|0)|0)+1;return}function NM(b){b=b|0;var d=0;d=eM(24)|0;c[b>>2]=d;c[d>>2]=16;c[d+4>>2]=1;a[d+8>>0]=0;return}function OM(a,b){a=a|0;b=b|0;var d=0;MM(c[b>>2]|0);d=c[(c[b>>2]|0)+4>>2]|0;a=KM(a,d,d)|0;VGa(a|0,(c[b>>2]|0)+8|0,d|0)|0;return}function PM(b,d){b=b|0;d=d|0;var e=0;if(!d){d=eM(24)|0;c[b>>2]=d;c[d>>2]=16;c[d+4>>2]=1;a[d+8>>0]=0}else{e=(SGa(d|0)|0)+1|0;VGa(KM(b,e,e)|0,d|0,e|0)|0}return}function QM(b,d,e){b=b|0;d=d|0;e=e|0;if(!d){e=eM(24)|0;c[b>>2]=e;c[e>>2]=16;c[e+4>>2]=1;a[e+8>>0]=0}else{b=KM(b,e+1|0,e+1|0)|0;VGa(b|0,d|0,e|0)|0;a[b+e>>0]=0}return}function RM(a){a=a|0;fM(a);return}function SM(a){a=a|0;MM(c[a>>2]|0);return (c[(c[a>>2]|0)+4>>2]|0)+-1|0}function TM(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if((d|0)<=-1){c[e>>2]=62976;c[e+4>>2]=265;$L(62968,63e3,2,1702e3,e)}MM(c[b>>2]|0);a[(LM(b,d+1|0)|0)+d>>0]=0;c[(c[b>>2]|0)+4>>2]=d+1;i=e;return}function UM(a,b){a=a|0;b=b|0;if(!(b<<24>>24))b=0;else b=(FEa(a+8|0,b<<24>>24)|0)!=0&1;return b|0}function VM(a){a=a|0;if(!(c[a+4>>2]|0))a=0;else{c[a+4>>2]=-1;a=a+8|0}return a|0}function WM(a){a=a|0;if(!(c[a+4>>2]|0))a=0;else{c[a+4>>2]=-1;a=a+8|0}return a|0}function XM(a,b){a=a|0;b=b|0;c[a+4>>2]=-1;return a+8+b|0}function YM(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;k=SM(b)|0;if((k|0)>0){g=0;f=0;do{h=c[b>>2]|0;c[h+4>>2]=-1;j=h+8+g|0;if((a[j>>0]|0)==d<<24>>24){if((g|0)!=(f|0)){c[h+4>>2]=-1;a[j>>0]=0;QM(l+4|0,(c[b>>2]|0)+8+f|0,g-f|0);Wj(e,l+4|0);fM(c[l+4>>2]|0);j=c[b>>2]|0;c[j+4>>2]=-1;a[j+8+g>>0]=d}f=g+1|0;g=f}else g=g+1|0}while((g|0)<(k|0))}else f=0;if((k|0)!=(f|0)){QM(l,(c[b>>2]|0)+8+f|0,k-f|0);Wj(e,l);fM(c[l>>2]|0)}i=l;return}function ZM(a,b){a=a|0;b=b|0;var d=0;MM(c[a>>2]|0);MM(c[b>>2]|0);d=c[b>>2]|0;b=c[a>>2]|0;a=c[b+4>>2]|0;if((a|0)==(c[d+4>>2]|0))b=(GGa(b+8|0,d+8|0,a)|0)==0&1;else b=0;return b|0}function _M(a,b){a=a|0;b=b|0;var d=0;MM(c[a>>2]|0);MM(c[b>>2]|0);d=c[b>>2]|0;b=c[a>>2]|0;a=c[b+4>>2]|0;if((a|0)==(c[d+4>>2]|0))b=(GGa(b+8|0,d+8|0,a)|0)!=0&1;else b=1;return b|0}function $M(a,b){a=a|0;b=b|0;var d=0;MM(c[a>>2]|0);a=c[a>>2]|0;if(b){d=(SGa(b|0)|0)+1|0;if((c[a+4>>2]|0)==(d|0))a=(GGa(a+8|0,b,d)|0)!=0&1;else a=1}else a=(c[a+4>>2]|0)>1&1;return a|0}function aN(a,b){a=a|0;b=b|0;var d=0,e=0;MM(c[b>>2]|0);d=c[(c[b>>2]|0)+4>>2]|0;c[(c[a>>2]|0)+4>>2]=0;e=LM(a,d)|0;a=c[a>>2]|0;VGa(e|0,(c[b>>2]|0)+8|0,d|0)|0;c[a+4>>2]=d;return}function bN(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;MM(c[a>>2]|0);MM(c[b>>2]|0);d=c[b>>2]|0;e=c[d+4>>2]|0;f=c[(c[a>>2]|0)+4>>2]|0;g=LM(a,f+e|0)|0;b=c[a>>2]|0;if((f|0)>1){VGa(g+(f+-1)|0,d+8|0,e|0)|0;c[b+4>>2]=e+-1+(c[b+4>>2]|0)}else{VGa(g|0,d+8|0,e|0)|0;c[b+4>>2]=e}return}function cN(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;if(d)dN(b,d);c[f>>2]=e;wGa(f+4|0,21,383336,f)|0;a[f+25>>0]=0;dN(b,f+4|0);i=f;return}function dN(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;do if((d|0)!=0?(a[d>>0]|0)!=0:0){MM(c[b>>2]|0);e=SGa(d|0)|0;f=c[(c[b>>2]|0)+4>>2]|0;g=LM(b,f+(e+1)|0)|0;b=c[b>>2]|0;if((f|0)>0){VGa(g+(f+-1)|0,d|0,e+1|0)|0;c[b+4>>2]=(c[b+4>>2]|0)+e;break}else{VGa(g|0,d|0,e+1|0)|0;c[b+4>>2]=e+1;break}}while(0);return}function eN(b,d,e){b=b|0;d=d|0;e=+e;var f=0;f=i;i=i+32|0;if(d)dN(b,d);h[k>>3]=e;c[f>>2]=c[k>>2];c[f+4>>2]=c[k+4>>2];wGa(f+8|0,14,63016,f)|0;a[f+22>>0]=0;dN(b,f+8|0);i=f;return}function fN(b,d){b=b|0;d=d|0;var e=0,f=0;e=c[b>>2]|0;if(!d){fM(e);d=eM(24)|0;c[b>>2]=d;c[d>>2]=16;c[d+4>>2]=1;a[d+8>>0]=0}else{f=(SGa(d|0)|0)+1|0;c[e+4>>2]=0;e=LM(b,f)|0;b=c[b>>2]|0;VGa(e|0,d|0,f|0)|0;c[b+4>>2]=f}return}function gN(a,b,c){a=a|0;b=b|0;c=c|0;OM(a,b);bN(a,c);return}function hN(b,d){b=b|0;d=d|0;var e=0,f=0;if(d<<24>>24){MM(c[b>>2]|0);e=c[(c[b>>2]|0)+4>>2]|0;f=LM(b,e+1|0)|0;b=c[b>>2]|0;a[f+((((e|0)>0)<<31>>31)+e)>>0]=d;a[f+((((e|0)>0)<<31>>31)+e+1)>>0]=0;c[b+4>>2]=(((e|0)>0)<<31>>31)+e+2}return}function iN(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;c[b+148>>2]=e;fN(b+140|0,d);e=fc(d|0,377400)|0;c[b+144>>2]=e;if(e){Ha(b+136|0,4,1,e|0)|0;e=c[b+136>>2]|0;a[b+152>>0]=(e|0)>1e3&1;if((e|0)>1e3){_K(b+136|0,4);e=c[b+136>>2]|0}if((e|0)>17){c[b+136>>2]=17;e=17}Ha(b|0,8,e|0,c[b+144>>2]|0)|0;if((a[b+152>>0]|0)!=0?(c[b+136>>2]|0)>0:0){e=0;do{_K(b+(e<<3)|0,8);e=e+1|0}while((e|0)<(c[b+136>>2]|0))}if((c[b+148>>2]|0)!=0?(c[f>>2]=c[b+136>>2],jN(63176,f),(c[b+136>>2]|0)>0):0){e=0;do{d=b+(e<<3)|0;g=c[d>>2]|0;d=c[d+4>>2]|0;c[f>>2]=e;c[f+4>>2]=g;c[f+8>>2]=d;jN(63240,f);e=e+1|0}while((e|0)<(c[b+136>>2]|0));e=1}else e=1}else{c[f>>2]=d;jN(63024,f);jN(63056,f);e=0}i=f;return e|0}function jN(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;eL(61384);c[f>>2]=d;zGa(63456,65536,b,f)|0;d=c[15862]|0;b=(a[(VM(c[15847]|0)|0)>>0]|0)==0;if(!d)if(!b?(e=fc(VM(c[15847]|0)|0,377008)|0,c[15862]=e,(e|0)!=0):0){d=e;b=6}else b=7;else if(b){Yb(d|0)|0;c[15862]=0;b=7}else b=6;if((b|0)==6)Jc(63456,d|0)|0;else if((b|0)==7)Jc(63456,c[n>>2]|0)|0;fL(61384);i=f;return}function kN(){c[15818]=1701984;c[15820]=389976;c[15822]=390024;c[15824]=390056;c[15826]=390112;c[15828]=390152;c[15830]=390184;c[15832]=390240;c[15834]=390280;c[15836]=390328;c[15838]=390376;c[15840]=390400;c[15842]=390432;sJ(63376,1714496,63400,63416,0,kM()|0);return}function lN(b,c,e){b=b|0;c=c|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;a:do if((e|0)<0){e=0;while(1){f=e+1|0;if(!(a[c+e>>0]|0)){j=4;break a}if((f|0)<30)e=f;else{e=f;j=6;break}}}else j=4;while(0);if((j|0)==4)if((e|0)>0)j=6;else{a[b+29>>0]=0;e=0;j=14}if((j|0)==6){i=0;b:while(1){f=d[c+i>>0]|0;g=a[129024+f>>0]|0;h=(g<<24>>24)+i|0;if((h|0)>30|g<<24>>24==0){e=i;break}if((f+-192|0)>>>0<56){f=1;do{if((a[c+(f+i)>>0]&-64)<<24>>24!=-128){e=i;break b}f=f+1|0}while((f|0)<(g<<24>>24|0))}if((h|0)<(e|0))i=h;else{e=h;break}}VGa(b|0,c|0,e|0)|0;if((e|0)<30?(a[b+29>>0]=e,(e|0)<29):0)j=14}if((j|0)==14)YGa(b+e|0,0,29-e|0)|0;return}function mN(b){b=b|0;return a[129024+(b&255)>>0]|0}function nN(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=a[b>>0]|0;i=a[129024+(e&255)>>0]|0;if((i|0)==2){h=0;g=e;d=0;j=4}else if((i|0)==4){f=a[b+1>>0]|0;d=2;e=(e&255)<<6;j=3}else if((i|0)==3){f=e;d=1;e=0;j=3}else if((i|0)==1){d=0;j=5}else d=0;if((j|0)==3){h=d;g=a[b+d>>0]|0;d=(f&255)+e<<6;j=4}if((j|0)==4){e=a[b+(h+1)>>0]|0;d=(g&255)+d<<6;j=5}if((j|0)==5)d=(e&255)+d|0;return d-(c[129e3+(i<<2)>>2]|0)|0}function oN(a){a=a|0;c[a>>2]=0;return}function pN(a){a=a|0;var b=0;if(a){b=c[a+-4>>2]|0;if(b){b=a+(b<<3)|0;do{b=b+-8|0;xN(b)}while((b|0)!=(a|0))}ZEa(a+-4|0)}return}function qN(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=a[d>>0]|0;if(!(f<<24>>24))Ja(129280,129304,40,129600);b=c[b>>2]|0;e=a[d+1>>0]|0;if(!(e<<24>>24))d=f&255;else{g=d;i=e;h=d+1|0;e=f&255;while(1){b=c[b+(e<<3)>>2]|0;d=g+2|0;e=i;i=a[d>>0]|0;if(!(i<<24>>24)){d=e&255;break}else{g=h;h=d;e=e&255}}}return c[b+(d<<3)+4>>2]|0}function rN(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=a[d>>0]|0;if(!(f<<24>>24))Ja(129280,129304,59,129600);if((e+-1|0)>>>0>=30)Ja(129528,129304,60,129600);b=c[b>>2]|0;a:do if((e|0)!=1){g=f;while(1){d=d+1|0;f=a[d>>0]|0;if(!(f<<24>>24)){f=g;break a}e=e+-1|0;b=c[b+((g&255)<<3)>>2]|0;if((e|0)==1)break;else g=f}}while(0);return c[b+((f&255)<<3)+4>>2]|0}function sN(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=a[d>>0]|0;if(!(f<<24>>24))Ja(129280,129304,80,129336);if((e|0)<=-1)Ja(129344,129304,81,129336);g=b;while(1){b=c[g>>2]|0;if(!b){b=XEa(2052)|0;c[b>>2]=256;f=b+4|0;do{c[f>>2]=0;c[f+4>>2]=-1;f=f+8|0}while((f|0)!=(b+2052|0));c[g>>2]=b+4;g=a[d>>0]|0;b=b+4|0}else g=f;d=d+1|0;f=a[d>>0]|0;g=g&255;if(!(f<<24>>24))break;g=b+(g<<3)|0}c[b+(g<<3)+4>>2]=e;return}function tN(b,d){b=b|0;d=d|0;var e=0,f=0;a:do if(((d|0)!=0?(f=a[d>>0]|0,f<<24>>24!=0):0)?(e=c[b>>2]|0,(e|0)!=0):0){while(1){d=d+1|0;b=f;f=a[d>>0]|0;if(!(f<<24>>24))break;e=c[e+((b&255)<<3)>>2]|0;if(!e){e=0;break a}}e=(c[e+((b&255)<<3)+4>>2]|0)>-1}else e=0;while(0);return e|0}function uN(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0;do if((e|0)!=0?!((a[e>>0]|0)==0|(f+-1|0)>>>0>29):0){b=c[b>>2]|0;a:do if((b|0)!=0&(f|0)>1){g=e;while(1){e=g+1|0;if(!(a[e>>0]|0)){e=g;break a}f=f+-1|0;b=c[b+(d[g>>0]<<3)>>2]|0;if((b|0)!=0&(f|0)>1)g=e;else{g=(b|0)!=0;h=6;break}}}else{g=(b|0)!=0;h=6}while(0);if((h|0)==6)if(!g){b=0;break}if((f|0)!=1?(a[e+1>>0]|0)!=0:0){b=0;break}b=(c[b+(d[e>>0]<<3)+4>>2]|0)>-1}else b=0;while(0);return b|0}function vN(b,d){b=b|0;d=d|0;var e=0,f=0;a:do if(!b)b=0;else{f=d;while(1){e=a[f>>0]|0;if(!(e<<24>>24)){b=0;break a}if((c[b+((e&255)<<3)+4>>2]|0)>-1)break;b=c[b+((e&255)<<3)>>2]|0;if(!b){b=0;break a}else f=f+1|0}b=f+1-d|0}while(0);return b|0}function wN(a){a=a|0;var b=0,d=0;d=c[a>>2]|0;if(d){b=c[d+-4>>2]|0;if(b){b=d+(b<<3)|0;do{b=b+-8|0;xN(b)}while((b|0)!=(d|0))}ZEa(d+-4|0);c[a>>2]=0}return}function xN(a){a=a|0;var b=0;b=c[a>>2]|0;if(b){a=c[b+-4>>2]|0;if(a){a=b+(a<<3)|0;do{a=a+-8|0;xN(a)}while((a|0)!=(b|0))}ZEa(b+-4|0)}return}function yN(a){a=a|0;Ek(a+52|0);NM(a+72|0);zN(a);return}function zN(b){b=b|0;a[b>>0]=0;a[b+1>>0]=0;a[b+2>>0]=0;a[b+3>>0]=0;a[b+4>>0]=0;a[b+5>>0]=0;a[b+6>>0]=0;a[b+7>>0]=0;a[b+8>>0]=-1;a[b+9>>0]=0;a[b+10>>0]=-1;c[b+48>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b+20>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;c[b+32>>2]=0;c[b+36>>2]=0;c[b+40>>2]=0;fN(b+72|0,1714496);c[b+44>>2]=0;c[b+76>>2]=0;return}function AN(a,b){a=a|0;b=b|0;var c=0.0;eO(b+7|0,a+7|0,a+8|0);eO(b+8|0,a+7|0,a+8|0);eO(b+9|0,a+9|0,a+10|0);eO(b+10|0,a+9|0,a+10|0);c=+g[b+16>>2];if(c>+g[a+16>>2]){g[a+12>>2]=+g[b+12>>2];g[a+16>>2]=c}c=+g[b+24>>2];if(c>+g[a+24>>2]){g[a+20>>2]=+g[b+20>>2];g[a+24>>2]=c}c=+g[b+32>>2];if(c>+g[a+32>>2]){g[a+28>>2]=+g[b+28>>2];g[a+32>>2]=c}return}function BN(a,b){a=a|0;b=b|0;var d=0;d=c[a+76>>2]|0;fO(a,b);c[a+76>>2]=d;return}function CN(b){b=b|0;var d=0;c[b>>2]=0;oN(b+4|0);c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b+20>>2]=0;c[b+28>>2]=383864;gO(b);d=0;while(1){DN(b,c[129512+(d<<2)>>2]|0);if((d|0)!=1){d=d+1|0;if((d|0)<3)continue;else break}else{a[(c[b>>2]|0)+149>>0]=1;d=2;continue}}return}function DN(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;do if(!(tN(b+4|0,d)|0)){e=SGa(d|0)|0;if(e>>>0>30){b=c[n>>2]|0;c[h>>2]=e;c[h+4>>2]=d;zb(b|0,129712,h|0)|0;break}e=c[b+8>>2]|0;do if((e|0)==(c[b+12>>2]|0))if(!e){FN(b,8);break}else{FN(b,e<<1);break}while(0);$Ga((c[b>>2]|0)+((c[b+8>>2]|0)*112|0)|0,d|0)|0;hO(b,c[b+8>>2]|0,c[b+28>>2]|0);f=XN(d)|0;e=c[b+8>>2]|0;g=c[b>>2]|0;c[g+(e*112|0)+108>>2]=f;if((f|0)!=0?tN(b+4|0,f)|0:0){f=iO(b,f)|0;e=c[b+8>>2]|0;g=c[b>>2]|0;c[g+(e*112|0)+68>>2]=f}a[g+(e*112|0)+38>>0]=1;sN(b+4|0,d,e);c[b+8>>2]=(c[b+8>>2]|0)+1}while(0);i=h;return}function EN(a){a=a|0;gO(a);pN(c[a+4>>2]|0);return}function FN(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if((c[b+12>>2]|0)<(d|0)){j=XEa(d>>>0>38347922|(d*112|0)>>>0>4294967291?-1:(d*112|0)+4|0)|0;c[j>>2]=d;if(d){e=j+4|0;do{yN(e+32|0);e=e+112|0}while((e|0)!=(j+4+(d*112|0)|0))}e=c[b+8>>2]|0;if((e|0)>0){i=0;do{f=c[b>>2]|0;e=j+4+(i*112|0)+0|0;g=f+(i*112|0)+0|0;h=e+31|0;do{a[e>>0]=a[g>>0]|0;e=e+1|0;g=g+1|0}while((e|0)<(h|0));fO(j+4+(i*112|0)+32|0,f+(i*112|0)+32|0);i=i+1|0;e=c[b+8>>2]|0}while((i|0)<(e|0))}if((e|0)<(d|0))do{c[j+4+(e*112|0)+68>>2]=GN(b,c[b+28>>2]|0)|0;e=e+1|0}while((e|0)!=(d|0));f=c[b>>2]|0;if(f){e=c[f+-4>>2]|0;if(e){e=f+(e*112|0)|0;do{jO(e+-80|0);e=e+-112|0}while((e|0)!=(f|0))}ZEa(f+-4|0)}c[b>>2]=j+4;c[b+12>>2]=d}return}function GN(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=c[a+20>>2]|0;a:do if((f|0)>0){e=c[a+16>>2]|0;d=0;while(1){if(!(HGa(b,c[e+(d<<2)>>2]|0)|0))break a;d=d+1|0;if((d|0)>=(f|0)){g=5;break}}}else g=5;while(0);if((g|0)==5){d=c[a+24>>2]|0;if(!d){c[a+24>>2]=8;c[a+16>>2]=XEa(32)|0;d=8}if((f+1|0)<(d|0)){e=c[a+16>>2]|0;d=f}else{g=d<<1;g=XEa(g>>>0>1073741823?-1:g<<2)|0;e=c[a+16>>2]|0;VGa(g|0,e|0,d<<2|0)|0;if(e){ZEa(e);f=c[a+20>>2]|0;d=c[a+24>>2]|0}c[a+16>>2]=g;c[a+24>>2]=d<<1;e=g;d=f}c[e+(d<<2)>>2]=XEa((SGa(b|0)|0)+1|0)|0;$Ga(c[(c[a+16>>2]|0)+(d<<2)>>2]|0,b|0)|0;d=c[a+20>>2]|0;c[a+20>>2]=d+1}return d|0}function HN(a,b){a=a|0;b=b|0;if(tN(a+4|0,b)|0)a=qN(a+4|0,b)|0;else a=-1;return a|0}function IN(a,b,c){a=a|0;b=b|0;c=c|0;if((c+-1|0)>>>0>=30)Ja(129528,129568,201,129600);if(uN(a+4|0,b,c)|0)c=rN(a+4|0,b,c)|0;else c=-1;return c|0}function JN(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+48|0;Ek(e+20|0);DM(e);KN(b,d,1,e+20|0,e,0)|0;if((c[e+20>>2]|0)!=0?(c[(Ik(e+20|0,0)|0)>>2]|0)!=-1:0)d=a[(GM(e,0)|0)>>0]|0;else d=0;CM(e);Jk(e+20|0);i=e;return d|0}function KN(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0;m=i;i=i+64|0;Ek(m+44|0);DM(m+24|0);DM(m+4|0);if((c[f>>2]|0)>0)c[f>>2]=0;l=SGa(d|0)|0;c[m>>2]=0;k=0;j=1;a:while(1){do{if((k|0)>=(l|0))break a;LN(b,d,k,l,m+44|0,m+24|0,m,f,m+4|0);k=c[m>>2]|0}while((k|0)>=(l|0));if(e){j=0;break}j=mN(a[d+k>>0]|0)|0;j=(j|0)==0?1:j;zv(f,-1);HM(m+4|0,j&255);k=k+j|0;c[m>>2]=k;Hv(m+44|0,f);kO(m+24|0,m+4|0);j=0}if(g)kO(g,m+4|0);if(h)c[h>>2]=k;CM(m+4|0);CM(m+24|0);Jk(m+44|0);i=m;return j|0}function LN(b,d,e,f,g,h,i,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0;if((c[i>>2]|0)<(e|0)?(c[i>>2]=e,Hv(j,g),(k|0)!=0):0)kO(k,h);a:do if((e|0)!=(f|0)?(n=c[g>>2]|0,l=vN(c[b+4>>2]|0,d+e|0)|0,!((l|0)==0|(l+e|0)>(f|0))):0)do{if(uN(b+4|0,d+e|0,l)|0){zv(g,rN(b+4|0,d+e|0,l)|0);HM(h,l&255);m=l+e|0;LN(b,d,m,f,g,h,i,j,k);if((c[i>>2]|0)==(f|0))break a;if((c[g>>2]|0)>(n|0))c[g>>2]=n;if((c[h>>2]|0)>(n|0))c[h>>2]=n}else m=l+e|0;m=mN(a[d+m>>0]|0)|0;l=((m|0)==0?1:m)+l|0}while(!((l|0)>30|(l+e|0)>(f|0)));while(0);return}function MN(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if((b|0)==-1)b=129616;else{if((c[a+8>>2]|0)<=(b|0)){c[d>>2]=129568;c[d+4>>2]=270;$L(129352,129640,2,1702e3,d)}b=(c[a>>2]|0)+(b*112|0)|0}i=d;return b|0}function NN(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;a:do if((b|0)==-1)d=129616;else{if((c[a+8>>2]|0)<=(b|0)){c[h>>2]=129568;c[h+4>>2]=278;$L(129352,129640,2,1702e3,h)}if(ON(a,b)|0){e=MN(a,b)|0;d=129360;g=0;while(1){f=g+1|0;if(!(HGa(e,c[129444+(g<<3)>>2]|0)|0))break a;if((f|0)==5)break;else{d=c[129440+(f<<3)>>2]|0;g=f}}}d=(c[a>>2]|0)+(b*112|0)|0}while(0);i=h;return d|0}function ON(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+32|0;lN(c,MN(a,b)|0,-1);b=((nN(c)|0)+-57344|0)>>>0<6400;i=c;return b|0}function PN(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+48|0;PM(b,d);dN(b,129664);e=a[d>>0]|0;if(e<<24>>24){g=d;h=0;do{f=mN(e)|0;if(!f){c[j>>2]=e<<24>>24;xGa(j+34|0,129672,j)|0;e=1}else{lN(j+4|0,g,f);c[j>>2]=nN(j+4|0)|0;xGa(j+34|0,129672,j)|0;e=f}dN(b,j+34|0);dN(b,1701816);h=e+h|0;g=d+h|0;e=a[g>>0]|0}while(e<<24>>24!=0)}dN(b,129680);i=j;return}function QN(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;do if((d|0)==-1)PM(a,MN(b,-1)|0);else{e=uC(b,d)|0;if(e){lO(a,e);break}PN(f,MN(b,d)|0);do if(Yz(b,d)|0){if(ox(b,d)|0){dN(f,372360);break}if(nx(b,d)|0){dN(f,129688);break}else{dN(f,129696);break}}while(0);if(az(b,d)|0)dN(f,385040);if(Zz(b,d)|0)dN(f,129704);OM(a,f);RM(c[f>>2]|0)}while(0);i=f;return}function RN(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=c[b>>2]|0;if((c[e+(d*112|0)+84>>2]|0)>0)c[e+(d*112|0)+84>>2]=0;if(!d){h=(a[(MN(b,0)|0)>>0]|0)==32;e=c[b>>2]|0;if(h)zv(e+84|0,0);else{f=e;g=6}}else{f=e;g=6}if((g|0)==6?(h=VM(c[f+(d*112|0)+104>>2]|0)|0,!(KN(b,h,1,(c[b>>2]|0)+(d*112|0)+84|0,0,0)|0)):0){e=c[b>>2]|0;if((c[e+(d*112|0)+84>>2]|0)>0)c[e+(d*112|0)+84>>2]=0;zv(e+(d*112|0)+84|0,d)}return}function SN(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+80|0;if((c[a+8>>2]|0)>(b|0))do{e=MN(a,b)|0;yN(f);if(TN(d,e,f)|0){c[f+36>>2]=GN(a,af(d,c[f+36>>2]|0)|0)|0;e=MN(d,c[f+40>>2]|0)|0;if(tN(a+4|0,e)|0)e=HN(a,e)|0;else e=b;c[f+40>>2]=e;e=MN(d,c[f+48>>2]|0)|0;if(tN(a+4|0,e)|0)e=HN(a,e)|0;else e=b;c[f+48>>2]=e;BN((c[a>>2]|0)+(b*112|0)+32|0,f);RN(a,b)}jO(f);b=b+1|0}while((b|0)<(c[a+8>>2]|0));i=f;return}function TN(b,d,e){b=b|0;d=d|0;e=e|0;var f=0.0,h=0,j=0.0,k=0,l=0,m=0;m=i;i=i+32|0;zN(e);a[e+7>>0]=-1;a[e+8>>0]=0;a[e+9>>0]=-1;a[e+10>>0]=0;c[e+12>>2]=0;c[e+16>>2]=0;c[e+20>>2]=0;c[e+24>>2]=0;c[e+28>>2]=0;c[e+32>>2]=0;Ek(m);if(KN(b,d,1,m,0,0)|0){if((c[m>>2]|0)>0){l=0;while(1){d=c[(Ik(m,l)|0)>>2]|0;h=c[b>>2]|0;if(a[h+(d*112|0)+32>>0]|0)a[e>>0]=1;if(a[h+(d*112|0)+33>>0]|0)a[e+1>>0]=1;if(a[h+(d*112|0)+34>>0]|0)a[e+2>>0]=1;if(a[h+(d*112|0)+35>>0]|0)a[e+3>>0]=1;if(a[h+(d*112|0)+36>>0]|0)a[e+4>>0]=1;if(a[h+(d*112|0)+37>>0]|0)a[e+5>>0]=1;if(a[h+(d*112|0)+38>>0]|0)a[e+6>>0]=1;eO(h+(d*112|0)+39|0,e+7|0,e+8|0);eO(h+(d*112|0)+40|0,e+7|0,e+8|0);eO(h+(d*112|0)+41|0,e+9|0,e+10|0);eO(h+(d*112|0)+42|0,e+9|0,e+10|0);j=+g[e+28>>2];f=j+ +g[h+(d*112|0)+52>>2];k=(l|0)==0;if(!k?!(f<+g[e+20>>2]):0)f=+g[e+32>>2];else{g[e+20>>2]=f;f=+g[e+32>>2];g[e+24>>2]=f+ +g[h+(d*112|0)+56>>2]}g[e+28>>2]=+g[h+(d*112|0)+60>>2]+j;g[e+32>>2]=+g[h+(d*112|0)+64>>2]+f;g[e+12>>2]=+g[h+(d*112|0)+44>>2];g[e+16>>2]=+g[h+(d*112|0)+48>>2];if(k){c[e+36>>2]=c[h+(d*112|0)+68>>2];c[e+40>>2]=c[h+(d*112|0)+72>>2];c[e+48>>2]=c[h+(d*112|0)+80>>2];c[e+44>>2]=c[h+(d*112|0)+76>>2]}bN(e+72|0,h+(d*112|0)+104|0);d=l+1|0;if((d|0)<(c[m>>2]|0))l=d;else break}if((l|0)>0){g[e+12>>2]=+g[e+28>>2]-+g[e+20>>2];g[e+16>>2]=+g[e+32>>2]+ +g[e+24>>2]}}else d=0;d=(d|0)>0}else d=0;Jk(m);i=m;return d|0}function UN(a,b){a=a|0;b=b|0;return tN(a+4|0,b)|0}function VN(a,b){a=a|0;b=b|0;var d=0,e=0;gO(a);if((c[b+8>>2]|0)>0){d=0;do{e=(c[b>>2]|0)+(d*112|0)+32|0;DN(a,MN(b,d)|0);AN((c[a>>2]|0)+(d*112|0)+32|0,e);d=d+1|0}while((d|0)<(c[b+8>>2]|0))}SN(a,0,b);return}function WN(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a[b+(c*112|0)+42>>0]|0;f=a[b+(d*112|0)+42>>0]|0;c=a[b+(c*112|0)+41>>0]|0;b=a[b+(d*112|0)+41>>0]|0;return ((((e&255)>(f&255)?f:e)&255)-(((c&255)<(b&255)?b:c)&255)|0)<1|0}function XN(d){d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;m=i;i=i+48|0;l=SGa(d|0)|0;a:do if((l|0)>=6?(a[d>>0]|0)==124:0){g=d+1|0;e=0;while(1){f=a[g>>0]|0;if(f<<24>>24==124)break;e=(mN(f)|0)+e|0;if((e+1|0)<(l|0))g=d+(e+1)|0;else{g=d+(e+1)|0;break}}if(!((e|0)==0|(e|0)>30)){RGa(m+4|0,d+1|0,e|0)|0;a[m+4+e>>0]=0;c[m>>2]=0;e=0;f=0;k=0;j=0;while(1){if(g>>>0<=(d+l|0)>>>0?(a[g>>0]|0)==124:0)h=f;else{if((e|0)!=1){e=0;break a}if((a[g>>0]|0)==110)h=1;else{e=0;break a}}n=(e|0)==0;f=EGa(g+1|0,m,10)|0;k=n?f:k;j=n?j:f;g=c[m>>2]|0;e=e+1|0;if((e|0)>=2)break;else f=h}if((g|0)==(d+l|0)){e=WEa(36)|0;g=e+0|0;f=g+36|0;do{b[g>>1]=0;g=g+2|0}while((g|0)<(f|0));mO(e,m+4|0,k,j,h)}else e=0}else e=0}else e=0;while(0);i=m;return e|0}function YN(a,b,c){a=a|0;b=b|0;c=c|0;return (HGa(MN(a,b)|0,c)|0)==0|0}function ZN(b,d){b=b|0;d=d|0;var e=0,f=0,h=0,j=0,k=0,l=0.0;k=i;i=i+768|0;gO(b);a:do if((Vc[c[(c[d>>2]|0)+8>>2]&63](d,k+192|0,256)|0)!=0?(c[k>>2]=k+108,(zEa(k+192|0,383336,k)|0)==1):0){FN(b,c[k+108>>2]|0);if((c[k+108>>2]|0)>0){h=0;do{$Ga(k+704|0,c[b+28>>2]|0)|0;c[k+112>>2]=0;c[k+120>>2]=255;c[k+96>>2]=0;c[k+100>>2]=255;g[k+124>>2]=0.0;g[k+88>>2]=0.0;g[k+92>>2]=0.0;g[k+68>>2]=0.0;g[k+72>>2]=0.0;g[k+116>>2]=0.0;c[k+104>>2]=0;c[k+76>>2]=h;c[k+84>>2]=h;if(!(Vc[c[(c[d>>2]|0)+8>>2]&63](d,k+192|0,256)|0)){e=0;break a}c[k>>2]=k+448;c[k+4>>2]=k+80;c[k+8>>2]=k+112;c[k+12>>2]=k+120;c[k+16>>2]=k+96;c[k+20>>2]=k+100;c[k+24>>2]=k+124;c[k+28>>2]=k+88;c[k+32>>2]=k+92;c[k+36>>2]=k+68;c[k+40>>2]=k+72;c[k+44>>2]=k+116;c[k+48>>2]=k+704;c[k+52>>2]=k+76;c[k+56>>2]=k+104;c[k+60>>2]=k+84;c[k+64>>2]=k+128;if((zEa(k+192|0,129752,k)|0)!=17){c[k>>2]=k+448;c[k+4>>2]=k+80;c[k+8>>2]=k+112;c[k+12>>2]=k+120;c[k+16>>2]=k+96;c[k+20>>2]=k+100;c[k+24>>2]=k+124;c[k+28>>2]=k+88;c[k+32>>2]=k+92;c[k+36>>2]=k+68;c[k+40>>2]=k+72;c[k+44>>2]=k+116;c[k+48>>2]=k+704;c[k+52>>2]=k+76;c[k+56>>2]=k+104;c[k+60>>2]=k+84;if((zEa(k+192|0,129808,k)|0)!=16){c[k>>2]=k+448;c[k+4>>2]=k+80;c[k+8>>2]=k+112;c[k+12>>2]=k+120;c[k+16>>2]=k+96;c[k+20>>2]=k+100;c[k+24>>2]=k+704;c[k+28>>2]=k+76;c[k+32>>2]=k+104;c[k+36>>2]=k+84;if((zEa(k+192|0,129864,k)|0)!=10){c[k>>2]=k+448;c[k+4>>2]=k+80;c[k+8>>2]=k+112;c[k+12>>2]=k+120;c[k+16>>2]=k+96;c[k+20>>2]=k+100;c[k+24>>2]=k+704;c[k+28>>2]=k+76;if((zEa(k+192|0,129896,k)|0)!=8){c[k>>2]=k+448;c[k+4>>2]=k+80;c[k+8>>2]=k+704;c[k+12>>2]=k+76;if((zEa(k+192|0,129928,k)|0)!=4){c[k>>2]=k+448;c[k+4>>2]=k+80;c[k+8>>2]=k+704;if((zEa(k+192|0,129944,k)|0)!=3){c[k>>2]=k+448;c[k+4>>2]=k+80;if((zEa(k+192|0,129960,k)|0)==2)j=2;else{e=0;break a}}else j=3}else j=4}else j=8}else j=10}else j=16}else j=17;if(!(HGa(k+448|0,383864)|0))DN(b,1701816);else DN(b,k+448|0);e=c[k+80>>2]|0;f=c[b>>2]|0;a[f+(h*112|0)+32>>0]=e&1;a[f+(h*112|0)+33>>0]=e>>>1&1;a[f+(h*112|0)+34>>0]=e>>>2&1;a[f+(h*112|0)+35>>0]=e>>>3&1;a[f+(h*112|0)+36>>0]=e>>>4&1;a[f+(h*112|0)+37>>0]=0;hO(b,h,k+704|0);a[(c[b>>2]|0)+(h*112|0)+38>>0]=1;pO(b,h,c[k+112>>2]|0,c[k+120>>2]|0,c[k+96>>2]|0,c[k+100>>2]|0);l=+g[k+88>>2];f=c[b>>2]|0;g[f+(h*112|0)+44>>2]=+g[k+124>>2];g[f+(h*112|0)+48>>2]=l;l=+g[k+68>>2];g[f+(h*112|0)+52>>2]=+g[k+92>>2];g[f+(h*112|0)+56>>2]=l;l=+g[k+116>>2];g[f+(h*112|0)+60>>2]=+g[k+72>>2];g[f+(h*112|0)+64>>2]=l;c[f+(h*112|0)+76>>2]=c[k+104>>2];e=c[k+76>>2]|0;if((e|0)>=(c[k+108>>2]|0)){c[k>>2]=129568;c[k+4>>2]=854;$L(129352,129968,2,1702e3,k);e=c[k+76>>2]|0;f=c[b>>2]|0}c[f+(h*112|0)+72>>2]=j>>>0>3?e:h;e=c[k+84>>2]|0;if((e|0)>=(c[k+108>>2]|0)){c[k>>2]=129568;c[k+4>>2]=856;$L(129352,13e4,2,1702e3,k);e=c[k+84>>2]|0;f=c[b>>2]|0}c[f+(h*112|0)+80>>2]=j>>>0>8?e:h;qO(b,h,j>>>0>16?k+128|0:k+448|0);h=h+1|0}while((h|0)<(c[k+108>>2]|0))}$N(b);e=1}else e=0;while(0);i=k;return e|0}function _N(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=d;d=WEa(16)|0;c[d>>2]=130192;c[d+4>>2]=e;a[d+8>>0]=48;a[d+9>>0]=0;a[d+10>>0]=0;a[d+11>>0]=0;a[d+12>>0]=0;a[d+13>>0]=0;a[d+14>>0]=0;a[d+15>>0]=0;b=ZN(b,d)|0;Qc[c[(c[d>>2]|0)+4>>2]&511](d);i=e;return b|0}function $N(b){b=b|0;var d=0,e=0.0,f=0,g=0.0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+32|0;a[b+32>>0]=0;d=c[b+8>>2]|0;if((d|0)>0){h=0;l=0;d=0;f=0;while(1){c[n+20>>2]=0;c[n+16>>2]=255;c[n+12>>2]=0;c[n+8>>2]=255;FB(b,l,n+20|0,n+16|0,n+12|0,n+8|0);j=c[n+12>>2]|0;if((j|0)>0)a[b+32>>0]=1;do if(Yz(b,l)|0){if(!(ox(b,l)|0)?!(nx(b,l)|0):0)k=d+-1|0;else k=d+1|0;d=c[n+8>>2]|0;if((j|0)<220&(d|0)<220){f=f+1|0;break}else{h=((j|0)>220&(d|0)>220&1)+h|0;break}}else k=d;while(0);RN(b,l);l=l+1|0;d=c[b+8>>2]|0;if((l|0)>=(d|0))break;else d=k}l=(k|0)>0;a[b+33>>0]=l&1;if(l)f=1;else m=15}else{a[b+33>>0]=0;h=0;f=0;m=15}if((m|0)==15){g=+(f|0);e=+(h|0);if(g>e*.25)f=e>g*.05&1;else f=0}a[b+34>>0]=f;m=aO(b,c[b+28>>2]|0)|0;c[b+36>>2]=m;if(m){c[n>>2]=129568;c[n+4>>2]=901;$L(129352,130032,2,1702e3,n);d=c[b+8>>2]|0}c[b+40>>2]=aO(b,130048)|0;c[b+44>>2]=aO(b,130056)|0;c[b+48>>2]=aO(b,130064)|0;c[b+52>>2]=aO(b,130080)|0;c[b+56>>2]=aO(b,130088)|0;c[b+60>>2]=aO(b,130096)|0;c[b+64>>2]=aO(b,130112)|0;f=c[b+20>>2]|0;j=XEa(f>>>0>1073741823?-1:f<<2)|0;YGa(j|0,0,f<<2|0)|0;if((d|0)>0){d=0;do{if(Yz(b,d)|0){m=j+((nO(b,d)|0)<<2)|0;c[m>>2]=(c[m>>2]|0)+1}d=d+1|0}while((d|0)<(c[b+8>>2]|0));f=c[b+20>>2]|0}c[b+68>>2]=0;if((f|0)>1){d=0;h=1;do{if((c[j+(h<<2)>>2]|0)>(c[j+(d<<2)>>2]|0)?(h|0)!=(c[b+40>>2]|0):0){c[b+68>>2]=h;d=h}h=h+1|0}while((h|0)!=(f|0))}ZEa(j);i=n;return}function aO(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[a+20>>2]|0;a:do if((e|0)>0){d=c[a+16>>2]|0;a=0;while(1){if(!(HGa(b,c[d+(a<<2)>>2]|0)|0))break a;a=a+1|0;if((a|0)>=(e|0)){a=0;break}}}else a=0;while(0);return a|0}function bO(a){a=a|0;var b=0,d=0,e=0,f=0;if((c[a+8>>2]|0)>0){e=0;d=0;b=0;do{f=sC(a,e)|0;d=((f|0)==0&1)+d|0;b=(((f|0)==1|(f|0)==13|(f|0)==5)&1)+b|0;e=e+1|0}while((e|0)<(c[a+8>>2]|0))}else{d=0;b=0}return (b|0)>(d|0)|0}function cO(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+64|0;if(!e)k=1;else k=(a[e>>0]|0)==0;g=c[b+8>>2]|0;if((g|0)>0){h=c[b>>2]|0;j=k&1;l=0;do{a[h+(l*112|0)+38>>0]=j;l=l+1|0}while((l|0)!=(g|0))}if(!k){Ek(m+40|0);KN(b,e,0,m+40|0,0,0)|0;if((c[m+40>>2]|0)>0){g=0;do{if((c[(Ik(m+40|0,g)|0)>>2]|0)!=-1){e=c[(Ik(m+40|0,g)|0)>>2]|0;a[(c[b>>2]|0)+(e*112|0)+38>>0]=1}g=g+1|0}while((g|0)<(c[m+40>>2]|0))}Jk(m+40|0)}if((d|0)!=0?(a[d>>0]|0)!=0:0){Ek(m+20|0);KN(b,d,0,m+20|0,0,0)|0;if((c[m+20>>2]|0)>0){g=0;do{if((c[(Ik(m+20|0,g)|0)>>2]|0)!=-1){d=c[(Ik(m+20|0,g)|0)>>2]|0;a[(c[b>>2]|0)+(d*112|0)+38>>0]=0}g=g+1|0}while((g|0)<(c[m+20>>2]|0))}Jk(m+20|0)}if((f|0)!=0?(a[f>>0]|0)!=0:0){Ek(m);KN(b,f,0,m,0,0)|0;if((c[m>>2]|0)>0){g=0;do{if((c[(Ik(m,g)|0)>>2]|0)!=-1){f=c[(Ik(m,g)|0)>>2]|0;a[(c[b>>2]|0)+(f*112|0)+38>>0]=1}g=g+1|0}while((g|0)<(c[m>>2]|0))}Jk(m)}i=m;return}function dO(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+64|0;if((e|0)==1)PM(a,b);else{PM(g+16|0,1714496);hN(g+16|0,124);dN(g+16|0,b);c[g>>2]=124;c[g+4>>2]=d;c[g+8>>2]=f?110:124;c[g+12>>2]=e;wGa(g+20|0,35,130128,g)|0;dN(g+16|0,g+20|0);OM(a,g+16|0);RM(c[g+16>>2]|0)}i=g;return}function eO(b,c,e){b=b|0;c=c|0;e=e|0;var f=0;f=a[b>>0]|0;if((f&255)<(d[c>>0]|0)){a[c>>0]=f;f=a[b>>0]|0}if((f&255)>(d[e>>0]|0))a[e>>0]=f;return}function fO(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=b+0|0;f=d+0|0;g=e+52|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));Hv(b+52|0,d+52|0);aN(b+72|0,d+72|0);c[b+76>>2]=c[d+76>>2];return}function gO(b){b=b|0;var d=0,e=0,f=0;d=c[b+16>>2]|0;if(d){if((c[b+20>>2]|0)>0){e=0;do{ZEa(c[d+(e<<2)>>2]|0);e=e+1|0;d=c[b+16>>2]|0}while((e|0)<(c[b+20>>2]|0));if(d)f=5}else f=5;if((f|0)==5)ZEa(d);c[b+16>>2]=0;c[b+20>>2]=0}if(c[b>>2]|0){vO(b);e=c[b>>2]|0;if(e){d=c[e+-4>>2]|0;if(d){d=e+(d*112|0)|0;do{jO(d+-80|0);d=d+-112|0}while((d|0)!=(e|0))}ZEa(e+-4|0)}c[b>>2]=0}c[b+24>>2]=0;c[b+12>>2]=0;c[b+8>>2]=0;wN(b+4|0);a[b+32>>0]=0;a[b+33>>0]=0;a[b+34>>0]=0;c[b+36>>2]=0;c[b+40>>2]=0;c[b+44>>2]=0;c[b+48>>2]=0;c[b+52>>2]=0;c[b+56>>2]=0;c[b+60>>2]=0;c[b+64>>2]=0;return}function hO(a,b,d){a=a|0;b=b|0;d=d|0;d=GN(a,d)|0;c[(c[a>>2]|0)+(b*112|0)+68>>2]=d;return}function iO(a,b){a=a|0;b=b|0;return nO(a,HN(a,b)|0)|0}function jO(a){a=a|0;RM(c[a+72>>2]|0);Jk(a+52|0);return}function kO(a,b){a=a|0;b=b|0;if((b|0)!=(a|0)){if((c[a>>2]|0)>0)c[a>>2]=0;wO(a,b)}return}function lO(c,d){c=c|0;d=d|0;dO(c,d,b[d+32>>1]|0,b[d+34>>1]|0,(a[d+31>>0]|0)!=0);return}function mO(c,d,e,f,g){c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;xO(c,d);b[c+32>>1]=e;b[c+34>>1]=f;a[c+31>>0]=g&1;return}function nO(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if((b|0)==-1)a=a+36|0;else{if(!(ay(a,b)|0)){c[d>>2]=373648;c[d+4>>2]=613;$L(129352,373616,2,1702e3,d)}a=(c[a>>2]|0)+(b*112|0)+68|0}i=d;return c[a>>2]|0}function oO(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if((b|0)==-1)a=-1;else{if(!(ay(a,b)|0)){c[d>>2]=373648;c[d+4>>2]=633;$L(129352,373616,2,1702e3,d)}a=c[(c[a>>2]|0)+(b*112|0)+72>>2]|0}i=d;return a|0}function pO(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;if((e|0)<0)e=0;else e=(e|0)>255?-1:e&255;b=c[b>>2]|0;a[b+(d*112|0)+39>>0]=e;if((f|0)<0)e=0;else e=(f|0)>255?-1:f&255;a[b+(d*112|0)+40>>0]=e;if((g|0)<0)e=0;else e=(g|0)>255?-1:g&255;a[b+(d*112|0)+41>>0]=e;if((h|0)<0)e=0;else e=(h|0)>255?-1:h&255;a[b+(d*112|0)+42>>0]=e;return}function qO(a,b,d){a=a|0;b=b|0;d=d|0;fN((c[a>>2]|0)+(b*112|0)+104|0,d);d=(c[a>>2]|0)+(b*112|0)+84|0;if((c[d>>2]|0)>0)c[d>>2]=0;return}function rO(a,b,d){a=a|0;b=b|0;d=d|0;return Ic(b|0,d|0,c[a>>2]|0)|0}function sO(a){a=a|0;return}function tO(a){a=a|0;YEa(a);return}function uO(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0;f=d[a+8>>0]|d[a+9>>0]<<8|d[a+10>>0]<<16|d[a+11>>0]<<24;g=d[a+12>>0]|d[a+13>>0]<<8|d[a+14>>0]<<16|d[a+15>>0]<<24;a=(c[a+4>>2]|0)+(g>>1)|0;if(g&1)f=c[(c[a>>2]|0)+f>>2]|0;return Vc[f&63](a,b,e)|0}function vO(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+8>>2]|0;if((b|0)>0){d=c[a>>2]|0;f=0;do{e=c[d+(f*112|0)+108>>2]|0;if(e){YEa(e);d=c[a>>2]|0;c[d+(f*112|0)+108>>2]=0;b=c[a+8>>2]|0}f=f+1|0}while((f|0)<(b|0))}return}function wO(b,d){b=b|0;d=d|0;var e=0;IM(b,(c[d>>2]|0)+(c[b>>2]|0)|0);if((c[d>>2]|0)>0){e=0;do{HM(b,a[(c[d+8>>2]|0)+e>>0]|0);e=e+1|0}while((e|0)<(c[d>>2]|0))}return}function xO(b,c){b=b|0;c=c|0;RGa(b|0,c|0,30)|0;a[b+30>>0]=0;return}function yO(d,e,f,j,l,m,n,o,p){d=d|0;e=e|0;f=f|0;j=j|0;l=l|0;m=+m;n=n|0;o=o|0;p=p|0;var q=0.0,r=0,s=0.0,t=0.0,u=0,v=0,w=0.0,x=0,y=0.0;x=i;i=i+32|0;g[p>>2]=0.0;a[p+4>>0]=0;c[p+24>>2]=0;c[p+8>>2]=0;c[p+12>>2]=0;c[p+16>>2]=0;b[p+20>>1]=0;if(!n){c[x>>2]=301288;c[x+4>>2]=47;$L(301256,301264,2,1702e3,x)}if(c[n+96>>2]|0){if(o){c[x>>2]=d;c[x+4>>2]=e;c[x+8>>2]=l?301376:1714496;jN(301320,x)}u=c[n+12>>2]|0;if((u|0)!=0&l){t=+g[u+32>>2];s=+g[n+56>>2];if(!(t>0.0))t=+g[u+20>>2]+ +g[u+24>>2];t=s*t;if(o){q=+g[u+20>>2];w=+g[u+24>>2];h[k>>3]=t;c[x>>2]=c[k>>2];c[x+4>>2]=c[k+4>>2];h[k>>3]=s;c[x+8>>2]=c[k>>2];c[x+12>>2]=c[k+4>>2];h[k>>3]=q;c[x+16>>2]=c[k>>2];c[x+20>>2]=c[k+4>>2];h[k>>3]=w;c[x+24>>2]=c[k>>2];c[x+28>>2]=c[k+4>>2];jN(301392,x)}}else t=128.0;w=+(sga(n,d,e)|0)/t;if(w>m)a[p+4>>0]=1;if((d|0)<(e|0)){v=d;r=0;do{u=tga(n,v)|0;if((u|0)>0)c[p+24>>2]=(c[p+24>>2]|0)+u;else r=u+r|0;v=v+1|0}while((v|0)!=(e|0))}else r=0;u=c[p+24>>2]|0;if(!u)c[p+24>>2]=r;else r=u;if(o){v=(a[p+4>>0]|0)!=0?301512:1714496;h[k>>3]=w;c[x>>2]=c[k>>2];c[x+4>>2]=c[k+4>>2];h[k>>3]=m;c[x+8>>2]=c[k>>2];c[x+12>>2]=c[k+4>>2];c[x+16>>2]=r;c[x+20>>2]=v;jN(301456,x)}if(l){v=((c[(c[n+136>>2]|0)+12>>2]|0)+-1|0)==(e|0);if((d|0)>0){s=+(tga(n,d+-1|0)|0)/t;u=c[(Ev(n+76|0,d+-1|0)|0)>>2]|0;if(!(!(s<.029999999329447746&(v^1))?!(+g[u>>2]>0.0):0))a[p+4>>0]=1;if(o){q=+g[u>>2];u=(a[p+4>>0]|0)!=0?301512:1714496;h[k>>3]=s;c[x>>2]=c[k>>2];c[x+4>>2]=c[k+4>>2];h[k>>3]=q;c[x+8>>2]=c[k>>2];c[x+12>>2]=c[k+4>>2];c[x+16>>2]=u;jN(301528,x)}}if(!v){t=+(tga(n,e)|0)/t;r=c[(Ev(n+76|0,e)|0)>>2]|0;if(!(t<.029999999329447746)){if(+g[r>>2]>0.0)a[p+4>>0]=1}else{a[p+4>>0]=1;a[p+20>>0]=1}if(o){s=+g[r>>2];n=(a[p+4>>0]|0)!=0?301512:1714496;h[k>>3]=t;c[x>>2]=c[k>>2];c[x+4>>2]=c[k+4>>2];h[k>>3]=s;c[x+8>>2]=c[k>>2];c[x+12>>2]=c[k+4>>2];c[x+16>>2]=n;jN(301560,x)}}else t=0.0;s=w+t;g[p+8>>2]=s;if(!f){g[p+12>>2]=s;q=s}else{q=s+ +g[f+12>>2];g[p+12>>2]=q;g[p+16>>2]=+g[f+16>>2]+(q/+(j+1|0)-s)*(q/+(j+1|0)-s)}if(o){y=+g[p+16>>2];h[k>>3]=s;c[x>>2]=c[k>>2];c[x+4>>2]=c[k+4>>2];h[k>>3]=q;c[x+8>>2]=c[k>>2];c[x+12>>2]=c[k+4>>2];h[k>>3]=y;c[x+16>>2]=c[k>>2];c[x+20>>2]=c[k+4>>2];jN(301592,x)}q=+zO(w,t,v,m);if(!((d|0)!=0|v^1|w>m^1))q=q+10.0;q=q+ +g[p+16>>2];g[p>>2]=q;if(o){h[k>>3]=q;c[x>>2]=c[k>>2];c[x+4>>2]=c[k+4>>2];jN(301656,x)}}}i=x;return}function zO(a,b,c,d){a=+a;b=+b;c=c|0;d=+d;if(a>d)d=a+0.0;else d=0.0;if(a>2.0)d=a*a+d;if(!(!(a+b<.5)|c))d=1.0-(a+b)+d;return +d}function AO(a){a=a|0;var d=0,e=0;e=c[a+16>>2]|0;d=c[a+12>>2]|0;return +(+(BO(b[e>>1]|0,b[e+2>>1]|0,b[a>>1]|0,b[a+2>>1]|0,b[d>>1]|0,b[d+2>>1]|0)|0))}function BO(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0.0,h=0;g=+R(+(+((ba((d&65535)-(b&65535)<<16>>16,(d&65535)-(b&65535)<<16>>16)|0)+(ba((c&65535)-(a&65535)<<16>>16,(c&65535)-(a&65535)<<16>>16)|0)|0)*+((ba((f&65535)-(d&65535)<<16>>16,(f&65535)-(d&65535)<<16>>16)|0)+(ba((e&65535)-(c&65535)<<16>>16,(e&65535)-(c&65535)<<16>>16)|0)|0)));if(!~~g)a=0;else{h=~~+P(+(+X(+(+((ba((f&65535)-(d&65535)<<16>>16,(c&65535)-(a&65535)<<16>>16)|0)-(ba((e&65535)-(c&65535)<<16>>16,(d&65535)-(b&65535)<<16>>16)|0)|0)/g))/3.14159265359*180.0+.5));a=((ba((f&65535)-(d&65535)<<16>>16,(d&65535)-(b&65535)<<16>>16)|0)+(ba((e&65535)-(c&65535)<<16>>16,(c&65535)-(a&65535)<<16>>16)|0)|0)<0;a=a?180-h|0:h;a=(a|0)>180?a+-360|0:a;a=(a|0)<-179?a+360|0:a}return a|0}function CO(a,b){a=a|0;b=b|0;var d=0,e=0.0;d=i;i=i+16|0;if((c[a>>2]|0)<48){e=+AO(b);c[d>>2]=b;g[d+4>>2]=e;JO(a,d)}i=d;return}function DO(a,d){a=a|0;d=d|0;var e=0,f=0;f=c[d+16>>2]|0;e=c[d+12>>2]|0;return (BO(b[f>>1]|0,b[f+2>>1]|0,b[d>>1]|0,b[d+2>>1]|0,b[e>>1]|0,b[e+2>>1]|0)|0)<(a|0)|0}function EO(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=b[e>>1]|0;s=b[e+2>>1]|0;h=f;t=c[g>>2]|0;p=b[f>>1]|0;q=0;while(1){j=p<<16>>16;o=ba(j-(r<<16>>16)|0,j-(r<<16>>16)|0)|0;k=b[h+2>>1]|0;p=t;t=(ba((k<<16>>16)-(s<<16>>16)|0,(k<<16>>16)-(s<<16>>16)|0)|0)+o|0;if((t|0)>(p|0)){h=q;break}i=c[d+4412>>2]|0;if(((((r<<16>>16)-j|0)>-1?(r<<16>>16)-j|0:0-((r<<16>>16)-j)|0)|0)<(i|0)?(p=(s<<16>>16)-(k<<16>>16)|0,(((p|0)>-1?p:0-p|0)|0)<(i|0)):0){h=q;break}l=c[h+12>>2]|0;p=b[l>>1]|0;o=(r<<16>>16)-(p<<16>>16)|0;if((((o|0)>-1?o:0-o|0)|0)<(i|0)?(o=(s<<16>>16)-(b[l+2>>1]|0)|0,(((o|0)>-1?o:0-o|0)|0)<(i|0)):0){h=q;break}if(((q|0)!=0?(o=(b[q>>1]|0)-j|0,(((o|0)>-1?o:0-o|0)|0)<(i|0)):0)?(o=(b[q+2>>1]|0)-(k<<16>>16)|0,(((o|0)>-1?o:0-o|0)|0)<(i|0)):0){h=q;break}m=c[e+16>>2]|0;n=b[m>>1]|0;if(((((n<<16>>16)-j|0)>-1?(n<<16>>16)-j|0:0-((n<<16>>16)-j)|0)|0)<(i|0)?(o=(b[m+2>>1]|0)-(k<<16>>16)|0,(((o|0)>-1?o:0-o|0)|0)<(i|0)):0){h=q;break}f=c[e+12>>2]|0;o=b[f>>1]|0;f=b[f+2>>1]|0;if(((((o<<16>>16)-j|0)>-1?(o<<16>>16)-j|0:0-((o<<16>>16)-j)|0)|0)<(i|0)?((((f<<16>>16)-(k<<16>>16)|0)>-1?(f<<16>>16)-(k<<16>>16)|0:0-((f<<16>>16)-(k<<16>>16))|0)|0)<(i|0):0){h=q;break}m=b[m+2>>1]|0;o=BO(n,m,r,s,o,f)|0;if((o-(BO(n,m,r,s,b[h>>1]|0,k)|0)|0)>20){h=q;break}c[g>>2]=t;if(!(a[d+4370>>0]|0))break;else{q=h;h=l}}return h|0}function FO(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;h=c[d+16>>2]|0;f=h;i=h;while(1){g=b[h+6>>1]|0;do if(g<<16>>16>=0){if(g<<16>>16>0){if(!i){if(DO(c[a+4500>>2]|0,h)|0)CO(e,h)}else HO(i,e);f=c[h+12>>2]|0;h=f;g=0;break}if(!f){if(b[(c[i+16>>2]|0)+6>>1]|0)HO(i,e);g=c[h+12>>2]|0;h=g;f=0;break}else{if(b[(c[f+16>>2]|0)+6>>1]|0)GO(f,e);f=c[h+12>>2]|0;h=f;g=0;break}}else{if(!f){if(DO(c[a+4500>>2]|0,h)|0)CO(e,h)}else GO(f,e);g=c[h+12>>2]|0;h=g;f=0}while(0);if((h|0)==(c[d+16>>2]|0))break;else i=g}return}function GO(a,d){a=a|0;d=d|0;var e=0;e=(tla(b[a>>1]|0,c[a+12>>2]|0,b[c[a+16>>2]>>1]|0)|0)<<16;if((e|0)<=0){if((e|0)==0?+AO(a)<0.0:0)CO(d,a)}else CO(d,a);return}function HO(a,d){a=a|0;d=d|0;var e=0;e=(tla(b[a>>1]|0,c[a+12>>2]|0,b[c[a+16>>2]>>1]|0)|0)<<16;if((e|0)>=0){if((e|0)==0?+AO(a)<0.0:0)CO(d,a)}else CO(d,a);return}function IO(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=i;i=i+48|0;fA(s+4|0,h);q=b[e>>1]|0;c[s>>2]=1e5;h=c[g>>2]|0;if(!h)p=e+2|0;else{p=(b[h>>1]|0)-(q<<16>>16)|0;p=ba(p,p)|0;o=(b[h+2>>1]|0)-(b[e+2>>1]|0)|0;c[s>>2]=(ba(o,o)|0)+p;p=e+2|0}n=f;do{l=b[n>>1]|0;o=n+12|0;k=c[o>>2]|0;h=b[k>>1]|0;if(!((l<<16>>16>q<<16>>16?1:q<<16>>16>h<<16>>16)?(h<<16>>16>q<<16>>16?1:q<<16>>16>l<<16>>16):0))r=7;do if((r|0)==7){r=0;j=b[e>>1]|0;m=c[d+4412>>2]|0;if((((j-(l<<16>>16)|0)>-1?j-(l<<16>>16)|0:0-(j-(l<<16>>16))|0)|0)<(m|0)?(t=(b[p>>1]|0)-(b[n+2>>1]|0)|0,(((t|0)>-1?t:0-t|0)|0)<(m|0)):0)break;if((((j-(h<<16>>16)|0)>-1?j-(h<<16>>16)|0:0-(j-(h<<16>>16))|0)|0)<(m|0)?(t=(b[p>>1]|0)-(b[k+2>>1]|0)|0,(((t|0)>-1?t:0-t|0)|0)<(m|0)):0)break;if(!(a[n+10>>0]|0)){h=c[g>>2]|0;if(((h|0)!=0?(t=(b[h>>1]|0)-(l<<16>>16)|0,(((t|0)>-1?t:0-t|0)|0)<(m|0)):0)?(t=(b[h+2>>1]|0)-(b[n+2>>1]|0)|0,(((t|0)>-1?t:0-t|0)|0)<(m|0)):0)break;t=rS(d,e,n,k,s+32|0)|0;h=c[s+32>>2]|0;if(t)JL(s+4|0,h);if(!(c[g>>2]|0)){t=(b[h>>1]|0)-(b[e>>1]|0)|0;t=ba(t,t)|0;n=(b[h+2>>1]|0)-(b[p>>1]|0)|0;c[s>>2]=(ba(n,n)|0)+t}h=EO(d,e,h,s)|0;c[s+32>>2]=h;if(h)c[g>>2]=h}}while(0);n=c[o>>2]|0}while((n|0)!=(f|0));i=s;return}function JO(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=i;i=i+16|0;e=c[a>>2]|0;g=c[b+4>>2]|0;c[d>>2]=c[b>>2];c[d+4>>2]=g;c[d+8>>2]=c[d+0>>2];c[d+12>>2]=c[d+4>>2];KO(a,d+8|0);g=LO(a)|0;f=c[g+4>>2]|0;c[b>>2]=c[g>>2];c[b+4>>2]=f;a=NO(a,MO(a,e,b)|0)|0;e=c[b+4>>2]|0;c[a>>2]=c[b>>2];c[a+4>>2]=e;i=d;return}function KO(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){OO(a);d=c[a>>2]|0}c[a>>2]=d+1;e=c[b+4>>2]|0;a=(c[a+8>>2]|0)+(d<<3)|0;c[a>>2]=c[b>>2];c[a+4>>2]=e;return}function LO(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if((b|0)<=0){c[d>>2]=1701680;c[d+4>>2]=669;$L(301672,375960,2,1702e3,d);b=c[a>>2]|0}i=d;return (c[a+8>>2]|0)+(b+-1<<3)|0}function MO(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0;a:do if((b|0)>0){e=b;while(1){b=((e+1|0)/2|0)+-1|0;f=NO(a,b)|0;if(!(+g[d+4>>2]<+g[f+4>>2])){b=e;break a}f=NO(a,e)|0;h=NO(a,b)|0;e=c[h+4>>2]|0;c[f>>2]=c[h>>2];c[f+4>>2]=e;if((b|0)>0)e=b;else break}}while(0);return b|0}function NO(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<3)|0;Ja(1701640,1701680,663,1701712);return 0}function OO(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)PO(a,4);else PO(a,b<<1);return}function PO(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){e=XEa(b>>>0>536870911?-1:b<<3)|0;f=c[a>>2]|0;d=c[a+8>>2]|0;if((f|0)>0){g=0;do{j=d+(g<<3)|0;i=c[j+4>>2]|0;h=e+(g<<3)|0;c[h>>2]=c[j>>2];c[h+4>>2]=i;g=g+1|0}while((g|0)!=(f|0))}if(d)ZEa(d);c[a+8>>2]=e;c[a+4>>2]=b}return}function QO(b){b=b|0;var d=0;if(b){d=b;do{a[d+9>>0]=1;d=c[d+12>>2]|0}while((d|0)!=(b|0));a[b+9>>0]=2}return}function RO(a){a=a|0;if(a)do{QO(c[a+16>>2]|0);a=c[a+20>>2]|0}while((a|0)!=0);return}function SO(b){b=b|0;var d=0,e=0;if(!b)d=0;else{d=b;while(1){if((a[d+9>>0]|0)==2)break;d=c[d+12>>2]|0;if((d|0)==(b|0)){d=b;break}}e=d;do{e=c[e+12>>2]|0;b=c[e+16>>2]|0;if(!(a[b+9>>0]|0))mka(b)}while((e|0)!=(d|0))}return d|0}function TO(a){a=a|0;var d=0,f=0;if(a)do{d=a+16|0;f=SO(c[d>>2]|0)|0;c[d>>2]=f;d=a+8|0;f=e[f>>1]|e[f+2>>1]<<16;b[d>>1]=f;b[d+2>>1]=f>>>16;a=c[a+20>>2]|0}while((a|0)!=0);return}function UO(d,e,f,g,h,j){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if(c[d+4268>>2]|0)RO(c[f>>2]|0);m=Cba(f)|0;eP(e,m,g+1|0);if((a[d+550>>0]|0)!=0?(b[p+8>>1]=0,b[p+10>>1]=0,_ba(c[f>>2]|0,h,p+8|0)|0):0){n=WEa(36)|0;bK(n,p+8|0)}else n=XP(d,f)|0;l=(n|0)==0;do if(!(c[d+4332>>2]|0)){if(!l)o=12}else if(l){jN(301712,p);break}else{Yja(n,301688);o=12;break}while(0);if((o|0)==12)Wja(n,h,f,m);l=fP(g,e,f,m,j,n)|0;if(!l){if(c[d+4268>>2]|0)TO(c[f>>2]|0);if((((a[d+534>>0]|0)!=0?(a[d+550>>0]|0)==0:0)?(b[p+4>>1]=0,b[p+6>>1]=0,_ba(c[f>>2]|0,h,p+4|0)|0):0)?(d=Cba(f)|0,eP(e,d,g+1|0),k=WEa(36)|0,bK(k,p+4|0),Wja(k,h,f,d),k=fP(g,e,f,d,j,k)|0,(k|0)!=0):0)o=20;else k=0}else{k=l;o=20}if((o|0)==20)gP(k);i=p;return k|0}function VO(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;return UO(a,b,c[(Vy(b,d)|0)>>2]|0,d,e,f)|0}function WO(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=i;i=i+64|0;m=c[e+72>>2]|0;c[f>>2]=0;a:do if((c[m>>2]|0)>0){h=0;while(1){l=c[(Vy(m,h)|0)>>2]|0;Eba(o+8|0,c[l>>2]|0);p=b[o+8>>1]|0;Eba(o+32|0,c[l>>2]|0);h=b[o+38>>1]|0;Eba(o+16|0,c[l>>2]|0);j=b[o+20>>1]|0;Eba(o+40|0,c[l>>2]|0);k=b[o+42>>1]|0;b[o+52>>1]=0;b[o+54>>1]=0;b[o>>1]=0;b[o+2>>1]=0;hfa(e+16|0,p,h,o+52|0);hfa(e+16|0,j,k,o);$ia(o+24|0,b[o+52>>1]|0,b[o+2>>1]|0,b[o>>1]|0,b[o+54>>1]|0);if((c[d>>2]|0)>0){j=0;h=0;k=0;do{k=(+hP(o+24|0,Dk(d,h)|0)>.125&1)+k|0;j=hja(o+24|0,Dk(d,h)|0)|0|j;h=h+1|0}while((h|0)<(c[d>>2]|0));j=j^1;h=(k|0)>1}else{j=1;h=0}b[o+48>>1]=0;b[o+50>>1]=0;if(_ba(c[l>>2]|0,1,o+48|0)|0|h&j?(g=UO(a,m,l,c[f>>2]|0,1,e+76|0)|0,(g|0)!=0):0)break a;h=(c[f>>2]|0)+1|0;c[f>>2]=h;if((h|0)>=(c[m>>2]|0)){n=9;break}}}else n=9;while(0);if((n|0)==9){c[f>>2]=-1;g=0}i=o;return g|0}function XO(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a>>2]|0;a:do if((d|0)>0){e=0;while(1){if(iP(b,c[(Ev(a,e)|0)>>2]|0)|0){d=1;break a}e=e+1|0;if((e|0)>=(d|0)){d=0;break}}}else d=0;while(0);return d|0}function YO(a){a=a|0;var b=0,d=0,e=0;a:do if(!a)a=0;else while(1){b=c[a+16>>2]|0;if(!b){a=1;break a}else e=b;do{e=c[e+12>>2]|0;d=(e|0)==0}while(!((e|0)==(b|0)|d));if(d){a=1;break a}a=c[a+20>>2]|0;if(!a){a=0;break}}while(0);return a|0}function ZO(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var j=0,k=0,l=0.0,m=0;m=i;i=i+16|0;l=3402823466385288598117041.0e14;a:while(1){do{j=_O(d)|0;c[h>>2]=j;if(c[a+4332>>2]|0){c[m>>2]=j;jN(301744,m);j=c[h>>2]|0}k=(j|0)!=-1;if(k)jP(d);else c[h>>2]=$O(a,b,l)|0;if(c[a+4332>>2]|0){c[m>>2]=c[h>>2];jN(301776,m)}j=c[h>>2]|0;if((j|0)==-1){j=0;break a}j=VO(a,c[f+72>>2]|0,j,e,f+76|0)|0;if(j)break a;if(!(c[(wv(c[b>>2]|0,c[b+8>>2]|0,c[h>>2]|0)|0)>>2]|0)){j=0;break a}}while(k);l=+g[(c[(wv(c[b>>2]|0,c[b+8>>2]|0,c[h>>2]|0)|0)>>2]|0)+32>>2]}i=m;return j|0}function _O(b){b=b|0;var d=0,e=0;a:do if((b|0)!=0?(c[b>>2]|0)>0:0){d=0;while(1){e=(c[(kP(b,d)|0)>>2]|0)+1|0;if(((e|0)==(c[(kP(b,d)|0)+4>>2]|0)?(a[(kP(b,d)|0)+8>>0]|0)!=0:0)?(a[(kP(b,d)|0)+9>>0]|0)!=0:0)break;d=d+1|0;if((d|0)>=(c[b>>2]|0)){d=-1;break a}}d=c[(kP(b,d)|0)>>2]|0}else d=-1;while(0);return d|0}function $O(a,b,d){a=a|0;b=b|0;d=+d;var e=0,f=0.0,j=0,l=0.0,m=0,n=0;n=i;i=i+16|0;do if(c[a+4332>>2]|0)if(d<3402823466385288598117041.0e14){h[k>>3]=d;c[n>>2]=c[k>>2];c[n+4>>2]=c[k+4>>2];jN(301856,n);break}else{jN(301880,n);break}while(0);e=c[b>>2]|0;a:do if((e|0)>0){j=e;l=-3402823466385288598117041.0e14;e=-1;m=0;while(1){if(!(c[(wv(j,c[b+8>>2]|0,m)|0)>>2]|0)){e=m;break a}j=c[(wv(c[b>>2]|0,c[b+8>>2]|0,m)|0)>>2]|0;f=+g[j+32>>2];if(f>2]<+h[a+4296>>3]:0){j=f>l;f=j?f:l;e=j?m:e}else f=l;m=m+1|0;j=c[b>>2]|0;if((m|0)>=(j|0))break;else l=f}}else e=-1;while(0);i=n;return e|0}function aP(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(!(a[b+550>>0]|0))d=ZO(b,d,0,1,e,f)|0;else d=WO(b,c,e,f)|0;return d|0}function bP(a,e){a=a|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+96|0;g=c[c[e+72>>2]>>2]|0;f=c[e+136>>2]|0;if(!f){f=WEa(20)|0;lP(f,g,c[a+4940>>2]|0);c[e+136>>2]=f}k=Vc[c[(c[f>>2]|0)+12>>2]&63](f,0,0)|0;if(c[(c[f+4>>2]|0)+(k<<2)>>2]|0){f=c[e+136>>2]|0;g=c[f+12>>2]|0;if((g|0)>0){k=0;do{a:do if((k|0)<(g|0)){j=k;h=k;do{if((h|0)>=((c[f+16>>2]|0)+k|0))break a;g=Vc[c[(c[f>>2]|0)+12>>2]&63](f,k,h)|0;g=c[(c[f+4>>2]|0)+(g<<2)>>2]|0;if((g|0)!=0?(pk(l+56|0,g),rk(l+56|0),!(sk(l+56|0)|0)):0){g=h;do{f=tk(l+56|0)|0;c[f+44>>2]=j;c[f+48>>2]=g;OL(l+56|0)|0}while(!(sk(l+56|0)|0))}h=h+1|0;f=c[e+136>>2]|0;g=c[f+12>>2]|0}while((h|0)<(g|0))}while(0);k=k+1|0}while((k|0)<(g|0))}}else{if((g|0)>0){f=0;do{h=f&65535;h=Nc[c[(c[a>>2]|0)+8>>2]&3](a,e+76|0,h,h,301800,c[e+72>>2]|0,c[e+152>>2]|0)|0;j=c[e+136>>2]|0;k=Vc[c[(c[j>>2]|0)+12>>2]&63](j,f,f)|0;c[(c[j+4>>2]|0)+(k<<2)>>2]=h;f=f+1|0}while((f|0)!=(g|0))}f=c[e+136>>2]|0}mP(l+8|0,c[f+12>>2]|0);LS(a,e,l+8|0,c[e+152>>2]|0);if(!(c[e+140>>2]|0))Ega(e);yga(e);if((b[(c[e+4>>2]|0)+10>>1]&16)!=0?!(oP(a+2744|0,c[e+140>>2]|0)|0):0)hna(a+2744|0,1);f=c[e+152>>2]|0;if((f|0)!=0?(j=d[a+5160>>0]|d[a+5161>>0]<<8|d[a+5162>>0]<<16|d[a+5163>>0]<<24,k=d[a+5164>>0]|d[a+5165>>0]<<8|d[a+5166>>0]<<16|d[a+5167>>0]<<24,(j|0)!=0|(k&1|j|0)!=0&(k|0)!=0):0)pP(a,c[e+136>>2]|0,e+148|0,c[e+68>>2]|0,f);if((c[a+4916>>2]|0)>0){jN(301816,l);Sea(c[e+136>>2]|0,(c[a+2776>>2]|0)+184|0)}pga(e,c[a+3804>>2]|0);nP(l+8|0);i=l;return}function cP(b,d,e,f,h,j,k){b=b|0;d=+d;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0;p=i;i=i+64|0;do{uv(p+36|0);m=c[e+136>>2]|0;n=c[m+12>>2]|0;a:do if((n|0)>0){l=0;while(1){q=Vc[c[(c[m>>2]|0)+12>>2]&63](m,l,l)|0;m=c[(c[m+4>>2]|0)+(q<<2)>>2]|0;if((m|0)!=0?(c[m>>2]|0)!=0:0){pk(p+8|0,m);vv(p+36|0,tk(p+8|0)|0)}else vv(p+36|0,0);l=l+1|0;if((l|0)>=(n|0))break a;m=c[e+136>>2]|0}}while(0);m=ZO(b,p+36|0,f+4|0,0,e,p+56|0)|0;if(!m){o=13;break}l=c[p+56>>2]|0;jga(e,l,m);q=WEa(16)|0;c[q>>2]=0;c[q+4>>2]=0;g[q+8>>2]=3402823466385288598117041.0e14;c[q+12>>2]=0;qP(f+24|0,q,l);jP(f+4|0);$R(j,l);rP(k,-1,0,0,l);c[p>>2]=l;c[p+4>>2]=l;NS(b,0.0,p,301840,k,e,j,h);c[p>>2]=l+1;c[p+4>>2]=l+1;NS(b,0.0,p,301848,k,e,j,h);if(a[(c[b+5128>>2]|0)+34>>0]|0){QS(e,f,k);c[p+56>>2]=0;l=0}OS(b,d,l,k,e,j,f,h);yv(p+36|0);if(a[(c[b+5128>>2]|0)+768>>0]|0)break}while((c[(c[e+136>>2]|0)+12>>2]|0)<64);if((o|0)==13)yv(p+36|0);l=c[e+152>>2]|0;if(((l|0)!=0?(c[l+92>>2]|0)==0:0)?!(jaa(l,c[e+140>>2]|0)|0):0){l=c[e+140>>2]|0;if(!l)l=0;else l=((a[l+52>>0]|0)+-7&255)<6;qaa(c[e+152>>2]|0,e,(c[b+2776>>2]|0)+184|0,l,(a[b+4978>>0]|0)!=0)}i=p;return}function dP(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;Eba(d+8|0,a);Eba(d,c[b>>2]|0);if(sP(d+8|0,d)|0)a=1;else a=(sP(d,d+8|0)|0)&1;i=d;return a|0}function eP(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;g=i;i=i+16|0;if(!((d|0)>-1?(e=c[a>>2]|0,(e|0)>=(d|0)):0)){c[g>>2]=1701680;c[g+4>>2]=691;$L(301680,375920,2,1702e3,g);e=c[a>>2]|0}if((c[a+4>>2]|0)==(e|0)){iK(a);e=c[a>>2]|0}if((e|0)>(d|0)){f=e;do{h=f;f=f+-1|0;j=c[a+8>>2]|0;c[j+(h<<2)>>2]=c[j+(f<<2)>>2]}while((f|0)>(d|0))}c[(c[a+8>>2]|0)+(d<<2)>>2]=b;c[a>>2]=e+1;i=g;return}function fP(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;do if(!g){zP(b,a+1|0);if(!e)g=0;else{Bk(e);YEa(e);g=0}}else{h=c[d>>2]|0;if(!h)zP(b,a+1|0);else{if(((((((c[e>>2]|0)!=0?(dP(h,e)|0)<<16>>16==0:0)?(YO(c[e>>2]|0)|0)==0:0)?AP(g,d)|0:0)?AP(g,e)|0:0)?(XO(f,g)|0)==0:0)?Uja(g,f,b,a,0)|0:0)break;zP(b,a+1|0)}Xja(g,d,e);YEa(g);g=0}while(0);return g|0}function gP(b){b=b|0;var d=0;if((a[b+10>>0]|0)>0){d=0;do{a[(c[b+(d<<3)+12>>2]|0)+10>>0]=1;a[(c[b+(d<<3)+16>>2]|0)+10>>0]=1;d=d+1|0}while((d|0)<(a[b+10>>0]|0))}return}function hP(a,b){a=a|0;b=b|0;var c=0.0,d=0;d=i;i=i+16|0;if(!(Jv(a)|0))c=0.0;else{cja(d,a,b);b=Jv(d)|0;c=+(b|0)/+(Jv(a)|0)}i=d;return +c}function iP(b,c){b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=a[b+10>>0]|0;a:do if(d<<24>>24>0){e=a[c+10>>0]|0;g=0;while(1){if(e<<24>>24>0){f=b+(g<<3)+12|0;h=0;do{if(BP(f,c+(h<<3)+12|0)|0){d=1;break a}h=h+1|0}while((h|0)<(e<<24>>24|0))}g=g+1|0;if((g|0)>=(d<<24>>24|0)){d=0;break}}}else d=0;while(0);return d|0} -function Ln(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+32|0;a:do if(!a)cu(28008,8600,1)|0;else{if(!b){cu(20416,8600,1)|0;break}h=Dp(a)|0;c[k+4>>2]=h;switch(h|0){case 1:{Mn(a,b,1);break a}case 32:case 8:case 4:case 2:{h=Ap(a)|0;gp(a,k+20|0,k+24|0,k+4|0);do if(!h){g=c[k+4>>2]|0;if((g|0)==4){f=(((e&255)+(d&255)+(f&255)|0)>>>0)/48|0;break}else if((g|0)!=2)if((g|0)==8){f=(((e&255)+(d&255)+(f&255)|0)>>>0)/3|0;break}else{Sp(d&255,e&255,f&255,k+12|0);f=0;break}else{f=(((e&255)+(d&255)+(f&255)|0)>>>0)/192|0;break}}else{rm(h,d&255,e&255,f&255,k);f=0}while(0);d=Or(b)|0;if((d|0)<=0)break a;f=f&255;e=0;do{Pr(b,e,k+8|0,k+16|0);g=c[k+8>>2]|0;do if((g|0)>=0?(j=c[k+16>>2]|0,((j|0)>-1?(g|0)<(c[k+20>>2]|0):0)&(j|0)<(c[k+24>>2]|0)):0){if(h){Rp(a,g,j,c[k>>2]|0);break}if((c[k+4>>2]|0)==32){Rp(a,g,j,c[k+12>>2]|0);break}else{Rp(a,g,j,f);break}}while(0);e=e+1|0}while((e|0)!=(d|0));break}default:{cu(8616,8600,1)|0;break a}}}while(0);i=k;return}function Mn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+32|0;do if(a){if(!b){cu(20416,8568,1)|0;break}if((d+-1|0)>>>0>=3){cu(8584,8568,1)|0;break}gp(a,k+8|0,k+4|0,k);a:do if((d|0)==1)switch(c[k>>2]|0){case 32:{j=-1;break a}case 4:{j=15;break a}case 8:{j=255;break a}case 2:{j=3;break a}case 16:{j=65535;break a}default:{j=1;break a}}else j=1;while(0);e=Or(b)|0;if((e|0)>0){h=0;do{Pr(b,h,k+16|0,k+12|0);f=c[k+16>>2]|0;do if((f|0)>=0?(g=c[k+12>>2]|0,((g|0)>-1?(f|0)<(c[k+8>>2]|0):0)&(g|0)<(c[k+4>>2]|0)):0)if((d|0)==2){Tp(a,f,g);break}else if((d|0)==3){Up(a,f,g);break}else if((d|0)==1){Rp(a,f,g,j);break}else break;while(0);h=h+1|0}while((h|0)!=(e|0))}}else cu(28008,8568,1)|0;while(0);i=k;return}function Nn(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;do if(a){if(!b){cu(16856,8648,1)|0;break}if((d|0)<1){d=c[n>>2]|0;c[h>>2]=8648;zb(d|0,8384,h|0)|0;d=1}d=In(b,d)|0;c[h+4>>2]=d;if(!d){cu(20336,8648,1)|0;break}else{Ln(a,d,e,f,g);Lr(h+4|0);break}}else cu(28008,8648,1)|0;while(0);i=h;return}function On(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;do if(a){if(!b){cu(8496,8664,1)|0;break}if((d|0)<1){d=c[n>>2]|0;c[h>>2]=8664;zb(d|0,8384,h|0)|0;d=1}d=Jn(b,d)|0;c[h+4>>2]=d;if(!d){cu(20336,8664,1)|0;break}else{Ln(a,d,e,f,g);Lr(h+4|0);break}}else cu(28008,8664,1)|0;while(0);i=h;return}function Pn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;do if(a){if(!b){cu(8544,8688,1)|0;break}if((d+-1|0)>>>0>=3){cu(8584,8688,1)|0;break}b=Kn(b)|0;c[e>>2]=b;if(!b){cu(20336,8688,1)|0;break}else{Mn(a,b,d);Lr(e);break}}else cu(28008,8688,1)|0;while(0);i=e;return}function Qn(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;do if(a){if(!b){cu(8544,8712,1)|0;break}b=Kn(b)|0;c[d>>2]=b;if(!b){cu(20336,8712,1)|0;break}else{Ln(a,b,-1,0,0);Lr(d);break}}else cu(28008,8712,1)|0;while(0);i=d;return}function Rn(){return du(28344,8736,0)|0}function Sn(){return cu(28344,8760,1)|0}function Tn(){return du(28344,8784,0)|0}function Un(){cu(28344,8808,1)|0;return}function Vn(){cu(28344,8824,1)|0;return}function Wn(){return cu(28344,8848,1)|0}function Xn(){cu(28344,8864,1)|0;return}function Yn(){return cu(28344,8880,1)|0}function Zn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+32|0;e=ho(a,b,d,g+12|0)|0;if(!e)e=du(8920,8904,0)|0;else{gp(b,g+8|0,g+16|0,0);It(d,g+24|0,g+20|0,g,g+4|0);Vp(e);a=c[g+24>>2]|0;if((a|0)>0){b=c[g+20>>2]|0;f=0;do{if((b|0)>0){a=0;do{if((c[(c[(c[d+16>>2]|0)+(f<<2)>>2]|0)+(a<<2)>>2]|0)==1){fs(e,a-(c[g+4>>2]|0)|0,f-(c[g>>2]|0)|0,c[g+8>>2]|0,c[g+16>>2]|0,28,c[g+12>>2]|0,0,0);b=c[g+20>>2]|0}a=a+1|0}while((a|0)<(b|0));a=c[g+24>>2]|0}f=f+1|0}while((f|0)<(a|0))}cp(g+12|0)}i=g;return e|0}function _n(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+48|0;e=ho(a,b,d,g+4|0)|0;if(!e)e=du(8920,8952,0)|0;else{gp(b,g+36|0,g+16|0,0);It(d,g+28|0,g,g+40|0,g+32|0);Wp(e);a=c[g+28>>2]|0;if((a|0)>0){b=c[g>>2]|0;f=0;do{if((b|0)>0){a=0;do{if((c[(c[(c[d+16>>2]|0)+(f<<2)>>2]|0)+(a<<2)>>2]|0)==1){fs(e,(c[g+32>>2]|0)-a|0,(c[g+40>>2]|0)-f|0,c[g+36>>2]|0,c[g+16>>2]|0,16,c[g+4>>2]|0,0,0);b=c[g>>2]|0}a=a+1|0}while((a|0)<(b|0));a=c[g+28>>2]|0}f=f+1|0}while((f|0)<(a|0))}Lt(d,g+12|0,g+24|0,g+20|0,g+8|0);a=c[g+12>>2]|0;if((a|0)>0)fs(e,0,0,a,c[g+16>>2]|0,0,0,0,0);a=c[g+20>>2]|0;if((a|0)>0)fs(e,(c[g+36>>2]|0)-a|0,0,a,c[g+16>>2]|0,0,0,0,0);a=c[g+24>>2]|0;if((a|0)>0)fs(e,0,0,c[g+36>>2]|0,a,0,0,0,0);a=c[g+8>>2]|0;if((a|0)>0)fs(e,0,(c[g+16>>2]|0)-a|0,c[g+36>>2]|0,a,0,0,0,0);cp(g+4|0)}i=g;return e|0}function $n(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;d=io(0,a,b)|0;do if(d){a=_n(0,a,b)|0;c[e>>2]=a;if(!a){d=du(24840,8968,d)|0;break}else{Zn(d,a,b)|0;cp(e);break}}else d=du(8976,8968,0)|0;while(0);i=e;return d|0}function ao(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;e=io(a,b,d)|0;do if(e){a=Zn(0,b,d)|0;c[f>>2]=a;if(!a){e=du(24840,9e3,e)|0;break}else{_n(e,a,d)|0;cp(f);break}}else e=du(8976,9e3,0)|0;while(0);i=f;return e|0}function bo(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;do if(b){if((Dp(b)|0)!=1){d=du(23944,9016,a)|0;break}if((d|0)<1|(e|0)<1){d=du(9032,9016,a)|0;break}if((d|0)==1&(e|0)==1){d=tp(a,b)|0;break}if((d|0)==1|(e|0)==1){d=Jt(e,d,(e|0)/2|0,(d|0)/2|0)|0;c[f+8>>2]=d;d=Zn(a,b,d)|0;Ft(f+8|0);break}else{g=Jt(1,d,0,(d|0)/2|0)|0;c[f+4>>2]=g;d=Jt(e,1,(e|0)/2|0,0)|0;c[f>>2]=d;e=Zn(0,b,g)|0;c[f+12>>2]=e;d=Zn(a,e,d)|0;cp(f+12|0);Ft(f+4|0);Ft(f);break}}else d=du(28232,9016,a)|0;while(0);i=f;return d|0}function co(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;do if(b){if((Dp(b)|0)!=1){d=du(23944,9064,a)|0;break}if((d|0)<1|(e|0)<1){d=du(9032,9064,a)|0;break}if((d|0)==1&(e|0)==1){d=tp(a,b)|0;break}if((d|0)==1|(e|0)==1){d=Jt(e,d,(e|0)/2|0,(d|0)/2|0)|0;c[f+8>>2]=d;d=_n(a,b,d)|0;Ft(f+8|0);break}else{g=Jt(1,d,0,(d|0)/2|0)|0;c[f+4>>2]=g;d=Jt(e,1,(e|0)/2|0,0)|0;c[f>>2]=d;e=_n(0,b,g)|0;c[f+12>>2]=e;d=_n(a,e,d)|0;cp(f+12|0);Ft(f+4|0);Ft(f);break}}else d=du(28232,9064,a)|0;while(0);i=f;return d|0}function eo(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;do if(a){if((Dp(a)|0)!=1){b=du(23944,9080,0)|0;break}if((b|0)<1|(d|0)<1){b=du(9032,9080,0)|0;break}if((b|0)==1&(d|0)==1){b=tp(0,a)|0;break}if((b|0)==1|(d|0)==1){b=Jt(d,b,(d|0)/2|0,(b|0)/2|0)|0;c[e+8>>2]=b;b=$n(a,b)|0;Ft(e+8|0);break}else{f=Jt(1,b,0,(b|0)/2|0)|0;c[e+4>>2]=f;d=Jt(d,1,(d|0)/2|0,0)|0;c[e>>2]=d;a=_n(0,a,f)|0;c[e+12>>2]=a;b=_n(0,a,d)|0;Zn(a,b,f)|0;Zn(b,a,d)|0;cp(e+12|0);Ft(e+4|0);Ft(e);break}}else b=du(28232,9080,0)|0;while(0);i=e;return b|0}function fo(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;do if(b){if((Dp(b)|0)!=1){d=du(23944,9096,a)|0;break}if((d|0)<1|(e|0)<1){d=du(9032,9096,a)|0;break}if((d|0)==1&(e|0)==1){d=tp(a,b)|0;break}if((d|0)==1|(e|0)==1){d=Jt(e,d,(e|0)/2|0,(d|0)/2|0)|0;c[f+8>>2]=d;d=ao(a,b,d)|0;Ft(f+8|0);break}else{g=Jt(1,d,0,(d|0)/2|0)|0;c[f+4>>2]=g;e=Jt(e,1,(e|0)/2|0,0)|0;c[f>>2]=e;b=Zn(0,b,g)|0;c[f+12>>2]=b;d=Zn(a,b,e)|0;_n(b,d,g)|0;_n(d,b,e)|0;cp(f+12|0);Ft(f+4|0);Ft(f);break}}else d=du(28232,9096,a)|0;while(0);i=f;return d|0}function go(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;i=i+32|0;do if(a)if((Dp(a)|0)==1){e=fq(a)|0;c[b+16>>2]=e;f=Jt(1,4,0,2)|0;c[b+4>>2]=f;d=Jt(4,1,2,0)|0;c[b>>2]=d;e=Zn(0,e,f)|0;c[b+12>>2]=e;a=Zn(0,e,d)|0;c[b+8>>2]=a;_n(e,a,f)|0;_n(a,e,d)|0;cp(b+12|0);Ft(b+4|0);Ft(b);c[b+12>>2]=hq(a)|0;cp(b+16|0);cp(b+8|0);a=c[b+12>>2]|0;break}else{a=du(23944,9112,0)|0;break}else a=du(28232,9112,0)|0;while(0);i=b;return a|0}function ho(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;do if(e){c[e>>2]=0;if(!b){a=du(28232,9176,a)|0;break}if(!d){a=du(25088,9176,a)|0;break}if((Dp(b)|0)!=1){a=du(23944,9176,a)|0;break}It(d,f+4|0,f,0,0);if((c[f+4>>2]|0)==0|(c[f>>2]|0)==0){a=du(9160,9176,a)|0;break}if(!a){a=ep(b)|0;if(!a){a=du(25344,9176,0)|0;break}else{c[e>>2]=rp(b)|0;break}}wp(a,b)|0;if((a|0)!=(b|0)){c[e>>2]=rp(b)|0;break}b=tp(0,a)|0;c[e>>2]=b;if(!b)a=du(24840,9176,a)|0}else a=du(9200,9176,a)|0;while(0);i=f;return a|0}function io(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;do if(b){if(!d){a=du(25088,9136,a)|0;break}if((Dp(b)|0)!=1){a=du(23944,9136,a)|0;break}It(d,e+4|0,e,0,0);if((c[e+4>>2]|0)==0|(c[e>>2]|0)==0){a=du(9160,9136,a)|0;break}if(!a){a=ep(b)|0;break}else{wp(a,b)|0;break}}else a=du(28232,9136,a)|0;while(0);i=e;return a|0}function jo(a){a=a|0;var b=0,d=0;b=(a|0)<1?50:a;a=WFa(1,24)|0;do if(a){d=WFa(b,4)|0;c[a+20>>2]=d;if(!d){a=du(9240,9224,0)|0;break}else{c[a>>2]=b;c[a+4>>2]=0;c[a+8>>2]=1;g[a+12>>2]=0.0;g[a+16>>2]=1.0;break}}else a=du(16400,9224,0)|0;while(0);return a|0}function ko(a,b){a=a|0;b=+b;var d=0;if(!a)cu(9704,9296,1)|0;else{d=po(a)|0;if((d|0)>=(c[a>>2]|0))Co(a);g[(c[a+20>>2]|0)+(d<<2)>>2]=b;c[a+4>>2]=(c[a+4>>2]|0)+1}return}function lo(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if(a){b=c[a>>2]|0;if(b){mo(b,-1);if((no(b)|0)<1){d=c[b+20>>2]|0;if(d)VFa(d);VFa(b)}c[a>>2]=0}}else{a=c[n>>2]|0;c[e>>2]=9264;zb(a|0,25936,e|0)|0}i=e;return}function mo(a,b){a=a|0;b=b|0;if(!a)cu(9704,9504,1)|0;else c[a+8>>2]=(c[a+8>>2]|0)+b;return}function no(a){a=a|0;if(!a)a=cu(9704,9488,-1)|0;else a=c[a+8>>2]|0;return a|0}function oo(a){a=a|0;if(!a)a=du(9704,9280,0)|0;else mo(a,1);return a|0}function po(a){a=a|0;if(!a)a=cu(9704,9368,0)|0;else a=c[a+4>>2]|0;return a|0}function qo(a){a=a|0;do if(a)if((po(a)|0)>3){g[(c[a+20>>2]|0)+12>>2]=3.0;break}else{cu(9312,9344,1)|0;break}else cu(9704,9344,1)|0;while(0);return}function ro(a,b){a=a|0;b=b|0;var d=0;a:do if(!a)cu(9704,9384,1)|0;else{d=c[a>>2]|0;do if((d|0)<(b|0)){d=mu(a+20|0,d<<2,b<<2)|0;c[a+20>>2]=d;if(!d){cu(23144,9384,1)|0;break a}else{c[a>>2]=b;break}}while(0);c[a+4>>2]=b}while(0);return}function so(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;do if(!d)cu(9416,9400,1)|0;else{c[d>>2]=0;if(!a){cu(9704,9400,1)|0;break}if((b|0)>=0?(c[a+4>>2]|0)>(b|0):0){e=+g[(c[a+20>>2]|0)+(b<<2)>>2];c[d>>2]=~~(e+(e<0.0?-.5:.5));break}cu(22808,9400,1)|0}while(0);return}function to(a,b,d){a=a|0;b=b|0;d=+d;do if(!a)cu(9704,9440,1)|0;else{if((b|0)>=0?(c[a+4>>2]|0)>(b|0):0){g[(c[a+20>>2]|0)+(b<<2)>>2]=d;break}cu(22808,9440,1)|0}while(0);return}function uo(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;do if(a){d=po(a)|0;b=WFa(d,4)|0;if(!b){b=du(25200,9456,0)|0;break}if((d|0)>0){e=0;do{so(a,e,f);c[b+(e<<2)>>2]=c[f>>2];e=e+1|0}while((e|0)!=(d|0))}}else b=du(9704,9456,0)|0;while(0);i=f;return b|0}function vo(a,b){a=a|0;b=b|0;var d=0;do if(a){if(!b){b=c[a+20>>2]|0;break}d=po(a)|0;b=WFa(d,4)|0;if(!b){b=du(25200,9472,0)|0;break}if((d|0)>0)VGa(b|0,c[a+20>>2]|0,d<<2|0)|0}else b=du(9704,9472,0)|0;while(0);return b|0}function wo(a){a=a|0;var b=0,d=0;b=(a|0)<1?50:a;a=WFa(1,12)|0;do if(a){d=WFa(b,4)|0;c[a+8>>2]=d;if(!d){a=du(9560,9528,0)|0;break}else{c[a>>2]=b;c[a+4>>2]=0;break}}else a=du(9544,9528,0)|0;while(0);return a|0}function xo(a,b){a=a|0;b=b|0;var d=0;do if(!a)cu(9584,9616,1)|0;else{if(!b){cu(9704,9616,1)|0;break}d=yo(a)|0;if((d|0)>=(c[a>>2]|0))Bo(a);c[(c[a+8>>2]|0)+(d<<2)>>2]=b;c[a+4>>2]=(c[a+4>>2]|0)+1}while(0);return}function yo(a){a=a|0;if(!a)a=cu(9584,9656,0)|0;else a=c[a+4>>2]|0;return a|0}function zo(a,b){a=a|0;b=b|0;do if(!a)b=du(9584,9672,0)|0;else{if((b|0)>=0?(c[a+4>>2]|0)>(b|0):0){b=oo(c[(c[a+8>>2]|0)+(b<<2)>>2]|0)|0;break}b=du(22808,9672,0)|0}while(0);return b|0}function Ao(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;if(a){e=c[a>>2]|0;if(e){b=c[e+8>>2]|0;if((c[e+4>>2]|0)>0){d=0;do{lo(b+(d<<2)|0);d=d+1|0;b=c[e+8>>2]|0}while((d|0)<(c[e+4>>2]|0))}VFa(b);VFa(e);c[a>>2]=0}}else{a=c[n>>2]|0;c[f>>2]=9600;zb(a|0,25048,f|0)|0}i=f;return}function Bo(a){a=a|0;var b=0;do if(a){b=c[a>>2]|0;b=mu(a+8|0,b<<2,b<<3)|0;c[a+8>>2]=b;if(!b){cu(23144,9632,1)|0;break}else{c[a>>2]=c[a>>2]<<1;break}}else cu(9584,9632,1)|0;while(0);return}function Co(a){a=a|0;var b=0;do if(a){b=c[a>>2]|0;b=mu(a+20|0,b<<2,b<<3)|0;c[a+20>>2]=b;if(!b){cu(23144,9688,1)|0;break}else{c[a>>2]=c[a>>2]<<1;break}}else cu(9704,9688,1)|0;while(0);return}function Do(a,b){a=+a;b=b|0;var c=0,d=0;c=jo(b)|0;if(c){if((b|0)>0){d=0;do{ko(c,+(d|0)*a+0.0);d=d+1|0}while((d|0)!=(b|0))}}else c=du(16400,9720,0)|0;return c|0}function Eo(a){a=a|0;return Do(0.0,a)|0}function Fo(a){a=a|0;var b=0,c=0.0,d=0.0,e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0;do if(!a)a=du(9704,9744,0)|0;else{k=po(a)|0;l=vo(a,1)|0;if(!l){a=du(25200,9744,0)|0;break}m=WFa(k,4)|0;if(!m){a=du(9768,9744,0)|0;break}if((k|0)>0){a=0;do{g[m+(a<<2)>>2]=+(a|0);a=a+1|0}while((a|0)!=(k|0));if((k|0)>1){h=k;do{i=h;h=(h|0)/2|0;if((h|0)<(k|0)){j=h;do{b=j-h|0;if((b|0)>-1){e=j;f=b;while(1){b=l+(f<<2)|0;c=+g[b>>2];a=l+(e<<2)|0;d=+g[a>>2];if(c>d){g[b>>2]=d;g[a>>2]=c;b=m+(f<<2)|0;d=+g[b>>2];e=m+(e<<2)|0;g[b>>2]=+g[e>>2];g[e>>2]=d}b=f-h|0;if((b|0)>-1){e=f;f=b}else break}}j=j+1|0}while((j|0)!=(k|0))}}while((i|0)>3)}a=jo(k)|0;b=0;do{ko(a,+g[m+(b<<2)>>2]);b=b+1|0}while((b|0)!=(k|0))}else a=jo(k)|0;VFa(l);VFa(m)}while(0);return a|0}function Go(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+32|0;do if(!a)d=du(28232,9784,0)|0;else{if((Dp(a)|0)!=1){d=du(23944,9784,0)|0;break}f=Bl(a,4,4,3,0)|0;c[e+12>>2]=f;f=eo(f,5,5)|0;c[e+8>>2]=f;f=$s(f,8)|0;c[e+4>>2]=f;cp(e+12|0);cp(e+8|0);Ru(f,d,3);a=go(a)|0;c[e>>2]=a;Ru(a,d,3);d=Bt(0,f,a,4)|0;uq(d,e+16|0);if(b)c[b>>2]=(c[e+16>>2]|0)==0&1;cp(e+4|0);cp(e)}while(0);i=e;return d|0}function Ho(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,o=0,p=0,q=0;p=i;i=i+32|0;a:do if(b){h=Ap(b)|0;if(!h){h=cu(9832,9808,1)|0;break}if(!d){h=c[n>>2]|0;c[p>>2]=9808;zb(h|0,15760,p|0)|0;h=0;break}o=Dp(b)|0;if(!((o|0)==2|(o|0)==4|(o|0)==8)){h=cu(9856,9808,1)|0;break}if((Dp(d)|0)!=1){h=cu(15800,9808,1)|0;break}do if(pm(h,e,f,g,p+4|0)|0)if(!(jm(h,e,f,g)|0)){c[p+4>>2]=(qm(h)|0)+-1;break}else{h=cu(9880,9808,1)|0;break a}while(0);gp(b,p+20|0,p+16|0,0);k=bp(b)|0;g=vp(b)|0;gp(d,p+12|0,p+8|0,0);j=bp(d)|0;e=vp(d)|0;h=c[p+8>>2]|0;if((h|0)>0){b=0;b:while(1){if((b|0)<(c[p+16>>2]|0)?(l=ba(b,k)|0,m=ba(b,j)|0,(c[p+12>>2]|0)>0):0){f=0;do{do if((f|0)<(c[p+20>>2]|0)?(c[e+((f>>5)+m<<2)>>2]&1<<(f&31^31)|0)!=0:0)if((o|0)==4){d=g+((f>>3)+l<<2)|0;q=f<<2&28;h=c[d>>2]&~(-268435456>>>q);c[d>>2]=h;c[d>>2]=(c[p+4>>2]&15)<<28-q|h;break}else if((o|0)==2){q=g+((f>>4)+l<<2)|0;h=f<<1&30;d=c[q>>2]&~(-1073741824>>>h);c[q>>2]=d;c[q>>2]=(c[p+4>>2]&3)<<30-h|d;break}else if((o|0)==8){a[(g+(l<<2)+f^3)>>0]=c[p+4>>2];break}else break b;while(0);f=f+1|0}while((f|0)<(c[p+12>>2]|0));h=c[p+8>>2]|0}b=b+1|0;if((b|0)>=(h|0)){h=0;break a}}h=cu(9856,9808,1)|0}else h=0}else h=cu(28232,9808,1)|0;while(0);i=p;return h|0}function Io(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;a:do if(!a)d=cu(28008,1e4,1)|0;else{if(!b){d=cu(10032,1e4,1)|0;break}c[b>>2]=3;gp(a,f+12|0,f+8|0,f+4|0);d=Ap(a)|0;e=c[f+4>>2]|0;if(!((e|0)!=8|(d|0)!=0)){e=~~+R(+(+(ba(c[f+8>>2]|0,c[f+12>>2]|0)|0)/2.0e4));hm(a,(e|0)<1?1:e,f);if((c[f>>2]|0)<20){c[b>>2]=3;d=0;break}else{c[b>>2]=1;d=0;break}}if((e|0)==1){c[b>>2]=2;d=0;break}do if(!d)if((e|0)==2|(e|0)==4)break;else if((e|0)==8|(e|0)==32){c[b>>2]=1;d=0;break a}else{d=cu(10056,1e4,1)|0;break a}while(0);c[b>>2]=3;d=0}while(0);i=f;return d|0}function Jo(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;do if(a){b=(Ko(a,b,d+8|0,d+4|0)|0)==0;a=c[d+8>>2]|0;if(!b){VFa(a);cu(10104,10080,1)|0;break}b=ru(a,c[d+4>>2]|0)|0;VFa(c[d+8>>2]|0);if(b){b=c[n>>2]|0;c[d>>2]=10080;zb(b|0,9920,d|0)|0}}else cu(16800,10080,1)|0;while(0);i=d;return}function Ko(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+48|0;do if(!d)f=cu(28184,10136,1)|0;else{c[d>>2]=0;if(!e){f=cu(26848,10136,1)|0;break}c[e>>2]=0;if(!a){f=cu(16800,10136,1)|0;break}h=Nq(a)|0;c[j+24>>2]=h;g=Ur(h)|0;c[j+36>>2]=g;if((h|0)>0){f=c[n>>2]|0;h=0;do{g=Mq(a,h)|0;c[j+16>>2]=g;do if(g){c[j+32>>2]=rp(g)|0;cp(j+16|0);if(Io(c[j+32>>2]|0,j+12|0)|0){c[j>>2]=10136;c[j+4>>2]=h;zb(f|0,10200,j|0)|0;cp(j+32|0);break}g=No(c[j+32>>2]|0,c[j+12>>2]|0,j+28|0,j+20|0,~~+(b|0),327504)|0;cp(j+32|0);if(!g){c[j+8>>2]=_l(c[j+28>>2]|0,c[j+20>>2]|0)|0;VFa(c[j+28>>2]|0);Yr(c[j+36>>2]|0,c[j+8>>2]|0);break}else{c[j>>2]=10136;c[j+4>>2]=h;zb(f|0,10264,j|0)|0;break}}else{c[j>>2]=10136;c[j+4>>2]=h;zb(f|0,10160,j|0)|0}while(0);h=h+1|0}while((h|0)<(c[j+24>>2]|0));g=c[j+36>>2]|0}Wr(g,j+24|0);if(!(c[j+24>>2]|0)){f=c[n>>2]|0;c[j>>2]=10136;zb(f|0,9968,j|0)|0;Vr(j+36|0);f=1;break}f=Po(g,d,e)|0;Wr(c[j+36>>2]|0,j+24|0);if((c[j+24>>2]|0)>0){g=0;do{c[j+8>>2]=Xr(c[j+36>>2]|0,g)|0;$l(j+8|0);g=g+1|0}while((g|0)<(c[j+24>>2]|0))}Vr(j+36|0)}while(0);i=j;return f|0}function Lo(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;do if(a){if(!b){a=cu(28008,10312,1)|0;break}if(Mo(d+4|0,d,b)|0){a=cu(9896,10312,1)|0;break}b=xb(c[d+4>>2]|0,1,c[d>>2]|0,a|0)|0;VFa(c[d+4>>2]|0);if((c[d>>2]|0)==(b|0))a=0;else a=cu(10336,10312,1)|0}else a=cu(28048,10312,1)|0;while(0);i=d;return a|0}function Mo(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;if(a)c[a>>2]=0;do if((b|0)!=0?(c[b>>2]=0,(a|0)!=0):0){if(!d){e=cu(28008,10376,1)|0;break}e=Dp(d)|0;f=Ap(d)|0;if((e|0)!=1)if((f|0)==0?!((e|0)==2|(e|0)==4|(e|0)==16):0)e=1;else e=3;else e=2;if(!(No(d,e,a,b,0,0)|0))e=0;else e=cu(9896,10376,1)|0}else g=5;while(0);if((g|0)==5)e=cu(10392,10376,1)|0;return e|0}function No(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0.0,j=0,k=0;k=i;i=i+16|0;c[k+4>>2]=0;c[k>>2]=0;do if(d){c[d>>2]=0;if(!e){f=cu(26848,10424,1)|0;break}c[e>>2]=0;if(!a){f=cu(28008,10424,1)|0;break}Oo(a,b,k+4|0);b=c[k+4>>2]|0;if(!b){f=cu(10448,10424,1)|0;break}a=c[b+60>>2]|0;j=c[b+32>>2]|0;b=c[b+36>>2]|0;if((f|0)<1)f=(a|0)>0?a:300;h=+(f|0);f=To(g)|0;c[k>>2]=f;if(!f){f=cu(10464,10424,1)|0;break}Yr(c[f+12>>2]|0,c[k+4>>2]|0);c[f+4>>2]=(c[f+4>>2]|0)+1;Kr(c[f+48>>2]|0,0.0/h,0.0/h);Kr(c[f+52>>2]|0,+(j|0)*72.0/h,+(b|0)*72.0/h);e=Uo(d,e,f)|0;Vo(k);if(!e)f=0;else f=cu(10480,10424,1)|0}else f=cu(28184,10424,1)|0;while(0);i=k;return f|0}function Oo(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;a:do if(d){c[d>>2]=0;if(!a){cu(28232,11024,1)|0;break}if((b+-1|0)>>>0>=3){cu(10760,11024,1)|0;break}e=Dp(a)|0;do if(!((Ap(a)|0)!=0&(b|0)!=3)){if((e|0)<8&(b|0)==1){b=c[n>>2]|0;c[f>>2]=11024;zb(b|0,10840,f|0)|0;break}if((e|0)>1&(b|0)==2){b=c[n>>2]|0;c[f>>2]=11024;zb(b|0,10896,f|0)|0;break}if((b|0)==2){if((Dp(a)|0)==1){Au(13296);b=Hu(13320)|0;Ou(b,a,8);e=Ro(b)|0;Fu(b);zu(b)}else e=du(23944,13272,0)|0;c[d>>2]=e;if(e)break a;cu(10976,11024,1)|0;break a}else if((b|0)==3)break;else if((b|0)==1){b=Wo(a)|0;c[d>>2]=b;if(b)break a;cu(10952,11024,1)|0;break a}else{cu(10760,11024,1)|0;break a}}else{b=c[n>>2]|0;c[f>>2]=11024;zb(b|0,10784,f|0)|0}while(0);b=Xo(a)|0;c[d>>2]=b;if(!b)cu(11e3,11024,1)|0}else cu(10640,11024,1)|0;while(0);i=f;return}function Po(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+144|0;do if(!d)f=cu(28184,10504,1)|0;else{c[d>>2]=0;if(!e){f=cu(26848,10504,1)|0;break}c[e>>2]=0;if(!b){f=cu(10536,10504,1)|0;break}Wr(b,y+64|0);c[y+120>>2]=hn(c[y+64>>2]|0)|0;if((c[y+64>>2]|0)>0){m=c[n>>2]|0;o=0;do{f=$r(b,o)|0;c[y+72>>2]=f;c[y+104>>2]=0;a:do if(f){l=bm(f,y+92|0)|0;if(IGa(l,11272,7)|0){f=cu(11280,11240,1)|0;break}x=c[y+92>>2]|0;g=x>>>0>50?x+-50|0:0;lu(l+g|0,x-g|0,11312,10,y+52|0,y+100|0);if(!(c[y+100>>2]|0)){f=cu(11328,11240,1)|0;break}x=l+(g+10+(c[y+52>>2]|0))|0;c[y>>2]=y+16;if((zEa(x,11352,y)|0)!=1){f=cu(11360,11240,1)|0;break}g=c[y+16>>2]|0;if(!((g|0)>-1?g>>>0<(c[y+92>>2]|0)>>>0:0)){f=cu(11384,11240,1)|0;break}j=ys(l+g|0)|0;c[y+60>>2]=j;x=Ds(j,1)|0;c[y>>2]=y+8;if((zEa(x,11408,y)|0)!=1){f=cu(11416,11240,1)|0;break}k=Zm((c[y+8>>2]|0)+1|0)|0;c[y+104>>2]=k;b:do if((c[y+8>>2]|0)>0){h=0;while(1){x=Ds(j,h+2|0)|0;c[y>>2]=y+96;zEa(x,383336,y)|0;_m(k,+(c[y+96>>2]|0));h=h+1|0;if((h|0)>=(c[y+8>>2]|0))break b;j=c[y+60>>2]|0}}while(0);_m(k,+(c[y+16>>2]|0));zs(y+60|0);if((c[y+8>>2]|0)>1){h=1;while(1){fn(k,h,y+96|0);x=l+(c[y+96>>2]|0)|0;c[y>>2]=y+48;j=h+1|0;if((zEa(x,11432,y)|0)!=1)break;if((j|0)<(c[y+8>>2]|0))h=j;else{f=0;break a}}c[y>>2]=11240;c[y+4>>2]=h;zb(m|0,11448,y|0)|0;c[y>>2]=11240;zb(m|0,11488,y|0)|0;dn(k);_m(k,0.0);fm(f,11528,7,y+80|0);x=en(c[y+80>>2]|0)|0;c[y+8>>2]=x;if((x|0)>0){j=0;do{fn(c[y+80>>2]|0,j,y+52|0);g=c[y+52>>2]|0;while(1){h=g+-1|0;if((h|0)<=0)break;if((a[l+h>>0]|0)==10)break;else g=h}_m(k,+(g|0));j=j+1|0}while((j|0)<(c[y+8>>2]|0))}fm(f,11536,4,y+56|0);fn(c[y+56>>2]|0,0,y+52|0);_m(k,+(c[y+52>>2]|0));$m(y+80|0);$m(y+56|0);f=0}else f=0}else f=cu(11256,11240,1)|0;while(0);if(!f)kn(c[y+120>>2]|0,c[y+104>>2]|0);else{c[y+72>>2]=Xr(b,o)|0;$l(y+72|0);c[y>>2]=10504;c[y+4>>2]=o;zb(m|0,10560,y|0)|0}o=o+1|0}while((o|0)<(c[y+64>>2]|0))}_r(b);Wr(b,y+64|0);f=c[y+64>>2]|0;if(!f){jn(y+120|0);f=cu(10608,10504,1)|0;break}c[y+132>>2]=wo(f)|0;f=jo(c[y+64>>2]|0)|0;c[y+128>>2]=f;if((c[y+64>>2]|0)>0){k=0;g=0;do{j=mn(c[y+120>>2]|0,k)|0;c[y+116>>2]=j;j=en(j)|0;f=c[y+128>>2]|0;if(!k){ko(f,4.0);f=Do(1.0,j+-1|0)|0;c[y+124>>2]=f;g=j+-1|0}else{ko(f,+(g|0));x=Eo(j+-1|0)|0;c[y+124>>2]=x;qo(x);if((j+-1|0)>4){f=g;h=4;while(1){to(c[y+124>>2]|0,h,+(f|0));h=h+1|0;if((h|0)==(j+-1|0))break;else f=f+1|0}g=j+-5+g|0}f=c[y+124>>2]|0}xo(c[y+132>>2]|0,f);$m(y+116|0);k=k+1|0}while((k|0)<(c[y+64>>2]|0));f=c[y+128>>2]|0}if(!f)j=du(11144,11112,0)|0;else{h=po(f)|0;j=WFa((h<<4)+100|0,1)|0;g=vs(h)|0;c[y+16>>2]=g;if((h|0)>0){g=0;do{so(f,g,y+96|0);c[y>>2]=c[y+96>>2];wGa(j,(h<<4)+100|0,11168,y)|0;ws(c[y+16>>2]|0,j,1);g=g+1|0}while((g|0)!=(h|0));f=c[y+16>>2]|0}else f=g;x=Es(f,0)|0;c[y>>2]=x;c[y+4>>2]=h;wGa(j,(h<<4)+99|0,11184,y)|0;zs(y+16|0);VFa(x)}f=Zl(5e3)|0;c[y+76>>2]=f;g=Zm(0)|0;c[y+112>>2]=g;if((c[y+64>>2]|0)>0){w=0;do{p=$r(b,w)|0;c[y+72>>2]=p;p=bm(p,y+68|0)|0;c[y+104>>2]=mn(c[y+120>>2]|0,w)|0;c[y+124>>2]=zo(c[y+132>>2]|0,w)|0;q=(en(c[y+104>>2]|0)|0)+-1|0;r=nn(c[y+104>>2]|0)|0;c[y+108>>2]=r;r=gn(r)|0;s=gn(c[y+104>>2]|0)|0;if(!w){dm(c[y+76>>2]|0,p,c[r>>2]|0);dm(c[y+76>>2]|0,p+(c[s+4>>2]|0)|0,c[r+4>>2]|0);dm(c[y+76>>2]|0,p+(c[s+8>>2]|0)|0,c[r+8>>2]|0);em(c[y+76>>2]|0,j);_m(c[y+112>>2]|0,+(c[s>>2]|0));_m(c[y+112>>2]|0,+(c[s+4>>2]|0));_m(c[y+112>>2]|0,+(c[s+8>>2]|0));_m(c[y+112>>2]|0,+(c[s+12>>2]|0))}if((q|0)>4){x=4;do{t=c[y+112>>2]|0;_m(t,+((am(c[y+76>>2]|0)|0)>>>0));t=_l(p+(c[s+(x<<2)>>2]|0)|0,c[r+(x<<2)>>2]|0)|0;c[y+88>>2]=t;v=c[y+124>>2]|0;a[y+96>>0]=32;t=bm(t,y+48|0)|0;u=Zl(100)|0;v=uo(v)|0;c[y>>2]=y+52;zEa(t,383336,y)|0;c[y>>2]=c[v+(c[y+52>>2]<<2)>>2];wGa(y+16|0,32,383336,y)|0;em(u,y+16|0);lu(t,c[y+48>>2]|0,y+96|0,1,y+100|0,y+8|0);k=ku(t,c[y+48>>2]|0,11104,4)|0;c[y+92>>2]=k;if(!k){o=c[y+100>>2]|0;dm(u,t+o|0,(c[y+48>>2]|0)-o|0);VFa(v)}else{g=en(k)|0;f=gn(k)|0;if((g|0)>0){h=0;do{m=f+(h<<2)|0;l=a[y+96>>0]|0;k=c[m>>2]|0;while(1){o=k+-1|0;if((o|0)<=0)break;if((a[t+o>>0]|0)==l<<24>>24)break;else k=o}o=c[y+100>>2]|0;dm(u,t+o|0,k-o|0);c[y>>2]=y+52;zEa(t+k|0,383336,y)|0;c[y>>2]=c[v+(c[y+52>>2]<<2)>>2];wGa(y+16|0,32,383336,y)|0;em(u,y+16|0);k=c[m>>2]|0;c[y+100>>2]=k;h=h+1|0}while((h|0)!=(g|0))}else k=c[y+100>>2]|0;dm(u,t+k|0,(c[y+48>>2]|0)-k|0);VFa(v);VFa(f);$m(y+92|0)}c[y+84>>2]=u;v=bm(u,y+68|0)|0;dm(c[y+76>>2]|0,v,c[y+68>>2]|0);$l(y+88|0);$l(y+84|0);x=x+1|0}while((x|0)!=(q|0))}if((w|0)==((c[y+64>>2]|0)+-1|0)){x=c[y+112>>2]|0;_m(x,+((am(c[y+76>>2]|0)|0)>>>0))}VFa(r);VFa(s);$m(y+104|0);lo(y+124|0);$m(y+108|0);w=w+1|0}while((w|0)<(c[y+64>>2]|0));g=c[y+112>>2]|0;f=c[y+76>>2]|0}b=Yo(g)|0;em(f,b);c[d>>2]=cm(f,e)|0;$l(y+76|0);lo(y+128|0);Ao(y+132|0);$m(y+112|0);jn(y+120|0);VFa(j);VFa(b);f=0}while(0);i=y;return f|0}function Qo(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;do if(a){b=nu(a,d)|0;if(!b){a=du(10736,10712,0)|0;break}a=ou(a)|0;if(!a){a=du(28048,10712,0)|0;break}Un();Vn();Yb(a|0)|0;a=WFa(1,64)|0;if(!a){a=du(10448,10712,0)|0;break}else{c[a+4>>2]=b;c[a>>2]=1;c[a+8>>2]=c[d>>2];c[a+40>>2]=8;break}}else a=du(10664,10712,0)|0;while(0);i=d;return a|0}function Ro(a){a=a|0;do if(a){if(bu()|0){a=du(10736,11048,0)|0;break}a=ou(a)|0;if(!a){a=du(28048,11048,0)|0;break}$t();Yb(a|0)|0;a=WFa(1,64)|0;if(!a){a=du(10448,11048,0)|0;break}else{c[a+4>>2]=0;c[a>>2]=2;c[a+40>>2]=1;c[a+44>>2]=1;break}}else a=du(10664,11048,0)|0;while(0);return a|0}function So(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(a){b=c[a>>2]|0;if(b){VFa(c[b+4>>2]|0);VFa(c[b+12>>2]|0);VFa(c[b+20>>2]|0);VFa(c[b+24>>2]|0);VFa(b);c[a>>2]=0}}else{a=c[n>>2]|0;c[d>>2]=11072;zb(a|0,13744,d|0)|0}i=d;return}function To(a){a=a|0;var b=0;b=WFa(1,80)|0;if(a)c[b>>2]=eu(a)|0;c[b+12>>2]=Ur(10)|0;c[b+48>>2]=Ir(10)|0;c[b+52>>2]=Ir(10)|0;c[b+60>>2]=vs(10)|0;c[b+64>>2]=vs(10)|0;c[b+68>>2]=Zm(20)|0;c[b+72>>2]=Zm(20)|0;return b|0}function Uo(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,j=0,l=0,m=0,o=0.0,p=0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0,z=0,A=0;x=i;i=i+2368|0;a:do if(!a)e=cu(28184,11712,1)|0;else{c[a>>2]=0;if(!b){e=cu(26848,11712,1)|0;break}c[b>>2]=0;if(!d){e=cu(11728,11712,1)|0;break}e=eu(13016)|0;c[d+16>>2]=e;f=c[d+68>>2]|0;_m(f,+((SGa(e|0)|0)>>>0));e=eu(13032)|0;c[d+20>>2]=e;f=c[d+68>>2]|0;_m(f,+((SGa(e|0)|0)>>>0));e=vs(0)|0;c[x+320>>2]=e;ws(e,13088,1);e=Ku()|0;c[x>>2]=e;wGa(x+64|0,256,13104,x)|0;ws(c[x+320>>2]|0,x+64|0,1);VFa(e);e=Ju()|0;c[x>>2]=e;wGa(x+64|0,256,13128,x)|0;VFa(e);e=c[x+320>>2]|0;ws(e,x+64|0,1);f=c[d>>2]|0;if(f){c[x>>2]=f;wGa(x+64|0,256,13160,x)|0;ws(c[x+320>>2]|0,x+64|0,1);e=c[x+320>>2]|0}ws(e,13176,1);t=Es(e,0)|0;c[d+24>>2]=t;s=c[d+68>>2]|0;_m(s,+((SGa(t|0)|0)>>>0));zs(x+320|0);t=eu(13192)|0;c[d+28>>2]=t;s=c[d+68>>2]|0;_m(s,+((SGa(t|0)|0)>>>0));c[d+40>>2]=eu(13248)|0;if((c[d+4>>2]|0)>0){m=0;o=0.0;q=0.0;do{Nr(c[d+48>>2]|0,m,x,x+320|0);Nr(c[d+52>>2]|0,m,x+64|0,x+60|0);y=+g[x>>2]+ +g[x+64>>2];o=o>y?o:y;y=+g[x+320>>2]+ +g[x+60>>2];q=q>y?q:y;m=m+1|0}while((m|0)<(c[d+4>>2]|0));m=~~(o+.5)}else{m=0;q=0.0}c[d+56>>2]=Fl(0,0,m,~~(q+.5))|0;e=c[d+4>>2]|0;if((e|0)>0){m=0;do{Nr(c[d+48>>2]|0,m,x,x+320|0);Nr(c[d+52>>2]|0,m,x+64|0,x+60|0);Rr(c[d+48>>2]|0,m,+g[x>>2],q-+g[x+320>>2]-+g[x+60>>2]);m=m+1|0;e=c[d+4>>2]|0}while((m|0)<(e|0))}p=(e*50|0)+1e3|0;l=WFa(p,1)|0;do if(l){Ml(c[d+56>>2]|0,0,0,x+320|0,x+64|0);m=vs(c[d+4>>2]|0)|0;c[x+60>>2]=m;if((c[d+4>>2]|0)>0){m=0;do{t=m;m=m+1|0;c[x>>2]=m;c[x+4>>2]=t+6;wGa(l,p,12824,x)|0;ws(c[x+60>>2]|0,l,1)}while((m|0)<(c[d+4>>2]|0));m=c[x+60>>2]|0}m=Es(m,0)|0;if(!m){cu(12840,12800,1)|0;break}else{zs(x+60|0);s=c[x+320>>2]|0;t=c[x+64>>2]|0;c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=s;c[x+12>>2]=t;c[x+16>>2]=m;wGa(l,p,12856,x)|0;t=eu(l)|0;c[d+32>>2]=t;s=c[d+68>>2]|0;_m(s,+((SGa(t|0)|0)>>>0));zs(x+60|0);VFa(l);VFa(m);break}}else cu(12656,12800,1)|0;while(0);p=c[d+4>>2]|0;l=WFa((p*200|0)+1e3|0,1)|0;do if(l){f=vs(p)|0;c[x+52>>2]=f;if((c[d+4>>2]|0)>0){m=0;do{Nr(c[d+48>>2]|0,m,x+320|0,x+64|0);Nr(c[d+52>>2]|0,m,x+60|0,x+56|0);o=+g[x+56>>2];q=+g[x+320>>2];y=+g[x+64>>2];m=m+1|0;h[k>>3]=+g[x+60>>2];c[x>>2]=c[k>>2];c[x+4>>2]=c[k+4>>2];h[k>>3]=0.0;c[x+8>>2]=c[k>>2];c[x+12>>2]=c[k+4>>2];h[k>>3]=0.0;c[x+16>>2]=c[k>>2];c[x+20>>2]=c[k+4>>2];h[k>>3]=o;c[x+24>>2]=c[k>>2];c[x+28>>2]=c[k+4>>2];h[k>>3]=q;c[x+32>>2]=c[k>>2];c[x+36>>2]=c[k+4>>2];h[k>>3]=y;c[x+40>>2]=c[k>>2];c[x+44>>2]=c[k+4>>2];c[x+48>>2]=m;wGa(l,(p*200|0)+1e3|0,12680,x)|0;ws(c[x+52>>2]|0,l,1)}while((m|0)<(c[d+4>>2]|0));f=c[x+52>>2]|0}f=Es(f,0)|0;if(!f){cu(12728,12624,1)|0;break}else{zs(x+52|0);c[x>>2]=SGa(f|0)|0;c[x+4>>2]=f;wGa(l,(p*200|0)+1e3|0,12744,x)|0;t=eu(l)|0;c[d+36>>2]=t;s=c[d+68>>2]|0;_m(s,+((SGa(t|0)|0)>>>0));zs(x+52|0);VFa(l);VFa(f);break}}else cu(12656,12624,1)|0;while(0);t=c[d+60>>2]|0;e=c[d+4>>2]|0;b:do if((e|0)>0){u=c[n>>2]|0;j=e+6|0;s=0;while(1){r=Zo(d,s)|0;if(!r)break;p=c[r>>2]|0;if((p|0)==4){p=c[r+44>>2]|0;if((p|0)==1)p=eu(11968)|0;else if((p|0)==3)p=eu(12096)|0;else{c[x>>2]=11904;zb(u|0,12216,x|0)|0;p=0}m=eu(12168)|0;l=eu(12264)|0;w=59}else if((p|0)==2){p=eu(11928)|0;m=eu(11992)|0;c[x>>2]=c[r+32>>2];wGa(x+64|0,256,12032,x)|0;l=eu(x+64|0)|0;w=59}else if((p|0)!=1){do if((c[r+28>>2]|0)<=0){p=c[r+44>>2]|0;if((p|0)==3){p=eu(12096)|0;break}else if((p|0)==1)if((c[r+40>>2]|0)==1){p=eu(12312)|0;break}else{p=eu(11968)|0;break}else{c[x>>2]=11904;c[x+4>>2]=p;zb(u|0,12352,x|0)|0;p=0;break}}else{c[x>>2]=j;wGa(x+64|0,256,12288,x)|0;j=j+1|0;p=eu(x+64|0)|0}while(0);c[x>>2]=c[r+40>>2];wGa(x+64|0,256,12400,x)|0;m=eu(x+64|0)|0;l=eu(12424)|0;if((c[r+52>>2]|0)==1?(f=c[r+44>>2]|0,v=c[r+40>>2]|0,c[x>>2]=c[r+32>>2],c[x+4>>2]=f,c[x+8>>2]=v,wGa(x+64|0,256,12448,x)|0,v=eu(x+64|0)|0,(v|0)!=0):0){e=r+32|0;f=j;j=v}else w=59}else{p=c[r+44>>2]|0;if((p|0)==3)p=eu(12096)|0;else if((p|0)==1)p=eu(11968)|0;else{c[x>>2]=11904;zb(u|0,12120,x|0)|0;p=0}m=eu(12168)|0;l=eu(12192)|0;w=59}if((w|0)==59){w=0;e=r+32|0;f=j;j=eu(1714496)|0}A=c[r+8>>2]|0;z=c[e>>2]|0;e=c[r+36>>2]|0;c[x>>2]=s+6;c[x+4>>2]=A;c[x+8>>2]=p;c[x+12>>2]=z;c[x+16>>2]=e;c[x+20>>2]=m;c[x+24>>2]=l;c[x+28>>2]=j;wGa(x+320|0,2048,12536,x)|0;e=eu(x+320|0)|0;ws(t,e,0);z=c[d+68>>2]|0;e=SGa(e|0)|0;e=(c[r+8>>2]|0)+e|0;_m(z,+((e+(SGa(c[d+40>>2]|0)|0)|0)>>>0));VFa(p);VFa(m);VFa(l);VFa(j);s=s+1|0;e=c[d+4>>2]|0;if((s|0)>=(e|0))break b;else j=f}cu(11768,11904,1)|0;e=c[d+4>>2]|0}while(0);f=c[d+64>>2]|0;c:do if((e|0)>0){p=e+6|0;j=0;e=0;while(1){m=Zo(d,j)|0;if(!m)break;l=c[m+28>>2]|0;if(l){A=c[m+24>>2]|0;c[x>>2]=p;c[x+4>>2]=l+-1;c[x+8>>2]=A;wGa(x+320|0,2048,11856,x)|0;A=eu(x+320|0)|0;z=c[d+68>>2]|0;_m(z,+((SGa(A|0)|0)>>>0));ws(f,A,0);p=p+1|0;e=e+1|0}j=j+1|0;if((j|0)>=(c[d+4>>2]|0)){w=68;break c}}cu(11768,11824,1)|0}else{e=0;w=68}while(0);if((w|0)==68)c[d+8>>2]=e;f=c[d+68>>2]|0;e=c[d+72>>2]|0;_m(e,0.0);j=en(f)|0;if((j|0)>0){m=0;l=0;do{fn(f,m,x);l=(c[x>>2]|0)+l|0;_m(e,+(l|0));m=m+1|0}while((m|0)!=(j|0))}fn(e,j,d+76|0);c[d+44>>2]=Yo(e)|0;c[a>>2]=0;p=c[d+76>>2]|0;p=(SGa(c[d+44>>2]|0)|0)+p|0;c[b>>2]=p;p=WFa(p,1)|0;if(!p){e=cu(26984,11744,1)|0;break}c[a>>2]=p;j=gn(c[d+68>>2]|0)|0;l=gn(c[d+72>>2]|0)|0;VGa(p|0,c[d+16>>2]|0,c[j>>2]|0)|0;VGa(p+(c[l+4>>2]|0)|0,c[d+20>>2]|0,c[j+4>>2]|0)|0;VGa(p+(c[l+8>>2]|0)|0,c[d+24>>2]|0,c[j+8>>2]|0)|0;VGa(p+(c[l+12>>2]|0)|0,c[d+28>>2]|0,c[j+12>>2]|0)|0;VGa(p+(c[l+16>>2]|0)|0,c[d+32>>2]|0,c[j+16>>2]|0)|0;VGa(p+(c[l+20>>2]|0)|0,c[d+36>>2]|0,c[j+20>>2]|0)|0;m=c[d+4>>2]|0;d:do if((m|0)>0){e=0;while(1){f=Zo(d,e)|0;if(!f)break;a=Ds(c[d+60>>2]|0,e)|0;z=SGa(a|0)|0;A=l+(e+6<<2)|0;VGa(p+(c[A>>2]|0)|0,a|0,z|0)|0;VGa(p+((c[A>>2]|0)+z)|0,c[f+4>>2]|0,c[f+8>>2]|0)|0;z=p+((c[A>>2]|0)+z+(c[f+8>>2]|0))|0;A=c[d+40>>2]|0;VGa(z|0,A|0,SGa(A|0)|0)|0;e=e+1|0;if((e|0)>=(m|0))break d}e=cu(11768,11744,1)|0;break a}while(0);if((c[d+8>>2]|0)>0){e=0;do{A=Ds(c[d+64>>2]|0,e)|0;z=p+(c[l+(m+6+e<<2)>>2]|0)|0;VGa(z|0,A|0,SGa(A|0)|0)|0;e=e+1|0}while((e|0)<(c[d+8>>2]|0))}A=p+(c[d+76>>2]|0)|0;e=c[d+44>>2]|0;VGa(A|0,e|0,SGa(e|0)|0)|0;VFa(j);VFa(l);e=0}while(0);i=x;return e|0}function Vo(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if(a){b=c[a>>2]|0;if(b){VFa(c[b>>2]|0);if((c[b+4>>2]|0)>0){d=0;do{c[e+4>>2]=Xr(c[b+12>>2]|0,d)|0;So(e+4|0);d=d+1|0}while((d|0)<(c[b+4>>2]|0))}Vr(b+12|0);VFa(c[b+16>>2]|0);VFa(c[b+20>>2]|0);VFa(c[b+24>>2]|0);VFa(c[b+28>>2]|0);VFa(c[b+32>>2]|0);VFa(c[b+36>>2]|0);VFa(c[b+40>>2]|0);VFa(c[b+44>>2]|0);if(c[b+48>>2]|0)Lr(b+48|0);if(c[b+52>>2]|0)Lr(b+52|0);if(c[b+56>>2]|0)Kl(b+56|0);if(c[b+60>>2]|0)zs(b+60|0);if(c[b+64>>2]|0)zs(b+64|0);if(c[b+68>>2]|0)$m(b+68|0);if(c[b+72>>2]|0)$m(b+72|0);VFa(b);c[a>>2]=0}}else{a=c[n>>2]|0;c[e>>2]=11088;zb(a|0,13744,e|0)|0}i=e;return}function Wo(a){a=a|0;var b=0;do if(a){if(Ap(a)|0){a=du(18416,13336,0)|0;break}a=Dp(a)|0;if((a|0)==8|(a|0)==32){Au(13296);b=Hu(13384)|0;Xn();a=Qo(b)|0;Fu(b);zu(b);break}else{a=du(13360,13336,0)|0;break}}else a=du(28232,13336,0)|0;while(0);return a|0}function Xo(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+48|0;c[j+28>>2]=0;c[j+16>>2]=0;c[j+12>>2]=0;a:do if(a){gp(a,j+8|0,j+32|0,j);b=Ap(a)|0;h=c[j>>2]|0;if((h|0)==2|(h|0)==4|(h|0)==16){b=qr(a,(b|0)!=0&1)|0;c[j+20>>2]=b;b=Ap(b)|0;d=Dp(c[j+20>>2]|0)|0;c[j>>2]=d}else{c[j+20>>2]=rp(a)|0;d=c[j>>2]|0}g=(d|0)==32;h=g?3:1;g=g?8:d;c[j+4>>2]=0;do if(b){Cm(b,3,j+4|0,j+16|0);b=c[j+16>>2]|0;if(!b){b=du(10688,13400,0)|0;break a}else{e=pn(b,(c[j+4>>2]|0)*3|0,j+12|0)|0;f=Em(c[j+16>>2]|0,c[j+4>>2]|0)|0;VFa(c[j+16>>2]|0);break}}else{e=0;f=0}while(0);pq(c[j+20>>2]|0,j+28|0,j+24|0);cp(j+20|0);d=Su()|0;if(!d){VFa(e);VFa(f);b=du(13424,13400,0)|0;break}VFa(c[j+28>>2]|0);b=WFa(1,64)|0;if(!b){b=du(10448,13400,0)|0;break}else{c[b+4>>2]=d;c[b>>2]=3;c[b+24>>2]=f;c[b+20>>2]=e;c[b+28>>2]=c[j+4>>2];c[b+32>>2]=c[j+8>>2];c[b+36>>2]=c[j+32>>2];c[b+40>>2]=g;c[b+44>>2]=h;c[b+60>>2]=Ip(a)|0;c[b+56>>2]=c[j+24>>2];break}}else b=du(28232,13400,0)|0;while(0);i=j;return b|0}function Yo(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+2080|0;if(!a)b=du(11568,11544,0)|0;else{d=(en(a)|0)+-1|0;b=vs(0)|0;c[e+8>>2]=b;c[e>>2]=d;wGa(e+24|0,2048,11592,e)|0;ws(b,e+24|0,1);if((d|0)>1){b=1;do{fn(a,b,e+16|0);c[e>>2]=c[e+16>>2];wGa(e+24|0,2048,11624,e)|0;ws(c[e+8>>2]|0,e+24|0,1);b=b+1|0}while((b|0)!=(d|0));b=c[e+8>>2]|0}fn(a,d,e+12|0);a=c[e+12>>2]|0;c[e>>2]=d;c[e+4>>2]=a;wGa(e+24|0,2048,11640,e)|0;ws(b,e+24|0,1);b=Es(b,0)|0;zs(e+8|0)}i=e;return b|0}function Zo(a,b){a=a|0;b=b|0;do if(!a)b=du(11728,11784,0)|0;else{if((b|0)>=0?(c[a+4>>2]|0)>(b|0):0){b=$r(c[a+12>>2]|0,b)|0;break}b=du(11800,11784,0)|0}while(0);return b|0}function _o(a,b,d){a=a|0;b=b|0;d=d|0;d=$o(a,b,d)|0;if(!d)d=du(25344,13448,0)|0;else YGa(c[d+48>>2]|0,0,ba(c[d+16>>2]<<2,c[d+4>>2]|0)|0)|0;return d|0}function $o(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;a=ap(a,b,d)|0;c[e>>2]=a;do if(a){d=UFa(ba(b<<2,bp(a)|0)|0)|0;if(!d){cp(e);a=du(13480,13464,0)|0;break}else{dp(a,d);cq(a);break}}else a=du(25344,13464,0)|0;while(0);i=e;return a|0}function ap(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;a:do switch(d|0){case 1:case 2:case 4:case 8:case 16:case 24:case 32:{if((a|0)<1){e=du(15176,13560,0)|0;break a}if((b|0)<1){e=du(15200,13560,0)|0;break a}f=((ba(d,a)|0)+31|0)/32|0;if((ba(b<<2,f)|0)<0){e=c[n>>2]|0;c[g>>2]=13560;c[g+4>>2]=a;c[g+8>>2]=b;c[g+12>>2]=d;zb(e|0,13616,g|0)|0;e=du(13664,13560,0)|0;break a}e=WFa(1,52)|0;if(!e){e=du(13688,13560,0)|0;break a}mp(e,a);np(e,b);op(e,d);pp(e,f);if((d|0)==24|(d|0)==32)qp(e,3);else qp(e,1);c[e+20>>2]=1;c[e+32>>2]=0;break}default:e=du(13576,13560,0)|0}while(0);i=g;return e|0}function bp(a){a=a|0;if(!a)a=cu(28008,14176,-1)|0;else a=c[a+16>>2]|0;return a|0}function cp(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if(a){b=c[a>>2]|0;if(b){sp(b,-1);if((Ep(b)|0)<1){d=vp(b)|0;if(d)VFa(d);VFa(Gp(b)|0);zp(b);VFa(b)}c[a>>2]=0}}else{a=c[n>>2]|0;c[e>>2]=13728;zb(a|0,13744,e|0)|0}i=e;return}function dp(a,b){a=a|0;b=b|0;if(!a)cu(28008,14552,1)|0;else c[a+48>>2]=b;return}function ep(a){a=a|0;do if(a){a=fp(a)|0;if(!a){a=du(25344,13512,0)|0;break}else{YGa(c[a+48>>2]|0,0,ba(c[a+16>>2]<<2,c[a+4>>2]|0)|0)|0;break}}else a=du(28232,13512,0)|0;while(0);return a|0}function fp(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;do if(a){gp(a,d+8|0,d+4|0,d);b=$o(c[d+8>>2]|0,c[d+4>>2]|0,c[d>>2]|0)|0;if(!b){b=du(25344,13536,0)|0;break}else{hp(b,a);ip(b,a);jp(b,a);kp(b,a);lp(b,a);break}}else b=du(28232,13536,0)|0;while(0);i=d;return b|0}function gp(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(b)c[b>>2]=0;if(d)c[d>>2]=0;if(e)c[e>>2]=0;if(a){if(b)c[b>>2]=c[a>>2];if(d)c[d>>2]=c[a+4>>2];if(e)c[e>>2]=c[a+8>>2]}else cu(28008,14080,1)|0;return}function hp(a,b){a=a|0;b=b|0;do if(a){if(!b){cu(28232,14160,1)|0;break}if((b|0)!=(a|0))qp(a,Hp(b)|0)}else cu(21592,14160,1)|0;while(0);return}function ip(a,b){a=a|0;b=b|0;do if(b){if(!a){cu(21592,14312,1)|0;break}if((b|0)!=(a|0)){Jp(a,Ip(b)|0);Lp(a,Kp(b)|0)}}else cu(28232,14312,1)|0;while(0);return}function jp(a,b){a=a|0;b=b|0;var c=0;do if(b){if(!a){cu(21592,13848,1)|0;break}if((b|0)!=(a|0)?(zp(a),c=Ap(b)|0,(c|0)!=0):0){c=lm(c)|0;if(!c){cu(13864,13848,1)|0;break}else{Bp(a,c);break}}}else cu(28232,13848,1)|0;while(0);return}function kp(a,b){a=a|0;b=b|0;do if(b){if(!a){cu(21592,14464,1)|0;break}if((b|0)!=(a|0))Fp(a,Gp(b)|0)}else cu(28232,14464,1)|0;while(0);return}function lp(a,b){a=a|0;b=b|0;do if(b){if(!a){cu(21592,14408,1)|0;break}if((b|0)!=(a|0))Op(a,Np(b)|0)}else cu(28232,14408,1)|0;while(0);return}function mp(a,b){a=a|0;b=b|0;do if(a)if((b|0)<0){c[a>>2]=0;cu(13960,13944,1)|0;break}else{c[a>>2]=b;break}else cu(28008,13944,1)|0;while(0);return}function np(a,b){a=a|0;b=b|0;do if(a)if((b|0)<0){c[a+4>>2]=0;cu(14016,14e3,1)|0;break}else{c[a+4>>2]=b;break}else cu(28008,14e3,1)|0;while(0);return}function op(a,b){a=a|0;b=b|0;do if(a)if((b|0)<1){cu(14064,14048,1)|0;break}else{c[a+8>>2]=b;break}else cu(28008,14048,1)|0;while(0);return}function pp(a,b){a=a|0;b=b|0;if(!a)cu(28008,14192,1)|0;else c[a+16>>2]=b;return}function qp(a,b){a=a|0;b=b|0;do if(a)if((b|0)<1){cu(14136,14120,1)|0;break}else{c[a+12>>2]=b;break}else cu(28008,14120,1)|0;while(0);return}function rp(a){a=a|0;if(!a)a=du(28232,13712,0)|0;else sp(a,1);return a|0}function sp(a,b){a=a|0;b=b|0;if(!a)cu(28008,14224,1)|0;else c[a+20>>2]=(c[a+20>>2]|0)+b;return}function tp(a,b){a=a|0;b=b|0;var c=0;do if(b)if((b|0)!=(a|0)){c=(bp(b)|0)<<2;c=ba(c,up(b)|0)|0;if(!a){a=ep(b)|0;if(!a){a=du(25344,13784,0)|0;break}else{b=vp(b)|0;VGa(vp(a)|0,b|0,c|0)|0;break}}else if((wp(a,b)|0)==1){a=du(13792,13784,0)|0;break}else{jp(a,b);hp(a,b);ip(a,b);lp(a,b);kp(a,b);b=vp(b)|0;VGa(vp(a)|0,b|0,c|0)|0;break}}else a=b;else a=du(28232,13784,0)|0;while(0);return a|0}function up(a){a=a|0;if(!a)a=cu(28008,13984,-1)|0;else a=c[a+4>>2]|0;return a|0}function vp(a){a=a|0;if(!a)a=du(28008,14536,0)|0;else a=c[a+48>>2]|0;return a|0}function wp(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;do if(b){if(!a){b=cu(21592,13824,1)|0;break}if(!(xp(b,a)|0)){gp(b,d+8|0,d+4|0,d);b=bp(b)|0;mp(a,c[d+8>>2]|0);np(a,c[d+4>>2]|0);op(a,c[d>>2]|0);pp(a,b);b=ba(b<<2,c[d+4>>2]|0)|0;yp(a);b=UFa(b)|0;if(!b){b=cu(13480,13824,1)|0;break}else{dp(a,b);b=0;break}}else b=0}else b=cu(28232,13824,1)|0;while(0);i=d;return b|0}function xp(a,b){a=a|0;b=b|0;var c=0;if((a|0)!=0&(b|0)!=0)if((a|0)!=(b|0)){c=Cp(a)|0;if((c|0)==(Cp(b)|0)?(c=up(a)|0,(c|0)==(up(b)|0)):0){c=Dp(a)|0;return (c|0)==(Dp(b)|0)|0}else a=0}else a=1;else a=cu(13896,13880,0)|0;return a|0}function yp(a){a=a|0;var b=0;if(a){b=vp(a)|0;if(b){VFa(b);c[a+48>>2]=0}}else cu(28008,14568,1)|0;return}function zp(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;if(a){d=c[a+44>>2]|0;c[b>>2]=d;if(d){mm(b);c[a+44>>2]=0}}else cu(28008,14512,1)|0;i=b;return}function Ap(a){a=a|0;if(!a)a=du(28008,14480,0)|0;else a=c[a+44>>2]|0;return a|0}function Bp(a,b){a=a|0;b=b|0;if(!a)cu(28008,14496,1)|0;else{zp(a);c[a+44>>2]=b}return}function Cp(a){a=a|0;if(!a)a=cu(28008,13928,-1)|0;else a=c[a>>2]|0;return a|0}function Dp(a){a=a|0;if(!a)a=cu(28008,14032,-1)|0;else a=c[a+8>>2]|0;return a|0}function Ep(a){a=a|0;if(!a)a=cu(28008,14208,-1)|0;else a=c[a+20>>2]|0;return a|0}function Fp(a,b){a=a|0;b=b|0;if(!a)cu(28008,14448,1)|0;else gu(a+40|0,b);return}function Gp(a){a=a|0;if(!a)a=du(28008,14432,0)|0;else a=c[a+40>>2]|0;return a|0}function Hp(a){a=a|0;if(!a)a=cu(28008,14104,-1)|0;else a=c[a+12>>2]|0;return a|0}function Ip(a){a=a|0;if(!a)a=cu(28008,14248,0)|0;else a=c[a+24>>2]|0;return a|0}function Jp(a,b){a=a|0;b=b|0;if(!a)cu(28008,14264,1)|0;else c[a+24>>2]=b;return}function Kp(a){a=a|0;if(!a)a=cu(28008,14280,0)|0;else a=c[a+28>>2]|0;return a|0}function Lp(a,b){a=a|0;b=b|0;if(!a)cu(28008,14296,1)|0;else c[a+28>>2]=b;return}function Mp(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0;if(a){e=c[a+24>>2]|0;if((e|0)!=0?(f=c[a+28>>2]|0,(f|0)!=0):0){c[a+24>>2]=~~(+(e|0)*b+.5)>>>0;c[a+28>>2]=~~(+(f|0)*d+.5)>>>0}}else cu(28008,14336,1)|0;return}function Np(a){a=a|0;if(!a)a=cu(28008,14360,-1)|0;else a=c[a+32>>2]|0;return a|0}function Op(a,b){a=a|0;b=b|0;if(!a)cu(28008,14384,1)|0;else c[a+32>>2]=b;return}function Pp(a){a=a|0;var b=0,d=0,e=0,f=0;do if(a){e=up(a)|0;b=WFa(e,4)|0;if(!b){b=du(14600,14584,0)|0;break}f=bp(a)|0;a=vp(a)|0;if((e|0)>0){d=0;do{c[b+(d<<2)>>2]=a+((ba(d,f)|0)<<2);d=d+1|0}while((d|0)!=(e|0))}}else b=du(28008,14584,0)|0;while(0);return b|0}function Qp(a,b,f,g){a=a|0;b=b|0;f=f|0;g=g|0;var h=0,j=0,k=0;j=i;i=i+16|0;a:do if(!g)cu(19328,14616,1)|0;else{c[g>>2]=0;if(!a){cu(28008,14616,1)|0;break}gp(a,j+8|0,j+4|0,j);if(!((b|0)>-1?(c[j+8>>2]|0)>(b|0):0)){cu(14632,14616,1)|0;break}if(!((f|0)>-1?(c[j+4>>2]|0)>(f|0):0)){cu(14648,14616,1)|0;break}k=bp(a)|0;h=vp(a)|0;a=ba(k,f)|0;switch(c[j>>2]|0){case 32:{a=c[h+(a+b<<2)>>2]|0;break}case 8:{a=d[(h+(a<<2)+b^3)>>0]|0;break}case 1:{a=(c[h+(a+(b>>5)<<2)>>2]|0)>>>(b&31^31)&1;break}case 16:{a=e[(h+(a<<2)+(b<<1)^2)>>1]|0;break}case 4:{a=(c[h+(a+(b>>3)<<2)>>2]|0)>>>(b<<2&28^28)&15;break}case 2:{a=(c[h+(a+(b>>4)<<2)>>2]|0)>>>(b<<1&30^30)&3;break}default:{cu(14664,14616,1)|0;break a}}c[g>>2]=a}while(0);i=j;return}function Rp(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;j=i;i=i+16|0;a:do if(!d)cu(28008,14704,1)|0;else{gp(d,j+8|0,j+4|0,j);if(!((e|0)>-1?(c[j+8>>2]|0)>(e|0):0)){cu(14632,14704,1)|0;break}if(!((f|0)>-1?(c[j+4>>2]|0)>(f|0):0)){cu(14648,14704,1)|0;break}h=vp(d)|0;d=ba(bp(d)|0,f)|0;switch(c[j>>2]|0){case 16:{b[(h+(d<<2)+(e<<1)^2)>>1]=g;break a}case 8:{a[(h+(d<<2)+e^3)>>0]=g;break a}case 1:if(!g){c[h+(d+(e>>5)<<2)>>2]=c[h+(d+(e>>5)<<2)>>2]&~(-2147483648>>>(e&31));break a}else{c[h+(d+(e>>5)<<2)>>2]=c[h+(d+(e>>5)<<2)>>2]|-2147483648>>>(e&31);break a}case 4:{c[h+(d+(e>>3)<<2)>>2]=c[h+(d+(e>>3)<<2)>>2]&~(-268435456>>>(e<<2&28))|(g&15)<<28-(e<<2&28);break a}case 2:{c[h+(d+(e>>4)<<2)>>2]=c[h+(d+(e>>4)<<2)>>2]&~(-1073741824>>>(e<<1&30))|(g&3)<<30-(e<<1&30);break a}case 32:{c[h+(d+e<<2)>>2]=g;break a}default:{cu(14664,14704,1)|0;break a}}}while(0);i=j;return}function Sp(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(!e)cu(15648,15632,1)|0;else c[e>>2]=b<<16|a<<24|d<<8;return}function Tp(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;h=i;i=i+16|0;a:do if(!d)cu(28008,14720,1)|0;else{gp(d,h+8|0,h+4|0,h);if(!((e|0)>-1?(c[h+8>>2]|0)>(e|0):0)){cu(14632,14720,1)|0;break}if(!((f|0)>-1?(c[h+4>>2]|0)>(f|0):0)){cu(14648,14720,1)|0;break}j=bp(d)|0;g=vp(d)|0;d=ba(j,f)|0;switch(c[h>>2]|0){case 32:{c[g+(d+e<<2)>>2]=0;break a}case 1:{c[g+(d+(e>>5)<<2)>>2]=c[g+(d+(e>>5)<<2)>>2]&~(-2147483648>>>(e&31));break a}case 16:{b[(g+(d<<2)+(e<<1)^2)>>1]=0;break a}case 8:{a[(g+(d<<2)+e^3)>>0]=0;break a}case 2:{c[g+(d+(e>>4)<<2)>>2]=c[g+(d+(e>>4)<<2)>>2]&~(-1073741824>>>(e<<1&30));break a}case 4:{c[g+(d+(e>>3)<<2)>>2]=c[g+(d+(e>>3)<<2)>>2]&~(-268435456>>>(e<<2&28));break a}default:{cu(14664,14720,1)|0;break a}}}while(0);i=h;return}function Up(f,g,h){f=f|0;g=g|0;h=h|0;var j=0,k=0;k=i;i=i+16|0;a:do if(!f)cu(28008,14736,1)|0;else{gp(f,k+8|0,k+4|0,k);if(!((g|0)>-1?(c[k+8>>2]|0)>(g|0):0)){cu(14632,14736,1)|0;break}if(!((h|0)>-1?(c[k+4>>2]|0)>(h|0):0)){cu(14648,14736,1)|0;break}j=vp(f)|0;f=ba(bp(f)|0,h)|0;switch(c[k>>2]|0){case 4:{h=c[j+(f+(g>>3)<<2)>>2]|0;c[j+(f+(g>>3)<<2)>>2]=(h>>>(g<<2&28^28)&15^15)<<28-(g<<2&28)|h&~(-268435456>>>(g<<2&28));break a}case 8:{a[(j+(f<<2)+g^3)>>0]=(d[(j+(f<<2)+g^3)>>0]|0)^255;break a}case 16:{b[(j+(f<<2)+(g<<1)^2)>>1]=(e[(j+(f<<2)+(g<<1)^2)>>1]|0)^65535;break a}case 1:{h=c[j+(f+(g>>5)<<2)>>2]|0;if(!(h&1<<(g&31^31))){c[j+(f+(g>>5)<<2)>>2]=h|-2147483648>>>(g&31);break a}else{c[j+(f+(g>>5)<<2)>>2]=h&~(-2147483648>>>(g&31));break a}}case 32:{c[j+(f+g<<2)>>2]=~c[j+(f+g<<2)>>2];break a}case 2:{h=c[j+(f+(g>>4)<<2)>>2]|0;c[j+(f+(g>>4)<<2)>>2]=(h>>>(g<<1&30^30)&3^3)<<30-(g<<1&30)|h&~(-1073741824>>>(g<<1&30));break a}default:{cu(14664,14736,1)|0;break a}}}while(0);i=k;return}function Vp(a){a=a|0;var b=0;if(!a)cu(28008,14752,1)|0;else{b=Cp(a)|0;fs(a,0,0,b,up(a)|0,0,0,0,0)}return}function Wp(a){a=a|0;var b=0,d=0;do if(!a)cu(28008,14768,1)|0;else{b=Ap(a)|0;if((b|0)!=0?(d=qm(b)|0,(d|0)<(c[b+8>>2]|0)):0){cu(14784,14768,1)|0;break}d=Cp(a)|0;fs(a,0,0,d,up(a)|0,30,0,0,0)}while(0);return}function Xp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;if(a){d=Ap(a)|0;if((d|0)!=0?(e=qm(d)|0,e>>>0<=b>>>0):0){b=c[n>>2]|0;c[k>>2]=14816;zb(b|0,14840,k|0)|0;b=e+-1|0}gp(a,k+12|0,k+8|0,k+4|0);e=c[k+4>>2]|0;if((e|0)==32)d=-256;else d=(1<>>0>d>>>0){b=c[n>>2]|0;c[k>>2]=14816;zb(b|0,14896,k|0)|0;b=d;e=c[k+4>>2]|0}f=32/(e|0)|0;if((f|0)>0){g=0;d=0;do{d=b<<(ba(e,g)|0)|d;g=g+1|0}while((g|0)!=(f|0));j=d}else j=0;h=bp(a)|0;b=vp(a)|0;d=c[k+8>>2]|0;if((d|0)>0){g=0;do{f=ba(g,h)|0;if((h|0)>0){e=0;do{c[b+(e+f<<2)>>2]=j;e=e+1|0}while((e|0)!=(h|0));d=c[k+8>>2]|0}g=g+1|0}while((g|0)<(d|0))}}else cu(28008,14816,1)|0;i=k;return}function Yp(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;do if(b){if(Ap(b)|0){e=mq(b,d)|0;break}if((Dp(b)|0)!=32){e=du(17928,15424,0)|0;break}if(d>>>0>3){e=du(15448,15424,0)|0;break}gp(b,o+4|0,o,0);e=_o(c[o+4>>2]|0,c[o>>2]|0,8)|0;if(!e){e=du(25344,15424,0)|0;break}ip(e,b);m=bp(b)|0;n=bp(e)|0;k=vp(b)|0;l=vp(e)|0;b=c[o>>2]|0;if((b|0)>0){f=c[o+4>>2]|0;j=0;do{h=ba(j,m)|0;if((f|0)>0){b=l+((ba(j,n)|0)<<2)|0;g=0;do{a[(b+g^3)>>0]=a[(k+(g+h<<2)+d^3)>>0]|0;g=g+1|0;f=c[o+4>>2]|0}while((g|0)<(f|0));b=c[o>>2]|0}j=j+1|0}while((j|0)<(b|0))}}else e=du(28232,15424,0)|0;while(0);i=o;return e|0}function Zp(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,o=0,p=0,q=0;q=i;i=i+32|0;do if(b){if(!d){cu(28232,15464,1)|0;break}if((Dp(b)|0)!=32){cu(24376,15464,1)|0;break}if((Dp(d)|0)!=8){cu(17536,15464,1)|0;break}if(e>>>0>3){cu(15448,15464,1)|0;break}gp(d,q+16|0,q+12|0,0);gp(b,q+8|0,q+4|0,0);f=c[q+16>>2]|0;if((f|0)==(c[q+8>>2]|0)?(g=c[q+12>>2]|0,(g|0)==(c[q+4>>2]|0)):0){j=f;h=f;f=g}else{j=c[n>>2]|0;c[q>>2]=15464;zb(j|0,15488,q|0)|0;j=c[q+16>>2]|0;h=c[q+8>>2]|0;f=c[q+12>>2]|0;g=c[q+4>>2]|0}if((e|0)==3)qp(b,4);o=vp(d)|0;p=vp(b)|0;m=bp(d)|0;k=bp(b)|0;if((((f|0)<(g|0)?f:g)|0)>0){l=(((j|0)<(h|0)?j:h)|0)>0;d=~j;j=~h;j=~((d|0)>(j|0)?d:j);h=~f;d=~g;d=~((h|0)>(d|0)?h:d);h=0;do{g=ba(h,k)|0;if(l){f=o+((ba(h,m)|0)<<2)|0;b=0;do{a[(p+(b+g<<2)+e^3)>>0]=a[(f+b^3)>>0]|0;b=b+1|0}while((b|0)!=(j|0))}h=h+1|0}while((h|0)!=(d|0))}}else cu(21592,15464,1)|0;while(0);i=q;return}function _p(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;do if(a){b=Ap(a)|0;d=Dp(a)|0;if(b){tm(b,e);Xp(a,c[e>>2]|0);break}if((d|0)>1){Wp(a);break}else{Vp(a);break}}else cu(28008,14952,1)|0;while(0);i=e;return}function $p(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;do if(a)if(!b){cu(16856,14976,1)|0;break}else{Ml(b,d+12|0,d+8|0,d+4|0,d);fs(a,c[d+12>>2]|0,c[d+8>>2]|0,c[d+4>>2]|0,c[d>>2]|0,0,0,0,0);break}else cu(28008,14976,1)|0;while(0);i=d;return}function aq(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;do if(!a)cu(28008,14992,1)|0;else{if(!b){cu(16856,14992,1)|0;break}d=Ap(a)|0;if((d|0)!=0?(f=qm(d)|0,(f|0)<(c[d+8>>2]|0)):0){cu(14784,14992,1)|0;break}Ml(b,e+12|0,e+8|0,e+4|0,e);fs(a,c[e+12>>2]|0,c[e+8>>2]|0,c[e+4>>2]|0,c[e>>2]|0,30,0,0,0)}while(0);i=e;return}function bq(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(b)c[b>>2]=a>>>24;if(d)c[d>>2]=a>>>16&255;if(e)c[e>>2]=a>>>8&255;return}function cq(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;if(a){gp(a,g+8|0,g+4|0,g);if(((c[g>>2]|0)!=32?(d=vp(a)|0,e=bp(a)|0,f=ba(c[g>>2]|0,c[g+8>>2]|0)|0,((f|0)%32|0|0)!=0):0)?(b=~c[21680+(32-((f|0)%32|0)<<2)>>2],(c[g+4>>2]|0)>0):0){a=0;do{h=d+((ba(a,e)|0)+((f|0)/32|0)<<2)|0;c[h>>2]=c[h>>2]&b;a=a+1|0}while((a|0)<(c[g+4>>2]|0))}}else cu(28008,15040,1)|0;i=g;return}function dq(a){a=a|0;var b=0;b=i;i=i+16|0;if(!a)cu(28232,15056,1)|0;else{gp(a,b+4|0,b,0);fs(a,0,0,1,c[b>>2]|0,30,0,0,0);fs(a,(c[b+4>>2]|0)+-1|0,0,1,c[b>>2]|0,30,0,0,0);fs(a,0,0,c[b+4>>2]|0,1,30,0,0,0);fs(a,0,(c[b>>2]|0)+-1|0,c[b+4>>2]|0,1,30,0,0,0)}i=b;return}function eq(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+16|0;do if(a){g=fp(a)|0;if(!g){g=du(25344,15080,0)|0;break}else{gp(a,h+4|0,h,0);fs(g,0,0,b,c[h>>2]|0,24,a,0,0);b=(c[h+4>>2]|0)-d|0;fs(g,b,0,d,c[h>>2]|0,24,a,b,0);fs(g,0,0,c[h+4>>2]|0,e,24,a,0,0);e=(c[h>>2]|0)-f|0;fs(g,0,e,c[h+4>>2]|0,f,24,a,0,e);break}}else g=du(28232,15080,0)|0;while(0);i=h;return g|0}function fq(a){a=a|0;if(!a)a=du(28232,15096,0)|0;else a=gq(a)|0;return a|0}function gq(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;do if(a){gp(a,f+8|0,f+4|0,f);d=c[f+8>>2]|0;e=c[f+4>>2]|0;b=$o(d+64|0,e+64|0,c[f>>2]|0)|0;if(!b){b=du(25344,15112,0)|0;break}else{ip(b,a);jp(b,a);fs(b,0,0,32,e+64|0,0,0,0,0);fs(b,d+32|0,0,32,e+64|0,0,0,0,0);fs(b,0,0,d+64|0,32,0,0,0,0);fs(b,0,e+32|0,d+64|0,32,0,0,0,0);fs(b,32,32,c[f+8>>2]|0,c[f+4>>2]|0,24,a,0,0);break}}else b=du(28232,15112,0)|0;while(0);i=f;return b|0}function hq(a){a=a|0;if(!a)a=du(28232,15136,0)|0;else a=iq(a)|0;return a|0}function iq(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;do if(a){gp(a,f+8|0,f+4|0,f);d=(c[f+8>>2]|0)+-64|0;e=(c[f+4>>2]|0)+-64|0;if((d|0)<1){b=du(15176,15152,0)|0;break}if((e|0)<1){b=du(15200,15152,0)|0;break}b=$o(d,e,c[f>>2]|0)|0;if(!b){b=du(25344,15152,0)|0;break}ip(b,a);hp(b,a);jp(b,a);fs(b,0,0,d,e,24,a,32,32);if((Dp(a)|0)==32?(Hp(a)|0)==4:0)jq(b,a)}else b=du(28232,15152,0)|0;while(0);i=f;return b|0}function jq(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+16|0;do if((b|0)!=0&(a|0)!=0){if((Dp(b)|0)==32?(Hp(b)|0)==4:0)if((Dp(a)|0)==32){e=Yp(b,3)|0;c[d+4>>2]=e;gp(a,d+12|0,d+8|0,0);b=_o(c[d+12>>2]|0,c[d+8>>2]|0,8)|0;c[d>>2]=b;fs(b,0,0,c[d+12>>2]|0,c[d+8>>2]|0,24,e,32,32);Zp(a,b,3);cp(d+4|0);cp(d);break}else{cu(24376,15224,1)|0;break}cu(24344,15224,1)|0}else cu(24312,15224,1)|0;while(0);i=d;return}function kq(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,o=0,p=0,q=0,r=0;r=i;i=i+32|0;if((b|0)==0?(Dp(0)|0)!=32:0)cu(17288,15608,1)|0;else e=4;do if((e|0)==4){if((d|0)==0?(Dp(0)|0)!=32:0){cu(15008,15608,1)|0;break}gp(d,r+16|0,r+12|0,0);gp(b,r+8|0,r+4|0,0);e=c[r+16>>2]|0;if((e|0)==(c[r+8>>2]|0)?(f=c[r+12>>2]|0,(f|0)==(c[r+4>>2]|0)):0){k=f;h=f;g=e;f=e}else{k=c[n>>2]|0;c[r>>2]=15608;zb(k|0,15488,r|0)|0;k=c[r+12>>2]|0;h=c[r+4>>2]|0;g=c[r+16>>2]|0;f=c[r+8>>2]|0}qp(b,4);p=bp(d)|0;q=bp(b)|0;o=vp(d)|0;l=vp(b)|0;if((((k|0)<(h|0)?k:h)|0)>0){m=(((g|0)<(f|0)?g:f)|0)>0;g=~g;j=~f;j=~((g|0)>(j|0)?g:j);g=~k;f=~h;f=~((g|0)>(f|0)?g:f);g=0;do{e=ba(g,p)|0;b=ba(g,q)|0;if(m){d=0;do{a[(l+(d+b<<2)+3^3)>>0]=a[(o+(d+e<<2)+3^3)>>0]|0;d=d+1|0}while((d|0)!=(j|0))}g=g+1|0}while((g|0)!=(f|0))}}while(0);i=r;return}function lq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+48|0;do if(a){if(!b){e=du(15304,15256,0)|0;break}if(!d){e=du(15328,15256,0)|0;break}gp(a,g+28|0,g+8|0,g+12|0);gp(b,g+16|0,g+32|0,g+24|0);gp(d,g+4|0,g,g+20|0);if(((c[g+12>>2]|0)!=8?1:(c[g+24>>2]|0)!=8)|(c[g+20>>2]|0)!=8){e=du(15352,15256,0)|0;break}e=c[g+28>>2]|0;if(!((e|0)==(c[g+16>>2]|0)?(e|0)==(c[g+4>>2]|0):0)){e=du(15376,15256,0)|0;break}f=c[g+8>>2]|0;if(!((f|0)==(c[g>>2]|0)?(f|0)==(c[g+32>>2]|0):0)){e=du(15400,15256,0)|0;break}e=_o(e,f,32)|0;if(!e){e=du(25344,15256,0)|0;break}else{ip(e,a);Zp(e,a,0);Zp(e,b,1);Zp(e,d,2);break}}else e=du(15280,15256,0)|0;while(0);i=g;return e|0}function mq(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;do if(!b)f=du(28232,15528,0)|0;else{h=Ap(b)|0;if(!h){f=du(15552,15528,0)|0;break}if((e|0)==3){f=du(15576,15528,0)|0;break}if(e>>>0>2){f=du(15448,15528,0)|0;break}if((Dp(b)|0)==8)g=rp(b)|0;else g=qr(b,1)|0;c[p>>2]=g;gp(b,p+8|0,p+4|0,0);f=$o(c[p+8>>2]|0,c[p+4>>2]|0,8)|0;if(!f){f=du(25344,15528,0)|0;break}ip(f,b);n=bp(g)|0;o=bp(f)|0;l=vp(g)|0;m=vp(f)|0;g=c[h>>2]|0;if((c[p+4>>2]|0)>0){k=0;do{b=l+((ba(k,n)|0)<<2)|0;j=m+((ba(k,o)|0)<<2)|0;if((e|0)==1){if((c[p+8>>2]|0)>0){h=0;do{a[(j+h^3)>>0]=a[g+((d[(b+h^3)>>0]|0)<<2)+1>>0]|0;h=h+1|0}while((h|0)<(c[p+8>>2]|0))}}else if((e|0)==2){if((c[p+8>>2]|0)>0){h=0;do{a[(j+h^3)>>0]=a[g+((d[(b+h^3)>>0]|0)<<2)>>0]|0;h=h+1|0}while((h|0)<(c[p+8>>2]|0))}}else if((e|0)==0?(c[p+8>>2]|0)>0:0){h=0;do{a[(j+h^3)>>0]=a[g+((d[(b+h^3)>>0]|0)<<2)+2>>0]|0;h=h+1|0}while((h|0)<(c[p+8>>2]|0))}k=k+1|0}while((k|0)<(c[p+4>>2]|0))}cp(p)}while(0);i=p;return f|0}function nq(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;if(!f)cu(15648,15672,1)|0;else c[f>>2]=b<<16|a<<24|d<<8|e;return}function oq(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;if(a){b=vp(a)|0;g=bp(a)|0;f=up(a)|0;if((f|0)>0){e=0;do{if((g|0)>0){a=b;d=0;while(1){c[a>>2]=XGa(c[a>>2]|0)|0;d=d+1|0;if((d|0)==(g|0))break;else a=a+4|0}b=b+(g<<2)|0}e=e+1|0}while((e|0)!=(f|0))}}else cu(28232,15696,1)|0;return}function pq(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;s=i;i=i+16|0;if(e)c[e>>2]=0;a:do if((f|0)!=0?(c[f>>2]=0,(e|0)!=0):0){if(!d){cu(28232,15720,1)|0;break}gp(d,s+8|0,s+4|0,s);switch(c[s>>2]|0){case 1:case 2:case 4:case 8:case 16:case 32:break;default:{cu(24208,15720,1)|0;break a}}q=vp(d)|0;o=bp(d)|0;p=c[s>>2]|0;do if((p|0)==1){m=c[s+8>>2]|0;n=m;m=(m+7|0)/8|0}else if((p|0)==2){m=c[s+8>>2]|0;n=m;m=(m+3|0)/4|0}else if((p|0)!=4){d=c[s+8>>2]|0;if((p|0)==8|(p|0)==16){n=d;m=ba((p|0)/8|0,d)|0;break}else{n=d;m=d*3|0;break}}else{m=c[s+8>>2]|0;n=m;m=(m+1|0)/2|0}while(0);k=c[s+4>>2]|0;d=ba(k,m)|0;l=WFa(d,1)|0;if(!l){cu(25008,15720,1)|0;break}c[e>>2]=l;c[f>>2]=d;if((k|0)>0){e=(m|0)>0;d=(n|0)>0;j=0;do{g=ba(j,o)|0;h=ba(j,m)|0;b:do if((p|0)<9){if(e){f=0;do{a[l+(f+h)>>0]=a[(q+(g<<2)+f^3)>>0]|0;f=f+1|0}while((f|0)!=(m|0))}}else{if((p|0)!=16){if(d)f=0;else break;while(1){u=c[q+(f+g<<2)>>2]|0;t=(f*3|0)+h|0;a[l+t>>0]=u>>>24;a[l+(t+1)>>0]=u>>>16;a[l+(t+2)>>0]=u>>>8;f=f+1|0;if((f|0)==(n|0))break b}}if(d){f=0;do{a[l+((f<<1)+h)>>0]=b[(q+(g<<2)+(f<<1)^2)>>1];f=f+1|0}while((f|0)!=(n|0))}}while(0);j=j+1|0}while((j|0)!=(k|0))}}else r=5;while(0);if((r|0)==5)cu(25664,15720,1)|0;i=s;return}function qq(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;u=i;i=i+48|0;a:do if(d){if(!e){t=c[n>>2]|0;c[u>>2]=15744;zb(t|0,15760,u|0)|0;break}if(Ap(d)|0){bq(f,u+4|0,u+28|0,u+32|0);Ho(d,e,c[u+4>>2]|0,c[u+28>>2]|0,c[u+32>>2]|0)|0;break}if((Dp(e)|0)!=1){cu(15800,15744,1)|0;break}g=Dp(d)|0;c[u+8>>2]=g;switch(g|0){case 32:break;case 16:{f=f&65535;break}case 2:{f=f&3;break}case 1:{gp(e,u+12|0,u+20|0,0);if(!(f&1)){t=rq(0,e)|0;c[u+36>>2]=t;fs(d,0,0,c[u+12>>2]|0,c[u+20>>2]|0,16,t,0,0);cp(u+36|0);break a}else{fs(d,0,0,c[u+12>>2]|0,c[u+20>>2]|0,28,e,0,0);break a}}case 4:{f=f&15;break}case 8:{f=f&255;break}default:{cu(15816,15744,1)|0;break a}}gp(e,u+12|0,u+20|0,0);if((g|0)<32&(f|0)==0){t=ir(e,g,1)|0;c[u+40>>2]=t;fs(d,0,0,c[u+12>>2]|0,c[u+20>>2]|0,16,t,0,0);cp(u+40|0);break}if((g|0)<32?(f|0)==((1<>2]=t;fs(d,0,0,c[u+12>>2]|0,c[u+20>>2]|0,28,t,0,0);cp(u+44|0);break}gp(d,u+24|0,u+16|0,u+8|0);o=c[u+24>>2]|0;p=c[u+12>>2]|0;q=(o|0)<(p|0)?o:p;s=c[u+16>>2]|0;t=c[u+20>>2]|0;r=(s|0)<(t|0)?s:t;if(!((((o-p|0)<0?0-(o-p)|0:o-p|0)|0)<=7?(((s-t|0)<0?0-(s-t)|0:s-t|0)|0)<=7:0)){t=c[n>>2]|0;c[u>>2]=15744;zb(t|0,15856,u|0)|0}s=vp(d)|0;t=vp(e)|0;p=bp(d)|0;e=bp(e)|0;if((r|0)>0){d=f&3;g=f&15;h=f&255;j=f&65535;m=0;b:while(1){k=ba(m,p)|0;l=ba(m,e)|0;if((q|0)>0){o=0;do{c:do if(c[t+((o>>5)+l<<2)>>2]&1<<(o&31^31))switch(c[u+8>>2]|0){case 32:{c[s+(o+k<<2)>>2]=f;break c}case 8:{a[(s+(k<<2)+o^3)>>0]=h;break c}case 2:{v=s+((o>>4)+k<<2)|0;w=o<<1&30;c[v>>2]=c[v>>2]&~(-1073741824>>>w)|d<<30-w;break c}case 4:{w=s+((o>>3)+k<<2)|0;v=o<<2&28;c[w>>2]=c[w>>2]&~(-268435456>>>v)|g<<28-v;break c}case 16:{b[(s+(k<<2)+(o<<1)^2)>>1]=j;break c}default:break b}while(0);o=o+1|0}while((o|0)<(q|0))}m=m+1|0;if((m|0)>=(r|0))break a}cu(15904,15744,1)|0}}else cu(21592,15744,1)|0;while(0);i=u;return}function rq(a,b){a=a|0;b=b|0;do if(b){a=tp(a,b)|0;if(!a){a=du(25344,15928,0)|0;break}else{b=Cp(a)|0;fs(a,0,0,b,up(a)|0,10,0,0,0);break}}else a=du(28232,15928,0)|0;while(0);return a|0}function sq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;do if(b){if(!c){a=du(15976,16056,a)|0;break}if((a|0)==(c|0)){a=du(16e3,16056,a)|0;break}d=Dp(b)|0;if((d|0)!=(Dp(c)|0)){a=du(16032,16056,a)|0;break}a=tp(a,b)|0;if(!a){a=du(25344,16056,0)|0;break}else{d=Cp(a)|0;fs(a,0,0,d,up(a)|0,16,c,0,0);break}}else a=du(15952,16056,a)|0;while(0);return a|0}function tq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;do if(b){if(!c){du(15976,16064,a)|0;break}if((a|0)==(c|0)){du(16e3,16064,a)|0;break}d=Dp(b)|0;if((d|0)!=(Dp(c)|0)){du(16032,16064,a)|0;break}a=tp(a,b)|0;if(!a){du(25344,16064,0)|0;break}else{d=Cp(a)|0;fs(a,0,0,d,up(a)|0,12,c,0,0);break}}else du(15952,16064,a)|0;while(0);return}function uq(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:do if(b){c[b>>2]=1;if(!a){cu(28008,16088,1)|0;break}h=Cp(a)|0;h=ba(Dp(a)|0,h)|0;i=up(a)|0;j=bp(a)|0;f=vp(a)|0;if(!(h&31))e=0;else e=-1<<32-(h&31);if((i|0)>0){g=0;b:while(1){a=f+((ba(g,j)|0)<<2)|0;if((h|0)>31){d=0;do{if(c[a>>2]|0){a=11;break b}a=a+4|0;d=d+1|0}while((d|0)<((h|0)/32|0|0))}if((h&31|0)!=0?(c[a>>2]&e|0)!=0:0){a=15;break}g=g+1|0;if((g|0)>=(i|0))break a}if((a|0)==11){c[b>>2]=0;break}else if((a|0)==15){c[b>>2]=0;break}}}else cu(16096,16088,1)|0;while(0);return}function vq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;do if(b){if(!c){du(15976,15944,a)|0;break}if((a|0)==(c|0)){du(16e3,15944,a)|0;break}d=Dp(b)|0;if((d|0)!=(Dp(c)|0)){du(16032,15944,a)|0;break}a=tp(a,b)|0;if(!a){du(25344,15944,0)|0;break}else{d=Cp(a)|0;fs(a,0,0,d,up(a)|0,28,c,0,0);break}}else du(15952,15944,a)|0;while(0);return}function wq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;do if(b){if(!d){a=du(15976,16072,a)|0;break}f=Dp(b)|0;if((f|0)!=(Dp(d)|0)){a=du(16032,16072,a)|0;break}gp(b,e+4|0,e,0);if(!a){a=tp(0,b)|0;fs(a,0,0,c[e+4>>2]|0,c[e>>2]|0,4,d,0,0);break}if((a|0)==(b|0)){fs(b,0,0,c[e+4>>2]|0,c[e>>2]|0,4,d,0,0);a=b;break}if((a|0)==(d|0)){fs(a,0,0,c[e+4>>2]|0,c[e>>2]|0,8,b,0,0);break}else{tp(a,b)|0;fs(a,0,0,c[e+4>>2]|0,c[e>>2]|0,4,d,0,0);break}}else a=du(15952,16072,a)|0;while(0);i=e;return a|0}function xq(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;do if(!b)cu(16144,16120,1)|0;else{g[b>>2]=0.0;if((a|0)!=0?(Dp(a)|0)==1:0){yq(a,d);gp(a,d+8|0,d+4|0,0);g[b>>2]=+(c[d>>2]|0)/+(ba(c[d+4>>2]|0,c[d+8>>2]|0)|0);break}cu(16168,16120,1)|0}while(0);i=d;return}function yq(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;do if(!b)cu(20992,16200,1)|0;else{c[b>>2]=0;if((a|0)!=0?(Dp(a)|0)==1:0){n=zq()|0;gp(a,o+4|0,o,0);m=bp(a)|0;a=vp(a)|0;k=c[o+4>>2]|0;if(!(k&31))j=0;else j=-1<<32-(k&31);h=c[o>>2]|0;if((h|0)>0){f=a;g=0;a=0;while(1){if((k>>5|0)>0){e=0;do{d=c[f+(e<<2)>>2]|0;if(d)a=(c[n+((d&255)<<2)>>2]|0)+a+(c[n+((d>>>8&255)<<2)>>2]|0)+(c[n+((d>>>16&255)<<2)>>2]|0)+(c[n+(d>>>24<<2)>>2]|0)|0;e=e+1|0}while((e|0)!=(k>>5|0));d=k>>5}else d=0;if((k&31|0)!=0?(l=c[f+(d<<2)>>2]&j,(l|0)!=0):0)a=(c[n+((l&255)<<2)>>2]|0)+a+(c[n+((l>>>8&255)<<2)>>2]|0)+(c[n+((l>>>16&255)<<2)>>2]|0)+(c[n+(l>>>24<<2)>>2]|0)|0;g=g+1|0;if((g|0)==(h|0))break;else f=f+(m<<2)|0}}else a=0;c[b>>2]=a;VFa(n);break}cu(16168,16200,1)|0}while(0);i=o;return}function zq(){var a=0,b=0;a=WFa(256,4)|0;if(!a)a=du(18040,16320,0)|0;else{b=0;do{c[a+(b<<2)>>2]=(b>>>1&1)+(b&1)+(b>>>2&1)+(b>>>3&1)+(b>>>4&1)+(b>>>5&1)+(b>>>6&1)+(b>>>7&1);b=b+1|0}while((b|0)!=256)}return a|0}function Aq(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;do if((a|0)!=0?(Dp(a)|0)==1:0){d=zq()|0;e=up(a)|0;b=jo(e)|0;if(!b){b=du(16400,16248,0)|0;break}if((e|0)>0){f=0;do{Bq(a,f,h,d);ko(b,+(c[h>>2]|0));f=f+1|0}while((f|0)!=(e|0))}VFa(d)}else g=3;while(0);if((g|0)==3)b=du(16216,16248,0)|0;i=h;return b|0}function Bq(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;do if(!d)cu(20992,16272,1)|0;else{c[d>>2]=0;if((a|0)!=0?(Dp(a)|0)==1:0){gp(a,n+4|0,n,0);if(!((b|0)>-1?(c[n>>2]|0)>(b|0):0)){cu(16296,16272,1)|0;break}j=bp(a)|0;k=vp(a)|0;j=ba(j,b)|0;g=c[n+4>>2]|0;if(!(g&31))h=0;else h=-1<<32-(g&31);if(e)l=e;else l=zq()|0;if((g>>5|0)>0){f=0;a=0;do{b=c[k+(f+j<<2)>>2]|0;if(b)a=(c[l+((b&255)<<2)>>2]|0)+a+(c[l+((b>>>8&255)<<2)>>2]|0)+(c[l+((b>>>16&255)<<2)>>2]|0)+(c[l+(b>>>24<<2)>>2]|0)|0;f=f+1|0}while((f|0)!=(g>>5|0));b=g>>5}else{b=0;a=0}if((g&31|0)!=0?(m=c[k+(b+j<<2)>>2]&h,(m|0)!=0):0)a=(c[l+((m&255)<<2)>>2]|0)+a+(c[l+((m>>>8&255)<<2)>>2]|0)+(c[l+((m>>>16&255)<<2)>>2]|0)+(c[l+(m>>>24<<2)>>2]|0)|0;c[d>>2]=a;if(e)break;VFa(l);break}cu(16168,16272,1)|0}while(0);i=n;return}function Cq(a){a=a|0;var b=0,f=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=i;i=i+32|0;a:do if(!a)a=du(28232,16344,0)|0;else{n=Dp(a)|0;c[o+12>>2]=n;if((n|0)>16){a=du(16368,16344,0)|0;break}if(!(Ap(a)|0))f=rp(a)|0;else f=dr(a,1)|0;c[o>>2]=f;gp(f,o+20|0,o+16|0,o+12|0);a=1<>2];b=jo(a)|0;c[o+4>>2]=b;if(!b){a=du(16400,16344,0)|0;break}ro(b,a);n=vo(b,0)|0;if((c[o+12>>2]|0)==1){yq(f,o+8|0);m=ba(c[o+16>>2]|0,c[o+20>>2]|0)|0;a=c[o+8>>2]|0;g[n>>2]=+(m-a|0);g[n+4>>2]=+(a|0);cp(o);a=c[o+4>>2]|0;break}h=bp(f)|0;j=vp(c[o>>2]|0)|0;k=c[o+16>>2]|0;b:do if((k|0)>0){a=c[o+12>>2]|0;m=0;while(1){l=ba(m,h)|0;if((a|0)==16){f=c[o+20>>2]|0;if((f|0)>0){b=0;do{p=n+((e[(j+(l<<2)+(b<<1)^2)>>1]|0)<<2)|0;g[p>>2]=+g[p>>2]+1.0;b=b+1|0}while((b|0)!=(f|0))}}else if((a|0)==8){f=c[o+20>>2]|0;if((f|0)>0){b=0;do{p=n+((d[(j+(l<<2)+b^3)>>0]|0)<<2)|0;g[p>>2]=+g[p>>2]+1.0;b=b+1|0}while((b|0)!=(f|0))}}else if((a|0)==4){f=c[o+20>>2]|0;if((f|0)>0){b=0;do{p=n+(((c[j+((b>>3)+l<<2)>>2]|0)>>>(b<<2&28^28)&15)<<2)|0;g[p>>2]=+g[p>>2]+1.0;b=b+1|0}while((b|0)!=(f|0))}}else if((a|0)==2){f=c[o+20>>2]|0;if((f|0)>0){b=0;do{p=n+(((c[j+((b>>4)+l<<2)>>2]|0)>>>(b<<1&30^30)&3)<<2)|0;g[p>>2]=+g[p>>2]+1.0;b=b+1|0}while((b|0)!=(f|0))}}else break;m=m+1|0;if((m|0)>=(k|0))break b}lo(o+4|0);a=du(16416,16344,0)|0;break a}while(0);cp(o);a=c[o+4>>2]|0}while(0);i=o;return a|0}function Dq(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+48|0;do if(a){if(!b){b=du(16856,16488,0)|0;break}gp(a,d+24|0,d+20|0,d+8|0);b=Xl(b,c[d+24>>2]|0,c[d+20>>2]|0)|0;c[d+32>>2]=b;if(!b){b=c[n>>2]|0;c[d>>2]=16488;zb(b|0,16512,d|0)|0;b=0;break}Ml(b,d+16|0,d+4|0,d+12|0,d+28|0);b=_o(c[d+12>>2]|0,c[d+28>>2]|0,c[d+8>>2]|0)|0;if(!b){b=du(25344,16488,0)|0;break}else{ip(b,a);jp(b,a);fs(b,0,0,c[d+12>>2]|0,c[d+28>>2]|0,24,a,c[d+16>>2]|0,c[d+4>>2]|0);Kl(d+32|0);break}}else b=du(28232,16488,0)|0;while(0);i=d;return b|0}function Eq(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;do if(!b)a=cu(16432,16552,1)|0;else{c[b>>2]=0;if((a|0)!=0?(Dp(a)|0)==1:0){gp(a,o+4|0,o,0);j=c[o+4>>2]|0;h=~c[21680+(32-(j&31)<<2)>>2];n=bp(a)|0;l=vp(a)|0;m=c[o>>2]|0;a:do if((m|0)>0){e=((j|0)/32|0|0)>1?(j|0)/32|0:1;d=0;while(1){g=ba(d,n)|0;if((j|0)>31){f=0;a=0;do{a=c[l+(f+g<<2)>>2]|a;f=f+1|0}while((f|0)<((j|0)/32|0|0));f=e}else{f=0;a=0}if(j&31)a=c[l+(f+g<<2)>>2]&h|a;if(a){k=d;break a}d=d+1|0;if((d|0)>=(m|0)){k=d;break}}}else k=0;while(0);if((k|0)==(m|0)){a=1;break}b:do if((m|0)>0){a=((j|0)/32|0|0)>1?(j|0)/32|0:1;e=m+-1|0;while(1){f=ba(e,n)|0;if((j|0)>31){g=0;d=0;do{d=c[l+(g+f<<2)>>2]|d;g=g+1|0}while((g|0)<((j|0)/32|0|0));g=a}else{g=0;d=0}if(j&31)d=c[l+(g+f<<2)>>2]&h|d;if(d){h=e;break b}d=e+-1|0;if((e|0)>0)e=d;else{h=d;break}}}else h=m+-1|0;while(0);g=c[o+4>>2]|0;c:do if((g|0)>0){a=0;d:do{if((m|0)>0){d=a>>5;e=1<<(a&31^31);f=0;do{if(c[l+((ba(f,n)|0)+d<<2)>>2]&e)break d;f=f+1|0}while((f|0)<(m|0))}a=a+1|0}while((a|0)<(g|0));g=g+-1|0;while(1){if((m|0)>0){e=g>>5;d=1<<(g&31^31);f=0;do{if(c[l+((ba(f,n)|0)+e<<2)>>2]&d){d=g;break c}f=f+1|0}while((f|0)<(m|0))}d=g+-1|0;if((g|0)>0)g=d;else break}}else{d=g+-1|0;a=0}while(0);c[b>>2]=Fl(a,k,1-a+d|0,1-k+h|0)|0;a=0;break}a=cu(16456,16552,1)|0}while(0);i=o;return a|0}function Fq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;h=i;i=i+48|0;do if(!d)cu(16432,16576,1)|0;else{c[d>>2]=0;if((a|0)!=0?(Dp(a)|0)==1:0){if(!b){Eq(a,d)|0;break}gp(a,h+36|0,h+16|0,0);Ml(b,h,h+28|0,h+32|0,h+40|0);j=c[h+32>>2]|0;g=c[h>>2]|0;b=(c[h+36>>2]|0)-g|0;b=(j|0)<(b|0)?j:b;j=c[h+40>>2]|0;e=c[h+28>>2]|0;f=(c[h+16>>2]|0)-e|0;f=(j|0)<(f|0)?j:f;if((f|b|0)<0){cu(16600,16576,1)|0;break}b=Fl(g,e,b,f)|0;c[h+4>>2]=b;if(!(Gq(a,b,0,h+12|0)|0)){Gq(a,b,1,h+24|0)|0;Gq(a,c[h+4>>2]|0,2,h+20|0)|0;Gq(a,c[h+4>>2]|0,3,h+8|0)|0;a=c[h+12>>2]|0;j=c[h+20>>2]|0;c[d>>2]=Fl(a,j,1-a+(c[h+24>>2]|0)|0,1-j+(c[h+8>>2]|0)|0)|0;Kl(h+4|0);break}else{Kl(h+4|0);break}}cu(16456,16576,1)|0}while(0);i=h;return}function Gq(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+32|0;a:do if(!e)b=cu(16648,16624,1)|0;else{c[e>>2]=0;if((a|0)!=0?(Dp(a)|0)==1:0){gp(a,o+8|0,o+4|0,0);do if(b){b=Xl(b,c[o+8>>2]|0,c[o+4>>2]|0)|0;c[o>>2]=b;if(!b){b=cu(16672,16624,1)|0;break a}else{Ml(b,o+16|0,o+12|0,o+8|0,o+4|0);Kl(o);k=c[o+16>>2]|0;f=c[o+12>>2]|0;break}}else{c[o+12>>2]=0;c[o+16>>2]=0;k=0;f=0}while(0);l=k+-1+(c[o+8>>2]|0)|0;g=f+-1+(c[o+4>>2]|0)|0;n=vp(a)|0;m=bp(a)|0;if((d|0)==1){if((l|0)<(k|0)){b=1;break}j=(f|0)>(g|0);b=l;b:while(1){if(!j){d=b>>5;a=1<<(b&31^31);h=f;while(1){if(c[n+((ba(h,m)|0)+d<<2)>>2]&a)break b;if((h|0)<(g|0))h=h+1|0;else break}}if((b|0)>(k|0))b=b+-1|0;else{b=1;break a}}c[e>>2]=b;b=0;break}else if((d|0)==2){if((f|0)>(g|0)){b=1;break}d=(k|0)>(l|0);c:while(1){b=ba(f,m)|0;if(!d){a=k;while(1){if(c[n+((a>>5)+b<<2)>>2]&1<<(a&31^31))break c;if((a|0)<(l|0))a=a+1|0;else break}}if((f|0)<(g|0))f=f+1|0;else{b=1;break a}}c[e>>2]=f;b=0;break}else if((d|0)==3){if((g|0)<(f|0)){b=1;break}d=(k|0)>(l|0);d:while(1){b=ba(g,m)|0;if(!d){a=k;while(1){if(c[n+((a>>5)+b<<2)>>2]&1<<(a&31^31))break d;if((a|0)<(l|0))a=a+1|0;else break}}if((g|0)>(f|0))g=g+-1|0;else{b=1;break a}}c[e>>2]=g;b=0;break}else if(!d){if((k|0)>(l|0)){b=1;break}j=(f|0)>(g|0);b=k;e:while(1){if(!j){d=b>>5;a=1<<(b&31^31);h=f;while(1){if(c[n+((ba(h,m)|0)+d<<2)>>2]&a)break e;if((h|0)<(g|0))h=h+1|0;else break}}if((b|0)<(l|0))b=b+1|0;else{b=1;break a}}c[e>>2]=b;b=0;break}else{b=cu(16688,16624,1)|0;break}}b=cu(16456,16624,1)|0}while(0);i=o;return b|0}function Hq(a){a=a|0;var b=0,d=0;b=(a|0)<1?20:a;a=WFa(1,20)|0;do if(a){c[a>>2]=0;c[a+4>>2]=b;c[a+8>>2]=1;d=WFa(b,4)|0;c[a+12>>2]=d;if(!d){a=du(16744,16712,0)|0;break}d=Nl(b)|0;c[a+16>>2]=d;if(!d)a=du(16768,16712,0)|0}else a=du(16728,16712,0)|0;while(0);return a|0}function Iq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;do if(!a)cu(16800,16824,1)|0;else{if(!b){cu(28008,16824,1)|0;break}if((d|0)==1){d=tp(0,b)|0;e=9}else if(d)if((d|0)==2){d=rp(b)|0;e=9}else{cu(22752,16824,1)|0;break}if((e|0)==9)if(!d){cu(19496,16824,1)|0;break}else b=d;d=Nq(a)|0;if((d|0)>=(c[a+4>>2]|0))Qq(a);c[(c[a+12>>2]|0)+(d<<2)>>2]=b;c[a>>2]=(c[a>>2]|0)+1}while(0);return}function Jq(a,b){a=a|0;b=b|0;do if(a)if(!b){cu(16856,16840,1)|0;break}else{Ql(c[a+16>>2]|0,b,2);break}else cu(16800,16840,1)|0;while(0);return}function Kq(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;if(a){e=c[a>>2]|0;if(e){Lq(e);if(!(c[e+8>>2]|0)){b=c[e+12>>2]|0;if((c[e>>2]|0)>0){d=0;do{cp(b+(d<<2)|0);d=d+1|0;b=c[e+12>>2]|0}while((d|0)<(c[e>>2]|0))}VFa(b);Rl(e+16|0);VFa(e)}c[a>>2]=0}}else{a=c[n>>2]|0;c[f>>2]=16784;zb(a|0,25048,f|0)|0}i=f;return}function Lq(a){a=a|0;if(!a)cu(16800,16912,1)|0;else c[a+8>>2]=(c[a+8>>2]|0)+-1;return}function Mq(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;do if(!a)a=du(16800,16936,0)|0;else{if((b|0)>=0?(c[a>>2]|0)>(b|0):0){a=c[(c[a+12>>2]|0)+(b<<2)>>2]|0;if(!a){a=c[n>>2]|0;c[d>>2]=16936;c[d+4>>2]=b;zb(a|0,16952,d|0)|0;a=du(16992,16936,0)|0;break}else{a=rp(a)|0;break}}a=du(22808,16936,0)|0}while(0);i=d;return a|0}function Nq(a){a=a|0;if(!a)a=cu(16800,16896,0)|0;else a=c[a>>2]|0;return a|0}function Oq(a,b){a=a|0;b=b|0;var d=0;a:do if(!a)cu(16800,16872,1)|0;else{d=c[a+4>>2]|0;do if((d|0)<(b|0)){d=mu(a+12|0,d<<2,b<<2)|0;c[a+12>>2]=d;if(!d){cu(23144,16872,1)|0;break a}else{c[a+4>>2]=b;break}}while(0);Ul(c[a+16>>2]|0,b)|0}while(0);return}function Pq(a,b,d){a=a|0;b=b|0;d=d|0;do if(!a)cu(16800,17008,1)|0;else{if((b|0)>=0?(c[a>>2]|0)>(b|0):0)if(!d){cu(28008,17008,1)|0;break}else{cp((c[a+12>>2]|0)+(b<<2)|0);c[(c[a+12>>2]|0)+(b<<2)>>2]=d;break}cu(22808,17008,1)|0}while(0);return}function Qq(a){a=a|0;if(!a)cu(16800,17024,1)|0;else Oq(a,c[a+4>>2]<<1);return}function Rq(a,b){a=a|0;b=b|0;var d=0;d=WFa(1,16)|0;do if(d){c[d>>2]=a;c[d+4>>2]=b;b=_o(a,b,32)|0;c[d+12>>2]=b;if(!b){d=du(25568,17040,0)|0;break}else{c[d+8>>2]=1073741824;Xp(b,1073741824);break}}else d=du(17056,17040,0)|0;while(0);return d|0}function Sq(a,b){a=a|0;b=b|0;do if(a)if(!b){cu(28008,17200,1)|0;break}else{_q(Vq(a)|0,b,1);break}else cu(17144,17200,1)|0;while(0);return}function Tq(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(a){b=c[a>>2]|0;if(b){cp(b+12|0);VFa(b);c[a>>2]=0}}else{a=c[n>>2]|0;c[d>>2]=17072;zb(a|0,17088,d|0)|0}i=d;return}function Uq(a){a=a|0;var b=0;if(!a)a=du(17144,17128,0)|0;else{b=Vq(a)|0;a=Zq(b,Wq(a)|0)|0}return a|0}function Vq(a){a=a|0;if(!a)a=du(17144,17168,0)|0;else a=c[a+12>>2]|0;return a|0}function Wq(a){a=a|0;if(!a)a=cu(17144,17184,-1)|0;else a=c[a+8>>2]|0;return a|0}function Xq(a,b){a=a|0;b=b|0;do if(a)if(!b){cu(28008,17216,1)|0;break}else{_q(Vq(a)|0,b,2);break}else cu(17144,17216,1)|0;while(0);return}function Yq(a,b){a=a|0;b=+b;var c=0;if(!a)cu(17144,17232,1)|0;else{c=Vq(a)|0;$q(c,b,Wq(a)|0)}return}function Zq(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;do if(b){if((Dp(b)|0)!=32){d=du(17928,17248,0)|0;break}l=d>>>0>1073741824?1073741824:d;gp(b,o+4|0,o,0);d=_o(c[o+4>>2]|0,c[o>>2]|0,8)|0;if(!d){d=du(25344,17248,0)|0;break}ip(d,b);m=vp(b)|0;n=vp(d)|0;j=bp(b)|0;k=bp(d)|0;b=c[o>>2]|0;if((b|0)>0){e=c[o+4>>2]|0;h=0;do{g=ba(h,j)|0;if((e|0)>0){b=n+((ba(h,k)|0)<<2)|0;f=0;do{e=(c[m+(f+g<<2)>>2]|0)-l|0;e=(e|0)<0?0:e;a[(b+f^3)>>0]=(e|0)>255?-1:e&255;f=f+1|0;e=c[o+4>>2]|0}while((f|0)<(e|0));b=c[o>>2]|0}h=h+1|0}while((h|0)<(b|0))}}else d=du(28232,17248,0)|0;while(0);i=o;return d|0}function _q(a,b,f){a=a|0;b=b|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;do if((a|0)!=0?(Dp(a)|0)==32:0){if(!b){cu(28232,17272,1)|0;break}g=Dp(b)|0;if(!((g|0)==1|(g|0)==8|(g|0)==16|(g|0)==32)){cu(17320,17272,1)|0;break}if((f+-1|0)>>>0>1){cu(17352,17272,1)|0;break}l=vp(b)|0;m=vp(a)|0;n=bp(b)|0;o=bp(a)|0;gp(b,q+12|0,q+8|0,0);gp(a,q+4|0,q,0);k=c[q+12>>2]|0;b=c[q+4>>2]|0;b=(k|0)<(b|0)?k:b;c[q+12>>2]=b;k=c[q+8>>2]|0;a=c[q>>2]|0;a=(k|0)<(a|0)?k:a;c[q+8>>2]=a;if((g|0)==8){if((a|0)<=0)break;k=0;do{j=l+((ba(k,n)|0)<<2)|0;h=ba(k,o)|0;g=(b|0)>0;if((f|0)==1){if(g){g=0;do{b=m+(g+h<<2)|0;c[b>>2]=(c[b>>2]|0)+(d[(j+g^3)>>0]|0);g=g+1|0;b=c[q+12>>2]|0}while((g|0)<(b|0))}}else if(g){g=0;do{b=m+(g+h<<2)|0;c[b>>2]=(c[b>>2]|0)-(d[(j+g^3)>>0]|0);g=g+1|0;b=c[q+12>>2]|0}while((g|0)<(b|0))}k=k+1|0}while((k|0)<(c[q+8>>2]|0))}else if((g|0)==16){if((a|0)<=0)break;k=0;do{j=l+((ba(k,n)|0)<<2)|0;h=ba(k,o)|0;g=(b|0)>0;if((f|0)==1){if(g){g=0;do{b=m+(g+h<<2)|0;c[b>>2]=(c[b>>2]|0)+(e[(j+(g<<1)^2)>>1]|0);g=g+1|0;b=c[q+12>>2]|0}while((g|0)<(b|0))}}else if(g){g=0;do{b=m+(g+h<<2)|0;c[b>>2]=(c[b>>2]|0)-(e[(j+(g<<1)^2)>>1]|0);g=g+1|0;b=c[q+12>>2]|0}while((g|0)<(b|0))}k=k+1|0}while((k|0)<(c[q+8>>2]|0))}else if((g|0)==1){if((a|0)<=0)break;k=0;do{j=ba(k,n)|0;h=ba(k,o)|0;a=(b|0)>0;if((f|0)==1){if(a){g=0;do{b=m+(g+h<<2)|0;c[b>>2]=((c[l+((g>>5)+j<<2)>>2]|0)>>>(g&31^31)&1)+(c[b>>2]|0);g=g+1|0;b=c[q+12>>2]|0}while((g|0)<(b|0))}}else if(a){g=0;do{b=m+(g+h<<2)|0;c[b>>2]=(c[b>>2]|0)-((c[l+((g>>5)+j<<2)>>2]|0)>>>(g&31^31)&1);g=g+1|0;b=c[q+12>>2]|0}while((g|0)<(b|0))}k=k+1|0}while((k|0)<(c[q+8>>2]|0))}else{if((a|0)<=0)break;k=0;do{h=ba(k,n)|0;j=ba(k,o)|0;a=(b|0)>0;if((f|0)==1){if(a){g=0;do{b=m+(g+j<<2)|0;c[b>>2]=(c[b>>2]|0)+(c[l+(g+h<<2)>>2]|0);g=g+1|0;b=c[q+12>>2]|0}while((g|0)<(b|0))}}else if(a){g=0;do{b=m+(g+j<<2)|0;c[b>>2]=(c[b>>2]|0)-(c[l+(g+h<<2)>>2]|0);g=g+1|0;b=c[q+12>>2]|0}while((g|0)<(b|0))}k=k+1|0}while((k|0)<(c[q+8>>2]|0))}}else p=3;while(0);if((p|0)==3)cu(17288,17272,1)|0;i=q;return}function $q(a,b,d){a=a|0;b=+b;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;do if(a){if((Dp(a)|0)!=32){cu(17928,17400,1)|0;break}h=d>>>0>1073741824?1073741824:d;gp(a,k+4|0,k,0);j=vp(a)|0;g=bp(a)|0;a=c[k>>2]|0;if((a|0)>0){d=c[k+4>>2]|0;f=0;do{e=ba(f,g)|0;if((d|0)>0){a=0;do{d=j+(a+e<<2)|0;c[d>>2]=~~(+((c[d>>2]|0)-h|0)*b)+h;a=a+1|0;d=c[k+4>>2]|0}while((a|0)<(d|0));a=c[k>>2]|0}f=f+1|0}while((f|0)<(a|0))}}else cu(28232,17400,1)|0;while(0);i=k;return}function ar(b){b=b|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;do if(b){n=Dp(b)|0;if(!((n|0)==4|(n|0)==8|(n|0)==16|(n|0)==32)){f=du(17448,17424,0)|0;break}gp(b,s+4|0,s,0);f=_o(c[s+4>>2]|0,c[s>>2]|0,8)|0;if(!f){f=du(25344,17424,0)|0;break}ip(f,b);r=vp(b)|0;q=vp(f)|0;o=bp(b)|0;p=bp(f)|0;g=c[s>>2]|0;if((g|0)>0){l=0;b=0;do{j=ba(l,o)|0;if((o|0)>0){k=0;do{h=c[r+(k+j<<2)>>2]|0;if((n|0)==4){b=b>>>0>h>>>28>>>0?b:h>>>28;b=b>>>0>(h>>>24&15)>>>0?b:h>>>24&15;b=b>>>0>(h>>>20&15)>>>0?b:h>>>20&15;b=b>>>0>(h>>>16&15)>>>0?b:h>>>16&15;b=b>>>0>(h>>>12&15)>>>0?b:h>>>12&15;b=b>>>0>(h>>>8&15)>>>0?b:h>>>8&15;b=b>>>0>(h>>>4&15)>>>0?b:h>>>4&15;b=b>>>0>(h&15)>>>0?b:h&15}else if((n|0)==8){b=b>>>0>h>>>24>>>0?b:h>>>24;b=b>>>0>(h>>>16&255)>>>0?b:h>>>16&255;b=b>>>0>(h>>>8&255)>>>0?b:h>>>8&255;b=b>>>0>(h&255)>>>0?b:h&255}else if((n|0)==16){b=b>>>0>h>>>16>>>0?b:h>>>16;b=b>>>0>(h&65535)>>>0?b:h&65535}else b=b>>>0>h>>>0?b:h;k=k+1|0}while((k|0)!=(o|0))}l=l+1|0}while((l|0)!=(g|0))}else b=0;if((n|0)==16){n=br()|0;m=255.0/+cr(b,n);b=c[s>>2]|0;if((b|0)>0){g=c[s+4>>2]|0;l=0;do{if((g|0)>0){h=q+((ba(l,p)|0)<<2)|0;b=r+((ba(l,o)|0)<<2)|0;j=0;do{a[(h+j^3)>>0]=~~(m*+cr(e[(b+(j<<1)^2)>>1]|0,n)+.5);j=j+1|0;g=c[s+4>>2]|0}while((j|0)<(g|0));b=c[s>>2]|0}l=l+1|0}while((l|0)<(b|0))}VFa(n);break}else if((n|0)==8){n=br()|0;m=255.0/+cr(b,n);b=c[s>>2]|0;if((b|0)>0){g=c[s+4>>2]|0;l=0;do{if((g|0)>0){b=q+((ba(l,p)|0)<<2)|0;h=r+((ba(l,o)|0)<<2)|0;j=0;do{a[(b+j^3)>>0]=~~(m*+cr(d[(h+j^3)>>0]|0,n)+.5);j=j+1|0;g=c[s+4>>2]|0}while((j|0)<(g|0));b=c[s>>2]|0}l=l+1|0}while((l|0)<(b|0))}VFa(n);break}else if((n|0)==4){n=br()|0;m=255.0/+cr(b,n);b=c[s>>2]|0;if((b|0)>0){g=c[s+4>>2]|0;l=0;do{k=ba(l,o)|0;if((g|0)>0){h=q+((ba(l,p)|0)<<2)|0;b=0;do{a[(h+b^3)>>0]=~~(m*+cr((c[r+((b>>3)+k<<2)>>2]|0)>>>(b<<2&28^28)&15,n)+.5);b=b+1|0;g=c[s+4>>2]|0}while((b|0)<(g|0));b=c[s>>2]|0}l=l+1|0}while((l|0)<(b|0))}VFa(n);break}else{n=br()|0;m=255.0/+cr(b,n);b=c[s>>2]|0;if((b|0)>0){g=c[s+4>>2]|0;l=0;do{k=ba(l,o)|0;if((g|0)>0){h=q+((ba(l,p)|0)<<2)|0;j=0;do{a[(h+j^3)>>0]=~~(m*+cr(c[r+(j+k<<2)>>2]|0,n)+.5);j=j+1|0;g=c[s+4>>2]|0}while((j|0)<(g|0));b=c[s>>2]|0}l=l+1|0}while((l|0)<(b|0))}VFa(n);break}}else f=du(28232,17424,0)|0;while(0);i=s;return f|0}function br(){var a=0,b=0;a=WFa(256,4)|0;if(!a)a=du(18040,17480,0)|0;else{b=0;do{g[a+(b<<2)>>2]=+$(+(+(b|0)))/.6931471824645996;b=b+1|0}while((b|0)!=256)}return a|0}function cr(a,b){a=a|0;b=b|0;var c=0.0;do if(b){if((a|0)<256){c=+g[b+(a<<2)>>2];break}if((a|0)<65536){c=+g[b+(a>>8<<2)>>2]+8.0;break}if((a|0)<16777216){c=+g[b+(a>>16<<2)>>2]+16.0;break}else{c=+g[b+(a>>24<<2)>>2]+24.0;break}}else c=+(cu(17512,17496,0)|0);while(0);return +c}function dr(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+64|0;a:do if(!b)e=du(28232,17552,0)|0;else{k=Ap(b)|0;if(!k){e=rp(b)|0;break}if(e>>>0>4){e=c[n>>2]|0;c[u>>2]=17552;zb(e|0,17576,u|0)|0;e=4}gp(b,u+28|0,u+8|0,u+12|0);t=c[u+12>>2]|0;if(!((t|0)==1|(t|0)==2|(t|0)==4|(t|0)==8)){e=du(17632,17552,0)|0;break}if(zm(k,u+40|0,u+44|0,u+48|0,u+52|0)|0){e=du(17664,17552,0)|0;break}if(!((e|0)==0?(c[u+12>>2]|0)!=1:0))if((e|0)==4)f=14;else j=e;else{f=c[n>>2]|0;c[u>>2]=17552;zb(f|0,17696,u|0)|0;f=14}if((f|0)==14){Am(k,u+20|0);ym(k,u+32|0);Bm(k,u+36|0);if(c[u+20>>2]|0)if(!(c[u+32>>2]|0))j=((c[u+36>>2]|0)!=0?(c[u+12>>2]|0)==1:0)&1^1;else j=2;else j=3}r=qm(k)|0;s=vp(b)|0;t=bp(b)|0;do if(!j){e=tp(0,b)|0;if(!e){e=du(25344,17552,0)|0;break a}wm(k,0,u+24|0,u+16|0,u+4|0);t=(c[u+16>>2]|0)+(c[u+24>>2]|0)+(c[u+4>>2]|0)|0;wm(k,1,u+24|0,u+16|0,u+4|0);if((t|0)<((c[u+16>>2]|0)+(c[u+24>>2]|0)+(c[u+4>>2]|0)|0))rq(e,e)|0;zp(e)}else{f=c[u+28>>2]|0;e=c[u+8>>2]|0;if((j|0)!=1){e=_o(f,e,32)|0;if(!e){e=du(25344,17552,0)|0;break a}ip(e,b);if((j|0)==3)qp(e,4);o=vp(e)|0;p=bp(e)|0;q=WFa(r,4)|0;if(!q){e=du(17776,17552,0)|0;break a}if((r|0)>0){g=(j|0)==2;j=0;do{f=c[(c[u+40>>2]|0)+(j<<2)>>2]|0;h=c[(c[u+44>>2]|0)+(j<<2)>>2]|0;b=c[(c[u+48>>2]|0)+(j<<2)>>2]|0;if(g)Sp(f,h,b,q+(j<<2)|0);else nq(f,h,b,c[(c[u+52>>2]|0)+(j<<2)>>2]|0,q+(j<<2)|0);j=j+1|0}while((j|0)!=(r|0))}f=c[u+8>>2]|0;if((f|0)>0){m=c[n>>2]|0;g=c[u+28>>2]|0;l=0;do{k=ba(l,t)|0;h=ba(l,p)|0;if((g|0)>0){b=0;do{j=c[u+12>>2]|0;if((j|0)==8)j=d[(s+(k<<2)+b^3)>>0]|0;else if((j|0)==4)j=(c[s+((b>>3)+k<<2)>>2]|0)>>>(b<<2&28^28)&15;else if((j|0)==2)j=(c[s+((b>>4)+k<<2)>>2]|0)>>>(b<<1&30^30)&3;else if((j|0)==1)j=(c[s+((b>>5)+k<<2)>>2]|0)>>>(b&31^31)&1;else{e=0;break a}if((j|0)<(r|0))c[o+(b+h<<2)>>2]=c[q+(j<<2)>>2];else{c[u>>2]=17552;zb(m|0,17800,u|0)|0}b=b+1|0;g=c[u+28>>2]|0}while((b|0)<(g|0));f=c[u+8>>2]|0}l=l+1|0}while((l|0)<(f|0))}VFa(q);break}e=_o(f,e,8)|0;if(!e){e=du(25344,17552,0)|0;break a}ip(e,b);m=vp(e)|0;l=bp(e)|0;o=WFa(r,4)|0;if(!o){e=du(17752,17552,0)|0;break a}if((qm(k)|0)>0){f=0;do{c[o+(f<<2)>>2]=((c[(c[u+44>>2]|0)+(f<<2)>>2]<<1)+(c[(c[u+40>>2]|0)+(f<<2)>>2]|0)+(c[(c[u+48>>2]|0)+(f<<2)>>2]|0)|0)/4|0;f=f+1|0}while((f|0)<(qm(k)|0))}if((c[u+8>>2]|0)>0){p=0;do{r=ba(p,t)|0;q=ba(p,l)|0;f=c[u+12>>2]|0;if((f|0)==2){f=c[u+28>>2]|0;if((f|0)>15){j=0;g=0;while(1){k=c[s+(j+r<<2)>>2]|0;f=j<<2;c[m+(f+q<<2)>>2]=c[o+((k>>>28&3)<<2)>>2]<<16|c[o+(k>>>30<<2)>>2]<<24|c[o+((k>>>26&3)<<2)>>2]<<8|c[o+((k>>>24&3)<<2)>>2];c[m+((f|1)+q<<2)>>2]=c[o+((k>>>20&3)<<2)>>2]<<16|c[o+((k>>>22&3)<<2)>>2]<<24|c[o+((k>>>18&3)<<2)>>2]<<8|c[o+((k>>>16&3)<<2)>>2];c[m+((f|2)+q<<2)>>2]=c[o+((k>>>12&3)<<2)>>2]<<16|c[o+((k>>>14&3)<<2)>>2]<<24|c[o+((k>>>10&3)<<2)>>2]<<8|c[o+((k>>>8&3)<<2)>>2];c[m+((f|3)+q<<2)>>2]=c[o+((k>>>4&3)<<2)>>2]<<16|c[o+((k>>>6&3)<<2)>>2]<<24|c[o+((k>>>2&3)<<2)>>2]<<8|c[o+((k&3)<<2)>>2];g=g+16|0;f=c[u+28>>2]|0;if((g|15|0)<(f|0))j=j+1|0;else break}}else g=0;if((g|0)<(f|0)){f=g;do{k=c[o+(((c[s+((f>>4)+r<<2)>>2]|0)>>>(f<<1&30^30)&3)<<2)>>2]|0;c[u+16>>2]=k;a[(m+(q<<2)+f^3)>>0]=k;f=f+1|0}while((f|0)<(c[u+28>>2]|0))}}else if((f|0)==4){f=c[u+28>>2]|0;if((f|0)>7){j=0;g=0;while(1){k=c[s+(j+r<<2)>>2]|0;f=j<<1;c[m+(f+q<<2)>>2]=c[o+((k>>>24&15)<<2)>>2]<<16|c[o+(k>>>28<<2)>>2]<<24|c[o+((k>>>20&15)<<2)>>2]<<8|c[o+((k>>>16&15)<<2)>>2];c[m+((f|1)+q<<2)>>2]=c[o+((k>>>8&15)<<2)>>2]<<16|c[o+((k>>>12&15)<<2)>>2]<<24|c[o+((k>>>4&15)<<2)>>2]<<8|c[o+((k&15)<<2)>>2];g=g+8|0;f=c[u+28>>2]|0;if((g|7|0)<(f|0))j=j+1|0;else break}}else g=0;if((g|0)<(f|0)){f=g;do{k=c[o+(((c[s+((f>>3)+r<<2)>>2]|0)>>>(f<<2&28^28)&15)<<2)>>2]|0;c[u+16>>2]=k;a[(m+(q<<2)+f^3)>>0]=k;f=f+1|0}while((f|0)<(c[u+28>>2]|0))}}else if((f|0)==1){f=c[u+28>>2]|0;if((f|0)>31){k=0;g=0;while(1){j=k<<3;b=0;h=c[s+(k+r<<2)>>2]|0;while(1){f=(b<<1)+j|0;c[m+(f+q<<2)>>2]=c[o+((h>>>30&1)<<2)>>2]<<16|c[o+(h>>>31<<2)>>2]<<24|c[o+((h>>>29&1)<<2)>>2]<<8|c[o+((h>>>28&1)<<2)>>2];c[m+((f|1)+q<<2)>>2]=c[o+((h>>>26&1)<<2)>>2]<<16|c[o+((h>>>27&1)<<2)>>2]<<24|c[o+((h>>>25&1)<<2)>>2]<<8|c[o+((h>>>24&1)<<2)>>2];b=b+1|0;if((b|0)==4)break;else h=h<<8}g=g+32|0;f=c[u+28>>2]|0;if((g|31|0)<(f|0))k=k+1|0;else break}}else g=0;if((g|0)<(f|0)){f=g;do{k=c[o+(((c[s+((f>>5)+r<<2)>>2]|0)>>>(f&31^31)&1)<<2)>>2]|0;c[u+16>>2]=k;a[(m+(q<<2)+f^3)>>0]=k;f=f+1|0}while((f|0)<(c[u+28>>2]|0))}}else if((f|0)==8){f=c[u+28>>2]|0;if((f|0)>3){j=0;g=0;while(1){f=c[s+(j+r<<2)>>2]|0;c[m+(j+q<<2)>>2]=c[o+((f>>>16&255)<<2)>>2]<<16|c[o+(f>>>24<<2)>>2]<<24|c[o+((f>>>8&255)<<2)>>2]<<8|c[o+((f&255)<<2)>>2];g=g+4|0;f=c[u+28>>2]|0;if((g|3|0)<(f|0))j=j+1|0;else break}}else g=0;if((g|0)<(f|0)){f=g;do{k=c[o+((d[(s+(r<<2)+f^3)>>0]|0)<<2)>>2]|0;c[u+16>>2]=k;a[(m+(q<<2)+f^3)>>0]=k;f=f+1|0}while((f|0)<(c[u+28>>2]|0))}}else{e=0;break a}p=p+1|0}while((p|0)<(c[u+8>>2]|0))}VFa(o)}while(0);VFa(c[u+40>>2]|0);VFa(c[u+44>>2]|0);VFa(c[u+48>>2]|0);VFa(c[u+52>>2]|0)}while(0);i=u;return e|0}function er(a){a=a|0;if((a|0)!=0?(Dp(a)|0)==8:0){if(!(Ap(a)|0))Bp(a,km()|0)}else cu(17872,17848,1)|0;return}function fr(a){a=a|0;return gr(a)|0}function gr(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;do if(b){if((Dp(b)|0)!=32){d=du(17928,17904,0)|0;break}gp(b,n+4|0,n,0);l=vp(b)|0;m=bp(b)|0;d=_o(c[n+4>>2]|0,c[n>>2]|0,8)|0;if(!d){d=du(25344,17904,0)|0;break}ip(d,b);j=vp(d)|0;k=bp(d)|0;b=c[n>>2]|0;if((b|0)>0){e=c[n+4>>2]|0;h=0;do{g=ba(h,m)|0;if((e|0)>0){b=j+((ba(h,k)|0)<<2)|0;f=0;do{e=c[l+(f+g<<2)>>2]|0;a[(b+f^3)>>0]=~~(+((e>>>8&255)>>>0)*.20000000298023224+(+(e>>>24>>>0)*.30000001192092896+ +((e>>>16&255)>>>0)*.5)+.5);f=f+1|0;e=c[n+4>>2]|0}while((f|0)<(e|0));b=c[n>>2]|0}h=h+1|0}while((h|0)<(b|0))}}else d=du(28232,17904,0)|0;while(0);i=n;return d|0}function hr(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;n=i;i=i+16|0;do if(a){if((Dp(a)|0)!=16){d=du(17960,17944,0)|0;break}gp(a,n+4|0,n,0);d=_o(c[n+4>>2]|0,c[n>>2]|0,8)|0;if(!d){d=du(25344,17944,0)|0;break}ip(d,a);m=bp(a)|0;a=vp(a)|0;e=bp(d)|0;f=vp(d)|0;g=c[n>>2]|0;if((g|0)>0){k=0;do{h=ba(k,m)|0;if((m|0)>0){j=f+((ba(k,e)|0)<<2)|0;l=0;do{o=c[a+(l+h<<2)>>2]|0;b[(j+(l<<1)^2)>>1]=o>>>16&65280|o>>>8&255;l=l+1|0}while((l|0)!=(m|0))}k=k+1|0}while((k|0)!=(g|0))}}else d=du(28232,17944,0)|0;while(0);i=n;return d|0}function ir(a,b,c){a=a|0;b=b|0;c=c|0;a:do if(!a)b=du(28232,17976,0)|0;else{if((Dp(a)|0)!=1){b=du(23944,17976,0)|0;break}switch(b|0){case 4:if(!c){b=kr(a,0,15)|0;break a}else{b=kr(a,15,0)|0;break a}case 2:if(!c){b=jr(a,0,3)|0;break a}else{b=jr(a,3,0)|0;break a}case 8:if(!c){b=lr(a,0,-1)|0;break a}else{b=lr(a,-1,0)|0;break a}case 32:case 16:if((b|0)==16)if(!c){b=mr(a,0,-1)|0;break a}else{b=mr(a,-1,0)|0;break a}else if(!c){b=nr(a,0,-1)|0;break a}else{b=nr(a,-1,0)|0;break a}default:{b=du(17992,17976,0)|0;break a}}}while(0);return b|0}function jr(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;do if(!e)h=du(28232,18072,0)|0;else{if((Dp(e)|0)!=1){h=du(23944,18072,0)|0;break}gp(e,r+4|0,r,0);h=_o(c[r+4>>2]|0,c[r>>2]|0,2)|0;if(!h){h=du(25344,18072,0)|0;break}ip(h,e);q=WFa(256,2)|0;if(!q){h=du(18040,18072,0)|0;break}a[r+8>>0]=f;a[r+9>>0]=g;f=0;do{b[q+(f<<1)>>1]=(d[r+8+(f>>>6&1)>>0]|0)<<12|(d[r+8+(f>>>7&1)>>0]|0)<<14|(d[r+8+(f>>>5&1)>>0]|0)<<10|(d[r+8+(f>>>4&1)>>0]|0)<<8|(d[r+8+(f>>>3&1)>>0]|0)<<6|(d[r+8+(f>>>2&1)>>0]|0)<<4|(d[r+8+(f>>>1&1)>>0]|0)<<2|(d[r+8+(f&1)>>0]|0);f=f+1|0}while((f|0)!=256);p=vp(e)|0;e=bp(e)|0;g=vp(h)|0;f=bp(h)|0;j=c[r+4>>2]|0;k=c[r>>2]|0;if((k|0)>0){n=0;do{if((j|0)>0){l=g+((ba(n,f)|0)<<2)|0;m=p+((ba(n,e)|0)<<2)|0;o=0;do{b[(l+(o<<1)^2)>>1]=b[q+((d[(m+o^3)>>0]|0)<<1)>>1]|0;o=o+1|0}while((o|0)<((j+7|0)/8|0|0))}n=n+1|0}while((n|0)!=(k|0))}VFa(q)}while(0);i=r;return h|0}function kr(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;do if(!b)g=du(28232,18088,0)|0;else{if((Dp(b)|0)!=1){g=du(23944,18088,0)|0;break}gp(b,p+4|0,p,0);g=_o(c[p+4>>2]|0,c[p>>2]|0,4)|0;if(!g){g=du(25344,18088,0)|0;break}ip(g,b);o=WFa(256,4)|0;if(!o){g=du(18040,18088,0)|0;break}a[p+8>>0]=e;a[p+9>>0]=f;e=0;do{c[o+(e<<2)>>2]=(d[p+8+(e>>>6&1)>>0]|0)<<24|(d[p+8+(e>>>7&1)>>0]|0)<<28|(d[p+8+(e>>>5&1)>>0]|0)<<20|(d[p+8+(e>>>4&1)>>0]|0)<<16|(d[p+8+(e>>>3&1)>>0]|0)<<12|(d[p+8+(e>>>2&1)>>0]|0)<<8|(d[p+8+(e>>>1&1)>>0]|0)<<4|(d[p+8+(e&1)>>0]|0);e=e+1|0}while((e|0)!=256);n=vp(b)|0;j=bp(b)|0;k=vp(g)|0;l=bp(g)|0;m=c[p+4>>2]|0;b=c[p>>2]|0;if((b|0)>0){h=0;do{e=ba(h,l)|0;if((m|0)>0){b=n+((ba(h,j)|0)<<2)|0;f=0;do{c[k+(f+e<<2)>>2]=c[o+((d[(b+f^3)>>0]|0)<<2)>>2];f=f+1|0}while((f|0)<((m+7|0)/8|0|0));b=c[p>>2]|0}h=h+1|0}while((h|0)<(b|0))}VFa(o)}while(0);i=p;return g|0}function lr(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;do if(!b)g=du(28232,18104,0)|0;else{if((Dp(b)|0)!=1){g=du(23944,18104,0)|0;break}gp(b,p+4|0,p,0);g=_o(c[p+4>>2]|0,c[p>>2]|0,8)|0;if(!g){g=du(25344,18104,0)|0;break}ip(g,b);o=WFa(16,4)|0;if(!o){g=du(18040,18104,0)|0;break}a[p+8>>0]=e;a[p+9>>0]=f;e=0;do{c[o+(e<<2)>>2]=(d[p+8+(e>>>2&1)>>0]|0)<<16|(d[p+8+(e>>>3&1)>>0]|0)<<24|(d[p+8+(e>>>1&1)>>0]|0)<<8|(d[p+8+(e&1)>>0]|0);e=e+1|0}while((e|0)!=16);n=vp(b)|0;j=bp(b)|0;k=vp(g)|0;l=bp(g)|0;m=c[p+4>>2]|0;b=c[p>>2]|0;if((b|0)>0){h=0;do{f=ba(h,j)|0;e=ba(h,l)|0;if((m|0)>0){b=0;do{c[k+(b+e<<2)>>2]=c[o+(((c[n+((b>>3)+f<<2)>>2]|0)>>>(b<<2&28^28)&15)<<2)>>2];b=b+1|0}while((b|0)<((m+3|0)/4|0|0));b=c[p>>2]|0}h=h+1|0}while((h|0)<(b|0))}VFa(o)}while(0);i=p;return g|0}function mr(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;do if(!a)g=du(28232,18024,0)|0;else{if((Dp(a)|0)!=1){g=du(23944,18024,0)|0;break}o=Cp(a)|0;p=up(a)|0;g=_o(o,p,16)|0;if(!g){g=du(25344,18024,0)|0;break}ip(g,a);n=WFa(4,4)|0;if(!n){g=du(18040,18024,0)|0;break}b[q>>1]=d;b[q+2>>1]=f;d=0;do{c[n+(d<<2)>>2]=(e[q+((d>>>1&1)<<1)>>1]|0)<<16|(e[q+((d&1)<<1)>>1]|0);d=d+1|0}while((d|0)!=4);m=vp(a)|0;a=bp(a)|0;f=vp(g)|0;d=bp(g)|0;if((p|0)>0){k=0;do{h=ba(k,a)|0;j=ba(k,d)|0;if((o|0)>0){l=0;do{c[f+(l+j<<2)>>2]=c[n+(((c[m+((l>>4)+h<<2)>>2]|0)>>>(l<<1&30^30)&3)<<2)>>2];l=l+1|0}while((l|0)<((o+1|0)/2|0|0))}k=k+1|0}while((k|0)!=(p|0))}VFa(n)}while(0);i=q;return g|0}function nr(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;do if(a){if((Dp(a)|0)!=1){e=du(23944,18056,0)|0;break}gp(a,m+12|0,m+8|0,0);e=_o(c[m+12>>2]|0,c[m+8>>2]|0,32)|0;if(!e){e=du(25344,18056,0)|0;break}ip(e,a);c[m>>2]=b;c[m+4>>2]=d;l=vp(a)|0;h=bp(a)|0;j=vp(e)|0;k=bp(e)|0;a=c[m+8>>2]|0;if((a|0)>0){d=c[m+12>>2]|0;g=0;do{b=ba(g,h)|0;f=ba(g,k)|0;if((d|0)>0){a=0;do{c[j+(a+f<<2)>>2]=c[m+(((c[l+((a>>5)+b<<2)>>2]|0)>>>(a&31^31)&1)<<2)>>2];a=a+1|0;d=c[m+12>>2]|0}while((a|0)<(d|0));a=c[m+8>>2]|0}g=g+1|0}while((g|0)<(a|0))}}else e=du(28232,18056,0)|0;while(0);i=m;return e|0}function or(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+32|0;a:do if(!b)f=du(28232,18120,0)|0;else{if((Dp(b)|0)!=2){f=du(18136,18120,0)|0;break}h=Ap(b)|0;if((h|0)!=0&(e|0)==0){f=dr(b,1)|0;break}gp(b,q+16|0,q+12|0,0);f=_o(c[q+16>>2]|0,c[q+12>>2]|0,8)|0;if(!f){f=du(25344,18120,0)|0;break}ip(f,b);p=vp(b)|0;m=bp(b)|0;n=vp(f)|0;o=bp(f)|0;if((e|0)==1){e=im(8)|0;if(h){b=qm(h)|0;if((b|0)>0){g=0;do{wm(h,g,q+8|0,q+4|0,q);jm(e,c[q+8>>2]|0,c[q+4>>2]|0,c[q>>2]|0)|0;g=g+1|0}while((g|0)!=(b|0))}}else{jm(e,0,0,0)|0;jm(e,85,85,85)|0;jm(e,170,170,170)|0;jm(e,255,255,255)|0}Bp(f,e);b=c[q+12>>2]|0;if((b|0)<=0)break;e=c[q+16>>2]|0;k=0;while(1){h=ba(k,m)|0;if((e|0)>0){g=n+((ba(k,o)|0)<<2)|0;b=0;do{a[(g+b^3)>>0]=(c[p+((b>>4)+h<<2)>>2]|0)>>>(b<<1&30^30)&3;b=b+1|0;e=c[q+16>>2]|0}while((b|0)<(e|0));b=c[q+12>>2]|0}k=k+1|0;if((k|0)>=(b|0))break a}}l=WFa(256,4)|0;if(!l){f=du(18040,18120,0)|0;break}a[q+20>>0]=0;a[q+21>>0]=85;a[q+22>>0]=-86;a[q+23>>0]=-1;b=0;do{c[l+(b<<2)>>2]=(d[q+20+(b>>>4&3)>>0]|0)<<16|(d[q+20+(b>>>6&3)>>0]|0)<<24|(d[q+20+(b>>>2&3)>>0]|0)<<8|(d[q+20+(b&3)>>0]|0);b=b+1|0}while((b|0)!=256);k=c[q+16>>2]|0;b=c[q+12>>2]|0;if((b|0)>0){j=0;do{e=ba(j,o)|0;if((k|0)>0){h=p+((ba(j,m)|0)<<2)|0;g=0;do{c[n+(g+e<<2)>>2]=c[l+((d[(h+g^3)>>0]|0)<<2)>>2];g=g+1|0}while((g|0)<((k+3|0)/4|0|0));b=c[q+12>>2]|0}j=j+1|0}while((j|0)<(b|0))}VFa(l)}while(0);i=q;return f|0}function pr(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+32|0;a:do if(b){if((Dp(b)|0)!=4){e=du(18168,18152,0)|0;break}g=Ap(b)|0;if((g|0)!=0&(d|0)==0){e=dr(b,1)|0;break}gp(b,n+16|0,n+12|0,0);e=_o(c[n+16>>2]|0,c[n+12>>2]|0,8)|0;if(!e){e=du(25344,18152,0)|0;break}ip(e,b);m=vp(b)|0;j=bp(b)|0;k=vp(e)|0;l=bp(e)|0;if((d|0)!=1){b=c[n+12>>2]|0;if((b|0)<=0)break;d=c[n+16>>2]|0;h=0;while(1){g=ba(h,j)|0;if((d|0)>0){f=k+((ba(h,l)|0)<<2)|0;b=0;do{d=(c[m+((b>>3)+g<<2)>>2]|0)>>>(b<<2&28^28)&15;a[(f+b^3)>>0]=d<<4|d;b=b+1|0;d=c[n+16>>2]|0}while((b|0)<(d|0));b=c[n+12>>2]|0}h=h+1|0;if((h|0)>=(b|0))break a}}f=im(8)|0;if(g){d=qm(g)|0;if((d|0)>0){b=0;do{wm(g,b,n+8|0,n+4|0,n);jm(f,c[n+8>>2]|0,c[n+4>>2]|0,c[n>>2]|0)|0;b=b+1|0}while((b|0)!=(d|0))}}else{b=0;do{h=b*17|0;jm(f,h,h,h)|0;b=b+1|0}while((b|0)!=16)}Bp(e,f);b=c[n+12>>2]|0;if((b|0)>0){d=c[n+16>>2]|0;h=0;do{g=ba(h,j)|0;if((d|0)>0){f=k+((ba(h,l)|0)<<2)|0;b=0;do{a[(f+b^3)>>0]=(c[m+((b>>3)+g<<2)>>2]|0)>>>(b<<2&28^28)&15;b=b+1|0;d=c[n+16>>2]|0}while((b|0)<(d|0));b=c[n+12>>2]|0}h=h+1|0}while((h|0)<(b|0))}}else e=du(28232,18152,0)|0;while(0);i=n;return e|0}function qr(a,b){a=a|0;b=b|0;var c=0;a:do if(!a)c=du(28232,18216,0)|0;else switch(Dp(a)|0){case 8:{c=(Ap(a)|0)!=0;if(!(c^(b|0)!=0)){c=tp(0,a)|0;break a}if(c){c=dr(a,1)|0;break a}else{c=tp(0,a)|0;er(c);break a}}case 16:{c=hr(a)|0;if(!b)break a;er(c);break a}case 32:{c=fr(a)|0;if(!b)break a;er(c);break a}case 2:{c=or(a,b)|0;break a}case 1:if(!b){c=lr(a,-1,0)|0;break a}else{c=lr(a,0,1)|0;b=im(8)|0;jm(b,255,255,255)|0;jm(b,0,0,0)|0;Bp(c,b);break a}case 4:{c=pr(a,b)|0;break a}default:{c=du(18184,18216,0)|0;break a}}while(0);return c|0}function rr(a){a=a|0;var b=0;b=i;i=i+16|0;a:do if(!a)a=du(28232,18232,0)|0;else switch(Dp(a)|0){case 1:{a=nr(a,-1,0)|0;break a}case 32:{a=tp(0,a)|0;break a}case 4:{a=pr(a,1)|0;c[b>>2]=a;a=sr(a)|0;cp(b);break a}case 24:{a=tr(a)|0;break a}case 8:{a=sr(a)|0;break a}case 2:{a=or(a,1)|0;c[b>>2]=a;a=sr(a)|0;cp(b);break a}case 16:{a=hr(a)|0;c[b>>2]=a;a=sr(a)|0;cp(b);break a}default:{a=du(18248,18232,0)|0;break a}}while(0);i=b;return a|0}function sr(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;do if(!a)b=du(28232,18288,0)|0;else{if((Dp(a)|0)!=8){b=du(17536,18288,0)|0;break}if(Ap(a)|0){b=dr(a,2)|0;break}n=WFa(256,4)|0;if(!n){b=du(18040,18288,0)|0;break}else b=0;do{c[n+(b<<2)>>2]=b<<24|b<<16|b<<8;b=b+1|0}while((b|0)!=256);gp(a,o+4|0,o,0);l=vp(a)|0;m=bp(a)|0;b=_o(c[o+4>>2]|0,c[o>>2]|0,32)|0;if(!b){b=du(25344,18288,0)|0;break}ip(b,a);j=vp(b)|0;k=bp(b)|0;a=c[o>>2]|0;if((a|0)>0){e=c[o+4>>2]|0;h=0;do{g=ba(h,k)|0;if((e|0)>0){a=l+((ba(h,m)|0)<<2)|0;f=0;do{c[j+(f+g<<2)>>2]=c[n+((d[(a+f^3)>>0]|0)<<2)>>2];f=f+1|0;e=c[o+4>>2]|0}while((f|0)<(e|0));a=c[o>>2]|0}h=h+1|0}while((h|0)<(a|0))}VFa(n)}while(0);i=o;return b|0}function tr(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;do if(!a)b=du(28232,18352,0)|0;else{gp(a,o+12|0,o+8|0,o+4|0);if((c[o+4>>2]|0)!=24){b=du(18376,18352,0)|0;break}b=$o(c[o+12>>2]|0,c[o+8>>2]|0,32)|0;m=vp(a)|0;n=vp(b)|0;k=bp(a)|0;l=bp(b)|0;e=c[o+8>>2]|0;if((e|0)>0){f=c[o+12>>2]|0;j=0;do{h=ba(j,l)|0;if((f|0)>0){e=0;g=m+((ba(j,k)|0)<<2)|0;while(1){Sp(d[g>>0]|0,d[g+1>>0]|0,d[g+2>>0]|0,o);c[n+(e+h<<2)>>2]=c[o>>2];e=e+1|0;f=c[o+12>>2]|0;if((e|0)>=(f|0))break;else g=g+3|0}e=c[o+8>>2]|0}j=j+1|0}while((j|0)<(e|0))}ip(b,a);lp(b,a)}while(0);i=o;return b|0}function ur(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(a){b=Dp(a)|0;do if(!(Ap(a)|0))if((b|0)==8|(b|0)==32){b=rp(a)|0;c[d+4>>2]=b;break}else{b=qr(a,0)|0;c[d+4>>2]=b;break}else{b=c[n>>2]|0;c[d>>2]=18304;zb(b|0,23608,d|0)|0;b=dr(a,4)|0;c[d+4>>2]=b}while(0);a=Dp(b)|0;if(!((a|0)==8|(a|0)==32)){cp(d+4|0);b=du(18328,18304,0)|0}}else b=du(28232,18304,0)|0;i=d;return b|0}function vr(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;do if(b){if(Ap(b)|0){d=du(18416,18392,0)|0;break}gp(b,p+8|0,p+4|0,p);d=c[p>>2]|0;if((d|0)>8){d=du(18440,18392,0)|0;break}if((d|0)==8){d=tp(0,b)|0;break}d=_o(c[p+8>>2]|0,c[p+4>>2]|0,8)|0;if(!d){d=du(25344,18392,0)|0;break}ip(d,b);o=vp(b)|0;f=bp(b)|0;g=vp(d)|0;h=bp(d)|0;if((c[p+4>>2]|0)>0){m=0;do{j=ba(m,f)|0;k=g+((ba(m,h)|0)<<2)|0;e=c[p>>2]|0;if((e|0)==1){if((c[p+8>>2]|0)>0){e=0;do{a[(k+e^3)>>0]=(c[o+((e>>5)+j<<2)>>2]|0)>>>(e&31^31)&1;e=e+1|0}while((e|0)<(c[p+8>>2]|0))}}else if((e|0)==2){if((c[p+8>>2]|0)>0){e=0;do{a[(k+e^3)>>0]=(c[o+((e>>4)+j<<2)>>2]|0)>>>(e<<1&30^30)&3;e=e+1|0;b=c[p+8>>2]|0}while((e|0)<(b|0));l=b;n=16}}else if((e|0)==4){l=c[p+8>>2]|0;n=16}if((n|0)==16?(n=0,(l|0)>0):0){e=0;do{a[(k+e^3)>>0]=(c[o+((e>>4)+j<<2)>>2]|0)>>>(e<<1&30^30)&3;e=e+1|0}while((e|0)<(c[p+8>>2]|0))}m=m+1|0}while((m|0)<(c[p+4>>2]|0))}}else d=du(28232,18392,0)|0;while(0);i=p;return d|0}function wr(a){a=a|0;var b=0;a:do if(!a)b=du(28232,18456,0)|0;else{b=Ap(a)|0;switch(Dp(a)|0){case 16:{b=hr(a)|0;break a}case 8:{b=dr(a,4)|0;break a}case 4:if(!b){b=pr(a,0)|0;break a}else{b=dr(a,4)|0;break a}case 32:case 1:{b=rp(a)|0;break a}case 2:if(!b){b=or(a,0)|0;break a}else{b=dr(a,4)|0;break a}default:{xb(18480,33,1,c[n>>2]|0)|0;b=0;break a}}}while(0);return b|0}function xr(){return du(28344,18520,0)|0}function yr(){return cu(28344,18544,1)|0}function zr(e){e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+48|0;a:do if(e){if(Ar(e,o,o+12|0,o+32|0,o+4|0)|0){f=du(18592,18568,0)|0;break}f=_o(c[o>>2]|0,c[o+12>>2]|0,c[o+32>>2]|0)|0;if(!f){f=du(25568,18568,0)|0;break}m=vp(f)|0;n=bp(f)|0;h=c[o+4>>2]|0;if((h|0)<4){g=c[o+12>>2]|0;if((g|0)<=0)break;h=c[o>>2]|0;j=0;b:while(1){if((h|0)>0){g=0;do{if(((c[o+4>>2]|0)+-1|0)>>>0<2){if(Cr(e,o+24|0)|0){g=13;break b}Rp(f,g,j,c[o+24>>2]|0)}else{if(Cr(e,o+28|0)|0){g=16;break b}if(Cr(e,o+20|0)|0){g=18;break b}if(Cr(e,o+8|0)|0){g=20;break b}Sp(c[o+28>>2]|0,c[o+20>>2]|0,c[o+8>>2]|0,o+16|0);Rp(f,g,j,c[o+16>>2]|0)}g=g+1|0;h=c[o>>2]|0}while((g|0)<(h|0));g=c[o+12>>2]|0}j=j+1|0;if((j|0)>=(g|0))break a}if((g|0)==13){f=du(18616,18568,f)|0;break}else if((g|0)==16){f=du(18616,18568,f)|0;break}else if((g|0)==18){f=du(18616,18568,f)|0;break}else if((g|0)==20){f=du(18616,18568,f)|0;break}}if((h|0)==4){k=ba(c[o>>2]|0,c[o+32>>2]|0)|0;h=c[o+12>>2]|0;if((h|0)<=0)break;j=0;c:while(1){if((k|0)>0){h=m+((ba(j,n)|0)<<2)|0;g=0;do{if((Ha(o+41|0,1,1,e|0)|0)!=1)break c;a[(h+g^3)>>0]=a[o+41>>0]|0;g=g+1|0}while((g|0)<((k+7|0)/8|0|0));h=c[o+12>>2]|0}j=j+1|0;if((j|0)>=(h|0))break a}f=du(18632,18568,f)|0;break}else if((h|0)==5){if((c[o+12>>2]|0)<=0)break;h=c[o>>2]|0;l=0;d:while(1){k=ba(l,n)|0;g=(h|0)>0;if((c[o+32>>2]|0)==16){if(g){g=0;do{if((Ha(o+36|0,2,1,e|0)|0)!=1){g=52;break d}b[(m+(k<<2)+(g<<1)^2)>>1]=b[o+36>>1]|0;g=g+1|0;h=c[o>>2]|0}while((g|0)<(h|0))}}else if(g){j=0;do{if((Ha(o+41|0,1,1,e|0)|0)!=1){g=45;break d}h=c[o+32>>2]|0;if((h|0)==2){h=m+((j>>4)+k<<2)|0;g=j<<1&30;c[h>>2]=((d[o+41>>0]|0)&3)<<30-g|c[h>>2]&~(-1073741824>>>g)}else if((h|0)==4){h=m+((j>>3)+k<<2)|0;g=j<<2&28;c[h>>2]=((d[o+41>>0]|0)&15)<<28-g|c[h>>2]&~(-268435456>>>g)}else a[(m+(k<<2)+j^3)>>0]=a[o+41>>0]|0;j=j+1|0;h=c[o>>2]|0}while((j|0)<(h|0))}l=l+1|0;if((l|0)>=(c[o+12>>2]|0))break a}if((g|0)==45){f=du(18648,18568,f)|0;break}else if((g|0)==52){f=du(18664,18568,f)|0;break}}else{h=c[o+12>>2]|0;if((h|0)<=0)break;j=0;e:while(1){g=ba(j,n)|0;if((n|0)>0){h=0;do{if((Ha(o+38|0,1,1,e|0)|0)!=1){g=57;break e}if((Ha(o+39|0,1,1,e|0)|0)!=1){g=59;break e}if((Ha(o+40|0,1,1,e|0)|0)!=1){g=61;break e}Sp(d[o+38>>0]|0,d[o+39>>0]|0,d[o+40>>0]|0,o+16|0);c[m+(h+g<<2)>>2]=c[o+16>>2];h=h+1|0}while((h|0)<(n|0));h=c[o+12>>2]|0}j=j+1|0;if((j|0)>=(h|0))break a}if((g|0)==57){f=du(18680,18568,f)|0;break}else if((g|0)==59){f=du(18680,18568,f)|0;break}else if((g|0)==61){f=du(18680,18568,f)|0;break}}}else f=du(26872,18568,0)|0;while(0);i=o;return f|0}function Ar(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;m=i;i=i+48|0;if(d)c[d>>2]=0;if(e)c[e>>2]=0;if(f)c[f>>2]=0;if(g)c[g>>2]=0;a:do if(b){c[m>>2]=m+16;if((lb(b|0,18720,m|0)|0)!=1){h=cu(18728,18704,1)|0;break}if(((c[m+16>>2]|0)+-1|0)>>>0>5){h=cu(18752,18704,1)|0;break}h=Ec(b|0)|0;b:do if((h|0)==-1)l=18;else if((h|0)==35)while(1){h=Ec(b|0)|0;if((h|0)==-1){l=18;break b}else if((h|0)!=10)continue;h=Ec(b|0)|0;if((h|0)==-1){l=18;break}else if((h|0)!=35)break}while(0);if((l|0)==18){h=cu(18776,18704,1)|0;break}Wb(b|0,-1,1)|0;c[m>>2]=m+24;c[m+4>>2]=m+20;if((lb(b|0,18792,m|0)|0)!=2){h=cu(18800,18704,1)|0;break}h=c[m+24>>2]|0;j=c[m+20>>2]|0;if((h|0)<1|(j|0)<1|(h|0)>1e5|(j|0)>1e5){d=c[n>>2]|0;c[m>>2]=18704;c[m+4>>2]=h;c[m+8>>2]=j;zb(d|0,18824,m|0)|0;h=1;break}k=c[m+16>>2]|0;do if(!((k|0)==1|(k|0)==4)){c[m+12>>2]=0;j=0;c:while(1){h=Ec(b|0)|0;switch(h|0){case 9:case 10:case 13:case 32:{l=27;break c}case -1:{l=26;break c}default:{}}if((h+-48|0)>>>0>=10){l=29;break}a[m+32+j>>0]=h;j=j+1|0;if((j|0)>=8){l=31;break}}if((l|0)==26)h=cu(19352,19304,1)|0;else if((l|0)==27){a[m+32+j>>0]=10;c[m>>2]=m+12;if((zEa(m+32|0,383336,m)|0)==1)h=0;else h=cu(19432,19304,1)|0}else if((l|0)==29)h=cu(19376,19304,1)|0;else if((l|0)==31)h=cu(19408,19304,1)|0;h=(h|0)!=0;if(!((k|0)==2|(k|0)==5)){if(h){h=cu(18936,18704,1)|0;break a}h=c[m+12>>2]|0;if((h|0)==255){h=32;break}b=c[n>>2]|0;c[m>>2]=18704;c[m+4>>2]=h;zb(b|0,18968,m|0)|0;h=32;break}if(h){h=cu(18872,18704,1)|0;break a}h=c[m+12>>2]|0;if((h|0)==3){h=2;break}else if((h|0)==15){h=4;break}else if((h|0)==255){h=8;break}else if((h|0)==65535){h=16;break}else{d=c[n>>2]|0;c[m>>2]=h;zb(d|0,18904,m|0)|0;h=cu(18920,18704,1)|0;break a}}else h=1;while(0);if(d)c[d>>2]=c[m+24>>2];if(e)c[e>>2]=c[m+20>>2];if(f)c[f>>2]=h;if(g){c[g>>2]=c[m+16>>2];h=0}else h=0}else h=cu(26872,18704,1)|0;while(0);i=m;return h|0}function Br(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+48|0;a:do if(!d)e=cu(26872,19008,1)|0;else{if(!e){e=cu(28008,19008,1)|0;break}gp(e,n+20|0,n+24|0,n+12|0);switch(c[n+12>>2]|0){case 1:case 2:case 4:case 8:case 16:case 24:case 32:break;default:{e=cu(19032,19008,1)|0;break a}}if(!(Ap(e)|0))e=rp(e)|0;else e=dr(e,4)|0;c[n+16>>2]=e;k=Dp(e)|0;m=vp(e)|0;l=bp(e)|0;b:do switch(k|0){case 1:{h=c[n+24>>2]|0;c[n>>2]=c[n+20>>2];c[n+4>>2]=h;zb(d|0,19064,n|0)|0;h=c[n+20>>2]|0;e=c[n+24>>2]|0;if((e|0)>0){g=0;do{if((h|0)>0){f=m+((ba(g,l)|0)<<2)|0;e=0;do{Fc(a[(f+e^3)>>0]|0,d|0)|0;e=e+1|0}while((e|0)<((h+7|0)/8|0|0));e=c[n+24>>2]|0}g=g+1|0}while((g|0)<(e|0))}break}case 2:case 4:case 8:case 16:{e=c[n+24>>2]|0;c[n>>2]=c[n+20>>2];c[n+4>>2]=e;c[n+8>>2]=(1<>2]|0;if((k|0)==16){if((e|0)<=0)break b;f=c[n+20>>2]|0;h=0;while(1){if((f|0)>0){e=m+((ba(h,l)|0)<<2)|0;g=0;do{b[n+28>>1]=b[(e+(g<<1)^2)>>1]|0;xb(n+28|0,2,1,d|0)|0;g=g+1|0;f=c[n+20>>2]|0}while((g|0)<(f|0));e=c[n+24>>2]|0}h=h+1|0;if((h|0)>=(e|0))break b}}if((e|0)>0){g=c[n+20>>2]|0;j=0;do{h=ba(j,l)|0;if((g|0)>0){f=0;do{if((k|0)==4)g=(c[m+((f>>3)+h<<2)>>2]|0)>>>(f<<2&28^28)&15;else if((k|0)==2)g=(c[m+((f>>4)+h<<2)>>2]|0)>>>(f<<1&30^30)&3;else g=a[(m+(h<<2)+f^3)>>0]|0;Fc(g<<24>>24|0,d|0)|0;f=f+1|0;g=c[n+20>>2]|0}while((f|0)<(g|0));e=c[n+24>>2]|0}j=j+1|0}while((j|0)<(e|0))}break}default:{k=c[n+24>>2]|0;c[n>>2]=c[n+20>>2];c[n+4>>2]=k;zb(d|0,19208,n|0)|0;if((c[n+12>>2]|0)==24){g=(c[n+20>>2]|0)*3|0;if((c[n+24>>2]|0)>0){f=0;e=0;do{k=(xb(m+((ba(f,l)|0)<<2)|0,1,g|0,d|0)|0)==(g|0);e=k?e:1;f=f+1|0}while((f|0)<(c[n+24>>2]|0))}else j=47}else{e=c[n+24>>2]|0;if((e|0)>0){g=e;h=0;e=0;do{f=ba(h,l)|0;if((l|0)>0){g=0;do{k=m+(g+f<<2)|0;a[n+32>>0]=a[(k^3)>>0]|0;a[n+33>>0]=a[(k+1^3)>>0]|0;a[n+34>>0]=a[(k+2^3)>>0]|0;k=(xb(n+32|0,1,3,d|0)|0)==3;e=k?e:1;g=g+1|0}while((g|0)!=(l|0));g=c[n+24>>2]|0}h=h+1|0}while((h|0)<(g|0))}else j=47}if((j|0)==47){cp(n+16|0);e=0;break a}cp(n+16|0);if(!e){e=0;break a}e=cu(19280,19008,1)|0;break a}}while(0);cp(n+16|0);e=0}while(0);i=n;return e|0}function Cr(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;a:do if(!b)a=cu(19328,19448,1)|0;else{c[b>>2]=0;if(!a){a=cu(27184,19448,1)|0;break}b:while(1)switch(Ec(a|0)|0){case -1:{a=1;break a}case 9:case 10:case 13:case 32:break;default:break b}Wb(a|0,-1,1)|0;c[d>>2]=b;lb(a|0,383336,d|0)|0;a=0}while(0);i=d;return a|0}function Dr(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;do if(a){if(!b){b=cu(28008,19472,1)|0;break}b=wr(b)|0;c[d>>2]=b;if(!b){b=cu(19496,19472,1)|0;break}else{b=Er(b)|0;xb(b|0,1,SGa(b|0)|0,a|0)|0;VFa(b);cp(d);b=0;break}}else b=cu(27184,19472,1)|0;while(0);i=d;return b|0}function Er(b){b=b|0;var d=0,e=0,f=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+48|0;do if(b){e=wr(b)|0;c[q+16>>2]=e;if(!e){b=du(25568,19512,0)|0;break}gp(e,q+20|0,q+24|0,q+4|0);Fr(c[q+20>>2]|0,c[q+24>>2]|0,q+8|0,q,q+28|0,q+12|0);p=(c[q+4>>2]|0)==1?1:8;n=bp(e)|0;b=c[q+4>>2]|0;d=c[q+20>>2]|0;if((b|0)==1|(b|0)==8)o=((ba(d,b)|0)+7|0)/8|0;else o=d*3|0;l=vp(e)|0;j=o<<1;e=c[q+24>>2]|0;m=WFa(ba(j,e)|0|1,1)|0;if(!m){b=du(19536,19512,0)|0;break}k=c[q+4>>2]|0;if((k|0)==1|(k|0)==8)if((e|0)>0){k=(o|0)>0;h=0;d=0;do{if(k){e=l+((ba(h,n)|0)<<2)|0;b=0;f=d;while(1){Gr(a[(e+b^3)>>0]|0,q+33|0,q+32|0);a[m+f>>0]=a[q+33>>0]|0;a[m+(f+1)>>0]=a[q+32>>0]|0;b=b+1|0;if((b|0)==(o|0))break;else f=f+2|0}e=c[q+24>>2]|0;d=j+d|0}h=h+1|0}while((h|0)<(e|0))}else d=0;else if((e|0)>0){b=c[q+20>>2]|0;k=0;d=0;do{f=ba(k,n)|0;if((b|0)>0){b=0;do{e=l+(b+f<<2)|0;Gr(a[(e^3)>>0]|0,q+33|0,q+32|0);a[m+d>>0]=a[q+33>>0]|0;a[m+(d+1)>>0]=a[q+32>>0]|0;Gr(a[(e+1^3)>>0]|0,q+33|0,q+32|0);a[m+(d+2)>>0]=a[q+33>>0]|0;a[m+(d+3)>>0]=a[q+32>>0]|0;Gr(a[(e+2^3)>>0]|0,q+33|0,q+32|0);a[m+(d+4)>>0]=a[q+33>>0]|0;e=d;d=d+6|0;a[m+(e+5)>>0]=a[q+32>>0]|0;b=b+1|0;e=c[q+20>>2]|0}while((b|0)<(e|0));b=e;e=c[q+24>>2]|0}k=k+1|0}while((k|0)<(e|0))}else d=0;a[m+d>>0]=0;b=Hr(m,c[q+20>>2]|0,e,c[q+4>>2]|0,o,p,+g[q+8>>2],+g[q>>2],+g[q+28>>2],+g[q+12>>2])|0;if(!b){b=du(19560,19512,0)|0;break}else{cp(q+16|0);break}}else b=du(28232,19512,0)|0;while(0);i=q;return b|0}function Fr(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var j=0,k=0;j=i;i=i+16|0;if((8.5-+(a|0)/300.0)*.5<0.0){k=c[n>>2]|0;c[j>>2]=20136;zb(k|0,20160,j|0)|0}if(+(a|0)/300.0+(8.5-+(a|0)/300.0)*.5>8.5){k=c[n>>2]|0;c[j>>2]=20136;zb(k|0,20200,j|0)|0}if((11.0-+(b|0)/300.0)*.5<0.0){k=c[n>>2]|0;c[j>>2]=20136;zb(k|0,20240,j|0)|0}if(+(b|0)/300.0+(11.0-+(b|0)/300.0)*.5>11.0){k=c[n>>2]|0;c[j>>2]=20136;zb(k|0,20280,j|0)|0}g[f>>2]=+(a|0)/300.0*72.0;g[h>>2]=+(b|0)/300.0*72.0;g[d>>2]=(8.5-+(a|0)/300.0)*.5*72.0;g[e>>2]=(11.0-+(b|0)/300.0)*.5*72.0;i=j;return}function Gr(b,c,d){b=b|0;c=c|0;d=d|0;a[c>>0]=(b&255)<160?(b&255)>>>4&255|48:((b&255)>>>4&255)+87|0;a[d>>0]=(b&15)>>>0<10?b&15|48:(b&15)+87|0;return}function Hr(a,b,d,e,f,g,j,l,m,n){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=+j;l=+l;m=+m;n=+n;var o=0,p=0;p=i;i=i+560|0;do if(a){o=vs(0)|0;c[p+32>>2]=o;if(!o){o=du(22600,19576,0)|0;break}ws(o,19624,1);h[k>>3]=j;c[p>>2]=c[k>>2];c[p+4>>2]=c[k+4>>2];h[k>>3]=l;c[p+8>>2]=c[k>>2];c[p+12>>2]=c[k+4>>2];h[k>>3]=j+m;c[p+16>>2]=c[k>>2];c[p+20>>2]=c[k+4>>2];h[k>>3]=l+n;c[p+24>>2]=c[k>>2];c[p+28>>2]=c[k+4>>2];xGa(p+40|0,19640,p)|0;ws(o,p+40|0,1);if((e|0)==1){ws(o,19688,1);o=c[p+32>>2]|0}c[p>>2]=f;xGa(p+40|0,19736,p)|0;ws(o,p+40|0,1);h[k>>3]=j;c[p>>2]=c[k>>2];c[p+4>>2]=c[k+4>>2];h[k>>3]=l;c[p+8>>2]=c[k>>2];c[p+12>>2]=c[k+4>>2];xGa(p+40|0,19784,p)|0;ws(o,p+40|0,1);h[k>>3]=m;c[p>>2]=c[k>>2];c[p+4>>2]=c[k+4>>2];h[k>>3]=n;c[p+8>>2]=c[k>>2];c[p+12>>2]=c[k+4>>2];xGa(p+40|0,19840,p)|0;ws(o,p+40|0,1);c[p>>2]=b;c[p+4>>2]=d;c[p+8>>2]=g;xGa(p+40|0,19896,p)|0;ws(o,p+40|0,1);c[p>>2]=b;c[p+4>>2]=0;c[p+8>>2]=0;c[p+12>>2]=0-d;c[p+16>>2]=0;c[p+20>>2]=d;xGa(p+40|0,19952,p)|0;ws(o,p+40|0,1);if((e|0)==1|(e|0)==8){ws(o,20016,1);ws(c[p+32>>2]|0,a,0)}else{ws(o,20064,1);ws(c[p+32>>2]|0,a,0)}o=c[p+32>>2]|0;ws(o,20120,1);o=Es(o,1)|0;if(!o){o=du(19560,19576,0)|0;break}else{zs(p+32|0);break}}else o=du(19600,19576,0)|0;while(0);i=p;return o|0}function Ir(a){a=a|0;var b=0,d=0;b=(a|0)<1?20:a;a=WFa(1,20)|0;do if(a){c[a>>2]=0;c[a+4>>2]=b;Jr(a,1);d=WFa(b,4)|0;c[a+12>>2]=d;if(!d){a=du(20352,20320,0)|0;break}d=WFa(b,4)|0;c[a+16>>2]=d;if(!d)a=du(20376,20320,0)|0}else a=du(20336,20320,0)|0;while(0);return a|0}function Jr(a,b){a=a|0;b=b|0;if(!a)cu(20416,20480,1)|0;else c[a+8>>2]=(c[a+8>>2]|0)+b;return}function Kr(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0;if(!a)cu(20416,20448,1)|0;else{e=c[a>>2]|0;if((e|0)<(c[a+4>>2]|0))f=e;else{Sr(a);f=c[a>>2]|0}g[(c[a+12>>2]|0)+(e<<2)>>2]=b;g[(c[a+16>>2]|0)+(e<<2)>>2]=d;c[a>>2]=f+1}return}function Lr(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(a){b=c[a>>2]|0;if(b){Jr(b,-1);if((Mr(b)|0)<1){VFa(c[b+12>>2]|0);VFa(c[b+16>>2]|0);VFa(b)}c[a>>2]=0}}else{a=c[n>>2]|0;c[d>>2]=20400;zb(a|0,25048,d|0)|0}i=d;return}function Mr(a){a=a|0;if(!a)a=cu(20416,20464,1)|0;else a=c[a+8>>2]|0;return a|0}function Nr(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(d)g[d>>2]=0.0;if(e)g[e>>2]=0.0;do if(!a)cu(20416,20520,1)|0;else{if((b|0)>=0?(c[a>>2]|0)>(b|0):0){if(d)g[d>>2]=+g[(c[a+12>>2]|0)+(b<<2)>>2];if(!e)break;g[e>>2]=+g[(c[a+16>>2]|0)+(b<<2)>>2];break}cu(20536,20520,1)|0}while(0);return}function Or(a){a=a|0;if(!a)a=cu(20416,20504,0)|0;else a=c[a>>2]|0;return a|0}function Pr(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(d)c[d>>2]=0;if(e)c[e>>2]=0;do if(!a)cu(20416,20552,1)|0;else{if((b|0)>=0?(c[a>>2]|0)>(b|0):0){if(d)c[d>>2]=~~(+g[(c[a+12>>2]|0)+(b<<2)>>2]+.5);if(!e)break;c[e>>2]=~~(+g[(c[a+16>>2]|0)+(b<<2)>>2]+.5);break}cu(20536,20552,1)|0}while(0);return}function Qr(a){a=a|0;if(!a)a=du(20416,20432,0)|0;else Jr(a,1);return a|0}function Rr(a,b,d,e){a=a|0;b=b|0;d=+d;e=+e;do if(!a)cu(20416,20568,1)|0;else{if((b|0)>=0?(c[a>>2]|0)>(b|0):0){g[(c[a+12>>2]|0)+(b<<2)>>2]=d;g[(c[a+16>>2]|0)+(b<<2)>>2]=e;break}cu(20536,20568,1)|0}while(0);return}function Sr(a){a=a|0;var b=0;do if(a){b=c[a+4>>2]|0;b=mu(a+12|0,b<<2,b<<3)|0;c[a+12>>2]=b;if(!b){cu(20600,20584,1)|0;break}b=c[a+4>>2]|0;b=mu(a+16|0,b<<2,b<<3)|0;c[a+16>>2]=b;if(!b){cu(20632,20584,1)|0;break}else{c[a+4>>2]=c[a+4>>2]<<1;break}}else cu(20416,20584,1)|0;while(0);return}function Tr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;do if(a){if(b){d=Or(b)|0;if((d|0)<1){cu(20696,20664,1)|0;break}else{e=0;while(1){Pr(b,e,f+4|0,f);Kr(a,+(c[f+4>>2]|0),+(c[f>>2]|0));if((e|0)<(d+-1|0))e=e+1|0;else break}}}}else cu(20672,20664,1)|0;while(0);i=f;return}function Ur(a){a=a|0;var b=0,d=0;b=(a|0)<1?20:a;a=WFa(1,16)|0;do if(a){d=WFa(b,4)|0;c[a+12>>2]=d;if(!d){a=du(25176,20720,0)|0;break}else{c[a>>2]=b;c[a+4>>2]=-1;c[a+8>>2]=0;break}}else a=du(20736,20720,0)|0;while(0);return a|0}function Vr(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(a){b=c[a>>2]|0;if(b){Wr(b,d+4|0);VFa(c[b+12>>2]|0);VFa(b);c[a>>2]=0}}else{a=c[n>>2]|0;c[d>>2]=20752;zb(a|0,25936,d|0)|0}i=d;return}function Wr(a,b){a=a|0;b=b|0;do if(a)if(!b){cu(20992,20968,1)|0;break}else{c[b>>2]=c[a+8>>2];break}else cu(20776,20968,1)|0;while(0);return}function Xr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;do if(a){Zr(a,g);e=c[g>>2]|0;if((b|0)<0|(e|0)<(b|0)){d=du(20832,20816,0)|0;break}f=(c[a+12>>2]|0)+(b<<2)|0;d=c[f>>2]|0;if(d)c[a+8>>2]=(c[a+8>>2]|0)+-1;c[f>>2]=0;if((e|0)==(b|0)){do{f=b;b=b+-1|0;if((f|0)<=0)break}while((c[(c[a+12>>2]|0)+(b<<2)>>2]|0)==0);c[a+4>>2]=b}}else d=du(20776,20816,0)|0;while(0);i=g;return d|0}function Yr(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;a:do if(!a)cu(20776,20768,1)|0;else{if(!b){cu(26016,20768,1)|0;break}Zr(a,e);d=c[e>>2]|0;do if((d|0)>=((c[a>>2]|0)+-1|0))if(!(as(a)|0)){d=c[e>>2]|0;break}else{cu(20792,20768,1)|0;break a}while(0);c[(c[a+12>>2]|0)+(d+1<<2)>>2]=b;c[a+4>>2]=(c[a+4>>2]|0)+1;c[a+8>>2]=(c[a+8>>2]|0)+1}while(0);i=e;return}function Zr(a,b){a=a|0;b=b|0;do if(a)if(!b){cu(20944,20928,1)|0;break}else{c[b>>2]=c[a+4>>2];break}else cu(20776,20928,1)|0;while(0);return}function _r(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;if(a){Zr(a,j+12|0);Wr(a,j+8|0);f=c[j+12>>2]|0;h=c[j+8>>2]|0;if((f+1|0)!=(h|0)){if((f|0)<0)b=0;else{g=0;b=0;while(1){d=c[a+12>>2]|0;e=c[d+(g<<2)>>2]|0;if(e){c[d+(b<<2)>>2]=e;b=b+1|0}if((g|0)==(f|0))break;else g=g+1|0}}c[a+4>>2]=b+-1;if((h|0)!=(b|0)){a=c[n>>2]|0;c[j>>2]=20864;c[j+4>>2]=b;zb(a|0,20888,j|0)|0}}}else cu(20776,20864,1)|0;i=j;return}function $r(a,b){a=a|0;b=b|0;do if(!a)b=du(20776,21016,0)|0;else{if((b|0)>=0?(c[a>>2]|0)>(b|0):0){b=c[(c[a+12>>2]|0)+(b<<2)>>2]|0;break}b=du(21040,21016,0)|0}while(0);return b|0}function as(a){a=a|0;var b=0;do if(a){b=c[a>>2]|0;b=mu(a+12|0,b<<2,b<<3)|0;c[a+12>>2]=b;if(!b){a=cu(23144,21072,1)|0;break}else{c[a>>2]=c[a>>2]<<1;a=0;break}}else a=cu(20776,21072,1)|0;while(0);return a|0}function bs(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;do if(a){b=ou(a)|0;if(!b){b=c[n>>2]|0;c[d>>2]=21088;c[d+4>>2]=a;zb(b|0,21096,d|0)|0;a=0;break}a=cs(b)|0;Yb(b|0)|0;if(!a)a=du(21136,21088,0)|0}else a=du(28024,21088,0)|0;while(0);i=d;return a|0}function cs(a){a=a|0;var b=0;b=i;i=i+16|0;a:do if(!a)a=du(28120,21152,0)|0;else{ds(a,b);b:do switch(c[b>>2]|0){case 3:{a=xr()|0;if(!a){a=du(21216,21152,0)|0;break a}break}case 14:{a=Rn()|0;if(!a){a=du(21312,21152,0)|0;break a}break}case 11:{a=zr(a)|0;if(!a){a=du(21264,21152,0)|0;break a}break}case 15:{a=Lu()|0;if(!a){a=du(21336,21152,0)|0;break a}break}case 10:case 9:case 8:case 7:case 6:case 5:case 4:{a=Zt()|0;if(!a){a=du(21240,21152,0)|0;break a}break}case 13:{a=En()|0;if(!a){a=du(21288,21152,0)|0;break a}break}case 18:{a=Qt(a)|0;if(!a){a=du(21360,21152,0)|0;break a}break}case 2:{a=Tn()|0;if(!a){a=du(21192,21152,0)|0;break a}else{Wn()|0;VFa(0);break b}}case 1:{a=Dl(a)|0;if(!a){a=du(21168,21152,0)|0;break a}break}case 0:{a=du(21384,21152,0)|0;break a}default:{a=0;break a}}while(0);Op(a,c[b>>2]|0)}while(0);i=b;return a|0}function ds(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;do if(!b)cu(21416,21440,1)|0;else{c[b>>2]=0;if(!a){cu(28120,21440,1)|0;break}Va(a|0);if((tu(a)|0)>>>0<12){cu(21464,21440,1)|0;break}if((Ha(e+4|0,1,12,a|0)|0)!=12){cu(21480,21440,1)|0;break}Va(a|0);es(e+4|0,e);d=c[e>>2]|0;if((d|0)==4){au();Va(a|0);d=c[e>>2]|0}c[b>>2]=d}while(0);i=e;return}function es(b,d){b=b|0;d=d|0;var e=0,f=0;a:do if(!d)cu(21416,21520,1)|0;else{c[d>>2]=0;if(!b){cu(21544,21520,0)|0;break}f=a[b>>0]|0;e=a[b+1>>0]|0;if((vu((e&255)<<8&65535|f&255)|0)<<16>>16==19778){c[d>>2]=1;break}if(((e&255)<<8&65535|f&255)<<16>>16==18761?1:((e&255)<<8&65535|f&255)<<16>>16==19789){c[d>>2]=4;break}b:do if(f<<24>>24==80)switch(e<<24>>24){case 50:case 53:{c[d>>2]=11;break a}case 51:case 54:{c[d>>2]=11;break a}case 49:case 52:{c[d>>2]=11;break a}default:break b}else if(f<<24>>24==-119){if(e<<24>>24==80)if((((((a[b+2>>0]|0)==78?(a[b+3>>0]|0)==71:0)?(a[b+4>>0]|0)==13:0)?(a[b+5>>0]|0)==10:0)?(a[b+6>>0]|0)==26:0)?(a[b+7>>0]|0)==10:0){c[d>>2]=3;break a}else e=80}else if(f<<24>>24==-1){if(e<<24>>24==-40){c[d>>2]=2;break a}}else if(f<<24>>24==71?e<<24>>24==73:0)if((((a[b+2>>0]|0)==70?(a[b+3>>0]|0)==56:0)?(e=a[b+4>>0]|0,e<<24>>24==57|e<<24>>24==55):0)?(a[b+5>>0]|0)==97:0){c[d>>2]=13;break a}else e=73;while(0);do if(IGa(b,21568,4)|0){if(!(f<<24>>24))break;else if(f<<24>>24==115){if(e<<24>>24!=112)break a;if((a[b+2>>0]|0)!=105)break a;if((a[b+3>>0]|0)!=120)break a;c[d>>2]=18;break a}else if(f<<24>>24!=82)break a;if(e<<24>>24!=73)break a;if((a[b+2>>0]|0)!=70)break a;if((a[b+3>>0]|0)!=70)break a;if((a[b+8>>0]|0)!=87)break a;if((a[b+9>>0]|0)!=69)break a;if((a[b+10>>0]|0)!=66)break a;if((a[b+11>>0]|0)!=80)break a;c[d>>2]=15;break a}while(0);c[d>>2]=14}while(0);return}function fs(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0;do if(a){if((f|0)!=20){j=Dp(a)|0;if((f|0)==0|(f|0)==10|(f|0)==30){g=vp(a)|0;h=Cp(a)|0;i=up(a)|0;is(g,h,i,j,bp(a)|0,b,c,d,e,f);break}if(!g){cu(28232,21576,1)|0;break}if((j|0)==(Dp(g)|0)){p=vp(a)|0;o=Cp(a)|0;n=up(a)|0;m=bp(a)|0;l=vp(g)|0;k=Cp(g)|0;a=up(g)|0;js(p,o,n,j,m,b,c,d,e,f,l,k,a,bp(g)|0,h,i);break}else{cu(21616,21576,1)|0;break}}}else cu(21592,21576,1)|0;while(0);return}function gs(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;g=i;i=i+32|0;do if(a){if((d|0)<1){cu(21664,21648,1)|0;break}if(e){gp(a,g+16|0,g+12|0,g+8|0);k=vp(a)|0;j=c[g+16>>2]|0;h=c[g+12>>2]|0;f=c[g+8>>2]|0;hs(k,j,h,f,bp(a)|0,b,d,e);f=Ap(a)|0;if(!f){f=(c[g+8>>2]|0)>1?30:0;if((e|0)>0){fs(a,b,0,d,e,f,0,0,0);break}else{fs(a,b,(c[g+12>>2]|0)+e|0,d,0-e|0,f,0,0,0);break}}vm(f,g+4|0);f=_o(d,(e|0)<0?0-e|0:e,c[g+8>>2]|0)|0;c[g>>2]=f;Xp(f,c[g+4>>2]|0);if((e|0)>0)fs(a,b,0,d,e,24,f,0,0);else fs(a,b,(c[g+12>>2]|0)+e|0,d,0-e|0,24,f,0,0);cp(g)}}else cu(21592,21648,1)|0;while(0);i=g;return}function hs(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if((e|0)==1)k=b;else{k=ba(e,b)|0;g=ba(g,e)|0;h=ba(h,e)|0}n=(g|0)<0;b=(n?g:0)+h|0;n=n?0:g;if(!((k|0)<=(n|0)|(b|0)<1)){o=(b+n|0)>(k|0)?k-n|0:b;do if(n&31){b=c[21680+(32-(n&31)<<2)>>2]|0;if((i|0)>-1){l=32-(n&31)|0;q=1;s=a+((n>>5)+(ba(d+-1|0,f)|0)<<2)|0;r=a+((n>>5)+(ba(d+-1-i|0,f)|0)<<2)|0;break}else{l=32-(n&31)|0;q=1;s=a+(n>>5<<2)|0;r=a+((n>>5)-(ba(i,f)|0)<<2)|0;break}}else{l=0;b=0;q=0;s=0;r=0}while(0);do if((o|0)>=(l|0)){l=o-l>>5;do if(l){if(q){j=1;m=s+4|0;p=r+4|0;break}if((i|0)>-1){j=1;m=a+((n>>5)+(ba(d+-1|0,f)|0)<<2)|0;p=a+((n>>5)+(ba(d+-1-i|0,f)|0)<<2)|0;break}else{j=1;m=a+(n>>5<<2)|0;p=a+((n>>5)-(ba(i,f)|0)<<2)|0;break}}else{j=0;l=0;m=0;p=0}while(0);if(o+n&31){k=c[21816+((o+n&31)<<2)>>2]|0;if(q){e=l+1|0;w=k;v=1;u=l;g=s+(e<<2)|0;t=p;e=r+(e<<2)|0;break}if((i|0)>-1){w=k;v=1;u=l;g=a+((n>>5)+(ba(d+-1|0,f)|0)+l<<2)|0;t=p;e=a+((n>>5)+(ba(d+-1-i|0,f)|0)+l<<2)|0;break}else{w=k;v=1;u=l;g=a+(l+(n>>5)<<2)|0;t=p;e=a+((n>>5)-(ba(i,f)|0)+l<<2)|0;break}}else{w=0;v=0;u=l;g=0;t=p;e=0}}else{j=0;b=c[21816+(o+32-l<<2)>>2]&b;w=0;v=0;u=0;m=0;g=0;t=0;e=0}while(0);f=(i|0)>-1?0-f|0:f;i=d-((i|0)<0?0-i|0:i)|0;h=(i|0)<0?0:i;if(q){if((h|0)>0){n=~b;p=(i|0)>0?i:0;l=0;k=s;o=r;while(1){c[k>>2]=c[o>>2]&b|c[k>>2]&n;l=l+1|0;if((l|0)>=(h|0))break;else{k=k+(f<<2)|0;o=o+(f<<2)|0}}l=s+((ba(f,p)|0)<<2)|0}else l=s;if((h|0)<(d|0)){k=~b;b=h;while(1){c[l>>2]=c[l>>2]&k;b=b+1|0;if((b|0)==(d|0))break;else l=l+(f<<2)|0}}}if(j){if((h|0)>0){j=(u|0)>0;o=(i|0)>0?i:0;b=0;n=m;k=t;while(1){if(j){l=0;do{c[n+(l<<2)>>2]=c[k+(l<<2)>>2];l=l+1|0}while((l|0)!=(u|0))}b=b+1|0;if((b|0)>=(h|0))break;else{n=n+(f<<2)|0;k=k+(f<<2)|0}}m=m+((ba(f,o)|0)<<2)|0}if((h|0)<(d|0)){b=(u|0)>0;l=u<<2;k=d-((i|0)>0?i:0)|0;j=0;do{if(b)YGa(m+((ba(f,j)|0)<<2)|0,0,l|0)|0;j=j+1|0}while((j|0)!=(k|0))}}if(v){if((h|0)>0){l=~w;k=(i|0)>0?i:0;b=0;j=g;while(1){c[j>>2]=c[e>>2]&w|c[j>>2]&l;b=b+1|0;if((b|0)>=(h|0))break;else{j=j+(f<<2)|0;e=e+(f<<2)|0}}g=g+((ba(f,k)|0)<<2)|0}if((h|0)<(d|0)){b=~w;while(1){c[g>>2]=c[g>>2]&b;h=h+1|0;if((h|0)==(d|0))break;else g=g+(f<<2)|0}}}}return}function is(a,b,d,e,f,g,h,j,k,l){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;if((e|0)!=1){b=ba(e,b)|0;g=ba(g,e)|0;j=ba(j,e)|0}p=(g|0)<0;r=(p?g:0)+j|0;g=p?0:g;p=g-b+r|0;p=r-((p|0)>0?p:0)|0;r=((h|0)<0?h:0)+k|0;j=(h|0)<0?0:h;r=r-((j-d+r|0)>0?j-d+r|0:0)|0;a:do if(!((p|0)<1|(r|0)<1)){if(!(g&31)){if(p&31)d=c[21816+((p&31)<<2)>>2]|0;else d=0;h=(g>>5)+(ba(j,f)|0)|0;if((l|0)==30){if((r|0)<=0)break;j=~d;g=0;e=a+(h+(p>>5)<<2)|0;while(1){b=a+((ba(g,f)|0)+h<<2)|0;if((p>>5|0)>0){YGa(b|0,-1,p>>5<<2|0)|0;b=e}if(p&31)c[b>>2]=c[b>>2]&j|d;g=g+1|0;if((g|0)==(r|0))break a;else e=e+(f<<2)|0}}else if(!l){if((r|0)<=0)break;b=~d;g=0;k=a+(h+(p>>5)<<2)|0;while(1){j=a+((ba(g,f)|0)+h<<2)|0;if((p>>5|0)>0){YGa(j|0,0,p>>5<<2|0)|0;j=k}if(p&31)c[j>>2]=c[j>>2]&b;g=g+1|0;if((g|0)==(r|0))break a;else k=k+(f<<2)|0}}else if((l|0)==10){if((r|0)<=0)break;b=0;g=a+(h+(p>>5)<<2)|0;while(1){j=a+((ba(b,f)|0)+h<<2)|0;if((p>>5|0)>0){e=0;while(1){c[j>>2]=~c[j>>2];e=e+1|0;if((e|0)==(p>>5|0)){j=g;break}else j=j+4|0}}if(p&31)c[j>>2]=c[j>>2]^d;b=b+1|0;if((b|0)==(r|0))break a;else g=g+(f<<2)|0}}else{f=c[n>>2]|0;c[s>>2]=l;zb(f|0,22e3,s|0)|0;break}}b=c[21680+(32-(g&31)<<2)>>2]|0;d=(g>>5)+(ba(j,f)|0)|0;if((p|0)>=(32-(g&31)|0)){e=p-(32-(g&31))>>5;if(!(p+g&31)){h=(e|0)!=0&1;q=0;p=0;m=e;o=a+(d+1<<2)|0;k=0}else{h=(e|0)!=0&1;q=c[21816+((p+g&31)<<2)>>2]|0;p=1;m=e;o=a+(d+1<<2)|0;k=a+(d+1+e<<2)|0}}else{h=0;b=c[21816+((g&31)+p<<2)>>2]&b;q=0;p=0;m=0;o=0;k=0}if(!l){if((r|0)<=0)break;b=~b;j=0;e=a+(d<<2)|0;while(1){c[e>>2]=c[e>>2]&b;j=j+1|0;if((j|0)==(r|0))break;else e=e+(f<<2)|0}if(h){b=(m|0)>0;j=m<<2;g=0;do{if(b)YGa(o+((ba(g,f)|0)<<2)|0,0,j|0)|0;g=g+1|0}while((g|0)!=(r|0))}if(!p)break;g=~q;j=0;while(1){c[k>>2]=c[k>>2]&g;j=j+1|0;if((j|0)==(r|0))break;else k=k+(f<<2)|0}}else if((l|0)==30){if((r|0)<=0)break;j=~b;g=0;e=a+(d<<2)|0;while(1){c[e>>2]=c[e>>2]&j|b;g=g+1|0;if((g|0)==(r|0))break;else e=e+(f<<2)|0}if(h){b=(m|0)>0;j=m<<2;g=0;do{if(b)YGa(o+((ba(g,f)|0)<<2)|0,-1,j|0)|0;g=g+1|0}while((g|0)!=(r|0))}if(!p)break;j=~q;g=0;while(1){c[k>>2]=c[k>>2]&j|q;g=g+1|0;if((g|0)==(r|0))break;else k=k+(f<<2)|0}}else if((l|0)==10){if((r|0)>0){j=0;e=a+(d<<2)|0}else break;while(1){c[e>>2]=c[e>>2]^b;j=j+1|0;if((j|0)==(r|0))break;else e=e+(f<<2)|0}if(h){g=(m|0)>0;e=0;j=o;while(1){if(g){b=0;do{a=j+(b<<2)|0;c[a>>2]=~c[a>>2];b=b+1|0}while((b|0)!=(m|0))}e=e+1|0;if((e|0)==(r|0))break;else j=j+(f<<2)|0}}if(!p)break;else j=0;while(1){c[k>>2]=c[k>>2]^q;j=j+1|0;if((j|0)==(r|0))break;else k=k+(f<<2)|0}}else{f=c[n>>2]|0;c[s>>2]=l;zb(f|0,22e3,s|0)|0;break}}while(0);i=s;return} -function _ca(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,j=0;j=i;i=i+16|0;b[j+2>>1]=0;b[j>>1]=0;a:do if(DD(a+4|0,d+4|0)|0){f=b[a+16>>1]|0;if(!(f<<16>>16)){f=(sP(d+4|0,a+4|0)|0)&1;break}g=e[a+12>>1]|e[a+14>>1]<<16;c[j>>2]=g;if(f<<16>>16>0){f=0;while(1){g=$ca(d,g&65535,g>>>16&65535)|0;if(g<<16>>16!=32767){h=15;break}yV(j+8|0,c[a+20>>2]|0,f);eB(j,b[j+8>>1]|0,b[j+10>>1]|0);f=f+1|0;if((f|0)>=(b[a+16>>1]|0))break;g=c[j>>2]|0}if((h|0)==15){f=g<<16>>16!=0&1;break}f=e[d+12>>1]|e[d+14>>1]<<16;c[j>>2]=f;if((b[d+16>>1]|0)>0){g=0;while(1){f=$ca(a,f&65535,f>>>16&65535)|0;if(f<<16>>16!=32767)break;yV(j+4|0,c[d+20>>2]|0,g);eB(j,b[j+4>>1]|0,b[j+6>>1]|0);g=g+1|0;if((g|0)>=(b[d+16>>1]|0)){f=1;break a}f=c[j>>2]|0}f=f<<16>>16==0&1}else f=1}else f=0}else f=0;while(0);i=j;return f|0}function $ca(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;b[k+6>>1]=0;b[k+4>>1]=0;x7(k+4|0,b[a+12>>1]|0,b[a+14>>1]|0,d,e);a:do if((b[a+16>>1]|0)>0){d=0;h=0;do{yV(k,c[a+20>>2]|0,h<<16>>16);g=c[k>>2]|0;e=b[k+6>>1]|0;do if(e<<16>>16<1){if(((g>>16)+(e<<16>>16)|0)<=0)if(e<<16>>16>0?((g>>16)+(e<<16>>16)|0)<1:0){j=10;break}else break;f=ba(b[k+4>>1]|0,g>>16)|0;e=ba(g<<16>>16,e<<16>>16)|0;if((f-e|0)<=0)if((f|0)==(e|0)){d=32767;break a}else break;else{d=d+1<<16>>16;break}}else if(((g>>16)+(e<<16>>16)|0)<1)j=10;while(0);do if((j|0)==10){j=0;f=ba(b[k+4>>1]|0,g>>16)|0;e=ba(g<<16>>16,e<<16>>16)|0;if((f-e|0)>=0)if((f|0)==(e|0)){d=32767;break a}else break;else{d=d+-1<<16>>16;break}}while(0);eB(k+4|0,g&65535,g>>>16&65535);h=h+1<<16>>16}while(h<<16>>16<(b[a+16>>1]|0))}else d=0;while(0);i=k;return d|0}function ada(d){d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;e=b[d+16>>1]|0;do if(!(e<<16>>16))e=128;else{Z$(j+9|0,c[d+20>>2]|0,(e<<16>>16)+-1|0);if((b[d+16>>1]|0)>0){f=0;g=a[j+9>>0]|0;h=0;do{Z$(j+8|0,c[d+20>>2]|0,h<<16>>16);e=g;g=a[j+8>>0]|0;e=nda(g,e)|0;if(!(e<<24>>24==-32|e<<24>>24==32|e<<24>>24==0)){c[j>>2]=359656;c[j+4>>2]=561;$L(359616,359840,2,1702e3,j)}f=(e<<24>>24)+(f&65535)|0;a[j+9>>0]=g;h=h+1<<16>>16}while(h<<16>>16<(b[d+16>>1]|0));e=f&65535;if(e<<16>>16==-128|e<<16>>16==128)break}else e=0;c[j>>2]=359656;c[j+4>>2]=565;$L(359616,359888,2,1702e3,j)}while(0);i=j;return e|0}function bda(d){d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;h=b[d+16>>1]|0;a:do if(((((h<<16>>16)+1|0)/2|0)<<16|0)>0){f=h;g=0;e=0;while(1){f=(f&65535)-g+65535|0;Z$(j+3|0,c[d+20>>2]|0,g);Z$(j+1|0,c[d+20>>2]|0,f<<16>>16);pda(j+2|0,a[j+1>>0]|0,64);mda(c[d+20>>2]|0,e,a[j+2>>0]|0);pda(j,a[j+3>>0]|0,64);mda(c[d+20>>2]|0,f&65535,a[j>>0]|0);e=e+1<<16>>16;if((e<<16>>16|0)>=((((h<<16>>16)+1|0)/2|0)<<16>>16|0))break a;f=b[d+16>>1]|0;g=e<<16>>16}}while(0);i=j;return}function cda(a){a=a|0;var c=0,d=0;d=i;i=i+32|0;a:do if((b[a+16>>1]|0)!=0?(c=Yca(a)|0,pk(d,a+28|0),rk(d),!(sk(d)|0)):0)while(1){a=tk(d)|0;if((ba(Yca(a)|0,c)|0)>0){a=0;break a}if(!(cda(a)|0)){a=0;break a}OL(d)|0;if(sk(d)|0){a=1;break}}else a=1;while(0);i=d;return a|0}function dda(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+48|0;if(((kl(a+4|0)|0)<<16>>16|0)>=(b|0)?((ll(a+4|0)|0)<<16>>16|0)>=(b|0):0){if((c[a+28>>2]|0)!=0?(pk(e+8|0,a+28|0),rk(e+8|0),!(sk(e+8|0)|0)):0)do{dda(tk(e+8|0)|0,b,e+8|0);OL(e+8|0)|0}while(!(sk(e+8|0)|0))}else{if((tk(d)|0)!=(a|0)){c[e>>2]=359656;c[e+4>>2]=636;$L(359616,359920,2,1702e3,e)}d=pv(d)|0;if(d){Y$(d);YEa(d)}}i=e;return}function eda(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;i=i+48|0;if((Dp(g)|0)==8){u=vp(g)|0;v=bp(g)|0;w=Cp(g)|0;x=up(g)|0;y=(b[d+18>>1]&1)!=0;h=c[d+24>>2]|0;if(h)ZEa(h);h=b[d+16>>1]|0;c[d+24>>2]=XEa(h>>>0>1431655765?-1:h*3|0)|0;h=e[d+12>>1]|e[d+14>>1]<<16;c[z+4>>2]=h;b[z+18>>1]=0;b[z+16>>1]=0;qda(u,v,h<<16>>16,x-(h>>16)|0,w,x,z+16|0);if((b[d+16>>1]|0)>0){s=c[z+16>>2]|0;r=s;s=s>>>16;t=0;do{yV(z+32|0,c[d+20>>2]|0,t);m=h&65535;l=h>>>16;eB(z+4|0,b[z+32>>1]|0,b[z+34>>1]|0);n=h;h=c[z+4>>2]|0;k=h&65535;j=h>>>16;b[z+26>>1]=0;b[z+24>>1]=0;o=h<<16>>16;qda(u,v,o,x-(h>>16)|0,w,x,z+24|0);p=r;r=c[z+24>>2]|0;p=r+p|0;q=s;s=r>>>16;q=s+q|0;c[z+28>>2]=0;if((l&65535)<<16>>16==(j&65535)<<16>>16?(((q&65535)<<16>>16>-1?q<<16>>16:0-(q<<16>>16)|0)<<1|0)>=(((p&65535)<<16>>16>-1?p<<16>>16:0-(p<<16>>16)|0)|0):0){l=m<<16>>16>k<<16>>16^y?-1:1;j=(m<<16>>16>k<<16>>16?h:n)<<16>>16;c[z>>2]=0;c[z+12>>2]=x-(n>>16);rda(u,v,l,j,x-(n>>16)|0,x,z+28|0,z,z+12|0)|0;k=x-(n>>16)|0;do k=k+1|0;while(rda(u,v,l,j,k,x,z+28|0,z,z+12|0)|0);k=x-(n>>16)|0;do k=k+-1|0;while(rda(u,v,l,j,k,x,z+28|0,z,z+12|0)|0);k=ba(((c[z>>2]|0)/2|0)-f|0,l)|0;j=c[z+28>>2]|0;k=(ba(x-(n>>16)-(c[z+12>>2]|0)|0,j)|0)+k|0;m=18}else if(m<<16>>16==k<<16>>16?(((p&65535)<<16>>16>-1?p<<16>>16:0-(p<<16>>16)|0)<<1|0)>=(((q&65535)<<16>>16>-1?q<<16>>16:0-(q<<16>>16)|0)|0):0){m=(l&65535)<<16>>16>(j&65535)<<16>>16^y?-1:1;k=vp(g)|0;j=k+((ba(x-(((l&65535)<<16>>16<(j&65535)<<16>>16?j:l)<<16>>16)|0,v)|0)<<2)|0;c[z+8>>2]=0;c[z+20>>2]=o;sda(j,m,o,w,z+28|0,z+8|0,z+20|0)|0;k=o;do k=k+1|0;while(sda(j,m,k,w,z+28|0,z+8|0,z+20|0)|0);k=o;do k=k+-1|0;while(sda(j,m,k,w,z+28|0,z+8|0,z+20|0)|0);k=ba(f-((c[z+8>>2]|0)/2|0)|0,m)|0;j=c[z+28>>2]|0;k=(ba((c[z+20>>2]|0)-o|0,j)|0)+k|0;m=18}else{k=0;j=0;m=19}if((m|0)==18){m=0;if((k|0)<-127){l=-127;k=j}else m=19}if((m|0)==19){l=(k|0)>127?127:k&255;k=j}m=c[d+24>>2]|0;a[m+(t*3|0)>>0]=l;if((k|0)<0)j=0;else j=(k|0)>255?-1:k&255;a[m+(t*3|0)+1>>0]=j;if(y){k=0-p&65535;j=0-q&65535}else{k=p&65535;j=q&65535}a[m+(t*3|0)+2>>0]=((Iha(+tda(k,j))|0)&255)+64;t=t+1|0}while((t|0)<(b[d+16>>1]|0));c[z+16>>2]=r}}i=z;return}function fda(f){f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+64|0;g=c[f+24>>2]|0;if(g)ZEa(g);g=b[f+16>>1]|0;c[f+24>>2]=XEa(g>>>0>1431655765?-1:g*3|0)|0;c[m+8>>2]=0;c[m+12>>2]=0;c[m+16>>2]=0;c[m+20>>2]=0;c[m+24>>2]=0;c[m+28>>2]=0;c[m+32>>2]=0;c[m+36>>2]=0;l=e[f+12>>1]|e[f+14>>1]<<16;c[m+44>>2]=l;c[m>>2]=l;yV(m+48|0,c[f+20>>2]|0,g+-1|0);YV(m,b[m+48>>1]|0,b[m+50>>1]|0);yV(m+52|0,c[f+20>>2]|0,(b[f+16>>1]|0)+-2|0);YV(m,b[m+52>>1]|0,b[m+54>>1]|0);c[m+40>>2]=c[m>>2];gda(b[f+16>>1]|0,c[f+20>>2]|0,-2,1,m+40|0,m+8|0,m+24|0);gda(b[f+16>>1]|0,c[f+20>>2]|0,-1,1,m+40|0,m+8|0,m+24|0);gda(b[f+16>>1]|0,c[f+20>>2]|0,0,1,m+40|0,m+8|0,m+24|0);gda(b[f+16>>1]|0,c[f+20>>2]|0,1,1,m+40|0,m+8|0,m+24|0);g=b[f+16>>1]|0;if(g<<16>>16>0){l=0;do{gda(g,c[f+20>>2]|0,l+2|0,1,m+40|0,m+8|0,m+24|0);h=c[f+20>>2]|0;g=(d[h+((l|0)/4|0)>>0]|0)>>>(((l|0)%4|0)<<1);yV(m+56|0,h,l);h=c[m+8+((g&3)<<2)>>2]|0;if((h|0)<=1)if(((h|0)==1?(c[m+8+((((((g&3)+-1|0)%4|0)+4|0)%4|0)<<2)>>2]|0)==2:0)?(c[m+8+((g+1&3)<<2)>>2]|0)==2:0)k=9;else{g=0;h=0;k=10}else k=9;if((k|0)==9){k=0;j=c[m+44>>2]|0;g=(c[m+24+((g&3)<<2)>>2]|0)-(ba(((b[m+56>>1]|0)==0?j:j>>>16)<<16>>16,h)|0)|0;if((g|0)<-127){j=-127;g=h}else k=10}if((k|0)==10){j=(g|0)>127?127:g&255;g=h}h=c[f+24>>2]|0;a[h+(l*3|0)>>0]=j;if((g|0)<0)g=0;else g=(g|0)>255?-1:g&255;a[h+(l*3|0)+1>>0]=g;k=c[m+40>>2]|0;g=c[m>>2]|0;a[h+(l*3|0)+2>>0]=Hha(+((k<<16>>16)-(g<<16>>16)|0),+((k>>16)-(g>>16)|0))|0;gda(b[f+16>>1]|0,c[f+20>>2]|0,l+-2|0,-1,m,m+8|0,m+24|0);yV(m+60|0,c[f+20>>2]|0,l);l=l+1|0;eB(m+44|0,b[m+60>>1]|0,b[m+62>>1]|0);g=b[f+16>>1]|0}while((l|0)<(g<<16>>16|0))}i=m;return}function gda(a,e,f,g,h,j,k){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0;l=i;i=i+16|0;a=(((f|0)%(a<<16>>16|0)|0)+(a<<16>>16)|0)%(a<<16>>16|0)|0;f=(d[e+((a|0)/4|0)>>0]|0)>>>(((a|0)%4|0)<<1)&3;c[j+(f<<2)>>2]=(c[j+(f<<2)>>2]|0)+g;yV(l,e,a);a=b[l>>1]|0;if(!(a<<16>>16)){g=ba(b[h>>1]|0,g)|0;c[k+(f<<2)>>2]=g+(c[k+(f<<2)>>2]|0)}else{g=ba(b[h+2>>1]|0,g)|0;c[k+(f<<2)>>2]=g+(c[k+(f<<2)>>2]|0)}eB(h,a,b[l+2>>1]|0);i=l;return}function hda(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0;k=i;i=i+16|0;c[k>>2]=e[a+12>>1]|e[a+14>>1]<<16;if((b[a+16>>1]|0)>0){j=0;do{yV(k+4|0,c[a+20>>2]|0,j);h=b[k+6>>1]|0;if(h<<16>>16>=0){if(h<<16>>16>0)fs(g,0,f+-1-(b[k+2>>1]|0)|0,(b[k>>1]|0)-d|0,1,10,0,0,0)}else fs(g,0,f-(b[k+2>>1]|0)|0,(b[k>>1]|0)-d|0,1,10,0,0,0);eB(k,b[k+4>>1]|0,h);j=j+1|0}while((j|0)<(b[a+16>>1]|0))}i=k;return}function ida(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;l=i;i=i+16|0;c[l>>2]=e[a+12>>1]|e[a+14>>1]<<16;if((b[a+16>>1]|0)>0){k=0;do{yV(l+4|0,c[a+20>>2]|0,k);j=b[l+6>>1]|0;do if(j<<16>>16>=0){if(j<<16>>16>0){h=c[l>>2]|0;Rp(g,(h<<16>>16)+~d|0,f+-1-(h>>16)|0,1);break}h=b[l+4>>1]|0;if(h<<16>>16<0){h=c[l>>2]|0;Rp(g,(h<<16>>16)+~d|0,f-(h>>16)|0,1);break}if(h<<16>>16>0){h=c[l>>2]|0;Rp(g,(h<<16>>16)-d|0,f+-1-(h>>16)|0,1)}}else{h=c[l>>2]|0;Rp(g,(h<<16>>16)-d|0,f-(h>>16)|0,1)}while(0);eB(l,b[l+4>>1]|0,j);k=k+1|0}while((k|0)<(b[a+16>>1]|0))}i=l;return}function jda(a,d){a=a|0;d=d|0;var f=0,g=0;g=e[d+4>>1]|e[d+6>>1]<<16;f=e[d+8>>1]|e[d+10>>1]<<16;b[a+4>>1]=g;b[a+6>>1]=g>>>16;b[a+8>>1]=f;b[a+10>>1]=f>>>16;f=e[d+12>>1]|e[d+14>>1]<<16;b[a+12>>1]=f;b[a+14>>1]=f>>>16;f=c[a+20>>2]|0;if(f)jM(f);g=b[d+16>>1]|0;b[a+16>>1]=g;g=iM(((g<<16>>16)+3|0)/4|0)|0;c[a+20>>2]=g;WGa(g|0,c[d+20>>2]|0,((b[a+16>>1]|0)+3|0)/4|0|0)|0;if(c[a+28>>2]|0)KL(a+28|0,230);Rca(a+28|0,d+28|0);f=c[a+24>>2]|0;if(f)ZEa(f);if(!(c[d+24>>2]|0))c[a+24>>2]=0;else{g=b[a+16>>1]|0;f=XEa(g>>>0>1431655765?-1:g*3|0)|0;c[a+24>>2]=f;VGa(f|0,c[d+24>>2]|0,g*3|0)|0}return}function kda(a,c){a=a|0;c=c|0;c=e[359624+(((c|0)%4|0)<<2)>>1]|e[359626+(((c|0)%4|0)<<2)>>1]<<16;b[a>>1]=c;b[a+2>>1]=c>>>16;return}function lda(b,c,e){b=b|0;c=c|0;e=e|0;a[b+((c<<16>>16|0)/4|0)>>0]=(d[b+((c<<16>>16|0)/4|0)>>0]|0)&(3<<(((c<<16>>16|0)%4|0)<<1)^255)|(e&3)<<(((c<<16>>16|0)%4|0)<<1);return}function mda(a,b,c){a=a|0;b=b|0;c=c|0;lda(a,b,c<<24>>24>>>5&255);return}function nda(a,b){a=a|0;b=b|0;if(((a<<24>>24)-(b<<24>>24)|0)>64)b=(a<<24>>24)-(b<<24>>24)+-128|0;else b=((a<<24>>24)-(b<<24>>24)|0)<-64?(a<<24>>24)-(b<<24>>24)+128|0:(a<<24>>24)-(b<<24>>24)|0;return b&255|0}function oda(b,c){b=b|0;c=c|0;uda(b,(c<<24>>24)+(a[b>>0]|0)&65535);return}function pda(a,b,c){a=a|0;b=b|0;c=c|0;uda(a,(c<<24>>24)+(b<<24>>24)&65535);return}function qda(a,c,e,f,g,h,i){a=a|0;c=c|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0;j=ba(f,c)|0;if((e|0)<(g|0)&(f|0)<(h|0))l=d[(a+(j<<2)+e^3)>>0]|0;else l=255;if((e|0)<(g|0)&(f|0)>0)k=d[(a+(j-c<<2)+e^3)>>0]|0;else k=255;if((e|0)>0&(f|0)>0)c=d[(a+(j-c<<2)+(e+-1)^3)>>0]|0;else c=255;if((e|0)>0&(f|0)<(h|0))g=d[(a+(j<<2)+(e+-1)^3)>>0]|0;else g=255;b[i>>1]=k+l-c-g;b[i+2>>1]=k-l+c-g;return}function rda(a,b,e,f,g,h,i,j,k){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0;if((g|0)>0&(g|0)<(h|0)){h=ba(g,b)|0;l=d[(a+(h-b<<2)+f^3)>>0]|0;h=d[(a+(h<<2)+f^3)>>0]|0;b=ba(h-l|0,e)|0;if((b|0)>(c[i>>2]|0)){c[i>>2]=b;c[j>>2]=h+l;c[k>>2]=g}b=(b|0)>0}else b=0;return b|0}function sda(a,b,e,f,g,h,i){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;if((e|0)>0&(e|0)<(f|0)){j=d[(a+(e+-1)^3)>>0]|0;a=d[(a+e^3)>>0]|0;f=ba(a-j|0,b)|0;if((f|0)>(c[g>>2]|0)){c[g>>2]=f;c[h>>2]=a+j;c[i>>2]=e}f=(f|0)>0}else f=0;return f|0}function tda(a,b){a=a|0;b=b|0;return +(+Z(+(+(b<<16>>16)),+(+(a<<16>>16))))}function uda(b,c){b=b|0;c=c|0;if((((c<<16>>16|0)%128|0)<<16|0)<0)c=(((c<<16>>16|0)%128|0)<<16>>16)+128|0;else c=(c<<16>>16|0)%128|0;a[b>>0]=c;return}function vda(a){a=a|0;Kda(a);Lda(a+20|0);h[a+40>>3]=0.0;return}function wda(a){a=a|0;Nda(a+20|0);Mda(a);return}function xda(a){a=a|0;Mda(a);Nda(a+20|0);return}function yda(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d>>2]=e[b>>1]|e[b+2>>1]<<16;c[d+4>>2]=0;Oda(a,d);i=d;return}function zda(a,b,d){a=a|0;b=b|0;d=d|0;var f=0;f=i;i=i+16|0;c[f>>2]=e[b>>1]|e[b+2>>1]<<16;c[f+4>>2]=d;Oda(a,f);i=f;return}function Ada(a,d,f,g,h){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;var j=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0.0,r=0;r=i;i=i+32|0;p=c[a>>2]|0;do if(p){d=(p|0)>(d|0)?d:p+-1|0;if((d|0)<(((d+3|0)>(p|0)?p:d+3|0)|0)){l=~d-((-4-d|0)<(~p|0)?~p:-4-d|0)|0;k=0;while(1){c[r+12+(k<<2)>>2]=Pda(a,d)|0;k=k+1|0;if((k|0)==(l|0))break;else d=d+1|0}}else l=0;f=(p|0)>(f|0)?f:p+-1|0;k=(p+-3-f|0)>0?p+-3-f|0:0;if((p+-1-f|0)<(k|0))o=0;else{d=p+((f-p|0)>(~k|0)?f-p|0:~k)|0;m=0;n=p+-1-f|0;while(1){c[r+(m<<2)>>2]=Pda(a,n)|0;if((n|0)>(k|0)){m=m+1|0;n=n+-1|0}else break}o=d+1-f|0}if((p|0)<3){d=c[r+12>>2]|0;d=e[d>>1]|e[d+2>>1]<<16;b[g>>1]=d;b[g+2>>1]=d>>>16;if((p|0)>1){g=c[r>>2]|0;g=e[g>>1]|e[g+2>>1]<<16;b[h>>1]=g;b[h+2>>1]=g>>>16;j=0.0;break}else{b[h>>1]=d;b[h+2>>1]=d>>>16;j=0.0;break}}if((l|0)>0){k=(o|0)>0;j=-1.0;d=0;do{m=c[r+12+(d<<2)>>2]|0;if(k){n=0;do{f=c[r+(n<<2)>>2]|0;if((Qda(m,f)|0)<<24>>24!=0?(Bda(a,m,f),q=+Cda(a),q>1]|e[m+2>>1]<<16;b[g>>1]=p;b[g+2>>1]=p>>>16;p=e[f>>1]|e[f+2>>1]<<16;b[h>>1]=p;b[h+2>>1]=p>>>16;j=q}n=n+1|0}while((n|0)!=(o|0))}d=d+1|0}while((d|0)!=(l|0));if(j>0.0)j=+R(+j)}else j=-1.0}else{b[g>>1]=0;b[g+2>>1]=0;g=e[g>>1]|e[g+2>>1]<<16;b[h>>1]=g;b[h+2>>1]=g>>>16;j=0.0}while(0);i=r;return +j}function Bda(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0;r=i;i=i+32|0;if((c[a+20>>2]|0)>0)c[a+20>>2]=0;c[r+20>>2]=e[f>>1]|e[f+2>>1]<<16;YV(r+20|0,b[d>>1]|0,b[d+2>>1]|0);o=c[r+20>>2]|0;s=+((ba(o>>16,o>>16)|0)+(ba(o<<16>>16,o<<16>>16)|0)|0);h[a+40>>3]=s;n=ok(+R(+s))|0;if((c[a>>2]|0)>0){p=0;l=0;m=0;while(1){j=Pda(a,p)|0;c[r+16>>2]=e[j>>1]|e[j+2>>1]<<16;YV(r+16|0,b[d>>1]|0,b[d+2>>1]|0);j=c[r+16>>2]|0;f=(ba(j>>16,o>>16)|0)+(ba(j<<16>>16,o<<16>>16)|0)|0;j=(ba(j>>16,o<<16>>16)|0)-(ba(o>>16,j<<16>>16)|0)|0;g=(j|0)<0?0-j|0:j;if((g|0)>(l|0)&(p|0)>0){k=f-m|0;k=(k|0)>-1?k:0-k|0;if((k|0)>=(ba(c[(Pda(a,p)|0)+4>>2]|0,n)|0)?(k|0)>=(ba(c[(Pda(a,p+-1|0)|0)+4>>2]|0,n)|0):0)q=8;else{g=l;f=m}}else q=8;if((q|0)==8){q=0;m=Pda(a,p)|0;c[r>>2]=e[m>>1]|e[m+2>>1]<<16;h[r+8>>3]=+(j|0);Rda(a+20|0,r)}p=p+1|0;if((p|0)>=(c[a>>2]|0))break;else{l=g;m=f}}}i=r;return}function Cda(a){a=a|0;var b=0.0;b=+Ida(a);if(b>4.0?(c[a+20>>2]|0)>15:0)b=+(Jda(a,+R(+(+h[a+40>>3]))*2.0)|0);return +b}function Dda(a,d,f,j,l,m){a=a|0;d=d|0;f=+f;j=+j;l=l|0;m=m|0;var n=0,o=0,p=0,q=0;p=i;i=i+32|0;Eda(a,d,f,j);if((c[a>>2]|0)!=0?(o=c[a+20>>2]|0,(o|0)!=0):0){o=Sda(a+20|0,(o|0)/2|0)|0;n=Tda(a+20|0,o)|0;n=e[n>>1]|e[n+2>>1]<<16;b[m>>1]=n;b[m+2>>1]=n>>>16;if(l){f=+g[d+4>>2];l=c[a+20>>2]|0;h[k>>3]=+g[d>>2];c[p>>2]=c[k>>2];c[p+4>>2]=c[k+4>>2];h[k>>3]=f;c[p+8>>2]=c[k>>2];c[p+12>>2]=c[k+4>>2];c[p+16>>2]=n<<16>>16;c[p+20>>2]=n>>16;c[p+24>>2]=l;jN(359944,p);if((c[a+20>>2]|0)>0){n=0;do{q=b[(Tda(a+20|0,n)|0)>>1]|0;l=b[(Tda(a+20|0,n)|0)+2>>1]|0;f=+h[(Tda(a+20|0,n)|0)+8>>3];c[p>>2]=n;c[p+4>>2]=q;c[p+8>>2]=l;h[k>>3]=f;c[p+12>>2]=c[k>>2];c[p+16>>2]=c[k+4>>2];jN(36e4,p);n=n+1|0}while((n|0)<(c[a+20>>2]|0))}c[p>>2]=o;jN(360024,p);o=d+4|0;n=e[m>>1]|e[m+2>>1]<<16}else o=d+4|0;j=+g[d>>2]*+((n>>>16&65535)<<16>>16)-+g[o>>2]*+((n&65535)<<16>>16);if((c[a+20>>2]|0)>0){n=0;do{q=(Tda(a+20|0,n)|0)+8|0;h[q>>3]=+h[q>>3]-j;n=n+1|0}while((n|0)<(c[a+20>>2]|0))}j=+R(+(+Cda(a)))}else{b[m>>1]=0;b[m+2>>1]=0;j=0.0}i=p;return +j}function Eda(a,b,d,f){a=a|0;b=b|0;d=+d;f=+f;var j=0.0,k=0,l=0,m=0.0,n=0;l=i;i=i+16|0;if((c[a+20>>2]|0)>0)c[a+20>>2]=0;m=+g[b>>2];j=+g[b+4>>2];h[a+40>>3]=m*m+j*j;if((c[a>>2]|0)>0){k=0;do{n=Pda(a,k)|0;n=e[n>>1]|e[n+2>>1]<<16;j=+g[b>>2]*+((n>>>16&65535)<<16>>16)-+g[b+4>>2]*+((n&65535)<<16>>16);if(!(!(j>=d)|!(j<=f))){n=Pda(a,k)|0;c[l>>2]=e[n>>1]|e[n+2>>1]<<16;h[l+8>>3]=j;Rda(a+20|0,l)}k=k+1|0}while((k|0)<(c[a>>2]|0))}i=l;return}function Fda(a){a=a|0;return (a|0)>15|0}function Gda(a,c,d){a=a|0;c=c|0;d=d|0;var e=0.0,f=0,h=0.0,j=0,k=0;j=i;i=i+16|0;b[j+6>>1]=0;b[j+4>>1]=0;b[j+2>>1]=0;b[j>>1]=0;h=+yU(a,j+4|0,j);a=b[j>>1]|0;f=b[j+4>>1]|0;if(a<<16>>16==f<<16>>16){g[c>>2]=0.0;e=0.0}else{k=b[j+6>>1]|0;e=+((b[j+2>>1]|0)-(k<<16>>16)|0)/+((a<<16>>16)-(f<<16>>16)|0);g[c>>2]=e;e=+(k<<16>>16)-e*+(f<<16>>16)}g[d>>2]=e;i=j;return +h}function Hda(a,d,e){a=a|0;d=+d;e=e|0;var f=0.0,h=0;h=i;i=i+16|0;if(!(c[a>>2]|0)){f=0.0;d=0.0}else{f=1.0/+R(+(d*d+1.0));g[h>>2]=f;g[h+4>>2]=f*d;b[h+10>>1]=0;b[h+8>>1]=0;f=+Dda(a,h,-3402823466385288598117041.0e14,3402823466385288598117041.0e14,0,h+8|0);d=+(b[h+10>>1]|0)-+(b[h+8>>1]|0)*d}g[e>>2]=d;i=h;return +f}function Ida(a){a=a|0;var b=0.0,d=0,e=0.0,f=0;d=c[a+20>>2]|0;if(d){if((d|0)>0){f=0;do{if(+h[(Tda(a+20|0,f)|0)+8>>3]<0.0){e=-+h[(Tda(a+20|0,f)|0)+8>>3];h[(Tda(a+20|0,f)|0)+8>>3]=e}f=f+1|0}while((f|0)!=(d|0))}e=+h[(Tda(a+20|0,Sda(a+20|0,(d*3|0)/4|0)|0)|0)+8>>3];b=+h[a+40>>3];if(b>0.0)b=e*e/b;else b=0.0}else b=0.0;return +b}function Jda(a,b){a=a|0;b=+b;var d=0,e=0,f=0;e=c[a+20>>2]|0;if((e|0)>0){f=0;d=0;do{d=(+h[(Tda(a+20|0,f)|0)+8>>3]>b&1)+d|0;f=f+1|0}while((f|0)!=(e|0))}else d=0;return d|0}function Kda(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;Uda(a,4);return}function Lda(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;Vda(a,4);return}function Mda(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;e=i;i=i+16|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;h=(c[a+8>>2]|0)+(d<<3)|0;g=c[h+4>>2]|0;c[e>>2]=c[h>>2];c[e+4>>2]=g;Rc[f&63](b,e);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b+-4|0);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function Nda(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=i;i=i+16|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;g=(c[a+8>>2]|0)+(d<<4)|0;c[e+0>>2]=c[g+0>>2];c[e+4>>2]=c[g+4>>2];c[e+8>>2]=c[g+8>>2];c[e+12>>2]=c[g+12>>2];Rc[f&63](b,e);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b+-8|0);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function Oda(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){Wda(a);d=c[a>>2]|0}c[a>>2]=d+1;e=c[b+4>>2]|0;a=(c[a+8>>2]|0)+(d<<3)|0;c[a>>2]=c[b>>2];c[a+4>>2]=e;return}function Pda(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<3)|0;Ja(1701640,1701680,663,1701712);return 0}function Qda(a,c){a=a|0;c=c|0;if((b[a>>1]|0)==(b[c>>1]|0))c=(b[a+2>>1]|0)!=(b[c+2>>1]|0)&1;else c=1;return c|0}function Rda(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){Xda(a);d=c[a>>2]|0}c[a>>2]=d+1;a=(c[a+8>>2]|0)+(d<<4)|0;c[a+0>>2]=c[b+0>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];return}function Sda(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;d=c[a>>2]|0;if((b|0)<0)b=0;else b=(d|0)>(b|0)?b:d+-1|0;c[e>>2]=1;a=Yda(a,b,d,e)|0;i=e;return a|0}function Tda(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<4)|0;Ja(1701640,1701680,663,1701712);return 0}function Uda(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!((d|0)<1?1:(c[a+4>>2]|0)>=(d|0))){h=XEa(d>>>0>536870911|d<<3>>>0>4294967291?-1:(d<<3)+4|0)|0;c[h>>2]=d;if(d){e=h+4|0;do{b[e>>1]=0;b[e+2>>1]=0;c[e+4>>2]=0;e=e+8|0}while((e|0)!=(h+4+(d<<3)|0))}f=c[a>>2]|0;e=c[a+8>>2]|0;if((f|0)>0){g=0;do{k=e+(g<<3)|0;j=c[k+4>>2]|0;i=h+4+(g<<3)|0;c[i>>2]=c[k>>2];c[i+4>>2]=j;g=g+1|0}while((g|0)!=(f|0))}if(e)ZEa(e+-4|0);c[a+8>>2]=h+4;c[a+4>>2]=d}return}function Vda(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(!((d|0)<1?1:(c[a+4>>2]|0)>=(d|0))){h=XEa(d>>>0>268435455|d<<4>>>0>4294967287?-1:(d<<4)+8|0)|0;c[h+4>>2]=d;if(d){e=h+8|0;do{b[e+2>>1]=0;b[e>>1]=0;e=e+16|0}while((e|0)!=(h+8+(d<<4)|0))}f=c[a>>2]|0;e=c[a+8>>2]|0;if((f|0)>0){g=0;do{i=h+8+(g<<4)|0;j=e+(g<<4)|0;c[i+0>>2]=c[j+0>>2];c[i+4>>2]=c[j+4>>2];c[i+8>>2]=c[j+8>>2];c[i+12>>2]=c[j+12>>2];g=g+1|0}while((g|0)!=(f|0))}if(e)ZEa(e+-8|0);c[a+8>>2]=h+8;c[a+4>>2]=d}return}function Wda(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)Uda(a,4);else Uda(a,b<<1);return}function Xda(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)Vda(a,4);else Vda(a,b<<1);return}function Yda(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0.0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0;o=0;a:while(1){n=o+1|0;m=d;while(1){d=m-o|0;if((d|0)<2){d=o;break a}if((d|0)==2){p=5;break a}qGa(c[e>>2]|0);Zda(a,((rGa()|0)%(d|0)|0)+o|0,o);b:do if((n|0)<(m|0)){l=o;g=n;f=m;while(1){c:while(1){d=c[a+8>>2]|0;j=+h[d+(l<<4)+8>>3];k=g;while(1){i=+h[d+(k<<4)+8>>3];if(i=(f|0))break;else l=d}}else{d=o;f=m}while(0);if((d|0)>(b|0))m=d;else break}if((f|0)>(b|0))break;else{d=m;o=f}}do if((p|0)==5){p=c[a+8>>2]|0;d=(o|0)<(b|0);if(+h[p+(o<<4)+8>>3]<+h[p+(n<<4)+8>>3]){d=d?n:o;break}else{d=d?o:n;break}}while(0);return d|0}function Zda(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;if((b|0)!=(d|0)){f=c[a+8>>2]|0;c[e+0>>2]=c[f+(b<<4)+0>>2];c[e+4>>2]=c[f+(b<<4)+4>>2];c[e+8>>2]=c[f+(b<<4)+8>>2];c[e+12>>2]=c[f+(b<<4)+12>>2];c[f+(b<<4)+0>>2]=c[f+(d<<4)+0>>2];c[f+(b<<4)+4>>2]=c[f+(d<<4)+4>>2];c[f+(b<<4)+8>>2]=c[f+(d<<4)+8>>2];c[f+(b<<4)+12>>2]=c[f+(d<<4)+12>>2];a=(c[a+8>>2]|0)+(d<<4)|0;c[a+0>>2]=c[e+0>>2];c[a+4>>2]=c[e+4>>2];c[a+8>>2]=c[e+8>>2];c[a+12>>2]=c[e+12>>2]}i=e;return}function _da(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((b|0)>=(a|0)&(f|0)>0&(f|0)>(a|0)){if((a|0)<=0){c[r>>2]=360064;c[r+4>>2]=34;$L(360040,360048,2,1702e3,r)}p=0;do{o=g+(p<<5)+4|0;j=g+(p<<5)+(e>>1)|0;k=g+(p<<5)+12|0;h=a;while(1){if((p|0)<(h|0))l=0;else l=g+(p-h<<5)|0;if(!(e&1))m=d;else m=c[(c[j>>2]|0)+d>>2]|0;m=bd[m&63](j,l)|0;l=F;if((c[k>>2]|0)!=0&(h|0)>(a<<1|0)?(n=c[o>>2]|0,(l|0)>(((n|0)<0)<<31>>31|0)|(l|0)==(((n|0)<0)<<31>>31|0)&m>>>0>n>>>0):0){m=n;break}if((h|0)<(b|0))h=h+1|0;else{q=13;break}}if((q|0)==13){q=0;m=c[o>>2]|0}c[o>>2]=m+(c[g+(p<<5)>>2]|0);p=p+1|0}while((p|0)!=(f|0));if((f+-2|0)<(f-a|0))h=f+-1|0;else{l=c[g+(f+-1<<5)+4>>2]|0;h=f+-1|0;m=f+-2|0;while(1){j=c[g+(m<<5)+4>>2]|0;k=(j|0)<(l|0);h=k?m:h;if((m|0)>(f-a|0)){l=k?j:l;m=m+-1|0}else break}}h=g+(h<<5)|0}else h=0;i=r;return h|0}function $da(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if((b|0)==0|(b|0)==(a|0))if((c[a+4>>2]|0)>0){c[a+4>>2]=0;c[a+8>>2]=1;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;c[a+28>>2]=0;e=0;d=0}else{e=0;d=0}else{f=(c[b+16>>2]|0)+1|0;g=(c[b+20>>2]|0)+(a-b>>5)|0;h=QGa(c[b+24>>2]|0,c[b+28>>2]|0,ba(a-b>>5,a-b>>5)|0,0)|0;i=F;d=(ba(g,g)|0)/(f|0)|0;d=PGa(h|0,i|0,d|0,((d|0)<0)<<31>>31|0)|0;d=cHa(d|0,F|0,f|0,((f|0)<0)<<31>>31|0)|0;e=c[b+4>>2]|0;d=QGa(e|0,((e|0)<0)<<31>>31|0,d|0,F|0)|0;e=F;j=c[a+4>>2]|0;if((((j|0)<0)<<31>>31|0)>(e|0)|(((j|0)<0)<<31>>31|0)==(e|0)&j>>>0>d>>>0){j=(c[b+8>>2]|0)+1|0;c[a+4>>2]=d;c[a+8>>2]=j;c[a+12>>2]=b;c[a+16>>2]=f;c[a+20>>2]=g;c[a+24>>2]=h;c[a+28>>2]=i}}F=e;return d|0}function aea(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+16|0;c[d>>2]=SGa(c[b>>2]|0)|0;if((xb(d|0,4,1,a|0)|0)==1?(e=c[d>>2]|0,(xb(c[b>>2]|0,1,e|0,a|0)|0)==(e|0)):0)a=(xb(b+4|0,4,1,a|0)|0)==1;else a=0;i=d;return a|0}function bea(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;e=c[d+12>>2]|0;if(!e)e=0;else e=c[e>>2]|0;c[h+4>>2]=e;a:do if((xb(h+4|0,4,1,a|0)|0)==1){b[h+8>>1]=-1;f=c[h+4>>2]|0;if((f|0)>0){g=0;while(1){e=c[(kea(c[d+12>>2]|0,g)|0)>>2]|0;if(!e){c[h>>2]=-1;if((xb(h+8|0,2,1,a|0)|0)!=1){e=0;break a}if((xb(h+8|0,2,1,a|0)|0)!=1){e=0;break a}if((xb(h|0,4,1,a|0)|0)!=1){e=0;break a}}else{c[h>>2]=c[e+24>>2];if((xb(e|0,2,1,a|0)|0)!=1){e=0;break a}if((xb(e+2|0,2,1,a|0)|0)!=1){e=0;break a}if((xb(h|0,4,1,a|0)|0)!=1){e=0;break a}}if((c[h>>2]|0)>0){if(!(bM(e+4|0,a)|0)){e=0;break a}if(!(lea(e+24|0,a)|0)){e=0;break a}}g=g+1|0;if((g|0)>=(f|0)){e=1;break}}}else e=1}else e=0;while(0);i=h;return e|0}function cea(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;if((Ha(h|0,4,1,b|0)|0)==1){if(e)_K(h,4);f=c[h>>2]|0;g=XEa((f+1|0)>-1?f+1|0:-1)|0;c[d>>2]=g;if((Ha(g|0,1,f|0,b|0)|0)==(f|0)){a[g+f>>0]=0;f=(Ha(d+4|0,4,1,b|0)|0)!=1;if(f|e^1)f=f^1;else{_K(d+4|0,4);f=1}}else f=0}else f=0;i=h;return f|0}function dea(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;a:do if((Ha(k+12|0,4,1,a|0)|0)==1){if(d)_K(k+12|0,4);g=c[k+12>>2]|0;if((g|0)<=-1){c[k>>2]=360112;c[k+4>>2]=181;$L(360088,360096,2,1702e3,k);mea(b,g);e=1;break}if(g){mea(b,g);h=0;while(1){j=WEa(44)|0;f=j+0|0;e=f+44|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(e|0));nea(j);if((Ha(j|0,2,1,a|0)|0)!=1){f=11;break}if((Ha(j+2|0,2,1,a|0)|0)!=1){f=11;break}if((Ha(k+8|0,4,1,a|0)|0)!=1){f=11;break}if(d){_K(j,2);_K(j+2|0,2);_K(k+8|0,4)}f=c[k+8>>2]|0;if((f|0)<0){oea(j);YEa(j)}else{if((f|0)>0){if(!(cM(j+4|0,d,a)|0)){f=19;break}if(!(pea(j+24|0,d,a)|0)){f=19;break}}qea(b,h,j)}h=h+1|0;if((h|0)>=(g|0)){e=1;break a}}if((f|0)==11){oea(j);YEa(j);e=0;break}else if((f|0)==19){oea(j);YEa(j);e=0;break}}else e=1}else e=0;while(0);i=k;return e|0}function eea(a,b){a=a|0;b=b|0;return (HGa(c[a>>2]|0,c[b>>2]|0)|0)==0|0}function fea(a){a=a|0;var b=0,d=0;b=c[a+12>>2]|0;if((b|0)!=0?(sea(b),d=c[a+12>>2]|0,(d|0)!=0):0){tea(d);YEa(d)}ZEa(c[a>>2]|0);return}function gea(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[a>>2]|0;a:do if((e|0)==(c[b>>2]|0))if((e|0)>0){d=c[a+4>>2]|0;a=c[b+4>>2]|0;b=0;while(1){if((c[d+(b<<2)>>2]|0)!=(c[a+(b<<2)>>2]|0)){a=0;break a}b=b+1|0;if((b|0)>=(e|0)){a=1;break}}}else a=1;else a=0;while(0);return a|0}function hea(a){a=a|0;a=c[a+4>>2]|0;if(a)ZEa(a);return}function iea(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;a:do if((Ha(b|0,4,1,a|0)|0)==1){if(d)_K(b,4);f=c[b>>2]|0;e=XEa(f>>>0>1073741823?-1:f<<2)|0;c[b+4>>2]=e;if((f|0)>0){f=0;while(1){if((Ha(e+(f<<2)|0,4,1,a|0)|0)!=1){e=0;break a}if(d)_K((c[b+4>>2]|0)+(f<<2)|0,4);f=f+1|0;if((f|0)>=(c[b>>2]|0)){e=1;break a}e=c[b+4>>2]|0}}else e=1}else e=0;while(0);return e|0}function jea(a,b){a=a|0;b=b|0;var d=0;a:do if((xb(b|0,4,1,a|0)|0)==1)if((c[b>>2]|0)>0){d=0;while(1){if((xb((c[b+4>>2]|0)+(d<<2)|0,4,1,a|0)|0)!=1){a=0;break a}d=d+1|0;if((d|0)>=(c[b>>2]|0)){a=1;break}}}else a=1;else a=0;while(0);return a|0}function kea(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if(!((b|0)>-1?(c[a>>2]|0)>(b|0):0)){c[d>>2]=1701680;c[d+4>>2]=657;$L(360088,1701640,2,1702e3,d)}i=d;return (c[a+8>>2]|0)+(b<<2)|0}function lea(a,b){a=a|0;b=b|0;if((xb(a|0,4,1,b|0)|0)==1){b=xb(c[a+8>>2]|0,2,c[a>>2]|0,b|0)|0;b=(b|0)==(c[a>>2]|0)}else b=0;return b|0}function mea(a,b){a=a|0;b=b|0;var d=0;d=WEa(20)|0;xea(d);c[a+12>>2]=d;yea(d,b);return}function nea(a){a=a|0;Ek(a+4|0);zea(a+24|0);return}function oea(a){a=a|0;Aea(a+24|0);Jk(a+4|0);return}function pea(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((Ha(f|0,4,1,d|0)|0)==1){if(b)_K(f,4);e=c[f>>2]|0;Bea(a,e);c[a>>2]=e;e=Ha(c[a+8>>2]|0,2,e|0,d|0)|0;d=(e|0)!=(c[a>>2]|0);if(!(d|b^1))if((e|0)>0){d=0;do{_K((c[a+8>>2]|0)+(d<<1)|0,2);d=d+1|0}while((d|0)<(c[a>>2]|0));d=1}else d=1;else d=d^1}else d=0;i=f;return d|0}function qea(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;e=c[a+12>>2]|0;if(!((e|0)!=0?(c[e>>2]|0)>(b|0):0)){c[f>>2]=360352;c[f+4>>2]=81;$L(360088,360296,2,1702e3,f);e=c[a+12>>2]|0}c[(RR(e,b)|0)>>2]=d;i=f;return}function rea(){var a=0;a=WEa(8)|0;c[a>>2]=360152;c[a+4>>2]=246;return a|0}function sea(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){oea(d);YEa(d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0))}return}function tea(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function uea(a){a=a|0;return}function vea(a){a=a|0;YEa(a);return}function wea(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;a=c[a+4>>2]|0;c[d+0>>2]=c[b+0>>2];c[d+4>>2]=c[b+4>>2];c[d+8>>2]=c[b+8>>2];c[d+12>>2]=c[b+12>>2];Qc[a&511](d);i=d;return}function xea(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;Cea(a,4);return}function yea(a,b){a=a|0;b=b|0;var d=0;Cea(a,b);c[a>>2]=b;if((b|0)>0){d=0;do{c[(c[a+8>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(b|0))}return}function zea(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;Bea(a,4);return}function Aea(a){a=a|0;var d=0,e=0;if((c[a+4>>2]|0)>0){d=c[a+12>>2]|0;a:do if((d|0)!=0?(c[a>>2]|0)>0:0){e=0;while(1){Rc[c[(c[d>>2]|0)+8>>2]&63](d,b[(c[a+8>>2]|0)+(e<<1)>>1]|0);e=e+1|0;if((e|0)>=(c[a>>2]|0))break a;d=c[a+12>>2]|0}}while(0);d=c[a+8>>2]|0;if(d)ZEa(d);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}d=c[a+12>>2]|0;if(d){Qc[c[(c[d>>2]|0)+4>>2]&511](d);c[a+12>>2]=0}d=c[a+16>>2]|0;if(d){Qc[c[(c[d>>2]|0)+4>>2]&511](d);c[a+16>>2]=0}return}function Bea(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;if(!((d|0)<1?1:(c[a+4>>2]|0)>=(d|0))){e=XEa(d>>>0>2147483647?-1:d<<1)|0;f=c[a>>2]|0;g=c[a+8>>2]|0;if((f|0)>0){h=0;do{b[e+(h<<1)>>1]=b[g+(h<<1)>>1]|0;h=h+1|0}while((h|0)!=(f|0))}if(g)ZEa(g);c[a+8>>2]=e;c[a+4>>2]=d}return}function Cea(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function Dea(a,d){a=a|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;f=c[d>>2]|0;fla(e+8|0,c[a>>2]|0);d=b[e+8>>1]|0;fla(e,f);i=e;return (d<<16>>16)-(b[e>>1]|0)|0}function Eea(a){a=a|0;var b=0;a=a+0|0;b=a+48|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function Fea(a,b,c){a=a|0;b=+b;c=+c;h[a>>3]=+h[a>>3]+1.0;h[a+8>>3]=+h[a+8>>3]+b;h[a+16>>3]=+h[a+16>>3]+c;h[a+24>>3]=b*b+ +h[a+24>>3];h[a+32>>3]=b*c+ +h[a+32>>3];h[a+40>>3]=c*c+ +h[a+40>>3];return}function Gea(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;h[a>>3]=+h[a>>3]+d;h[a+8>>3]=b*d+ +h[a+8>>3];h[a+16>>3]=c*d+ +h[a+16>>3];h[a+24>>3]=b*b*d+ +h[a+24>>3];h[a+32>>3]=b*c*d+ +h[a+32>>3];h[a+40>>3]=c*c*d+ +h[a+40>>3];return}function Hea(a,b){a=a|0;b=b|0;h[a>>3]=+h[b>>3]+ +h[a>>3];h[a+8>>3]=+h[b+8>>3]+ +h[a+8>>3];h[a+16>>3]=+h[b+16>>3]+ +h[a+16>>3];h[a+24>>3]=+h[b+24>>3]+ +h[a+24>>3];h[a+32>>3]=+h[b+32>>3]+ +h[a+32>>3];h[a+40>>3]=+h[b+40>>3]+ +h[a+40>>3];return}function Iea(a){a=a|0;var b=0.0;b=+WU(a);if(b!=0.0)b=+Nea(a)/b;else b=0.0;return +b}function Jea(a,b,c,d){a=+a;b=+b;c=+c;d=+d;if(a>0.0)d=(c-b*d)/a;else d=0.0;return +d}function Kea(a,b,c){a=a|0;b=+b;c=+c;var d=0.0,e=0.0;d=+h[a>>3];if(d>0.0?(e=(d*c-+h[a+16>>3]*2.0)*c+(+h[a+40>>3]+(+h[a+24>>3]*b+(+h[a+8>>3]*c-+h[a+32>>3])*2.0)*b),e>=0.0):0)d=+R(+(e/d));else d=0.0;return +d}function Lea(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;var e=0.0;if(b>0.0){e=d/b;d=c/b}else{e=0.0;d=0.0}g[a>>2]=d;g[a+4>>2]=e;return}function Mea(a,b){a=a|0;b=b|0;var c=0.0,d=0.0;c=+WU(b);d=+VU(b);d=+Z(+(+Nea(b)*2.0),+(c-d))*.5;c=+U(+d);g[a>>2]=+T(+d);g[a+4>>2]=c;return}function Nea(a){a=a|0;var b=0.0;b=+h[a>>3];if(b>0.0)b=(+h[a+32>>3]-+h[a+8>>3]*+h[a+16>>3]/b)/b;else b=0.0;return +b}function Oea(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+32|0;f=Vc[c[(c[a>>2]|0)+12>>2]&63](a,b,d)|0;a:do if((c[(c[a+4>>2]|0)+(f<<2)>>2]|0)!=0?(f=Vc[c[(c[a>>2]|0)+12>>2]&63](a,b,d)|0,pk(e,c[(c[a+4>>2]|0)+(f<<2)>>2]|0),rk(e),!(sk(e)|0)):0)while(1){if((c[(tk(e)|0)+68>>2]|0)>>>0<3){b=1;break a}OL(e)|0;if(sk(e)|0){b=0;break}}else b=0;while(0);i=e;return b|0}function Pea(a,b){a=a|0;b=b|0;Tea(a,c[a+12>>2]|0,b);return}function Qea(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;l=i;i=i+48|0;k=c[a+12>>2]|0;d=c[a+16>>2]|0;a:do if((b|0)>-1&(d|0)>0){f=c[a+4>>2]|0;e=c[a+8>>2]|0;g=b;while(1){h=g;g=g+-1|0;if((c[f+(d+-1+(ba(h,d)|0)<<2)>>2]|0)!=(e|0))break;if(!((h|0)>0&(g|0)>(b-d|0)))break a}d=d+1|0}while(0);j=WEa(20)|0;lP(j,k+1|0,d);if((k|0)>0){e=0;do{d=e;do{if((d|0)>=((c[a+16>>2]|0)+e|0))break;c[l+40>>2]=e;c[l+44>>2]=d;fS(l+40|0,b);h=Vc[c[(c[a>>2]|0)+12>>2]&63](a,e,d)|0;h=c[(c[a+4>>2]|0)+(h<<2)>>2]|0;if(h){pk(l+8|0,h);rk(l+8|0);g=c[l+40>>2]|0;f=c[l+44>>2]|0;while(1){if(sk(l+8|0)|0)break;m=tk(l+8|0)|0;c[m+44>>2]=g;c[m+48>>2]=f;OL(l+8|0)|0}if(!(cS(g,f,j)|0)){c[l>>2]=360408;c[l+4>>2]=82;$L(360376,360384,2,1702e3,l)}m=Vc[c[(c[j>>2]|0)+12>>2]&63](j,g,f)|0;c[(c[j+4>>2]|0)+(m<<2)>>2]=h}d=d+1|0}while((d|0)<(k|0));e=e+1|0}while((e|0)<(k|0))}if(a)Qc[c[(c[a>>2]|0)+4>>2]&511](a);i=l;return j|0}function Rea(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;b=c[a+12>>2]|0;f=c[a+16>>2]|0;g=WEa(20)|0;lP(g,b,f);if((b|0)>0){h=0;i=f;j=1;k=0-b|0;while(1){d=h-((i|0)>(j|0)?i:j)|0;d=h-(k>>>0>d>>>0?k:d)|0;if((f|0)>0){l=h;do{e=Vc[c[(c[a>>2]|0)+12>>2]&63](a,h,l)|0;e=c[(c[a+4>>2]|0)+(e<<2)>>2]|0;if(e){m=WEa(4)|0;c[m>>2]=0;nia(m,e);e=Vc[c[(c[g>>2]|0)+12>>2]&63](g,h,l)|0;c[(c[g+4>>2]|0)+(e<<2)>>2]=m}l=l+1|0}while((l|0)!=(d|0))}h=h+1|0;if((h|0)==(b|0))break;else{i=i+1|0;j=j+1|0;k=k+1|0}}}return g|0}function Sea(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0.0;q=i;i=i+80|0;jN(360432,q);o=c[a+12>>2]|0;p=c[a+16>>2]|0;if((o|0)>0){e=0;d=0-o|0;l=p;m=1;while(1){j=e-((l|0)>(m|0)?l:m)|0;j=e-(d>>>0>j>>>0?d:j)|0;if((p|0)>0){n=e;do{f=Vc[c[(c[a>>2]|0)+12>>2]&63](a,e,n)|0;f=c[(c[a+4>>2]|0)+(f<<2)>>2]|0;if(f){pk(q+48|0,f);c[q>>2]=e;c[q+4>>2]=n;jN(360464,q);rk(q+48|0);if(!(sk(q+48|0)|0))do{f=MN(b,c[(tk(q+48|0)|0)+4>>2]|0)|0;s=+g[(tk(q+48|0)|0)+32>>2];r=+g[(tk(q+48|0)|0)+36>>2];c[q>>2]=f;h[k>>3]=s;c[q+4>>2]=c[k>>2];c[q+8>>2]=c[k+4>>2];h[k>>3]=r;c[q+12>>2]=c[k>>2];c[q+16>>2]=c[k+4>>2];jN(360480,q);OL(q+48|0)|0}while(!(sk(q+48|0)|0));jN(1714256,q)}n=n+1|0}while((n|0)!=(j|0))}jN(1714256,q);e=e+1|0;if((e|0)==(o|0))break;else{d=d+1|0;l=l+1|0;m=m+1|0}}jN(1714256,q);d=0;do{c[q>>2]=d;jN(360504,q);d=d+1|0}while((d|0)!=(o|0));jN(1714256,q);f=1;j=0;while(1){e=0;do{if(!e){c[q>>2]=j;jN(360512,q)}do if((j|0)<(e+p|0)){d=Vc[c[(c[a>>2]|0)+12>>2]&63](a,e,j)|0;d=c[(c[a+4>>2]|0)+(d<<2)>>2]|0;if(!d){jN(360520,q);break}pk(q+20|0,d);rk(q+20|0);a:do if(!(sk(q+20|0)|0)){d=1;while(1){c[q>>2]=MN(b,c[(tk(q+20|0)|0)+4>>2]|0)|0;jN(360528,q);if((d|0)==3)break a;OL(q+20|0)|0;if(sk(q+20|0)|0)break;else d=d+1|0}}while(0);jN(375816,q)}else jN(360520,q);while(0);e=e+1|0}while((e|0)!=(f|0));jN(1714256,q);j=j+1|0;if((j|0)==(o|0))break;else f=f+1|0}}else{jN(1714256,q);jN(1714256,q)}i=q;return}function Tea(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=c[a+12>>2]|0;if(!((e|0)==(b|0)?(c[a+16>>2]|0)==(d|0):0)){m=ba(d,b)|0;m=XEa(m>>>0>1073741823?-1:m<<2)|0;if((b|0)>0){k=0;do{if((d|0)>0){g=c[a+16>>2]|0;h=ba(k,d)|0;i=(k|0)<(e|0);j=ba(g,k)|0;l=0;do{if(i&(l|0)<(g|0))f=(c[a+4>>2]|0)+(j+l<<2)|0;else f=a+8|0;c[m+(l+h<<2)>>2]=c[f>>2];l=l+1|0}while((l|0)!=(d|0))}k=k+1|0}while((k|0)!=(b|0));e=a+4|0}else e=a+4|0;f=c[e>>2]|0;if(f)ZEa(f);c[e>>2]=m;c[a+12>>2]=b;c[a+16>>2]=d}return}function Uea(a){a=a|0;var b=0;b=WEa(72)|0;Vea(b);Wea(b,a);return b|0}function Vea(a){a=a|0;c[a>>2]=0;Xea(a+8|0);c[a+44>>2]=0;c[a+48>>2]=0;c[a+4>>2]=0;b[a+28>>1]=-1;b[a+30>>1]=-1;g[a+32>>2]=10.0;g[a+36>>2]=-1.0;c[a+40>>2]=-1;b[a+52>>1]=0;b[a+54>>1]=0;b[a+56>>1]=0;b[a+58>>1]=0;b[a+60>>1]=0;b[a+62>>1]=0;b[a+64>>1]=0;b[a+66>>1]=0;c[a+68>>2]=4;return}function Wea(a,d){a=a|0;d=d|0;var e=0;c[a>>2]=0;c[a+4>>2]=c[d+4>>2];JS(a+8|0,d+8|0);e=a+28|0;d=d+28|0;a=e+44|0;do{b[e>>1]=b[d>>1]|0;e=e+2|0;d=d+2|0}while((e|0)<(a|0));return}function Xea(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;GS(a,4);return}function Yea(b,c,d){b=b|0;c=+c;d=+d;var f=0,g=0,h=0,i=0;do if(d==0.0)if(!(c>=0.0)){a[b>>0]=64;break}else{a[b>>0]=0;break}else{f=128;g=0;do{h=(f+g|0)/2|0;i=e[360536+(h<<2)>>1]|e[360538+(h<<2)>>1]<<16;g=!(+((i&65535)<<16>>16)*d-+((i>>>16&65535)<<16>>16)*c>=0.0)?g:h;f=!(+((i&65535)<<16>>16)*d-+((i>>>16&65535)<<16>>16)*c>=0.0)?h:f}while((f-g|0)>1);a[b>>0]=g}while(0);return}function Zea(b){b=b|0;a[b+4>>0]=0;c[b>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b+20>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;c[b+32>>2]=0;g[b+36>>2]=1.0;g[b+40>>2]=1.0;g[b+44>>2]=0.0;g[b+48>>2]=64.0;return}function _ea(b,d){b=b|0;d=d|0;var e=0,f=0,h=0;$ea(b);a[b+4>>0]=a[d+4>>0]|0;c[b+16>>2]=c[d+16>>2];c[b>>2]=c[d>>2];c[b+8>>2]=c[d+8>>2];e=c[d+12>>2]|0;if(!e)e=0;else{f=WEa(8)|0;h=c[e+4>>2]|0;c[f>>2]=c[e>>2];c[f+4>>2]=h;e=f}c[b+12>>2]=e;g[b+28>>2]=+g[d+28>>2];g[b+32>>2]=+g[d+32>>2];g[b+36>>2]=+g[d+36>>2];g[b+40>>2]=+g[d+40>>2];g[b+44>>2]=+g[d+44>>2];g[b+48>>2]=+g[d+48>>2];return}function $ea(a){a=a|0;var b=0;b=c[a+20>>2]|0;if(b){rA(b);YEa(b);c[a+20>>2]=0}b=c[a+24>>2]|0;if(b){rA(b);YEa(b);c[a+24>>2]=0}b=c[a+12>>2]|0;if(b){YEa(b);c[a+12>>2]=0}return}function afa(a){a=a|0;$ea(a);return}function bfa(a,b,d,e,f,h,i,j,k,l){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;h=+h;i=+i;j=+j;k=+k;l=+l;var m=0;$ea(a);c[a+8>>2]=b;if(!d)b=0;else{b=WEa(8)|0;m=c[d+4>>2]|0;c[b>>2]=c[d>>2];c[b+4>>2]=m}c[a+12>>2]=b;c[a+16>>2]=e;g[a+28>>2]=f;g[a+32>>2]=h;g[a+36>>2]=i;g[a+40>>2]=j;g[a+44>>2]=k;g[a+48>>2]=l;return}function cfa(a,d,e,f,h){a=a|0;d=d|0;e=e|0;f=f|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0.0;t=i;i=i+32|0;$ea(a);c[a+16>>2]=d;r=WEa(20)|0;qA(r);c[a+20>>2]=r;r=WEa(20)|0;qA(r);c[a+24>>2]=r;r=kl(e)|0;s=ll(e)|0;lfa(t+8|0,r<<16>>16,s<<16>>16,0);q=kl(e)|0;p=ll(e)|0;if((c[t+20>>2]|0)!=(q<<16>>16|0)){c[t>>2]=361144;c[t+4>>2]=162;$L(361048,361112,2,1702e3,t)}if((c[t+24>>2]|0)!=(p<<16>>16|0)){c[t>>2]=361144;c[t+4>>2]=163;$L(361048,361176,2,1702e3,t)}if(q<<16>>16>0){k=0;do{if((c[(mca(h,k)|0)>>2]|0)>0){l=0;n=0;while(1){j=c[(Ik(mca(h,k)|0,l)|0)>>2]|0;if((j|0)<0)j=0;else j=(j|0)>(p<<16>>16|0)?p<<16>>16:j;m=j-n|0;if((j|0)>(n|0))do{d=Vc[c[(c[t+8>>2]|0)+12>>2]&63](t+8|0,k,n)|0;c[(c[t+12>>2]|0)+(d<<2)>>2]=m;n=n+1|0}while((n|0)!=(j|0));else j=n;l=l+1|0;if((l|0)>=(c[(mca(h,k)|0)>>2]|0))break;else n=j}}else j=0;d=(p<<16>>16)-j|0;if((p<<16>>16|0)>(j|0))do{n=Vc[c[(c[t+8>>2]|0)+12>>2]&63](t+8|0,k,j)|0;c[(c[t+12>>2]|0)+(n<<2)>>2]=d;j=j+1|0}while((j|0)!=(p<<16>>16|0));k=k+1|0}while((k|0)!=(q<<16>>16|0))}if(p<<16>>16>0){l=0;do{if((c[(mca(f,l)|0)>>2]|0)>0){m=0;j=0;while(1){d=c[(Ik(mca(f,l)|0,m)|0)>>2]|0;if((d|0)<0)d=0;else d=(d|0)>(q<<16>>16|0)?q<<16>>16:d;n=d-j|0;if((d|0)>(j|0))do{h=Vc[c[(c[t+8>>2]|0)+12>>2]&63](t+8|0,j,l)|0;if((n|0)<(c[(c[t+12>>2]|0)+(h<<2)>>2]|0)){h=Vc[c[(c[t+8>>2]|0)+12>>2]&63](t+8|0,j,l)|0;c[(c[t+12>>2]|0)+(h<<2)>>2]=n}j=j+1|0}while((j|0)!=(d|0));else d=j;m=m+1|0;if((m|0)>=(c[(mca(f,l)|0)>>2]|0))break;else j=d}}else d=0;j=(q<<16>>16)-d|0;if((q<<16>>16|0)>(d|0))do{h=Vc[c[(c[t+8>>2]|0)+12>>2]&63](t+8|0,d,l)|0;if((j|0)<(c[(c[t+12>>2]|0)+(h<<2)>>2]|0)){h=Vc[c[(c[t+8>>2]|0)+12>>2]&63](t+8|0,d,l)|0;c[(c[t+12>>2]|0)+(h<<2)>>2]=j}d=d+1|0}while((d|0)!=(q<<16>>16|0));l=l+1|0}while((l|0)!=(p<<16>>16|0))}k=c[a+20>>2]|0;l=c[a+24>>2]|0;m=kl(e)|0;n=ll(e)|0;MH(k,(m<<16>>16)+1|0,0.0);MH(l,(n<<16>>16)+1|0,0.0);if(n<<16>>16>0){d=0;o=0.0;do{if(m<<16>>16>0){j=0;do{f=Vc[c[(c[t+8>>2]|0)+12>>2]&63](t+8|0,j,d)|0;f=c[(c[t+12>>2]|0)+(f<<2)>>2]|0;u=(f|0)==0?1.0:1.0/+(f|0);f=vA(k,j)|0;g[f>>2]=u+ +g[f>>2];f=vA(l,d)|0;g[f>>2]=u+ +g[f>>2];j=j+1|0}while((j|0)!=(m<<16>>16|0))}o=o+ +g[(vA(l,d)|0)>>2];d=d+1|0}while((d|0)!=(n<<16>>16|0));if(o>0.0){if(m<<16>>16>0){d=0;do{f=vA(k,d)|0;g[f>>2]=+g[f>>2]/o;d=d+1|0}while((d|0)!=(m<<16>>16|0));d=0}else d=0;do{f=vA(l,d)|0;g[f>>2]=+g[f>>2]/o;d=d+1|0}while((d|0)!=(n<<16>>16|0))}}g[(vA(k,m<<16>>16)|0)>>2]=1.0;g[(vA(l,n<<16>>16)|0)>>2]=1.0;g[(vA(c[a+20>>2]|0,r<<16>>16)|0)>>2]=255.0;if(r<<16>>16>0){d=r<<16>>16;do{o=+g[(vA(c[a+20>>2]|0,d)|0)>>2];d=d+-1|0;u=+g[(vA(c[a+20>>2]|0,d)|0)>>2];g[(vA(c[a+20>>2]|0,d)|0)>>2]=o-u*255.0}while((d|0)>0)}g[(vA(c[a+24>>2]|0,s<<16>>16)|0)>>2]=255.0;if(s<<16>>16>0){d=s<<16>>16;do{o=+g[(vA(c[a+24>>2]|0,d)|0)>>2];d=d+-1|0;u=+g[(vA(c[a+24>>2]|0,d)|0)>>2];g[(vA(c[a+24>>2]|0,d)|0)>>2]=o-u*255.0}while((d|0)>0)}g[a+28>>2]=+(b[e>>1]|0);g[a+32>>2]=+(b[e+2>>1]|0);g[a+44>>2]=0.0;g[a+48>>2]=0.0;mfa(t+8|0);i=t;return}function dfa(a,b,d,e){a=a|0;b=+b;d=+d;e=e|0;var f=0,h=0,i=0,j=0.0,k=0.0,l=0.0;b=b-+g[a+28>>2];j=d-+g[a+32>>2];i=c[a+20>>2]|0;if((i|0)!=0?(c[a+24>>2]|0)!=0:0){f=ok(b)|0;h=(c[i>>2]|0)+-1|0;if((f|0)<0)f=0;else f=(f|0)>(h|0)?h:f;d=+g[(vA(i,f)|0)>>2];h=ok(j)|0;i=c[a+24>>2]|0;f=(c[i>>2]|0)+-1|0;if((h|0)<0)f=0;else f=(h|0)>(f|0)?f:h;j=d;b=+g[(vA(i,f)|0)>>2]}else{d=b*+g[a+36>>2];b=j*+g[a+40>>2];f=c[a+12>>2]|0;if(!f)j=d;else{l=+g[f>>2];k=+g[f+4>>2];j=d*l-b*k;b=b*l+d*k}}g[e>>2]=j+ +g[a+44>>2];g[e+4>>2]=b+ +g[a+48>>2];return}function efa(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;g[f+8>>2]=+(c<<16>>16);g[f+12>>2]=+(d<<16>>16);ffa(a,0,f+8|0,f);b[e>>1]=ok(+g[f>>2])|0;b[e+2>>1]=ok(+g[f+4>>2])|0;i=f;return}function ffa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0,j=0.0,l=0.0,m=0,n=0,o=0.0,p=0.0;m=i;i=i+16|0;n=c[d>>2]|0;h=c[d+4>>2]|0;c[m>>2]=n;c[m+4>>2]=h;l=(c[k>>2]=n,+g[k>>2]);f=(c[k>>2]=h,+g[k>>2]);do if((b|0)!=(a|0)){h=c[a+16>>2]|0;if(h){ffa(h,b,d,m);j=+g[m>>2];f=+g[m+4>>2];break}h=c[a+8>>2]|0;if(h){o=-+g[h+72>>2];p=+g[h+68>>2];g[m+4>>2]=p*f+l*o;g[m>>2]=l*p-f*o;j=l*p-f*o;f=p*f+l*o}else j=l}else j=l;while(0);dfa(a,j,f,e);i=m;return}function gfa(a,b,d,e){a=a|0;b=+b;d=+d;e=e|0;var f=0,h=0,i=0.0,j=0.0,k=0.0;i=b-+g[a+44>>2];b=d-+g[a+48>>2];f=c[a+20>>2]|0;if((f|0)!=0?(h=c[a+24>>2]|0,(h|0)!=0):0){i=+(nfa(c[f>>2]|0,c[f+8>>2]|0,i)|0);g[e>>2]=i+ +g[a+28>>2];i=+(nfa(c[h>>2]|0,c[h+8>>2]|0,b)|0);g[e+4>>2]=i+ +g[a+32>>2]}else{f=c[a+12>>2]|0;if(!f)d=i;else{k=+g[f>>2];j=-+g[f+4>>2];d=i*k-b*j;b=b*k+i*j}g[e>>2]=d/+g[a+36>>2]+ +g[a+28>>2];g[e+4>>2]=b/+g[a+40>>2]+ +g[a+32>>2]}return}function hfa(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;g[f+8>>2]=+(c<<16>>16);g[f+12>>2]=+(d<<16>>16);ifa(a,f+8|0,f);b[e>>1]=ok(+g[f>>2])|0;b[e+2>>1]=ok(+g[f+4>>2])|0;i=f;return}function ifa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0.0,j=0.0,k=0.0,l=0.0;e=a;while(1){gfa(e,+g[b>>2],+g[b+4>>2],d);if(!e)break;a=c[e+16>>2]|0;if(!a){h=4;break}else{b=d;e=a}}if((h|0)==4?(f=c[e+8>>2]|0,(f|0)!=0):0){k=+g[f+68>>2];i=+g[f+72>>2];l=+g[d>>2];j=+g[d+4>>2];g[d+4>>2]=k*j+l*i;g[d>>2]=l*k-j*i}return}function jfa(a,b){a=a|0;b=b|0;var d=0.0,e=0,f=0;f=i;i=i+16|0;Eba(f+8|0,c[b>>2]|0);e=0-(ok(+g[a+28>>2])|0)|0;c[f+4>>2]=0-(ok(+g[a+32>>2])|0)<<16|e&65535;Jba(c[b>>2]|0,f+4|0);d=+g[a+40>>2];if(d!=1.0)Kba(c[b>>2]|0,d);e=c[a+12>>2]|0;if(e){d=+g[e>>2];Iba(c[b>>2]|0,d,+g[e+4>>2])}e=ok(+g[a+44>>2])|0;c[f>>2]=(ok(+g[a+48>>2])|0)<<16|e&65535;Jba(c[b>>2]|0,f);i=f;return}function kfa(d,e,f,h,j,k,l){d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0.0,o=0.0,p=0,q=0.0,r=0,s=0,t=0.0;s=i;i=i+48|0;g[l>>2]=0.0;g[j>>2]=0.0;g[k>>2]=3402823466385288598117041.0e14;if(a[f+32>>0]|0){m=b[h+6>>1]|0;if(m<<16>>16<0)r=0;else r=(m<<16>>16|0)>255?255:m<<16>>16;m=b[h+2>>1]|0;if(m<<16>>16<0)p=0;else p=(m<<16>>16|0)>255?255:m<<16>>16;n=+g[d+40>>2];if(!(a[f+33>>0]|0))n=n*4.0;FB(f,e,s+8|0,s+24|0,s+12|0,s+28|0);m=b[h+2>>1]|0;q=+((b[h+6>>1]|0)+2-(m<<16>>16)|0);t=+((b[h+4>>1]|0)+(b[h>>1]|0)|0)*.5;g[s+40>>2]=t;g[s+44>>2]=+(m<<16>>16);g[s+16>>2]=t;g[s+20>>2]=+(m<<16>>16)+q;ifa(d,s+40|0,s);ifa(d,s+16|0,s+32|0);t=+g[s+32>>2]-+g[s>>2];o=+g[s+36>>2]-+g[s+4>>2];q=+R(+(t*t+o*o))/q;o=+(p|0);m=c[s+8>>2]|0;if(!(o<+(m|0)-n)){m=c[s+24>>2]|0;if(o>n+ +(m|0))h=p-m|0;else h=0}else h=p-m|0;o=+(r|0);f=c[s+12>>2]|0;if(!(o<+(f|0)-n)){d=c[s+28>>2]|0;if(o>n+ +(d|0))d=r-d|0;else d=0}else d=r-f|0;if((d|0)>-1&(h|0)>0|(d&h|0)<0)h=(d+h|0)/2|0;else h=0;g[l>>2]=q*+(h|0);m=c[s+28>>2]|0;if((m|0)==255&(r|0)>224){c[s+28>>2]=319;d=319}else d=m;m=r-h+-64|0;if(+(f+-64|0)-n>16.0&(m|0)>0){g[k>>2]=q*+(m<<7|0)/(+(f+-64|0)-n)+.125;g[j>>2]=q*+(m<<7|0)/(n+ +(d+-64|0))+-.125}}i=s;return}function lfa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;c[a>>2]=361064;c[a+8>>2]=e;c[a+12>>2]=b;c[a+16>>2]=d;f=ba(b,d)|0;c[a+4>>2]=XEa(f>>>0>1073741823?-1:f<<2)|0;if((b|0)>0){f=0;do{if((d|0)>0){e=0;do{b=c[a+8>>2]|0;d=Vc[c[(c[a>>2]|0)+12>>2]&63](a,f,e)|0;c[(c[a+4>>2]|0)+(d<<2)>>2]=b;e=e+1|0;d=c[a+16>>2]|0}while((e|0)<(d|0));b=c[a+12>>2]|0}f=f+1|0}while((f|0)<(b|0))}return}function mfa(a){a=a|0;c[a>>2]=361064;a=c[a+4>>2]|0;if(a)ZEa(a);return}function nfa(a,b,c){a=a|0;b=b|0;c=+c;var d=0,e=0,f=0;d=0;do{e=(d+a|0)/2|0;f=+g[b+(e<<2)>>2]>c;a=f?e:a;d=f?d:e}while((a-d|0)>1);return d|0}function ofa(a){a=a|0;mfa(a);YEa(a);return}function pfa(a){a=a|0;return ba(c[a+16>>2]|0,c[a+12>>2]|0)|0}function qfa(a,b,d){a=a|0;b=b|0;d=d|0;return (ba(c[a+16>>2]|0,b)|0)+d|0}function rfa(a){a=a|0;if(a){wk(a);YEa(a)}return}function sfa(d,e,f,h,j,k,l,m,n){d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0;o=i;i=i+64|0;c[d>>2]=0;vha(d+4|0,k,l,m,n);PM(d+48|0,e);c[d+52>>2]=0;c[d+56>>2]=0;c[d+60>>2]=0;c[d+64>>2]=0;g[d+68>>2]=1.0;g[d+72>>2]=0.0;g[d+76>>2]=1.0;g[d+80>>2]=0.0;g[d+84>>2]=1.0;g[d+88>>2]=0.0;b[d+94>>1]=0;b[d+92>>1]=0;pk(o+28|0,d+8|0);pk(o,d+12|0);a[d+28>>0]=f;a[d+29>>0]=0;a[d+30>>0]=h;b[d+32>>1]=j;b[d+36>>1]=-1;g[d+44>>2]=2.0;c[d+4>>2]=0;pk(o+28|0,d+8|0);pk(o,d+12|0);d=WEa(8)|0;c[d>>2]=0;b[d+4>>1]=k;b[d+6>>1]=l;qv(o+28|0,d);d=WEa(8)|0;c[d>>2]=0;b[d+4>>1]=k;b[d+6>>1]=n;qv(o+28|0,d);k=WEa(8)|0;c[k>>2]=0;b[k+4>>1]=m;b[k+6>>1]=l;qv(o,k);l=WEa(8)|0;c[l>>2]=0;b[l+4>>1]=m;b[l+6>>1]=n;qv(o,l);i=o;return}function tfa(a,d){a=a|0;d=d|0;var f=0,h=0.0;h=+g[d>>2];Uha(c[a+4>>2]|0,h,+g[d+4>>2]);d=(c[a+4>>2]|0)+4|0;f=e[d>>1]|e[d+2>>1]<<16;d=e[d+4>>1]|e[d+6>>1]<<16;b[a+16>>1]=f;b[a+18>>1]=f>>>16;b[a+20>>1]=d;b[a+22>>1]=d>>>16;return}function ufa(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var f=0;f=i;i=i+48|0;b[a>>1]=32767;b[a+2>>1]=32767;b[a+4>>1]=-32767;b[a+6>>1]=-32767;pk(f,c+52|0);rk(f);while(1){if(sk(f)|0)break;Kfa(f+32|0,tk(f)|0,d,e);bja(a,f+32|0);OL(f)|0}i=f;return}function vfa(a){a=a|0;var d=0,f=0;Vha(c[a+4>>2]|0);d=(c[a+4>>2]|0)+4|0;f=e[d>>1]|e[d+2>>1]<<16;d=e[d+4>>1]|e[d+6>>1]<<16;b[a+16>>1]=f;b[a+18>>1]=f>>>16;b[a+20>>1]=d;b[a+22>>1]=d>>>16;return}function wfa(a){a=a|0;b[a+34>>1]=-1;return}function xfa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+32|0;c[e>>2]=0;if((c[a>>2]|0)!=0?(pk(g,a),rk(g),!(sk(g)|0)):0){a=0;do{f=d-(b[(tk(g)|0)+4>>1]|0)|0;do if((f|0)>-1){if(!a){c[e>>2]=f;a=1;break}if((f|0)<(c[e>>2]|0)){c[e>>2]=f;a=1}else a=1}while(0);OL(g)|0}while(!(sk(g)|0))}i=g;return}function yfa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+32|0;c[e>>2]=0;if((c[a>>2]|0)!=0?(pk(g,a),rk(g),!(sk(g)|0)):0){a=0;do{f=b[(tk(g)|0)+4>>1]|0;f=f-d+(b[(tk(g)|0)+6>>1]|0)|0;do if((f|0)>-1){if(!a){c[e>>2]=f;a=1;break}if((f|0)<(c[e>>2]|0)){c[e>>2]=f;a=1}else a=1}while(0);OL(g)|0}while(!(sk(g)|0))}i=g;return}function zfa(d){d=d|0;var f=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0;r=i;i=i+144|0;p=c[d+52>>2]|0;if((p|0)!=0?(p|0)!=(c[p>>2]|0):0){Tha(r+16|0,d+16|0,1);p=c[d+4>>2]|0;p=(p|0)==0?r+16|0:p;pk(r+40|0,d+52|0);n=tk(r+40|0)|0;l=RL(r+40|0,1)|0;m=e[n+12>>1]|e[n+14>>1]<<16;f=e[n+16>>1]|e[n+18>>1]<<16;j=UGa(m|0,f|0,48)|0;h=F;c[r>>2]=m;c[r+4>>2]=f;f=ll(r)|0;h=_Ga(j|0,h|0,16)|0;j=e[l+12>>1]|e[l+14>>1]<<16;l=e[l+16>>1]|e[l+18>>1]<<16;k=UGa(j|0,l|0,48)|0;o=F;c[r+8>>2]=j;c[r+12>>2]=l;l=ll(r+8|0)|0;o=_Ga(k|0,o|0,16)|0;Lk(r+72|0,(tk(r+40|0)|0)+36|0);a:do if(!((uZ(r+72|0)|0)<<24>>24)){pk(r+100|0,(Ok(r+72|0)|0)+20|0);rk(r+100|0);k=(h>>16)+(f<<16>>16)|0;j=m<<16>>16;while(1){if(sk(r+100|0)|0){o=k;n=j;break a}fla(r+128|0,tk(r+100|0)|0);h=b[r+130>>1]|0;if((h|0)<=((o>>16)-((l<<16>>16|0)/2|0)|0)){a[n+52>>0]=1;m=b[r+132>>1]|0;k=(k|0)>(h|0)?h:k;j=(j|0)<(m|0)?m:j}OL(r+100|0)|0}}else{o=(h>>16)+(f<<16>>16)|0;n=m<<16>>16}while(0);c[r+68>>2]=p;pk(r+40|0,d+52|0);rk(r+40|0);while(1){if(sk(r+40|0)|0)break;l=tk(r+40|0)|0;h=e[l+12>>1]|e[l+14>>1]<<16;m=e[l+16>>1]|e[l+18>>1]<<16;f=UGa(h|0,m|0,48)|0;j=F;s=+zk(l,+((h&65535)<<16>>16));k=Wha(r+68|0,~~(s+ +g[l+20>>2])&65535)|0;xfa(k,(h&65535)<<16>>16,r+32|0);if(k){KL(k,228);YEa(k)}d=_Ga(f|0,j|0,16)|0;if((d>>16|0)>=(o|0)?(q=((h&65535)<<16>>16)-(c[l+8>>2]|0)-n|0,q=(q|0)<0?0:q,(q|0)<(c[r+32>>2]|0)):0)c[r+32>>2]=q;s=+zk(l,+((m&65535)<<16>>16));f=Wha(r+68|0,~~(s+ +g[l+20>>2])&65535)|0;yfa(f,(m&65535)<<16>>16,r+36|0);if(f){KL(f,228);YEa(f)}b[l+54>>1]=c[r+32>>2];b[l+56>>1]=c[r+36>>2];OL(r+40|0)|0}KL(r+16|0,228)}i=r;return}function Afa(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+112|0;pk(f+72|0,a);rk(f+72|0);if(sk(f+72|0)|0){a=0;e=0;d=0;b=0}else{a=0;e=0;d=0;b=0;do{e=e+1|0;pk(f+44|0,(tk(f+72|0)|0)+52|0);rk(f+44|0);if(!(sk(f+44|0)|0))do{d=d+1|0;Lk(f+16|0,(tk(f+44|0)|0)+36|0);Mk(f+16|0);if(!((Nk(f+16|0)|0)<<24>>24))do{b=b+1|0;a=(NL((Ok(f+16|0)|0)+20|0)|0)+a|0;VL(f+16|0)}while((Nk(f+16|0)|0)<<24>>24==0);OL(f+44|0)|0}while(!(sk(f+44|0)|0));OL(f+72|0)|0}while(!(sk(f+72|0)|0))}c[f>>2]=e;c[f+4>>2]=d;c[f+8>>2]=b;c[f+12>>2]=a;jN(361208,f);i=f;return}function Bfa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+128|0;pk(h+88|0,a);rk(h+88|0);if(!(sk(h+88|0)|0))do{a=tk(h+88|0)|0;e=c[a+4>>2]|0;if(!((e|0)!=0?!(Zj(c[e+12>>2]|0)|0):0))g=5;if((g|0)==5?(g=0,pk(h+60|0,a+52|0),rk(h+60|0),!(sk(h+60|0)|0)):0)do{e=(tk(h+60|0)|0)+36|0;Lk(h+32|0,e);c[h+28>>2]=0;Lk(h,h+28|0);Mk(h+32|0);while(1){if((Nk(h+32|0)|0)<<24>>24)break;a=hv(h+32|0)|0;f=Hla(a,b,d)|0;if(f){nZ(h,f);if(a){iv(a);YEa(a)}}else nZ(h,a);VL(h+32|0)}TL(e,227);DZ(h+32|0);uX(h+32|0,h+28|0);TL(h+28|0,227);OL(h+60|0)|0}while(!(sk(h+60|0)|0));OL(h+88|0)|0}while(!(sk(h+88|0)|0));i=h;return}function Cfa(a){a=a|0;if(a)YEa(a);return}function Dfa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;h=c[a>>2]|0;if((h|0)==1){h=c[a+16>>2]|0;g=d+b-(c[a+4>>2]|0)-(c[a+8>>2]|0)|0;if((g|0)>(h|0))g=0;else g=(h|0)>=(0-g|0)}else if((h|0)==2){g=c[a+16>>2]<<1;if((d-e|0)>(g|0))g=0;else g=(g|0)>=(0-(d-e)|0)}else if((h|0)==3?(g=c[a+16>>2]|0,i=f+e-(c[a+4>>2]|0)-(c[a+8>>2]|0)|0,(i|0)<=(g|0)):0)g=(g|0)>=(0-i|0);else g=0;return g|0}function Efa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=c[a>>2]|0;if((h|0)==3){h=c[a+16>>2]|0;g=f+e-(c[a+4>>2]|0)-(c[a+12>>2]|0)|0;if((g|0)>(h|0))g=0;else g=(h|0)>=(0-g|0)}else if((h|0)==1){h=c[a+16>>2]|0;g=d+b-(c[a+4>>2]|0)-(c[a+12>>2]|0)|0;if((g|0)>(h|0))g=0;else g=(h|0)>=(0-g|0)}else if((h|0)==2?(g=c[a+16>>2]<<1,(d-e|0)<=(g|0)):0)g=(g|0)>=(0-(d-e)|0);else g=0;return g|0}function Ffa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[a>>2]|0;if((d|0)==(c[b>>2]|0))if(!((d|0)==0|(d|0)==2)){f=((c[b+16>>2]|0)+(c[a+16>>2]|0)|0)/4|0;d=c[a+4>>2]|0;e=c[b+4>>2]|0;h=(c[a+8>>2]|0)+d-e-(c[b+8>>2]|0)|0;if((h|0)<=(f|0)&(f|0)>=(0-h|0)?(g=(c[a+12>>2]|0)+d-e-(c[b+12>>2]|0)|0,(g|0)<=(f|0)):0)d=(f|0)>=(0-g|0);else d=0}else d=1;else d=0;return d|0}function Gfa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=i;i=i+224|0;d=c[b>>2]|0;if((d|0)==1)PM(e+16|0,361336);else if((d|0)==2)PM(e+16|0,361352);else if((d|0)==3)PM(e+16|0,361344);else PM(e+16|0,373680);h=c[b+4>>2]|0;g=c[b+8>>2]|0;f=c[b+12>>2]|0;b=c[e+16>>2]|0;d=VM(b)|0;c[e>>2]=h;c[e+4>>2]=g;c[e+8>>2]=f;c[e+12>>2]=d;wGa(e+24|0,200,361272,e)|0;PM(a,e+24|0);RM(b);i=e;return}function Hfa(a){a=a|0;if(a){Ak(a);YEa(a)}return}function Ifa(d,e,f,h,i,j,k,l,m){d=d|0;e=e|0;f=f|0;h=h|0;i=+i;j=+j;k=+k;l=l|0;m=m|0;c[d>>2]=0;b[d+12>>1]=32767;b[d+14>>1]=32767;b[d+16>>1]=-32767;b[d+18>>1]=-32767;c[d+36>>2]=0;$ha(d+40|0,e,f,h);c[d+60>>2]=0;c[d+4>>2]=l<<16>>16;c[d+8>>2]=m<<16>>16;g[d+20>>2]=i;g[d+24>>2]=j;g[d+32>>2]=0.0;g[d+28>>2]=k;a[d+52>>0]=0;b[d+54>>1]=0;b[d+56>>1]=0;return}function Jfa(d,e,f,h){d=d|0;e=e|0;f=f|0;h=h|0;c[d>>2]=0;b[d+12>>1]=32767;b[d+14>>1]=32767;b[d+16>>1]=-32767;b[d+18>>1]=-32767;c[d+60>>2]=0;c[d+36>>2]=0;c[d+40>>2]=0;c[d+44>>2]=0;c[d+48>>2]=0;c[d+4>>2]=f<<16>>16;c[d+8>>2]=h<<16>>16;g[d+20>>2]=+g[e+44>>2];g[d+32>>2]=+g[e+60>>2];g[d+24>>2]=+g[e+52>>2];g[d+28>>2]=+g[e+56>>2];bia(d+40|0,e+92|0);a[d+52>>0]=0;b[d+54>>1]=0;b[d+56>>1]=0;return}function Kfa(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var f=0;f=i;i=i+48|0;b[a>>1]=32767;b[a+2>>1]=32767;b[a+4>>1]=-32767;b[a+6>>1]=-32767;Lk(f,c+36|0);Mk(f);while(1){if((Nk(f)|0)<<24>>24)break;zla(f+32|0,Ok(f)|0,d,e);bja(a,f+32|0);VL(f)}i=f;return}function Lfa(a){a=a|0;var c=0,d=0,f=0,g=0;d=i;i=i+64|0;Lk(d,a+36|0);a:do if((uZ(d)|0)<<24>>24==0?(yla(d+48|0,Ok(d)|0),c=b[d+48>>1]|0,VL(d),(Mv(d)|0)<<24>>24==0):0){while(1){yla(d+40|0,Ok(d)|0);f=c;c=b[d+40>>1]|0;if(c<<16>>16>16)break;VL(d);if((Mv(d)|0)<<24>>24)break a}DZ(d);t1(d,50)}while(0);Mk(d);if(!((Nk(d)|0)<<24>>24))do{f=Ok(d)|0;c=(Mv(d)|0)<<24>>24==0;g=e[f+10>>1]|0;b[f+10>>1]=c?g&65527:g|8;g=(Kv(d)|0)<<24>>24==0;c=e[f+10>>1]|0;b[f+10>>1]=g?c&65519:c|16;yla(d+32|0,f);bja(a+12|0,d+32|0);VL(d)}while((Nk(d)|0)<<24>>24==0);i=d;return}function Mfa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0.0,o=0,p=0,q=0.0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+1040|0;t=Dp(a)|0;l=((t|0)/8|0)>>>0>1073741823?-1:((t|0)/8|0)<<2;c[g>>2]=XEa(l)|0;l=XEa(l)|0;c[h>>2]=l;if((t|0)>7){o=0;q=0.0;k=0;j=1;r=0;while(1){c[(c[g>>2]|0)+(r<<2)>>2]=-1;c[l+(r<<2)>>2]=-1;Nfa(a,r,b,d,e,f,v+8|0);l=Ofa(v+8|0,v+4|0,v)|0;p=c[v>>2]|0;do if((p|0)!=0?(s=c[v+4>>2]|0,(p|0)!=(s|0)):0){c[(c[g>>2]|0)+(r<<2)>>2]=l;l=c[v>>2]|0;m=c[v+4>>2]|0;if(+(l|0)>+(m|0)*.75){c[(c[h>>2]|0)+(r<<2)>>2]=0;o=1;n=q;break}if(+(l|0)<+(m|0)*.25){c[(c[h>>2]|0)+(r<<2)>>2]=1;o=1;n=q;break}n=+((+(p|0)<+(s|0)*.5?m-l|0:l)|0);if(n>q){k=r;j=+(p|0)<+(s|0)*.5&1}else n=q}else n=q;while(0);m=r+1|0;if((m|0)>=((t|0)/8|0|0))break;l=c[h>>2]|0;q=n;r=m}if(!o){l=c[h>>2]|0;u=15}}else{k=0;j=1;u=15}if((u|0)==15)c[l+(k<<2)>>2]=j;i=v;return (t|0)/8|0|0}function Nfa(a,b,e,f,g,h,i){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0;n=(Dp(a)|0)/8|0;if((b|0)<0)l=0;else l=(n+-1|0)<(b|0)?n+-1|0:b;YGa(i|0,0,1024)|0;m=bp(a)|0;b=vp(a)|0;if((h|0)>0){k=f;do{if((g|0)>0){a=b+((ba(k,m)|0)<<2)|0;j=0;do{o=i+((d[(a+((ba(j+e|0,n)|0)+l)^3)>>0]|0)<<2)|0;c[o>>2]=(c[o>>2]|0)+1;j=j+1|0}while((j|0)!=(g|0))}k=k+1|0}while((k|0)<(h+f|0))}return}function Ofa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0.0,h=0.0,i=0,j=0,k=0.0,l=0,m=0,n=0.0,o=0.0,p=0.0;l=0;e=0;k=0.0;do{i=c[a+(e<<2)>>2]|0;l=i+l|0;k=k+ +(e|0)*+(i|0);e=e+1|0}while((e|0)!=256);f=0;g=0.0;e=-1;h=0.0;i=0;j=0;do{m=c[a+(j<<2)>>2]|0;i=m+i|0;h=h+ +(j|0)*+(m|0);if(i){if((l|0)==(i|0))break;o=+(i|0);p=+(l-i|0);n=(k-h)/p-h/o;m=(e|0)<0?1:n*(p*(o*n))>g;f=m?i:f;g=m?n*(p*(o*n)):g;e=m?j:e}j=j+1|0}while((j|0)<255);if(b)c[b>>2]=l;if(d)c[d>>2]=f;return e|0}function Pfa(a){a=a|0;if(a){KL(a+28|0,247);YEa(a)}return}function Qfa(a){a=a|0;if(a){KL(a+20|0,231);YEa(a)}return}function Rfa(a){a=a|0;if(a){Qga(a);YEa(a)}return}function Sfa(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+64|0;pk(c+28|0,b);pk(c,a);rk(c+28|0);if(!(sk(c+28|0)|0))do{Ck(c,zB(tk(c+28|0)|0)|0);OL(c+28|0)|0}while(!(sk(c+28|0)|0));i=c;return}function Tfa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+64|0;c[a+8>>2]=0;Ek(a+20|0);ek(a+40|0);eha(a);pk(f+28|0,d);pk(f,a+8|0);rk(f+28|0);while(1){if(sk(f+28|0)|0)break;d=WEa(32)|0;Ufa(d,b,tk(f+28|0)|0);qv(f,d);OL(f+28|0)|0}c[a+16>>2]=e;i=f;return}function Ufa(d,e,f){d=d|0;e=e|0;f=f|0;var h=0;h=i;i=i+64|0;c[d>>2]=0;c[d+28>>2]=0;pk(h+28|0,f+52|0);pk(h,d+28|0);c[d+8>>2]=0;c[d+12>>2]=0;b[d+16>>1]=-1;g[d+20>>2]=-1.0;a[d+24>>0]=0;a[d+25>>0]=0;a[d+26>>0]=0;b[d+18>>1]=0;c[d+4>>2]=f;rk(h+28|0);while(1){if(sk(h+28|0)|0)break;d=WEa(24)|0;Vfa(d,e,tk(h+28|0)|0);qv(h,d);OL(h+28|0)|0}i=h;return}function Vfa(d,e,f){d=d|0;e=e|0;f=f|0;var h=0,j=0,k=0.0,l=0.0,m=0.0,n=0,o=0,p=0;p=i;i=i+96|0;c[d>>2]=0;c[d+20>>2]=0;Lk(p+52|0,f+36|0);pk(p+24|0,d+20|0);c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+4>>2]=f;b[p+8>>1]=32767;b[p+10>>1]=32767;b[p+12>>1]=-32767;b[p+14>>1]=-32767;k=+g[f+20>>2];l=+g[f+24>>2];m=+g[f+28>>2];Mk(p+52|0);h=0;j=0;while(1){if((Nk(p+52|0)|0)<<24>>24)break;n=WEa(260)|0;zx(n,Ok(p+52|0)|0);g[n+244>>2]=+g[f+20>>2];if(!h)if(e){yla(p,c[n+4>>2]|0);h=c[p+4>>2]|0;c[p+8>>2]=c[p>>2];c[p+12>>2]=h;if(!(b[(c[n+4>>2]|0)+10>>1]&512))d=+((ll(p+8|0)|0)<<16>>16)<=(k+l-m)*1.25;else d=0;a[n+225>>0]=d&1^1}else d=0;else{if(!j){c[p+16>>2]=361384;c[p+20>>2]=129;$L(361360,361368,2,1702e3,p+16|0)}a[n+257>>0]=1;CB(j,n);d=1}h=ZL(p+52|0,1)|0;do if(!e)if(!(b[h+10>>1]&2048)){h=0;d=0}else o=21;else{if(d){if(b[h+10>>1]&512){tv(h+10|0,11,1);o=21;break}yla(p+80|0,h);d=b[p+12>>1]|0;bja(p+8|0,p+80|0);if((!(+((ll(p+80|0)|0)<<16>>16)>(k+l-m)*1.25)?!(+((ll(p+8|0)|0)<<16>>16)>(k+l-m)*1.25):0)?!(+(b[p+80>>1]|0)>(k+l-m)*2.0+ +(d<<16>>16)):0){tv(h+10|0,11,1);o=21;break}}tv(h+10|0,11,0);h=0;d=0}while(0);if((o|0)==21){o=0;if(!j){j=WEa(28)|0;AB(j);Fla(j,Ok(p+52|0)|0);d=WEa(260)|0;zx(d,j);g[d+244>>2]=+g[f+20>>2];a[d+256>>0]=1;qv(p+24|0,d)}else d=j;a[n+257>>0]=1;h=1}qv(p+24|0,n);VL(p+52|0);j=d}i=p;return}function Wfa(d,e){d=d|0;e=e|0;var f=0,g=0,h=0;g=i;i=i+64|0;c[d>>2]=0;Xfa(d);if(!(a[e+256>>0]|0))c[d+4>>2]=c[e+4>>2];else{f=WEa(28)|0;AB(f);c[d+4>>2]=f;Fla(f,c[e+4>>2]|0)}f=c[e+8>>2]|0;if(f){h=WEa(32)|0;Aca(h,f);c[d+8>>2]=h}f=c[e+72>>2]|0;if(f){h=WEa(24)|0;fha(h,f);c[d+72>>2]=h}f=c[e+156>>2]|0;if(f){h=WEa(24)|0;fha(h,f);c[d+156>>2]=h}c[d+12>>2]=c[e+12>>2];_ea(d+16|0,e+16|0);f=c[e+160>>2]|0;if(f){h=WEa(32)|0;Aca(h,f);c[d+160>>2]=h}Hv(d+164|0,e+164|0);hy(d+184|0,e+184|0);Hv(d+96|0,e+96|0);Hv(d+116|0,e+116|0);pk(g+28|0,e+148|0);pk(g,d+148|0);rk(g+28|0);if(!(sk(g+28|0)|0))do{f=tk(g+28|0)|0;h=WEa(64)|0;fK(h,f);Ck(g,h);OL(g+28|0)|0}while(!(sk(g+28|0)|0));if(vk(g)|0)f=0;else{qk(g);f=tk(g)|0}c[d+140>>2]=f;f=c[e+144>>2]|0;if(!f)c[d+144>>2]=0;else{h=WEa(64)|0;fK(h,f);c[d+144>>2]=h}f=c[e+208>>2]|0;if(!f)c[d+208>>2]=0;else{h=WEa(64)|0;fK(h,f);c[d+208>>2]=h}Bja(d+212|0,c[e+212>>2]|0,b[e+216>>1]|0);a[d+256>>0]=a[e+256>>0]|0;a[d+257>>0]=a[e+257>>0]|0;Yfa(d,e);f=c[e+152>>2]|0;if(f){h=WEa(184)|0;VJ(h,f);c[d+152>>2]=h}i=g;return}function Xfa(b){b=b|0;var d=0;d=c[b+4>>2]|0;if((d|0)!=0?(a[b+256>>0]|0)!=0:0){iv(d);YEa(d)}c[b+4>>2]=0;d=c[b+152>>2]|0;if(d){gK(d);YEa(d)}c[b+152>>2]=0;aga(b);return}function Yfa(b,d){b=b|0;d=d|0;a[b+220>>0]=a[d+220>>0]|0;a[b+221>>0]=a[d+221>>0]|0;a[b+222>>0]=a[d+222>>0]|0;a[b+223>>0]=a[d+223>>0]|0;c[b+240>>2]=c[d+240>>2];a[b+224>>0]=a[d+224>>0]|0;a[b+225>>0]=a[d+225>>0]|0;a[b+226>>0]=a[d+226>>0]|0;a[b+227>>0]=a[d+227>>0]|0;c[b+228>>2]=c[d+228>>2];c[b+232>>2]=c[d+232>>2];a[b+236>>0]=a[d+236>>0]|0;a[b+237>>0]=a[d+237>>0]|0;g[b+244>>2]=+g[d+244>>2];g[b+248>>2]=+g[d+248>>2];g[b+252>>2]=+g[d+252>>2];a[b+238>>0]=a[d+238>>0]|0;a[b+239>>0]=a[d+239>>0]|0;a[b+258>>0]=a[d+258>>0]|0;c[b+68>>2]=c[d+68>>2];c[b+204>>2]=c[d+204>>2];return}function Zfa(a,b){a=a|0;b=b|0;var d=0;c[a+4>>2]=c[b+4>>2];Yfa(a,b);if(c[b+152>>2]|0){d=WEa(184)|0;Ax(d);c[a+152>>2]=d;Bx(d,c[b+152>>2]|0)}return}function _fa(d,f,h,i,j,k,l,m,n,o){d=d|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0.0,q=0;c[d+204>>2]=h;if(!o)h=0;else h=c[o+4>>2]|0;if((j|0)!=1?(c[(c[d+4>>2]|0)+20>>2]|0)==0:0){h=d+4|0;q=8}else q=5;do if((q|0)==5){if((h|0)!=0?!(Zj(c[h+12>>2]|0)|0):0){h=d+4|0;q=8;break}aga(d);bga(d,f);h=Tba(m,c[d+4>>2]|0)|0;c[d+72>>2]=h;if(!((n|0)!=0&l?(p=+g[n+32>>2],p>0.0):0))p=+g[d+244>>2];Uba(h,o,n,i,(b[(c[d+4>>2]|0)+10>>1]&4096)!=0,p,+g[d+252>>2],k,j,d+16|0);c[d+12>>2]=n;cga(d);dga(d);n=c[c[d+72>>2]>>2]|0;h=WEa(20)|0;lP(h,n,4);c[d+136>>2]=h;a[d+220>>0]=0;h=1}while(0);if((q|0)==8){$fa(d,f);h=(c[h>>2]|0)+10|0;b[h>>1]=(e[h>>1]|0)&65023;h=0}return h|0}function $fa(b,d){b=b|0;d=d|0;var e=0,f=0,h=0,j=0;h=i;i=i+48|0;aga(b);bga(b,d);f=WEa(24)|0;WJ(f);a[f+20>>0]=0;c[b+72>>2]=f;f=WEa(24)|0;WJ(f);a[f+20>>0]=0;c[b+156>>2]=f;f=WEa(32)|0;zca(f);c[b+8>>2]=f;f=WEa(32)|0;zca(f);c[b+160>>2]=f;f=NL((c[b+4>>2]|0)+20|0)|0;if((f|0)>0){d=XEa(f>>>0>1073741823?-1:f<<2)|0;pk(h,(c[b+4>>2]|0)+20|0);rk(h);if(!(sk(h)|0)){e=0;while(1){fla(h+32|0,tk(h)|0);j=c[b+160>>2]|0;Ica(j,c[j+8>>2]|0,h+32|0);j=WEa(72)|0;Vea(j);c[d+(e<<2)>>2]=j;OL(h)|0;if(sk(h)|0)break;else e=e+1|0}}gga(b,f,d);ZEa(d)}else{j=WEa(64)|0;hx(j,d);c[j+28>>2]=0;g[j+36>>2]=1.0e5;g[j+40>>2]=-3402823466385288598117041.0e14;hga(b,j)|0;iga(b,1,0,j)|0}a[b+220>>0]=1;a[b+223>>0]=1;i=h;return}function aga(d){d=d|0;var e=0;a[d+223>>0]=0;c[d+228>>2]=0;c[d+232>>2]=0;b[d+236>>1]=0;e=c[d+8>>2]|0;if(e){Cca(e);YEa(e);c[d+8>>2]=0}c[d+12>>2]=0;e=c[d+72>>2]|0;if(e){ZJ(e);YEa(e);c[d+72>>2]=0}e=c[d+156>>2]|0;if(e){ZJ(e);YEa(e);c[d+156>>2]=0}e=c[d+160>>2]|0;if(e){Cca(e);YEa(e);c[d+160>>2]=0}Jk(d+164|0);Vj(d+184|0);gha(d+76|0);Jx(d+76|0);Jk(d+96|0);Jk(d+116|0);Dga(d);fga(d);e=c[d+152>>2]|0;if(e)fy(e);return}function bga(d,e){d=d|0;e=e|0;var f=0,g=0;c[d+68>>2]=e;f=c[e+68>>2]|0;g=c[d+4>>2]|0;b[g+14>>1]=f;tv(g+10|0,6,a[e+34>>0]|0);tv((c[d+4>>2]|0)+10|0,7,(f|0)==(c[e+44>>2]|0)&1);return}function cga(a){a=a|0;c[a+8>>2]=Eca(c[a+72>>2]|0)|0;dka(c[a+72>>2]|0,a+76|0);ega(a);fga(a);return}function dga(a){a=a|0;var b=0;b=c[a+152>>2]|0;if(b)laa(b,a+16|0);return}function ega(a){a=a|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((c[a+96>>2]|0)>0)c[a+96>>2]=0;if((c[a+116>>2]|0)>0)c[a+116>>2]=0;d=c[a+72>>2]|0;f=c[d>>2]|0;a:do if((f|0)>0){e=0;while(1){Eba(g+8|0,c[c[(Vy(d,e)|0)>>2]>>2]|0);zv(a+96|0,(kl(g+8|0)|0)<<16>>16);e=e+1|0;if((e|0)>=(f|0))break a;Eba(g,c[c[(Vy(c[a+72>>2]|0,e)|0)>>2]>>2]|0);zv(a+116|0,(b[g>>1]|0)-(b[g+12>>1]|0)|0);d=c[a+72>>2]|0}}while(0);i=g;return}function fga(a){a=a|0;var b=0;c[a+140>>2]=0;b=c[a+144>>2]|0;if(b){wia(b);YEa(b);c[a+144>>2]=0}KL(a+148|0,235);b=c[a+208>>2]|0;if(b){wia(b);YEa(b);c[a+208>>2]=0}return}function gga(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;g=i;i=i+48|0;f=c[b+160>>2]|0;if(!f){c[g>>2]=361384;c[g+4>>2]=874;$L(361360,362160,2,1702e3,g);f=c[b+160>>2]|0}if((c[f+8>>2]|0)!=(d|0)){c[g>>2]=361384;c[g+4>>2]=875;$L(361360,362184,2,1702e3,g)}fga(b);Dga(b);f=WEa(20)|0;lP(f,d,1);c[b+136>>2]=f;if((d|0)>0){f=0;do{k=WEa(4)|0;c[k>>2]=0;pk(g+8|0,k);Ck(g+8|0,c[e+(f<<2)>>2]|0);j=c[b+136>>2]|0;h=Vc[c[(c[j>>2]|0)+12>>2]&63](j,f,f)|0;c[(c[j+4>>2]|0)+(h<<2)>>2]=k;f=f+1|0}while((f|0)!=(d|0))}Ega(b);Cja(b+212|0,d&65535);a[b+223>>0]=1;i=g;return}function hga(b,d){b=b|0;d=d|0;var e=0,f=0;e=c[b+144>>2]|0;if(e)if(+g[d+36>>2]<+g[e+36>>2]){wia(e);YEa(e);f=4}else e=0;else f=4;if((f|0)==4){e=WEa(64)|0;fK(e,d);c[b+144>>2]=e;a[e+52>>0]=2;e=1}return e|0}function iga(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,j=0,l=0.0,m=0,n=0,o=0,p=0,q=0.0,r=0.0;p=i;i=i+64|0;j=c[a+140>>2]|0;if((j|0)!=0?(l=(+g[e+32>>2]-+g[j+32>>2])*8.0+-1.5,l=l>-1.5?-1.5:l,+g[e+40>>2]-+g[j+40>>2]>2]|0;b=VM(d)|0;r=+g[e+40>>2];q=+g[(c[a+140>>2]|0)+40>>2];c[p>>2]=b;h[k>>3]=r;c[p+4>>2]=c[k>>2];c[p+8>>2]=c[k+4>>2];h[k>>3]=q;c[p+12>>2]=c[k>>2];c[p+16>>2]=c[k+4>>2];h[k>>3]=l+q;c[p+20>>2]=c[k>>2];c[p+24>>2]=c[k+4>>2];jN(361824,p);RM(d)}if(!e)f=0;else{wia(e);YEa(e);f=0}}else m=7;a:do if((m|0)==7){pk(p+28|0,a+148|0);n=jk(e)|0;b:do if(vk(p+28|0)|0){f=0;j=0}else{f=0;j=0;while(1){m=tk(p+28|0)|0;if(!(!(+g[m+36>>2]>+g[e+36>>2])|f)){Qv(p+28|0,e);if(!j)c[a+140>>2]=e;f=1;j=j+1|0}if(!((ZM(jk(m)|0,n)|0)<<24>>24)){m=j+1|0;if((j|0)>=(b|0)?(o=pv(p+28|0)|0,(o|0)!=0):0){wia(o);YEa(o);j=m}else j=m}else{if(!f)break;m=pv(p+28|0)|0;if(m){wia(m);YEa(m)}}OL(p+28|0)|0;if(xk(p+28|0)|0)break b}if(d){a=VM(c[n>>2]|0)|0;r=+g[e+36>>2];q=+g[m+36>>2];c[p>>2]=a;h[k>>3]=r;c[p+4>>2]=c[k>>2];c[p+8>>2]=c[k+4>>2];h[k>>3]=q;c[p+12>>2]=c[k>>2];c[p+16>>2]=c[k+4>>2];jN(361936,p)}if(!e){f=0;break a}wia(e);YEa(e);f=0;break a}while(0);if((j|0)<(b|0)&(f^1)){qv(p+28|0,e);if(!j){c[a+140>>2]=e;f=1}else f=1}if(d){if(f){c[p>>2]=(c[a+140>>2]|0)==(e|0)?362e3:362008;jN(361992,p)}else jN(362024,p);Sia(e,362032)}if(!f)if(!e)f=0;else{wia(e);YEa(e);f=0}else f=1}while(0);i=p;return f|0}function jga(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;Uja(d,a+76|0,c[a+72>>2]|0,b,1)|0;hha(a+76|0,d,b);d=c[a+136>>2]|0;if(d){c[a+136>>2]=Qea(d,b)|0;d=c[a+144>>2]|0;if(d)Ria(d,b);pk(e,a+148|0);rk(e);if(!(sk(e)|0))do{Ria(tk(e)|0,b);OL(e)|0}while(!(sk(e)|0));ega(a)}i=e;return}function kga(a,b){a=a|0;b=+b;var c=0;c=i;i=i+32|0;pk(c,a+148|0);OL(c)|0;a:do if(xk(c)|0)a=1;else while(1){if(+g[(tk(c)|0)+32>>2]<=b){a=0;break a}OL(c)|0;if(xk(c)|0){a=1;break}}while(0);i=c;return a|0}function lga(b){b=b|0;var d=0;d=c[b+148>>2]|0;if((d|0)!=0?(d|0)==(c[d>>2]|0):0)b=(a[(c[b+140>>2]|0)+54>>0]|0)!=0;else b=1;return b|0}function mga(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+48|0;d=c[(c[a+136>>2]|0)+12>>2]|0;b=Nia(c[a+144>>2]|0)|0;a:do if((b|0)==(d|0)){pk(e+8|0,a+148|0);rk(e+8|0);if(sk(e+8|0)|0)b=1;else{while(1){b=Nia(tk(e+8|0)|0)|0;if((b|0)!=(d|0))break;OL(e+8|0)|0;if(sk(e+8|0)|0){b=1;break a}}c[e>>2]=b;c[e+4>>2]=d;jN(361472,e);b=0}}else{c[e>>2]=b;c[e+4>>2]=d;jN(361408,e);b=0}while(0);i=e;return b|0}function nga(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+48|0;if(!d){if((((e|0)!=0?(a[e>>0]|0)!=0:0)?(f=c[b+140>>2]|0,(f|0)!=0):0)?(d=jk(f)|0,PM(h+32|0,e),e=(ZM(d,h+32|0)|0)<<24>>24==0,RM(c[h+32>>2]|0),!e):0)g=6}else g=6;if((g|0)==6){f=c[b+144>>2]|0;if(f)Sia(f,361536);pk(h+4|0,b+148|0);rk(h+4|0);if(!(sk(h+4|0)|0)){f=0;while(1){g=tk(h+4|0)|0;NM(h);cN(h,361560,f);b=c[h>>2]|0;Sia(g,VM(b)|0);RM(b);OL(h+4|0)|0;if(sk(h+4|0)|0)break;else f=f+1|0}}}i=h;return}function oga(a){a=a|0;var b=0,e=0,f=0;b=i;i=i+16|0;f=d[a+222>>0]|0;e=d[a+223>>0]|0;c[b>>2]=d[a+221>>0];c[b+4>>2]=f;c[b+8>>2]=e;jN(361584,b);a=c[a+140>>2]|0;if(!a)jN(361640,b);else Sia(a,31144);i=b;return}function pga(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,j=0,l=0,m=0,n=0,o=0,p=0.0,q=0,r=0,s=0.0,t=0.0;r=i;i=i+80|0;d=c[a+140>>2]|0;do if(d){q=c[a+148>>2]|0;if((q|0)!=0?(q|0)==(c[q>>2]|0):0)break;if((b|0)>1)Sia(d,361656);pk(r+40|0,a+148|0);OL(r+40|0)|0;if(!(xk(r+40|0)|0)){q=0;while(1){o=tk(r+40|0)|0;d=c[a+140>>2]|0;p=(+g[o+32>>2]-+g[d+32>>2])*8.0+-1.5;a:do if((c[o+28>>2]|0)>0){n=d;f=c[c[d+16>>2]>>2]|0;d=c[c[o+16>>2]>>2]|0;l=0;e=0;j=0;while(1){if((j|0)>=(c[n+28>>2]|0))break a;n=bx(o,e)|0;if((n|0)!=(bx(c[a+140>>2]|0,j)|0)?+g[(c[o+20>>2]|0)+(e<<2)>>2]-+g[(c[(c[a+140>>2]|0)+20>>2]|0)+(j<<2)>>2]>2]|0;do{e=e+1|0;if((e|0)>=(m|0))break b;d=(c[(c[o+16>>2]|0)+(e<<2)>>2]|0)+d|0}while((d|0)<(l|0))}while(0);c:do if((f|0)<(l|0)){m=c[a+140>>2]|0;n=c[m+28>>2]|0;do{j=j+1|0;if((j|0)>=(n|0))break c;f=(c[(c[m+16>>2]|0)+(j<<2)>>2]|0)+f|0}while((f|0)<(l|0))}while(0);if((e|0)>=(c[o+28>>2]|0))break a;n=c[a+140>>2]|0}if((b|0)>1){NM(r+36|0);cN(r+36|0,361688,q);n=c[r+36>>2]|0;Sia(o,VM(n)|0);t=+g[(c[o+20>>2]|0)+(e<<2)>>2];s=+g[(c[(c[a+140>>2]|0)+20>>2]|0)+(j<<2)>>2];c[r>>2]=e;c[r+4>>2]=j;c[r+8>>2]=l;h[k>>3]=t;c[r+12>>2]=c[k>>2];c[r+16>>2]=c[k+4>>2];h[k>>3]=s;c[r+20>>2]=c[k>>2];c[r+24>>2]=c[k+4>>2];h[k>>3]=p;c[r+28>>2]=c[k>>2];c[r+32>>2]=c[k+4>>2];jN(361720,r);RM(n)}d=pv(r+40|0)|0;if(d){wia(d);YEa(d)}}while(0);OL(r+40|0)|0;if(xk(r+40|0)|0)break;else q=q+1|0}}}while(0);i=r;return}function qga(a,b,d,e,f,h){a=a|0;b=+b;d=+d;e=+e;f=+f;h=h|0;var i=0.0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;n=c[a+140>>2]|0;o=c[c[n+16>>2]>>2]|0;if((c[n+28>>2]|0)>0){j=0;l=c[c[(c[a+144>>2]|0)+16>>2]>>2]|0;n=0;k=0;while(1){if((j|0)<(o|0)){i=0.0;m=0;do{if((j|0)>=(l|0)){k=k+1|0;l=(c[(c[(c[a+144>>2]|0)+16>>2]|0)+(k<<2)>>2]|0)+l|0}p=bx(c[a+140>>2]|0,n)|0;if((p|0)!=(bx(c[a+144>>2]|0,k)|0)){i=i+ +g[(c[(c[a+144>>2]|0)+20>>2]|0)+(k<<2)>>2];m=m+1|0}j=j+1|0}while((j|0)!=(o|0));if((m|0)>0){j=o;i=(1.0-f)*(i/+(m|0)/-b)}else{j=o;i=e}}else i=e;i=i>e?e:i;g[h>>2]=i=(c[(c[a+140>>2]|0)+28>>2]|0))break;else h=h+4|0}}return}function rga(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+48|0;NM(b+36|0);pk(b+8|0,a+148|0);rk(b+8|0);while(1){if(sk(b+8|0)|0)break;if(!(xk(b+8|0)|0))dN(b+36|0,362048);bN(b+36|0,jk(tk(b+8|0)|0)|0);OL(b+8|0)|0}e=VM(c[(jk(c[a+140>>2]|0)|0)>>2]|0)|0;a=c[b+36>>2]|0;d=VM(a)|0;c[b>>2]=e;c[b+4>>2]=d;jN(362056,b);RM(a);i=b;return}function sga(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;a:do if((b|0)>(d|0))b=0;else{e=b;b=0;while(1){b=(c[(Ik(a+96|0,e)|0)>>2]|0)+b|0;if((e|0)>=(d|0))break a;b=(c[(Ik(a+116|0,e)|0)>>2]|0)+b|0;e=e+1|0}}while(0);return b|0}function tga(a,b){a=a|0;b=b|0;if((b|0)>=0?(c[a+116>>2]|0)>(b|0):0)b=c[(Ik(a+116|0,b)|0)>>2]|0;else b=0;return b|0}function uga(a,b){a=a|0;b=b|0;var d=0;if((b|0)>=0?(d=c[a+140>>2]|0,(c[d+28>>2]|0)>(b|0)):0){d=vga(c[a+136>>2]|0,c[d+16>>2]|0,b)|0;d=sia(bx(c[a+140>>2]|0,b)|0,d)|0}else d=0;return d|0}function vga(a,b,c){a=a|0;b=b|0;c=c|0;return yia(b,c,a)|0}function wga(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+32|0;_ea(a+16|0,d+16|0);c[a+12>>2]=c[d+12>>2];iha(a+72|0,d+72|0);iha(a+156|0,d+156|0);e=c[a+160>>2]|0;if(e){Cca(e);YEa(e)}c[a+160>>2]=c[d+160>>2];c[d+160>>2]=0;gha(a+76|0);jha(a+76|0,d+76|0);Jx(d+76|0);kha(a+164|0,d+164|0);lha(a+184|0,d+184|0);kha(a+96|0,d+96|0);kha(a+116|0,d+116|0);e=c[a+136>>2]|0;if((e|0)!=0?(mha(e),f=c[a+136>>2]|0,(f|0)!=0):0){Qc[c[(c[f>>2]|0)+4>>2]&511](f);e=d+136|0}else e=d+136|0;c[a+136>>2]=c[e>>2];c[e>>2]=0;c[a+140>>2]=c[d+140>>2];e=c[a+144>>2]|0;if(e){wia(e);YEa(e)}c[a+144>>2]=c[d+144>>2];c[d+144>>2]=0;KL(a+148|0,235);pk(g,a+148|0);yk(g,d+148|0);Bja(a+212|0,c[d+212>>2]|0,b[d+216>>1]|0);e=c[d+152>>2]|0;do if(e){f=c[a+152>>2]|0;if(!f)Ja(362088,361384,779,362112);else{hK(f,e);break}}while(0);Yfa(a,d);i=g;return}function xga(b,d){b=b|0;d=d|0;c[b+140>>2]=d;yga(b);zga(b);Cja(b+212|0,c[b+164>>2]&65535);a[b+222>>0]=1;a[b+221>>0]=1;a[b+223>>0]=1;Aga(c[b+72>>2]|0,c[b+140>>2]|0,a[b+224>>0]|0);return}function yga(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;h=i;i=i+16|0;if(!(c[b+140>>2]|0)){c[h>>2]=361384;c[h+4>>2]=801;$L(361360,362136,2,1702e3,h)}d=c[b+156>>2]|0;if(d){ZJ(d);YEa(d)}g=WEa(24)|0;WJ(g);a[g+20>>0]=0;c[b+156>>2]=g;if(!(c[b+76>>2]|0))dka(c[b+72>>2]|0,b+76|0);if((c[b+164>>2]|0)>0)c[b+164>>2]=0;d=c[b+140>>2]|0;if((c[d+28>>2]|0)>0){f=0;g=0;while(1){e=c[(c[d+16>>2]|0)+(f<<2)>>2]|0;zv(b+164|0,e);d=c[b+72>>2]|0;if((e|0)>1){aka(b+76|0,d,g,g+-1+e|0);k=c[(Vy(c[b+72>>2]|0,g)|0)>>2]|0;j=c[b+156>>2]|0;d=WEa(56)|0;Xz(d,k);YJ(j,d);_ja(b+76|0,c[b+72>>2]|0,g,g+-1+e|0)}else{d=c[(Vy(d,g)|0)>>2]|0;j=c[b+156>>2]|0;k=WEa(56)|0;Xz(k,d);YJ(j,k)}f=f+1|0;d=c[b+140>>2]|0;if((f|0)>=(c[d+28>>2]|0))break;else g=e+g|0}}i=h;return}function zga(a){a=a|0;var b=0;b=c[a+160>>2]|0;if(b){Cca(b);YEa(b)}Yba(c[a+156>>2]|0);b=Eca(c[a+156>>2]|0)|0;c[a+160>>2]=b;Gca(b,c[a+24>>2]|0,c[a+4>>2]|0);return}function Aga(a,b,c){a=a|0;b=b|0;c=c|0;Mia(b,c<<24>>24!=0,a);return}function Bga(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;b=c[a+156>>2]|0;if(b){ZJ(b);YEa(b)}b=WEa(24)|0;fha(b,c[a+72>>2]|0);c[a+156>>2]=b;zga(a);b=c[(c[a+160>>2]|0)+8>>2]|0;il(a+164|0,b);el(a+184|0,b);if((b|0)>0){d=0;do{zv(a+164|0,1);PM(e,1714496);Wj(a+184|0,e);RM(c[e>>2]|0);d=d+1|0}while((d|0)<(b|0))}i=e;return}function Cga(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;Pia(c[a+144>>2]|0,b);pk(d,a+148|0);rk(d);if(!(sk(d)|0))do{Pia(tk(d)|0,b);OL(d)|0}while(!(sk(d)|0));i=d;return}function Dga(a){a=a|0;var b=0;b=c[a+136>>2]|0;if(b){mha(b);b=c[a+136>>2]|0;if(b)Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+136>>2]=0}return}function Ega(b){b=b|0;var d=0,e=0.0,f=0.0,h=0,j=0,k=0,l=0,m=0;l=i;i=i+32|0;h=c[(c[b+136>>2]|0)+12>>2]|0;j=WEa(64)|0;rv(j,c[b+68>>2]|0,h);a[j+52>>0]=2;if((h|0)>0){k=0;do{m=c[b+136>>2]|0;d=Vc[c[(c[m>>2]|0)+12>>2]&63](m,k,k)|0;d=c[(c[m+4>>2]|0)+(d<<2)>>2]|0;if((d|0)!=0?(c[d>>2]|0)!=0:0){pk(l,d);d=tk(l)|0;e=+g[d+36>>2];f=+g[d+32>>2];d=c[d+4>>2]|0}else{e=-2147483648.0;f=2147483648.0;d=0}sv(j,d,1,f,e);k=k+1|0}while((k|0)!=(h|0))}hga(b,j)|0;iga(b,1,0,j)|0;i=l;return}function Fga(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+16|0;Vj(a+184|0);b=c[a+140>>2]|0;if(!b){c[e>>2]=361384;c[e+4>>2]=919;$L(361360,362136,2,1702e3,e);b=c[a+140>>2]|0}if((c[b+28>>2]|0)>0){d=0;do{f=bx(b,d)|0;PM(e+8|0,MN(c[a+68>>2]|0,f)|0);Wj(a+184|0,e+8|0);RM(c[e+8>>2]|0);d=d+1|0;b=c[a+140>>2]|0}while((d|0)<(c[b+28>>2]|0))}i=e;return}function Gga(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;l=i;i=i+48|0;f=c[a+140>>2]|0;e=c[f+28>>2]|0;a:do if(e){if(!(c[a+136>>2]|0)){c[l>>2]=361384;c[l+4>>2]=935;$L(361360,362224,2,1702e3,l);f=c[a+140>>2]|0;e=c[f+28>>2]|0}if((e|0)>1){g=1;h=0;e=0;while(1){k=g;while(1){m=c[(c[b>>2]|0)+8>>2]|0;g=bx(f,h)|0;j=bx(c[a+140>>2]|0,k)|0;j=Vc[m&63](b,g,j)|0;if((j|0)!=-1){if(!d)break;f=c[(c[d>>2]|0)+8>>2]|0;g=Dk((c[a+160>>2]|0)+12|0,h)|0;m=Dk((c[a+160>>2]|0)+12|0,k)|0;if(Vc[f&63](d,g,m)|0)break}g=k+1|0;f=c[a+140>>2]|0;if((g|0)>=(c[f+28>>2]|0))break a;else{h=k;k=g}}ex(c[a+140>>2]|0,j,h);Hga(a,h);zia(l+40|0,c[(c[a+140>>2]|0)+16>>2]|0,h);g=c[a+136>>2]|0;f=c[l+40>>2]|0;e=c[l+44>>2]|0;if(!(cS(f,e,g)|0)){Pea(g,e+1-f|0);g=c[a+136>>2]|0}f=vga(g,c[(c[a+140>>2]|0)+16>>2]|0,h)|0;if(!(sia(j,f)|0)){m=WEa(72)|0;Vea(m);c[m+4>>2]=j;pk(l+8|0,f);BB(l+8|0,m)}g=k+1|0;f=c[a+140>>2]|0;if((g|0)>=(c[f+28>>2]|0)){e=1;break}else{h=k;e=1}}}else e=0}else e=0;while(0);if(b)Qc[c[(c[b>>2]|0)+4>>2]&511](b);if(d)Qc[c[(c[d>>2]|0)+4>>2]&511](d);i=l;return e|0}function Hga(a,d){a=a|0;d=d|0;var e=0,f=0;e=c[a+140>>2]|0;if((b[a+216>>1]|0)==(c[e+28>>2]|0)){Fja(a+212|0,d&65535);e=c[a+140>>2]|0}Cia(e,d+1|0);Zba(c[a+156>>2]|0,d,d+2|0);Hca(c[a+160>>2]|0,d,d+2|0);if((d+1|0)<(c[a+164>>2]|0)){f=c[(Ik(a+164|0,d+1|0)|0)>>2]|0;e=Ik(a+164|0,d)|0;c[e>>2]=(c[e>>2]|0)+f;mv(a+164|0,d+1|0)}return}function Iga(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=MN(c[a+68>>2]|0,b)|0;b=MN(c[a+68>>2]|0,d)|0;if((nha(e,SGa(e|0)|0)|0)!=0?(nha(b,SGa(b|0)|0)|0)!=0:0)b=HN(c[a+68>>2]|0,362272)|0;else b=-1;return b|0}function Jga(b){b=b|0;var d=0,e=0;d=c[b+68>>2]|0;if(UN(d,362272)|0?(e=HN(d,362272)|0,(a[(c[d>>2]|0)+(e*112|0)+38>>0]|0)!=0):0){e=WEa(16)|0;c[e>>2]=362848;c[e+4>>2]=b;a[e+8>>0]=51;a[e+9>>0]=0;a[e+10>>0]=0;a[e+11>>0]=0;a[e+12>>0]=0;a[e+13>>0]=0;a[e+14>>0]=0;a[e+15>>0]=0;Gga(b,e,0)|0}return}function Kga(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=MN(c[b+68>>2]|0,d)|0;d=MN(c[b+68>>2]|0,e)|0;if((((SGa(f|0)|0)==1?(SGa(d|0)|0)==1:0)?(e=a[f>>0]|0,e<<24>>24==126|e<<24>>24==45):0)?(e=a[d>>0]|0,e<<24>>24==126|e<<24>>24==45):0)d=HN(c[b+68>>2]|0,362280)|0;else d=-1;return d|0}function Lga(a,c,d){a=a|0;c=c|0;d=d|0;return (b[c+4>>1]|0)>=(b[d>>1]|0)|0}function Mga(b){b=b|0;var d=0,e=0;d=c[b+68>>2]|0;if(UN(d,362280)|0?(e=HN(d,362280)|0,(a[(c[d>>2]|0)+(e*112|0)+38>>0]|0)!=0):0){d=WEa(16)|0;c[d>>2]=362848;c[d+4>>2]=b;a[d+8>>0]=52;a[d+9>>0]=0;a[d+10>>0]=0;a[d+11>>0]=0;a[d+12>>0]=0;a[d+13>>0]=0;a[d+14>>0]=0;a[d+15>>0]=0;e=WEa(16)|0;c[e>>2]=362696;c[e+4>>2]=b;a[e+8>>0]=53;a[e+9>>0]=0;a[e+10>>0]=0;a[e+11>>0]=0;a[e+12>>0]=0;a[e+13>>0]=0;a[e+14>>0]=0;a[e+15>>0]=0;Gga(b,d,e)|0}return}function Nga(a,b,d){a=a|0;b=b|0;d=d|0;if(!((b|0)==(d|0)?(HN(c[a+68>>2]|0,1701816)|0)==(b|0):0))b=-1;return b|0}function Oga(d){d=d|0;var e=0,f=0;f=i;i=i+16|0;e=WEa(16)|0;c[e>>2]=362848;c[e+4>>2]=d;a[e+8>>0]=54;a[e+9>>0]=0;a[e+10>>0]=0;a[e+11>>0]=0;a[e+12>>0]=0;a[e+13>>0]=0;a[e+14>>0]=0;a[e+15>>0]=0;if(Gga(d,e,0)|0){e=c[(c[d+140>>2]|0)+28>>2]|0;if((b[d+216>>1]|0)!=(e|0)){c[f>>2]=361384;c[f+4>>2]=1065;$L(361360,362288,2,1702e3,f)}if((c[(c[d+160>>2]|0)+8>>2]|0)!=(e|0)){c[f>>2]=361384;c[f+4>>2]=1066;$L(361360,362320,2,1702e3,f)}}i=f;return}function Pga(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;a:do if((d+-1+e|0)>(d|0)){g=d;while(1){if((((g|0)>-1?(g|0)<(c[b+76>>2]|0):0)?(f=c[(Ev(b+76|0,g)|0)>>2]|0,(f|0)!=0):0)?(a[f+10>>0]|0)>0:0){f=0;break a}g=g+1|0;if((g|0)>=(d+-1+e|0)){f=1;break}}}else f=1;while(0);return f|0}function Qga(a){a=a|0;Xfa(a);Ix(c[a+212>>2]|0);Vj(a+184|0);Jk(a+164|0);KL(a+148|0,235);Jk(a+116|0);Jk(a+96|0);Jx(a+76|0);afa(a+16|0);return}function Rga(b){b=b|0;var d=0,e=0;c[b+204>>2]=0;d=b+220|0;e=d+18|0;do{a[d>>0]=0;d=d+1|0}while((d|0)<(e|0));c[b+240>>2]=0;c[b+244>>2]=0;c[b+248>>2]=0;c[b+252>>2]=0;a[b+238>>0]=1;a[b+239>>0]=1;a[b+256>>0]=0;a[b+257>>0]=0;a[b+258>>0]=0;return}function Sga(a){a=a|0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+68>>2]=0;c[a+72>>2]=0;c[a+156>>2]=0;c[a+160>>2]=0;c[a+136>>2]=0;c[a+140>>2]=0;c[a+144>>2]=0;c[a+208>>2]=0;c[a+152>>2]=0;return}function Tga(a,b){a=a|0;b=b|0;if((c[a+16>>2]|0)==(c[b+16>>2]|0)?(c[a+20>>2]|0)==(c[b+20>>2]|0):0)b=(c[a+24>>2]|0)==(c[b+24>>2]|0);else b=0;return b|0}function Uga(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+96|0;if((c[a>>2]|0)!=(c[b>>2]|0)){c[h>>2]=361384;c[h+4>>2]=1201;$L(361360,362352,2,1702e3,h)}d=c[b+24>>2]|0;f=c[a+24>>2]|0;a:do if(d)if(!f)d=1;else{if((f|0)==(d|0)){f=c[b+20>>2]|0;if(!f){d=0;break}g=c[a+20>>2]|0;if(!g){d=0;break}if((g|0)==(f|0)){d=c[b+16>>2]|0;if(!((d|0)!=0?(e=c[a+16>>2]|0,(e|0)!=0):0)){c[h>>2]=361384;c[h+4>>2]=1218;$L(361360,362384,2,1702e3,h);e=c[a+16>>2]|0;d=c[b+16>>2]|0}if((e|0)==(d|0)){d=0;break}pk(h+64|0,(c[a+20>>2]|0)+20|0);rk(h+64|0);if(!(sk(h+64|0)|0))do{g=tk(h+64|0)|0;if((g|0)==(c[a+16>>2]|0)){d=-1;break a}g=tk(h+64|0)|0;if((g|0)==(c[b+16>>2]|0)){d=1;break a}OL(h+64|0)|0}while(!(sk(h+64|0)|0));c[h>>2]=361384;c[h+4>>2]=1233;$L(361360,362432,2,1702e3,h);d=c[a+24>>2]|0}pk(h+36|0,d+28|0);rk(h+36|0);if(!(sk(h+36|0)|0))do{g=tk(h+36|0)|0;if((g|0)==(c[a+20>>2]|0)){d=-1;break a}g=tk(h+36|0)|0;if((g|0)==(c[b+20>>2]|0)){d=1;break a}OL(h+36|0)|0}while(!(sk(h+36|0)|0));c[h>>2]=361384;c[h+4>>2]=1246;$L(361360,362432,2,1702e3,h)}pk(h+8|0,(c[a>>2]|0)+8|0);rk(h+8|0);if(!(sk(h+8|0)|0))do{g=tk(h+8|0)|0;if((g|0)==(c[a+24>>2]|0)){d=-1;break a}g=tk(h+8|0)|0;if((g|0)==(c[b+24>>2]|0)){d=1;break a}OL(h+8|0)|0}while(!(sk(h+8|0)|0));c[h>>2]=361384;c[h+4>>2]=1260;$L(361360,362432,2,1702e3,h);d=0}else d=((f|0)==0^1)<<31>>31;while(0);i=h;return d|0}function Vga(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+48|0;f=WEa(260)|0;zx(f,e);Yfa(f,d);a[f+256>>0]=1;pk(g+8|0,(c[b+20>>2]|0)+20|0);rk(g+8|0);a:do if(!(sk(g+8|0)|0))do{e=tk(g+8|0)|0;if((e|0)==(c[b+16>>2]|0))break a;OL(g+8|0)|0}while(!(sk(g+8|0)|0));while(0);if(sk(g+8|0)|0){c[g>>2]=361384;c[g+4>>2]=1281;$L(361360,362480,2,1702e3,g)}BB(g+8|0,f);if(xk(g+8|0)|0)Wga(b);i=g;return f|0}function Wga(b){b=b|0;var d=0,e=0;e=i;i=i+48|0;d=c[b+20>>2]|0;if((d|0)!=(c[b+32>>2]|0)){pk(e+8|0,d+20|0);rk(e+8|0);if(!(sk(e+8|0)|0))do{if(!(a[(tk(e+8|0)|0)+257>>0]|0)){if((c[b+8>>2]|0)==(c[b+20>>2]|0))c[b+4>>2]=c[b+16>>2];c[b+16>>2]=tk(e+8|0)|0}OL(e+8|0)|0}while(!(sk(e+8|0)|0))}else{qk(b+96|0);rk(b+96|0);a:do if(!(sk(b+96|0)|0))do{d=tk(b+96|0)|0;if((d|0)==(c[b+28>>2]|0))break a;if(!(a[(tk(b+96|0)|0)+257>>0]|0)){if((c[b+8>>2]|0)==(c[b+20>>2]|0))c[b+4>>2]=c[b+16>>2];c[b+16>>2]=tk(b+96|0)|0}OL(b+96|0)|0}while(!(sk(b+96|0)|0));while(0);if(sk(b+96|0)|0){c[e>>2]=361384;c[e+4>>2]=1545;$L(361360,362656,2,1702e3,e)}OL(b+96|0)|0}i=e;return}function Xga(d,f){d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+272|0;if(!(c[f>>2]|0))Yga(d);else{s=c[d+16>>2]|0;p=(b[(c[s+4>>2]|0)+10>>1]&8)==0;g=c[(c[(Fw(f,0)|0)>>2]|0)+4>>2]|0;if(p)a[g+8>>0]=1;else b[g+10>>1]=e[g+10>>1]|8;p=c[(c[(Hw(f)|0)>>2]|0)+4>>2]|0;tv(p+10|0,4,(e[(c[s+4>>2]|0)+10>>1]|0)>>>4&1);Lk(u+56|0,(c[(c[d+20>>2]|0)+4>>2]|0)+36|0);if(!(a[s+256>>0]|0)){Mk(u+56|0);a:do if(!((Nk(u+56|0)|0)<<24>>24))do{p=Ok(u+56|0)|0;if((p|0)==(c[s+4>>2]|0))break a;VL(u+56|0)}while((Nk(u+56|0)|0)<<24>>24==0);while(0);if((Nk(u+56|0)|0)<<24>>24){c[u>>2]=361384;c[u+4>>2]=1350;$L(361360,362504,2,1702e3,u)}}pk(u+28|0,(c[d+20>>2]|0)+20|0);rk(u+28|0);b:do if(!(sk(u+28|0)|0))do{if((tk(u+28|0)|0)==(s|0))break b;OL(u+28|0)|0}while(!(sk(u+28|0)|0));while(0);if(sk(u+28|0)|0){c[u>>2]=361384;c[u+4>>2]=1359;$L(361360,362480,2,1702e3,u)}pk(u+140|0,(c[s+4>>2]|0)+20|0);q1(u+140|0,22);pk(u+84|0,(c[s+4>>2]|0)+24|0);q1(u+84|0,22);if((c[f>>2]|0)>0){o=0;do{n=c[(Fw(f,o)|0)>>2]|0;Ek(u+168|0);p=o;o=o+1|0;if((o|0)<(c[f>>2]|0))g=(c[(c[(Fw(f,o)|0)>>2]|0)+4>>2]|0)+20|0;else g=0;pk(u,(c[n+4>>2]|0)+20|0);if((c[n+164>>2]|0)>0){k=(g|0)!=0;l=0;do{j=c[(Ik(n+164|0,l)|0)>>2]|0;fla(u+200|0,tk(u)|0);OL(u)|0;if((j|0)>1){h=1;do{fla(u+224|0,tk(u)|0);bja(u+200|0,u+224|0);OL(u)|0;h=h+1|0}while((h|0)<(j|0))}if(k|(xk(u)|0)^1){if(xk(u)|0)pk(u,g);h=b[u+204>>1]|0;fla(u+248|0,tk(u)|0);h=((b[u+248>>1]|0)+h|0)/2|0}else h=2147483647;zv(u+168|0,h);l=l+1|0}while((l|0)<(c[n+164>>2]|0))}KL((c[n+4>>2]|0)+20|0,224);pk(u+112|0,(c[n+4>>2]|0)+20|0);m=WEa(32)|0;zca(m);g=c[u+168>>2]|0;if((g|0)>0){j=0;do{h=c[(Ik(u+168|0,j)|0)>>2]|0;b[u+208>>1]=32767;b[u+210>>1]=32767;b[u+212>>1]=-32767;b[u+214>>1]=-32767;while(1){if(vk(u+140|0)|0)break;fla(u+256|0,tk(u+140|0)|0);if((((b[u+260>>1]|0)+(b[u+256>>1]|0)|0)/2|0|0)>=(h|0))break;fla(u+192|0,tk(u+140|0)|0);bja(u+208|0,u+192|0);Ck(u+112|0,pv(u+140|0)|0);OL(u+140|0)|0}while(1){if(vk(u+84|0)|0)break;fla(u+216|0,tk(u+84|0)|0);if((((b[u+220>>1]|0)+(b[u+216>>1]|0)|0)/2|0|0)>=(h|0))break;fla(u+240|0,tk(u+84|0)|0);bja(u+208|0,u+240|0);Ck(u+112|0,pv(u+84|0)|0);OL(u+84|0)|0}if((j|0)>0?(l=b[u+208>>1]|0,q=j+-1|0,(l<<16>>16|0)<(c[(Ik(u+168|0,q)|0)>>2]|0)):0)b[u+208>>1]=c[(Ik(u+168|0,q)|0)>>2];if((b[u+212>>1]|0)>(h|0))b[u+212>>1]=h;Ica(m,j,u+208|0);j=j+1|0}while((j|0)<(g|0))}if((c[m+8>>2]|0)>0){l=0;do{h=Dk(m+12|0,l)|0;g=e[h>>1]|e[h+2>>1]<<16;h=e[h+4>>1]|e[h+6>>1]<<16;k=UGa(g|0,h|0,16)|0;j=UGa(g|0,h|0,48)|0;c:do if((g&65535)<<16>>16>=(h&65535)<<16>>16?1:(j&65535)<<16>>16<=(k&65535)<<16>>16){rk(u+112|0);j=(l|0)==0;h=l+-1|0;while(1){if(sk(u+112|0)|0)break c;fla(u+232|0,tk(u+112|0)|0);k=b[u+232>>1]|0;if((k<<16>>16|0)<(c[(Ik(u+168|0,l)|0)>>2]|0)){g=b[u+236>>1]|0;if(j)break;if((g<<16>>16|0)>=(c[(Ik(u+168|0,h)|0)>>2]|0)){t=52;break}}OL(u+112|0)|0}if((t|0)==52){t=0;if((l|0)>0?(k<<16>>16|0)<(c[(Ik(u+168|0,h)|0)>>2]|0):0)b[u+232>>1]=c[(Ik(u+168|0,h)|0)>>2]}if((g<<16>>16|0)>(c[(Ik(u+168|0,l)|0)>>2]|0))b[u+236>>1]=c[(Ik(u+168|0,l)|0)>>2];Jca(m,l,u+232|0)}while(0);l=l+1|0}while((l|0)<(c[m+8>>2]|0))}g=c[n+160>>2]|0;if(g){Cca(g);YEa(g)}c[n+160>>2]=m;if(!(a[s+256>>0]|0)){Nv(u+56|0,c[n+4>>2]|0);a[n+256>>0]=0}c[(Fw(f,p)|0)>>2]=0;Qv(u+28|0,n);Jk(u+168|0)}while((o|0)<(c[f>>2]|0))}sx(f);if((a[s+256>>0]|0)==0?(r=hv(u+56|0)|0,(r|0)!=0):0){iv(r);YEa(r)}g=pv(u+28|0)|0;if(g){Qga(g);YEa(g)}Wga(d)}i=u;return}function Yga(b){b=b|0;var d=0,e=0;e=i;i=i+64|0;d=c[b+16>>2]|0;if(a[d+257>>0]|0){c[e>>2]=361384;c[e+4>>2]=1452;$L(361360,362528,2,1702e3,e);d=c[b+16>>2]|0}if(!(a[d+256>>0]|0)){Lk(e+36|0,(c[(c[b+20>>2]|0)+4>>2]|0)+36|0);Mk(e+36|0);a:do if(!((Nk(e+36|0)|0)<<24>>24))do{d=Ok(e+36|0)|0;if((d|0)==(c[(c[b+16>>2]|0)+4>>2]|0))break a;VL(e+36|0)}while((Nk(e+36|0)|0)<<24>>24==0);while(0);if((Nk(e+36|0)|0)<<24>>24){c[e>>2]=361384;c[e+4>>2]=1463;$L(361360,362504,2,1702e3,e)}d=hv(e+36|0)|0;if(d){iv(d);YEa(d)}}pk(e+8|0,(c[b+20>>2]|0)+20|0);rk(e+8|0);b:do if(!(sk(e+8|0)|0)){while(1){d=tk(e+8|0)|0;if((d|0)==(c[b+16>>2]|0))break;OL(e+8|0)|0;if(sk(e+8|0)|0)break b}c[b+16>>2]=0}while(0);if(sk(e+8|0)|0){c[e>>2]=361384;c[e+4>>2]=1475;$L(361360,362480,2,1702e3,e)}d=pv(e+8|0)|0;if(d){Qga(d);YEa(d)}Wga(b);i=e;return}function Zga(d){d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+48|0;f=c[d+16>>2]|0;e=(c[f+4>>2]|0)+10|0;g=b[e>>1]|0;if((g&3072)==0?(b[e>>1]=g&65535|1024,(a[f+256>>0]|0)!=0):0){pk(h+8|0,(c[d+20>>2]|0)+20|0);rk(h+8|0);a:do if(!(sk(h+8|0)|0))do{g=tk(h+8|0)|0;if((g|0)==(c[d+16>>2]|0))break a;OL(h+8|0)|0}while(!(sk(h+8|0)|0));while(0);OL(h+8|0)|0;if(!(a[(tk(h+8|0)|0)+257>>0]|0)){c[h>>2]=361384;c[h+4>>2]=1494;$L(361360,362560,2,1702e3,h)}f=(c[(tk(h+8|0)|0)+4>>2]|0)+10|0;e=b[f>>1]|0;if(e&3072){c[h>>2]=361384;c[h+4>>2]=1497;$L(361360,362592,2,1702e3,h);e=b[f>>1]|0}b[f>>1]=e&65535|1024}i=h;return}function _ga(a,b){a=a|0;b=b|0;var d=0,e=0;pk(a+40|0,(c[a>>2]|0)+8|0);rk(a+40|0);d=a+4|0;e=d+36|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));$ga(a,1,b)|0;$ga(a,0,b)|0;return}function $ga(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;c[b+12>>2]=c[b+24>>2];c[b+8>>2]=c[b+20>>2];c[b+4>>2]=c[b+16>>2];c[b+24>>2]=c[b+36>>2];c[b+20>>2]=c[b+32>>2];c[b+16>>2]=c[b+28>>2];c[b+36>>2]=0;c[b+32>>2]=0;c[b+28>>2]=0;a:do if(!(sk(b+40|0)|0)){f=0;b:while(1){if(d){pk(b+68|0,(tk(b+40|0)|0)+28|0);rk(b+68|0);if((vk(b+68|0)|0)&e){g=6;break}else d=1}else d=f;if(sk(b+68|0)|0)f=d;else{if(d)g=8;while(1){if((g|0)==8){g=0;pk(b+96|0,(tk(b+68|0)|0)+20|0);rk(b+96|0)}c:do if(!(sk(b+96|0)|0))do{if(!(a[(tk(b+96|0)|0)+257>>0]|0))break c;OL(b+96|0)|0}while(!(sk(b+96|0)|0));while(0);if(!(sk(b+96|0)|0)){g=13;break b}OL(b+68|0)|0;if(sk(b+68|0)|0){f=1;break}else g=8}}OL(b+40|0)|0;if(sk(b+40|0)|0){d=1;break a}else d=1}if((g|0)==6){c[b+36>>2]=tk(b+40|0)|0;d=0;break}else if((g|0)==13){c[b+36>>2]=tk(b+40|0)|0;c[b+32>>2]=tk(b+68|0)|0;c[b+28>>2]=tk(b+96|0)|0;OL(b+96|0)|0;d=0;break}}while(0);f=c[b>>2]|0;if((f|0)!=0?(i=c[f+16>>2]|0,(i|0)!=0):0){if(!d?(h=c[b+4>>2]|0,(h|0)!=0):0)f=c[h+140>>2]|0;else f=0;c[i>>2]=f}return c[b+16>>2]|0}function aha(a){a=a|0;var b=0;b=c[a+20>>2]|0;if(!b)b=0;else{_ga(a,0);if((c[a+20>>2]|0)!=(b|0))do ck(a)|0;while((c[a+20>>2]|0)!=(b|0));b=c[a+16>>2]|0}return b|0}function bha(a){a=a|0;var b=0,d=0;do{if((c[a+24>>2]|0)!=(c[a+36>>2]|0)){d=5;break}b=c[a+32>>2]|0;if(!b){d=5;break}b=c[b+4>>2]|0;if(!b){d=5;break}b=(c[(c[(c[a+20>>2]|0)+4>>2]|0)+60>>2]|0)==(c[b+60>>2]|0);$ga(a,0,1)|0}while(b);if((d|0)==5)$ga(a,0,1)|0;return}function cha(a){a=a|0;var b=0;do{b=(c[a+24>>2]|0)==(c[a+36>>2]|0);$ga(a,0,1)|0}while(b);return}function dha(a){a=a|0;var d=0,e=0,f=0,g=0;d=c[a+16>>2]|0;e=b[d+216>>1]|0;g=c[a>>2]|0;c[g>>2]=(c[g>>2]|0)+(e<<16>>16);f=c[a+24>>2]|0;c[f+8>>2]=(c[f+8>>2]|0)+(e<<16>>16);a=c[a+20>>2]|0;c[a+8>>2]=(c[a+8>>2]|0)+(e<<16>>16);d=lx(d+212|0)|0;c[g+4>>2]=(c[g+4>>2]|0)+(d<<16>>16);c[f+12>>2]=(c[f+12>>2]|0)+(d<<16>>16);c[a+12>>2]=(c[a+12>>2]|0)+(d<<16>>16);if(e<<16>>16==d<<16>>16)c[a+16>>2]=(c[a+16>>2]|0)+(d<<16>>16);return}function eha(b){b=b|0;c[b>>2]=0;c[b+4>>2]=0;a[b+12>>0]=0;c[b+16>>2]=0;Cx(b+20|0,12,0);return}function fha(a,b){a=a|0;b=b|0;WJ(a);Wba(a,b);return}function gha(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){YEa(d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0))}return}function hha(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;g=i;i=i+16|0;if(!((d|0)>-1?(e=c[a>>2]|0,(e|0)>=(d|0)):0)){c[g>>2]=1701680;c[g+4>>2]=691;$L(361360,375920,2,1702e3,g);e=c[a>>2]|0}if((c[a+4>>2]|0)==(e|0)){jK(a);e=c[a>>2]|0}if((e|0)>(d|0)){f=e;do{h=f;f=f+-1|0;j=c[a+8>>2]|0;c[j+(h<<2)>>2]=c[j+(f<<2)>>2]}while((f|0)>(d|0))}c[(c[a+8>>2]|0)+(d<<2)>>2]=b;c[a>>2]=e+1;i=g;return}function iha(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if(d){ZJ(d);YEa(d)}c[a>>2]=c[b>>2];c[b>>2]=0;return}function jha(a,b){a=a|0;b=b|0;if((b|0)!=(a|0)){if((c[a>>2]|0)>0)c[a>>2]=0;dK(a,b)}return}function kha(a,b){a=a|0;b=b|0;Jk(a);c[a+8>>2]=c[b+8>>2];c[a+4>>2]=c[b+4>>2];c[a>>2]=c[b>>2];c[a+16>>2]=c[b+16>>2];c[a+12>>2]=c[b+12>>2];c[b+0>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;return}function lha(a,b){a=a|0;b=b|0;Vj(a);c[a+8>>2]=c[b+8>>2];c[a+4>>2]=c[b+4>>2];c[a>>2]=c[b>>2];c[a+16>>2]=c[b+16>>2];c[a+12>>2]=c[b+12>>2];c[b+0>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;return}function mha(a){a=a|0;var b=0,d=0,e=0;b=Tc[c[(c[a>>2]|0)+8>>2]&127](a)|0;if((b|0)>0){e=0;do{d=c[(c[a+4>>2]|0)+(e<<2)>>2]|0;if(!((d|0)==0?1:(d|0)==(c[a+8>>2]|0))){KL(d,229);YEa(d)}e=e+1|0}while((e|0)<(b|0))}return}function nha(b,c){b=b|0;c=c|0;if((c|0)==1){b=a[b>>0]|0;if(b<<24>>24==96|b<<24>>24==39)c=1;else c=0}else if(((c|0)==3?(a[b>>0]|0)==-30:0)?(a[b+1>>0]|0)==-128:0){c=a[b+2>>0]|0;c=c<<24>>24==-104?1:c<<24>>24==-103}else c=0;return c&1|0}function oha(a){a=a|0;return}function pha(a){a=a|0;YEa(a);return}function qha(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0;f=d[a+8>>0]|d[a+9>>0]<<8|d[a+10>>0]<<16|d[a+11>>0]<<24;g=d[a+12>>0]|d[a+13>>0]<<8|d[a+14>>0]<<16|d[a+15>>0]<<24;a=(c[a+4>>2]|0)+(g>>1)|0;if(g&1)f=c[(c[a>>2]|0)+f>>2]|0;return Vc[f&63](a,b,e)|0}function rha(a){a=a|0;return}function sha(a){a=a|0;YEa(a);return}function tha(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0;f=d[a+8>>0]|d[a+9>>0]<<8|d[a+10>>0]<<16|d[a+11>>0]<<24;g=d[a+12>>0]|d[a+13>>0]<<8|d[a+14>>0]<<16|d[a+15>>0]<<24;a=(c[a+4>>2]|0)+(g>>1)|0;if(g&1)f=c[(c[a>>2]|0)+f>>2]|0;return Vc[f&63](a,b,e)|0}function uha(a){a=a|0;var b=0;a:do if(!a)b=-1;else{b=0;while(1){if(!(HGa(a,c[362976+(b<<2)>>2]|0)|0))break a;b=b+1|0;if((b|0)>=24){b=-1;break}}}while(0);return b|0}function vha(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+64|0;c[a+4>>2]=0;c[a+8>>2]=0;b[h+60>>1]=d;b[h+62>>1]=e;b[h+56>>1]=f;b[h+58>>1]=g;_ia(a+12|0,h+60|0,h+56|0);pk(h+28|0,a+4|0);pk(h,a+8|0);c[a>>2]=0;pk(h+28|0,a+4|0);pk(h,a+8|0);j=WEa(8)|0;c[j>>2]=0;b[j+4>>1]=d;b[j+6>>1]=e;qv(h+28|0,j);j=WEa(8)|0;c[j>>2]=0;b[j+4>>1]=d;b[j+6>>1]=g;qv(h+28|0,j);d=WEa(8)|0;c[d>>2]=0;b[d+4>>1]=f;b[d+6>>1]=e;qv(h,d);e=WEa(8)|0;c[e>>2]=0;b[e+4>>1]=f;b[e+6>>1]=g;qv(h,e);c[a+20>>2]=0;i=h;return}function wha(a){a=a|0;var c=0;qk(a+8|0);qk(a+36|0);rk(a+8|0);rk(a+36|0);b[a>>1]=b[(tk(a+8|0)|0)+6>>1]|0;b[a+2>>1]=b[(RL(a+8|0,1)|0)+6>>1]|0;c=b[(RL(a+36|0,1)|0)+6>>1]|0;if(c<<16>>16<(b[a+2>>1]|0))b[a+2>>1]=b[(RL(a+36|0,1)|0)+6>>1]|0;return}function xha(a){a=a|0;var c=0;if(!(vk(a+8|0)|0)){c=b[(RL(a+8|0,1)|0)+6>>1]|0;if(c<<16>>16==(b[a+2>>1]|0))OL(a+8|0)|0;c=b[(RL(a+36|0,1)|0)+6>>1]|0;if(c<<16>>16==(b[a+2>>1]|0))OL(a+36|0)|0;if(!(Ov(a+8|0)|0)?!(Ov(a+36|0)|0):0)b[a>>1]=b[a+2>>1]|0;else{qk(a+8|0);qk(a+36|0);b[a>>1]=b[(tk(a+8|0)|0)+6>>1]|0}b[a+2>>1]=b[(RL(a+8|0,1)|0)+6>>1]|0;c=b[(RL(a+36|0,1)|0)+6>>1]|0;if(c<<16>>16<(b[a+2>>1]|0))b[a+2>>1]=b[(RL(a+36|0,1)|0)+6>>1]|0}return}function yha(a,d,f){a=a|0;d=d|0;f=f|0;var h=0,j=0,k=0,l=0,m=0,n=0.0,o=0,p=0,q=0;m=i;i=i+64|0;l=e[a+16>>1]|e[a+18>>1]<<16;c[m>>2]=e[a+12>>1]|e[a+14>>1]<<16;c[m+4>>2]=l;wD(m,d);l=kl(m)|0;l=_o(l<<16>>16,(ll(m)|0)<<16>>16,1)|0;h=c[a>>2]|0;if(!h){a=kl(m)|0;fs(l,0,0,a<<16>>16,(ll(m)|0)<<16>>16,30,0,0,0)}else{c[m+56>>2]=0;Fha(m+56|0,h);Rha(m+40|0,m+56|0,c[(c[a>>2]|0)+12>>2]|0);n=+g[d>>2];Uha(m+40|0,n,+g[d+4>>2]);k=WEa(4)|0;c[k>>2]=m+40;h=b[a+14>>1]|0;if(h<<16>>16<(b[a+18>>1]|0)){j=h<<16>>16;do{d=Wha(k,j&65535)|0;a:do if(c[d>>2]|0){pk(m+8|0,d);rk(m+8|0);h=~j;while(1){if(sk(m+8|0)|0)break a;q=b[(tk(m+8|0)|0)+4>>1]|0;o=b[(tk(m+8|0)|0)+6>>1]|0;p=c[m>>2]|0;fs(l,(q<<16>>16)-(p<<16>>16)|0,((ll(m)|0)<<16>>16)+h+(p>>16)|0,o,1,30,0,0,0);OL(m+8|0)|0}}while(0);if(d){KL(d,228);YEa(d)}j=j+1|0}while((j|0)<(b[a+18>>1]|0))}YEa(k);KL(m+40|0,228);KL(m+56|0,228)}if(f){o=c[m>>2]|0;p=c[m+4>>2]|0;b[f>>1]=o;b[f+2>>1]=o>>>16;b[f+4>>1]=p;b[f+6>>1]=p>>>16}i=m;return l|0}function zha(a,b){a=a|0;b=b|0;pk(a+8|0,b+4|0);pk(a+36|0,b+8|0);c[a+4>>2]=b;if(c[b+4>>2]|0)wha(a);return}function Aha(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,j=0;g=i;i=i+16|0;h=c[a>>2]|0;j=e[h+12>>1]|e[h+14>>1]<<16;c[g+8>>2]=j;h=e[h+16>>1]|e[h+18>>1]<<16;c[g+4>>2]=h;if(!((j>>>16&65535)<<16>>16<=d<<16>>16?(h>>>16&65535)<<16>>16>d<<16>>16:0)){c[g>>2]=d<<16>>16;$L(363632,363648,2,363672,g)}Cha(a+4|0,g+8|0,g+4|0);a:do if((b[g+10>>1]|0)<=d<<16>>16?(b[g+6>>1]|0)>d<<16>>16:0){a=b[g+8>>1]|0;b[f>>1]=(e[g+4>>1]|0)-(a&65535)}else{wha(a+4|0);b:do if(!((Bha(a+4|0)|0)<<24>>24)){while(1){Cha(a+4|0,g+8|0,g+4|0);if((b[g+10>>1]|0)<=d<<16>>16?(b[g+6>>1]|0)>d<<16>>16:0)break;xha(a+4|0);if((Bha(a+4|0)|0)<<24>>24)break b}a=b[g+8>>1]|0;b[f>>1]=(e[g+4>>1]|0)-(a&65535);break a}while(0);c[g>>2]=d<<16>>16;$L(363640,363648,2,363672,g);a=0}while(0);i=g;return a|0}function Bha(a){a=a|0;if(sk(a+8|0)|0)a=(sk(a+36|0)|0)&1;else a=0;return a|0}function Cha(a,c,d){a=a|0;c=c|0;d=d|0;var f=0;f=b[(tk(a+8|0)|0)+4>>1]|0;f=(e[a>>1]|0)<<16|f&65535;b[c>>1]=f;b[c+2>>1]=f>>>16;c=b[(tk(a+36|0)|0)+4>>1]|0;a=(e[a+2>>1]|0)<<16|c&65535;b[d>>1]=a;b[d+2>>1]=a>>>16;return}function Dha(a){a=a|0;var d=0;d=WEa(8)|0;c[d>>2]=0;c[d+4>>2]=0;a=e[a+4>>1]|e[a+6>>1]<<16;b[d+4>>1]=a;b[d+6>>1]=a>>>16;return d|0}function Eha(a){a=a|0;if(a)YEa(a);return}function Fha(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+64|0;pk(c+28|0,b);pk(c,a);rk(c+28|0);if(!(sk(c+28|0)|0))do{Ck(c,Dha(tk(c+28|0)|0)|0);OL(c+28|0)|0}while(!(sk(c+28|0)|0));i=c;return}function Gha(a,c,d){a=a|0;c=c|0;d=d|0;var e=0;e=(((c|0)>-1?c:0-c|0)|0)>=(((d|0)>-1?d:0-d|0)|0)?c:d;e=(e|0)>-1?e:0-e|0;if((e|0)>32767)e=((e|0)/32767|0)+1|0;else e=1;b[a>>1]=(c|0)/(e|0)|0;b[a+2>>1]=(d|0)/(e|0)|0;return}function Hha(a,b){a=+a;b=+b;return Iha(+uk(a,b))|0}function Iha(a){a=+a;return (ok((a+3.141592653589793)*128.0/3.141592653589793)|0)&255|0}function Jha(a,b){a=a|0;b=b|0;g[a>>2]=+T(+(+(b&255|0)*3.141592653589793*.0078125+-3.141592653589793));g[a+4>>2]=+U(+(+(b&255|0)*3.141592653589793*.0078125+-3.141592653589793));return}function Kha(a,b,c,d,e,f,h){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;h=+h;g[a>>2]=((b-d)*f+(c-e)*h)/(f*f+h*h)*f+d;g[a+4>>2]=((b-d)*f+(c-e)*h)/(f*f+h*h)*h+e;return}function Lha(d,f){d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+8208|0;b[p>>1]=32767;b[p+2>>1]=32767;b[p+4>>1]=-32767;b[p+6>>1]=-32767;g=p+8|0;do{n=g+0|0;o=n+32|0;do{b[n>>1]=0;n=n+2|0}while((n|0)<(o|0));g=g+32|0}while((g|0)!=(p+8200|0));j=b[f+16>>1]|0;if(j<<16>>16>256){g=XEa(j<<16>>16>>>0>134217727?-1:j<<16>>16<<5)|0;h=g;do{n=h+0|0;o=n+32|0;do{b[n>>1]=0;n=n+2|0}while((n|0)<(o|0));h=h+32|0}while((h|0)!=(g+(j<<16>>16<<5)|0));m=g}else m=p+8|0;g=e[f+8>>1]|e[f+10>>1]<<16;c[p>>2]=e[f+4>>1]|e[f+6>>1]<<16;c[p+4>>2]=g;g=ll(p)|0;if(!(a[363874]|0)){o=kl(p)|0;g=o<<16>>16>g<<16>>16?o<<16>>16:g<<16>>16}else g=g<<16>>16;k=ba(g,g)|0;Mha(f,m);Nha(m,k);f=Oha(m,k)|0;k=f;l=0;g=0;do{h=l;l=WEa(32)|0;n=l+0|0;o=n+32|0;do{b[n>>1]=0;n=n+2|0}while((n|0)<(o|0));j=e[k>>1]|e[k+2>>1]<<16;b[l>>1]=j;b[l+2>>1]=j>>>16;j=l+16|0;c[j>>2]=h;if(!h)g=l;else{c[h+12>>2]=l;c[j>>2]=h}if(d){c[l+20>>2]=c[k+20>>2];c[l+24>>2]=c[k+24>>2];c[l+28>>2]=c[k+28>>2]}k=c[k+12>>2]|0}while((k|0)!=(f|0));c[l+12>>2]=g;c[g+16>>2]=l;if((m|0)!=(p+8|0))ZEa(m);d=qba(g)|0;i=p;return d|0}function Mha(d,f){d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+32|0;b[v+10>>1]=0;b[v+8>>1]=0;c[v+12>>2]=e[d+12>>1]|e[d+14>>1]<<16;s=b[d+16>>1]|0;a[v+20>>0]=127;j=127;k=0;l=0;h=0;p=0;m=0;n=0;o=0;t=0;while(1){Z$(v+22|0,c[d+20>>2]|0,t);g=a[v+22>>0]|0;a[v+23>>0]=g;yV(v+8|0,c[d+20>>2]|0,t);if((t|0)<(s+-1|0)?(r=t+1|0,Z$(v+21|0,c[d+20>>2]|0,r),(nda(a[v+21>>0]|0,g)|0)<<24>>24==-32):0){oda(v+23|0,112);yV(v+16|0,c[d+20>>2]|0,r);eB(v+8|0,b[v+16>>1]|0,b[v+18>>1]|0);q=2}else q=1;g=a[v+23>>0]|0;if(m)if(j<<24>>24==g<<24>>24){g=p;u=9}else{j=c[v+12>>2]|0;b[f+(n<<5)>>1]=j;b[f+(n<<5)+2>>1]=j>>>16;j=m<<16>>16;k=(ba(h<<16>>16,j)|0)&65535;p=(ba(p<<16>>16,j)|0)&65535;b[f+(n<<5)+4>>1]=k;b[f+(n<<5)+6>>1]=p;eB(v+12|0,k,p);a[f+(n<<5)+9>>0]=m;c[f+(n<<5)+16>>2]=f+(n+-1<<5);a[f+(n<<5)+8>>0]=0;p=n+1|0;c[f+(n<<5)+12>>2]=f+(p<<5);oda(v+20|0,64);a[f+(n<<5)+10>>0]=((nda(0,a[v+20>>0]|0)|0)&255)>>>4&7;c[f+(n<<5)+20>>2]=d;c[f+(n<<5)+24>>2]=o;c[f+(n<<5)+28>>2]=t-o;a[v+20>>0]=g;k=c[v+8>>2]|0;j=g;g=k>>>16&65535;h=k&65535;l=k&65535;k=k>>>16&65535;m=1;n=p;o=t}else{a[v+20>>0]=g;u=c[v+8>>2]|0;j=g;l=u&65535;k=u>>>16&65535;h=u&65535;g=u>>>16&65535;u=9}if((u|0)==9){u=0;m=m+1|0}t=q+t|0;if((t|0)>=(s|0))break;else p=g}s=c[v+12>>2]|0;u=f+(n<<5)|0;b[u>>1]=s;b[f+(n<<5)+2>>1]=s>>>16;s=m<<16>>16;r=(ba(l<<16>>16,s)|0)&65535;s=(ba(k<<16>>16,s)|0)&65535;b[f+(n<<5)+4>>1]=r;b[f+(n<<5)+6>>1]=s;eB(v+12|0,r,s);a[f+(n<<5)+9>>0]=m;a[f+(n<<5)+8>>0]=0;c[f+(n<<5)+20>>2]=d;c[f+(n<<5)+24>>2]=o;c[f+(n<<5)+28>>2]=t-o;c[f+(n<<5)+16>>2]=f+(n+-1<<5);c[f+(n<<5)+12>>2]=f;oda(v+20|0,64);a[f+(n<<5)+10>>0]=((nda(0,a[v+20>>0]|0)|0)&255)>>>4&7;c[f+16>>2]=u;u=c[v+12>>2]|0;if(!((u&65535)<<16>>16==(b[d+12>>1]|0)?(u>>>16&65535)<<16>>16==(b[d+14>>1]|0):0)){c[v>>2]=364040;c[v+4>>2]=203;$L(363680,363952,2,1702e3,v)}i=v;return}function Nha(b,f){b=b|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;j=a[b+10>>0]|0;u=b;while(1){l=a[(c[u+16>>2]|0)+10>>0]|0;if(((j&255)+1-l&7)>>>0>=3)break;i=c[u+12>>2]|0;j=a[i+10>>0]|0;s=l-(j&255)&7;if((s|0)==2|(s|0)==6)break;else u=i}l=u+8|0;a[l>>0]=d[l>>0]|4;l=u;while(1){r=a[l+10>>0]|0;q=a[l+9>>0]|0;k=c[l+12>>2]|0;s=a[k+10>>0]|0;o=a[k+9>>0]|0;do if(((r&255)+1-(s&255)&7)>>>0<3){n=a[(c[k+16>>2]|0)+10>>0]|0;m=c[k+12>>2]|0;a:do if(n<<24>>24==(a[m+10>>0]|0)){j=q<<24>>24;while(1){k=m;g=j;while(1){m=a[k+9>>0]|0;h=m+g|0;if(n<<24>>24!=r<<24>>24)break;j=k+16|0;n=a[(c[j>>2]|0)+10>>0]|0;i=k+12|0;m=c[i>>2]|0;if(n<<24>>24!=(a[m+10>>0]|0)){p=j;break a}else{k=m;g=h}}o=m+o|0;j=k+16|0;n=a[(c[j>>2]|0)+10>>0]|0;i=k+12|0;m=c[i>>2]|0;if(n<<24>>24!=(a[m+10>>0]|0)){p=j;h=g;break}else j=g}}else{p=k+16|0;i=k+12|0;h=q<<24>>24}while(0);j=(k|0)==(u|0)&1;if(((h+o|0)>2?(t=c[l+16>>2]|0,(a[t+10>>0]|0)==s<<24>>24):0)?((o|0)>(h|0)?1:(a[t+9>>0]|0)>q<<24>>24):0){a[t+8>>0]=d[t+8>>0]|4;m=c[i>>2]|0;l=t}n=a[k+10>>0]|0;if(((d[m+10>>0]|0)+1-(n&255)&7)>>>0<=2?((h|0)<(o|0)?1:n<<24>>24!=r<<24>>24):0){if((a[(c[p>>2]|0)+9>>0]|0)>=(a[k+9>>0]|0)?((o|0)<(h|0)?1:n<<24>>24!=s<<24>>24):0){l=k;break}if((c[l+12>>2]|0)==(k|0)){l=k;break}}l=m}else{l=k;j=0}while(0);s=l+8|0;a[s>>0]=d[s>>0]|4;if(!((l|0)!=(u|0)&(j|0)==0)){i=b;break}}do{if((a[i+9>>0]|0)>7){h=i+8|0;a[h>>0]=d[h>>0]|4;h=i+12|0;u=(c[h>>2]|0)+8|0;a[u>>0]=d[u>>0]|4}else h=i+12|0;i=c[h>>2]|0}while((i|0)!=(b|0));h=b;do{j=h+8|0;i=a[j>>0]|0;if((((((((i&4|0)!=0?(a[h+9>>0]|0)==1:0)?(v=c[h+12>>2]|0,(a[v+8>>0]&4)!=0):0)?(w=c[h+16>>2]|0,(a[w+8>>0]&4)==0):0)?(x=c[v+12>>2]|0,(a[x+8>>0]&4)==0):0)?(y=a[w+10>>0]|0,y<<24>>24==(a[v+10>>0]|0)):0)?(a[(c[w+16>>2]|0)+10>>0]|0)==(a[x+10>>0]|0):0)?((y&255)+1-(d[h+10>>0]|0)&7)>>>0<3:0){a[j>>0]=i&251;a[v+8>>0]=d[v+8>>0]&251}h=c[h+12>>2]|0}while((h|0)!=(b|0));g=b;m=0;do{m=((d[g+8>>0]|0)>>>2&1)+m|0;g=c[g+12>>2]|0}while((g|0)!=(b|0));p=(f|0)<450?4:(f*400|0)/44e3|0;if(!(a[b+8>>0]&4))do b=c[b+12>>2]|0;while((a[b+8>>0]&4)==0);g=b;do g=c[g+12>>2]|0;while((a[g+8>>0]&4)==0);h=g;do h=c[h+12>>2]|0;while((a[h+8>>0]&4)==0);j=h;do j=c[j+12>>2]|0;while((a[j+8>>0]&4)==0);b:do if((m|0)>=4){n=h;o=j;while(1){j=e[g>>1]|0;i=e[n>>1]|0;k=e[g+2>>1]|0;l=e[n+2>>1]|0;do if(((ba(k-l<<16>>16,k-l<<16>>16)|0)+(ba(j-i<<16>>16,j-i<<16>>16)|0)|0)<=(p|0)){x=(e[b>>1]|0)-j<<16>>16;f=(e[b+2>>1]|0)-k<<16>>16;x=(ba(f,f)|0)+(ba(x,x)|0)|0;f=i-(e[o>>1]|0)<<16>>16;y=l-(e[o+2>>1]|0)<<16>>16;if((x|0)>((ba(y,y)|0)+(ba(f,f)|0)|0)){f=n+8|0;a[f>>0]=d[f>>0]&251;m=m+-1|0;break}else{g=g+8|0;a[g>>0]=d[g>>0]&251;g=n;m=m+-1|0;break}}else{b=g;g=n}while(0);i=c[o+12>>2]|0;if(!(a[i+8>>0]&4)){j=0;do{j=(i|0)==(h|0)?1:j;i=c[i+12>>2]|0}while((a[i+8>>0]&4)==0)}else j=0;if((o|0)==(h|0))break b;if((j|0)!=0|(m|0)<4)break;else{n=o;o=i}}}while(0);return}function Oha(f,g){f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;l=i;i=i+32|0;j=(g|0)<1200?1200:g;g=f;while(1){h=c[g+12>>2]|0;if((a[g+8>>0]&4)!=0?(a[h+8>>0]&4)==0:0){k=5;break}if((h|0)==(f|0)){k=6;break}else g=h}if((k|0)==5)if(!g)k=6;else k=8;if((k|0)==6){h=a[f+8>>0]|0;if(!(h&4)){a[f+8>>0]=h|4;if(!f)g=0;else{g=f;k=8}}else g=f}if((k|0)==8){k=j;while(1){h=g;while(1){f=h;j=0;do{j=(a[f+9>>0]|0)+j|0;f=c[f+12>>2]|0;if(a[f+8>>0]&4)break}while((f|0)!=(g|0)&(j|0)<126);if(a[363826]|0){r=b[h+2>>1]|0;q=a[h+10>>0]|0;p=b[h+4>>1]|0;o=b[h+6>>1]|0;n=b[f>>1]|0;m=b[f+2>>1]|0;c[l>>2]=b[h>>1];c[l+4>>2]=r;c[l+8>>2]=q;c[l+12>>2]=p;c[l+16>>2]=o;c[l+20>>2]=j;c[l+24>>2]=n;c[l+28>>2]=m;jN(364072,l)}Pha(h,f,k);j=f;while(1){h=c[j+12>>2]|0;f=(j|0)==(g|0);if((a[h+8>>0]&4)==0|f)break;else j=h}if(f){h=g;f=0;break}else h=j}do{f=((d[h+8>>0]|0)>>>2&1)+f|0;h=c[h+12>>2]|0}while((h|0)!=(g|0));if((f|0)>=3){f=g;break}k=(k|0)/2|0}while(1){h=f;do h=c[h+12>>2]|0;while((a[h+8>>0]&4)==0);c[f+12>>2]=h;c[h+16>>2]=f;b[f+4>>1]=(e[h>>1]|0)-(e[f>>1]|0);b[f+6>>1]=(e[h+2>>1]|0)-(e[f+2>>1]|0);if((h|0)==(g|0))break;else f=h}}i=l;return g|0}function Pha(f,g,j){f=f|0;g=g|0;j=j|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0,z=0.0;x=i;i=i+48|0;l=c[f+12>>2]|0;a:do if((l|0)!=(g|0))while(1){n=(e[g>>1]|0)-(e[f>>1]|0)&65535;m=(e[g+2>>1]|0)-(e[f+2>>1]|0)|0;if(n<<16>>16==0&(m&65535|0)==0){n=c[f+16>>2]|0;m=0-(e[n+6>>1]|0)|0;n=0-(e[n+4>>1]|0)&65535}u=n<<16>>16;n=n<<16>>16>0?u:0-u|0;r=m<<16>>16;if((r|0)>(n|0))w=r;else w=(n|0)<(0-r|0)?0-r|0:n;o=b[f+4>>1]|0;p=b[f+6>>1]|0;q=l;s=0;v=l;l=0;t=0;while(1){n=ba(o<<16>>16,r)|0;m=ba(p<<16>>16,u)|0;if((n|0)==(m|0))n=n-m|0;else n=ba(n-m|0,n-m|0)|0;t=n+t|0;l=l+1|0;if(a[363826]|0){c[x>>2]=n;jN(364128,x)}m=(n|0)>(s|0);v=m?q:v;s=m?n:s;n=c[q+12>>2]|0;if((n|0)==(g|0))break;else{o=(e[q+4>>1]|0)+(o&65535)&65535;p=(e[q+6>>1]|0)+(p&65535)&65535;q=n}}n=(ba(u,u)|0)+(ba(r,r)|0)|0;if(!n){c[x>>2]=364040;c[x+4>>2]=557;$L(363680,364152,2,1702e3,x)}if((s|0)<8388352)m=(s<<8|0)/(n|0)|0;else m=((s|0)/(n|0)|0)<<8;if((t|0)<8388352)n=(t<<8|0)/(ba(l,n)|0)|0;else n=(((t|0)/(n|0)|0)<<8|0)/(l|0)|0;if(a[363826]|0){z=+(m|0);y=+(n|0);c[x>>2]=j;h[k>>3]=z*.00390625;c[x+4>>2]=c[k>>2];c[x+8>>2]=c[k+4>>2];h[k>>3]=z*200.0/+(j|0);c[x+12>>2]=c[k>>2];c[x+16>>2]=c[k+4>>2];h[k>>3]=y*.00390625;c[x+20>>2]=c[k>>2];c[x+24>>2]=c[k+4>>2];h[k>>3]=y*300.0/+(j|0);c[x+28>>2]=c[k>>2];c[x+32>>2]=c[k+4>>2];jN(364168,x)}if((m*20|0)<(j*10|0)?!((n*30|0)>=(j*10|0)|(w|0)>125):0)break a;l=v+8|0;a[l>>0]=d[l>>0]|4;Pha(f,v,j);l=c[v+12>>2]|0;if((l|0)==(g|0))break;else f=v}while(0);i=x;return}function Qha(){c[90920]=1701984;c[90922]=389976;c[90924]=390024;c[90926]=390056;c[90928]=390112;c[90930]=390152;c[90932]=390184;c[90934]=390240;c[90936]=390280;c[90938]=390328;c[90940]=390376;c[90942]=390400;c[90944]=390432;c[90946]=390504;c[90948]=390552;c[90950]=390592;c[90952]=390640;Wk(363816,0,363832,363848,0,kM()|0);Wk(363864,1,363880,363912,0,kM()|0);return}function Rha(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;c[a>>2]=0;b[a+4>>1]=32767;b[a+6>>1]=32767;b[a+8>>1]=-32767;b[a+10>>1]=-32767;pk(f,a);KL(a,228);qk(f);yB(f,d);Sha(a);c[a+12>>2]=e;i=f;return}function Sha(a){a=a|0;var d=0,f=0,g=0,h=0,j=0,k=0;j=i;i=i+48|0;pk(j+16|0,a);h=(tk(j+16|0)|0)+4|0;h=e[h>>1]|e[h+2>>1]<<16;d=h&65535;f=h>>>16&65535;g=h&65535;h=h>>>16&65535;do{k=(tk(j+16|0)|0)+4|0;k=e[k>>1]|e[k+2>>1]<<16;d=(k&65535)<<16>>16>16?k&65535:d;f=(k>>>16&65535)<<16>>16>16?k>>>16&65535:f;g=(k&65535)<<16>>16>g<<16>>16?k&65535:g;h=(k>>>16&65535)<<16>>16>h<<16>>16?k>>>16&65535:h;OL(j+16|0)|0}while(!(xk(j+16|0)|0));c[j+12>>2]=(f&65535)<<16|d&65535;c[j+8>>2]=(h&65535)<<16|g&65535;_ia(j,j+12|0,j+8|0);h=c[j>>2]|0;k=c[j+4>>2]|0;b[a+4>>1]=h;b[a+6>>1]=h>>>16;b[a+8>>1]=k;b[a+10>>1]=k>>>16;i=j;return}function Tha(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;f=i;i=i+32|0;c[a>>2]=0;b[a+4>>1]=32767;b[a+6>>1]=32767;b[a+8>>1]=-32767;b[a+10>>1]=-32767;KL(a,228);pk(f,a);qk(f);g=WEa(8)|0;j=b[d>>1]|0;h=b[d+6>>1]|0;c[g>>2]=0;b[g+4>>1]=j;b[g+6>>1]=h;qv(f,g);g=WEa(8)|0;h=b[d>>1]|0;j=b[d+2>>1]|0;c[g>>2]=0;b[g+4>>1]=h;b[g+6>>1]=j;qv(f,g);g=WEa(8)|0;j=b[d+4>>1]|0;h=b[d+2>>1]|0;c[g>>2]=0;b[g+4>>1]=j;b[g+6>>1]=h;qv(f,g);g=WEa(8)|0;h=b[d+4>>1]|0;d=b[d+6>>1]|0;c[g>>2]=0;b[g+4>>1]=h;b[g+6>>1]=d;qv(f,g);Sha(a);c[a+12>>2]=e;i=f;return}function Uha(a,c,d){a=a|0;c=+c;d=+d;var e=0,f=0,g=0.0,h=0.0;e=i;i=i+32|0;pk(e,a);do{f=(tk(e)|0)+4|0;g=+(b[f>>1]|0);h=+(b[f+2>>1]|0);b[f>>1]=~~+P(+(g*c-h*d+.5));b[f+2>>1]=~~+P(+(h*c+g*d+.5));OL(e)|0}while(!(xk(e)|0));Sha(a);i=e;return}function Vha(a){a=a|0;var c=0,d=0;c=i;i=i+32|0;pk(c,a);do{d=(tk(c)|0)+4|0;b[d>>1]=0-(e[d>>1]|0);OL(c)|0}while(!(xk(c)|0));Sha(a);i=c;return}function Wha(a,d){a=a|0;d=d|0;var f=0,g=0,h=0.0,j=0,k=0;g=i;i=i+64|0;c[g+28>>2]=0;c[g>>2]=0;f=WEa(4)|0;c[f>>2]=0;pk(g,f);pk(g+28|0,c[a>>2]|0);rk(g+28|0);if(!(sk(g+28|0)|0))do{if((b[(RL(g+28|0,-1)|0)+6>>1]|0)>d<<16>>16?(b[(tk(g+28|0)|0)+6>>1]|0)<=d<<16>>16:0)a=6;else a=4;if(((a|0)==4?(a=0,(b[(RL(g+28|0,-1)|0)+6>>1]|0)<=d<<16>>16):0)?(b[(tk(g+28|0)|0)+6>>1]|0)>d<<16>>16:0)a=6;if((a|0)==6){a=RL(g+28|0,-1)|0;j=tk(g+28|0)|0;k=b[a+4>>1]|0;a=b[a+6>>1]|0;h=+(k<<16>>16)+.5+ +((b[j+4>>1]|0)-(k<<16>>16)|0)*(+(d<<16>>16)+.5-+(a<<16>>16))/+((b[j+6>>1]|0)-(a<<16>>16)|0);a=WEa(8)|0;c[a>>2]=0;b[a+4>>1]=~~h;b[a+6>>1]=0;qv(g,a)}OL(g+28|0)|0}while(!(sk(g+28|0)|0));if(!(vk(g)|0)){q1(g,51);rk(g);if(!(sk(g)|0))do{tk(g)|0;OL(g)|0}while(!(sk(g)|0));rk(g);if(!(sk(g)|0))do{a=(tk(g)|0)+4|0;k=e[(RL(g,1)|0)+4>>1]|0;b[a+2>>1]=k-(e[(tk(g)|0)+4>>1]|0);OL(g)|0;a=pv(g)|0;if(a)YEa(a);OL(g)|0}while(!(sk(g)|0))}i=g;return f|0}function Xha(a,d){a=a|0;d=d|0;var e=0;e=b[(c[a>>2]|0)+4>>1]|0;a=b[(c[d>>2]|0)+4>>1]|0;if(e<<16>>16>16)a=-1;else a=e<<16>>16>a<<16>>16&1;return a|0}function Yha(a){a=a|0;var b=0;c[a>>2]=0;a=a+8|0;b=a+88|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function Zha(a,b,d){a=a|0;b=+b;d=+d;c[a>>2]=(c[a>>2]|0)+1;h[a+32>>3]=+h[a+32>>3]+b;h[a+40>>3]=+h[a+40>>3]+d;h[a+48>>3]=b*b+ +h[a+48>>3];h[a+56>>3]=b*d+ +h[a+56>>3];h[a+64>>3]=d*d+ +h[a+64>>3];h[a+72>>3]=b*b*b+ +h[a+72>>3];h[a+80>>3]=b*b*d+ +h[a+80>>3];h[a+88>>3]=b*b*b*b+ +h[a+88>>3];return}function _ha(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,g=0.0,i=0.0,j=0,k=0.0,l=0.0;i=+h[a+48>>3];j=c[a>>2]|0;l=+h[a+32>>3];do if(((b|0)<1?1:i*+(j|0)-l*l<+(j|0)*(+(j|0)*.0009765625))|(j|0)<2){c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;if((j|0)>0&(b|0)>-1){h[a+24>>3]=+h[a+40>>3]/+(j|0);break}else{h[a+24>>3]=0.0;break}}else{g=+(j|0)*+h[a+72>>3]-i*l;k=+h[a+40>>3];d=+(j|0)*+h[a+56>>3]-l*k;if((j|0)>3&(b|0)>1){e=g*g-(i*+(j|0)-l*l)*(+(j|0)*+h[a+88>>3]-i*i);f=g*d+(i*+(j|0)-l*l)*(i*k-+(j|0)*+h[a+80>>3])}else{e=0.0;f=0.0}if(!(e>=+(j|0)*(+(j|0)*(+(j|0)*(+(j|0)*.0009765625)))))e=0.0;else{e=f/e;d=d-g*e}g=d/(i*+(j|0)-l*l);h[a+8>>3]=e;h[a+16>>3]=g;h[a+24>>3]=(k-e*i-g*l)/+(j|0)}while(0);return}function $ha(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,i=0.0,j=0.0,k=0;c[a+4>>2]=iM((b<<2)+4|0)|0;f=iM(b<<4)|0;c[a+8>>2]=f;c[a>>2]=b;c[c[a+4>>2]>>2]=c[d>>2];a:do if((b|0)>0){b=f;f=0;while(1){k=f*3|0;j=+h[e+(k+1<<3)>>3];i=+h[e+(k+2<<3)>>3];h[b+(f<<4)>>3]=+h[e+(k<<3)>>3];g[b+(f<<4)+8>>2]=j;g[b+(f<<4)+12>>2]=i;f=f+1|0;b=(f|0)<(c[a>>2]|0);c[(c[a+4>>2]|0)+(f<<2)>>2]=c[d+(f<<2)>>2];if(!b)break a;b=c[a+8>>2]|0}}while(0);return}function aia(a,b,d,e,f,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;w=i;i=i+96|0;Yha(w);c[a>>2]=d;c[a+4>>2]=iM((d<<2)+4|0)|0;s=iM((d<<2)+4|0)|0;c[a+8>>2]=iM(d<<4)|0;WGa(c[a+4>>2]|0,b|0,(d<<2)+4|0)|0;c[s>>2]=0;if((j|0)>0){o=0;l=0;do{a:do if((l|0)<(d|0)){n=c[e+(o<<2)>>2]|0;m=l;while(1){if((n|0)<(c[b+(m<<2)>>2]|0)){l=m;break a}l=m+1|0;c[s+(l<<2)>>2]=c[s+(m<<2)>>2];if((l|0)<(d|0))m=l;else break}}while(0);n=s+(l<<2)|0;m=(c[n>>2]|0)+1|0;c[n>>2]=m;o=o+1|0}while((o|0)!=(j|0))}else{m=0;l=0}if((l|0)<(d|0))do{l=l+1|0;c[s+(l<<2)>>2]=m}while((l|0)!=(d|0));if((d|0)>0){n=c[s>>2]|0;l=0;do{Yha(w);if(((n|0)>0?(p=c[e+(n<<2)>>2]|0,q=n+-1|0,r=c[e+(q<<2)>>2]|0,(p|0)!=(r|0)):0)?(t=c[b+(l<<2)>>2]|0,(p|0)!=(t|0)):0){o=c[f+(q<<2)>>2]|0;Zha(w,+(t|0),+(((ba((c[f+(n<<2)>>2]|0)-o|0,t-r|0)|0)/(p-r|0)|0)+o|0))}o=l;l=l+1|0;m=n;n=c[s+(l<<2)>>2]|0;if((m|0)<(n|0)){do{Zha(w,+(c[e+(m<<2)>>2]|0),+(c[f+(m<<2)>>2]|0));m=m+1|0}while((m|0)!=(n|0));m=n}if((m|0)>0&(m|0)<(j|0)?(u=c[e+(m<<2)>>2]|0,v=c[b+(l<<2)>>2]|0,(u|0)!=(v|0)):0){y=m+-1|0;x=c[f+(y<<2)>>2]|0;y=c[e+(y<<2)>>2]|0;Zha(w,+(v|0),+(((ba(v-y|0,(c[f+(m<<2)>>2]|0)-x|0)|0)/(u-y|0)|0)+x|0))}_ha(w,k);y=c[a+8>>2]|0;h[y+(o<<4)>>3]=+h[w+8>>3];g[y+(o<<4)+8>>2]=+h[w+16>>3];g[y+(o<<4)+12>>2]=+h[w+24>>3]}while((l|0)!=(d|0))}jM(s);i=w;return}function bia(a,b){a=a|0;b=b|0;var d=0;d=c[a+4>>2]|0;if(d)jM(d);d=c[a+8>>2]|0;if(d)jM(d);d=c[b>>2]|0;c[a>>2]=d;c[a+4>>2]=iM((d<<2)+4|0)|0;c[a+8>>2]=iM(c[a>>2]<<4)|0;WGa(c[a+4>>2]|0,c[b+4>>2]|0,(c[a>>2]<<2)+4|0)|0;WGa(c[a+8>>2]|0,c[b+8>>2]|0,c[a>>2]<<4|0)|0;return}function cia(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(b){jM(b);c[a+4>>2]=0}b=c[a+8>>2]|0;if(b){jM(b);c[a+8>>2]=0}return}function dia(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0.0,i=0.0,j=0,k=0,l=0.0,m=0.0,n=0.0,o=0.0;e=eia(a,b)|0;j=eia(a,d)|0;if((e|0)<(j|0)){k=c[a+8>>2]|0;a=c[a+4>>2]|0;d=+h[k+(e<<4)>>3];f=+g[k+(e<<4)+8>>2];i=+g[k+(e<<4)+12>>2];b=0.0;do{e=e+1|0;l=+(c[a+(e<<2)>>2]|0);o=d;d=+h[k+(e<<4)>>3];n=f;f=+g[k+(e<<4)+8>>2];m=i;i=+g[k+(e<<4)+12>>2];b=b+ +kia(d,f,i,l);b=b-+kia(o,n,m,l)}while((e|0)!=(j|0))}else b=0.0;return +b}function eia(a,b){a=a|0;b=+b;var d=0,e=0,f=0,g=0;d=c[a>>2]|0;if((d|0)>1){e=c[a+4>>2]|0;a=0;do{f=(d+a|0)/2|0;g=!(+(c[e+(f<<2)>>2]|0)<=b);a=g?a:f;d=g?f:d}while((d-a|0)>1)}else a=0;return a|0}function fia(a,b){a=a|0;b=+b;var d=0;d=eia(a,b)|0;a=c[a+8>>2]|0;return +(+kia(+h[a+(d<<4)>>3],+g[a+(d<<4)+8>>2],+g[a+(d<<4)+12>>2],b))}function gia(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,i=0;g=(c[a>>2]|0)>0;f=b[d>>1]|0;h=c[a+4>>2]|0;c[h>>2]=(c[h>>2]|0)+f;if(g){g=0;do{h=e[d>>1]|e[d+2>>1]<<16;lia((c[a+8>>2]|0)+(g<<4)|0,h&65535,h>>>16&65535);g=g+1|0;h=(g|0)<(c[a>>2]|0);i=(c[a+4>>2]|0)+(g<<2)|0;c[i>>2]=(c[i>>2]|0)+f}while(h)}return}function hia(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=c[b+4>>2]|0;b=c[b+(a+-1<<2)>>2]|0;a=c[d>>2]|0;if(((a|0)>=3?(f=c[d+4>>2]|0,!(+(c[f+4>>2]|0)>+(e|0)+ +(b-e|0)*.1)):0)?!(+(c[f+(a+-1<<2)>>2]|0)<+(b|0)-+(b-e|0)*.1):0)b=1;else b=0;return b|0}function iia(a,b,d,e){a=a|0;b=+b;d=d|0;e=e|0;var f=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;n=c[a+4>>2]|0;f=(c[n>>2]|0)>(d|0);i=c[a>>2]|0;if((c[n+(i<<2)>>2]|0)>=(e|0)){if(f){f=f&1;j=4}}else{f=f?2:1;j=4}if((j|0)==4){n=iM(f+1+i<<2)|0;l=iM((c[a>>2]|0)+f<<4)|0;m=c[a+4>>2]|0;f=c[m>>2]|0;if((f|0)>(d|0)){c[n>>2]=d;h[l>>3]=0.0;g[l+8>>2]=b;j=c[m>>2]|0;g[l+12>>2]=+fia(a,+(j|0))-b*+(j|0);f=1}else{j=f;f=0}k=c[a>>2]|0;c[n+(f<<2)>>2]=j;if((k|0)>0){j=c[a+8>>2]|0;i=f;d=0;do{o=l+(i<<4)|0;p=j+(d<<4)|0;c[o+0>>2]=c[p+0>>2];c[o+4>>2]=c[p+4>>2];c[o+8>>2]=c[p+8>>2];c[o+12>>2]=c[p+12>>2];i=i+1|0;d=d+1|0;c[n+(i<<2)>>2]=c[m+(d<<2)>>2]}while((d|0)!=(k|0));f=f+k|0}i=c[m+(k<<2)>>2]|0;if((i|0)<(e|0)){h[l+(f<<4)>>3]=0.0;g[l+(f<<4)+8>>2]=b;g[l+(f<<4)+12>>2]=+fia(a,+(i|0))-b*+(i|0);f=f+1|0;c[n+(f<<2)>>2]=e+1}c[a>>2]=f;jM(m);jM(c[a+8>>2]|0);c[a+4>>2]=n;c[a+8>>2]=l}return}function jia(a,b){a=a|0;b=b|0;var d=0,e=0.0,f=0.0,j=0,k=0,l=0.0,m=0,n=0,o=0,p=0.0;n=i;i=i+16|0;if(b){e=+(up(b)|0);m=Ir(c[a>>2]<<4)|0;c[n>>2]=m;if((c[a>>2]|0)>0){d=0;do{j=d;d=d+1|0;k=c[a+4>>2]|0;o=c[k+(j<<2)>>2]|0;f=+((c[k+(d<<2)>>2]|0)-o|0)*.0625;k=0;l=+(o|0);while(1){o=c[a+8>>2]|0;p=l;Kr(m,p,e-+kia(+h[o+(j<<4)>>3],+g[o+(j<<4)+8>>2],+g[o+(j<<4)+12>>2],p));k=k+1<<16>>16;if(k<<16>>16>=17)break;else l=f+l}}while((d|0)<(c[a>>2]|0))}d=Dp(b)|0;if((d|0)==1)Pn(b,m,1);else if((d|0)==32)Qn(b,m);else Pn(b,m,2);Lr(n)}i=n;return}function kia(a,b,c,d){a=+a;b=+b;c=+c;d=+d;return +(c+d*(d*a+b))}function lia(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0;e=+g[a+8>>2];d=+h[a>>3];g[a+12>>2]=+(c<<16>>16)+(+g[a+12>>2]-+(b<<16>>16)*e+ +(b<<16>>16)*(+(b<<16>>16)*d));g[a+8>>2]=e-+(b<<16>>16)*(d*2.0);return}function mia(a){a=a|0;if(a){FS(a+8|0);YEa(a)}return}function nia(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+64|0;pk(c+28|0,b);pk(c,a);rk(c+28|0);if(!(sk(c+28|0)|0))do{Ck(c,Uea(tk(c+28|0)|0)|0);OL(c+28|0)|0}while(!(sk(c+28|0)|0));i=c;return}function oia(a){a=a|0;if(a){wia(a);YEa(a)}return}function pia(a,d,e,f,h,i,j,k,l){a=a|0;d=d|0;e=+e;f=+f;h=h|0;i=+i;j=+j;k=+k;l=l|0;c[a>>2]=0;Xea(a+8|0);c[a+44>>2]=0;c[a+48>>2]=0;c[a+4>>2]=d;g[a+32>>2]=e;g[a+36>>2]=f;b[a+28>>1]=-1;b[a+30>>1]=-1;c[a+40>>2]=h;g[a+56>>2]=i;g[a+60>>2]=j;g[a+64>>2]=k;c[a+68>>2]=l;return}function qia(a,d){a=a|0;d=d|0;var e=0;c[a>>2]=0;Xea(a+8|0);c[a+44>>2]=0;c[a+48>>2]=0;c[a+4>>2]=c[d+4>>2];g[a+32>>2]=+g[d+32>>2];g[a+36>>2]=+g[d+36>>2];b[a+28>>1]=b[d+28>>1]|0;b[a+30>>1]=b[d+30>>1]|0;c[a+40>>2]=c[d+40>>2];e=c[d+48>>2]|0;c[a+44>>2]=c[d+44>>2];c[a+48>>2]=e;g[a+56>>2]=+g[d+56>>2];g[a+60>>2]=+g[d+60>>2];g[a+64>>2]=+g[d+64>>2];c[a+68>>2]=c[d+68>>2];JS(a+8|0,d+8|0);return}function ria(a,b,d,e){a=a|0;b=b|0;d=+d;e=e|0;var f=0.0,j=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0;p=i;i=i+48|0;o=+Q(+(+g[a+64>>2]-+g[b+64>>2]));if(o>d*.0625)if(e){a=c[a+4>>2]|0;e=c[b+4>>2]|0;h[k>>3]=o;c[p>>2]=c[k>>2];c[p+4>>2]=c[k+4>>2];c[p+8>>2]=a;c[p+12>>2]=e;jN(364232,p);e=0}else e=0;else{j=+g[a+60>>2];l=+g[a+56>>2];m=+g[b+60>>2];n=+g[b+56>>2];f=j-l<=m-n?j-l:m-n;if(f<1.0)f=1.0;else f=f>d*.125?d*.125:f;d=((!(j<=m)?m:j)-(!(l>=n)?n:l))/f;if(e){b=c[b+4>>2]|0;c[p>>2]=c[a+4>>2];c[p+4>>2]=b;h[k>>3]=o;c[p+8>>2]=c[k>>2];c[p+12>>2]=c[k+4>>2];h[k>>3]=j-l;c[p+16>>2]=c[k>>2];c[p+20>>2]=c[k+4>>2];h[k>>3]=m-n;c[p+24>>2]=c[k>>2];c[p+28>>2]=c[k+4>>2];h[k>>3]=f;c[p+32>>2]=c[k>>2];c[p+36>>2]=c[k+4>>2];h[k>>3]=d;c[p+40>>2]=c[k>>2];c[p+44>>2]=c[k+4>>2];jN(364264,p)}e=d>=.5}i=p;return e|0}function sia(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;pk(d,b);rk(d);a:do if(sk(d)|0)b=0;else while(1){b=tk(d)|0;if((c[b+4>>2]|0)==(a|0))break;OL(d)|0;if(sk(d)|0){b=0;break a}}while(0);i=d;return b|0}function tia(a){a=a|0;if((a|0)==1)a=364392;else if(!a)a=364384;else if((a|0)==3)a=364408;else if((a|0)==2)a=364400;else a=364416;return a|0}function uia(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+48|0;c[a>>2]=0;c[a+4>>2]=d;NM(a+56|0);NM(a+60|0);Ek(e+24|0);DM(e+4|0);if(KN(d,b,1,e+24|0,e+4|0,0)|0){HM(e+4|0,0);PM(e,GM(e+4|0,0)|0);d=c[e>>2]|0;via(a,b,VM(d)|0);RM(d)}else{Rv(a,8);c[a+28>>2]=0;g[a+36>>2]=1.0e5;g[a+40>>2]=-3402823466385288598117041.0e14}CM(e+4|0);Jk(e+24|0);i=e;return}function via(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0;f=SGa(d|0)|0;if(f){if(e)f=SGa(e|0)|0;Rv(b,f);i=c[b+24>>2]|0;c[b+28>>2]=i;if((i|0)>0){h=0;i=0;while(1){if(e)f=a[e+h>>0]|0;else f=1;j=IN(c[b+4>>2]|0,d+i|0,f)|0;c[(c[b+8>>2]|0)+(h<<2)>>2]=j;c[(c[b+16>>2]|0)+(h<<2)>>2]=1;g[(c[b+20>>2]|0)+(h<<2)>>2]=0.0;h=h+1|0;if((h|0)>=(c[b+28>>2]|0))break;else i=f+i|0}}}else Rv(b,8);g[b+32>>2]=1.0;g[b+36>>2]=0.0;g[b+40>>2]=0.0;a[b+52>>0]=0;a[b+54>>0]=0;return}function wia(a){a=a|0;var b=0;b=c[a+8>>2]|0;if(b)ZEa(b);b=c[a+12>>2]|0;if(b)ZEa(b);b=c[a+16>>2]|0;if(b)ZEa(b);b=c[a+20>>2]|0;if(b)ZEa(b);RM(c[a+60>>2]|0);RM(c[a+56>>2]|0);return}function xia(a){a=a|0;return c[364328+((a&255)<<2)>>2]|0}function yia(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;zia(f,a,b);a=c[f>>2]|0;e=c[f+4>>2]|0;b=Vc[c[(c[d>>2]|0)+12>>2]&63](d,a,e)|0;b=c[(c[d+4>>2]|0)+(b<<2)>>2]|0;if(!b){b=WEa(4)|0;c[b>>2]=0;e=Vc[c[(c[d>>2]|0)+12>>2]&63](d,a,e)|0;c[(c[d+4>>2]|0)+(e<<2)>>2]=b}i=f;return b|0}function zia(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;if((d|0)>0){e=0;f=0;do{e=(c[b+(f<<2)>>2]|0)+e|0;f=f+1|0}while((f|0)!=(d|0))}else e=0;b=e+-1+(c[b+(d<<2)>>2]|0)|0;c[a>>2]=e;c[a+4>>2]=b;return}function Aia(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;c[(c[a+8>>2]|0)+(b<<2)>>2]=e;c[(c[a+12>>2]|0)+(b<<2)>>2]=0;c[(c[a+16>>2]|0)+(b<<2)>>2]=d;g[(c[a+20>>2]|0)+(b<<2)>>2]=f;return}function Bia(a,b){a=a|0;b=b|0;var d=0;a:do if((b|0)>0){d=0;while(1){if((c[a+(d<<2)>>2]|0)==-1){d=1;break a}d=d+1|0;if((d|0)>=(b|0)){d=0;break}}}else d=0;while(0);return d|0}function Cia(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;if((b|0)>-1?(c[a+28>>2]|0)>(b|0):0)l=a+28|0;else{d=a+28|0;e=3}if((e|0)==3){c[m>>2]=364472;c[m+4>>2]=321;$L(364224,364432,2,1702e3,m);l=d}if((b|0)<=0){if((b+1|0)<(c[l>>2]|0)){k=c[a+16>>2]|0;c[k+(b+1<<2)>>2]=(c[k+(b+1<<2)>>2]|0)+(c[k+(b<<2)>>2]|0)}}else{k=c[a+16>>2]|0;c[k+(b+-1<<2)>>2]=(c[k+(b+-1<<2)>>2]|0)+(c[k+(b<<2)>>2]|0)}d=c[l>>2]|0;if((b+1|0)<(d|0)){k=c[a+8>>2]|0;h=c[a+12>>2]|0;j=c[a+16>>2]|0;f=c[a+20>>2]|0;a=b+1|0;e=b;while(1){c[k+(e<<2)>>2]=c[k+(a<<2)>>2];c[h+(e<<2)>>2]=c[h+(a<<2)>>2];c[j+(e<<2)>>2]=c[j+(a<<2)>>2];g[f+(e<<2)>>2]=+g[f+(a<<2)>>2];a=e+2|0;d=c[l>>2]|0;if((a|0)>=(d|0))break;else e=e+1|0}}c[l>>2]=d+-1;i=m;return}function Dia(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=c[a+28>>2]|0;if((b|0)>1){f=c[a+8>>2]|0;d=0;g=0;while(1){h=c[f+(g<<2)>>2]|0;e=d+-1|0;b=rC(c[a+4>>2]|0,c[f+(e+b<<2)>>2]|0)|0;c[(c[a+8>>2]|0)+(g<<2)>>2]=b;b=rC(c[a+4>>2]|0,h)|0;f=c[a+8>>2]|0;c[f+(e+(c[a+28>>2]|0)<<2)>>2]=b;e=g+1|0;b=c[a+28>>2]|0;if((e|0)>=((b|0)/2|0|0)){d=b;b=(b|0)/2|0;break}else{d=~g;g=e}}}else{d=b;b=(b|0)/2|0}if(d&1){h=rC(c[a+4>>2]|0,c[(c[a+8>>2]|0)+(b<<2)>>2]|0)|0;c[(c[a+8>>2]|0)+(((c[a+28>>2]|0)/2|0)<<2)>>2]=h}return}function Eia(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;c[b>>2]=0;e=(c[a+28>>2]|0)+-1|0;c[d>>2]=e;f=c[b>>2]|0;if((f|0)<(c[a+28>>2]|0)){e=f;do{f=c[a+4>>2]|0;if(!(Zz(f,bx(a,e)|0)|0))break;e=(c[b>>2]|0)+1|0;c[b>>2]=e}while((e|0)<(c[a+28>>2]|0));e=c[d>>2]|0}a:do if((e|0)>-1)while(1){b=c[a+4>>2]|0;b=Zz(b,bx(a,e)|0)|0;e=c[d>>2]|0;if(!b)break a;c[d>>2]=e+-1;if((e|0)>0)e=e+-1|0;else{e=e+-1|0;break}}while(0);c[d>>2]=e+1;return} -function Wsa(d){d=d|0;c[d>>2]=0;c[d+4>>2]=-1;c[d+8>>2]=0;c[d+12>>2]=0;b[d+16>>1]=32767;b[d+18>>1]=32767;b[d+20>>1]=-32767;b[d+22>>1]=-32767;c[d+24>>2]=0;c[d+28>>2]=0;c[d+32>>2]=0;c[d+36>>2]=0;c[d+40>>2]=0;h[d+72>>3]=1.0;h[d+80>>3]=0.0;c[d+88>>2]=0;Ek(d+92|0);a[d+112>>0]=0;a[d+113>>0]=0;a[d+114>>0]=0;return}function Xsa(a,d){a=a|0;d=d|0;var f=0.0,h=0,j=0,l=0,m=0,n=0;n=i;i=i+16|0;j=mta(a,d)|0;if(!j)a=0;else{a=Bta(Ioa(j)|0)|0;m=j;do{d=c[m>>2]|0;l=Ata(383904)|0;g[l+16>>2]=+g[d+12>>2];f=+g[d>>2];g[l+4>>2]=f;g[l+8>>2]=+g[d+4>>2];g[l+12>>2]=+g[d+8>>2];g[l+20>>2]=0.0;g[l+24>>2]=0.0;d=c[l>>2]|0;a:do if(b[d>>1]|0){h=1;while(1){if(((g[k>>2]=f,c[k>>2]|0)&2147483647)>>>0>2139095040){c[n>>2]=388792;c[n+4>>2]=78;$L(388784,389648,2,1702e3,n);d=c[l>>2]|0}if((h|0)>=(e[d>>1]|0))break a;f=+g[l+(h<<2)+4>>2];h=h+1|0}}while(0);xta(a,l);m=c[m+4>>2]|0}while((m|0)!=0);Zsa(j)}i=n;return a|0}function Ysa(){return Doa(24)|0}function Zsa(a){a=a|0;Loa(a,252);return}function _sa(a){a=a|0;if(!a)a=0;else a=$sa(c[a>>2]|0)|0;return a|0}function $sa(a){a=a|0;var b=0,d=0;if(!a)b=0;else{b=0;do{d=ata(a)|0;if(d)b=Moa(b,d)|0;a=c[a+20>>2]|0}while((a|0)!=0)}return b|0}function ata(d){d=d|0;var e=0,f=0,h=0,i=0,j=0;if((d|0)!=0?(h=c[d+16>>2]|0,(h|0)!=0):0){f=h;d=0;do{e=f;f=c[f+12>>2]|0;if(!((b[e>>1]|0)==(b[f>>1]|0)?(b[e+2>>1]|0)==(b[f+2>>1]|0):0)){i=bta()|0;j=c[i+12>>2]|0;c[i+12>>2]=j&-2097153;c[i+12>>2]=((a[e+8>>0]|0)!=0&1)<<20|j&-3145729;g[i>>2]=+(b[e>>1]|0);g[i+4>>2]=+(b[e+2>>1]|0);d=Moa(d,i)|0}}while((f|0)!=(h|0));if(d)c[(Noa(d)|0)+4>>2]=d;else d=0}else d=0;return d|0}function bta(){return gM(16)|0}function cta(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0,g=0;if((a|0)!=0?(f=c[a+4>>2]|0,(f|0)!=(a|0)):0){e=f;a=c[a>>2]|0;do if(!e){dta(a,0,b,d);e=0;a=0}else{g=c[e>>2]|0;dta(a,g,b,d);e=c[e+4>>2]|0;a=g}while((e|0)!=(f|0))}return}function dta(a,b,d,e){a=a|0;b=b|0;d=+d;e=+e;var f=0,h=0.0,i=0.0;h=+g[b>>2]-+g[a>>2];i=+g[b+4>>2]-+g[a+4>>2];do if(h==0.0)if(i<0.0){g[a+8>>2]=-3402823466385288598117041.0e14;f=c[a+12>>2]&-62914561|4194304;c[a+12>>2]=f;break}else{g[a+8>>2]=3402823466385288598117041.0e14;f=c[a+12>>2]&-62914561;c[a+12>>2]=f;break}else{g[a+8>>2]=i/h;if(h>0.0)if(i>0.0){if(!(i/h>d)){f=c[a+12>>2]&-62914561|8388608;c[a+12>>2]=f;break}f=c[a+12>>2]&-62914561;if(i/h>2]=f|16777216;f=f|16777216;break}else{c[a+12>>2]=f;break}}else{if(!(i/h<-d)){f=c[a+12>>2]&-62914561|8388608;c[a+12>>2]=f;break}f=c[a+12>>2]&-62914561;if(i/h>-e){c[a+12>>2]=f|25165824;f=f|25165824;break}else{c[a+12>>2]=f|4194304;f=f|4194304;break}}else if(i>0.0){if(!(i/h<-d)){f=c[a+12>>2]&-62914561|12582912;c[a+12>>2]=f;break}f=c[a+12>>2]&-62914561;if(i/h>-e){c[a+12>>2]=f|20971520;f=f|20971520;break}else{c[a+12>>2]=f;break}}else{if(!(i/h>d)){f=c[a+12>>2]&-62914561|12582912;c[a+12>>2]=f;break}f=c[a+12>>2]&-62914561;if(i/h>2]=f|29360128;f=f|29360128;break}else{c[a+12>>2]=f|4194304;f=f|4194304;break}}}while(0);c[b+12>>2]=c[b+12>>2]&-1006632961|f<<4&1006632960;return}function eta(a){a=a|0;var b=0;if(a){b=c[a+4>>2]|0;c[a+4>>2]=0;if(b)do{hM(c[b>>2]|0);b=Koa(b)|0}while((b|0)!=0)}else c[a+4>>2]=0;return}function fta(a){a=a|0;Loa(a,253);return}function gta(a){a=a|0;var b=0,d=0;if((a|0)!=0?(c[a+4>>2]|0)!=(a|0):0){a=hta(a)|0;b=a;do{b=hta(b)|0;d=(c[b>>2]|0)+12|0;c[d>>2]=c[d>>2]|2097152}while((b|0)!=(a|0))}return}function hta(a){a=a|0;var b=0,d=0,e=0,f=0;e=c[(c[a>>2]|0)+12>>2]|0;do{if((a|0)!=0?(f=c[a+4>>2]|0,(f|0)!=0):0){a=f;d=c[f+4>>2]|0}else{a=0;d=0}b=c[(c[a>>2]|0)+12>>2]|0;if((b^e)&62914560)break;if(!((b&1048576|0)==0&(d|0)!=0))break}while((c[(c[d>>2]|0)+12>>2]&1048576|0)==0);return a|0}function ita(a){a=a|0;if(!a)a=0;else a=c[a+4>>2]|0;if(!(c[(c[a>>2]|0)+12>>2]&2097152))do if(!a)a=0;else a=c[a+4>>2]|0;while((c[(c[a>>2]|0)+12>>2]&2097152|0)==0);return a|0}function jta(a){a=a|0;var b=0,d=0;a:do if(a){b=a;while(1){if(!b)break;d=c[b>>2]|0;g[d+4>>2]=(+g[d+4>>2]+-64.0)*.00390625;g[d>>2]=+g[d>>2]*.00390625;b=c[b+4>>2]|0;if((b|0)==(a|0))break a}g[1]=(+g[1]+-64.0)*.00390625;eb()}while(0);return}function kta(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;if(!a){if(b)do{jta(c[b>>2]|0);b=c[b+4>>2]|0}while((b|0)!=0);g[e>>2]=.00390625;g[d>>2]=.00390625}else if((a|0)==1){c[f>>2]=388888;c[f+4>>2]=320;$L(388816,388824,2,1702e3,f)}i=f;return}function lta(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0.0,j=0.0;e=i;i=i+16|0;if(a){d=a;do{f=c[d>>2]|0;j=+g[f>>2];h=+g[f+4>>2];g[e>>2]=j;g[e+4>>2]=h;dfa(b,j,h,e);g[f>>2]=(+g[e>>2]+-127.0)*.00390625;g[f+4>>2]=(+g[e+4>>2]+-127.0)*.00390625;if(!d)d=0;else d=c[d+4>>2]|0}while((d|0)!=(a|0))}i=e;return}function mta(a,b){a=a|0;b=b|0;var d=0,e=0;if(!a)a=0;else{d=_sa(a)|0;if(!d)a=0;else{a=d;do{lta(c[a>>2]|0,b);a=c[a+4>>2]|0}while((a|0)!=0);a=0;b=d;do{e=c[b>>2]|0;cta(e,+h[48630],+h[48644]);gta(e);a=nta(e,a)|0;b=c[b+4>>2]|0}while((b|0)!=0)}fta(d)}return a|0}function nta(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if((a|0)!=0?(c[a+4>>2]|0)!=(a|0):0){e=ita(a)|0;d=e;do{a=d;d=ita(d)|0;if((c[(c[d>>2]|0)+12>>2]&1048576|0)==0?(f=ota(a,d)|0,(f|0)!=0):0)b=Moa(b,f)|0}while((d|0)!=(e|0))}return b|0}function ota(a,b){a=a|0;b=b|0;var d=0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0;if(!a)d=0;else d=c[a>>2]|0;if(!b)a=0;else a=c[b>>2]|0;b=Ysa()|0;g[b>>2]=(+g[d>>2]+ +g[a>>2])*.5;h=+g[d+4>>2];e=+g[a+4>>2];g[b+4>>2]=(h+e)*.5;i=+g[d>>2];j=+g[d+4>>2];d=a;f=+g[d>>2];g[b+8>>2]=+pra(i,j,f,+g[d+4>>2]);g[b+12>>2]=+qra(i,h,f,e);g[b+16>>2]=0.0;g[b+20>>2]=0.0;return b|0}function pta(){c[97230]=1701984;c[97232]=389976;c[97234]=390024;c[97236]=390056;c[97238]=390112;c[97240]=390152;c[97242]=390184;c[97244]=390240;c[97246]=390280;c[97248]=390328;c[97250]=390376;c[97252]=390400;c[97254]=390432;tJ(389024,.414213562,389064,389088,kM()|0);tJ(389136,2.414213562,389176,389200,kM()|0);return}function qta(a){a=+a;return +(a*10.0)}function rta(a){a=a|0;var d=0,e=0;d=Bta(1)|0;e=Ata(384064)|0;g[e+4>>2]=+((b[a+6>>1]|0)+-64|0)*.00390625;g[e+8>>2]=+(c[a>>2]|0)*.00390625/10.0;g[e+12>>2]=+(b[a+8>>1]|0)*.00390625;g[e+16>>2]=+(b[a+10>>1]|0)*.00390625;xta(d,e);return d|0}function sta(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0;b=(c[a+12>>2]|0)>(b|0)?b:0;if(!b){f=+g[d+8>>2];h=+g[d+12>>2];e=+g[d+16>>2];e=+tta(f*f*500.0+h*h*8.0e3+e*e*8.0e3)}else{a=c[(c[a+8>>2]|0)+(b<<2)>>2]|0;if(!a)e=3402823466385288598117041.0e14;else{h=+g[d+4>>2];i=+g[d+12>>2];f=+g[d+16>>2];e=3402823466385288598117041.0e14;do{d=c[a>>2]|0;b=c[d+12>>2]|0;l=h-+g[b>>2];d=c[d+32>>2]|0;k=i-+g[b+8>>2];j=f-+g[b+12>>2];j=l*l*+g[d>>2]+k*k*+g[d+8>>2]+j*j*+g[d+12>>2]*.125;e=j>2]|0}while((a|0)!=0)}e=+tta(e)}return +(1.0-e)}function tta(a){a=+a;var b=0.0;a=a/+h[48675];b=+h[48688];do if(!(b==3.0))if(b==2.0){a=a*a;break}else{a=+S(+a,+b);break}else a=a*(a*a);while(0);return +(1.0/(a+1.0))}function uta(a){a=a|0;var b=0,d=0,e=0;d=c[a+1992>>2]|0;if(d){b=c[d+8>>2]|0;if((c[d+12>>2]|0)>0){d=0;do{Zqa(c[b+(d<<2)>>2]|0);d=d+1|0;e=c[a+1992>>2]|0;b=c[e+8>>2]|0}while((d|0)<(c[e+12>>2]|0))}Foa(b);Foa(c[(c[a+1992>>2]|0)+4>>2]|0);Foa(c[a+1992>>2]|0);c[a+1992>>2]=0}return}function vta(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+80|0;k=Doa(16)|0;f=c[a+192>>2]|0;c[k+12>>2]=f;l=Doa(f<<2)|0;c[k+8>>2]=l;a:do if((f|0)>0){g=0;while(1){c[l+(g<<2)>>2]=0;if((g|0)==(f+-1|0))break a;g=g+1|0}}while(0);j=$qa(b)|0;c[k>>2]=j&65535;c[k+4>>2]=ara(b,j)|0;while(1){if((e|0)>=0?(h=Na(b|0)|0,!((((h|0)<0)<<31>>31|0)<(e|0)|(((h|0)<0)<<31>>31|0)==(e|0)&h>>>0>>0)):0)break;c[m>>2]=m+12;c[m+4>>2]=m+8;if((tM(b,389576,m)|0)!=2)break;if(!(UN(a+184|0,m+12|0)|0)){c[m>>2]=m+12;xoa(389584,m);if((c[m+8>>2]|0)>0){g=0;do{_qa(bra(b,j)|0);g=g+1|0}while((g|0)<(c[m+8>>2]|0))}}else{h=l+((HN(a+184|0,m+12|0)|0)<<2)|0;g=c[h>>2]|0;if((c[m+8>>2]|0)>0){f=0;do{g=Ooa(g,bra(b,j)|0)|0;f=f+1|0}while((f|0)<(c[m+8>>2]|0))}c[h>>2]=g}gra(b)}i=m;return k|0}function wta(){c[97312]=1701984;c[97314]=389976;c[97316]=390024;c[97318]=390056;c[97320]=390112;c[97322]=390152;c[97324]=390184;c[97326]=390240;c[97328]=390280;c[97330]=390328;c[97332]=390376;c[97334]=390400;c[97336]=390432;c[97338]=390504;c[97340]=390552;c[97342]=390592;c[97344]=390640;tJ(389384,32.0,389424,389456,kM()|0);tJ(389488,2.0,389528,389552,kM()|0);return}function xta(a,d){a=a|0;d=d|0;var f=0;f=b[a>>1]|0;if((f&65535)<(e[a+2>>1]|0)){b[a>>1]=f+1<<16>>16;c[a+((f&65535)<<2)+4>>2]=d}else yta(d);return}function yta(a){a=a|0;if(a)hM(a);return}function zta(a){a=a|0;var d=0;if(a){if(b[a>>1]|0){d=0;do{yta(c[a+(d<<2)+4>>2]|0);d=d+1|0}while((d|0)<(e[a>>1]|0))}Hoa(a)}return}function Ata(a){a=a|0;var b=0;b=gM(((e[a>>1]|0)<<2)+4|0)|0;c[b>>2]=a;return b|0}function Bta(a){a=a|0;var c=0;c=Doa((a<<2)+4|0)|0;b[c+2>>1]=a;b[c>>1]=0;return c|0}function Cta(a,d){a=a|0;d=d|0;var f=0.0,h=0;a:do if(b[c[a>>2]>>1]|0){h=0;while(1){f=+g[a+(h<<2)+4>>2];if(((g[k>>2]=f,c[k>>2]|0)&2147483647)>>>0>2139095040)break;eN(d,1701816,f);h=h+1|0;if((h|0)>=(e[c[a>>2]>>1]|0))break a}Ja(389648,389680,229,389712)}while(0);dN(d,1714256);return}function Dta(a,d){a=a|0;d=d|0;var f=0;if((a|0)!=0?(cN(d,1714496,e[a>>1]|0),dN(d,1714256),(b[a>>1]|0)!=0):0){f=0;do{Cta(c[a+(f<<2)+4>>2]|0,d);f=f+1|0}while((f|0)<(e[a>>1]|0))}return}function Eta(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;e=Bta(100)|0;if(b){b=_sa(b)|0;kta(c[a+632>>2]|0,b,f+4|0,f);if(b){d=b;do{Fta(c[d>>2]|0,e);d=c[d+4>>2]|0}while((d|0)!=0)}if(!(c[a+632>>2]|0))Gta(e);fta(b)}i=f;return e|0}function Fta(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+16|0;if((a|0)!=0?(c[a+4>>2]|0)!=(a|0):0){d=a;do{g=c[d>>2]|0;e=c[g+4>>2]|0;c[f+8>>2]=c[g>>2];c[f+12>>2]=e;if(!d)d=0;else d=c[d+4>>2]|0;e=c[d>>2]|0;if(!(c[e+12>>2]&1048576)){g=c[e+4>>2]|0;c[f>>2]=c[e>>2];c[f+4>>2]=g;Hta(f+8|0,f,b)}}while((d|0)!=(a|0))}i=f;return}function Gta(a){a=a|0;var d=0.0,e=0,f=0.0,h=0,i=0.0,j=0;h=b[a>>1]|0;if(h<<16>>16){d=0.0;f=0.0;e=0;do{j=c[a+(e<<2)+4>>2]|0;i=+g[j+12>>2];f=f+i*+g[j+4>>2];d=d+i;e=e+1|0}while((e|0)<(h&65535|0));d=f/d;e=0;do{j=(c[a+(e<<2)+4>>2]|0)+4|0;g[j>>2]=+g[j>>2]-d;e=e+1|0}while((e|0)<(h&65535|0))}return}function Hta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0,f=0.0,h=0.0,i=0.0;d=Ata(384552)|0;i=+g[a>>2];f=+g[a+4>>2];e=+g[b>>2];h=+g[b+4>>2];g[d+16>>2]=+qra(i,f,e,h);g[d+4>>2]=(i+e)*.5;g[d+8>>2]=(f+h)*.5;h=+g[a>>2];f=+g[a+4>>2];e=+g[b>>2];g[d+12>>2]=+pra(h,f,e,+g[b+4>>2]);xta(c,d);return}function Ita(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;e=Bta(1e3)|0;b=_sa(b)|0;kta(c[a+632>>2]|0,b,f+4|0,f);if(b){d=b;do{Jta(c[d>>2]|0,e);d=c[d+4>>2]|0}while((d|0)!=0)}if(!(c[a+632>>2]|0))Kta(e);fta(b);i=f;return e|0}function Jta(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if((a|0)!=0?(d=c[a+4>>2]|0,(d|0)!=(a|0)):0){f=a;g=d;while(1){e=c[g>>2]|0;if(!(c[e+12>>2]&1048576)){if(!f)d=0;else d=c[f>>2]|0;Lta(d,(g|0)==0?0:e,b)}if(!g)d=0;else d=c[g+4>>2]|0;if((g|0)==(a|0))break;else{f=g;g=d}}}return}function Kta(a){a=a|0;var d=0.0,e=0,f=0,h=0;f=b[a>>1]|0;if(f<<16>>16){d=0.0;e=0;do{d=d+ +g[(c[a+(e<<2)+4>>2]|0)+12>>2];e=e+1|0}while((e|0)<(f&65535|0));d=d/+(f&65535|0);e=0;do{h=(c[a+(e<<2)+4>>2]|0)+12|0;g[h>>2]=+g[h>>2]-d;e=e+1|0}while((e|0)<(f&65535|0))}return}function Lta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0;l=+g[a+4>>2];k=+g[b+4>>2];i=+qra(+g[a>>2],l,+g[b>>2],k);j=+g[a>>2];e=+g[a+4>>2];f=+g[b>>2];e=+pra(j,e,f,+g[b+4>>2]);b=~~+P(+(e/+h[48735]+.5));b=(b|0)<1?1:b;if((b|0)>0){d=j+(f-j)/+(b|0)*.5;e=l+(k-l)/+(b|0)*.5;a=0;while(1){m=Ata(384432)|0;g[m+8>>2]=i;g[m+12>>2]=d;g[m+4>>2]=e;xta(c,m);a=a+1|0;if((a|0)>=(b|0))break;else{d=(f-j)/+(b|0)+d;e=(k-l)/+(b|0)+e}}}return}function Mta(a,b){a=a|0;b=b|0;var e=0,f=0,h=0,j=0,k=0;j=i;i=i+48|0;c[j+20>>2]=c[b+0>>2];c[j+24>>2]=c[b+4>>2];c[j+28>>2]=c[b+8>>2];c[j+32>>2]=c[b+12>>2];c[j+36>>2]=c[b+16>>2];Fk(j);b=sra(a,0,j+20|0,j)|0;if(!b)a=0;else{e=c[b+24>>2]|0;f=c[b+36>>2]|0;a=Bta(e)|0;if((e|0)>0){h=0;do{k=Ata(384176)|0;g[k+4>>2]=+(d[f+(h<<2)>>0]|0);g[k+8>>2]=+(d[f+(h<<2)+1>>0]|0);g[k+12>>2]=+(d[f+(h<<2)+2>>0]|0);xta(a,k);h=h+1|0}while((h|0)!=(e|0))}yua(b);YEa(b)}Gk(j);i=j;return a|0}function Nta(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+48|0;c[d+20>>2]=c[b+0>>2];c[d+24>>2]=c[b+4>>2];c[d+28>>2]=c[b+8>>2];c[d+32>>2]=c[b+12>>2];c[d+36>>2]=c[b+16>>2];Fk(d);a=sra(a,0,d+20|0,d)|0;if(!a)a=0;else{b=Bta(1)|0;e=Ata(384176)|0;g[e+4>>2]=+(c[a+60>>2]|0);g[e+8>>2]=+(c[a+64>>2]|0);g[e+12>>2]=+(c[a+68>>2]|0);xta(b,e);yua(a);YEa(a);a=b}Gk(d);i=d;return a|0}function Ota(){c[97432]=1701984;c[97434]=389976;c[97436]=390024;c[97438]=390056;c[97440]=390112;c[97442]=390152;c[97444]=390184;c[97446]=390240;c[97448]=390280;c[97450]=390328;c[97452]=390376;c[97454]=390400;c[97456]=390432;c[97458]=390504;c[97460]=390552;c[97462]=390592;c[97464]=390640;tJ(389864,.05,389904,389936,kM()|0);return}function Pta(a){a=a|0;var b=0.0,c=0.0,d=0.0;d=+V(+(+g[a+20>>2]*2.0*3.14159265359));c=+g[a+16>>2]-d*+g[a+12>>2];b=1.0/+R(+(d*d+1.0));g[a>>2]=d*b;g[a+4>>2]=-b;g[a+8>>2]=c*b;return}function Qta(){var a=0;c[97490]=1701984;c[97492]=389976;c[97504]=390024;c[97512]=390056;c[97526]=390112;c[97536]=390152;c[97544]=390184;c[97558]=390240;c[97568]=390280;c[97580]=390328;c[97592]=390376;c[97598]=390400;c[97606]=390432;c[97624]=390504;c[97636]=390552;c[97646]=390592;c[97658]=390640;a=390680;do{b[a+0>>1]=0;b[a+2>>1]=0;b[a+4>>1]=0;b[a+6>>1]=0;b[a+8>>1]=0;b[a+10>>1]=0;b[a+12>>1]=0;b[a+14>>1]=0;Sta(a+16|0);a=a+40|0}while((a|0)!=(1701360|0));sJ(1701360,1701384,1701400,1701424,0,kM()|0);return}function Rta(a){a=a|0;Jk(a);Jk(a);return}function Sta(a){a=a|0;var b=0;Ek(a);c[a+20>>2]=0;b=CG()|0;c[a+16>>2]=b;c[a+20>>2]=b;return}function Tta(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;a=i;i=i+16|0;c[a>>2]=1701496;c[a+4>>2]=62;$L(1701440,1701448,2,1702e3,a);i=a;return 0}function Uta(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;j=i;i=i+32|0;Yta(j);h=Tc[c[(c[a>>2]|0)+20>>2]&127](a)|0;e=Sc[c[(c[a>>2]|0)+12>>2]&7](a,d,e,0,f,j)|0;a:do if((e|0)>0){d=0;while(1){a=d+1|0;if(bua(c[(lqa(h+4|0,c[(Zta(c[j>>2]|0,c[j+8>>2]|0,d)|0)>>2]|0)|0)>>2]|0,f)|0)break;if((a|0)<(e|0))d=a;else{a=-1;break a}}if(g){f=Zta(c[j>>2]|0,c[j+8>>2]|0,d)|0;c[g+0>>2]=c[f+0>>2];c[g+4>>2]=c[f+4>>2];c[g+8>>2]=c[f+8>>2];c[g+12>>2]=c[f+12>>2];b[g+16>>1]=b[f+16>>1]|0}a=c[(Zta(c[j>>2]|0,c[j+8>>2]|0,d)|0)>>2]|0}else a=-1;while(0);_ta(j);i=j;return a|0}function Vta(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return}function Wta(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,j=0,l=0.0;f=i;i=i+16|0;c[f>>2]=b;jN(1701528,f);if((c[d>>2]|0)>0){e=0;do{l=+g[(dqa(d,e)|0)+4>>2];j=c[(dqa(d,e)|0)>>2]|0;b=Tc[c[(c[a>>2]|0)+24>>2]&127](a)|0;b=MN(b,c[(dqa(d,e)|0)>>2]|0)|0;h[k>>3]=l;c[f>>2]=c[k>>2];c[f+4>>2]=c[k+4>>2];c[f+8>>2]=j;c[f+12>>2]=b;jN(1701536,f);if(c[(dqa(d,e)|0)+12>>2]|0){jN(1701552,f);b=0;while(1)if((b|0)<(c[(dqa(d,e)|0)+12>>2]|0))b=b+1|0;else break}jN(1714256,f);e=e+1|0}while((e|0)<(c[d>>2]|0))}i=f;return}function Xta(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,j=0,l=0.0;j=i;i=i+16|0;c[j>>2]=d;jN(1701528,j);d=c[e>>2]|0;if((d|0)>0){f=0;do{l=+g[(Zta(d,c[e+8>>2]|0,f)|0)+4>>2];h[k>>3]=l;c[j>>2]=c[k>>2];c[j+4>>2]=c[k+4>>2];jN(1701568,j);if(a[(Zta(c[e>>2]|0,c[e+8>>2]|0,f)|0)+16>>0]|0)jN(1701576,j);if(a[(Zta(c[e>>2]|0,c[e+8>>2]|0,f)|0)+17>>0]|0)jN(1701584,j);d=Tc[c[(c[b>>2]|0)+20>>2]&127](b)|0;gua(j+8|0,d,c[(Zta(c[e>>2]|0,c[e+8>>2]|0,f)|0)>>2]|0);d=c[j+8>>2]|0;c[j>>2]=VM(d)|0;jN(1701592,j);RM(d);f=f+1|0;d=c[e>>2]|0}while((f|0)<(d|0))}i=j;return}function Yta(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;aua(a);return}function Zta(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)>-1&(a|0)>(c|0))return b+(c*20|0)|0;else Ja(1701640,1701680,663,1701712);return 0}function _ta(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=i;i=i+32|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;g=(c[a+8>>2]|0)+(d*20|0)|0;c[e+0>>2]=c[g+0>>2];c[e+4>>2]=c[g+4>>2];c[e+8>>2]=c[g+8>>2];c[e+12>>2]=c[g+12>>2];c[e+16>>2]=c[g+16>>2];Rc[f&63](b,e);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function $ta(a){a=a|0;return}function aua(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0;if((c[a+4>>2]|0)<=3){g=XEa(80)|0;d=g;do{c[d+0>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;b[d+16>>1]=0;d=d+20|0}while((d|0)!=(g+80|0));e=c[a>>2]|0;d=c[a+8>>2]|0;if((e|0)>0){f=0;do{h=g+(f*20|0)|0;i=d+(f*20|0)|0;c[h+0>>2]=c[i+0>>2];c[h+4>>2]=c[i+4>>2];c[h+8>>2]=c[i+8>>2];c[h+12>>2]=c[i+12>>2];b[h+16>>1]=b[i+16>>1]|0;f=f+1|0}while((f|0)!=(e|0))}if(d)ZEa(d);c[a+8>>2]=g;c[a+4>>2]=4}return}function bua(a,b){a=a|0;b=b|0;var d=0;a:do if((c[a+8>>2]|0)>0){d=0;while(1){if((c[(mqa(a+8|0,d)|0)+20>>2]|0)==(b|0)){d=1;break a}d=d+1|0;if((d|0)>=(c[a+8>>2]|0)){d=0;break}}}else d=0;while(0);return d|0}function cua(a,b,c){a=a|0;b=b|0;c=c|0;if((Ha(a+20|0,4,1,c|0)|0)==1){if(b)_K(a+20|0,4);c=cM(a,b,c)|0}else c=0;return c|0}function dua(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;e=i;i=i+16|0;if((Ha(e|0,1,1,d|0)|0)==1){a[b>>0]=(a[e>>0]|0)!=0&1;d=iua(b+8|0,c,d)|0}else d=0;i=e;return d|0}function eua(a,b){a=a|0;b=b|0;c[a>>2]=b;jua(a+4|0);c[a+24>>2]=0;return}function fua(a,b,d){a=a|0;b=b|0;d=d|0;if(kua(a+4|0,b,d)|0){c[a+24>>2]=0;d=1}else d=0;return d|0}function gua(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((d|0)>=0?(c[b+4>>2]|0)>(d|0):0){g=c[(lqa(b+4|0,d)|0)>>2]|0;NM(h);cN(h,1701752,d);d=c[g+8>>2]|0;if((d|0)>100){cN(h,1701760,d);OM(a,h)}else{if((d|0)>0){e=0;do{cN(h,1701776,c[(mqa(g+8|0,e)|0)+20>>2]|0);dN(h,1701784);f=c[b>>2]|0;dN(h,MN(f,c[(mqa(g+8|0,e)|0)+20>>2]|0)|0);do if((c[g+8>>2]|0)<10){cN(h,1701792,c[(mqa(g+8|0,e)|0)>>2]|0);dN(h,1701800);d=c[(mqa(g+8|0,e)|0)>>2]|0;if((d|0)>10){cN(h,1701816,c[(Ik(mqa(g+8|0,e)|0,0)|0)>>2]|0);cN(h,1701824,c[(Ik(mqa(g+8|0,e)|0,d+-1|0)|0)>>2]|0);break}if((d|0)>0){f=0;do{cN(h,1701816,c[(Ik(mqa(g+8|0,e)|0,f)|0)>>2]|0);f=f+1|0}while((f|0)<(d|0))}}while(0);e=e+1|0}while((e|0)<(c[g+8>>2]|0))}OM(a,h)}RM(c[h>>2]|0)}else PM(a,1701728);i=h;return}function hua(a){a=a|0;var b=0,d=0,e=0;d=c[a+4>>2]|0;if((d|0)>0){b=0;e=0;do{if((c[(c[(lqa(a+4|0,e)|0)>>2]|0)+8>>2]|0)>(b|0))b=c[(c[(lqa(a+4|0,e)|0)>>2]|0)+8>>2]|0;e=e+1|0}while((e|0)!=(d|0))}else b=0;return b|0}function iua(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+64|0;if((Ha(g+48|0,4,1,d|0)|0)==1){if(b)_K(g+48|0,4);Ek(g+24|0);c[g+44>>2]=0;e=c[g+48>>2]|0;Bqa(g,g+24|0);nua(a,e,g);Jk(g);a:do if(!e)e=1;else{f=0;while(1){if(!(cua((c[a+8>>2]|0)+(f*24|0)|0,b,d)|0)){e=0;break a}f=f+1|0;if(f>>>0>=e>>>0){e=1;break}}}while(0);Jk(g+24|0)}else e=0;i=g;return e|0}function jua(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;pua(a,4);return}function kua(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+16|0;a:do if((Ha(j|0,4,1,e|0)|0)==1){if(d)_K(j,4);f=c[j>>2]|0;pua(b,f);qua(b);if((f|0)>0){h=0;while(1){if((Ha(j+4|0,1,1,e|0)|0)!=1){f=0;break a}if(!(a[j+4>>0]|0))mua(b,0);else{g=WEa(28)|0;c[g+4>>2]=-1;lua(g+8|0);if(!(dua(g,d,e)|0))break;mua(b,g)}h=h+1|0;if((h|0)>=(f|0)){f=1;break a}}Aqa(g+8|0);YEa(g);f=0}else f=1}else f=0;while(0);i=j;return f|0}function lua(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;rua(a,4);return}function mua(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){sua(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function nua(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;rua(a,b);c[a>>2]=b;if((b|0)>0){e=0;do{oua((c[a+8>>2]|0)+(e*24|0)|0,d);e=e+1|0}while((e|0)!=(b|0))}return}function oua(a,b){a=a|0;b=b|0;Hv(a,b);c[a+20>>2]=c[b+20>>2];return}function pua(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function qua(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){Aqa(d+8|0);YEa(d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0));if((b|0)>0)c[a>>2]=0}return}function rua(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){f=XEa(b>>>0>178956970|(b*24|0)>>>0>4294967291?-1:(b*24|0)+4|0)|0;c[f>>2]=b;if(b){d=f+4|0;do{Ek(d);c[d+20>>2]=0;d=d+24|0}while((d|0)!=(f+4+(b*24|0)|0))}if((c[a>>2]|0)>0){d=0;do{oua(f+4+(d*24|0)|0,(c[a+8>>2]|0)+(d*24|0)|0);d=d+1|0}while((d|0)<(c[a>>2]|0))}e=c[a+8>>2]|0;if(e){d=c[e+-4>>2]|0;if(d){d=e+(d*24|0)|0;do{d=d+-24|0;Jk(d)}while((d|0)!=(e|0))}ZEa(e+-4|0)}c[a+8>>2]=f+4;c[a+4>>2]=b}return}function sua(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)pua(a,4);else pua(a,b<<1);return}function tua(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0;e=c[b+8>>2]|0;if(!f)Rpa(e,(a[b+4>>0]|0)!=0,g,d,h);else{f=c[e+608>>2]|0;i=c[e+1076>>2]|0;j=c[e+1052>>2]|0;c[e+1052>>2]=2;c[e+1076>>2]=25;c[e+608>>2]=3;Rpa(e,(a[b+4>>0]|0)!=0,g,d,h);b=c[b+8>>2]|0;c[b+1052>>2]=j;c[b+1076>>2]=i;c[b+608>>2]=f}return c[h>>2]|0}function uua(a){a=a|0;return c[(c[a+8>>2]|0)+2736>>2]|0}function vua(a){a=a|0;return (c[a+8>>2]|0)+184|0}function wua(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;d=i;i=i+16|0;if((e|0)>=0?(c[(c[(c[a+8>>2]|0)+1960>>2]|0)+(e<<2)+8>>2]|0)==0:0){c[d>>2]=e;jN(1701832,d)}i=d;return f|0}function xua(a){a=a|0;YEa(a);return}function yua(a){a=a|0;var b=0;b=c[a+36>>2]|0;if(b)ZEa(b);b=c[a+40>>2]|0;if(b)ZEa(b);Jk(a+92|0);return}function zua(d,e,f,h){d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0;i=WEa(120)|0;Wsa(i);c[i+24>>2]=h;j=XEa(h>>>0>1073741823?-1:h<<2)|0;if(h)YGa(j|0,0,h<<2|0)|0;c[i+36>>2]=j;k=c[d>>2]|0;c[i+32>>2]=k;VGa(j|0,f|0,h<<2|0)|0;c[i+60>>2]=b[e+2>>1];c[i+64>>2]=b[e+6>>1];c[i+68>>2]=(kl(e)|0)<<16>>16;g[i+44>>2]=+((b[d+6>>1]|0)+-64|0)*.00390625;g[i+48>>2]=+(k|0)*.00390625/10.0;g[i+52>>2]=+(b[d+8>>1]|0)*.00390625;g[i+56>>2]=+(b[d+10>>1]|0)*.00390625;a[i+112>>0]=0;a[i+113>>0]=0;return i|0}function Aua(a){a=a|0;var b=0;b=Ata(384064)|0;g[b+4>>2]=+g[a+44>>2];g[b+8>>2]=+g[a+48>>2];g[b+12>>2]=+g[a+52>>2];g[b+16>>2]=+g[a+56>>2];return b|0}function Bua(){var a=0,b=0,d=0,e=0;d=c[o>>2]|0;dCa(d);c[425506]=1704228;c[425508]=1704248;c[425507]=0;iva(1702032|0,1702728);c[425526]=0;c[425527]=-1;b=c[p>>2]|0;eCa(1702832,b,1702792|0);c[425528]=1704308;c[425529]=1704328;iva(1702116|0,1702832);c[425547]=0;c[425548]=-1;a=c[n>>2]|0;eCa(1702880,a,1702800|0);c[425550]=1704308;c[425551]=1704328;iva(1702204|0,1702880);c[425569]=0;c[425570]=-1;e=c[(c[(c[425550]|0)+-12>>2]|0)+1702224>>2]|0;c[425572]=1704308;c[425573]=1704328;iva(1702292|0,e);c[425591]=0;c[425592]=-1;c[(c[(c[425506]|0)+-12>>2]|0)+1702096>>2]=1702112;e=(c[(c[425550]|0)+-12>>2]|0)+1702204|0;c[e>>2]=c[e>>2]|8192;c[(c[(c[425550]|0)+-12>>2]|0)+1702272>>2]=1702112;fCa(d);c[425594]=1704268;c[425596]=1704288;c[425595]=0;iva(1702384|0,1702928);c[425614]=0;c[425615]=-1;gCa(1702984,b,1702816|0);c[425616]=1704348;c[425617]=1704368;iva(1702468|0,1702984);c[425635]=0;c[425636]=-1;gCa(1703032,a,1702824|0);c[425638]=1704348;c[425639]=1704368;iva(1702556|0,1703032);c[425657]=0;c[425658]=-1;a=c[(c[(c[425638]|0)+-12>>2]|0)+1702576>>2]|0;c[425660]=1704348;c[425661]=1704368;iva(1702644|0,a);c[425679]=0;c[425680]=-1;c[(c[(c[425594]|0)+-12>>2]|0)+1702448>>2]=1702464;a=(c[(c[425638]|0)+-12>>2]|0)+1702556|0;c[a>>2]=c[a>>2]|8192;c[(c[(c[425638]|0)+-12>>2]|0)+1702624>>2]=1702464;return}function Cua(a){a=a|0;c[a+4>>2]=(c[a+4>>2]|0)+1;return}function Dua(a){a=a|0;var b=0;b=c[a+4>>2]|0;c[a+4>>2]=b+-1;if(!b)Qc[c[(c[a>>2]|0)+8>>2]&511](a);return}function Eua(a,b){a=a|0;b=b|0;c[a>>2]=1715016;hCa(a+4|0,b);return}function Fua(a,b){a=a|0;b=b|0;c[a>>2]=1715040;hCa(a+4|0,b);return}function Gua(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;a:do if(a>>>0<212)a=c[(iCa(1703592,1703784|0,a)|0)>>2]|0;else{if(a>>>0>4294967291){h=Kb(8)|0;Fua(h,1703976);c[h>>2]=1715200;Gc(h|0,1715240,210)}e=(iCa(1703784,1703976|0,a-(((a>>>0)/210|0)*210|0)|0)|0)-1703784>>2;f=e;g=(a>>>0)/210|0;a=(c[1703784+(e<<2)>>2]|0)+(((a>>>0)/210|0)*210|0)|0;while(1){e=5;while(1){d=c[1703592+(e<<2)>>2]|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;e=e+1|0;if((a|0)==(ba(b,d)|0))break;if(e>>>0>=47){h=8;break}}b:do if((h|0)==8){h=0;if(a>>>0<44521)break a;b=(a>>>0)/211|0;e=211;while(1){if((a|0)==(ba(b,e)|0))break b;d=e+10|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+12|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+16|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+18|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+22|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+28|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+30|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+36|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+40|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+42|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+46|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+52|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+58|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+60|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;b=e+66|0;d=(a>>>0)/(b>>>0)|0;if(d>>>0>>0)break a;if((a|0)==(ba(d,b)|0))break b;d=e+70|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+72|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+78|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+82|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+88|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+96|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+100|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+102|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+106|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+108|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+112|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+120|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+126|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+130|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+136|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+138|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+142|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+148|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+150|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+156|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+162|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+166|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+168|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+172|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+178|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+180|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+186|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+190|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+192|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+196|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+198|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;if((a|0)==(ba(b,d)|0))break b;d=e+208|0;b=(a>>>0)/(d>>>0)|0;if(b>>>0>>0)break a;e=e+210|0;if((a|0)==(ba(b,d)|0))break b;b=(a>>>0)/(e>>>0)|0;if(b>>>0>>0)break a}}while(0);a=f+1|0;e=(a|0)==48?0:a;a=((a|0)==48&1)+g|0;f=e;g=a;a=(c[1703784+(e<<2)>>2]|0)+(a*210|0)|0}}while(0);return a|0}function Hua(a,b){a=a|0;b=b|0;qc(1704e3)|0;if((c[a>>2]|0)==1)do ic(1704024,1704e3)|0;while((c[a>>2]|0)==1);if(!(c[a>>2]|0)){c[a>>2]=1;yc(1704e3)|0;vDa(b);qc(1704e3)|0;c[a>>2]=-1;yc(1704e3)|0;$b(1704024)|0}else yc(1704e3)|0;return}function Iua(){var a=0;a=Kb(8)|0;Eua(a,1704072);c[a>>2]=1715096;Gc(a|0,1715136,208)}function Jua(b,d){b=b|0;d=d|0;if(!(a[d>>0]&1)){c[b+0>>2]=c[d+0>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2]}else Kua(b,c[d+8>>2]|0,c[d+4>>2]|0);return}function Kua(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if(e>>>0>4294967279)Iua();if(e>>>0<11){a[b>>0]=e<<1;b=b+1|0}else{f=WEa(e+16&-16)|0;c[b+8>>2]=f;c[b>>2]=e+16&-16|1;c[b+4>>2]=e;b=f}VGa(b|0,d|0,e|0)|0;a[b+e>>0]=0;return}function Lua(a,b){a=a|0;b=b|0;Jua(a,b);return}function Mua(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if(d>>>0>4294967279)Iua();if(d>>>0<11){a[b>>0]=d<<1;b=b+1|0}else{f=WEa(d+16&-16)|0;c[b+8>>2]=f;c[b>>2]=d+16&-16|1;c[b+4>>2]=d;b=f}YGa(b|0,e|0,d|0)|0;a[b+d>>0]=0;return}function Nua(b){b=b|0;if(a[b>>0]&1)YEa(c[b+8>>2]|0);return}function Oua(a){a=a|0;Nua(a);return}function Pua(a,b){a=a|0;b=b|0;Qua(a,b,SGa(b|0)|0);return}function Qua(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=a[b>>0]|0;if(!(f&1))h=10;else{f=c[b>>2]|0;h=(f&-2)+-1|0;f=f&255}g=(f&1)==0;do if(h>>>0>=e>>>0){if(g)f=b+1|0;else f=c[b+8>>2]|0;WGa(f|0,d|0,e|0)|0;a[f+e>>0]=0;if(!(a[b>>0]&1)){a[b>>0]=e<<1;break}else{c[b+4>>2]=e;break}}else{if(g)f=(f&255)>>>1;else f=c[b+4>>2]|0;Vua(b,h,e-h|0,f,0,f,e,d)}while(0);return}function Rua(b,d){b=b|0;d=d|0;var e=0,f=0;e=a[b>>0]|0;if(!(e&1))f=(e&255)>>>1;else f=c[b+4>>2]|0;do if(f>>>0>=d>>>0)if(!(e&1)){a[b+d+1>>0]=0;a[b>>0]=d<<1;break}else{a[(c[b+8>>2]|0)+d>>0]=0;c[b+4>>2]=d;break}else Sua(b,d-f|0);while(0);return}function Sua(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;if(d){e=a[b>>0]|0;if(!(e&1))f=10;else{e=c[b>>2]|0;f=(e&-2)+-1|0;e=e&255}if(!(e&1))g=(e&255)>>>1;else g=c[b+4>>2]|0;if((f-g|0)>>>0>>0){Wua(b,f,d-f+g|0,g,g,0);e=a[b>>0]|0}if(!(e&1))f=b+1|0;else f=c[b+8>>2]|0;YGa(f+g|0,0,d|0)|0;e=g+d|0;if(!(a[b>>0]&1))a[b>>0]=e<<1;else c[b+4>>2]=e;a[f+e>>0]=0}return}function Tua(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=a[b>>0]|0;if(!(d&1))f=10;else{d=c[b>>2]|0;f=(d&-2)+-1|0;d=d&255}g=(d&1)==0;if(g)h=(d&255)>>>1;else h=c[b+4>>2]|0;if(h>>>0<11)i=10;else i=(h+16&-16)+-1|0;do if((i|0)!=(f|0)){do if((i|0)==10){e=c[b+8>>2]|0;if(g){VGa(b+1|0,e|0,((d&255)>>>1)+1|0)|0;YEa(e);g=20}else{d=b+1|0;f=0;g=18}}else{e=i+1|0;if(i>>>0>f>>>0)e=WEa(e)|0;else e=WEa(e)|0;if(g){VGa(e|0,b+1|0,((d&255)>>>1)+1|0)|0;d=e;g=19;break}else{d=e;f=1;e=c[b+8>>2]|0;g=18;break}}while(0);if((g|0)==18){VGa(d|0,e|0,(c[b+4>>2]|0)+1|0)|0;YEa(e);if(f)g=19;else g=20}if((g|0)==19){c[b>>2]=i+1|1;c[b+4>>2]=h;c[b+8>>2]=d;break}else if((g|0)==20){a[b>>0]=h<<1;break}}while(0);return}function Uua(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=a[b>>0]|0;if(e&1){f=(c[b>>2]&-2)+-1|0;h=c[b+4>>2]|0}else{f=10;h=(e&255)>>>1}if((h|0)==(f|0)){Wua(b,f,1,f,f,0);if(!(a[b>>0]&1))g=7;else g=8}else if(e&1)g=8;else g=7;if((g|0)==7){a[b>>0]=(h<<1)+2;e=b+1|0;f=h+1|0}else if((g|0)==8){e=c[b+8>>2]|0;f=h+1|0;c[b+4>>2]=f}a[e+h>>0]=d;a[e+f>>0]=0;return}function Vua(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0;if((-18-d|0)>>>0>>0)Iua();if(!(a[b>>0]&1))l=b+1|0;else l=c[b+8>>2]|0;if(d>>>0<2147483623){e=(e+d|0)>>>0>>0?d<<1:e+d|0;if(e>>>0<11)e=11;else e=e+16&-16}else e=-17;k=WEa(e)|0;if(g)VGa(k|0,l|0,g|0)|0;if(i)VGa(k+g|0,j|0,i|0)|0;if((f-h|0)!=(g|0))VGa(k+(i+g)|0,l+(h+g)|0,f-h-g|0)|0;if((d|0)!=10)YEa(l);c[b+8>>2]=k;c[b>>2]=e|1;c[b+4>>2]=f-h+i;a[k+(f-h+i)>>0]=0;return}function Wua(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0;if((-17-d|0)>>>0>>0)Iua();if(!(a[b>>0]&1))j=b+1|0;else j=c[b+8>>2]|0;if(d>>>0<2147483623){e=(e+d|0)>>>0>>0?d<<1:e+d|0;if(e>>>0<11)e=11;else e=e+16&-16}else e=-17;i=WEa(e)|0;if(g)VGa(i|0,j|0,g|0)|0;if((f|0)!=(g|0))VGa(i+(h+g)|0,j+g|0,f-g|0)|0;if((d|0)!=10)YEa(j);c[b+8>>2]=i;c[b>>2]=e|1;return}function Xua(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if(e>>>0>1073741807)Iua();if(e>>>0<2){a[b>>0]=e<<1;b=b+4|0}else{f=WEa((e+4&-4)<<2)|0;c[b+8>>2]=f;c[b>>2]=e+4&-4|1;c[b+4>>2]=e;b=f}PEa(b,d,e);c[b+(e<<2)>>2]=0;return}function Yua(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if(d>>>0>1073741807)Iua();if(d>>>0<2){a[b>>0]=d<<1;b=b+4|0}else{f=WEa((d+4&-4)<<2)|0;c[b+8>>2]=f;c[b>>2]=d+4&-4|1;c[b+4>>2]=d;b=f}REa(b,e,d);c[b+(d<<2)>>2]=0;return}function Zua(b){b=b|0;if(a[b>>0]&1)YEa(c[b+8>>2]|0);return}function _ua(a){a=a|0;Zua(a);return}function $ua(a,b){a=a|0;b=b|0;ava(a,b,OEa(b)|0);return}function ava(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=a[b>>0]|0;if(!(f&1))h=1;else{f=c[b>>2]|0;h=(f&-2)+-1|0;f=f&255}g=(f&1)==0;do if(h>>>0>=e>>>0){if(g)f=b+4|0;else f=c[b+8>>2]|0;QEa(f,d,e);c[f+(e<<2)>>2]=0;if(!(a[b>>0]&1)){a[b>>0]=e<<1;break}else{c[b+4>>2]=e;break}}else{if(g)f=(f&255)>>>1;else f=c[b+4>>2]|0;dva(b,h,e-h|0,f,f,e,d)}while(0);return}function bva(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=a[b>>0]|0;if(!(d&1))f=1;else{d=c[b>>2]|0;f=(d&-2)+-1|0;d=d&255}g=(d&1)==0;if(g)j=(d&255)>>>1;else j=c[b+4>>2]|0;if(j>>>0<2)k=1;else k=(j+4&-4)+-1|0;do if((k|0)!=(f|0)){do if((k|0)==1){h=c[b+8>>2]|0;if(g){e=b+4|0;i=0;g=h;f=1;h=18}else{d=b+4|0;f=0;e=h;h=17}}else{e=(k<<2)+4|0;if(k>>>0>f>>>0)e=WEa(e)|0;else e=WEa(e)|0;if(g){i=1;g=b+4|0;f=0;h=18;break}else{d=e;f=1;e=c[b+8>>2]|0;h=17;break}}while(0);do if((h|0)==17){PEa(d,e,(c[b+4>>2]|0)+1|0);YEa(e);if(f)h=21;else h=22}else if((h|0)==18){PEa(e,g,((d&255)>>>1)+1|0);if(f){YEa(g);if(i){d=e;h=21;break}else{h=22;break}}else if(i){d=e;h=21;break}else{h=22;break}}while(0);if((h|0)==21){c[b>>2]=k+1|1;c[b+4>>2]=j;c[b+8>>2]=d;break}else if((h|0)==22){a[b>>0]=j<<1;break}}while(0);return}function cva(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=a[b>>0]|0;if(e&1){f=(c[b>>2]&-2)+-1|0;h=c[b+4>>2]|0}else{f=1;h=(e&255)>>>1}if((h|0)==(f|0)){eva(b,f,1,f,f,0,0);if(!(a[b>>0]&1))g=7;else g=8}else if(e&1)g=8;else g=7;if((g|0)==7){a[b>>0]=(h<<1)+2;e=b+4|0;f=h+1|0}else if((g|0)==8){e=c[b+8>>2]|0;f=h+1|0;c[b+4>>2]=f}c[e+(h<<2)>>2]=d;c[e+(f<<2)>>2]=0;return}function dva(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0;if((1073741806-d|0)>>>0>>0)Iua();if(!(a[b>>0]&1))k=b+4|0;else k=c[b+8>>2]|0;if(d>>>0<536870887){e=(e+d|0)>>>0>>0?d<<1:e+d|0;if(e>>>0<2)e=2;else e=e+4&-4}else e=1073741807;j=WEa(e<<2)|0;if(h)PEa(j,i,h);if((f|0)!=(g|0))PEa(j+(h<<2)|0,k+(g<<2)|0,f-g|0);if((d|0)!=1)YEa(k);c[b+8>>2]=j;c[b>>2]=e|1;c[b+4>>2]=f-g+h;c[j+(f-g+h<<2)>>2]=0;return}function eva(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0;if((1073741807-d|0)>>>0>>0)Iua();if(!(a[b>>0]&1))k=b+4|0;else k=c[b+8>>2]|0;if(d>>>0<536870887){e=(e+d|0)>>>0>>0?d<<1:e+d|0;if(e>>>0<2)e=2;else e=e+4&-4}else e=1073741807;j=WEa(e<<2)|0;if(g)PEa(j,k,g);if((f-h|0)!=(g|0))PEa(j+(i+g<<2)|0,k+(h+g<<2)|0,f-h-g|0);if((d|0)!=1)YEa(k);c[b+8>>2]=j;c[b>>2]=e|1;return}function fva(a){a=a|0;c[a>>2]=1704384;gva(a);nAa(c[a+28>>2]|0);VFa(c[a+32>>2]|0);VFa(c[a+36>>2]|0);VFa(c[a+48>>2]|0);VFa(c[a+60>>2]|0);return}function gva(a){a=a|0;var b=0;b=c[a+40>>2]|0;if(b)do{b=b+-1|0;fd[c[(c[a+32>>2]|0)+(b<<2)>>2]&15](0,a,c[(c[a+36>>2]|0)+(b<<2)>>2]|0)}while((b|0)!=0);return}function hva(a,b){a=a|0;b=b|0;mAa(a,c[b+28>>2]|0);return}function iva(a,b){a=a|0;b=b|0;var d=0;c[a+24>>2]=b;c[a+16>>2]=(b|0)==0&1;c[a+20>>2]=0;c[a+4>>2]=4098;c[a+12>>2]=0;c[a+8>>2]=6;b=a+32|0;d=b+40|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));lAa(a+28|0);return}function jva(a){a=a|0;c[a>>2]=1704096;nAa(c[a+4>>2]|0);return}function kva(a){a=a|0;c[a>>2]=1704096;nAa(c[a+4>>2]|0);return}function lva(a){a=a|0;c[a>>2]=1704096;nAa(c[a+4>>2]|0);YEa(a);return}function mva(a){a=a|0;c[a>>2]=1704096;lAa(a+4|0);c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;c[a+28>>2]=0;return}function nva(a,b){a=a|0;b=b|0;return}function ova(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function pva(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=-1;c[a+12>>2]=-1;return}function qva(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=-1;c[a+12>>2]=-1;return}function rva(a){a=a|0;return 0}function sva(a){a=a|0;return 0}function tva(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;a:do if((e|0)>0){g=d;d=0;while(1){f=c[b+12>>2]|0;if(f>>>0<(c[b+16>>2]|0)>>>0){c[b+12>>2]=f+1;f=a[f>>0]|0}else{f=Tc[c[(c[b>>2]|0)+40>>2]&127](b)|0;if((f|0)==-1)break a;f=f&255}a[g>>0]=f;d=d+1|0;if((d|0)<(e|0))g=g+1|0;else break}}else d=0;while(0);return d|0}function uva(a){a=a|0;return -1}function vva(a){a=a|0;var b=0;if((Tc[c[(c[a>>2]|0)+36>>2]&127](a)|0)==-1)a=-1;else{b=c[a+12>>2]|0;c[a+12>>2]=b+1;a=d[b>>0]|0}return a|0}function wva(a,b){a=a|0;b=b|0;return -1}function xva(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0;a:do if((f|0)>0){h=e;e=0;while(1){g=c[b+24>>2]|0;if(g>>>0>=(c[b+28>>2]|0)>>>0){if((bd[c[(c[b>>2]|0)+52>>2]&63](b,d[h>>0]|0)|0)==-1)break a}else{i=a[h>>0]|0;c[b+24>>2]=g+1;a[g>>0]=i}e=e+1|0;if((e|0)<(f|0))h=h+1|0;else break}}else e=0;while(0);return e|0}function yva(a,b){a=a|0;b=b|0;return -1}function zva(a){a=a|0;c[a>>2]=1704160;nAa(c[a+4>>2]|0);return}function Ava(a){a=a|0;c[a>>2]=1704160;nAa(c[a+4>>2]|0);return}function Bva(a){a=a|0;c[a>>2]=1704160;nAa(c[a+4>>2]|0);YEa(a);return}function Cva(a){a=a|0;c[a>>2]=1704160;lAa(a+4|0);c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;c[a+28>>2]=0;return}function Dva(a,b){a=a|0;b=b|0;return}function Eva(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function Fva(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=-1;c[a+12>>2]=-1;return}function Gva(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=-1;c[a+12>>2]=-1;return}function Hva(a){a=a|0;return 0}function Iva(a){a=a|0;return 0}function Jva(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;a:do if((d|0)>0){f=b;b=0;while(1){e=c[a+12>>2]|0;if(e>>>0>=(c[a+16>>2]|0)>>>0){e=Tc[c[(c[a>>2]|0)+40>>2]&127](a)|0;if((e|0)==-1)break a}else{c[a+12>>2]=e+4;e=c[e>>2]|0}c[f>>2]=e;b=b+1|0;if((b|0)<(d|0))f=f+4|0;else break}}else b=0;while(0);return b|0}function Kva(a){a=a|0;return -1}function Lva(a){a=a|0;var b=0;if((Tc[c[(c[a>>2]|0)+36>>2]&127](a)|0)==-1)a=-1;else{b=c[a+12>>2]|0;c[a+12>>2]=b+4;a=c[b>>2]|0}return a|0}function Mva(a,b){a=a|0;b=b|0;return -1}function Nva(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;a:do if((d|0)>0){f=b;b=0;while(1){e=c[a+24>>2]|0;if(e>>>0>=(c[a+28>>2]|0)>>>0){if((bd[c[(c[a>>2]|0)+52>>2]&63](a,c[f>>2]|0)|0)==-1)break a}else{g=c[f>>2]|0;c[a+24>>2]=e+4;c[e>>2]=g}b=b+1|0;if((b|0)<(d|0))f=f+4|0;else break}}else b=0;while(0);return b|0}function Ova(a,b){a=a|0;b=b|0;return -1}function Pva(a){a=a|0;fva(a+8|0);return}function Qva(a){a=a|0;fva(a+((c[(c[a>>2]|0)+-12>>2]|0)+8)|0);return}function Rva(a){a=a|0;fva(a+8|0);YEa(a);return}function Sva(a){a=a|0;Rva(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function Tva(a){a=a|0;fva(a+8|0);return}function Uva(a){a=a|0;fva(a+((c[(c[a>>2]|0)+-12>>2]|0)+8)|0);return}function Vva(a){a=a|0;fva(a+8|0);YEa(a);return}function Wva(a){a=a|0;Vva(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function Xva(a){a=a|0;fva(a+4|0);return}function Yva(a){a=a|0;fva(a+((c[(c[a>>2]|0)+-12>>2]|0)+4)|0);return}function Zva(a){a=a|0;fva(a+4|0);YEa(a);return}function _va(a){a=a|0;Zva(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function $va(a){a=a|0;fva(a+4|0);return}function awa(a){a=a|0;fva(a+((c[(c[a>>2]|0)+-12>>2]|0)+4)|0);return}function bwa(a){a=a|0;fva(a+4|0);YEa(a);return}function cwa(a){a=a|0;bwa(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function dwa(a){a=a|0;fva(a);YEa(a);return}function ewa(a){a=a|0;return}function fwa(a){a=a|0;return}function gwa(a){a=a|0;YEa(a);return}function hwa(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a:do if((e|0)==(f|0))h=6;else while(1){if((c|0)==(d|0)){c=-1;break a}b=a[c>>0]|0;g=a[e>>0]|0;if(b<<24>>24>24){c=-1;break a}if(g<<24>>24>24){c=1;break a}c=c+1|0;e=e+1|0;if((e|0)==(f|0)){h=6;break}}while(0);if((h|0)==6)c=(c|0)!=(d|0)&1;return c|0}function iwa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;jCa(a,c,d);return}function jwa(b,c,d){b=b|0;c=c|0;d=d|0;if((c|0)==(d|0))b=0;else{b=0;while(1){b=(a[c>>0]|0)+(b<<4)|0;c=c+1|0;if((c|0)==(d|0)){b=((b&-268435456)>>>24|b&-268435456)^b;break}else b=((b&-268435456)>>>24|b&-268435456)^b}}return b|0}function kwa(a){a=a|0;return}function lwa(a){a=a|0;YEa(a);return}function mwa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a:do if((e|0)==(f|0))h=6;else while(1){if((b|0)==(d|0)){b=-1;break a}a=c[b>>2]|0;g=c[e>>2]|0;if((a|0)<(g|0)){b=-1;break a}if((g|0)<(a|0)){b=1;break a}b=b+4|0;e=e+4|0;if((e|0)==(f|0)){h=6;break}}while(0);if((h|0)==6)b=(b|0)!=(d|0)&1;return b|0}function nwa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;kCa(a,c,d);return}function owa(a,b,d){a=a|0;b=b|0;d=d|0;if((b|0)==(d|0))a=0;else{a=0;while(1){a=(c[b>>2]|0)+(a<<4)|0;b=b+4|0;if((b|0)==(d|0)){a=((a&-268435456)>>>24|a&-268435456)^a;break}else a=((a&-268435456)>>>24|a&-268435456)^a}}return a|0}function pwa(a){a=a|0;return}function qwa(a){a=a|0;YEa(a);return}function rwa(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0;k=i;i=i+64|0;if(!(c[g+4>>2]&1)){c[k+4>>2]=-1;l=c[(c[d>>2]|0)+16>>2]|0;c[k+56>>2]=c[e>>2];c[k>>2]=c[f>>2];c[k+16>>2]=c[k+56>>2];c[k+52>>2]=c[k+0>>2];_c[l&63](k+8|0,d,k+16|0,k+52|0,g,h,k+4|0);f=c[k+8>>2]|0;c[e>>2]=f;g=c[k+4>>2]|0;if((g|0)==1)a[j>>0]=1;else if(!g)a[j>>0]=0;else{a[j>>0]=1;c[h>>2]=4}c[b>>2]=f}else{hva(k+12|0,g);d=c[k+12>>2]|0;l=pAa(d,1706600)|0;Dua(d);hva(k+48|0,g);g=c[k+48>>2]|0;d=pAa(g,1706744)|0;Dua(g);Rc[c[(c[d>>2]|0)+24>>2]&63](k+24|0,d);Rc[c[(c[d>>2]|0)+28>>2]&63](k+36|0,d);a[j>>0]=(lCa(e,c[f>>2]|0,k+24|0,k+48|0,l,h,1)|0)==(k+24|0)&1;c[b>>2]=c[e>>2];Oua(k+36|0);Oua(k+24|0)}i=k;return}function swa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;mCa(a,c[d>>2]|0,c[e>>2]|0,f,g,h);return}function twa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;nCa(a,c[d>>2]|0,c[e>>2]|0,f,g,h);return}function uwa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;oCa(a,c[d>>2]|0,c[e>>2]|0,f,g,h);return}function vwa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;pCa(a,c[d>>2]|0,c[e>>2]|0,f,g,h);return}function wwa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;qCa(a,c[d>>2]|0,c[e>>2]|0,f,g,h);return}function xwa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;rCa(a,c[d>>2]|0,c[e>>2]|0,f,g,h);return}function ywa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;sCa(a,c[d>>2]|0,c[e>>2]|0,f,g,h);return}function zwa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;tCa(a,c[d>>2]|0,c[e>>2]|0,f,g,h);return}function Awa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;uCa(a,c[d>>2]|0,c[e>>2]|0,f,g,h);return}function Bwa(b,e,f,g,h,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=i;i=i+240|0;c[r+188>>2]=0;c[r+192>>2]=0;c[r+196>>2]=0;hva(r+200|0,h);q=c[r+200>>2]|0;p=pAa(q,1706600)|0;ed[c[(c[p>>2]|0)+32>>2]&15](p,1705120,1705146|0,r+208|0)|0;Dua(q);c[r+8>>2]=0;c[r+12>>2]=0;c[r+16>>2]=0;Rua(r+8|0,10);if(!(a[r+8>>0]&1)){h=r+9|0;q=r+16|0;l=r+9|0}else{h=r+9|0;q=r+16|0;l=c[r+16>>2]|0}c[r+4>>2]=l;c[r+184>>2]=r+24;c[r+204>>2]=0;e=c[f>>2]|0;a:while(1){if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0)?(Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1:0){c[f>>2]=0;e=0}}else e=0;m=(e|0)==0;n=c[g>>2]|0;do if(n){if((c[n+12>>2]|0)!=(c[n+16>>2]|0))if(m)break;else break a;if((Tc[c[(c[n>>2]|0)+36>>2]&127](n)|0)!=-1)if(m)break;else break a;else{c[g>>2]=0;s=14;break}}else s=14;while(0);if((s|0)==14){s=0;if(m){e=0;n=0;break}else n=0}m=a[r+8>>0]|0;if(!(m&1))o=(m&255)>>>1;else o=c[r+12>>2]|0;if((c[r+4>>2]|0)==(l+o|0)){if(!(m&1))o=(m&255)>>>1;else o=c[r+12>>2]|0;Rua(r+8|0,o<<1);if(!(a[r+8>>0]&1))m=10;else m=(c[r+8>>2]&-2)+-1|0;Rua(r+8|0,m);if(!(a[r+8>>0]&1))l=h;else l=c[q>>2]|0;c[r+4>>2]=l+o}m=e+12|0;o=c[m>>2]|0;p=e+16|0;if((o|0)==(c[p>>2]|0))o=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else o=d[o>>0]|0;if(Cwa(o&255,16,l,r+4|0,r+204|0,0,r+188|0,r+24|0,r+184|0,r+208|0)|0)break;o=c[m>>2]|0;if((o|0)==(c[p>>2]|0)){Tc[c[(c[e>>2]|0)+40>>2]&127](e)|0;continue}else{c[m>>2]=o+1;continue}}Rua(r+8|0,(c[r+4>>2]|0)-l|0);if(a[r+8>>0]&1)h=c[q>>2]|0;q=Dwa()|0;c[r>>2]=k;if((vCa(h,q,r)|0)!=1)c[j>>2]=4;if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0)?(Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1:0){c[f>>2]=0;e=0}}else e=0;h=(e|0)==0;do if(n){if((c[n+12>>2]|0)!=(c[n+16>>2]|0))if(h)break;else{s=50;break}if((Tc[c[(c[n>>2]|0)+36>>2]&127](n)|0)!=-1)if(h)break;else{s=50;break}else{c[g>>2]=0;s=48;break}}else s=48;while(0);if((s|0)==48?h:0)s=50;if((s|0)==50)c[j>>2]=c[j>>2]|2;c[b>>2]=e;Oua(r+8|0);Oua(r+188|0);i=r;return}function Cwa(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0;o=c[f>>2]|0;do if((o|0)==(e|0)){m=(a[l+24>>0]|0)==b<<24>>24;if(!m?(a[l+25>>0]|0)!=b<<24>>24:0){n=5;break}c[f>>2]=e+1;a[e>>0]=m?43:45;c[g>>2]=0;m=0}else n=5;while(0);do if((n|0)==5){m=a[i>>0]|0;if(!(m&1))m=(m&255)>>>1;else m=c[i+4>>2]|0;if((m|0)!=0?b<<24>>24==h<<24>>24:0){m=c[k>>2]|0;if((m-j|0)>=160){m=0;break}d=c[g>>2]|0;c[k>>2]=m+4;c[m>>2]=d;c[g>>2]=0;m=0;break}m=l;while(1){if((a[m>>0]|0)==b<<24>>24)break;m=m+1|0;if((m|0)==(l+26|0)){m=l+26|0;break}}m=m-l|0;if((m|0)>23)m=-1;else{if((d|0)==10|(d|0)==8){if((m|0)>=(d|0)){m=-1;break}}else if((d|0)==16?(m|0)>=22:0){if((o|0)==(e|0)){m=-1;break}if((o-e|0)>=3){m=-1;break}if((a[o+-1>>0]|0)!=48){m=-1;break}c[g>>2]=0;m=a[1705120+m>>0]|0;c[f>>2]=o+1;a[o>>0]=m;m=0;break}m=a[1705120+m>>0]|0;c[f>>2]=o+1;a[o>>0]=m;c[g>>2]=(c[g>>2]|0)+1;m=0}}while(0);return m|0}function Dwa(){if((a[1706496]|0)==0?(Ia(1706496)|0)!=0:0){c[426622]=pb(2147483647,1706504,0)|0;ib(1706496)}return c[426622]|0}function Ewa(a){a=a|0;return}function Fwa(a){a=a|0;YEa(a);return}function Gwa(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0;k=i;i=i+64|0;if(!(c[g+4>>2]&1)){c[k+4>>2]=-1;l=c[(c[d>>2]|0)+16>>2]|0;c[k+56>>2]=c[e>>2];c[k>>2]=c[f>>2];c[k+16>>2]=c[k+56>>2];c[k+52>>2]=c[k+0>>2];_c[l&63](k+8|0,d,k+16|0,k+52|0,g,h,k+4|0);f=c[k+8>>2]|0;c[e>>2]=f;g=c[k+4>>2]|0;if(!g)a[j>>0]=0;else if((g|0)==1)a[j>>0]=1;else{a[j>>0]=1;c[h>>2]=4}c[b>>2]=f}else{hva(k+12|0,g);d=c[k+12>>2]|0;l=pAa(d,1706592)|0;Dua(d);hva(k+48|0,g);g=c[k+48>>2]|0;d=pAa(g,1706752)|0;Dua(g);Rc[c[(c[d>>2]|0)+24>>2]&63](k+24|0,d);Rc[c[(c[d>>2]|0)+28>>2]&63](k+36|0,d);a[j>>0]=(wCa(e,c[f>>2]|0,k+24|0,k+48|0,l,h,1)|0)==(k+24|0)&1;c[b>>2]=c[e>>2];_ua(k+36|0);_ua(k+24|0)}i=k;return}function Hwa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;xCa(a,c[d>>2]|0,c[e>>2]|0,f,g,h);return}function Iwa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;yCa(a,c[d>>2]|0,c[e>>2]|0,f,g,h);return}function Jwa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;zCa(a,c[d>>2]|0,c[e>>2]|0,f,g,h);return}function Kwa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;ACa(a,c[d>>2]|0,c[e>>2]|0,f,g,h);return}function Lwa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;BCa(a,c[d>>2]|0,c[e>>2]|0,f,g,h);return}function Mwa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;CCa(a,c[d>>2]|0,c[e>>2]|0,f,g,h);return}function Nwa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;DCa(a,c[d>>2]|0,c[e>>2]|0,f,g,h);return}function Owa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;ECa(a,c[d>>2]|0,c[e>>2]|0,f,g,h);return}function Pwa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;FCa(a,c[d>>2]|0,c[e>>2]|0,f,g,h);return}function Qwa(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=i;i=i+320|0;c[q+188>>2]=0;c[q+192>>2]=0;c[q+196>>2]=0;hva(q+8|0,g);p=c[q+8>>2]|0;o=pAa(p,1706592)|0;ed[c[(c[o>>2]|0)+48>>2]&15](o,1705120,1705146|0,q+200|0)|0;Dua(p);c[q+176>>2]=0;c[q+180>>2]=0;c[q+184>>2]=0;Rua(q+176|0,10);if(!(a[q+176>>0]&1)){k=q+177|0;p=q+184|0;d=q+177|0}else{k=q+177|0;p=q+184|0;d=c[q+184>>2]|0}c[q+4>>2]=d;c[q+304>>2]=q+16;c[q+308>>2]=0;g=c[e>>2]|0;a:while(1){if(g){l=c[g+12>>2]|0;if((l|0)==(c[g+16>>2]|0))l=Tc[c[(c[g>>2]|0)+36>>2]&127](g)|0;else l=c[l>>2]|0;if((l|0)==-1){c[e>>2]=0;n=1;g=0}else n=0}else{n=1;g=0}m=c[f>>2]|0;do if(m){l=c[m+12>>2]|0;if((l|0)==(c[m+16>>2]|0))l=Tc[c[(c[m>>2]|0)+36>>2]&127](m)|0;else l=c[l>>2]|0;if((l|0)!=-1)if(n){o=m;break}else break a;else{c[f>>2]=0;r=17;break}}else r=17;while(0);if((r|0)==17){r=0;if(n){m=0;break}else o=0}l=a[q+176>>0]|0;if(!(l&1))m=(l&255)>>>1;else m=c[q+180>>2]|0;if((c[q+4>>2]|0)==(d+m|0)){if(!(l&1))m=(l&255)>>>1;else m=c[q+180>>2]|0;Rua(q+176|0,m<<1);if(!(a[q+176>>0]&1))l=10;else l=(c[q+176>>2]&-2)+-1|0;Rua(q+176|0,l);if(!(a[q+176>>0]&1))d=k;else d=c[p>>2]|0;c[q+4>>2]=d+m}n=g+12|0;m=c[n>>2]|0;l=g+16|0;if((m|0)==(c[l>>2]|0))m=Tc[c[(c[g>>2]|0)+36>>2]&127](g)|0;else m=c[m>>2]|0;if(Rwa(m,16,d,q+4|0,q+308|0,0,q+188|0,q+16|0,q+304|0,q+200|0)|0){m=o;break}m=c[n>>2]|0;if((m|0)==(c[l>>2]|0)){Tc[c[(c[g>>2]|0)+40>>2]&127](g)|0;continue}else{c[n>>2]=m+4;continue}}Rua(q+176|0,(c[q+4>>2]|0)-d|0);if(a[q+176>>0]&1)k=c[p>>2]|0;p=Dwa()|0;c[q>>2]=j;if((vCa(k,p,q)|0)!=1)c[h>>2]=4;if(g){d=c[g+12>>2]|0;if((d|0)==(c[g+16>>2]|0))d=Tc[c[(c[g>>2]|0)+36>>2]&127](g)|0;else d=c[d>>2]|0;if((d|0)==-1){c[e>>2]=0;g=0;k=1}else k=0}else{g=0;k=1}do if(m){d=c[m+12>>2]|0;if((d|0)==(c[m+16>>2]|0))d=Tc[c[(c[m>>2]|0)+36>>2]&127](m)|0;else d=c[d>>2]|0;if((d|0)!=-1)if(k)break;else{r=56;break}else{c[f>>2]=0;r=54;break}}else r=54;while(0);if((r|0)==54?k:0)r=56;if((r|0)==56)c[h>>2]=c[h>>2]|2;c[b>>2]=g;Oua(q+176|0);Oua(q+188|0);i=q;return}function Rwa(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0;o=c[f>>2]|0;do if((o|0)==(e|0)){m=(c[l+96>>2]|0)==(b|0);if(!m?(c[l+100>>2]|0)!=(b|0):0){n=5;break}c[f>>2]=e+1;a[e>>0]=m?43:45;c[g>>2]=0;m=0}else n=5;while(0);do if((n|0)==5){m=a[i>>0]|0;if(!(m&1))m=(m&255)>>>1;else m=c[i+4>>2]|0;if((m|0)!=0&(b|0)==(h|0)){m=c[k>>2]|0;if((m-j|0)>=160){m=0;break}d=c[g>>2]|0;c[k>>2]=m+4;c[m>>2]=d;c[g>>2]=0;m=0;break}m=l;while(1){if((c[m>>2]|0)==(b|0))break;m=m+4|0;if((m|0)==(l+104|0)){m=l+104|0;break}}m=m-l|0;if((m|0)>92)m=-1;else{if((d|0)==10|(d|0)==8){if((m>>2|0)>=(d|0)){m=-1;break}}else if((d|0)==16?(m|0)>=88:0){if((o|0)==(e|0)){m=-1;break}if((o-e|0)>=3){m=-1;break}if((a[o+-1>>0]|0)!=48){m=-1;break}c[g>>2]=0;m=a[1705120+(m>>2)>>0]|0;c[f>>2]=o+1;a[o>>0]=m;m=0;break}m=a[1705120+(m>>2)>>0]|0;c[f>>2]=o+1;a[o>>0]=m;c[g>>2]=(c[g>>2]|0)+1;m=0}}while(0);return m|0}function Swa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=i;i=i+16|0;hva(g,d);d=c[g>>2]|0;h=pAa(d,1706600)|0;ed[c[(c[h>>2]|0)+32>>2]&15](h,1705120,1705146|0,e)|0;e=pAa(d,1706744)|0;a[f>>0]=Tc[c[(c[e>>2]|0)+16>>2]&127](e)|0;Rc[c[(c[e>>2]|0)+20>>2]&63](b,e);Dua(d);i=g;return}function Twa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;hva(h,d);d=c[h>>2]|0;j=pAa(d,1706600)|0;ed[c[(c[j>>2]|0)+32>>2]&15](j,1705120,1705152|0,e)|0;e=pAa(d,1706744)|0;a[f>>0]=Tc[c[(c[e>>2]|0)+12>>2]&127](e)|0;a[g>>0]=Tc[c[(c[e>>2]|0)+16>>2]&127](e)|0;Rc[c[(c[e>>2]|0)+20>>2]&63](b,e);Dua(d);i=h;return}function Uwa(b,e,f,g,h,i,j,k,l,m,n,o){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0;do if(b<<24>>24==i<<24>>24)if(a[e>>0]|0){a[e>>0]=0;p=c[h>>2]|0;c[h>>2]=p+1;a[p>>0]=46;p=a[k>>0]|0;if(!(p&1))p=(p&255)>>>1;else p=c[k+4>>2]|0;if((p|0)!=0?(q=c[m>>2]|0,(q-l|0)<160):0){p=c[n>>2]|0;c[m>>2]=q+4;c[q>>2]=p;p=0}else p=0}else p=-1;else{if(b<<24>>24==j<<24>>24){p=a[k>>0]|0;if(!(p&1))p=(p&255)>>>1;else p=c[k+4>>2]|0;if(p){if(!(a[e>>0]|0)){p=-1;break}p=c[m>>2]|0;if((p-l|0)>=160){p=0;break}l=c[n>>2]|0;c[m>>2]=p+4;c[p>>2]=l;c[n>>2]=0;p=0;break}}p=o;while(1){if((a[p>>0]|0)==b<<24>>24)break;p=p+1|0;if((p|0)==(o+32|0)){p=o+32|0;break}}j=p-o|0;if((j|0)<=31){i=a[1705120+j>>0]|0;if((j|0)==24|(j|0)==25){p=c[h>>2]|0;if((p|0)!=(g|0)?(d[p+-1>>0]&95|0)!=(d[f>>0]&127|0):0){p=-1;break}c[h>>2]=p+1;a[p>>0]=i;p=0;break}else if((j|0)==23|(j|0)==22){a[f>>0]=80;p=c[h>>2]|0;c[h>>2]=p+1;a[p>>0]=i;p=0;break}else{if((i&95|0)==(a[f>>0]|0)?(a[f>>0]=i&95|128,(a[e>>0]|0)!=0):0){a[e>>0]=0;p=a[k>>0]|0;if(!(p&1))p=(p&255)>>>1;else p=c[k+4>>2]|0;if((p|0)!=0?(r=c[m>>2]|0,(r-l|0)<160):0){l=c[n>>2]|0;c[m>>2]=r+4;c[r>>2]=l}}m=c[h>>2]|0;c[h>>2]=m+1;a[m>>0]=i;if((j|0)>21){p=0;break}c[n>>2]=(c[n>>2]|0)+1;p=0;break}}else p=-1}while(0);return p|0}function Vwa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;hva(f,b);b=c[f>>2]|0;g=pAa(b,1706592)|0;ed[c[(c[g>>2]|0)+48>>2]&15](g,1705120,1705146|0,d)|0;d=pAa(b,1706752)|0;c[e>>2]=Tc[c[(c[d>>2]|0)+16>>2]&127](d)|0;Rc[c[(c[d>>2]|0)+20>>2]&63](a,d);Dua(b);i=f;return}function Wwa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=i;i=i+16|0;hva(g,b);b=c[g>>2]|0;h=pAa(b,1706592)|0;ed[c[(c[h>>2]|0)+48>>2]&15](h,1705120,1705152|0,d)|0;d=pAa(b,1706752)|0;c[e>>2]=Tc[c[(c[d>>2]|0)+12>>2]&127](d)|0;c[f>>2]=Tc[c[(c[d>>2]|0)+16>>2]&127](d)|0;Rc[c[(c[d>>2]|0)+20>>2]&63](a,d);Dua(b);i=g;return}function Xwa(b,e,f,g,h,i,j,k,l,m,n,o){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0;do if((b|0)==(i|0))if(a[e>>0]|0){a[e>>0]=0;p=c[h>>2]|0;c[h>>2]=p+1;a[p>>0]=46;p=a[k>>0]|0;if(!(p&1))p=(p&255)>>>1;else p=c[k+4>>2]|0;if((p|0)!=0?(q=c[m>>2]|0,(q-l|0)<160):0){p=c[n>>2]|0;c[m>>2]=q+4;c[q>>2]=p;p=0}else p=0}else p=-1;else{if((b|0)==(j|0)){p=a[k>>0]|0;if(!(p&1))p=(p&255)>>>1;else p=c[k+4>>2]|0;if(p){if(!(a[e>>0]|0)){p=-1;break}p=c[m>>2]|0;if((p-l|0)>=160){p=0;break}l=c[n>>2]|0;c[m>>2]=p+4;c[p>>2]=l;c[n>>2]=0;p=0;break}}p=o;while(1){if((c[p>>2]|0)==(b|0))break;p=p+4|0;if((p|0)==(o+128|0)){p=o+128|0;break}}j=p-o|0;if((j|0)<=124){i=a[1705120+(j>>2)>>0]|0;if((j>>2|0)==23|(j>>2|0)==22)a[f>>0]=80;else if(!((j>>2|0)==24|(j>>2|0)==25)){if((i&95|0)==(a[f>>0]|0)?(a[f>>0]=i&95|128,(a[e>>0]|0)!=0):0){a[e>>0]=0;p=a[k>>0]|0;if(!(p&1))p=(p&255)>>>1;else p=c[k+4>>2]|0;if((p|0)!=0?(r=c[m>>2]|0,(r-l|0)<160):0){l=c[n>>2]|0;c[m>>2]=r+4;c[r>>2]=l}}}else{p=c[h>>2]|0;if((p|0)!=(g|0)?(d[p+-1>>0]&95|0)!=(d[f>>0]&127|0):0){p=-1;break}c[h>>2]=p+1;a[p>>0]=i;p=0;break}m=c[h>>2]|0;c[h>>2]=m+1;a[m>>0]=i;if((j|0)>84)p=0;else{c[n>>2]=(c[n>>2]|0)+1;p=0}}else p=-1}while(0);return p|0}function Ywa(a){a=a|0;return}function Zwa(a){a=a|0;YEa(a);return}function _wa(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0;l=i;i=i+32|0;if(!(c[f+4>>2]&1)){k=c[(c[d>>2]|0)+24>>2]|0;c[l+16>>2]=c[e>>2];c[l+20>>2]=c[l+16>>2];Zc[k&15](b,d,l+20|0,f,g,h&1)}else{hva(l+12|0,f);g=c[l+12>>2]|0;f=pAa(g,1706744)|0;Dua(g);g=c[f>>2]|0;if(h)Rc[c[g+24>>2]&63](l,f);else Rc[c[g+28>>2]&63](l,f);g=a[l>>0]|0;if(!(g&1)){d=l+1|0;j=l+1|0;k=l+8|0}else{d=c[l+8>>2]|0;j=l+1|0;k=l+8|0}while(1){if(!(g&1)){f=j;g=(g&255)>>>1}else{f=c[k>>2]|0;g=c[l+4>>2]|0}if((d|0)==(f+g|0))break;g=a[d>>0]|0;f=c[e>>2]|0;do if(f){h=c[f+24>>2]|0;if((h|0)!=(c[f+28>>2]|0)){c[f+24>>2]=h+1;a[h>>0]=g;break}if((bd[c[(c[f>>2]|0)+52>>2]&63](f,g&255)|0)==-1)c[e>>2]=0}while(0);g=a[l>>0]|0;d=d+1|0}c[b>>2]=c[e>>2];Oua(l)}i=l;return}function $wa(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;d=i;i=i+64|0;a[d+16>>0]=a[1705392]|0;a[d+17>>0]=a[1705393]|0;a[d+18>>0]=a[1705394]|0;a[d+19>>0]=a[1705395]|0;a[d+20>>0]=a[1705396]|0;a[d+21>>0]=a[1705397]|0;axa(d+17|0,1705304,1,c[f+4>>2]|0);j=Dwa()|0;c[d>>2]=h;h=d+24+(GCa(d+24|0,12,j,d+16|0,d)|0)|0;j=bxa(d+24|0,h,c[f+4>>2]|0)|0;hva(d+12|0,f);cxa(d+24|0,j,h,d+36|0,d+8|0,d+4|0,d+12|0);Dua(c[d+12>>2]|0);HCa(b,c[e>>2]|0,d+36|0,c[d+8>>2]|0,c[d+4>>2]|0,f,g);i=d;return}function axa(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;if(e&2048){a[b>>0]=43;b=b+1|0}if(e&512){a[b>>0]=35;b=b+1|0}f=a[c>>0]|0;if(f<<24>>24){g=c;c=b;while(1){g=g+1|0;b=c+1|0;a[c>>0]=f;f=a[g>>0]|0;if(!(f<<24>>24))break;else c=b}}do if((e&74|0)==64)a[b>>0]=111;else if((e&74|0)==8)if(!(e&16384)){a[b>>0]=120;break}else{a[b>>0]=88;break}else if(d){a[b>>0]=100;break}else{a[b>>0]=117;break}while(0);return}function bxa(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;do if((d&176|0)==16){d=a[b>>0]|0;if(d<<24>>24==43|d<<24>>24==45){b=b+1|0;break}if((c-b|0)>1&d<<24>>24==48?(c=a[b+1>>0]|0,c<<24>>24==88|c<<24>>24==120):0)b=b+2|0;else e=7}else if((d&176|0)==32)b=c;else e=7;while(0);return b|0}function cxa(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;q=pAa(c[j>>2]|0,1706600)|0;p=pAa(c[j>>2]|0,1706744)|0;Rc[c[(c[p>>2]|0)+20>>2]&63](r,p);j=a[r>>0]|0;if(!(j&1))j=(j&255)>>>1;else j=c[r+4>>2]|0;if(j){c[h>>2]=f;j=a[b>>0]|0;if(j<<24>>24==43|j<<24>>24==45){o=bd[c[(c[q>>2]|0)+28>>2]&63](q,j)|0;j=c[h>>2]|0;c[h>>2]=j+1;a[j>>0]=o;j=b+1|0}else j=b;if(((e-j|0)>1?(a[j>>0]|0)==48:0)?(m=j+1|0,o=a[m>>0]|0,o<<24>>24==88|o<<24>>24==120):0){o=bd[c[(c[q>>2]|0)+28>>2]&63](q,48)|0;n=c[h>>2]|0;c[h>>2]=n+1;a[n>>0]=o;n=bd[c[(c[q>>2]|0)+28>>2]&63](q,a[m>>0]|0)|0;o=c[h>>2]|0;c[h>>2]=o+1;a[o>>0]=n;j=j+2|0}if((j|0)!=(e|0)?(e+-1|0)>>>0>j>>>0:0){k=j;m=e+-1|0;l=e;while(1){o=a[k>>0]|0;a[k>>0]=a[m>>0]|0;a[m>>0]=o;k=k+1|0;l=l+-2|0;if(k>>>0>=l>>>0)break;else{o=m;m=l;l=o}}}o=Tc[c[(c[p>>2]|0)+16>>2]&127](p)|0;if(j>>>0>>0){m=0;n=0;p=j;while(1){l=a[((a[r>>0]&1)==0?r+1|0:c[r+8>>2]|0)+n>>0]|0;if(l<<24>>24!=0&(m|0)==(l<<24>>24|0)){l=c[h>>2]|0;c[h>>2]=l+1;a[l>>0]=o;l=a[r>>0]|0;if(!(l&1))m=(l&255)>>>1;else m=c[r+4>>2]|0;k=0;l=(n>>>0<(m+-1|0)>>>0&1)+n|0}else{k=m;l=n}m=bd[c[(c[q>>2]|0)+28>>2]&63](q,a[p>>0]|0)|0;n=c[h>>2]|0;c[h>>2]=n+1;a[n>>0]=m;p=p+1|0;if(p>>>0>=e>>>0)break;else{m=k+1|0;n=l}}}k=f+(j-b)|0;j=c[h>>2]|0;if((k|0)!=(j|0)?(j+-1|0)>>>0>k>>>0:0){l=j+-1|0;while(1){q=a[k>>0]|0;a[k>>0]=a[l>>0]|0;a[l>>0]=q;k=k+1|0;j=j+-2|0;if(k>>>0>=j>>>0)break;else{q=l;l=j;j=q}}}}else{ed[c[(c[q>>2]|0)+32>>2]&15](q,b,e,f)|0;c[h>>2]=f+(e-b)}if((d|0)==(e|0))k=c[h>>2]|0;else k=f+(d-b)|0;c[g>>2]=k;Oua(r);i=r;return}function dxa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;b=i;i=i+96|0;c[b>>2]=37;c[b+4>>2]=0;axa(b+1|0,1705312,1,c[e+4>>2]|0);j=Dwa()|0;c[b+8>>2]=g;c[b+12>>2]=h;h=b+64+(GCa(b+64|0,22,j,b,b+8|0)|0)|0;g=bxa(b+64|0,h,c[e+4>>2]|0)|0;hva(b+52|0,e);cxa(b+64|0,g,h,b+8|0,b+60|0,b+56|0,b+52|0);Dua(c[b+52>>2]|0);HCa(a,c[d>>2]|0,b+8|0,c[b+60>>2]|0,c[b+56>>2]|0,e,f);i=b;return}function exa(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;d=i;i=i+64|0;a[d+16>>0]=a[1705392]|0;a[d+17>>0]=a[1705393]|0;a[d+18>>0]=a[1705394]|0;a[d+19>>0]=a[1705395]|0;a[d+20>>0]=a[1705396]|0;a[d+21>>0]=a[1705397]|0;axa(d+17|0,1705304,0,c[f+4>>2]|0);j=Dwa()|0;c[d>>2]=h;h=d+24+(GCa(d+24|0,12,j,d+16|0,d)|0)|0;j=bxa(d+24|0,h,c[f+4>>2]|0)|0;hva(d+12|0,f);cxa(d+24|0,j,h,d+36|0,d+8|0,d+4|0,d+12|0);Dua(c[d+12>>2]|0);HCa(b,c[e>>2]|0,d+36|0,c[d+8>>2]|0,c[d+4>>2]|0,f,g);i=d;return}function fxa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;b=i;i=i+96|0;c[b>>2]=37;c[b+4>>2]=0;axa(b+1|0,1705312,0,c[e+4>>2]|0);j=Dwa()|0;c[b+8>>2]=g;c[b+12>>2]=h;h=b+64+(GCa(b+64|0,23,j,b,b+8|0)|0)|0;g=bxa(b+64|0,h,c[e+4>>2]|0)|0;hva(b+52|0,e);cxa(b+64|0,g,h,b+8|0,b+60|0,b+56|0,b+52|0);Dua(c[b+52>>2]|0);HCa(a,c[d>>2]|0,b+8|0,c[b+60>>2]|0,c[b+56>>2]|0,e,f);i=b;return}function gxa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=+g;var j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;n=i;i=i+128|0;c[n+64>>2]=37;c[n+68>>2]=0;l=hxa(n+65|0,1714496,c[e+4>>2]|0)|0;c[n+80>>2]=n+92;b=Dwa()|0;if(l){c[n>>2]=c[e+8>>2];h[k>>3]=g;c[n+4>>2]=c[k>>2];c[n+8>>2]=c[k+4>>2];j=GCa(n+92|0,30,b,n+64|0,n)|0}else{h[k>>3]=g;c[n>>2]=c[k>>2];c[n+4>>2]=c[k+4>>2];j=GCa(n+92|0,30,b,n+64|0,n)|0}if((j|0)>29){b=Dwa()|0;c[n>>2]=c[e+8>>2];h[k>>3]=g;c[n+4>>2]=c[k>>2];c[n+8>>2]=c[k+4>>2];b=ICa(n+80|0,b,n+64|0,n)|0;j=c[n+80>>2]|0;if(!j)PFa();else{o=j;r=j;m=b}}else{o=n+92|0;r=0;m=j}b=o+m|0;l=bxa(o,b,c[e+4>>2]|0)|0;if((o|0)!=(n+92|0)){j=UFa(m<<1)|0;if(!j)PFa();else{p=o;q=j;s=j}}else{p=n+92|0;q=0;s=n}hva(n+84|0,e);ixa(p,l,b,s,n+76|0,n+72|0,n+84|0);Dua(c[n+84>>2]|0);HCa(n+88|0,c[d>>2]|0,s,c[n+76>>2]|0,c[n+72>>2]|0,e,f);s=c[n+88>>2]|0;c[d>>2]=s;c[a>>2]=s;if(q)VFa(q);if(r)VFa(r);i=n;return}function hxa(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(d&2048){a[b>>0]=43;b=b+1|0}if(d&1024){a[b>>0]=35;b=b+1|0}if((d&260|0)==260)g=0;else{a[b>>0]=46;a[b+1>>0]=42;b=b+2|0;g=1}f=a[c>>0]|0;if(f<<24>>24)while(1){c=c+1|0;e=b+1|0;a[b>>0]=f;f=a[c>>0]|0;if(!(f<<24>>24)){b=e;break}else b=e}do if((d&260|0)==256)if(!(d>>>14&1)){a[b>>0]=101;break}else{a[b>>0]=69;break}else if((d&260|0)==4)if(!(d>>>14&1)){a[b>>0]=102;break}else{a[b>>0]=70;break}else if((d&260|0)==260)if(d>>>14&1){a[b>>0]=65;break}else{a[b>>0]=97;break}else if(d>>>14&1){a[b>>0]=71;break}else{a[b>>0]=103;break}while(0);return g|0}function ixa(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=i;i=i+16|0;r=pAa(c[j>>2]|0,1706600)|0;q=pAa(c[j>>2]|0,1706744)|0;Rc[c[(c[q>>2]|0)+20>>2]&63](s,q);c[h>>2]=f;l=a[b>>0]|0;if(l<<24>>24==43|l<<24>>24==45){p=bd[c[(c[r>>2]|0)+28>>2]&63](r,l)|0;j=c[h>>2]|0;c[h>>2]=j+1;a[j>>0]=p;j=b+1|0}else j=b;a:do if(((e-j|0)>1?(a[j>>0]|0)==48:0)?(k=j+1|0,p=a[k>>0]|0,p<<24>>24==88|p<<24>>24==120):0){p=bd[c[(c[r>>2]|0)+28>>2]&63](r,48)|0;n=c[h>>2]|0;c[h>>2]=n+1;a[n>>0]=p;j=j+2|0;n=bd[c[(c[r>>2]|0)+28>>2]&63](r,a[k>>0]|0)|0;p=c[h>>2]|0;c[h>>2]=p+1;a[p>>0]=n;if(j>>>0>>0){l=j;while(1){p=a[l>>0]|0;Dwa()|0;k=l+1|0;if(!(pEa(p<<24>>24)|0)){p=j;k=l;break a}if(k>>>0>>0)l=k;else{p=j;break}}}else{p=j;k=j}}else o=4;while(0);b:do if((o|0)==4)if(j>>>0>>0){l=j;while(1){p=a[l>>0]|0;Dwa()|0;k=l+1|0;if(!(oEa(p<<24>>24)|0)){p=j;k=l;break b}if(k>>>0>>0)l=k;else{p=j;break}}}else{p=j;k=j}while(0);l=a[s>>0]|0;if(!(l&1))l=(l&255)>>>1;else l=c[s+4>>2]|0;if(l){if((p|0)!=(k|0)?(m=k+-1|0,m>>>0>p>>>0):0){j=p;l=k;while(1){o=a[j>>0]|0;a[j>>0]=a[m>>0]|0;a[m>>0]=o;j=j+1|0;l=l+-2|0;if(j>>>0>=l>>>0)break;else{o=m;m=l;l=o}}}n=Tc[c[(c[q>>2]|0)+16>>2]&127](q)|0;if(p>>>0>>0){m=0;l=0;o=p;while(1){j=a[((a[s>>0]&1)==0?s+1|0:c[s+8>>2]|0)+l>>0]|0;if(j<<24>>24>0&(m|0)==(j<<24>>24|0)){m=c[h>>2]|0;c[h>>2]=m+1;a[m>>0]=n;m=a[s>>0]|0;if(!(m&1))m=(m&255)>>>1;else m=c[s+4>>2]|0;j=0;l=(l>>>0<(m+-1|0)>>>0&1)+l|0}else j=m;t=bd[c[(c[r>>2]|0)+28>>2]&63](r,a[o>>0]|0)|0;m=c[h>>2]|0;c[h>>2]=m+1;a[m>>0]=t;o=o+1|0;if(o>>>0>=k>>>0)break;else m=j+1|0}}j=f+(p-b)|0;l=c[h>>2]|0;if((j|0)!=(l|0)?(l+-1|0)>>>0>j>>>0:0){m=l+-1|0;while(1){t=a[j>>0]|0;a[j>>0]=a[m>>0]|0;a[m>>0]=t;j=j+1|0;l=l+-2|0;if(j>>>0>=l>>>0)break;else{t=m;m=l;l=t}}}}else{ed[c[(c[r>>2]|0)+32>>2]&15](r,p,k,c[h>>2]|0)|0;c[h>>2]=(c[h>>2]|0)+(k-p)}c:do if(k>>>0>>0){while(1){j=a[k>>0]|0;if(j<<24>>24==46)break;p=bd[c[(c[r>>2]|0)+28>>2]&63](r,j)|0;t=c[h>>2]|0;c[h>>2]=t+1;a[t>>0]=p;k=k+1|0;if(k>>>0>=e>>>0)break c}q=Tc[c[(c[q>>2]|0)+12>>2]&127](q)|0;t=c[h>>2]|0;c[h>>2]=t+1;a[t>>0]=q;k=k+1|0}while(0);ed[c[(c[r>>2]|0)+32>>2]&15](r,k,e,c[h>>2]|0)|0;k=(c[h>>2]|0)+(e-k)|0;c[h>>2]=k;if((d|0)!=(e|0))k=f+(d-b)|0;c[g>>2]=k;Oua(s);i=s;return}function jxa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=+g;var j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;n=i;i=i+128|0;c[n+64>>2]=37;c[n+68>>2]=0;b=hxa(n+65|0,1705320,c[e+4>>2]|0)|0;c[n+80>>2]=n+92;j=Dwa()|0;if(b){c[n>>2]=c[e+8>>2];h[k>>3]=g;c[n+4>>2]=c[k>>2];c[n+8>>2]=c[k+4>>2];l=GCa(n+92|0,30,j,n+64|0,n)|0}else{h[k>>3]=g;c[n>>2]=c[k>>2];c[n+4>>2]=c[k+4>>2];l=GCa(n+92|0,30,j,n+64|0,n)|0}if((l|0)>29){j=Dwa()|0;if(b){c[n>>2]=c[e+8>>2];h[k>>3]=g;c[n+4>>2]=c[k>>2];c[n+8>>2]=c[k+4>>2];j=ICa(n+80|0,j,n+64|0,n)|0}else{h[k>>3]=g;c[n>>2]=c[k>>2];c[n+4>>2]=c[k+4>>2];j=ICa(n+80|0,j,n+64|0,n)|0}b=c[n+80>>2]|0;if(!b)PFa();else{o=b;r=b;m=j}}else{o=n+92|0;r=0;m=l}j=o+m|0;l=bxa(o,j,c[e+4>>2]|0)|0;if((o|0)!=(n+92|0)){b=UFa(m<<1)|0;if(!b)PFa();else{p=o;q=b;s=b}}else{p=n+92|0;q=0;s=n}hva(n+84|0,e);ixa(p,l,j,s,n+76|0,n+72|0,n+84|0);Dua(c[n+84>>2]|0);HCa(n+88|0,c[d>>2]|0,s,c[n+76>>2]|0,c[n+72>>2]|0,e,f);c[a>>2]=c[n+88>>2];VFa(q);VFa(r);i=n;return}function kxa(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0;j=i;i=i+80|0;a[j+64>>0]=a[1705400]|0;a[j+65>>0]=a[1705401]|0;a[j+66>>0]=a[1705402]|0;a[j+67>>0]=a[1705403]|0;a[j+68>>0]=a[1705404]|0;a[j+69>>0]=a[1705405]|0;d=Dwa()|0;c[j>>2]=h;h=GCa(j+44|0,20,d,j+64|0,j)|0;d=bxa(j+44|0,j+44+h|0,c[f+4>>2]|0)|0;hva(j+40|0,f);l=c[j+40>>2]|0;k=pAa(l,1706600)|0;Dua(l);ed[c[(c[k>>2]|0)+32>>2]&15](k,j+44|0,j+44+h|0,j)|0;if((d|0)==(j+44+h|0))d=j+h|0;else d=j+(d-(j+44))|0;HCa(b,c[e>>2]|0,j,d,j+h|0,f,g);i=j;return}function lxa(a){a=a|0;return}function mxa(a){a=a|0;YEa(a);return}function nxa(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0;l=i;i=i+32|0;if(!(c[f+4>>2]&1)){k=c[(c[d>>2]|0)+24>>2]|0;c[l+16>>2]=c[e>>2];c[l+20>>2]=c[l+16>>2];Zc[k&15](b,d,l+20|0,f,g,h&1)}else{hva(l+12|0,f);g=c[l+12>>2]|0;f=pAa(g,1706752)|0;Dua(g);g=c[f>>2]|0;if(h)Rc[c[g+24>>2]&63](l,f);else Rc[c[g+28>>2]&63](l,f);g=a[l>>0]|0;if(!(g&1)){d=l+4|0;j=l+8|0;k=l+4|0}else{d=c[l+8>>2]|0;j=l+8|0;k=l+4|0}while(1){if(!(g&1)){f=k;g=(g&255)>>>1}else{f=c[j>>2]|0;g=c[k>>2]|0}if((d|0)==(f+(g<<2)|0))break;g=c[d>>2]|0;f=c[e>>2]|0;if(f){h=c[f+24>>2]|0;if((h|0)==(c[f+28>>2]|0))g=bd[c[(c[f>>2]|0)+52>>2]&63](f,g)|0;else{c[f+24>>2]=h+4;c[h>>2]=g}if((g|0)==-1)c[e>>2]=0}g=a[l>>0]|0;d=d+4|0}c[b>>2]=c[e>>2];_ua(l)}i=l;return}function oxa(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;d=i;i=i+128|0;a[d+108>>0]=a[1705392]|0;a[d+109>>0]=a[1705393]|0;a[d+110>>0]=a[1705394]|0;a[d+111>>0]=a[1705395]|0;a[d+112>>0]=a[1705396]|0;a[d+113>>0]=a[1705397]|0;axa(d+109|0,1705304,1,c[f+4>>2]|0);j=Dwa()|0;c[d>>2]=h;h=d+96+(GCa(d+96|0,12,j,d+108|0,d)|0)|0;j=bxa(d+96|0,h,c[f+4>>2]|0)|0;hva(d+84|0,f);pxa(d+96|0,j,h,d,d+92|0,d+88|0,d+84|0);Dua(c[d+84>>2]|0);JCa(b,c[e>>2]|0,d,c[d+92>>2]|0,c[d+88>>2]|0,f,g);i=d;return}function pxa(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;r=pAa(c[j>>2]|0,1706592)|0;q=pAa(c[j>>2]|0,1706752)|0;Rc[c[(c[q>>2]|0)+20>>2]&63](s,q);j=a[s>>0]|0;if(!(j&1))j=(j&255)>>>1;else j=c[s+4>>2]|0;if(j){c[h>>2]=f;j=a[b>>0]|0;if(j<<24>>24==43|j<<24>>24==45){p=bd[c[(c[r>>2]|0)+44>>2]&63](r,j)|0;j=c[h>>2]|0;c[h>>2]=j+4;c[j>>2]=p;j=b+1|0}else j=b;if(((e-j|0)>1?(a[j>>0]|0)==48:0)?(n=j+1|0,p=a[n>>0]|0,p<<24>>24==88|p<<24>>24==120):0){p=bd[c[(c[r>>2]|0)+44>>2]&63](r,48)|0;o=c[h>>2]|0;c[h>>2]=o+4;c[o>>2]=p;o=bd[c[(c[r>>2]|0)+44>>2]&63](r,a[n>>0]|0)|0;p=c[h>>2]|0;c[h>>2]=p+4;c[p>>2]=o;j=j+2|0}if((j|0)!=(e|0)?(e+-1|0)>>>0>j>>>0:0){k=j;n=e+-1|0;l=e;while(1){p=a[k>>0]|0;a[k>>0]=a[n>>0]|0;a[n>>0]=p;k=k+1|0;l=l+-2|0;if(k>>>0>=l>>>0)break;else{p=n;n=l;l=p}}}p=Tc[c[(c[q>>2]|0)+16>>2]&127](q)|0;if(j>>>0>>0){n=0;o=0;q=j;while(1){l=a[((a[s>>0]&1)==0?s+1|0:c[s+8>>2]|0)+o>>0]|0;if(l<<24>>24!=0&(n|0)==(l<<24>>24|0)){l=c[h>>2]|0;c[h>>2]=l+4;c[l>>2]=p;l=a[s>>0]|0;if(!(l&1))n=(l&255)>>>1;else n=c[s+4>>2]|0;k=0;l=(o>>>0<(n+-1|0)>>>0&1)+o|0}else{k=n;l=o}o=bd[c[(c[r>>2]|0)+44>>2]&63](r,a[q>>0]|0)|0;n=c[h>>2]|0;c[h>>2]=n+4;c[n>>2]=o;q=q+1|0;if(q>>>0>=e>>>0){k=n+4|0;break}else{n=k+1|0;o=l}}}else k=c[h>>2]|0;l=f+(j-b<<2)|0;if((l|0)!=(k|0)?(m=k+-4|0,m>>>0>l>>>0):0){j=k;while(1){h=c[l>>2]|0;c[l>>2]=c[m>>2];c[m>>2]=h;l=l+4|0;j=j+-8|0;if(l>>>0>=j>>>0)break;else{h=m;m=j;j=h}}}}else{ed[c[(c[r>>2]|0)+48>>2]&15](r,b,e,f)|0;c[h>>2]=f+(e-b<<2);k=f+(e-b<<2)|0}if((d|0)!=(e|0))k=f+(d-b<<2)|0;c[g>>2]=k;Oua(s);i=s;return}function qxa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;b=i;i=i+208|0;c[b>>2]=37;c[b+4>>2]=0;axa(b+1|0,1705312,1,c[e+4>>2]|0);j=Dwa()|0;c[b+8>>2]=g;c[b+12>>2]=h;h=b+184+(GCa(b+184|0,22,j,b,b+8|0)|0)|0;g=bxa(b+184|0,h,c[e+4>>2]|0)|0;hva(b+172|0,e);pxa(b+184|0,g,h,b+8|0,b+180|0,b+176|0,b+172|0);Dua(c[b+172>>2]|0);JCa(a,c[d>>2]|0,b+8|0,c[b+180>>2]|0,c[b+176>>2]|0,e,f);i=b;return}function rxa(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;d=i;i=i+128|0;a[d+108>>0]=a[1705392]|0;a[d+109>>0]=a[1705393]|0;a[d+110>>0]=a[1705394]|0;a[d+111>>0]=a[1705395]|0;a[d+112>>0]=a[1705396]|0;a[d+113>>0]=a[1705397]|0;axa(d+109|0,1705304,0,c[f+4>>2]|0);j=Dwa()|0;c[d>>2]=h;h=d+96+(GCa(d+96|0,12,j,d+108|0,d)|0)|0;j=bxa(d+96|0,h,c[f+4>>2]|0)|0;hva(d+84|0,f);pxa(d+96|0,j,h,d,d+92|0,d+88|0,d+84|0);Dua(c[d+84>>2]|0);JCa(b,c[e>>2]|0,d,c[d+92>>2]|0,c[d+88>>2]|0,f,g);i=d;return}function sxa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;b=i;i=i+224|0;c[b>>2]=37;c[b+4>>2]=0;axa(b+1|0,1705312,0,c[e+4>>2]|0);j=Dwa()|0;c[b+8>>2]=g;c[b+12>>2]=h;h=b+192+(GCa(b+192|0,23,j,b,b+8|0)|0)|0;g=bxa(b+192|0,h,c[e+4>>2]|0)|0;hva(b+180|0,e);pxa(b+192|0,g,h,b+8|0,b+188|0,b+184|0,b+180|0);Dua(c[b+180>>2]|0);JCa(a,c[d>>2]|0,b+8|0,c[b+188>>2]|0,c[b+184>>2]|0,e,f);i=b;return}function txa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=+g;var j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;n=i;i=i+304|0;c[n+232>>2]=37;c[n+236>>2]=0;l=hxa(n+233|0,1714496,c[e+4>>2]|0)|0;c[n+248>>2]=n+260;b=Dwa()|0;if(l){c[n>>2]=c[e+8>>2];h[k>>3]=g;c[n+4>>2]=c[k>>2];c[n+8>>2]=c[k+4>>2];j=GCa(n+260|0,30,b,n+232|0,n)|0}else{h[k>>3]=g;c[n>>2]=c[k>>2];c[n+4>>2]=c[k+4>>2];j=GCa(n+260|0,30,b,n+232|0,n)|0}if((j|0)>29){b=Dwa()|0;c[n>>2]=c[e+8>>2];h[k>>3]=g;c[n+4>>2]=c[k>>2];c[n+8>>2]=c[k+4>>2];b=ICa(n+248|0,b,n+232|0,n)|0;j=c[n+248>>2]|0;if(!j)PFa();else{o=j;r=j;m=b}}else{o=n+260|0;r=0;m=j}b=o+m|0;l=bxa(o,b,c[e+4>>2]|0)|0;if((o|0)!=(n+260|0)){j=UFa(m<<3)|0;if(!j)PFa();else{p=o;q=j;s=j}}else{p=n+260|0;q=0;s=n}hva(n+252|0,e);uxa(p,l,b,s,n+244|0,n+240|0,n+252|0);Dua(c[n+252>>2]|0);JCa(n+256|0,c[d>>2]|0,s,c[n+244>>2]|0,c[n+240>>2]|0,e,f);s=c[n+256>>2]|0;c[d>>2]=s;c[a>>2]=s;if(q)VFa(q);VFa(r);i=n;return}function uxa(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;t=i;i=i+16|0;s=pAa(c[j>>2]|0,1706592)|0;r=pAa(c[j>>2]|0,1706752)|0;Rc[c[(c[r>>2]|0)+20>>2]&63](t,r);c[h>>2]=f;m=a[b>>0]|0;if(m<<24>>24==43|m<<24>>24==45){q=bd[c[(c[s>>2]|0)+44>>2]&63](s,m)|0;j=c[h>>2]|0;c[h>>2]=j+4;c[j>>2]=q;j=b+1|0}else j=b;a:do if(((e-j|0)>1?(a[j>>0]|0)==48:0)?(l=j+1|0,q=a[l>>0]|0,q<<24>>24==88|q<<24>>24==120):0){q=bd[c[(c[s>>2]|0)+44>>2]&63](s,48)|0;m=c[h>>2]|0;c[h>>2]=m+4;c[m>>2]=q;j=j+2|0;m=bd[c[(c[s>>2]|0)+44>>2]&63](s,a[l>>0]|0)|0;q=c[h>>2]|0;c[h>>2]=q+4;c[q>>2]=m;if(j>>>0>>0){k=j;while(1){q=a[k>>0]|0;Dwa()|0;m=k+1|0;if(!(pEa(q<<24>>24)|0)){q=j;break a}if(m>>>0>>0)k=m;else{q=j;k=m;break}}}else{q=j;k=j}}else p=4;while(0);b:do if((p|0)==4)if(j>>>0>>0){m=j;while(1){q=a[m>>0]|0;Dwa()|0;k=m+1|0;if(!(oEa(q<<24>>24)|0)){q=j;k=m;break b}if(k>>>0>>0)m=k;else{q=j;break}}}else{q=j;k=j}while(0);m=a[t>>0]|0;if(!(m&1))m=(m&255)>>>1;else m=c[t+4>>2]|0;if(m){if((q|0)!=(k|0)?(o=k+-1|0,o>>>0>q>>>0):0){l=q;j=o;m=k;while(1){p=a[l>>0]|0;a[l>>0]=a[j>>0]|0;a[j>>0]=p;l=l+1|0;m=m+-2|0;if(l>>>0>=m>>>0)break;else{p=j;j=m;m=p}}}o=Tc[c[(c[r>>2]|0)+16>>2]&127](r)|0;if(q>>>0>>0){m=0;j=0;p=q;while(1){l=a[((a[t>>0]&1)==0?t+1|0:c[t+8>>2]|0)+j>>0]|0;if(l<<24>>24>0&(m|0)==(l<<24>>24|0)){m=c[h>>2]|0;c[h>>2]=m+4;c[m>>2]=o;m=a[t>>0]|0;if(!(m&1))m=(m&255)>>>1;else m=c[t+4>>2]|0;l=0;j=(j>>>0<(m+-1|0)>>>0&1)+j|0}else l=m;u=bd[c[(c[s>>2]|0)+44>>2]&63](s,a[p>>0]|0)|0;m=c[h>>2]|0;c[h>>2]=m+4;c[m>>2]=u;p=p+1|0;if(p>>>0>=k>>>0){l=m+4|0;break}else m=l+1|0}}else l=c[h>>2]|0;j=f+(q-b<<2)|0;if((j|0)!=(l|0)?(n=l+-4|0,n>>>0>j>>>0):0){m=l;while(1){u=c[j>>2]|0;c[j>>2]=c[n>>2];c[n>>2]=u;j=j+4|0;m=m+-8|0;if(j>>>0>=m>>>0)break;else{u=n;n=m;m=u}}}}else{ed[c[(c[s>>2]|0)+48>>2]&15](s,q,k,c[h>>2]|0)|0;l=(c[h>>2]|0)+(k-q<<2)|0;c[h>>2]=l}c:do if(k>>>0>>0){while(1){l=a[k>>0]|0;if(l<<24>>24==46)break;u=bd[c[(c[s>>2]|0)+44>>2]&63](s,l)|0;l=c[h>>2]|0;c[h>>2]=l+4;c[l>>2]=u;k=k+1|0;if(k>>>0>=e>>>0){l=l+4|0;break c}}u=Tc[c[(c[r>>2]|0)+12>>2]&127](r)|0;l=c[h>>2]|0;c[h>>2]=l+4;c[l>>2]=u;l=l+4|0;k=k+1|0}while(0);ed[c[(c[s>>2]|0)+48>>2]&15](s,k,e,l)|0;k=(c[h>>2]|0)+(e-k<<2)|0;c[h>>2]=k;if((d|0)!=(e|0))k=f+(d-b<<2)|0;c[g>>2]=k;Oua(t);i=t;return}function vxa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=+g;var j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;n=i;i=i+304|0;c[n+232>>2]=37;c[n+236>>2]=0;b=hxa(n+233|0,1705320,c[e+4>>2]|0)|0;c[n+248>>2]=n+260;j=Dwa()|0;if(b){c[n>>2]=c[e+8>>2];h[k>>3]=g;c[n+4>>2]=c[k>>2];c[n+8>>2]=c[k+4>>2];l=GCa(n+260|0,30,j,n+232|0,n)|0}else{h[k>>3]=g;c[n>>2]=c[k>>2];c[n+4>>2]=c[k+4>>2];l=GCa(n+260|0,30,j,n+232|0,n)|0}if((l|0)>29){j=Dwa()|0;if(b){c[n>>2]=c[e+8>>2];h[k>>3]=g;c[n+4>>2]=c[k>>2];c[n+8>>2]=c[k+4>>2];j=ICa(n+248|0,j,n+232|0,n)|0}else{h[k>>3]=g;c[n>>2]=c[k>>2];c[n+4>>2]=c[k+4>>2];j=ICa(n+248|0,j,n+232|0,n)|0}b=c[n+248>>2]|0;if(!b)PFa();else{o=b;r=b;m=j}}else{o=n+260|0;r=0;m=l}j=o+m|0;l=bxa(o,j,c[e+4>>2]|0)|0;if((o|0)!=(n+260|0)){b=UFa(m<<3)|0;if(!b)PFa();else{p=o;q=b;s=b}}else{p=n+260|0;q=0;s=n}hva(n+252|0,e);uxa(p,l,j,s,n+244|0,n+240|0,n+252|0);Dua(c[n+252>>2]|0);JCa(n+256|0,c[d>>2]|0,s,c[n+244>>2]|0,c[n+240>>2]|0,e,f);s=c[n+256>>2]|0;c[d>>2]=s;c[a>>2]=s;if(q)VFa(q);VFa(r);i=n;return}function wxa(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0;j=i;i=i+192|0;a[j+172>>0]=a[1705400]|0;a[j+173>>0]=a[1705401]|0;a[j+174>>0]=a[1705402]|0;a[j+175>>0]=a[1705403]|0;a[j+176>>0]=a[1705404]|0;a[j+177>>0]=a[1705405]|0;d=Dwa()|0;c[j>>2]=h;h=GCa(j+152|0,20,d,j+172|0,j)|0;d=bxa(j+152|0,j+152+h|0,c[f+4>>2]|0)|0;hva(j+148|0,f);l=c[j+148>>2]|0;k=pAa(l,1706592)|0;Dua(l);ed[c[(c[k>>2]|0)+48>>2]&15](k,j+152|0,j+152+h|0,j)|0;if((d|0)==(j+152+h|0))d=j+(h<<2)|0;else d=j+(d-(j+152)<<2)|0;JCa(b,c[e>>2]|0,j,d,j+(h<<2)|0,f,g);i=j;return}function xxa(e,f,g,h,j,k,l,m,n){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;i=i+32|0;hva(z+12|0,j);v=c[z+12>>2]|0;w=pAa(v,1706600)|0;Dua(v);c[k>>2]=0;a:do if((m|0)!=(n|0)){q=g;b:while(1){if(q)if((c[q+12>>2]|0)==(c[q+16>>2]|0)){v=(Tc[c[(c[q>>2]|0)+36>>2]&127](q)|0)==-1;g=v?0:q;q=v?0:q}else g=q;else{g=0;q=0}o=(g|0)==0;do if(h){if((c[h+12>>2]|0)==(c[h+16>>2]|0)?(Tc[c[(c[h>>2]|0)+36>>2]&127](h)|0)==-1:0){y=10;break}if(!o){y=11;break b}}else y=10;while(0);if((y|0)==10){y=0;if(o){g=0;h=0;y=11;break}else h=0}c:do if((Vc[c[(c[w>>2]|0)+36>>2]&63](w,a[m>>0]|0,0)|0)<<24>>24==37){p=m+1|0;if((p|0)==(n|0)){y=14;break b}o=Vc[c[(c[w>>2]|0)+36>>2]&63](w,a[p>>0]|0,0)|0;if(o<<24>>24==48|o<<24>>24==69){q=m+2|0;if((q|0)==(n|0)){y=17;break b}m=p;q=Vc[c[(c[w>>2]|0)+36>>2]&63](w,a[q>>0]|0,0)|0}else{q=o;o=0}v=c[(c[f>>2]|0)+36>>2]|0;c[z+4>>2]=g;c[z>>2]=h;c[z+16>>2]=c[z+4>>2];c[z+20>>2]=c[z+0>>2];ad[v&3](z+8|0,f,z+16|0,z+20|0,j,k,l,q,o);q=c[z+8>>2]|0;m=m+2|0;g=q}else{o=a[m>>0]|0;if(o<<24>>24>-1?(x=c[w+8>>2]|0,(b[x+(o<<24>>24<<1)>>1]&8192)!=0):0){do{m=m+1|0;if((m|0)==(n|0)){m=n;break}o=a[m>>0]|0;if(o<<24>>24<=-1)break}while((b[x+(o<<24>>24<<1)>>1]&8192)!=0);s=g;t=h;o=h;while(1){if(s)if((c[s+12>>2]|0)==(c[s+16>>2]|0)){u=(Tc[c[(c[s>>2]|0)+36>>2]&127](s)|0)==-1;g=u?0:g;v=u?0:s;q=u?0:q}else v=s;else v=0;r=(v|0)==0;do if(o){if((c[o+12>>2]|0)!=(c[o+16>>2]|0))if(r){p=t;u=o;break}else break c;if((Tc[c[(c[o>>2]|0)+36>>2]&127](o)|0)!=-1)if(r^(t|0)==0){p=t;u=t}else break c;else{p=0;h=0;y=34}}else{p=t;y=34}while(0);if((y|0)==34){y=0;if(r)break c;else u=0}s=v+12|0;r=c[s>>2]|0;o=v+16|0;if((r|0)==(c[o>>2]|0))r=Tc[c[(c[v>>2]|0)+36>>2]&127](v)|0;else r=d[r>>0]|0;if((r&255)<<24>>24<=-1)break c;if(!(b[(c[w+8>>2]|0)+(r<<24>>24<<1)>>1]&8192))break c;r=c[s>>2]|0;if((r|0)==(c[o>>2]|0)){Tc[c[(c[v>>2]|0)+40>>2]&127](v)|0;s=v;t=p;o=u;continue}else{c[s>>2]=r+1;s=v;t=p;o=u;continue}}}o=g+12|0;p=c[o>>2]|0;r=g+16|0;if((p|0)==(c[r>>2]|0))p=Tc[c[(c[g>>2]|0)+36>>2]&127](g)|0;else p=d[p>>0]|0;v=bd[c[(c[w>>2]|0)+12>>2]&63](w,p&255)|0;if(v<<24>>24!=(bd[c[(c[w>>2]|0)+12>>2]&63](w,a[m>>0]|0)|0)<<24>>24){y=52;break b}p=c[o>>2]|0;if((p|0)==(c[r>>2]|0))Tc[c[(c[g>>2]|0)+40>>2]&127](g)|0;else c[o>>2]=p+1;m=m+1|0}while(0);if(!((m|0)!=(n|0)&(c[k>>2]|0)==0)){m=h;break a}}if((y|0)==11){c[k>>2]=4;m=h;break}else if((y|0)==14){c[k>>2]=4;m=h;break}else if((y|0)==17){c[k>>2]=4;m=h;break}else if((y|0)==52){c[k>>2]=4;m=h;break}}else m=h;while(0);if(g){if((c[g+12>>2]|0)==(c[g+16>>2]|0)){f=(Tc[c[(c[g>>2]|0)+36>>2]&127](g)|0)==-1;g=f?0:g}}else g=0;h=(g|0)==0;do if(m){if((c[m+12>>2]|0)==(c[m+16>>2]|0)?(Tc[c[(c[m>>2]|0)+36>>2]&127](m)|0)==-1:0){y=60;break}if(!h)y=61}else y=60;while(0);if((y|0)==60?h:0)y=61;if((y|0)==61)c[k>>2]=c[k>>2]|2;c[e>>2]=g;i=z;return}function yxa(a){a=a|0;return}function zxa(a){a=a|0;YEa(a);return}function Axa(a){a=a|0;return 2}function Bxa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;xxa(a,b,c[d>>2]|0,c[e>>2]|0,f,g,h,1705504,1705512|0);return}function Cxa(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0;j=Tc[c[(c[d+8>>2]|0)+20>>2]&127](d+8|0)|0;k=a[j>>0]|0;if(!(k&1)){l=j+1|0;j=(k&255)>>>1}else{l=c[j+8>>2]|0;j=c[j+4>>2]|0}xxa(b,d,c[e>>2]|0,c[f>>2]|0,g,h,i,l,l+j|0);return}function Dxa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;j=i;i=i+16|0;hva(j,f);k=c[j>>2]|0;f=pAa(k,1706600)|0;Dua(k);Exa(b,h+24|0,d,c[e>>2]|0,g,f);c[a>>2]=c[d>>2];i=j;return}function Exa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;a=Tc[c[c[a+8>>2]>>2]&127](a+8|0)|0;d=(lCa(d,e,a,a+168|0,g,f,0)|0)-a|0;if((d|0)<168)c[b>>2]=((d|0)/12|0|0)%7|0;return}function Fxa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;j=i;i=i+16|0;hva(j,f);k=c[j>>2]|0;f=pAa(k,1706600)|0;Dua(k);Gxa(b,h+16|0,d,c[e>>2]|0,g,f);c[a>>2]=c[d>>2];i=j;return}function Gxa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;a=Tc[c[(c[a+8>>2]|0)+4>>2]&127](a+8|0)|0;d=(lCa(d,e,a,a+288|0,g,f,0)|0)-a|0;if((d|0)<288)c[b>>2]=((d|0)/12|0|0)%12|0;return}function Hxa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;b=i;i=i+16|0;hva(b,f);j=c[b>>2]|0;f=pAa(j,1706600)|0;Dua(j);Ixa(h+20|0,d,c[e>>2]|0,g,f);c[a>>2]=c[d>>2];i=b;return}function Ixa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;b=KCa(b,d,e,f,4)|0;if(!(c[e>>2]&4)){if((b|0)<69)b=b+2e3|0;else b=(b+-69|0)>>>0<31?b+1900|0:b;c[a>>2]=b+-1900}return}function Jxa(b,d,e,f,g,h,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0;n=i;i=i+48|0;c[h>>2]=0;hva(n+36|0,g);o=c[n+36>>2]|0;l=pAa(o,1706600)|0;Dua(o);do switch(k<<24>>24|0){case 104:case 66:case 98:{Gxa(d,j+16|0,e,c[f>>2]|0,h,l);m=32;break}case 114:{xxa(n+44|0,d,c[e>>2]|0,c[f>>2]|0,g,h,j,1705528,1705539|0);c[e>>2]=c[n+44>>2];m=32;break}case 77:{Pxa(j+4|0,e,c[f>>2]|0,h,l);m=32;break}case 116:case 110:{Qxa(e,c[f>>2]|0,h,l);m=32;break}case 65:case 97:{Exa(d,j+24|0,e,c[f>>2]|0,h,l);m=32;break}case 119:{Txa(j+24|0,e,c[f>>2]|0,h,l);m=32;break}case 89:{Uxa(j+20|0,e,c[f>>2]|0,h,l);m=32;break}case 37:{Vxa(e,c[f>>2]|0,h,l);m=32;break}case 101:case 100:{Kxa(j+12|0,e,c[f>>2]|0,h,l);m=32;break}case 106:{Nxa(j+28|0,e,c[f>>2]|0,h,l);m=32;break}case 82:{xxa(n+24|0,d,c[e>>2]|0,c[f>>2]|0,g,h,j,1705544,1705549|0);c[e>>2]=c[n+24>>2];m=32;break}case 109:{Oxa(j+16|0,e,c[f>>2]|0,h,l);m=32;break}case 73:{Mxa(j+8|0,e,c[f>>2]|0,h,l);m=32;break}case 72:{Lxa(j+8|0,e,c[f>>2]|0,h,l);m=32;break}case 70:{xxa(n+40|0,d,c[e>>2]|0,c[f>>2]|0,g,h,j,1705520,1705528|0);c[e>>2]=c[n+40>>2];m=32;break}case 99:{l=Tc[c[(c[d+8>>2]|0)+12>>2]&127](d+8|0)|0;m=a[l>>0]|0;if(!(m&1)){k=l+1|0;l=(m&255)>>>1}else{k=c[l+8>>2]|0;l=c[l+4>>2]|0}xxa(n+16|0,d,c[e>>2]|0,c[f>>2]|0,g,h,j,k,k+l|0);c[e>>2]=c[n+16>>2];m=32;break}case 83:{Sxa(j,e,c[f>>2]|0,h,l);m=32;break}case 120:{o=c[(c[d>>2]|0)+20>>2]|0;c[n+12>>2]=c[e>>2];c[n+4>>2]=c[f>>2];c[n+8>>2]=c[n+12>>2];c[n+0>>2]=c[n+4>>2];_c[o&63](b,d,n+8|0,n,g,h,j);break}case 112:{Rxa(d,j+8|0,e,c[f>>2]|0,h,l);m=32;break}case 84:{xxa(n+20|0,d,c[e>>2]|0,c[f>>2]|0,g,h,j,1705552,1705560|0);c[e>>2]=c[n+20>>2];m=32;break}case 88:{m=Tc[c[(c[d+8>>2]|0)+24>>2]&127](d+8|0)|0;l=a[m>>0]|0;if(!(l&1)){k=m+1|0;l=(l&255)>>>1}else{k=c[m+8>>2]|0;l=c[m+4>>2]|0}xxa(n+28|0,d,c[e>>2]|0,c[f>>2]|0,g,h,j,k,k+l|0);c[e>>2]=c[n+28>>2];m=32;break}case 121:{Ixa(j+20|0,e,c[f>>2]|0,h,l);m=32;break}case 68:{xxa(n+32|0,d,c[e>>2]|0,c[f>>2]|0,g,h,j,1705512,1705520|0);c[e>>2]=c[n+32>>2];m=32;break}default:{c[h>>2]=c[h>>2]|4;m=32}}while(0);if((m|0)==32)c[b>>2]=c[e>>2];i=n;return}function Kxa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=KCa(b,d,e,f,2)|0;b=c[e>>2]|0;if((b&4|0)==0&(f|0)>0&(f|0)<32)c[a>>2]=f;else c[e>>2]=b|4;return}function Lxa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=KCa(b,d,e,f,2)|0;b=c[e>>2]|0;if((b&4|0)==0&(f|0)<24)c[a>>2]=f;else c[e>>2]=b|4;return}function Mxa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=KCa(b,d,e,f,2)|0;b=c[e>>2]|0;if((b&4|0)==0&(f|0)>0&(f|0)<13)c[a>>2]=f;else c[e>>2]=b|4;return}function Nxa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=KCa(b,d,e,f,3)|0;b=c[e>>2]|0;if((b&4|0)==0&(f|0)<366)c[a>>2]=f;else c[e>>2]=b|4;return}function Oxa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=KCa(b,d,e,f,2)|0;b=c[e>>2]|0;if((b&4|0)==0&(f|0)<13)c[a>>2]=f+-1;else c[e>>2]=b|4;return}function Pxa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=KCa(b,d,e,f,2)|0;b=c[e>>2]|0;if((b&4|0)==0&(f|0)<60)c[a>>2]=f;else c[e>>2]=b|4;return}function Qxa(a,e,f,g){a=a|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;a:while(1){h=c[a>>2]|0;do if(h){if((c[h+12>>2]|0)==(c[h+16>>2]|0))if((Tc[c[(c[h>>2]|0)+36>>2]&127](h)|0)==-1){c[a>>2]=0;h=0;break}else{h=c[a>>2]|0;break}}else h=0;while(0);h=(h|0)==0;do if(e){if((c[e+12>>2]|0)!=(c[e+16>>2]|0))if(h)break;else{h=e;break a}if((Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0)!=-1){if(!h){h=e;break a}}else j=11}else j=11;while(0);if((j|0)==11){j=0;if(h){h=0;break}else e=0}h=c[a>>2]|0;i=c[h+12>>2]|0;if((i|0)==(c[h+16>>2]|0))h=Tc[c[(c[h>>2]|0)+36>>2]&127](h)|0;else h=d[i>>0]|0;if((h&255)<<24>>24<=-1){h=e;break}if(!(b[(c[g+8>>2]|0)+(h<<24>>24<<1)>>1]&8192)){h=e;break}i=c[a>>2]|0;h=c[i+12>>2]|0;if((h|0)==(c[i+16>>2]|0)){Tc[c[(c[i>>2]|0)+40>>2]&127](i)|0;continue}else{c[i+12>>2]=h+1;continue}}e=c[a>>2]|0;do if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0))if((Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1){c[a>>2]=0;e=0;break}else{e=c[a>>2]|0;break}}else e=0;while(0);e=(e|0)==0;do if(h){if((c[h+12>>2]|0)==(c[h+16>>2]|0)?(Tc[c[(c[h>>2]|0)+36>>2]&127](h)|0)==-1:0){j=30;break}if(!e)j=31}else j=30;while(0);if((j|0)==30?e:0)j=31;if((j|0)==31)c[f>>2]=c[f>>2]|2;return}function Rxa(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0;j=Tc[c[(c[b+8>>2]|0)+8>>2]&127](b+8|0)|0;b=a[j>>0]|0;if(!(b&1))i=(b&255)>>>1;else i=c[j+4>>2]|0;b=a[j+12>>0]|0;if(!(b&1))b=(b&255)>>>1;else b=c[j+16>>2]|0;do if((i|0)!=(0-b|0)){i=lCa(e,f,j,j+24|0,h,g,0)|0;b=c[d>>2]|0;if((i|0)==(j|0)&(b|0)==12){c[d>>2]=0;break}if((i-j|0)==12&(b|0)<12)c[d>>2]=b+12}else c[g>>2]=c[g>>2]|4;while(0);return}function Sxa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=KCa(b,d,e,f,2)|0;b=c[e>>2]|0;if((b&4|0)==0&(f|0)<61)c[a>>2]=f;else c[e>>2]=b|4;return}function Txa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=KCa(b,d,e,f,1)|0;b=c[e>>2]|0;if((b&4|0)==0&(f|0)<7)c[a>>2]=f;else c[e>>2]=b|4;return}function Uxa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;b=KCa(b,d,e,f,4)|0;if(!(c[e>>2]&4))c[a>>2]=b+-1900;return}function Vxa(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=c[a>>2]|0;do if(g){if((c[g+12>>2]|0)==(c[g+16>>2]|0))if((Tc[c[(c[g>>2]|0)+36>>2]&127](g)|0)==-1){c[a>>2]=0;g=0;break}else{g=c[a>>2]|0;break}}else g=0;while(0);g=(g|0)==0;do if(b){if((c[b+12>>2]|0)==(c[b+16>>2]|0)?(Tc[c[(c[b>>2]|0)+36>>2]&127](b)|0)==-1:0){i=10;break}if(g){h=b;i=12}else i=11}else i=10;while(0);if((i|0)==10)if(g)i=11;else{h=0;i=12}a:do if((i|0)==11)c[e>>2]=c[e>>2]|6;else if((i|0)==12){b=c[a>>2]|0;g=c[b+12>>2]|0;if((g|0)==(c[b+16>>2]|0))g=Tc[c[(c[b>>2]|0)+36>>2]&127](b)|0;else g=d[g>>0]|0;if((Vc[c[(c[f>>2]|0)+36>>2]&63](f,g&255,0)|0)<<24>>24!=37){c[e>>2]=c[e>>2]|4;break}g=c[a>>2]|0;b=c[g+12>>2]|0;if((b|0)==(c[g+16>>2]|0)){Tc[c[(c[g>>2]|0)+40>>2]&127](g)|0;g=c[a>>2]|0}else c[g+12>>2]=b+1;do if(g){if((c[g+12>>2]|0)==(c[g+16>>2]|0))if((Tc[c[(c[g>>2]|0)+36>>2]&127](g)|0)==-1){c[a>>2]=0;g=0;break}else{g=c[a>>2]|0;break}}else g=0;while(0);g=(g|0)==0;do if(h){if((c[h+12>>2]|0)==(c[h+16>>2]|0)?(Tc[c[(c[h>>2]|0)+36>>2]&127](h)|0)==-1:0){i=29;break}if(g)break a}else i=29;while(0);if((i|0)==29?!g:0)break;c[e>>2]=c[e>>2]|2}while(0);return}function Wxa(a,b,d,e,f,g,h,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+32|0;hva(u+12|0,f);r=c[u+12>>2]|0;s=pAa(r,1706592)|0;Dua(r);c[g>>2]=0;a:do if((j|0)!=(k|0)){m=d;b:while(1){if(!m){d=0;n=1;r=0}else{d=c[m+12>>2]|0;if((d|0)==(c[m+16>>2]|0))d=Tc[c[(c[m>>2]|0)+36>>2]&127](m)|0;else d=c[d>>2]|0;r=(d|0)==-1;d=r?0:m;n=r?1:0;r=r?0:m}if(e){l=c[e+12>>2]|0;if((l|0)==(c[e+16>>2]|0))l=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else l=c[l>>2]|0;if((l|0)!=-1){if(!n){t=15;break}}else t=13}else t=13;if((t|0)==13){t=0;if(n){e=0;t=15;break}else e=0}c:do if((Vc[c[(c[s>>2]|0)+52>>2]&63](s,c[j>>2]|0,0)|0)<<24>>24==37){m=j+4|0;if((m|0)==(k|0)){t=18;break b}l=Vc[c[(c[s>>2]|0)+52>>2]&63](s,c[m>>2]|0,0)|0;if(l<<24>>24==48|l<<24>>24==69){n=j+8|0;if((n|0)==(k|0)){t=21;break b}j=m;n=Vc[c[(c[s>>2]|0)+52>>2]&63](s,c[n>>2]|0,0)|0}else{n=l;l=0}m=c[(c[b>>2]|0)+36>>2]|0;c[u+4>>2]=d;c[u>>2]=e;c[u+16>>2]=c[u+4>>2];c[u+20>>2]=c[u+0>>2];ad[m&3](u+8|0,b,u+16|0,u+20|0,f,g,h,n,l);m=c[u+8>>2]|0;j=j+8|0;d=m}else{if(!(Vc[c[(c[s>>2]|0)+12>>2]&63](s,8192,c[j>>2]|0)|0)){m=d+12|0;n=c[m>>2]|0;l=d+16|0;if((n|0)==(c[l>>2]|0))n=Tc[c[(c[d>>2]|0)+36>>2]&127](d)|0;else n=c[n>>2]|0;q=bd[c[(c[s>>2]|0)+28>>2]&63](s,n)|0;if((q|0)!=(bd[c[(c[s>>2]|0)+28>>2]&63](s,c[j>>2]|0)|0)){t=56;break b}n=c[m>>2]|0;if((n|0)==(c[l>>2]|0))Tc[c[(c[d>>2]|0)+40>>2]&127](d)|0;else c[m>>2]=n+4;j=j+4|0;m=r;break}do{j=j+4|0;if((j|0)==(k|0)){j=k;break}}while(Vc[c[(c[s>>2]|0)+12>>2]&63](s,8192,c[j>>2]|0)|0);o=d;l=e;q=e;m=r;while(1){if(!o){p=1;r=0}else{n=c[o+12>>2]|0;if((n|0)==(c[o+16>>2]|0))n=Tc[c[(c[o>>2]|0)+36>>2]&127](o)|0;else n=c[n>>2]|0;n=(n|0)==-1;d=n?0:d;p=n?1:0;r=n?0:o;m=n?0:m}if(q){n=c[q+12>>2]|0;if((n|0)==(c[q+16>>2]|0))n=Tc[c[(c[q>>2]|0)+36>>2]&127](q)|0;else n=c[n>>2]|0;if((n|0)!=-1)if(p^(l|0)==0){n=l;q=l}else break c;else{n=0;e=0;t=39}}else{n=l;t=39}if((t|0)==39){t=0;if(p)break c;else q=0}o=r+12|0;l=c[o>>2]|0;p=r+16|0;if((l|0)==(c[p>>2]|0))l=Tc[c[(c[r>>2]|0)+36>>2]&127](r)|0;else l=c[l>>2]|0;if(!(Vc[c[(c[s>>2]|0)+12>>2]&63](s,8192,l)|0))break c;l=c[o>>2]|0;if((l|0)==(c[p>>2]|0)){Tc[c[(c[r>>2]|0)+40>>2]&127](r)|0;o=r;l=n;continue}else{c[o>>2]=l+4;o=r;l=n;continue}}}while(0);if(!((j|0)!=(k|0)&(c[g>>2]|0)==0)){j=e;break a}}if((t|0)==15){c[g>>2]=4;j=e;break}else if((t|0)==18){c[g>>2]=4;j=e;break}else if((t|0)==21){c[g>>2]=4;j=e;break}else if((t|0)==56){c[g>>2]=4;j=e;break}}else j=e;while(0);if(!d){l=0;d=1}else{e=c[d+12>>2]|0;if((e|0)==(c[d+16>>2]|0))e=Tc[c[(c[d>>2]|0)+36>>2]&127](d)|0;else e=c[e>>2]|0;b=(e|0)==-1;l=b?0:d;d=b?1:0}if(j){e=c[j+12>>2]|0;if((e|0)==(c[j+16>>2]|0))e=Tc[c[(c[j>>2]|0)+36>>2]&127](j)|0;else e=c[e>>2]|0;if((e|0)!=-1){if(!d)t=69}else t=67}else t=67;if((t|0)==67?d:0)t=69;if((t|0)==69)c[g>>2]=c[g>>2]|2;c[a>>2]=l;i=u;return}function Xxa(a){a=a|0;return}function Yxa(a){a=a|0;YEa(a);return}function Zxa(a){a=a|0;return 2}function _xa(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;Wxa(a,b,c[d>>2]|0,c[e>>2]|0,f,g,h,1705656,1705688|0);return}function $xa(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0;j=Tc[c[(c[d+8>>2]|0)+20>>2]&127](d+8|0)|0;k=a[j>>0]|0;if(!(k&1)){l=j+4|0;j=(k&255)>>>1}else{l=c[j+8>>2]|0;j=c[j+4>>2]|0}Wxa(b,d,c[e>>2]|0,c[f>>2]|0,g,h,i,l,l+(j<<2)|0);return}function aya(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;j=i;i=i+16|0;hva(j,f);k=c[j>>2]|0;f=pAa(k,1706592)|0;Dua(k);bya(b,h+24|0,d,c[e>>2]|0,g,f);c[a>>2]=c[d>>2];i=j;return}function bya(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;a=Tc[c[c[a+8>>2]>>2]&127](a+8|0)|0;d=(wCa(d,e,a,a+168|0,g,f,0)|0)-a|0;if((d|0)<168)c[b>>2]=((d|0)/12|0|0)%7|0;return}function cya(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;j=i;i=i+16|0;hva(j,f);k=c[j>>2]|0;f=pAa(k,1706592)|0;Dua(k);dya(b,h+16|0,d,c[e>>2]|0,g,f);c[a>>2]=c[d>>2];i=j;return}function dya(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;a=Tc[c[(c[a+8>>2]|0)+4>>2]&127](a+8|0)|0;d=(wCa(d,e,a,a+288|0,g,f,0)|0)-a|0;if((d|0)<288)c[b>>2]=((d|0)/12|0|0)%12|0;return}function eya(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;b=i;i=i+16|0;hva(b,f);j=c[b>>2]|0;f=pAa(j,1706592)|0;Dua(j);fya(h+20|0,d,c[e>>2]|0,g,f);c[a>>2]=c[d>>2];i=b;return}function fya(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;b=LCa(b,d,e,f,4)|0;if(!(c[e>>2]&4)){if((b|0)<69)b=b+2e3|0;else b=(b+-69|0)>>>0<31?b+1900|0:b;c[a>>2]=b+-1900}return}function gya(b,d,e,f,g,h,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0;n=i;i=i+48|0;c[h>>2]=0;hva(n+36|0,g);o=c[n+36>>2]|0;l=pAa(o,1706592)|0;Dua(o);do switch(k<<24>>24|0){case 99:{l=Tc[c[(c[d+8>>2]|0)+12>>2]&127](d+8|0)|0;m=a[l>>0]|0;if(!(m&1)){k=l+4|0;l=(m&255)>>>1}else{k=c[l+8>>2]|0;l=c[l+4>>2]|0}Wxa(n+16|0,d,c[e>>2]|0,c[f>>2]|0,g,h,j,k,k+(l<<2)|0);c[e>>2]=c[n+16>>2];m=32;break}case 82:{Wxa(n+24|0,d,c[e>>2]|0,c[f>>2]|0,g,h,j,1705800,1705820|0);c[e>>2]=c[n+24>>2];m=32;break}case 116:case 110:{nya(e,c[f>>2]|0,h,l);m=32;break}case 65:case 97:{bya(d,j+24|0,e,c[f>>2]|0,h,l);m=32;break}case 119:{qya(j+24|0,e,c[f>>2]|0,h,l);m=32;break}case 89:{rya(j+20|0,e,c[f>>2]|0,h,l);m=32;break}case 77:{mya(j+4|0,e,c[f>>2]|0,h,l);m=32;break}case 73:{jya(j+8|0,e,c[f>>2]|0,h,l);m=32;break}case 109:{lya(j+16|0,e,c[f>>2]|0,h,l);m=32;break}case 114:{Wxa(n+44|0,d,c[e>>2]|0,c[f>>2]|0,g,h,j,1705752,1705796|0);c[e>>2]=c[n+44>>2];m=32;break}case 84:{Wxa(n+20|0,d,c[e>>2]|0,c[f>>2]|0,g,h,j,1705824,1705856|0);c[e>>2]=c[n+20>>2];m=32;break}case 68:{Wxa(n+32|0,d,c[e>>2]|0,c[f>>2]|0,g,h,j,1705688,1705720|0);c[e>>2]=c[n+32>>2];m=32;break}case 121:{fya(j+20|0,e,c[f>>2]|0,h,l);m=32;break}case 72:{iya(j+8|0,e,c[f>>2]|0,h,l);m=32;break}case 104:case 66:case 98:{dya(d,j+16|0,e,c[f>>2]|0,h,l);m=32;break}case 37:{sya(e,c[f>>2]|0,h,l);m=32;break}case 120:{o=c[(c[d>>2]|0)+20>>2]|0;c[n+12>>2]=c[e>>2];c[n+4>>2]=c[f>>2];c[n+8>>2]=c[n+12>>2];c[n+0>>2]=c[n+4>>2];_c[o&63](b,d,n+8|0,n,g,h,j);break}case 83:{pya(j,e,c[f>>2]|0,h,l);m=32;break}case 112:{oya(d,j+8|0,e,c[f>>2]|0,h,l);m=32;break}case 106:{kya(j+28|0,e,c[f>>2]|0,h,l);m=32;break}case 88:{m=Tc[c[(c[d+8>>2]|0)+24>>2]&127](d+8|0)|0;l=a[m>>0]|0;if(!(l&1)){k=m+4|0;l=(l&255)>>>1}else{k=c[m+8>>2]|0;l=c[m+4>>2]|0}Wxa(n+28|0,d,c[e>>2]|0,c[f>>2]|0,g,h,j,k,k+(l<<2)|0);c[e>>2]=c[n+28>>2];m=32;break}case 101:case 100:{hya(j+12|0,e,c[f>>2]|0,h,l);m=32;break}case 70:{Wxa(n+40|0,d,c[e>>2]|0,c[f>>2]|0,g,h,j,1705720,1705752|0);c[e>>2]=c[n+40>>2];m=32;break}default:{c[h>>2]=c[h>>2]|4;m=32}}while(0);if((m|0)==32)c[b>>2]=c[e>>2];i=n;return}function hya(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=LCa(b,d,e,f,2)|0;b=c[e>>2]|0;if((b&4|0)==0&(f|0)>0&(f|0)<32)c[a>>2]=f;else c[e>>2]=b|4;return}function iya(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=LCa(b,d,e,f,2)|0;b=c[e>>2]|0;if((b&4|0)==0&(f|0)<24)c[a>>2]=f;else c[e>>2]=b|4;return}function jya(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=LCa(b,d,e,f,2)|0;b=c[e>>2]|0;if((b&4|0)==0&(f|0)>0&(f|0)<13)c[a>>2]=f;else c[e>>2]=b|4;return}function kya(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=LCa(b,d,e,f,3)|0;b=c[e>>2]|0;if((b&4|0)==0&(f|0)<366)c[a>>2]=f;else c[e>>2]=b|4;return}function lya(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=LCa(b,d,e,f,2)|0;b=c[e>>2]|0;if((b&4|0)==0&(f|0)<13)c[a>>2]=f+-1;else c[e>>2]=b|4;return}function mya(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=LCa(b,d,e,f,2)|0;b=c[e>>2]|0;if((b&4|0)==0&(f|0)<60)c[a>>2]=f;else c[e>>2]=b|4;return}function nya(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;while(1){f=c[a>>2]|0;do if(f){g=c[f+12>>2]|0;if((g|0)==(c[f+16>>2]|0))f=Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0;else f=c[g>>2]|0;if((f|0)==-1){c[a>>2]=0;g=1;break}else{g=(c[a>>2]|0)==0;break}}else g=1;while(0);if(b){f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))f=Tc[c[(c[b>>2]|0)+36>>2]&127](b)|0;else f=c[f>>2]|0;if((f|0)!=-1){if(!g){g=b;break}}else h=14}else h=14;if((h|0)==14){h=0;if(g){g=0;break}else b=0}f=c[a>>2]|0;g=c[f+12>>2]|0;if((g|0)==(c[f+16>>2]|0))f=Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0;else f=c[g>>2]|0;if(!(Vc[c[(c[e>>2]|0)+12>>2]&63](e,8192,f)|0)){g=b;break}g=c[a>>2]|0;f=c[g+12>>2]|0;if((f|0)==(c[g+16>>2]|0)){Tc[c[(c[g>>2]|0)+40>>2]&127](g)|0;continue}else{c[g+12>>2]=f+4;continue}}f=c[a>>2]|0;do if(f){b=c[f+12>>2]|0;if((b|0)==(c[f+16>>2]|0))b=Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0;else b=c[b>>2]|0;if((b|0)==-1){c[a>>2]=0;f=1;break}else{f=(c[a>>2]|0)==0;break}}else f=1;while(0);if(g){b=c[g+12>>2]|0;if((b|0)==(c[g+16>>2]|0))b=Tc[c[(c[g>>2]|0)+36>>2]&127](g)|0;else b=c[b>>2]|0;if((b|0)!=-1){if(!f)h=37}else h=35}else h=35;if((h|0)==35?f:0)h=37;if((h|0)==37)c[d>>2]=c[d>>2]|2;return}function oya(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0;j=Tc[c[(c[b+8>>2]|0)+8>>2]&127](b+8|0)|0;b=a[j>>0]|0;if(!(b&1))i=(b&255)>>>1;else i=c[j+4>>2]|0;b=a[j+12>>0]|0;if(!(b&1))b=(b&255)>>>1;else b=c[j+16>>2]|0;do if((i|0)!=(0-b|0)){i=wCa(e,f,j,j+24|0,h,g,0)|0;b=c[d>>2]|0;if((i|0)==(j|0)&(b|0)==12){c[d>>2]=0;break}if((i-j|0)==12&(b|0)<12)c[d>>2]=b+12}else c[g>>2]=c[g>>2]|4;while(0);return}function pya(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=LCa(b,d,e,f,2)|0;b=c[e>>2]|0;if((b&4|0)==0&(f|0)<61)c[a>>2]=f;else c[e>>2]=b|4;return}function qya(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;f=LCa(b,d,e,f,1)|0;b=c[e>>2]|0;if((b&4|0)==0&(f|0)<7)c[a>>2]=f;else c[e>>2]=b|4;return}function rya(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;b=LCa(b,d,e,f,4)|0;if(!(c[e>>2]&4))c[a>>2]=b+-1900;return}function sya(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=c[a>>2]|0;do if(f){g=c[f+12>>2]|0;if((g|0)==(c[f+16>>2]|0))f=Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0;else f=c[g>>2]|0;if((f|0)==-1){c[a>>2]=0;g=1;break}else{g=(c[a>>2]|0)==0;break}}else g=1;while(0);if(b){f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))f=Tc[c[(c[b>>2]|0)+36>>2]&127](b)|0;else f=c[f>>2]|0;if((f|0)!=-1)if(g)h=16;else h=15;else h=13}else h=13;if((h|0)==13)if(g)h=15;else{b=0;h=16}do if((h|0)==15)c[d>>2]=c[d>>2]|6;else if((h|0)==16){g=c[a>>2]|0;f=c[g+12>>2]|0;if((f|0)==(c[g+16>>2]|0))f=Tc[c[(c[g>>2]|0)+36>>2]&127](g)|0;else f=c[f>>2]|0;if((Vc[c[(c[e>>2]|0)+52>>2]&63](e,f,0)|0)<<24>>24!=37){c[d>>2]=c[d>>2]|4;break}g=c[a>>2]|0;f=c[g+12>>2]|0;if((f|0)==(c[g+16>>2]|0)){Tc[c[(c[g>>2]|0)+40>>2]&127](g)|0;g=c[a>>2]|0}else c[g+12>>2]=f+4;do if(g){f=c[g+12>>2]|0;if((f|0)==(c[g+16>>2]|0))f=Tc[c[(c[g>>2]|0)+36>>2]&127](g)|0;else f=c[f>>2]|0;if((f|0)==-1){c[a>>2]=0;g=1;break}else{g=(c[a>>2]|0)==0;break}}else g=1;while(0);if(b){f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))f=Tc[c[(c[b>>2]|0)+36>>2]&127](b)|0;else f=c[f>>2]|0;if((f|0)!=-1){if(g)break}else h=36}else h=36;if((h|0)==36?!g:0)break;c[d>>2]=c[d>>2]|2}while(0);return}function tya(a){a=a|0;var b=0;b=c[a>>2]|0;if((b|0)!=(Dwa()|0))rb(c[a>>2]|0);return}function uya(a){a=a|0;tya(a+8|0);return}function vya(a){a=a|0;tya(a+8|0);YEa(a);return}function wya(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0;l=i;i=i+112|0;c[l>>2]=l+104;xya(d+8|0,l+4|0,l,h,j,k);h=c[l>>2]|0;f=c[e>>2]|0;if((l+4|0)!=(h|0)){d=l+4|0;do{j=a[d>>0]|0;do if(f){g=f+24|0;k=c[g>>2]|0;if((k|0)==(c[f+28>>2]|0)){e=(bd[c[(c[f>>2]|0)+52>>2]&63](f,j&255)|0)==-1;f=e?0:f;break}else{c[g>>2]=k+1;a[k>>0]=j;break}}else f=0;while(0);d=d+1|0}while((d|0)!=(h|0))}c[b>>2]=f;i=l;return}function xya(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+16|0;a[j>>0]=37;a[j+1>>0]=g;a[j+2>>0]=h;a[j+3>>0]=0;if(h<<24>>24){a[j+1>>0]=h;a[j+2>>0]=g}c[e>>2]=d+(pc(d|0,(c[e>>2]|0)-d|0,j|0,f|0,c[b>>2]|0)|0);i=j;return}function yya(a){a=a|0;tya(a+8|0);return}function zya(a){a=a|0;tya(a+8|0);YEa(a);return}function Aya(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;k=i;i=i+416|0;c[k>>2]=k+408;Bya(b+8|0,k+8|0,k,g,h,j);b=c[k>>2]|0;f=c[d>>2]|0;if((k+8|0)!=(b|0)){d=k+8|0;do{e=c[d>>2]|0;if(!f)f=0;else{j=f+24|0;h=c[j>>2]|0;if((h|0)==(c[f+28>>2]|0))e=bd[c[(c[f>>2]|0)+52>>2]&63](f,e)|0;else{c[j>>2]=h+4;c[h>>2]=e}f=(e|0)==-1?0:f}d=d+4|0}while((d|0)!=(b|0))}c[a>>2]=f;i=k;return}function Bya(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+128|0;c[h+12>>2]=h+116;xya(a,h+16|0,h+12|0,e,f,g);c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=h+16;f=(c[d>>2]|0)-b>>2;g=Tb(c[a>>2]|0)|0;f=uEa(b,h+8|0,f,h)|0;if(g)Tb(g|0)|0;if((f|0)==-1)xza(1707480);else{c[d>>2]=b+(f<<2);i=h;return}}function Cya(a){a=a|0;return}function Dya(a){a=a|0;YEa(a);return}function Eya(a){a=a|0;return 127}function Fya(a){a=a|0;return 127}function Gya(a,b){a=a|0;b=b|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function Hya(a,b){a=a|0;b=b|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function Iya(a,b){a=a|0;b=b|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function Jya(a,b){a=a|0;b=b|0;Mua(a,1,45);return}function Kya(a){a=a|0;return 0}function Lya(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function Mya(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function Nya(a){a=a|0;return}function Oya(a){a=a|0;YEa(a);return}function Pya(a){a=a|0;return 127}function Qya(a){a=a|0;return 127}function Rya(a,b){a=a|0;b=b|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function Sya(a,b){a=a|0;b=b|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function Tya(a,b){a=a|0;b=b|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function Uya(a,b){a=a|0;b=b|0;Mua(a,1,45);return}function Vya(a){a=a|0;return 0}function Wya(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function Xya(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function Yya(a){a=a|0;return}function Zya(a){a=a|0;YEa(a);return}function _ya(a){a=a|0;return 2147483647}function $ya(a){a=a|0;return 2147483647}function aza(a,b){a=a|0;b=b|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function bza(a,b){a=a|0;b=b|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function cza(a,b){a=a|0;b=b|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function dza(a,b){a=a|0;b=b|0;Yua(a,1,45);return}function eza(a){a=a|0;return 0}function fza(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function gza(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function hza(a){a=a|0;return}function iza(a){a=a|0;YEa(a);return}function jza(a){a=a|0;return 2147483647}function kza(a){a=a|0;return 2147483647}function lza(a,b){a=a|0;b=b|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function mza(a,b){a=a|0;b=b|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function nza(a,b){a=a|0;b=b|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function oza(a,b){a=a|0;b=b|0;Yua(a,1,45);return}function pza(a){a=a|0;return 0}function qza(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function rza(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function sza(a){a=a|0;return}function tza(a){a=a|0;YEa(a);return}function uza(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0;o=i;i=i+240|0;c[o+8>>2]=o+136;c[o+12>>2]=254;hva(o+20|0,h);p=c[o+20>>2]|0;d=pAa(p,1706600)|0;a[o+134>>0]=0;do if(wza(e,c[f>>2]|0,g,p,c[h+4>>2]|0,j,o+134|0,d,o+8|0,o+16|0,o+236|0)|0){ed[c[(c[d>>2]|0)+32>>2]&15](d,1706216,1706226,o+124|0)|0;g=c[o+16>>2]|0;h=c[o+8>>2]|0;if((g-h|0)>98){d=UFa(g-h+2|0)|0;if(!d)PFa();else{m=d;l=d}}else{m=0;l=o+24|0}if(a[o+134>>0]|0){a[l>>0]=45;l=l+1|0}if(h>>>0>>0)do{g=a[h>>0]|0;d=o+124|0;while(1){if((a[d>>0]|0)==g<<24>>24)break;d=d+1|0;if((d|0)==(o+134|0)){d=o+134|0;break}}a[l>>0]=a[1706216+(d-(o+124))>>0]|0;h=h+1|0;l=l+1|0}while(h>>>0<(c[o+16>>2]|0)>>>0);a[l>>0]=0;c[o>>2]=k;if((zEa(o+24|0,1706232,o)|0)==1){VFa(m);break}else xza(1706240)}while(0);d=c[e>>2]|0;do if(d){if((c[d+12>>2]|0)==(c[d+16>>2]|0))if((Tc[c[(c[d>>2]|0)+36>>2]&127](d)|0)==-1){c[e>>2]=0;d=0;break}else{d=c[e>>2]|0;break}}else d=0;while(0);d=(d|0)==0;l=c[f>>2]|0;do if(l){if((c[l+12>>2]|0)!=(c[l+16>>2]|0))if(d)break;else{n=28;break}if((Tc[c[(c[l>>2]|0)+36>>2]&127](l)|0)!=-1)if(d)break;else{n=28;break}else{c[f>>2]=0;n=26;break}}else n=26;while(0);if((n|0)==26?d:0)n=28;if((n|0)==28)c[j>>2]=c[j>>2]|2;c[b>>2]=c[e>>2];Dua(c[o+20>>2]|0);d=c[o+8>>2]|0;c[o+8>>2]=0;if(d)Qc[c[o+8+4>>2]&511](d);i=o;return}function vza(a){a=a|0;return}function wza(e,f,g,h,j,k,l,m,n,o,p){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+512|0;c[A+488>>2]=p;c[A+16>>2]=A+40;c[A+20>>2]=254;c[A+464>>2]=A+40;c[A+468>>2]=A+440;c[A+440>>2]=0;c[A+444>>2]=0;c[A+448>>2]=0;c[A+24>>2]=0;c[A+28>>2]=0;c[A+32>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;c[A+12>>2]=0;c[A+472>>2]=0;c[A+476>>2]=0;c[A+480>>2]=0;c[A+452>>2]=0;c[A+456>>2]=0;c[A+460>>2]=0;zza(g,h,A+492|0,A+496|0,A+497|0,A+440|0,A+24|0,A+4|0,A+472|0,A);c[o>>2]=c[n>>2];y=A+8|0;w=A+40|0;x=0;t=0;a:while(1){p=c[e>>2]|0;do if(p){if((c[p+12>>2]|0)==(c[p+16>>2]|0))if((Tc[c[(c[p>>2]|0)+36>>2]&127](p)|0)==-1){c[e>>2]=0;p=0;break}else{p=c[e>>2]|0;break}}else p=0;while(0);p=(p|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(p)break;else{v=w;z=252;break a}if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1){if(!p){v=w;z=252;break a}}else z=11}else z=11;while(0);if((z|0)==11){z=0;if(p){v=w;f=0;z=252;break}else f=0}b:do switch(a[A+492+x>>0]|0){case 0:{z=26;break}case 4:{v=a[A+497>>0]|0;p=w;q=0;c:while(1){h=c[e>>2]|0;do if(h){if((c[h+12>>2]|0)==(c[h+16>>2]|0))if((Tc[c[(c[h>>2]|0)+36>>2]&127](h)|0)==-1){c[e>>2]=0;h=0;break}else{h=c[e>>2]|0;break}}else h=0;while(0);h=(h|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(h)break;else break c;if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1){if(!h)break c}else z=179}else z=179;while(0);if((z|0)==179){z=0;if(h){f=0;break}else f=0}h=c[e>>2]|0;g=c[h+12>>2]|0;if((g|0)==(c[h+16>>2]|0))h=Tc[c[(c[h>>2]|0)+36>>2]&127](h)|0;else h=d[g>>0]|0;s=h&255;if(s<<24>>24>-1?(b[(c[m+8>>2]|0)+(h<<24>>24<<1)>>1]&2048)!=0:0){h=c[o>>2]|0;if((h|0)==(c[A+488>>2]|0)){MCa(n,o,A+488|0);h=c[o>>2]|0}c[o>>2]=h+1;a[h>>0]=s;q=q+1|0}else{h=a[A+440>>0]|0;if(!(h&1))h=(h&255)>>>1;else h=c[A+444>>2]|0;if(!((h|0)!=0&(q|0)!=0&s<<24>>24==v<<24>>24))break;if((p|0)==(c[A+468>>2]|0)){NCa(A+16|0,A+464|0,A+468|0);p=c[A+464>>2]|0}w=p+4|0;c[A+464>>2]=w;c[p>>2]=q;p=w;q=0}h=c[e>>2]|0;g=c[h+12>>2]|0;if((g|0)==(c[h+16>>2]|0)){Tc[c[(c[h>>2]|0)+40>>2]&127](h)|0;continue}else{c[h+12>>2]=g+1;continue}}if((q|0)!=0?(c[A+16>>2]|0)!=(p|0):0){if((p|0)==(c[A+468>>2]|0)){NCa(A+16|0,A+464|0,A+468|0);p=c[A+464>>2]|0}w=p+4|0;c[A+464>>2]=w;c[p>>2]=q;p=w}s=c[A>>2]|0;if((s|0)>0){h=c[e>>2]|0;do if(h){if((c[h+12>>2]|0)==(c[h+16>>2]|0))if((Tc[c[(c[h>>2]|0)+36>>2]&127](h)|0)==-1){c[e>>2]=0;h=0;break}else{h=c[e>>2]|0;break}}else h=0;while(0);h=(h|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(h)break;else{z=219;break a}if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1){if(!h){z=219;break a}}else z=213}else z=213;while(0);if((z|0)==213){z=0;if(h){z=219;break a}else f=0}h=c[e>>2]|0;g=c[h+12>>2]|0;if((g|0)==(c[h+16>>2]|0))h=Tc[c[(c[h>>2]|0)+36>>2]&127](h)|0;else h=d[g>>0]|0;if((h&255)<<24>>24!=(a[A+496>>0]|0)){z=219;break a}h=c[e>>2]|0;g=c[h+12>>2]|0;if((g|0)==(c[h+16>>2]|0))Tc[c[(c[h>>2]|0)+40>>2]&127](h)|0;else c[h+12>>2]=g+1;do{h=c[e>>2]|0;do if(h){if((c[h+12>>2]|0)==(c[h+16>>2]|0))if((Tc[c[(c[h>>2]|0)+36>>2]&127](h)|0)==-1){c[e>>2]=0;h=0;break}else{h=c[e>>2]|0;break}}else h=0;while(0);h=(h|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(h)break;else{z=239;break a}if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1){if(!h){z=239;break a}}else z=232}else z=232;while(0);if((z|0)==232){z=0;if(h){z=239;break a}else f=0}h=c[e>>2]|0;g=c[h+12>>2]|0;if((g|0)==(c[h+16>>2]|0))h=Tc[c[(c[h>>2]|0)+36>>2]&127](h)|0;else h=d[g>>0]|0;if((h&255)<<24>>24<=-1){z=239;break a}if(!(b[(c[m+8>>2]|0)+(h<<24>>24<<1)>>1]&2048)){z=239;break a}if((c[o>>2]|0)==(c[A+488>>2]|0))MCa(n,o,A+488|0);h=c[e>>2]|0;g=c[h+12>>2]|0;if((g|0)==(c[h+16>>2]|0))h=Tc[c[(c[h>>2]|0)+36>>2]&127](h)|0;else h=d[g>>0]|0;g=c[o>>2]|0;c[o>>2]=g+1;a[g>>0]=h;s=s+-1|0;c[A>>2]=s;h=c[e>>2]|0;g=c[h+12>>2]|0;if((g|0)==(c[h+16>>2]|0))Tc[c[(c[h>>2]|0)+40>>2]&127](h)|0;else c[h+12>>2]=g+1}while((s|0)>0)}if((c[o>>2]|0)==(c[n>>2]|0)){z=250;break a}else h=t;break}case 1:{if((x|0)==3){v=w;z=252;break a}p=c[e>>2]|0;h=c[p+12>>2]|0;if((h|0)==(c[p+16>>2]|0))p=Tc[c[(c[p>>2]|0)+36>>2]&127](p)|0;else p=d[h>>0]|0;if((p&255)<<24>>24<=-1){z=25;break a}if(!(b[(c[m+8>>2]|0)+(p<<24>>24<<1)>>1]&8192)){z=25;break a}p=c[e>>2]|0;h=c[p+12>>2]|0;if((h|0)==(c[p+16>>2]|0))p=Tc[c[(c[p>>2]|0)+40>>2]&127](p)|0;else{c[p+12>>2]=h+1;p=d[h>>0]|0}Uua(A+452|0,p&255);z=26;break}case 3:{u=b[A+4>>1]|0;if(!(u&1))h=(u&254)>>>1;else h=c[y>>2]|0;s=b[A+472>>1]|0;if(!(s&1))p=(s&254)>>>1;else p=c[A+476>>2]|0;if((h|0)==(0-p|0)){p=w;h=t}else{if(!(u&1))p=(u&254)>>>1;else p=c[y>>2]|0;if(p){if(!(s&1))p=(s&254)>>>1;else p=c[A+476>>2]|0;if(p){p=c[e>>2]|0;h=c[p+12>>2]|0;if((h|0)==(c[p+16>>2]|0)){r=Tc[c[(c[p>>2]|0)+36>>2]&127](p)|0;p=b[A+4>>1]|0;h=p&255;p=(p&65535)>>>8&255}else{r=d[h>>0]|0;h=u&255;p=(u&65535)>>>8&255}if(h&1)p=a[c[A+12>>2]>>0]|0;h=c[e>>2]|0;g=c[h+12>>2]|0;q=(g|0)==(c[h+16>>2]|0);if((r&255)<<24>>24==p<<24>>24){if(q)Tc[c[(c[h>>2]|0)+40>>2]&127](h)|0;else c[h+12>>2]=g+1;p=a[A+4>>0]|0;if(!(p&1))h=(p&255)>>>1;else h=c[y>>2]|0;p=w;h=h>>>0>1?A+4|0:t;break b}if(q)h=Tc[c[(c[h>>2]|0)+36>>2]&127](h)|0;else h=d[g>>0]|0;p=b[A+472>>1]|0;if(!(p&1))p=(p&65535)>>>8&255;else p=a[c[A+480>>2]>>0]|0;if((h&255)<<24>>24!=p<<24>>24){z=120;break a}p=c[e>>2]|0;h=c[p+12>>2]|0;if((h|0)==(c[p+16>>2]|0))Tc[c[(c[p>>2]|0)+40>>2]&127](p)|0;else c[p+12>>2]=h+1;a[l>>0]=1;p=a[A+472>>0]|0;if(!(p&1))h=(p&255)>>>1;else h=c[A+476>>2]|0;p=w;h=h>>>0>1?A+472|0:t;break b}}if(!(u&1))q=(u&254)>>>1;else q=c[y>>2]|0;p=c[e>>2]|0;h=c[p+12>>2]|0;g=(h|0)==(c[p+16>>2]|0);if(!q){if(g){g=Tc[c[(c[p>>2]|0)+36>>2]&127](p)|0;p=b[A+472>>1]|0;h=p&255;p=(p&65535)>>>8&255}else{g=d[h>>0]|0;h=s&255;p=(s&65535)>>>8&255}if(h&1)p=a[c[A+480>>2]>>0]|0;if((g&255)<<24>>24!=p<<24>>24){p=w;h=t;break b}p=c[e>>2]|0;h=c[p+12>>2]|0;if((h|0)==(c[p+16>>2]|0))Tc[c[(c[p>>2]|0)+40>>2]&127](p)|0;else c[p+12>>2]=h+1;a[l>>0]=1;p=a[A+472>>0]|0;if(!(p&1))h=(p&255)>>>1;else h=c[A+476>>2]|0;p=w;h=h>>>0>1?A+472|0:t;break b}if(g){g=Tc[c[(c[p>>2]|0)+36>>2]&127](p)|0;p=b[A+4>>1]|0;h=p&255;p=(p&65535)>>>8&255}else{g=d[h>>0]|0;h=u&255;p=(u&65535)>>>8&255}if(h&1)p=a[c[A+12>>2]>>0]|0;if((g&255)<<24>>24!=p<<24>>24){a[l>>0]=1;p=w;h=t;break b}p=c[e>>2]|0;h=c[p+12>>2]|0;if((h|0)==(c[p+16>>2]|0))Tc[c[(c[p>>2]|0)+40>>2]&127](p)|0;else c[p+12>>2]=h+1;p=a[A+4>>0]|0;if(!(p&1))h=(p&255)>>>1;else h=c[y>>2]|0;p=w;h=h>>>0>1?A+4|0:t}break}case 2:{if(!((t|0)!=0|x>>>0<2)){if((x|0)==2)p=(a[A+495>>0]|0)!=0;else p=0;if(!((j&512|0)!=0|p)){p=w;h=0;break b}}u=a[A+24>>0]|0;v=(u&1)==0?A+25|0:c[A+32>>2]|0;d:do if((x|0)!=0?(d[A+492+(x+-1)>>0]|0)<2:0){q=c[m+8>>2]|0;p=v+((u&1)==0?(u&255)>>>1:c[A+28>>2]|0)|0;h=v;while(1){if((h|0)==(p|0))break;g=a[h>>0]|0;if(g<<24>>24<=-1){p=h;break}if(!(b[q+(g<<24>>24<<1)>>1]&8192)){p=h;break}else h=h+1|0}r=p-v|0;h=a[A+452>>0]|0;if(!(h&1))q=(h&255)>>>1;else q=c[A+456>>2]|0;if(r>>>0<=q>>>0){if(!(h&1)){g=A+453|0;s=(h&255)>>>1;q=A+452+(((h&255)>>>1)-r)+1|0}else{h=c[A+460>>2]|0;q=c[A+456>>2]|0;g=h;s=q;q=h+(q-r)|0}g=g+s|0;if((q|0)==(g|0)){q=u;v=p}else{h=v;while(1){if((a[q>>0]|0)!=(a[h>>0]|0)){q=u;break d}q=q+1|0;if((q|0)==(g|0)){q=u;v=p;break}else h=h+1|0}}}else q=u}else q=u;while(0);e:while(1){if(!(q&1)){h=A+25|0;p=(q&255)>>>1}else{h=c[A+32>>2]|0;p=c[A+28>>2]|0}if((v|0)==(h+p|0))break;p=c[e>>2]|0;do if(p){if((c[p+12>>2]|0)==(c[p+16>>2]|0))if((Tc[c[(c[p>>2]|0)+36>>2]&127](p)|0)==-1){c[e>>2]=0;p=0;break}else{p=c[e>>2]|0;break}}else p=0;while(0);p=(p|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(p)break;else break e;if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1){if(!p)break e}else z=154}else z=154;while(0);if((z|0)==154){z=0;if(p){f=0;break}else f=0}p=c[e>>2]|0;h=c[p+12>>2]|0;if((h|0)==(c[p+16>>2]|0))p=Tc[c[(c[p>>2]|0)+36>>2]&127](p)|0;else p=d[h>>0]|0;if((p&255)<<24>>24!=(a[v>>0]|0))break;p=c[e>>2]|0;h=c[p+12>>2]|0;if((h|0)==(c[p+16>>2]|0))Tc[c[(c[p>>2]|0)+40>>2]&127](p)|0;else c[p+12>>2]=h+1;q=a[A+24>>0]|0;v=v+1|0}if(j&512){p=a[A+24>>0]|0;if(!(p&1)){h=A+25|0;p=(p&255)>>>1}else{h=c[A+32>>2]|0;p=c[A+28>>2]|0}if((v|0)!=(h+p|0)){z=169;break a}else{p=w;h=t}}else{p=w;h=t}break}default:{p=w;h=t}}while(0);f:do if((z|0)==26){z=0;if((x|0)==3){v=w;z=252;break a}while(1){p=c[e>>2]|0;do if(p){if((c[p+12>>2]|0)==(c[p+16>>2]|0))if((Tc[c[(c[p>>2]|0)+36>>2]&127](p)|0)==-1){c[e>>2]=0;p=0;break}else{p=c[e>>2]|0;break}}else p=0;while(0);p=(p|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(p)break;else{p=w;h=t;break f}if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1){if(!p){p=w;h=t;break f}}else z=36}else z=36;while(0);if((z|0)==36){z=0;if(p){p=w;f=0;h=t;break f}else f=0}p=c[e>>2]|0;h=c[p+12>>2]|0;if((h|0)==(c[p+16>>2]|0))p=Tc[c[(c[p>>2]|0)+36>>2]&127](p)|0;else p=d[h>>0]|0;if((p&255)<<24>>24<=-1){p=w;h=t;break f}if(!(b[(c[m+8>>2]|0)+(p<<24>>24<<1)>>1]&8192)){p=w;h=t;break f}p=c[e>>2]|0;h=c[p+12>>2]|0;if((h|0)==(c[p+16>>2]|0))p=Tc[c[(c[p>>2]|0)+40>>2]&127](p)|0;else{c[p+12>>2]=h+1;p=d[h>>0]|0}Uua(A+452|0,p&255)}}while(0);x=x+1|0;if(x>>>0>=4){v=p;t=h;z=252;break}else{w=p;t=h}}g:do if((z|0)==25){c[k>>2]=c[k>>2]|4;f=0}else if((z|0)==120){c[k>>2]=c[k>>2]|4;f=0}else if((z|0)==169){c[k>>2]=c[k>>2]|4;f=0}else if((z|0)==219){c[k>>2]=c[k>>2]|4;f=0}else if((z|0)==239){c[k>>2]=c[k>>2]|4;f=0}else if((z|0)==250){c[k>>2]=c[k>>2]|4;f=0}else if((z|0)==252){h:do if(t){s=t+1|0;r=t+8|0;q=t+4|0;h=f;p=1;i:while(1){f=a[t>>0]|0;if(!(f&1))f=(f&255)>>>1;else f=c[q>>2]|0;if(p>>>0>=f>>>0)break h;f=c[e>>2]|0;do if(f){if((c[f+12>>2]|0)==(c[f+16>>2]|0))if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)==-1){c[e>>2]=0;f=0;break}else{f=c[e>>2]|0;break}}else f=0;while(0);f=(f|0)==0;do if(h){if((c[h+12>>2]|0)!=(c[h+16>>2]|0))if(f)break;else break i;if((Tc[c[(c[h>>2]|0)+36>>2]&127](h)|0)!=-1){if(!f)break i}else z=267}else z=267;while(0);if((z|0)==267){z=0;if(f)break;else h=0}f=c[e>>2]|0;g=c[f+12>>2]|0;if((g|0)==(c[f+16>>2]|0))f=Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0;else f=d[g>>0]|0;if(!(a[t>>0]&1))g=s;else g=c[r>>2]|0;if((f&255)<<24>>24!=(a[g+p>>0]|0))break;p=p+1|0;f=c[e>>2]|0;g=c[f+12>>2]|0;if((g|0)==(c[f+16>>2]|0)){Tc[c[(c[f>>2]|0)+40>>2]&127](f)|0;continue}else{c[f+12>>2]=g+1;continue}}c[k>>2]=c[k>>2]|4;f=0;break g}while(0);f=c[A+16>>2]|0;if((f|0)!=(v|0)?(c[A+484>>2]=0,Aza(A+440|0,f,v,A+484|0),(c[A+484>>2]|0)!=0):0){c[k>>2]=c[k>>2]|4;f=0}else f=1}while(0);Oua(A+452|0);Oua(A+472|0);Oua(A+4|0);Oua(A+24|0);Oua(A+440|0);g=c[A+16>>2]|0;c[A+16>>2]=0;if(g)Qc[c[A+16+4>>2]&511](g);i=A;return f|0}function xza(a){a=a|0;var b=0;b=Kb(8)|0;Fua(b,a);Gc(b|0,1715176,210)}function yza(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0;p=i;i=i+128|0;c[p+8>>2]=p+20;c[p+12>>2]=254;hva(p,h);n=c[p>>2]|0;d=pAa(n,1706600)|0;a[p+16>>0]=0;m=c[f>>2]|0;if(wza(e,m,g,n,c[h+4>>2]|0,j,p+16|0,d,p+8|0,p+4|0,p+120|0)|0){if(!(a[k>>0]&1)){a[k+1>>0]=0;a[k>>0]=0}else{a[c[k+8>>2]>>0]=0;c[k+4>>2]=0}if(a[p+16>>0]|0)Uua(k,bd[c[(c[d>>2]|0)+28>>2]&63](d,45)|0);g=bd[c[(c[d>>2]|0)+28>>2]&63](d,48)|0;d=c[p+8>>2]|0;l=c[p+4>>2]|0;a:do if(d>>>0<(l+-1|0)>>>0){h=d;while(1){d=h+1|0;if((a[h>>0]|0)!=g<<24>>24){d=h;break a}if(d>>>0<(l+-1|0)>>>0)h=d;else break}}while(0);OCa(k,d,l)}d=c[e>>2]|0;do if(d){if((c[d+12>>2]|0)==(c[d+16>>2]|0))if((Tc[c[(c[d>>2]|0)+36>>2]&127](d)|0)==-1){c[e>>2]=0;d=0;break}else{d=c[e>>2]|0;break}}else d=0;while(0);d=(d|0)==0;do if(m){if((c[m+12>>2]|0)!=(c[m+16>>2]|0))if(d)break;else{o=23;break}if((Tc[c[(c[m>>2]|0)+36>>2]&127](m)|0)!=-1)if(d)break;else{o=23;break}else{c[f>>2]=0;o=21;break}}else o=21;while(0);if((o|0)==21?d:0)o=23;if((o|0)==23)c[j>>2]=c[j>>2]|2;c[b>>2]=c[e>>2];Dua(n);d=c[p+8>>2]|0;c[p+8>>2]=0;if(d)Qc[c[p+8+4>>2]&511](d);i=p;return}function zza(b,d,e,f,g,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0;n=i;i=i+112|0;if(b){b=pAa(d,1706040)|0;Rc[c[(c[b>>2]|0)+44>>2]&63](n,b);d=c[n>>2]|0;a[e>>0]=d;a[e+1>>0]=d>>8;a[e+2>>0]=d>>16;a[e+3>>0]=d>>24;Rc[c[(c[b>>2]|0)+32>>2]&63](n+40|0,b);if(!(a[l>>0]&1)){a[l+1>>0]=0;a[l>>0]=0}else{a[c[l+8>>2]>>0]=0;c[l+4>>2]=0}Tua(l);c[l+0>>2]=c[n+40>>2];c[l+4>>2]=c[n+44>>2];c[l+8>>2]=c[n+48>>2];c[n+40>>2]=0;c[n+44>>2]=0;c[n+48>>2]=0;Oua(n+40|0);Rc[c[(c[b>>2]|0)+28>>2]&63](n+76|0,b);if(!(a[k>>0]&1)){a[k+1>>0]=0;a[k>>0]=0}else{a[c[k+8>>2]>>0]=0;c[k+4>>2]=0}Tua(k);c[k+0>>2]=c[n+76>>2];c[k+4>>2]=c[n+80>>2];c[k+8>>2]=c[n+84>>2];c[n+76>>2]=0;c[n+80>>2]=0;c[n+84>>2]=0;Oua(n+76|0);a[f>>0]=Tc[c[(c[b>>2]|0)+12>>2]&127](b)|0;a[g>>0]=Tc[c[(c[b>>2]|0)+16>>2]&127](b)|0;Rc[c[(c[b>>2]|0)+20>>2]&63](n+4|0,b);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[h+8>>2]>>0]=0;c[h+4>>2]=0}Tua(h);c[h+0>>2]=c[n+4>>2];c[h+4>>2]=c[n+8>>2];c[h+8>>2]=c[n+12>>2];c[n+4>>2]=0;c[n+8>>2]=0;c[n+12>>2]=0;Oua(n+4|0);Rc[c[(c[b>>2]|0)+24>>2]&63](n+88|0,b);if(!(a[j>>0]&1)){a[j+1>>0]=0;a[j>>0]=0}else{a[c[j+8>>2]>>0]=0;c[j+4>>2]=0}Tua(j);c[j+0>>2]=c[n+88>>2];c[j+4>>2]=c[n+92>>2];c[j+8>>2]=c[n+96>>2];c[n+88>>2]=0;c[n+92>>2]=0;c[n+96>>2]=0;Oua(n+88|0);b=Tc[c[(c[b>>2]|0)+36>>2]&127](b)|0}else{b=pAa(d,1705976)|0;Rc[c[(c[b>>2]|0)+44>>2]&63](n+100|0,b);d=c[n+100>>2]|0;a[e>>0]=d;a[e+1>>0]=d>>8;a[e+2>>0]=d>>16;a[e+3>>0]=d>>24;Rc[c[(c[b>>2]|0)+32>>2]&63](n+28|0,b);if(!(a[l>>0]&1)){a[l+1>>0]=0;a[l>>0]=0}else{a[c[l+8>>2]>>0]=0;c[l+4>>2]=0}Tua(l);c[l+0>>2]=c[n+28>>2];c[l+4>>2]=c[n+32>>2];c[l+8>>2]=c[n+36>>2];c[n+28>>2]=0;c[n+32>>2]=0;c[n+36>>2]=0;Oua(n+28|0);Rc[c[(c[b>>2]|0)+28>>2]&63](n+64|0,b);if(!(a[k>>0]&1)){a[k+1>>0]=0;a[k>>0]=0}else{a[c[k+8>>2]>>0]=0;c[k+4>>2]=0}Tua(k);c[k+0>>2]=c[n+64>>2];c[k+4>>2]=c[n+68>>2];c[k+8>>2]=c[n+72>>2];c[n+64>>2]=0;c[n+68>>2]=0;c[n+72>>2]=0;Oua(n+64|0);a[f>>0]=Tc[c[(c[b>>2]|0)+12>>2]&127](b)|0;a[g>>0]=Tc[c[(c[b>>2]|0)+16>>2]&127](b)|0;Rc[c[(c[b>>2]|0)+20>>2]&63](n+52|0,b);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[h+8>>2]>>0]=0;c[h+4>>2]=0}Tua(h);c[h+0>>2]=c[n+52>>2];c[h+4>>2]=c[n+56>>2];c[h+8>>2]=c[n+60>>2];c[n+52>>2]=0;c[n+56>>2]=0;c[n+60>>2]=0;Oua(n+52|0);Rc[c[(c[b>>2]|0)+24>>2]&63](n+16|0,b);if(!(a[j>>0]&1)){a[j+1>>0]=0;a[j>>0]=0}else{a[c[j+8>>2]>>0]=0;c[j+4>>2]=0}Tua(j);c[j+0>>2]=c[n+16>>2];c[j+4>>2]=c[n+20>>2];c[j+8>>2]=c[n+24>>2];c[n+16>>2]=0;c[n+20>>2]=0;c[n+24>>2]=0;Oua(n+16|0);b=Tc[c[(c[b>>2]|0)+36>>2]&127](b)|0}c[m>>2]=b;i=n;return} -function jP(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=i;i=i+16|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;g=(c[a+8>>2]|0)+(d<<4)|0;c[e+0>>2]=c[g+0>>2];c[e+4>>2]=c[g+4>>2];c[e+8>>2]=c[g+8>>2];c[e+12>>2]=c[g+12>>2];Rc[f&63](b,e);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function kP(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<4)|0;Ja(1701640,1701680,663,1701712);return 0}function lP(a,b,d){a=a|0;b=b|0;d=d|0;CP(a,b,d,0);c[a>>2]=301920;return}function mP(b,d){b=b|0;d=d|0;var e=0,f=0;a[b>>0]=0;DP(b+4|0);EP(b+24|0);c[b+44>>2]=0;FP(b+24|0,d);if((d|0)>0){e=0;do{f=WEa(16)|0;c[f>>2]=0;c[f+4>>2]=0;g[f+8>>2]=3402823466385288598117041.0e14;c[f+12>>2]=0;GP(b+24|0,f);e=e+1|0}while((e|0)<(d|0))}return}function nP(a){a=a|0;HP(a+24|0);jP(a+4|0);return}function oP(a,b){a=a|0;b=b|0;var d=0;d=(c[b+28>>2]|0)+-1|0;return IP(a,bx(b,d)|0,(d|0)==0)|0}function pP(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=d[a+5160>>0]|d[a+5161>>0]<<8|d[a+5162>>0]<<16|d[a+5163>>0]<<24;i=d[a+5164>>0]|d[a+5165>>0]<<8|d[a+5166>>0]<<16|d[a+5167>>0]<<24;if(i&1)h=c[(c[a+(i>>1)>>2]|0)+h>>2]|0;Oc[h&7](a+(i>>1)|0,b,e,f,g);return}function qP(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;g=i;i=i+16|0;if(!((d|0)>-1?(e=c[a>>2]|0,(e|0)>=(d|0)):0)){c[g>>2]=1701680;c[g+4>>2]=691;$L(301680,375920,2,1702e3,g);e=c[a>>2]|0}if((c[a+4>>2]|0)==(e|0)){JP(a);e=c[a>>2]|0}if((e|0)>(d|0)){f=e;do{h=f;f=f+-1|0;j=c[a+8>>2]|0;c[j+(h<<2)>>2]=c[j+(f<<2)>>2]}while((f|0)>(d|0))}c[(c[a+8>>2]|0)+(d<<2)>>2]=b;c[a>>2]=e+1;i=g;return}function rP(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0;l=i;i=i+16|0;if(!((h|0)>-1?(j=c[d>>2]|0,(j|0)>=(h|0)):0)){c[l>>2]=1701680;c[l+4>>2]=691;$L(301680,375920,2,1702e3,l);j=c[d>>2]|0}if((c[d+4>>2]|0)==(j|0)){KP(d);k=c[d>>2]|0}else k=j;j=c[d+8>>2]|0;if((k|0)>(h|0))do{m=j+(k<<3)|0;k=k+-1|0;j=j+(k<<3)|0;c[m+0>>2]=c[j+0>>2];b[m+4>>1]=b[j+4>>1]|0;j=c[d+8>>2]|0}while((k|0)>(h|0));c[j+(h<<3)>>2]=e;a[j+(h<<3)+4>>0]=f;a[j+(h<<3)+5>>0]=g;c[d>>2]=(c[d>>2]|0)+1;i=l;return}function sP(a,b){a=a|0;b=b|0;var c=0;c=e[b>>1]|e[b+2>>1]<<16;if(px(a,+((c&65535)<<16>>16),+((c>>>16&65535)<<16>>16))|0){b=e[b+4>>1]|e[b+6>>1]<<16;b=px(a,+((b&65535)<<16>>16),+((b>>>16&65535)<<16>>16))|0}else b=0;return b|0}function tP(a){a=a|0;c[a>>2]=302120;a=c[a+4>>2]|0;if(a)ZEa(a);return}function uP(a){a=a|0;tP(a);YEa(a);return}function vP(a){a=a|0;return ba(c[a+16>>2]|0,c[a+12>>2]|0)|0}function wP(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((d|0)<(b|0)){c[f>>2]=306584;c[f+4>>2]=255;$L(301680,302064,2,1702e3,f)}e=c[a+16>>2]|0;if((d-b|0)>=(e|0)){c[f>>2]=306584;c[f+4>>2]=256;$L(301680,302080,2,1702e3,f);e=c[a+16>>2]|0}d=d-b+(ba(e,b)|0)|0;i=f;return d|0}function xP(a){a=a|0;tP(a);YEa(a);return}function yP(a,b,d){a=a|0;b=b|0;d=d|0;return (ba(c[a+16>>2]|0,b)|0)+d|0}function zP(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;if(!((b|0)>-1?(d=c[a>>2]|0,(d|0)>(b|0)):0)){c[g>>2]=1701680;c[g+4>>2]=705;$L(301680,1701640,2,1702e3,g);d=c[a>>2]|0}f=d+-1|0;if((f|0)>(b|0)){e=d+-1|0;d=b;do{b=d;d=d+1|0;h=c[a+8>>2]|0;c[h+(b<<2)>>2]=c[h+(d<<2)>>2]}while((d|0)!=(e|0))}c[a>>2]=f;i=g;return}function AP(b,d){b=b|0;d=d|0;var e=0,f=0;f=a[b+10>>0]|0;a:do if(f<<24>>24>0){d=c[d>>2]|0;e=0;while(1){if(!(LP(b+(e<<3)+12|0,d)|0)){d=0;break a}e=e+1|0;if((e|0)>=(f<<24>>24|0)){d=1;break}}}else d=1;while(0);return d|0}function BP(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=c[a>>2]|0;e=c[b>>2]|0;if((!(MP(d,e)|0)?(f=c[b+4>>2]|0,!(MP(d,f)|0)):0)?(g=c[a+4>>2]|0,!(MP(g,e)|0)):0)d=MP(g,f)|0;else d=1;return d|0}function CP(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;c[a>>2]=302120;c[a+8>>2]=e;c[a+12>>2]=b;c[a+16>>2]=d;f=ba(b,d)|0;c[a+4>>2]=XEa(f>>>0>1073741823?-1:f<<2)|0;if((b|0)>0){f=0;do{if((d|0)>0){e=0;do{b=c[a+8>>2]|0;d=Vc[c[(c[a>>2]|0)+12>>2]&63](a,f,e)|0;c[(c[a+4>>2]|0)+(d<<2)>>2]=b;e=e+1|0;d=c[a+16>>2]|0}while((e|0)<(d|0));b=c[a+12>>2]|0}f=f+1|0}while((f|0)<(b|0))}return}function DP(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;NP(a,4);return}function EP(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;FP(a,4);return}function FP(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function GP(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){JP(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function HP(a){a=a|0;OP(a);PP(a);return}function IP(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if(!((a[b+92>>0]|0)==0|e)?(f=(c[(c[b+32>>2]|0)+184>>2]|0)+(d*112|0)+84|0,(c[f>>2]|0)==1):0){f=c[(Ik(f,0)|0)>>2]|0;f=(f|0)==(c[b+64>>2]|0)}else f=0;return f|0}function JP(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)FP(a,4);else FP(a,b<<1);return}function KP(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)QP(a,4);else QP(a,b<<1);return}function LP(a,b){a=a|0;b=b|0;if(RP(b,c[a>>2]|0)|0)b=RP(b,c[a+4>>2]|0)|0;else b=0;return b|0}function MP(a,c){a=a|0;c=c|0;if((b[a>>1]|0)==(b[c>>1]|0))c=(b[a+2>>1]|0)==(b[c+2>>1]|0);else c=0;return c|0}function NP(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(!((d|0)<1?1:(c[b+4>>2]|0)>=(d|0))){h=XEa(d>>>0>268435455?-1:d<<4)|0;if(d){e=h;do{c[e>>2]=-1;c[e+4>>2]=-1;a[e+8>>0]=0;a[e+9>>0]=0;c[e+12>>2]=-1;e=e+16|0}while((e|0)!=(h+(d<<4)|0))}f=c[b>>2]|0;if((f|0)>0){g=0;do{i=h+(g<<4)|0;e=c[b+8>>2]|0;j=e+(g<<4)|0;c[i+0>>2]=c[j+0>>2];c[i+4>>2]=c[j+4>>2];c[i+8>>2]=c[j+8>>2];c[i+12>>2]=c[j+12>>2];g=g+1|0}while((g|0)!=(f|0))}else e=c[b+8>>2]|0;if(e)ZEa(e);c[b+8>>2]=h;c[b+4>>2]=d}return}function OP(a){a=a|0;SP(a);PP(a);return}function PP(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function QP(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;if(!((e|0)<1?1:(c[d+4>>2]|0)>=(e|0))){i=XEa(e>>>0>536870911?-1:e<<3)|0;if(e){f=i;do{c[f>>2]=-1;a[f+4>>0]=0;a[f+5>>0]=0;f=f+8|0}while((f|0)!=(i+(e<<3)|0))}g=c[d>>2]|0;if((g|0)>0){h=0;do{j=i+(h<<3)|0;f=c[d+8>>2]|0;k=f+(h<<3)|0;c[j+0>>2]=c[k+0>>2];b[j+4>>1]=b[k+4>>1]|0;h=h+1|0}while((h|0)!=(g|0))}else f=c[d+8>>2]|0;if(f)ZEa(f);c[d+8>>2]=i;c[d+4>>2]=e}return}function RP(a,d){a=a|0;d=d|0;var e=0;a:do if(!a)a=0;else{e=b[d>>1]|0;d=b[d+2>>1]|0;while(1){if(TP(a,e,d)|0){a=1;break a}a=c[a+20>>2]|0;if(!a){a=0;break}}}while(0);return a|0}function SP(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){KL(d,237);YEa(d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0))}return}function TP(a,c,d){a=a|0;c=c|0;d=d|0;if(((b[a>>1]|0)<=c<<16>>16?(b[a+4>>1]|0)>=c<<16>>16:0)?(b[a+6>>1]|0)<=d<<16>>16:0)c=(b[a+2>>1]|0)>=d<<16>>16;else c=0;return c|0}function UP(a,b,d,e){a=a|0;b=+b;d=d|0;e=e|0;var f=0.0,j=0;j=i;i=i+32|0;do if(d){if(c[a+4332>>2]|0){h[k>>3]=b;c[j>>2]=c[k>>2];c[j+4>>2]=c[k+4>>2];jN(302144,j);Yja(d,302184)}if((c[e>>2]|0)>149){c[j+24>>2]=0;g[j+28>>2]=0.0;if(_P(e,j+24|0)|0?(f=+g[j+28>>2],f<=b):0){if(c[a+4332>>2]|0){h[k>>3]=f;c[j>>2]=c[k>>2];c[j+4>>2]=c[k+4>>2];jN(302192,j)}YEa(d);aQ(e,j+24|0);$P(j+24|0);break}if(c[a+4332>>2]|0){f=+g[j+28>>2];h[k>>3]=b;c[j>>2]=c[k>>2];c[j+4>>2]=c[k+4>>2];h[k>>3]=f;c[j+8>>2]=c[k>>2];c[j+12>>2]=c[k+4>>2];jN(302232,j)}$P(j+24|0)}c[j+16>>2]=d;g[j+20>>2]=b;aQ(e,j+16|0);$P(j+16|0)}while(0);i=j;return}function VP(d,f,j,l,m,n,o){d=d|0;f=f|0;j=j|0;l=+l;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+128|0;if(j){p=c[j>>2]|0;c[x+16>>2]=e[p>>1]|e[p+2>>1]<<16;p=c[j+4>>2]|0;bQ(x+16|0,b[p>>1]|0,b[p+2>>1]|0);p=c[x+16>>2]|0;b[x+16>>1]=(p<<16>>16|0)/2|0;b[x+18>>1]=(p>>16|0)/2|0;p=WEa(36)|0;cQ(p,l,x+16|0,j);if((c[d+4332>>2]|0)>1)Yja(p,302288);UP(d,l,p,f);if(!(l>+h[d+4816>>3]))w=5}else w=5;a:do if((w|0)==5?(Eba(x+40|0,c[n>>2]|0),(c[f>>2]|0)!=0):0){u=b[x+40>>1]|0;v=b[x+44>>1]|0;while(1){c[x+8>>2]=0;dQ(f,x+8|0);s=c[x+8>>2]|0;c[x+8>>2]=0;l=+cka(s,u,v,+h[d+4592>>3],c[d+4668>>2]|0,+h[d+4632>>3],+h[d+4736>>3]);if(c[d+4332>>2]|0){h[k>>3]=l;c[x>>2]=c[k>>2];c[x+4>>2]=c[k+4>>2];xGa(x+48|0,302312,x)|0;Yja(s,x+48|0)}p=c[m>>2]|0;if(!((p|0)!=0?!(+g[p>>2]>l):0))w=11;do if((w|0)==11){w=0;if(l<+h[d+4776>>3]){if(!(Tja(s,n,c[d+4436>>2]|0,c[d+4524>>2]|0)|0)){if(!s){l=9999.0;s=0;break}YEa(s);l=9999.0;s=0;break}if(p)YEa(p);q=WEa(36)|0;r=q+0|0;p=s+0|0;t=r+36|0;do{c[r>>2]=c[p>>2];r=r+4|0;p=p+4|0}while((r|0)<(t|0));c[m>>2]=q;g[q>>2]=l}}while(0);r=(s|0)!=0;if(l<+h[d+4816>>3]){w=19;break}do if(r){p=c[o>>2]|0;q=c[d+4460>>2]|0;if((p|0)<(q|0)){WP(d,o,s,f);l=+g[x+12>>2];c[x+32>>2]=s;g[x+36>>2]=l;eQ(o,x+32|0);$P(x+32|0);break}if((a[d+4482>>0]|0)!=0&(p|0)==(q|0)?(l=+g[(fQ(o,0)|0)+4>>2],l>+g[x+12>>2]):0){WP(d,o,s,f);c[x+24>>2]=0;gQ(o,x+24|0);g[x+28>>2]=+g[x+12>>2];hQ(x+24|0,s);eQ(o,x+24|0);$P(x+24|0);break}YEa(s)}while(0);if(!(c[f>>2]|0))l=-1.0;else l=+g[(iQ(f,0)|0)+4>>2];if(l>+h[d+4776>>3])break;if((j|0)!=0?l>+h[d+4816>>3]:0)break;$P(x+8|0);if(!(c[f>>2]|0))break a}if((w|0)==19?!((s|0)==0|r^1):0)YEa(s);$P(x+8|0)}while(0);i=x;return}function WP(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,i=0,j=0,k=0,l=0,m=0;if((c[b>>2]|0)>0){j=0;do{f=c[(fQ(b,j)|0)>>2]|0;if(Rja(d,f,+h[a+4776>>3])|0){i=WEa(36)|0;k=i+0|0;l=d+0|0;m=k+36|0;do{c[k>>2]=c[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(m|0));Sja(i,f);if((c[a+4332>>2]|0)>1)Yja(i,302344);UP(a,+g[i>>2],i,e)}j=j+1|0}while((j|0)<(c[b>>2]|0))}return}function XP(b,d){b=b|0;d=d|0;var e=0,f=0.0,j=0,k=0,l=0,m=0;m=i;i=i+304|0;jQ(m+40|0,c[b+4460>>2]|0);c[m+288>>2]=0;c[m+292>>2]=0;kQ(m+20|0);e=c[d>>2]|0;if(e)do{FO(b,e,m+20|0);e=c[e+20>>2]|0}while((e|0)!=0);j=0;while(1){e=j&65535;if(!((c[m+20>>2]|0)!=0&e<<16>>16<50))break;c[m+88+(j<<2)>>2]=c[(NO(m+20|0,0)|0)>>2];lQ(m+20|0);j=j+1|0}mQ(m);YP(b,m+88|0,e,m,m+40|0,m+292|0,d);ZP(b,m+88|0,e,m+288|0,m,m+40|0,m+292|0,d);e=c[m+292>>2]|0;if(e){f=+g[e>>2];if(f>+h[b+4816>>3])VP(b,m,0,f,m+292|0,d,m+40|0)}else VP(b,m,0,9999.0,m+292|0,d,m+40|0);fA(m+60|0,m+288|0);gA(m+60|0);e=c[m+292>>2]|0;while(1){if((hA(m+60|0)|0)<<24>>24)break;l=iA(m+60|0)|0;if(!((e|0)!=0?oQ(e,l)|0:0)){j=c[d>>2]|0;if(j)do{k=j+16|0;if((c[k>>2]|0)==(l|0))c[k>>2]=c[l+12>>2];j=c[j+20>>2]|0}while((j|0)!=0);mka(l)}DL(m+60|0)|0}if(e){if(+g[e>>2]>+h[b+4776>>3]){YEa(e);c[m+292>>2]=0;e=0}}else e=0;if(c[b+4332>>2]|0)a[365890]=0;nQ(m);pQ(m+20|0);BL(m+288|0);qQ(m+40|0);i=m;return e|0}function YP(a,d,e,f,g,h,j){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0.0;B=i;i=i+16|0;if(e<<16>>16>0){x=1;z=0;while(1){A=z;z=z+1|0;if((z&65535)<<16>>16>16){y=x;do{t=c[d+(y<<2)>>2]|0;do if((((t|0)!=0?(u=c[d+(A<<2)>>2]|0,p=b[u>>1]|0,q=b[u+2>>1]|0,r=b[t>>1]|0,s=b[t+2>>1]|0,o=rQ(p,q,r,s,c[a+4852>>2]|0)|0,(o|0)<(c[a+4388>>2]|0)):0)?(v=c[t+12>>2]|0,(u|0)!=(v|0)):0)?(w=c[u+12>>2]|0,(t|0)!=(w|0)):0){l=c[u+16>>2]|0;m=b[l>>1]|0;o=c[a+4412>>2]|0;if(((((m<<16>>16)-(r<<16>>16)|0)>-1?(m<<16>>16)-(r<<16>>16)|0:0-((m<<16>>16)-(r<<16>>16))|0)|0)<(o|0)?(n=(b[l+2>>1]|0)-(s<<16>>16)|0,(((n|0)>-1?n:0-n|0)|0)<(o|0)):0)break;n=b[w>>1]|0;k=b[w+2>>1]|0;if(((((n<<16>>16)-(r<<16>>16)|0)>-1?(n<<16>>16)-(r<<16>>16)|0:0-((n<<16>>16)-(r<<16>>16))|0)|0)<(o|0)?((((k<<16>>16)-(s<<16>>16)|0)>-1?(k<<16>>16)-(s<<16>>16)|0:0-((k<<16>>16)-(s<<16>>16))|0)|0)<(o|0):0)break;l=b[l+2>>1]|0;n=BO(m,l,p,q,n,k)|0;if((n-(BO(m,l,p,q,r,s)|0)|0)<=20){n=c[t+16>>2]|0;m=b[n>>1]|0;if(((((m<<16>>16)-(p<<16>>16)|0)>-1?(m<<16>>16)-(p<<16>>16)|0:0-((m<<16>>16)-(p<<16>>16))|0)|0)<(o|0)?(l=(b[n+2>>1]|0)-(q<<16>>16)|0,(((l|0)>-1?l:0-l|0)|0)<(o|0)):0)break;l=b[v>>1]|0;k=b[v+2>>1]|0;if(((((l<<16>>16)-(p<<16>>16)|0)>-1?(l<<16>>16)-(p<<16>>16)|0:0-((l<<16>>16)-(p<<16>>16))|0)|0)<(o|0)?((((k<<16>>16)-(q<<16>>16)|0)>-1?(k<<16>>16)-(q<<16>>16)|0:0-((k<<16>>16)-(q<<16>>16))|0)|0)<(o|0):0)break;o=b[n+2>>1]|0;n=BO(m,o,r,s,l,k)|0;if((n-(BO(m,o,r,s,p,q)|0)|0)<=20){c[B>>2]=u;c[B+4>>2]=t;C=+JQ(a,p,q,r,s);VP(a,f,B,C+ +KQ(a,u,t),h,j,g)}}}while(0);y=y+1|0}while((y&65535)<<16>>16!=e<<16>>16)}if((z&65535)<<16>>16==e<<16>>16)break;else x=x+1|0}}i=B;return}function ZP(a,d,e,f,g,h,j,k){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0;t=i;i=i+16|0;c[t+8>>2]=0;if(e<<16>>16>0){s=0;do{c[t+8>>2]=0;l=c[k>>2]|0;if(l){r=d+(s<<2)|0;do{IO(a,c[r>>2]|0,c[l+16>>2]|0,t+8|0,f);l=c[l+20>>2]|0}while((l|0)!=0);l=c[t+8>>2]|0;if((((l|0)!=0?(q=c[r>>2]|0,(q|0)!=(c[l+12>>2]|0)):0)?(l|0)!=(c[q+12>>2]|0):0)?(m=b[q>>1]|0,n=b[q+2>>1]|0,o=b[l>>1]|0,p=b[l+2>>1]|0,r=rQ(m,n,o,p,c[a+4852>>2]|0)|0,(r|0)<(c[a+4388>>2]|0)):0){c[t>>2]=q;c[t+4>>2]=l;u=+JQ(a,m,n,o,p);VP(a,g,t,u+ +KQ(a,q,l),j,k,h)}}s=s+1|0}while((s&65535)<<16>>16!=e<<16>>16)}i=t;return}function _P(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,j=0,k=0;h=i;i=i+16|0;f=c[a>>2]|0;if(f){if((f+-2|0)>(((f|0)/2|0)+-1|0)){e=f+-2|0;d=f+-1|0;do{k=iQ(a,d)|0;j=iQ(a,e)|0;d=+g[k+4>>2]<+g[j+4>>2]?e:d;e=e+-1|0}while((e|0)>(((f|0)/2|0)+-1|0))}else d=f+-1|0;if(b)sQ(b,iQ(a,d)|0);if((f+-1|0)>0){k=iQ(a,f+-1|0)|0;c[h>>2]=c[k>>2];g[h+4>>2]=+g[k+4>>2];c[k>>2]=0;sQ(iQ(a,tQ(a,d,h)|0)|0,h);$P(h)}if((c[a>>2]|0)>(f+-1|0)){c[a>>2]=f+-1;d=1}else d=1}else d=0;i=h;return d|0}function $P(a){a=a|0;var b=0;b=c[a>>2]|0;if(b)YEa(b);c[a>>2]=0;return}function aQ(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+16|0;e=c[a>>2]|0;c[d>>2]=c[b>>2];g[d+4>>2]=+g[b+4>>2];c[b>>2]=0;uQ(a,d);$P(d);sQ(b,vQ(a)|0);sQ(iQ(a,tQ(a,e,b)|0)|0,b);i=d;return}function bQ(a,c,d){a=a|0;c=c|0;d=d|0;b[a>>1]=(e[a>>1]|0)+(c&65535);b[a+2>>1]=(e[a+2>>1]|0)+(d&65535);return}function cQ(d,f,h,i){d=d|0;f=+f;h=h|0;i=i|0;g[d>>2]=f;h=e[h>>1]|e[h+2>>1]<<16;b[d+4>>1]=h;b[d+6>>1]=h>>>16;a[d+8>>0]=0;a[d+9>>0]=0;a[d+10>>0]=1;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;c[d+24>>2]=0;c[d+28>>2]=0;c[d+32>>2]=0;h=c[i+4>>2]|0;c[d+12>>2]=c[i>>2];c[d+16>>2]=h;return}function dQ(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;d=c[a>>2]|0;do if((d|0)>=1){if(b)sQ(b,iQ(a,0)|0);if((d+-1|0)<=0){if((c[a>>2]|0)<=(d+-1|0))break;c[a>>2]=d+-1;break}b=iQ(a,d+-1|0)|0;c[e>>2]=c[b>>2];g[e+4>>2]=+g[b+4>>2];c[b>>2]=0;if((c[a>>2]|0)>(d+-1|0))c[a>>2]=d+-1;sQ(iQ(a,wQ(a,e)|0)|0,e);$P(e)}while(0);i=e;return}function eQ(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+16|0;e=c[a>>2]|0;c[d>>2]=c[b>>2];g[d+4>>2]=+g[b+4>>2];c[b>>2]=0;xQ(a,d);$P(d);sQ(b,yQ(a)|0);sQ(fQ(a,zQ(a,e,b)|0)|0,b);i=d;return}function fQ(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<3)|0;Ja(1701640,1701680,663,1701712);return 0}function gQ(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;d=c[a>>2]|0;do if((d|0)>=1){if(b)sQ(b,fQ(a,0)|0);if((d+-1|0)<=0){if((c[a>>2]|0)<=(d+-1|0))break;c[a>>2]=d+-1;break}b=fQ(a,d+-1|0)|0;c[e>>2]=c[b>>2];g[e+4>>2]=+g[b+4>>2];c[b>>2]=0;if((c[a>>2]|0)>(d+-1|0))c[a>>2]=d+-1;sQ(fQ(a,AQ(a,e)|0)|0,e);$P(e)}while(0);i=e;return}function hQ(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if(d)YEa(d);c[a>>2]=b;return}function iQ(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<3)|0;Ja(1701640,1701680,663,1701712);return 0}function jQ(a,b){a=a|0;b=b|0;BQ(a);CQ(a,b);return}function kQ(a){a=a|0;DQ(a);PO(a,50);return}function lQ(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;b=c[a>>2]|0;do if((b|0)>=1){if((b+-1|0)<=0){c[a>>2]=b+-1;break}d=NO(a,b+-1|0)|0;e=c[d>>2]|0;d=c[d+4>>2]|0;c[f>>2]=e;c[f+4>>2]=d;if((c[a>>2]|0)>(b+-1|0))c[a>>2]=b+-1;a=NO(a,EQ(a,f)|0)|0;c[a>>2]=e;c[a+4>>2]=d}while(0);i=f;return}function mQ(a){a=a|0;FQ(a);GQ(a,150);return}function nQ(a){a=a|0;var b=0,d=0,e=0,f=0,h=0,j=0;e=i;i=i+16|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;j=c[a+8>>2]|0;h=j+(d<<3)|0;c[e>>2]=c[h>>2];g[e+4>>2]=+g[j+(d<<3)+4>>2];c[h>>2]=0;Rc[f&63](b,e);$P(e);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b){d=c[b+-4>>2]|0;if(d){d=b+(d<<3)|0;do{d=d+-8|0;$P(d)}while((d|0)!=(b|0))}ZEa(b+-4|0)}c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function oQ(b,d){b=b|0;d=d|0;var e=0,f=0;e=a[b+10>>0]|0;a:do if(e<<24>>24>0){f=0;while(1){if((c[b+(f<<3)+12>>2]|0)==(d|0)){e=1;break a}if((c[b+(f<<3)+16>>2]|0)==(d|0)){e=1;break a}f=f+1|0;if((f|0)>=(e<<24>>24|0)){e=0;break}}}else e=0;while(0);return e|0}function pQ(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;e=i;i=i+16|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;h=(c[a+8>>2]|0)+(d<<3)|0;g=c[h+4>>2]|0;c[e>>2]=c[h>>2];c[e+4>>2]=g;c[e+8>>2]=c[e+0>>2];c[e+12>>2]=c[e+4>>2];Rc[f&63](b,e+8|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function qQ(a){a=a|0;var b=0,d=0,e=0,f=0,h=0,j=0;e=i;i=i+16|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;j=c[a+8>>2]|0;h=j+(d<<3)|0;c[e>>2]=c[h>>2];g[e+4>>2]=+g[j+(d<<3)+4>>2];c[h>>2]=0;Rc[f&63](b,e);$P(e);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b){d=c[b+-4>>2]|0;if(d){d=b+(d<<3)|0;do{d=d+-8|0;$P(d)}while((d|0)!=(b|0))}ZEa(b+-4|0)}c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function rQ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return (ba((b<<16>>16)-(d<<16>>16)|0,(b<<16>>16)-(d<<16>>16)|0)|0)+(ba(ba((a<<16>>16)-(c<<16>>16)|0,e)|0,(a<<16>>16)-(c<<16>>16)|0)|0)|0}function sQ(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if(d)YEa(d);c[a>>2]=c[b>>2];c[b>>2]=0;g[a+4>>2]=+g[b+4>>2];return}function tQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:do if((b|0)>0)while(1){d=((b+1|0)/2|0)+-1|0;e=iQ(a,d)|0;if(!(+g[c+4>>2]<+g[e+4>>2]))break a;e=iQ(a,b)|0;sQ(e,iQ(a,d)|0);if((d|0)>0)b=d;else{b=d;break}}while(0);return b|0}function uQ(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){HQ(a);d=c[a>>2]|0}c[a>>2]=d+1;sQ((c[a+8>>2]|0)+(d<<3)|0,b);return}function vQ(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if((b|0)<=0){c[d>>2]=1701680;c[d+4>>2]=669;$L(302136,375960,2,1702e3,d);b=c[a>>2]|0}i=d;return (c[a+8>>2]|0)+(b+-1<<3)|0}function wQ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0.0;f=c[a>>2]|0;a:do if((f|0)>1){e=0;h=1;while(1){d=h+1|0;if((d|0)<(f|0)){j=iQ(a,d)|0;i=iQ(a,h)|0;d=+g[j+4>>2]<+g[i+4>>2]?d:h}else d=h;k=+g[(iQ(a,d)|0)+4>>2];if(!(k<+g[b+4>>2])){d=e;break a}h=iQ(a,e)|0;sQ(h,iQ(a,d)|0);h=d<<1|1;if((h|0)>=(f|0))break;else e=d}}else d=0;while(0);return d|0}function xQ(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){IQ(a);d=c[a>>2]|0}c[a>>2]=d+1;sQ((c[a+8>>2]|0)+(d<<3)|0,b);return}function yQ(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if((b|0)<=0){c[d>>2]=1701680;c[d+4>>2]=669;$L(302136,375960,2,1702e3,d);b=c[a>>2]|0}i=d;return (c[a+8>>2]|0)+(b+-1<<3)|0}function zQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:do if((b|0)>0)while(1){d=((b+1|0)/2|0)+-1|0;e=fQ(a,d)|0;if(!(+g[c+4>>2]>+g[e+4>>2]))break a;e=fQ(a,b)|0;sQ(e,fQ(a,d)|0);if((d|0)>0)b=d;else{b=d;break}}while(0);return b|0}function AQ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0.0;f=c[a>>2]|0;a:do if((f|0)>1){e=0;h=1;while(1){d=h+1|0;if((d|0)<(f|0)){j=fQ(a,d)|0;i=fQ(a,h)|0;d=+g[j+4>>2]>+g[i+4>>2]?d:h}else d=h;k=+g[(fQ(a,d)|0)+4>>2];if(!(k>+g[b+4>>2])){d=e;break a}h=fQ(a,e)|0;sQ(h,fQ(a,d)|0);h=d<<1|1;if((h|0)>=(f|0))break;else e=d}}else d=0;while(0);return d|0}function BQ(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;CQ(a,4);return}function CQ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){g=XEa(b>>>0>536870911|b<<3>>>0>4294967291?-1:(b<<3)+4|0)|0;c[g>>2]=b;if(b){d=g+4|0;do{c[d>>2]=0;d=d+8|0}while((d|0)!=(g+4+(b<<3)|0))}d=c[a+8>>2]|0;if((c[a>>2]|0)>0){e=0;do{sQ(g+4+(e<<3)|0,d+(e<<3)|0);e=e+1|0;d=c[a+8>>2]|0}while((e|0)<(c[a>>2]|0))}if(d){f=d+-4|0;e=c[f>>2]|0;if(e){e=d+(e<<3)|0;do{e=e+-8|0;$P(e)}while((e|0)!=(d|0))}ZEa(f)}c[a+8>>2]=g+4;c[a+4>>2]=b}return}function DQ(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;PO(a,4);return}function EQ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0.0;f=c[a>>2]|0;a:do if((f|0)>1){e=0;h=1;while(1){d=h+1|0;if((d|0)<(f|0)){j=NO(a,d)|0;i=NO(a,h)|0;d=+g[j+4>>2]<+g[i+4>>2]?d:h}else d=h;k=+g[(NO(a,d)|0)+4>>2];if(!(k<+g[b+4>>2])){d=e;break a}h=NO(a,e)|0;i=NO(a,d)|0;j=c[i+4>>2]|0;c[h>>2]=c[i>>2];c[h+4>>2]=j;h=d<<1|1;if((h|0)>=(f|0))break;else e=d}}else d=0;while(0);return d|0}function FQ(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;GQ(a,4);return}function GQ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){g=XEa(b>>>0>536870911|b<<3>>>0>4294967291?-1:(b<<3)+4|0)|0;c[g>>2]=b;if(b){d=g+4|0;do{c[d>>2]=0;d=d+8|0}while((d|0)!=(g+4+(b<<3)|0))}d=c[a+8>>2]|0;if((c[a>>2]|0)>0){e=0;do{sQ(g+4+(e<<3)|0,d+(e<<3)|0);e=e+1|0;d=c[a+8>>2]|0}while((e|0)<(c[a>>2]|0))}if(d){f=d+-4|0;e=c[f>>2]|0;if(e){e=d+(e<<3)|0;do{e=e+-8|0;$P(e)}while((e|0)!=(d|0))}ZEa(f)}c[a+8>>2]=g+4;c[a+4>>2]=b}return}function HQ(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)GQ(a,4);else GQ(a,b<<1);return}function IQ(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)CQ(a,4);else CQ(a,b<<1);return}function JQ(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0.0;g=+(rQ(b,d,e,f,c[a+4852>>2]|0)|0);if(!(g<=0.0)){g=+R(+g);g=g*+h[a+4552>>3]}else g=0.0;return +(!(g<=0.0)?g:0.0)}function KQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0;d=+AO(b);d=d+ +AO(c);if(d<-360.0)d=0.0;else d=d+360.0;return +(d*+h[a+4696>>3])}function LQ(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;rJ(b,0,302376,302408,0,(c[e+32>>2]|0)+364|0);Wk(b+24|0,0,302440,302464,1,(c[e+32>>2]|0)+364|0);rJ(b+40|0,8,302512,302544,0,(c[e+32>>2]|0)+364|0);rJ(b+64|0,10,302592,302640,0,(c[e+32>>2]|0)+364|0);rJ(b+88|0,500,302768,302808,0,(c[e+32>>2]|0)+364|0);tJ(b+112|0,1.0e-06,302864,302896,(c[e+32>>2]|0)+364|0);tJ(b+152|0,-40.0,303008,303048,(c[e+32>>2]|0)+364|0);Wk(b+192|0,0,303104,369848,0,(c[e+32>>2]|0)+364|0);tJ(b+208|0,.03,303152,303192,(c[e+32>>2]|0)+364|0);tJ(b+248|0,16.0,303272,303312,(c[e+32>>2]|0)+364|0);Wk(b+288|0,1,303408,303456,0,(c[e+32>>2]|0)+364|0);rJ(b+304|0,3,303488,303528,0,(c[e+32>>2]|0)+364|0);tJ(b+328|0,.1,303568,303616,(c[e+32>>2]|0)+364|0);tJ(b+368|0,.15,303672,303712,(c[e+32>>2]|0)+364|0);tJ(b+408|0,.2,303752,303784,(c[e+32>>2]|0)+364|0);tJ(b+448|0,.1,303824,303856,(c[e+32>>2]|0)+364|0);tJ(b+488|0,.5,303888,303920,(c[e+32>>2]|0)+364|0);tJ(b+528|0,.3,303952,303984,(c[e+32>>2]|0)+364|0);tJ(b+568|0,0.0,304024,304056,(c[e+32>>2]|0)+364|0);tJ(b+608|0,.05,304088,304120,(c[e+32>>2]|0)+364|0);tJ(b+648|0,.01,304160,304200,(c[e+32>>2]|0)+364|0);rJ(b+688|0,0,304224,304256,0,(c[e+32>>2]|0)+364|0);Wk(b+712|0,0,304280,304320,1,(c[e+32>>2]|0)+364|0);c[b+736>>2]=d;c[b+740>>2]=e;a[b+744>>0]=0;g[b+748>>2]=0.0;NM(b+752|0);a[b+768>>0]=0;bR(b+772|0);if(!(c[b+740>>2]|0)){c[f>>2]=304376;c[f+4>>2]=125;$L(302368,304360,2,1702e3,f)}d=WEa(12)|0;e=WEa(20)|0;c[e+0>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;c[e+12>>2]=0;c[e+16>>2]=0;cR(e);c[d>>2]=0;c[d+4>>2]=e;c[d+8>>2]=0;c[b+728>>2]=d;d=WEa(20)|0;c[d+0>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;cR(d);c[b+760>>2]=d;d=WEa(20)|0;c[d+0>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;cR(d);c[b+764>>2]=d;i=f;return}function MQ(a){a=a|0;var b=0,d=0;b=c[a+760>>2]|0;if(b){eR(b);YEa(b)}b=c[a+764>>2]|0;if(b){eR(b);YEa(b)}b=c[a+728>>2]|0;d=c[b+4>>2]|0;if(d){eR(d);YEa(d);b=c[a+728>>2]|0}if(b)YEa(b);dR(a+772|0);RM(c[a+752>>2]|0);Xk(a+712|0);xJ(a+688|0);wJ(a+648|0);wJ(a+608|0);wJ(a+568|0);wJ(a+528|0);wJ(a+488|0);wJ(a+448|0);wJ(a+408|0);wJ(a+368|0);wJ(a+328|0);xJ(a+304|0);Xk(a+288|0);wJ(a+248|0);wJ(a+208|0);Xk(a+192|0);wJ(a+152|0);wJ(a+112|0);xJ(a+88|0);xJ(a+64|0);xJ(a+40|0);Xk(a+24|0);xJ(a);return}function NQ(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=+f;h=+h;var j=0,k=0,l=0,m=0;m=i;i=i+16|0;a[b+744>>0]=e&1;g[b+748>>2]=f;g[b+732>>2]=h;a[b+768>>0]=0;a[b+769>>0]=0;l=c[b+760>>2]|0;c[l>>2]=0;Bma(c[b+740>>2]|0,l,0);l=c[b+764>>2]|0;c[l>>2]=0;Cma(c[b+740>>2]|0,l,0);a:do if(a[b+34>>0]|0){if((d|0)!=0?($M(jk(d)|0,0)|0)<<24>>24!=0:0){aN(b+752|0,jk(d)|0);if(a[b+298>>0]|0)hN(b+752|0,32)}else fN(b+752|0,1701816);d=VM(c[b+752>>2]|0)|0;e=SM(b+752|0)|0;c[b+756>>2]=0;if(e){k=0;l=d;while(1){j=mN(a[l>>0]|0)|0;if(!j)break;l=l+j|0;k=k+1|0;c[b+756>>2]=k;if((l|0)==(d+e|0))break a}c[m>>2]=304376;c[m+4>>2]=170;$L(302368,304408,2,1702e3,m)}}while(0);i=m;return}function OQ(b,d,e,f,g,h,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0.0,x=0,y=0;y=i;i=i+128|0;do if((c[b+12>>2]|0)>0){c[y>>2]=e;c[y+4>>2]=f;c[y+8>>2]=d?304464:1714496;jN(304432,y);if((c[b+12>>2]|0)>5){c[y>>2]=h;jN(304480,y);break}else{jN(1714256,y);break}}while(0);u=(f+1|0)>=(c[(c[j+136>>2]|0)+12>>2]|0);if(!(a[b+34>>0]|0))w=1.0;else w=+PQ(b,g);v=(c[(c[b+740>>2]|0)+32>>2]|0)+184|0;c[y+116>>2]=0;c[y+84>>2]=0;c[y+120>>2]=0;do if(h){m=QQ(b,h)|0;if((m|0)>=0){m=(m|0)>0;x=12;break}if((c[b+12>>2]|0)>0){jN(304496,y);m=0}else m=0}else{m=0;x=12}while(0);if((x|0)==12){t=(RQ(b,g,y+116|0,y+84|0,y+120|0)|0)&m;if((h|0)!=0?(pk(y,h),rk(y),!(sk(y)|0)):0)do{m=tk(y)|0;c[m+16>>2]=0;n=c[(c[m+8>>2]|0)+4>>2]|0;if(!(!(nx(v,n)|0)?!(ox(v,n)|0):0))x=16;if((x|0)==16?(x=0,o=oO(v,n)|0,(o|0)!=(n|0)):0){pk(y+88|0,h);rk(y+88|0);a:do if(!(sk(y+88|0)|0))do{if((c[(c[(tk(y+88|0)|0)+8>>2]|0)+4>>2]|0)==(o|0))break a;OL(y+88|0)|0}while(!(sk(y+88|0)|0));while(0);if(!(sk(y+88|0)|0))c[m+16>>2]=tk(y+88|0)|0}OL(y)|0}while(!(sk(y)|0));if((h|0)!=0?(c[b+12>>2]|0)>3:0)qS(h,304528);s=c[(fR(k+24|0,f)|0)>>2]|0;c[y+28>>2]=0;pk(y+56|0,g);rk(y+56|0);if(sk(y+56|0)|0)m=0;else{m=0;do{r=tk(y+56|0)|0;b:do if(!(uC(v,c[r+4>>2]|0)|0)){n=xk(y+56|0)|0|m^1;n=n?17:16;if((c[y+116>>2]|0)==(r|0))n=(n&255|2)&255;if((c[y+84>>2]|0)==(r|0))n=(n&255|4)&255;if((c[y+120>>2]|0)==(r|0))n=(n&255|8)&255;if(!h){if(gR(v,r,g)|0)break;o=n&255;if(o&4)n=(o|2)&255;m=m|(SQ(b,n,w,u,e,f,r,s,0,j,k,l)|0);break}pk(y+28|0,h);rk(y+28|0);o=TQ(b,d,t,tk(y+56|0)|0,n,v,j,y+28|0,y+124|0)|0;if(o){p=0;do{q=p;while(1){do if(hR(o)|0){p=q+1|0;if((q|0)<(c[b+76>>2]|0)){if(!(a[b+34>>0]|0)){x=45;break}if(!(a[(c[o+180>>2]|0)+8>>0]|0))x=45}}else{p=q;x=45}while(0);if((x|0)==45){x=0;if(iR(c[o+8>>2]|0,v)|0)break;if(!(gR(v,r,g)|0))break}o=TQ(b,d,t,tk(y+56|0)|0,n,v,j,y+28|0,y+124|0)|0;if(!o)break b;else q=p}q=a[y+124>>0]|0;m=m|(SQ(b,q,w,u,e,f,tk(y+56|0)|0,s,o,j,k,l)|0);o=TQ(b,d,t,tk(y+56|0)|0,n,v,j,y+28|0,y+124|0)|0}while((o|0)!=0)}}while(0);OL(y+56|0)|0}while(!(sk(y+56|0)|0))}}i=y;return m|0}function PQ(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0;f=i;i=i+48|0;do if(!(c[b>>2]|0))e=1.0;else{pk(f+8|0,b);rk(f+8|0);if(!(sk(f+8|0)|0)){d=0.0;b=0;do{if(!(tk(f+8|0)|0)){c[f>>2]=304376;c[f+4>>2]=986;$L(302368,305672,2,1702e3,f)}b=b+1|0;d=d+ +jR(a,+g[(tk(f+8|0)|0)+36>>2]);OL(f+8|0)|0}while(!(sk(f+8|0)|0));if(b){e=+((c[(c[(c[a+740>>2]|0)+32>>2]|0)+192>>2]|0)-b|0);e=d+e*+jR(a,+h[a+168>>3]);break}}Ja(305696,304376,990,305712)}while(0);i=f;return +e}function QQ(b,e){b=b|0;e=e|0;var f=0,h=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0,o=0,p=0,q=0,r=0.0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+32|0;if((e|0)!=0?(s=(c[(c[b+740>>2]|0)+32>>2]|0)+184|0,pk(x,e),rk(x),!(sk(x)|0)):0){k=0.0;l=0.0;t=0;n=0;v=-1;o=0;r=0.0;p=0;j=0.0;while(1){q=tk(x)|0;f=c[q+8>>2]|0;h=+g[f+32>>2];f=c[f+4>>2]|0;a:do if((f|0)==-1){e=q;while(1){e=c[e+12>>2]|0;if(!e){f=-1;break a}f=c[e+8>>2]|0;h=+g[f+32>>2];f=c[f+4>>2]|0;if((f|0)!=-1){m=h;u=6;break}}}else{m=h;u=6}while(0);do if((u|0)==6){u=0;if(ox(s,f)|0){e=(o|0)==0|l>m;l=e?m:l;h=m;o=e?q:o;break}if(Yz(s,f)|0){e=(p|0)==0|j>m;h=m;p=e?q:p;j=e?m:j;break}if(az(s,f)|0){e=(n|0)==0|k>m;k=e?m:k;h=m;n=e?q:n}else h=m}while(0);e=(t|0)==0|r>h;t=e?q:t;v=e?f:v;OL(x)|0;if(sk(x)|0)break;else r=e?h:r}if(t){f=((o|0)!=0|(p|0)!=0)&(n|0)!=0;e=((o|0)==0?t:o)+172|0;a[e>>0]=d[e>>0]|0|2;e=((p|0)==0?t:p)+172|0;a[e>>0]=d[e>>0]|0|4;e=((n|0)==0?t:n)+172|0;a[e>>0]=d[e>>0]|0|8;e=t+172|0;a[e>>0]=d[e>>0]|0|1;if(((v|0)!=-1?kR(c[b+740>>2]|0,v)|0:0)?(w=d[e>>0]|0,(w&14|0)!=0):0)a[e>>0]=w|14;e=f&1}else e=-1}else e=-1;i=x;return e|0}function RQ(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=i;i=i+48|0;pk(j+8|0,b);g=(c[(c[a+740>>2]|0)+32>>2]|0)+184|0;rk(j+8|0);if(!(sk(j+8|0)|0)){b=0;do{a=c[(tk(j+8|0)|0)+4>>2]|0;if(!(uC(g,a)|0)){if(!b)b=tk(j+8|0)|0;if((c[d>>2]|0)==0?ox(g,a)|0:0)c[d>>2]=tk(j+8|0)|0;if(((c[e>>2]|0)==0?Yz(g,a)|0:0)?!(ox(g,a)|0):0)c[e>>2]=tk(j+8|0)|0;if((c[f>>2]|0)==0?az(g,a)|0:0)c[f>>2]=tk(j+8|0)|0}OL(j+8|0)|0}while(!(sk(j+8|0)|0));if(b)a=b;else h=17}else h=17;if((h|0)==17){c[j>>2]=304376;c[j+4>>2]=396;$L(302368,304552,2,1702e3,j);a=0}if(!(c[d>>2]|0)){if(!(c[e>>2]|0))b=0;else b=(c[f>>2]|0)!=0;c[d>>2]=a}else b=(c[f>>2]|0)!=0;if(!(c[e>>2]|0))c[e>>2]=a;if(!(c[f>>2]|0))c[f>>2]=a;i=j;return b|0}function SQ(e,f,j,l,m,n,o,p,q,r,s,t){e=e|0;f=f|0;j=+j;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;s=s|0;t=t|0;var u=0,v=0,w=0,x=0,y=0,z=0.0,A=0.0,B=0.0,C=0.0,D=0,E=0,F=0.0;E=i;i=i+192|0;c[E+156>>2]=0;do if((c[e+12>>2]|0)>1){y=MN((c[(c[e+740>>2]|0)+32>>2]|0)+184|0,c[o+4>>2]|0)|0;F=+g[o+32>>2];z=+g[o+36>>2];c[E+104>>2]=y;h[k>>3]=F;c[E+108>>2]=c[k>>2];c[E+112>>2]=c[k+4>>2];h[k>>3]=z;c[E+116>>2]=c[k>>2];c[E+120>>2]=c[k+4>>2];c[E+124>>2]=f&255;jN(304624,E+104|0);if((c[e+12>>2]|0)>5){c[E+104>>2]=q;jN(304712,E+104|0);break}else{jN(1714256,E+104|0);break}}while(0);if((p|0)!=0?(c[p+12>>2]|0)>=(c[e+100>>2]|0):0)if((c[e+12>>2]|0)>1){jN(304728,E+104|0);u=0}else u=0;else D=9;do if((D|0)==9){y=UQ(e,l,m,o,q)|0;z=+g[e+732>>2]*+g[o+32>>2]/+g[o+36>>2];if(a[e+34>>0]|0){w=MN((c[(c[e+740>>2]|0)+32>>2]|0)+184|0,c[o+4>>2]|0)|0;w=VQ(e,w,+g[o+36>>2],j,z,q)|0;if(!w){c[E+104>>2]=304376;c[E+108>>2]=593;$L(302368,304776,2,1702e3,E+104|0);w=0}}else w=0;if(!y){u=(w|0)==0;if(u)x=0;else x=(a[w+8>>0]|0)==0;v=x^1;if(f<<24>>24==0&v){if((c[e+12>>2]|0)>1)jN(304800,E+104|0);if(u){u=0;break}RM(c[w>>2]|0);YEa(w);u=0;break}}else{v=0;x=1}lR(E,(q|0)!=0?q+40|0:0);VR(E,o,Zz((c[(c[e+740>>2]|0)+32>>2]|0)+184|0,c[o+4>>2]|0)|0);if((c[E+100>>2]|0)==2)u=f&239;else u=f;if(v&u<<24>>24==0){if((c[e+12>>2]|0)>1)jN(304856,E+104|0);if(w){RM(c[w>>2]|0);YEa(w)}if(!y){u=0;break}mR(c[y>>2]|0);YEa(y);u=0;break}WQ(e,m,l,o,q,r,E);if((y|0)!=0?(a[E+32>>0]|0)!=0:0)a[E+32>>0]=0;g[E+128>>2]=0.0;a[E+132>>0]=0;c[E+152>>2]=0;c[E+136>>2]=0;c[E+140>>2]=0;c[E+144>>2]=0;b[E+148>>1]=0;nR(e,m,n,+g[e+748>>2],q,r,E+128|0);if(q){g[E+128>>2]=+g[q+144>>2]+ +g[E+128>>2];a[E+132>>0]=a[E+132>>0]|a[q+148>>0]}n=WEa(192)|0;if((c[e+12>>2]|0)>0)v=MN((c[(c[e+740>>2]|0)+32>>2]|0)+184|0,c[o+4>>2]|0)|0;else v=0;oR(n,q,o,z,E,E+128|0,u,y,w,v);j=+XQ(e,n);g[n+4>>2]=j;if((c[e+12>>2]|0)>2){h[k>>3]=j;c[E+104>>2]=c[k>>2];c[E+108>>2]=c[k+4>>2];jN(304912,E+104|0)}if((c[p>>2]|0)!=0?(a[n+172>>0]|0)!=0:0)YQ(e,n,p);w=x|(a[n+172>>0]|0)!=0;if(!(u&1)){if(!((a[E+48>>0]|0)==0&w))D=44}else if(!w)D=44;if((D|0)==44){if((c[e+12>>2]|0)>1)jN(304936,E+104|0);pR(n);YEa(n);u=0;break}if((hR(n)|0?(c[p+4>>2]|0)>=(c[e+76>>2]|0):0)?(A=+g[n+4>>2],B=+g[p+8>>2],A>=B):0){if((c[e+12>>2]|0)>1){h[k>>3]=A;c[E+104>>2]=c[k>>2];c[E+108>>2]=c[k+4>>2];h[k>>3]=B;c[E+112>>2]=c[k>>2];c[E+116>>2]=c[k+4>>2];jN(304992,E+104|0)}pR(n);YEa(n);u=0;break}if((l?(ZQ(e,n,r,s,t),C=+g[n+4>>2],C>=1.0e5):0)?(n|0)!=(c[s+44>>2]|0):0){if((c[e+12>>2]|0)>1){h[k>>3]=C;c[E+104>>2]=c[k>>2];c[E+108>>2]=c[k+4>>2];jN(305048,E+104|0)}pR(n);YEa(n);u=0;break}QL(p,36,0,n)|0;c[p+12>>2]=(c[p+12>>2]|0)+1;r=hR(n)|0;u=c[p+4>>2]|0;if(r){c[p+4>>2]=u+1;u=u+1|0}v=c[e+76>>2]|0;if(!((u|0)<(v|0)?(a[n+172>>0]|0)==0:0)){if(!(c[p>>2]|0)){c[E+104>>2]=304376;c[E+108>>2]=721;$L(302368,305096,2,1702e3,E+104|0);u=c[e+76>>2]|0}else u=v;pk(E+156|0,p);rk(E+156|0);if(!(sk(E+156|0)|0))do{v=tk(E+156|0)|0;w=a[v+172>>0]|0;do if(!(w<<24>>24==0|(v|0)==(n|0))){if(!(+g[v+4>>2]>+g[n+4>>2]))break;a[v+172>>0]=(d[n+172>>0]^255)&(w&255)}while(0);if((u|0)>0){if(hR(v)|0){u=u+-1|0;D=72}}else D=72;do if((D|0)==72){D=0;if(u)break;j=+g[(tk(E+156|0)|0)+4>>2];g[p+8>>2]=j;if((c[e+12>>2]|0)<=1){u=-1;break}h[k>>3]=j;c[E+104>>2]=c[k>>2];c[E+108>>2]=c[k+4>>2];jN(305144,E+104|0);u=-1}while(0);OL(E+156|0)|0}while(!(sk(E+156|0)|0))}if((c[e+12>>2]|0)>2?(oS(n,305200),(c[e+12>>2]|0)>5):0){qS(p,305208);u=1}else u=1}while(0);i=E;return u|0}function TQ(b,d,e,f,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;t=i;i=i+16|0;a:do if(sk(l)|0)n=0;else{b:while(1){n=tk(l)|0;if(!(!d?(a[n+184>>0]|0)==0:0))s=5;do if((s|0)==5){s=0;if((c[b+12>>2]|0)>2)oS(n,304576);a[m>>0]=h;if(h&4){r=iR(c[n+8>>2]|0,j)|0;o=a[m>>0]|0;if(r)p=n+8|0;else{a[m>>0]=o&255|2;p=n+8|0;o=(o&255|2)&255}}else{p=n+8|0;o=h}a[m>>0]=o&a[n+172>>0];o=c[f+4>>2]|0;q=c[p>>2]|0;r=c[q+4>>2]|0;if(az(j,o)|0?Yz(j,r)|0:0){if(e)break;if(!(a[m>>0]|0))break}if(Yz(j,o)|0?az(j,r)|0:0){if(e)break;if(!(a[m>>0]|0))break}o=c[n+16>>2]|0;if(!o)break b;p=c[o+8>>2]|0;o=c[p+4>>2]|0;if((c[b+12>>2]|0)>4){v=MN(j,r)|0;u=MN(j,o)|0;c[t>>2]=v;c[t+4>>2]=u;jN(304592,t)}if(!(WN(c[j>>2]|0,r,o)|0))break b;if(!(ria(f,p,+g[k+244>>2],(c[b+12>>2]|0)>4)|0))break b;if(ria(f,q,+g[k+244>>2],(c[b+12>>2]|0)>4)|0)break b}while(0);OL(l)|0;if(sk(l)|0){n=0;break a}}OL(l)|0}while(0);i=t;return n|0}function UQ(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+32|0;if(g){k=c[g+176>>2]|0;if(!k)h=0;else{l=c[b+728>>2]|0;c[l>>2]=c[k>>2];c[l+8>>2]=c[k+4>>2];l=5}}else{l=c[b+728>>2]|0;c[l>>2]=c[b+760>>2];c[l+8>>2]=0;l=5}a:do if((l|0)==5){if(d?IP(c[b+740>>2]|0,c[f+4>>2]|0,(e|0)==0)|0:0){if((c[b+12>>2]|0)>0)jN(305280,q);h=WEa(8)|0;rR(h,c[c[b+728>>2]>>2]|0,12);break}else m=f+4|0;do if(kR(c[b+740>>2]|0,c[m>>2]|0)|0){if((g|0)!=0?(c[(c[g+176>>2]|0)+4>>2]|0)==6:0)break;if((c[b+12>>2]|0)>0)jN(305304,q);if((g|0)==0|d){h=0;break a}if((c[(c[b+728>>2]|0)+8>>2]|0)==12){h=0;break a}if((c[g+32>>2]|0)<(c[b+316>>2]|0)){h=0;break a}h=c[c[g+176>>2]>>2]|0;if((c[h>>2]|0)>0)f=0;else{h=0;break a}while(1){h=sR(h,f)|0;j=a[h>>0]|0;if(((((j<<24>>24>=0?(n=c[(Pk((c[b+740>>2]|0)+124|0,j<<24>>24)|0)>>2]|0,(n|0)!=0):0)?(a[h+32>>0]|0)==0:0)?(c[n+4>>2]|0)==1:0)?(o=c[h+8>>2]|0,p=c[h+12>>2]|0,!((o|0)==-1&(p|0)==-1)):0)?Vc[c[(c[n>>2]|0)+20>>2]&63](n,o,p)|0:0)break;f=f+1|0;h=c[c[g+176>>2]>>2]|0;if((f|0)>=(c[h>>2]|0)){h=0;break a}}if((c[b+12>>2]|0)>0)jN(305328,q);h=WEa(8)|0;rR(h,c[b+764>>2]|0,12);break a}while(0);k=(c[(c[(c[b+740>>2]|0)+32>>2]|0)+184>>2]|0)+((c[m>>2]|0)*112|0)+84|0;cR(q+8|0);b:do if((c[k>>2]|0)>0){l=0;while(1){if((c[b+12>>2]|0)>2){p=c[m>>2]|0;g=c[(Ik(k,l)|0)>>2]|0;c[q>>2]=p;c[q+4>>2]=g;jN(305352,q)}j=c[b+740>>2]|0;h=c[b+728>>2]|0;e=c[(Ik(k,l)|0)>>2]|0;if(d)f=(l|0)==((c[k>>2]|0)+-1|0);else f=0;tR(j,h,e,f);h=c[b+728>>2]|0;if(!(c[h+8>>2]|0)){h=b+728|0;break b}if((l|0)<((c[k>>2]|0)+-1|0)){uR(q+8|0,c[h+4>>2]|0);c[c[b+728>>2]>>2]=q+8}if((c[b+12>>2]|0)>2){p=c[m>>2]|0;g=c[(Ik(k,l)|0)>>2]|0;c[q>>2]=p;c[q+4>>2]=g;jN(305400,q)}l=l+1|0;if((l|0)>=(c[k>>2]|0)){h=b+728|0;break}}}else h=b+728|0;while(0);h=c[h>>2]|0;c[h>>2]=0;if(!(c[h+8>>2]|0))if((c[b+12>>2]|0)>3){c[q>>2]=MN((c[(c[b+740>>2]|0)+32>>2]|0)+184|0,c[m>>2]|0)|0;jN(305448,q);h=0}else h=0;else{b=WEa(8)|0;rR(b,c[h+4>>2]|0,c[h+8>>2]|0);h=b}eR(q+8|0)}while(0);i=q;return h|0}function VQ(b,d,e,f,j,k){b=b|0;d=d|0;e=+e;f=+f;j=+j;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if(!k){l=VM(c[b+752>>2]|0)|0;m=b+756|0}else{l=VM(c[c[k+180>>2]>>2]|0)|0;m=(c[k+180>>2]|0)+4|0}n=c[m>>2]|0;c[q+4>>2]=0;a[q+8>>0]=0;e=+_Q(b,d,e,f,l,q+4|0,q+8|0,q);e=e*(j/+h[b+264>>3]);if(k){p=c[k+180>>2]|0;e=e+ +g[p+16>>2];g[q>>2]=+g[p+12>>2]+ +g[q>>2]}p=c[q+4>>2]|0;m=p+n-(c[b+52>>2]|0)|0;o=n-((m|0)>0?m:0)|0;a:do if((m|0)>0)while(1){n=a[l>>0]|0;if(!(n<<24>>24)){m=l;break a}l=l+(mN(n)|0)|0;m=m+-1|0;if((m|0)<=0){m=l;break}}else m=l;while(0);if((k|0)!=0?(a[(c[k+180>>2]|0)+8>>0]|0)!=0:0)a[q+8>>0]=1;l=WEa(20)|0;k=a[q+8>>0]|0;f=+g[q>>2];PM(l,m);c[l+4>>2]=o;a[l+8>>0]=k;g[l+12>>2]=f;g[l+16>>2]=e;dN(l,d);d=(c[l+4>>2]|0)+p|0;c[l+4>>2]=d;if((d|0)>(c[b+52>>2]|0))Ja(305472,304376,916,305544);else{i=q;return l|0}return 0}function WQ(d,e,f,g,j,l,m){d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;l=l|0;m=m|0;var n=0.0,o=0,p=0.0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0.0;A=i;i=i+48|0;y=c[(c[d+740>>2]|0)+32>>2]|0;z=c[g+4>>2]|0;if(j)x=c[j+8>>2]|0;else x=0;if(Zz(y+184|0,z)|0)c[m+8>>2]=(c[m+8>>2]|0)+1;r=c[d+740>>2]|0;a:do if((c[r+180>>2]|0)!=0?(a[m+32>>0]|0)==0:0){q=(x|0)!=0;do if((kR(r,z)|0)&q){s=x+4|0;if(!(Yz(y+184|0,c[s>>2]|0)|0)?!(az(y+184|0,c[s>>2]|0)|0):0)break;c[m+24>>2]=-1;c[m+28>>2]=-1;break a}while(0);r=vR(c[d+740>>2]|0,z)|0;if(q){s=x+4|0;if(Yz(y+184|0,c[s>>2]|0)|0)s=0;else s=(az(y+184|0,c[s>>2]|0)|0)^1}else s=1;if(!(Yz(y+184|0,z)|0)?!(az(y+184|0,z)|0):0)q=s|r^1?z:0;else q=0;s=c[m+24>>2]|0;r=c[m+28>>2]|0;if(!((s|0)==-1&(r|0)==-1|(q|0)!=0)){o=c[(c[d+740>>2]|0)+180>>2]|0;if(!(Vc[c[(c[o>>2]|0)+24>>2]&63](o,s,r)|0))break;s=c[m+24>>2]|0;r=c[m+28>>2]|0}s=wR(c[(c[d+740>>2]|0)+180>>2]|0,s,r)|0;r=F;if(!((s|0)==-1&(r|0)==-1)){o=c[(c[d+740>>2]|0)+180>>2]|0;r=Uc[c[(c[o>>2]|0)+8>>2]&31](o,s,r,q,f)|0;s=F;c[m+24>>2]=r;c[m+28>>2]=s;if(!((r|0)==-1&(s|0)==-1))break}else{c[m+24>>2]=-1;c[m+28>>2]=-1}a[m+32>>0]=1}while(0);if(!((j|0)!=0^1|f)?kR(c[d+740>>2]|0,z)|0:0){c[m+40>>2]=0;c[m+36>>2]=0}else t=27;do if((t|0)==27){if(ox(y+184|0,z)|0){c[m+40>>2]=(c[m+40>>2]|0)+1;break}if((x|0)!=0?nx(y+184|0,z)|0:0){if((!(nx(y+184|0,c[x+4>>2]|0)|0)?(c[m+40>>2]|0)<=0:0)?(c[m+36>>2]|0)<=0:0)break;c[m+36>>2]=(c[m+36>>2]|0)+1}}while(0);r=nO(y+184|0,z)|0;c[m+44>>2]=r;s=c[(c[d+740>>2]|0)+32>>2]|0;o=c[s+240>>2]|0;do if((o|0)==(c[s+220>>2]|0))o=r;else{f=c[y+244>>2]|0;q=c[y+220>>2]|0;if(!((f|0)!=(q|0)&(r|0)==(f|0))?(f=c[y+248>>2]|0,!((f|0)!=(q|0)&(r|0)==(f|0))):0){o=r;break}c[m+44>>2]=o}while(0);do if((j|0)!=0?(u=c[j+84>>2]|0,v=c[s+224>>2]|0,(u|0)!=(v|0)):0){if((o|0)==(v|0)){c[m+44>>2]=u;break}if((o|0)!=(u|0))a[m+48>>0]=1}while(0);do if(!(Yz(y+184|0,z)|0)){if(az(y+184|0,z)|0){c[m+4>>2]=(c[m+4>>2]|0)+1;break}if(!(Zz(y+184|0,z)|0))c[m+12>>2]=(c[m+12>>2]|0)+1}else c[m>>2]=(c[m>>2]|0)+1;while(0);q=c[d+736>>2]|0;do if((c[q>>2]|0)>0&(x|0)!=0){u=x+28|0;r=b[u>>1]|0;o=b[g+28>>1]|0;if(r<<16>>16!=o<<16>>16?(w=b[x+30>>1]|0,w<<16>>16!=o<<16>>16):0){f=b[g+30>>1]|0;f=(r<<16>>16==f<<16>>16?1:w<<16>>16==f<<16>>16)?f<<16>>16:-1}else f=o<<16>>16;if((c[d+12>>2]|0)>1){if(r<<16>>16>-1)t=c[(Ex(q,r<<16>>16)|0)>>2]|0;else t=1714496;o=b[x+30>>1]|0;if(o<<16>>16>-1)s=c[(Ex(c[d+736>>2]|0,o<<16>>16)|0)>>2]|0;else s=1714496;o=b[g+28>>1]|0;if(o<<16>>16>-1)r=c[(Ex(c[d+736>>2]|0,o<<16>>16)|0)>>2]|0;else r=1714496;if((f|0)>-1){q=c[(Ex(c[d+736>>2]|0,f)|0)>>2]|0;o=c[(Ex(c[d+736>>2]|0,f)|0)>>2]|0}else{q=1714496;o=1714496}c[A>>2]=t;c[A+4>>2]=s;c[A+8>>2]=r;c[A+12>>2]=q;c[A+16>>2]=o;c[A+20>>2]=f;jN(305728,A)}if(c[l+96>>2]|0){if((f|0)>-1){o=c[d+736>>2]|0;if((f|0)>=(c[o>>2]|0)){c[A>>2]=304376;c[A+4>>2]=1126;$L(302368,305784,2,1702e3,A);o=c[d+736>>2]|0}w=Ex(o,f)|0;if(!(xR(w,c[x+4>>2]|0,z,A+36|0)|0))break;p=+(c[A+36>>2]|0)}else{a[m+56>>0]=1;s=x+4|0;t=x+30|0;p=0.0;o=0;r=0;do{if(!o)q=b[u>>1]|0;else if((o|0)==1)q=b[t>>1]|0;else if((o|0)==2)q=b[g+28>>1]|0;else q=b[g+30>>1]|0;if((q|0)>=0){if(!(c[c[d+736>>2]>>2]|0)){c[A>>2]=304376;c[A+4>>2]=1148;$L(302368,305824,2,1702e3,A)}if((q|0)>-1?(w=Ex(c[d+736>>2]|0,q)|0,xR(w,c[s>>2]|0,z,A+36|0)|0):0){p=p+ +(c[A+36>>2]|0);r=r+1|0}}o=o+1|0}while((o|0)!=4);if((r|0)<=0)break;p=p/+(r|0)}n=+(tga(l,e+-1|0)|0);B=p/n;if(B<0.0|B>2.0)c[m+52>>2]=(c[m+52>>2]|0)+1;if((c[d+12>>2]|0)>1){m=x+4|0;x=MN(y+184|0,c[m>>2]|0)|0;m=c[m>>2]|0;d=MN(y+184|0,z)|0;c[A>>2]=x;c[A+4>>2]=m;c[A+8>>2]=d;c[A+12>>2]=z;c[A+16>>2]=e;h[k>>3]=p;c[A+20>>2]=c[k>>2];c[A+24>>2]=c[k+4>>2];h[k>>3]=n;c[A+28>>2]=c[k>>2];c[A+32>>2]=c[k+4>>2];jN(305864,A)}}}while(0);i=A;return}function XQ(b,d){b=b|0;d=d|0;var e=0.0,f=0,j=0.0,l=0,m=0,n=0;n=i;i=i+112|0;if(!d){c[n>>2]=304376;c[n+4>>2]=1184;$L(302368,305928,2,1702e3,n)}do if((c[b+((c[b+776>>2]|0)*20|0)+780>>2]|0)==24){$Q(d,n+16|0);e=+vS(b+772|0,n+16|0);if((c[b+12>>2]|0)>3?(h[k>>3]=e,c[n>>2]=c[k>>2],c[n+4>>2]=c[k+4>>2],jN(305944,n),(c[b+12>>2]|0)>4):0){f=0;do{j=+g[n+16+(f<<2)>>2];c[n>>2]=c[362976+(f<<2)>>2];h[k>>3]=j;c[n+4>>2]=c[k>>2];c[n+8>>2]=c[k+4>>2];jN(306e3,n);f=f+1|0}while((f|0)!=24)}e=e*+g[d+36>>2]}else{m=c[d+176>>2]|0;if(!m){j=+h[b+344>>3]+1.0+ +h[b+384>>3];f=c[d+32>>2]|0;l=c[b+316>>2]|0;if((f|0)>(l|0))j=j+ +(f-l|0)*+h[b+664>>3]}else if((c[m+4>>2]|0)==11)j=1.0;else j=+h[b+344>>3]+1.0;e=+g[d+144>>2];if(e>0.0)j=j+e/+(c[d+32>>2]|0);if(!(a[b+34>>0]|0)){e=j+ +yR(b,m,d+40|0);e=+g[d+20>>2]*e;break}f=c[d+180>>2]|0;if(!f){c[n>>2]=304376;c[n+4>>2]=1215;$L(302368,306008,2,1702e3,n);f=c[d+180>>2]|0}e=j*+g[f+16>>2]}while(0);i=n;return +e}function YQ(b,e,f){b=b|0;e=e|0;f=f|0;var h=0,j=0.0;h=i;i=i+32|0;pk(h+4|0,f);rk(h+4|0);a:do if(!(sk(h+4|0)|0))do{if(!(a[e+172>>0]|0))break a;j=+g[e+4>>2];if(!(j>=+g[(tk(h+4|0)|0)+4>>2]))break a;f=d[(tk(h+4|0)|0)+172>>0]^255;a[e+172>>0]=d[e+172>>0]&f;OL(h+4|0)|0}while(!(sk(h+4|0)|0));while(0);if((c[b+12>>2]|0)>2){c[h>>2]=d[e+172>>0];jN(305232,h)}i=h;return}function ZQ(b,e,f,j,l){b=b|0;e=e|0;f=f|0;j=j|0;l=l|0;var m=0,n=0.0,o=0.0,p=0,q=0,r=0;r=i;i=i+128|0;q=aR(b,e,f,j+4|0,l,r+124|0)|0;if(!q){c[r>>2]=304376;c[r+4>>2]=1234;$L(302368,326096,2,1702e3,r)}if((c[(c[b+740>>2]|0)+1060>>2]|0)>0){NM(r+120|0);Iia(q,r+120|0,0);m=c[r+120>>2]|0;oS(e,VM(m)|0);RM(m)}if((c[b+12>>2]|0)>0)Sia(q,306032);xy(r+16|0);if(l){m=c[e+176>>2]|0;if(m)c[m+4>>2]=d[q+52>>0];$Q(e,r+16|0);Iia(q,r+112|0,0);n=+g[e+4>>2];g[r+116>>2]=n;if((c[b+12>>2]|0)>0){c[r>>2]=VM(c[r+112>>2]|0)|0;h[k>>3]=n;c[r+4>>2]=c[k>>2];c[r+8>>2]=c[k+4>>2];jN(306072,r);m=0;do{h[k>>3]=+g[r+16+(m<<2)>>2];c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];jN(306120,r);m=m+1|0}while((m|0)<24);jN(306128,r)}zR(l+164|0,r+16|0);if((a[r+124>>0]|0)!=0?(o=+g[q+36>>2],+g[l+108>>2]>o):0)g[l+108>>2]=o;if(uaa(a[l+104>>0]|0)|0){if(q){wia(q);YEa(q)}}else p=20}else p=20;if((p|0)==20){m=c[f+72>>2]|0;if((m|0)!=0?(c[m>>2]|0)!=0:0)Mia(q,0,m);m=c[f+144>>2]|0;if(!((m|0)!=0?!(+g[q+36>>2]<+g[m+36>>2]):0))p=25;if(((p|0)==25?hga(f,q)|0:0)?(c[b+12>>2]|0)>0:0)jN(306136,r);g[q+36>>2]=+g[e+4>>2];Ema(c[b+740>>2]|0,q,(c[e+176>>2]|0)==0,c[e+140>>2]|0,0.0,0,(c[b+12>>2]|0)>0);p=c[b+740>>2]|0;if(iga(f,c[p+1116>>2]|0,(c[p+1060>>2]|0)>0,q)|0?(c[f+140>>2]|0)==(q|0):0){if(sna(c[b+740>>2]|0,q,c[e+140>>2]|0)|0?AR(e)|0:0)a[b+768>>0]=1;a[j>>0]=1;c[j+44>>2]=e;if((c[b+12>>2]|0)>0){jN(306160,r);Tia(q)}do if(c[e+176>>2]|0){f=oP(c[b+740>>2]|0,q)|0;m=c[b+740>>2]|0;if(f){ina(m,q,c[c[b+728>>2]>>2]|0);break}else{hna(m,1);break}}while(0);if(l){if(!(c[e+176>>2]|0))m=0;else m=(a[e+172>>0]|0)!=0&1;a[l+152>>0]=m}}}RM(c[r+112>>2]|0);i=r;return}function _Q(b,d,e,f,j,l,m,n){b=b|0;d=d|0;e=+e;f=+f;j=j|0;l=l|0;m=m|0;n=n|0;var o=0.0,p=0.0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0;y=i;i=i+48|0;x=d+(SGa(d|0)|0)|0;t=j;u=0;s=0;q=0.0;r=d;a:while(1){w=r;while(1){if(w>>>0>=x>>>0)break a;v=mN(a[w>>0]|0)|0;if((v|0)<=0)break a;if((c[b+12>>2]|0)>1){p=+BR(c[b+740>>2]|0,t,w,v);c[y>>2]=w;c[y+4>>2]=t;h[k>>3]=p;c[y+8>>2]=c[k>>2];c[y+12>>2]=c[k+4>>2];jN(305568,y)}q=q+ +BR(c[b+740>>2]|0,t,w,v);c[l>>2]=(c[l>>2]|0)+1;if(a[b+202>>0]|0)break a;r=w+v|0;if(r>>>0>>0)break;else w=r}if(!u){s=SGa(j|0)|0;z=XEa(v+1+s+(SGa(r|0)|0)|0)|0;RGa(z|0,j|0,s|0)|0;t=z;u=z;s=z+s|0}RGa(s|0,w|0,v|0)|0;s=s+v|0;a[s>>0]=0}o=q/+(c[l>>2]|0);p=+h[b+128>>3];if(o>2]|0)>0){h[k>>3]=o;c[y>>2]=c[k>>2];c[y+4>>2]=c[k+4>>2];jN(305592,y);p=+h[b+128>>3]}a[m>>0]=1}else p=o;q=p;A=-+jGa(q);g[n>>2]=A;o=+jR(b,e)/f;p=+jGa(o);p=A*+h[b+224>>3]-p;if((c[b+12>>2]|0)>1){c[y>>2]=d;c[y+4>>2]=d;c[y+8>>2]=t;h[k>>3]=o;c[y+12>>2]=c[k>>2];c[y+16>>2]=c[k+4>>2];h[k>>3]=q;c[y+20>>2]=c[k>>2];c[y+24>>2]=c[k+4>>2];h[k>>3]=p;c[y+28>>2]=c[k>>2];c[y+32>>2]=c[k+4>>2];jN(305616,y)}ZEa(u);i=y;return +p}function $Q(a,b){a=a|0;b=b|0;var d=0.0,e=0,f=0,h=0,i=0;e=b+0|0;f=e+96|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));h=c[a+32>>2]|0;if((h|0)<4)f=0;else f=(h|0)<7?1:2;i=c[a+176>>2]|0;a:do if(i){e=c[i+4>>2]|0;if((e&-2|0)==6)if((c[a+44>>2]|0)==(h|0)){g[b+(f<<2)>>2]=1.0;break}else{g[b+(f+3<<2)>>2]=1.0;break}switch(e|0){case 9:{g[b+(f+6<<2)>>2]=1.0;break a}case 11:{g[b+((f|12)<<2)>>2]=1.0;break a}case 8:case 10:case 12:{g[b+(f+9<<2)>>2]=1.0;break a}default:break a}}while(0);g[b+60>>2]=+g[a+144>>2]/+(h|0);g[b+64>>2]=0.0;f=c[a+180>>2]|0;if(f)g[b+64>>2]=+g[f+12>>2]/+(h|0);h=c[a+76>>2]|0;f=c[a+80>>2]|0;g[b+72>>2]=+(((h|0)>(f|0)?f:h)|0);g[b+76>>2]=+((c[a+140>>2]|0)>>>0);if(!i)d=+(CR(a+40|0)|0);else d=0.0;g[b+80>>2]=d;g[b+84>>2]=+(c[a+92>>2]|0);g[b+92>>2]=+g[a+20>>2]/+g[a+36>>2];return}function aR(b,d,e,f,j,l){b=b|0;d=d|0;e=e|0;f=f|0;j=j|0;l=l|0;var m=0,n=0.0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0,v=0.0,w=0,x=0,y=0,z=0,A=0.0;y=i;i=i+16|0;if(l){if(!j)m=0;else m=(c[d+32>>2]|0)==(c[j+112>>2]|0)&1;a[l>>0]=m}r=c[d+8>>2]|0;m=c[b+740>>2]|0;if(!(a[m+92>>0]|0))m=(c[m+68>>2]|0)!=0;else m=0;o=+g[d+160>>2];if(o!=0.0){g[d+144>>2]=+g[d+144>>2]-o;p=c[d+32>>2]|0;v=+g[d+156>>2]/+(p|0);g[d+160>>2]=0.0}else{p=c[d+32>>2]|0;v=0.0}x=WEa(64)|0;rv(x,c[e+68>>2]|0,p);DR(x,c[d+32>>2]|0);p=c[d+32>>2]|0;a:do if((p|0)>0){u=v!=0.0;n=v;q=m;s=r;r=d;t=p+-1|0;m=0;while(1){if(((j|0)!=0&(l|0)!=0?(a[l>>0]|0)!=0:0)?!(ER(j,t,s+44|0)|0):0)a[l>>0]=0;z=(c[s+48>>2]|0)-(c[s+44>>2]|0)+1|0;m=z+m|0;p=s+4|0;Aia(x,t,z,c[p>>2]|0,+g[s+36>>2]);do if(u){if(!((r|0)!=(d|0)?(c[r+12>>2]|0)!=0:0))w=19;if((w|0)==19?(w=0,Zz((c[(c[b+740>>2]|0)+32>>2]|0)+184|0,c[p>>2]|0)|0):0)break;o=+g[r+152>>2];A=v-o;g[d+160>>2]=+g[d+160>>2]+A*A;if((c[b+12>>2]|0)>2){h[k>>3]=n;c[y>>2]=c[k>>2];c[y+4>>2]=c[k+4>>2];h[k>>3]=o;c[y+8>>2]=c[k>>2];c[y+12>>2]=c[k+4>>2];jN(306200,y)}}while(0);if(!q){p=c[r+176>>2]|0;if(!p)q=0;else q=(c[p+4>>2]|0)==12}else q=1;r=c[r+12>>2]|0;if(!r){p=t;break a}p=t+-1|0;if((t|0)>0){s=c[r+8>>2]|0;t=p}else break}}else{q=m;p=p+-1|0;m=0}while(0);if(p){c[y>>2]=304376;c[y+4>>2]=1439;$L(302368,306232,2,1702e3,y)}if((m|0)!=(c[(c[e+136>>2]|0)+12>>2]|0)){c[y>>2]=304376;c[y+4>>2]=1440;$L(302368,306240,2,1702e3,y)}if(v!=0.0)g[d+144>>2]=+g[d+160>>2]+ +g[d+144>>2];g[x+36>>2]=+g[d+20>>2];g[x+40>>2]=+g[d+24>>2];if((c[d+140>>2]|0)==2){n=32767.0;o=0.0}else{n=+g[d+116>>2];o=+g[d+104>>2]}g[x+44>>2]=o;g[x+48>>2]=n;m=c[d+176>>2]|0;do if(!m){if((a[b+34>>0]|0)!=0?(a[(c[d+180>>2]|0)+8>>0]|0)==0:0){a[x+52>>0]=5;break}if(!(a[d+172>>0]|0)){a[x+52>>0]=0;break}else{a[x+52>>0]=2;break}}else{if(q)m=12;else m=c[m+4>>2]&255;a[x+52>>0]=m}while(0);a[x+54>>0]=(wna(c[b+740>>2]|0,x,f,c[e+136>>2]|0)|0)&1^1;i=y;return x|0}function bR(a){a=a|0;var b=0;NM(a);c[a+4>>2]=0;b=a+8|0;do{qA(b);b=b+20|0}while((b|0)!=(a+48|0));return}function cR(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;FR(a,4);return}function dR(a){a=a|0;var b=0;b=a+48|0;do{b=b+-20|0;rA(b)}while((b|0)!=(a+8|0));RM(c[a>>2]|0);return}function eR(a){a=a|0;var b=0;if((c[a+4>>2]|0)>0){b=c[a+8>>2]|0;if(b)ZEa(b);c[a>>2]=0;c[a+4>>2]=0}GR(a);return}function fR(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function gR(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+32|0;e=c[b+4>>2]|0;f=oO(a,e)|0;a:do if((!((f|0)==(e|0)|(f|0)==-1)?!(WN(c[a>>2]|0,e,f)|0):0)?(pk(g,d),rk(g),!(sk(g)|0)):0)while(1){e=tk(g)|0;if((c[e+4>>2]|0)==(f|0)){e=1;break a}if((e|0)==(b|0)){e=0;break a}OL(g)|0;if(sk(g)|0){e=0;break}}else e=0;while(0);i=g;return e|0}function hR(b){b=b|0;var d=0;if(!(a[b+172>>0]|0)){b=c[b+176>>2]|0;if((b|0)!=0?(d=(c[b+4>>2]|0)+-8|0,d>>>0<4):0)return (d&15)==1|0;else b=1}else b=0;return b|0}function iR(a,b){a=a|0;b=b|0;if(a){a=c[a+4>>2]|0;if(Yz(b,a)|0)a=1;else return az(b,a)|0}else a=0;return a|0}function jR(b,d){b=b|0;d=+d;if(!(a[b+722>>0]|0))d=-1.0/d;else d=1.0/(+_(+(-d/+h[(c[b+740>>2]|0)+840>>3]*10.0))+1.0);return +d}function kR(a,b){a=a|0;b=b|0;var d=0;b=(c[(c[a+32>>2]|0)+184>>2]|0)+(b*112|0)+84|0;if((c[b>>2]|0)==1){d=c[(Ik(b,0)|0)>>2]|0;if((d|0)==(c[a+64>>2]|0))b=1;else{b=c[(Ik(b,0)|0)>>2]|0;b=(b|0)==(c[a+60>>2]|0)}}else b=0;return b|0}function lR(d,e){d=d|0;e=e|0;var f=0;if(!e){c[d+0>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+24>>2]=-1;c[d+28>>2]=-1;a[d+32>>0]=0;c[d+52>>2]=0;a[d+56>>0]=0;b[d+84>>1]=0;b[d+90>>1]=0;g[d+60>>2]=0.0;c[d+36>>2]=0;c[d+40>>2]=0;c[d+44>>2]=0;a[d+48>>0]=0;g[d+72>>2]=256.0;b[d+86>>1]=0;b[d+92>>1]=0;g[d+64>>2]=0.0;g[d+76>>2]=256.0;b[d+88>>1]=0;b[d+94>>1]=0;g[d+68>>2]=0.0;g[d+80>>2]=256.0;b[d+96>>1]=-1;b[d+98>>1]=0;c[d+100>>2]=0}else{f=d+0|0;e=e+0|0;d=f+104|0;do{c[f>>2]=c[e>>2];f=f+4|0;e=e+4|0}while((f|0)<(d|0))}return}function mR(a){a=a|0;if(a){eR(a);YEa(a)}return}function nR(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=+f;g=g|0;h=h|0;i=i|0;var j=0;if(g)j=c[g+32>>2]|0;else j=0;yO(d,e,(g|0)!=0?g+144|0:0,j,(a[b+744>>0]|0)!=0,f,h,(c[b+12>>2]|0)>2,i);return}function oR(b,d,e,f,h,i,j,k,l,m){b=b|0;d=d|0;e=e|0;f=+f;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0;c[b>>2]=0;g[b+4>>2]=0.0;c[b+8>>2]=e;c[b+12>>2]=d;c[b+16>>2]=0;g[b+20>>2]=+g[e+32>>2];g[b+24>>2]=+g[e+36>>2];c[b+28>>2]=(c[e+68>>2]|0)==1&1;c[b+32>>2]=1;g[b+36>>2]=f;n=b+40|0;e=h+0|0;h=n+104|0;do{c[n>>2]=c[e>>2];n=n+4|0;e=e+4|0}while((n|0)<(h|0));c[b+144>>2]=c[i+0>>2];c[b+148>>2]=c[i+4>>2];c[b+152>>2]=c[i+8>>2];c[b+156>>2]=c[i+12>>2];c[b+160>>2]=c[i+16>>2];c[b+164>>2]=c[i+20>>2];c[b+168>>2]=c[i+24>>2];a[b+172>>0]=j;c[b+176>>2]=k;c[b+180>>2]=l;a[b+184>>0]=1;if(!m)e=0;else{e=WEa(4)|0;NM(e)}c[b+188>>2]=e;if(d){g[b+20>>2]=+g[d+20>>2]+ +g[b+20>>2];f=+g[d+24>>2];if(f<+g[b+24>>2])g[b+24>>2]=f;c[b+28>>2]=(c[b+28>>2]|0)+(c[d+28>>2]|0);c[b+32>>2]=(c[b+32>>2]|0)+(c[d+32>>2]|0);g[b+36>>2]=+g[d+36>>2]+ +g[b+36>>2];if(m){bN(e,c[d+188>>2]|0);o=c[b+188>>2]|0;p=8}}else{o=e;p=8}if((p|0)==8?(o|0)!=0&(m|0)!=0:0)dN(o,m);return}function pR(a){a=a|0;var b=0;b=c[a+176>>2]|0;if(b){mR(c[b>>2]|0);YEa(b)}b=c[a+180>>2]|0;if(b){RM(c[b>>2]|0);YEa(b)}b=c[a+188>>2]|0;if(b){RM(c[b>>2]|0);YEa(b)}return}function qR(a,b){a=a|0;b=b|0;return (+g[(c[a>>2]|0)+4>>2]<+g[(c[b>>2]|0)+4>>2]?-1:1)|0}function rR(a,b,d){a=a|0;b=b|0;d=d|0;c[a+4>>2]=d;d=WEa(20)|0;HR(d,b);c[a>>2]=d;return}function sR(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b*40|0)|0;Ja(1701640,1701680,663,1701712);return 0}function tR(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0;g=d[a+8>>0]|d[a+9>>0]<<8|d[a+10>>0]<<16|d[a+11>>0]<<24;h=d[a+12>>0]|d[a+13>>0]<<8|d[a+14>>0]<<16|d[a+15>>0]<<24;if(h&1)g=c[(c[a+(h>>1)>>2]|0)+g>>2]|0;ed[g&15](a+(h>>1)|0,b,e,f)|0;return}function uR(a,b){a=a|0;b=b|0;if((b|0)!=(a|0)){if((c[a>>2]|0)>0)c[a>>2]=0;IR(a,b)}return}function vR(a,b){a=a|0;b=b|0;b=(c[(c[a+32>>2]|0)+184>>2]|0)+(b*112|0)+84|0;if((c[b>>2]|0)==1){b=c[(Ik(b,0)|0)>>2]|0;b=(b|0)==(c[a+52>>2]|0)}else b=0;return b|0}function wR(a,b,d){a=a|0;b=b|0;d=d|0;if((b|0)==-1&(d|0)==-1){d=0;b=0}else{b=Vc[c[(c[a>>2]|0)+16>>2]&63](a,b,d)|0;a=F;d=(b|0)==0&(a|0)==0?-1:a;b=(b|0)==0&(a|0)==0?-1:b}F=d;return b|0}function xR(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;i=JR(c[a+12>>2]|0,d)|0;h=JR(c[a+12>>2]|0,e)|0;if((i|0)==0|(h|0)==0)d=0;else{d=c[i+4>>2]|0;a:do if((d|0)>0){g=0;while(1){j=(c[(Ik(i+4|0,g)|0)>>2]|0)==(e|0);a=g+1|0;d=c[i+4>>2]|0;if(j){a=g;break a}if((a|0)<(d|0))g=a;else break}}else a=0;while(0);if((a|0)<(d|0))d=b[(KR(i+24|0,a)|0)>>1]|0;else d=(b[h>>1]|0)+(b[i+2>>1]|0)|0;c[f>>2]=d;d=1}return d|0}function yR(b,d,e){b=b|0;d=d|0;e=e|0;var f=0.0,g=0.0,i=0.0,j=0;if(!d){if(!(a[e+32>>0]|0))d=0;else d=c[e+8>>2]|0;g=+LR(b,d,+h[b+424>>3]);d=c[e+36>>2]|0;j=c[e+40>>2]|0;g=g+ +LR(b,(d|0)>(j|0)?j:d,+h[b+464>>3]);d=CR(e)|0;g=g+ +LR(b,d,+h[b+544>>3]);g=g+ +LR(b,c[e+52>>2]|0,+h[b+624>>3]);if(!(a[e+48>>0]|0))i=0.0;else i=+h[b+504>>3];if(!(a[e+56>>0]|0))f=0.0;else f=+h[b+584>>3];f=g+i+f}else{j=c[e+36>>2]|0;d=c[e+40>>2]|0;g=+LR(b,(j|0)>(d|0)?d:j,+h[b+464>>3]);if(!(a[e+48>>0]|0))f=0.0;else f=+h[b+504>>3];f=g+f}return +f}function zR(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+112|0;if(!(c[a>>2]|0))MR(a);e=NR(a)|0;vy(d,b);Ay(e,d);RM(c[d+96>>2]|0);OR(c[(NR(a)|0)>>2]|0);i=d;return}function AR(b){b=b|0;if((c[b+176>>2]|0)==0?!(PR(b)|0):0){b=c[b+180>>2]|0;if(!b)b=0;else b=(a[b+8>>0]|0)==0}else b=1;return b|0}function BR(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=d[a+16>>0]|d[a+17>>0]<<8|d[a+18>>0]<<16|d[a+19>>0]<<24;h=d[a+20>>0]|d[a+21>>0]<<8|d[a+22>>0]<<16|d[a+23>>0]<<24;if(h&1)g=c[(c[a+(h>>1)>>2]|0)+g>>2]|0;i=VM(c[(c[a+32>>2]|0)+12>>2]|0)|0;return +(+cd[g&1](a+(h>>1)|0,i,b,-1,e,f))}function CR(b){b=b|0;var d=0,e=0,f=0;if(!(a[b+32>>0]|0))d=0;else d=c[b+8>>2]|0;e=c[b>>2]|0;f=c[b+4>>2]|0;return (c[b+12>>2]|0)+d+((e|0)>(f|0)?f:e)|0}function DR(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if((c[a+24>>2]|0)<(b|0)){c[d>>2]=306312;c[d+4>>2]=379;$L(302368,306288,2,1702e3,d)}c[a+28>>2]=b;i=d;return}function ER(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[(Ik(a+112|0,b)|0)>>2]|0;if((e|0)==(c[d>>2]|0)){e=c[(Ik(a+132|0,b)|0)>>2]|0;d=(e|0)==(c[d+4>>2]|0)}else d=0;return d|0}function FR(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(!((d|0)<1?1:(c[b+4>>2]|0)>=(d|0))){h=XEa(d>>>0>107374182?-1:d*40|0)|0;if(d){e=h;do{a[e>>0]=-1;g=e+8|0;c[g>>2]=-1;c[g+4>>2]=-1;g=e+24|0;c[g>>2]=-1;c[g+4>>2]=-1;a[e+32>>0]=0;e=e+40|0}while((e|0)!=(h+(d*40|0)|0))}e=c[b>>2]|0;f=c[b+8>>2]|0;if((e|0)>0){g=0;do{i=h+(g*40|0)|0;j=f+(g*40|0)|0;c[i+0>>2]=c[j+0>>2];c[i+4>>2]=c[j+4>>2];c[i+8>>2]=c[j+8>>2];c[i+12>>2]=c[j+12>>2];c[i+16>>2]=c[j+16>>2];c[i+20>>2]=c[j+20>>2];c[i+24>>2]=c[j+24>>2];c[i+28>>2]=c[j+28>>2];a[i+32>>0]=a[j+32>>0]|0;g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[b+8>>2]=h;c[b+4>>2]=d}return}function GR(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+48|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){e=c[(c[b>>2]|0)+8>>2]|0;f=j+0|0;g=(c[a+8>>2]|0)+(d*40|0)+0|0;h=f+40|0;do{c[f>>2]=c[g>>2];f=f+4|0;g=g+4|0}while((f|0)<(h|0));Rc[e&63](b,j);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=j;return}function HR(a,b){a=a|0;b=b|0;var d=0;d=c[b>>2]|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;FR(a,d);IR(a,b);return}function IR(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+48|0;FR(b,(c[d>>2]|0)+(c[b>>2]|0)|0);if((c[d>>2]|0)>0){h=0;do{e=j+0|0;f=(c[d+8>>2]|0)+(h*40|0)+0|0;g=e+40|0;do{c[e>>2]=c[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(g|0));e=c[b>>2]|0;if((e|0)==(c[b+4>>2]|0)){QR(b);e=c[b>>2]|0}c[b>>2]=e+1;g=(c[b+8>>2]|0)+(e*40|0)|0;c[g+0>>2]=c[j+0>>2];c[g+4>>2]=c[j+4>>2];c[g+8>>2]=c[j+8>>2];c[g+12>>2]=c[j+12>>2];c[g+16>>2]=c[j+16>>2];c[g+20>>2]=c[j+20>>2];c[g+24>>2]=c[j+24>>2];c[g+28>>2]=c[j+28>>2];a[g+32>>0]=a[j+32>>0]|0;h=h+1|0}while((h|0)<(c[d>>2]|0))}i=j;return}function JR(a,b){a=a|0;b=b|0;if((a|0)!=0?(c[a>>2]|0)>(b|0):0)a=c[(RR(a,b)|0)>>2]|0;else a=0;return a|0}function KR(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<1)|0;Ja(1701640,1701680,663,1701712);return 0}function LR(a,b,c){a=a|0;b=b|0;c=+c;if(!b)c=0.0;else if((b|0)!=1)c=c+ +(b+-1|0)*+h[a+664>>3];return +c}function MR(a){a=a|0;var b=0;b=i;i=i+32|0;ry(b);SR(a,b);oy(b);i=b;return}function NR(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if((b|0)<=0){c[d>>2]=1701680;c[d+4>>2]=669;$L(302368,375960,2,1702e3,d);b=c[a>>2]|0}i=d;return (c[a+8>>2]|0)+((b+-1|0)*20|0)|0}function OR(a){a=a|0;var b=0;b=i;i=i+16|0;if((a|0)<=0){c[b>>2]=1701680;c[b+4>>2]=669;$L(302368,375960,2,1702e3,b)}i=b;return}function PR(a){a=a|0;var b=0,d=0;if((c[a+176>>2]|0)!=0?(b=c[a+76>>2]|0,d=c[a+80>>2]|0,(((b|0)>(d|0)?d:b)|0)==0):0)a=1;else a=TR(a+40|0)|0;return a|0}function QR(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)FR(a,4);else FR(a,b<<1);return}function RR(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function SR(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){UR(a);d=c[a>>2]|0}c[a>>2]=d+1;sy((c[a+8>>2]|0)+(d*20|0)|0,b);return}function TR(b){b=b|0;var d=0,e=0;if((a[b+32>>0]|0)!=0?(c[b+8>>2]|0)!=0:0)b=0;else{d=c[b+36>>2]|0;e=c[b+40>>2]|0;if((((((d|0)>(e|0)?e:d)|0)==0?(CR(b)|0)==0:0)?(a[b+48>>0]|0)==0:0)?(a[b+56>>0]|0)==0:0)b=(c[b+100>>2]|0)!=2;else b=0}return b|0}function UR(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)my(a,4);else my(a,b<<1);return}function VR(a,d,f){a=a|0;d=d|0;f=f|0;var h=0.0,i=0,j=0.0,k=0,l=0,m=0;a:do if((c[a+100>>2]|0)!=2){k=b[a+96>>1]|0;j=+g[d+64>>2];do if(!(j>1.0))if(j<-1.0){b[a+96>>1]=0;i=0;break}else{b[a+96>>1]=1;i=1;break}else{b[a+96>>1]=2;i=2}while(0);i=a+(i<<1)+84|0;b[i>>1]=(b[i>>1]|0)+1<<16>>16;if(f){f=a+(b[a+96>>1]<<1)+90|0;b[f>>1]=(b[f>>1]|0)+1<<16>>16}if(k<<16>>16<0){j=+g[d+56>>2];h=+g[d+60>>2];i=b[a+96>>1]|0;if(j>+g[a+(i<<2)+60>>2])g[a+(i<<2)+60>>2]=j;if(h<+g[a+(i<<2)+72>>2])g[a+(i<<2)+72>>2]=h;if((b[a+86>>1]|0)==1){c[a+100>>2]=0;break}else{c[a+100>>2]=1;break}}i=b[a+96>>1]|0;b[a+98>>1]=(((k<<16>>16)-i|0)>-1?(k<<16>>16)-i|0:0-((k<<16>>16)-i)|0)+(e[a+98>>1]|0);h=+g[d+56>>2];j=+g[d+60>>2];if(h>+g[a+(i<<2)+60>>2])g[a+(i<<2)+60>>2]=h;if(j<+g[a+(i<<2)+72>>2]){g[a+(i<<2)+72>>2]=j;i=0}else i=0;do{if(+g[a+(i<<2)+60>>2]>+g[a+(i<<2)+72>>2]){l=23;break}i=i+1|0}while((i|0)<3);if((l|0)==23){c[a+100>>2]=2;break}i=b[a+84>>1]|0;if(!(+(b[a+90>>1]|0)>+(i<<16>>16)*.4)?(m=b[a+88>>1]|0,!(+(b[a+94>>1]|0)>+(m<<16>>16)*.4)):0){h=+g[a+64>>2];do if(h>0.0){if(!(+g[a+72>>2]/h<.4)?!(+g[a+80>>2]/h<.4):0)break;c[a+100>>2]=2;break a}while(0);if((b[a+98>>1]|0)>1){c[a+100>>2]=2;break}if(!((i|m)<<16>>16)){c[a+100>>2]=0;break}else{c[a+100>>2]=1;break}}c[a+100>>2]=2}while(0);return}function WR(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0;e=0;while(1){h=a+(e*20|0)|0;f=e+1|0;if(c[h>>2]|0){i=4;break}if((f|0)<4)e=f;else{e=4;break}}if((i|0)==4){g[d>>2]=+g[(aS(h,0)|0)+8>>2];a=aS(h,0)|0;i=c[a+4>>2]|0;c[b>>2]=c[a>>2];c[b+4>>2]=i;bS(h)}return e|0}function XR(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0;j=c[b+136>>2]|0;d=c[j+12>>2]|0;if((d|0)>0){h=0;i=-2;while(1){e=c[j+16>>2]|0;f=h;h=h+1|0;l=h+e|0;if((h|0)<(((d|0)>(l|0)?l:d)|0)){l=i-e|0;e=~d;e=~((l|0)>(e|0)?l:e);d=h;do{if(!(cS(f,d,j)|0?(l=Vc[c[(c[j>>2]|0)+12>>2]&63](j,f,d)|0,(c[(c[j+4>>2]|0)+(l<<2)>>2]|0)!=0):0))k=9;do if((k|0)==9){k=0;if(!(Oea(j,f,d+-1|0)|0)){if((h|0)>=(c[j+12>>2]|0))break;if(!(Oea(j,h,d)|0))break}YR(a,f,d,3,0.0,1,+g[a+84>>2],b)|0}while(0);d=d+1|0}while((d|0)!=(e|0));d=c[j+12>>2]|0}if((h|0)>=(d|0))break;else i=i+-1|0}}return}function YR(d,e,f,j,l,m,n,o){d=d|0;e=e|0;f=f|0;j=j|0;l=+l;m=m|0;n=+n;o=o|0;var p=0,q=0,r=0;r=i;i=i+64|0;q=c[o+136>>2]|0;if(cS(e,f,q)|0?Oea(q,e,f)|0:0)f=0;else p=3;do if((p|0)==3){p=c[d+96>>2]|0;if((p|0)>3){p=c[308328+(j<<2)>>2]|0;c[r+16>>2]=e;c[r+20>>2]=f;c[r+24>>2]=p;jN(306400,r+16|0);p=c[d+96>>2]|0}g[r+28>>2]=0.0;a[r+32>>0]=0;c[r+52>>2]=0;c[r+36>>2]=0;c[r+40>>2]=0;c[r+44>>2]=0;b[r+48>>1]=0;yO(e,f,0,0,(a[d+88>>0]|0)!=0,n,o,(p|0)!=0,r+28|0);a:do if(m)while(1){p=b[r+48>>1]|0;if(!((p&255)<<24>>24))break a;q=f+1|0;if(!((p&65535)<256?(q|0)<(c[(c[o+136>>2]|0)+12>>2]|0):0))break a;yO(e,q,0,0,(a[d+88>>0]|0)!=0,n,o,(c[d+96>>2]|0)!=0,r+28|0);f=q}while(0);if(a[r+32>>0]|0){if((c[d+96>>2]|0)<=3){f=0;break}jN(306456,r+16|0);f=0;break}if((c[d+(j*20|0)>>2]|0)>=(c[d+80>>2]|0)){if(!(c[d+96>>2]|0)){f=0;break}jN(306536,r+16|0);f=0;break}if((j|0)!=2)l=+(c[r+52>>2]|0);c[r>>2]=e;c[r+4>>2]=f;g[r+8>>2]=l;dS(d+(j*20|0)|0,r);if(!(c[d+96>>2]|0))f=1;else{h[k>>3]=l;c[r+16>>2]=c[k>>2];c[r+20>>2]=c[k+4>>2];jN(306496,r+16|0);f=1}}while(0);i=r;return f|0}function ZR(a,b,d,e){a=a|0;b=+b;d=d|0;e=e|0;var f=0,h=0.0,j=0,k=0,l=0.0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+48|0;f=c[d+12>>2]|0;if(f){q=d+8|0;do{n=c[q>>2]|0;q=f+8|0;j=c[q>>2]|0;o=c[j+44>>2]|0;p=c[n+48>>2]|0;k=c[e+136>>2]|0;do if(cS(o,p,k)|0){if(!(Oea(k,o,p)|0)){j=c[q>>2]|0;r=6;break}if((c[a+96>>2]|0)>3?(c[s>>2]=o,c[s+4>>2]=p,c[s+8>>2]=308392,jN(306344,s),n=c[e+136>>2]|0,p=Vc[c[(c[n>>2]|0)+12>>2]&63](n,o,p)|0,pk(s+12|0,c[(c[n+4>>2]|0)+(p<<2)>>2]|0),rk(s+12|0),!(sk(s+12|0)|0)):0)do{eS(tk(s+12|0)|0);OL(s+12|0)|0}while(!(sk(s+12|0)|0))}else r=6;while(0);if((r|0)==6){r=0;l=+g[n+32>>2];m=+g[j+32>>2];h=+g[d+36>>2]-(l*b/+g[n+36>>2]+m*b/+g[j+36>>2]);if(h>0.0)h=(+g[d+20>>2]-(l+m))/h;else h=0.0;YR(a,o,p,2,h,1,+g[a+84>>2],e)|0}f=c[f+12>>2]|0}while((f|0)!=0)}i=s;return}function _R(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0;if((c[d>>2]|0)>0){i=0;do{h=kP(d,i)|0;if(a[h+8>>0]|0)YR(b,c[h>>2]|0,(c[h+4>>2]|0)+-1|0,1,+g[e+4>>2],1,2.5,f)|0;i=i+1|0}while((i|0)<(c[d>>2]|0))}return}function $R(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=0;do{d=a+(e*20|0)|0;if((c[d>>2]|0)>0){f=0;do{fS(aS(d,f)|0,b);f=f+1|0}while((f|0)<(c[d>>2]|0))}e=e+1|0}while((e|0)!=4);return}function aS(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b*12|0)|0;Ja(1701640,1701680,663,1701712);return 0}function bS(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;b=c[a>>2]|0;do if((b|0)>=1){if((b+-1|0)<=0){c[a>>2]=b+-1;break}e=aS(a,b+-1|0)|0;c[d+0>>2]=c[e+0>>2];c[d+4>>2]=c[e+4>>2];c[d+8>>2]=c[e+8>>2];if((c[a>>2]|0)>(b+-1|0))c[a>>2]=b+-1;e=aS(a,gS(a,d)|0)|0;c[e+0>>2]=c[d+0>>2];c[e+4>>2]=c[d+4>>2];c[e+8>>2]=c[d+8>>2]}while(0);i=d;return}function cS(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if((a|0)>-1?(e=c[d+12>>2]|0,!((e|0)<=(a|0)|(a|0)>(b|0))):0)return ((e|0)>(b|0)?((c[d+16>>2]|0)+a|0)>(b|0):0)|0;return 0}function dS(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;i=i+16|0;e=c[a>>2]|0;c[d+0>>2]=c[b+0>>2];c[d+4>>2]=c[b+4>>2];c[d+8>>2]=c[b+8>>2];hS(a,d);f=iS(a)|0;c[b+0>>2]=c[f+0>>2];c[b+4>>2]=c[f+4>>2];c[b+8>>2]=c[f+8>>2];a=aS(a,jS(a,e,b)|0)|0;c[a+0>>2]=c[b+0>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];i=d;return}function eS(a){a=a|0;var d=0,e=0,f=0.0,j=0,l=0;d=i;i=i+32|0;kS(a,0);l=b[a+28>>1]|0;j=b[a+30>>1]|0;f=+g[a+64>>2];e=c[a+68>>2]|0;c[d>>2]=c[a+40>>2];c[d+4>>2]=l;c[d+8>>2]=j;h[k>>3]=f;c[d+12>>2]=c[k>>2];c[d+16>>2]=c[k+4>>2];c[d+20>>2]=e;jN(306608,d);i=d;return}function fS(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;d=c[a>>2]|0;if((c[a+4>>2]|0)<(d|0)){c[f>>2]=306584;c[f+4>>2]=339;$L(306336,306568,2,1702e3,f);d=c[a>>2]|0}if((d|0)>(b|0)){e=d+1|0;c[a>>2]=e}else e=d;d=c[a+4>>2]|0;if((d|0)>=(b|0)){c[a+4>>2]=d+1;d=d+1|0}if((d|0)<(e|0)){c[f>>2]=306584;c[f+4>>2]=342;$L(306336,306568,2,1702e3,f)}i=f;return}function gS(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0.0;f=c[a>>2]|0;a:do if((f|0)>1){e=0;h=1;while(1){d=h+1|0;if((d|0)<(f|0)){j=aS(a,d)|0;i=aS(a,h)|0;d=+g[j+8>>2]<+g[i+8>>2]?d:h}else d=h;k=+g[(aS(a,d)|0)+8>>2];if(!(k<+g[b+8>>2])){d=e;break a}h=aS(a,e)|0;j=aS(a,d)|0;c[h+0>>2]=c[j+0>>2];c[h+4>>2]=c[j+4>>2];c[h+8>>2]=c[j+8>>2];h=d<<1|1;if((h|0)>=(f|0))break;else e=d}}else d=0;while(0);return d|0}function hS(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){lS(a);d=c[a>>2]|0}c[a>>2]=d+1;a=(c[a+8>>2]|0)+(d*12|0)|0;c[a+0>>2]=c[b+0>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];return}function iS(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if((b|0)<=0){c[d>>2]=1701680;c[d+4>>2]=669;$L(306336,375960,2,1702e3,d);b=c[a>>2]|0}i=d;return (c[a+8>>2]|0)+((b+-1|0)*12|0)|0}function jS(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;a:do if((b|0)>0)while(1){e=((b+1|0)/2|0)+-1|0;f=aS(a,e)|0;if(!(+g[d+8>>2]<+g[f+8>>2]))break a;f=aS(a,b)|0;b=aS(a,e)|0;c[f+0>>2]=c[b+0>>2];c[f+4>>2]=c[b+4>>2];c[f+8>>2]=c[b+8>>2];if((e|0)>0)b=e;else{b=e;break}}while(0);return b|0}function kS(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,j=0.0,l=0.0,m=0.0,n=0;n=i;i=i+48|0;j=+g[a+32>>2];l=+g[a+36>>2];m=+g[a+56>>2];f=+g[a+60>>2];e=c[a+4>>2]|0;if(!b){b=0;a=0;d=1714496}else{QN(n+40|0,b,e);d=c[n+40>>2]|0;b=1;a=d;d=VM(d)|0}h[k>>3]=j;c[n>>2]=c[k>>2];c[n+4>>2]=c[k+4>>2];h[k>>3]=l;c[n+8>>2]=c[k>>2];c[n+12>>2]=c[k+4>>2];h[k>>3]=m;c[n+16>>2]=c[k>>2];c[n+20>>2]=c[k+4>>2];h[k>>3]=f;c[n+24>>2]=c[k>>2];c[n+28>>2]=c[k+4>>2];c[n+32>>2]=e;c[n+36>>2]=d;jN(306672,n);if(b)RM(a);i=n;return}function lS(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)mS(a,4);else mS(a,b<<1);return}function mS(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){g=XEa(b>>>0>357913941|(b*12|0)>>>0>4294967291?-1:(b*12|0)+4|0)|0;c[g>>2]=b;if(b){d=g+4|0;do{c[d>>2]=0;c[d+4>>2]=0;d=d+12|0}while((d|0)!=(g+4+(b*12|0)|0))}e=c[a>>2]|0;d=c[a+8>>2]|0;if((e|0)>0){f=0;do{h=g+4+(f*12|0)|0;i=d+(f*12|0)|0;c[h+0>>2]=c[i+0>>2];c[h+4>>2]=c[i+4>>2];c[h+8>>2]=c[i+8>>2];f=f+1|0}while((f|0)!=(e|0))}if(d)ZEa(d+-4|0);c[a+8>>2]=g+4;c[a+4>>2]=b}return}function nS(a){a=a|0;if(a){pR(a);YEa(a)}return}function oS(b,e){b=b|0;e=e|0;var f=0.0,j=0,l=0,m=0,n=0,o=0,p=0;j=i;i=i+32|0;c[j>>2]=e;jN(306704,j);if(a[b+184>>0]|0)jN(306728,j);e=c[b+188>>2]|0;if(e){c[j>>2]=VM(c[e>>2]|0)|0;jN(306736,j)}e=c[b+32>>2]|0;f=+g[b+4>>2];h[k>>3]=+g[b+20>>2];c[j>>2]=c[k>>2];c[j+4>>2]=c[k+4>>2];c[j+8>>2]=e;h[k>>3]=f;c[j+12>>2]=c[k>>2];c[j+16>>2]=c[k+4>>2];jN(306744,j);e=a[b+172>>0]|0;if(e<<24>>24){c[j>>2]=e&255;jN(306792,j)}if(!(PR(b)|0)){if(!(a[b+72>>0]|0))e=0;else e=c[b+48>>2]|0;o=c[b+76>>2]|0;p=c[b+80>>2]|0;n=CR(b+40|0)|0;m=d[b+88>>0]|0;l=d[b+96>>0]|0;c[j>>2]=e;c[j+4>>2]=(o|0)>(p|0)?p:o;c[j+8>>2]=n;c[j+12>>2]=m;c[j+16>>2]=l;jN(306816,j)}e=c[b+176>>2]|0;if(e){c[j>>2]=c[e+4>>2];jN(306880,j)}e=c[b+180>>2]|0;if(e){f=+g[e+16>>2];o=VM(c[e>>2]|0)|0;p=d[(c[b+180>>2]|0)+8>>0]|0;h[k>>3]=f;c[j>>2]=c[k>>2];c[j+4>>2]=c[k+4>>2];c[j+8>>2]=o;c[j+12>>2]=p;jN(306896,j)}f=+g[b+144>>2];if(f>0.0){h[k>>3]=f;c[j>>2]=c[k>>2];c[j+4>>2]=c[k+4>>2];jN(306944,j)}c[j>>2]=c[306968+(c[b+140>>2]<<2)>>2];jN(306960,j);jN(1714256,j);i=j;return}function pS(a){a=a|0;KL(a,237);c[a+4>>2]=0;g[a+8>>2]=3402823466385288598117041.0e14;c[a+12>>2]=0;return}function qS(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,j=0.0;d=i;i=i+48|0;j=+g[a+8>>2];f=c[a+4>>2]|0;e=c[a+12>>2]|0;c[d>>2]=b;h[k>>3]=j;c[d+4>>2]=c[k>>2];c[d+8>>2]=c[k+4>>2];c[d+12>>2]=f;c[d+16>>2]=e;jN(306984,d);pk(d+20|0,a);rk(d+20|0);if(!(sk(d+20|0)|0))do{oS(tk(d+20|0)|0,1714496);OL(d+20|0)|0}while(!(sk(d+20|0)|0));i=d;return}function rS(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0.0;k=b[e>>1]|0;m=b[f>>1]|0;o=b[f+2>>1]|0;l=b[d+2>>1]|0;if(+(k<<16>>16)==+(m<<16>>16)){h=k;i=l}else{q=(+(b[e+2>>1]|0)-+(o<<16>>16))/(+(k<<16>>16)-+(m<<16>>16));i=~~((+(b[d>>1]|0)+q*(+(l<<16>>16)-(+(o<<16>>16)-+(m<<16>>16)*q)))/(q*q+1.0));h=i;i=~~(+(o<<16>>16)-+(m<<16>>16)*q+q*+(i<<16>>16))}if((k<<16>>16>h<<16>>16?1:h<<16>>16>m<<16>>16)?(m<<16>>16>h<<16>>16?1:h<<16>>16>k<<16>>16):0)p=12;else p=5;do if((p|0)==5){j=b[e+2>>1]|0;if((j<<16>>16>i<<16>>16?1:i<<16>>16>o<<16>>16)?(o<<16>>16>i<<16>>16?1:i<<16>>16>j<<16>>16):0){p=12;break}n=h<<16>>16;a=c[a+4412>>2]|0;h=i<<16>>16;if((((n-(k<<16>>16)|0)>-1?n-(k<<16>>16)|0:0-(n-(k<<16>>16))|0)|0)<(a|0)?(((h-(j<<16>>16)|0)>-1?h-(j<<16>>16)|0:0-(h-(j<<16>>16))|0)|0)<(a|0):0){p=13;break}if((((n-(m<<16>>16)|0)>-1?n-(m<<16>>16)|0:0-(n-(m<<16>>16))|0)|0)<(a|0)?(j=h-(o<<16>>16)|0,(((j|0)>-1?j:0-j|0)|0)<(a|0)):0){p=12;break}a=1;e=lka(n,h,f,e)|0}while(0);if((p|0)==12)if(!e){a=0;e=f}else p=13;if((p|0)==13)if(!f)a=0;else{p=b[d>>1]|0;a=ba((k<<16>>16)-p|0,(k<<16>>16)-p|0)|0;d=(b[e+2>>1]|0)-(l<<16>>16)|0;p=((ba(d,d)|0)+a|0)<((ba((o<<16>>16)-(l<<16>>16)|0,(o<<16>>16)-(l<<16>>16)|0)|0)+(ba((m<<16>>16)-p|0,(m<<16>>16)-p|0)|0)|0);a=0;e=p?e:f}c[g>>2]=e;return a|0}function sS(a){a=a|0;var b=0,d=0,e=0,f=0,j=0.0,l=0;f=i;i=i+16|0;e=0;do{b=VM(c[a>>2]|0)|0;c[f>>2]=e;c[f+4>>2]=b;jN(307072,f);b=a+(e*20|0)+8|0;if((c[b>>2]|0)>0){d=0;do{l=c[362976+(d<<2)>>2]|0;j=+g[(vA(b,d)|0)>>2];c[f>>2]=l;h[k>>3]=j;c[f+4>>2]=c[k>>2];c[f+8>>2]=c[k+4>>2];jN(307112,f);d=d+1|0}while((d|0)<(c[b>>2]|0))}e=e+1|0}while((e|0)!=2);i=f;return}function tS(a,b){a=a|0;b=b|0;xS(a+8|0,b+8|0);xS(a+28|0,b+28|0);return}function uS(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;f=a[b>>0]|0;a:do if(f<<24>>24==35)f=0;else if(!(f<<24>>24))j=4;else{g=b;h=0;while(1){h=h+1|0;if(YFa(f<<24>>24)|0)break;g=b+h|0;f=a[g>>0]|0;if(!(f<<24>>24)){j=4;break a}}a[g>>0]=0;c[d>>2]=b;c[k>>2]=e;f=(zEa(b+h|0,307168,k)|0)==1}while(0);if((j|0)==4){c[k>>2]=b;jN(307128,k);f=0}i=k;return f|0}function vS(a,b){a=a|0;b=b|0;var d=0.0,e=0,f=0.0;e=0;d=0.0;do{f=+g[(vA(a+((c[a+4>>2]|0)*20|0)+8|0,e)|0)>>2];d=d+f*+g[b+(e<<2)>>2];e=e+1|0}while((e|0)!=24);d=-d/100.0;if(d<1.0000000474974513e-03)d=1.0000000474974513e-03;else d=d>100.0?100.0:d;return +d}function wS(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0,j=0,k=0,l=0.0;k=i;i=i+128|0;VK(k+16|0);YK(k+16|0,24);fN(a,b);j=a+((c[a+4>>2]|0)*20|0)+8|0;MH(j,24,0.0);while(1){if((f|0)>=0?(h=Na(d|0)|0,!((((h|0)<0)<<31>>31|0)<(f|0)|(((h|0)<0)<<31>>31|0)==(f|0)&h>>>0>>0)):0)break;if(!(Ic(k+24|0,100,d|0)|0))break;c[k+8>>2]=0;if(!(uS(k+24|0,k+8|0,k+4|0)|0))continue;h=c[k+8>>2]|0;b=uha(h)|0;if((b|0)<0){c[k>>2]=h;jN(307176,k);continue}if(!(yS(k+16|0,b)|0))zS(k+16|0,b);l=+g[k+4>>2];g[(vA(j,b)|0)>>2]=l}h=c[k+20>>2]|0;e=(ZK(c[k+16>>2]|0,h)|0)==24;if(!e){b=0;do{if(!(yS(k+16|0,b)|0)){c[k>>2]=c[362976+(b<<2)>>2];jN(307216,k)}b=b+1|0}while((b|0)<24);fN(a,1714496);if((c[j>>2]|0)>0)c[j>>2]=0}XK(h);i=k;return e|0}function xS(a,b){a=a|0;b=b|0;if((b|0)!=(a|0)){if((c[a>>2]|0)>0)c[a>>2]=0;AS(a,b)}return}function yS(a,b){a=a|0;b=b|0;var d=0;d=$K(a,b)|0;return (c[(c[a+4>>2]|0)+(d<<2)>>2]&1<<(b&31)|0)!=0|0}function zS(a,b){a=a|0;b=b|0;var d=0;d=$K(a,b)|0;a=(c[a+4>>2]|0)+(d<<2)|0;c[a>>2]=c[a>>2]|1<<(b&31);return}function AS(a,b){a=a|0;b=b|0;var d=0;bB(a,(c[b>>2]|0)+(c[a>>2]|0)|0);if((c[b>>2]|0)>0){d=0;do{sA(a,+g[(c[b+8>>2]|0)+(d<<2)>>2]);d=d+1|0}while((d|0)<(c[b>>2]|0))}return}function BS(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+32|0;if(e<<16>>16>d<<16>>16)aka(b,g,d<<16>>16,e<<16>>16);f=mT(a,c[(Vy(g,d<<16>>16)|0)>>2]|0,h)|0;pk(j,f);rk(j);if(!(sk(j)|0))do{a=tk(j)|0;c[a+44>>2]=d<<16>>16;c[a+48>>2]=e<<16>>16;OL(j)|0}while(!(sk(j)|0));if(e<<16>>16>d<<16>>16)_ja(b,g,d<<16>>16,e<<16>>16);i=j;return f|0}function CS(a,b){a=a|0;b=b|0;var d=0;d=c[b>>2]|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;GS(a,d);HS(a,b);return}function DS(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;f=c[a>>2]|0;if((f|0)==(c[a+4>>2]|0)){IS(a);f=c[a>>2]|0}c[a>>2]=f+1;a=c[a+8>>2]|0;c[a+(f<<3)>>2]=d;b[a+(f<<3)+4>>1]=e;return}function ES(a,d){a=a|0;d=d|0;var f=0,g=0,h=0;JS(a+8|0,d);b[a+28>>1]=-1;b[a+30>>1]=-1;if((c[a+8>>2]|0)>0){f=0;g=0;d=0;while(1){if((e[(Dx(a+8|0,f)|0)+4>>1]|0|0)<=(g|0))if((e[(Dx(a+8|0,f)|0)+4>>1]|0|0)>(d|0)){d=e[(Dx(a+8|0,f)|0)+4>>1]|0;b[a+30>>1]=c[(Dx(a+8|0,f)|0)>>2];h=g}else h=g;else{b[a+30>>1]=b[a+28>>1]|0;h=e[(Dx(a+8|0,f)|0)+4>>1]|0;b[a+28>>1]=c[(Dx(a+8|0,f)|0)>>2];d=g}f=f+1|0;if((f|0)>=(c[a+8>>2]|0))break;else g=h}}return}function FS(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;e=i;i=i+16|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;h=(c[a+8>>2]|0)+(d<<3)|0;g=c[h+4>>2]|0;c[e>>2]=c[h>>2];c[e+4>>2]=g;c[e+8>>2]=c[e+0>>2];c[e+12>>2]=c[e+4>>2];Rc[f&63](b,e+8|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function GS(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(!((d|0)<1?1:(c[a+4>>2]|0)>=(d|0))){h=XEa(d>>>0>536870911?-1:d<<3)|0;if(d){e=h;do{c[e>>2]=-1;b[e+4>>1]=0;e=e+8|0}while((e|0)!=(h+(d<<3)|0))}f=c[a>>2]|0;if((f|0)>0){g=0;do{i=h+(g<<3)|0;e=c[a+8>>2]|0;j=e+(g<<3)|0;c[i+0>>2]=c[j+0>>2];b[i+4>>1]=b[j+4>>1]|0;g=g+1|0}while((g|0)!=(f|0))}else e=c[a+8>>2]|0;if(e)ZEa(e);c[a+8>>2]=h;c[a+4>>2]=d}return}function HS(a,b){a=a|0;b=b|0;var d=0,e=0;GS(a,(c[b>>2]|0)+(c[a>>2]|0)|0);if((c[b>>2]|0)>0){d=0;do{e=(c[b+8>>2]|0)+(d<<3)|0;DS(a,c[e>>2]|0,c[e+4>>2]&65535);d=d+1|0}while((d|0)<(c[b>>2]|0))}return}function IS(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)GS(a,4);else GS(a,b<<1);return}function JS(a,b){a=a|0;b=b|0;if((b|0)!=(a|0)){if((c[a>>2]|0)>0)c[a>>2]=0;HS(a,b)}return}function KS(){c[76810]=1701984;c[76812]=389976;c[76814]=390024;c[76816]=390056;c[76818]=390112;c[76820]=390152;c[76822]=390184;c[76824]=390240;c[76826]=390280;c[76828]=390328;c[76830]=390376;c[76832]=390400;c[76834]=390432;Wk(307344,0,307360,307392,0,kM()|0);Wk(307408,0,307424,307456,0,kM()|0);Wk(307472,0,307488,307512,0,kM()|0);return}function LS(b,e,f,j){b=b|0;e=e|0;f=f|0;j=j|0;var k=0,l=0,m=0,n=0,o=0.0,p=0,q=0,r=0;r=i;i=i+144|0;RS(r+44|0,c[b+5036>>2]|0,+h[b+5088>>3],(a[b+4898>>0]|0)!=0,b+2744|0,c[b+5012>>2]|0);o=-+h[b+3584>>3]/+h[b+1520>>3];SS(r+24|0);MS(b,e,r+44|0,r+24|0,f,j);if((a[(c[b+5128>>2]|0)+768>>0]|0)==0?(c[b+5060>>2]|0)>=1:0){if((a[b+4354>>0]|0)!=0?(c[e+72>>2]|0)!=0:0)cP(b,o,e,f,j,r+44|0,r+24|0);if(c[b+4332>>2]|0)Zja(e+76|0);if((j|0)!=0?!(jaa(j,c[e+140>>2]|0)|0):0)paa(j,e,(a[b+4978>>0]|0)!=0)}c[r+16>>2]=0;c[r+20>>2]=0;NM(r+4|0);a:do if(a[b+4174>>0]|0){p=0;b:while(1){if(!((a[(c[b+5128>>2]|0)+768>>0]|0)==0?(c[b+5060>>2]|0)>(p|0):0)){if(!j)break a;if(!(uaa(a[j+104>>0]|0)|0)){q=33;break a}}while(1){l=WR(r+44|0,r+16|0,r+8|0)|0;if((l|0)==4)break b;k=c[e+136>>2]|0;m=c[r+16>>2]|0;n=c[r+20>>2]|0;if(!(cS(m,n,k)|0)){Pea(k,n+1-m|0);k=c[e+136>>2]|0}if(!(cS(m,n,k)|0))continue;if(!(Oea(k,m,n)|0))break}NS(b,+g[r+8>>2],r+16|0,c[308328+(l<<2)>>2]|0,r+24|0,e,r+44|0,j);OS(b,o,m,r+24|0,e,r+44|0,f,j);p=((a[f>>0]^1)&255)+p|0;if((c[b+5012>>2]|0)>0){c[r>>2]=p;jN(307592,r)}a[f>>0]=0;if(!(a[(c[b+5128>>2]|0)+768>>0]|0))k=(c[b+5060>>2]|0)<=(p|0);else k=1;if(k&(j|0)!=0?saa(j,c[e+140>>2]|0)|0:0)PS(b,e,r+44|0,j,r+4|0);if(!(a[b+4174>>0]|0)){q=32;break a}}if((c[b+5012>>2]|0)>0){jN(307560,r);q=32}else q=32}else q=32;while(0);if((q|0)==32?(j|0)!=0:0)q=33;if((q|0)==33)vaa(j,c[e+140>>2]|0,(a[b+4978>>0]|0)!=0,r+4|0);if((c[b+5012>>2]|0)>0){c[r>>2]=d[(c[b+5128>>2]|0)+768>>0];jN(307624,r)}RM(c[r+4>>2]|0);TS(r+24|0);US(r+44|0);i=r;return}function MS(b,d,e,f,g,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;var k=0.0,l=0;l=i;i=i+16|0;if((c[b+5012>>2]|0)>0){c[l>>2]=(a[b+4174>>0]|0)!=0?307680:1714496;jN(307696,l);Sea(c[d+136>>2]|0,(c[b+2776>>2]|0)+184|0)}XR(e,d);k=-+h[b+3584>>3]/+h[b+1520>>3];NQ(c[b+5128>>2]|0,c[b+5136>>2]|0,(a[b+4898>>0]|0)!=0,+h[b+5088>>3],k);if(j)raa(j,c[d+72>>2]|0,(a[b+4978>>0]|0)!=0);VS(f,c[(c[d+136>>2]|0)+12>>2]|0,-1,0,0);a[(WS(f,0)|0)+5>>0]=1;OS(b,k,0,f,d,e,g,j);i=l;return}function NS(a,b,d,e,f,g,j,l){a=a|0;b=+b;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;l=l|0;var m=0,n=0,o=0,p=0;p=i;i=i+48|0;if((c[a+5012>>2]|0)>0){o=c[d>>2]|0;n=c[d+4>>2]|0;c[p>>2]=e;h[k>>3]=b;c[p+4>>2]=c[k>>2];c[p+8>>2]=c[k+4>>2];c[p+12>>2]=o;c[p+16>>2]=n;jN(308e3,p)}if(!j){c[p>>2]=307784;c[p+4>>2]=272;$L(307528,308064,2,1702e3,p)}o=c[g+136>>2]|0;m=c[d>>2]|0;n=c[d+4>>2]|0;if(!(cS(m,n,o)|0)){Pea(o,n+1-m|0);m=c[d>>2]|0;n=c[d+4>>2]|0}if(!(cS(m,n,o)|0)){c[p>>2]=307784;c[p+4>>2]=278;$L(307528,308088,2,1702e3,p);m=c[d>>2]|0;n=c[d+4>>2]|0}m=Nc[c[(c[a>>2]|0)+8>>2]&3](a,g+76|0,m&65535,n&65535,e,c[g+72>>2]|0,l)|0;n=Vc[c[(c[o>>2]|0)+12>>2]&63](o,c[d>>2]|0,c[d+4>>2]|0)|0;n=c[(c[o+4>>2]|0)+(n<<2)>>2]|0;if(n){pk(p+20|0,n);yB(p+20|0,m);if(!m)m=0;else{KL(m,229);YEa(m);m=0}}else{e=Vc[c[(c[o>>2]|0)+12>>2]&63](o,c[d>>2]|0,c[d+4>>2]|0)|0;c[(c[o+4>>2]|0)+(e<<2)>>2]=m}if((c[a+5012>>2]|0)>0){e=Vc[c[(c[o>>2]|0)+12>>2]&63](o,c[d>>2]|0,c[d+4>>2]|0)|0;Via(308120,c[(c[o+4>>2]|0)+(e<<2)>>2]|0,(c[a+2776>>2]|0)+184|0);Sea(o,(c[a+2776>>2]|0)+184|0)}if((m|0)!=0?(c[m>>2]|0)!=0:0){m=c[d>>2]|0;if((m|0)>0)YR(j,m+-1|0,c[d+4>>2]|0,3,0.0,1,+h[a+5088>>3],g)|0;m=(c[d+4>>2]|0)+1|0;if((m|0)<(c[o+12>>2]|0))YR(j,c[d>>2]|0,m,3,0.0,1,+h[a+5088>>3],g)|0}g=WS(f,c[d>>2]|0)|0;c[g>>2]=c[d+4>>2];i=p;return}function OS(b,d,e,f,g,h,j,k){b=b|0;d=+d;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+48|0;t=c[g+136>>2]|0;l=c[t+12>>2]|0;if((l|0)!=(c[f>>2]|0)){c[v>>2]=307784;c[v+4>>2]=203;$L(307528,307744,2,1702e3,v);l=c[t+12>>2]|0}if((l|0)!=(c[j+24>>2]|0)){c[v>>2]=307784;c[v+4>>2]=204;$L(307528,307816,2,1702e3,v);l=c[t+12>>2]|0}if((l|0)>(e|0)){s=e;do{r=WS(f,s)|0;if(XS(c[r>>2]|0,a[r+4>>0]|0,a[r+5>>0]|0)|0){l=c[t+12>>2]|0;e=(c[t+16>>2]|0)+s|0;r=WS(f,s)|0;if((YS(c[r>>2]|0,a[r+4>>0]|0,a[r+5>>0]|0)|0)>-1){r=WS(f,s)|0;r=YS(c[r>>2]|0,a[r+4>>0]|0,a[r+5>>0]|0)|0;m=r}else{m=s;r=((l|0)>(e|0)?e:l)+-1|0}if((c[b+5012>>2]|0)>0){e=WS(f,s)|0;if((c[e>>2]|0)==2147483647)e=1;else e=(a[e+5>>0]|0)!=0;c[v>>2]=s;c[v+4>>2]=m;c[v+8>>2]=r;c[v+12>>2]=e&1;jN(307872,v)}if((m|0)<=(r|0)){p=(s|0)==0;q=s+-1|0;while(1){l=Vc[c[(c[t>>2]|0)+12>>2]&63](t,s,m)|0;l=c[(c[t+4>>2]|0)+(l<<2)>>2]|0;if(p)o=0;else o=c[(fR(j+24|0,q)|0)>>2]|0;if(l){n=c[b+5128>>2]|0;e=WS(f,s)|0;if((c[e>>2]|0)==(m|0))e=1;else e=(a[e+5>>0]|0)!=0;if((OQ(n,e,s,m,l,o,g,j,k)|0?(u=m+1|0,(u|0)<(c[t+12>>2]|0)):0)?(a[(WS(f,u)|0)+4>>0]=1,(c[b+5012>>2]|0)>0):0){c[v>>2]=u;jN(307936,v)}}if((m|0)<(r|0))m=m+1|0;else break}}}s=s+1|0}while((s|0)<(c[t+12>>2]|0))}if(c[j+44>>2]|0){if(!(mga(g)|0)){c[v>>2]=307784;c[v+4>>2]=240;$L(307528,307968,2,1702e3,v)}l=c[j+44>>2]|0;if((a[l+184>>0]|0)!=0?(ZR(h,d,l,g),(c[j+4>>2]|0)!=0):0)_R(h,j+4|0,c[j+44>>2]|0,g)}if((c[f>>2]|0)>0){l=0;do{g=WS(f,l)|0;c[g>>2]=-1;a[g+4>>0]=0;a[g+5>>0]=0;pk(v+16|0,c[(fR(j+24|0,l)|0)>>2]|0);rk(v+16|0);if(!(sk(v+16|0)|0))do{a[(tk(v+16|0)|0)+184>>0]=0;OL(v+16|0)|0}while(!(sk(v+16|0)|0));l=l+1|0}while((l|0)<(c[f>>2]|0))}i=v;return}function PS(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var i=0,j=0.0;ZS(e);j=+h[b+5088>>3];i=WEa(32)|0;c[i>>2]=308176;c[i+4>>2]=e;a[i+8>>0]=1;a[i+9>>0]=0;a[i+10>>0]=0;a[i+11>>0]=0;a[i+12>>0]=0;a[i+13>>0]=0;a[i+14>>0]=0;a[i+15>>0]=0;h[i+16>>3]=j;c[i+24>>2]=d;taa(f,c[d+140>>2]|0,c[d+136>>2]|0,(a[b+4978>>0]|0)!=0,g,i);Qc[c[(c[i>>2]|0)+4>>2]&511](i);return}function QS(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if((c[d+24>>2]|0)>0){f=0;do{pS(c[(fR(d+24|0,f)|0)>>2]|0);f=f+1|0}while((f|0)<(c[d+24>>2]|0))}fga(b);c[d+44>>2]=0;a[(WS(e,0)|0)+5>>0]=1;if((c[e>>2]|0)>1){d=1;do{b=WS(e,d)|0;c[b>>2]=-1;a[b+4>>0]=0;a[b+5>>0]=0;d=d+1|0}while((d|0)<(c[e>>2]|0))}return}function RS(b,d,e,f,h,i){b=b|0;d=d|0;e=+e;f=f|0;h=h|0;i=i|0;var j=0;j=b;do{cT(j);j=j+20|0}while((j|0)!=(b+80|0));c[b+80>>2]=d;g[b+84>>2]=e;a[b+88>>0]=f&1;c[b+92>>2]=h;c[b+96>>2]=i;return}function SS(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;QP(a,4);return}function TS(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;e=i;i=i+16|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;h=(c[a+8>>2]|0)+(d<<3)|0;g=c[h+4>>2]|0;c[e>>2]=c[h>>2];c[e+4>>2]=g;c[e+8>>2]=c[e+0>>2];c[e+12>>2]=c[e+4>>2];Rc[f&63](b,e+8|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function US(a){a=a|0;var b=0;b=a+80|0;do{b=b+-20|0;dT(b)}while((b|0)!=(a|0));return}function VS(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;QP(b,d);c[b>>2]=d;if((d|0)>0){h=0;do{i=c[b+8>>2]|0;c[i+(h<<3)>>2]=e;a[i+(h<<3)+4>>0]=f;a[i+(h<<3)+5>>0]=g;h=h+1|0}while((h|0)!=(d|0))}return}function WS(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<3)|0;Ja(1701640,1701680,663,1701712);return 0}function XS(a,b,c){a=a|0;b=b|0;c=c|0;return (b<<24>>24==0&c<<24>>24==0?(a|0)>-1:1)|0}function YS(a,b,c){a=a|0;b=b|0;c=c|0;return (b<<24>>24==0&c<<24>>24==0?a:-1)|0}function ZS(a){a=a|0;if((c[a>>2]|0)>0)c[a>>2]=0;if((c[a+20>>2]|0)>0)c[a+20>>2]=0;if((c[a+40>>2]|0)>0)c[a+40>>2]=0;if((c[a+60>>2]|0)>0)c[a+60>>2]=0;return}function _S(a,b,c,d,e){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;return YR(a,d,e,0,0.0,0,b,c)|0}function $S(a){a=a|0;return}function aT(a){a=a|0;YEa(a);return}function bT(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,i=0;f=d[a+8>>0]|d[a+9>>0]<<8|d[a+10>>0]<<16|d[a+11>>0]<<24;i=d[a+12>>0]|d[a+13>>0]<<8|d[a+14>>0]<<16|d[a+15>>0]<<24;g=(c[a+4>>2]|0)+(i>>1)|0;if(i&1)f=c[(c[g>>2]|0)+f>>2]|0;return Wc[f&1](g,+h[a+16>>3],c[a+24>>2]|0,b,e)|0}function cT(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;mS(a,4);return}function dT(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=i;i=i+16|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;g=(c[a+8>>2]|0)+(d*12|0)|0;c[e+0>>2]=c[g+0>>2];c[e+4>>2]=c[g+4>>2];c[e+8>>2]=c[g+8>>2];Rc[f&63](b,e);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b+-4|0);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function eT(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(b)fN(a+356|0,b);hra(a+2700|0);upa(a,c);if(d)yma(a+2744|0,xma()|0);g[a+5132>>2]=+h[a+4776>>3];return}function fT(a){a=a|0;gT(a);return}function gT(a){a=a|0;tpa(a);zma(a+2744|0);return}function hT(a){a=a|0;h[a+4776>>3]=70.0;c[(c[a+5128>>2]|0)+776>>2]=0;ypa(a);return}function iT(a){a=a|0;h[a+4776>>3]=+g[a+5132>>2];c[(c[a+5128>>2]|0)+776>>2]=1;zpa(a);return}function jT(a,d){a=a|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;hna(a+2744|0,(b[(c[d+4>>2]|0)+10>>1]&16)!=0);bP(a,d);f=(c[a+3804>>2]|0)>0;nga(d,f,VM(c[a+3884>>2]|0)|0);if(!(mga(d)|0)){c[e>>2]=308456;c[e+4>>2]=114;$L(308424,308432,2,1702e3,e)}i=e;return}function kT(a,b){a=a|0;b=b|0;return Gma(a+2744|0,b,0)|0}function lT(a,b){a=a|0;b=b|0;var d=0,e=0;e=Dba(b)|0;e=(e|0)==0?b:e;d=WEa(4)|0;c[d>>2]=0;jpa(a,e,d);if(!((e|0)==(b|0)|(e|0)==0)){Bk(e);YEa(e)}return d|0}function mT(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=i;i=i+16|0;f=lT(b,d)|0;if(e){h=(c[b+2776>>2]|0)+184|0;Eba(g,c[d>>2]|0);oaa(e,h,g,f,(a[b+4978>>0]|0)!=0)}i=g;return f|0}function nT(b){b=b|0;var d=0;Fqa(b);c[b>>2]=308488;Wk(b+4132|0,1,308504,308536,0,b+364|0);Wk(b+4148|0,0,308608,308632,0,b+364|0);Wk(b+4164|0,1,308664,308688,0,b+364|0);Wk(b+4180|0,0,308712,308736,0,b+364|0);tJ(b+4200|0,1.0,308856,308880,b+364|0);Wk(b+4240|0,0,308912,308936,0,b+364|0);rJ(b+4256|0,1,309e3,309024,0,b+364|0);tJ(b+4280|0,-2.25,309056,309088,b+364|0);rJ(b+4320|0,0,309104,309120,0,b+364|0);Wk(b+4344|0,1,309136,309152,0,b+364|0);Wk(b+4360|0,0,309168,309192,0,b+364|0);rJ(b+4376|0,1e4,309208,309232,0,b+364|0);rJ(b+4400|0,2,309248,309272,0,b+364|0);rJ(b+4424|0,6,309288,309312,0,b+364|0);rJ(b+4448|0,150,309344,309368,0,b+364|0);Wk(b+4472|0,1,309408,309432,0,b+364|0);rJ(b+4488|0,-50,309456,309480,0,b+364|0);rJ(b+4512|0,2e3,309504,309528,0,b+364|0);tJ(b+4536|0,.5,309552,309576,b+364|0);tJ(b+4576|0,.9,309600,309624,b+364|0);tJ(b+4616|0,.15,309656,309680,b+364|0);rJ(b+4656|0,90,309704,309728,0,b+364|0);tJ(b+4680|0,.06,309824,309848,b+364|0);tJ(b+4720|0,5.0,309880,309904,b+364|0);tJ(b+4760|0,100.0,309928,309944,b+364|0);tJ(b+4800|0,50.0,309960,309976,b+364|0);rJ(b+4840|0,3,31e4,310016,0,b+364|0);rJ(b+4864|0,0,310040,310064,0,b+364|0);Wk(b+4888|0,0,310096,310128,0,b+364|0);rJ(b+4904|0,0,310184,310208,0,b+364|0);rJ(b+4928|0,4,310232,310256,0,b+364|0);Wk(b+4952|0,0,310304,310336,0,b+364|0);Wk(b+4968|0,0,310400,310424,0,b+364|0);Wk(b+4984|0,0,310456,310480,0,b+364|0);rJ(b+5e3|0,0,310512,310536,0,b+364|0);rJ(b+5024|0,2e3,310560,310592,0,b+364|0);rJ(b+5048|0,20,310648,310688,0,b+364|0);tJ(b+5072|0,2.0,310800,310832,b+364|0);Wk(b+5112|0,1,310872,310896,0,b+364|0);Ek(b+5140|0);c[b+5136>>2]=0;d=WEa(824)|0;LQ(d,b+1996|0,b+2744|0);c[b+5128>>2]=d;a[b+5160>>0]=0;a[b+5161>>0]=0;a[b+5162>>0]=0;a[b+5163>>0]=0;a[b+5164>>0]=0;a[b+5165>>0]=0;a[b+5166>>0]=0;a[b+5167>>0]=0;return}function oT(a){a=a|0;var b=0;c[a>>2]=308488;b=c[a+5128>>2]|0;if(b){MQ(b);YEa(b)}Jk(a+5140|0);Xk(a+5112|0);wJ(a+5072|0);xJ(a+5048|0);xJ(a+5024|0);xJ(a+5e3|0);Xk(a+4984|0);Xk(a+4968|0);Xk(a+4952|0);xJ(a+4928|0);xJ(a+4904|0);Xk(a+4888|0);xJ(a+4864|0);xJ(a+4840|0);wJ(a+4800|0);wJ(a+4760|0);wJ(a+4720|0);wJ(a+4680|0);xJ(a+4656|0);wJ(a+4616|0);wJ(a+4576|0);wJ(a+4536|0);xJ(a+4512|0);xJ(a+4488|0);Xk(a+4472|0);xJ(a+4448|0);xJ(a+4424|0);xJ(a+4400|0);xJ(a+4376|0);Xk(a+4360|0);Xk(a+4344|0);xJ(a+4320|0);wJ(a+4280|0);xJ(a+4256|0);Xk(a+4240|0);wJ(a+4200|0);Xk(a+4180|0);Xk(a+4164|0);Xk(a+4148|0);Xk(a+4132|0);Gqa(a);return}function pT(a){a=a|0;oT(a);YEa(a);return}function qT(){var a=0;a=i;i=i+48|0;c[77960]=(c[77960]|0)+1;fN(311832,311816);c[a>>2]=c[77960];wGa(a+8|0,32,383336,a)|0;dN(311832,a+8|0);dN(311832,311848);i=a;return}function rT(d,e,f,g,i,j,k,l){d=d|0;e=e|0;f=f|0;g=g|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0.0,n=0.0,o=0;if((l|0)==4)o=1;else o=(l|0)==3&1;a[d+8>>0]=o;o=(l|0)==1?1:(l|0)==4&1;a[d+9>>0]=o;c[d+12>>2]=l;c[d+16>>2]=4;c[d+40>>2]=0;b[d+46>>1]=0;b[d+44>>1]=0;c[d+20>>2]=ba(i,g)|0;if(!(o<<24>>24)){h[d>>3]=.75;c[d+28>>2]=~~(+(k|0)*.03125+.5);c[d+32>>2]=~~(+(k|0)*.03125+.5);c[d+36>>2]=4;m=.75}else{h[d>>3]=1.0;if((l|0)==4){n=+(k|0)*.03125;m=+(k|0)*2.5}else{n=+(k|0)*2.5;m=+(k|0)*.03125}c[d+28>>2]=~~(m+.5);c[d+32>>2]=~~(n+.5);c[d+36>>2]=5;m=1.0}g=~~(+(g|0)*m+.5);c[d+24>>2]=(g|0)<(j|0)?j:g;sT(d,e,f);return}function sT(a,c,d){a=a|0;c=c|0;d=d|0;var e=0;if((d|0)>32767)e=((d|0)/32767|0)+1|0;else e=1;b[a+44>>1]=(c|0)/(e|0)|0;b[a+46>>1]=(d|0)/(e|0)|0;return}function tT(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;h[d>>3]=0.0;a[d+8>>0]=0;a[d+9>>0]=0;c[d+12>>2]=5;c[d+16>>2]=5;c[d+20>>2]=150;c[d+24>>2]=1;c[d+36>>2]=1;c[d+40>>2]=500;b[d+46>>1]=0;b[d+44>>1]=0;g=(g|0)>3?g:3;c[d+28>>2]=g;c[d+32>>2]=g;sT(d,e,f);return}function uT(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;CV(a,b,d,e);c[a>>2]=311864;return}function vT(a){a=a|0;DV(a);return}function wT(a){a=a|0;DV(a);YEa(a);return}function xT(a,b,d){a=a|0;b=b|0;d=d|0;if((c[77789]|0)<(a|0)|(c[77831]|0)>(b|0)|(c[77875]|0)<(b|0)|(c[77853]|0)<(d|0))a=0;else a=(c[77897]|0)<=(d|0);return a|0}function yT(d,f,g,j,l){d=d|0;f=f|0;g=g|0;j=j|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+80|0;c[u+60>>2]=0;t=e[g+8>>1]|e[g+10>>1]<<16;t=xT(2,t<<16>>16,t>>16)|0;r=zT(d,f,0,g,u+60|0,u+64|0)|0;r=(zT(d,f,1,g,u+60|0,u+68|0)|0)+r|0;fA(u+32|0,u+60|0);IL(u+32|0);s=(iA(u+32|0)|0)+8|0;d=e[s>>1]|e[s+2>>1]<<16;s=e[s+4>>1]|e[s+6>>1]<<16;m=UGa(d|0,s|0,48)|0;m=_Ga(m|0,F|0,16)|0;o=(a[f+8>>0]|0)==0;d=o?d:s;$A(u+32|0);s=(iA(u+32|0)|0)+8|0;o=e[s>>1]|e[s+2>>1]<<16;s=e[s+4>>1]|e[s+6>>1]<<16;q=(a[f+8>>0]|0)==0;p=q?o:s;fA(u,u+60|0);gA(u);if(!((hA(u)|0)<<24>>24)){n=0;do{n=(c[(iA(u)|0)+64>>2]|0)+n|0;DL(u)|0}while((hA(u)|0)<<24>>24==0);s=(n|0)>1}else s=0;n=c[f+36>>2]|0;if((r|0)>=(n|0)?((m>>16)-(o>>16)|0)>=(c[f+40>>2]|0):0)if((a[f+9>>0]|0)==0?(q=(d<<16>>16)-(p<<16>>16)|0,!(+((m>>16)-(o>>16)|0)>=+(((q|0)>-1?q:0-q|0)|0)*4.0|s)):0)q=30;else q=9;else if(s)q=9;else q=30;do if((q|0)==9){gA(u+32|0);n=0;while(1){if((hA(u+32|0)|0)<<24>>24)break;d=iA(u+32|0)|0;if(!(a[f+8>>0]|0))m=(c[d+32>>2]|0)==(c[f+16>>2]|0);else m=(c[d+36>>2]|0)==(c[f+16>>2]|0);DL(u+32|0)|0;g=d;n=(m&1)+n|0}if(!((a[f+9>>0]|0)==0|(n<<1|0)<(r|0))){if(!t){d=0;break}c[u>>2]=n;c[u+4>>2]=r;jN(311968,u);d=0;break}n=g+8|0;if(t){p=b[n>>1]|0;q=b[g+10>>1]|0;c[u>>2]=r;c[u+4>>2]=p;c[u+8>>2]=q;jN(311880,u)}gA(u+32|0);while(1){if((hA(u+32|0)|0)<<24>>24)break;d=iA(u+32|0)|0;m=c[f+16>>2]|0;if(!(a[f+8>>0]|0))c[d+32>>2]=m;else c[d+36>>2]=m;if(t)jv(d+8|0);DL(u+32|0)|0}d=c[f+12>>2]|0;c[u+28>>2]=e[f+44>>1]|e[f+46>>1]<<16;d=e7(d,u+28|0,c[u+68>>2]|0,c[u+64>>2]|0,u+60|0,j,l)|0;a[d+38>>0]=s&1;if(t){t=b[g+10>>1]|0;c[u>>2]=b[n>>1];c[u+4>>2]=t;jN(311936,u);Z6(d,311952)}}else if((q|0)==30)if(t){t=c[f+40>>2]|0;d=(d<<16>>16)-(p<<16>>16)|0;c[u>>2]=r;c[u+4>>2]=n;c[u+8>>2]=(m>>16)-(o>>16);c[u+12>>2]=t;h[k>>3]=+(((d|0)>-1?d:0-d|0)|0)*4.0;c[u+16>>2]=c[k>>2];c[u+20>>2]=c[k+4>>2];jN(312024,u);d=0}else d=0;while(0);BL(u+60|0);i=u;return d|0}function zT(b,d,f,g,h,j){b=b|0;d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=i;i=i+48|0;fA(p+12|0,h);k=e[g+8>>1]|e[g+10>>1]<<16;m=e[g+12>>1]|e[g+14>>1]<<16;c[p>>2]=k;c[p+4>>2]=m;n=xT(2,(k&65535)<<16>>16,k>>16)|0;if(n){jN(312112,p+8|0);jv(p)}q=a[d+8>>0]|0;l=q;h=0;m=(q<<24>>24==0?k&65535:m&65535)<<16>>16;a:while(1){while(1){q=c[(l<<24>>24==0?g+32|0:g+36|0)>>2]|0;if(!((q|0)==0|(q|0)==2?(a[d+9>>0]|0)==0:0))o=7;do if((o|0)==7){o=0;if((aB(p+12|0)|0)<<24>>24==0?(iA(p+12|0)|0)==(g|0):0)break;if(f)JL(p+12|0,g);else CT(p+12|0,g);h=h+1|0}while(0);g=AT(b,d,f,g,m,j)|0;if(!g)break a;k=e[g+8>>1]|e[g+10>>1]<<16;l=e[g+12>>1]|e[g+14>>1]<<16;c[p>>2]=k;c[p+4>>2]=l;if(!(a[d+9>>0]|0))break;l=a[d+8>>0]|0}q=a[d+8>>0]|0;m=q<<24>>24==0?k:l;l=q;m=m<<16>>16}if(n){c[p+8>>2]=h;jN(312144,p+8|0);jv(p)}i=p;return h|0}function AT(d,f,g,j,k,l){d=d|0;f=f|0;g=g|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0.0;E=i;i=i+144|0;m=e[j+8>>1]|e[j+10>>1]<<16;n=e[j+12>>1]|e[j+14>>1]<<16;C=UGa(m|0,n|0,16)|0;A=UGa(m|0,n|0,48)|0;B=(g?C&65535:A&65535)<<16>>16;if(xT(2,k,B)|0){z=b[j+50>>1]|0;y=b[j+48>>1]|0;x=_Ga(n|0,0,16)|0;c[E+8>>2]=m<<16>>16;c[E+12>>2]=(A&65535)<<16>>16;c[E+16>>2]=x>>16;c[E+20>>2]=(C&65535)<<16>>16;c[E+24>>2]=y;c[E+28>>2]=z;jN(339904,E+8|0)}q=c[f+20>>2]|0;n=ba(b[f+44>>1]|0,q)|0;m=b[f+46>>1]|0;if(g){o=B-q|0;p=k-((n+((m|0)/2|0)|0)/(m|0)|0)|0}else{o=q+B|0;p=((n+((m|0)/2|0)|0)/(m|0)|0)+k|0}c[l>>2]=o;if(!(a[f+8>>0]|0)){m=f+32|0;n=f+24|0}else{m=f+24|0;n=f+28|0}o=((p|0)>=(k|0)?k:p)-((q|0)/15|0)-(c[n>>2]|0)|0;n=((p|0)<=(k|0)?k:p)+((q|0)/15|0)+(c[m>>2]|0)|0;DT(E+40|0,d);if(xT(2,k,B)|0){x=(a[f+8>>0]|0)!=0?312256:312264;y=c[f+20>>2]|0;z=c[f+24>>2]|0;c[E+8>>2]=(a[f+9>>0]|0)!=0?340224:340216;c[E+12>>2]=x;c[E+16>>2]=o;c[E+20>>2]=n;c[E+24>>2]=B;c[E+28>>2]=y;c[E+32>>2]=z;jN(312192,E+8|0)}ET(E+40|0,o,n,B);m=0;z=0;a:while(1){w=FT(E+40|0,g)|0;if(!w){D=66;break}if((w|0)==(j|0)){x=z;y=m;z=x;m=y;continue}x=e[w+8>>1]|e[w+10>>1]<<16;y=e[w+12>>1]|e[w+14>>1]<<16;c[E>>2]=x;c[E+4>>2]=y;p=UGa(x|0,y|0,48)|0;o=UGa(x|0,y|0,16)|0;v=(((o&65535)<<16>>16)+((p&65535)<<16>>16)|0)/2|0;q=c[f+20>>2]|0;if(g){if((v|0)<(B-q|0)){D=17;break}}else if((v|0)>(q+B|0)){D=17;break}if((v|0)<(B|0)^g){x=z;y=m;z=x;m=y;continue}if((C&65535)<<16>>16<=(p&65535)<<16>>16?(A&65535)<<16>>16>=(o&65535)<<16>>16:0){x=z;y=m;z=x;m=y;continue}r=(z|0)==0;if(!r?(t=b[z+10>>1]|0,u=b[z+14>>1]|0,(((t<<16>>16<(o&65535)<<16>>16?o&65535:t)<<16>>16)-((u<<16>>16>(p&65535)<<16>>16?p&65535:u)<<16>>16)|0)>(c[d+4>>2]|0)):0){m=z;break}s=(m|0)==0;if((!s?(a[f+9>>0]|0)!=0&r:0)?(t=b[m+10>>1]|0,u=b[m+14>>1]|0,(((t<<16>>16<(o&65535)<<16>>16?o&65535:t)<<16>>16)-((u<<16>>16>(p&65535)<<16>>16?p&65535:u)<<16>>16)|0)>(c[d+4>>2]|0)):0)break;t=ba(b[f+44>>1]|0,v-B|0)|0;t=((t|0)/(b[f+46>>1]|0)|0)+k|0;if((t|0)<(b[w+52>>1]|0)){x=z;y=m;z=x;m=y;continue}if((t|0)>(b[w+54>>1]|0)){x=z;y=m;z=x;m=y;continue}q=a[f+8>>0]|0;u=q<<24>>24!=0?(y&65535)<<16>>16:(x&65535)<<16>>16;if(xT(2,k,B)|0){c[E+8>>2]=(x&65535)<<16>>16;c[E+12>>2]=(o&65535)<<16>>16;c[E+16>>2]=(y&65535)<<16>>16;c[E+20>>2]=(p&65535)<<16>>16;c[E+24>>2]=u;c[E+28>>2]=v;c[E+32>>2]=t;jN(312312,E+8|0);q=a[f+8>>0]|0}if(!(q<<24>>24)){if(((x&65535)<<16>>16|0)<(t-(c[f+28>>2]|0)|0)?((y&65535)<<16>>16|0)>(t-(c[f+24>>2]|0)|0):0){if(a[f+9>>0]|0){D=43;break}F=+h[f>>3];if(+((y&65535)<<16>>16)>+(t|0)-F*+((ll(E)|0)<<16>>16)){D=43;break}}if(!(a[w+114>>0]|0))q=0;else{x=z;y=m;z=x;m=y;continue}}else{if(((x&65535)<<16>>16|0)<((c[f+24>>2]|0)+t|0)?((y&65535)<<16>>16|0)>((c[f+32>>2]|0)+t|0):0){if(a[f+9>>0]|0){D=35;break}F=+h[f>>3];if(+((x&65535)<<16>>16)<+(t|0)+F*+((ll(E)|0)<<16>>16)){D=35;break}}if(a[w+115>>0]|0){x=z;y=m;z=x;m=y;continue}}if((u|0)>((c[f+32>>2]|0)+t|0)){x=z;y=m;z=x;m=y;continue}if((u|0)<(t-(c[f+28>>2]|0)|0)){x=z;y=m;z=x;m=y;continue}if(xT(2,k,B)|0){o=c[w+32>>2]|0;p=c[w+36>>2]|0;c[E+8>>2]=q&255;c[E+12>>2]=o;c[E+16>>2]=p;jN(312376,E+8|0);p=w+32|0;o=w+36|0;q=a[f+8>>0]|0}else{p=w+32|0;o=w+36|0}n=q<<24>>24==0;q=c[(n?p:o)>>2]|0;do if(q){if(!((a[f+9>>0]|0)!=0|(q|0)!=2))break;if(r){y=m;z=w;m=y;continue a}x=(b[(n?z+8|0:z+12|0)>>1]|0)-t|0;y=(((b[z+10>>1]|0)+(b[z+14>>1]|0)|0)/2|0)-B|0;x=((ba(u-t|0,u-t|0)|0)+(ba(v-B|0,v-B|0)|0)|0)<((ba(y,y)|0)+(ba(x,x)|0)|0);y=m;z=x?w:z;m=y;continue a}while(0);if(s){if(!(xT(2,k,B)|0)){y=z;m=w;z=y;continue}jN(312408,E+8|0);y=z;m=w;z=y;continue}p=m+8|0;o=e[p+4>>1]|e[p+6>>1]<<16;if(n){if(((e[p>>1]|e[p+2>>1]<<16)&65535)<<16>>16<=(x&65535)<<16>>16){x=z;y=m;z=x;m=y;continue}}else if((o&65535)<<16>>16>=(y&65535)<<16>>16){x=z;y=m;z=x;m=y;continue}if(!(xT(2,k,B)|0)){y=z;m=w;z=y;continue}jN(312416,E+8|0);y=z;m=w;z=y}if((D|0)==17)if(xT(2,k,B)|0){c[E+8>>2]=(x&65535)<<16>>16;c[E+12>>2]=(o&65535)<<16>>16;c[E+16>>2]=(y&65535)<<16>>16;c[E+20>>2]=(p&65535)<<16>>16;jN(312272,E+8|0);D=66}else D=66;else if((D|0)==35){if((c[j+36>>2]|0)>2)c[j+36>>2]=1;c[l>>2]=(g?p&65535:o&65535)<<16>>16;if(xT(2,k,B)|0){jN(312368,E+8|0);m=0}else m=0}else if((D|0)==43){if((c[j+32>>2]|0)>2)c[j+32>>2]=1;c[l>>2]=(g?p&65535:o&65535)<<16>>16;if(xT(2,k,B)|0){jN(312368,E+8|0);m=0}else m=0}if((D|0)==66)m=(z|0)!=0?z:m;GT(E+124|0);i=E;return m|0}function BT(){c[77752]=1701984;c[77754]=389976;c[77756]=390024;c[77758]=390056;c[77760]=390112;c[77762]=390152;c[77764]=390184;c[77766]=390240;c[77768]=390280;c[77770]=390328;c[77772]=390376;c[77774]=390400;c[77776]=390432;c[77778]=390504;c[77780]=390552;c[77782]=390592;c[77784]=390640;rJ(311144,0,311168,311192,0,kM()|0);rJ(311216,0,311240,311264,0,kM()|0);rJ(311312,-1,311336,311360,0,kM()|0);rJ(311400,-1,311424,311448,0,kM()|0);rJ(311488,2147483647,311512,311544,0,kM()|0);rJ(311576,2147483647,311600,311632,0,kM()|0);Wk(311664,0,311680,311704,0,kM()|0);Wk(311744,0,311760,311784,0,kM()|0);PM(311832,311816);return}function CT(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if(!b)$L(311048,312480,2,0,h);if(!(c[b>>2]|0))$L(311040,312480,2,0,h);if(!d)$L(311096,312480,2,312520,h);g=WEa(8)|0;c[g>>2]=0;c[g+4>>2]=d;e=c[b>>2]|0;f=c[e>>2]|0;do if(f){c[g>>2]=c[b+12>>2];d=c[b+8>>2]|0;if(d){c[d>>2]=g;c[b+4>>2]=d;if((d|0)!=(f|0)){d=b+8|0;break}c[e>>2]=g;d=b+8|0;break}c[c[b+4>>2]>>2]=g;if(a[b+16>>0]|0)c[e>>2]=g;if(!(a[b+17>>0]|0))d=b+8|0;else{c[b+20>>2]=g;d=b+8|0}}else{c[g>>2]=g;c[e>>2]=g;c[b+12>>2]=g;c[b+4>>2]=g;d=b+8|0}while(0);c[d>>2]=g;i=h;return}function DT(d,e){d=d|0;e=e|0;c[d>>2]=e;b[d+28>>1]=32767;b[d+30>>1]=32767;b[d+32>>1]=-32767;b[d+34>>1]=-32767;a[d+44>>0]=0;c[d+48>>2]=0;c[d+52>>2]=0;c[d+56>>2]=0;c[d+84>>2]=0;c[d+88>>2]=0;c[d+92>>2]=0;c[d+96>>2]=0;g[d+100>>2]=1.0;IT(d+84|0,193);return}function ET(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=c[(c[a>>2]|0)+4>>2]|0;c[a+16>>2]=(~b+d+f|0)/(f|0)|0;c[a+20>>2]=0;JT(a,b,e);return}function FT(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;e=d?-1:1;while(1){if(!((hA(b+56|0)|0)<<24>>24)){LT(b);if(!(a[b+44>>0]|0)){e=14;break}MT(f,b+84|0,c[b+48>>2]|0);if(!(c[f>>2]|0)){e=12;break}else continue}d=c[b+20>>2]|0;c[b+20>>2]=d+1;if((d|0)>=(c[b+16>>2]|0)){d=(c[b+40>>2]|0)+e|0;c[b+40>>2]=d;c[b+20>>2]=0;if((d|0)<0){e=6;break}if((d|0)<(c[(c[b>>2]|0)+12>>2]|0))d=0;else{e=6;break}}else d=d+1|0;d=d+(c[b+4>>2]|0)|0;c[b+36>>2]=d;if((d|0)<=-1)continue;if((d|0)>=(c[(c[b>>2]|0)+8>>2]|0))continue;KT(b)}if((e|0)==6){c[b+48>>2]=0;c[b+52>>2]=0;d=0}else if((e|0)==12)if(!(a[b+44>>0]|0))e=14;else{NT(f+8|0,b+84|0,b+48|0);e=14}if((e|0)==14)d=c[b+48>>2]|0;i=f;return d|0}function GT(a){a=a|0;var b=0;OT(c[a+8>>2]|0);b=c[a>>2]|0;c[a>>2]=0;if(b)YEa(b);return}function HT(a,b,d){a=a|0;b=b|0;d=d|0;a=i;i=i+16|0;c[a>>2]=b;c[a+4>>2]=d;jN(352312,a);i=a;return}function IT(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if((b|0)!=1){if(b+-1&b)b=Gua(b)|0}else b=2;f=c[a+4>>2]|0;if(b>>>0<=f>>>0){if(b>>>0>>0){if(f>>>0>2)e=(f+-1&f|0)==0;else e=0;d=~~+aa(+(+((c[a+12>>2]|0)>>>0)/+g[a+16>>2]))>>>0;if(e)d=1<<32-(da(d+-1|0)|0);else d=Gua(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)PT(a,b)}}else PT(a,b);return}function JT(a,b,d){a=a|0;b=b|0;d=d|0;lV(c[a>>2]|0,b,d,a+4|0,a+8|0);c[a+36>>2]=c[a+4>>2];c[a+40>>2]=c[a+8>>2];KT(a);c[a+48>>2]=0;if(!((aB(a+56|0)|0)<<24>>24))b=iA(a+56|0)|0;else b=0;c[a+52>>2]=b;QT(a+84|0);return}function KT(b){b=b|0;var d=0,e=0,f=0;d=i;i=i+32|0;f=c[b>>2]|0;e=ba(c[f+8>>2]|0,c[b+40>>2]|0)|0;fA(d,(c[f+28>>2]|0)+(e+(c[b+36>>2]|0)<<2)|0);c[b+56>>2]=c[d+0>>2];c[b+60>>2]=c[d+4>>2];c[b+64>>2]=c[d+8>>2];c[b+68>>2]=c[d+12>>2];c[b+72>>2]=c[d+16>>2];c[b+76>>2]=c[d+20>>2];a[b+80>>0]=a[d+24>>0]|0;gA(b+56|0);i=d;return}function LT(a){a=a|0;var b=0;c[a+48>>2]=iA(a+56|0)|0;DL(a+56|0)|0;if(!((hA(a+56|0)|0)<<24>>24))b=iA(a+56|0)|0;else b=0;c[a+52>>2]=b;return}function MT(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=c[b+4>>2]|0;a:do if(g){if(!(g+-1&g))f=g+-1&((d>>>0)/120|0);else f=(((d>>>0)/120|0)>>>0)%(g>>>0)|0;b=c[(c[b>>2]|0)+(f<<2)>>2]|0;if(b){do{b=c[b>>2]|0;if(!b){h=13;break a}e=c[b+4>>2]|0;if(!(g+-1&g))e=e&g+-1;else e=(e>>>0)%(g>>>0)|0;if((e|0)!=(f|0)){h=13;break a}}while((c[b+8>>2]|0)!=(d|0));c[a>>2]=b}else h=13}else h=13;while(0);if((h|0)==13)c[a>>2]=0;return}function NT(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,j=0,k=0.0,l=0.0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;o=c[e>>2]|0;n=c[d+4>>2]|0;a:do if(n){if(!(n+-1&n))h=n+-1&((o>>>0)/120|0);else h=(((o>>>0)/120|0)>>>0)%(n>>>0)|0;f=c[(c[d>>2]|0)+(h<<2)>>2]|0;if(!f)m=12;else while(1){f=c[f>>2]|0;if(!f){m=12;break a}j=c[f+4>>2]|0;if(!(n+-1&n))j=j&n+-1;else j=(j>>>0)%(n>>>0)|0;if((j|0)!=(h|0)){m=12;break a}if((c[f+8>>2]|0)==(o|0)){h=0;break}}}else{h=0;m=12}while(0);if((m|0)==12){RT(p,d,e,(o>>>0)/120|0);m=c[p>>2]|0;c[p>>2]=0;k=+(((c[d+12>>2]|0)+1|0)>>>0);l=+g[d+16>>2];do if(k>+(n>>>0)*l|(n|0)==0){if(n>>>0>2)h=(n+-1&n|0)==0;else h=0;f=(h&1|n<<1)^1;n=~~+aa(+(k/l))>>>0;IT(d,f>>>0>>0?n:f);f=c[d+4>>2]|0;if(!(f+-1&f)){j=f;h=f+-1&((o>>>0)/120|0);break}else{j=f;h=(((o>>>0)/120|0)>>>0)%(f>>>0)|0;break}}else j=n;while(0);f=c[(c[d>>2]|0)+(h<<2)>>2]|0;if(!f){c[m>>2]=c[d+8>>2];c[d+8>>2]=m;c[(c[d>>2]|0)+(h<<2)>>2]=d+8;f=c[m>>2]|0;if(f){f=c[f+4>>2]|0;h=j+-1|0;if(!(h&j))f=f&h;else f=(f>>>0)%(j>>>0)|0;c[(c[d>>2]|0)+(f<<2)>>2]=m}}else{c[m>>2]=c[f>>2];c[f>>2]=m}c[d+12>>2]=(c[d+12>>2]|0)+1;h=1;f=m}c[b>>2]=f;a[b+4>>0]=h;i=p;return}function OT(a){a=a|0;var b=0;if(a)do{b=a;a=c[a>>2]|0;YEa(b)}while((a|0)!=0);return}function PT(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(b)e=WEa(b<<2)|0;else e=0;d=c[a>>2]|0;c[a>>2]=e;if(d)YEa(d);c[a+4>>2]=b;a:do if(b){d=0;do{c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(b|0));g=c[a+8>>2]|0;if(g){d=c[g+4>>2]|0;if(!(b+-1&b))d=d&b+-1;else d=(d>>>0)%(b>>>0)|0;c[(c[a>>2]|0)+(d<<2)>>2]=a+8;e=c[g>>2]|0;if(e){h=g;f=e;e=g;while(1){k=e;b:while(1){e=f;while(1){f=c[e+4>>2]|0;if(!(b+-1&b))j=f&b+-1;else j=(f>>>0)%(b>>>0)|0;if((j|0)==(d|0))break;f=(c[a>>2]|0)+(j<<2)|0;if(!(c[f>>2]|0))break b;g=e+8|0;i=e;while(1){f=c[i>>2]|0;if(!f){f=0;break}if((c[g>>2]|0)==(c[f+8>>2]|0))i=f;else break}c[h>>2]=f;c[i>>2]=c[c[(c[a>>2]|0)+(j<<2)>>2]>>2];c[c[(c[a>>2]|0)+(j<<2)>>2]>>2]=e;e=c[h>>2]|0;if(!e)break a}f=c[e>>2]|0;if(!f)break a;else{h=e;k=e}}c[f>>2]=k;f=c[e>>2]|0;if(!f)break;else{h=e;d=j}}}}}while(0);return}function QT(a){a=a|0;var b=0,d=0;if(c[a+12>>2]|0){OT(c[a+8>>2]|0);c[a+8>>2]=0;b=c[a+4>>2]|0;if(b){d=0;do{c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(b|0))}c[a+12>>2]=0}return}function RT(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=WEa(12)|0;c[f+8>>2]=c[d>>2];c[f+4>>2]=e;c[f>>2]=0;c[a>>2]=f;c[a+4>>2]=b+8;c[a+8>>2]=1;return}function ST(d,e,f){d=d|0;e=+e;f=f|0;c[d>>2]=f+120;b[d+4>>1]=32767;b[d+6>>1]=32767;b[d+8>>1]=-32767;b[d+10>>1]=-32767;vda(d+16|0);c[d+64>>2]=0;c[d+68>>2]=0;c[d+72>>2]=0;c[d+76>>2]=0;vU(d+80|0);h[d+128>>3]=0.0;a[d+136>>0]=0;TT(d);h[d+104>>3]=e*.046875;h[d+112>>3]=e*.09375;h[d+120>>3]=e*.046875;return}function TT(a){a=a|0;var d=0,e=0,f=0;d=i;i=i+48|0;pk(d+8|0,c[a>>2]|0);b[d>>1]=32767;b[d+2>>1]=32767;b[d+4>>1]=-32767;b[d+6>>1]=-32767;rk(d+8|0);if(!(sk(d+8|0)|0))do{bja(d,(tk(d+8|0)|0)+8|0);OL(d+8|0)|0}while(!(sk(d+8|0)|0));f=c[d>>2]|0;e=c[d+4>>2]|0;b[a+4>>1]=f;b[a+6>>1]=f>>>16;b[a+8>>1]=e;b[a+10>>1]=e>>>16;i=d;return}function UT(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0;e=+V(+(+VT(a)));d=+WT(a,0.0);c=+h[a+128>>3];g[b+136>>2]=e;g[b+140>>2]=d;g[b+144>>2]=c;xU(b,e,d,c);return}function VT(a){a=a|0;return +(+fGa(+uk(+g[a+72>>2]-+g[a+64>>2],+g[a+76>>2]-+g[a+68>>2])+4.71238898038469,3.141592653589793)+-1.5707963267948966)}function WT(a,b){a=a|0;b=+b;var c=0.0,d=0.0,e=0.0,f=0.0;d=+g[a+64>>2];e=+g[a+72>>2]-d;f=+g[a+68>>2];c=+g[a+76>>2];if(e==0.0)c=(f+c)*.5;else c=f+(b-d)*(c-f)/e;return +c}function XT(a){a=a|0;var b=0,e=0,f=0.0,j=0.0,l=0.0,m=0.0,n=0.0,o=0.0;b=i;i=i+48|0;o=+g[a+64>>2];n=+g[a+68>>2];m=+g[a+72>>2];l=+g[a+76>>2];j=+VT(a);f=+WT(a,0.0);h[k>>3]=o;c[b>>2]=c[k>>2];c[b+4>>2]=c[k+4>>2];h[k>>3]=n;c[b+8>>2]=c[k>>2];c[b+12>>2]=c[k+4>>2];h[k>>3]=m;c[b+16>>2]=c[k>>2];c[b+20>>2]=c[k+4>>2];h[k>>3]=l;c[b+24>>2]=c[k>>2];c[b+28>>2]=c[k+4>>2];h[k>>3]=j;c[b+32>>2]=c[k>>2];c[b+36>>2]=c[k+4>>2];h[k>>3]=f;c[b+40>>2]=c[k>>2];c[b+44>>2]=c[k+4>>2];jN(312544,b);f=+h[a+128>>3];e=d[a+136>>0]|0;h[k>>3]=+h[a+104>>3];c[b>>2]=c[k>>2];c[b+4>>2]=c[k+4>>2];h[k>>3]=f;c[b+8>>2]=c[k>>2];c[b+12>>2]=c[k+4>>2];c[b+16>>2]=e;jN(312600,b);jv(a+4|0);i=b;return}function YT(a,c){a=a|0;c=c|0;var d=0.0,e=0.0,f=0.0,g=0,h=0,i=0,j=0;g=b[a+4>>1]|0;h=b[c+4>>1]|0;i=b[a+8>>1]|0;j=b[c+8>>1]|0;e=+(((i<<16>>16>j<<16>>16?j:i)<<16>>16)+((g<<16>>16>16?h:g)<<16>>16)|0)*.5;d=+WT(a,e);d=(d+ +WT(c,e))*.5;f=+ZT(a,e,d);return +(f+ +ZT(c,e,d))}function ZT(a,b,c){a=a|0;b=+b;c=+c;var d=0.0,e=0.0,f=0.0,h=0.0;f=+g[a+64>>2];e=+g[a+72>>2]-f;h=+g[a+68>>2];d=+g[a+76>>2]-h;return +(+R(+((e*(c-h)-d*(b-f))*(e*(c-h)-d*(b-f))/(e*e+d*d))))}function _T(a,c,d){a=a|0;c=+c;d=+d;var e=0.0;e=+((b[a+8>>1]|0)+(b[a+4>>1]|0)|0)*.5;return +((+WT(a,e)*c-e*d)/+R(+(c*c+d*d)))}function $T(d,e){d=d|0;e=e|0;var f=0,j=0.0,l=0,m=0,n=0,o=0.0,p=0.0,q=0.0,r=0.0;l=i;i=i+112|0;xda(d+16|0);Eea(l);pk(l+60|0,c[d>>2]|0);rk(l+60|0);if(!(sk(l+60|0)|0))do{f=tk(l+60|0)|0;if(!e)Taa(f);m=((b[f+12>>1]|0)+(b[f+8>>1]|0)|0)/2|0;n=b[f+60>>1]|0;b[l+100>>1]=m;b[l+102>>1]=n;zda(d+16|0,l+100|0,((kl(f+8|0)|0)<<16>>16|0)/2|0);Fea(l,+(m|0),+(b[f+60>>1]|0));OL(l+60|0)|0}while(!(sk(l+60|0)|0));b[l+98>>1]=0;b[l+96>>1]=0;b[l+58>>1]=0;b[l+56>>1]=0;j=+yU(d+16|0,l+96|0,l+56|0);h[d+128>>3]=j;f=c[l+96>>2]|0;o=+(+((f&65535)<<16>>16));p=+(+((f>>>16&65535)<<16>>16));g[d+64>>2]=o;g[d+68>>2]=p;e=c[l+56>>2]|0;p=+(+((e&65535)<<16>>16));o=+(+((e>>>16&65535)<<16>>16));g[d+72>>2]=p;g[d+76>>2]=o;do if(j>+h[d+120>>3]?Fda(c[d+36>>2]|0)|0:0){j=+Ada(d+16|0,3,3,l+96|0,l+56|0);if(j<+h[d+128>>3]*.5){h[d+128>>3]=j;f=c[l+96>>2]|0;p=+(+((f&65535)<<16>>16));o=+(+((f>>>16&65535)<<16>>16));g[d+64>>2]=p;g[d+68>>2]=o;e=c[l+56>>2]|0;o=+(+((e&65535)<<16>>16));p=+(+((e>>>16&65535)<<16>>16));g[d+72>>2]=o;g[d+76>>2]=p;break}else{f=c[l+96>>2]|0;e=c[l+56>>2]|0;break}}while(0);n=f>>>16;o=+((e-f&65535)<<16>>16);g[l+88>>2]=o;p=+(((e>>>16)-n&65535)<<16>>16);g[l+92>>2]=p;a[d+136>>0]=0;aU(d,0,l+88|0,0.0,o*+((n&65535)<<16>>16)-+((f&65535)<<16>>16)*p);if(+Q(+(+VT(d)))>.7853981633974483){q=+h[l>>3];j=+h[l+8>>3];o=+h[l+16>>3];Lea(l+48|0,q,j,o);n=c[l+48>>2]|0;f=c[l+52>>2]|0;c[d+64>>2]=n;c[d+68>>2]=f;p=+Iea(l);r=+((c[k>>2]=n,+g[k>>2])+1.0);p=+(p+(c[k>>2]=f,+g[k>>2]));g[d+72>>2]=r;g[d+76>>2]=p;p=+Iea(l);h[d+128>>3]=+Kea(l,p,+Jea(q,j,o,p));a[d+136>>0]=0;f=0}else f=(a[d+136>>0]|0)!=0;i=l;return f|0}function aU(d,e,f,j,l){d=d|0;e=e|0;f=f|0;j=+j;l=+l;var m=0,n=0.0,o=0.0,p=0,q=0,r=0.0;q=i;i=i+48|0;o=+g[f>>2];n=+g[f+4>>2];n=+h[d+112>>3]*+R(+(o*o+n*n));b[q+34>>1]=0;b[q+32>>1]=0;l=+Dda(d+16|0,f,l-n,n+l,(e|0)>2,q+32|0)-j;n=+VT(d);o=+uk(+g[f>>2],+g[f+4>>2]);if((e|0)>1){r=+h[d+128>>3];h[k>>3]=l;c[q>>2]=c[k>>2];c[q+4>>2]=c[k+4>>2];h[k>>3]=r;c[q+8>>2]=c[k>>2];c[q+12>>2]=c[k+4>>2];jN(312896,q);h[k>>3]=n;c[q>>2]=c[k>>2];c[q+4>>2]=c[k+4>>2];h[k>>3]=o;c[q+8>>2]=c[k>>2];c[q+12>>2]=c[k+4>>2];h[k>>3]=o-n;c[q+16>>2]=c[k>>2];c[q+20>>2]=c[k+4>>2];h[k>>3]=.015625;c[q+24>>2]=c[k>>2];c[q+28>>2]=c[k+4>>2];jN(312936,q)}if(l<=+h[d+120>>3])if(j>0.0)m=1;else m=Fda(c[d+36>>2]|0)|0;else m=0;if((!(l<=+h[d+128>>3])?(a[d+136>>0]|0)!=0|m^1:0)?!(+Q(+(o-n))>.015625):0){if((e|0)>1)jN(313032,q)}else p=9;if((p|0)==9?(h[d+128>>3]=l,p=c[q+32>>2]|0,j=+(+((p&65535)<<16>>16)),o=+(+((p>>>16&65535)<<16>>16)),g[d+64>>2]=j,g[d+68>>2]=o,o=+(+((p&65535)<<16>>16)+ +g[f>>2]),j=+(+((p>>>16&65535)<<16>>16)+ +g[f+4>>2]),g[d+72>>2]=o,g[d+76>>2]=j,a[d+136>>0]=m&1,(e|0)>1):0){c[q>>2]=m&1;jN(312984,q)}i=q;return}function bU(a,b,d){a=a|0;b=b|0;d=d|0;cU(a,d);if(c[a+80>>2]|0)aU(a,b,d,0.0,+h[(zU(a+80|0,0)|0)>>3]);return}function cU(a,d){a=a|0;d=d|0;var e=0,f=0.0,j=0.0,k=0,l=0.0;k=i;i=i+96|0;vU(k+68|0);if((c[a+80>>2]|0)>0)c[a+80>>2]=0;pk(k+40|0,c[a>>2]|0);rk(k+40|0);f=3402823466385288598117041.0e14;j=-3402823466385288598117041.0e14;while(1){if(sk(k+40|0)|0)break;e=tk(k+40|0)|0;l=+g[d>>2]*+(b[e+60>>1]|0)-+g[d+4>>2]*(+((b[e+12>>1]|0)+(b[e+8>>1]|0)|0)*.5);AU(k+68|0,l);OL(k+40|0)|0;f=lj?l:j}l=+h[a+104>>3];e=ok(f/l)|0;Aka(k+24|0,e,(ok(j/l)|0)+1|0);e=c[k+68>>2]|0;if((e|0)>0){d=0;do{l=+h[(zU(k+68|0,d)|0)>>3];Fka(k+24|0,ok(l/+h[a+104>>3])|0,1);d=d+1|0}while((d|0)<(e|0))}BU(k);Qka(k+24|0,k);e=c[k>>2]|0;if((e|0)>0){d=0;do{l=+h[a+104>>3];AU(a+80|0,l*+g[(DU(k,d)|0)+4>>2]);d=d+1|0}while((d|0)<(e|0))}CU(k);Eka(k+24|0);wU(k+68|0);i=k;return}function dU(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=+e;f=+f;var j=0.0,l=0.0,m=0.0,n=0,o=0,p=0,q=0,r=0;q=i;i=i+16|0;if(!(c[c[a>>2]>>2]|0)){if((b|0)>1){jN(312648,q);jv(a+4|0)}}else{do if((c[a+80>>2]|0)>0){m=0.0;o=-1;n=0;do{j=+h[(zU(a+80|0,n)|0)>>3];l=+eU(j,e,f);if((b|0)>1){h[k>>3]=j;c[q>>2]=c[k>>2];c[q+4>>2]=c[k+4>>2];h[k>>3]=l;c[q+8>>2]=c[k>>2];c[q+12>>2]=c[k+4>>2];jN(312664,q)}r=(o|0)<0|l>2]|0));f=+h[a+120>>3]-m;if((o|0)>-1&f>0.0){j=+_T(a,+g[d>>2],+g[d+4>>2]);j=+h[(zU(a+80|0,o)|0)>>3]-j;m=+Q(+j);if(!(m>+h[a+120>>3])){if((b|0)<=1)break;h[k>>3]=j;c[q>>2]=c[k>>2];c[q+4>>2]=c[k+4>>2];jN(312768,q);jv(a+4|0);break}if((b|0)>1){m=+h[(zU(a+80|0,o)|0)>>3];h[k>>3]=m;c[q>>2]=c[k>>2];c[q+4>>2]=c[k+4>>2];jN(312704,q);jv(a+4|0)}aU(a,b,d,f,+h[(zU(a+80|0,o)|0)>>3])}else p=16}else p=16;while(0);if((p|0)==16?(b|0)>1:0){jN(312832,q);jv(a+4|0)}f=+fGa(+_T(a,+g[d>>2],+g[d+4>>2]),e)}i=q;return +f}function eU(a,b,c){a=+a;b=+b;c=+c;return +(+Q(+(a-(+(ok((a-c)/b)|0)*b+c))))}function fU(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var j=0,k=0.0;j=i;i=i+32|0;c[b>>2]=f;EU(b+4|0);c[b+24>>2]=d;a[b+28>>0]=e&1;a[b+29>>0]=0;h[b+32>>3]=0.0;h[b+40>>3]=+g[f+32>>2];c[b+48>>2]=0;c[b+52>>2]=0;c[b+56>>2]=0;c[b+60>>2]=0;Lk(j,(c[b>>2]|0)+92|0);Mk(j);while(1){if((Nk(j)|0)<<24>>24)break;PL((Ok(j)|0)+120|0,37);e=WEa(144)|0;k=+g[f+32>>2];ST(e,k,Ok(j)|0);FU(b+4|0,e);VL(j)}i=j;return}function gU(b,d){b=b|0;d=d|0;var e=0,f=0.0,g=0,j=0;j=i;i=i+32|0;if(!(a[b+28>>0]|0)){vU(j+12|0);if((c[b+4>>2]|0)>0){g=0;do{e=c[(HU(b+4|0,g)|0)>>2]|0;if($T(e,d)|0)AU(j+12|0,+VT(e));if((c[b+24>>2]|0)>1)XT(e);g=g+1|0}while((g|0)<(c[b+4>>2]|0))}if(!(c[j+12>>2]|0)){h[b+32>>3]=0.0;a[b+29>>0]=0;e=0;f=0.0}else{f=+IU(3.141592653589793,j+12|0);h[b+32>>3]=f;a[b+29>>0]=1;e=1}if((c[b+24>>2]|0)>0){h[k>>3]=f;c[j>>2]=c[k>>2];c[j+4>>2]=c[k+4>>2];c[j+8>>2]=e&255;jN(313056,j);e=a[b+29>>0]|0}wU(j+12|0);e=e<<24>>24!=0}else e=0;i=j;return e|0}function hU(b,d){b=b|0;d=+d;var e=0,f=0,j=0,l=0.0,m=0,n=0.0,o=0.0,p=0;p=i;i=i+16|0;if(!(a[b+28>>0]|0)){if(!(a[b+29>>0]|0))h[b+32>>3]=d;if((c[b+24>>2]|0)>0){h[k>>3]=+h[b+32>>3];c[p>>2]=c[k>>2];c[p+4>>2]=c[k+4>>2];jN(313104,p)}o=+h[b+32>>3];n=+T(+o);o=+U(+o);g[p+8>>2]=n;g[p+12>>2]=o;if((c[b+4>>2]|0)>0){j=0;do{f=c[(HU(b+4|0,j)|0)>>2]|0;bU(f,c[b+24>>2]|0,p+8|0);if((c[b+24>>2]|0)>1)XT(f);j=j+1|0;f=c[b+4>>2]|0}while((j|0)<(f|0));if((f|0)>=3?iU(b)|0:0){f=HU(b+4|0,0)|0;e=c[b+4>>2]|0;if((e|0)>1){l=+_T(c[f>>2]|0,n,o);l=+eU(l,+h[b+40>>3],+h[b+48>>3]);e=0;m=1;while(1){d=+_T(c[(HU(b+4|0,m)|0)>>2]|0,n,o);d=+eU(d,+h[b+40>>3],+h[b+48>>3]);f=d>2]|0;if((m|0)>=(j|0))break;else l=f?d:l}}else{j=e;e=0}f=e+1|0;if((f|0)<(j|0)){d=+h[b+48>>3];do{m=c[(HU(b+4|0,f)|0)>>2]|0;d=+dU(m,c[b+24>>2]|0,p+8|0,+h[b+40>>3],d);f=f+1|0}while((f|0)<(c[b+4>>2]|0))}if((e|0)>0){d=+h[b+48>>3];do{e=e+-1|0;m=c[(HU(b+4|0,e)|0)>>2]|0;d=+dU(m,c[b+24>>2]|0,p+8|0,+h[b+40>>3],d)}while((e|0)>0)}}}}i=p;return}function iU(a){a=a|0;var b=0,d=0,e=0.0,f=0.0,j=0,l=0,m=0;m=i;i=i+48|0;e=+h[a+32>>3];f=+U(+e);g[m+40>>2]=+T(+e);g[m+44>>2]=f;vU(m+20|0);nU(a,m+40|0,m+20|0);l=c[m+20>>2]|0;if((l|0)<2)b=0;else{oU(a);pU(a,m+20|0);f=+h[a+40>>3]*.046875;if((l|0)>1){d=0;j=1;b=0;do{e=+h[(zU(m+20|0,j+-1|0)|0)>>3];e=+Q(+(e-+h[(zU(m+20|0,j)|0)>>3]));if(e>f){b=b+1|0;if(+Q(+(e-+h[a+40>>3]))<=f)d=d+1|0}j=j+1|0}while((j|0)<(l|0))}else{d=0;b=0}if((c[a+24>>2]|0)>0){h[k>>3]=+h[a+40>>3];c[m>>2]=c[k>>2];c[m+4>>2]=c[k+4>>2];c[m+8>>2]=l;c[m+12>>2]=d;c[m+16>>2]=b;jN(313144,m)}b=+(d|0)>+(b|0)*.25}wU(m+20|0);i=m;return b|0}function jU(a){a=a|0;var b=0,d=0.0,e=0.0,f=0,j=0;f=i;i=i+32|0;d=+h[a+40>>3];b=c[a>>2]|0;if(d>0.0){e=+g[b+32>>2];e=!(e<=d)?d:e;if(e<+g[b+36>>2])g[b+36>>2]=e;g[b+32>>2]=d;g[b+44>>2]=+h[a+48>>3];g[b+40>>2]=d*1.3}Lk(f,b+92|0);if((c[a+4>>2]|0)>0){b=0;do{j=c[(HU(a+4|0,b)|0)>>2]|0;UT(j,Ok(f)|0);b=b+1|0;VL(f)}while((b|0)<(c[a+4>>2]|0))}i=f;return}function kU(b,d){b=b|0;d=d|0;var e=0.0;if(!(a[b+28>>0]|0)){if(d)M0(c[b>>2]|0);e=+V(+(+h[b+32>>3]));e1(c[b>>2]|0,e,1.0,0.0);f1(c[b>>2]|0,1.0,0.0)}return}function lU(b,d,e){b=b|0;d=d|0;e=e|0;var f=0.0;f=+V(+(+h[b+32>>3]));i1(e,c[b>>2]|0,f);Y0(e,c[b>>2]|0,f);d=c[b>>2]|0;c[(c[d+24>>2]|0)+40>>2]=~~+g[d+48>>2];if(a[357034]|0)U9(d);return}function mU(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+32|0;if((a[b+28>>0]|0)==0?(Lk(e,(c[b>>2]|0)+92|0),Mk(e),(Nk(e)|0)<<24>>24==0):0)do{jia((Ok(e)|0)+92|0,d);VL(e)}while((Nk(e)|0)<<24>>24==0);i=e;return}function nU(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,h=0.0,i=0.0,j=0;wU(e);if((c[a+4>>2]|0)>0){f=0;do{j=c[(HU(a+4|0,f)|0)>>2]|0;h=+((b[j+8>>1]|0)+(b[j+4>>1]|0)|0)*.5;i=+WT(j,h);AU(e,+g[d>>2]*i-+g[d+4>>2]*h);f=f+1|0}while((f|0)<(c[a+4>>2]|0))}return}function oU(a){a=a|0;var b=0,d=0,e=0,f=0,j=0,l=0,m=0.0,n=0;n=i;i=i+32|0;qA(n+8|0);if((c[a+4>>2]|0)>0){f=0;do{e=c[(HU(a+4|0,f)|0)>>2]|0;if(!(+Q(+(+VT(e)))>.7853981633974483)){j=f;while(1){j=j+1|0;b=c[a+4>>2]|0;if((j|0)>=(b|0))break;if(vx(e+4|0,(c[(HU(a+4|0,j)|0)>>2]|0)+4|0)|0){l=6;break}}if((l|0)==6){l=0;b=c[a+4>>2]|0}if((j|0)<(b|0)?(d=c[(HU(a+4|0,j)|0)>>2]|0,!(+Q(+(+VT(d)))>.7853981633974483)):0)sA(n+8|0,+YT(e,d))}f=f+1|0}while((f|0)<(c[a+4>>2]|0))}b=c[n+8>>2]|0;if((b|0)!=0?(m=+g[(vA(n+8|0,JU(n+8|0,(b|0)/2|0)|0)|0)>>2],h[a+40>>3]=m,(c[a+24>>2]|0)>1):0){h[k>>3]=m;c[n>>2]=c[k>>2];c[n+4>>2]=c[k+4>>2];jN(313208,n)}rA(n+8|0);i=n;return}function pU(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0,g=0.0,j=0.0,l=0;l=i;i=i+80|0;g=+qU(a,b,+h[a+40>>3],l+24|0,l,l+72|0);f=c[l+72>>2]|0;if((f|0)>1){d=+qU(a,b,+h[a+40>>3]/(1.0/+(f|0)+1.0),l+32|0,l+8|0,0);e=+qU(a,b,+h[a+40>>3]/(1.0-1.0/+(c[l+72>>2]|0)),l+40|0,l+16|0,0);if(d>3]=+h[l+32>>3];h[l>>3]=+h[l+8>>3]}else d=g;if(e>3]=+h[l+40>>3];h[l>>3]=+h[l+16>>3];d=e}}else d=g;e=+h[l+24>>3];if(e>0.0?(h[a+40>>3]=e,j=+h[l>>3],h[a+48>>3]=j,h[a+56>>3]=d,(c[a+24>>2]|0)>0):0){h[k>>3]=e;c[l+48>>2]=c[k>>2];c[l+52>>2]=c[k+4>>2];h[k>>3]=j;c[l+56>>2]=c[k>>2];c[l+60>>2]=c[k+4>>2];h[k>>3]=d;c[l+64>>2]=c[k>>2];c[l+68>>2]=c[k+4>>2];jN(313240,l+48|0)}i=l;return} -function Ena(a,b,d,e,f,g,h,j,k,l){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=i;i=i+32|0;if((c[a+56>>2]|0)==3){c[r>>2]=b;c[r+4>>2]=d;c[r+8>>2]=e;c[r+12>>2]=f;c[r+16>>2]=g;c[r+20>>2]=h&1;c[r+24>>2]=j;jN(374720,r);if((b|0)==-1&(d|0)==-1)d=0;else{q=c[(c[a>>2]|0)+28>>2]|0;m=c[c[(Una(a+60|0,b)|0)>>2]>>2]|0;id[q&15](a,b,d,m);m=4}}else m=4;a:do if((m|0)==4)if(!((b|0)==-1&(d|0)==-1)){q=c[a+60>>2]|0;if(!((((q|0)<0)<<31>>31|0)>(d|0)|(((q|0)<0)<<31>>31|0)==(d|0)&q>>>0>b>>>0))Ja(374832,374864,86,374888);q=c[(Una(a+60|0,b)|0)>>2]|0;q=(g|0)==0?q:q+20|0;n=c[q>>2]|0;if(!((b|0)==0&(d|0)==0&(g|0)==0)){if((n|0)<=0){d=0;break}m=0;while(1){b=Vna(q,m)|0;p=c[b>>2]|0;o=c[b+4>>2]|0;t=UGa(c[a+32>>2]&p|0,c[a+36>>2]&o|0,c[a+24>>2]|0)|0;s=F;g=_Ga(4,0,c[a+20>>2]|0)|0;d=m+1|0;if(gma(e,f,h,j,t,s,(g&p|0)!=0|(F&o|0)!=0,c[a+48>>2]&p)|0)break;if((d|0)<(n|0))m=d;else{d=0;break a}}c[k>>2]=b;c[l>>2]=m;c[l+4>>2]=((m|0)<0)<<31>>31;d=1;break}if((n|0)>=1){m=0;g=0;p=n+-1|0;o=((n+-1|0)<0)<<31>>31;b:while(1){while(1){d=QGa(m|0,g|0,p|0,o|0)|0;d=TGa(d|0,F|0,1)|0;n=F;b=Vna(q,d)|0;b=Wla(a,e,f,h,j,c[b>>2]|0,c[b+4>>2]|0)|0;if(!b)break b;else if((b|0)!=1)break;m=QGa(d|0,n|0,1,0)|0;if((n|0)<(o|0)|(n|0)==(o|0)&d>>>0

>>0)g=F;else{d=0;break a}}p=QGa(d|0,n|0,-1,-1)|0;o=F;if((g|0)>(o|0)|(g|0)==(o|0)&m>>>0>p>>>0){d=0;break a}}c[k>>2]=Vna(q,d)|0;c[l>>2]=d;c[l+4>>2]=n;d=1}else d=0}else d=0;while(0);i=r;return d|0}function Fna(a,b,d,e,f,g,h,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;o=c[(Una(a+60|0,b)|0)>>2]|0;o=(h|0)==0?o:o+20|0;a:do if((b|0)==0&(d|0)==0&(h|0)==0)if((c[o>>2]|0)>0){l=0;while(1){n=Vna(o,l)|0;m=l+1|0;if((Wla(a,e,f,j,k,c[n>>2]|0,c[n+4>>2]|0)|0)!=1){n=l;break a}if((m|0)<(c[o>>2]|0))l=m;else{n=m;break}}}else n=0;else n=c[o>>2]|0;while(0);Wna(c[a+20>>2]|0,c[a+24>>2]|0,q,e,f,g,h,j,k);if((b|0)==0&(d|0)==0&(h|0)==1?(c[a+104>>2]|0)!=0:0){j=Xna(a+104|0)|0;m=c[q>>2]|0;l=c[q+4>>2]|0;o=Vna(o,j)|0;c[o>>2]=m;c[o+4>>2]=l}else p=9;do if((p|0)==9){m=c[q>>2]|0;l=c[q+4>>2]|0;if((n|0)<(c[o>>2]|0)){Yna(o,m,l,n);break}else{Zna(o,m,l);break}}while(0);if((c[a+56>>2]|0)>1){c[q+8>>2]=b;c[q+12>>2]=d;jN(374904,q+8|0);_na(a,m,l);jN(1714256,q+8|0)}d=QGa(c[a+80>>2]|0,c[a+84>>2]|0,1,0)|0;c[a+80>>2]=d;c[a+84>>2]=F;i=q;return}function Gna(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+32|0;if(!(Ena(a,d,e,-1,-1,1,0,g,h+16|0,h)|0)){c[h+8>>2]=374864;c[h+12>>2]=168;$L(374664,374936,2,1702e3,h+8|0)}e=c[a+20>>2]|0;if(f){g=_Ga(1,0,e|0)|0;f=F;d=c[h+16>>2]|0;a=c[d+4>>2]|f;c[d>>2]=c[d>>2]|g;c[d+4>>2]=a;f=f|c[b+4>>2];c[b>>2]=g|c[b>>2];c[b+4>>2]=f}else d=c[h+16>>2]|0;g=_Ga(4,0,e|0)|0;f=F;j=d;e=c[j+4>>2]|f;a=d;c[a>>2]=c[j>>2]|g;c[a+4>>2]=e;f=f|c[b+4>>2];c[b>>2]=g|c[b>>2];c[b+4>>2]=f;i=h;return}function Hna(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;t=i;i=i+32|0;f=c[d+28>>2]|0;a:do if((f|0)>=1){if(e){if((c[e>>2]|0)!=(f|0)){c[t+8>>2]=374864;c[t+12>>2]=181;$L(374664,375048,2,1702e3,t+8|0);f=c[d+28>>2]|0}if((f|0)>0)s=6}else s=6;if((s|0)==6){g=0;do{if((bx(d,g)|0)<0)break a;r=bx(d,g)|0;g=g+1|0;if((r|0)>=(c[b+16>>2]|0))break a;f=c[d+28>>2]|0}while((g|0)<(f|0))}if((c[b+56>>2]|0)>1){Sia(d,375088);f=c[d+28>>2]|0}b:do if((f+-1|0)>0){g=0;f=0;r=0;h=1;while(1){o=bx(d,r)|0;if(e)n=(a[(Qw(e,r)|0)>>0]|0)!=0;else n=0;if((c[b+56>>2]|0)>1){c[t+8>>2]=o;jN(375104,t+8|0)}do if((h|0)!=0?Ena(b,g,f,-1,-1,0,0,o,t+24|0,t)|0:0){if((c[b+56>>2]|0)>1){q=c[t+4>>2]|0;c[t+8>>2]=c[t>>2];c[t+12>>2]=q;c[t+16>>2]=g;c[t+20>>2]=f;jN(375128,t+8|0)}m=c[t+24>>2]|0;j=c[m>>2]|0;p=c[m+4>>2]|0;k=c[b+32>>2]|0;l=c[b+36>>2]|0;q=c[b+24>>2]|0;u=UGa(k&j|0,l&p|0,q|0)|0;if((u|0)==0&(F|0)==0){$na(b,g,f,o);j=1;s=27;break}if(n){f=_Ga(1,0,c[b+20>>2]|0)|0;g=F|p;c[m>>2]=f|j;c[m+4>>2]=g;k=c[b+32>>2]|0;j=f|j;f=c[b+36>>2]|0}else{f=l;g=p}g=UGa(k&j|0,f&g|0,q|0)|0;f=F}else{j=0;s=27}while(0);if((s|0)==27){s=0;h=Dna(b)|0;k=F;if((c[b+56>>2]|0)>1){c[t+8>>2]=h;c[t+12>>2]=k;jN(375168,t+8|0)}if((h|0)==0&(k|0)==0){m=g;k=f;l=1;g=r;h=0;break b}aoa(b,g,f,h,k,n,(j|0)!=0,o);g=h;f=k;h=0}j=r+1|0;if((j|0)<((c[d+28>>2]|0)+-1|0))r=j;else{m=g;k=f;l=0;g=j;break}}}else{m=0;k=0;l=0;g=0;h=1}while(0);f=bx(d,g)|0;if(e)g=(a[(Qw(e,g)|0)>>0]|0)!=0;else g=0;if((c[b+56>>2]|0)>1){c[t+8>>2]=f;jN(375104,t+8|0)}if((h|0)!=0?Ena(b,m,k,-1,-1,0,0,f,t+24|0,t)|0:0){e=c[t+24>>2]|0;u=UGa(c[b+32>>2]&c[e>>2]|0,c[b+36>>2]&c[e+4>>2]|0,c[b+24>>2]|0)|0;Gna(b,e,u,F,g,f);if(!l)break}else s=38;if((s|0)==38?!l:0){aoa(b,m,k,0,0,g,1,f);break}jN(375192,t+8|0);Cna(b)}while(0);i=t;return}function Ina(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;ek(e);if(Jna(a,b,d,e)|0){coa(c[e>>2]|0,c[e+8>>2]|0);b=Kna(a,e,d)|0}else b=0;Vj(e);i=e;return b|0}function Jna(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+576|0;h=fc(b|0,377400)|0;if(!h)f=0;else{if(!(Ic(j+72|0,500,h|0)|0)){b=a+56|0;f=0}else{f=0;do{gk(j+72|0);uia(j+8|0,j+72|0,d);if(Hia(j+8|0)|0)Dia(j+8|0);f=f+1|0;if((c[a+56>>2]|0)!=0&((f|0)%1e4|0|0)==0){c[j>>2]=f;jN(375232,j)}b=c[j+36>>2]|0;if((b|0)!=0?!(Bia(c[j+16>>2]|0,b)|0):0){OM(j+4|0,jk(j+8|0)|0);Wj(e,j+4|0);RM(c[j+4>>2]|0)}else g=12;if(((g|0)==12?(g=0,(c[a+56>>2]|0)!=0):0)?(c[j>>2]=j+72,jN(375256,j),(c[a+56>>2]|0)>2):0)Sia(j+8|0,1714496);wia(j+8|0)}while((Ic(j+72|0,500,h|0)|0)!=0);b=a+56|0}if(c[b>>2]|0){c[j>>2]=f;jN(375288,j)}Yb(h|0)|0;f=1}i=j;return f|0}function Kna(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+80|0;a:do if((c[b>>2]|0)>0){e=0;while(1){uia(f+8|0,VM(c[(fk(b,e)|0)>>2]|0)|0,d);if(!(Nla(a,f+8|0)|0)?(Hna(a,f+8|0,0),!(Nla(a,f+8|0)|0)):0)break;wia(f+8|0);e=e+1|0;if((e|0)>=(c[b>>2]|0)){e=1;break a}}c[f>>2]=VM(c[(fk(b,e)|0)>>2]|0)|0;jN(375312,f);wia(f+8|0);e=0}else e=1;while(0);i=f;return e|0}function Lna(b,d){b=b|0;d=d|0;DN(d,374672);c[b+128>>2]=HN(d,374672)|0;DN(d,374680);c[b+132>>2]=HN(d,374680)|0;DN(d,374688);c[b+136>>2]=HN(d,374688)|0;DN(d,374696);c[b+140>>2]=HN(d,374696)|0;DN(d,374704);c[b+144>>2]=HN(d,374704)|0;DN(d,374712);c[b+148>>2]=HN(d,374712)|0;a[b+124>>0]=1;c[b+16>>2]=c[d+8>>2];return}function Mna(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=Yz(d,b)|0;do if(f){zv(e,c[a+128>>2]|0);zv(e,c[a+136>>2]|0);if(ox(d,b)|0){zv(e,c[a+144>>2]|0);break}if(nx(d,b)|0)zv(e,c[a+148>>2]|0)}while(0);if(az(d,b)|0?(zv(e,c[a+132>>2]|0),!f):0)zv(e,c[a+136>>2]|0);if(Zz(d,b)|0)zv(e,c[a+140>>2]|0);return}function Nna(a,b){a=a|0;b=b|0;switch(b<<24>>24){case 112:{b=c[a+140>>2]|0;break}case 100:{b=c[a+132>>2]|0;break}case 65:{b=c[a+148>>2]|0;break}case 110:{b=c[a+136>>2]|0;break}case 99:{b=c[a+128>>2]|0;break}case 97:{b=c[a+144>>2]|0;break}default:b=-1}return b|0}function Ona(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+608|0;do if(!(a[b+124>>0]|0)){jN(375360,n);f=0}else{m=fc(d|0,377400)|0;if(!m){c[n>>2]=d;jN(375424,n);f=0;break}if(!(Ic(n+96|0,500,m|0)|0)){g=b+56|0;f=0}else{f=0;while(1){gk(n+96|0);hx(n+32|0,e);Ow(n+12|0);g=JN(e,n+96|0)|0;a:do if((g|0)>0){h=n+96|0;b:while(1){do if((g|0)==1?(a[h>>0]|0)==92:0){j=h+1|0;h=a[j>>0]|0;if(h<<24>>24==92){k=IN(e,j,1)|0;h=j;break}if((c[n+60>>2]|0)<0){l=14;break b}k=Nna(b,h)|0;h=j}else l=16;while(0);if((l|0)==16){l=0;k=IN(e,h,g)|0}if((k|0)==-1)break;Jia(n+32|0,k,0.0);Rw(n+12|0,0)|0;k=h+g|0;j=JN(e,k)|0;if((j|0)==1){if((a[k>>0]|0)!=92){g=1;h=k;continue}if((a[h+(g+1)>>0]|0)!=42){g=1;h=k;continue}a[(Qw(n+12|0,(c[n+12>>2]|0)+-1|0)|0)>>0]=1;h=h+(g+2)|0;g=JN(e,h)|0}else{g=j;h=k}if((g|0)<=0){l=24;break a}}if((l|0)==14){l=0;c[n>>2]=0;jN(375456,n)}c[n>>2]=n+96;jN(375536,n)}else l=24;while(0);if((l|0)==24){l=0;if((c[b+56>>2]|0)>2){Lw(n+8|0,n+32|0);k=c[n+8>>2]|0;c[n>>2]=VM(k)|0;jN(375568,n);RM(k)}if(!(Nla(b,n+32|0)|0)?(Hna(b,n+32|0,n+12|0),!(Nla(b,n+32|0)|0)):0){c[n>>2]=n+96;jN(375608,n)}f=f+1|0}Yw(n+12|0);wia(n+32|0);if(!(Ic(n+96|0,500,m|0)|0)){g=b+56|0;break}}}if(c[g>>2]|0){c[n>>2]=f;c[n+4>>2]=d;jN(375648,n)}Yb(m|0)|0;f=1}while(0);i=n;return f|0}function Pna(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+32|0;c[j+16>>2]=0;c[j>>2]=0;c[j+4>>2]=0;if(!(Ena(a,b,d,e,f,g,1,h,j+16|0,j)|0)){c[j+8>>2]=374864;c[j+12>>2]=496;$L(374664,375680,2,1702e3,j+8|0)}if((c[a+56>>2]|0)>1){c[j+8>>2]=b;c[j+12>>2]=d;jN(375768,j+8|0);h=c[j+16>>2]|0;_na(a,c[h>>2]|0,c[h+4>>2]|0);jN(1714256,j+8|0)}do if(g){g=(c[(Una(a+60|0,b)|0)>>2]|0)+20|0;f=c[j>>2]|0;e=c[j+4>>2]|0;if((b|0)==0&(d|0)==0){d=Vna(g,f)|0;h=c[a+16>>2]|0;b=((h|0)<0)<<31>>31|c[d+4>>2]&~c[a+52>>2];c[d>>2]=h|c[d>>2]&~c[a+48>>2];c[d+4>>2]=b;eoa(a+104|0,f,e);break}else{doa(g,f);break}}else{d=c[(Una(a+60|0,b)|0)>>2]|0;doa(d,c[j>>2]|0)}while(0);d=QGa(c[a+80>>2]|0,c[a+84>>2]|0,-1,-1)|0;c[a+80>>2]=d;c[a+84>>2]=F;i=j;return}function Qna(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if(!((b|0)==-1&(d|0)==-1)){l=c[(Una(a+60|0,b)|0)>>2]|0;m=c[l>>2]|0;k=c[l+20>>2]|0;n=0;while(1){f=(n|0)==0;if(f){c[o>>2]=b;c[o+4>>2]=d;c[o+8>>2]=m;c[o+12>>2]=k;jN(375800,o);j=l}else{jN(375816,o);j=l+20|0}h=0;while(1){if(f){g=(h|0)<(m|0);if(!(g&(h|0)<(e|0))){f=13;break}}else{g=(h|0)<(k|0);if(!(g&(h|0)<(e|0))){f=15;break}}g=Vna(j,h)|0;if((c[a+48>>2]&c[g>>2]|0)!=(c[a+16>>2]|0)){g=Vna(j,h)|0;_na(a,c[g>>2]|0,c[g+4>>2]|0);jN(1701816,o)}h=h+1|0}if((f|0)==13)if(g)f=16;else{jN(1714256,o);n=1;continue}else if((f|0)==15?(f=0,g):0)f=16;if((f|0)==16)jN(375824,o);jN(1714256,o);n=n+1|0;if((n|0)==2)break}}i=o;return}function Rna(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){ooa(d);YEa(d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0))}return}function Sna(a){a=a|0;poa(a);poa(a+20|0);return}function Tna(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){qoa(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function Una(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function Vna(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<3)|0;Ja(1701640,1701680,663,1701712);return 0}function Wna(a,b,d,e,f,g,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0;l=i?g&1|4:g&1;k=i?0:0;g=_Ga(e|0,f|0,b|0)|0;i=F;b=_Ga(((h|0)==1?l|2:l)|0,((h|0)==1?k:k)|0,a|0)|0;c[d>>2]=g|j|b;c[d+4>>2]=i|((j|0)<0)<<31>>31|F;return}function Xna(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if((b|0)<=0){c[d>>2]=1701680;c[d+4>>2]=675;$L(374664,375960,2,1702e3,d);b=c[a>>2]|0}b=b+-1|0;c[a>>2]=b;a=(c[a+8>>2]|0)+(b<<3)|0;F=c[a+4>>2]|0;i=d;return c[a>>2]|0}function Yna(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;j=i;i=i+16|0;if(!((e|0)>-1?(f=c[a>>2]|0,(f|0)>=(e|0)):0)){c[j>>2]=1701680;c[j+4>>2]=691;$L(374664,375920,2,1702e3,j);f=c[a>>2]|0}if((c[a+4>>2]|0)==(f|0)){roa(a);f=c[a>>2]|0}g=c[a+8>>2]|0;if((f|0)>(e|0)){h=f;do{k=h;h=h+-1|0;m=g+(h<<3)|0;l=c[m+4>>2]|0;c[g+(k<<3)>>2]=c[m>>2];c[g+(k<<3)+4>>2]=l}while((h|0)>(e|0))}c[g+(e<<3)>>2]=b;c[g+(e<<3)+4>>2]=d;c[a>>2]=f+1;i=j;return}function Zna(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a>>2]|0;if((e|0)==(c[a+4>>2]|0)){roa(a);e=c[a>>2]|0}c[a>>2]=e+1;a=(c[a+8>>2]|0)+(e<<3)|0;c[a>>2]=b;c[a+4>>2]=d;return}function _na(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;e=i;i=i+32|0;l=UGa(c[a+32>>2]&b|0,c[a+36>>2]&d|0,c[a+24>>2]|0)|0;k=F;g=c[a+20>>2]|0;j=_Ga(1,0,g|0)|0;j=(j&b|0)!=0|(F&d|0)!=0?376e3:1714496;h=_Ga(2,0,g|0)|0;h=(h&b|0)!=0|(F&d|0)!=0?376016:376008;g=_Ga(4,0,g|0)|0;f=c[a+48>>2]&b;c[e>>2]=l;c[e+4>>2]=k;c[e+8>>2]=j;c[e+12>>2]=h;c[e+16>>2]=(g&b|0)!=0|(F&d|0)!=0?376024:1714496;c[e+20>>2]=f;jN(375976,e);i=e;return}function $na(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Pna(a,b,c,0,0,0,d);Pna(a,0,0,b,c,1,d);return}function aoa(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;Fna(a,b,c,d,e,f,0,g,h);Fna(a,d,e,b,c,f,1,g,h);return}function boa(a,b){a=a|0;b=b|0;b=SM(b)|0;return b-(SM(a)|0)|0}function coa(a,b){a=a|0;b=b|0;DEa(b,a,4,52);return}function doa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;h=i;i=i+16|0;if(!((b|0)>-1?(d=c[a>>2]|0,(d|0)>(b|0)):0)){c[h>>2]=1701680;c[h+4>>2]=705;$L(374664,1701640,2,1702e3,h);d=c[a>>2]|0}f=d+-1|0;if((f|0)>(b|0)){g=c[a+8>>2]|0;e=d+-1|0;d=b;do{b=d;d=d+1|0;k=g+(d<<3)|0;j=c[k+4>>2]|0;c[g+(b<<3)>>2]=c[k>>2];c[g+(b<<3)+4>>2]=j}while((d|0)!=(e|0))}c[a>>2]=f;i=h;return}function eoa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a>>2]|0;if((e|0)==(c[a+4>>2]|0)){soa(a);e=c[a>>2]|0}c[a>>2]=e+1;a=(c[a+8>>2]|0)+(e<<3)|0;c[a>>2]=b;c[a+4>>2]=d;return}function foa(a){a=a|0;var b=0,d=0,e=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){e=(c[a+8>>2]|0)+(d<<3)|0;fd[c[(c[b>>2]|0)+8>>2]&15](b,c[e>>2]|0,c[e+4>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function goa(a){a=a|0;c[a>>2]=375840;Rna(a+60|0);bna(a+104|0);cna(a+60|0);c[a>>2]=367304;RM(c[a+8>>2]|0);return}function hoa(a){a=a|0;goa(a);YEa(a);return}function ioa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+16|0;if(Ena(a,b,d,-1,-1,0,f,e,g+8|0,g)|0){f=c[g>>2]|0;e=c[g+4>>2]|0;b=_Ga(b|0,d|0,c[a+20>>2]|0)|0;d=F|e;b=b|f}else{d=-1;b=-1}F=d;i=g;return b|0}function joa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;g=c[(Una(a+60|0,b)|0)>>2]|0;if((c[g>>2]|0)>0){h=0;do{if(!(f?(i=Vna(g,h)|0,j=c[i>>2]|0,i=c[i+4>>2]|0,k=_Ga(4,0,c[a+20>>2]|0)|0,(k&j|0)==0&(F&i|0)==0):0)){k=Vna(g,h)|0;j=c[a+48>>2]&c[k>>2];k=_Ga(b|0,d|0,c[a+20>>2]|0)|0;hma(e,j,k|h,F|((h|0)<0)<<31>>31)}h=h+1|0}while((h|0)<(c[g>>2]|0))}return}function koa(a,b,d){a=a|0;b=b|0;d=d|0;if(!((b|0)==-1&(d|0)==-1)?!((c[a+80>>2]|0)==0&(c[a+84>>2]|0)==0):0){b=toa(a,b,d)|0;b=UGa(c[a+32>>2]&c[b>>2]|0,c[a+36>>2]&c[b+4>>2]|0,c[a+24>>2]|0)|0;d=F}else{d=-1;b=-1}F=d;return b|0}function loa(a,b,d){a=a|0;b=b|0;d=d|0;if(!((b|0)==-1&(d|0)==-1)?!((c[a+80>>2]|0)==0&(c[a+84>>2]|0)==0):0){b=toa(a,b,d)|0;d=c[b>>2]|0;b=c[b+4>>2]|0;a=_Ga(4,0,c[a+20>>2]|0)|0;b=(a&d|0)!=0|(F&b|0)!=0}else b=0;return b|0}function moa(a,b,d){a=a|0;b=b|0;d=d|0;if(!((b|0)==-1&(d|0)==-1)?!((c[a+80>>2]|0)==0&(c[a+84>>2]|0)==0):0){b=toa(a,b,d)|0;b=c[a+48>>2]&c[b>>2]}else b=-1;return b|0}function noa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;if((!((b|0)==-1&(d|0)==-1)?(g=toa(a,b,d)|0,i=c[g>>2]|0,g=c[g+4>>2]|0,h=c[a+20>>2]|0,j=_Ga(1,0,h|0)|0,!((j&i|0)==0&(F&g|0)==0)):0)?(c[a+52>>2]&g,(c[a+48>>2]&i|0)==(e|0)):0){j=_Ga(4,0,h|0)|0;g=((j&i|0)!=0|(F&g|0)!=0)^f;d=g?-1:d;g=g?-1:b}else{d=-1;g=-1}F=d;return g|0}function ooa(a){a=a|0;foa(a+20|0);foa(a);return}function poa(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;uoa(a,4);return}function qoa(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)ena(a,4);else ena(a,b<<1);return}function roa(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)uoa(a,4);else uoa(a,b<<1);return}function soa(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)fna(a,4);else fna(a,b<<1);return}function toa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a+48>>2]&b;d=UGa(c[a+96>>2]&b|0,c[a+100>>2]&d|0,c[a+20>>2]|0)|0;return Vna(c[(Una(a+60|0,d)|0)>>2]|0,e)|0}function uoa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>536870911?-1:b<<3)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{j=f+(g<<3)|0;i=c[j+4>>2]|0;h=d+(g<<3)|0;c[h>>2]=c[j>>2];c[h+4>>2]=i;g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function voa(a){a=a|0;if(a)Foa(a);return}function woa(a){a=a|0;return Doa(((a+31|0)/32|0)<<2)|0}function xoa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+1024|0;c[d+8>>2]=b;AGa(d+24|0,a,d+8|0)|0;c[d>>2]=d+24;jN(383368,d);i=d;return}function yoa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;b=fc(a|0,b|0)|0;if(!b){c[d>>2]=a;jN(376032,d);Cb(1)}else{i=d;return b|0}return 0}function zoa(a){a=a|0;aL(a);c[a>>2]=376072;return}function Aoa(a){a=a|0;bL(a);return}function Boa(a){a=a|0;bL(a);YEa(a);return}function Coa(a){a=a|0;var b=0;b=i;i=i+16|0;if(a){c[b>>2]=a;jN(376120,b)}aM();i=b;return}function Doa(a){a=a|0;if((a|0)<1)Coa(376136);a=UFa(a)|0;if(!a){Coa(376168);a=0}return a|0}function Eoa(a,b){a=a|0;b=b|0;if(!((b|0)>=0?!((b|0)==0&(a|0)==0):0))Coa(376192);a=XFa(a,b)|0;if((a|0)==0&(b|0)!=0)Coa(376168);return a|0}function Foa(a){a=a|0;if(!a)Coa(376224);VFa(a);return}function Goa(a){a=a|0;return UFa(a)|0}function Hoa(a){a=a|0;VFa(a);return}function Ioa(a){a=a|0;var b=0;if(!a)a=0;else{b=a;a=0;do{a=a+1|0;b=c[b+4>>2]|0}while((b|0)!=0)}return a|0}function Joa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;a:do if(!a)a=0;else{d=a;f=0;while(1){e=f;while(1){a=d;while(1){if(!(Wpa(c[a>>2]|0,b)|0))break;a=Koa(a)|0;if(!a){a=f;break a}}if(!e)break;c[e+4>>2]=a;e=a+4|0;d=c[e>>2]|0;c[e>>2]=0;if(!d){a=f;break a}else e=a}f=a+4|0;d=c[f>>2]|0;c[f>>2]=0;if(!d)break;else f=a}}while(0);return a|0}function Koa(a){a=a|0;var b=0;if(!a)a=0;else{b=c[a+4>>2]|0;Qoa(a);a=b}return a|0}function Loa(a,b){a=a|0;b=b|0;b=(b|0)==0?248:b;if(a)do{Qc[b&511](c[a>>2]|0);a=Koa(a)|0}while((a|0)!=0);return}function Moa(a,b){a=a|0;b=b|0;var d=0;d=Poa()|0;c[d>>2]=b;c[d+4>>2]=a;return d|0}function Noa(a){a=a|0;var b=0;while(1){if(!a){a=0;break}b=c[a+4>>2]|0;if(!b)break;else a=b}return a|0}function Ooa(a,b){a=a|0;b=b|0;var d=0,e=0;if(!a){a=Poa()|0;c[a>>2]=b;c[a+4>>2]=0}else{d=a;while(1){if(!d){d=0;break}e=c[d+4>>2]|0;if(!e)break;else d=e}e=Poa()|0;c[e>>2]=b;c[e+4>>2]=0;c[d+4>>2]=e}return a|0}function Poa(){return WEa(8)|0}function Qoa(a){a=a|0;if(a)YEa(a);return}function Roa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if(!b)Ja(376256,376280,54,376312);if(!d)Ja(377680,376280,55,376312);if(e>>>0>=32767)Ja(387144,376280,56,376312);if(c[(c[b>>2]|0)+(e<<2)+8>>2]|0)Ja(376328,376280,57,376312);if(a[d>>0]|0)Ja(376376,376280,58,376312);f=wsa()|0;esa(c[b>>2]|0,e,f);if(!(c[b+(e<<2)+12>>2]|0)){c[b+(e<<2)+12>>2]=d;return}else Ja(376408,376280,63,376312)}function Soa(a){a=a|0;if(!a)Ja(376448,376280,81,376464);else{Loa(c[a+4>>2]|0,248);voa(c[a+8>>2]|0);hM(a);return}}function Toa(a){a=a|0;hM(a);return}function Uoa(a){a=a|0;var b=0;if(!a)Ja(376448,376280,97,376480);b=c[a>>2]|0;if(b)ZEa(b);hM(a);return}function Voa(){var b=0,d=0,e=0,f=0;b=Doa(272)|0;a[b>>0]=0;a[b+1>>0]=0;c[b+12>>2]=0;e=woa(512)|0;c[b+4>>2]=e;d=woa(64)|0;c[b+8>>2]=d;e=e+0|0;f=e+64|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));c[d>>2]=0;c[d+4>>2]=0;YGa(b+16|0,0,256)|0;return b|0}function Woa(a){a=a|0;var b=0,d=0;d=0;do{if(!(c[(c[a+8>>2]|0)+(((d|0)/32|0)<<2)>>2]&1<<(d&31))){b=c[a+(d<<2)+16>>2]|0;if(b)Soa(b)}else{b=c[a+(d<<2)+16>>2]|0;if(b)Uoa(b)}d=d+1|0}while((d|0)!=64);voa(c[a+4>>2]|0);voa(c[a+8>>2]|0);Loa(c[a+12>>2]|0,249);Foa(a);return}function Xoa(b){b=b|0;var d=0,e=0;d=Doa(131080)|0;c[d>>2]=vsa()|0;a[d+8>>0]=0;c[d+4>>2]=0;e=0;do{c[d+12+(e<<2)>>2]=0;if((e|0)<(c[b+192>>2]|0))Roa(d,Voa()|0,e);e=e+1|0}while((e|0)!=32767);return d|0}function Yoa(a,b){a=a|0;b=b|0;if(!(c[(c[a+8>>2]|0)+(((b&255)>>>5&255)<<2)>>2]&1<<(b&31)))a=(c[a+((b&255)<<2)+16>>2]|0)+12|0;else a=(c[a+((b&255)<<2)+16>>2]|0)+4|0;return c[a>>2]|0}function Zoa(a){a=a|0;var b=0,d=0;if(a){b=c[a>>2]|0;if((c[b>>2]|0)>0){d=0;do{Woa(c[a+(d<<2)+12>>2]|0);d=d+1|0;b=c[a>>2]|0}while((d|0)<(c[b>>2]|0))}ysa(b);Foa(a)}return}function _oa(d,e){d=d|0;e=e|0;var f=0,g=0;f=gM(16)|0;g=woa(d+1|0)|0;c[f+8>>2]=g;a[f>>0]=1;b[f+2>>1]=d;a[f+1>>0]=(d+32|0)/32|0;c[f+4>>2]=0;if((((d+32|0)/32|0)&255)<<24>>24)YGa(g|0,0,((((d+32|0)/32|0)&255)>>>0>1?(((d+32|0)/32|0)&255)<<2:4)|0)|0;c[f+12>>2]=e;return f|0}function $oa(){return gM(32)|0}function apa(b,f,g){b=b|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;m=i;i=i+32|0;xb(376496,33,1,f|0)|0;h=d[g+8>>0]|0;c[m>>2]=c[g+4>>2];c[m+4>>2]=h;zb(f|0,376536,m|0)|0;xb(376584,22,1,f|0)|0;xb(376608,25,1,f|0)|0;h=c[g>>2]|0;if((c[h>>2]|0)>0){l=0;do{j=c[h+(l<<2)+8>>2]|0;k=c[g+(l<<2)+12>>2]|0;if(!((a[k>>0]|0)==0?(c[k+12>>2]|0)==0:0)){p=MN(b+184|0,l)|0;o=d[j+3>>0]|0;n=d[k>>0]|0;j=e[j>>1]|0;h=j-(Ioa(c[k+12>>2]|0)|0)|0;c[m>>2]=l;c[m+4>>2]=p;c[m+8>>2]=o;c[m+12>>2]=n;c[m+16>>2]=j;c[m+20>>2]=h;zb(f|0,376640,m|0)|0;h=c[g>>2]|0}l=l+1|0}while((l|0)<(c[h>>2]|0))}Fc(10,f|0)|0;i=m;return}function bpa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;h=i;i=i+16|0;g=Doa(272)|0;Ha(g|0,272,1,a|0)|0;b=woa(512)|0;c[g+4>>2]=b;d=woa(64)|0;c[g+8>>2]=d;Ha(b|0,4,16,a|0)|0;Ha(d|0,4,2,a|0)|0;Ha(h+4|0,4,1,a|0)|0;c[g+12>>2]=0;b=c[h+4>>2]|0;if((b|0)>0){e=0;f=0;do{j=gM(32)|0;Ha(j|0,32,1,a|0)|0;e=Ooa(e,j)|0;c[g+12>>2]=e;f=f+1|0}while((f|0)!=(b|0))}Ha(h|0,4,1,a|0)|0;e=c[h>>2]|0;a:do if((e|0)>0){f=0;while(1){if(!(c[d+(((f|0)/32|0)<<2)>>2]&1<<(f&31)))b=dpa(a)|0;else b=cpa(a)|0;c[g+16+(f<<2)>>2]=b;b=f+1|0;if((b|0)>=(e|0))break a;d=c[g+8>>2]|0;f=b}}while(0);i=h;return g|0}function cpa(a){a=a|0;var b=0,e=0,f=0,g=0;e=i;i=i+16|0;b=gM(8)|0;Ha(e|0,1,1,a|0)|0;f=d[e>>0]|0;g=XEa((f+1|0)>>>0>1073741823?-1:f+1<<2)|0;c[b>>2]=g;Ha(g|0,4,f|0,a|0)|0;c[g+(f<<2)>>2]=-1;Ha(b+4|0,4,1,a|0)|0;i=e;return b|0}function dpa(a){a=a|0;var b=0,e=0,f=0;b=gM(16)|0;Ha(b|0,16,1,a|0)|0;e=d[b+1>>0]|0;f=woa(e<<5)|0;c[b+8>>2]=f;Ha(f|0,4,e|0,a|0)|0;return b|0}function epa(a,b){a=a|0;b=b|0;var d=0;d=Doa(131080)|0;Ha(d|0,131080,1,b|0)|0;a=zsa(a,b)|0;c[d>>2]=a;if((c[a>>2]|0)>0){a=0;do{c[d+12+(a<<2)>>2]=bpa(b)|0;a=a+1|0}while((a|0)<(c[c[d>>2]>>2]|0))}return d|0}function fpa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;c[g+4>>2]=d;xb(b|0,272,1,a|0)|0;xb(c[b+4>>2]|0,4,16,a|0)|0;xb(c[b+8>>2]|0,4,2,a|0)|0;c[g>>2]=Ioa(c[b+12>>2]|0)|0;xb(g|0,4,1,a|0)|0;d=c[b+12>>2]|0;if(d)do{xb(c[d>>2]|0,32,1,a|0)|0;d=c[d+4>>2]|0}while((d|0)!=0);xb(g+4|0,4,1,a|0)|0;d=c[g+4>>2]|0;if((d|0)>0){f=0;do{e=b+(f<<2)+16|0;if(!(c[(c[b+8>>2]|0)+(((f|0)/32|0)<<2)>>2]&1<<(f&31)))hpa(a,c[e>>2]|0);else gpa(a,c[e>>2]|0);f=f+1|0}while((f|0)!=(d|0))}i=g;return}function gpa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(!b)Ja(376448,376280,538,376672);d=c[b>>2]|0;f=0;while(1){e=f&255;if((c[d+(e<<2)>>2]|0)>0)f=f+1<<24>>24;else break}Fc(f<<24>>24|0,a|0)|0;xb(c[b>>2]|0,4,e|0,a|0)|0;xb(b+4|0,4,1,a|0)|0;return}function hpa(a,b){a=a|0;b=b|0;if(!b)Ja(376448,376280,560,376688);if(!(c[b+4>>2]|0)){xb(b|0,16,1,a|0)|0;xb(c[b+8>>2]|0,4,d[b+1>>0]|0|0,a|0)|0;return}else Ja(376704,376280,562,376688)}function ipa(a,b,e){a=a|0;b=b|0;e=e|0;var f=0;xb(e|0,131080,1,b|0)|0;Asa(a,b,c[e>>2]|0,c[a+192>>2]|0);a=c[e>>2]|0;if((c[a>>2]|0)>0){f=0;do{fpa(b,c[e+(f<<2)+12>>2]|0,d[(c[a+(f<<2)+8>>2]|0)+3>>0]|0);f=f+1|0;a=c[e>>2]|0}while((f|0)<(c[a>>2]|0))}return}function jpa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if(!d)Ja(376744,376760,186,376792);e=WEa(60)|0;Ypa(e);Zpa(e);if(!(c[a+1964>>2]|0)){c[f>>2]=376760;c[f+4>>2]=190;$L(376736,376816,2,1702e3,f)}kpa(a,b,e);lpa(a,e);$pa(c[e+20>>2]|0,c[e+28>>2]|0);mpa(a,e);aqa(e);Eba(f+8|0,c[b>>2]|0);npa(a,b+4|0,f+8|0,e,d);if(!(!(Jqa(+h[a+2104>>3],c[b>>2]|0)|0)?(NL(d)|0)!=0:0))Iqa(a,c[e>>2]|0,d);if((c[a+1052>>2]|0)>0){jN(376848,f);opa(a,e)}bqa(e);YEa(e);i=f;return}function kpa(b,e,f){b=b|0;e=e|0;f=f|0;var j=0,k=0,l=0,m=0;m=i;i=i+48|0;Fk(m);k=sra(e,(a[b+1034>>0]|0)!=0,m+20|0,m)|0;if(k){j=c[b+1964>>2]|0;a:do if((d[j+8>>0]|0)>=(c[b+1364>>2]|0)?(a[b+938>>0]|0)==0:0){j=Ppa(b,e,m,m+20|0,j,f)|0;do if(c[f+20>>2]|0){if(1.0-+g[f+16>>2]>+h[b+1168>>3]?(a[b+954>>0]|0)==0:0)break;if(!j)break a;if((c[j>>2]|0)<=-1)break a;if(a[b+954>>0]|0)break a;Jpa(b,m,m+20|0,e,c[b+1960>>2]|0,j,f);break a}while(0);Qpa(b,e,k,f)}else l=4;while(0);if((l|0)==4)Qpa(b,e,k,f);if(!((a[f+4>>0]|0)!=0?(c[f+20>>2]|0)!=0:0))Tpa(b,f);yua(k);YEa(k)}Gk(m);i=m;return}function lpa(b,d){b=b|0;d=d|0;var e=0,f=0,i=0,j=0,k=0,l=0.0,m=0,n=0.0,o=0.0;o=+g[d+16>>2]-+h[b+1248>>3];if(!(a[b+2078>>0]|0)){if((c[d+20>>2]|0)>0){i=0;f=0;while(1){if(+g[(dqa(d+20|0,i)|0)+4>>2]>=o){e=f+1|0;if((f|0)!=(i|0)){m=dqa(d+20|0,f)|0;b=dqa(d+20|0,i)|0;c[m+0>>2]=c[b+0>>2];c[m+4>>2]=c[b+4>>2];c[m+8>>2]=c[b+8>>2];JS(m+12|0,b+12|0)}}else e=f;i=i+1|0;f=c[d+20>>2]|0;if((i|0)>=(f|0)){i=25;break}else f=e}}}else{if(UN(b+184|0,385032)|0)k=HN(b+184|0,385032)|0;else k=-1;if(UN(b+184|0,385040)|0)m=HN(b+184|0,385040)|0;else m=-1;l=+cqa(k,d);n=+cqa(m,d);if((c[d+20>>2]|0)>0){j=0;f=0;while(1){i=dqa(d+20|0,j)|0;if(+g[i+4>>2]>=o){do if(Yz(b+184|0,c[i>>2]|0)|0?(MEa(378376,MN(b+184|0,c[i>>2]|0)|0)|0)==0:0){if((YN(b+184|0,c[i>>2]|0,1705304)|0)&l>2]=k;break}e=(YN(b+184|0,c[i>>2]|0,378392)|0)&n>2]=m;break}else{c[i>>2]=-1;break}}while(0);if((c[(dqa(d+20|0,j)|0)>>2]|0)!=-1){e=f+1|0;if((f|0)!=(j|0)){f=dqa(d+20|0,f)|0;i=dqa(d+20|0,j)|0;c[f+0>>2]=c[i+0>>2];c[f+4>>2]=c[i+4>>2];c[f+8>>2]=c[i+8>>2];JS(f+12|0,i+12|0)}}else e=f}else e=f;j=j+1|0;f=c[d+20>>2]|0;if((j|0)>=(f|0)){i=25;break}else f=e}}}if((i|0)==25?(f|0)>(e|0):0)c[d+20>>2]=e;return}function mpa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if((c[b+20>>2]|0)>0){j=0;i=0;f=0;h=0;while(1){g=dqa(b+20|0,j)|0;if(!(MEa(378400,MN(a+184|0,c[g>>2]|0)|0)|0))if(MEa(378432,MN(a+184|0,c[g>>2]|0)|0)|0){d=f+1|0;if((f|0)<1){f=d;e=h;k=7}else{g=i;f=d;e=h}}else{e=h;k=7}else{e=h+1|0;if((h|0)<2)k=7;else g=i}if((k|0)==7){k=0;d=i+1|0;if((i|0)==(j|0))g=d;else{i=dqa(b+20|0,i)|0;c[i+0>>2]=c[g+0>>2];c[i+4>>2]=c[g+4>>2];c[i+8>>2]=c[g+8>>2];JS(i+12|0,g+12|0);g=d}}j=j+1|0;d=c[b+20>>2]|0;if((j|0)>=(d|0))break;else{i=g;h=e}}if((d|0)>(g|0))c[b+20>>2]=g}return}function npa(b,d,e,f,j){b=b|0;d=d|0;e=e|0;f=f|0;j=j|0;var k=0,l=0,m=0.0,n=0.0,o=0,p=0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;v=i;i=i+48|0;if(!j)Ja(376744,376760,1466,378008);c[v+12>>2]=0;pk(v+12|0,j);k=c[b+2736>>2]|0;if(!k)t=10;else{t=(hua(k)|0)<<1;t=(t|0)<10?10:t}if((c[f+20>>2]|0)>0){m=-3402823466385288598117041.0e14;k=0;l=0;s=0;a:do{o=dqa(f+20|0,s)|0;p=a[o+8>>0]|0;r=(uC(b+184|0,c[o>>2]|0)|0)!=0;do if(((xD(v+12|0)|0)+1|0)!=(t|0)|l|r^1){j=c[f>>2]|0;if(!j){q=-20.0;n=100.0}else{n=1.0-+g[o+4>>2];q=-(+h[b+3584>>3]*n);n=n*(+(j|0)*+h[b+1520>>3])}if(q>m){m=+h[b+1680>>3];if(q<=m)m=q}else if(p<<24>>24!=0?q/+h[b+1640>>3]>2]|0,b+184|0,e,v+8|0,v+4|0,v);j=WEa(72)|0;x=c[o>>2]|0;w=nO(b+184|0,x)|0;pia(j,x,n,q,w,+g[v+8>>2],+g[v+4>>2],+g[v>>2],p&255);ES(j,o+12|0);qv(v+12|0,j);k=k+1|0;if((k|0)<(t|0))l=(r&1^1|l&1|0)!=0;else{u=17;break a}}else l=0;while(0);s=s+1|0;j=c[f+20>>2]|0}while((s|0)<(j|0));if((u|0)==17)j=c[f+20>>2]|0;if((j|0)>(k|0))c[f+20>>2]=k}i=v;return}function opa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((c[b+20>>2]|0)>0){d=0;do{QN(e+4|0,a+184|0,c[(dqa(b+20|0,d)|0)>>2]|0);f=c[e+4>>2]|0;c[e>>2]=VM(f)|0;jN(378368,e);RM(f);eqa(dqa(b+20|0,d)|0);d=d+1|0}while((d|0)<(c[b+20>>2]|0))}i=e;return}function ppa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,j=0,k=0,l=0,m=0,n=0.0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+48|0;r=c[e+184>>2]|0;do if(r){if(!d){if(!(a[b+1988>>0]|0))break;f=c[e+140>>2]|0;if(!f)break;if((c[b+1100>>2]|0)>0){Lw(s+32|0,f);q=c[s+32>>2]|0;c[s>>2]=VM(q)|0;jN(376864,s);RM(q)}q=XEa(r>>>0>1073741823?-1:r<<2)|0;qga(e,+h[b+1560>>3],+h[b+1208>>3],+h[b+1128>>3],+h[b+1288>>3],q)}else q=0;if((r|0)>0){m=(q|0)==0;o=0;p=0;do{if(a[b+1818>>0]|0){c[s>>2]=VM(c[(fk(e+184|0,o)|0)>>2]|0)|0;jN(376896,s)}do if((SM(fk(e+184|0,o)|0)|0)>0){if(m)n=0.0;else n=+g[q+(o<<2)>>2];l=c[(Ik(e+164|0,o)|0)>>2]|0;qpa(b,d,p,l,n,1,VM(c[(fk(e+184|0,o)|0)>>2]|0)|0,e);if((c[(Ik(e+164|0,o)|0)>>2]|0)>1?(a[b+1762>>0]|0)==0:0){if((c[(Ik(e+164|0,o)|0)>>2]|0)>0){k=0;f=0;do{j=Vy(c[e+72>>2]|0,k+p|0)|0;if(+h[b+1784>>3]<0.0)f=f|(rpa(b,c[j>>2]|0)|0);k=k+1|0}while((k|0)<(c[(Ik(e+164|0,o)|0)>>2]|0));if(f)break}j=Pga(e,p,c[(Ik(e+164|0,o)|0)>>2]|0)|0;if(!j?(a[b+550>>0]|0)!=0:0)break;if((c[(Ik(e+164|0,o)|0)>>2]|0)>0){k=0;do{ek(s+12|0);YM(fk(e+184|0,o)|0,32,s+12|0);f=fk(s+12|0,0)|0;l=VM(c[(fk(s+12|0,0)|0)>>2]|0)|0;dO(s+8|0,l,k,c[(Ik(e+164|0,o)|0)>>2]|0,j);aN(f,s+8|0);RM(c[s+8>>2]|0);NM(s+4|0);f=c[s+12>>2]|0;if((f|0)>0){l=0;do{bN(s+4|0,fk(s+12|0,l)|0);if((l|0)!=(f+-1|0))hN(s+4|0,32);l=l+1|0}while((l|0)<(f|0))}l=c[s+4>>2]|0;qpa(b,d,k+p|0,1,n,0,VM(l)|0,e);RM(l);Vj(s+12|0);k=k+1|0}while((k|0)<(c[(Ik(e+164|0,o)|0)>>2]|0))}}}while(0);p=(c[(Ik(e+164|0,o)|0)>>2]|0)+p|0;o=o+1|0}while((o|0)<(r|0))}if(q)ZEa(q)}while(0);i=s;return}function qpa(b,d,e,f,g,j,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=+g;j=j|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0;r=i;i=i+160|0;if((j|0)==1)n=3;else if((j|0)==0?(a[b+1762>>0]|0)==0:0)n=3;if((n|0)==3){if((f|0)>1){aka(m+76|0,c[m+72>>2]|0,e,e+-1+f|0);p=m+72|0}else p=m+72|0;q=c[(Vy(c[p>>2]|0,e)|0)>>2]|0;o=Dba(q)|0;o=(o|0)==0?q:o;do if(!d){if(!(UN(b+184|0,l)|0)){if((c[b+608>>2]|0)<=0)break;c[r>>2]=l;jN(376960,r);break}l=HN(b+184|0,l)|0;n=c[m+228>>2]|0;if(!n)n=0;else{c[r+56>>2]=c[n+0>>2];c[r+60>>2]=c[n+4>>2];c[r+64>>2]=c[n+8>>2];c[r+68>>2]=c[n+12>>2];n=cJ(b+1996|0,r+56|0)|0}if((c[b+1100>>2]|0)>0){c[r>>2]=MN(b+184|0,l)|0;h[k>>3]=g;c[r+4>>2]=c[k>>2];c[r+8>>2]=c[k+4>>2];c[r+12>>2]=n;jN(376912,r)}spa(b,o,l,n,g,c[b+1964>>2]|0);j=c[b+1968>>2]|0;if(j)spa(b,o,l,n,g,j)}else{c[b+632>>2]=1;a[b+954>>0]=0;a[b+938>>0]=0;Zea(r);Zea(r+96|0);ura(o,(a[b+1034>>0]|0)!=0,r,r+96|0,r+76|0);PM(r+72|0,d);Dqa(b,r+72|0,o,r+96|0,r+76|0,l);RM(c[r+72>>2]|0);afa(r+96|0);afa(r)}while(0);if(!((o|0)==(q|0)|(o|0)==0)){Bk(o);YEa(o)}_ja(m+76|0,c[p>>2]|0,e,e+-1+f|0)}i=r;return}function rpa(b,d){b=b|0;d=d|0;var e=0,f=0,j=0,k=0.0;j=i;i=i+32|0;e=WEa(4)|0;c[e>>2]=0;jpa(b,d,e);pk(j,e);d=(c[b+2776>>2]|0)+184|0;if(a[b+1818>>0]|0)Via(378032,e,d);rk(j);a:do if(sk(j)|0)f=7;else{while(1){if(!(uC(d,c[(tk(j)|0)+4>>2]|0)|0))break;OL(j)|0;if(sk(j)|0){f=7;break a}}k=+g[(tk(j)|0)+36>>2];KL(e,229);YEa(e);d=k<+h[b+1784>>3]}while(0);if((f|0)==7){KL(e,229);YEa(e);d=1}i=j;return d|0}function spa(b,e,f,j,l,m){b=b|0;e=e|0;f=f|0;j=j|0;l=+l;m=m|0;var n=0,o=0,p=0.0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;v=i;i=i+2112|0;YGa(v+56|0,0,2048)|0;c[v+24>>2]=0;c[v+28>>2]=0;c[v+32>>2]=0;Xea(v+36|0);do if(f>>>0<32767){c[v+24>>2]=f;u=c[m+(f<<2)+12>>2]|0;if(!u)Ja(377680,376760,904,377696);if((a[u>>0]|0)==0?(c[u+12>>2]|0)==0:0){Apa(b,e,f,j,u,m);break}o=c[(c[m>>2]|0)+(f<<2)+8>>2]|0;t=Bpa(b,e,v+56|0,v+12|0)|0;if((t|0)>=1){n=woa(512)|0;q=a[o+3>>0]|0;if(q<<24>>24){s=0;do{r=1<<(s&31);if((Yoa(u,s&255)|0)==(j|0)){w=n+(((s|0)/32|0)<<2)|0;c[w>>2]=c[w>>2]|r}else{w=n+(((s|0)/32|0)<<2)|0;c[w>>2]=c[w>>2]&~r}s=s+1|0}while((s|0)<(q&255|0))}Gra(b+2168|0,o,c[b+1972>>2]|0,n,t&65535,v+56|0,v+24|0,0);voa(n);Dpa(b,l);p=+g[v+28>>2];if(!(1.0-p<=l)){if((c[b+1100>>2]|0)>0){c[v>>2]=d[v+33>>0];h[k>>3]=p*100.0;c[v+4>>2]=c[k>>2];c[v+8>>2]=c[k+4>>2];jN(377816,v)}n=Hpa(b,m,f,j,t,v+56|0,c[v+12>>2]|0)|0;if((n|0)>-1?Epa(b,f,u+(n<<2)+16|0)|0:0){Fpa(b,m,f,n,e);Gpa(b,f,e)}}else{o=a[v+33>>0]|0;if(1<<(o&31)&c[(c[u+8>>2]|0)+(((o&255)>>>5&255)<<2)>>2]){if((c[b+1100>>2]|0)>0){c[v>>2]=o&255;h[k>>3]=p*100.0;c[v+4>>2]=c[k>>2];c[v+8>>2]=c[k+4>>2];jN(377712,v)}zta(c[v+12>>2]|0);break}w=c[u+((o&255)<<2)+16>>2]|0;c[v+16>>2]=w;n=(a[w>>0]|0)+1<<24>>24;a[w>>0]=n;if((n&255)>(d[u+1>>0]|0))a[u+1>>0]=n;if((c[b+1100>>2]|0)>0){c[v>>2]=o&255;c[v+4>>2]=n&255;jN(377760,v)}if(Epa(b,f,v+16|0)|0){Fpa(b,m,f,o&255,e);Gpa(b,f,e)}}zta(c[v+12>>2]|0)}}while(0);FS(v+36|0);i=v;return}function tpa(b){b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;NM(f+12|0);if(c[b+1964>>2]|0){do if((a[b+970>>0]|0)!=0?(a[b+1002>>0]|0)!=0:0){PM(f+4|0,377e3);gN(f+8|0,b+356|0,f+4|0);aN(f+12|0,f+8|0);RM(c[f+8>>2]|0);RM(c[f+4>>2]|0);e=c[f+12>>2]|0;d=fc(VM(e)|0,377008)|0;e=VM(e)|0;if(!d){c[f>>2]=e;xoa(377016,f);break}else{c[f>>2]=e;xoa(377064,f);oc(c[p>>2]|0)|0;ipa(b,d,c[b+1964>>2]|0);xoa(1714256,f);Yb(d|0)|0;break}}while(0);d=c[b+1964>>2]|0;if(d){Zoa(d);c[b+1964>>2]=0}}d=c[b+1968>>2]|0;if(d){Zoa(d);c[b+1968>>2]=0}d=c[b+1960>>2]|0;if(d){ysa(d);c[b+1960>>2]=0}uta(b);d=c[b+1972>>2]|0;if(d){voa(d);voa(c[b+1976>>2]|0);voa(c[b+1980>>2]|0);voa(c[b+1984>>2]|0);c[b+1972>>2]=0;c[b+1976>>2]=0;c[b+1980>>2]=0;c[b+1984>>2]=0}d=c[b+2736>>2]|0;if(d){fqa(d+4|0);YEa(d)}c[b+2736>>2]=0;d=c[b+4080>>2]|0;if(d){Qc[c[(c[d>>2]|0)+4>>2]&511](d);c[b+4080>>2]=0}RM(c[f+12>>2]|0);i=f;return}function upa(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;do if(a[d+970>>0]|0){if(c[d+1972>>2]|0)tpa(d);if(!((SM(d+16|0)|0)<1|e^1)){if(!(KI(d+24|0,3)|0)){c[k>>2]=376760;c[k+4>>2]=537;$L(376736,377104,2,1702e3,k)}c[d+1960>>2]=zsa(d,c[d+168>>2]|0)|0;if((c[d+172>>2]|0)>0)jN(377152,k);do if(KI(d+24|0,13)|0){j=WEa(28)|0;eua(j,d+184|0);c[d+2736>>2]=j;if(fua(j,(a[d+176>>0]|0)!=0,c[d+168>>2]|0)|0){if((c[d+172>>2]|0)<=0)break;jN(377200,k);break}jN(377168,k);e=c[d+2736>>2]|0;if(e){fqa(e+4|0);YEa(e)}c[d+2736>>2]=0}while(0);if(!(KI(d+24|0,4)|0)){c[k>>2]=376760;c[k+4>>2]=554;$L(376736,377240,2,1702e3,k)}g=c[d+168>>2]|0;h=(a[d+176>>0]|0)!=0;j=LI(d+24|0,4)|0;era(d,g,h,j,F,c[d+4092>>2]|0);if((c[d+172>>2]|0)>0)jN(377296,k);if(!(KI(d+24|0,5)|0)){c[k>>2]=376760;c[k+4>>2]=561;$L(376736,377320,2,1702e3,k)}h=c[d+168>>2]|0;j=LI(d+24|0,5)|0;c[d+1992>>2]=vta(d,h,j,F)|0;if((c[d+172>>2]|0)>0)jN(377376,k);j=WEa(12)|0;c[j>>2]=1701888;a[j+4>>0]=0;c[j+8>>2]=d;c[d+4080>>2]=j}Nra(d+2168|0,d+596|0);rra();c[d+1972>>2]=woa(512)|0;c[d+1976>>2]=woa(64)|0;c[d+1980>>2]=woa(64)|0;c[d+1984>>2]=woa(512)|0;e=(c[d+1972>>2]|0)+0|0;f=e+64|0;do{c[e>>2]=-1;e=e+4|0}while((e|0)<(f|0));j=c[d+1976>>2]|0;c[j>>2]=-1;c[j+4>>2]=-1;j=c[d+1980>>2]|0;c[j>>2]=0;c[j+4>>2]=0;YGa(c[d+4096>>2]|0,0,65534)|0;if(!(a[d+986>>0]|0)){e=c[d+1964>>2]|0;if(e)Zoa(e);c[d+1964>>2]=Xoa(d)|0;break}NM(k+8|0);aN(k+8|0,d+356|0);dN(k+8|0,377e3);j=c[k+8>>2]|0;e=fc(VM(j)|0,377400)|0;if(e){c[k>>2]=VM(j)|0;xoa(377408,k);g=c[p>>2]|0;oc(g|0)|0;c[d+1964>>2]=epa(d,e)|0;xoa(1714256,k);Yb(e|0)|0;apa(d,g,c[d+1964>>2]|0);g=c[c[c[d+1964>>2]>>2]>>2]|0;if((g|0)>0){h=c[d+4092>>2]|0;f=c[d+4096>>2]|0;e=0;do{b[f+(e<<1)>>1]=b[h+(e<<1)>>1]|0;e=e+1|0}while((e|0)!=(g|0))}}else c[d+1964>>2]=Xoa(d)|0;RM(j)}while(0);i=k;return}function vpa(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if((c[a+1100>>2]|0)>0){c[d>>2]=c[a+4084>>2];jN(377456,d)}Zoa(c[a+1964>>2]|0);c[a+1964>>2]=Xoa(a)|0;b=c[a+1968>>2]|0;if(b)Zoa(b);c[a+1968>>2]=0;c[a+4084>>2]=0;i=d;return}function wpa(a){a=a|0;var b=0;b=i;i=i+16|0;if(!(c[a+1968>>2]|0))vpa(a);else{if((c[a+1100>>2]|0)>0){c[b>>2]=c[a+4084>>2];jN(377520,b)}Zoa(c[a+1964>>2]|0);c[a+1964>>2]=c[a+1968>>2];c[a+1968>>2]=0;c[a+4084>>2]=0}i=b;return}function xpa(a){a=a|0;var b=0;b=c[a+1968>>2]|0;if(b)Zoa(b);c[a+1968>>2]=Xoa(a)|0;return}function ypa(b){b=b|0;a[b+1988>>0]=(a[b+590>>0]|0)!=0&1;yna(b+2744|0);return}function zpa(b){b=b|0;a[b+1988>>0]=0;zna(b+2744|0);return}function Apa(d,f,h,j,k,l){d=d|0;f=f|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=i;i=i+16|0;c[d+632>>2]=0;o=Eta(d,f)|0;p=b[o>>1]|0;if((p+-1&65535)<=199){m=_oa((p&65535)+-1|0,j)|0;c[k+16>>2]=m;if((c[d+1964>>2]|0)==(l|0))b[(c[d+4096>>2]|0)+(h<<1)>>1]=b[(c[d+4092>>2]|0)+(h<<1)>>1]|0;j=c[(c[l>>2]|0)+(h<<2)+8>>2]|0;a:do if(!(b[o>>1]|0))q=d+1100|0;else{n=0;while(1){f=gsa(j)|0;if((f|0)==-1)break;t=c[o+(n<<2)+4>>2]|0;s=$oa()|0;g[s+24>>2]=+g[t+16>>2];g[s+16>>2]=+g[t+4>>2];g[s+20>>2]=+g[t+8>>2]+-.25;g[s+28>>2]=+g[t+12>>2];Pta(s+4|0);b[s>>1]=f;t=(c[m+8>>2]|0)+(((f|0)/32|0)<<2)|0;c[t>>2]=c[t>>2]|1<<(f&31);usa(d,s+4|0,f,j);nsa(s+4|0,f,j,(c[d+1100>>2]|0)>1);c[k+12>>2]=Moa(c[k+12>>2]|0,s)|0;n=n+1|0;if((n|0)>=(e[o>>1]|0)){q=d+1100|0;break a}}Ja(377584,376760,750,377600)}while(0);zta(o);fsa(j)|0;tsa(c[d+1972>>2]|0,0,j);if((c[q>>2]|0)>0){c[r>>2]=MN(d+184|0,h)|0;c[r+4>>2]=h;c[r+8>>2]=p&65535;jN(377624,r)}if((a[k>>0]|0)==0?(c[k+12>>2]|0)==0:0)c[l+4>>2]=(c[l+4>>2]|0)+1}else zta(o);i=r;return}function Bpa(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0;c[a+632>>2]=0;d=Ita(a,d)|0;g=b[d>>1]|0;if((g&65535)>200){zta(d);d=0}else{ora(c[a+632>>2]|0,d,e);c[f>>2]=d;d=g&65535}return d|0}function Cpa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0;d=c[b+140>>2]|0;if((((d|0)!=0?(e=c[d+28>>2]|0,f=+h[a+3272>>3]+.05,(e|0)>0):0)?((e|0)<41?(e|0)==(c[c[b+156>>2]>>2]|0):0):0)?+g[d+32>>2]<=f:0)d=kga(b,f)|0;else d=0;return d|0}function Dpa(a,b){a=a|0;b=+b;var d=0,e=0;if(!(b==+h[a+1128>>3]))if((~~((1.0-b)*255.0)|0)<0){c[a+1716>>2]=0;d=0}else{d=~~((1.0-b)*255.0);e=4}else{d=229;e=4}if((e|0)==4){d=(d|0)>255?255:d;c[a+1716>>2]=d}c[a+1740>>2]=d;return}function Epa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;l=i;i=i+32|0;if((c[b+1100>>2]|0)>0){QN(l+16|0,(c[b+2776>>2]|0)+184|0,e);g=c[l+16>>2]|0;n=VM(g)|0;m=d[c[f>>2]>>0]|0;c[l>>2]=n;c[l+4>>2]=m;jN(378512,l);RM(g)}f=d[c[f>>2]>>0]|0;a:do if((f|0)<(c[b+1412>>2]|0))if((f|0)>=(c[b+1388>>2]|0))if(((a[b+518>>0]|0)!=0?(h=gqa((c[b+2776>>2]|0)+256|0,e)|0,(h|0)!=0):0)?(j=c[h>>2]|0,(j|0)>0):0){f=0;while(1){g=c[(Ik(h,f)|0)>>2]|0;g=c[(c[b+1964>>2]|0)+(g<<2)+12>>2]|0;if(!g){k=10;break}if((a[g>>0]|0)==0?(d[g+1>>0]|0)<(c[b+1388>>2]|0):0)break;f=f+1|0;if((f|0)>=(j|0)){f=1;break a}}if((k|0)==10)Ja(378552,376760,2338,378576);if((c[b+1100>>2]|0)>0){k=(c[b+2776>>2]|0)+184|0;QN(l+12|0,k,c[(Ik(h,f)|0)>>2]|0);f=c[l+12>>2]|0;k=VM(f)|0;QN(l+8|0,(c[b+2776>>2]|0)+184|0,e);n=c[l+8>>2]|0;m=VM(n)|0;c[l>>2]=k;c[l+4>>2]=m;jN(378600,l);RM(n);RM(f);f=0}else f=0}else f=1;else f=0;else f=1;while(0);i=l;return f|0}function Fpa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;l=i;i=i+32|0;j=c[d+(e<<2)+12>>2]|0;k=c[j+(f<<2)+16>>2]|0;h=(c[j+8>>2]|0)+(((f|0)/32|0)<<2)|0;c[h>>2]=c[h>>2]|1<<(f&31);h=a[j>>0]|0;if(!(h<<24>>24))a[d+8>>0]=(a[d+8>>0]|0)+1<<24>>24;a[j>>0]=h+1<<24>>24;h=Upa(b,g,e)|0;g=gM(8)|0;c[g>>2]=h;c[g+4>>2]=c[k+12>>2];c[l+20>>2]=d;c[l+24>>2]=e;c[l+28>>2]=f;c[j+12>>2]=Joa(c[j+12>>2]|0,l+20|0)|0;Soa(k);c[j+(f<<2)+16>>2]=g;if((c[b+1100>>2]|0)>0){QN(l+16|0,(c[b+2776>>2]|0)+184|0,e);g=c[l+16>>2]|0;k=VM(g)|0;d=c[(c[j+(f<<2)+16>>2]|0)+4>>2]|0;c[l>>2]=f;c[l+4>>2]=k;c[l+8>>2]=e;c[l+12>>2]=d;jN(378280,l);RM(g);g=c[h>>2]|0;if((g|0)>-1)do{c[l>>2]=MN(b+184|0,g)|0;jN(383368,l);h=h+4|0;g=c[h>>2]|0}while((g|0)>-1);jN(378360,l)}i=l;return}function Gpa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;k=i;i=i+32|0;j=hqa((c[a+2776>>2]|0)+256|0,b)|0;if(!j)h=0;else h=c[j>>2]|0;if((c[a+1100>>2]|0)>0){QN(k+16|0,(c[a+2776>>2]|0)+184|0,b);g=c[k+16>>2]|0;c[k>>2]=VM(g)|0;c[k+4>>2]=b;jN(378680,k);RM(g)}if((h|0)>0){f=0;do{b=c[(Ik(j,f)|0)>>2]|0;e=(c[(c[a+1964>>2]|0)+(b<<2)+12>>2]|0)+8|0;g=0;do{if(((c[(c[e>>2]|0)+(((g|0)/32|0)<<2)>>2]&1<<(g&31)|0)==0?(l=c[(c[(c[a+1964>>2]|0)+(b<<2)+12>>2]|0)+(g<<2)+16>>2]|0,c[k+12>>2]=l,(l|0)!=0):0)?Epa(a,b,k+12|0)|0:0){if((c[a+1100>>2]|0)>0){QN(k+8|0,(c[a+2776>>2]|0)+184|0,b);l=c[k+8>>2]|0;m=VM(l)|0;c[k>>2]=g;c[k+4>>2]=m;jN(378728,k);RM(l)}Fpa(a,c[a+1964>>2]|0,b,g,d)}g=g+1|0}while((g|0)<64);f=f+1|0}while((f|0)<(h|0))}i=k;return}function Hpa(e,f,g,h,j,k,l){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+1552|0;m=c[e+1100>>2]|0;o=(m|0)>2?25:0;p=c[(c[f>>2]|0)+(g<<2)+8>>2]|0;g=c[f+(g<<2)+12>>2]|0;do if((d[p+3>>0]|0)>63){c[e+4084>>2]=(c[e+4084>>2]|0)+1;if((m|0)>0){xoa(378080,s);l=-1}else l=-1}else{q=b[p>>1]|0;r=Lra(e+2168|0,p,c[e+1972>>2]|0,c[e+1980>>2]|0,j&65535,k,s+16|0,c[e+1716>>2]|0,o)|0;n=(c[e+1984>>2]|0)+0|0;m=n+64|0;do{c[n>>2]=0;n=n+4|0}while((n|0)<(m|0));n=c[e+1984>>2]|0;if((r|0)>0){m=0;do{f=b[s+16+(m<<1)>>1]|0;c[n+(((f|0)/32|0)<<2)>>2]=c[n+(((f|0)/32|0)<<2)>>2]|1<<(f&31);m=m+1|0}while((m|0)!=(r|0))}o=Mra(e+2168|0,p,n,c[e+1976>>2]|0,j&65535,k,s+1040|0,c[e+1740>>2]|0,o)|0;o=Vpa(e,l,o,s+1040|0,p,g,c[e+1984>>2]|0)|0;if(o<<16>>16==-1){c[e+4084>>2]=(c[e+4084>>2]|0)+1;if((c[e+1100>>2]|0)<=0){l=-1;break}xoa(378144,s);l=-1;break}l=fsa(p)|0;tsa(c[e+1984>>2]|0,l,p);n=_oa(o<<16>>16,h)|0;c[g+(l<<2)+16>>2]=n;k=a[n+1>>0]|0;if(k<<24>>24){f=c[e+1984>>2]|0;g=c[n+8>>2]|0;m=0;do{c[g+(m<<2)>>2]=c[f+(m<<2)>>2];m=m+1|0}while((m|0)<(k&255|0))}if((c[e+1100>>2]|0)>0){e=c[n+12>>2]|0;c[s>>2]=l;c[s+4>>2]=e;c[s+8>>2]=r;c[s+12>>2]=1-(q&65535)+(o<<16>>16);xoa(378200,s)}}while(0);i=s;return l|0}function Ipa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,j=0.0,k=0;k=i;i=i+32|0;f=iqa(c[d>>2]|0,e)|0;j=+g[d+4>>2];do if(!(j+ +h[b+1248>>3]<+g[e+16>>2])){if((f|0)<(c[e+20>>2]|0)?j<=+g[(dqa(e+20|0,f)|0)+4>>2]:0)break;if(!(uC(b+184|0,c[d>>2]|0)|0))a[e+4>>0]=1;if((f|0)<(c[e+20>>2]|0)){j=+g[d+4>>2];g[(dqa(e+20|0,f)|0)+4>>2]=j}else{c[k+0>>2]=c[d+0>>2];c[k+4>>2]=c[d+4>>2];c[k+8>>2]=c[d+8>>2];CS(k+12|0,d+12|0);jqa(e+20|0,k);FS(k+12|0)}if(+g[d+4>>2]>+g[e+16>>2]?(uC(b+184|0,c[d>>2]|0)|0)==0:0){c[e+12>>2]=f;g[e+16>>2]=+g[d+4>>2];c[e+8>>2]=c[d>>2]}}while(0);i=k;return}function Jpa(a,d,e,f,g,h,j){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;o=i;i=i+64|0;if(c[d>>2]|0){n=c[a+192>>2]|0;n=XEa((n|0)>-1?n:-1)|0;c[o+8>>2]=0;c[o+12>>2]=0;c[o+16>>2]=0;Xea(o+20|0);c[j>>2]=Kpa(a,e,g,n)|0;if((c[a+1052>>2]|0)<=1?(c[a+608>>2]|0)<=1:0)m=0;else{jN(377864,o);m=1}Eba(o+48|0,c[f>>2]|0);l=b[o+54>>1]|0;Eba(o+40|0,c[f>>2]|0);k=b[o+42>>1]|0;e=c[h>>2]|0;if((e|0)>-1){f=h;do{c[o+8>>2]=e;r=c[g+(e<<2)+8>>2]|0;q=c[a+1972>>2]|0;p=c[a+1976>>2]|0;h=c[d>>2]|0;Gra(a+2168|0,r,q,p,h&65535,Hk(h,c[d+8>>2]|0)|0,o+8|0,0);Lpa(a,0,m,e,k,l,0.0,c[j>>2]|0,c[a+1948>>2]|0,n,o+8|0,j);f=f+4|0;e=c[f>>2]|0}while((e|0)>-1)}ZEa(n);FS(o+20|0)}i=o;return}function Kpa(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var h=0;h=Ata(384064)|0;g[h+4>>2]=(+(b[d+6>>1]|0)+-64.0)*.00390625;g[h+8>>2]=+(c[d>>2]|0)*.00390625/10.0;g[h+12>>2]=+(b[d+8>>1]|0)*.00390625;g[h+16>>2]=+(b[d+10>>1]|0)*.00390625;Spa(a,h,e,f,0);return ok(+(c[d>>2]|0)/12.8)|0}function Lpa(d,f,h,j,k,l,m,n,o,p,q,r){d=d|0;f=f|0;h=h|0;j=j|0;k=k|0;l=l|0;m=+m;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;var s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0.0;A=i;i=i+64|0;if(!f){a[q+8>>0]=0;if((c[q+12>>2]|0)>0){s=0;do{x=Npa(d,j,c[(Dx(q+12|0,s)|0)>>2]|0)|0;c[(Dx(q+12|0,s)|0)>>2]=x;s=s+1|0}while((s|0)<(c[q+12>>2]|0))}if(!(c[d+2736>>2]|0))z=28;else{kqa(A+32|0);if((c[q+12>>2]|0)>0){x=0;while(1){v=c[(Dx(q+12|0,x)|0)>>2]|0;v=c[(lqa((c[d+2736>>2]|0)+4|0,v)|0)>>2]|0;if((c[v+8>>2]|0)>0){w=0;do{t=c[(mqa(v+8|0,w)|0)+20>>2]|0;a:do if(a[(c[d+184>>2]|0)+(t*112|0)+38>>0]|0){u=c[A+32>>2]|0;b:do if((u|0)>0){s=0;while(1){f=s+1|0;if((c[(dqa(A+32|0,s)|0)>>2]|0)==(t|0))break b;if((f|0)<(u|0))s=f;else{s=f;break}}}else s=0;while(0);if((s|0)==(u|0)?(c[A+0>>2]=c[q+0>>2],c[A+4>>2]=c[q+4>>2],c[A+8>>2]=c[q+8>>2],CS(A+12|0,q+12|0),jqa(A+32|0,A),FS(A+12|0),c[(dqa(A+32|0,u)|0)>>2]=t,y=(dqa(A+32|0,u)|0)+12|0,(c[y>>2]|0)>0):0){c[y>>2]=0;f=0}else f=0;while(1){if((f|0)>=(c[(mqa(v+8|0,w)|0)>>2]|0))break a;t=(dqa(A+32|0,s)|0)+12|0;u=c[(Ik(mqa(v+8|0,w)|0,f)|0)>>2]|0;DS(t,u,b[(Dx(q+12|0,x)|0)+4>>1]|0);f=f+1|0}}while(0);w=w+1|0}while((w|0)<(c[v+8>>2]|0))}x=x+1|0;if((x|0)>=(c[q+12>>2]|0)){s=A+32|0;break}}}else s=A+32|0;s=c[s>>2]|0;if((s|0)>0){f=0;do{y=c[(dqa(A+32|0,f)|0)>>2]|0;B=+Opa(d,h,y,m,+g[q+4>>2],e[q+10>>1]|0,k,l,n,o,p);g[(dqa(A+32|0,f)|0)+4>>2]=B;Ipa(d,dqa(A+32|0,f)|0,r);f=f+1|0}while((f|0)<(s|0))}nqa(A+32|0)}}else{a[q+8>>0]=1;if((c[q+12>>2]|0)>0){s=0;do{z=c[f+(j<<2)>>2]|0;z=Yoa(z,c[(Dx(q+12|0,s)|0)>>2]&255)|0;c[(Dx(q+12|0,s)|0)>>2]=z;s=s+1|0}while((s|0)<(c[q+12>>2]|0));z=28}else z=28}if((z|0)==28?(a[(c[d+184>>2]|0)+(j*112|0)+38>>0]|0)!=0:0){g[q+4>>2]=+Opa(d,h,j,m,+g[q+4>>2],e[q+10>>1]|0,k,l,n,o,p);Ipa(d,q,r)}i=A;return}function Mpa(a,b,d,e,f,h,j,k,l,m,n,o){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0.0;t=i;i=i+32|0;c[t+0>>2]=0;c[t+4>>2]=0;c[t+8>>2]=0;Xea(t+12|0);if((c[n>>2]|0)>0){s=0;do{r=c[(oqa(n,s)|0)+4>>2]|0;if(!h){p=a+1972|0;q=a+1976|0}else{q=c[h+(r<<2)>>2]|0;p=q+4|0;q=q+8|0}p=c[p>>2]|0;q=c[q>>2]|0;c[t>>2]=r;Gra(a+2168|0,c[b+(r<<2)+8>>2]|0,p,q,d,e,t,j);if((c[a+1052>>2]|0)>1)p=1;else p=(c[a+608>>2]|0)>1;u=+g[(oqa(n,s)|0)>>2];Lpa(a,h,p,r,l<<16>>16,m<<16>>16,u,c[o>>2]|0,k,f,t,o);s=s+1|0}while((s|0)<(c[n>>2]|0))}FS(t+12|0);i=t;return}function Npa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;b=c[(c[(c[a+1960>>2]|0)+(b<<2)+8>>2]|0)+168>>2]|0;if((b|0)<0)b=-2;else{b=pqa(a+2020|0,b)|0;if(!((d|0)>-1?(c[b>>2]|0)>(d|0):0)){c[e>>2]=376760;c[e+4>>2]=2297;$L(376736,378456,2,1702e3,e)}b=c[(c[b+4>>2]|0)+(d<<2)>>2]|0}i=e;return b|0}function Opa(b,e,f,g,j,l,m,n,o,p,q){b=b|0;e=e|0;f=f|0;g=+g;j=+j;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;var r=0.0,s=0.0,t=0,u=0.0,v=0.0,w=0;w=i;i=i+80|0;v=+Qra(1.0-j,o,d[q+f>>0]|0,p);u=+(l|0)*+h[b+1600>>3];if(((!(Yz(b+184|0,f)|0)?!(az(b+184|0,f)|0):0)?(a[q+f>>0]|0)!=0:0)?+h[b+1480>>3]>0.0:0){FB(b+184|0,f,w+68|0,w+64|0,w+60|0,w+56|0);l=c[w+60>>2]|0;p=c[w+56>>2]|0;o=c[w+68>>2]|0;t=c[w+64>>2]|0;if(e){c[w>>2]=n;c[w+4>>2]=l;c[w+8>>2]=p;c[w+12>>2]=m;c[w+16>>2]=o;c[w+20>>2]=t;jN(377880,w)}if((l|0)>(n|0)|(p|0)<(n|0)|(o|0)>(m|0)|(t|0)<(m|0))s=+h[b+1480>>3];else s=0.0}else s=0.0;r=1.0-(v+u+s);r=r<0.0?0.0:r;if(e){n=MN(b+184|0,f)|0;e=d[q+f>>0]|0;c[w>>2]=n;h[k>>3]=r*100.0;c[w+4>>2]=c[k>>2];c[w+8>>2]=c[k+4>>2];h[k>>3]=g*100.0;c[w+12>>2]=c[k>>2];c[w+16>>2]=c[k+4>>2];h[k>>3]=(1.0-j)*100.0;c[w+20>>2]=c[k>>2];c[w+24>>2]=c[k+4>>2];h[k>>3]=(v-(1.0-j))*100.0;c[w+28>>2]=c[k>>2];c[w+32>>2]=c[k+4>>2];c[w+36>>2]=e;h[k>>3]=u*100.0;c[w+40>>2]=c[k>>2];c[w+44>>2]=c[k+4>>2];h[k>>3]=s*100.0;c[w+48>>2]=c[k>>2];c[w+52>>2]=c[k+4>>2];jN(377928,w)}i=w;return +r}function Ppa(a,e,f,g,h,j){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0;m=i;i=i+16|0;if(c[f>>2]|0){k=c[a+192>>2]|0;k=XEa((k|0)>-1?k:-1)|0;mra(c[a+192>>2]|0,k);c[j>>2]=ok(+(c[g>>2]|0)/12.8)|0;o=c[h>>2]|0;n=c[f>>2]|0;g=Hk(n,c[f+8>>2]|0)|0;Fra(a,o,n,-1,g,k,c[a+4096>>2]|0,j+40|0);if(!((c[a+1052>>2]|0)<=1?(c[a+608>>2]|0)<=1:0))jN(377992,m);p=c[h>>2]|0;g=c[f>>2]|0;n=Hk(g,c[f+8>>2]|0)|0;o=c[a+1076>>2]|0;Eba(m+8|0,c[e>>2]|0);Mpa(a,p,g&65535,n,k,h+12|0,o,0,b[m+10>>1]|0,b[m+14>>1]|0,j+40|0,j);ZEa(k);k=c[j+8>>2]|0;if((k|0)!=-1?(l=c[j+12>>2]|0,(l|0)>=0):0){p=d[(dqa(j+20|0,l)|0)+9>>0]|0;k=c[c[(c[h+(k<<2)+12>>2]|0)+(p<<2)+16>>2]>>2]|0}else k=0}else k=0;i=m;return k|0}function Qpa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+32|0;c[e>>2]=ok(+(c[d+32>>2]|0)/12.8)|0;kqa(f);g=c[a+4080>>2]|0;Sc[c[(c[g>>2]|0)+8>>2]&7](g,d,c[b+4>>2]|0,0,-1,f)|0;if((c[f>>2]|0)>0){b=0;do{Ipa(a,dqa(f,b)|0,e);b=b+1|0}while((b|0)<(c[f>>2]|0))}nqa(f);i=f;return}function Rpa(a,d,e,f,h){a=a|0;d=d|0;e=e|0;f=f|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+80|0;nqa(h);p=WEa(60)|0;j=p+0|0;k=j+60|0;do{c[j>>2]=0;j=j+4|0}while((j|0)<(k|0));Ypa(p);Zpa(p);m=c[f+24>>2]|0;k=c[f+60>>2]&65535;j=c[f+64>>2]&65535;$ia(q+64|0,k,k,j,j);j=Aua(f)|0;k=c[a+192>>2]|0;o=XEa((k|0)>-1?k:-1)|0;l=c[c[a+1960>>2]>>2]|0;k=(k|0)<(l|0)?l:k;k=XEa((k|0)>-1?k:-1)|0;c[p>>2]=~~(+qta(+g[j+8>>2])*20.0+.5);Spa(a,j,c[a+1960>>2]|0,o,k);j=c[a+1960>>2]|0;l=c[f+36>>2]|0;if(!(c[a+2736>>2]|0))n=c[a+4092>>2]|0;else n=qqa(a+4100|0)|0;Fra(a,j,m,e,l,k,n,p+40|0);ZEa(k);if((e|0)>-1?(c[(oqa(p+40|0,0)|0)+4>>2]=e,(c[p+40>>2]|0)>1):0)c[p+40>>2]=1;if(d){if((c[p+40>>2]|0)>0){j=0;do{a=c[(oqa(p+40|0,j)|0)+4>>2]|0;rqa(q+32|0,a,1.0-+g[(oqa(p+40|0,j)|0)>>2]);jqa(h,q+32|0);FS(q+44|0);j=j+1|0}while((j|0)<(c[p+40>>2]|0))}}else{Mpa(a,c[a+1960>>2]|0,m&65535,c[f+36>>2]|0,o,0,c[a+1076>>2]|0,c[a+1948>>2]|0,b[q+66>>1]|0,b[q+70>>1]|0,p+40|0,p);if((c[p+20>>2]|0)>0){j=0;do{a=dqa(p+20|0,j)|0;c[q+0>>2]=c[a+0>>2];c[q+4>>2]=c[a+4>>2];c[q+8>>2]=c[a+8>>2];CS(q+12|0,a+12|0);jqa(h,q);FS(q+12|0);j=j+1|0}while((j|0)<(c[p+20>>2]|0))}$pa(c[h>>2]|0,c[h+8>>2]|0)}ZEa(o);bqa(p);YEa(p);i=q;return}function Spa(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;nra(b,e,g);do if(h){if(!(c[b+2736>>2]|0)){nra(b,e,h);break}YGa(h|0,-1,c[f>>2]|0)|0;if((c[f>>2]|0)>0){n=0;do{i=pqa(b+2020|0,c[(c[f+(n<<2)+8>>2]|0)+168>>2]|0)|0;if((c[i>>2]|0)>0){j=h+n|0;m=0;do{k=c[(lqa((c[b+2736>>2]|0)+4|0,c[(c[i+4>>2]|0)+(m<<2)>>2]|0)|0)>>2]|0;if((c[k+8>>2]|0)>0){l=0;do{o=a[g+(c[(mqa(k+8|0,l)|0)+20>>2]|0)>>0]|0;if((o&255)<(d[j>>0]|0))a[j>>0]=a[g+(c[(mqa(k+8|0,l)|0)+20>>2]|0)>>0]|0;l=l+1|0}while((l|0)<(c[k+8>>2]|0))}m=m+1|0}while((m|0)<(c[i>>2]|0))}n=n+1|0}while((n|0)<(c[f>>2]|0))}}while(0);yta(e);return}function Tpa(a,b){a=a|0;b=b|0;var d=0,e=0.0;d=i;i=i+32|0;e=+(c[b>>2]|0)/+h[a+1328>>3];rqa(d,0,1.0-e*e/(e*e+1.0));Ipa(a,d,b);FS(d+12|0);i=d;return}function Upa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+48|0;j=WEa(60)|0;g=j+0|0;f=g+60|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(f|0));Ypa(j);Zpa(j);Fk(k);g=sra(d,(a[b+1034>>0]|0)!=0,k+20|0,k)|0;if(!g){bqa(j);YEa(j);f=0}else{Qpa(b,d,g,j);yua(g);YEa(g);lpa(b,j);$pa(c[j+20>>2]|0,c[j+28>>2]|0);g=c[j+20>>2]|0;f=XEa((g+1|0)>>>0>1073741823?-1:g+1<<2)|0;do if((g|0)>1){g=0;h=7}else{if((g|0)==1?(c[(dqa(j+20|0,0)|0)>>2]|0)!=(e|0):0)if((c[j+20>>2]|0)>0){g=0;h=7;break}else{g=0;h=8;break}c[f>>2]=-1}while(0);if((h|0)==7)while(1){c[f+(g<<2)>>2]=c[(dqa(j+20|0,g)|0)>>2];g=g+1|0;if((g|0)<(c[j+20>>2]|0))h=7;else{h=8;break}}if((h|0)==8)c[f+(g<<2)>>2]=-1;bqa(j);YEa(j)}Gk(k);i=k;return f|0}function Vpa(a,f,i,j,k,l,m){a=a|0;f=f|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0.0,q=0.0,r=0.0,s=0,t=0.0,u=0.0,v=0.0,w=0;a:do if((i|0)>0){n=j;while(1){o=c[f+((d[n>>0]|0)<<2)+4>>2]|0;t=+g[o+12>>2];u=+g[o+4>>2];v=+g[o+8>>2];o=n+1|0;if(o>>>0<(j+i|0)>>>0){r=+h[a+1440>>3];s=n;p=.05000000074505806;while(1){n=c[f+((d[o>>0]|0)<<2)+4>>2]|0;q=+Q(+(v-+g[n+8>>2]));if(q>.5)q=1.0-q;if(q>r){n=o;o=s;break}if(+Q(+(t-+g[n+12>>2]))>p){n=o;o=s;break}if(+Q(+(u-+g[n+4>>2]))>p){n=o;o=s;break}p=p+.05000000074505806;n=s+2|0;if(n>>>0<(j+i|0)>>>0){s=o;o=n}else break}o=c[f+((d[o>>0]|0)<<2)+4>>2]|0;q=+g[o+12>>2];r=+g[o+4>>2]}else{q=t;r=u;n=o;p=.05000000074505806}o=gsa(k)|0;if((o<<16>>16|0)==-1){n=-1;break a}s=$oa()|0;g[s+28>>2]=p;g[s+24>>2]=v;g[s+16>>2]=(t+q)*.5;g[s+20>>2]=(u+r)*.5+-.25;Pta(s+4|0);b[s>>1]=o;c[m+(((o<<16>>16|0)/32|0)<<2)>>2]=c[m+(((o<<16>>16|0)/32|0)<<2)>>2]|1<<(o&31);usa(a,s+4|0,o<<16>>16,k);nsa(s+4|0,o<<16>>16,k,(c[a+1100>>2]|0)>1);c[l+12>>2]=Moa(c[l+12>>2]|0,s)|0;if(n>>>0>=(j+i|0)>>>0){w=14;break}}}else w=14;while(0);if((w|0)==14)n=(e[k>>1]|0)+65535&65535;return n|0}function Wpa(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;e=c[d>>2]|0;f=c[e+(c[d+4>>2]<<2)+12>>2]|0;h=c[f+(c[d+8>>2]<<2)+16>>2]|0;g=b[a>>1]|0;if((g&65535|0)<=(b[h+2>>1]|0)?(c[(c[h+8>>2]|0)+(((g&65535)>>>5&65535)<<2)>>2]&1<<(g&31)|0)!=0:0){h=(c[f+4>>2]|0)+(((g&65535)>>>5&65535)<<2)|0;c[h>>2]=c[h>>2]|1<<(g&31);hsa(a+4|0,c[d+4>>2]|0,c[e>>2]|0);Toa(a);e=1}else e=0;return e|0}function Xpa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;NM(a);if((c[b+1960>>2]|0)==(d|0)?(c[b+2736>>2]|0)!=0:0){d=Npa(b,e,0)|0;gua(f+4|0,c[b+2736>>2]|0,d);aN(a,f+4|0);RM(c[f+4>>2]|0)}else{QN(f,b+184|0,e);aN(a,f);RM(c[f>>2]|0)}i=f;return}function Ypa(a){a=a|0;kqa(a+20|0);sqa(a+40|0);return}function Zpa(b){b=b|0;c[b>>2]=2147483647;a[b+4>>0]=0;aqa(b);return}function _pa(a,b){a=a|0;b=b|0;var d=0.0,e=0.0;d=+g[a+4>>2];e=+g[b+4>>2];if(!(d>e))if(d>2]|0)-(c[b>>2]|0)|0;else a=-1;return a|0}function $pa(a,b){a=a|0;b=b|0;DEa(b,a,32,53);return}function aqa(a){a=a|0;var b=0,d=0.0;c[a+8>>2]=-1;c[a+12>>2]=-1;g[a+16>>2]=0.0;if((c[a+20>>2]|0)>0){b=0;do{d=+g[(dqa(a+20|0,b)|0)+4>>2];if(d>+g[a+16>>2]){g[a+16>>2]=+g[(dqa(a+20|0,b)|0)+4>>2];c[a+8>>2]=c[(dqa(a+20|0,b)|0)>>2];c[a+12>>2]=b}b=b+1|0}while((b|0)<(c[a+20>>2]|0))}return}function bqa(a){a=a|0;tqa(a+40|0);nqa(a+20|0);return}function cqa(a,b){a=a|0;b=b|0;var d=0.0;a=iqa(a,b)|0;if((a|0)<(c[b+20>>2]|0))d=+g[(dqa(b+20|0,a)|0)+4>>2];else d=0.0;return +d}function dqa(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<5)|0;Ja(1701640,1701680,663,1701712);return 0}function eqa(a){a=a|0;var b=0,f=0,j=0,l=0,m=0,n=0.0;b=i;i=i+32|0;n=+g[a+4>>2];m=d[a+8>>0]|0;l=d[a+9>>0]|0;j=e[a+10>>1]|0;f=c[a+12>>2]|0;c[b>>2]=c[a>>2];h[k>>3]=n;c[b+4>>2]=c[k>>2];c[b+8>>2]=c[k+4>>2];c[b+12>>2]=m;c[b+16>>2]=l;c[b+20>>2]=j;c[b+24>>2]=f;jN(378768,b);i=b;return}function fqa(a){a=a|0;uqa(a);vqa(a);return}function gqa(a,b){a=a|0;b=b|0;if(!(c[a+60>>2]|0))a=0;else a=c[(JK(a+60|0,b)|0)>>2]|0;return a|0}function hqa(a,b){a=a|0;b=b|0;if(!(c[a+80>>2]|0))a=0;else a=c[(JK(a+80|0,b)|0)>>2]|0;return a|0}function iqa(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[b+20>>2]|0;a:do if((d|0)>0){e=0;do{if((c[(dqa(b+20|0,e)|0)>>2]|0)==(a|0)){d=e;break a}e=e+1|0;d=c[b+20>>2]|0}while((e|0)<(d|0))}while(0);return d|0}function jqa(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){wqa(a);d=c[a>>2]|0}c[a>>2]=d+1;a=c[a+8>>2]|0;e=a+(d<<5)|0;c[e+0>>2]=c[b+0>>2];c[e+4>>2]=c[b+4>>2];c[e+8>>2]=c[b+8>>2];JS(a+(d<<5)+12|0,b+12|0);return}function kqa(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;xqa(a,4);return}function lqa(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function mqa(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b*24|0)|0;Ja(1701640,1701680,663,1701712);return 0}function nqa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;e=i;i=i+32|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;g=c[a+8>>2]|0;h=g+(d<<5)|0;c[e+0>>2]=c[h+0>>2];c[e+4>>2]=c[h+4>>2];c[e+8>>2]=c[h+8>>2];CS(e+12|0,g+(d<<5)+12|0);Rc[f&63](b,e);FS(e+12|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b){d=c[b+-4>>2]|0;if(d){d=b+(d<<5)|0;do{FS(d+-20|0);d=d+-32|0}while((d|0)!=(b|0))}ZEa(b+-4|0)}c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function oqa(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<3)|0;Ja(1701640,1701680,663,1701712);return 0}function pqa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if(!((b|0)>-1?(c[a>>2]|0)>(b|0):0)){c[d>>2]=1701680;c[d+4>>2]=657;$L(376736,1701640,2,1702e3,d)}i=d;return (c[a+8>>2]|0)+(b<<3)|0}function qqa(a){a=a|0;if((c[a>>2]|0)>0)return c[a+8>>2]|0;else Ja(1701640,1701680,663,1701712);return 0}function rqa(d,e,f){d=d|0;e=e|0;f=+f;c[d>>2]=e;g[d+4>>2]=f;a[d+8>>0]=0;a[d+9>>0]=0;b[d+10>>1]=0;Xea(d+12|0);return}function sqa(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;yqa(a,4);return}function tqa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;e=i;i=i+16|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;h=(c[a+8>>2]|0)+(d<<3)|0;g=c[h+4>>2]|0;c[e>>2]=c[h>>2];c[e+4>>2]=g;c[e+8>>2]=c[e+0>>2];c[e+12>>2]=c[e+4>>2];Rc[f&63](b,e+8|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function uqa(a){a=a|0;zqa(a);vqa(a);return}function vqa(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function wqa(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)xqa(a,4);else xqa(a,b<<1);return}function xqa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){f=XEa(b>>>0>134217727|b<<5>>>0>4294967291?-1:(b<<5)+4|0)|0;c[f>>2]=b;if(b){d=f+4|0;do{c[d+0>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;Xea(d+12|0);d=d+32|0}while((d|0)!=(f+4+(b<<5)|0))}if((c[a>>2]|0)>0){d=0;do{g=f+4+(d<<5)|0;e=c[a+8>>2]|0;h=e+(d<<5)|0;c[g+0>>2]=c[h+0>>2];c[g+4>>2]=c[h+4>>2];c[g+8>>2]=c[h+8>>2];JS(f+4+(d<<5)+12|0,e+(d<<5)+12|0);d=d+1|0}while((d|0)<(c[a>>2]|0))}e=c[a+8>>2]|0;if(e){d=c[e+-4>>2]|0;if(d){d=e+(d<<5)|0;do{FS(d+-20|0);d=d+-32|0}while((d|0)!=(e|0))}ZEa(e+-4|0)}c[a+8>>2]=f+4;c[a+4>>2]=b}return}function yqa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){h=XEa(b>>>0>536870911?-1:b<<3)|0;if(b){d=h;do{g[d>>2]=0.0;c[d+4>>2]=0;d=d+8|0}while((d|0)!=(h+(b<<3)|0))}e=c[a>>2]|0;if((e|0)>0){f=0;do{d=c[a+8>>2]|0;k=d+(f<<3)|0;j=c[k+4>>2]|0;i=h+(f<<3)|0;c[i>>2]=c[k>>2];c[i+4>>2]=j;f=f+1|0}while((f|0)!=(e|0))}else d=c[a+8>>2]|0;if(d)ZEa(d);c[a+8>>2]=h;c[a+4>>2]=b}return}function zqa(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){Aqa(d+8|0);YEa(d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0))}return}function Aqa(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+32|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;Bqa(e,(c[a+8>>2]|0)+(d*24|0)|0);Rc[f&63](b,e);Jk(e);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b){d=c[b+-4>>2]|0;if(d){d=b+(d*24|0)|0;do{d=d+-24|0;Jk(d)}while((d|0)!=(b|0))}ZEa(b+-4|0)}c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function Bqa(a,b){a=a|0;b=b|0;kca(a,b);c[a+20>>2]=c[b+20>>2];return}function Cqa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;aN(b,378988|0);PM(f,379e3);e=(ZM(b,f)|0)<<24>>24==0;RM(c[f>>2]|0);if(!e){d=KEa(VM(c[a>>2]|0)|0,47)|0;if(!d)d=VM(c[a>>2]|0)|0;e=FEa(d,46)|0;d=KEa(VM(c[a>>2]|0)|0,46)|0;if((e|0)!=(d|0)&(e|0)!=0&(d|0)!=0){fN(b,e+1|0);TM(b,d-(e+1)|0)}}i=f;return}function Dqa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;j=i;i=i+16|0;h=jra(a+2700|0)|0;c[h+4>>2]=Xsa(d,e)|0;c[h+8>>2]=rta(f)|0;c[h+12>>2]=Mta(d,f)|0;c[h+16>>2]=Nta(d,f)|0;if(lra(h)|0){dN(a+4088|0,1714256);bN(a+4088|0,b);dN(a+4088|0,1701816);dN(a+4088|0,g);dN(a+4088|0,1714256);kra(a+2700|0,h,a+4088|0)}else jN(379088,j);ira(h);i=j;return}function Eqa(){c[94710]=1701984;c[94712]=389976;c[94714]=390024;c[94716]=390056;c[94718]=390112;c[94720]=390152;c[94722]=390184;c[94724]=390240;c[94726]=390280;c[94728]=390328;c[94730]=390376;c[94732]=390400;c[94734]=390432;c[94736]=390504;c[94738]=390552;c[94740]=390592;c[94742]=390640;sJ(378976,379e3,379016,379040,0,kM()|0);return}function Fqa(b){b=b|0;var d=0;Nca(b);c[b>>2]=379128;Wk(b+524|0,1,379136,379160,0,b+364|0);Wk(b+540|0,0,379192,379216,0,b+364|0);rJ(b+556|0,0,379256,379280,0,b+364|0);Wk(b+580|0,1,379304,379336,0,b+364|0);rJ(b+596|0,0,379368,379392,0,b+364|0);rJ(b+620|0,1,379416,379440,0,b+364|0);tJ(b+648|0,.2,379472,379504,b+364|0);tJ(b+688|0,0.0,379544,379576,b+364|0);tJ(b+728|0,.325,379608,379640,b+364|0);tJ(b+768|0,0.0,379672,379704,b+364|0);tJ(b+808|0,.325,379736,379768,b+364|0);tJ(b+848|0,1.5,379800,379832,b+364|0);tJ(b+888|0,5.5,379872,379904,b+364|0);Wk(b+928|0,0,379952,379976,0,b+364|0);Wk(b+944|0,0,380008,380032,0,b+364|0);Wk(b+960|0,1,380064,379336,0,b+364|0);Wk(b+976|0,0,380104,380144,0,b+364|0);Wk(b+992|0,0,380184,380216,0,b+364|0);Wk(b+1008|0,0,380256,380296,0,b+364|0);Wk(b+1024|0,0,380320,380344,0,b+364|0);rJ(b+1040|0,0,380384,380408,0,b+364|0);rJ(b+1064|0,0,380432,380456,0,b+364|0);rJ(b+1088|0,0,380480,380512,0,b+364|0);tJ(b+1112|0,.125,380536,380560,b+364|0);tJ(b+1152|0,0.0,380584,380624,b+364|0);tJ(b+1192|0,.02,380648,380680,b+364|0);tJ(b+1232|0,.15,380704,380728,b+364|0);tJ(b+1272|0,.1,380752,380776,b+364|0);tJ(b+1312|0,12.0,380808,380832,b+364|0);rJ(b+1352|0,1,380856,380888,0,b+364|0);rJ(b+1376|0,3,380920,380960,0,b+364|0);rJ(b+1400|0,5,380992,381040,0,b+364|0);tJ(b+1424|0,.015,381104,381144,b+364|0);tJ(b+1464|0,0.0,381192,381224,b+364|0);tJ(b+1504|0,1.5,381312,381328,b+364|0);tJ(b+1544|0,20.0,381352,381368,b+364|0);tJ(b+1584|0,.00390625,381400,381432,b+364|0);tJ(b+1624|0,2.5,381472,381504,b+364|0);tJ(b+1664|0,-1.0,381568,381608,b+364|0);rJ(b+1704|0,230,381672,381704,0,b+364|0);rJ(b+1728|0,230,381752,381792,0,b+364|0);Wk(b+1752|0,1,381848,381880,0,b+364|0);tJ(b+1768|0,-3.0,381952,382016,b+364|0);Wk(b+1808|0,0,382104,382144,0,b+364|0);Wk(b+1824|0,0,382208,382240,0,b+364|0);sJ(b+1840|0,1714496,382344,382376,0,b+364|0);rJ(b+1864|0,229,382408,382440,0,b+364|0);rJ(b+1888|0,15,382472,382512,0,b+364|0);rJ(b+1912|0,7,382552,382584,0,b+364|0);rJ(b+1936|0,10,382624,382664,0,b+364|0);a[b+1988>>0]=1;SI(b+1996|0);c[b+2016>>2]=0;Kqa(b+2020|0);c[b+2040>>2]=0;rJ(b+2044|0,0,382704,382728,0,b+364|0);Wk(b+2068|0,0,382768,382800,0,b+364|0);tJ(b+2088|0,.3,382840,382864,b+364|0);tJ(b+2128|0,10.0,382888,382912,b+364|0);c[b+2692>>2]=0;c[b+2736>>2]=0;uma(b+2744|0,b);c[b+4080>>2]=0;NM(b+4088|0);Lqa(b+4100|0);d=TI()|0;c[b+2012>>2]=d;c[b+2016>>2]=d;c[b+2008>>2]=rea()|0;d=Mqa()|0;c[b+2036>>2]=d;c[b+2040>>2]=d;c[b+2032>>2]=Nqa()|0;c[b+1992>>2]=0;c[b+4084>>2]=0;c[b+4120>>2]=0;c[b+4124>>2]=0;c[b+4128>>2]=0;c[b+1960>>2]=0;c[b+1964>>2]=0;c[b+1968>>2]=0;c[b+1972>>2]=0;c[b+1976>>2]=0;c[b+1980>>2]=0;c[b+1984>>2]=0;c[b+4092>>2]=XEa(65534)|0;c[b+4096>>2]=XEa(65534)|0;return}function Gqa(a){a=a|0;var b=0;c[a>>2]=379128;tpa(a);b=c[a+4120>>2]|0;if(b){nc(b|0);YEa(b)}b=c[a+4124>>2]|0;if(b){nc(b|0);YEa(b)}b=c[a+4128>>2]|0;if(b){nc(b|0);YEa(b)}b=c[a+4092>>2]|0;if(b)ZEa(b);b=c[a+4096>>2]|0;if(b)ZEa(b);Oqa(a+4100|0);RM(c[a+4088>>2]|0);wma(a+2744|0);wJ(a+2128|0);wJ(a+2088|0);Xk(a+2068|0);xJ(a+2044|0);Pqa(a+2020|0);VI(a+1996|0);xJ(a+1936|0);xJ(a+1912|0);xJ(a+1888|0);xJ(a+1864|0);yJ(a+1840|0);Xk(a+1824|0);Xk(a+1808|0);wJ(a+1768|0);Xk(a+1752|0);xJ(a+1728|0);xJ(a+1704|0);wJ(a+1664|0);wJ(a+1624|0);wJ(a+1584|0);wJ(a+1544|0);wJ(a+1504|0);wJ(a+1464|0);wJ(a+1424|0);xJ(a+1400|0);xJ(a+1376|0);xJ(a+1352|0);wJ(a+1312|0);wJ(a+1272|0);wJ(a+1232|0);wJ(a+1192|0);wJ(a+1152|0);wJ(a+1112|0);xJ(a+1088|0);xJ(a+1064|0);xJ(a+1040|0);Xk(a+1024|0);Xk(a+1008|0);Xk(a+992|0);Xk(a+976|0);Xk(a+960|0);Xk(a+944|0);Xk(a+928|0);wJ(a+888|0);wJ(a+848|0);wJ(a+808|0);wJ(a+768|0);wJ(a+728|0);wJ(a+688|0);wJ(a+648|0);xJ(a+620|0);xJ(a+596|0);Xk(a+580|0);xJ(a+556|0);Xk(a+540|0);Xk(a+524|0);Oca(a);return}function Hqa(a){a=a|0;Gqa(a);YEa(a);return}function Iqa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,j=0;j=i;i=i+32|0;pk(j,d);f=-+h[a+3584>>3];e=+(b|0)*+h[a+1520>>3];if((b|0)>0&(c[d>>2]|0)!=0){SL(j);e=+g[(tk(j)|0)+32>>2];e=e+ +h[a+2144>>3];f=+h[a+3584>>3]*-e/(+(b|0)*+h[a+1520>>3])}a=WEa(72)|0;pia(a,0,e,f,-1,0.0,3402823466385288598117041.0e14,0.0,2);qv(j,a);i=j;return}function Jqa(a,b){a=+a;b=b|0;var c=0;c=i;i=i+16|0;Eba(c,b);if(+((kl(c)|0)<<16>>16)>16)>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;Wqa(a,4);return}function Lqa(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;Xqa(a,4);return}function Mqa(){var a=0;a=WEa(8)|0;c[a>>2]=383160;c[a+4>>2]=54;return a|0}function Nqa(){var a=0;a=WEa(8)|0;c[a>>2]=383008;c[a+4>>2]=250;return a|0}function Oqa(a){a=a|0;var d=0,e=0;if((c[a+4>>2]|0)>0){d=c[a+12>>2]|0;a:do if((d|0)!=0?(c[a>>2]|0)>0:0){e=0;while(1){Rc[c[(c[d>>2]|0)+8>>2]&63](d,b[(c[a+8>>2]|0)+(e<<1)>>1]|0);e=e+1|0;if((e|0)>=(c[a>>2]|0))break a;d=c[a+12>>2]|0}}while(0);d=c[a+8>>2]|0;if(d)ZEa(d);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}d=c[a+12>>2]|0;if(d){Qc[c[(c[d>>2]|0)+4>>2]&511](d);c[a+12>>2]=0}d=c[a+16>>2]|0;if(d){Qc[c[(c[d>>2]|0)+4>>2]&511](d);c[a+16>>2]=0}return}function Pqa(a){a=a|0;Yqa(a);Yqa(a);return}function Qqa(a){a=a|0;return}function Rqa(a){a=a|0;YEa(a);return}function Sqa(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+16|0;a=c[a+4>>2]|0;e=c[b+4>>2]|0;c[d>>2]=c[b>>2];c[d+4>>2]=e;c[d+8>>2]=c[d+0>>2];c[d+12>>2]=c[d+4>>2];Qc[a&511](d+8|0);i=d;return}function Tqa(a){a=a|0;return}function Uqa(a){a=a|0;YEa(a);return}function Vqa(a,b,d){a=a|0;b=b|0;d=d|0;return bd[c[a+4>>2]&63](b,d)|0}function Wqa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){e=XEa(b>>>0>536870911?-1:b<<3)|0;f=c[a>>2]|0;d=c[a+8>>2]|0;if((f|0)>0){g=0;do{j=d+(g<<3)|0;i=c[j+4>>2]|0;h=e+(g<<3)|0;c[h>>2]=c[j>>2];c[h+4>>2]=i;g=g+1|0}while((g|0)!=(f|0))}if(d)ZEa(d);c[a+8>>2]=e;c[a+4>>2]=b}return}function Xqa(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;if(!((d|0)<1?1:(c[a+4>>2]|0)>=(d|0))){e=XEa(d>>>0>2147483647?-1:d<<1)|0;f=c[a>>2]|0;g=c[a+8>>2]|0;if((f|0)>0){h=0;do{b[e+(h<<1)>>1]=b[g+(h<<1)>>1]|0;h=h+1|0}while((h|0)!=(f|0))}if(g)ZEa(g);c[a+8>>2]=e;c[a+4>>2]=d}return}function Yqa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;e=i;i=i+16|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;h=(c[a+8>>2]|0)+(d<<3)|0;g=c[h+4>>2]|0;c[e>>2]=c[h>>2];c[e+4>>2]=g;c[e+8>>2]=c[e+0>>2];c[e+12>>2]=c[e+4>>2];Rc[f&63](b,e+8|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function Zqa(a){a=a|0;Loa(a,251);return}function _qa(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(b)c[b>>2]=c[b>>2]&-3;b=c[a+8>>2]|0;if(b)Hoa(b);b=c[a+12>>2]|0;if(b)Hoa(b);if(c[a>>2]&12){b=c[a+24>>2]|0;if(b)Hoa(b);b=c[a+28>>2]|0;if(b)Hoa(b);b=c[a+32>>2]|0;if(b)Hoa(b)}Hoa(a);return}function $qa(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;c[b>>2]=b+4;d=(tM(a,383336,b)|0)!=1;a=c[b+4>>2]|0;if(d|(a|0)<0|(a|0)>65535){Coa(383344);a=c[b+4>>2]|0}i=b;return a&65535|0}function ara(b,d){b=b|0;d=d|0;var e=0,f=0,h=0,j=0,k=0,l=0.0,m=0.0;k=i;i=i+96|0;h=Doa((d&65535)*24|0)|0;if(d<<16>>16){j=0;do{c[k>>2]=k+8;if((tM(b,383368,k)|0)!=1)Coa(383376);a[h+(j*24|0)>>0]=(a[k+8>>0]|0)==99&1;c[k>>2]=k+8;if((tM(b,383368,k)|0)!=1)Coa(383416);a[h+(j*24|0)+1>>0]=(a[k+8>>0]|0)!=101&1;e=h+(j*24|0)+4|0;f=h+(j*24|0)+8|0;c[k>>2]=e;c[k+4>>2]=f;if((tM(b,383456,k)|0)!=2)Coa(383464);m=+g[f>>2];l=+g[e>>2];g[h+(j*24|0)+12>>2]=m-l;g[h+(j*24|0)+16>>2]=(m-l)*.5;g[h+(j*24|0)+20>>2]=(m+l)*.5;j=j+1|0}while((j|0)<(d&65535|0))}i=k;return h|0}function bra(b,d){b=b|0;d=d|0;var e=0,f=0.0,h=0,j=0,k=0,l=0,m=0,n=0,o=0.0;l=i;i=i+96|0;c[l>>2]=l+16;e=tM(b,383368,l)|0;do if((e|0)==1){e=Doa(36)|0;c[e+4>>2]=0;j=c[e>>2]|0;c[e>>2]=(a[l+16>>0]|0)==115?j|1:j&-2;j=cra(b)|0;c[e>>2]=c[e>>2]&-13|j<<2&12;c[l>>2]=l+8;j=(tM(b,383336,l)|0)!=1;h=c[l+8>>2]|0;if(j|(h|0)<0){Coa(383504);h=c[l+8>>2]|0}c[e>>2]=c[e>>2]&15|h<<4;j=dra(b,d,0)|0;c[e+12>>2]=j;if(!j)Coa(383528);h=(c[e>>2]|0)>>>2&3;if((h|0)==2){c[e+8>>2]=Doa((d&65535)<<2)|0;if(d<<16>>16){j=0;do{c[l>>2]=l+16;if((tM(b,383368,l)|0)!=1)Coa(383584);h=a[l+16>>0]|0;if((h|0)==110)c[(c[e+8>>2]|0)+(j<<2)>>2]=0;else if((h|0)==114)c[(c[e+8>>2]|0)+(j<<2)>>2]=2;else if((h|0)==117)c[(c[e+8>>2]|0)+(j<<2)>>2]=1;else Coa(383584);j=j+1|0}while((j|0)<(d&65535|0))}b=dra(b,d,0)|0;c[e+24>>2]=b;if(!b)Coa(383552);c[e+28>>2]=Doa((d&65535)<<2)|0;c[e+32>>2]=Doa((d&65535)<<2)|0;g[e+16>>2]=1.0;if(!(d<<16>>16))f=1.0;else{j=0;do{h=c[(c[e+8>>2]|0)+(j<<2)>>2]|0;if((h|0)==3){c[l>>2]=383656;c[l+4>>2]=216;$L(383328,383616,2,1702e3,l)}else if((h|0)==2|(h|0)==1)g[(c[e+28>>2]|0)+(j<<2)>>2]=1.0/(+g[(c[e+24>>2]|0)+(j<<2)>>2]*2.0);else if(!h){b=(c[e+24>>2]|0)+(j<<2)|0;f=1.0/+R(+(+g[b>>2]*6.28318530718));g[(c[e+28>>2]|0)+(j<<2)>>2]=f;g[(c[e+32>>2]|0)+(j<<2)>>2]=1.0/+g[b>>2]}f=+g[(c[e+28>>2]|0)+(j<<2)>>2]*+g[e+16>>2];g[e+16>>2]=f;j=j+1|0}while((j|0)<(d&65535|0))}g[e+20>>2]=+$(+f);break}else if((h|0)==1){b=dra(b,d,0)|0;c[e+24>>2]=b;if(!b)Coa(383552);c[e+28>>2]=Doa((d&65535)<<2)|0;j=Doa((d&65535)<<2)|0;c[e+32>>2]=j;g[e+16>>2]=1.0;if(!(d<<16>>16))f=1.0;else{h=c[e+24>>2]|0;b=c[e+28>>2]|0;k=0;do{n=h+(k<<2)|0;m=b+(k<<2)|0;g[m>>2]=1.0/+R(+(+g[n>>2]*6.28318530718));g[j+(k<<2)>>2]=1.0/+g[n>>2];f=+g[m>>2]*+g[e+16>>2];g[e+16>>2]=f;k=k+1|0}while((k|0)<(d&65535|0))}g[e+20>>2]=+$(+f);c[e+8>>2]=0;break}else if(!h){if(!(dra(b,1,e+24|0)|0))Coa(383552);f=+g[e+24>>2];o=1.0/+R(+(f*6.28318530718));g[e+28>>2]=o;o=+S(+o,+(+(d&65535)));g[e+16>>2]=o;g[e+20>>2]=+$(+o);g[e+32>>2]=1.0/f;c[e+8>>2]=0;break}else break}else if((e|0)==-1)e=0;else{Coa(383688);e=0}while(0);i=l;return e|0}function cra(b){b=b|0;var d=0;d=i;i=i+96|0;c[d>>2]=d+8;if((tM(b,383368,d)|0)!=1)Coa(383728);b=a[d+8>>0]|0;if((b|0)==97)b=3;else if((b|0)==115)b=0;else if((b|0)==101)b=1;else if((b|0)==109)b=2;else{Coa(383728);b=1}i=d;return b|0}function dra(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if(!d)d=Doa((b&65535)<<2)|0;a:do if(b<<16>>16){f=0;while(1){c[g>>2]=d+(f<<2);e=tM(a,383768,g)|0;if((e|0)!=1){if((e|0)==-1&(f|0)==0)break;Coa(383776)}f=f+1|0;if((f|0)>=(b&65535|0))break a}Foa(d);d=0}while(0);i=g;return d|0}function era(a,d,e,f,g,h){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+48|0;if((c[a+2736>>2]|0)!=0?!(fra(a+4100|0,e,d)|0):0){jN(383808,j);e=0}else e=0;do{b[h+(e<<1)>>1]=1e3;e=e+1|0}while((e|0)!=32767);while(1){if((g|0)>=0?(e=Na(d|0)|0,!((((e|0)<0)<<31>>31|0)<(g|0)|(((e|0)<0)<<31>>31|0)==(g|0)&e>>>0>>0)):0)break;c[j>>2]=j+12;c[j+4>>2]=j+8;if((tM(d,383856,j)|0)!=2)break;if(!(HGa(j+12|0,383864)|0))e=HN(a+184|0,1701816)|0;else e=HN(a+184|0,j+12|0)|0;b[h+(e<<1)>>1]=c[j+8>>2];gra(d)}i=j;return}function fra(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((Ha(f|0,4,1,d|0)|0)==1){if(b)_K(f,4);e=c[f>>2]|0;Xqa(a,e);c[a>>2]=e;e=Ha(c[a+8>>2]|0,2,e|0,d|0)|0;d=(e|0)!=(c[a>>2]|0);if(!(d|b^1))if((e|0)>0){d=0;do{_K((c[a+8>>2]|0)+(d<<1)|0,2);d=d+1|0}while((d|0)<(c[a>>2]|0));d=1}else d=1;else d=d^1}else d=0;i=f;return d|0}function gra(a){a=a|0;if((Ec(a|0)|0)!=10)Wb(a|0,-1,1)|0;return}function hra(a){a=a|0;c[a>>2]=4;c[a+4>>2]=383904;c[a+8>>2]=384064;c[a+12>>2]=384176;c[a+16>>2]=384264;return}function ira(a){a=a|0;var b=0;if(a){if(c[a>>2]|0){b=0;do{zta(c[a+(b<<2)+4>>2]|0);b=b+1|0}while(b>>>0<(c[a>>2]|0)>>>0)}Foa(a)}return}function jra(a){a=a|0;var b=0;b=Doa(20)|0;a=c[a>>2]|0;c[b>>2]=a;if(a){a=0;do{c[b+4+(a<<2)>>2]=0;a=a+1|0}while(a>>>0<(c[b>>2]|0)>>>0)}return b|0}function kra(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=c[b>>2]|0;if(!f)e=0;else{e=0;g=0;do{e=((c[b+(g<<2)+4>>2]|0)!=0&1)+e|0;g=g+1|0}while((g|0)!=(f|0))}cN(d,1701816,e);dN(d,1714256);e=c[b>>2]|0;if(e){g=0;do{f=b+(g<<2)+4|0;if(c[f>>2]|0){dN(d,c[(c[a+(g<<2)+4>>2]|0)+4>>2]|0);dN(d,1701816);Dta(c[f>>2]|0,d);e=c[b>>2]|0}g=g+1|0}while(g>>>0>>0)}return}function lra(a){a=a|0;var d=0,e=0,f=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;o=c[a>>2]|0;a:do if(!o){e=0;d=1;q=12}else{p=0;e=0;d=1;while(1){m=c[a+(p<<2)+4>>2]|0;if(!m){d=0;break a}n=b[m>>1]|0;if(n<<16>>16){l=0;do{j=c[m+(l<<2)+4>>2]|0;i=b[c[j>>2]>>1]|0;if(i<<16>>16){h=0;do{f=(g[k>>2]=+g[j+(h<<2)+4>>2],c[k>>2]|0)&2147483647;if(f>>>0>2139095040)d=0;else{e=e|(f|0)!=2139095040;d=d&(f|0)!=2139095040}h=h+1|0}while((h|0)<(i&65535|0))}l=l+1|0}while((l|0)<(n&65535|0))}p=p+1|0;if(p>>>0>=o>>>0){q=12;break}}}while(0);if((q|0)==12)d=e&d;return d|0}function mra(a,b){a=a|0;b=b|0;YGa(b|0,0,a|0)|0;return}function nra(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;if((c[b+192>>2]|0)>0){g=0;do{if((g|0)<(c[c[b+1960>>2]>>2]|0)){f=~~(+sta(c[b+1992>>2]|0,g,d)*256.0);if((f|0)<0)f=0;else f=(f|0)>255?-1:f&255;a[e+g>>0]=f}else a[e+g>>0]=-1;g=g+1|0}while((g|0)<(c[b+192>>2]|0))}return}function ora(d,e,f){d=d|0;e=e|0;f=f|0;var h=0.0,i=0,j=0;h=(d|0)==0?.25:.5;d=b[e>>1]|0;if(d<<16>>16){i=0;do{j=c[e+(i<<2)+4>>2]|0;a[f+(i<<2)>>0]=qsa(+g[j+12>>2],.5,256)|0;a[f+(i<<2)+1>>0]=qsa(+g[j+4>>2],h,256)|0;a[f+(i<<2)+2>>0]=ssa(+g[j+8>>2],256)|0;a[f+(i<<2)+3>>0]=0;i=i+1|0}while((i|0)<(d&65535|0))}return}function pra(a,b,c,d){a=+a;b=+b;c=+c;d=+d;return +(+R(+((c-a)*(c-a)+(d-b)*(d-b))))}function qra(a,b,c,d){a=+a;b=+b;c=+c;d=+d;a=+Z(+(d-b),+(c-a));if(a<0.0)a=a+6.2831854820251465;d=a*.15915493667125702;return +(!(d<0.0)&!(d>=1.0)?d:0.0)}function rra(){eL(384704);if(!(a[384728]|0))a[384728]=1;fL(384704);return}function sra(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;h=i;i=i+48|0;Fk(h+8|0);tra(a,d,f,h+8|0,e);Eba(h+40|0,c[a>>2]|0);f=b[e+14>>1]|0;if(f<<16>>16>0?(g=zua(e,h+40|0,Hk(c[h+8>>2]|0,c[h+16>>2]|0)|0,f<<16>>16)|0,(g|0)!=0):0){j=b[h+40>>1]|0;f=b[h+46>>1]|0;d=b[h+44>>1]|0;e=b[h+42>>1]|0;b[h+32>>1]=0;b[h+34>>1]=0;b[h+28>>1]=0;b[h+30>>1]=0;hfa(a+4|0,j,f,h+32|0);hfa(a+4|0,d,e,h+28|0);$ia(h,b[h+32>>1]|0,b[h+30>>1]|0,b[h+28>>1]|0,b[h+34>>1]|0);a=c[h>>2]|0;e=c[h+4>>2]|0;b[g+16>>1]=a;b[g+18>>1]=a>>>16;b[g+20>>1]=e;b[g+22>>1]=e>>>16}else g=0;Gk(h+8|0);i=h;return g|0}function tra(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0;n=i;i=i+128|0;Zea(n+52|0);Zea(n);ura(d,e,n+52|0,n,h);e=c[d>>2]|0;if(!e)e=0;else{do{m=Aba(c[e+16>>2]|0)|0;if(m){j=m;do{if(!(a[j+8>>0]|0)){l=j+20|0;k=j;do{k=c[k+12>>2]|0;if((k|0)==(m|0)){k=m;break}if(a[k+8>>0]|0)break}while((c[k+20>>2]|0)==(c[l>>2]|0));l=c[k+16>>2]|0;xra(j,l,n+52|0,1,f);xra(j,l,n,0,g);j=l}j=c[j+12>>2]|0}while((j|0)!=(m|0))}e=c[e+20>>2]|0}while((e|0)!=0);e=c[d>>2]|0}b[h+12>>1]=c[f>>2];b[h+14>>1]=c[g>>2];Eba(n+120|0,e);a[h+18>>0]=b[n+122>>1];Eba(n+112|0,c[d>>2]|0);a[h+19>>0]=b[n+118>>1];Eba(n+104|0,c[d>>2]|0);b[h+16>>1]=kl(n+104|0)|0;afa(n);afa(n+52|0);i=n;return}function ura(a,d,e,f,h){a=a|0;d=d|0;e=e|0;f=f|0;h=h|0;var j=0.0,k=0,l=0;l=i;i=i+64|0;k=Pba(a,l+48|0,l+40|0)|0;if(!h)j=+g[l+48>>2];else{c[h>>2]=k;b[h+8>>1]=ok(+g[l+44>>2])|0;b[h+10>>1]=ok(+g[l+40>>2])|0;j=+g[l+48>>2];b[h+4>>1]=ok(j)|0;b[h+6>>1]=ok(+g[l+52>>2])|0}bfa(e,0,0,a+4|0,j,128.0,1.0,1.0,128.0,128.0);if(d){yra(l+20|0);yra(l);b[l+56>>1]=32767;b[l+58>>1]=32767;b[l+60>>1]=-32767;b[l+62>>1]=-32767;Rba(a,l+56|0);VV(l+56|0,1,1);Sba(a,l+56|0,l+20|0,l);cfa(f,a+4|0,l+56|0,l+20|0,l);zra(l);zra(l+20|0)}else bfa(f,0,0,a+4|0,j,+g[l+52>>2],51.20000076293945/+g[l+40>>2],51.20000076293945/+g[l+44>>2],128.0,128.0);i=l;return}function vra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0.0;e=i;i=i+32|0;Jha(e+16|0,a);g[e+16>>2]=+g[b>>2]+ +g[e+16>>2];g[e+20>>2]=+g[b+4>>2]+ +g[e+20>>2];ffa(c,d,b,e+8|0);ffa(c,d,e+16|0,e);f=+g[e>>2]-+g[e+8>>2];g[e>>2]=f;b=Hha(f,+g[e+4>>2]-+g[e+12>>2])|0;i=e;return b|0}function wra(){c[96142]=1701984;c[96144]=389976;c[96146]=390024;c[96148]=390056;c[96150]=390112;c[96152]=390152;c[96154]=390184;c[96156]=390240;c[96158]=390280;c[96160]=390328;c[96162]=390376;c[96164]=390400;c[96166]=390432;c[96168]=390504;c[96170]=390552;c[96172]=390592;c[96174]=390640;dL(384704);return}function xra(a,d,e,f,j){a=a|0;d=d|0;e=e|0;f=f|0;j=j|0;var l=0.0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0,B=0,C=0,D=0,E=0,F=0;F=i;i=i+480|0;E=c[d+12>>2]|0;D=c[a+20>>2]|0;a:do if(!((D|0)==0|f)){C=e;while(1){f=c[C+16>>2]|0;if(!f)break;else C=f}A=b[D+16>>1]|0;q=c[a+24>>2]|0;eca(F+472|0,D,q);B=(c[d+28>>2]|0)+(c[d+24>>2]|0)|0;B=((B|0)>(q|0)?0:A)+B|0;Eea(F+376|0);Eea(F+160|0);fca(F+320|0,D,F+472|0,q);ffa(e,C,F+320|0,F+320|0);Eea(F+328|0);Eea(F+112|0);d=Ara(D,e,C,q,B,F+472|0,F,F+328|0,F+112|0)|0;if((d|0)<=(B|0)){z=+g[F+320>>2];y=+g[F+324>>2];A=0;while(1){m=(A|0)!=0|(E|0)==(a|0);while(1){Eea(F+208|0);Eea(F+8|0);d=Ara(D,e,C,d,B,F+472|0,F+256|0,F+208|0,F+8|0)|0;n=F+64|0;o=F+376|0;p=n+48|0;do{c[n>>2]=c[o>>2];n=n+4|0;o=o+4|0}while((n|0)<(p|0));n=F+264|0;o=F+112|0;p=n+48|0;do{c[n>>2]=c[o>>2];n=n+4|0;o=o+4|0}while((n|0)<(p|0));Hea(F+64|0,F+328|0);Hea(F+64|0,F+208|0);Hea(F+264|0,F+8|0);l=+h[F+64>>3];if((~~(l+.5)|0)>0){Lea(F+440|0,l,+h[F+72>>3],+h[F+80>>3]);l=+h[F+264>>3];do if((~~(l+.5)|0)<=0){u=+g[F>>2];w=u-z;v=+g[F+4>>2];x=v-y;Mea(F+56|0,F+64|0);p=c[F+56>>2]|0;q=c[F+60>>2]|0;c[F+312>>2]=p;c[F+316>>2]=q;t=(c[k>>2]=p,+g[k>>2]);s=(c[k>>2]=q,+g[k>>2]);if(t==0.0&s==0.0){r=+w;s=+x;g[F+312>>2]=r;g[F+316>>2]=s;s=v;r=w;l=x;break}p=(g[k>>2]=-s,c[k>>2]|0);if(w*t+x*s<0.0){g[F+312>>2]=-t;c[F+316>>2]=p;r=-t;l=-s}else{r=t;l=s}if(x*t+w*-s<0.0)t=-t;else q=p;if(w*(c[k>>2]=q,+g[k>>2])+x*t>x*l+w*r){s=+t;c[F+312>>2]=q;g[F+316>>2]=s;s=v;r=(c[k>>2]=q,+g[k>>2]);l=t}else s=v}else{Lea(F+432|0,l,+h[F+272>>3],+h[F+280>>3]);x=+WU(F+264|0);if(!(x<=+VU(F+264|0)))l=+g[F+436>>2]+128.0;else l=+g[F+432>>2];Jha(F+312|0,(ok(l)|0)&255);u=+g[F>>2];s=+g[F+4>>2];r=+g[F+312>>2];l=+g[F+316>>2]}while(0);v=+g[F+440>>2];x=+g[F+444>>2];Kha(F+424|0,z,y,v,x,r,l);Kha(F+456|0,u,s,v,x,r,l);if(!m)dfa(e,+(b[a>>1]|0),+(b[a+2>>1]|0),F+424|0);if(!((d|0)<=(B|0)|(E|0)==(a|0)))dfa(e,+(b[E>>1]|0),+(b[E+2>>1]|0),F+456|0);q=Bra(F+424|0,+g[F+456>>2],+g[F+460>>2],j)|0;if((q|0)>0)break;q=c[F+260>>2]|0;c[F>>2]=c[F+256>>2];c[F+4>>2]=q}Hea(F+328|0,F+208|0);Hea(F+112|0,F+8|0);if((d|0)>(B|0))break a}n=F+376|0;o=F+328|0;p=n+48|0;do{c[n>>2]=c[o>>2];n=n+4|0;o=o+4|0}while((n|0)<(p|0));n=F+160|0;o=F+112|0;p=n+48|0;do{c[n>>2]=c[o>>2];n=n+4|0;o=o+4|0}while((n|0)<(p|0));f=c[F>>2]|0;m=c[F+4>>2]|0;c[F+320>>2]=f;c[F+324>>2]=m;n=F+328|0;o=F+208|0;p=n+48|0;do{c[n>>2]=c[o>>2];n=n+4|0;o=o+4|0}while((n|0)<(p|0));n=F+112|0;o=F+8|0;p=n+48|0;do{c[n>>2]=c[o>>2];n=n+4|0;o=o+4|0}while((n|0)<(p|0));p=c[F+260>>2]|0;c[F>>2]=c[F+256>>2];c[F+4>>2]=p;z=(c[k>>2]=f,+g[k>>2]);if((d|0)>(B|0))break;else{y=(c[k>>2]=m,+g[k>>2]);A=q+A|0}}}}else do{v=+(b[a>>1]|0);x=+(b[a+2>>1]|0);g[F+448>>2]=v;g[F+452>>2]=x;D=a+12|0;C=c[D>>2]|0;y=+(b[C>>1]|0);z=+(b[C+2>>1]|0);g[F+464>>2]=y;g[F+468>>2]=z;dfa(e,v,x,F+448|0);dfa(e,y,z,F+464|0);Bra(F+448|0,+g[F+464>>2],+g[F+468>>2],j)|0;a=c[D>>2]|0}while((a|0)!=(E|0));while(0);i=F;return}function yra(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;qca(a,4);return}function zra(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+32|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;kca(e,(c[a+8>>2]|0)+(d*20|0)|0);Rc[f&63](b,e);Jk(e);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b){d=c[b+-4>>2]|0;if(d){d=b+(d*20|0)|0;do{d=d+-20|0;Jk(d)}while((d|0)!=(b|0))}ZEa(b+-4|0)}c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function Ara(d,e,f,h,j,k,l,m,n){d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0.0,p=0,q=0.0,r=0.0,s=0.0,t=0,u=0,v=0,w=0,x=0,y=0.0,z=0.0;x=i;i=i+16|0;v=b[d+16>>1]|0;yV(x+8|0,c[d+20>>2]|0,(h|0)%(v|0)|0);Eea(m);Eea(n);a:do if((h|0)<=(j|0)){o=0.0;s=0.0;u=h;p=0;while(1){t=(u|0)%(v|0)|0;yV(x+8|0,c[d+20>>2]|0,t);h=c[d+24>>2]|0;if(h){h=a[h+(t*3|0)+1>>0]|0;if(!(h<<24>>24))q=s;else{h=h&255;w=5}}else{h=1;w=5}if((w|0)==5){w=0;fca(x,d,k,t);ffa(e,f,x,l);if(p){q=+g[l>>2];z=q-o;r=+g[l+4>>2];y=r-s;if(+R(+(z*z+y*y))>12.8){h=u;break a}}else{o=+g[l>>2];q=o;r=+g[l+4>>2];s=+g[l+4>>2]}Gea(m,q,r,+(h|0));h=Cra(c[d+24>>2]|0,t)|0;if((h|0)>-1){t=(vra(h&255,x,e,f)|0)&255;Fea(n,+(t|0),+(t+128&255|0))}q=s;p=p+1|0}h=u+1|0;t=c[x+8>>2]|0;eB(k,t&65535,t>>>16&65535);if((u|0)<(j|0)){s=q;u=h}else break}}while(0);i=x;return h|0}function Bra(b,c,d,e){b=b|0;c=+c;d=+d;e=e|0;var f=0,h=0,j=0.0,k=0,l=0,m=0.0,n=0.0;l=i;i=i+16|0;j=c-+g[b>>2];d=d-+g[b+4>>2];a:do if(!(j==0.0&d==0.0)?(k=Hha(j,d)|0,f=ok(+R(+(j*j+d*d))/12.8)|0,(f|0)!=0):0){if((f|0)>0){h=1;c=1.0/+(f|0)*.5;while(1){m=c;n=m*j+ +g[b>>2];dsa(l,n,m*d+ +g[b+4>>2],k);a[l+4>>0]=a[l+0>>0]|0;a[l+5>>0]=a[l+1>>0]|0;a[l+6>>0]=a[l+2>>0]|0;a[l+7>>0]=a[l+3>>0]|0;Dra(e,l+4|0);if((h|0)==(f|0))break a;h=h+1|0;c=1.0/+(f|0)+c}}}else f=0;while(0);i=l;return f|0}function Cra(b,c){b=b|0;c=c|0;if((b|0)!=0?(a[b+(c*3|0)+1>>0]|0)!=0:0)c=d[b+(c*3|0)+2>>0]|0;else c=-1;return c|0}function Dra(b,e){b=b|0;e=e|0;var f=0;f=c[b>>2]|0;if((f|0)==(c[b+4>>2]|0)){Era(b);f=c[b>>2]|0}c[b>>2]=f+1;b=(c[b+8>>2]|0)+(f<<2)|0;e=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;a[b>>0]=e;a[b+1>>0]=e>>8;a[b+2>>0]=e>>16;a[b+3>>0]=e>>24;return}function Era(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)jl(a,4);else jl(a,b<<1);return}function Fra(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0;l=i;i=i+48|0;Sra(l,c[d>>2]|0);Tra(l,d,e,g);Ura(l,j,c[b+1924>>2]|0);if(!(c[b+2736>>2]|0))Vra(l,b+184|0);if((a[b+1762>>0]|0)!=0?(c[b+2736>>2]|0)==0:0)Xra(l,b+184|0);if(!h)Zra(l);else Yra(l,c[b+1900>>2]|0,h);_ra(l,c[b+1876>>2]|0,f,(c[b+2736>>2]|0)==0,b+184|0);f=c[b+608>>2]|0;if((f|0)>2){$ra(l,b,d,g);f=c[b+608>>2]|0}if((f|0)>1)asa(l,b,d,j,c[b+1900>>2]|0,h);bsa(l,k);Wra(l);i=l;return}function Gra(a,c,f,g,h,j,k,l){a=a|0;c=c|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0;o=i;i=i+16|0;m=WEa(12608)|0;YGa(m|0,0,12608)|0;if(l)xoa(384736,o);YGa(m+64|0,0,(d[c+3>>0]|0)<<2|0)|0;YGa(m+320|0,0,(e[c>>1]|0)*24|0)|0;b[k+10>>1]=0;if(h<<16>>16>0){n=0;do{if(!(Hra(a,c,f,g,n,j+(n<<2)|0,m,l)|0))b[k+10>>1]=(b[k+10>>1]|0)+1<<16>>16;n=n+1|0}while((n|0)!=(h<<16>>16|0))}Ira(m,c,g);Jra(m,c,h);Kra(a,c,m,k);YEa(m);i=o;return}function Hra(b,e,f,g,h,i,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;YGa(j|0,0,d[e+3>>0]|0)|0;D=(d[i>>0]|0)>>>2<<1;B=(d[i+1>>0]|0)>>>2<<1|128;C=(d[i+2>>0]|0)>>>2<<1|256;if(!(a[e+2>>0]|0))l=k&8;else{w=0;A=0;while(1){v=c[e+(A<<2)+4>>2]|0;u=f;x=w;y=0;z=v;while(1){m=c[z+(B<<2)>>2]&c[z+(D<<2)>>2]&c[z+(C<<2)>>2]&c[u>>2];if((m|0)!=0?!((m>>>8|0)==0&(m&255)<<24>>24==0):0){l=m>>>8;t=m&255;n=0;do{m=t&255;if(!(t<<24>>24)){m=l;while(1){l=m>>>8;n=n+8|0;if((m&255)<<24>>24)break;else m=l}m=m&255}r=(d[385096+m>>0]|0)+n|0;t=a[385096+(m|256)>>0]|0;q=r+y|0;o=c[v+(q*12|0)+1540>>2]|0;m=ba(a[v+(q*12|0)+1536>>0]<<1,(d[i>>0]|0)+-128|0)|0;m=m-(ba((d[i+1>>0]|0)+-128|0,d[v+(q*12|0)+1537>>0]|0)|0)|0;m=m+(a[v+(q*12|0)+1538>>0]<<9)|0;q=(d[i+2>>0]|0)-(d[v+(q*12|0)+1539>>0]|0)<<24;s=c[b+516>>2]|0;p=c[b+528>>2]|0;m=(m>>31^m)>>s>>>0>p>>>0?p:(m>>31^m)>>s;s=(q>>16^q>>31)>>s>>>0>p>>>0?p:(q>>16^q>>31)>>s;m=(ba(s,s)|0)+(ba(m,m)|0)|0;m=m>>>(c[b+520>>2]|0);if(m>>>0>(c[b+512>>2]|0)>>>0)s=0;else s=a[b+m>>0]|0;if(k&8)Ora(h,r+x&65535,s,o);m=c[g>>2]&o;if(m){q=j+-8|0;o=0;do{p=o&255;if(!(o<<24>>24)){while(1){o=m>>>8;q=q+8|0;if((m&255)<<24>>24)break;else m=o}p=m&255;m=o}o=a[385096+(p|256)>>0]|0;p=q+(d[385096+p>>0]|0)|0;if((s&255)>(d[p>>0]|0))a[p>>0]=s}while(!((m|0)==0&o<<24>>24==0))}p=r+x|0;o=a[(c[e+36>>2]|0)+p>>0]|0;a:do if(o<<24>>24){m=s;q=o&255;p=j+(p*24|0)+320|0;while(1){o=a[p>>0]|0;if((m&255)<=(o&255)){if(!(m<<24>>24))break a}else{a[p>>0]=m;m=o}q=q+-1|0;if((q|0)<=0)break;else p=p+1|0}}while(0)}while(!((l|0)==0&t<<24>>24==0))}y=y+32|0;if(y>>>0>=64)break;else{u=u+4|0;x=x+32|0;z=z+4|0}}A=A+1|0;if((A|0)>=(d[e+2>>0]|0)){l=k&8;break}else{f=f+8|0;w=w+64|0}}}if(l)Pra(h,j,d[e+3>>0]|0);l=a[e+3>>0]|0;if(!(l<<24>>24))l=0;else{m=l&255;f=j+64|0;l=0;while(1){h=d[j>>0]|0;l=h+l|0;c[f>>2]=(c[f>>2]|0)+h;m=m+-1|0;if((m|0)<=0)break;else{f=f+4|0;j=j+1|0}}}return l|0}function Ira(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;k=b[f>>1]|0;l=a[f+2>>0]|0;if(l<<24>>24){n=0;p=0;while(1){m=c[f+(n<<2)+4>>2]|0;o=0;q=p;while(1){if((q&65535)>=(k&65535))break;i=a[(c[f+36>>2]|0)+q>>0]|0;if(!(i<<24>>24))j=0;else{j=0;h=0;do{h=(d[e+(q*24|0)+j+320>>0]|0)+h|0;j=j+1|0}while((j|0)<(i&255|0));j=h}h=c[g>>2]&c[m+(o*12|0)+1540>>2];if(h){i=e+64|0;while(1){if(h&1)c[i>>2]=(c[i>>2]|0)+j;h=h>>>1;if(!h)break;else i=i+4|0}}o=o+1|0;if((o&65535)>=64)break;else q=q+1|0}n=n+1|0;if((n|0)>=(l&255|0))break;else p=p+64|0}}return}function Jra(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0,i=0;g=a[d+3>>0]|0;if(g<<24>>24){h=0;do{i=b+(h<<2)+64|0;c[i>>2]=(c[i>>2]<<8|0)/((e[d+(h<<1)+40>>1]|0)+(f<<16>>16)|0)|0;h=h+1|0}while((h|0)<(g&255|0))}return}function Kra(b,e,f,h){b=b|0;e=e|0;f=f|0;h=h|0;var j=0,k=0,l=0,m=0;m=i;i=i+16|0;a[h+9>>0]=0;if((c[h+12>>2]|0)>0)c[h+12>>2]=0;GS(h+12|0,d[e+3>>0]|0);if(!(a[e+3>>0]|0))j=0;else{j=0;l=0;do{k=c[f+(l<<2)+64>>2]|0;if((c[(c[b+524>>2]|0)+12>>2]|0)>2){c[m>>2]=l;c[m+4>>2]=k;jN(385072,m)}if((k|0)>(j|0)){a[h+9>>0]=l;j=k}DS(h+12|0,l,k&65535);l=l+1|0}while((l|0)<(d[e+3>>0]|0))}g[h+4>>2]=+(j|0)*.0000152587890625;i=m;return}function Lra(e,f,g,h,j,k,l,m,n){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0;r=i;i=i+16|0;q=WEa(12608)|0;YGa(q|0,0,12608)|0;if(n)xoa(384800,r);YGa(q+64|0,0,(d[f+3>>0]|0)<<2|0)|0;o=b[f>>1]|0;YGa(q+320|0,0,(o&65535)*24|0)|0;if(j<<16>>16>0){p=0;do{Hra(e,f,g,h,p,k+(p<<2)|0,q,n)|0;p=p+1|0}while((p|0)!=(j<<16>>16|0));o=b[f>>1]|0}if(!(o<<16>>16))o=0;else{k=c[f+36>>2]|0;p=o;o=0;j=0;do{g=a[k+j>>0]|0;if(!(g<<24>>24))h=0;else{h=0;e=0;do{h=(d[q+320+(j*24|0)+e>>0]|0)+h|0;e=e+1|0}while((e|0)<(g&255|0))}if(((h|0)/(g&255|0)|0|0)>=(m|0)){b[l>>1]=j;l=l+2|0;p=b[f>>1]|0;o=o+1|0}j=j+1|0}while((j|0)<(p&65535|0))}if(n)xoa(384864,r);YEa(q);i=r;return o|0}function Mra(b,c,f,g,h,j,k,l,m){b=b|0;c=c|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;t=i;i=i+16|0;s=WEa(12608)|0;YGa(s|0,0,12608)|0;if(m)xoa(384928,t);YGa(s+64|0,0,(d[c+3>>0]|0)<<2|0)|0;YGa(s+320|0,0,(e[c>>1]|0)*24|0)|0;if(h<<16>>16>0){n=k;r=0;k=0;do{Hra(b,c,f,g,r,j+(r<<2)|0,s,m)|0;p=a[c+3>>0]|0;if(!(p<<24>>24))o=0;else{o=0;q=0;do{u=d[s+q>>0]|0;o=(u|0)>(o|0)?u:o;q=q+1|0}while((q|0)<(p&255|0))}if((o|0)<(l|0)){a[n>>0]=r;n=n+1|0;k=k+1|0}r=r+1|0}while((r|0)!=(h<<16>>16|0))}else k=0;if(m)xoa(384864,t);YEa(s);i=t;return k|0}function Nra(b,d){b=b|0;d=d|0;var e=0.0;c[b+524>>2]=d;d=0;do{e=+(d<<18>>>0)*.0000152587890625*.0000152587890625/.007499999832361937;a[b+d>>0]=~~(255.0/(e*e+1.0)+.5);d=d+1|0}while((d|0)!=512);c[b+512>>2]=511;c[b+516>>2]=0;c[b+520>>2]=18;c[b+528>>2]=16383;return}function Ora(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;c[f>>2]=a;c[f+4>>2]=b&65535;c[f+8>>2]=d&255;xoa(384992,f);if(e)do{if(!(e&1))xoa(385040,f);else xoa(385032,f);e=e>>>1}while((e|0)!=0);xoa(1714256,f);i=f;return}function Pra(a,b,e){a=a|0;b=b|0;e=e|0;var f=0;f=i;i=i+16|0;c[f>>2]=a;xoa(385048,f);if((e|0)>0){a=0;do{c[f>>2]=d[b+a>>0];xoa(385064,f);a=a+1|0}while((a|0)!=(e|0))}xoa(1714256,f);i=f;return}function Qra(a,b,c,d){a=+a;b=b|0;c=c|0;d=d|0;return +((+(b|0)*a+ +(ba(d,c)|0)*.00390625)/+(d+b|0))}function Rra(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=a;f=(a>>1)+1|0;while(1){if((f|0)<=1){j=b+(e<<2)|0;g=c[j>>2]|0;a=d+(e<<2)|0;h=c[a>>2]|0;c[j>>2]=c[b+4>>2];c[a>>2]=c[d+4>>2];a=e+-1|0;if((a|0)==1)break;else j=h}else{j=f+-1|0;a=e;f=j;g=c[b+(j<<2)>>2]|0;j=c[d+(j<<2)>>2]|0}e=f<<1;a:do if((e|0)>(a|0))e=f;else{i=f;h=e;while(1){if((h|0)<(a|0)){e=h|1;e=(c[b+(h<<2)>>2]|0)<(c[b+(e<<2)>>2]|0)?e:h}else e=h;h=c[b+(e<<2)>>2]|0;if((g|0)>=(h|0)){e=i;break a}c[b+(i<<2)>>2]=h;c[d+(i<<2)>>2]=c[d+(e<<2)>>2];h=e<<1;if((h|0)>(a|0))break;else i=e}}while(0);c[b+(e<<2)>>2]=g;c[d+(e<<2)>>2]=j;e=a}c[b+4>>2]=g;c[d+4>>2]=h;return}function Sra(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;c[a+16>>2]=b;e=b+31-((b+31|0)%32|0)|0;c[a+20>>2]=e;f=e>>>0>1073741823?-1:e<<2;d=XEa(f)|0;c[a>>2]=d;c[a+4>>2]=XEa(f)|0;f=(e+1|0)>>>0>1073741823?-1:e+1<<2;c[a+8>>2]=XEa(f)|0;c[a+12>>2]=XEa(f)|0;if((e|0)>0){e=0;do{c[d+(e<<2)>>2]=0;e=e+1|0}while((e|0)!=(b+31-((b+31|0)%32|0)|0))}c[a+24>>2]=0;c[a+28>>2]=0;c[a+32>>2]=0;return}function Tra(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;c[a+28>>2]=e;i=c[b+4>>2]|0;if((e|0)>0){n=0;do{k=((d[f+(n<<2)>>0]|0)*24|0)>>>8;g=((d[f+(n<<2)+1>>0]|0)*24|0)>>>8;h=((d[f+(n<<2)+2>>0]|0)*24|0)>>>8;if((i|0)>0){j=c[a>>2]|0;l=0;o=0;while(1){m=l;p=(c[b+(o<<2)+131076>>2]|0)+(k*4608|0)+(g*192|0)+(h<<3)|0;q=0;while(1){s=c[p>>2]|0;r=j+(m<<2)|0;c[r>>2]=(c[r>>2]|0)+(s&3);r=j+((m|1)<<2)|0;c[r>>2]=(c[r>>2]|0)+(s>>>2&3);r=j+((m|2)<<2)|0;c[r>>2]=(c[r>>2]|0)+(s>>>4&3);r=j+((m|3)<<2)|0;c[r>>2]=(c[r>>2]|0)+(s>>>6&3);r=j+((m|4)<<2)|0;c[r>>2]=(c[r>>2]|0)+(s>>>8&3);r=j+((m|5)<<2)|0;c[r>>2]=(c[r>>2]|0)+(s>>>10&3);r=j+((m|6)<<2)|0;c[r>>2]=(c[r>>2]|0)+(s>>>12&3);r=j+((m|7)<<2)|0;c[r>>2]=(c[r>>2]|0)+(s>>>14&3);r=j+((m|8)<<2)|0;c[r>>2]=(c[r>>2]|0)+(s>>>16&3);r=j+((m|9)<<2)|0;c[r>>2]=(c[r>>2]|0)+(s>>>18&3);r=j+((m|10)<<2)|0;c[r>>2]=(c[r>>2]|0)+(s>>>20&3);r=j+((m|11)<<2)|0;c[r>>2]=(c[r>>2]|0)+(s>>>22&3);r=j+((m|12)<<2)|0;c[r>>2]=(c[r>>2]|0)+(s>>>24&3);r=j+((m|13)<<2)|0;c[r>>2]=(c[r>>2]|0)+(s>>>26&3);r=j+((m|14)<<2)|0;c[r>>2]=(c[r>>2]|0)+(s>>>28&3);r=j+((m|15)<<2)|0;c[r>>2]=(c[r>>2]|0)+(s>>>30);q=q+1|0;if((q|0)==2)break;else{m=m+16|0;p=p+4|0}}o=o+1|0;if((o|0)==(i|0))break;else l=l+32|0}}n=n+1|0}while((n|0)!=(e|0))}return}function Ura(a,b,d){a=a|0;b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0;f=c[a+16>>2]|0;if((f|0)>0){i=0;do{g=c[a+28>>2]|0;h=e[b+(i<<1)>>1]|0;if((h|0)>(g|0)){f=(c[a>>2]|0)+(i<<2)|0;j=c[f>>2]|0;c[f>>2]=j-((ba(j,h-g|0)|0)/(h-g+(ba(g,d)|0)|0)|0);f=c[a+16>>2]|0}i=i+1|0}while((i|0)<(f|0))}return}function Vra(b,d){b=b|0;d=d|0;var e=0,f=0;e=c[b+16>>2]|0;if((e|0)>0){f=c[d>>2]|0;d=0;do{if(!(a[f+(d*112|0)+38>>0]|0)){c[(c[b>>2]|0)+(d<<2)>>2]=0;e=c[b+16>>2]|0}d=d+1|0}while((d|0)<(e|0))}return}function Wra(a){a=a|0;var b=0;b=c[a>>2]|0;if(b)ZEa(b);b=c[a+4>>2]|0;if(b)ZEa(b);b=c[a+8>>2]|0;if(b)ZEa(b);b=c[a+12>>2]|0;if(b)ZEa(b);return}function Xra(a,b){a=a|0;b=b|0;var d=0;if((c[a+16>>2]|0)>0){d=0;do{if(uC(b,d)|0)c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)<(c[a+16>>2]|0))}return}function Yra(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0;if((c[a+16>>2]|0)>0){f=c[a>>2]|0;g=c[a+4>>2]|0;h=0;do{c[g+(h<<2)>>2]=(c[f+(h<<2)>>2]|0)-((ba(d[e+h>>0]|0,b)|0)>>8);h=h+1|0}while((h|0)<(c[a+16>>2]|0))}return}function Zra(a){a=a|0;var b=0,d=0,e=0;if((c[a+16>>2]|0)>0){b=c[a>>2]|0;d=c[a+4>>2]|0;e=0;do{c[d+(e<<2)>>2]=c[b+(e<<2)>>2];e=e+1|0}while((e|0)<(c[a+16>>2]|0))}return}function _ra(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=c[a+16>>2]|0;if((g|0)>0){j=0;g=0;do{h=c[(c[a+4>>2]|0)+(j<<2)>>2]|0;i=(h|0)<=(g|0);if(!(i|e^1)){if(!(uC(f,j)|0))g=c[(c[a+4>>2]|0)+(j<<2)>>2]|0}else g=i?g:h;j=j+1|0;h=c[a+16>>2]|0}while((j|0)<(h|0))}else{h=g;g=0}g=(ba(g,b)|0)>>8;g=(g|0)<1?1:g;c[a+24>>2]=g;c[a+32>>2]=0;if((h|0)>0){j=c[a+4>>2]|0;i=0;while(1){e=j+(i<<2)|0;if((i|0)==(d|0)?1:(c[e>>2]|0)>=(g|0)){h=(c[a+32>>2]|0)+1|0;c[a+32>>2]=h;c[(c[a+12>>2]|0)+(h<<2)>>2]=i;c[(c[a+8>>2]|0)+(c[a+32>>2]<<2)>>2]=c[e>>2];h=c[a+16>>2]|0}e=i+1|0;if((e|0)>=(h|0))break;g=c[a+24>>2]|0;i=e}g=c[a+32>>2]|0;if((g|0)>1)Rra(g,c[a+8>>2]|0,c[a+12>>2]|0)}return}function $ra(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;t=i;i=i+32|0;m=c[e+4>>2]|0;p=c[e>>2]|0;if((c[a+28>>2]|0)>0){r=0;do{n=f+(r<<2)|0;k=d[n>>0]|0;o=f+(r<<2)+1|0;l=d[o>>0]|0;q=f+(r<<2)+2|0;s=d[q>>0]|0;c[t>>2]=r;c[t+4>>2]=k;c[t+8>>2]=l;c[t+12>>2]=s;jN(385696,t);n=((d[n>>0]|0)*24|0)>>>8;o=((d[o>>0]|0)*24|0)>>>8;q=((d[q>>0]|0)*24|0)>>>8;if((m|0)>0){g=0;s=0;do{k=(c[e+(s<<2)+131076>>2]|0)+(n*4608|0)+(o*192|0)+(q<<3)|0;l=0;do{if((g|0)<(p|0)){h=c[k>>2]|0;j=0;while(1){if((c[(c[a+4>>2]|0)+(g<<2)>>2]|0)>=(c[a+24>>2]|0)){Xpa(t+16|0,b,e,g);u=c[t+16>>2]|0;c[t>>2]=VM(u)|0;c[t+4>>2]=h&3;jN(385720,t);RM(u)}j=j+1|0;g=g+1|0;if(!((j|0)<16&(g|0)<(p|0)))break;else h=h>>>2}}k=k+4|0;l=l+1|0}while((l|0)<2);jN(1714256,t);s=s+1|0}while((s|0)<(m|0))}r=r+1|0}while((r|0)<(c[a+28>>2]|0))}i=t;return}function asa(a,b,f,g,j,l){a=a|0;b=b|0;f=f|0;g=g|0;j=j|0;l=l|0;var m=0,n=0,o=0,p=0,q=0.0,r=0,s=0,t=0,u=0,v=0;o=i;i=i+32|0;m=c[a+28>>2]|0;c[o>>2]=c[a+32>>2];c[o+4>>2]=m;jN(385608,o);m=c[a+32>>2]|0;if((m|0)>0){n=0;do{s=c[(c[a+12>>2]|0)+(m-n<<2)>>2]|0;Xpa(o+28|0,b,f,s);p=c[o+28>>2]|0;v=VM(p)|0;u=c[(c[a>>2]|0)+(s<<2)>>2]|0;t=e[g+(s<<1)>>1]|0;s=(ba(d[l+s>>0]|0,j)|0)>>8;r=c[(c[a+8>>2]|0)+((c[a+32>>2]|0)-n<<2)>>2]|0;q=100.0-+(r|0)*100.0/+((c[a+28>>2]|0)*3|0);c[o>>2]=v;c[o+4>>2]=u;c[o+8>>2]=t;c[o+12>>2]=s;c[o+16>>2]=r;h[k>>3]=q;c[o+20>>2]=c[k>>2];c[o+24>>2]=c[k+4>>2];jN(385640,o);RM(p);n=n+1|0;m=c[a+32>>2]|0}while((m|0)>(n|0))}i=o;return}function bsa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,h=0;csa(b,c[a+32>>2]|0,0.0,0);d=c[a+32>>2]|0;if((d|0)>0){e=0;do{h=c[(c[a+12>>2]|0)+(d-e<<2)>>2]|0;c[(oqa(b,e)|0)+4>>2]=h;f=1.0-+(c[(c[a+8>>2]|0)+((c[a+32>>2]|0)-e<<2)>>2]|0)/(+(c[a+28>>2]|0)*3.0);g[(oqa(b,e)|0)>>2]=f;e=e+1|0;d=c[a+32>>2]|0}while((d|0)>(e|0))}return}function csa(a,b,d,e){a=a|0;b=b|0;d=+d;e=e|0;var f=0,h=0;yqa(a,b);c[a>>2]=b;if((b|0)>0){d=+d;f=0;do{h=(c[a+8>>2]|0)+(f<<3)|0;g[h>>2]=d;c[h+4>>2]=e;f=f+1|0}while((f|0)!=(b|0))}return}function dsa(b,c,d,e){b=b|0;c=+c;d=+d;e=e|0;var f=0;if(~~(c+.5)<<16>>16<0)f=0;else f=~~(c+.5)<<16>>16>255?-1:~~(c+.5)&255;a[b>>0]=f;if(~~(d+.5)<<16>>16<0)f=0;else f=~~(d+.5)<<16>>16>255?-1:~~(d+.5)&255;a[b+1>>0]=f;a[b+2>>0]=e;a[b+3>>0]=0;return}function esa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(b>>>0>=32767)Ja(387144,387168,244,387200);if((c[a>>2]|0)!=(b|0)){e=c[n>>2]|0;xb(387216,52,1,e|0)|0;xb(387272,33,1,e|0)|0;Cb(1)}c[a+(b<<2)+8>>2]=d;e=c[a>>2]|0;c[a>>2]=e+1;d=c[a+4>>2]|0;if((e|0)>=(d<<5|0)){c[a+4>>2]=d+1;e=WEa(110592)|0;c[a+(d<<2)+131076>>2]=e;YGa(e|0,0,110592)|0}return}function fsa(c){c=c|0;var d=0;d=a[c+3>>0]|0;if((d&255)<64){a[c+3>>0]=d+1<<24>>24;b[c+((d&255)<<1)+40>>1]=0;return d&255|0}else Ja(387312,387168,277,387352);return 0}function gsa(e){e=e|0;var f=0,g=0,h=0;g=b[e>>1]|0;if((g&65535)>511)f=-1;else{b[e>>1]=g+1<<16>>16;f=a[e+2>>0]|0;if((g+1&65535)>>>0>(f&255)<<6>>>0){a[e+2>>0]=f+1<<24>>24;h=Doa(2304)|0;c[e+((f&255)<<2)+4>>2]=h;YGa(h|0,0,2304)|0;f=Eoa(c[e+36>>2]|0,(d[e+2>>0]|0)<<6)|0;c[e+36>>2]=f;YGa(f+(g&65535)|0,0,((d[e+2>>0]|0)<<6)-(g&65535)|0)|0}else f=c[e+36>>2]|0;a[f+(g&65535)>>0]=0;f=c[e+(((g&65535)>>>6&65535)<<2)+4>>2]|0;YGa(f+(((g&63)*3|0)+1<<2)+1536|0,0,((f+(((g&63)*3|0)+1<<2)+1544|0)>>>0>(f+((g&63)*3<<2)+1544|0)>>>0?f+(((g&63)*3|0)+1<<2)+1544|0:f+((g&63)*3<<2)+1544|0)+(~((g&63)*3)<<2)+-1536+~f+4&-4|0)|0;f=g&65535}return f|0}function hsa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0;h=i;i=i+80|0;f=c[d+(((b|0)/32|0)<<2)+131076>>2]|0;d=c[96469]|0;if((d|0)>0)do{e=d;d=d+-1|0;isa(d,h+56|0,h+52|0,h+48|0);jsa(+g[h+56>>2],+g[h+52>>2],+g[h+48>>2],a,h);if(!((ksa(h)|0)<<24>>24))do{lsa(h,h+60|0);msa(h+60|0,f,3<<((((b|0)%32|0|0)%16|0)<<1),e<<((((b|0)%32|0|0)%16|0)<<1),((b|0)%32|0|0)/16|0)}while((ksa(h)|0)<<24>>24==0)}while((d|0)>0);i=h;return}function isa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0;if(!a){g[b>>2]=+h[48284]*.05000000074505806;g[c>>2]=+h[48323]*.05000000074505806;e=+h[48245]/360.0;g[d>>2]=e}else if((a|0)==1){g[b>>2]=+h[48297]*.05000000074505806;g[c>>2]=+h[48336]*.05000000074505806;e=+h[48258]/360.0;g[d>>2]=e}else if((a|0)==2){g[b>>2]=+h[48310]*.05000000074505806;g[c>>2]=+h[48349]*.05000000074505806;e=+h[48271]/360.0;g[d>>2]=e}else{g[b>>2]=+h[48310]*.05000000074505806;g[c>>2]=+h[48349]*.05000000074505806;e=+h[48271]/360.0;g[d>>2]=e}if(e>.5)g[d>>2]=.5;return}function jsa(d,e,f,h,i){d=+d;e=+e;f=+f;h=h|0;i=i|0;var j=0.0,k=0.0,l=0.0,m=0.0,n=0,o=0,p=0.0,q=0.0,r=0.0;k=+g[h+20>>2];l=+g[h+12>>2];m=+g[h+16>>2];j=+g[h+24>>2]*.5;a[i+1>>0]=ssa(k-f,24)|0;a[i+2>>0]=ssa(k+f,24)|0;a[i>>0]=0;do if(!(+Q(+k)<.0025)?!(+Q(+(k+-.5))<.0025):0){if(!(+Q(+(k+-.25))<.0025)?!(+Q(+(k+-.75))<.0025):0){if(!(k>0.0&k<.25)?!(k>.5&k<.75):0){q=+Q(+(+T(+(k*6.28318530718))));f=+Q(+(+U(+(k*6.28318530718))));k=l-(j+d)*q-f*e;p=l-(j+d)*q+f*e;r=q*e+(m+(j+d)*f);h=p>l*2.0-p&1;o=qsa(k,.5,24)|0;a[i+3>>0]=o;b[i+8>>1]=0-(~~(f/q*256.0)&65535);b[i+10>>1]=~~(q/f*256.0);b[i+4>>1]=rsa(m+(j+d)*f-q*e-f*(+((o<<24>>24)+1|0)/24.0+-.5-k)/q)|0;b[i+6>>1]=rsa(m+(j+d)*f-q*e+q*(+((o<<24>>24)+1|0)/24.0+-.5-k)/f)|0;c[i+(h*12|0)+12>>2]=1;o=qsa(p,.5,24)|0;a[i+(h*12|0)+16>>0]=o;a[i+(h*12|0)+17>>0]=qsa(r,.5,24)|0;b[i+(h*12|0)+18>>1]=rsa(r+f*(p-(+(o<<24>>24)/24.0+-.5))/q)|0;b[i+(h*12|0)+20>>1]=b[i+8>>1]|0;c[i+((h^1)*12|0)+12>>2]=0;o=qsa(l*2.0-p,.5,24)|0;a[i+((h^1)*12|0)+16>>0]=o;a[i+((h^1)*12|0)+17>>0]=qsa(m*2.0-r,.5,24)|0;b[i+((h^1)*12|0)+18>>1]=rsa(m*2.0-r-q*(l*2.0-p-(+(o<<24>>24)/24.0+-.5))/f)|0;b[i+((h^1)*12|0)+20>>1]=b[i+10>>1]|0;c[i+36>>2]=2;a[i+40>>0]=qsa(l*2.0-k,.5,24)|0;break}f=+Q(+(+T(+(k*6.28318530718))));r=+Q(+(+U(+(k*6.28318530718))));q=l-(j+d)*f-r*e;k=l-(j+d)*f+r*e;p=m-(j+d)*r-f*e;o=k>l*2.0-k&1;h=qsa(q,.5,24)|0;a[i+3>>0]=h;b[i+8>>1]=0-(~~(f/r*256.0)&65535);b[i+10>>1]=~~(r/f*256.0);b[i+4>>1]=rsa(f*e+(m-(j+d)*r)-f*(+((h<<24>>24)+1|0)/24.0+-.5-q)/r)|0;b[i+6>>1]=rsa(f*e+(m-(j+d)*r)+r*(+((h<<24>>24)+1|0)/24.0+-.5-q)/f)|0;c[i+(o*12|0)+12>>2]=0;h=qsa(k,.5,24)|0;a[i+(o*12|0)+16>>0]=h;a[i+(o*12|0)+17>>0]=qsa(p,.5,24)|0;b[i+(o*12|0)+18>>1]=rsa(p-r*(k-(+(h<<24>>24)/24.0+-.5))/f)|0;b[i+(o*12|0)+20>>1]=b[i+10>>1]|0;c[i+((o^1)*12|0)+12>>2]=1;h=qsa(l*2.0-k,.5,24)|0;a[i+((o^1)*12|0)+16>>0]=h;a[i+((o^1)*12|0)+17>>0]=qsa(m*2.0-p,.5,24)|0;b[i+((o^1)*12|0)+18>>1]=rsa(m*2.0-p+f*(l*2.0-k-(+(h<<24>>24)/24.0+-.5))/r)|0;b[i+((o^1)*12|0)+20>>1]=b[i+8>>1]|0;c[i+36>>2]=2;a[i+40>>0]=qsa(l*2.0-q,.5,24)|0;break}a[i+3>>0]=qsa(l-e,.5,24)|0;b[i+4>>1]=rsa(m-j-d)|0;b[i+6>>1]=rsa(m+j+d)|0;b[i+8>>1]=0;b[i+10>>1]=0;c[i+12>>2]=2;a[i+16>>0]=qsa(l+e,.5,24)|0}else n=3;while(0);if((n|0)==3){a[i+3>>0]=qsa(l-j-d,.5,24)|0;b[i+4>>1]=rsa(m-e)|0;b[i+6>>1]=rsa(m+e)|0;b[i+8>>1]=0;b[i+10>>1]=0;c[i+12>>2]=2;a[i+16>>0]=qsa(l+j+d,.5,24)|0}return}function ksa(b){b=b|0;var e=0;e=d[b>>0]|0;if((a[b+3>>0]|0)>(a[b+(e*12|0)+16>>0]|0)?(c[b+(e*12|0)+12>>2]|0)==2:0)b=1;else b=0;return b|0}function lsa(d,f){d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;a[f+3>>0]=a[d+1>>0]|0;a[f+4>>0]=a[d+2>>0]|0;i=a[d+3>>0]|0;a[f>>0]=i;k=b[d+4>>1]|0;a[f+1>>0]=(k&65535)>>>8;g=b[d+6>>1]|0;a[f+2>>0]=(g&65535)>>>8;j=a[d>>0]|0;h=a[d+((j&255)*12|0)+16>>0]|0;do if(i<<24>>24>=h<<24>>24){l=j&255;while(1){a[d+3>>0]=h;i=c[d+(l*12|0)+12>>2]|0;if((i|0)==1){a[f+2>>0]=a[d+(l*12|0)+17>>0]|0;b[d+10>>1]=b[d+(l*12|0)+20>>1]|0;g=b[d+(l*12|0)+18>>1]|0;b[d+6>>1]=g}else if(!i){a[f+1>>0]=a[d+(l*12|0)+17>>0]|0;b[d+8>>1]=b[d+(l*12|0)+20>>1]|0;k=b[d+(l*12|0)+18>>1]|0;b[d+4>>1]=k}else{j=6;break}j=j+1<<24>>24;a[d>>0]=j;l=j&255;i=a[d+(l*12|0)+16>>0]|0;if(h<<24>>24>24){j=7;break}else h=i}if((j|0)==6){a[f>>0]=h;i=k;break}else if((j|0)==7){a[f>>0]=h;i=k;break}}else{h=i;i=k}while(0);a[d+3>>0]=h+1<<24>>24;b[d+4>>1]=(i&65535)+(e[d+8>>1]|0);b[d+6>>1]=(g&65535)+(e[d+10>>1]|0);return}function msa(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=a[b>>0]|0;o=(o|0)<0?0:o;o=(o|0)>23?23:o;i=a[b+1>>0]|0;if(i<<24>>24<0){a[b+1>>0]=0;i=0}j=a[b+2>>0]|0;if(j<<24>>24>23){a[b+2>>0]=23;j=23}if(i<<24>>24<=j<<24>>24){n=d[b+3>>0]|0;m=d[b+4>>0]|0;l=j<<24>>24;k=i<<24>>24;while(1){i=n;while(1){b=e+(o*4608|0)+(k*192|0)+(i<<3)+(h<<2)|0;j=c[b>>2]|0;if((j&f)>>>0>>0)c[b>>2]=j&~f|g;if((i|0)==(m|0))break;i=(i|0)<23?i+1|0:0}if((k|0)<(l|0))k=k+1|0;else break}}return}function nsa(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var j=0,l=0.0,m=0,n=0.0,o=0.0,p=0.0,q=0.0;m=i;i=i+16|0;j=b[e>>1]|0;if((j&65535|0)<=(d|0)){c[m>>2]=d;c[m+4>>2]=j&65535;xoa(387368,m);j=b[e>>1]|0}if((j&65535|0)<=(d|0))Ja(387416,387168,404,387448);j=c[e+(((d|0)/64|0)<<2)+4>>2]|0;l=+g[a+20>>2];if(((g[k>>2]=l,c[k>>2]|0)&2147483647)>>>0>2139095040)Ja(387472,387168,411,387448);else{osa(j+1024|0,(d|0)%64|0,l+0.0,+h[48362]/360.0,f);n=+Q(+(+T(+(l*6.28318530718))));o=+g[a+24>>2]*.5;p=n*(o+ +h[48373]*.05000000074505806);l=+Q(+(+U(+(l*6.28318530718))));q=l*(+h[48384]*.05000000074505806);psa(j,(d|0)%64|0,+g[a+12>>2]+.5,!(p>=q)?q:p,f);l=l*(o+ +h[48373]*.05000000074505806);n=n*(+h[48384]*.05000000074505806);psa(j+512|0,(d|0)%64|0,+g[a+16>>2]+.5,!(l>=n)?n:l,f);i=m;return}}function osa(a,b,d,e,f){a=a|0;b=b|0;d=+d;e=+e;f=f|0;var g=0,h=0,j=0;j=i;i=i+16|0;e=e>.5?.5:e;g=~~+P(+((d-e)*64.0));g=(g|0)<0?g+64|0:g;h=~~+P(+((e+d)*64.0));h=(h|0)>63?h+-64|0:h;if(f){c[j>>2]=g;c[j+4>>2]=h;jN(387952,j)}c[a+(g<<3)+(((b|0)/32|0)<<2)>>2]=c[a+(g<<3)+(((b|0)/32|0)<<2)>>2]|1<<(b&31);if((g|0)!=(h|0))do{g=(g|0)<63?g+1|0:0;f=a+(g<<3)+(((b|0)/32|0)<<2)|0;c[f>>2]=c[f>>2]|1<<(b&31)}while((g|0)!=(h|0));i=j;return}function psa(a,b,d,e,f){a=a|0;b=b|0;d=+d;e=+e;f=f|0;var g=0,h=0,j=0;j=i;i=i+16|0;g=~~+P(+((d-e)*64.0));g=(g|0)<0?0:g;h=~~+P(+((d+e)*64.0));h=(h|0)>63?63:h;if(f){c[j>>2]=g;c[j+4>>2]=h;jN(387984,j)}if((g|0)<=(h|0))while(1){f=a+(g<<3)+(((b|0)/32|0)<<2)|0;c[f>>2]=c[f>>2]|1<<(b&31);if((g|0)<(h|0))g=g+1|0;else break}i=j;return}function qsa(a,b,c){a=+a;b=+b;c=c|0;var d=0;d=ok(+P(+((a+b)*+(c|0))))|0;if((d|0)<0)d=0;else d=((d|0)>(c+-1|0)?c+-1|0:d)&255;return d|0}function rsa(a){a=+a;var b=0;b=ok(+P(+((a+.5)*6144.0)))|0;if((b|0)<0)b=0;else b=(b|0)>6143?6143:b&65535;return b|0}function ssa(a,b){a=+a;b=b|0;return ((((ok(+P(+((a+0.0)*+(b|0))))|0)%(b|0)|0)+b|0)%(b|0)|0)&255|0}function tsa(a,e,f){a=a|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;h=b[f>>1]|0;if(!(h<<16>>16))g=0;else{i=0;g=0;do{if(c[a+(((i|0)/32|0)<<2)>>2]&1<<(i&31)){j=(c[f+(((i|0)/64|0)<<2)+4>>2]|0)+(((i|0)%64|0)*12|0)+(((e|0)/32|0)<<2)+1540|0;c[j>>2]=c[j>>2]|1<<(e&31);g=(d[(c[f+36>>2]|0)+i>>0]|0)+g|0}i=i+1|0}while((i|0)<(h&65535|0))}b[f+(e<<1)+40>>1]=g;return}function usa(b,f,h,j){b=b|0;f=f|0;h=h|0;j=j|0;var k=0.0,l=0,m=0,n=0;n=i;i=i+16|0;if((e[j>>1]|0)<=(h|0))Ja(387416,387168,534,387488);m=c[j+(((h|0)/64|0)<<2)+4>>2]|0;k=+g[f>>2]*128.0;if(!(k<-128.0)){if(k>127.0)k=127.0}else k=-128.0;a[m+(((h|0)%64|0)*12|0)+1536>>0]=~~+P(+k);k=+g[f+4>>2]*-256.0;if(!(k<0.0)){if(k>255.0)k=255.0}else k=0.0;a[m+(((h|0)%64|0)*12|0)+1537>>0]=~~+P(+k);k=+g[f+8>>2]*128.0;if(!(k<-128.0)){if(k>127.0)k=127.0}else k=-128.0;a[m+(((h|0)%64|0)*12|0)+1538>>0]=~~+P(+k);k=+g[f+20>>2]*256.0;if(k<0.0|k>=256.0)l=0;else l=~~k&255;a[m+(((h|0)%64|0)*12|0)+1539>>0]=l;k=+g[f+24>>2]/.05000000074505806+.5;if(!(k<1.0)){if(k>255.0)k=255.0}else k=1.0;f=~~+P(+k)&255;a[(c[j+36>>2]|0)+h>>0]=f;if((c[b+1100>>2]|0)>1){l=d[m+(((h|0)%64|0)*12|0)+1537>>0]|0;f=a[m+(((h|0)%64|0)*12|0)+1538>>0]|0;b=d[(c[j+36>>2]|0)+h>>0]|0;c[n>>2]=a[m+(((h|0)%64|0)*12|0)+1536>>0];c[n+4>>2]=l;c[n+8>>2]=f;c[n+12>>2]=b;xoa(387504,n)}i=n;return}function vsa(){var a=0;a=Doa(135172)|0;YGa(a|0,0,131076)|0;return a|0}function wsa(){var d=0,e=0,f=0;f=Doa(172)|0;a[f+2>>0]=1;b[f>>1]=0;a[f+3>>0]=0;e=0;do{d=Doa(2304)|0;YGa(d|0,0,2304)|0;c[f+4+(e<<2)>>2]=d;e=e+1|0;d=a[f+2>>0]|0}while((e|0)<(d&255|0));if(!(d<<24>>24))c[f+36>>2]=0;else{e=Doa((d&255)<<6)|0;c[f+36>>2]=e;YGa(e|0,0,(d&255)<<6|0)|0}e=f+40|0;d=e+128|0;do{b[e>>1]=0;e=e+2|0}while((e|0)<(d|0));return f|0}function xsa(b){b=b|0;var e=0;if(a[b+2>>0]|0){e=0;do{Foa(c[b+(e<<2)+4>>2]|0);e=e+1|0}while((e|0)<(d[b+2>>0]|0))}e=c[b+36>>2]|0;if(e)Foa(e);Foa(b);return}function ysa(a){a=a|0;var b=0,d=0,e=0;if((c[a>>2]|0)>0){b=0;do{xsa(c[a+(b<<2)+8>>2]|0);b=b+1|0}while((b|0)<(c[a>>2]|0))}b=c[a+4>>2]|0;if((b|0)>0){e=0;do{d=c[a+(e<<2)+131076>>2]|0;if(d){YEa(d);b=c[a+4>>2]|0}e=e+1|0}while((e|0)<(b|0))}Foa(a);return}function zsa(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;I=i;i=i+16|0;D=XEa(65534)|0;E=XEa(131068)|0;G=XEa(4096)|0;H=vsa()|0;if((Ha(I+12|0,4,1,e|0)|0)!=1)xoa(387552,I);if(!((Ha(H|0,4,1,e|0)|0)==1?(Ha(H+4|0,4,1,e|0)|0)==1:0))xoa(387552,I);F=(c[H+4>>2]|0)>>>0>1024;if(F){_K(H+4|0,4);_K(H,4);_K(I+12|0,4)}k=c[H>>2]|0;if((k|0)<0){if((Ha(H|0,4,1,e|0)|0)!=1)xoa(387552,I);if(F)_K(H,4);f=(k|0)>-3?32:64;g=(k|0)>-3?1:2;if((k|0)>-2){m=(k|0)>-3;l=0-k|0;C=9}else{A=f;z=0;y=(k|0)>-3;B=0-k|0}}else{f=32;g=1;m=1;l=0;C=9}if((C|0)==9){h=c[I+12>>2]|0;if((h|0)>0){j=0;do{if((Ha(D+(j<<1)|0,2,1,e|0)|0)!=1)xoa(387552,I);j=j+1|0}while((j|0)!=(h|0))}h=c[H>>2]|0;if((h|0)>0){j=0;do{if((Ha(E+(j<<2)|0,4,1,e|0)|0)!=1)xoa(387552,I);j=j+1|0}while((j|0)!=(h|0));if(F){j=0;do{_K(D+(j<<1)|0,2);j=j+1|0}while((j|0)!=(h|0));j=0;do{_K(E+(j<<2)|0,4);j=j+1|0}while((j|0)!=(h|0));A=f;z=1;y=m;B=l}else{A=f;z=1;y=m;B=l}}else{A=f;z=1;y=m;B=l}}h=c[H+4>>2]|0;if((h|0)>0){m=0;do{k=WEa(110592)|0;if((Ha(k|0,1,110592,e|0)|0)!=110592)xoa(387552,I);if(F){j=0;do{f=0;do{l=0;do{_K(k+(j*4608|0)+(f*192|0)+(l<<3)|0,4);_K(k+(j*4608|0)+(f*192|0)+(l<<3)+4|0,4);l=l+1|0}while((l|0)!=24);f=f+1|0}while((f|0)!=24);j=j+1|0}while((j|0)!=24)}if(z)c[G+(m<<2)>>2]=k;else{c[H+(m<<2)+131076>>2]=k;h=c[H+4>>2]|0}m=m+1|0}while((m|0)<(h|0))}f=c[H>>2]|0;if(z){if((f|0)>0){j=0;k=0;do{x=c[E+(j<<2)>>2]|0;k=(x|0)>(k|0)?x:k;j=j+1|0}while((j|0)!=(f|0));if((k|0)>=-31){j=(k|0)/32|0;C=44}}else{j=0;C=44}if((C|0)==44){h=0;while(1){x=WEa(110592)|0;c[H+(h<<2)+131076>>2]=x;YGa(x|0,0,110592)|0;if((h|0)<(j|0))h=h+1|0;else break}f=c[H>>2]|0;h=c[H+4>>2]|0}j=(f<<1)+-1|0;if((h|0)>0){t=0;while(1){o=c[G+(t<<2)>>2]|0;p=t<<6;v=0;do{w=0;do{x=0;do{u=0;do{q=o+(v*4608|0)+(w*192|0)+(x<<3)+(u<<2)|0;a:do if(c[q>>2]|0){r=(u<<5)+p|0;s=0;do{m=r+s|0;if((m|0)>(j|0))break a;l=c[E+(((m|0)/2|0)<<2)>>2]|0;m=c[q>>2]&3<(s|0))m=m<>>(s-k|0);l=(c[H+(((l|0)/32|0)<<2)+131076>>2]|0)+(v*4608|0)+(w*192|0)+(x<<3)+((((l|0)%32|0|0)/16|0)<<2)|0;c[l>>2]=c[l>>2]&~(3<>2]|0;if(j)YEa(j);k=k+1|0}while((k|0)!=(h|0))}}if((f|0)>0){w=(B|0)==0;v=(B|0)<4;u=0;do{x=Doa(172)|0;if(!(((Ha(x|0,2,1,e|0)|0)==1?(Ha(x+2|0,1,1,e|0)|0)==1:0)?(Ha(x+3|0,1,1,e|0)|0)==1:0))xoa(387552,I);if(w){k=0;do{if((Ha(I+8|0,4,1,e|0)|0)!=1)xoa(387552,I);k=k+1|0}while((k|0)!=5)}if(v){k=0;do{if((Ha(x+40+(k<<1)|0,2,1,e|0)|0)!=1)xoa(387552,I);k=k+1|0}while((k|0)<(A|0));if(F){_K(x,2);k=0;do{_K(x+40+(k<<1)|0,2);k=k+1|0}while((k|0)<(A|0))}}else{k=a[x+3>>0]|0;if((k&255)>>>0>=A>>>0){c[I>>2]=387168;c[I+4>>2]=966;$L(385728,387576,2,1702e3,I);k=a[x+3>>0]|0}if(k<<24>>24){k=0;do{if((Ha(x+40+(k<<1)|0,2,1,e|0)|0)!=1)xoa(387552,I);k=k+1|0}while((k|0)<(d[x+3>>0]|0|0))}if(F){_K(x,2);k=0;do{_K(x+40+(k<<1)|0,2);k=k+1|0}while((k|0)<(A|0))}}if(z)c[H+(c[E+(u<<2)>>2]<<2)+8>>2]=x;else c[H+(u<<2)+8>>2]=x;k=a[x+2>>0]|0;if(k<<24>>24){l=Doa((k&255)<<6)|0;t=Ha(l|0,1,(d[x+2>>0]|0)<<6|0,e|0)|0;k=a[x+2>>0]|0;if((t|0)!=((k&255)<<6|0)){xoa(387552,I);k=a[x+2>>0]|0}c[x+36>>2]=l;if(k<<24>>24){j=0;do{k=Doa(2304)|0;do if(y){if((Ha(k|0,1,1536,e|0)|0)!=1536)xoa(387552,I);m=0;do{do if((Ha(k+1536+(m*12|0)|0,1,1,e|0)|0)==1){if((Ha(k+1536+(m*12|0)+1|0,1,1,e|0)|0)!=1){C=111;break}if((Ha(k+1536+(m*12|0)+2|0,1,1,e|0)|0)!=1){C=111;break}if((Ha(k+1536+(m*12|0)+3|0,1,1,e|0)|0)==1)l=0;else C=111}else C=111;while(0);if((C|0)==111){C=0;xoa(387552,I);l=0}do{if((Ha(k+1536+(m*12|0)+(l<<2)+4|0,1,4,e|0)|0)!=4)xoa(387552,I);l=l+1|0}while((l|0)<(g|0));m=m+1|0}while((m|0)!=64)}else{if((Ha(k|0,1,2304,e|0)|0)==2304)break;xoa(387552,I)}while(0);if(F){m=0;do{_K(k+(m<<3)|0,4);_K(k+(m<<3)+4|0,4);m=m+1|0}while((m|0)!=64);m=0;do{_K(k+(m<<3)+512|0,4);_K(k+(m<<3)+516|0,4);m=m+1|0}while((m|0)!=64);m=0;do{_K(k+(m<<3)+1024|0,4);_K(k+(m<<3)+1028|0,4);m=m+1|0}while((m|0)!=64);m=0;do{l=0;do{_K(k+1536+(m*12|0)+(l<<2)+4|0,4);l=l+1|0}while((l|0)<(g|0));m=m+1|0}while((m|0)!=64)}c[x+4+(j<<2)>>2]=k;j=j+1|0}while((j|0)<(d[x+2>>0]|0|0))}}else c[x+36>>2]=0;if(!v){Ha(x+168|0,4,1,e|0)|0;if(F)_K(x+168|0,4)}else c[x+168>>2]=-1;u=u+1|0;f=c[H>>2]|0}while((u|0)<(f|0))}b:do if(z){if(c[H+8>>2]|0)Ja(387616,387168,1045,387648);g=wsa()|0;c[H+8>>2]=g;c[g+168>>2]=-1;j=f+1|0;c[H>>2]=j;h=0;while(1){f=(g|0)==0;if((h|0)<(j|0)){if(f){C=136;break}}else if(!f){C=138;break}f=h+1|0;if((f|0)>=32767)break b;g=c[H+(f<<2)+8>>2]|0;h=f}if((C|0)==136){xb(387672,36,1,c[n>>2]|0)|0;Cb(1)}else if((C|0)==138){C=c[n>>2]|0;c[I>>2]=h;c[I+4>>2]=j;zb(C|0,387712,I|0)|0;Cb(1)}}while(0);if((B|0)>3){Dsa(b+1996|0,e,Csa(55)|0,F);if((B|0)>4)Dsa(b+1996|0,e,Csa(56)|0,F);Fsa(b+2020|0,e,Esa()|0,F)}ZEa(D);ZEa(E);ZEa(G);i=I;return H|0}function Asa(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;k=i;i=i+16|0;c[k+12>>2]=g;c[k+8>>2]=-5;h=c[f>>2]|0;if((h|0)!=(g|0)){c[k>>2]=h;c[k+4>>2]=g;xoa(387768,k)}xb(k+12|0,4,1,e|0)|0;xb(k+8|0,4,1,e|0)|0;xb(f+4|0,4,1,e|0)|0;xb(f|0,4,1,e|0)|0;if((c[f+4>>2]|0)>0){h=0;do{xb(c[f+(h<<2)+131076>>2]|0,110592,1,e|0)|0;h=h+1|0}while((h|0)<(c[f+4>>2]|0))}if((c[f>>2]|0)>0){j=0;do{h=c[f+(j<<2)+8>>2]|0;xb(h|0,2,1,e|0)|0;Fc(a[h+2>>0]|0,e|0)|0;g=d[h+3>>0]|0;if((g|0)!=(c[(pqa(b+2020|0,c[h+168>>2]|0)|0)>>2]|0)){c[k>>2]=387168;c[k+4>>2]=1189;$L(385728,387880,2,1702e3,k)}Fc(a[h+3>>0]|0,e|0)|0;if(a[h+3>>0]|0){g=0;do{xb(h+(g<<1)+40|0,2,1,e|0)|0;g=g+1|0}while((g|0)<(d[h+3>>0]|0))}g=a[h+2>>0]|0;if(g<<24>>24!=0?(xb(c[h+36>>2]|0,1,(g&255)<<6|0,e|0)|0,(a[h+2>>0]|0)!=0):0){g=0;do{xb(c[h+(g<<2)+4>>2]|0,2304,1,e|0)|0;g=g+1|0}while((g|0)<(d[h+2>>0]|0))}xb(h+168|0,4,1,e|0)|0;j=j+1|0}while((j|0)<(c[f>>2]|0))}Hsa(b+1996|0,e,Gsa(55)|0);Hsa(b+1996|0,e,Gsa(56)|0);Jsa(b+2020|0,e,Isa()|0);i=k;return}function Bsa(){c[96432]=1701984;c[96434]=389976;c[96436]=390024;c[96438]=390056;c[96440]=390112;c[96442]=390152;c[96444]=390184;c[96446]=390240;c[96448]=390280;c[96450]=390328;c[96452]=390376;c[96454]=390400;c[96456]=390432;c[96458]=390504;c[96460]=390552;c[96462]=390592;c[96464]=390640;rJ(385864,3,385888,385912,0,kM()|0);tJ(385944,45.0,385984,386016,kM()|0);tJ(386048,20.0,386088,386120,kM()|0);tJ(386152,10.0,386192,386224,kM()|0);tJ(386256,.5,386296,386328,kM()|0);tJ(386360,.5,386400,386432,kM()|0);tJ(386464,.5,386504,386536,kM()|0);tJ(386568,2.5,386608,386640,kM()|0);tJ(386672,1.2,386712,386744,kM()|0);tJ(386776,.6,386816,386848,kM()|0);tJ(386880,45.0,386920,386944,kM()|0);tJ(386968,.5,387008,387032,kM()|0);tJ(387056,2.5,387096,387120,kM()|0);return}function Csa(a){a=a|0;var b=0;b=WEa(8)|0;c[b>>2]=388600;c[b+4>>2]=a;return b|0}function Dsa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;a:do if((Ha(g|0,4,1,b|0)|0)==1){if(e)_K(g,4);$I(a,c[g>>2]|0);if((Ha(a|0,4,1,b|0)|0)==1){if(e)_K(a,4);if(!d){f=Ha(c[a+8>>2]|0,16,c[a>>2]|0,b|0)|0;if((((f|0)!=(c[a>>2]|0)|e^1)^1)&(f|0)>0)d=0;else break;while(1){_K((c[a+8>>2]|0)+(d<<4)|0,16);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a}}b:do if((c[a>>2]|0)>0){f=0;while(1){if(!(ed[c[(c[d>>2]|0)+8>>2]&15](d,b,(c[a+8>>2]|0)+(f<<4)|0,e)|0))break;f=f+1|0;if((f|0)>=(c[a>>2]|0))break b}Qc[c[(c[d>>2]|0)+4>>2]&511](d);break a}while(0);Qc[c[(c[d>>2]|0)+4>>2]&511](d)}}while(0);i=g;return}function Esa(){var a=0;a=WEa(8)|0;c[a>>2]=388408;c[a+4>>2]=57;return a|0}function Fsa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;a:do if((Ha(g|0,4,1,b|0)|0)==1){if(e)_K(g,4);Wqa(a,c[g>>2]|0);if((Ha(a|0,4,1,b|0)|0)==1){if(e)_K(a,4);if(!d){f=Ha(c[a+8>>2]|0,8,c[a>>2]|0,b|0)|0;if((((f|0)!=(c[a>>2]|0)|e^1)^1)&(f|0)>0)d=0;else break;while(1){_K((c[a+8>>2]|0)+(d<<3)|0,8);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a}}b:do if((c[a>>2]|0)>0){f=0;while(1){if(!(ed[c[(c[d>>2]|0)+8>>2]&15](d,b,(c[a+8>>2]|0)+(f<<3)|0,e)|0))break;f=f+1|0;if((f|0)>=(c[a>>2]|0))break b}Qc[c[(c[d>>2]|0)+4>>2]&511](d);break a}while(0);Qc[c[(c[d>>2]|0)+4>>2]&511](d)}}while(0);i=g;return}function Gsa(a){a=a|0;var b=0;b=WEa(8)|0;c[b>>2]=388216;c[b+4>>2]=a;return b|0}function Hsa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;a:do if((xb(a+4|0,4,1,b|0)|0)==1?(xb(a|0,4,1,b|0)|0)==1:0){if(!d){xb(c[a+8>>2]|0,16,c[a>>2]|0,b|0)|0;break}b:do if((c[a>>2]|0)>0){e=0;while(1){if(!(Vc[c[(c[d>>2]|0)+8>>2]&63](d,b,(c[a+8>>2]|0)+(e<<4)|0)|0))break;e=e+1|0;if((e|0)>=(c[a>>2]|0))break b}Qc[c[(c[d>>2]|0)+4>>2]&511](d);break a}while(0);Qc[c[(c[d>>2]|0)+4>>2]&511](d)}while(0);return}function Isa(){var a=0;a=WEa(8)|0;c[a>>2]=388024;c[a+4>>2]=57;return a|0}function Jsa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;a:do if((xb(a+4|0,4,1,b|0)|0)==1?(xb(a|0,4,1,b|0)|0)==1:0){if(!d){xb(c[a+8>>2]|0,8,c[a>>2]|0,b|0)|0;break}b:do if((c[a>>2]|0)>0){e=0;while(1){if(!(Vc[c[(c[d>>2]|0)+8>>2]&63](d,b,(c[a+8>>2]|0)+(e<<3)|0)|0))break;e=e+1|0;if((e|0)>=(c[a>>2]|0))break b}Qc[c[(c[d>>2]|0)+4>>2]&511](d);break a}while(0);Qc[c[(c[d>>2]|0)+4>>2]&511](d)}while(0);return}function Ksa(a){a=a|0;return}function Lsa(a){a=a|0;YEa(a);return}function Msa(a,b,d){a=a|0;b=b|0;d=d|0;return bd[c[a+4>>2]&63](b,d)|0}function Nsa(a){a=a|0;return}function Osa(a){a=a|0;YEa(a);return}function Psa(a,b,d){a=a|0;b=b|0;d=d|0;return bd[c[a+4>>2]&63](b,d)|0}function Qsa(a){a=a|0;return}function Rsa(a){a=a|0;YEa(a);return}function Ssa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;return Vc[c[a+4>>2]&63](b,d,e)|0}function Tsa(a){a=a|0;return}function Usa(a){a=a|0;YEa(a);return}function Vsa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;return Vc[c[a+4>>2]&63](b,d,e)|0} -function Fia(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=c[a+28>>2]|0;while(1){if((h|0)<=0){e=0;break}e=h+-1|0;if(!(az(c[a+4>>2]|0,c[(c[a+8>>2]|0)+(e<<2)>>2]|0)|0)){f=0;g=6;break}if((qC(a,e)|0)==2)h=e;else{f=0;g=6;break}}a:do if((g|0)==6)while(1){if(!(az(c[a+4>>2]|0,c[(c[a+8>>2]|0)+(f<<2)>>2]|0)|0)){e=f;break a}e=f+1|0;if((qC(a,f)|0)!=2){e=f;break a}if((e|0)<(h|0)){f=e;g=6}else break}while(0);c[b>>2]=e;c[d>>2]=h;return}function Gia(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0;h=i;i=i+16|0;if(!((d|0)>-1?(c[b+28>>2]|0)>=(d|0):0)){c[h>>2]=364472;c[h+4>>2]=393;$L(364224,364496,2,1702e3,h)}if(!((e|0)>-1?(c[b+28>>2]|0)>=(e|0):0)){c[h>>2]=364472;c[h+4>>2]=394;$L(364224,364528,2,1702e3,h)}f=(e|0)<(d|0)?d:e;rv(a,c[b+4>>2]|0,f-d|0);if((f|0)>(d|0)){e=d;do{sv(a,c[(c[b+8>>2]|0)+(e<<2)>>2]|0,c[(c[b+16>>2]|0)+(e<<2)>>2]|0,0.0,+g[(c[b+20>>2]|0)+(e<<2)>>2]);e=e+1|0}while((e|0)<(f|0))}i=h;return}function Hia(a){a=a|0;var b=0,d=0;a:do if((c[a+28>>2]|0)>0){b=0;while(1){d=sC(c[a+4>>2]|0,c[(c[a+8>>2]|0)+(b<<2)>>2]|0)|0;if((d|0)==1|(d|0)==13){b=1;break a}b=b+1|0;if((b|0)>=(c[a+28>>2]|0)){b=0;break}}}else b=0;while(0);return b|0}function Iia(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;fN(b,1714496);if(d)fN(d,1714496);if((c[a+28>>2]|0)>0){f=0;do{e=NN(c[a+4>>2]|0,c[(c[a+8>>2]|0)+(f<<2)>>2]|0)|0;dN(b,e);if(d)hN(d,(SGa(e|0)|0)&255);f=f+1|0}while((f|0)<(c[a+28>>2]|0))}return}function Jia(a,b,d){a=a|0;b=b|0;d=+d;if((c[a+28>>2]|0)==(c[a+24>>2]|0))Wia(a);sv(a,b,1,0.0,d);return}function Kia(b,d){b=b|0;d=d|0;var e=0.0,f=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((c[b+4>>2]|0)!=(c[d+4>>2]|0)){c[r>>2]=364472;c[r+4>>2]=464;$L(364224,364560,2,1702e3,r)}h=c[b+28>>2]|0;f=c[d+28>>2]|0;if((c[b+24>>2]|0)<(f+h|0))do{Wia(b);h=c[b+28>>2]|0;f=c[d+28>>2]|0}while((c[b+24>>2]|0)<(f+h|0));q=c[d+8>>2]|0;if((f|0)>0){k=c[b+8>>2]|0;p=c[d+16>>2]|0;l=c[b+16>>2]|0;m=c[d+20>>2]|0;n=c[b+20>>2]|0;o=c[b+12>>2]|0;j=0;do{c[k+(h+j<<2)>>2]=c[q+(j<<2)>>2];c[l+((c[b+28>>2]|0)+j<<2)>>2]=c[p+(j<<2)>>2];h=c[b+28>>2]|0;f=h+j|0;g[n+(f<<2)>>2]=+g[m+(j<<2)>>2];c[o+(f<<2)>>2]=qC(d,j)|0;j=j+1|0;f=c[d+28>>2]|0}while((j|0)<(f|0))}c[b+28>>2]=h+f;e=+g[d+32>>2];if(e>+g[b+32>>2])g[b+32>>2]=e;g[b+36>>2]=+g[d+36>>2]+ +g[b+36>>2];e=+g[d+40>>2];if(e<+g[b+40>>2])g[b+40>>2]=e;if(a[d+54>>0]|0)a[b+54>>0]=1;h=a[b+52>>0]|0;f=a[d+52>>0]|0;if(h<<24>>24){if(!(f<<24>>24==0?1:f<<24>>24==h<<24>>24))a[b+52>>0]=12}else a[b+52>>0]=f;i=r;return}function Lia(b,d){b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=c[d+28>>2]|0;if((c[b+24>>2]|0)<(e|0))do{Wia(b);e=c[d+28>>2]|0}while((c[b+24>>2]|0)<(e|0));c[b+4>>2]=c[d+4>>2];n=c[d+8>>2]|0;if((e|0)>0){f=c[b+8>>2]|0;k=c[d+16>>2]|0;l=c[b+16>>2]|0;h=c[d+20>>2]|0;i=c[b+20>>2]|0;j=c[b+12>>2]|0;m=0;do{c[f+(m<<2)>>2]=c[n+(m<<2)>>2];c[l+(m<<2)>>2]=c[k+(m<<2)>>2];g[i+(m<<2)>>2]=+g[h+(m<<2)>>2];c[j+(m<<2)>>2]=qC(d,m)|0;m=m+1|0;e=c[d+28>>2]|0}while((m|0)<(e|0))}c[b+28>>2]=e;g[b+32>>2]=+g[d+32>>2];g[b+36>>2]=+g[d+36>>2];g[b+40>>2]=+g[d+40>>2];g[b+44>>2]=+g[d+44>>2];g[b+48>>2]=+g[d+48>>2];a[b+52>>0]=a[d+52>>0]|0;a[b+54>>0]=a[d+54>>0]|0;return}function Mia(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0.0,h=0.0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+32|0;f=c[a+28>>2]|0;if((f|0)>0)YGa(c[a+12>>2]|0,0,((f|0)>1?f<<2:4)|0)|0;f=c[e>>2]|0;do if((f|0)!=0?(f|0)==(Nia(a)|0):0){c[o+0>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;c[o+12>>2]=0;f=c[a+28>>2]|0;if((f|0)>0){n=0;m=0;while(1){k=c[(Vy(e,m)|0)>>2]|0;j=bx(a,n)|0;Eba(o+24|0,c[k>>2]|0);k=c[a+16>>2]|0;if((k|0)!=0?(c[k+(n<<2)>>2]|0)>1:0){k=1;do{m=m+1|0;Eba(o+16|0,c[c[(Vy(e,m)|0)>>2]>>2]|0);bja(o+24|0,o+16|0);k=k+1|0}while((k|0)<(c[(c[a+16>>2]|0)+(n<<2)>>2]|0));l=m}else l=m;m=Oia(c[a+4>>2]|0,b[o+26>>1]|0,b[o+30>>1]|0,j)|0;k=(c[a+12>>2]|0)+(n<<2)|0;c[k>>2]=m;if(d)if((m|0)==3)m=3;else{c[k>>2]=0;m=0}f=o+(m<<2)|0;c[f>>2]=(c[f>>2]|0)+1;n=n+1|0;f=c[a+28>>2]|0;if((n|0)>=(f|0))break;else m=l+1|0}h=+(c[o+4>>2]|0)}else h=0.0;g=+(f|0)*.75;if(h>g){if((f|0)<=0)break}else if(!((f|0)>0?+(c[o+8>>2]|0)>g:0))break;j=c[a+12>>2]|0;m=0;do{k=j+(m<<2)|0;l=c[k>>2]|0;if((l+-1|0)>>>0<2){c[o+(l<<2)>>2]=(c[o+(l<<2)>>2]|0)+-1;c[o>>2]=(c[o>>2]|0)+1;c[k>>2]=0}m=m+1|0}while((m|0)<(f|0))}while(0);i=o;return}function Nia(a){a=a|0;var b=0,d=0,e=0;e=c[a+28>>2]|0;if((e|0)>0){b=c[a+16>>2]|0;d=0;a=0;do{a=(c[b+(d<<2)>>2]|0)+a|0;d=d+1|0}while((d|0)!=(e|0))}else a=0;return a|0}function Oia(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;FB(a,e,f+12|0,f+8|0,f+4|0,f);e=(c[f+8>>2]|0)+20|0;if(b<<16>>16>=-127)if(b<<16>>16<44?(d<<16>>16|0)<((c[f+4>>2]|0)+-20|0):0)e=1;else e=(b<<16>>16|0)>(e|0)?2:0;else e=3;i=f;return e|0}function Pia(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[a+28>>2]|0;if((e|0)>0){a=c[a+12>>2]|0;d=0;do{c[a+(d<<2)>>2]=b;d=d+1|0}while((d|0)!=(e|0))}return}function Qia(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=c[a+4>>2]|0;j=c[b+20>>2]|0;k=XEa(j>>>0>1073741823?-1:j<<2)|0;if((j|0)>0)YGa(k|0,0,j<<2|0)|0;d=c[a+28>>2]|0;if((d|0)>0){e=0;do{d=k+((nO(b,bx(a,e)|0)|0)<<2)|0;c[d>>2]=(c[d>>2]|0)+1;e=e+1|0;d=c[a+28>>2]|0;b=c[a+4>>2]|0}while((e|0)<(d|0))}h=b+56|0;e=c[h>>2]|0;i=b+36|0;a=c[i>>2]|0;if((e|0)!=(a|0)){f=b+60|0;g=c[f>>2]|0;if((g|0)!=(a|0)){c[k+(e<<2)>>2]=(c[k+(e<<2)>>2]|0)+(c[k+(g<<2)>>2]|0);c[k+(c[f>>2]<<2)>>2]=0;a=c[i>>2]|0}e=b+64|0;b=c[e>>2]|0;if((b|0)!=(a|0)){h=k+(c[h>>2]<<2)|0;c[h>>2]=(c[h>>2]|0)+(c[k+(b<<2)>>2]|0);c[k+(c[e>>2]<<2)>>2]=0}}if((j|0)>1){b=0;e=1;do{b=(c[k+(e<<2)>>2]|0)<(c[k+(b<<2)>>2]|0)?b:e;e=e+1|0}while((e|0)!=(j|0))}else b=0;if((c[k+(b<<2)>>2]|0)<((d|0)/2|0|0))b=c[i>>2]|0;ZEa(k);return b|0}function Ria(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=c[a+28>>2]|0;a:do if((h|0)>0){a=c[a+16>>2]|0;f=0;g=0;while(1){d=a+(f<<2)|0;e=c[d>>2]|0;g=e+g|0;f=f+1|0;if((g|0)>(b|0))break;if((f|0)>=(h|0))break a}c[d>>2]=e+1}while(0);return}function Sia(a,b){a=a|0;b=b|0;var e=0,f=0,j=0.0,l=0.0,m=0.0,n=0.0;f=i;i=i+48|0;c[f>>2]=b;jN(364600,f);if((c[a+28>>2]|0)>0){b=0;do{c[f>>2]=MN(c[a+4>>2]|0,c[(c[a+8>>2]|0)+(b<<2)>>2]|0)|0;jN(383368,f);b=b+1|0}while((b|0)<(c[a+28>>2]|0))}n=+g[a+40>>2];m=+g[a+32>>2];b=d[a+52>>0]|0;l=+g[a+44>>2];j=+g[a+48>>2];e=d[a+54>>0]|0;h[k>>3]=+g[a+36>>2];c[f>>2]=c[k>>2];c[f+4>>2]=c[k+4>>2];h[k>>3]=n;c[f+8>>2]=c[k>>2];c[f+12>>2]=c[k+4>>2];h[k>>3]=m;c[f+16>>2]=c[k>>2];c[f+20>>2]=c[k+4>>2];c[f+24>>2]=b;h[k>>3]=l;c[f+28>>2]=c[k>>2];c[f+32>>2]=c[k+4>>2];h[k>>3]=j;c[f+36>>2]=c[k>>2];c[f+40>>2]=c[k+4>>2];c[f+44>>2]=e;jN(364608,f);jN(364664,f);if((c[a+28>>2]|0)>0){e=0;do{b=c[(c[a+12>>2]|0)+(e<<2)>>2]|0;if(!b)b=364384;else if((b|0)==2)b=364400;else if((b|0)==1)b=364392;else if((b|0)==3)b=364408;else b=364416;c[f>>2]=b;jN(364672,f);e=e+1|0}while((e|0)<(c[a+28>>2]|0))}jN(364680,f);if((c[a+28>>2]|0)>0){b=0;do{c[f>>2]=MN(c[a+4>>2]|0,c[(c[a+8>>2]|0)+(b<<2)>>2]|0)|0;jN(364672,f);b=b+1|0}while((b|0)<(c[a+28>>2]|0))}jN(364688,f);if((c[a+28>>2]|0)>0){b=0;do{c[f>>2]=c[(c[a+16>>2]|0)+(b<<2)>>2];jN(364696,f);b=b+1|0}while((b|0)<(c[a+28>>2]|0))}jN(364704,f);if((c[a+28>>2]|0)>0){b=0;do{h[k>>3]=+g[(c[a+20>>2]|0)+(b<<2)>>2];c[f>>2]=c[k>>2];c[f+4>>2]=c[k+4>>2];jN(364712,f);b=b+1|0}while((b|0)<(c[a+28>>2]|0))}jN(1714256,f);i=f;return}function Tia(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;c[d>>2]=306184;jN(383368,d);if((c[a+28>>2]|0)>0){b=0;do{c[d>>2]=c[(c[a+16>>2]|0)+(b<<2)>>2];jN(364720,d);b=b+1|0}while((b|0)<(c[a+28>>2]|0))}jN(1714256,d);i=d;return}function Uia(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;j=i;i=i+16|0;d=c[a+4>>2]|0;a:do if((c[b+4>>2]|0)==(d|0)?(Eia(a,j+12|0,j+8|0),Eia(b,j+4|0,j),e=c[j+12>>2]|0,f=(c[j+8>>2]|0)-e|0,g=c[j+4>>2]|0,(f|0)==((c[j>>2]|0)-g|0)):0)if((f|0)>0){h=0;while(1){k=MK(d,bx(a,e+h|0)|0)|0;if((k|0)!=(MK(d,bx(b,g+h|0)|0)|0)){d=0;break a}h=h+1|0;if((h|0)>=(f|0)){d=1;break}}}else d=1;else d=0;while(0);i=j;return d|0}function Via(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;if(!(NL(d)|0)){c[f>>2]=b;jN(364728,f)}else{if(a[b>>0]|0){c[f>>2]=b;jN(1701528,f)}c[f+4>>2]=0;pk(f+4|0,d);rk(f+4|0);if(!(sk(f+4|0)|0))do{kS(tk(f+4|0)|0,e);if(!(Ov(f+4|0)|0))jN(1714256,f);OL(f+4|0)|0}while(!(sk(f+4|0)|0));jN(1714256,f);oc(c[p>>2]|0)|0}i=f;return}function Wia(a){a=a|0;var b=0;b=c[a+24>>2]|0;if((b|0)>0){c[a+8>>2]=Xia(b,c[a+8>>2]|0)|0;c[a+12>>2]=Yia(c[a+24>>2]|0,c[a+12>>2]|0)|0;c[a+16>>2]=Xia(c[a+24>>2]|0,c[a+16>>2]|0)|0;c[a+20>>2]=Zia(c[a+24>>2]|0,c[a+20>>2]|0)|0;b=c[a+24>>2]<<1}else{c[a+8>>2]=XEa(4)|0;c[a+12>>2]=XEa(4)|0;c[a+16>>2]=XEa(4)|0;c[a+20>>2]=XEa(4)|0;b=1}c[a+24>>2]=b;return}function Xia(a,b){a=a|0;b=b|0;var c=0;c=XEa(a<<1>>>0>1073741823?-1:a<<1<<2)|0;VGa(c|0,b|0,a<<2|0)|0;if(b)ZEa(b);return c|0}function Yia(a,b){a=a|0;b=b|0;var c=0;c=XEa(a<<1>>>0>1073741823?-1:a<<1<<2)|0;VGa(c|0,b|0,a<<2|0)|0;if(b)ZEa(b);return c|0}function Zia(a,b){a=a|0;b=b|0;var c=0;c=XEa(a<<1>>>0>1073741823?-1:a<<1<<2)|0;VGa(c|0,b|0,a<<2|0)|0;if(b)ZEa(b);return c|0}function _ia(a,c,d){a=a|0;c=c|0;d=d|0;var f=0,g=0,h=0,i=0;b[a>>1]=0;b[a+2>>1]=0>>>16;b[a+4>>1]=0;b[a+6>>1]=0>>>16;g=b[c>>1]|0;h=b[d>>1]|0;i=b[c+2>>1]|0;f=b[d+2>>1]|0;do if(g<<16>>16>h<<16>>16)if(i<<16>>16<=f<<16>>16){b[a>>1]=(i&65535)<<16|h&65535;b[a+2>>1]=((i&65535)<<16|h&65535)>>>16;d=(e[d+2>>1]|0)<<16|(e[c>>1]|0);b[a+4>>1]=d;b[a+6>>1]=d>>>16;break}else{d=e[d>>1]|e[d+2>>1]<<16;b[a>>1]=d;b[a+2>>1]=d>>>16;d=e[c>>1]|e[c+2>>1]<<16;b[a+4>>1]=d;b[a+6>>1]=d>>>16;break}else if(i<<16>>16<=f<<16>>16){c=e[c>>1]|e[c+2>>1]<<16;b[a>>1]=c;b[a+2>>1]=c>>>16;d=e[d>>1]|e[d+2>>1]<<16;b[a+4>>1]=d;b[a+6>>1]=d>>>16;break}else{b[a>>1]=(f&65535)<<16|g&65535;b[a+2>>1]=((f&65535)<<16|g&65535)>>>16;d=(e[c+2>>1]|0)<<16|(e[d>>1]|0);b[a+4>>1]=d;b[a+6>>1]=d>>>16;break}while(0);return}function $ia(a,c,d,e,f){a=a|0;c=c|0;d=d|0;e=e|0;f=f|0;b[a>>1]=c;b[a+2>>1]=d;b[a+4>>1]=e;b[a+6>>1]=f;return}function aja(a,d){a=a|0;d=d|0;var e=0,f=0;e=i;i=i+32|0;f=b[a+6>>1]|0;b[e+12>>1]=b[a>>1]|0;b[e+14>>1]=f;f=b[a+2>>1]|0;b[e+8>>1]=b[a+4>>1]|0;b[e+10>>1]=f;yD(e+12|0,+g[d>>2],+g[d+4>>2]);yD(e+8|0,+g[d>>2],+g[d+4>>2]);wD(a,d);c[e+4>>2]=c[e+12>>2];c[e>>2]=c[e+8>>2];_ia(e+16|0,e+4|0,e);bja(a,e+16|0);i=e;return}function bja(a,c){a=a|0;c=c|0;var d=0;d=b[c>>1]|0;if(d<<16>>16<(b[a>>1]|0))b[a>>1]=d;d=b[c+4>>1]|0;if(d<<16>>16>(b[a+4>>1]|0))b[a+4>>1]=d;d=b[c+2>>1]|0;if(d<<16>>16<(b[a+2>>1]|0))b[a+2>>1]=d;d=b[c+6>>1]|0;if(d<<16>>16>(b[a+6>>1]|0))b[a+6>>1]=d;return}function cja(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(DD(c,d)|0){j=b[d>>1]|0;i=b[c>>1]|0;h=b[d+4>>1]|0;e=b[c+4>>1]|0;l=b[d+2>>1]|0;k=b[c+2>>1]|0;g=b[d+6>>1]|0;f=b[c+6>>1]|0;c=l<<16>>16>k<<16>>16?l:k;d=j<<16>>16>i<<16>>16?j:i;e=h<<16>>16>16?h:e;f=g<<16>>16>16?g:f}else{c=32767;d=32767;e=-32767;f=-32767}b[a>>1]=d;b[a+2>>1]=c;b[a+4>>1]=e;b[a+6>>1]=f;return}function dja(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;f=i;i=i+16|0;k=b[e>>1]|0;j=b[d>>1]|0;h=b[e+4>>1]|0;g=b[d+4>>1]|0;m=b[e+2>>1]|0;l=b[d+2>>1]|0;e=b[e+6>>1]|0;d=b[d+6>>1]|0;c[f+4>>2]=((m<<16>>16>16?m:l)&65535)<<16|(k<<16>>16>16?k:j)&65535;c[f>>2]=((e<<16>>16>d<<16>>16?e:d)&65535)<<16|(h<<16>>16>g<<16>>16?h:g)&65535;_ia(a,f+4|0,f);i=f;return}function eja(a,c){a=a|0;c=c|0;cN(c,364952,b[a>>1]|0);cN(c,364960,b[a+2>>1]|0);cN(c,364968,b[a+4>>1]|0);cN(c,364960,b[a+6>>1]|0);hN(c,41);return}function fja(a,c){a=a|0;c=c|0;var d=0;if(DD(a,c)|0){d=b[c>>1]|0;if(d<<16>>16>(b[a>>1]|0))b[a>>1]=d;d=b[c+4>>1]|0;if(d<<16>>16<(b[a+4>>1]|0))b[a+4>>1]=d;d=b[c+2>>1]|0;if(d<<16>>16>(b[a+2>>1]|0))b[a+2>>1]=d;d=b[c+6>>1]|0;if(d<<16>>16<(b[a+6>>1]|0))b[a+6>>1]=d}else{b[a>>1]=32767;b[a+2>>1]=32767;b[a+4>>1]=-32767;b[a+6>>1]=-32767}return}function gja(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(((((a<<16>>16)-(c<<16>>16)|0)>-1?(a<<16>>16)-(c<<16>>16)|0:0-((a<<16>>16)-(c<<16>>16))|0)|0)>(e|0))c=0;else c=((((b<<16>>16)-(d<<16>>16)|0)>-1?(b<<16>>16)-(d<<16>>16)|0:0-((b<<16>>16)-(d<<16>>16))|0)|0)<=(e|0);return c|0}function hja(a,c){a=a|0;c=c|0;var d=0;d=(b[a>>1]|0)-(b[c>>1]|0)|0;if(((((d|0)>-1?d:0-d|0)|0)<=3?(d=(b[a+4>>1]|0)-(b[c+4>>1]|0)|0,(((d|0)>-1?d:0-d|0)|0)<=3):0)?(d=(b[a+6>>1]|0)-(b[c+6>>1]|0)|0,(((d|0)>-1?d:0-d|0)|0)<=3):0){c=(b[a+2>>1]|0)-(b[c+2>>1]|0)|0;c=(((c|0)>-1?c:0-c|0)|0)<4}else c=0;return c|0}function ija(a){a=a|0;if(!(a&191))a=(a&65535)>>>6&1;else a=1;return a|0}function jja(a){a=a|0;if(!(a&1792))a=(a&65535)>>>11&1;else a=1;return a|0}function kja(a){a=a|0;if((e[a>>1]|0)<4096)a=b[a+2>>1]&1;else a=1;return a|0}function lja(a){a=a|0;if(!(a&28))a=(a&65535)>>>5&1;else a=1;return a|0}function mja(a){a=a|0;var c=0;if(!((kja(a)|0)<<24>>24))if((jja(b[a>>1]|0)|0)<<24>>24!=0?(c=e[a+2>>1]|0,(c&64|0)==0):0)c=(c>>>7&1^1)&255;else c=0;else c=1;return c|0}function nja(a){a=a|0;var b=0;b=e[a+2>>1]|0;if(!(b&2))if(!(b&256))b=(mja(a)|0)<<24>>24!=0&1;else b=0;else b=1;return b|0}function oja(a){a=a|0;var c=0;c=b[a+2>>1]|0;if(!(c&1024))if((ija(b[a>>1]|0)|0)<<24>>24==0?(lja(c)|0)<<24>>24==0:0)if(!(c&512))c=(nja(a)|0)<<24>>24!=0&1;else c=0;else c=1;else c=0;return c|0}function pja(a){a=a|0;var c=0,d=0;if((((oja(a)|0)<<24>>24!=0?(d=b[a>>1]|0,(ija(d)|0)<<24>>24==0&(d&3840)==2048):0)?(kja(a)|0)<<24>>24==0:0)?(c=b[a+2>>1]|0,(c&2)==0):0)c=(lja(c)|0)<<24>>24==0&1;else c=0;return c|0}function qja(a){a=a|0;b[a>>1]=e[a>>1]|0|1;return}function rja(a){a=a|0;b[a>>1]=e[a>>1]|0|4;return}function sja(a){a=a|0;b[a>>1]=e[a>>1]|0|8;return}function tja(a){a=a|0;b[a>>1]=e[a>>1]|0|256;return}function uja(a){a=a|0;b[a>>1]=e[a>>1]|0|2048;return}function vja(a){a=a|0;b[a>>1]=e[a>>1]|0|4096;return}function wja(a){a=a|0;b[a+2>>1]=e[a+2>>1]|0|32;return}function xja(a){a=a|0;b[a+2>>1]=e[a+2>>1]|0|128;return}function yja(a){a=a|0;b[a+2>>1]=e[a+2>>1]|0|512;return}function zja(a){a=a|0;b[a+2>>1]=e[a+2>>1]|0|1024;return}function Aja(a,d){a=a|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=(b[a>>1]&1)!=0?365008:376008;zb(d|0,364984,e|0)|0;c[e>>2]=(b[a>>1]&2)!=0?365008:376008;zb(d|0,365016,e|0)|0;c[e>>2]=(b[a>>1]&4)!=0?365008:376008;zb(d|0,365040,e|0)|0;c[e>>2]=(b[a>>1]&8)!=0?365008:376008;zb(d|0,365064,e|0)|0;c[e>>2]=(b[a>>1]&16)!=0?365008:376008;zb(d|0,365088,e|0)|0;c[e>>2]=(b[a>>1]&32)!=0?365008:376008;zb(d|0,365112,e|0)|0;c[e>>2]=(b[a>>1]&64)!=0?365008:376008;zb(d|0,365136,e|0)|0;c[e>>2]=(b[a>>1]&128)!=0?365008:376008;zb(d|0,365160,e|0)|0;c[e>>2]=(b[a>>1]&256)!=0?365008:376008;zb(d|0,365184,e|0)|0;c[e>>2]=(b[a>>1]&512)!=0?365008:376008;zb(d|0,365208,e|0)|0;c[e>>2]=(b[a>>1]&1024)!=0?365008:376008;zb(d|0,365240,e|0)|0;c[e>>2]=(b[a>>1]&2048)!=0?365008:376008;zb(d|0,365264,e|0)|0;c[e>>2]=(b[a>>1]&4096)!=0?365008:376008;zb(d|0,365288,e|0)|0;c[e>>2]=(b[a>>1]&8192)!=0?365008:376008;zb(d|0,365304,e|0)|0;c[e>>2]=(b[a>>1]&16384)!=0?365008:376008;zb(d|0,365320,e|0)|0;c[e>>2]=(b[a>>1]|0)<0?365008:376008;zb(d|0,365344,e|0)|0;c[e>>2]=(b[a+2>>1]&1)!=0?365008:376008;zb(d|0,365368,e|0)|0;c[e>>2]=(b[a+2>>1]&2)!=0?365008:376008;zb(d|0,365392,e|0)|0;c[e>>2]=(b[a+2>>1]&4)!=0?365008:376008;zb(d|0,365416,e|0)|0;c[e>>2]=(b[a+2>>1]&8)!=0?365008:376008;zb(d|0,365432,e|0)|0;c[e>>2]=(b[a+2>>1]&16)!=0?365008:376008;zb(d|0,365456,e|0)|0;c[e>>2]=(b[a+2>>1]&32)!=0?365008:376008;zb(d|0,365472,e|0)|0;c[e>>2]=(b[a+2>>1]&128)!=0?365008:376008;zb(d|0,365488,e|0)|0;c[e>>2]=(b[a+2>>1]&64)!=0?365008:376008;zb(d|0,365512,e|0)|0;c[e>>2]=(b[a+2>>1]&256)!=0?365008:376008;zb(d|0,365536,e|0)|0;c[e>>2]=(b[a+2>>1]&512)!=0?365008:376008;zb(d|0,365560,e|0)|0;c[e>>2]=(b[a+2>>1]&1024)!=0?365008:376008;zb(d|0,365584,e|0)|0;i=e;return}function Bja(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;Cja(a,e);if((b[a+4>>1]|0)>0){e=0;f=c[a>>2]|0;while(1){b[f>>1]=b[d>>1]|0;b[f+2>>1]=b[d+2>>1]|0;e=e+1|0;if((e|0)>=(b[a+4>>1]|0))break;else{d=d+4|0;f=f+4|0}}}return}function Cja(a,d){a=a|0;d=d|0;var e=0;e=c[a>>2]|0;if(e)hM(e);b[a+4>>1]=d;if(d<<16>>16>0){e=gM(d<<16>>16<<2)|0;YGa(e|0,0,b[a+4>>1]<<2|0)|0}else e=0;c[a>>2]=e;return}function Dja(a){a=a|0;var d=0,e=0,f=0;f=b[a+4>>1]|0;if(f<<16>>16>0){d=c[a>>2]|0;a=0;e=0;do{a=((oja(d+(e<<2)|0)|0)<<24>>24==0&1)+a<<16>>16;e=e+1|0}while((e|0)!=(f<<16>>16|0))}else a=0;return a|0}function Eja(a){a=a|0;var d=0,e=0;e=b[a+4>>1]|0;a:do if(e<<16>>16>0){a=c[a>>2]|0;d=0;while(1){if((pja(a+(d<<2)|0)|0)<<24>>24){a=1;break a}d=d+1|0;if((d|0)>=(e<<16>>16|0)){a=0;break}}}else a=0;while(0);return a|0}function Fja(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;if(d<<16>>16<=-1){c[j>>2]=365632;c[j+4>>2]=371;$L(364976,365616,2,1702e3,j)}e=b[a+4>>1]|0;if(e<<16>>16<=d<<16>>16){c[j>>2]=365632;c[j+4>>2]=372;$L(364976,365664,2,1702e3,j);e=b[a+4>>1]|0}if(e<<16>>16<=0){c[j>>2]=365632;c[j+4>>2]=373;$L(364976,365680,2,1702e3,j);e=b[a+4>>1]|0}e=e+-1<<16>>16;b[a+4>>1]=e;if(e<<16>>16>0){h=gM(e<<16>>16<<2)|0;g=b[a+4>>1]|0;YGa(h|0,0,g<<16>>16<<2|0)|0}else{g=e;h=0}if(d<<16>>16>0){f=c[a>>2]|0;e=0;do{b[h+(e<<2)>>1]=b[f+(e<<2)>>1]|0;b[h+(e<<2)+2>>1]=b[f+(e<<2)+2>>1]|0;e=e+1|0}while((e|0)!=(d<<16>>16|0))}e=c[a>>2]|0;if(g<<16>>16>d<<16>>16){f=d<<16>>16;do{d=f+1|0;b[h+(f<<2)>>1]=b[e+(d<<2)>>1]|0;b[h+(f<<2)+2>>1]=b[e+(d<<2)+2>>1]|0;f=f+1|0}while((f&65535)<<16>>16>16)}hM(e);c[a>>2]=h;i=j;return}function Gja(d,e){d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+528|0;g=b[d+4>>1]|0;if(g<<16>>16>0){d=c[d>>2]|0;f=0;do{a[h+8+f>>0]=Qja(d+(f<<2)|0)|0;f=f+1|0}while((f|0)!=(g<<16>>16|0));d=(g<<16>>16|0)>1?g<<16>>16:1}else d=0;a[h+8+d>>0]=0;c[h>>2]=h+8;zb(e|0,365688,h|0)|0;i=h;return}function Hja(a){a=a|0;var d=0,f=0,g=0;f=b[a+4>>1]|0;if(f<<16>>16>0){a=c[a>>2]|0;d=0;do{g=a+(d<<2)|0;b[g>>1]=e[g>>1]|0|2;d=d+1|0}while((d|0)!=(f<<16>>16|0))}return}function Ija(a){a=a|0;var d=0,f=0,g=0;f=b[a+4>>1]|0;if(f<<16>>16>0){a=c[a>>2]|0;d=0;do{g=a+(d<<2)|0;b[g>>1]=e[g>>1]|0|1;d=d+1|0}while((d|0)!=(f<<16>>16|0))}return}function Jja(a){a=a|0;var d=0,f=0,g=0;g=b[a+4>>1]|0;if(g<<16>>16>0){a=c[a>>2]|0;f=0;do{d=a+(f<<2)|0;if(!((oja(d)|0)<<24>>24))b[d>>1]=e[d>>1]|0|512;f=f+1|0}while((f|0)!=(g<<16>>16|0))}return}function Kja(a){a=a|0;var d=0,f=0,g=0;g=b[a+4>>1]|0;if(g<<16>>16>0){a=c[a>>2]|0;f=0;do{d=a+(f<<2)|0;if(!((oja(d)|0)<<24>>24))b[d>>1]=e[d>>1]|0|1024;f=f+1|0}while((f|0)!=(g<<16>>16|0))}return}function Lja(a){a=a|0;var d=0,f=0,g=0;g=b[a+4>>1]|0;if(g<<16>>16>0){a=c[a>>2]|0;f=0;do{d=a+(f<<2)|0;if(!((oja(d)|0)<<24>>24))b[d>>1]=e[d>>1]|0|2048;f=f+1|0}while((f|0)!=(g<<16>>16|0))}return}function Mja(a){a=a|0;var d=0,f=0,g=0;f=b[a+4>>1]|0;if(f<<16>>16>0){a=c[a>>2]|0;d=0;do{if(!((oja(a+(d<<2)|0)|0)<<24>>24)){g=a+(d<<2)+2|0;b[g>>1]=e[g>>1]|0|2}d=d+1|0}while((d|0)!=(f<<16>>16|0))}return}function Nja(a){a=a|0;var d=0,f=0,g=0;f=b[a+4>>1]|0;if(f<<16>>16>0){a=c[a>>2]|0;d=0;do{if(!((oja(a+(d<<2)|0)|0)<<24>>24)){g=a+(d<<2)+2|0;b[g>>1]=e[g>>1]|0|4}d=d+1|0}while((d|0)!=(f<<16>>16|0))}return}function Oja(a){a=a|0;var d=0,f=0,g=0;f=b[a+4>>1]|0;if(f<<16>>16>0){a=c[a>>2]|0;d=0;do{if(!((oja(a+(d<<2)|0)|0)<<24>>24)){g=a+(d<<2)+2|0;b[g>>1]=e[g>>1]|0|8}d=d+1|0}while((d|0)!=(f<<16>>16|0))}return}function Pja(a){a=a|0;var d=0,f=0,g=0;f=b[a+4>>1]|0;if(f<<16>>16>0){a=c[a>>2]|0;d=0;do{if(!((oja(a+(d<<2)|0)|0)<<24>>24)){g=a+(d<<2)+2|0;b[g>>1]=e[g>>1]|0|16}d=d+1|0}while((d|0)!=(f<<16>>16|0))}return}function Qja(a){a=a|0;if(!((ija(b[a>>1]|0)|0)<<24>>24))if(!((pja(a)|0)<<24>>24)){a=(oja(a)|0)<<24>>24==0;a=a?49:50}else a=51;else a=48;return a|0}function Rja(c,d,e){c=c|0;d=d|0;e=+e;if((((((b[c+4>>1]|0)-(b[d+4>>1]|0)+19|0)>>>0<39?((a[d+10>>0]|0)+(a[c+10>>0]|0)|0)<4:0)?+g[c>>2]+ +g[d>>2]>2]=+g[e>>2]+ +g[d>>2];bQ(d+4|0,b[e+4>>1]|0,b[e+6>>1]|0);oca(d+4|0);a:do if((a[e+10>>0]|0)>0){h=0;do{f=a[d+10>>0]|0;if(f<<24>>24>=3)break a;a[d+10>>0]=f+1<<24>>24;j=e+(h<<3)+12|0;i=c[j+4>>2]|0;c[d+(f<<24>>24<<3)+12>>2]=c[j>>2];c[d+(f<<24>>24<<3)+16>>2]=i;h=h+1|0}while((h|0)<(a[e+10>>0]|0))}while(0);return}function Tja(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;if(!(a[b+10>>0]|0))d=1;else d=jka(c[b+12>>2]|0,c[b+16>>2]|0,c[d>>2]|0,e,f)|0;return d|0}function Uja(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a:do if((e|0)>0){g=0;while(1){if(!(Vja(c[(Ev(b,g)|0)>>2]|0,d,g,f)|0)){e=0;break a}g=g+1|0;if((g|0)>=(e|0)){h=4;break}}}else h=4;while(0);b:do if((h|0)==4)if(Vja(a,d,e,f)|0)while(1){if((e|0)>=(c[b>>2]|0)){e=1;break b}h=e;e=e+1|0;if(!(Vja(c[(Ev(b,h)|0)>>2]|0,d,e,f)|0)){e=0;break}}else e=0;while(0);return e|0}function Vja(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;if(f){a[b+8>>0]=0;a[b+9>>0]=0}h=a[b+10>>0]|0;if(h<<24>>24>0){g=0;j=0;do{i=b+(j<<3)+12|0;a:do if(!(LP(i,c[c[(Vy(d,e)|0)>>2]>>2]|0)|0)){h=e;while(1){h=h+1|0;if((h|0)>=(c[d>>2]|0))break;if(LP(i,c[c[(Vy(d,h)|0)>>2]>>2]|0)|0){k=9;break}}if((k|0)==9){k=0;h=h-e|0;if((h|0)<=(a[b+8>>0]|0)|f^1){h=1;break}a[b+8>>0]=h;h=1;break}if((e|0)>0){h=e;while(1){h=h+-1|0;if(LP(i,c[c[(Vy(d,h)|0)>>2]>>2]|0)|0)break;if((h|0)<=0){h=0;break a}}h=e-h|0;if((h|0)<=(a[b+9>>0]|0)|f^1)h=1;else{a[b+9>>0]=h;h=1}}else h=0}else h=1;while(0);g=h+g|0;j=j+1|0;h=a[b+10>>0]|0}while((j|0)<(h|0))}else{h=h<<24>>24;g=0}return (g|0)==(h|0)|0}function Wja(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0;if((a[d+10>>0]|0)>0){h=0;do{oka(d+(h<<3)+12|0,c[f>>2]|0);h=h+1|0}while((h|0)<(a[d+10>>0]|0));h=f}else h=f;Lba(c[h>>2]|0);$ba(f,g,e,b[d+4>>1]|0,b[d+6>>1]|0);Nba(c[h>>2]|0);Nba(c[g>>2]|0);Oba(f,g);return}function Xja(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=c[d>>2]|0;if(!f){c[d>>2]=c[e>>2];c[e>>2]=0;f=c[d>>2]|0}do{g=f+20|0;f=c[g>>2]|0}while((f|0)!=0);c[g>>2]=c[e>>2];c[e>>2]=0;if(e){Bk(e);YEa(e)}if((a[b+10>>0]|0)>0){f=0;do{qka(b+(f<<3)+12|0,d);f=f+1|0}while((f|0)<(a[b+10>>0]|0))}Lba(c[d>>2]|0);Nba(c[d>>2]|0);return}function Yja(d,e){d=d|0;e=e|0;var f=0,j=0,l=0,m=0;j=i;i=i+32|0;jN(e,j);m=b[d+4>>1]|0;l=b[d+6>>1]|0;e=a[d+8>>0]|0;f=a[d+9>>0]|0;h[k>>3]=+g[d>>2];c[j>>2]=c[k>>2];c[j+4>>2]=c[k+4>>2];c[j+8>>2]=m;c[j+12>>2]=l;c[j+16>>2]=e;c[j+20>>2]=f;jN(365696,j);if((a[d+10>>0]|0)>0){f=0;do{nka(d+(f<<3)+12|0);f=f+1|0;e=a[d+10>>0]|0;if((f|0)<(e<<24>>24|0)){jN(365728,j);e=a[d+10>>0]|0}}while((f|0)<(e<<24>>24|0))}jN(1714256,j);i=j;return}function Zja(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(c[a>>2]|0){c[d>>2]=307536;jN(1701528,d);if((c[a>>2]|0)>0){b=0;do{c[d>>2]=b;jN(365736,d);Yja(c[(Ev(a,b)|0)>>2]|0,1714496);b=b+1|0}while((b|0)<(c[a>>2]|0))}jN(1714256,d)}i=d;return}function _ja(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;if((d|0)<(e|0)){f=d;do{$ja(c[(Ev(a,f)|0)>>2]|0);f=f+1|0}while((f|0)!=(e|0))}f=Vy(b,d)|0;a:while(1){g=d+1|0;a=(d|0)>=(e|0);d=c[f>>2]|0;do{d=c[d>>2]|0;if((d|0)==0|a)break a;d=d+20|0;f=c[d>>2]|0}while((f|0)!=(c[c[(Vy(b,g)|0)>>2]>>2]|0));c[d>>2]=0;f=Vy(b,g)|0;d=g}return}function $ja(b){b=b|0;var c=0;if((a[b+10>>0]|0)>0){c=0;do{hka(b+(c<<3)+12|0);c=c+1|0}while((c|0)<(a[b+10>>0]|0))}return}function aka(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=c[c[(Vy(d,e)|0)>>2]>>2]|0;if((g|0)!=0&(e|0)<(f|0)){j=e;do{h=c[(Ev(b,j)|0)>>2]|0;if((j-(a[h+9>>0]|0)|0)>=(e|0)?((a[h+8>>0]|0)+j|0)<(f|0):0)bka(h);while(1){h=g+20|0;i=c[h>>2]|0;if(!i)break;else g=i}j=j+1|0;c[h>>2]=c[c[(Vy(d,j)|0)>>2]>>2]}while((j|0)!=(f|0))}return}function bka(b){b=b|0;var c=0;if((a[b+10>>0]|0)>0){c=0;do{gka(b+(c<<3)+12|0);c=c+1|0}while((c|0)<(a[b+10>>0]|0))}return}function cka(b,c,d,e,f,h,i){b=b|0;c=c|0;d=d|0;e=+e;f=f|0;h=+h;i=+i;var j=0,k=0.0;j=a[b+10>>0]|0;if(j<<24>>24){if(j<<24>>24>1){j=1;do{pka(b+(j<<3)+12|0);j=j+1|0}while((j|0)<(a[b+10>>0]|0))}k=+g[b>>2];h=k+ +ika(b+12|0,c,d,e,f,h,i);j=(a[b+10>>0]|0)+-1|0;if((j|0)>0)do{rka(b+(j<<3)+12|0);j=j+-1|0}while((j|0)>0)}else h=0.0;return +h}function dka(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;f=i;i=i+32|0;if((c[d>>2]|0)>0)c[d>>2]=0;b[f+16>>1]=0;b[f+18>>1]=0;if((c[a>>2]|0)>1){e=1;do{Eba(f+8|0,c[c[(Vy(a,e+-1|0)|0)>>2]>>2]|0);Eba(f,c[c[(Vy(a,e)|0)>>2]>>2]|0);b[f+16>>1]=((b[f>>1]|0)+(b[f+12>>1]|0)|0)/2|0;b[f+18>>1]=((b[f+14>>1]|0)+(b[f+10>>1]|0)+(b[f+2>>1]|0)+(b[f+6>>1]|0)|0)/4|0;g=WEa(36)|0;bK(g,f+16|0);cK(d,g);e=e+1|0}while((e|0)<(c[a>>2]|0))}i=f;return}function eka(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;k=i;i=i+16|0;a:do if((a[d+10>>0]|0)>0){h=0;while(1){g=c[d+(h<<3)+12>>2]|0;j=c[d+(h<<3)+16>>2]|0;fka(k+8|0,b[g>>1]|0,b[g+2>>1]|0,b[j>>1]|0,b[j+2>>1]|0);if((a[e+10>>0]|0)>0){f=b[k+14>>1]|0;g=b[k+10>>1]|0;j=0;do{m=c[e+(j<<3)+12>>2]|0;l=c[e+(j<<3)+16>>2]|0;fka(k,b[m>>1]|0,b[m+2>>1]|0,b[l>>1]|0,b[l+2>>1]|0);if(!((b[k+2>>1]|0)>f<<16>>16?1:(b[k+6>>1]|0)>16)){f=1;break a}j=j+1|0}while((j|0)<(a[e+10>>0]|0))}h=h+1|0;if((h|0)>=(a[d+10>>0]|0)){f=0;break}}}else f=0;while(0);i=k;return f|0}function fka(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;$ia(a,b<<16>>16>d<<16>>16?d:b,c<<16>>16>e<<16>>16?e:c,b<<16>>16>16?d:b,c<<16>>16>16?e:c);return}function gka(b){b=b|0;var d=0,e=0;e=c[b>>2]|0;do{a[e+8>>0]=1;e=c[e+12>>2]|0;d=c[b+4>>2]|0;if(MP(e,d)|0)break}while((e|0)!=(c[b>>2]|0));do{a[d+8>>0]=1;d=c[d+12>>2]|0;if(MP(d,c[b>>2]|0)|0)break}while((d|0)!=(c[b+4>>2]|0));return}function hka(b){b=b|0;var d=0,e=0;e=c[b>>2]|0;do{a[e+8>>0]=0;e=c[e+12>>2]|0;d=c[b+4>>2]|0;if(MP(e,d)|0)break}while((e|0)!=(c[b>>2]|0));do{a[d+8>>0]=0;d=c[d+12>>2]|0;if(MP(d,c[b>>2]|0)|0)break}while((d|0)!=(c[b+4>>2]|0));return}function ika(a,d,e,f,g,h,j){a=a|0;d=d|0;e=e|0;f=+f;g=g|0;h=+h;j=+j;var k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;tka(r+8|0,c[a>>2]|0,c[a+4>>2]|0);uka(r,c[a>>2]|0,c[a+4>>2]|0);a=b[r+8>>1]|0;l=b[r>>1]|0;q=(a<<16>>16>l<<16>>16?l:a)<<16>>16;m=b[r+12>>1]|0;n=b[r+4>>1]|0;p=(m<<16>>16>16?n:m)<<16>>16;if(!((q|0)>(d|0)&(p|0)<(e|0))){e=(kl(r+8|0)|0)<<16>>16;o=(kl(r)|0)<<16>>16;d=(e|0)<=(o|0)?e:o;a=((m<<16>>16>n<<16>>16?n:m)<<16>>16)-((a<<16>>16>16?l:a)<<16>>16)|0;if((a|0)!=(d|0)){if((a<<1|0)>(d|0))a=a-d+(a<<1)|0;if((a|0)>0)k=+(a|0)*f+0.0;else k=0.0}else k=100.0;if(!((e|0)>(g|0)&(o|0)>(g|0))){h=+(((e-o|0)>-1?e-o|0:0-(e-o)|0)|0)*h;k=(!(h>=25.0)?h:25.0)+k}f=+(q+20-p+((e|0)>=(o|0)?e:o)|0);if(f>0.0)k=f*j+k}else k=999.0;i=r;return +k}function jka(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(kka(a,b,d,e)|0)c=0;else c=(vka(c,a,b)|0)^1;return c|0}function kka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(wka(a,c,b)|0?(xka(a,b)|0)<(d|0):0)d=1;else e=3;do if((e|0)==3){if(wka(b,c,a)|0?(xka(b,a)|0)<(d|0):0){d=1;break}d=0}while(0);return d|0}function lka(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0,q=0,r=0,s=0,t=0;s=i;i=i+16|0;r=WEa(32)|0;h=r+0|0;j=h+32|0;do{b[h>>1]=0;h=h+2|0}while((h|0)<(j|0));b[r>>1]=a;b[r+2>>1]=d;q=c[g+20>>2]|0;if((q|0)!=0?(c[g+12>>2]|0)==(f|0):0){p=b[g>>1]|0;o=+((b[f>>1]|0)-p|0);h=b[g+2>>1]|0;n=+((b[f+2>>1]|0)-h|0);n=+R(+(+(a-p|0)*+(a-p|0)+ +(d-h|0)*+(d-h|0)))/+R(+(o*o+n*n));eca(s+12|0,q,c[g+24>>2]|0);h=(c[g+28>>2]|0)+(c[g+24>>2]|0)|0;p=b[q+16>>1]|0;eca(s+8|0,q,(h|0)%(p|0)|0);j=(e[s+8>>1]|0)-(e[s+12>>1]|0)<<16>>16;l=(e[s+10>>1]|0)-(e[s+14>>1]|0)<<16>>16;n=n*+R(+(+((ba(l,l)|0)+(ba(j,j)|0)|0)));j=c[g+24>>2]|0;b[s+4>>1]=0;b[s+6>>1]=0;if((j|0)<(h|0)){o=n;l=j;while(1){yV(s,c[q+20>>2]|0,(j|0)%(p|0)|0);eB(s+4|0,b[s>>1]|0,b[s+2>>1]|0);k=b[s+4>>1]|0;k=ba(k,k)|0;t=b[s+6>>1]|0;m=+Q(+(n-+R(+(+((ba(t,t)|0)+k|0)))));k=m>2]|0}else{k=j;l=j}c[r+20>>2]=q;c[r+28>>2]=h-l;c[r+24>>2]=(l|0)%(p|0)|0;c[g+28>>2]=l-k;j=f;h=f+2|0;k=g;l=g+2|0}else{c[r+20>>2]=0;c[r+28>>2]=0;c[r+24>>2]=0;j=f;h=f+2|0;k=g;l=g+2|0}c[r+12>>2]=f;c[r+16>>2]=g;c[g+12>>2]=r;c[f+16>>2]=r;b[r+4>>1]=(e[j>>1]|0)-a;b[r+6>>1]=(e[h>>1]|0)-d;b[g+4>>1]=a-(e[k>>1]|0);b[g+6>>1]=d-(e[l>>1]|0);i=s;return r|0}function mka(a){a=a|0;var d=0,f=0,g=0;d=c[a+16>>2]|0;f=c[a+12>>2]|0;g=c[d+20>>2]|0;if(!((g|0)==0?1:(g|0)!=(c[a+20>>2]|0)))c[d+28>>2]=(c[d+28>>2]|0)+(c[a+28>>2]|0);c[d+12>>2]=f;c[f+16>>2]=d;b[d+4>>1]=(e[f>>1]|0)-(e[d>>1]|0);b[d+6>>1]=(e[f+2>>1]|0)-(e[d+2>>1]|0);YEa(a);return}function nka(a){a=a|0;var d=0,e=0,f=0,g=0;d=i;i=i+16|0;if(a){g=c[a>>2]|0;f=b[g+2>>1]|0;a=c[a+4>>2]|0;e=b[a>>1]|0;a=b[a+2>>1]|0;c[d>>2]=b[g>>1];c[d+4>>2]=f;c[d+8>>2]=e;c[d+12>>2]=a;jN(365936,d)}i=d;return}function oka(d,e){d=d|0;e=e|0;var f=0;pka(d);do{f=e+20|0;e=c[f>>2]|0}while((e|0)!=0);e=WEa(24)|0;c[e+20>>2]=0;b[e+0>>1]=0;b[e+2>>1]=0;b[e+4>>1]=0;b[e+6>>1]=0;b[e+8>>1]=0;b[e+10>>1]=0;a[e+12>>0]=0;c[f>>2]=e;c[e+16>>2]=c[d>>2];xba(e);f=c[f>>2]|0;e=WEa(24)|0;c[e+20>>2]=0;b[e+0>>1]=0;b[e+2>>1]=0;b[e+4>>1]=0;b[e+6>>1]=0;b[e+8>>1]=0;b[e+10>>1]=0;a[e+12>>0]=0;c[f+20>>2]=e;c[e+16>>2]=c[d+4>>2];xba(e);c[(c[f+20>>2]|0)+20>>2]=0;return}function pka(a){a=a|0;var d=0,e=0,f=0;f=c[a+4>>2]|0;e=c[f+12>>2]|0;d=c[a>>2]|0;f=lka(b[d>>1]|0,b[d+2>>1]|0,c[d+12>>2]|0,f)|0;d=c[a+4>>2]|0;e=lka(b[d>>1]|0,b[d+2>>1]|0,e,c[a>>2]|0)|0;d=c[a>>2]|0;c[f+20>>2]=c[d+20>>2];c[f+24>>2]=c[d+24>>2];c[f+28>>2]=c[d+28>>2];a=c[a+4>>2]|0;c[e+20>>2]=c[a+20>>2];c[e+24>>2]=c[a+24>>2];c[e+28>>2]=c[a+28>>2];c[d+20>>2]=0;c[d+24>>2]=0;c[d+28>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;c[a+28>>2]=0;return}function qka(d,e){d=d|0;e=e|0;var f=0,g=0;rka(d);g=WEa(24)|0;b[g+0>>1]=0;b[g+2>>1]=0;b[g+4>>1]=0;b[g+6>>1]=0;b[g+8>>1]=0;b[g+10>>1]=0;a[g+12>>0]=0;c[g+20>>2]=c[e>>2];c[g+16>>2]=c[d>>2];f=WEa(24)|0;b[f+0>>1]=0;b[f+2>>1]=0;b[f+4>>1]=0;b[f+6>>1]=0;b[f+8>>1]=0;b[f+10>>1]=0;a[f+12>>0]=0;c[f+20>>2]=g;c[e>>2]=f;c[f+16>>2]=c[d+4>>2];return}function rka(a){a=a|0;var d=0,f=0,g=0,h=0,i=0;h=c[a>>2]|0;d=c[h+12>>2]|0;g=c[a+4>>2]|0;f=c[g+12>>2]|0;c[(c[d+12>>2]|0)+16>>2]=g;i=c[f+12>>2]|0;c[i+16>>2]=h;c[h+12>>2]=i;c[h+20>>2]=c[f+20>>2];c[h+24>>2]=c[f+24>>2];c[h+28>>2]=c[f+28>>2];c[g+12>>2]=c[d+12>>2];c[g+20>>2]=c[d+20>>2];c[g+24>>2]=c[d+24>>2];c[g+28>>2]=c[d+28>>2];if(d)YEa(d);if(f)YEa(f);i=c[a>>2]|0;h=c[i+12>>2]|0;b[i+4>>1]=(e[h>>1]|0)-(e[i>>1]|0);b[i+6>>1]=(e[h+2>>1]|0)-(e[i+2>>1]|0);i=c[a+4>>2]|0;h=c[i+12>>2]|0;b[i+4>>1]=(e[h>>1]|0)-(e[i>>1]|0);b[i+6>>1]=(e[h+2>>1]|0)-(e[i+2>>1]|0);return}function ska(){c[91436]=1701984;c[91438]=389976;c[91440]=390024;c[91442]=390056;c[91444]=390112;c[91446]=390152;c[91448]=390184;c[91450]=390240;c[91452]=390280;c[91454]=390328;c[91456]=390376;c[91458]=390400;c[91460]=390432;c[91462]=390504;c[91464]=390552;c[91466]=390592;c[91468]=390640;Wk(365880,0,365896,365920,0,kM()|0);return}function tka(a,b,c){a=a|0;b=b|0;c=c|0;yka(a,b,c);return}function uka(a,b,c){a=a|0;b=b|0;c=c|0;yka(a,c,b);return}function vka(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0;a:do if(!a)d=0;else{h=b[d>>1]|0;f=b[d+2>>1]|0;g=b[e>>1]|0;e=b[e+2>>1]|0;d=a;while(1){if(zka(d,h,f,g,e)|0){d=1;break a}d=c[d+20>>2]|0;if(!d){d=0;break}}}while(0);return d|0}function wka(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=0;f=a;while(1){if((f|0)==(d|0)){e=1;break}f=c[f+12>>2]|0;if((f|0)==(a|0)){e=0;break}if((e|0)>=(b|0)){e=0;break}else e=e+1|0}return e|0}function xka(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,i=0,j=0;f=e[a>>1]|0;g=e[a+2>>1]|0;h=0;i=c[a+12>>2]|0;do{j=ba((e[i>>1]|0)-f<<16>>16,b[i+6>>1]|0)|0;h=j-(ba((e[i+2>>1]|0)-g<<16>>16,b[i+4>>1]|0)|0)+h|0;i=c[i+12>>2]|0}while((i|0)!=(d|0)&(i|0)!=(a|0));return h|0}function yka(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=b[d>>1]|0;f=b[d+2>>1]|0;$ia(a,h,f,h,f);f=b[a>>1]|0;h=d;do{h=c[h+12>>2]|0;g=b[h>>1]|0;if(g<<16>>16>16){b[a>>1]=g;f=g}if(g<<16>>16>(b[a+4>>1]|0))b[a+4>>1]=g;g=b[h+2>>1]|0;if(g<<16>>16<(b[a+2>>1]|0))b[a+2>>1]=g;if(g<<16>>16>(b[a+6>>1]|0))b[a+6>>1]=g}while((h|0)!=(e|0)&(h|0)!=(d|0));return}function zka(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;a:do if(TP(a,d,e)|0?TP(a,f,g)|0:0){i=c[a+16>>2]|0;a=b[i>>1]|0;h=b[i+2>>1]|0;j=i;while(1){j=c[j+12>>2]|0;l=a;a=b[j>>1]|0;k=h;h=b[j+2>>1]|0;if(pba(d,e,f,g,l,k,a,h)|0){a=1;break a}if((j|0)==(i|0)){a=0;break}}}else a=0;while(0);return a|0}function Aka(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=(d|0)>(b|0)?b:0;b=(d|0)>(b|0)?d:1;c[a>>2]=e;c[a+4>>2]=b;c[a+12>>2]=XEa((b-e|0)>>>0>1073741823?-1:b-e<<2)|0;Bka(a);return}function Bka(a){a=a|0;var b=0;c[a+8>>2]=0;b=c[a+12>>2]|0;if(b)YGa(b|0,0,(c[a+4>>2]|0)-(c[a>>2]|0)<<2|0)|0;return}function Cka(a){a=a|0;c[a+4>>2]=0;c[a>>2]=0;c[a+12>>2]=0;return}function Dka(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if((d|0)>(b|0)){if(((c[a+4>>2]|0)-(c[a>>2]|0)|0)!=(d-b|0)){e=c[a+12>>2]|0;if(e)ZEa(e);c[a+12>>2]=XEa((d-b|0)>>>0>1073741823?-1:d-b<<2)|0}c[a>>2]=b;c[a+4>>2]=d;Bka(a);e=1}else e=0;return e|0}function Eka(a){a=a|0;var b=0;b=c[a+12>>2]|0;if(b){ZEa(b);c[a+12>>2]=0}return}function Fka(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=c[a+12>>2]|0;if(f){e=(c[a+4>>2]|0)+-1|0;g=c[a>>2]|0;if((g|0)>(b|0))e=g;else e=(e|0)<(b|0)?e:b;g=f+(e-g<<2)|0;c[g>>2]=(c[g>>2]|0)+d;c[a+8>>2]=(c[a+8>>2]|0)+d}return}function Gka(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;g=c[a+12>>2]|0;if(!g)a=c[a>>2]|0;else{h=c[a>>2]|0;a=(c[a+4>>2]|0)-h+-1|0;if((a|0)>0){e=a;f=c[g>>2]|0;a=0;while(1){b=c[g+(e<<2)>>2]|0;d=(b|0)>(f|0);a=d?e:a;e=e+-1|0;if((e|0)<=0)break;else f=d?b:f}}else a=0;a=h+a|0}return a|0}function Hka(a){a=a|0;var b=0.0,d=0,e=0,f=0,g=0,h=0,i=0;f=c[a+12>>2]|0;if((f|0)!=0?(h=c[a+8>>2]|0,(h|0)>=1):0){g=c[a>>2]|0;a=(c[a+4>>2]|0)-g|0;if((a|0)>0){d=0;e=0;do{a=a+-1|0;i=c[f+(a<<2)>>2]|0;i=eHa(i|0,((i|0)<0)<<31>>31|0,a|0,((a|0)<0)<<31>>31|0)|0;d=QGa(i|0,F|0,d|0,e|0)|0;e=F}while((a|0)>0);b=+(d>>>0)+4294967296.0*+(e|0)}else b=0.0;b=b/+(h|0)+ +(g|0)}else b=+(c[a>>2]|0);return +b}function Ika(a){a=a|0;var b=0.0,d=0.0,e=0,f=0,g=0,h=0,i=0,j=0;e=c[a+12>>2]|0;if((e|0)!=0?(h=c[a+8>>2]|0,(h|0)>=1):0){a=(c[a+4>>2]|0)-(c[a>>2]|0)|0;if((a|0)>0){f=0;g=0;d=0.0;do{a=a+-1|0;i=c[e+(a<<2)>>2]|0;j=eHa(i|0,((i|0)<0)<<31>>31|0,a|0,((a|0)<0)<<31>>31|0)|0;f=QGa(j|0,F|0,f|0,g|0)|0;g=F;b=+(a|0);d=d+b*b*+(i|0)}while((a|0)>0);b=+(f>>>0)+4294967296.0*+(g|0)}else{d=0.0;b=0.0}b=b/+(h|0);b=d/+(h|0)-b*b;if(b>0.0)b=+R(+b);else b=0.0}else b=0.0;return +b}function Jka(a,b){a=a|0;b=+b;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0.0,m=0,n=0;n=i;i=i+16|0;j=c[a+12>>2]|0;do if((j|0)!=0?(d=c[a+8>>2]|0,(d|0)!=0):0){if(+(d|0)*b<1.0)b=1.0;else b=+(d|0)*b>+(d|0)?+(d|0):+(d|0)*b;e=c[a>>2]|0;f=(c[a+4>>2]|0)-e|0;if((f|0)>0&b>0.0){h=0;g=0;while(1){k=h+1|0;d=c[j+(h<<2)>>2]|0;g=d+g|0;l=+(g|0);if(!((k|0)<(f|0)&l-1){if((d|0)<=0){c[n>>2]=365992;c[n+4>>2]=196;$L(365960,365968,2,1702e3,n);e=c[a>>2]|0;d=c[(c[a+12>>2]|0)+(h<<2)>>2]|0}b=+(e+k|0)-(l-b)/+(d|0);break}}b=+(e|0)}else m=3;while(0);if((m|0)==3)b=+(c[a>>2]|0);i=n;return +b}function Kka(a){a=a|0;var b=0,d=0,e=0,f=0;e=c[a+12>>2]|0;if((e|0)!=0?(c[a+8>>2]|0)!=0:0){f=c[a>>2]|0;b=(c[a+4>>2]|0)-f|0;a:do if((b|0)>0){d=0;while(1){a=d+1|0;if(c[e+(d<<2)>>2]|0){a=d;break a}if((a|0)<(b|0))d=a;else break}}else a=0;while(0);a=f+a|0}else a=c[a>>2]|0;return a|0}function Lka(a){a=a|0;var b=0,d=0;b=c[a+12>>2]|0;if((b|0)!=0?(c[a+8>>2]|0)!=0:0){d=c[a>>2]|0;a=(c[a+4>>2]|0)-d|0;do{a=a+-1|0;if((a|0)<=0)break}while((c[b+(a<<2)>>2]|0)==0);a=d+a|0}else a=c[a>>2]|0;return a|0}function Mka(a){a=a|0;var b=0.0,d=0,e=0;if(c[a+12>>2]|0){b=+Jka(a,.5);d=~~+P(+b);if((c[a+8>>2]|0)>1?(mx(a,d)|0)==0:0){e=d;while(1)if(!(mx(a,e)|0))e=e+-1|0;else break;while(1)if(!(mx(a,d)|0))d=d+1|0;else break;b=+(d+e|0)*.5}}else b=+(c[a>>2]|0);return +b}function Nka(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=c[a+12>>2]|0;do if(g){i=c[a+4>>2]|0;f=c[a>>2]|0;if((f|0)>(b|0))a=f;else a=(i+-1|0)<(b|0)?i+-1|0:b;a=a-f|0;d=c[g+(a<<2)>>2]|0;if(!d)a=1;else{b=a;while(1){if((b|0)<=0)break;b=b+-1|0;e=c[g+(b<<2)>>2]|0;if((e|0)!=(d|0)){j=7;break}}if((j|0)==7?(e|0)<(d|0):0){a=0;break}while(1){a=a+1|0;if((a|0)>=(i-f|0))break;h=c[g+(a<<2)>>2]|0;if((h|0)!=(d|0)){j=11;break}}if((j|0)==11?(h|0)<(d|0):0){a=0;break}a=1}}else a=0;while(0);return a|0}function Oka(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;if(!((c[a+12>>2]|0)==0|(b|0)<2)){Aka(l,c[a>>2]|0,c[a+4>>2]|0);h=c[a+4>>2]|0;j=c[a>>2]|0;if((h-j|0)>0){k=0;do{g=c[a+12>>2]|0;d=ba(c[g+(k<<2)>>2]|0,b)|0;if((b|0)>1){f=1;do{e=k-f|0;if((e|0)>-1)d=(ba(c[g+(e<<2)>>2]|0,b-f|0)|0)+d|0;e=f+k|0;if((e|0)<(h-j|0))d=(ba(c[g+(e<<2)>>2]|0,b-f|0)|0)+d|0;f=f+1|0}while((f|0)!=(b|0))}Fka(l,(c[a>>2]|0)+k|0,d);k=k+1|0}while((k|0)!=(h-j|0))}c[a+8>>2]=c[l+8>>2];VGa(c[a+12>>2]|0,c[l+12>>2]|0,h-j<<2|0)|0;Eka(l)}i=l;return}function Pka(a,b,d,e,f){a=a|0;b=+b;d=+d;e=+e;f=f|0;var h=0,i=0,j=0.0,k=0,l=0,m=0,n=0,o=0.0,p=0.0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;do if(c[a+12>>2]|0){x=XEa(44)|0;q=1;h=0;while(1){if(!(c[f+(q<<4)+12>>2]|0)){i=q;break}if((c[f+(q<<4)+8>>2]|0)<=0){i=q;break}n=f+(q<<4)|0;j=+Jka(n,.5);m=x+(q<<2)|0;g[m>>2]=j;h=Gka(n)|0;a:do if(j-+(h+-1|0)>2]|0))break a;k=mx(a,l)|0;if((k|0)>(mx(a,i)|0))break a;i=k-(mx(f,l)|0)|0;if((i|0)>0){Fka(n,l,i);Fka(f,l,i);j=+g[m>>2]}k=l+-1|0;if(j-+(k|0)=(c[a+4>>2]|0))break b;k=mx(a,l)|0;if((k|0)>(mx(a,i)|0))break b;i=k-(mx(f,l)|0)|0;if((i|0)>0){Fka(n,l,i);Fka(f,l,i);j=+g[m>>2]}k=l+1|0;if(+(k|0)-j>2]|0,c[a+4>>2]|0)|0;i=0}l=h;while(1){h=i+1|0;r=c[a+4>>2]|0;s=c[a>>2]|0;if((r-s|0)<=0){h=i;i=52;break}t=c[a+12>>2]|0;u=c[f+12>>2]|0;v=(i|0)<1;w=0;q=0;while(1){k=(c[t+(w<<2)>>2]|0)-(c[u+(w<<2)>>2]|0)|0;do if((k|0)>0){if(v){n=0;j=2147483648.0}else{p=+(s+w|0);n=0;m=1;j=2147483648.0;do{o=p-+g[x+(m<<2)>>2];if(o<0.0)o=-o;y=od){if(n){m=s+w|0;o=+g[x+(n<<2)>>2];if((+(m|0)>o*e?1:+(m|0)(q|0))l=m;else{n=l;k=q;break}}else{if((k|0)<=(q|0)){n=l;k=q;break}l=s+w|0}n=l}else{n=l;k=q}}else{n=l;k=q}while(0);w=w+1|0;if((w|0)==(r-s|0))break;else{l=n;q=k}}if(!((k|0)>0&(i|0)<10)){h=i;i=52;break}if(!(Dka(f+(h<<4)|0,s,r)|0)){i=38;break}g[x+(h<<2)>>2]=+(n|0);Fka(f+(h<<4)|0,n,k);Fka(f,n,k);i=n+-1|0;j=+g[x+(h<<2)>>2];c:do if(j-+(i|0)>2]|0))break c;i=mx(a,l)|0;if((i|0)>(mx(a,k)|0))break c;i=i-(mx(f,l)|0)|0;if((i|0)>0){Fka(f+(h<<4)|0,l,i);Fka(f,l,i);j=+g[x+(h<<2)>>2]}i=l+-1|0;if(j-+(i|0)=(c[a+4>>2]|0))break d;i=mx(a,l)|0;if((i|0)>(mx(a,k)|0))break d;i=i-(mx(f,l)|0)|0;if((i|0)>0){Fka(f+(h<<4)|0,l,i);Fka(f,l,i);j=+g[x+(h<<2)>>2]}i=l+1|0;if(+(i|0)-j>2]=+Jka(f+(h<<4)|0,.5);if((h|0)<10){i=h;l=n}else{i=52;break}}if((i|0)==38){ZEa(x);h=0;break}else if((i|0)==52){ZEa(x);break}}else h=0;while(0);return h|0}function Qka(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0;p=i;i=i+48|0;l=c[a+4>>2]|0;m=c[a>>2]|0;Aka(p+24|0,m,l);if((c[b>>2]|0)>0)c[b>>2]=0;n=c[p+36>>2]|0;k=1;a:while(1){do{if((l-m|0)<=0)break a;d=c[a+12>>2]|0;e=0;j=0;f=0;do{q=(c[d+(f<<2)>>2]|0)-(c[n+(f<<2)>>2]|0)|0;r=(q|0)>(e|0);j=r?f:j;e=r?q:e;f=f+1|0}while((f|0)!=(l-m|0));if((e|0)<=0)break a;c[n+(j<<2)>>2]=e;h[p>>3]=+(ba(e,j)|0);c[p+20>>2]=e;c[p+16>>2]=e;e=j+1|0;if((e|0)<(l-m|0)){f=2;while(1){if(!(Wka(e,d,n,p+16|0,p+20|0,p)|0))break;e=f+j|0;if((e|0)>=(l-m|0))break;d=c[a+12>>2]|0;f=f+1|0}e=c[a+12>>2]|0}else e=d;c[p+16>>2]=c[e+(j<<2)>>2];b:do if((j|0)>0){f=j+-1|0;d=2;while(1){if(!(Wka(f,e,n,p+16|0,p+20|0,p)|0))break b;e=j-d|0;if((e|0)<=-1)break b;f=e;e=c[a+12>>2]|0;d=d+1|0}}while(0);f=c[p+20>>2]|0;d=c[b>>2]|0}while(!((f|0)>(k|0)|(d|0)<3));if((d|0)!=3)if((d|0)>0){e=0;o=24}else d=0;else{c[b>>2]=2;e=0;o=24}c:do if((o|0)==24)while(1){o=0;d=e+1|0;if((c[(DU(b,e)|0)>>2]|0)<(f|0)){d=e;break c}if((d|0)<(c[b>>2]|0)){e=d;o=24}else break}while(0);s=+h[p>>3]/+(f|0)+ +(c[a>>2]|0);c[p+8>>2]=f;g[p+12>>2]=s;c[p+40>>2]=c[p+8>>2];c[p+44>>2]=c[p+12>>2];Xka(b,p+40|0,d);k=c[(Yka(b)|0)>>2]|0}Eka(p+24|0);i=p;return}function Rka(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;b=c[a+12>>2]|0;if(b){d=Kka(a)|0;e=c[a>>2]|0;g=(Lka(a)|0)-e|0;a:do if((d-e|0)<=(g|0)){f=b;e=d-e|0;b=0;while(1){d=c[f+(e<<2)>>2]|0;if(d){c[h>>2]=(c[a>>2]|0)+e;c[h+4>>2]=d;jN(366024,h);b=b+1|0;if(!(b&7))jN(1714256,h)}if((e|0)>=(g|0))break a;f=c[a+12>>2]|0;e=e+1|0}}while(0);jN(1714256,h);Ska(a)}i=h;return}function Ska(a){a=a|0;var b=0,d=0.0,e=0,f=0,g=0.0;b=i;i=i+16|0;if(c[a+12>>2]|0){f=Kka(a)|0;e=Lka(a)|0;c[b>>2]=c[a+8>>2];jN(366040,b);g=+Jka(a,0.0);h[k>>3]=g;c[b>>2]=c[k>>2];c[b+4>>2]=c[k+4>>2];c[b+8>>2]=f;jN(366056,b);g=+Jka(a,.25);h[k>>3]=g;c[b>>2]=c[k>>2];c[b+4>>2]=c[k+4>>2];jN(366080,b);g=+Mka(a);d=+Jka(a,.5);h[k>>3]=g;c[b>>2]=c[k>>2];c[b+4>>2]=c[k+4>>2];h[k>>3]=d;c[b+8>>2]=c[k>>2];c[b+12>>2]=c[k+4>>2];jN(366104,b);d=+Jka(a,.75);h[k>>3]=d;c[b>>2]=c[k>>2];c[b+4>>2]=c[k+4>>2];jN(366136,b);d=+Jka(a,1.0);h[k>>3]=d;c[b>>2]=c[k>>2];c[b+4>>2]=c[k+4>>2];c[b+8>>2]=e;jN(366160,b);c[b>>2]=1-f+e;jN(366184,b);d=+Hka(a);h[k>>3]=d;c[b>>2]=c[k>>2];c[b+4>>2]=c[k+4>>2];jN(366200,b);d=+Ika(a);h[k>>3]=d;c[b>>2]=c[k>>2];c[b+4>>2]=c[k+4>>2];jN(366216,b)}i=b;return}function Tka(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0,f=0,h=0,i=0.0,j=0,k=0;j=c;c=a;while(1){if((j|0)<2){c=0;break}if((j|0)==2){k=4;break}if((c|0)<0)h=0;else h=(c|0)<(j|0)?c:j+-1|0;f=b+(((rGa()|0)%(j|0)|0)<<2)|0;i=+g[f>>2];g[f>>2]=+g[b>>2];a:do if((j|0)>1){f=0;a=1;d=j;while(1){b:while(1){c=b+(a<<2)|0;while(1){e=+g[c>>2];if(ei))break;d=d+-1|0;g[c>>2]=+g[b+(d<<2)>>2];g[b+(d<<2)>>2]=e;if((a|0)>=(d|0)){c=f;break a}}a=a+1|0;if((a|0)>=(d|0)){c=f;break a}}c=f+1|0;g[b+(f<<2)>>2]=e;a=a+1|0;if((a|0)>=(d|0))break;else f=c}}else{c=0;d=j}while(0);if((c|0)<(d|0)){a=c;do{g[b+(a<<2)>>2]=i;a=a+1|0}while((a|0)!=(d|0))}if((h|0)<(c|0)){j=c;c=h}else{k=19;break}}if((k|0)==4){c=(c|0)>0&1;if(!(+g[b>>2]<+g[b+4>>2]))c=c^1}else if((k|0)==19)if((h|0)>=(d|0))return (Tka(h-d|0,b+(d<<2)|0,j-d|0)|0)+d|0;return c|0}function Uka(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=c;c=a;while(1){if((i|0)<2){c=0;break}if((i|0)==2){j=4;break}if((c|0)<0)h=0;else h=(c|0)<(i|0)?c:i+-1|0;Vka(b,(rGa()|0)%(i|0)|0,0);a:do if((i|0)>1){g=0;d=1;a=i;while(1){e=b+(g<<2)|0;f=d;b:while(1){d=b+(f<<2)|0;while(1){c=X0(d,e)|0;if((c|0)<0)break b;if((c|0)<=0)break;a=a+-1|0;Vka(b,a,f);if((f|0)>=(a|0)){c=g;break a}}c=f+1|0;if((c|0)<(a|0))f=c;else{c=g;break a}}c=g+1|0;d=f+1|0;Vka(b,g,f);if((d|0)>=(a|0))break;else g=c}}else{c=0;a=i}while(0);if((h|0)<(c|0)){i=c;c=h}else{j=16;break}}if((j|0)==4)return ((c|0)>0^(X0(b,b+4|0)|0)>-1)&1|0;if((j|0)==16)if((h|0)>=(a|0))return (Uka(h-a|0,b+(a<<2)|0,i-a|0)|0)+a|0;return c|0}function Vka(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;f=0;e=b+(c<<2)|0;c=b+(d<<2)|0;while(1){d=a[e>>0]|0;a[e>>0]=a[c>>0]|0;a[c>>0]=d;f=f+1|0;if((f|0)==4)break;else{e=e+1|0;c=c+1|0}}return}function Wka(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var i=0,j=0.0;i=(c[b+(a<<2)>>2]|0)-(c[d+(a<<2)>>2]|0)|0;if((i|0)>0?(i|0)<=(c[e>>2]|0):0){c[f>>2]=(c[f>>2]|0)+i;j=+(ba(i,a)|0);h[g>>3]=j+ +h[g>>3];c[d+(a<<2)>>2]=c[b+(a<<2)>>2];c[e>>2]=i;i=1}else i=0;return i|0}function Xka(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;g=i;i=i+16|0;if(!((d|0)>-1?(e=c[a>>2]|0,(e|0)>=(d|0)):0)){c[g>>2]=1701680;c[g+4>>2]=691;$L(365960,375920,2,1702e3,g);e=c[a>>2]|0}if((c[a+4>>2]|0)==(e|0)){Zka(a);f=c[a>>2]|0}else f=e;e=c[a+8>>2]|0;if((f|0)>(d|0))do{k=f;f=f+-1|0;j=e+(f<<3)|0;h=c[j+4>>2]|0;e=e+(k<<3)|0;c[e>>2]=c[j>>2];c[e+4>>2]=h;e=c[a+8>>2]|0}while((f|0)>(d|0));j=c[b+4>>2]|0;k=e+(d<<3)|0;c[k>>2]=c[b>>2];c[k+4>>2]=j;c[a>>2]=(c[a>>2]|0)+1;i=g;return}function Yka(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if((b|0)<=0){c[d>>2]=1701680;c[d+4>>2]=669;$L(365960,375960,2,1702e3,d);b=c[a>>2]|0}i=d;return (c[a+8>>2]|0)+(b+-1<<3)|0}function Zka(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)QU(a,4);else QU(a,b<<1);return}function _ka(a){a=a|0;if(a){KL(a+4|0,230);YEa(a)}return}function $ka(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+64|0;pk(c+28|0,b);pk(c,a);rk(c+28|0);if(!(sk(c+28|0)|0))do{Ck(c,yx(tk(c+28|0)|0)|0);OL(c+28|0)|0}while(!(sk(c+28|0)|0));i=c;return}function ala(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;c[a>>2]=0;c[a+4>>2]=0;pk(d,b);while(1){if(vk(d)|0)break;pla(pv(d)|0,a+4|0);OL(d)|0}bla(a);i=d;return}function bla(a){a=a|0;var c=0;c=i;i=i+32|0;pk(c,a+4|0);rk(c);if(!(sk(c)|0))do{a=tk(c)|0;if((ada(a)|0)<<16>>16<0){bda(a);qla(a+28|0);b[a+18>>1]=e[a+18>>1]|0|1}else b[a+18>>1]=(e[a+18>>1]|0)&65534;OL(c)|0}while(!(sk(c)|0));i=c;return}function cla(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;c[a>>2]=0;c[a+4>>2]=0;pk(d,a+4|0);qv(d,b);i=d;return}function dla(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+64|0;c[h+56>>2]=0;pk(h+28|0,b);while(1){if(vk(h+28|0)|0)break;pla(pv(h+28|0)|0,h+56|0);OL(h+28|0)|0}pk(h,h+56|0);while(1){if(vk(h)|0)break;b=pv(h)|0;if(cda(b)|0)g=a;else{yk(h,b+28|0);g=0}f=WEa(8)|0;cla(f,b);bla(f);if((e|0)!=0&(g^1))Ck(e,f);else Ck(d,f);OL(h)|0}KL(h+56|0,230);i=h;return}function ela(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=0;Vca(a,b);a=WEa(8)|0;ala(a,b);KL(b,230);i=b;return a|0}function fla(a,c){a=a|0;c=c|0;var d=0;d=i;i=i+32|0;pk(d,c+4|0);b[a>>1]=32767;b[a+2>>1]=32767;b[a+4>>1]=-32767;b[a+6>>1]=-32767;rk(d);if(!(sk(d)|0))do{bja(a,(tk(d)|0)+4|0);OL(d)|0}while(!(sk(d)|0));i=d;return}function gla(a){a=a|0;var b=0;b=i;i=i+32|0;pk(b,a+4|0);rk(b);if(sk(b)|0)a=0;else{a=0;do{a=(Wca(tk(b)|0)|0)+a|0;OL(b)|0}while(!(sk(b)|0))}i=b;return a|0}function hla(a){a=a|0;var b=0;b=i;i=i+32|0;pk(b,a+4|0);rk(b);if(sk(b)|0)a=0;else{a=0;do{a=(Xca(tk(b)|0)|0)+a|0;OL(b)|0}while(!(sk(b)|0))}i=b;return a|0}function ila(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+32|0;pk(c,a+4|0);rk(c);if(sk(c)|0)a=0;else{a=0;do{a=(Zca(tk(c)|0,b)|0)+a|0;OL(c)|0}while(!(sk(c)|0))}i=c;return a|0}function jla(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0;e=i;i=i+96|0;c[e+84>>2]=0;pk(e+56|0,b);pk(e+28|0,e+84|0);while(1){if(vk(e+56|0)|0)break;b=pv(e+56|0)|0;OL(e+56|0)|0;d=WEa(32)|0;f=+g[a>>2];Uca(d,b,f,+g[a+4>>2]);if(c[b+28>>2]|0){jla(a,b+28|0);pk(e,d+28|0);yk(e,b+28|0)}if(b){Y$(b);YEa(b)}qv(e+28|0,d)}yk(e+56|0,e+84|0);KL(e+84|0,230);i=e;return}function kla(a,b){a=a|0;b=b|0;jla(b,a+4|0);return}function lla(a,b,c){a=a|0;b=b|0;c=c|0;rla(b,c,a+4|0);return}function mla(a){a=a|0;var d=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+64|0;fla(s+56|0,a);l=b[s+56>>1]|0;q=kl(s+56|0)|0;d=b[s+58>>1]|0;if((c[a+4>>2]|0)!=0?!(+(hla(a)|0)>+(q<<16>>16)*8.0):0){Ek(s+32|0);r=b[s+62>>1]|0;Cx(s+32|0,(q<<16>>16)+1|0,r);pk(s+4|0,a+4|0);rk(s+4|0);while(1){if(sk(s+4|0)|0)break;j=tk(s+4|0)|0;f=e[j+12>>1]|e[j+14>>1]<<16;c[s>>2]=f;a:do if((b[j+16>>1]|0)>0){g=f;k=f>>>16&65535;h=f>>>16;a=0;while(1){f=(g<<16>>16)-l|0;if((k<<16>>16|0)<(c[(Ik(s+32|0,f)|0)>>2]|0))c[(Ik(s+32|0,f)|0)>>2]=h<<16>>16;yV(s+52|0,c[j+20>>2]|0,a);eB(s,b[s+52>>1]|0,b[s+54>>1]|0);f=a+1|0;if((f|0)>=(b[j+16>>1]|0))break a;h=c[s>>2]|0;g=h;k=b[s+2>>1]|0;h=h>>>16;a=f}}while(0);OL(s+4|0)|0}b:do if(q<<16>>16>=0){a=0;f=0;while(1){if((c[(Ik(s+32|0,f)|0)>>2]|0)!=(d|0)?(c[(Ik(s+32|0,f)|0)>>2]|0)!=(d+1|0):0)p=a;else p=a+1|0;if((f|0)<(q<<16>>16|0)){a=p;f=f+1|0}else break}if(q<<16>>16>0){a=r;k=r;j=0;g=r;h=0;while(1){m=k;n=j;k=g;f=h;c:while(1){o=c[(Ik(s+32|0,f)|0)>>2]|0;h=f+1|0;d:do if((f|0)<(q<<16>>16|0)){j=1;while(1){l=j+1|0;if((c[(Ik(s+32|0,h)|0)>>2]|0)!=(o|0))break d;h=l+f|0;if((h|0)>(q<<16>>16|0)){j=l;break}else j=l}}else j=1;while(0);if((o|0)>(d+1|0)){l=j+f|0;if((l|0)>(q<<16>>16|0)){g=j;break}else g=j;while(1){if((c[(Ik(s+32|0,l)|0)>>2]|0)!=(o|0)?(c[(Ik(s+32|0,l)|0)>>2]|0)!=(o+1|0):0)break;g=g+1|0;l=g+f|0;if((l|0)>(q<<16>>16|0))break c}if((m|0)>(o+1|0))break;if((c[(Ik(s+32|0,l)|0)>>2]|0)>(o+1|0))break}if((h|0)<(q<<16>>16|0)){m=k;n=j;k=o;f=h}else break b}a=((o|0)<(a|0)?(((n|0)>0&(k|0)==(o+1|0)?n:0)+g|0)>(p|0):0)?o:a;if((h|0)<(q<<16>>16|0))g=o;else break}}else a=r}else a=r;while(0);Jk(s+32|0);d=(a|0)==(r|0)?d:a}i=s;return d&65535|0}function nla(a){a=a|0;var c=0,d=0;d=i;i=i+16|0;fla(d,a);c=kl(d)|0;c=_o(c<<16>>16,(ll(d)|0)<<16>>16,1)|0;sla(a+4|0,b[d>>1]|0,b[d+6>>1]|0,c);i=d;return c|0}function ola(a){a=a|0;var c=0,d=0,e=0,f=0;f=i;i=i+48|0;fla(f+32|0,a);c=kl(f+32|0)|0;c=_o(c<<16>>16,(ll(f+32|0)|0)<<16>>16,1)|0;d=b[f+32>>1]|0;e=b[f+38>>1]|0;pk(f,a+4|0);rk(f);if(!(sk(f)|0))do{ida(tk(f)|0,d,e,c);OL(f)|0}while(!(sk(f)|0));i=f;return c|0}function pla(a,b){a=a|0;b=b|0;var c=0,d=0;d=i;i=i+64|0;pk(d+28|0,b);pk(d,a+28|0);a:do if(!(vk(d+28|0)|0)){while(1){b=tk(d+28|0)|0;if((_ca(b,a)|0)<<24>>24)break;if((_ca(a,b)|0)<<24>>24){c=8;break}OL(d+28|0)|0;if(xk(d+28|0)|0){c=10;break a}}if((c|0)==8){pla(a,b+28|0);break}b=pv(d+28|0)|0;Ck(d+28|0,a);qv(d,b);if(!(Ov(d+28|0)|0))do{OL(d+28|0)|0;if((_ca(tk(d+28|0)|0,a)|0)<<24>>24!=0?(qv(d,pv(d+28|0)|0),vk(d+28|0)|0):0)break a}while(!(Ov(d+28|0)|0))}else c=10;while(0);if((c|0)==10)qv(d+28|0,a);i=d;return}function qla(a){a=a|0;var d=0;d=i;i=i+32|0;pk(d,a);rk(d);if(!(sk(d)|0))do{a=tk(d)|0;bda(a);b[a+18>>1]=e[a+18>>1]|0|1;if(c[a+28>>2]|0)qla(a+28|0);OL(d)|0}while(!(sk(d)|0));i=d;return}function rla(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;pk(e,d);rk(e);if(!(sk(e)|0))do{d=tk(e)|0;if((b|0)!=0?(Dp(b)|0)==8:0)eda(d,a,b);else fda(d);if(c[d+28>>2]|0)rla(a,b,d+28|0);OL(e)|0}while(!(sk(e)|0));i=e;return}function sla(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;pk(f,a);rk(f);if(!(sk(f)|0))do{a=tk(f)|0;hda(a,b,d,e);if(c[a+28>>2]|0)sla(a+28|0,b,d,e);OL(f)|0}while(!(sk(f)|0));i=f;return}function tla(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0;if(d<<16>>16<=a<<16>>16?(b[c>>1]|0)>a<<16>>16:0)f=5;else if(d<<16>>16>16?(b[c>>1]|0)>=a<<16>>16:0)f=5;else e=0;if((f|0)==5)e=1;if(d<<16>>16>=a<<16>>16?(b[c>>1]|0)>16:0)f=10;else if(d<<16>>16>a<<16>>16?(b[c>>1]|0)<=a<<16>>16:0)f=10;if((f|0)==10)e=-1;return e|0}function ula(a){a=a|0;if(a){iv(a);YEa(a)}return}function vla(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;k=i;i=i+96|0;c[d+4>>2]=0;c[d>>2]=0;a[d+8>>0]=g;UK(d+10|0,0);b[d+12>>1]=0;b[d+14>>1]=0;PM(d+16|0,h);c[d+20>>2]=0;c[d+24>>2]=0;pk(k+56|0,d+20|0);pk(k+28|0,d+24|0);c[k>>2]=0;yk(k+56|0,f);pk(k+56|0,d+20|0);a:do if(!(vk(k+56|0)|0)){rk(k+56|0);f=0;g=0;while(1){if(sk(k+56|0)|0)break;pk(k,(tk(k+56|0)|0)+4|0);j=(e[(tk(k)|0)+18>>1]|0)&1;rk(k);h=0;while(1){h=h<<24>>24==0;if(!(h&((sk(k)|0)^1)))break;h=((e[(tk(k)|0)+18>>1]|0)&1^j)&255;OL(k)|0}do if(h)if(!j){g=g+1<<16>>16;break}else{f=f+1<<16>>16;break}else Ck(k+28|0,pv(k+56|0)|0);while(0);OL(k+56|0)|0}tv(d+10|0,12,f<<16>>16>g<<16>>16&1);pk(k+56|0,d+20|0);if(!(vk(k+56|0)|0)){rk(k+56|0);while(1){if(sk(k+56|0)|0)break a;pk(k,(tk(k+56|0)|0)+4|0);j=(e[(tk(k)|0)+18>>1]|0)&1;if(j<<24>>24!=((e[d+10>>1]|0)>>>12&1)<<24>>24)Ck(k+28|0,pv(k+56|0)|0);OL(k+56|0)|0}}}while(0);i=k;return}function wla(d,e,f){d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+64|0;c[d+4>>2]=0;c[d>>2]=0;b[d+10>>1]=b[f+10>>1]|0;b[d+12>>1]=0;b[d+14>>1]=b[f+14>>1]|0;OM(d+16|0,f+16|0);c[d+20>>2]=0;c[d+24>>2]=0;pk(g+28|0,e);pk(g,e);while(1){if(Ov(g)|0)break;OL(g)|0}LL(d+20|0,g+28|0,g);a[d+8>>0]=a[f+8>>0]|0;i=g;return}function xla(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+32|0;c[f+28>>2]=0;pk(f,f+28|0);Ck(f,e);e=WEa(28)|0;wla(e,f+28|0,a);tv(e+10|0,3,b&1);tv(e+10|0,4,d&1);KL(f+28|0,224);i=f;return e|0}function yla(a,b){a=a|0;b=b|0;zla(a,b,1,1);return}function zla(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+48|0;Ala(a,c);f=b[a+2>>1]|0;g=b[a+6>>1]|0;pk(h,c+24|0);rk(h);while(1){if(sk(h)|0)break;fla(h+32|0,tk(h)|0);if(!((b[h+34>>1]|0)>g<<16>>16&(d^1))?!((b[h+38>>1]|0)>16&(e^1)):0)bja(a,h+32|0);OL(h)|0}i=h;return}function Ala(a,c){a=a|0;c=c|0;var d=0;d=i;i=i+48|0;b[a>>1]=32767;b[a+2>>1]=32767;b[a+4>>1]=-32767;b[a+6>>1]=-32767;pk(d,c+20|0);rk(d);while(1){if(sk(d)|0)break;fla(d+32|0,tk(d)|0);bja(a,d+32|0);OL(d)|0}i=d;return}function Bla(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+112|0;pk(c+84|0,a+20|0);pk(c+56|0,b+20|0);pk(c+28|0,a+24|0);pk(c,b+24|0);if(!(vk(c+56|0)|0))do{qv(c+84|0,pv(c+56|0)|0);OL(c+56|0)|0}while(!(vk(c+56|0)|0));if(!(vk(c)|0))do{qv(c+28|0,pv(c)|0);OL(c)|0}while(!(vk(c)|0));i=c;return}function Cla(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+80|0;yla(g+72|0,d);e=b[g+72>>1]|0;yla(g+64|0,a);f=b[g+64>>1]|0;pk(g+36|0,a+20|0);c[g+32>>2]=0;$ka(g+32|0,d+20|0);if(e<<16>>16>16)yB(g+36|0,g+32|0);else{SL(g+36|0);yk(g+36|0,g+32|0)}if(c[d+24>>2]|0){pk(g+4|0,a+24|0);c[g>>2]=0;$ka(g,d+24|0);if(e<<16>>16>16)yB(g+4|0,g);else{SL(g+4|0);yk(g+4|0,g)}KL(g,224)}KL(g+32|0,224);i=g;return}function Dla(a){a=a|0;var f=0,g=0;f=i;i=i+16|0;c[f>>2]=d[a+8>>0];jN(366232,f);yla(f+8|0,a);jv(f+8|0);g=e[a+10>>1]|0;c[f>>2]=g;c[f+4>>2]=g;jN(366248,f);c[f>>2]=(b[a+10>>1]&1)!=0?366296:366304;jN(366272,f);c[f>>2]=(b[a+10>>1]&2)!=0?366296:366304;jN(366312,f);c[f>>2]=(b[a+10>>1]&8)!=0?366296:366304;jN(366336,f);c[f>>2]=(b[a+10>>1]&16)!=0?366296:366304;jN(366352,f);c[f>>2]=(b[a+10>>1]&32)!=0?366296:366304;jN(366368,f);c[f>>2]=(b[a+10>>1]&64)!=0?366296:366304;jN(366392,f);c[f>>2]=(b[a+10>>1]&128)!=0?366296:366304;jN(366424,f);c[f>>2]=(b[a+10>>1]&256)!=0?366296:366304;jN(366456,f);c[f>>2]=(b[a+10>>1]&512)!=0?366296:366304;jN(366480,f);c[f>>2]=(b[a+10>>1]&1024)!=0?366296:366304;jN(366504,f);c[f>>2]=(b[a+10>>1]&2048)!=0?366296:366304;jN(366528,f);c[f>>2]=VM(c[a+16>>2]|0)|0;jN(366552,f);c[f>>2]=NL(a+24|0)|0;jN(366568,f);c[f>>2]=b[a+14>>1];jN(366600,f);i=f;return}function Ela(c){c=c|0;var d=0;d=WEa(28)|0;AB(d);a[d+8>>0]=a[c+8>>0]|0;b[d+10>>1]=b[c+10>>1]|0;a[d+9>>0]=a[c+9>>0]|0;aN(d+16|0,c+16|0);return d|0}function Fla(d,e){d=d|0;e=e|0;c[d+4>>2]=0;c[d>>2]=0;a[d+8>>0]=a[e+8>>0]|0;b[d+10>>1]=b[e+10>>1]|0;b[d+14>>1]=b[e+14>>1]|0;a[d+9>>0]=a[e+9>>0]|0;aN(d+16|0,e+16|0);if(c[d+20>>2]|0)KL(d+20|0,224);$ka(d+20|0,e+20|0);if(c[d+24>>2]|0)KL(d+24|0,224);$ka(d+24|0,e+24|0);return}function Gla(a,d){a=a|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;f=c[d>>2]|0;yla(e+8|0,c[a>>2]|0);d=b[e+8>>1]|0;yla(e,f);i=e;return (d<<16>>16)-(b[e>>1]|0)|0}function Hla(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+256|0;c[l+32>>2]=0;pk(l+124|0,l+32|0);yk(l+124|0,a+20|0);c[l+120>>2]=0;pk(l+152|0,l+120|0);c[l+180>>2]=0;pk(l+36|0,l+180|0);SL(l+36|0);qk(l+124|0);rk(l+124|0);while(1){if(sk(l+124|0)|0)break;j=pv(l+124|0)|0;fla(l+216|0,j);pk(l+64|0,d);rk(l+64|0);f=0;while(1){if(sk(l+64|0)|0)break;g=tk(l+64|0)|0;fla(l+224|0,g);if(!((b[l+224>>1]|0)<(b[l+228>>1]|0)?(b[l+230>>1]|0)>(b[l+226>>1]|0):0))jN(366616,l);if(!(!(sP(l+216|0,l+224|0)|0)?!(Kk(l+216|0,l+224|0)|0):0)){pv(l+64|0)|0;Ck(l+152|0,g);f=1}OL(l+64|0)|0}if(f){if(j){KL(j+4|0,230);YEa(j)}}else Ck(l+36|0,j);OL(l+124|0)|0}qk(l+36|0);rk(l+36|0);while(1){if(sk(l+36|0)|0)break;fla(l+240|0,tk(l+36|0)|0);c[l+4>>2]=c[l+152>>2];c[l+8>>2]=c[l+156>>2];c[l+12>>2]=c[l+160>>2];c[l+16>>2]=c[l+164>>2];c[l+20>>2]=c[l+168>>2];c[l+24>>2]=c[l+172>>2];c[l+28>>2]=c[l+176>>2];rk(l+4|0);while(1){if(sk(l+4|0)|0)break;fla(l+232|0,tk(l+4|0)|0);if(!(!(Kk(l+240|0,l+232|0)|0)?!(Kk(l+232|0,l+240|0)|0):0))k=23;if((k|0)==23?(k=0,+CA(b[l+242>>1]|0,b[l+246>>1]|0,b[l+234>>1]|0,b[l+238>>1]|0)>.8):0){k=24;break}OL(l+4|0)|0}if((k|0)==24?(k=0,h=pv(l+36|0)|0,(h|0)!=0):0){KL(h+4|0,230);YEa(h)}OL(l+36|0)|0}if(e){pk(l+92|0,e);SL(l+92|0);yk(l+92|0,l+180|0)}if(!(c[l+120>>2]|0)){pk(l+184|0,a+20|0);yk(l+184|0,l+180|0);f=0}else{f=WEa(28)|0;wla(f,l+120|0,a)}KL(l+180|0,224);KL(l+120|0,224);KL(l+32|0,224);i=l;return f|0}function Ila(a,b){a=a|0;b=+b;var d=0,f=0,g=0,h=0;f=i;i=i+96|0;pk(f+64|0,a+20|0);pk(f+36|0,a+24|0);rk(f+64|0);if(!(sk(f+64|0)|0))do{a=(tk(f+64|0)|0)+4|0;pk(f+8|0,a);rk(f+8|0);if(!(sk(f+8|0)|0))do{g=(tk(f+8|0)|0)+4|0;h=e[g+4>>1]|e[g+6>>1]<<16;c[f>>2]=e[g>>1]|e[g+2>>1]<<16;c[f+4>>2]=h;h=kl(f)|0;g=ll(f)|0;if(+((h<<16>>16>g<<16>>16?h:g)<<16>>16)>2]|0)==0?(d=pv(f+64|0)|0,(d|0)!=0):0){KL(d+4|0,230);YEa(d)}OL(f+64|0)|0}while(!(sk(f+64|0)|0));i=f;return}function Jla(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+64|0;pk(c+28|0,a+24|0);rk(c+28|0);if(!(vk(c+28|0)|0))do{a=pv(c+28|0)|0;pk(c,a+4|0);Vw(b,pv(c)|0);if(a){KL(a+4|0,230);YEa(a)}OL(c+28|0)|0}while(!(vk(c+28|0)|0));i=c;return}function Kla(d,f,g,h,j){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+128|0;if(j)a[j>>0]=0;pk(r+84|0,d+24|0);l=c[h>>2]|0;if((l|0)>0){m=0;k=0;do{o=c[(Uw(l,c[h+8>>2]|0,m)|0)>>2]|0;a:do if(o){if(!(a[(Qw(f,m)|0)>>0]|0)){n=WEa(8)|0;cla(n,o);qv(r+84|0,n);break}l=c[(Sw(g,m)|0)>>2]|0;n=(e[o+4>>1]|e[o+6>>1]<<16)&65535;if(l){pk(r,l+4|0);qv(r,o);break}l=WEa(8)|0;cla(l,o);pk(r+56|0,d+20|0);rk(r+56|0);while(1){if(sk(r+56|0)|0)break;fla(r+112|0,tk(r+56|0)|0);if((b[r+112>>1]|0)>n<<16>>16){q=11;break}OL(r+56|0)|0}if((q|0)==11){q=0;if(xk(r+56|0)|0?(p=e[d+10>>1]|0,(p&1024|0)==0):0)k=(p&2048|0)==0|k;Qv(r+56|0,l)}if(sk(r+56|0)|0?(qv(r+56|0,l),(j|0)!=0):0)a[j>>0]=1;pk(r+28|0,l+4|0);while(1){l=m+1|0;if((l|0)>=(c[h>>2]|0))break a;if(!(a[(Qw(f,l)|0)>>0]|0))break a;if(c[(Sw(g,l)|0)>>2]|0)break a;qv(r+28|0,c[(Uw(c[h>>2]|0,c[h+8>>2]|0,l)|0)>>2]|0);m=l}}while(0);m=m+1|0;l=c[h>>2]|0}while((m|0)<(l|0))}else k=0;i=r;return k|0}function Lla(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;a:do if((c[a+28>>2]|0)>0){e=0;f=0;do{d=bx(a,f)|0;do if(!(nx(b,d)|0)){if(ox(b,d)|0){d=366664+(e<<4)|0;break}if(az(b,d)|0){d=366668+(e<<4)|0;break}else{d=366656+(e<<4)|0;break}}else d=366660+(e<<4)|0;while(0);e=c[d>>2]|0;f=f+1|0;if((e|0)==-1){d=0;break a}}while((f|0)<(c[a+28>>2]|0));d=(e|0)!=5;g=12}else{d=1;g=12}while(0);if((g|0)==12)d=d&1;return d|0}function Mla(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;h=c[b+28>>2]|0;a:do if(!h)d=0;else{d=c[(c[a>>2]|0)+8>>2]|0;if((h+-1|0)>0){f=0;e=0;g=0;do{i=bx(b,g)|0;d=Uc[d&31](a,f,e,i,0)|0;e=F;if((d|0)==-1&(e|0)==-1){d=0;break a}f=Vc[c[(c[a>>2]|0)+16>>2]&63](a,d,e)|0;e=F;g=g+1|0;if((f|0)==0&(e|0)==0){d=0;break a}d=c[(c[a>>2]|0)+8>>2]|0}while((g|0)<(h+-1|0))}else{f=0;e=0}i=bx(b,h+-1|0)|0;d=Uc[d&31](a,f,e,i,1)|0;d=(d|0)!=-1|(F|0)!=-1}while(0);return d|0}function Nla(a,b){a=a|0;b=b|0;return Mla(a,b)|0}function Ola(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[a+4>>2]=b;aN(a+8|0,d);c[a+12>>2]=e;if((f|0)<=0){c[h>>2]=366784;c[h+4>>2]=182;$L(366752,366760,2,1702e3,h)}c[a+16>>2]=f;e=~~+aa(+(+$(+(+(f|0)+1.0))/.6931471805599453));c[a+20>>2]=e;c[a+24>>2]=e+3;d=_Ga(-1,-1,e|0)|0;b=F;c[a+48>>2]=~d;c[a+52>>2]=~b;e=_Ga(-1,-1,e+3|0)|0;f=F;c[a+32>>2]=e;c[a+36>>2]=f;c[a+40>>2]=d&~e;c[a+44>>2]=b&~f;c[a+56>>2]=g;i=h;return}function Pla(a){a=a|0;c[a>>2]=366816;Hoa(c[a+60>>2]|0);c[a>>2]=367304;RM(c[a+8>>2]|0);return}function Qla(a){a=a|0;Pla(a);YEa(a);return}function Rla(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:do if(!b)if(!d){d=c[a+68>>2]|0;if((d|0)<1){d=-1;b=-1}else{l=c[a+60>>2]|0;i=((d+-1|0)<0)<<31>>31;g=0;k=0;d=d+-1|0;while(1){j=d;while(1){b=QGa(j|0,i|0,g|0,k|0)|0;b=TGa(b|0,F|0,1)|0;d=F;h=Wla(a,-1,-1,f,e,c[l+(b<<3)>>2]|0,c[l+(b<<3)+4>>2]|0)|0;if((h|0)==1)break;else if(!h)break a;d=QGa(b|0,d|0,-1,-1)|0;b=F;if((k|0)>(b|0)|(k|0)==(b|0)&g>>>0>d>>>0){d=-1;b=-1;break a}else{j=d;i=b}}g=QGa(b|0,d|0,1,0)|0;if((d|0)<(i|0)|(d|0)==(i|0)&b>>>0>>0){k=F;d=j}else{d=-1;b=-1;break}}}}else m=10;else if((b|0)==-1?(d|0)==-1:0){d=-1;b=-1}else m=10;while(0);b:do if((m|0)==10){k=c[a+60>>2]|0;g=c[k+(b<<3)>>2]|0;h=c[k+(b<<3)+4>>2]|0;if((g|0)==(c[a+32>>2]|0)?(h|0)==(c[a+36>>2]|0):0){d=-1;b=-1}else{j=c[a+48>>2]|0;l=c[a+52>>2]|0;while(1){if((j&g|0)==(e|0)){if(!f)break b;i=c[a+20>>2]|0;m=_Ga(4,0,i|0)|0;if(!((m&g|0)==0&(F&h|0)==0))break b}else i=c[a+20>>2]|0;b=QGa(b|0,d|0,1,0)|0;d=F;m=_Ga(1,0,i|0)|0;if(!((m&g|0)==0&(F&h|0)==0)){d=-1;b=-1;break b}g=c[k+(b<<3)>>2]|0;h=c[k+(b<<3)+4>>2]|0}}}while(0);F=d;return b|0}function Sla(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;if(Xla(a,0,0)|0){g=c[a+60>>2]|0;b=_Ga(1,0,c[a+20>>2]|0)|0;d=F;e=0;f=0;a=0;while(1){a=a+1|0;h=e;e=QGa(e|0,f|0,1,0)|0;if(!((b&c[g+(h<<3)>>2]|0)==0?(d&c[g+(h<<3)+4>>2]|0)==0:0))break;else f=F}}else a=0;return a|0}function Tla(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+32|0;a:do if(!((b|0)==-1&(d|0)==-1)){k=(c[a+60>>2]|0)+(b<<3)|0;h=c[k>>2]|0;k=c[k+4>>2]|0;b:do if(!((h|0)==(c[a+32>>2]|0)?(k|0)==(c[a+36>>2]|0):0)){n=b;m=d;g=c[a+20>>2]|0;while(1){j=Xla(a,n,m)|0;l=_Ga(1,0,g|0)|0;k=(l&h|0)!=0|(F&k|0)!=0?366872:366880;l=Vc[c[(c[a>>2]|0)+20>>2]&63](a,n,m)|0;h=Vc[c[(c[a>>2]|0)+24>>2]&63](a,n,m)|0;g=Vc[c[(c[a>>2]|0)+16>>2]&63](a,n,m)|0;c[p>>2]=n;c[p+4>>2]=m;c[p+8>>2]=g;c[p+12>>2]=F;c[p+16>>2]=h;c[p+20>>2]=j?366856:366864;c[p+24>>2]=k;c[p+28>>2]=l?366888:366896;jN(366904,p);l=PGa(n|0,m|0,b|0,d|0)|0;k=F;if((k|0)>(((e|0)<0)<<31>>31|0)|(k|0)==(((e|0)<0)<<31>>31|0)&l>>>0>e>>>0)break a;l=QGa(n|0,m|0,1,0)|0;k=F;j=c[a+60>>2]|0;n=j+(n<<3)|0;m=c[n>>2]|0;n=c[n+4>>2]|0;g=c[a+20>>2]|0;h=_Ga(1,0,g|0)|0;if(!((h&m|0)==0&(F&n|0)==0))break;n=l;m=k;h=c[j+(l<<3)>>2]|0;k=c[j+(l<<3)+4>>2]|0}e=c[a+64>>2]|0;if(((k|0)<(((e|0)<0)<<31>>31|0)|(k|0)==(((e|0)<0)<<31>>31|0)&l>>>0>>0?(o=c[j+(l<<3)>>2]|0,f=c[j+(l<<3)+4>>2]|0,!((o|0)==(c[a+32>>2]|0)?(f|0)==(c[a+36>>2]|0):0)):0)?Yla(a,l,k)|0:0){m=l;l=k;h=o;while(1){n=Xla(a,m,l)|0;e=_Ga(1,0,g|0)|0;e=(e&h|0)!=0|(F&f|0)!=0?366872:366880;o=Vc[c[(c[a>>2]|0)+20>>2]&63](a,m,l)|0;k=Vc[c[(c[a>>2]|0)+24>>2]&63](a,m,l)|0;j=Vc[c[(c[a>>2]|0)+16>>2]&63](a,m,l)|0;c[p>>2]=m;c[p+4>>2]=l;c[p+8>>2]=j;c[p+12>>2]=F;c[p+16>>2]=k;c[p+20>>2]=n?366856:366864;c[p+24>>2]=e;c[p+28>>2]=o?366888:366896;jN(366904,p);o=PGa(m|0,l|0,b|0,d|0)|0;e=F;if((e|0)>0|(e|0)==0&o>>>0>100)break a;j=QGa(m|0,l|0,1,0)|0;f=F;k=c[a+60>>2]|0;o=k+(m<<3)|0;e=c[o>>2]|0;o=c[o+4>>2]|0;g=c[a+20>>2]|0;n=_Ga(1,0,g|0)|0;if(!((n&e|0)==0&(F&o|0)==0))break b;m=j;l=f;h=c[k+(j<<3)>>2]|0;f=c[k+(j<<3)+4>>2]|0}}}else{c[p>>2]=b;c[p+4>>2]=d;jN(366952,p)}while(0);jN(1714256,p)}while(0);i=p;return}function Ula(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;e=i;i=i+32|0;if((b|0)==-1&(d|0)==-1)jN(366984,e);else{k=Vc[c[(c[a>>2]|0)+16>>2]&63](a,b,d)|0;j=F;h=Vc[c[(c[a>>2]|0)+24>>2]&63](a,b,d)|0;g=Xla(a,b,d)|0;f=(c[a+60>>2]|0)+(b<<3)|0;l=c[f>>2]|0;f=c[f+4>>2]|0;m=_Ga(1,0,c[a+20>>2]|0)|0;f=(m&l|0)!=0|(F&f|0)!=0?366872:366880;a=Vc[c[(c[a>>2]|0)+20>>2]&63](a,b,d)|0;c[e>>2]=b;c[e+4>>2]=d;c[e+8>>2]=k;c[e+12>>2]=j;c[e+16>>2]=h;c[e+20>>2]=g?366856:366864;c[e+24>>2]=f;c[e+28>>2]=a?366888:1714496;jN(367e3,e)}i=e;return}function Vla(a,d,e,f,g,h){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;k=i;i=i+32|0;if(h)jN(367056,k);Ha(k+24|0,2,1,d|0)|0;j=(b[k+24>>1]|0)!=42;Ha(k+20|0,4,1,d|0)|0;Ha(a+64|0,4,1,d|0)|0;if(j){_K(k+20|0,4);_K(a+64|0,4)}if((c[a+64>>2]|0)<=0){c[k>>2]=366784;c[k+4>>2]=339;$L(366752,367080,2,1702e3,k)}Ola(a,e,f,g,c[k+20>>2]|0,h);e=Goa(c[a+64>>2]<<3)|0;c[a+60>>2]=e;Ha(e|0,8,c[a+64>>2]|0,d|0)|0;if(j?(c[a+64>>2]|0)>0:0){j=0;d=0;do{_K((c[a+60>>2]|0)+(j<<3)|0,8);j=QGa(j|0,d|0,1,0)|0;d=F;e=c[a+64>>2]|0}while((d|0)<(((e|0)<0)<<31>>31|0)|(d|0)==(((e|0)<0)<<31>>31|0)&j>>>0>>0)}if((h|0)>2?(j=c[a+4>>2]|0,f=VM(c[a+8>>2]|0)|0,g=c[a+12>>2]|0,e=c[a+16>>2]|0,h=c[a+64>>2]|0,c[k>>2]=j,c[k+4>>2]=f,c[k+8>>2]=g,c[k+12>>2]=e,c[k+16>>2]=h,jN(367096,k),(c[a+64>>2]|0)>0):0){d=0;j=0;do{Ula(a,d,j);d=QGa(d|0,j|0,1,0)|0;j=F;h=c[a+64>>2]|0}while((j|0)<(((h|0)<0)<<31>>31|0)|(j|0)==(((h|0)<0)<<31>>31|0)&d>>>0>>0)}i=k;return}function Wla(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;i=c[a+48>>2]&g;j=UGa(c[a+32>>2]&g|0,c[a+36>>2]&h|0,c[a+24>>2]|0)|0;k=F;a=_Ga(4,0,c[a+20>>2]|0)|0;g=(a&g|0)!=0|(F&h|0)!=0;do if(!(gma(b,d,e,f,j,k,g,i)|0))if((i|0)<(f|0))g=1;else{if((i|0)==(f|0)){if((k|0)<(d|0)|(k|0)==(d|0)&j>>>0>>0){g=1;break}if((j|0)==(b|0)&(k|0)==(d|0)&((g^1)&e)){g=1;break}}g=-1}else g=0;while(0);return g|0}function Xla(a,b,d){a=a|0;b=b|0;d=d|0;d=(c[a+60>>2]|0)+(b<<3)|0;b=c[d>>2]|0;d=c[d+4>>2]|0;if((b|0)==(c[a+32>>2]|0)?(d|0)==(c[a+36>>2]|0):0)b=0;else{a=_Ga(2,0,c[a+20>>2]|0)|0;b=(a&b|0)==0&(F&d|0)==0}return b|0}function Yla(a,b,d){a=a|0;b=b|0;d=d|0;d=(c[a+60>>2]|0)+(b<<3)|0;b=c[d>>2]|0;d=c[d+4>>2]|0;if((b|0)==(c[a+32>>2]|0)?(d|0)==(c[a+36>>2]|0):0)b=0;else{a=_Ga(2,0,c[a+20>>2]|0)|0;b=(a&b|0)!=0|(F&d|0)!=0}return b|0}function Zla(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;g=c[a+60>>2]|0;if(!((b|0)==-1&(d|0)==-1|((c[g+(b<<3)>>2]|0)==(c[a+32>>2]|0)?(c[g+(b<<3)+4>>2]|0)==(c[a+36>>2]|0):0))){if(!(Xla(a,b,d)|0))Ja(367240,367264,449,367280);do{i=g+(b<<3)|0;h=c[i>>2]|0;i=c[i+4>>2]|0;if(f?(k=c[a+20>>2]|0,j=_Ga(4,0,k|0)|0,(j&h|0)==0&(F&i|0)==0):0)j=k;else{g=i;l=7}if((l|0)==7){l=0;hma(e,c[a+48>>2]&h,b,d);g=c[a+60>>2]|0;i=g+(b<<3)|0;j=c[a+20>>2]|0;h=c[i>>2]|0;i=c[i+4>>2]|0}b=QGa(b|0,d|0,1,0)|0;d=F;j=_Ga(1,0,j|0)|0}while((j&h|0)==0&(F&i|0)==0)}return}function _la(a,b,d){a=a|0;b=b|0;d=d|0;d=(c[a+60>>2]|0)+(b<<3)|0;a=UGa(c[a+32>>2]&c[d>>2]|0,c[a+36>>2]&c[d+4>>2]|0,c[a+24>>2]|0)|0;return a|0}function $la(a,b,d){a=a|0;b=b|0;d=d|0;d=(c[a+60>>2]|0)+(b<<3)|0;b=c[d>>2]|0;d=c[d+4>>2]|0;a=_Ga(4,0,c[a+20>>2]|0)|0;return (a&b|0)!=0|(F&d|0)!=0|0}function ama(a,b,d){a=a|0;b=b|0;d=d|0;d=(c[a+60>>2]|0)+(b<<3)|0;return c[a+48>>2]&c[d>>2]|0}function bma(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return}function cma(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;F=0;return 0}function dma(a){a=a|0;c[a>>2]=367304;RM(c[a+8>>2]|0);return}function ema(a){a=a|0;c[a>>2]=367304;RM(c[a+8>>2]|0);YEa(a);return}function fma(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){g=XEa(b>>>0>268435455?-1:b<<4)|0;if(b){d=g;do{c[d>>2]=-1;f=d+8|0;c[f>>2]=-1;c[f+4>>2]=-1;d=d+16|0}while((d|0)!=(g+(b<<4)|0))}e=c[a>>2]|0;if((e|0)>0){f=0;do{h=g+(f<<4)|0;d=c[a+8>>2]|0;i=d+(f<<4)|0;c[h+0>>2]=c[i+0>>2];c[h+4>>2]=c[i+4>>2];c[h+8>>2]=c[i+8>>2];c[h+12>>2]=c[i+12>>2];f=f+1|0}while((f|0)!=(e|0))}else d=c[a+8>>2]|0;if(d)ZEa(d);c[a+8>>2]=g;c[a+4>>2]=b}return}function gma(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;if((d|0)==(h|0))if(((a|0)!=(e|0)|(b|0)!=(f|0))&((a|0)!=-1|(b|0)!=-1)|c^1)a=((a|0)!=(e|0)|(b|0)!=(f|0))&((a|0)!=-1|(b|0)!=-1)^1;else a=c^g^1;else a=0;return a|0}function hma(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=c[a>>2]|0;if((f|0)==(c[a+4>>2]|0)){ima(a);f=c[a>>2]|0}c[a>>2]=f+1;a=c[a+8>>2]|0;c[a+(f<<4)>>2]=b;a=a+(f<<4)+8|0;c[a>>2]=d;c[a+4>>2]=e;return}function ima(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)fma(a,4);else fma(a,b<<1);return}function jma(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+32|0;PM(h+24|0,e);dN(h+24|0,c[367352+(f<<2)>>2]|0);OM(h+8|0,d);c[h+12>>2]=e;c[h+16>>2]=f;c[h+20>>2]=g;OM(h,h+24|0);f=WEa(16)|0;c[f>>2]=367432;c[f+4>>2]=h+8;a[f+8>>0]=72;a[f+9>>0]=0;a[f+10>>0]=0;a[f+11>>0]=0;a[f+12>>0]=0;a[f+13>>0]=0;a[f+14>>0]=0;a[f+15>>0]=0;b=lma(b,h,f)|0;RM(c[h>>2]|0);RM(c[h+8>>2]|0);RM(c[h+24>>2]|0);i=h;return b|0}function kma(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;f=i;i=i+160|0;hL(f);a:do if(iN(f,c[a+4>>2]|0,c[a+12>>2]|0)|0?KI(f,c[a+8>>2]|0)|0:0){b=c[f+144>>2]|0;switch(c[a+8>>2]|0){case 14:{d=1;e=12;break}case 15:{d=1;e=8;break}case 8:{d=2;e=6;break}case 9:{d=1;e=11;break}case 7:{d=1;e=8;break}case 6:{d=0;e=1;break}default:{RI(f);b=0;break a}}g=WEa(72)|0;mma(g,b,d,a,e,c[a+12>>2]|0);RI(f);b=g}else b=0;while(0);RM(c[f+140>>2]|0);i=f;return b|0}function lma(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;eL(a);a:do if((c[a+24>>2]|0)>0){f=0;while(1){e=f+1|0;if((ZM(b,fl(a+24|0,f)|0)|0)<<24>>24)break;if((e|0)<(c[a+24>>2]|0))f=e;else{g=8;break a}}e=c[(fl(a+24|0,f)|0)+4>>2]|0;if(c[(fl(a+24|0,f)|0)+4>>2]|0){f=(fl(a+24|0,f)|0)+8|0;c[f>>2]=(c[f>>2]|0)+1}fL(a);if(d)Qc[c[(c[d>>2]|0)+4>>2]&511](d)}else g=8;while(0);if((g|0)==8){c[h+0>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;NM(h);qma(a+24|0,h);RM(c[h>>2]|0);g=rma(a+24|0)|0;aN(g,b);e=Tc[c[(c[d>>2]|0)+8>>2]&127](d)|0;c[g+4>>2]=e;c[g+8>>2]=(e|0)!=0&1;fL(a)}i=h;return e|0}function mma(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;c[a>>2]=367304;NM(a+8|0);c[a>>2]=366816;Vla(a,b,d,e,f,g);c[a+68>>2]=Sla(a)|0;return}function nma(a){a=a|0;return}function oma(a){a=a|0;YEa(a);return}function pma(b){b=b|0;var e=0,f=0,g=0;e=d[b+8>>0]|d[b+9>>0]<<8|d[b+10>>0]<<16|d[b+11>>0]<<24;g=d[b+12>>0]|d[b+13>>0]<<8|d[b+14>>0]<<16|d[b+15>>0]<<24;f=(c[b+4>>2]|0)+(g>>1)|0;if(!(g&1))e=Tc[e&127](f)|0;else e=Tc[c[(c[f>>2]|0)+e>>2]&127](f)|0;a[b+8>>0]=0;a[b+9>>0]=0;a[b+10>>0]=0;a[b+11>>0]=0;a[b+12>>0]=0;a[b+13>>0]=0;a[b+14>>0]=0;a[b+15>>0]=0;Qc[c[(c[b>>2]|0)+4>>2]&511](b);return e|0}function qma(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){sma(a);d=c[a>>2]|0}c[a>>2]=d+1;ql((c[a+8>>2]|0)+(d*12|0)|0,b);return}function rma(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if((b|0)<=0){c[d>>2]=1701680;c[d+4>>2]=669;$L(367344,375960,2,1702e3,d);b=c[a>>2]|0}i=d;return (c[a+8>>2]|0)+((b+-1|0)*12|0)|0}function sma(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)tma(a,4);else tma(a,b<<1);return}function tma(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){f=XEa(b>>>0>357913941|(b*12|0)>>>0>4294967291?-1:(b*12|0)+4|0)|0;c[f>>2]=b;if(b){d=f+4|0;do{NM(d);d=d+12|0}while((d|0)!=(f+4+(b*12|0)|0))}if((c[a>>2]|0)>0){d=0;do{ql(f+4+(d*12|0)|0,(c[a+8>>2]|0)+(d*12|0)|0);d=d+1|0}while((d|0)<(c[a>>2]|0))}e=c[a+8>>2]|0;if(e){d=c[e+-4>>2]|0;if(d){d=e+(d*12|0)|0;do{d=d+-12|0;RM(c[d>>2]|0)}while((d|0)!=(e|0))}ZEa(e+-4|0)}c[a+8>>2]=f+4;c[a+4>>2]=b}return}function uma(b,d){b=b|0;d=d|0;a[b+8>>0]=8;a[b+9>>0]=0;a[b+10>>0]=0;a[b+11>>0]=0;a[b+12>>0]=0;a[b+13>>0]=0;a[b+14>>0]=0;a[b+15>>0]=0;a[b+16>>0]=1;a[b+17>>0]=0;a[b+18>>0]=0;a[b+19>>0]=0;a[b+20>>0]=0;a[b+21>>0]=0;a[b+22>>0]=0;a[b+23>>0]=0;a[b+24>>0]=0;a[b+25>>0]=0;a[b+26>>0]=0;a[b+27>>0]=0;a[b+28>>0]=0;a[b+29>>0]=0;a[b+30>>0]=0;a[b+31>>0]=0;c[b+32>>2]=d;cR(b+72|0);Jma(b+96|0);Kma(b+124|0);nL(b+144|0);sJ(b+196|0,1714496,367864,367880,0,(c[b+32>>2]|0)+364|0);sJ(b+220|0,1714496,367920,367944,1,(c[b+32>>2]|0)+364|0);sJ(b+244|0,1714496,368e3,368024,0,(c[b+32>>2]|0)+364|0);sJ(b+268|0,1714496,368064,368088,1,(c[b+32>>2]|0)+364|0);Wk(b+292|0,1,368144,368168,1,(c[b+32>>2]|0)+364|0);Wk(b+308|0,1,368192,368208,1,(c[b+32>>2]|0)+364|0);Wk(b+324|0,1,368240,368264,1,(c[b+32>>2]|0)+364|0);Wk(b+340|0,1,368296,368312,1,(c[b+32>>2]|0)+364|0);Wk(b+356|0,1,368352,368376,1,(c[b+32>>2]|0)+364|0);Wk(b+372|0,1,368408,368432,1,(c[b+32>>2]|0)+364|0);tJ(b+392|0,.125,368472,368504,(c[b+32>>2]|0)+364|0);tJ(b+432|0,.25,368616,368648,(c[b+32>>2]|0)+364|0);tJ(b+472|0,1.0,368712,368752,(c[b+32>>2]|0)+364|0);tJ(b+512|0,1.1,368864,368896,(c[b+32>>2]|0)+364|0);tJ(b+552|0,1.3125,368976,369008,(c[b+32>>2]|0)+364|0);tJ(b+592|0,1.24,369104,369144,(c[b+32>>2]|0)+364|0);tJ(b+632|0,1.25,369200,369232,(c[b+32>>2]|0)+364|0);tJ(b+672|0,1.5,369344,369368,(c[b+32>>2]|0)+364|0);sJ(b+712|0,1714496,369496,369520,0,(c[b+32>>2]|0)+364|0);rJ(b+736|0,0,369576,369600,0,(c[b+32>>2]|0)+364|0);rJ(b+760|0,0,369696,369720,0,(c[b+32>>2]|0)+364|0);rJ(b+784|0,10,369760,369784,0,(c[b+32>>2]|0)+364|0);Wk(b+808|0,0,369816,369848,0,(c[b+32>>2]|0)+364|0);tJ(b+824|0,20.0,381352,381368,(c[b+32>>2]|0)+364|0);tJ(b+864|0,-2.5,369936,369968,(c[b+32>>2]|0)+364|0);tJ(b+904|0,1.0,370008,370056,(c[b+32>>2]|0)+364|0);rJ(b+944|0,2,370080,370104,0,(c[b+32>>2]|0)+364|0);tJ(b+968|0,-.5,370160,370192,(c[b+32>>2]|0)+364|0);tJ(b+1008|0,3.0,370256,370296,(c[b+32>>2]|0)+364|0);rJ(b+1048|0,0,370352,370376,0,(c[b+32>>2]|0)+364|0);Wk(b+1072|0,0,370400,370432,0,(c[b+32>>2]|0)+364|0);Wk(b+1088|0,0,370536,370560,0,(c[b+32>>2]|0)+364|0);rJ(b+1104|0,10,370600,370640,0,(c[b+32>>2]|0)+364|0);sJ(b+1128|0,1714496,370672,370688,0,(c[b+32>>2]|0)+364|0);sJ(b+1152|0,1714496,370760,370784,0,(c[b+32>>2]|0)+364|0);rJ(b+1176|0,0,370824,370840,0,(c[b+32>>2]|0)+364|0);Wk(b+1200|0,0,370872,370904,0,(c[b+32>>2]|0)+364|0);Wk(b+1216|0,0,371048,371064,0,(c[b+32>>2]|0)+364|0);tJ(b+1232|0,0.0,371088,371120,(c[b+32>>2]|0)+364|0);tJ(b+1272|0,-2.25,371168,371200,(c[b+32>>2]|0)+364|0);rJ(b+1312|0,1e4,371280,371304,0,(c[b+32>>2]|0)+364|0);c[b+36>>2]=0;c[b+40>>2]=0;g[b+44>>2]=0.0;a[b>>0]=0;a[b+1>>0]=0;a[b+2>>0]=0;a[b+3>>0]=0;a[b+4>>0]=0;a[b+5>>0]=0;a[b+6>>0]=0;a[b+7>>0]=0;c[b+68>>2]=0;a[b+92>>0]=0;c[b+64>>2]=-1;c[b+116>>2]=0;a[b+120>>0]=0;c[b+164>>2]=0;c[b+168>>2]=0;c[b+172>>2]=0;c[b+176>>2]=0;c[b+180>>2]=0;c[b+184>>2]=0;g[b+188>>2]=-1.0;c[b+192>>2]=0;return}function vma(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;B=i;i=i+192|0;if((c[b+748>>2]|0)>2){QN(B+184|0,(c[b+32>>2]|0)+184|0,e);t=c[B+184>>2]|0;r=VM(t)|0;s=c[c[d>>2]>>2]|0;c[B>>2]=r;c[B+4>>2]=f&1;c[B+8>>2]=s;jN(371624,B);RM(t)}if(!((e|0)==0|(e|0)==-1)){c[B+188>>2]=0;c[c[d+4>>2]>>2]=0;j=c[d>>2]|0;if((c[j>>2]|0)>0){t=0;do{s=sR(j,t)|0;j=a[s+16>>0]|0;if(j<<24>>24>-1)r=c[(Pk(b+124|0,j<<24>>24)|0)>>2]|0;else r=0;j=a[s>>0]|0;if(j<<24>>24>-1)l=c[(Pk(b+124|0,j<<24>>24)|0)>>2]|0;else l=0;j=(l|0)!=0;m=(r|0)!=0;a:do if(j|m){if(!j){g=wR(r,c[s+24>>2]|0,c[s+28>>2]|0)|0;n=F;o=Uc[c[(c[r>>2]|0)+8>>2]&31](r,g,n,0,f)|0;p=F;if(!((o|0)==-1&(p|0)==-1)?(z=c[(JK(b+144|0,a[s+16>>0]|0)|0)>>2]|0,(c[z>>2]|0)>0):0){q=0;do{l=c[(Ik(z,q)|0)>>2]|0;k=c[(Pk(b+124|0,l)|0)>>2]|0;j=Nma(b,e,k)|0;j=Uc[c[(c[k>>2]|0)+8>>2]&31](k,0,0,j,f)|0;h=F;if(!((j|0)==-1&(h|0)==-1)){m=c[b+748>>2]|0;if((m|0)>2){c[B>>2]=l;jN(371752,B);m=c[b+748>>2]|0}C=c[d+4>>2]|0;D=a[s+16>>0]|0;a[B+144>>0]=l;c[B+152>>2]=j;c[B+156>>2]=h;a[B+160>>0]=D;c[B+168>>2]=o;c[B+172>>2]=p;a[B+176>>0]=0;Oma(C,B+144|0,(m|0)>0,371784);j=c[k+12>>2]|0;if((j|0)>(c[B+188>>2]|0))c[B+188>>2]=j}q=q+1|0}while((q|0)<(c[z>>2]|0))}h=Uc[c[(c[r>>2]|0)+8>>2]&31](r,g,n,e,f)|0;g=F;if((h|0)==-1&(g|0)==-1)break;j=c[b+748>>2]|0;if((j|0)>2){jN(371840,B);j=c[b+748>>2]|0}D=c[d+4>>2]|0;C=a[s+16>>0]|0;a[B+104>>0]=-1;c[B+112>>2]=-1;c[B+116>>2]=-1;a[B+120>>0]=C;c[B+128>>2]=h;c[B+132>>2]=g;a[B+136>>0]=0;Oma(D,B+104|0,(j|0)>0,371880);if((c[B+188>>2]|0)>=1)break;c[B+188>>2]=1;break}if((((m?Vc[c[(c[l>>2]|0)+20>>2]&63](l,c[s+8>>2]|0,c[s+12>>2]|0)|0:0)?(u=wR(r,c[s+24>>2]|0,c[s+28>>2]|0)|0,v=F,!((u|0)==-1&(v|0)==-1)):0)?(w=Uc[c[(c[r>>2]|0)+8>>2]&31](r,u,v,e,f)|0,x=F,!((w|0)==-1&(x|0)==-1)):0)?(y=c[d+4>>2]|0,q=c[s+8>>2]|0,C=c[s+12>>2]|0,D=a[s+16>>0]|0,a[B+24>>0]=a[s>>0]|0,c[B+32>>2]=q,c[B+36>>2]=C,a[B+40>>0]=D,c[B+48>>2]=w,c[B+52>>2]=x,a[B+56>>0]=1,Oma(y,B+24|0,(c[b+748>>2]|0)>0,371912),y=c[l+12>>2]|0,(y|0)>(c[B+188>>2]|0)):0)c[B+188>>2]=y;if(!(a[s+32>>0]|0)){if((c[l+4>>2]|0)==3){Ama(b,l,s,e,f,c[d+4>>2]|0,B+188|0);break}j=wR(l,c[s+8>>2]|0,c[s+12>>2]|0)|0;h=F;if((j|0)==-1&(h|0)==-1){g=-1;k=-1}else{k=c[(c[l>>2]|0)+8>>2]|0;g=Nma(b,e,l)|0;g=Uc[k&31](l,j,h,g,f)|0;k=F}if((c[b+748>>2]|0)>2){c[B>>2]=a[s>>0];c[B+4>>2]=j;c[B+8>>2]=h;c[B+12>>2]=g;c[B+16>>2]=k;jN(371944,B)}if(!((g|0)==-1&(k|0)==-1)){if((c[b+748>>2]|0)>2){c[B>>2]=a[s>>0];jN(371752,B)}do if(m&f){if(Vc[c[(c[r>>2]|0)+20>>2]&63](r,c[s+24>>2]|0,c[s+28>>2]|0)|0)break;if((c[b+748>>2]|0)<=2)break a;jN(371984,B);break a}while(0);j=c[l+12>>2]|0;if((j|0)>(c[B+188>>2]|0))c[B+188>>2]=j;D=c[d+4>>2]|0;q=a[s+16>>0]|0;r=c[s+24>>2]|0;C=c[s+28>>2]|0;a[B+64>>0]=a[s>>0]|0;c[B+72>>2]=g;c[B+76>>2]=k;a[B+80>>0]=q;c[B+88>>2]=r;c[B+92>>2]=C;a[B+96>>0]=0;Oma(D,B+64|0,(c[b+748>>2]|0)>0,372040)}}}else jN(371696,B);while(0);t=t+1|0;j=c[d>>2]|0}while((t|0)<(c[j>>2]|0));g=c[B+188>>2]|0;j=c[d+8>>2]|0;if(!((j|0)==0|(g|0)==0)?(g|0)==1|(j|0)==12:0){h=d+8|0;g=j}else{h=d+8|0;A=54}}else{g=0;h=d+8|0;A=54}if((A|0)==54)c[h>>2]=g;if((c[b+748>>2]|0)>1){jN(372088,B);g=c[h>>2]|0}}else{c[d+8>>2]=0;g=0}i=B;return g|0}function wma(a){a=a|0;var b=0;b=c[a+68>>2]|0;if(b){wia(b);YEa(b)}b=c[a+192>>2]|0;if(b)Yb(b|0)|0;xJ(a+1312|0);wJ(a+1272|0);wJ(a+1232|0);Xk(a+1216|0);Xk(a+1200|0);xJ(a+1176|0);yJ(a+1152|0);yJ(a+1128|0);xJ(a+1104|0);Xk(a+1088|0);Xk(a+1072|0);xJ(a+1048|0);wJ(a+1008|0);wJ(a+968|0);xJ(a+944|0);wJ(a+904|0);wJ(a+864|0);wJ(a+824|0);Xk(a+808|0);xJ(a+784|0);xJ(a+760|0);xJ(a+736|0);yJ(a+712|0);wJ(a+672|0);wJ(a+632|0);wJ(a+592|0);wJ(a+552|0);wJ(a+512|0);wJ(a+472|0);wJ(a+432|0);wJ(a+392|0);Xk(a+372|0);Xk(a+356|0);Xk(a+340|0);Xk(a+324|0);Xk(a+308|0);Xk(a+292|0);yJ(a+268|0);yJ(a+244|0);yJ(a+220|0);yJ(a+196|0);oL(a+144|0);Lma(a+124|0);Mma(a+96|0);eR(a+72|0);return}function xma(){var b=0,d=0,e=0;if((a[371560]|0)==0?(Ia(371560)|0)!=0:0){b=WEa(44)|0;d=b+0|0;e=d+44|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));Pma(b);c[92888]=b;ib(371560)}return c[92888]|0}function yma(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;NM(o+4|0);n=c[b+32>>2]|0;if(!(c[b+124>>2]|0))h=n;else{zma(b);h=c[b+32>>2]|0}c[b+52>>2]=HN(h+184|0,34664)|0;c[b+56>>2]=HN((c[b+32>>2]|0)+184|0,371568)|0;c[b+60>>2]=HN((c[b+32>>2]|0)+184|0,1714488)|0;c[b+64>>2]=HN((c[b+32>>2]|0)+184|0,362280)|0;if(!d){h=WEa(44)|0;d=h+0|0;g=d+44|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(g|0));Pma(h);c[b+116>>2]=h;a[b+120>>0]=1}else{c[b+116>>2]=d;a[b+120>>0]=0}h=VM(c[(c[b+32>>2]|0)+164>>2]|0)|0;if((a[b+350>>0]|0)!=0?(f=jma(c[b+116>>2]|0,n+12|0,h,6,c[b+748>>2]|0)|0,c[b+180>>2]=f,(f|0)!=0):0)Qma(b+124|0,f);if((a[b+302>>0]|0)!=0?(e=jma(c[b+116>>2]|0,n+12|0,h,7,c[b+748>>2]|0)|0,(e|0)!=0):0)Qma(b+124|0,e);if((a[b+366>>0]|0)!=0?(j=jma(c[b+116>>2]|0,n+12|0,h,8,c[b+748>>2]|0)|0,(j|0)!=0):0)Qma(b+124|0,j);if(a[b+382>>0]|0)c[b+168>>2]=jma(c[b+116>>2]|0,n+12|0,h,14,c[b+748>>2]|0)|0;if((a[b+318>>0]|0)!=0?(k=jma(c[b+116>>2]|0,n+12|0,h,9,c[b+748>>2]|0)|0,c[b+172>>2]=k,(k|0)!=0):0)Qma(b+124|0,k);if((a[b+334>>0]|0)!=0?(l=jma(c[b+116>>2]|0,n+12|0,h,15,c[b+748>>2]|0)|0,c[b+176>>2]=l,(l|0)!=0):0)Qma(b+124|0,l);if(!((SM(b+232|0)|0)<=0?(SM(b+208|0)|0)<=0:0))m=25;do if((m|0)==25){f=WEa(152)|0;Rma(f,1,n+12|0,10,c[(c[b+32>>2]|0)+192>>2]|0,c[b+748>>2]|0);if((SM(b+208|0)|0)>0)aN(o+4|0,b+208|0);else{aN(o+4|0,(c[b+32>>2]|0)+16|0);bN(o+4|0,b+232|0)}e=c[o+4>>2]|0;l=VM(e)|0;if(Ina(f,l,(c[b+32>>2]|0)+184|0)|0){Qma(b+124|0,f);break}else{c[o>>2]=VM(e)|0;jN(371576,o);Qc[c[(c[f>>2]|0)+4>>2]&511](f);break}}while(0);if(!((SM(b+280|0)|0)<=0?(SM(b+256|0)|0)<=0:0))m=33;do if((m|0)==33){e=WEa(152)|0;Rma(e,3,n+12|0,7,c[(c[b+32>>2]|0)+192>>2]|0,c[b+748>>2]|0);Lna(e,(c[b+32>>2]|0)+184|0);if((SM(b+256|0)|0)>0)aN(o+4|0,b+256|0);else{aN(o+4|0,(c[b+32>>2]|0)+16|0);bN(o+4|0,b+280|0)}f=c[o+4>>2]|0;m=VM(f)|0;if(Ona(e,m,(c[b+32>>2]|0)+184|0)|0){Qma(b+124|0,e);break}else{c[o>>2]=VM(f)|0;jN(371576,o);Qc[c[(c[e>>2]|0)+4>>2]&511](e);break}}while(0);m=WEa(152)|0;Rma(m,1,n+12|0,9,c[(c[b+32>>2]|0)+192>>2]|0,c[b+748>>2]|0);c[b+184>>2]=m;Qma(b+124|0,m);m=WEa(152)|0;Rma(m,1,n+12|0,0,c[(c[b+32>>2]|0)+192>>2]|0,c[b+748>>2]|0);c[b+164>>2]=m;TK(b+144|0,c[b+124>>2]|0);if((c[b+124>>2]|0)>0){d=0;do{f=c[(Pk(b+124|0,d)|0)>>2]|0;e=WEa(20)|0;Ek(e);if((c[b+124>>2]|0)>0){h=0;do{g=c[(Pk(b+124|0,h)|0)>>2]|0;if(((f|0)!=0&(g|0)!=0?(ZM(f+8|0,g+8|0)|0)<<24>>24!=0:0)?(a[(c[g+4>>2]|0)+(371608+(c[f+4>>2]<<2))>>0]|0)!=0:0)zv(e,h);h=h+1|0}while((h|0)<(c[b+124>>2]|0))}IK(b+144|0,e);d=d+1|0}while((d|0)<(c[b+124>>2]|0))}RM(c[o+4>>2]|0);i=o;return}function zma(b){b=b|0;var d=0,e=0,f=0;e=c[b+124>>2]|0;if(e){d=c[b+116>>2]|0;if((e|0)>0){e=0;do{if(!(Sma(d,c[(Pk(b+124|0,e)|0)>>2]|0)|0)?(f=c[(Pk(b+124|0,e)|0)>>2]|0,(f|0)!=0):0)Qc[c[(c[f>>2]|0)+4>>2]&511](f);e=e+1|0;d=c[b+116>>2]|0}while((e|0)<(c[b+124>>2]|0))}Sma(d,c[b+168>>2]|0)|0;if(a[b+120>>0]|0){d=c[b+116>>2]|0;if(d){Tma(d);YEa(d)}c[b+116>>2]=0}zL(b+144|0);Lma(b+124|0);oL(b+144|0);c[b+184>>2]=0;d=c[b+164>>2]|0;if(d){Qc[c[(c[d>>2]|0)+4>>2]&511](d);c[b+164>>2]=0}}return}function Ama(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;q=i;i=i+80|0;o=wR(d,c[e+8>>2]|0,c[e+12>>2]|0)|0;p=F;Ek(q+60|0);zv(q+60|0,f);id[c[(c[d>>2]|0)+32>>2]&15](d,f,(c[b+32>>2]|0)+184|0,q+60|0);if((c[q+60>>2]|0)>0){m=0;do{n=0;do{f=c[d>>2]|0;if(!n){k=c[f+8>>2]|0;f=c[(Ik(q+60|0,m)|0)>>2]|0;f=Uc[k&31](d,o,p,f,g)|0;k=F}else{r=c[f+36>>2]|0;l=c[e+8>>2]|0;k=c[e+12>>2]|0;f=c[(Ik(q+60|0,m)|0)>>2]|0;f=Uc[r&31](d,l,k,f,g)|0;k=F}if(!((f|0)==-1&(k|0)==-1)){if((c[b+748>>2]|0)>2){c[q+40>>2]=a[e>>0];c[q+44>>2]=o;c[q+48>>2]=p;c[q+52>>2]=f;c[q+56>>2]=k;jN(372144,q+40|0);c[q+40>>2]=a[e>>0];jN(372184,q+40|0)}l=c[d+12>>2]|0;if((l|0)>(c[j>>2]|0))c[j>>2]=l;t=a[e+16>>0]|0;s=c[e+24>>2]|0;l=c[e+28>>2]|0;r=a[e+32>>0]|0;a[q>>0]=a[e>>0]|0;c[q+8>>2]=f;c[q+12>>2]=k;a[q+16>>0]=t;c[q+24>>2]=s;c[q+28>>2]=l;a[q+32>>0]=r;Oma(h,q,(c[b+748>>2]|0)>0,372040)}n=n+1|0}while((n|0)<2);m=m+1|0}while((m|0)<(c[q+60>>2]|0))}Jk(q+60|0);i=q;return}function Bma(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;i=i+16|0;if((a[b+92>>0]|0)==0?(c[b+68>>2]|0)!=0:0){uR(d,b+72|0);if((c[b+748>>2]|0)>2?(c[b+72>>2]|0)>0:0){d=0;do{h=a[(sR(b+72|0,d)|0)>>0]|0;e=(sR(b+72|0,d)|0)+8|0;g=c[e>>2]|0;e=c[e+4>>2]|0;c[f>>2]=h;c[f+4>>2]=g;c[f+8>>2]=e;jN(372224,f);d=d+1|0}while((d|0)<(c[b+72>>2]|0))}}else Cma(b,d,e);i=f;return}function Cma(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+48|0;f=c[b+180>>2]|0;if(!f)g=1;else{g=Uc[c[(c[f>>2]|0)+8>>2]&31](f,0,0,0,1)|0;g=(g|0)==-1&(F|0)==-1}if((c[b+124>>2]|0)>0){h=0;do{do if(c[(Pk(b+124|0,h)|0)>>2]|0){if(e?(c[(c[(Pk(b+124|0,h)|0)>>2]|0)+4>>2]|0)==3:0)break;f=c[(c[(Pk(b+124|0,h)|0)>>2]|0)+4>>2]|0;if(!f){a[j+0>>0]=a[j+33>>0]|0;a[j+1>>0]=a[j+34>>0]|0;a[j+2>>0]=a[j+35>>0]|0;a[j+3>>0]=a[j+36>>0]|0;a[j+4>>0]=a[j+37>>0]|0;a[j+5>>0]=a[j+38>>0]|0;a[j+6>>0]=a[j+39>>0]|0;a[j+40>>0]=a[j+26>>0]|0;a[j+41>>0]=a[j+27>>0]|0;a[j+42>>0]=a[j+28>>0]|0;a[j+43>>0]=a[j+29>>0]|0;a[j+44>>0]=a[j+30>>0]|0;a[j+45>>0]=a[j+31>>0]|0;a[j+46>>0]=a[j+32>>0]|0;f=c[d>>2]|0;if((f|0)==(c[d+4>>2]|0)){QR(d);f=c[d>>2]|0}c[d>>2]=f+1;f=(c[d+8>>2]|0)+(f*40|0)|0;a[f>>0]=-1;a[f+1>>0]=a[j+0>>0]|0;a[f+2>>0]=a[j+1>>0]|0;a[f+3>>0]=a[j+2>>0]|0;a[f+4>>0]=a[j+3>>0]|0;a[f+5>>0]=a[j+4>>0]|0;a[f+6>>0]=a[j+5>>0]|0;a[f+7>>0]=a[j+6>>0]|0;c[f+8>>2]=-1;c[f+12>>2]=-1;a[f+16>>0]=h;a[f+17>>0]=a[j+40>>0]|0;a[f+18>>0]=a[j+41>>0]|0;a[f+19>>0]=a[j+42>>0]|0;a[f+20>>0]=a[j+43>>0]|0;a[f+21>>0]=a[j+44>>0]|0;a[f+22>>0]=a[j+45>>0]|0;a[f+23>>0]=a[j+46>>0]|0;c[f+24>>2]=-1;c[f+28>>2]=-1;a[f+32>>0]=0;if((c[b+748>>2]|0)<=2)break;c[j>>2]=h;c[j+4>>2]=-1;c[j+8>>2]=-1;jN(372272,j);break}if(g|(a[371608+f>>0]|0)==0){a[j+0>>0]=a[j+19>>0]|0;a[j+1>>0]=a[j+20>>0]|0;a[j+2>>0]=a[j+21>>0]|0;a[j+3>>0]=a[j+22>>0]|0;a[j+4>>0]=a[j+23>>0]|0;a[j+5>>0]=a[j+24>>0]|0;a[j+6>>0]=a[j+25>>0]|0;a[j+40>>0]=a[j+12>>0]|0;a[j+41>>0]=a[j+13>>0]|0;a[j+42>>0]=a[j+14>>0]|0;a[j+43>>0]=a[j+15>>0]|0;a[j+44>>0]=a[j+16>>0]|0;a[j+45>>0]=a[j+17>>0]|0;a[j+46>>0]=a[j+18>>0]|0;f=c[d>>2]|0;if((f|0)==(c[d+4>>2]|0)){QR(d);f=c[d>>2]|0}c[d>>2]=f+1;f=(c[d+8>>2]|0)+(f*40|0)|0;a[f>>0]=h;a[f+1>>0]=a[j+0>>0]|0;a[f+2>>0]=a[j+1>>0]|0;a[f+3>>0]=a[j+2>>0]|0;a[f+4>>0]=a[j+3>>0]|0;a[f+5>>0]=a[j+4>>0]|0;a[f+6>>0]=a[j+5>>0]|0;a[f+7>>0]=a[j+6>>0]|0;c[f+8>>2]=-1;c[f+12>>2]=-1;a[f+16>>0]=-1;a[f+17>>0]=a[j+40>>0]|0;a[f+18>>0]=a[j+41>>0]|0;a[f+19>>0]=a[j+42>>0]|0;a[f+20>>0]=a[j+43>>0]|0;a[f+21>>0]=a[j+44>>0]|0;a[f+22>>0]=a[j+45>>0]|0;a[f+23>>0]=a[j+46>>0]|0;c[f+24>>2]=-1;c[f+28>>2]=-1;a[f+32>>0]=0;if((c[b+748>>2]|0)>2){c[j>>2]=h;c[j+4>>2]=-1;c[j+8>>2]=-1;jN(372312,j)}}}while(0);h=h+1|0}while((h|0)<(c[b+124>>2]|0))}i=j;return}function Dma(b,d){b=b|0;d=d|0;var e=0.0,f=0,j=0,k=0,l=0,m=0;m=i;i=i+512|0;a:do if((c[b+68>>2]|0)==0?(l=c[d+28>>2]|0,!((Gma(b,d,0)|0)!=0|(l|0)<2)):0){if((c[d+28>>2]|0)>3?(f=bx(d,0)|0,(c[d+28>>2]|0)>1):0){k=1;j=1;do{if((bx(d,k)|0)==(f|0)){j=j+1|0;if((j|0)==4)break a}else{j=1;f=bx(d,k)|0}k=k+1|0}while((k|0)<(c[d+28>>2]|0))}e=+g[d+40>>2];if((l|0)==2?1:e<+h[b+1288>>3]){if(e<+h[b+1248>>3])break;if(!(Nla(c[b+164>>2]|0,d)|0)){if((l|0)<=2){if((l|0)!=2)break;l=(c[b+32>>2]|0)+184|0;if(!(nx(l,bx(d,0)|0)|0))break;l=(c[b+32>>2]|0)+184|0;if(!(nx(l,bx(d,1)|0)|0))break}Hna(c[b+164>>2]|0,d,0);break}}if(a[b+1226>>0]|0){$Ga(m+8|0,VM(c[(c[b+32>>2]|0)+356>>2]|0)|0)|0;l=m+8+(SGa(m+8|0)|0)|0;a[l+0>>0]=a[372352]|0;a[l+1>>0]=a[372353]|0;a[l+2>>0]=a[372354]|0;a[l+3>>0]=a[372355]|0;a[l+4>>0]=a[372356]|0;l=yoa(m+8|0,372360)|0;Lw(m+4|0,d);k=c[m+4>>2]|0;c[m>>2]=VM(k)|0;zb(l|0,1701528,m|0)|0;RM(k);Yb(l|0)|0}Hna(c[b+184>>2]|0,d,0)}while(0);i=m;return}function Ema(b,d,e,f,j,l,m){b=b|0;d=d|0;e=e|0;f=f|0;j=+j;l=l|0;m=m|0;var n=0,o=0.0,p=0,q=0,r=0,s=0,t=0.0,u=0;u=i;i=i+32|0;n=c[b+32>>2]|0;if((c[n+240>>2]|0)!=(c[n+220>>2]|0)){q=Qia(d)|0;n=c[b+32>>2]|0;if((q|0)==(c[n+240>>2]|0)){q=1;n=1;p=1}else s=3}else s=3;if((s|0)==3){n=(Lla(d,n+184|0)|0)!=0;if(e){q=Fma(b,d)|0;p=0}else{q=1;p=0}}t=+g[d+36>>2]+4.0;if((c[d+28>>2]|0)>1){if((f|0)==2){j=j+ +h[b+448>>3];f=372368}else if((f|0)==1){j=j+ +h[b+408>>3];f=372384}else f=1714496;if(m)s=12}else if(m){jN(372400,u);f=1714496;s=12}if((s|0)==12){s=VM(c[(jk(d)|0)>>2]|0)|0;o=+g[d+36>>2];c[u>>2]=e?372464:1714496;c[u+4>>2]=s;h[k>>3]=o;c[u+8>>2]=c[k>>2];c[u+12>>2]=c[k+4>>2];c[u+16>>2]=f;jN(372440,u)}do if(e){if(n&q){j=j+ +h[b+648>>3];if(!m){o=j;j=t*j;break}jN(372472,u);o=j;j=t*j;break}j=j+ +h[b+688>>3];if(m){if(!n)jN(372480,u);if(!q){jN(372488,u);o=j;j=t*j}else{o=j;j=t*j}}else{o=j;j=t*j}}else{if(!n){j=j+ +h[b+568>>3];if(!m){o=j;j=t*j;break}jN(372480,u);o=j;j=t*j;break}if((!p?(r=c[b+172>>2]|0,(r|0)!=0):0)?Nla(r,d)|0:0){a[d+52>>0]=11;j=j+ +h[b+488>>3];if(!m){o=j;j=t*j;break}jN(372496,u);o=j;j=t*j;break}j=j+ +h[b+528>>3];if(m){jN(1701792,u);o=j;j=t*j}else{o=j;j=t*j}}while(0);j=j+-4.0;if(l)g[d+36>>2]=j;if(m){h[k>>3]=o;c[u>>2]=c[k>>2];c[u+4>>2]=c[k+4>>2];h[k>>3]=j;c[u+8>>2]=c[k>>2];c[u+12>>2]=c[k+4>>2];jN(372504,u)}g[d+32>>2]=o;i=u;return}function Fma(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+64|0;if(!(c[b+28>>2]|0))d=0;else{hx(h,c[b+4>>2]|0);e=c[b+28>>2]|0;a:do if((e|0)<1)g=4;else{f=0;while(1){d=bx(b,f)|0;do if(Zz((c[a+32>>2]|0)+184|0,d)|0)Jia(h,d,0.0);else{if(!(Yz((c[a+32>>2]|0)+184|0,d)|0)?!(az((c[a+32>>2]|0)+184|0,d)|0):0){d=0;break a}d=c[h+28>>2]|0;if((d|0)!=0?(bx(h,d+-1|0)|0)==0:0)break;Jia(h,0,0.0)}while(0);if((f|0)<(e+-1|0))f=f+1|0;else{g=4;break}}}while(0);b:do if((g|0)==4)if((c[a+124>>2]|0)>0){d=0;while(1){if(((c[(Pk(a+124|0,d)|0)>>2]|0)!=0?(c[(c[(Pk(a+124|0,d)|0)>>2]|0)+4>>2]|0)==0:0)?Nla(c[(Pk(a+124|0,d)|0)>>2]|0,h)|0:0){d=1;break b}d=d+1|0;if((d|0)>=(c[a+124>>2]|0)){d=0;break}}}else d=0;while(0);wia(h)}i=h;return d|0}function Gma(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;m=i;i=i+80|0;hx(m+16|0,c[e+4>>2]|0);if(((a[b+92>>0]|0)==0?(g=c[b+68>>2]|0,(g|0)!=0):0)?(c[g+4>>2]|0)==(c[e+4>>2]|0):0){Uma(b,m+16|0);Kia(m+16|0,e);e=m+16|0}g=e+28|0;if(c[g>>2]|0){l=XEa(44)|0;c[l>>2]=2;h=l+4|0;do{cR(h);h=h+20|0}while((h|0)!=(l+44|0));Bma(b,l+4|0,0);c[m>>2]=l+4;c[m+4>>2]=l+24;c[m+8>>2]=0;k=(c[g>>2]|0)+-1|0;h=Vma(b)|0;a:do if((h|0)<=(k|0))while(1){g=d[b+8>>0]|d[b+9>>0]<<8|d[b+10>>0]<<16|d[b+11>>0]<<24;j=d[b+12>>0]|d[b+13>>0]<<8|d[b+14>>0]<<16|d[b+15>>0]<<24;if(j&1)g=c[(c[b+(j>>1)>>2]|0)+g>>2]|0;n=bx(e,h)|0;if(!(ed[g&15](b+(j>>1)|0,m,n,(h|0)==(k|0))|0))break a;g=c[m+4>>2]|0;if((g|0)==(l+24|0)){c[m+4>>2]=l+4;g=(c[m>>2]|0)+20|0}else{c[m+4>>2]=g+20;g=l+4|0}c[m>>2]=g;if((h|0)<(k|0))h=h+1|0;else break}while(0);g=l+4+((c[l>>2]|0)*20|0)|0;if((l+4|0)!=(g|0))do{g=g+-20|0;eR(g)}while((g|0)!=(l+4|0));ZEa(l);g=c[m+8>>2]|0;if(((g&255)+-7&255)>=6)g=(g&255)<<24>>24==6&f?g:0}else g=0;wia(m+16|0);i=m;return g|0}function Hma(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;l=i;i=i+112|0;do if(!(c[a+168>>2]|0))e=0;else{Eia(b,l+96|0,l+92|0);Eia(d,l+88|0,l+84|0);f=c[l+96>>2]|0;h=c[l+92>>2]|0;if((f|0)>=(h|0)){e=(c[b+28>>2]|0)<3;break}e=c[l+88>>2]|0;j=c[l+84>>2]|0;if((e|0)>=(j|0)){e=(c[d+28>>2]|0)<3;break}k=(c[a+32>>2]|0)+184|0;Ek(l+64|0);il(l+64|0,h+1+j|0);do{m=c[a+32>>2]|0;g=bx(b,f)|0;g=(c[m+184>>2]|0)+(g*112|0)+84|0;if((c[g>>2]|0)==1?az(k,c[(Ik(g,0)|0)>>2]|0)|0:0)zv(l+64|0,c[a+56>>2]|0);else Yv(l+64|0,g);f=f+1|0}while((f|0)<(h|0));zv(l+64|0,0);do{m=c[a+32>>2]|0;f=bx(d,e)|0;f=(c[m+184>>2]|0)+(f*112|0)+84|0;if((c[f>>2]|0)==1?az(k,c[(Ik(f,0)|0)>>2]|0)|0:0)zv(l+64|0,c[a+56>>2]|0);else Yv(l+64|0,f);e=e+1|0}while((e|0)<(j|0));f=c[l+64>>2]|0;rv(l,k,f);if((f|0)>0){e=0;do{sv(l,c[(Ik(l+64|0,e)|0)>>2]|0,1,0.0,0.0);e=e+1|0}while((e|0)<(f|0))}e=Nla(c[a+168>>2]|0,l)|0;wia(l);Jk(l+64|0)}while(0);i=l;return e|0}function Ima(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return 0.0}function Jma(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;Wma(a);return}function Kma(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;Xma(a,4);return}function Lma(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function Mma(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+32|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;kca(e,(c[a+8>>2]|0)+(d*20|0)|0);Rc[f&63](b,e);Jk(e);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b){d=c[b+-4>>2]|0;if(d){d=b+(d*20|0)|0;do{d=d+-20|0;Jk(d)}while((d|0)!=(b|0))}ZEa(b+-4|0)}c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function Nma(a,b,d){a=a|0;b=b|0;d=d|0;if((d|0)!=0?(c[d+4>>2]|0)==2:0){a=az((c[a+32>>2]|0)+184|0,b)|0;b=a?0:b}return b|0}function Oma(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;l=i;i=i+48|0;g=c[b>>2]|0;a:do if((g|0)>0){h=c[b+8>>2]|0;j=0;while(1){if(Yma(h+(j*40|0)|0,d)|0)break a;j=j+1|0;if((j|0)>=(g|0)){k=5;break}}}else k=5;while(0);if((k|0)==5){j=l+0|0;k=d+0|0;h=j+40|0;do{c[j>>2]=c[k>>2];j=j+4|0;k=k+4|0}while((j|0)<(h|0));if((g|0)==(c[b+4>>2]|0)){QR(b);g=c[b>>2]|0}c[b>>2]=g+1;b=(c[b+8>>2]|0)+(g*40|0)|0;c[b+0>>2]=c[l+0>>2];c[b+4>>2]=c[l+4>>2];c[b+8>>2]=c[l+8>>2];c[b+12>>2]=c[l+12>>2];c[b+16>>2]=c[l+16>>2];c[b+20>>2]=c[l+20>>2];c[b+24>>2]=c[l+24>>2];c[b+28>>2]=c[l+28>>2];a[b+32>>0]=a[l+32>>0]|0;if(e){g=a[d>>0]|0;h=c[d+8>>2]|0;j=c[d+12>>2]|0;k=c[d+24>>2]|0;e=c[d+28>>2]|0;b=(a[d+32>>0]|0)!=0?372584:1714496;c[l>>2]=f;c[l+4>>2]=g;c[l+8>>2]=h;c[l+12>>2]=j;c[l+16>>2]=k;c[l+20>>2]=e;c[l+24>>2]=b;jN(372552,l)}}i=l;return}function Pma(a){a=a|0;dL(a);Zma(a+24|0);return}function Qma(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){_ma(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function Rma(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;c[b>>2]=367304;NM(b+8|0);c[b>>2]=375840;$ma(b+60|0);ana(b+104|0);Ola(b,d,e,f,g,h);c[b+80>>2]=0;c[b+84>>2]=0;g=~c[b+52>>2];c[b+96>>2]=~c[b+48>>2];c[b+100>>2]=g;Dna(b)|0;a[b+124>>0]=0;return}function Sma(a,b){a=a|0;b=b|0;var d=0,e=0;a:do if(!b)d=0;else{eL(a);b:do if((c[a+24>>2]|0)>0){e=0;while(1){d=e+1|0;if((c[(fl(a+24|0,e)|0)+4>>2]|0)==(b|0))break;if((d|0)<(c[a+24>>2]|0))e=d;else break b}d=(fl(a+24|0,e)|0)+8|0;c[d>>2]=(c[d>>2]|0)+-1;fL(a);d=1;break a}while(0);fL(a);d=0}while(0);return d|0}function Tma(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=i;i=i+16|0;eL(a);if((c[a+24>>2]|0)>0){d=0;do{f=(c[(fl(a+24|0,d)|0)+8>>2]|0)>0;b=c[(fl(a+24|0,d)|0)+4>>2]|0;if(f){g=c[(fl(a+24|0,d)|0)+8>>2]|0;f=VM(c[(fl(a+24|0,d)|0)>>2]|0)|0;c[e>>2]=a;c[e+4>>2]=b;c[e+8>>2]=g;c[e+12>>2]=f;jN(372600,e)}else{if(b)Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[(fl(a+24|0,d)|0)+4>>2]=0}d=d+1|0}while((d|0)<(c[a+24>>2]|0))}fL(a);dna(a+24|0);i=e;return}function Uma(b,d){b=b|0;d=d|0;var e=0;if(((a[b+92>>0]|0)==0?(e=c[b+68>>2]|0,(e|0)!=0):0)?(Lia(d,e),(c[b+772>>2]|0)!=0):0)Sia(d,372528);return}function Vma(b){b=b|0;var d=0;if((a[b+92>>0]|0)==0?(d=c[b+68>>2]|0,(d|0)!=0):0)d=c[d+28>>2]|0;else d=0;return d|0}function Wma(a){a=a|0;var b=0,d=0,e=0,f=0;if((c[a+4>>2]|0)<=3){f=XEa(84)|0;c[f>>2]=4;b=f+4|0;do{mF(b);b=b+20|0}while((b|0)!=(f+84|0));b=c[a+8>>2]|0;if((c[a>>2]|0)>0){d=0;do{Hv(f+4+(d*20|0)|0,b+(d*20|0)|0);d=d+1|0;b=c[a+8>>2]|0}while((d|0)<(c[a>>2]|0))}if(b){e=b+-4|0;d=c[e>>2]|0;if(d){d=b+(d*20|0)|0;do{d=d+-20|0;Jk(d)}while((d|0)!=(b|0))}ZEa(e)}c[a+8>>2]=f+4;c[a+4>>2]=4}return}function Xma(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function Yma(b,d){b=b|0;d=d|0;if((((a[b>>0]|0)==(a[d>>0]|0)?((c[b+8>>2]|0)==(c[d+8>>2]|0)?(c[b+12>>2]|0)==(c[d+12>>2]|0):0):0)?(a[b+16>>0]|0)==(a[d+16>>0]|0):0)?((c[b+24>>2]|0)==(c[d+24>>2]|0)?(c[b+28>>2]|0)==(c[d+28>>2]|0):0):0)d=(a[b+32>>0]|0)==(a[d+32>>0]|0);else d=0;return d|0}function Zma(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;tma(a,4);return}function _ma(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)Xma(a,4);else Xma(a,b<<1);return}function $ma(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;ena(a,4);return}function ana(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;fna(a,4);return}function bna(a){a=a|0;var b=0,d=0,e=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){e=(c[a+8>>2]|0)+(d<<3)|0;fd[c[(c[b>>2]|0)+8>>2]&15](b,c[e>>2]|0,c[e+4>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function cna(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function dna(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+16|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;gna(e,(c[a+8>>2]|0)+(d*12|0)|0);Rc[f&63](b,e);RM(c[e>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b){d=c[b+-4>>2]|0;if(d){d=b+(d*12|0)|0;do{d=d+-12|0;RM(c[d>>2]|0)}while((d|0)!=(b|0))}ZEa(b+-4|0)}c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function ena(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function fna(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>536870911?-1:b<<3)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{j=f+(g<<3)|0;i=c[j+4>>2]|0;h=d+(g<<3)|0;c[h>>2]=c[j>>2];c[h+4>>2]=i;g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function gna(a,b){a=a|0;b=b|0;var d=0;OM(a,b);d=c[b+8>>2]|0;c[a+4>>2]=c[b+4>>2];c[a+8>>2]=d;return}function hna(b,e){b=b|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;if((a[b+92>>0]|0)==0|e?(f=c[b+68>>2]|0,(f|0)!=0):0){wia(f);YEa(f);c[b+68>>2]=0;c[b+72>>2]=0}if(c[b+772>>2]|0){c[g>>2]=d[b+92>>0];c[g+4>>2]=e&1;jN(372688,g)}a[b+92>>0]=e&1;i=g;return}function ina(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a+68>>2]|0;if(!e){e=WEa(64)|0;hx(e,c[b+4>>2]|0);c[a+68>>2]=e;c[e+28>>2]=0;g[e+36>>2]=1.0e5;g[e+40>>2]=-3402823466385288598117041.0e14}if(+g[e+36>>2]>+g[b+36>>2]){Lia(e,b);b=(c[a+68>>2]|0)+28|0;c[b>>2]=(c[b>>2]|0)+-1;uR(a+72|0,d)}if(c[a+772>>2]|0)Sia(c[a+68>>2]|0,372736);return}function jna(b,e,f,h,j,k,l,m,n,o,p,q){b=b|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;var r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+112|0;y=((c[f>>2]|0)+-1|0)==(h|0);z=(c[l+28>>2]|0)+-1|0;do if(!(+g[o+36>>2]<+g[n>>2])){w=bx(l,z)|0;do if(ona((c[b+32>>2]|0)+184|0,w)|0){if(c[b+748>>2]|0){QN(A+20|0,(c[b+32>>2]|0)+184|0,w);v=c[A+20>>2]|0;c[A>>2]=VM(v)|0;jN(372768,A);RM(v)}c[l+28>>2]=(c[l+28>>2]|0)+-1;Ek(A+48|0);v=MN((c[b+32>>2]|0)+184|0,w)|0;if(!(KN((c[b+32>>2]|0)+184|0,v,1,A+48|0,0,0)|0)){c[A>>2]=372880;c[A+4>>2]=78;$L(372760,372808,2,1702e3,A)}HR(A+28|0,c[q>>2]|0);cR(A+68|0);k=c[q+8>>2]|0;c[A+8>>2]=A+28;c[A+12>>2]=A+68;c[A+16>>2]=k;k=0;while(1){if((k|0)>=(c[A+48>>2]|0)){s=k;r=1;break}v=c[(Ik(A+48|0,k)|0)>>2]|0;if((v|0)==-1){c[A>>2]=372880;c[A+4>>2]=89;$L(372760,372904,2,1702e3,A)}s=k+1|0;Jia(l,v,0.0);r=d[b+8>>0]|d[b+9>>0]<<8|d[b+10>>0]<<16|d[b+11>>0]<<24;u=d[b+12>>0]|d[b+13>>0]<<8|d[b+14>>0]<<16|d[b+15>>0]<<24;if(u&1)r=c[(c[b+(u>>1)>>2]|0)+r>>2]|0;t=bx(l,z+k|0)|0;if(y)k=(k|0)==((c[A+48>>2]|0)+-1|0);else k=0;r=(ed[r&15](b+(u>>1)|0,A+8|0,t,k)|0)!=0;uR(c[A+8>>2]|0,c[A+12>>2]|0);if(c[b+748>>2]|0){QN(A+24|0,(c[b+32>>2]|0)+184|0,v);v=c[A+24>>2]|0;u=VM(v)|0;c[A>>2]=u;c[A+4>>2]=r?372960:372968;jN(372936,A);RM(v)}if(r)k=s;else{r=0;break}}if((s|0)>0)c[l+28>>2]=(c[l+28>>2]|0)-s;sv(l,w,1,0.0,0.0);if(r){c[q+8>>2]=c[A+16>>2];uR(c[q+4>>2]|0,c[A+12>>2]|0);eR(A+68|0);eR(A+28|0);Jk(A+48|0);break}else{eR(A+68|0);eR(A+28|0);Jk(A+48|0);r=b;s=b+8|0;x=25;break}}else{r=b;s=b+8|0;x=25}while(0);if((x|0)==25){k=d[s>>0]|d[s+1>>0]<<8|d[s+2>>0]<<16|d[s+3>>0]<<24;x=s+4|0;x=d[x>>0]|d[x+1>>0]<<8|d[x+2>>0]<<16|d[x+3>>0]<<24;r=r+(x>>1)|0;if(x&1)k=c[(c[r>>2]|0)+k>>2]|0;x=bx(l,z)|0;if(!(ed[k&15](r,q,x,y)|0)){if(!(c[b+748>>2]|0))break;Lw(A+100|0,l);l=c[A+100>>2]|0;q=VM(l)|0;c[A>>2]=z;c[A+4>>2]=q;jN(373056,A);RM(l);break}}if(!y){c[q+4>>2]=(c[q+4>>2]|0)+20;c[q>>2]=(c[q>>2]|0)+20;kna(b,e,f,h+1|0,j,l,m,n,o,p,q);c[q+4>>2]=(c[q+4>>2]|0)+-20;c[q>>2]=(c[q>>2]|0)+-20;break}if(c[b+748>>2]|0){Lw(A+88|0,l);j=c[A+88>>2]|0;c[A>>2]=VM(j)|0;jN(372976,A);RM(j)}if(a[(VM(c[b+724>>2]|0)|0)>>0]|0){do if(!(c[b+192>>2]|0)){j=fc(VM(c[b+724>>2]|0)|0,373e3)|0;c[b+192>>2]=j;if(!j){c[A>>2]=VM(c[b+724>>2]|0)|0;jN(373008,A);Cb(1)}else{NM(A+92|0);Iia(l,A+92|0,0);dN(A+92|0,1701816);n=c[b+192>>2]|0;j=c[A+92>>2]|0;Jc(VM(j)|0,n|0)|0;RM(j);break}}while(0);NM(A+96|0);Iia(l,A+96|0,0);dN(A+96|0,1701816);j=c[b+192>>2]|0;b=c[A+96>>2]|0;Jc(VM(b)|0,j|0)|0;RM(b)}a[l+52>>0]=c[q+8>>2];pna(l,o)}while(0);i=A;return}function kna(a,b,d,e,f,j,l,m,n,o,p){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;j=j|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;var q=0,r=0,s=0,t=0.0,u=0.0,v=0.0;q=i;i=i+80|0;if(b){v=+g[m>>2];u=+g[j+36>>2];t=+g[j+40>>2];Lw(q+64|0,j);r=c[q+64>>2]|0;s=VM(r)|0;c[q>>2]=b;c[q+4>>2]=e;h[k>>3]=v;c[q+8>>2]=c[k>>2];c[q+12>>2]=c[k+4>>2];h[k>>3]=u;c[q+16>>2]=c[k>>2];c[q+20>>2]=c[k+4>>2];h[k>>3]=t;c[q+24>>2]=c[k>>2];c[q+28>>2]=c[k+4>>2];c[q+32>>2]=s;jN(373120,q);RM(r)}a:do if((c[d>>2]|0)>(e|0)?(c[q+36>>2]=0,pk(q+36|0,c[(qna(d,e)|0)>>2]|0),rk(q+36|0),!(sk(q+36|0)|0)):0){while(1){c[o>>2]=(c[o>>2]|0)+-1;s=tk(q+36|0)|0;mna(a,b,d,c[s+4>>2]|0,+g[s+32>>2],+g[s+36>>2],e,f,j,l,m,n,o,p);if((c[o>>2]|0)<1)break;OL(q+36|0)|0;if(sk(q+36|0)|0)break a}if(b)jN(373208,q)}while(0);i=q;return}function lna(b,d,e){b=b|0;d=d|0;e=+e;var f=0,h=0,j=0,k=0,l=0;l=i;i=i+608|0;g[l+596>>2]=e;k=WEa(64)|0;hx(k,(c[b+32>>2]|0)+184|0);c[k+28>>2]=0;g[k+40>>2]=-3402823466385288598117041.0e14;g[k+36>>2]=e;h=c[d>>2]|0;if(!((h|0)==0|(h|0)>128)){j=XEa((h+1|0)>>>0>214748364|((h+1|0)*20|0)>>>0>4294967291?-1:((h+1|0)*20|0)+4|0)|0;c[j>>2]=h+1;if(h+1|0){f=j+4|0;do{cR(f);f=f+20|0}while((f|0)!=(j+4+((h+1|0)*20|0)|0))}Bma(b,j+4|0,1);c[l+584>>2]=j+4;c[l+588>>2]=j+24;c[l+592>>2]=0;rv(l+520|0,(c[b+32>>2]|0)+184|0,128);a[b>>0]=1;a[b+1>>0]=0;a[b+2>>0]=0;a[b+3>>0]=0;a[b+4>>0]=0;a[b+5>>0]=0;a[b+6>>0]=0;a[b+7>>0]=0;c[l>>2]=c[b+1324>>2];kna(b,(c[b+748>>2]|0)!=0?373096:0,d,0,0,l+520|0,l+8|0,l+596|0,k,l,l+584|0);f=j+4+((c[j>>2]|0)*20|0)|0;if((j+4|0)!=(f|0))do{f=f+-20|0;eR(f)}while((f|0)!=(j+4|0));ZEa(j);wia(l+520|0)}i=l;return k|0}function mna(b,e,f,h,j,k,l,m,n,o,p,q,r,s){b=b|0;e=e|0;f=f|0;h=h|0;j=+j;k=+k;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;s=s|0;var t=0,u=0,v=0,w=0.0;v=i;i=i+32|0;u=((c[f>>2]|0)+-1|0)==(l|0);do if(nna(b,h,j,k,m,e,u&1,v)|0){h=c[v>>2]|0;if((h|0)==-1){kna(b,e,f,l+1|0,v,n,o,p,q,r,s);break}j=+g[n+36>>2];k=+g[n+40>>2];t=a[n+52>>0]|0;w=+g[v+16>>2];g[o+(c[n+28>>2]<<2)>>2]=w;sv(n,h,c[v+8>>2]|0,+g[v+12>>2],w);m=d[b>>0]|d[b+1>>0]<<8|d[b+2>>0]<<16|d[b+3>>0]<<24;h=d[b+4>>0]|d[b+5>>0]<<8|d[b+6>>0]<<16|d[b+7>>0]<<24;if(h&1)m=c[(c[b+(h>>1)>>2]|0)+m>>2]|0;dd[m&1](b+(h>>1)|0,e,f,l,v,u,n,o,p,q,r,s);c[n+28>>2]=(c[n+28>>2]|0)+-1;g[n+36>>2]=j;g[n+40>>2]=k;a[n+52>>0]=t}while(0);i=v;return}function nna(a,d,e,f,h,j,k,l){a=a|0;d=d|0;e=+e;f=+f;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0;p=i;i=i+32|0;o=uC((c[a+32>>2]|0)+184|0,d)|0;if(!h)n=0;else n=c[h+4>>2]|0;if((j|0)!=0?(m=(n|0)!=0,m|(o|0)!=0):0){QN(p+24|0,(c[a+32>>2]|0)+184|0,d);q=c[p+24>>2]|0;r=VM(q)|0;c[p>>2]=j;c[p+4>>2]=r;c[p+8>>2]=k;jN(373248,p);RM(q);if(m){lO(p+20|0,n);r=c[p+20>>2]|0;c[p>>2]=VM(r)|0;jN(373296,p);RM(r)}if(o){lO(p+16|0,o);r=c[p+16>>2]|0;c[p>>2]=VM(r)|0;jN(373320,p);RM(r)}}c[l>>2]=d;c[l+4>>2]=o;g[l+12>>2]=e;g[l+16>>2]=f;c[l+8>>2]=1;m=(n|0)==0;a:do if(m|(o|0)!=0){do if(o){c[l>>2]=-1;if(m)if(!(b[o+32>>1]|0)){if(!j)break;jN(373488,p);break}else{if(!j){m=0;break a}jN(373520,p);m=0;break a}if(!(rna(o,n)|0)){if(!j){m=0;break a}jN(373384,p);m=0;break a}if((b[o+32>>1]|0)==((b[o+34>>1]|0)+-1|0)){m=HN((c[a+32>>2]|0)+184|0,o)|0;c[l>>2]=m;c[l+4>>2]=0;if(j){QN(p+12|0,(c[a+32>>2]|0)+184|0,m);r=c[p+12>>2]|0;c[p>>2]=VM(r)|0;jN(373416,p);RM(r)}}else{if(j)jN(373456,p);c[l+4>>2]=o}g[l+12>>2]=+g[h+12>>2]+e;c[l+8>>2]=(c[h+8>>2]|0)+1;e=+g[h+16>>2];g[l+16>>2]=!(e>=f)?e:f}while(0);if(k){m=(c[l+4>>2]|0)==0;if(!(m|(j|0)!=0^1)){jN(373576,p);m=0}}else m=1}else if(j){jN(373344,p);m=0}else m=0;while(0);i=p;return m|0}function ona(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if((d|0)==-1)b=0;else{if(!(ay(b,d)|0)){c[e>>2]=373648;c[e+4>>2]=486;$L(372760,373616,2,1702e3,e)}b=(a[(c[b>>2]|0)+(d*112|0)+37>>0]|0)!=0}i=e;return b|0}function pna(a,b){a=a|0;b=b|0;if(+g[a+36>>2]<+g[b+36>>2])Lia(b,a);return}function qna(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if(!((b|0)>-1?(c[a>>2]|0)>(b|0):0)){c[d>>2]=1701680;c[d+4>>2]=657;$L(372760,1701640,2,1702e3,d)}i=d;return (c[a+8>>2]|0)+(b<<2)|0}function rna(a,c){a=a|0;c=c|0;if((HGa(a,c)|0)==0?(b[a+34>>1]|0)==(b[c+34>>1]|0):0)c=(b[a+32>>1]|0)==((b[c+32>>1]|0)+1|0);else c=0;return c|0}function sna(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,j=0.0,l=0,m=0,n=0,o=0.0,p=0,q=0.0,r=0.0,s=0;p=i;i=i+32|0;j=+h[b+880>>3];do if((a[b+1082>>0]|0)==0?(c[d+28>>2]|0)!=0:0){n=a[d+54>>0]|0;l=((a[d+52>>0]|0)+-7&255)<6;f=(Lla(d,(c[b+32>>2]|0)+184|0)|0)!=0;if((c[b+1060>>2]|0)>0){if((e|0)==2)m=373712;else if(!e)m=373688;else if((e|0)==1)m=373696;else m=373680;s=VM(c[(jk(d)|0)>>2]|0)|0;r=+g[d+44>>2];q=+g[d+48>>2];c[p>>2]=s;c[p+4>>2]=l?121:110;c[p+8>>2]=f?121:110;c[p+12>>2]=m;h[k>>3]=r;c[p+16>>2]=c[k>>2];c[p+20>>2]=c[k+4>>2];h[k>>3]=q;c[p+24>>2]=c[k>>2];c[p+28>>2]=c[k+4>>2];jN(373728,p)}if(!(+g[b+44>>2]<=0.0)|l){if(l&f){s=tna(b,d)|0;s=s-(c[b+956>>2]|0)|0;j=j+ +h[b+984>>3]*((s|0)<0?0.0:+(s|0))}if((c[b+1060>>2]|0)>0){q=+g[d+40>>2];h[k>>3]=+g[d+36>>2];c[p>>2]=c[k>>2];c[p+4>>2]=c[k+4>>2];h[k>>3]=q;c[p+8>>2]=c[k>>2];c[p+12>>2]=c[k+4>>2];h[k>>3]=j;c[p+16>>2]=c[k>>2];c[p+20>>2]=c[k+4>>2];jN(373784,p)}if((n<<24>>24==0?(o=+g[d+40>>2],o>j&(e|0)<2):0)?(una(b,c[d+20>>2]|0,c[d+28>>2]|0,o)|0)!=0:0){f=1;break}if((c[b+1060>>2]|0)>0){q=+g[d+40>>2];f=una(b,c[d+20>>2]|0,c[d+28>>2]|0,q)|0;c[p>>2]=n&255^1;h[k>>3]=q;c[p+4>>2]=c[k>>2];c[p+8>>2]=c[k+4>>2];h[k>>3]=j;c[p+12>>2]=c[k>>2];c[p+16>>2]=c[k+4>>2];c[p+20>>2]=f;jN(373848,p);f=0}else f=0}else f=0}else f=0;while(0);i=p;return f|0}function tna(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if((c[b+28>>2]|0)>0){e=0;d=2147483647;g=0;while(1){f=(c[a+32>>2]|0)+184|0;if(!(Yz(f,bx(b,g)|0)|0))if((e|0)>0){f=0;d=(e|0)<(d|0)?e:d}else f=e;else f=e+1|0;g=g+1|0;if((g|0)>=(c[b+28>>2]|0))break;else e=f}if((f|0)>0&(f|0)<(d|0))return f|0}else d=2147483647;return ((d|0)==2147483647?0:d)|0}function una(a,b,d,e){a=a|0;b=b|0;d=d|0;e=+e;var f=0,j=0.0,l=0.0,m=0.0,n=0.0,o=0;o=i;i=i+32|0;if((d|0)>=3){m=0.0;l=0.0;j=3402823466385288598117041.0e14;f=0;do{n=+g[b+(f<<2)>>2];m=m+n;l=l+n*n;j=n>3]*m;j=+h[a+880>>3];if(!(l>j))j=l;if(j>e)if((c[a+1060>>2]|0)>0){h[k>>3]=e;c[o>>2]=c[k>>2];c[o+4>>2]=c[k+4>>2];h[k>>3]=n/+(d+-1|0);c[o+8>>2]=c[k>>2];c[o+12>>2]=c[k+4>>2];h[k>>3]=m;c[o+16>>2]=c[k>>2];c[o+20>>2]=c[k+4>>2];h[k>>3]=j;c[o+24>>2]=c[k>>2];c[o+28>>2]=c[k+4>>2];jN(374592,o);f=0}else f=0;else f=1}else f=1;i=o;return f|0}function vna(b,d){b=b|0;d=d|0;var e=0,f=0.0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+32|0;e=c[d+140>>2]|0;do if(e){f=+h[b+880>>3]-+g[b+44>>2];if((c[b+1060>>2]|0)>0){Lw(q+20|0,e);j=c[q+20>>2]|0;l=VM(j)|0;m=(Gma(b,c[d+140>>2]|0,0)|0)!=0;n=(Lla(c[d+140>>2]|0,(c[b+32>>2]|0)+184|0)|0)!=0;o=(a[(c[d+140>>2]|0)+54>>0]|0)!=0?110:121;e=c[d+148>>2]|0;if(!e)e=121;else e=(e|0)==(c[e>>2]|0)?110:121;c[q>>2]=l;c[q+4>>2]=m?121:110;c[q+8>>2]=n?121:110;c[q+12>>2]=o;c[q+16>>2]=e;jN(373936,q);RM(j);e=c[d+140>>2]|0}if(((c[e+28>>2]|0)!=0?(p=c[d+148>>2]|0,(p|0)!=0):0)?(p|0)==(c[p>>2]|0):0){if((Gma(b,e,0)|0)!=0?(Lla(c[d+140>>2]|0,(c[b+32>>2]|0)+184|0)|0)!=0:0){p=tna(b,c[d+140>>2]|0)|0;p=p-(c[b+956>>2]|0)|0;f=f+ +h[b+984>>3]*((p|0)<0?0.0:+(p|0))}if((c[b+1060>>2]|0)>0){h[k>>3]=+g[(c[d+140>>2]|0)+40>>2];c[q>>2]=c[k>>2];c[q+4>>2]=c[k+4>>2];h[k>>3]=f;c[q+8>>2]=c[k>>2];c[q+12>>2]=c[k+4>>2];jN(374e3,q)}if(+g[(c[d+140>>2]|0)+40>>2]>f?(a[b+1082>>0]|0)==0:0){if((c[b+1060>>2]|0)<=0){e=1;break}jN(374056,q);e=1;break}if((c[b+1060>>2]|0)>0){jN(374072,q);e=0}else e=0}else e=0}else e=0;while(0);i=q;return e|0}function wna(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=i;i=i+224|0;if((c[b+1060>>2]|0)>2){Lw(C+24|0,d);y=c[C+24>>2]|0;c[C>>2]=VM(y)|0;jN(374088,C);RM(y)}Av(C+84|0);j=0;y=0;do{w=(y|0)==0;l=c[b+32>>2]|0;if(!w){if((c[d+28>>2]|0)>0){k=0;do{h=WEa(4)|0;c[h>>2]=0;pk(C+56|0,h);z=WEa(72)|0;pia(z,bx(d,k)|0,0.0,0.0,-1,0.0,1.0,0.0,3);qv(C+56|0,z);Cv(C+84|0,h);k=k+1|0;h=c[d+28>>2]|0}while((k|0)<(h|0));v=l+256|0;z=8}}else{h=c[d+28>>2]|0;v=l+276|0;z=8}if((z|0)==8){z=0;if((h|0)>0){h=w?374176:374192;q=0;p=0;while(1){l=bx(d,p)|0;if((c[b+1060>>2]|0)>2){QN(C+20|0,(c[b+32>>2]|0)+184|0,l);u=c[C+20>>2]|0;t=VM(u)|0;c[C>>2]=h;c[C+4>>2]=t;jN(374128,C);RM(u)}k=c[(c[d+16>>2]|0)+(p<<2)>>2]|0;c[C+104>>2]=l;a:do if(((l|0)!=-1?(l|0)<(c[v>>2]|0):0)?(c[(Gv(v,l)|0)>>2]|0)!=0:0){pk(C+28|0,c[(Gv(v,l)|0)>>2]|0);rk(C+28|0);r=(p|0)>0;u=0;while(1){t=u+1|0;s=k+q|0;b:while(1){while(1){if(sk(C+28|0)|0)break a;n=tk(C+28|0)|0;c[C+104+(t<<2)>>2]=-1;o=RK(C+104|0,n+4|0)|0;if((c[b+1060>>2]|0)>2){jN(374208,C);LK(C+104|0,(c[b+32>>2]|0)+184|0);jN(374232,C);LK(n+4|0,(c[b+32>>2]|0)+184|0);c[C>>2]=o;jN(374264,C)}if(!o)break;else if((o|0)==-1)break b;OL(C+28|0)|0}if((e|0)!=0?(x=c[n+48>>2]|0,o=ona((c[b+32>>2]|0)+184|0,c[n+92>>2]|0)|0,c[C+152>>2]=q,c[C+156>>2]=s,a[C+160>>0]=w&1,a[C+161>>0]=o&1,c[C+164>>2]=x,c[C+0>>2]=c[C+152>>2],c[C+4>>2]=c[C+156>>2],c[C+8>>2]=c[C+160>>2],c[C+12>>2]=c[C+164>>2],Ana(e,C),(c[b+1060>>2]|0)>1):0){m=ona((c[b+32>>2]|0)+184|0,c[n+92>>2]|0)|0;o=MN((c[b+32>>2]|0)+184|0,x)|0;c[C>>2]=q;c[C+4>>2]=s;c[C+8>>2]=0;c[C+12>>2]=m&1;c[C+16>>2]=o;jN(374288,C)}do if(w){if((c[b+1060>>2]|0)>2){c[C>>2]=MN((c[b+32>>2]|0)+184|0,c[n+92>>2]|0)|0;jN(374320,C);LK(n+48|0,(c[b+32>>2]|0)+184|0);o=n+92|0}else o=n+92|0;xna(b,p,c[n+100>>2]|0,c[o>>2]|0,d,f)}else{if(!r?(c[n+96>>2]|0)==4:0)break;if((c[b+1060>>2]|0)>2){jN(374352,C);LK(n+48|0,(c[b+32>>2]|0)+184|0);o=0}else o=0;while(1){pk(C+168|0,c[(Fv(C+84|0,o+p|0)|0)>>2]|0);m=WEa(72)|0;pia(m,c[n+(o<<2)+48>>2]|0,-1.0,0.0,-1,0.0,1.0,0.0,3);qv(C+168|0,m);if((o|0)<(u|0))o=o+1|0;else{j=1;break}}}while(0);OL(C+28|0)|0}if((t|0)>=(c[n+100>>2]|0))break a;m=t+p|0;if((m|0)>=(c[d+28>>2]|0))break a;c[C+104+(t<<2)>>2]=bx(d,m)|0;k=(c[(c[d+16>>2]|0)+(m<<2)>>2]|0)+k|0;u=t}}while(0);l=p+1|0;if((l|0)<(c[d+28>>2]|0)){q=(c[(c[d+16>>2]|0)+(p<<2)>>2]|0)+q|0;p=l}else break}}}y=y+1|0}while((y|0)<2);do if(j){if((c[b+1060>>2]|0)>2?(jN(374376,C),(c[C+84>>2]|0)>0):0){j=0;do{f=c[(qna(C+84|0,j)|0)>>2]|0;Via(1714496,f,(c[b+32>>2]|0)+184|0);jN(1714256,C);j=j+1|0}while((j|0)<(c[C+84>>2]|0))}q=lna(b,C+84|0,0.0)|0;j=+g[q+36>>2]<0.0;if(j){if((c[b+1060>>2]|0)>0){Lw(C+196|0,q);f=c[C+196>>2]|0;c[C>>2]=VM(f)|0;jN(374408,C);RM(f)}if(e){if((c[q+28>>2]|0)>0){t=0;u=0;do{r=(c[b+32>>2]|0)+184|0;s=ona(r,bx(q,t)|0)|0;h=bx(q,t)|0;if(s?(A=MN(r,h)|0,B=JN(r,A)|0,(B|0)!=0):0)h=IN(r,A,B)|0;n=c[(c[q+16>>2]|0)+(t<<2)>>2]|0;p=n+u|0;if(!((n|0)<=1?(u+1|0)!=(p|0)|s^1:0)){if((u|0)>0){k=c[d+16>>2]|0;l=0;m=0;do{l=(c[k+(m<<2)>>2]|0)+l|0;m=m+1|0}while((m|0)!=(u|0));o=l}else o=0;if((n|0)>0){k=c[d+16>>2]|0;l=o;m=u;do{l=(c[k+(m<<2)>>2]|0)+l|0;m=m+1|0}while((m|0)<(p|0))}else l=o;c[C+200>>2]=o;c[C+204>>2]=l;a[C+208>>0]=1;a[C+209>>0]=s&1;c[C+212>>2]=h;c[C+0>>2]=c[C+200>>2];c[C+4>>2]=c[C+204>>2];c[C+8>>2]=c[C+208>>2];c[C+12>>2]=c[C+212>>2];Ana(e,C);if((c[b+1060>>2]|0)>1){f=MN(r,h)|0;c[C>>2]=u;c[C+4>>2]=p;c[C+8>>2]=1;c[C+12>>2]=s&1;c[C+16>>2]=f;jN(374448,C)}}u=(c[(c[q+16>>2]|0)+(t<<2)>>2]|0)+u|0;t=t+1|0}while((t|0)<(c[q+28>>2]|0))}}else z=67}else z=67;if((z|0)==67?(q|0)==0:0)break;wia(q);YEa(q)}else j=0;while(0);h=c[b+192>>2]|0;if(h)Fc(10,h|0)|0;Dv(C+84|0);Bv(C+84|0);i=C;return j^1|0}function xna(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var j=0,k=0,l=0,m=0.0,n=0,o=0.0,p=0,q=0,r=0;r=i;i=i+48|0;if((d+b|0)>0){p=0;q=0;m=0.0;o=0.0;j=0;k=0;while(1){n=c[(c[f+16>>2]|0)+(q<<2)>>2]|0;if((q|0)<(b|0))l=n+p|0;else{l=j+p|0;l=Vc[c[(c[h>>2]|0)+12>>2]&63](h,l,l+-1+n|0)|0;l=c[(c[h+4>>2]|0)+(l<<2)>>2]|0;if(!l){c[r>>2]=374504;c[r+4>>2]=395;$L(373672,374488,2,1702e3,r)}k=sia(bx(f,q)|0,l)|0;if(!k){c[r>>2]=374504;c[r+4>>2]=397;$L(373672,374528,2,1702e3,r)}l=p;m=m+ +g[k+36>>2];o=o+ +g[k+32>>2];j=n+j|0}q=q+1|0;if((q|0)==(d+b|0)){p=l;q=j;break}else p=l}}else{p=0;m=0.0;o=0.0;q=0;k=0}m=m/+(d|0);l=p+-1+q|0;if(!(cS(p,l,h)|0))Pea(h,q);n=Vc[c[(c[h>>2]|0)+12>>2]&63](h,p,l)|0;if(!(c[(c[h+4>>2]|0)+(n<<2)>>2]|0)){j=WEa(4)|0;c[j>>2]=0;n=Vc[c[(c[h>>2]|0)+12>>2]&63](h,p,l)|0;c[(c[h+4>>2]|0)+(n<<2)>>2]=j}n=Vc[c[(c[h>>2]|0)+12>>2]&63](h,p,l)|0;n=c[(c[h+4>>2]|0)+(n<<2)>>2]|0;j=sia(e,n)|0;if(j){if(o<+g[j+32>>2])g[j+32>>2]=o;if(m<+g[j+36>>2])g[j+36>>2]=m}else{j=WEa(72)|0;qia(j,k);c[j+4>>2]=e;g[j+32>>2]=o;g[j+36>>2]=m;c[j+68>>2]=3;c[j+44>>2]=p;c[j+48>>2]=l;pk(r+8|0,n);qv(r+8|0,j)}if((d|0)>0){l=j+4|0;j=j+36|0;k=0;do{k=k+1|0;if((k|0)==(d|0))Aia(f,b,q,c[l>>2]|0,+g[j>>2]);else Cia(f,b+1|0)}while((k|0)<(d|0))}if((c[a+1060>>2]|0)>0){Sia(f,374552);jN(374568,r);Via(1714256,n,(c[a+32>>2]|0)+184|0)}i=r;return}function yna(a){a=a|0;g[a+44>>2]=0.0;return}function zna(a){a=a|0;g[a+44>>2]=+h[a+920>>3];return}function Ana(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){Bna(a);d=c[a>>2]|0}c[a>>2]=d+1;a=(c[a+8>>2]|0)+(d<<4)|0;c[a+0>>2]=c[b+0>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];return}function Bna(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)NP(a,4);else NP(a,b<<1);return}function Cna(a){a=a|0;Rna(a+60|0);cna(a+60|0);bna(a+104|0);c[a+80>>2]=0;c[a+84>>2]=0;Dna(a)|0;return}function Dna(a){a=a|0;var b=0,d=0,e=0;b=WEa(40)|0;d=b+0|0;e=d+40|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));Sna(b);Tna(a+60|0,b);e=(c[a+60>>2]|0)+-1|0;F=((e|0)<0)<<31>>31;return e|0} -function Aza(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;h=a[b>>0]|0;if(!(h&1))g=(h&255)>>>1;else g=c[b+4>>2]|0;a:do if(g){if((d|0)!=(e|0)?(e+-4|0)>>>0>d>>>0:0){g=d;i=e+-4|0;h=e;while(1){l=c[g>>2]|0;c[g>>2]=c[i>>2];c[i>>2]=l;g=g+4|0;h=h+-8|0;if(g>>>0>=h>>>0)break;else{l=i;i=h;h=l}}h=a[b>>0]|0}if(!(h&1)){i=b+1|0;h=(h&255)>>>1}else{i=c[b+8>>2]|0;h=c[b+4>>2]|0}k=a[i>>0]|0;b:do if((e+-4|0)>>>0>d>>>0){l=i+h|0;b=k;j=i;g=d;h=k<<24>>24<1|k<<24>>24==127;while(1){if(!h?(b<<24>>24|0)!=(c[g>>2]|0):0)break;j=(l-j|0)>1?j+1|0:j;g=g+4|0;i=a[j>>0]|0;if(g>>>0>=(e+-4|0)>>>0){h=i;g=i<<24>>24<1|i<<24>>24==127;break b}else{b=i;h=i<<24>>24<1|i<<24>>24==127}}c[f>>2]=4;break a}else{h=k;g=k<<24>>24<1|k<<24>>24==127}while(0);if(!g?((c[e+-4>>2]|0)+-1|0)>>>0>=h<<24>>24>>>0:0)c[f>>2]=4}while(0);return}function Bza(a){a=a|0;return}function Cza(a){a=a|0;YEa(a);return}function Dza(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0;o=i;i=i+576|0;c[o+8>>2]=o+16;c[o+12>>2]=254;hva(o+456|0,h);p=c[o+456>>2]|0;d=pAa(p,1706592)|0;a[o+560>>0]=0;do if(Eza(e,c[f>>2]|0,g,p,c[h+4>>2]|0,j,o+560|0,d,o+8|0,o+4|0,o+416|0)|0){ed[c[(c[d>>2]|0)+48>>2]&15](d,1706296,1706306,o+416|0)|0;g=c[o+4>>2]|0;h=c[o+8>>2]|0;if((g-h|0)>392){d=UFa((g-h>>2)+2|0)|0;if(!d)PFa();else{m=d;l=d}}else{m=0;l=o+460|0}if(a[o+560>>0]|0){a[l>>0]=45;l=l+1|0}if(h>>>0>>0)do{g=c[h>>2]|0;d=o+416|0;while(1){if((c[d>>2]|0)==(g|0))break;d=d+4|0;if((d|0)==(o+456|0)){d=o+456|0;break}}a[l>>0]=a[1706296+(d-(o+416)>>2)>>0]|0;h=h+4|0;l=l+1|0}while(h>>>0<(c[o+4>>2]|0)>>>0);a[l>>0]=0;c[o>>2]=k;if((zEa(o+460|0,1706232,o)|0)==1){VFa(m);break}else xza(1706240)}while(0);g=c[e>>2]|0;do if(g){l=c[g+12>>2]|0;if((l|0)==(c[g+16>>2]|0))g=Tc[c[(c[g>>2]|0)+36>>2]&127](g)|0;else g=c[l>>2]|0;if((g|0)==-1){c[e>>2]=0;d=1;break}else{d=(c[e>>2]|0)==0;break}}else d=1;while(0);l=c[f>>2]|0;do if(l){g=c[l+12>>2]|0;if((g|0)==(c[l+16>>2]|0))g=Tc[c[(c[l>>2]|0)+36>>2]&127](l)|0;else g=c[g>>2]|0;if((g|0)!=-1)if(d)break;else{n=31;break}else{c[f>>2]=0;n=29;break}}else n=29;while(0);if((n|0)==29?d:0)n=31;if((n|0)==31)c[j>>2]=c[j>>2]|2;c[b>>2]=c[e>>2];Dua(c[o+456>>2]|0);g=c[o+8>>2]|0;c[o+8>>2]=0;if(g)Qc[c[o+8+4>>2]&511](g);i=o;return}function Eza(b,e,f,g,h,j,k,l,m,n,o){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+512|0;c[A+40>>2]=o;c[A+32>>2]=A+88;c[A+36>>2]=254;c[A+24>>2]=A+88;c[A+80>>2]=A+488;c[A+44>>2]=0;c[A+48>>2]=0;c[A+52>>2]=0;c[A+0>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;c[A+68>>2]=0;c[A+72>>2]=0;c[A+76>>2]=0;c[A+12>>2]=0;c[A+16>>2]=0;c[A+20>>2]=0;c[A+56>>2]=0;c[A+60>>2]=0;c[A+64>>2]=0;Gza(f,g,A+504|0,A+496|0,A+500|0,A+44|0,A,A+68|0,A+12|0,A+492|0);c[n>>2]=c[m>>2];w=A+16|0;x=A+72|0;u=A+88|0;v=0;y=0;a:while(1){o=c[b>>2]|0;do if(o){f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Tc[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=c[f>>2]|0;if((o|0)==-1){c[b>>2]=0;p=1;break}else{p=(c[b>>2]|0)==0;break}}else p=1;while(0);if(e){o=c[e+12>>2]|0;if((o|0)==(c[e+16>>2]|0))o=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else o=c[o>>2]|0;if((o|0)!=-1){if(!p){o=u;q=y;z=260;break}}else z=14}else z=14;if((z|0)==14){z=0;if(p){o=u;e=0;q=y;z=260;break}else e=0}b:do switch(a[A+504+v>>0]|0){case 1:{if((v|0)==3){o=u;q=y;z=260;break a}o=c[b>>2]|0;f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Tc[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=c[f>>2]|0;if(!(Vc[c[(c[l>>2]|0)+12>>2]&63](l,8192,o)|0)){z=27;break a}o=c[b>>2]|0;f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Tc[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[o+12>>2]=f+4;o=c[f>>2]|0}cva(A+56|0,o);z=28;break}case 4:{t=c[A+500>>2]|0;o=u;q=0;while(1){p=c[b>>2]|0;do if(p){f=c[p+12>>2]|0;if((f|0)==(c[p+16>>2]|0))p=Tc[c[(c[p>>2]|0)+36>>2]&127](p)|0;else p=c[f>>2]|0;if((p|0)==-1){c[b>>2]=0;f=1;break}else{f=(c[b>>2]|0)==0;break}}else f=1;while(0);if(e){p=c[e+12>>2]|0;if((p|0)==(c[e+16>>2]|0))p=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else p=c[p>>2]|0;if((p|0)!=-1){if(!f)break}else z=183}else z=183;if((z|0)==183){z=0;if(f){e=0;break}else e=0}p=c[b>>2]|0;f=c[p+12>>2]|0;if((f|0)==(c[p+16>>2]|0))f=Tc[c[(c[p>>2]|0)+36>>2]&127](p)|0;else f=c[f>>2]|0;if(Vc[c[(c[l>>2]|0)+12>>2]&63](l,2048,f)|0){p=c[n>>2]|0;if((p|0)==(c[A+40>>2]|0)){PCa(m,n,A+40|0);p=c[n>>2]|0}c[n>>2]=p+4;c[p>>2]=f;q=q+1|0}else{p=a[A+44>>0]|0;if(!(p&1))p=(p&255)>>>1;else p=c[A+48>>2]|0;if(!((p|0)!=0&(q|0)!=0&(f|0)==(t|0)))break;if((o|0)==(c[A+80>>2]|0)){NCa(A+32|0,A+24|0,A+80|0);o=c[A+24>>2]|0}u=o+4|0;c[A+24>>2]=u;c[o>>2]=q;o=u;q=0}p=c[b>>2]|0;f=c[p+12>>2]|0;if((f|0)==(c[p+16>>2]|0)){Tc[c[(c[p>>2]|0)+40>>2]&127](p)|0;continue}else{c[p+12>>2]=f+4;continue}}if((q|0)!=0?(c[A+32>>2]|0)!=(o|0):0){if((o|0)==(c[A+80>>2]|0)){NCa(A+32|0,A+24|0,A+80|0);o=c[A+24>>2]|0}u=o+4|0;c[A+24>>2]=u;c[o>>2]=q;o=u}t=c[A+492>>2]|0;if((t|0)>0){p=c[b>>2]|0;do if(p){f=c[p+12>>2]|0;if((f|0)==(c[p+16>>2]|0))f=Tc[c[(c[p>>2]|0)+36>>2]&127](p)|0;else f=c[f>>2]|0;if((f|0)==-1){c[b>>2]=0;f=1;break}else{f=(c[b>>2]|0)==0;break}}else f=1;while(0);if(e){p=c[e+12>>2]|0;if((p|0)==(c[e+16>>2]|0))p=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else p=c[p>>2]|0;if((p|0)!=-1){if(!f){z=225;break a}}else z=219}else z=219;if((z|0)==219){z=0;if(f){z=225;break a}else e=0}p=c[b>>2]|0;f=c[p+12>>2]|0;if((f|0)==(c[p+16>>2]|0))f=Tc[c[(c[p>>2]|0)+36>>2]&127](p)|0;else f=c[f>>2]|0;if((f|0)!=(c[A+496>>2]|0)){z=225;break a}p=c[b>>2]|0;f=c[p+12>>2]|0;if((f|0)==(c[p+16>>2]|0))Tc[c[(c[p>>2]|0)+40>>2]&127](p)|0;else c[p+12>>2]=f+4;do{p=c[b>>2]|0;do if(p){f=c[p+12>>2]|0;if((f|0)==(c[p+16>>2]|0))f=Tc[c[(c[p>>2]|0)+36>>2]&127](p)|0;else f=c[f>>2]|0;if((f|0)==-1){c[b>>2]=0;f=1;break}else{f=(c[b>>2]|0)==0;break}}else f=1;while(0);if(e){p=c[e+12>>2]|0;if((p|0)==(c[e+16>>2]|0))p=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else p=c[p>>2]|0;if((p|0)!=-1){if(!f){z=247;break a}}else z=241}else z=241;if((z|0)==241){z=0;if(f){z=247;break a}else e=0}p=c[b>>2]|0;f=c[p+12>>2]|0;if((f|0)==(c[p+16>>2]|0))f=Tc[c[(c[p>>2]|0)+36>>2]&127](p)|0;else f=c[f>>2]|0;if(!(Vc[c[(c[l>>2]|0)+12>>2]&63](l,2048,f)|0)){z=247;break a}if((c[n>>2]|0)==(c[A+40>>2]|0))PCa(m,n,A+40|0);p=c[b>>2]|0;f=c[p+12>>2]|0;if((f|0)==(c[p+16>>2]|0))f=Tc[c[(c[p>>2]|0)+36>>2]&127](p)|0;else f=c[f>>2]|0;p=c[n>>2]|0;c[n>>2]=p+4;c[p>>2]=f;t=t+-1|0;c[A+492>>2]=t;p=c[b>>2]|0;f=c[p+12>>2]|0;if((f|0)==(c[p+16>>2]|0))Tc[c[(c[p>>2]|0)+40>>2]&127](p)|0;else c[p+12>>2]=f+4}while((t|0)>0)}if((c[n>>2]|0)==(c[m>>2]|0)){z=258;break a}else p=y;break}case 0:{z=28;break}case 3:{o=a[A+68>>0]|0;if(!(o&1))f=(o&255)>>>1;else f=c[x>>2]|0;s=a[A+12>>0]|0;if(!(s&1))p=(s&255)>>>1;else p=c[w>>2]|0;if((f|0)==(0-p|0)){o=u;p=y}else{if(!(o&1))p=(o&255)>>>1;else p=c[x>>2]|0;if(p){if(!(s&1))p=(s&255)>>>1;else p=c[w>>2]|0;if(p){q=c[b>>2]|0;f=c[q+12>>2]|0;p=c[q+16>>2]|0;if((f|0)==(p|0)){s=Tc[c[(c[q>>2]|0)+36>>2]&127](q)|0;p=c[b>>2]|0;o=a[A+68>>0]|0;q=p;f=c[p+12>>2]|0;p=c[p+16>>2]|0}else s=c[f>>2]|0;g=q+12|0;p=(f|0)==(p|0);if((s|0)==(c[((o&1)==0?x:c[A+76>>2]|0)>>2]|0)){if(p)Tc[c[(c[q>>2]|0)+40>>2]&127](q)|0;else c[g>>2]=f+4;o=a[A+68>>0]|0;if(!(o&1))p=(o&255)>>>1;else p=c[x>>2]|0;o=u;p=p>>>0>1?A+68|0:y;break b}if(p)o=Tc[c[(c[q>>2]|0)+36>>2]&127](q)|0;else o=c[f>>2]|0;if((o|0)!=(c[((a[A+12>>0]&1)==0?w:c[A+20>>2]|0)>>2]|0)){z=115;break a}o=c[b>>2]|0;f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))Tc[c[(c[o>>2]|0)+40>>2]&127](o)|0;else c[o+12>>2]=f+4;a[k>>0]=1;o=a[A+12>>0]|0;if(!(o&1))p=(o&255)>>>1;else p=c[w>>2]|0;o=u;p=p>>>0>1?A+12|0:y;break b}}if(!(o&1))p=(o&255)>>>1;else p=c[x>>2]|0;f=c[b>>2]|0;g=c[f+12>>2]|0;q=(g|0)==(c[f+16>>2]|0);if(!p){if(q){p=Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0;o=a[A+12>>0]|0}else{p=c[g>>2]|0;o=s}if((p|0)!=(c[((o&1)==0?w:c[A+20>>2]|0)>>2]|0)){o=u;p=y;break b}o=c[b>>2]|0;f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))Tc[c[(c[o>>2]|0)+40>>2]&127](o)|0;else c[o+12>>2]=f+4;a[k>>0]=1;o=a[A+12>>0]|0;if(!(o&1))p=(o&255)>>>1;else p=c[w>>2]|0;o=u;p=p>>>0>1?A+12|0:y;break b}if(q){p=Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0;o=a[A+68>>0]|0}else p=c[g>>2]|0;if((p|0)!=(c[((o&1)==0?x:c[A+76>>2]|0)>>2]|0)){a[k>>0]=1;o=u;p=y;break b}o=c[b>>2]|0;f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))Tc[c[(c[o>>2]|0)+40>>2]&127](o)|0;else c[o+12>>2]=f+4;o=a[A+68>>0]|0;if(!(o&1))p=(o&255)>>>1;else p=c[x>>2]|0;o=u;p=p>>>0>1?A+68|0:y}break}case 2:{if(!((y|0)!=0|v>>>0<2)){if((v|0)==2)o=(a[A+507>>0]|0)!=0;else o=0;if(!((h&512|0)!=0|o)){o=u;p=0;break b}}o=a[A>>0]|0;p=(o&1)==0?A+4|0:c[A+8>>2]|0;c:do if((v|0)!=0?(d[A+504+(v+-1)>>0]|0)<2:0){while(1){if(!(o&1)){f=A+4|0;g=(o&255)>>>1}else{f=c[A+8>>2]|0;g=c[A+4>>2]|0}if((p|0)==(f+(g<<2)|0))break;if(!(Vc[c[(c[l>>2]|0)+12>>2]&63](l,8192,c[p>>2]|0)|0)){z=127;break}o=a[A>>0]|0;p=p+4|0}if((z|0)==127){z=0;o=a[A>>0]|0}t=(o&1)==0?A+4|0:c[A+8>>2]|0;f=p-t>>2;g=a[A+56>>0]|0;if(!(g&1))q=(g&255)>>>1;else q=c[A+60>>2]|0;if(f>>>0<=q>>>0){if(!(g&1)){r=A+60|0;s=(g&255)>>>1;q=A+60+(((g&255)>>>1)-f<<2)|0}else{g=c[A+64>>2]|0;q=c[A+60>>2]|0;r=g;s=q;q=g+(q-f<<2)|0}g=r+(s<<2)|0;if((q|0)==(g|0))t=p;else{f=t;while(1){if((c[q>>2]|0)!=(c[f>>2]|0))break c;q=q+4|0;if((q|0)==(g|0)){t=p;break}else f=f+4|0}}}}else t=p;while(0);while(1){if(!(o&1)){f=A+4|0;p=(o&255)>>>1}else{f=c[A+8>>2]|0;p=c[A+4>>2]|0}if((t|0)==(f+(p<<2)|0))break;p=c[b>>2]|0;do if(p){o=c[p+12>>2]|0;if((o|0)==(c[p+16>>2]|0))o=Tc[c[(c[p>>2]|0)+36>>2]&127](p)|0;else o=c[o>>2]|0;if((o|0)==-1){c[b>>2]=0;o=1;break}else{o=(c[b>>2]|0)==0;break}}else o=1;while(0);if(e){p=c[e+12>>2]|0;if((p|0)==(c[e+16>>2]|0))p=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else p=c[p>>2]|0;if((p|0)!=-1){if(!o)break}else z=155}else z=155;if((z|0)==155){z=0;if(o){e=0;break}else e=0}p=c[b>>2]|0;o=c[p+12>>2]|0;if((o|0)==(c[p+16>>2]|0))o=Tc[c[(c[p>>2]|0)+36>>2]&127](p)|0;else o=c[o>>2]|0;if((o|0)!=(c[t>>2]|0))break;p=c[b>>2]|0;o=c[p+12>>2]|0;if((o|0)==(c[p+16>>2]|0))Tc[c[(c[p>>2]|0)+40>>2]&127](p)|0;else c[p+12>>2]=o+4;o=a[A>>0]|0;t=t+4|0}if(h&512){p=a[A>>0]|0;if(!(p&1)){o=A+4|0;p=(p&255)>>>1}else{o=c[A+8>>2]|0;p=c[A+4>>2]|0}if((t|0)!=(o+(p<<2)|0)){z=170;break a}else{o=u;p=y}}else{o=u;p=y}break}default:{o=u;p=y}}while(0);d:do if((z|0)==28){z=0;if((v|0)==3){o=u;q=y;z=260;break a}while(1){o=c[b>>2]|0;do if(o){f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Tc[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=c[f>>2]|0;if((o|0)==-1){c[b>>2]=0;p=1;break}else{p=(c[b>>2]|0)==0;break}}else p=1;while(0);if(e){o=c[e+12>>2]|0;if((o|0)==(c[e+16>>2]|0))o=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else o=c[o>>2]|0;if((o|0)!=-1){if(!p){o=u;p=y;break d}}else z=41}else z=41;if((z|0)==41){z=0;if(p){o=u;e=0;p=y;break d}else e=0}o=c[b>>2]|0;f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Tc[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=c[f>>2]|0;if(!(Vc[c[(c[l>>2]|0)+12>>2]&63](l,8192,o)|0)){o=u;p=y;break d}o=c[b>>2]|0;f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Tc[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[o+12>>2]=f+4;o=c[f>>2]|0}cva(A+56|0,o)}}while(0);v=v+1|0;if(v>>>0>=4){q=p;z=260;break}else{u=o;y=p}}e:do if((z|0)==27){c[j>>2]=c[j>>2]|4;e=0}else if((z|0)==115){c[j>>2]=c[j>>2]|4;e=0}else if((z|0)==170){c[j>>2]=c[j>>2]|4;e=0}else if((z|0)==225){c[j>>2]=c[j>>2]|4;e=0}else if((z|0)==247){c[j>>2]=c[j>>2]|4;e=0}else if((z|0)==258){c[j>>2]=c[j>>2]|4;e=0}else if((z|0)==260){f:do if(q){s=q+4|0;r=q+8|0;p=e;f=1;while(1){e=a[q>>0]|0;if(!(e&1))e=(e&255)>>>1;else e=c[s>>2]|0;if(f>>>0>=e>>>0)break f;e=c[b>>2]|0;do if(e){g=c[e+12>>2]|0;if((g|0)==(c[e+16>>2]|0))e=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else e=c[g>>2]|0;if((e|0)==-1){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);if(p){e=c[p+12>>2]|0;if((e|0)==(c[p+16>>2]|0))e=Tc[c[(c[p>>2]|0)+36>>2]&127](p)|0;else e=c[e>>2]|0;if((e|0)!=-1){if(!g)break}else z=278}else z=278;if((z|0)==278){z=0;if(g)break;else p=0}e=c[b>>2]|0;g=c[e+12>>2]|0;if((g|0)==(c[e+16>>2]|0))e=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else e=c[g>>2]|0;if(!(a[q>>0]&1))g=s;else g=c[r>>2]|0;if((e|0)!=(c[g+(f<<2)>>2]|0))break;f=f+1|0;e=c[b>>2]|0;g=c[e+12>>2]|0;if((g|0)==(c[e+16>>2]|0)){Tc[c[(c[e>>2]|0)+40>>2]&127](e)|0;continue}else{c[e+12>>2]=g+4;continue}}c[j>>2]=c[j>>2]|4;e=0;break e}while(0);e=c[A+32>>2]|0;if((e|0)!=(o|0)?(c[A+488>>2]=0,Aza(A+44|0,e,o,A+488|0),(c[A+488>>2]|0)!=0):0){c[j>>2]=c[j>>2]|4;e=0}else e=1}while(0);_ua(A+56|0);_ua(A+12|0);_ua(A+68|0);_ua(A);Oua(A+44|0);g=c[A+32>>2]|0;c[A+32>>2]=0;if(g)Qc[c[A+32+4>>2]&511](g);i=A;return e|0}function Fza(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0;p=i;i=i+432|0;c[p+8>>2]=p+16;c[p+12>>2]=254;hva(p,h);n=c[p>>2]|0;l=pAa(n,1706592)|0;a[p+416>>0]=0;m=c[f>>2]|0;if(Eza(e,m,g,n,c[h+4>>2]|0,j,p+416|0,l,p+8|0,p+4|0,p+416|0)|0){if(!(a[k>>0]&1))a[k>>0]=0;else c[c[k+8>>2]>>2]=0;c[k+4>>2]=0;if(a[p+416>>0]|0)cva(k,bd[c[(c[l>>2]|0)+44>>2]&63](l,45)|0);g=bd[c[(c[l>>2]|0)+44>>2]&63](l,48)|0;l=c[p+8>>2]|0;d=c[p+4>>2]|0;a:do if(l>>>0<(d+-4|0)>>>0){h=l;while(1){l=h+4|0;if((c[h>>2]|0)!=(g|0)){l=h;break a}if(l>>>0<(d+-4|0)>>>0)h=l;else break}}while(0);QCa(k,l,d)}d=c[e>>2]|0;do if(d){g=c[d+12>>2]|0;if((g|0)==(c[d+16>>2]|0))d=Tc[c[(c[d>>2]|0)+36>>2]&127](d)|0;else d=c[g>>2]|0;if((d|0)==-1){c[e>>2]=0;l=1;break}else{l=(c[e>>2]|0)==0;break}}else l=1;while(0);do if(m){g=c[m+12>>2]|0;if((g|0)==(c[m+16>>2]|0))d=Tc[c[(c[m>>2]|0)+36>>2]&127](m)|0;else d=c[g>>2]|0;if((d|0)!=-1)if(l)break;else{o=26;break}else{c[f>>2]=0;o=24;break}}else o=24;while(0);if((o|0)==24?l:0)o=26;if((o|0)==26)c[j>>2]=c[j>>2]|2;c[b>>2]=c[e>>2];Dua(n);d=c[p+8>>2]|0;c[p+8>>2]=0;if(d)Qc[c[p+8+4>>2]&511](d);i=p;return}function Gza(b,d,e,f,g,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0;n=i;i=i+112|0;if(b){b=pAa(d,1706168)|0;Rc[c[(c[b>>2]|0)+44>>2]&63](n,b);d=c[n>>2]|0;a[e>>0]=d;a[e+1>>0]=d>>8;a[e+2>>0]=d>>16;a[e+3>>0]=d>>24;Rc[c[(c[b>>2]|0)+32>>2]&63](n+40|0,b);if(!(a[l>>0]&1))a[l>>0]=0;else c[c[l+8>>2]>>2]=0;c[l+4>>2]=0;bva(l);c[l+0>>2]=c[n+40>>2];c[l+4>>2]=c[n+44>>2];c[l+8>>2]=c[n+48>>2];c[n+40>>2]=0;c[n+44>>2]=0;c[n+48>>2]=0;_ua(n+40|0);Rc[c[(c[b>>2]|0)+28>>2]&63](n+76|0,b);if(!(a[k>>0]&1))a[k>>0]=0;else c[c[k+8>>2]>>2]=0;c[k+4>>2]=0;bva(k);c[k+0>>2]=c[n+76>>2];c[k+4>>2]=c[n+80>>2];c[k+8>>2]=c[n+84>>2];c[n+76>>2]=0;c[n+80>>2]=0;c[n+84>>2]=0;_ua(n+76|0);c[f>>2]=Tc[c[(c[b>>2]|0)+12>>2]&127](b)|0;c[g>>2]=Tc[c[(c[b>>2]|0)+16>>2]&127](b)|0;Rc[c[(c[b>>2]|0)+20>>2]&63](n+4|0,b);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[h+8>>2]>>0]=0;c[h+4>>2]=0}Tua(h);c[h+0>>2]=c[n+4>>2];c[h+4>>2]=c[n+8>>2];c[h+8>>2]=c[n+12>>2];c[n+4>>2]=0;c[n+8>>2]=0;c[n+12>>2]=0;Oua(n+4|0);Rc[c[(c[b>>2]|0)+24>>2]&63](n+88|0,b);if(!(a[j>>0]&1))a[j>>0]=0;else c[c[j+8>>2]>>2]=0;c[j+4>>2]=0;bva(j);c[j+0>>2]=c[n+88>>2];c[j+4>>2]=c[n+92>>2];c[j+8>>2]=c[n+96>>2];c[n+88>>2]=0;c[n+92>>2]=0;c[n+96>>2]=0;_ua(n+88|0);b=Tc[c[(c[b>>2]|0)+36>>2]&127](b)|0}else{b=pAa(d,1706104)|0;Rc[c[(c[b>>2]|0)+44>>2]&63](n+100|0,b);d=c[n+100>>2]|0;a[e>>0]=d;a[e+1>>0]=d>>8;a[e+2>>0]=d>>16;a[e+3>>0]=d>>24;Rc[c[(c[b>>2]|0)+32>>2]&63](n+28|0,b);if(!(a[l>>0]&1))a[l>>0]=0;else c[c[l+8>>2]>>2]=0;c[l+4>>2]=0;bva(l);c[l+0>>2]=c[n+28>>2];c[l+4>>2]=c[n+32>>2];c[l+8>>2]=c[n+36>>2];c[n+28>>2]=0;c[n+32>>2]=0;c[n+36>>2]=0;_ua(n+28|0);Rc[c[(c[b>>2]|0)+28>>2]&63](n+64|0,b);if(!(a[k>>0]&1))a[k>>0]=0;else c[c[k+8>>2]>>2]=0;c[k+4>>2]=0;bva(k);c[k+0>>2]=c[n+64>>2];c[k+4>>2]=c[n+68>>2];c[k+8>>2]=c[n+72>>2];c[n+64>>2]=0;c[n+68>>2]=0;c[n+72>>2]=0;_ua(n+64|0);c[f>>2]=Tc[c[(c[b>>2]|0)+12>>2]&127](b)|0;c[g>>2]=Tc[c[(c[b>>2]|0)+16>>2]&127](b)|0;Rc[c[(c[b>>2]|0)+20>>2]&63](n+52|0,b);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[h+8>>2]>>0]=0;c[h+4>>2]=0}Tua(h);c[h+0>>2]=c[n+52>>2];c[h+4>>2]=c[n+56>>2];c[h+8>>2]=c[n+60>>2];c[n+52>>2]=0;c[n+56>>2]=0;c[n+60>>2]=0;Oua(n+52|0);Rc[c[(c[b>>2]|0)+24>>2]&63](n+16|0,b);if(!(a[j>>0]&1))a[j>>0]=0;else c[c[j+8>>2]>>2]=0;c[j+4>>2]=0;bva(j);c[j+0>>2]=c[n+16>>2];c[j+4>>2]=c[n+20>>2];c[j+8>>2]=c[n+24>>2];c[n+16>>2]=0;c[n+20>>2]=0;c[n+24>>2]=0;_ua(n+16|0);b=Tc[c[(c[b>>2]|0)+36>>2]&127](b)|0}c[m>>2]=b;i=n;return}function Hza(a){a=a|0;return}function Iza(a){a=a|0;YEa(a);return}function Jza(b,d,e,f,g,j,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;l=+l;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;s=i;i=i+368|0;c[s+132>>2]=s+156;h[k>>3]=l;c[s>>2]=c[k>>2];c[s+4>>2]=c[k+4>>2];d=wGa(s+156|0,100,1706352,s)|0;if(d>>>0>99){d=Dwa()|0;h[k>>3]=l;c[s>>2]=c[k>>2];c[s+4>>2]=c[k+4>>2];d=ICa(s+132|0,d,1706352,s)|0;m=c[s+132>>2]|0;if(!m)PFa();n=UFa(d)|0;if(!n)PFa();else{o=m;u=n;v=m;w=n;y=d}}else{o=s+156|0;u=0;v=0;w=s+256|0;y=d}hva(s+148|0,g);r=c[s+148>>2]|0;q=pAa(r,1706600)|0;ed[c[(c[q>>2]|0)+32>>2]&15](q,o,o+y|0,w)|0;if(!y)p=0;else p=(a[o>>0]|0)==45;c[s+104>>2]=0;c[s+108>>2]=0;c[s+112>>2]=0;c[s+136>>2]=0;c[s+140>>2]=0;c[s+144>>2]=0;c[s+116>>2]=0;c[s+120>>2]=0;c[s+124>>2]=0;Kza(f,p,r,s+356|0,s+360|0,s+361|0,s+104|0,s+136|0,s+116|0,s+100|0);o=c[s+100>>2]|0;if((y|0)>(o|0)){d=a[s+116>>0]|0;if(!(d&1))m=(d&255)>>>1;else m=c[s+120>>2]|0;n=a[s+136>>0]|0;if(!(n&1))n=(n&255)>>>1;else n=c[s+140>>2]|0;d=m+(y-o<<1|1)+n|0}else{m=a[s+116>>0]|0;if(!(m&1))m=(m&255)>>>1;else m=c[s+120>>2]|0;n=a[s+136>>0]|0;if(!(n&1))n=(n&255)>>>1;else n=c[s+140>>2]|0;d=m+2+n|0}m=d+o|0;if(m>>>0>100){n=UFa(m)|0;if(!n)PFa();else{t=n;x=n}}else{t=0;x=s}Lza(x,s+128|0,s+152|0,c[g+4>>2]|0,w,w+y|0,q,p,s+356|0,a[s+360>>0]|0,a[s+361>>0]|0,s+104|0,s+136|0,s+116|0,o);HCa(b,c[e>>2]|0,x,c[s+128>>2]|0,c[s+152>>2]|0,g,j);VFa(t);Oua(s+116|0);Oua(s+136|0);Oua(s+104|0);Dua(r);VFa(u);VFa(v);i=s;return}function Kza(b,d,e,f,g,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0;n=i;i=i+112|0;if(b){e=pAa(e,1706040)|0;b=c[e>>2]|0;if(d){Rc[c[b+44>>2]&63](n,e);d=c[n>>2]|0;a[f>>0]=d;a[f+1>>0]=d>>8;a[f+2>>0]=d>>16;a[f+3>>0]=d>>24;Rc[c[(c[e>>2]|0)+32>>2]&63](n+16|0,e);if(!(a[l>>0]&1)){a[l+1>>0]=0;a[l>>0]=0}else{a[c[l+8>>2]>>0]=0;c[l+4>>2]=0}Tua(l);c[l+0>>2]=c[n+16>>2];c[l+4>>2]=c[n+20>>2];c[l+8>>2]=c[n+24>>2];c[n+16>>2]=0;c[n+20>>2]=0;c[n+24>>2]=0;Oua(n+16|0)}else{Rc[c[b+40>>2]&63](n+92|0,e);d=c[n+92>>2]|0;a[f>>0]=d;a[f+1>>0]=d>>8;a[f+2>>0]=d>>16;a[f+3>>0]=d>>24;Rc[c[(c[e>>2]|0)+28>>2]&63](n+40|0,e);if(!(a[l>>0]&1)){a[l+1>>0]=0;a[l>>0]=0}else{a[c[l+8>>2]>>0]=0;c[l+4>>2]=0}Tua(l);c[l+0>>2]=c[n+40>>2];c[l+4>>2]=c[n+44>>2];c[l+8>>2]=c[n+48>>2];c[n+40>>2]=0;c[n+44>>2]=0;c[n+48>>2]=0;Oua(n+40|0)}a[g>>0]=Tc[c[(c[e>>2]|0)+12>>2]&127](e)|0;a[h>>0]=Tc[c[(c[e>>2]|0)+16>>2]&127](e)|0;Rc[c[(c[e>>2]|0)+20>>2]&63](n+80|0,e);if(!(a[j>>0]&1)){a[j+1>>0]=0;a[j>>0]=0}else{a[c[j+8>>2]>>0]=0;c[j+4>>2]=0}Tua(j);c[j+0>>2]=c[n+80>>2];c[j+4>>2]=c[n+84>>2];c[j+8>>2]=c[n+88>>2];c[n+80>>2]=0;c[n+84>>2]=0;c[n+88>>2]=0;Oua(n+80|0);Rc[c[(c[e>>2]|0)+24>>2]&63](n+96|0,e);if(!(a[k>>0]&1)){a[k+1>>0]=0;a[k>>0]=0}else{a[c[k+8>>2]>>0]=0;c[k+4>>2]=0}Tua(k);c[k+0>>2]=c[n+96>>2];c[k+4>>2]=c[n+100>>2];c[k+8>>2]=c[n+104>>2];c[n+96>>2]=0;c[n+100>>2]=0;c[n+104>>2]=0;Oua(n+96|0);e=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0}else{b=pAa(e,1705976)|0;e=c[b>>2]|0;if(d){Rc[c[e+44>>2]&63](n+108|0,b);d=c[n+108>>2]|0;a[f>>0]=d;a[f+1>>0]=d>>8;a[f+2>>0]=d>>16;a[f+3>>0]=d>>24;Rc[c[(c[b>>2]|0)+32>>2]&63](n+56|0,b);if(!(a[l>>0]&1)){a[l+1>>0]=0;a[l>>0]=0}else{a[c[l+8>>2]>>0]=0;c[l+4>>2]=0}Tua(l);c[l+0>>2]=c[n+56>>2];c[l+4>>2]=c[n+60>>2];c[l+8>>2]=c[n+64>>2];c[n+56>>2]=0;c[n+60>>2]=0;c[n+64>>2]=0;Oua(n+56|0)}else{Rc[c[e+40>>2]&63](n+52|0,b);d=c[n+52>>2]|0;a[f>>0]=d;a[f+1>>0]=d>>8;a[f+2>>0]=d>>16;a[f+3>>0]=d>>24;Rc[c[(c[b>>2]|0)+28>>2]&63](n+28|0,b);if(!(a[l>>0]&1)){a[l+1>>0]=0;a[l>>0]=0}else{a[c[l+8>>2]>>0]=0;c[l+4>>2]=0}Tua(l);c[l+0>>2]=c[n+28>>2];c[l+4>>2]=c[n+32>>2];c[l+8>>2]=c[n+36>>2];c[n+28>>2]=0;c[n+32>>2]=0;c[n+36>>2]=0;Oua(n+28|0)}a[g>>0]=Tc[c[(c[b>>2]|0)+12>>2]&127](b)|0;a[h>>0]=Tc[c[(c[b>>2]|0)+16>>2]&127](b)|0;Rc[c[(c[b>>2]|0)+20>>2]&63](n+4|0,b);if(!(a[j>>0]&1)){a[j+1>>0]=0;a[j>>0]=0}else{a[c[j+8>>2]>>0]=0;c[j+4>>2]=0}Tua(j);c[j+0>>2]=c[n+4>>2];c[j+4>>2]=c[n+8>>2];c[j+8>>2]=c[n+12>>2];c[n+4>>2]=0;c[n+8>>2]=0;c[n+12>>2]=0;Oua(n+4|0);Rc[c[(c[b>>2]|0)+24>>2]&63](n+68|0,b);if(!(a[k>>0]&1)){a[k+1>>0]=0;a[k>>0]=0}else{a[c[k+8>>2]>>0]=0;c[k+4>>2]=0}Tua(k);c[k+0>>2]=c[n+68>>2];c[k+4>>2]=c[n+72>>2];c[k+8>>2]=c[n+76>>2];c[n+68>>2]=0;c[n+72>>2]=0;c[n+76>>2]=0;Oua(n+68|0);e=Tc[c[(c[b>>2]|0)+36>>2]&127](b)|0}c[m>>2]=e;i=n;return}function Lza(d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;var s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;c[f>>2]=d;z=0;do{switch(a[l+z>>0]|0){case 3:{v=a[q>>0]|0;if(!(v&1))u=(v&255)>>>1;else u=c[q+4>>2]|0;if(u){x=a[((v&1)==0?q+1|0:c[q+8>>2]|0)>>0]|0;y=c[f>>2]|0;c[f>>2]=y+1;a[y>>0]=x}break}case 4:{y=c[f>>2]|0;h=k?h+1|0:h;a:do if(h>>>0>>0){v=c[j+8>>2]|0;u=h;while(1){s=a[u>>0]|0;if(s<<24>>24<=-1)break a;t=u+1|0;if(!(b[v+(s<<24>>24<<1)>>1]&2048))break a;if(t>>>0>>0)u=t;else{u=t;break}}}else u=h;while(0);v=u;if((r|0)>0){if(u>>>0>h>>>0){t=(h-v|0)>>>0<(0-r|0)>>>0?0-r|0:h-v|0;v=y;x=u;w=r;while(1){x=x+-1|0;s=a[x>>0]|0;c[f>>2]=v+1;a[v>>0]=s;w=w+-1|0;if(!(x>>>0>h>>>0&(w|0)>0))break;v=c[f>>2]|0}u=u+t|0;if((w|0)>0){v=t+r|0;A=32}else{w=0;x=t+r|0}}else{v=r;A=32}if((A|0)==32){A=0;w=bd[c[(c[j>>2]|0)+28>>2]&63](j,48)|0;x=v}v=c[f>>2]|0;c[f>>2]=v+1;if((x|0)>0)do{a[v>>0]=w;x=x+-1|0;v=c[f>>2]|0;c[f>>2]=v+1}while((x|0)>0);a[v>>0]=m}if((u|0)==(h|0)){w=bd[c[(c[j>>2]|0)+28>>2]&63](j,48)|0;x=c[f>>2]|0;c[f>>2]=x+1;a[x>>0]=w}else{t=a[o>>0]|0;if(!(t&1))v=(t&255)>>>1;else v=c[o+4>>2]|0;if(!v){s=-1;x=0;w=0}else{s=a[((t&1)==0?o+1|0:c[o+8>>2]|0)>>0]|0;x=0;w=0}while(1){if((w|0)==(s|0)){v=c[f>>2]|0;c[f>>2]=v+1;a[v>>0]=n;x=x+1|0;v=a[o>>0]|0;if(!(v&1))t=(v&255)>>>1;else t=c[o+4>>2]|0;if(x>>>0>>0){v=a[((v&1)==0?o+1|0:c[o+8>>2]|0)+x>>0]|0;v=v<<24>>24==127?-1:v<<24>>24;w=0}else{v=s;w=0}}else v=s;u=u+-1|0;s=a[u>>0]|0;t=c[f>>2]|0;c[f>>2]=t+1;a[t>>0]=s;if((u|0)==(h|0))break;else{s=v;w=w+1|0}}}v=c[f>>2]|0;if((y|0)!=(v|0)?(v+-1|0)>>>0>y>>>0:0){u=y;t=v+-1|0;while(1){y=a[u>>0]|0;a[u>>0]=a[t>>0]|0;a[t>>0]=y;u=u+1|0;v=v+-2|0;if(u>>>0>=v>>>0)break;else{y=t;t=v;v=y}}}break}case 2:{u=a[p>>0]|0;if(!(u&1))v=(u&255)>>>1;else v=c[p+4>>2]|0;if(!((v|0)==0|(g&512|0)==0)){if(!(u&1)){w=p+1|0;x=(u&255)>>>1}else{w=c[p+8>>2]|0;x=c[p+4>>2]|0}s=w+x|0;v=c[f>>2]|0;if(x){t=v;u=w;while(1){a[t>>0]=a[u>>0]|0;u=u+1|0;if((u|0)==(s|0))break;else t=t+1|0}v=v+x|0}c[f>>2]=v}break}case 0:{c[e>>2]=c[f>>2];break}case 1:{c[e>>2]=c[f>>2];x=bd[c[(c[j>>2]|0)+28>>2]&63](j,32)|0;y=c[f>>2]|0;c[f>>2]=y+1;a[y>>0]=x;break}default:{}}z=z+1|0}while((z|0)!=4);t=a[q>>0]|0;if(!(t&1))s=(t&255)>>>1;else s=c[q+4>>2]|0;if(s>>>0>1){if(!(t&1)){v=q+1|0;t=(t&255)>>>1}else{v=c[q+8>>2]|0;t=c[q+4>>2]|0}h=v+t|0;s=c[f>>2]|0;if((t|0)!=1){u=v+1|0;t=v;while(1){a[s>>0]=a[u>>0]|0;t=t+2|0;s=s+1|0;if((t|0)==(h|0))break;else{q=u;u=t;t=q}}}c[f>>2]=s}if((g&176|0)==32)c[e>>2]=c[f>>2];else if((g&176|0)!=16)c[e>>2]=d;return}function Mza(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=i;i=i+176|0;hva(q,g);p=c[q>>2]|0;o=pAa(p,1706600)|0;d=a[j>>0]|0;if(!(d&1))k=(d&255)>>>1;else k=c[j+4>>2]|0;if(!k)n=0;else{if(!(d&1))d=j+1|0;else d=c[j+8>>2]|0;n=a[d>>0]|0;n=n<<24>>24==(bd[c[(c[o>>2]|0)+28>>2]&63](o,45)|0)<<24>>24};c[q+4>>2]=0;c[q+8>>2]=0;c[q+12>>2]=0;c[q+40>>2]=0;c[q+44>>2]=0;c[q+48>>2]=0;c[q+28>>2]=0;c[q+32>>2]=0;c[q+36>>2]=0;Kza(f,n,p,q+52|0,q+56|0,q+160|0,q+4|0,q+40|0,q+28|0,q+16|0);l=a[j>>0]|0;if(!(l&1))k=(l&255)>>>1;else k=c[j+4>>2]|0;m=c[q+16>>2]|0;if((k|0)>(m|0)){if(!(l&1))d=(l&255)>>>1;else d=c[j+4>>2]|0;k=a[q+28>>0]|0;if(!(k&1))f=(k&255)>>>1;else f=c[q+32>>2]|0;k=a[q+40>>0]|0;if(!(k&1))k=(k&255)>>>1;else k=c[q+44>>2]|0;k=f+(d-m<<1|1)+k|0}else{k=a[q+28>>0]|0;if(!(k&1))d=(k&255)>>>1;else d=c[q+32>>2]|0;k=a[q+40>>0]|0;if(!(k&1))k=(k&255)>>>1;else k=c[q+44>>2]|0;k=d+2+k|0}k=k+m|0;if(k>>>0>100){k=UFa(k)|0;if(!k)PFa();else{r=k;s=k}}else{r=0;s=q+60|0}if(!(l&1)){d=j+1|0;k=(l&255)>>>1}else{d=c[j+8>>2]|0;k=c[j+4>>2]|0}Lza(s,q+20|0,q+24|0,c[g+4>>2]|0,d,d+k|0,o,n,q+52|0,a[q+56>>0]|0,a[q+160>>0]|0,q+4|0,q+40|0,q+28|0,m);HCa(b,c[e>>2]|0,s,c[q+20>>2]|0,c[q+24>>2]|0,g,h);VFa(r);Oua(q+28|0);Oua(q+40|0);Oua(q+4|0);Dua(p);i=q;return}function Nza(a){a=a|0;return}function Oza(a){a=a|0;YEa(a);return}function Pza(b,d,e,f,g,j,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;l=+l;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;s=i;i=i+976|0;c[s+816>>2]=s+868;h[k>>3]=l;c[s>>2]=c[k>>2];c[s+4>>2]=c[k+4>>2];d=wGa(s+868|0,100,1706352,s)|0;if(d>>>0>99){d=Dwa()|0;h[k>>3]=l;c[s>>2]=c[k>>2];c[s+4>>2]=c[k+4>>2];d=ICa(s+816|0,d,1706352,s)|0;m=c[s+816>>2]|0;if(!m)PFa();n=UFa(d<<2)|0;if(!n)PFa();else{o=m;u=n;v=m;w=n;y=d}}else{o=s+868|0;u=0;v=0;w=s+416|0;y=d}hva(s+408|0,g);r=c[s+408>>2]|0;q=pAa(r,1706592)|0;ed[c[(c[q>>2]|0)+48>>2]&15](q,o,o+y|0,w)|0;if(!y)p=0;else p=(a[o>>0]|0)==45;c[s+836>>2]=0;c[s+840>>2]=0;c[s+844>>2]=0;c[s+848>>2]=0;c[s+852>>2]=0;c[s+856>>2]=0;c[s+820>>2]=0;c[s+824>>2]=0;c[s+828>>2]=0;Qza(f,p,r,s+968|0,s+400|0,s+832|0,s+836|0,s+848|0,s+820|0,s+404|0);o=c[s+404>>2]|0;if((y|0)>(o|0)){d=a[s+820>>0]|0;if(!(d&1))m=(d&255)>>>1;else m=c[s+824>>2]|0;n=a[s+848>>0]|0;if(!(n&1))n=(n&255)>>>1;else n=c[s+852>>2]|0;d=m+(y-o<<1|1)+n|0}else{m=a[s+820>>0]|0;if(!(m&1))m=(m&255)>>>1;else m=c[s+824>>2]|0;n=a[s+848>>0]|0;if(!(n&1))n=(n&255)>>>1;else n=c[s+852>>2]|0;d=m+2+n|0}m=d+o|0;if(m>>>0>100){m=UFa(m<<2)|0;if(!m)PFa();else{t=m;x=m}}else{t=0;x=s}Rza(x,s+860|0,s+864|0,c[g+4>>2]|0,w,w+(y<<2)|0,q,p,s+968|0,c[s+400>>2]|0,c[s+832>>2]|0,s+836|0,s+848|0,s+820|0,o);JCa(b,c[e>>2]|0,x,c[s+860>>2]|0,c[s+864>>2]|0,g,j);if(t)VFa(t);_ua(s+820|0);_ua(s+848|0);Oua(s+836|0);Dua(r);if(u)VFa(u);VFa(v);i=s;return}function Qza(b,d,e,f,g,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0;n=i;i=i+112|0;if(b){e=pAa(e,1706168)|0;b=c[e>>2]|0;if(d){Rc[c[b+44>>2]&63](n,e);d=c[n>>2]|0;a[f>>0]=d;a[f+1>>0]=d>>8;a[f+2>>0]=d>>16;a[f+3>>0]=d>>24;Rc[c[(c[e>>2]|0)+32>>2]&63](n+16|0,e);if(!(a[l>>0]&1))a[l>>0]=0;else c[c[l+8>>2]>>2]=0;c[l+4>>2]=0;bva(l);c[l+0>>2]=c[n+16>>2];c[l+4>>2]=c[n+20>>2];c[l+8>>2]=c[n+24>>2];c[n+16>>2]=0;c[n+20>>2]=0;c[n+24>>2]=0;_ua(n+16|0)}else{Rc[c[b+40>>2]&63](n+92|0,e);d=c[n+92>>2]|0;a[f>>0]=d;a[f+1>>0]=d>>8;a[f+2>>0]=d>>16;a[f+3>>0]=d>>24;Rc[c[(c[e>>2]|0)+28>>2]&63](n+40|0,e);if(!(a[l>>0]&1))a[l>>0]=0;else c[c[l+8>>2]>>2]=0;c[l+4>>2]=0;bva(l);c[l+0>>2]=c[n+40>>2];c[l+4>>2]=c[n+44>>2];c[l+8>>2]=c[n+48>>2];c[n+40>>2]=0;c[n+44>>2]=0;c[n+48>>2]=0;_ua(n+40|0)}c[g>>2]=Tc[c[(c[e>>2]|0)+12>>2]&127](e)|0;c[h>>2]=Tc[c[(c[e>>2]|0)+16>>2]&127](e)|0;Rc[c[(c[e>>2]|0)+20>>2]&63](n+80|0,e);if(!(a[j>>0]&1)){a[j+1>>0]=0;a[j>>0]=0}else{a[c[j+8>>2]>>0]=0;c[j+4>>2]=0}Tua(j);c[j+0>>2]=c[n+80>>2];c[j+4>>2]=c[n+84>>2];c[j+8>>2]=c[n+88>>2];c[n+80>>2]=0;c[n+84>>2]=0;c[n+88>>2]=0;Oua(n+80|0);Rc[c[(c[e>>2]|0)+24>>2]&63](n+96|0,e);if(!(a[k>>0]&1))a[k>>0]=0;else c[c[k+8>>2]>>2]=0;c[k+4>>2]=0;bva(k);c[k+0>>2]=c[n+96>>2];c[k+4>>2]=c[n+100>>2];c[k+8>>2]=c[n+104>>2];c[n+96>>2]=0;c[n+100>>2]=0;c[n+104>>2]=0;_ua(n+96|0);e=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0}else{b=pAa(e,1706104)|0;e=c[b>>2]|0;if(d){Rc[c[e+44>>2]&63](n+108|0,b);d=c[n+108>>2]|0;a[f>>0]=d;a[f+1>>0]=d>>8;a[f+2>>0]=d>>16;a[f+3>>0]=d>>24;Rc[c[(c[b>>2]|0)+32>>2]&63](n+56|0,b);if(!(a[l>>0]&1))a[l>>0]=0;else c[c[l+8>>2]>>2]=0;c[l+4>>2]=0;bva(l);c[l+0>>2]=c[n+56>>2];c[l+4>>2]=c[n+60>>2];c[l+8>>2]=c[n+64>>2];c[n+56>>2]=0;c[n+60>>2]=0;c[n+64>>2]=0;_ua(n+56|0)}else{Rc[c[e+40>>2]&63](n+52|0,b);d=c[n+52>>2]|0;a[f>>0]=d;a[f+1>>0]=d>>8;a[f+2>>0]=d>>16;a[f+3>>0]=d>>24;Rc[c[(c[b>>2]|0)+28>>2]&63](n+28|0,b);if(!(a[l>>0]&1))a[l>>0]=0;else c[c[l+8>>2]>>2]=0;c[l+4>>2]=0;bva(l);c[l+0>>2]=c[n+28>>2];c[l+4>>2]=c[n+32>>2];c[l+8>>2]=c[n+36>>2];c[n+28>>2]=0;c[n+32>>2]=0;c[n+36>>2]=0;_ua(n+28|0)}c[g>>2]=Tc[c[(c[b>>2]|0)+12>>2]&127](b)|0;c[h>>2]=Tc[c[(c[b>>2]|0)+16>>2]&127](b)|0;Rc[c[(c[b>>2]|0)+20>>2]&63](n+4|0,b);if(!(a[j>>0]&1)){a[j+1>>0]=0;a[j>>0]=0}else{a[c[j+8>>2]>>0]=0;c[j+4>>2]=0}Tua(j);c[j+0>>2]=c[n+4>>2];c[j+4>>2]=c[n+8>>2];c[j+8>>2]=c[n+12>>2];c[n+4>>2]=0;c[n+8>>2]=0;c[n+12>>2]=0;Oua(n+4|0);Rc[c[(c[b>>2]|0)+24>>2]&63](n+68|0,b);if(!(a[k>>0]&1))a[k>>0]=0;else c[c[k+8>>2]>>2]=0;c[k+4>>2]=0;bva(k);c[k+0>>2]=c[n+68>>2];c[k+4>>2]=c[n+72>>2];c[k+8>>2]=c[n+76>>2];c[n+68>>2]=0;c[n+72>>2]=0;c[n+76>>2]=0;_ua(n+68|0);e=Tc[c[(c[b>>2]|0)+36>>2]&127](b)|0}c[m>>2]=e;i=n;return}function Rza(b,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;var r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;c[e>>2]=b;z=0;do{a:do switch(a[k+z>>0]|0){case 0:{c[d>>2]=c[e>>2];break}case 1:{c[d>>2]=c[e>>2];x=bd[c[(c[i>>2]|0)+44>>2]&63](i,32)|0;y=c[e>>2]|0;c[e>>2]=y+4;c[y>>2]=x;break}case 4:{y=c[e>>2]|0;g=j?g+4|0:g;b:do if(g>>>0>>0){v=g;while(1){w=v+4|0;if(!(Vc[c[(c[i>>2]|0)+12>>2]&63](i,2048,c[v>>2]|0)|0)){w=v;break b}if(w>>>0>>0)v=w;else break}}else w=g;while(0);if((q|0)>0){if(w>>>0>g>>>0){t=c[e>>2]|0;s=q;while(1){w=w+-4|0;v=t+4|0;c[t>>2]=c[w>>2];s=s+-1|0;u=(s|0)>0;if(!(w>>>0>g>>>0&u))break;else t=v}c[e>>2]=v;if(u)A=31;else c[e>>2]=t+8}else{s=q;A=31}if((A|0)==31){A=0;t=bd[c[(c[i>>2]|0)+44>>2]&63](i,48)|0;v=c[e>>2]|0;c[e>>2]=v+4;if((s|0)>0){u=v+4|0;r=v;x=s;while(1){c[r>>2]=t;x=x+-1|0;if((x|0)<=0)break;else{B=u;u=r+8|0;r=B}}c[e>>2]=v+(s+1<<2);v=v+(s<<2)|0}}c[v>>2]=l}if((w|0)==(g|0)){u=bd[c[(c[i>>2]|0)+44>>2]&63](i,48)|0;t=c[e>>2]|0;c[e>>2]=t+4;c[t>>2]=u;v=t+4|0}else{u=a[n>>0]|0;if(!(u&1))v=(u&255)>>>1;else v=c[n+4>>2]|0;if(!v)u=-1;else u=a[((u&1)==0?n+1|0:c[n+8>>2]|0)>>0]|0;v=c[e>>2]|0;s=0;x=0;while(1){if((x|0)==(u|0)){x=v+4|0;c[e>>2]=x;c[v>>2]=m;s=s+1|0;v=a[n>>0]|0;if(!(v&1))t=(v&255)>>>1;else t=c[n+4>>2]|0;if(s>>>0>>0){r=a[((v&1)==0?n+1|0:c[n+8>>2]|0)+s>>0]|0;t=x;r=r<<24>>24==127?-1:r<<24>>24;x=0}else{t=x;r=u;x=0}}else{t=v;r=u}w=w+-4|0;u=c[w>>2]|0;v=t+4|0;c[e>>2]=v;c[t>>2]=u;if((w|0)==(g|0))break;else{u=r;x=x+1|0}}}if((y|0)!=(v|0)&t>>>0>y>>>0){w=y;while(1){B=c[w>>2]|0;c[w>>2]=u;c[t>>2]=B;w=w+4|0;v=v+-8|0;if(w>>>0>=v>>>0)break a;B=t;u=c[v>>2]|0;t=v;v=B}}break}case 3:{w=a[p>>0]|0;if(!(w&1))v=(w&255)>>>1;else v=c[p+4>>2]|0;if(v){y=c[((w&1)==0?p+4|0:c[p+8>>2]|0)>>2]|0;B=c[e>>2]|0;c[e>>2]=B+4;c[B>>2]=y}break}case 2:{v=a[o>>0]|0;if(!(v&1))w=(v&255)>>>1;else w=c[o+4>>2]|0;if(!((w|0)==0|(f&512|0)==0)){if(!(v&1)){r=o+4|0;v=(v&255)>>>1}else{r=c[o+8>>2]|0;v=c[o+4>>2]|0}s=r+(v<<2)|0;w=c[e>>2]|0;if(v){t=(v<<2)+-4|0;u=w;v=r;while(1){c[u>>2]=c[v>>2];v=v+4|0;if((v|0)==(s|0))break;else u=u+4|0}w=w+((t>>>2)+1<<2)|0}c[e>>2]=w}break}default:{}}while(0);z=z+1|0}while((z|0)!=4);s=a[p>>0]|0;if(!(s&1))r=(s&255)>>>1;else r=c[p+4>>2]|0;if(r>>>0>1){if(!(s&1)){w=p+4|0;s=(s&255)>>>1}else{w=c[p+8>>2]|0;s=c[p+4>>2]|0}g=w+(s<<2)|0;r=c[e>>2]|0;if((s|0)!=1){u=(s<<2)+-8|0;t=r;v=w+4|0;s=w;while(1){c[t>>2]=c[v>>2];s=s+8|0;if((s|0)==(g|0))break;else{B=v;t=t+4|0;v=s;s=B}}r=r+((u>>>2)+1<<2)|0}c[e>>2]=r}if((f&176|0)==32)c[d>>2]=c[e>>2];else if((f&176|0)!=16)c[d>>2]=b;return}function Sza(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=i;i=i+480|0;hva(q,g);p=c[q>>2]|0;o=pAa(p,1706592)|0;d=a[j>>0]|0;if(!(d&1))k=(d&255)>>>1;else k=c[j+4>>2]|0;if(!k)n=0;else{if(!(d&1))d=j+4|0;else d=c[j+8>>2]|0;n=c[d>>2]|0;n=(n|0)==(bd[c[(c[o>>2]|0)+44>>2]&63](o,45)|0)};c[q+440>>2]=0;c[q+444>>2]=0;c[q+448>>2]=0;c[q+452>>2]=0;c[q+456>>2]=0;c[q+460>>2]=0;c[q+12>>2]=0;c[q+16>>2]=0;c[q+20>>2]=0;Qza(f,n,p,q+464|0,q+4|0,q+8|0,q+440|0,q+452|0,q+12|0,q+432|0);l=a[j>>0]|0;if(!(l&1))k=(l&255)>>>1;else k=c[j+4>>2]|0;m=c[q+432>>2]|0;if((k|0)>(m|0)){if(!(l&1))d=(l&255)>>>1;else d=c[j+4>>2]|0;k=a[q+12>>0]|0;if(!(k&1))f=(k&255)>>>1;else f=c[q+16>>2]|0;k=a[q+452>>0]|0;if(!(k&1))k=(k&255)>>>1;else k=c[q+456>>2]|0;k=f+(d-m<<1|1)+k|0}else{k=a[q+12>>0]|0;if(!(k&1))d=(k&255)>>>1;else d=c[q+16>>2]|0;k=a[q+452>>0]|0;if(!(k&1))k=(k&255)>>>1;else k=c[q+456>>2]|0;k=d+2+k|0}k=k+m|0;if(k>>>0>100){k=UFa(k<<2)|0;if(!k)PFa();else{r=k;s=k}}else{r=0;s=q+32|0}if(!(l&1)){d=j+4|0;k=(l&255)>>>1}else{d=c[j+8>>2]|0;k=c[j+4>>2]|0}Rza(s,q+436|0,q+24|0,c[g+4>>2]|0,d,d+(k<<2)|0,o,n,q+464|0,c[q+4>>2]|0,c[q+8>>2]|0,q+440|0,q+452|0,q+12|0,m);JCa(b,c[e>>2]|0,s,c[q+436>>2]|0,c[q+24>>2]|0,g,h);if(r)VFa(r);_ua(q+12|0);_ua(q+452|0);Oua(q+440|0);Dua(p);i=q;return}function Tza(a){a=a|0;return}function Uza(a){a=a|0;YEa(a);return}function Vza(b,d,e){b=b|0;d=d|0;e=e|0;if(!(a[d>>0]&1))e=d+1|0;else e=c[d+8>>2]|0;b=Bb(e|0,1)|0;return b>>>((b|0)!=(-1|0)&1)|0}function Wza(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0;l=i;i=i+16|0;c[l+0>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;j=a[h>>0]|0;if(!(j&1)){d=h+1|0;j=(j&255)>>>1}else{d=c[h+8>>2]|0;j=c[h+4>>2]|0}j=d+j|0;if(d>>>0>>0){do{Uua(l,a[d>>0]|0);d=d+1|0}while((d|0)!=(j|0));d=(e|0)==-1?-1:e<<1;if(!(a[l>>0]&1))k=9;else j=c[l+8>>2]|0}else{d=(e|0)==-1?-1:e<<1;k=9}if((k|0)==9)j=l+1|0;j=sc(d|0,f|0,g|0,j|0)|0;c[b+0>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;d=SGa(j|0)|0;if((d|0)>0){h=j;do{Uua(b,a[h>>0]|0);h=h+1|0}while((h|0)!=(j+d|0))}Oua(l);i=l;return}function Xza(a,b){a=a|0;b=b|0;ab(((b|0)==-1?-1:b<<1)|0)|0;return}function Yza(a){a=a|0;return}function Zza(a){a=a|0;YEa(a);return}function _za(b,d,e){b=b|0;d=d|0;e=e|0;if(!(a[d>>0]&1))e=d+1|0;else e=c[d+8>>2]|0;b=Bb(e|0,1)|0;return b>>>((b|0)!=(-1|0)&1)|0}function $za(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0;m=i;i=i+176|0;c[m+8>>2]=0;c[m+12>>2]=0;c[m+16>>2]=0;c[m+4>>2]=0;c[m>>2]=1708256;d=a[h>>0]|0;if(!(d&1)){k=h+4|0;d=(d&255)>>>1}else{k=c[h+8>>2]|0;d=c[h+4>>2]|0}h=k+(d<<2)|0;do if(k>>>0>>0){d=k;j=1708256|0;while(1){c[m+172>>2]=d;k=(hd[c[j+12>>2]&15](m,m+24|0,d,h,m+172|0,m+40|0,m+72|0,m+168|0)|0)==2;j=c[m+172>>2]|0;if(k|(j|0)==(d|0)){d=8;break}if((m+40|0)>>>0<(c[m+168>>2]|0)>>>0){d=m+40|0;do{Uua(m+8|0,a[d>>0]|0);d=d+1|0}while(d>>>0<(c[m+168>>2]|0)>>>0);d=c[m+172>>2]|0}else d=j;if(d>>>0>=h>>>0){d=13;break}j=c[m>>2]|0}if((d|0)==8)xza(1707480);else if((d|0)==13){l=(a[m+8>>0]&1)==0;break}}else l=1;while(0);if(l)j=m+9|0;else j=c[m+16>>2]|0;k=sc(((e|0)==-1?-1:e<<1)|0,f|0,g|0,j|0)|0;c[b+0>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[m+36>>2]=0;c[m+32>>2]=1708360;h=SGa(k|0)|0;a:do if((h|0)>0){j=k;d=1708360|0;while(1){c[m+172>>2]=j;f=(hd[c[d+16>>2]&15](m+32|0,m+24|0,j,(k+h-j|0)>32?j+32|0:k+h|0,m+172|0,m+40|0,m+168|0,m+168|0)|0)==2;d=c[m+172>>2]|0;if(f|(d|0)==(j|0))break;if((m+40|0)>>>0<(c[m+168>>2]|0)>>>0){j=m+40|0;do{cva(b,c[j>>2]|0);j=j+4|0}while(j>>>0<(c[m+168>>2]|0)>>>0);j=c[m+172>>2]|0}else j=d;if(j>>>0>=(k+h|0)>>>0)break a;d=c[m+32>>2]|0}xza(1707480)}while(0);Oua(m+8|0);i=m;return}function aAa(a,b){a=a|0;b=b|0;ab(((b|0)==-1?-1:b<<1)|0)|0;return}function bAa(){var a=0;a=Kb(8)|0;Eua(a,1706480);c[a>>2]=1715096;Gc(a|0,1715136,208)}function cAa(b,d){b=b|0;d=d|0;var e=0;c[b+4>>2]=d+-1;c[b>>2]=1706520;RCa(b+8|0,28);Kua(b+144|0,1706504,1);d=c[b+8>>2]|0;e=c[b+12>>2]|0;if((e|0)!=(d|0))c[b+12>>2]=e+(~((e+-4-d|0)>>>2)<<2);c[427853]=0;c[427852]=1704976;SCa(b);c[427851]=0;c[427850]=1705016;TCa(b);c[427847]=0;c[427846]=1706616;c[427848]=0;a[1711396]=0;c[427848]=vAa()|0;UCa(b);c[427845]=0;c[427844]=1707576;VCa(b);c[427843]=0;c[427842]=1707792;WCa(b);$Aa(1711352,1);XCa(b);c[427837]=0;c[427836]=1708016;YCa(b);c[427835]=0;c[427834]=1708136;ZCa(b);c[427829]=0;c[427828]=1706768;a[1711320]=46;a[1711321]=44;c[427831]=0;c[427832]=0;c[427833]=0;_Ca(b);c[427821]=0;c[427820]=1706808;c[427822]=46;c[427823]=44;c[427824]=0;c[427825]=0;c[427826]=0;$Ca(b);c[427819]=0;c[427818]=1705056;aDa(b);c[427817]=0;c[427816]=1705176;bDa(b);c[427815]=0;c[427814]=1705248;cDa(b);c[427813]=0;c[427812]=1705336;dDa(b);c[427811]=0;c[427810]=1705928;eDa(b);c[427809]=0;c[427808]=1705992;fDa(b);c[427807]=0;c[427806]=1706056;gDa(b);c[427805]=0;c[427804]=1706120;hDa(b);c[427803]=0;c[427802]=1706184;iDa(b);c[427801]=0;c[427800]=1706264;jDa(b);c[427799]=0;c[427798]=1706320;kDa(b);c[427797]=0;c[427796]=1706368;lDa(b);c[427793]=0;c[427792]=1705416;c[427794]=1705464;mDa(b);c[427789]=0;c[427788]=1705568;c[427790]=1705616;nDa(b);c[427785]=0;c[427784]=1707512;c[427786]=Dwa()|0;c[427784]=1705864;oDa(b);c[427781]=0;c[427780]=1707512;c[427782]=Dwa()|0;c[427780]=1705896;pDa(b);c[427779]=0;c[427778]=1706408;qDa(b);c[427777]=0;c[427776]=1706448;rDa(b);return}function dAa(){if((a[1706552]|0)==0?(Ia(1706552)|0)!=0:0){iAa();c[426636]=1706536;ib(1706552)}return c[426636]|0}function eAa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;Cua(b);e=c[a+8>>2]|0;if((c[a+12>>2]|0)-e>>2>>>0<=d>>>0){tDa(a+8|0,d+1|0);e=c[a+8>>2]|0}f=c[e+(d<<2)>>2]|0;if(f){Dua(f);e=c[a+8>>2]|0}c[e+(d<<2)>>2]=b;return}function fAa(a){a=a|0;var b=0,d=0,e=0,f=0;c[a>>2]=1706520;b=c[a+12>>2]|0;d=c[a+8>>2]|0;if((b|0)!=(d|0)){f=0;do{e=c[d+(f<<2)>>2]|0;if(e){Dua(e);b=c[a+12>>2]|0;d=c[a+8>>2]|0}f=f+1|0}while(f>>>0>2>>>0)}Oua(a+144|0);sDa(a+8|0);return}function gAa(a){a=a|0;fAa(a);YEa(a);return}function hAa(a,b,d){a=a|0;b=b|0;d=d|0;if(uDa(a,b,d)|0)return c[a+(d<<2)>>2]|0;else{b=Kb(4)|0;nFa(b);Gc(b|0,1715336,214)}return 0}function iAa(){cAa(1710944,1);c[426634]=1710944;return}function jAa(){var a=0;a=c[(dAa()|0)>>2]|0;c[426640]=a;Cua(a);return}function kAa(){if((a[1706576]|0)==0?(Ia(1706576)|0)!=0:0){jAa();c[426642]=1706560;ib(1706576)}return c[426642]|0}function lAa(a){a=a|0;var b=0;b=c[(kAa()|0)>>2]|0;c[a>>2]=b;Cua(b);return}function mAa(a,b){a=a|0;b=b|0;c[a>>2]=b;Cua(b);return}function nAa(a){a=a|0;Dua(a);return}function oAa(a){a=a|0;var b=0;b=i;i=i+16|0;if((c[a>>2]|0)!=-1){c[b>>2]=a;c[b+4>>2]=255;c[b+8>>2]=0;Hua(a,b)}i=b;return (c[a+4>>2]|0)+-1|0}function pAa(a,b){a=a|0;b=b|0;b=oAa(b)|0;return hAa(c[a+8>>2]|0,c[a+12>>2]|0,b)|0}function qAa(a){a=a|0;YEa(a);return}function rAa(a){a=a|0;if(a)Qc[c[(c[a>>2]|0)+4>>2]&511](a);return}function sAa(a){a=a|0;var b=0;b=c[426646]|0;c[426646]=b+1;c[a+4>>2]=b+1;return}function tAa(a){a=a|0;YEa(a);return}function uAa(a,c,d){a=a|0;c=c|0;d=d|0;if(d>>>0<128)d=(b[(vAa()|0)+(d<<1)>>1]&c)<<16>>16!=0;else d=0;return d|0}function vAa(){return c[(Gb()|0)>>2]|0}function wAa(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0;if((d|0)!=(e|0)){g=d;while(1){a=c[g>>2]|0;if(a>>>0<128)a=b[(vAa()|0)+(a<<1)>>1]|0;else a=0;b[f>>1]=a;g=g+4|0;if((g|0)==(e|0))break;else f=f+2|0}d=d+(((e+-4-d|0)>>>2)+1<<2)|0}return d|0}function xAa(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;a:do if((e|0)==(f|0))f=e;else do{a=c[e>>2]|0;if(a>>>0<128?(b[(vAa()|0)+(a<<1)>>1]&d)<<16>>16!=0:0){f=e;break a}e=e+4|0}while((e|0)!=(f|0));while(0);return f|0}function yAa(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;a:do if((e|0)==(f|0))f=e;else do{a=c[e>>2]|0;if(a>>>0>=128){f=e;break a}if(!((b[(vAa()|0)+(a<<1)>>1]&d)<<16>>16)){f=e;break a}e=e+4|0}while((e|0)!=(f|0));while(0);return f|0}function zAa(a,b){a=a|0;b=b|0;if(b>>>0<128)b=c[(AAa()|0)+(b<<2)>>2]|0;return b|0}function AAa(){return c[(La()|0)>>2]|0}function BAa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if((b|0)!=(d|0)){e=b;do{a=c[e>>2]|0;if(a>>>0<128)a=c[(AAa()|0)+(a<<2)>>2]|0;c[e>>2]=a;e=e+4|0}while((e|0)!=(d|0));b=b+(((d+-4-b|0)>>>2)+1<<2)|0}return b|0}function CAa(a,b){a=a|0;b=b|0;if(b>>>0<128)b=c[(DAa()|0)+(b<<2)>>2]|0;return b|0}function DAa(){return c[(ob()|0)>>2]|0}function EAa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if((b|0)!=(d|0)){e=b;do{a=c[e>>2]|0;if(a>>>0<128)a=c[(DAa()|0)+(a<<2)>>2]|0;c[e>>2]=a;e=e+4|0}while((e|0)!=(d|0));b=b+(((d+-4-b|0)>>>2)+1<<2)|0}return b|0}function FAa(a,b){a=a|0;b=b|0;return b<<24>>24|0}function GAa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;if((d|0)==(e|0))e=d;else while(1){c[f>>2]=a[d>>0];d=d+1|0;if((d|0)==(e|0))break;else f=f+4|0}return e|0}function HAa(a,b,c){a=a|0;b=b|0;c=c|0;return (b>>>0<128?b&255:c)|0}function IAa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;if((d|0)!=(e|0)){b=d;while(1){h=c[b>>2]|0;a[g>>0]=h>>>0<128?h&255:f;b=b+4|0;if((b|0)==(e|0))break;else g=g+1|0}d=d+(((e+-4-d|0)>>>2)+1<<2)|0}return d|0}function JAa(b){b=b|0;var d=0;c[b>>2]=1706616;d=c[b+8>>2]|0;if((d|0)!=0?(a[b+12>>0]|0)!=0:0)ZEa(d);return}function KAa(a){a=a|0;JAa(a);YEa(a);return}function LAa(a,b){a=a|0;b=b|0;if(b<<24>>24>-1)b=c[(AAa()|0)+((b&255)<<2)>>2]&255;return b|0}function MAa(b,d,e){b=b|0;d=d|0;e=e|0;if((d|0)==(e|0))e=d;else{b=d;do{d=a[b>>0]|0;if(d<<24>>24>-1)d=c[(AAa()|0)+(d<<24>>24<<2)>>2]&255;a[b>>0]=d;b=b+1|0}while((b|0)!=(e|0))}return e|0}function NAa(a,b){a=a|0;b=b|0;if(b<<24>>24>-1)b=c[(DAa()|0)+(b<<24>>24<<2)>>2]&255;return b|0}function OAa(b,d,e){b=b|0;d=d|0;e=e|0;if((d|0)==(e|0))e=d;else{b=d;do{d=a[b>>0]|0;if(d<<24>>24>-1)d=c[(DAa()|0)+(d<<24>>24<<2)>>2]&255;a[b>>0]=d;b=b+1|0}while((b|0)!=(e|0))}return e|0}function PAa(a,b){a=a|0;b=b|0;return b|0}function QAa(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;if((c|0)==(d|0))d=c;else while(1){a[e>>0]=a[c>>0]|0;c=c+1|0;if((c|0)==(d|0))break;else e=e+1|0}return d|0}function RAa(a,b,c){a=a|0;b=b|0;c=c|0;return (b<<24>>24>-1?b:c)|0}function SAa(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if((c|0)==(d|0))d=c;else while(1){b=a[c>>0]|0;a[f>>0]=b<<24>>24>-1?b:e;c=c+1|0;if((c|0)==(d|0))break;else f=f+1|0}return d|0}function TAa(a){a=a|0;YEa(a);return}function UAa(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;c[f>>2]=d;c[i>>2]=g;return 3}function VAa(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;c[f>>2]=d;c[i>>2]=g;return 3}function WAa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[f>>2]=d;return 3}function XAa(a){a=a|0;return 1}function YAa(a){a=a|0;return 1}function ZAa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ((d-c|0)>>>0>>0?d-c|0:e)|0}function _Aa(a){a=a|0;return 1}function $Aa(a,b){a=a|0;b=b|0;c[a+4>>2]=b+-1;c[a>>2]=1706688;c[a+8>>2]=Dwa()|0;return}function aBa(a){a=a|0;bCa(a);YEa(a);return}function bBa(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0;n=i;i=i+16|0;a:do if((e|0)!=(f|0)){d=e;while(1){if(!(c[d>>2]|0))break;d=d+4|0;if((d|0)==(f|0)){d=f;break}}c[k>>2]=h;c[g>>2]=e;if((h|0)==(j|0))o=32;else{while(1){l=Tb(c[b+8>>2]|0)|0;m=wEa(h,g,d-e>>2,j-h|0)|0;if(l)Tb(l|0)|0;if((m|0)==-1)break;else if(!m){e=1;break a}h=(c[k>>2]|0)+m|0;c[k>>2]=h;if((h|0)==(j|0)){o=31;break}if((d|0)==(f|0)){e=c[g>>2]|0;d=f}else{d=Tb(c[b+8>>2]|0)|0;h=pGa(n,0)|0;if(d)Tb(d|0)|0;if((h|0)==-1){e=2;break a}d=c[k>>2]|0;if(h>>>0>(j-d|0)>>>0){e=1;break a}b:do if(h){e=n;while(1){m=a[e>>0]|0;c[k>>2]=d+1;a[d>>0]=m;h=h+-1|0;if(!h)break b;d=c[k>>2]|0;e=e+1|0}}while(0);m=c[g>>2]|0;c[g>>2]=m+4;c:do if((m+4|0)==(f|0))d=f;else{d=m;h=m+4|0;while(1){d=d+8|0;if(!(c[h>>2]|0)){d=h;break c}if((d|0)==(f|0)){d=f;break}else{l=h;h=d;d=l}}}while(0);e=m+4|0;h=c[k>>2]|0}if((e|0)==(f|0)|(h|0)==(j|0)){o=32;break a}}if((o|0)==31){e=c[g>>2]|0;o=32;break}c[k>>2]=h;d:do if((e|0)!=(c[g>>2]|0))do{f=c[e>>2]|0;d=Tb(c[b+8>>2]|0)|0;h=pGa(h,f)|0;if(d)Tb(d|0)|0;if((h|0)==-1)break d;h=(c[k>>2]|0)+h|0;c[k>>2]=h;e=e+4|0}while((e|0)!=(c[g>>2]|0));while(0);c[g>>2]=e;e=2}}else{c[k>>2]=h;c[g>>2]=e;o=32}while(0);if((o|0)==32)e=(e|0)!=(f|0)&1;i=n;return e|0}function cBa(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;a:do if((e|0)!=(f|0)){l=e;while(1){if(!(a[l>>0]|0))break;l=l+1|0;if((l|0)==(f|0)){l=f;break}}c[k>>2]=h;c[g>>2]=e;if((h|0)==(j|0))p=31;else{while(1){o=c[d+4>>2]|0;c[q>>2]=c[d>>2];c[q+4>>2]=o;o=l;m=Tb(c[b+8>>2]|0)|0;n=tEa(h,g,o-e|0,j-h>>2,d)|0;if(m)Tb(m|0)|0;if((n|0)==-1)break;else if(!n){e=2;break a}h=(c[k>>2]|0)+(n<<2)|0;c[k>>2]=h;if((h|0)==(j|0)){p=30;break}e=c[g>>2]|0;if((l|0)==(f|0))l=f;else{l=Tb(c[b+8>>2]|0)|0;h=rEa(h,e,1,d)|0;if(l)Tb(l|0)|0;if(h){e=2;break a}c[k>>2]=(c[k>>2]|0)+4;e=c[g>>2]|0;c[g>>2]=e+1;b:do if((e+1|0)==(f|0))l=f;else{l=e;h=e+1|0;while(1){l=l+2|0;if(!(a[h>>0]|0)){l=h;break b}if((l|0)==(f|0)){l=f;break}else{o=h;h=l;l=o}}}while(0);e=e+1|0;h=c[k>>2]|0}if((e|0)==(f|0)|(h|0)==(j|0)){p=31;break a}}if((p|0)==30){e=c[g>>2]|0;p=31;break}c[k>>2]=h;c:do if((e|0)!=(c[g>>2]|0)){while(1){l=Tb(c[b+8>>2]|0)|0;h=rEa(h,e,o-e|0,q)|0;if(l)Tb(l|0)|0;if(!h)e=e+1|0;else if((h|0)==-2){p=16;break}else if((h|0)==-1){p=15;break}else e=e+h|0;h=(c[k>>2]|0)+4|0;c[k>>2]=h;if((e|0)==(c[g>>2]|0))break c}if((p|0)==15){c[g>>2]=e;e=2;break a}else if((p|0)==16){c[g>>2]=e;e=1;break a}}while(0);c[g>>2]=e;e=(e|0)!=(f|0)&1}}else{c[k>>2]=h;c[g>>2]=e;p=31}while(0);if((p|0)==31)e=(e|0)!=(f|0)&1;i=q;return e|0}function dBa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[g>>2]=e;d=Tb(c[b+8>>2]|0)|0;b=pGa(h,0)|0;if(d)Tb(d|0)|0;a:do if(!((b|0)==0|(b|0)==-1)){d=c[g>>2]|0;if((b+-1|0)>>>0<=(f-d|0)>>>0)if(!(b+-1|0))d=0;else{e=d;d=b+-1|0;b=h;while(1){f=a[b>>0]|0;c[g>>2]=e+1;a[e>>0]=f;d=d+-1|0;if(!d){d=0;break a}e=c[g>>2]|0;b=b+1|0}}else d=1}else d=2;while(0);i=h;return d|0}function eBa(a){a=a|0;var b=0,d=0;b=Tb(c[a+8>>2]|0)|0;d=vEa(0,0,4)|0;if(b)Tb(b|0)|0;if(!d){b=c[a+8>>2]|0;if(b){b=Tb(b|0)|0;if(!b)b=0;else{Tb(b|0)|0;b=0}}else b=1}else b=-1;return b|0}function fBa(a){a=a|0;return 0}function gBa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;a:do if((f|0)==0|(d|0)==(e|0))d=0;else{i=d;d=0;j=0;do{h=Tb(c[a+8>>2]|0)|0;g=qEa(i,e-i|0,b)|0;if(h)Tb(h|0)|0;if((g|0)==-2|(g|0)==-1)break a;else if(!g){i=i+1|0;g=1}else i=i+g|0;d=g+d|0;j=j+1|0}while(!(j>>>0>=f>>>0|(i|0)==(e|0)))}while(0);return d|0}function hBa(a){a=a|0;a=c[a+8>>2]|0;if(a){a=Tb(a|0)|0;if(!a)a=4;else{Tb(a|0)|0;a=4}}else a=1;return a|0}function iBa(a){a=a|0;YEa(a);return}function jBa(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;a=i;i=i+16|0;c[a+4>>2]=d;c[a>>2]=g;h=wDa(d,e,a+4|0,g,h,a,1114111,0)|0;c[f>>2]=d+((c[a+4>>2]|0)-d>>1<<1);c[j>>2]=g+((c[a>>2]|0)-g);i=a;return h|0}function kBa(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;a=i;i=i+16|0;c[a+4>>2]=d;c[a>>2]=g;h=xDa(d,e,a+4|0,g,h,a,1114111,0)|0;c[f>>2]=d+((c[a+4>>2]|0)-d);c[j>>2]=g+((c[a>>2]|0)-g>>1<<1);i=a;return h|0}function lBa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[f>>2]=d;return 3}function mBa(a){a=a|0;return 0}function nBa(a){a=a|0;return 0}function oBa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return yDa(c,d,e,1114111,0)|0}function pBa(a){a=a|0;return 4}function qBa(a){a=a|0;YEa(a);return}function rBa(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;a=i;i=i+16|0;c[a+4>>2]=d;c[a>>2]=g;h=zDa(d,e,a+4|0,g,h,a,1114111,0)|0;c[f>>2]=d+((c[a+4>>2]|0)-d>>2<<2);c[j>>2]=g+((c[a>>2]|0)-g);i=a;return h|0}function sBa(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;a=i;i=i+16|0;c[a+4>>2]=d;c[a>>2]=g;h=ADa(d,e,a+4|0,g,h,a,1114111,0)|0;c[f>>2]=d+((c[a+4>>2]|0)-d);c[j>>2]=g+((c[a>>2]|0)-g>>2<<2);i=a;return h|0}function tBa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[f>>2]=d;return 3}function uBa(a){a=a|0;return 0}function vBa(a){a=a|0;return 0}function wBa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return BDa(c,d,e,1114111,0)|0}function xBa(a){a=a|0;return 4}function yBa(a){a=a|0;YEa(a);return}function zBa(a){a=a|0;YEa(a);return}function ABa(a){a=a|0;c[a>>2]=1706768;Oua(a+12|0);return}function BBa(a){a=a|0;ABa(a);YEa(a);return}function CBa(a){a=a|0;c[a>>2]=1706808;Oua(a+16|0);return}function DBa(a){a=a|0;CBa(a);YEa(a);return}function EBa(b){b=b|0;return a[b+8>>0]|0}function FBa(a){a=a|0;return c[a+8>>2]|0}function GBa(b){b=b|0;return a[b+9>>0]|0}function HBa(a){a=a|0;return c[a+12>>2]|0}function IBa(a,b){a=a|0;b=b|0;Lua(a,b+12|0);return}function JBa(a,b){a=a|0;b=b|0;Lua(a,b+16|0);return}function KBa(a,b){a=a|0;b=b|0;Kua(a,1706840,4);return}function LBa(a,b){a=a|0;b=b|0;Xua(a,1706848,OEa(1706848)|0);return}function MBa(a,b){a=a|0;b=b|0;Kua(a,1706872,5);return}function NBa(a,b){a=a|0;b=b|0;Xua(a,1706880,OEa(1706880)|0);return}function OBa(a){a=a|0;if((a&74|0)==8)a=16;else if((a&74|0)==64)a=8;else if(!(a&74))a=0;else a=10;return a|0}function PBa(b){b=b|0;if((a[1706912]|0)==0?(Ia(1706912)|0)!=0:0){if((a[1714112]|0)==0?(Ia(1714112)|0)!=0:0){YGa(1713944,0,168)|0;ib(1714112)}Pua(1713944,1714120);Pua(1713956,1714128);Pua(1713968,1714136);Pua(1713980,1714144);Pua(1713992,1714160);Pua(1714004,1714176);Pua(1714016,1714184);Pua(1714028,1714200);Pua(1714040,1714208);Pua(1714052,1714216);Pua(1714064,1714224);Pua(1714076,1714232);Pua(1714088,1714240);Pua(1714100,1714248);c[426726]=1713944;ib(1706912)}return c[426726]|0}function QBa(b){b=b|0;if((a[1706928]|0)==0?(Ia(1706928)|0)!=0:0){if((a[1713576]|0)==0?(Ia(1713576)|0)!=0:0){YGa(1713408,0,168)|0;ib(1713576)}$ua(1713408,1713584);$ua(1713420,1713616);$ua(1713432,1713648);$ua(1713444,1713680);$ua(1713456,1713720);$ua(1713468,1713760);$ua(1713480,1713792);$ua(1713492,1713832);$ua(1713504,1713848);$ua(1713516,1713864);$ua(1713528,1713880);$ua(1713540,1713896);$ua(1713552,1713912);$ua(1713564,1713928);c[426730]=1713408;ib(1706928)}return c[426730]|0}function RBa(b){b=b|0;if((a[1706944]|0)==0?(Ia(1706944)|0)!=0:0){if((a[1713184]|0)==0?(Ia(1713184)|0)!=0:0){YGa(1712896,0,288)|0;ib(1713184)}Pua(1712896,1713192);Pua(1712908,1713200);Pua(1712920,1713216);Pua(1712932,1713224);Pua(1712944,1713232);Pua(1712956,1713240);Pua(1712968,1713248);Pua(1712980,1713256);Pua(1712992,1713264);Pua(1713004,1713280);Pua(1713016,1713288);Pua(1713028,1713304);Pua(1713040,1713320);Pua(1713052,1713328);Pua(1713064,1713336);Pua(1713076,1713344);Pua(1713088,1713232);Pua(1713100,1713352);Pua(1713112,1713360);Pua(1713124,1713368);Pua(1713136,1713376);Pua(1713148,1713384);Pua(1713160,1713392);Pua(1713172,1713400);c[426734]=1712896;ib(1706944)}return c[426734]|0}function SBa(b){b=b|0;if((a[1706960]|0)==0?(Ia(1706960)|0)!=0:0){if((a[1712344]|0)==0?(Ia(1712344)|0)!=0:0){YGa(1712056,0,288)|0;ib(1712344)}$ua(1712056,1712352);$ua(1712068,1712384);$ua(1712080,1712424);$ua(1712092,1712448);$ua(1712104,1712472);$ua(1712116,1712488);$ua(1712128,1712512);$ua(1712140,1712536);$ua(1712152,1712568);$ua(1712164,1712608);$ua(1712176,1712640);$ua(1712188,1712680);$ua(1712200,1712720);$ua(1712212,1712736);$ua(1712224,1712752);$ua(1712236,1712768);$ua(1712248,1712472);$ua(1712260,1712784);$ua(1712272,1712800);$ua(1712284,1712816);$ua(1712296,1712832);$ua(1712308,1712848);$ua(1712320,1712864);$ua(1712332,1712880);c[426738]=1712056;ib(1706960)}return c[426738]|0}function TBa(b){b=b|0;if((a[1706976]|0)==0?(Ia(1706976)|0)!=0:0){if((a[1712032]|0)==0?(Ia(1712032)|0)!=0:0){YGa(1711744,0,288)|0;ib(1712032)}Pua(1711744,1712040);Pua(1711756,1712048);c[426742]=1711744;ib(1706976)}return c[426742]|0}function UBa(b){b=b|0;if((a[1706992]|0)==0?(Ia(1706992)|0)!=0:0){if((a[1711704]|0)==0?(Ia(1711704)|0)!=0:0){YGa(1711416,0,288)|0;ib(1711704)}$ua(1711416,1711712);$ua(1711428,1711728);c[426746]=1711416;ib(1706992)}return c[426746]|0}function VBa(b){b=b|0;if((a[1707016]|0)==0?(Ia(1707016)|0)!=0:0){Kua(1707e3,1707024,8);ib(1707016)}return 1707e3}function WBa(b){b=b|0;if((a[1707056]|0)==0?(Ia(1707056)|0)!=0:0){Xua(1707040,1707064,OEa(1707064)|0);ib(1707056)}return 1707040}function XBa(b){b=b|0;if((a[1707120]|0)==0?(Ia(1707120)|0)!=0:0){Kua(1707104,1707128,8);ib(1707120)}return 1707104}function YBa(b){b=b|0;if((a[1707160]|0)==0?(Ia(1707160)|0)!=0:0){Xua(1707144,1707168,OEa(1707168)|0);ib(1707160)}return 1707144}function ZBa(b){b=b|0;if((a[1707224]|0)==0?(Ia(1707224)|0)!=0:0){Kua(1707208,1707232,20);ib(1707224)}return 1707208}function _Ba(b){b=b|0;if((a[1707272]|0)==0?(Ia(1707272)|0)!=0:0){Xua(1707256,1707280,OEa(1707280)|0);ib(1707272)}return 1707256}function $Ba(b){b=b|0;if((a[1707384]|0)==0?(Ia(1707384)|0)!=0:0){Kua(1707368,1707392,11);ib(1707384)}return 1707368}function aCa(b){b=b|0;if((a[1707424]|0)==0?(Ia(1707424)|0)!=0:0){Xua(1707408,1707432,OEa(1707432)|0);ib(1707424)}return 1707408}function bCa(a){a=a|0;var b=0;c[a>>2]=1706688;b=c[a+8>>2]|0;if((b|0)!=(Dwa()|0))rb(c[a+8>>2]|0);return}function cCa(){Bua();return}function dCa(b){b=b|0;var d=0;d=i;i=i+16|0;mva(1702728);c[425682]=1703456;c[425690]=b;c[425692]=1702784;c[425694]=-1;a[1702780]=0;mAa(d,c[425683]|0);SDa(1702728,d);nAa(c[d>>2]|0);i=d;return}function eCa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;mva(b);c[b>>2]=1703344;c[b+32>>2]=d;mAa(f,c[b+4>>2]|0);g=c[f>>2]|0;d=pAa(g,1706664)|0;nAa(g);c[b+36>>2]=d;c[b+40>>2]=e;a[b+44>>0]=(Tc[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;i=f;return}function fCa(b){b=b|0;var d=0;d=i;i=i+16|0;Cva(1702928);c[425732]=1703200;c[425740]=b;c[425742]=1702808;c[425744]=-1;a[1702980]=0;mAa(d,c[425733]|0);IDa(1702928,d);nAa(c[d>>2]|0);i=d;return}function gCa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;Cva(b);c[b>>2]=1703088;c[b+32>>2]=d;mAa(f,c[b+4>>2]|0);g=c[f>>2]|0;d=pAa(g,1706672)|0;nAa(g);c[b+36>>2]=d;c[b+40>>2]=e;a[b+44>>0]=(Tc[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;i=f;return}function hCa(a,b){a=a|0;b=b|0;var d=0,e=0;e=SGa(b|0)|0;d=WEa(e+13|0)|0;c[d>>2]=e;c[d+4>>2]=e;c[d+8>>2]=0;VGa(d+12|0,b|0,e+1|0)|0;c[a>>2]=d+12;return}function iCa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=a;b=b-a>>2;a:while(1){while(1){if(!b)break a;a=(b|0)/2|0;if((c[e+(a<<2)>>2]|0)>>>0>>0)break;else b=a}e=e+(a+1<<2)|0;b=b+-1-a|0}return e|0}function jCa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;if((e-d|0)>>>0>4294967279)Iua();if((e-d|0)>>>0<11){a[b>>0]=e-d<<1;b=b+1|0}else{g=WEa(e-d+16&-16)|0;c[b+8>>2]=g;c[b>>2]=e-d+16&-16|1;c[b+4>>2]=e-d;b=g}if((d|0)!=(e|0)){f=d;g=b;while(1){a[g>>0]=a[f>>0]|0;f=f+1|0;if((f|0)==(e|0))break;else g=g+1|0}b=b+(e-d)|0}a[b>>0]=0;return}function kCa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;if(e-d>>2>>>0>1073741807)Iua();if(e-d>>2>>>0<2){a[b>>0]=(e-d|0)>>>1;b=b+4|0}else{g=WEa(((e-d>>2)+4&-4)<<2)|0;c[b+8>>2]=g;c[b>>2]=(e-d>>2)+4&-4|1;c[b+4>>2]=e-d>>2;b=g}if((d|0)!=(e|0)){f=d;g=b;while(1){c[g>>2]=c[f>>2];f=f+4|0;if((f|0)==(e|0))break;else g=g+4|0}b=b+(((e+-4-d|0)>>>2)+1<<2)|0}c[b>>2]=0;return}function lCa(b,e,f,g,h,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;i=i+112|0;if(((g-f|0)/12|0)>>>0>100){m=UFa((g-f|0)/12|0)|0;if(!m)PFa();else{x=m;l=m}}else{x=0;l=z}if((f|0)==(g|0)){n=0;m=(g-f|0)/12|0}else{p=f;n=0;o=(g-f|0)/12|0;q=l;while(1){m=a[p>>0]|0;if(!(m&1))m=(m&255)>>>1;else m=c[p+4>>2]|0;if(!m){a[q>>0]=2;n=n+1|0;m=o+-1|0}else{a[q>>0]=1;m=o}p=p+12|0;if((p|0)==(g|0))break;else{o=m;q=q+1|0}}}q=e;o=0;r=m;a:while(1){s=(r|0)!=0;p=q;u=o;while(1){m=c[b>>2]|0;do if(m){if((c[m+12>>2]|0)==(c[m+16>>2]|0))if((Tc[c[(c[m>>2]|0)+36>>2]&127](m)|0)==-1){c[b>>2]=0;m=0;break}else{m=c[b>>2]|0;break}}else m=0;while(0);q=(m|0)==0;if(p)if((c[p+12>>2]|0)==(c[p+16>>2]|0)){w=(Tc[c[(c[p>>2]|0)+36>>2]&127](p)|0)==-1;o=w?0:p;w=w?0:p}else{o=p;w=p}else{o=0;w=0}p=(o|0)==0;m=c[b>>2]|0;if(!((q^p)&s))break a;o=c[m+12>>2]|0;if((o|0)==(c[m+16>>2]|0))m=Tc[c[(c[m>>2]|0)+36>>2]&127](m)|0;else m=d[o>>0]|0;m=m&255;if(!k)m=bd[c[(c[h>>2]|0)+12>>2]&63](h,m)|0;v=u+1|0;if((f|0)==(g|0)){p=w;u=v}else{e=0;t=f;s=l;break}}while(1){do if((a[s>>0]|0)==1){if(!(a[t>>0]&1))q=t+1|0;else q=c[t+8>>2]|0;q=a[q+u>>0]|0;if(!k)q=bd[c[(c[h>>2]|0)+12>>2]&63](h,q)|0;if(m<<24>>24!=q<<24>>24){a[s>>0]=0;q=e;p=n;r=r+-1|0;break}o=a[t>>0]|0;if(!(o&1))o=(o&255)>>>1;else o=c[t+4>>2]|0;if((o|0)==(v|0)){a[s>>0]=2;q=1;p=n+1|0;r=r+-1|0}else{q=1;p=n}}else{q=e;p=n}while(0);t=t+12|0;if((t|0)==(g|0))break;else{e=q;n=p;s=s+1|0}}if(!q){q=w;o=v;n=p;continue}m=c[b>>2]|0;n=c[m+12>>2]|0;if((n|0)==(c[m+16>>2]|0))Tc[c[(c[m>>2]|0)+40>>2]&127](m)|0;else c[m+12>>2]=n+1;if((p+r|0)>>>0<2){q=w;o=v;n=p;continue}else{m=f;n=p;q=l}while(1){if((a[q>>0]|0)==2){o=a[m>>0]|0;if(!(o&1))o=(o&255)>>>1;else o=c[m+4>>2]|0;if((o|0)!=(v|0)){a[q>>0]=0;n=n+-1|0}}m=m+12|0;if((m|0)==(g|0)){q=w;o=v;continue a}else q=q+1|0}}do if(m){if((c[m+12>>2]|0)==(c[m+16>>2]|0))if((Tc[c[(c[m>>2]|0)+36>>2]&127](m)|0)==-1){c[b>>2]=0;m=0;break}else{m=c[b>>2]|0;break}}else m=0;while(0);m=(m|0)==0;do if(!p){if((c[o+12>>2]|0)!=(c[o+16>>2]|0))if(m)break;else{y=66;break}if((Tc[c[(c[o>>2]|0)+36>>2]&127](o)|0)!=-1){if(!m)y=66}else y=64}else y=64;while(0);if((y|0)==64?m:0)y=66;if((y|0)==66)c[j>>2]=c[j>>2]|2;b:do if((f|0)==(g|0))y=70;else while(1){if((a[l>>0]|0)==2){g=f;break b}f=f+12|0;if((f|0)==(g|0)){y=70;break}else l=l+1|0}while(0);if((y|0)==70)c[j>>2]=c[j>>2]|4;if(x)VFa(x);i=z;return g|0}function mCa(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+224|0;q=OBa(c[g+4>>2]|0)|0;Swa(t+16|0,g,t+198|0,t+196|0);c[t+4>>2]=0;c[t+8>>2]=0;c[t+12>>2]=0;Rua(t+4|0,10);if(!(a[t+4>>0]&1)){n=t+5|0;o=t+12|0;k=t+5|0}else{n=t+5|0;o=t+12|0;k=c[t+12>>2]|0}c[t+192>>2]=k;c[t>>2]=t+32;c[t+28>>2]=0;p=a[t+196>>0]|0;a:while(1){if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0)){m=(Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1;e=m?0:e}}else e=0;g=(e|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(g){m=f;break}else break a;if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1)if(g)m=f;else break a;else s=12}else s=12;while(0);if((s|0)==12){s=0;if(g){e=0;f=0;break}else m=0}g=a[t+4>>0]|0;if(!(g&1))f=(g&255)>>>1;else f=c[t+8>>2]|0;if((c[t+192>>2]|0)==(k+f|0)){if(!(g&1))f=(g&255)>>>1;else f=c[t+8>>2]|0;Rua(t+4|0,f<<1);if(!(a[t+4>>0]&1))k=10;else k=(c[t+4>>2]&-2)+-1|0;Rua(t+4|0,k);if(!(a[t+4>>0]&1))k=n;else k=c[o>>2]|0;c[t+192>>2]=k+f}g=e+12|0;f=c[g>>2]|0;l=e+16|0;if((f|0)==(c[l>>2]|0))f=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else f=d[f>>0]|0;if(Cwa(f&255,q,k,t+192|0,t+28|0,p,t+16|0,t+32|0,t,t+198|0)|0){f=m;break}f=c[g>>2]|0;if((f|0)==(c[l>>2]|0)){Tc[c[(c[e>>2]|0)+40>>2]&127](e)|0;f=m;continue}else{c[g>>2]=f+1;f=m;continue}}g=a[t+16>>0]|0;if(!(g&1))g=(g&255)>>>1;else g=c[t+20>>2]|0;if((g|0)!=0?(r=c[t>>2]|0,(r-(t+32)|0)<160):0){p=c[t+28>>2]|0;c[t>>2]=r+4;c[r>>2]=p}c[j>>2]=WDa(k,c[t+192>>2]|0,h,q)|0;Aza(t+16|0,t+32|0,c[t>>2]|0,h);if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0)){j=(Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1;e=j?0:e}}else e=0;g=(e|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(g)break;else{s=48;break}if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1){if(!g)s=48}else s=46}else s=46;while(0);if((s|0)==46?g:0)s=48;if((s|0)==48)c[h>>2]=c[h>>2]|2;c[b>>2]=e;Oua(t+4|0);Oua(t+16|0);i=t;return}function nCa(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+224|0;q=OBa(c[g+4>>2]|0)|0;Swa(t+16|0,g,t+198|0,t+196|0);c[t+4>>2]=0;c[t+8>>2]=0;c[t+12>>2]=0;Rua(t+4|0,10);if(!(a[t+4>>0]&1)){n=t+5|0;o=t+12|0;k=t+5|0}else{n=t+5|0;o=t+12|0;k=c[t+12>>2]|0}c[t+192>>2]=k;c[t>>2]=t+32;c[t+28>>2]=0;p=a[t+196>>0]|0;a:while(1){if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0)){m=(Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1;e=m?0:e}}else e=0;g=(e|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(g){m=f;break}else break a;if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1)if(g)m=f;else break a;else s=12}else s=12;while(0);if((s|0)==12){s=0;if(g){e=0;f=0;break}else m=0}g=a[t+4>>0]|0;if(!(g&1))f=(g&255)>>>1;else f=c[t+8>>2]|0;if((c[t+192>>2]|0)==(k+f|0)){if(!(g&1))f=(g&255)>>>1;else f=c[t+8>>2]|0;Rua(t+4|0,f<<1);if(!(a[t+4>>0]&1))k=10;else k=(c[t+4>>2]&-2)+-1|0;Rua(t+4|0,k);if(!(a[t+4>>0]&1))k=n;else k=c[o>>2]|0;c[t+192>>2]=k+f}g=e+12|0;f=c[g>>2]|0;l=e+16|0;if((f|0)==(c[l>>2]|0))f=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else f=d[f>>0]|0;if(Cwa(f&255,q,k,t+192|0,t+28|0,p,t+16|0,t+32|0,t,t+198|0)|0){f=m;break}f=c[g>>2]|0;if((f|0)==(c[l>>2]|0)){Tc[c[(c[e>>2]|0)+40>>2]&127](e)|0;f=m;continue}else{c[g>>2]=f+1;f=m;continue}}g=a[t+16>>0]|0;if(!(g&1))g=(g&255)>>>1;else g=c[t+20>>2]|0;if((g|0)!=0?(r=c[t>>2]|0,(r-(t+32)|0)<160):0){p=c[t+28>>2]|0;c[t>>2]=r+4;c[r>>2]=p}r=XDa(k,c[t+192>>2]|0,h,q)|0;c[j>>2]=r;c[j+4>>2]=F;Aza(t+16|0,t+32|0,c[t>>2]|0,h);if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0)){j=(Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1;e=j?0:e}}else e=0;g=(e|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(g)break;else{s=48;break}if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1){if(!g)s=48}else s=46}else s=46;while(0);if((s|0)==46?g:0)s=48;if((s|0)==48)c[h>>2]=c[h>>2]|2;c[b>>2]=e;Oua(t+4|0);Oua(t+16|0);i=t;return}function oCa(e,f,g,h,j,k){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+224|0;r=OBa(c[h+4>>2]|0)|0;Swa(u+16|0,h,u+198|0,u+196|0);c[u+4>>2]=0;c[u+8>>2]=0;c[u+12>>2]=0;Rua(u+4|0,10);if(!(a[u+4>>0]&1)){o=u+5|0;p=u+12|0;l=u+5|0}else{o=u+5|0;p=u+12|0;l=c[u+12>>2]|0}c[u+192>>2]=l;c[u>>2]=u+32;c[u+28>>2]=0;q=a[u+196>>0]|0;a:while(1){if(f){if((c[f+12>>2]|0)==(c[f+16>>2]|0)){n=(Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)==-1;f=n?0:f}}else f=0;h=(f|0)==0;do if(g){if((c[g+12>>2]|0)!=(c[g+16>>2]|0))if(h){n=g;break}else break a;if((Tc[c[(c[g>>2]|0)+36>>2]&127](g)|0)!=-1)if(h)n=g;else break a;else t=12}else t=12;while(0);if((t|0)==12){t=0;if(h){f=0;g=0;break}else n=0}h=a[u+4>>0]|0;if(!(h&1))g=(h&255)>>>1;else g=c[u+8>>2]|0;if((c[u+192>>2]|0)==(l+g|0)){if(!(h&1))g=(h&255)>>>1;else g=c[u+8>>2]|0;Rua(u+4|0,g<<1);if(!(a[u+4>>0]&1))l=10;else l=(c[u+4>>2]&-2)+-1|0;Rua(u+4|0,l);if(!(a[u+4>>0]&1))l=o;else l=c[p>>2]|0;c[u+192>>2]=l+g}h=f+12|0;g=c[h>>2]|0;m=f+16|0;if((g|0)==(c[m>>2]|0))g=Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0;else g=d[g>>0]|0;if(Cwa(g&255,r,l,u+192|0,u+28|0,q,u+16|0,u+32|0,u,u+198|0)|0){g=n;break}g=c[h>>2]|0;if((g|0)==(c[m>>2]|0)){Tc[c[(c[f>>2]|0)+40>>2]&127](f)|0;g=n;continue}else{c[h>>2]=g+1;g=n;continue}}h=a[u+16>>0]|0;if(!(h&1))h=(h&255)>>>1;else h=c[u+20>>2]|0;if((h|0)!=0?(s=c[u>>2]|0,(s-(u+32)|0)<160):0){q=c[u+28>>2]|0;c[u>>2]=s+4;c[s>>2]=q}b[k>>1]=YDa(l,c[u+192>>2]|0,j,r)|0;Aza(u+16|0,u+32|0,c[u>>2]|0,j);if(f){if((c[f+12>>2]|0)==(c[f+16>>2]|0)){k=(Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)==-1;f=k?0:f}}else f=0;h=(f|0)==0;do if(g){if((c[g+12>>2]|0)!=(c[g+16>>2]|0))if(h)break;else{t=48;break}if((Tc[c[(c[g>>2]|0)+36>>2]&127](g)|0)!=-1){if(!h)t=48}else t=46}else t=46;while(0);if((t|0)==46?h:0)t=48;if((t|0)==48)c[j>>2]=c[j>>2]|2;c[e>>2]=f;Oua(u+4|0);Oua(u+16|0);i=u;return}function pCa(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+224|0;q=OBa(c[g+4>>2]|0)|0;Swa(t+16|0,g,t+198|0,t+196|0);c[t+4>>2]=0;c[t+8>>2]=0;c[t+12>>2]=0;Rua(t+4|0,10);if(!(a[t+4>>0]&1)){n=t+5|0;o=t+12|0;k=t+5|0}else{n=t+5|0;o=t+12|0;k=c[t+12>>2]|0}c[t+192>>2]=k;c[t>>2]=t+32;c[t+28>>2]=0;p=a[t+196>>0]|0;a:while(1){if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0)){m=(Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1;e=m?0:e}}else e=0;g=(e|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(g){m=f;break}else break a;if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1)if(g)m=f;else break a;else s=12}else s=12;while(0);if((s|0)==12){s=0;if(g){e=0;f=0;break}else m=0}g=a[t+4>>0]|0;if(!(g&1))f=(g&255)>>>1;else f=c[t+8>>2]|0;if((c[t+192>>2]|0)==(k+f|0)){if(!(g&1))f=(g&255)>>>1;else f=c[t+8>>2]|0;Rua(t+4|0,f<<1);if(!(a[t+4>>0]&1))k=10;else k=(c[t+4>>2]&-2)+-1|0;Rua(t+4|0,k);if(!(a[t+4>>0]&1))k=n;else k=c[o>>2]|0;c[t+192>>2]=k+f}g=e+12|0;f=c[g>>2]|0;l=e+16|0;if((f|0)==(c[l>>2]|0))f=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else f=d[f>>0]|0;if(Cwa(f&255,q,k,t+192|0,t+28|0,p,t+16|0,t+32|0,t,t+198|0)|0){f=m;break}f=c[g>>2]|0;if((f|0)==(c[l>>2]|0)){Tc[c[(c[e>>2]|0)+40>>2]&127](e)|0;f=m;continue}else{c[g>>2]=f+1;f=m;continue}}g=a[t+16>>0]|0;if(!(g&1))g=(g&255)>>>1;else g=c[t+20>>2]|0;if((g|0)!=0?(r=c[t>>2]|0,(r-(t+32)|0)<160):0){p=c[t+28>>2]|0;c[t>>2]=r+4;c[r>>2]=p}c[j>>2]=ZDa(k,c[t+192>>2]|0,h,q)|0;Aza(t+16|0,t+32|0,c[t>>2]|0,h);if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0)){j=(Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1;e=j?0:e}}else e=0;g=(e|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(g)break;else{s=48;break}if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1){if(!g)s=48}else s=46}else s=46;while(0);if((s|0)==46?g:0)s=48;if((s|0)==48)c[h>>2]=c[h>>2]|2;c[b>>2]=e;Oua(t+4|0);Oua(t+16|0);i=t;return}function qCa(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+224|0;q=OBa(c[g+4>>2]|0)|0;Swa(t+16|0,g,t+198|0,t+196|0);c[t+4>>2]=0;c[t+8>>2]=0;c[t+12>>2]=0;Rua(t+4|0,10);if(!(a[t+4>>0]&1)){n=t+5|0;o=t+12|0;k=t+5|0}else{n=t+5|0;o=t+12|0;k=c[t+12>>2]|0}c[t+192>>2]=k;c[t>>2]=t+32;c[t+28>>2]=0;p=a[t+196>>0]|0;a:while(1){if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0)){m=(Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1;e=m?0:e}}else e=0;g=(e|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(g){m=f;break}else break a;if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1)if(g)m=f;else break a;else s=12}else s=12;while(0);if((s|0)==12){s=0;if(g){e=0;f=0;break}else m=0}g=a[t+4>>0]|0;if(!(g&1))f=(g&255)>>>1;else f=c[t+8>>2]|0;if((c[t+192>>2]|0)==(k+f|0)){if(!(g&1))f=(g&255)>>>1;else f=c[t+8>>2]|0;Rua(t+4|0,f<<1);if(!(a[t+4>>0]&1))k=10;else k=(c[t+4>>2]&-2)+-1|0;Rua(t+4|0,k);if(!(a[t+4>>0]&1))k=n;else k=c[o>>2]|0;c[t+192>>2]=k+f}g=e+12|0;f=c[g>>2]|0;l=e+16|0;if((f|0)==(c[l>>2]|0))f=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else f=d[f>>0]|0;if(Cwa(f&255,q,k,t+192|0,t+28|0,p,t+16|0,t+32|0,t,t+198|0)|0){f=m;break}f=c[g>>2]|0;if((f|0)==(c[l>>2]|0)){Tc[c[(c[e>>2]|0)+40>>2]&127](e)|0;f=m;continue}else{c[g>>2]=f+1;f=m;continue}}g=a[t+16>>0]|0;if(!(g&1))g=(g&255)>>>1;else g=c[t+20>>2]|0;if((g|0)!=0?(r=c[t>>2]|0,(r-(t+32)|0)<160):0){p=c[t+28>>2]|0;c[t>>2]=r+4;c[r>>2]=p}c[j>>2]=_Da(k,c[t+192>>2]|0,h,q)|0;Aza(t+16|0,t+32|0,c[t>>2]|0,h);if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0)){j=(Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1;e=j?0:e}}else e=0;g=(e|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(g)break;else{s=48;break}if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1){if(!g)s=48}else s=46}else s=46;while(0);if((s|0)==46?g:0)s=48;if((s|0)==48)c[h>>2]=c[h>>2]|2;c[b>>2]=e;Oua(t+4|0);Oua(t+16|0);i=t;return}function rCa(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+224|0;q=OBa(c[g+4>>2]|0)|0;Swa(t+16|0,g,t+198|0,t+196|0);c[t+4>>2]=0;c[t+8>>2]=0;c[t+12>>2]=0;Rua(t+4|0,10);if(!(a[t+4>>0]&1)){n=t+5|0;o=t+12|0;k=t+5|0}else{n=t+5|0;o=t+12|0;k=c[t+12>>2]|0}c[t+192>>2]=k;c[t>>2]=t+32;c[t+28>>2]=0;p=a[t+196>>0]|0;a:while(1){if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0)){m=(Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1;e=m?0:e}}else e=0;g=(e|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(g){m=f;break}else break a;if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1)if(g)m=f;else break a;else s=12}else s=12;while(0);if((s|0)==12){s=0;if(g){e=0;f=0;break}else m=0}g=a[t+4>>0]|0;if(!(g&1))f=(g&255)>>>1;else f=c[t+8>>2]|0;if((c[t+192>>2]|0)==(k+f|0)){if(!(g&1))f=(g&255)>>>1;else f=c[t+8>>2]|0;Rua(t+4|0,f<<1);if(!(a[t+4>>0]&1))k=10;else k=(c[t+4>>2]&-2)+-1|0;Rua(t+4|0,k);if(!(a[t+4>>0]&1))k=n;else k=c[o>>2]|0;c[t+192>>2]=k+f}g=e+12|0;f=c[g>>2]|0;l=e+16|0;if((f|0)==(c[l>>2]|0))f=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else f=d[f>>0]|0;if(Cwa(f&255,q,k,t+192|0,t+28|0,p,t+16|0,t+32|0,t,t+198|0)|0){f=m;break}f=c[g>>2]|0;if((f|0)==(c[l>>2]|0)){Tc[c[(c[e>>2]|0)+40>>2]&127](e)|0;f=m;continue}else{c[g>>2]=f+1;f=m;continue}}g=a[t+16>>0]|0;if(!(g&1))g=(g&255)>>>1;else g=c[t+20>>2]|0;if((g|0)!=0?(r=c[t>>2]|0,(r-(t+32)|0)<160):0){p=c[t+28>>2]|0;c[t>>2]=r+4;c[r>>2]=p}r=$Da(k,c[t+192>>2]|0,h,q)|0;c[j>>2]=r;c[j+4>>2]=F;Aza(t+16|0,t+32|0,c[t>>2]|0,h);if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0)){j=(Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1;e=j?0:e}}else e=0;g=(e|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(g)break;else{s=48;break}if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1){if(!g)s=48}else s=46}else s=46;while(0);if((s|0)==46?g:0)s=48;if((s|0)==48)c[h>>2]=c[h>>2]|2;c[b>>2]=e;Oua(t+4|0);Oua(t+16|0);i=t;return}function sCa(b,e,f,h,j,k){b=b|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+256|0;Twa(u,h,u+208|0,u+200|0,u+240|0);c[u+188>>2]=0;c[u+192>>2]=0;c[u+196>>2]=0;Rua(u+188|0,10);if(!(a[u+188>>0]&1)){o=u+189|0;p=u+196|0;l=u+189|0}else{o=u+189|0;p=u+196|0;l=c[u+196>>2]|0}c[u+184>>2]=l;c[u+176>>2]=u+16;c[u+180>>2]=0;a[u+241>>0]=1;a[u+242>>0]=69;q=a[u+200>>0]|0;r=a[u+240>>0]|0;a:while(1){if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0)){n=(Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1;e=n?0:e}}else e=0;h=(e|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(h)break;else break a;if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1){if(!h)break a}else t=12}else t=12;while(0);if((t|0)==12){t=0;if(h){e=0;f=0;break}else f=0}h=a[u+188>>0]|0;if(!(h&1))m=(h&255)>>>1;else m=c[u+192>>2]|0;if((c[u+184>>2]|0)==(l+m|0)){if(!(h&1))m=(h&255)>>>1;else m=c[u+192>>2]|0;Rua(u+188|0,m<<1);if(!(a[u+188>>0]&1))l=10;else l=(c[u+188>>2]&-2)+-1|0;Rua(u+188|0,l);if(!(a[u+188>>0]&1))l=o;else l=c[p>>2]|0;c[u+184>>2]=l+m}h=e+12|0;m=c[h>>2]|0;n=e+16|0;if((m|0)==(c[n>>2]|0))m=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else m=d[m>>0]|0;if(Uwa(m&255,u+241|0,u+242|0,l,u+184|0,q,r,u,u+16|0,u+176|0,u+180|0,u+208|0)|0)break;m=c[h>>2]|0;if((m|0)==(c[n>>2]|0)){Tc[c[(c[e>>2]|0)+40>>2]&127](e)|0;continue}else{c[h>>2]=m+1;continue}}h=a[u>>0]|0;if(!(h&1))h=(h&255)>>>1;else h=c[u+4>>2]|0;if(!((h|0)==0|(a[u+241>>0]|0)==0)?(s=c[u+176>>2]|0,(s-(u+16)|0)<160):0){r=c[u+180>>2]|0;c[u+176>>2]=s+4;c[s>>2]=r}g[k>>2]=+aEa(l,c[u+184>>2]|0,j);Aza(u,u+16|0,c[u+176>>2]|0,j);if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0)){k=(Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1;e=k?0:e}}else e=0;h=(e|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(h)break;else{t=48;break}if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1){if(!h)t=48}else t=46}else t=46;while(0);if((t|0)==46?h:0)t=48;if((t|0)==48)c[j>>2]=c[j>>2]|2;c[b>>2]=e;Oua(u+188|0);Oua(u);i=u;return}function tCa(b,e,f,g,j,k){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+256|0;Twa(u,g,u+208|0,u+200|0,u+240|0);c[u+188>>2]=0;c[u+192>>2]=0;c[u+196>>2]=0;Rua(u+188|0,10);if(!(a[u+188>>0]&1)){o=u+189|0;p=u+196|0;l=u+189|0}else{o=u+189|0;p=u+196|0;l=c[u+196>>2]|0}c[u+184>>2]=l;c[u+176>>2]=u+16;c[u+180>>2]=0;a[u+241>>0]=1;a[u+242>>0]=69;q=a[u+200>>0]|0;r=a[u+240>>0]|0;a:while(1){if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0)){n=(Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1;e=n?0:e}}else e=0;g=(e|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(g)break;else break a;if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1){if(!g)break a}else t=12}else t=12;while(0);if((t|0)==12){t=0;if(g){e=0;f=0;break}else f=0}g=a[u+188>>0]|0;if(!(g&1))m=(g&255)>>>1;else m=c[u+192>>2]|0;if((c[u+184>>2]|0)==(l+m|0)){if(!(g&1))m=(g&255)>>>1;else m=c[u+192>>2]|0;Rua(u+188|0,m<<1);if(!(a[u+188>>0]&1))l=10;else l=(c[u+188>>2]&-2)+-1|0;Rua(u+188|0,l);if(!(a[u+188>>0]&1))l=o;else l=c[p>>2]|0;c[u+184>>2]=l+m}g=e+12|0;m=c[g>>2]|0;n=e+16|0;if((m|0)==(c[n>>2]|0))m=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else m=d[m>>0]|0;if(Uwa(m&255,u+241|0,u+242|0,l,u+184|0,q,r,u,u+16|0,u+176|0,u+180|0,u+208|0)|0)break;m=c[g>>2]|0;if((m|0)==(c[n>>2]|0)){Tc[c[(c[e>>2]|0)+40>>2]&127](e)|0;continue}else{c[g>>2]=m+1;continue}}g=a[u>>0]|0;if(!(g&1))g=(g&255)>>>1;else g=c[u+4>>2]|0;if(!((g|0)==0|(a[u+241>>0]|0)==0)?(s=c[u+176>>2]|0,(s-(u+16)|0)<160):0){r=c[u+180>>2]|0;c[u+176>>2]=s+4;c[s>>2]=r}h[k>>3]=+bEa(l,c[u+184>>2]|0,j);Aza(u,u+16|0,c[u+176>>2]|0,j);if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0)){k=(Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1;e=k?0:e}}else e=0;g=(e|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(g)break;else{t=48;break}if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1){if(!g)t=48}else t=46}else t=46;while(0);if((t|0)==46?g:0)t=48;if((t|0)==48)c[j>>2]=c[j>>2]|2;c[b>>2]=e;Oua(u+188|0);Oua(u);i=u;return}function uCa(b,e,f,g,j,k){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+256|0;Twa(u,g,u+208|0,u+200|0,u+240|0);c[u+188>>2]=0;c[u+192>>2]=0;c[u+196>>2]=0;Rua(u+188|0,10);if(!(a[u+188>>0]&1)){o=u+189|0;p=u+196|0;l=u+189|0}else{o=u+189|0;p=u+196|0;l=c[u+196>>2]|0}c[u+184>>2]=l;c[u+176>>2]=u+16;c[u+180>>2]=0;a[u+241>>0]=1;a[u+242>>0]=69;q=a[u+200>>0]|0;r=a[u+240>>0]|0;a:while(1){if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0)){n=(Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1;e=n?0:e}}else e=0;g=(e|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(g)break;else break a;if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1){if(!g)break a}else t=12}else t=12;while(0);if((t|0)==12){t=0;if(g){e=0;f=0;break}else f=0}g=a[u+188>>0]|0;if(!(g&1))m=(g&255)>>>1;else m=c[u+192>>2]|0;if((c[u+184>>2]|0)==(l+m|0)){if(!(g&1))m=(g&255)>>>1;else m=c[u+192>>2]|0;Rua(u+188|0,m<<1);if(!(a[u+188>>0]&1))l=10;else l=(c[u+188>>2]&-2)+-1|0;Rua(u+188|0,l);if(!(a[u+188>>0]&1))l=o;else l=c[p>>2]|0;c[u+184>>2]=l+m}g=e+12|0;m=c[g>>2]|0;n=e+16|0;if((m|0)==(c[n>>2]|0))m=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else m=d[m>>0]|0;if(Uwa(m&255,u+241|0,u+242|0,l,u+184|0,q,r,u,u+16|0,u+176|0,u+180|0,u+208|0)|0)break;m=c[g>>2]|0;if((m|0)==(c[n>>2]|0)){Tc[c[(c[e>>2]|0)+40>>2]&127](e)|0;continue}else{c[g>>2]=m+1;continue}}g=a[u>>0]|0;if(!(g&1))g=(g&255)>>>1;else g=c[u+4>>2]|0;if(!((g|0)==0|(a[u+241>>0]|0)==0)?(s=c[u+176>>2]|0,(s-(u+16)|0)<160):0){r=c[u+180>>2]|0;c[u+176>>2]=s+4;c[s>>2]=r}h[k>>3]=+cEa(l,c[u+184>>2]|0,j);Aza(u,u+16|0,c[u+176>>2]|0,j);if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0)){k=(Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1;e=k?0:e}}else e=0;g=(e|0)==0;do if(f){if((c[f+12>>2]|0)!=(c[f+16>>2]|0))if(g)break;else{t=48;break}if((Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0)!=-1){if(!g)t=48}else t=46}else t=46;while(0);if((t|0)==46?g:0)t=48;if((t|0)==48)c[j>>2]=c[j>>2]|2;c[b>>2]=e;Oua(u+188|0);Oua(u);i=u;return}function vCa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=d;b=Tb(b|0)|0;d=CEa(a,1705160,e)|0;if(b)Tb(b|0)|0;i=e;return d|0}function wCa(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+112|0;if(((f-e|0)/12|0)>>>0>100){m=UFa((f-e|0)/12|0)|0;if(!m)PFa();else{w=m;k=m}}else{w=0;k=y}if((e|0)==(f|0)){m=0;l=(f-e|0)/12|0}else{o=e;n=0;l=(f-e|0)/12|0;p=k;while(1){m=a[o>>0]|0;if(!(m&1))m=(m&255)>>>1;else m=c[o+4>>2]|0;if(!m){a[p>>0]=2;m=n+1|0;l=l+-1|0}else{a[p>>0]=1;m=n}o=o+12|0;if((o|0)==(f|0))break;else{n=m;p=p+1|0}}}p=d;o=0;r=m;a:while(1){s=(l|0)!=0;q=p;v=o;while(1){m=c[b>>2]|0;do if(m){n=c[m+12>>2]|0;if((n|0)==(c[m+16>>2]|0))m=Tc[c[(c[m>>2]|0)+36>>2]&127](m)|0;else m=c[n>>2]|0;if((m|0)==-1){c[b>>2]=0;d=1;break}else{d=(c[b>>2]|0)==0;break}}else d=1;while(0);if(!q){n=0;p=1;q=0}else{n=c[q+12>>2]|0;if((n|0)==(c[q+16>>2]|0))m=Tc[c[(c[q>>2]|0)+36>>2]&127](q)|0;else m=c[n>>2]|0;u=(m|0)==-1;n=u?0:q;p=u?1:0;q=u?0:q}o=c[b>>2]|0;if(!((d^p)&s))break a;n=c[o+12>>2]|0;if((n|0)==(c[o+16>>2]|0))m=Tc[c[(c[o>>2]|0)+36>>2]&127](o)|0;else m=c[n>>2]|0;if(!j)m=bd[c[(c[g>>2]|0)+28>>2]&63](g,m)|0;u=v+1|0;if((e|0)==(f|0))v=u;else{d=0;s=e;n=r;r=k;break}}while(1){do if((a[r>>0]|0)==1){if(!(a[s>>0]&1))p=s+4|0;else p=c[s+8>>2]|0;p=c[p+(v<<2)>>2]|0;if(!j)p=bd[c[(c[g>>2]|0)+28>>2]&63](g,p)|0;if((m|0)!=(p|0)){a[r>>0]=0;p=d;t=l+-1|0;break}o=a[s>>0]|0;if(!(o&1))o=(o&255)>>>1;else o=c[s+4>>2]|0;if((o|0)==(u|0)){a[r>>0]=2;p=1;n=n+1|0;t=l+-1|0}else{p=1;t=l}}else{p=d;t=l}while(0);s=s+12|0;if((s|0)==(f|0))break;else{d=p;l=t;r=r+1|0}}if(!p){p=q;o=u;r=n;l=t;continue}m=c[b>>2]|0;l=c[m+12>>2]|0;if((l|0)==(c[m+16>>2]|0))Tc[c[(c[m>>2]|0)+40>>2]&127](m)|0;else c[m+12>>2]=l+4;if((n+t|0)>>>0<2){p=q;o=u;r=n;l=t;continue}else{m=e;p=k}while(1){if((a[p>>0]|0)==2){l=a[m>>0]|0;if(!(l&1))l=(l&255)>>>1;else l=c[m+4>>2]|0;if((l|0)!=(u|0)){a[p>>0]=0;n=n+-1|0}}m=m+12|0;if((m|0)==(f|0)){p=q;o=u;r=n;l=t;continue a}else p=p+1|0}}do if(o){l=c[o+12>>2]|0;if((l|0)==(c[o+16>>2]|0))l=Tc[c[(c[o>>2]|0)+36>>2]&127](o)|0;else l=c[l>>2]|0;if((l|0)==-1){c[b>>2]=0;m=1;break}else{m=(c[b>>2]|0)==0;break}}else m=1;while(0);if(n){l=c[n+12>>2]|0;if((l|0)==(c[n+16>>2]|0))l=Tc[c[(c[n>>2]|0)+36>>2]&127](n)|0;else l=c[l>>2]|0;if((l|0)!=-1){if(!m)x=73}else x=71}else x=71;if((x|0)==71?m:0)x=73;if((x|0)==73)c[h>>2]=c[h>>2]|2;b:do if((e|0)==(f|0))x=77;else while(1){if((a[k>>0]|0)==2){f=e;break b}e=e+12|0;if((e|0)==(f|0)){x=77;break}else k=k+1|0}while(0);if((x|0)==77)c[h>>2]=c[h>>2]|4;if(w)VFa(w);i=y;return f|0}function xCa(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+304|0;p=OBa(c[f+4>>2]|0)|0;Vwa(s+264|0,f,s+160|0,s+280|0);c[s+284>>2]=0;c[s+288>>2]=0;c[s+292>>2]=0;Rua(s+284|0,10);if(!(a[s+284>>0]&1)){l=s+285|0;m=s+292|0;j=s+285|0}else{l=s+285|0;m=s+292|0;j=c[s+292>>2]|0}c[s+300>>2]=j;c[s+276>>2]=s;c[s+296>>2]=0;o=c[s+280>>2]|0;while(1){if(!d){k=1;n=0}else{f=c[d+12>>2]|0;if((f|0)==(c[d+16>>2]|0))f=Tc[c[(c[d>>2]|0)+36>>2]&127](d)|0;else f=c[f>>2]|0;n=(f|0)==-1;k=n?1:0;n=n?0:d}if(e){f=c[e+12>>2]|0;if((f|0)==(c[e+16>>2]|0))f=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else f=c[f>>2]|0;if((f|0)!=-1){if(!k)break}else r=15}else r=15;if((r|0)==15){r=0;if(k){e=0;break}else e=0}f=a[s+284>>0]|0;if(!(f&1))d=(f&255)>>>1;else d=c[s+288>>2]|0;if((c[s+300>>2]|0)==(j+d|0)){if(!(f&1))d=(f&255)>>>1;else d=c[s+288>>2]|0;Rua(s+284|0,d<<1);if(!(a[s+284>>0]&1))f=10;else f=(c[s+284>>2]&-2)+-1|0;Rua(s+284|0,f);if(!(a[s+284>>0]&1))j=l;else j=c[m>>2]|0;c[s+300>>2]=j+d}k=n+12|0;f=c[k>>2]|0;d=n+16|0;if((f|0)==(c[d>>2]|0))f=Tc[c[(c[n>>2]|0)+36>>2]&127](n)|0;else f=c[f>>2]|0;if(Rwa(f,p,j,s+300|0,s+296|0,o,s+264|0,s,s+276|0,s+160|0)|0)break;f=c[k>>2]|0;if((f|0)==(c[d>>2]|0)){Tc[c[(c[n>>2]|0)+40>>2]&127](n)|0;d=n;continue}else{c[k>>2]=f+4;d=n;continue}}f=a[s+264>>0]|0;if(!(f&1))f=(f&255)>>>1;else f=c[s+268>>2]|0;if((f|0)!=0?(q=c[s+276>>2]|0,(q-s|0)<160):0){o=c[s+296>>2]|0;c[s+276>>2]=q+4;c[q>>2]=o}c[h>>2]=WDa(j,c[s+300>>2]|0,g,p)|0;Aza(s+264|0,s,c[s+276>>2]|0,g);if(!n){j=0;f=1}else{d=c[n+12>>2]|0;if((d|0)==(c[n+16>>2]|0))d=Tc[c[(c[n>>2]|0)+36>>2]&127](n)|0;else d=c[d>>2]|0;f=(d|0)==-1;j=f?0:n;f=f?1:0}if(e){d=c[e+12>>2]|0;if((d|0)==(c[e+16>>2]|0))d=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else d=c[d>>2]|0;if((d|0)!=-1){if(!f)r=54}else r=52}else r=52;if((r|0)==52?f:0)r=54;if((r|0)==54)c[g>>2]=c[g>>2]|2;c[b>>2]=j;Oua(s+284|0);Oua(s+264|0);i=s;return}function yCa(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+304|0;p=OBa(c[f+4>>2]|0)|0;Vwa(s+264|0,f,s+160|0,s+280|0);c[s+284>>2]=0;c[s+288>>2]=0;c[s+292>>2]=0;Rua(s+284|0,10);if(!(a[s+284>>0]&1)){l=s+285|0;m=s+292|0;j=s+285|0}else{l=s+285|0;m=s+292|0;j=c[s+292>>2]|0}c[s+300>>2]=j;c[s+276>>2]=s;c[s+296>>2]=0;o=c[s+280>>2]|0;while(1){if(!d){k=1;n=0}else{f=c[d+12>>2]|0;if((f|0)==(c[d+16>>2]|0))f=Tc[c[(c[d>>2]|0)+36>>2]&127](d)|0;else f=c[f>>2]|0;n=(f|0)==-1;k=n?1:0;n=n?0:d}if(e){f=c[e+12>>2]|0;if((f|0)==(c[e+16>>2]|0))f=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else f=c[f>>2]|0;if((f|0)!=-1){if(!k)break}else r=15}else r=15;if((r|0)==15){r=0;if(k){e=0;break}else e=0}f=a[s+284>>0]|0;if(!(f&1))d=(f&255)>>>1;else d=c[s+288>>2]|0;if((c[s+300>>2]|0)==(j+d|0)){if(!(f&1))d=(f&255)>>>1;else d=c[s+288>>2]|0;Rua(s+284|0,d<<1);if(!(a[s+284>>0]&1))f=10;else f=(c[s+284>>2]&-2)+-1|0;Rua(s+284|0,f);if(!(a[s+284>>0]&1))j=l;else j=c[m>>2]|0;c[s+300>>2]=j+d}k=n+12|0;f=c[k>>2]|0;d=n+16|0;if((f|0)==(c[d>>2]|0))f=Tc[c[(c[n>>2]|0)+36>>2]&127](n)|0;else f=c[f>>2]|0;if(Rwa(f,p,j,s+300|0,s+296|0,o,s+264|0,s,s+276|0,s+160|0)|0)break;f=c[k>>2]|0;if((f|0)==(c[d>>2]|0)){Tc[c[(c[n>>2]|0)+40>>2]&127](n)|0;d=n;continue}else{c[k>>2]=f+4;d=n;continue}}f=a[s+264>>0]|0;if(!(f&1))f=(f&255)>>>1;else f=c[s+268>>2]|0;if((f|0)!=0?(q=c[s+276>>2]|0,(q-s|0)<160):0){o=c[s+296>>2]|0;c[s+276>>2]=q+4;c[q>>2]=o}q=XDa(j,c[s+300>>2]|0,g,p)|0;c[h>>2]=q;c[h+4>>2]=F;Aza(s+264|0,s,c[s+276>>2]|0,g);if(!n){j=0;f=1}else{d=c[n+12>>2]|0;if((d|0)==(c[n+16>>2]|0))d=Tc[c[(c[n>>2]|0)+36>>2]&127](n)|0;else d=c[d>>2]|0;f=(d|0)==-1;j=f?0:n;f=f?1:0}if(e){d=c[e+12>>2]|0;if((d|0)==(c[e+16>>2]|0))d=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else d=c[d>>2]|0;if((d|0)!=-1){if(!f)r=54}else r=52}else r=52;if((r|0)==52?f:0)r=54;if((r|0)==54)c[g>>2]=c[g>>2]|2;c[b>>2]=j;Oua(s+284|0);Oua(s+264|0);i=s;return}function zCa(d,e,f,g,h,j){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+304|0;q=OBa(c[g+4>>2]|0)|0;Vwa(t+264|0,g,t+160|0,t+280|0);c[t+284>>2]=0;c[t+288>>2]=0;c[t+292>>2]=0;Rua(t+284|0,10);if(!(a[t+284>>0]&1)){m=t+285|0;n=t+292|0;k=t+285|0}else{m=t+285|0;n=t+292|0;k=c[t+292>>2]|0}c[t+300>>2]=k;c[t+276>>2]=t;c[t+296>>2]=0;p=c[t+280>>2]|0;while(1){if(!e){l=1;o=0}else{g=c[e+12>>2]|0;if((g|0)==(c[e+16>>2]|0))g=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else g=c[g>>2]|0;o=(g|0)==-1;l=o?1:0;o=o?0:e}if(f){g=c[f+12>>2]|0;if((g|0)==(c[f+16>>2]|0))g=Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0;else g=c[g>>2]|0;if((g|0)!=-1){if(!l)break}else s=15}else s=15;if((s|0)==15){s=0;if(l){f=0;break}else f=0}g=a[t+284>>0]|0;if(!(g&1))e=(g&255)>>>1;else e=c[t+288>>2]|0;if((c[t+300>>2]|0)==(k+e|0)){if(!(g&1))e=(g&255)>>>1;else e=c[t+288>>2]|0;Rua(t+284|0,e<<1);if(!(a[t+284>>0]&1))g=10;else g=(c[t+284>>2]&-2)+-1|0;Rua(t+284|0,g);if(!(a[t+284>>0]&1))k=m;else k=c[n>>2]|0;c[t+300>>2]=k+e}l=o+12|0;g=c[l>>2]|0;e=o+16|0;if((g|0)==(c[e>>2]|0))g=Tc[c[(c[o>>2]|0)+36>>2]&127](o)|0;else g=c[g>>2]|0;if(Rwa(g,q,k,t+300|0,t+296|0,p,t+264|0,t,t+276|0,t+160|0)|0)break;g=c[l>>2]|0;if((g|0)==(c[e>>2]|0)){Tc[c[(c[o>>2]|0)+40>>2]&127](o)|0;e=o;continue}else{c[l>>2]=g+4;e=o;continue}}g=a[t+264>>0]|0;if(!(g&1))g=(g&255)>>>1;else g=c[t+268>>2]|0;if((g|0)!=0?(r=c[t+276>>2]|0,(r-t|0)<160):0){p=c[t+296>>2]|0;c[t+276>>2]=r+4;c[r>>2]=p}b[j>>1]=YDa(k,c[t+300>>2]|0,h,q)|0;Aza(t+264|0,t,c[t+276>>2]|0,h);if(!o){k=0;g=1}else{e=c[o+12>>2]|0;if((e|0)==(c[o+16>>2]|0))e=Tc[c[(c[o>>2]|0)+36>>2]&127](o)|0;else e=c[e>>2]|0;g=(e|0)==-1;k=g?0:o;g=g?1:0}if(f){e=c[f+12>>2]|0;if((e|0)==(c[f+16>>2]|0))e=Tc[c[(c[f>>2]|0)+36>>2]&127](f)|0;else e=c[e>>2]|0;if((e|0)!=-1){if(!g)s=54}else s=52}else s=52;if((s|0)==52?g:0)s=54;if((s|0)==54)c[h>>2]=c[h>>2]|2;c[d>>2]=k;Oua(t+284|0);Oua(t+264|0);i=t;return}function ACa(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+304|0;p=OBa(c[f+4>>2]|0)|0;Vwa(s+264|0,f,s+160|0,s+280|0);c[s+284>>2]=0;c[s+288>>2]=0;c[s+292>>2]=0;Rua(s+284|0,10);if(!(a[s+284>>0]&1)){l=s+285|0;m=s+292|0;j=s+285|0}else{l=s+285|0;m=s+292|0;j=c[s+292>>2]|0}c[s+300>>2]=j;c[s+276>>2]=s;c[s+296>>2]=0;o=c[s+280>>2]|0;while(1){if(!d){k=1;n=0}else{f=c[d+12>>2]|0;if((f|0)==(c[d+16>>2]|0))f=Tc[c[(c[d>>2]|0)+36>>2]&127](d)|0;else f=c[f>>2]|0;n=(f|0)==-1;k=n?1:0;n=n?0:d}if(e){f=c[e+12>>2]|0;if((f|0)==(c[e+16>>2]|0))f=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else f=c[f>>2]|0;if((f|0)!=-1){if(!k)break}else r=15}else r=15;if((r|0)==15){r=0;if(k){e=0;break}else e=0}f=a[s+284>>0]|0;if(!(f&1))d=(f&255)>>>1;else d=c[s+288>>2]|0;if((c[s+300>>2]|0)==(j+d|0)){if(!(f&1))d=(f&255)>>>1;else d=c[s+288>>2]|0;Rua(s+284|0,d<<1);if(!(a[s+284>>0]&1))f=10;else f=(c[s+284>>2]&-2)+-1|0;Rua(s+284|0,f);if(!(a[s+284>>0]&1))j=l;else j=c[m>>2]|0;c[s+300>>2]=j+d}k=n+12|0;f=c[k>>2]|0;d=n+16|0;if((f|0)==(c[d>>2]|0))f=Tc[c[(c[n>>2]|0)+36>>2]&127](n)|0;else f=c[f>>2]|0;if(Rwa(f,p,j,s+300|0,s+296|0,o,s+264|0,s,s+276|0,s+160|0)|0)break;f=c[k>>2]|0;if((f|0)==(c[d>>2]|0)){Tc[c[(c[n>>2]|0)+40>>2]&127](n)|0;d=n;continue}else{c[k>>2]=f+4;d=n;continue}}f=a[s+264>>0]|0;if(!(f&1))f=(f&255)>>>1;else f=c[s+268>>2]|0;if((f|0)!=0?(q=c[s+276>>2]|0,(q-s|0)<160):0){o=c[s+296>>2]|0;c[s+276>>2]=q+4;c[q>>2]=o}c[h>>2]=ZDa(j,c[s+300>>2]|0,g,p)|0;Aza(s+264|0,s,c[s+276>>2]|0,g);if(!n){j=0;f=1}else{d=c[n+12>>2]|0;if((d|0)==(c[n+16>>2]|0))d=Tc[c[(c[n>>2]|0)+36>>2]&127](n)|0;else d=c[d>>2]|0;f=(d|0)==-1;j=f?0:n;f=f?1:0}if(e){d=c[e+12>>2]|0;if((d|0)==(c[e+16>>2]|0))d=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else d=c[d>>2]|0;if((d|0)!=-1){if(!f)r=54}else r=52}else r=52;if((r|0)==52?f:0)r=54;if((r|0)==54)c[g>>2]=c[g>>2]|2;c[b>>2]=j;Oua(s+284|0);Oua(s+264|0);i=s;return}function BCa(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+304|0;p=OBa(c[f+4>>2]|0)|0;Vwa(s+264|0,f,s+160|0,s+280|0);c[s+284>>2]=0;c[s+288>>2]=0;c[s+292>>2]=0;Rua(s+284|0,10);if(!(a[s+284>>0]&1)){l=s+285|0;m=s+292|0;j=s+285|0}else{l=s+285|0;m=s+292|0;j=c[s+292>>2]|0}c[s+300>>2]=j;c[s+276>>2]=s;c[s+296>>2]=0;o=c[s+280>>2]|0;while(1){if(!d){k=1;n=0}else{f=c[d+12>>2]|0;if((f|0)==(c[d+16>>2]|0))f=Tc[c[(c[d>>2]|0)+36>>2]&127](d)|0;else f=c[f>>2]|0;n=(f|0)==-1;k=n?1:0;n=n?0:d}if(e){f=c[e+12>>2]|0;if((f|0)==(c[e+16>>2]|0))f=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else f=c[f>>2]|0;if((f|0)!=-1){if(!k)break}else r=15}else r=15;if((r|0)==15){r=0;if(k){e=0;break}else e=0}f=a[s+284>>0]|0;if(!(f&1))d=(f&255)>>>1;else d=c[s+288>>2]|0;if((c[s+300>>2]|0)==(j+d|0)){if(!(f&1))d=(f&255)>>>1;else d=c[s+288>>2]|0;Rua(s+284|0,d<<1);if(!(a[s+284>>0]&1))f=10;else f=(c[s+284>>2]&-2)+-1|0;Rua(s+284|0,f);if(!(a[s+284>>0]&1))j=l;else j=c[m>>2]|0;c[s+300>>2]=j+d}k=n+12|0;f=c[k>>2]|0;d=n+16|0;if((f|0)==(c[d>>2]|0))f=Tc[c[(c[n>>2]|0)+36>>2]&127](n)|0;else f=c[f>>2]|0;if(Rwa(f,p,j,s+300|0,s+296|0,o,s+264|0,s,s+276|0,s+160|0)|0)break;f=c[k>>2]|0;if((f|0)==(c[d>>2]|0)){Tc[c[(c[n>>2]|0)+40>>2]&127](n)|0;d=n;continue}else{c[k>>2]=f+4;d=n;continue}}f=a[s+264>>0]|0;if(!(f&1))f=(f&255)>>>1;else f=c[s+268>>2]|0;if((f|0)!=0?(q=c[s+276>>2]|0,(q-s|0)<160):0){o=c[s+296>>2]|0;c[s+276>>2]=q+4;c[q>>2]=o}c[h>>2]=_Da(j,c[s+300>>2]|0,g,p)|0;Aza(s+264|0,s,c[s+276>>2]|0,g);if(!n){j=0;f=1}else{d=c[n+12>>2]|0;if((d|0)==(c[n+16>>2]|0))d=Tc[c[(c[n>>2]|0)+36>>2]&127](n)|0;else d=c[d>>2]|0;f=(d|0)==-1;j=f?0:n;f=f?1:0}if(e){d=c[e+12>>2]|0;if((d|0)==(c[e+16>>2]|0))d=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else d=c[d>>2]|0;if((d|0)!=-1){if(!f)r=54}else r=52}else r=52;if((r|0)==52?f:0)r=54;if((r|0)==54)c[g>>2]=c[g>>2]|2;c[b>>2]=j;Oua(s+284|0);Oua(s+264|0);i=s;return}function CCa(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+304|0;p=OBa(c[f+4>>2]|0)|0;Vwa(s+264|0,f,s+160|0,s+280|0);c[s+284>>2]=0;c[s+288>>2]=0;c[s+292>>2]=0;Rua(s+284|0,10);if(!(a[s+284>>0]&1)){l=s+285|0;m=s+292|0;j=s+285|0}else{l=s+285|0;m=s+292|0;j=c[s+292>>2]|0}c[s+300>>2]=j;c[s+276>>2]=s;c[s+296>>2]=0;o=c[s+280>>2]|0;while(1){if(!d){k=1;n=0}else{f=c[d+12>>2]|0;if((f|0)==(c[d+16>>2]|0))f=Tc[c[(c[d>>2]|0)+36>>2]&127](d)|0;else f=c[f>>2]|0;n=(f|0)==-1;k=n?1:0;n=n?0:d}if(e){f=c[e+12>>2]|0;if((f|0)==(c[e+16>>2]|0))f=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else f=c[f>>2]|0;if((f|0)!=-1){if(!k)break}else r=15}else r=15;if((r|0)==15){r=0;if(k){e=0;break}else e=0}f=a[s+284>>0]|0;if(!(f&1))d=(f&255)>>>1;else d=c[s+288>>2]|0;if((c[s+300>>2]|0)==(j+d|0)){if(!(f&1))d=(f&255)>>>1;else d=c[s+288>>2]|0;Rua(s+284|0,d<<1);if(!(a[s+284>>0]&1))f=10;else f=(c[s+284>>2]&-2)+-1|0;Rua(s+284|0,f);if(!(a[s+284>>0]&1))j=l;else j=c[m>>2]|0;c[s+300>>2]=j+d}k=n+12|0;f=c[k>>2]|0;d=n+16|0;if((f|0)==(c[d>>2]|0))f=Tc[c[(c[n>>2]|0)+36>>2]&127](n)|0;else f=c[f>>2]|0;if(Rwa(f,p,j,s+300|0,s+296|0,o,s+264|0,s,s+276|0,s+160|0)|0)break;f=c[k>>2]|0;if((f|0)==(c[d>>2]|0)){Tc[c[(c[n>>2]|0)+40>>2]&127](n)|0;d=n;continue}else{c[k>>2]=f+4;d=n;continue}}f=a[s+264>>0]|0;if(!(f&1))f=(f&255)>>>1;else f=c[s+268>>2]|0;if((f|0)!=0?(q=c[s+276>>2]|0,(q-s|0)<160):0){o=c[s+296>>2]|0;c[s+276>>2]=q+4;c[q>>2]=o}q=$Da(j,c[s+300>>2]|0,g,p)|0;c[h>>2]=q;c[h+4>>2]=F;Aza(s+264|0,s,c[s+276>>2]|0,g);if(!n){j=0;f=1}else{d=c[n+12>>2]|0;if((d|0)==(c[n+16>>2]|0))d=Tc[c[(c[n>>2]|0)+36>>2]&127](n)|0;else d=c[d>>2]|0;f=(d|0)==-1;j=f?0:n;f=f?1:0}if(e){d=c[e+12>>2]|0;if((d|0)==(c[e+16>>2]|0))d=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else d=c[d>>2]|0;if((d|0)!=-1){if(!f)r=54}else r=52}else r=52;if((r|0)==52?f:0)r=54;if((r|0)==54)c[g>>2]=c[g>>2]|2;c[b>>2]=j;Oua(s+284|0);Oua(s+264|0);i=s;return}function DCa(b,d,e,f,h,j){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+352|0;Wwa(t+8|0,f,t+208|0,t+184|0,t+4|0);c[t+196>>2]=0;c[t+200>>2]=0;c[t+204>>2]=0;Rua(t+196|0,10);if(!(a[t+196>>0]&1)){m=t+197|0;n=t+204|0;k=t+197|0}else{m=t+197|0;n=t+204|0;k=c[t+204>>2]|0}c[t>>2]=k;c[t+192>>2]=t+24;c[t+188>>2]=0;a[t+337>>0]=1;a[t+336>>0]=69;p=c[t+184>>2]|0;q=c[t+4>>2]|0;while(1){if(!d){l=1;o=0}else{f=c[d+12>>2]|0;if((f|0)==(c[d+16>>2]|0))f=Tc[c[(c[d>>2]|0)+36>>2]&127](d)|0;else f=c[f>>2]|0;o=(f|0)==-1;l=o?1:0;o=o?0:d}if(e){f=c[e+12>>2]|0;if((f|0)==(c[e+16>>2]|0))f=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else f=c[f>>2]|0;if((f|0)!=-1){if(!l)break}else s=15}else s=15;if((s|0)==15){s=0;if(l){e=0;break}else e=0}f=a[t+196>>0]|0;if(!(f&1))d=(f&255)>>>1;else d=c[t+200>>2]|0;if((c[t>>2]|0)==(k+d|0)){if(!(f&1))d=(f&255)>>>1;else d=c[t+200>>2]|0;Rua(t+196|0,d<<1);if(!(a[t+196>>0]&1))f=10;else f=(c[t+196>>2]&-2)+-1|0;Rua(t+196|0,f);if(!(a[t+196>>0]&1))k=m;else k=c[n>>2]|0;c[t>>2]=k+d}l=o+12|0;f=c[l>>2]|0;d=o+16|0;if((f|0)==(c[d>>2]|0))f=Tc[c[(c[o>>2]|0)+36>>2]&127](o)|0;else f=c[f>>2]|0;if(Xwa(f,t+337|0,t+336|0,k,t,p,q,t+8|0,t+24|0,t+192|0,t+188|0,t+208|0)|0)break;f=c[l>>2]|0;if((f|0)==(c[d>>2]|0)){Tc[c[(c[o>>2]|0)+40>>2]&127](o)|0;d=o;continue}else{c[l>>2]=f+4;d=o;continue}}f=a[t+8>>0]|0;if(!(f&1))f=(f&255)>>>1;else f=c[t+12>>2]|0;if(!((f|0)==0|(a[t+337>>0]|0)==0)?(r=c[t+192>>2]|0,(r-(t+24)|0)<160):0){q=c[t+188>>2]|0;c[t+192>>2]=r+4;c[r>>2]=q}g[j>>2]=+aEa(k,c[t>>2]|0,h);Aza(t+8|0,t+24|0,c[t+192>>2]|0,h);if(!o){k=0;f=1}else{d=c[o+12>>2]|0;if((d|0)==(c[o+16>>2]|0))d=Tc[c[(c[o>>2]|0)+36>>2]&127](o)|0;else d=c[d>>2]|0;f=(d|0)==-1;k=f?0:o;f=f?1:0}if(e){d=c[e+12>>2]|0;if((d|0)==(c[e+16>>2]|0))d=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else d=c[d>>2]|0;if((d|0)!=-1){if(!f)s=54}else s=52}else s=52;if((s|0)==52?f:0)s=54;if((s|0)==54)c[h>>2]=c[h>>2]|2;c[b>>2]=k;Oua(t+196|0);Oua(t+8|0);i=t;return}function ECa(b,d,e,f,g,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+352|0;Wwa(t+8|0,f,t+208|0,t+184|0,t+4|0);c[t+196>>2]=0;c[t+200>>2]=0;c[t+204>>2]=0;Rua(t+196|0,10);if(!(a[t+196>>0]&1)){m=t+197|0;n=t+204|0;k=t+197|0}else{m=t+197|0;n=t+204|0;k=c[t+204>>2]|0}c[t>>2]=k;c[t+192>>2]=t+24;c[t+188>>2]=0;a[t+337>>0]=1;a[t+336>>0]=69;p=c[t+184>>2]|0;q=c[t+4>>2]|0;while(1){if(!d){l=1;o=0}else{f=c[d+12>>2]|0;if((f|0)==(c[d+16>>2]|0))f=Tc[c[(c[d>>2]|0)+36>>2]&127](d)|0;else f=c[f>>2]|0;o=(f|0)==-1;l=o?1:0;o=o?0:d}if(e){f=c[e+12>>2]|0;if((f|0)==(c[e+16>>2]|0))f=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else f=c[f>>2]|0;if((f|0)!=-1){if(!l)break}else s=15}else s=15;if((s|0)==15){s=0;if(l){e=0;break}else e=0}f=a[t+196>>0]|0;if(!(f&1))d=(f&255)>>>1;else d=c[t+200>>2]|0;if((c[t>>2]|0)==(k+d|0)){if(!(f&1))d=(f&255)>>>1;else d=c[t+200>>2]|0;Rua(t+196|0,d<<1);if(!(a[t+196>>0]&1))f=10;else f=(c[t+196>>2]&-2)+-1|0;Rua(t+196|0,f);if(!(a[t+196>>0]&1))k=m;else k=c[n>>2]|0;c[t>>2]=k+d}l=o+12|0;f=c[l>>2]|0;d=o+16|0;if((f|0)==(c[d>>2]|0))f=Tc[c[(c[o>>2]|0)+36>>2]&127](o)|0;else f=c[f>>2]|0;if(Xwa(f,t+337|0,t+336|0,k,t,p,q,t+8|0,t+24|0,t+192|0,t+188|0,t+208|0)|0)break;f=c[l>>2]|0;if((f|0)==(c[d>>2]|0)){Tc[c[(c[o>>2]|0)+40>>2]&127](o)|0;d=o;continue}else{c[l>>2]=f+4;d=o;continue}}f=a[t+8>>0]|0;if(!(f&1))f=(f&255)>>>1;else f=c[t+12>>2]|0;if(!((f|0)==0|(a[t+337>>0]|0)==0)?(r=c[t+192>>2]|0,(r-(t+24)|0)<160):0){q=c[t+188>>2]|0;c[t+192>>2]=r+4;c[r>>2]=q}h[j>>3]=+bEa(k,c[t>>2]|0,g);Aza(t+8|0,t+24|0,c[t+192>>2]|0,g);if(!o){k=0;f=1}else{d=c[o+12>>2]|0;if((d|0)==(c[o+16>>2]|0))d=Tc[c[(c[o>>2]|0)+36>>2]&127](o)|0;else d=c[d>>2]|0;f=(d|0)==-1;k=f?0:o;f=f?1:0}if(e){d=c[e+12>>2]|0;if((d|0)==(c[e+16>>2]|0))d=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else d=c[d>>2]|0;if((d|0)!=-1){if(!f)s=54}else s=52}else s=52;if((s|0)==52?f:0)s=54;if((s|0)==54)c[g>>2]=c[g>>2]|2;c[b>>2]=k;Oua(t+196|0);Oua(t+8|0);i=t;return}function FCa(b,d,e,f,g,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+352|0;Wwa(t+8|0,f,t+208|0,t+184|0,t+4|0);c[t+196>>2]=0;c[t+200>>2]=0;c[t+204>>2]=0;Rua(t+196|0,10);if(!(a[t+196>>0]&1)){m=t+197|0;n=t+204|0;k=t+197|0}else{m=t+197|0;n=t+204|0;k=c[t+204>>2]|0}c[t>>2]=k;c[t+192>>2]=t+24;c[t+188>>2]=0;a[t+337>>0]=1;a[t+336>>0]=69;p=c[t+184>>2]|0;q=c[t+4>>2]|0;while(1){if(!d){l=1;o=0}else{f=c[d+12>>2]|0;if((f|0)==(c[d+16>>2]|0))f=Tc[c[(c[d>>2]|0)+36>>2]&127](d)|0;else f=c[f>>2]|0;o=(f|0)==-1;l=o?1:0;o=o?0:d}if(e){f=c[e+12>>2]|0;if((f|0)==(c[e+16>>2]|0))f=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else f=c[f>>2]|0;if((f|0)!=-1){if(!l)break}else s=15}else s=15;if((s|0)==15){s=0;if(l){e=0;break}else e=0}f=a[t+196>>0]|0;if(!(f&1))d=(f&255)>>>1;else d=c[t+200>>2]|0;if((c[t>>2]|0)==(k+d|0)){if(!(f&1))d=(f&255)>>>1;else d=c[t+200>>2]|0;Rua(t+196|0,d<<1);if(!(a[t+196>>0]&1))f=10;else f=(c[t+196>>2]&-2)+-1|0;Rua(t+196|0,f);if(!(a[t+196>>0]&1))k=m;else k=c[n>>2]|0;c[t>>2]=k+d}l=o+12|0;f=c[l>>2]|0;d=o+16|0;if((f|0)==(c[d>>2]|0))f=Tc[c[(c[o>>2]|0)+36>>2]&127](o)|0;else f=c[f>>2]|0;if(Xwa(f,t+337|0,t+336|0,k,t,p,q,t+8|0,t+24|0,t+192|0,t+188|0,t+208|0)|0)break;f=c[l>>2]|0;if((f|0)==(c[d>>2]|0)){Tc[c[(c[o>>2]|0)+40>>2]&127](o)|0;d=o;continue}else{c[l>>2]=f+4;d=o;continue}}f=a[t+8>>0]|0;if(!(f&1))f=(f&255)>>>1;else f=c[t+12>>2]|0;if(!((f|0)==0|(a[t+337>>0]|0)==0)?(r=c[t+192>>2]|0,(r-(t+24)|0)<160):0){q=c[t+188>>2]|0;c[t+192>>2]=r+4;c[r>>2]=q}h[j>>3]=+cEa(k,c[t>>2]|0,g);Aza(t+8|0,t+24|0,c[t+192>>2]|0,g);if(!o){k=0;f=1}else{d=c[o+12>>2]|0;if((d|0)==(c[o+16>>2]|0))d=Tc[c[(c[o>>2]|0)+36>>2]&127](o)|0;else d=c[d>>2]|0;f=(d|0)==-1;k=f?0:o;f=f?1:0}if(e){d=c[e+12>>2]|0;if((d|0)==(c[e+16>>2]|0))d=Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0;else d=c[d>>2]|0;if((d|0)!=-1){if(!f)s=54}else s=52}else s=52;if((s|0)==52?f:0)s=54;if((s|0)==54)c[g>>2]=c[g>>2]|2;c[b>>2]=k;Oua(t+196|0);Oua(t+8|0);i=t;return}function GCa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+16|0;c[g>>2]=f;d=Tb(d|0)|0;f=zGa(a,b,e,g)|0;if(d)Tb(d|0)|0;i=g;return f|0}function HCa(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0;l=i;i=i+16|0;a:do if(!d)c[b>>2]=0;else{k=c[h+12>>2]|0;k=(k|0)>(g-e|0)?k-(g-e)|0:0;if((f-e|0)>0?(Vc[c[(c[d>>2]|0)+48>>2]&63](d,e,f-e|0)|0)!=(f-e|0):0){c[b>>2]=0;break}do if((k|0)>0){Mua(l,k,j);if(!(a[l>>0]&1))j=l+1|0;else j=c[l+8>>2]|0;if((Vc[c[(c[d>>2]|0)+48>>2]&63](d,j,k)|0)==(k|0)){Oua(l);break}else{c[b>>2]=0;Oua(l);break a}}while(0);if((g-f|0)>0?(Vc[c[(c[d>>2]|0)+48>>2]&63](d,f,g-f|0)|0)!=(g-f|0):0){c[b>>2]=0;break}c[h+12>>2]=0;c[b>>2]=d}while(0);i=l;return}function ICa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;c[f>>2]=e;b=Tb(b|0)|0;e=AEa(a,d,f)|0;if(b)Tb(b|0)|0;i=f;return e|0}function JCa(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0;l=i;i=i+16|0;a:do if(!d)c[b>>2]=0;else{k=c[h+12>>2]|0;k=(k|0)>(g-e>>2|0)?k-(g-e>>2)|0:0;if((f-e|0)>0?(Vc[c[(c[d>>2]|0)+48>>2]&63](d,e,f-e>>2)|0)!=(f-e>>2|0):0){c[b>>2]=0;break}do if((k|0)>0){Yua(l,k,j);if(!(a[l>>0]&1))j=l+4|0;else j=c[l+8>>2]|0;if((Vc[c[(c[d>>2]|0)+48>>2]&63](d,j,k)|0)==(k|0)){_ua(l);break}else{c[b>>2]=0;_ua(l);break a}}while(0);if((g-f|0)>0?(Vc[c[(c[d>>2]|0)+48>>2]&63](d,f,g-f>>2)|0)!=(g-f>>2|0):0){c[b>>2]=0;break}c[h+12>>2]=0;c[b>>2]=d}while(0);i=l;return}function KCa(a,e,f,g,h){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;i=c[a>>2]|0;do if(i){if((c[i+12>>2]|0)==(c[i+16>>2]|0))if((Tc[c[(c[i>>2]|0)+36>>2]&127](i)|0)==-1){c[a>>2]=0;i=0;break}else{i=c[a>>2]|0;break}}else i=0;while(0);i=(i|0)==0;do if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0)?(Tc[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1:0){n=10;break}if(i){k=e;n=12}else n=11}else n=10;while(0);if((n|0)==10)if(i)n=11;else{k=0;n=12}a:do if((n|0)==11){c[f>>2]=c[f>>2]|6;e=0}else if((n|0)==12){i=c[a>>2]|0;e=c[i+12>>2]|0;if((e|0)==(c[i+16>>2]|0))i=Tc[c[(c[i>>2]|0)+36>>2]&127](i)|0;else i=d[e>>0]|0;e=i&255;if(e<<24>>24>-1?(b[(c[g+8>>2]|0)+(i<<24>>24<<1)>>1]&2048)!=0:0){i=(Vc[c[(c[g>>2]|0)+36>>2]&63](g,e,0)|0)<<24>>24;e=c[a>>2]|0;j=c[e+12>>2]|0;if((j|0)==(c[e+16>>2]|0)){Tc[c[(c[e>>2]|0)+40>>2]&127](e)|0;j=h;h=k}else{c[e+12>>2]=j+1;j=h;h=k}while(1){e=i+-48|0;l=j+-1|0;j=c[a>>2]|0;do if(j){if((c[j+12>>2]|0)==(c[j+16>>2]|0))if((Tc[c[(c[j>>2]|0)+36>>2]&127](j)|0)==-1){c[a>>2]=0;j=0;break}else{j=c[a>>2]|0;break}}else j=0;while(0);j=(j|0)==0;if(k)if((c[k+12>>2]|0)==(c[k+16>>2]|0)){k=(Tc[c[(c[k>>2]|0)+36>>2]&127](k)|0)==-1;m=k?0:h;k=k?0:h}else m=h;else{m=h;k=0}i=c[a>>2]|0;if(!((j^(k|0)==0)&(l|0)>0))break;j=c[i+12>>2]|0;if((j|0)==(c[i+16>>2]|0))j=Tc[c[(c[i>>2]|0)+36>>2]&127](i)|0;else j=d[j>>0]|0;i=j&255;if(i<<24>>24<=-1)break a;if(!(b[(c[g+8>>2]|0)+(j<<24>>24<<1)>>1]&2048))break a;i=((Vc[c[(c[g>>2]|0)+36>>2]&63](g,i,0)|0)<<24>>24)+(e*10|0)|0;j=c[a>>2]|0;e=c[j+12>>2]|0;if((e|0)==(c[j+16>>2]|0)){Tc[c[(c[j>>2]|0)+40>>2]&127](j)|0;j=l;h=m;continue}else{c[j+12>>2]=e+1;j=l;h=m;continue}}do if(i){if((c[i+12>>2]|0)==(c[i+16>>2]|0))if((Tc[c[(c[i>>2]|0)+36>>2]&127](i)|0)==-1){c[a>>2]=0;i=0;break}else{i=c[a>>2]|0;break}}else i=0;while(0);i=(i|0)==0;do if(m){if((c[m+12>>2]|0)==(c[m+16>>2]|0)?(Tc[c[(c[m>>2]|0)+36>>2]&127](m)|0)==-1:0){n=47;break}if(i)break a}else n=47;while(0);if((n|0)==47?!i:0)break;c[f>>2]=c[f>>2]|2;break}c[f>>2]=c[f>>2]|4;e=0}while(0);return e|0}function LCa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=c[a>>2]|0;do if(h){i=c[h+12>>2]|0;if((i|0)==(c[h+16>>2]|0))h=Tc[c[(c[h>>2]|0)+36>>2]&127](h)|0;else h=c[i>>2]|0;if((h|0)==-1){c[a>>2]=0;g=1;break}else{g=(c[a>>2]|0)==0;break}}else g=1;while(0);if(b){i=c[b+12>>2]|0;if((i|0)==(c[b+16>>2]|0))h=Tc[c[(c[b>>2]|0)+36>>2]&127](b)|0;else h=c[i>>2]|0;if((h|0)!=-1)if(g)m=16;else m=15;else m=13}else m=13;if((m|0)==13)if(g)m=15;else{b=0;m=16}a:do if((m|0)==15){c[d>>2]=c[d>>2]|6;g=0}else if((m|0)==16){i=c[a>>2]|0;h=c[i+12>>2]|0;if((h|0)==(c[i+16>>2]|0))h=Tc[c[(c[i>>2]|0)+36>>2]&127](i)|0;else h=c[h>>2]|0;if(!(Vc[c[(c[e>>2]|0)+12>>2]&63](e,2048,h)|0)){c[d>>2]=c[d>>2]|4;g=0;break}i=(Vc[c[(c[e>>2]|0)+52>>2]&63](e,h,0)|0)<<24>>24;h=c[a>>2]|0;g=c[h+12>>2]|0;if((g|0)==(c[h+16>>2]|0)){Tc[c[(c[h>>2]|0)+40>>2]&127](h)|0;h=f;j=b}else{c[h+12>>2]=g+4;h=f;j=b}while(1){g=i+-48|0;l=h+-1|0;i=c[a>>2]|0;do if(i){h=c[i+12>>2]|0;if((h|0)==(c[i+16>>2]|0))i=Tc[c[(c[i>>2]|0)+36>>2]&127](i)|0;else i=c[h>>2]|0;if((i|0)==-1){c[a>>2]=0;h=1;break}else{h=(c[a>>2]|0)==0;break}}else h=1;while(0);if(!b){k=j;f=0;i=1}else{i=c[b+12>>2]|0;if((i|0)==(c[b+16>>2]|0))i=Tc[c[(c[b>>2]|0)+36>>2]&127](b)|0;else i=c[i>>2]|0;i=(i|0)==-1;k=i?0:j;f=i?0:j;i=i?1:(j|0)==0}b=c[a>>2]|0;if(!((h^i)&(l|0)>0))break;i=c[b+12>>2]|0;if((i|0)==(c[b+16>>2]|0))i=Tc[c[(c[b>>2]|0)+36>>2]&127](b)|0;else i=c[i>>2]|0;if(!(Vc[c[(c[e>>2]|0)+12>>2]&63](e,2048,i)|0))break a;i=((Vc[c[(c[e>>2]|0)+52>>2]&63](e,i,0)|0)<<24>>24)+(g*10|0)|0;h=c[a>>2]|0;g=c[h+12>>2]|0;if((g|0)==(c[h+16>>2]|0)){Tc[c[(c[h>>2]|0)+40>>2]&127](h)|0;h=l;j=k;b=f;continue}else{c[h+12>>2]=g+4;h=l;j=k;b=f;continue}}do if(b){h=c[b+12>>2]|0;if((h|0)==(c[b+16>>2]|0))h=Tc[c[(c[b>>2]|0)+36>>2]&127](b)|0;else h=c[h>>2]|0;if((h|0)==-1){c[a>>2]=0;i=1;break}else{i=(c[a>>2]|0)==0;break}}else i=1;while(0);if(k){h=c[k+12>>2]|0;if((h|0)==(c[k+16>>2]|0))h=Tc[c[(c[k>>2]|0)+36>>2]&127](k)|0;else h=c[h>>2]|0;if((h|0)!=-1){if(i)break}else m=56}else m=56;if((m|0)==56?!i:0)break;c[d>>2]=c[d>>2]|2}while(0);return g|0}function MCa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=(c[a+4>>2]|0)!=254;e=c[a>>2]|0;g=(c[d>>2]|0)-e|0;g=g>>>0<2147483647?g<<1:-1;h=(c[b>>2]|0)-e|0;e=XFa(f?e:0,g)|0;if(!e)PFa();if(!f){f=c[a>>2]|0;c[a>>2]=e;if(f){Qc[c[a+4>>2]&511](f);e=c[a>>2]|0}}else c[a>>2]=e;c[a+4>>2]=256;c[b>>2]=e+h;c[d>>2]=(c[a>>2]|0)+g;return}function NCa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=(c[a+4>>2]|0)!=254;e=c[a>>2]|0;g=(c[d>>2]|0)-e|0;g=g>>>0<2147483647?g<<1:-1;h=(c[b>>2]|0)-e>>2;e=XFa(f?e:0,g)|0;if(!e)PFa();if(!f){f=c[a>>2]|0;c[a>>2]=e;if(f){Qc[c[a+4>>2]&511](f);e=c[a>>2]|0}}else c[a>>2]=e;c[a+4>>2]=256;c[b>>2]=e+(h<<2);c[d>>2]=(c[a>>2]|0)+(g>>>2<<2);return}function OCa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;f=a[b>>0]|0;if(!(f&1)){g=10;j=(f&255)>>>1}else{f=c[b>>2]|0;g=(f&-2)+-1|0;j=c[b+4>>2]|0;f=f&255}do if((e|0)!=(d|0)){if((g-j|0)>>>0<(e-d|0)>>>0){Wua(b,g,j+(e-d)-g|0,j,j,0);f=a[b>>0]|0}if(!(f&1))f=b+1|0;else f=c[b+8>>2]|0;i=e+(j-d)|0;g=d;h=f+j|0;while(1){a[h>>0]=a[g>>0]|0;g=g+1|0;if((g|0)==(e|0))break;else h=h+1|0}a[f+i>>0]=0;f=j+(e-d)|0;if(!(a[b>>0]&1)){a[b>>0]=f<<1;break}else{c[b+4>>2]=f;break}}while(0);return}function PCa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=(c[a+4>>2]|0)!=254;e=c[a>>2]|0;g=(c[d>>2]|0)-e|0;g=g>>>0<2147483647?g<<1:-1;h=(c[b>>2]|0)-e>>2;e=XFa(f?e:0,g)|0;if(!e)PFa();if(!f){f=c[a>>2]|0;c[a>>2]=e;if(f){Qc[c[a+4>>2]&511](f);e=c[a>>2]|0}}else c[a>>2]=e;c[a+4>>2]=256;c[b>>2]=e+(h<<2);c[d>>2]=(c[a>>2]|0)+(g>>>2<<2);return}function QCa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;f=a[b>>0]|0;if(!(f&1)){g=1;j=(f&255)>>>1}else{f=c[b>>2]|0;g=(f&-2)+-1|0;j=c[b+4>>2]|0;f=f&255}do if(e-d>>2){if((g-j|0)>>>0>2>>>0){eva(b,g,j+(e-d>>2)-g|0,j,j,0,0);f=a[b>>0]|0}if(!(f&1))h=b+4|0;else h=c[b+8>>2]|0;f=h+(j<<2)|0;if((d|0)!=(e|0)){i=j+((e+-4-d|0)>>>2)|0;g=d;while(1){c[f>>2]=c[g>>2];g=g+4|0;if((g|0)==(e|0))break;else f=f+4|0}f=h+(i+1<<2)|0}c[f>>2]=0;f=j+(e-d>>2)|0;if(!(a[b>>0]&1)){a[b>>0]=f<<1;break}else{c[b+4>>2]=f;break}}while(0);return}function RCa(b,d){b=b|0;d=d|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;a[b+128>>0]=0;if(d){dEa(b,d);eEa(b,d)}return}function SCa(a){a=a|0;eAa(a,1711408,oAa(1705e3)|0);return}function TCa(a){a=a|0;eAa(a,1711400,oAa(1705040)|0);return}function UCa(a){a=a|0;eAa(a,1711384,oAa(1706600)|0);return}function VCa(a){a=a|0;eAa(a,1711376,oAa(1706592)|0);return}function WCa(a){a=a|0;eAa(a,1711368,oAa(1706664)|0);return}function XCa(a){a=a|0;eAa(a,1711352,oAa(1706672)|0);return}function YCa(a){a=a|0;eAa(a,1711344,oAa(1706728)|0);return}function ZCa(a){a=a|0;eAa(a,1711336,oAa(1706736)|0);return}function _Ca(a){a=a|0;eAa(a,1711312,oAa(1706744)|0);return}function $Ca(a){a=a|0;eAa(a,1711280,oAa(1706752)|0);return}function aDa(a){a=a|0;eAa(a,1711272,oAa(1705112)|0);return}function bDa(a){a=a|0;eAa(a,1711264,oAa(1705232)|0);return}function cDa(a){a=a|0;eAa(a,1711256,oAa(1705296)|0);return}function dDa(a){a=a|0;eAa(a,1711248,oAa(1705384)|0);return}function eDa(a){a=a|0;eAa(a,1711240,oAa(1705976)|0);return}function fDa(a){a=a|0;eAa(a,1711232,oAa(1706040)|0);return}function gDa(a){a=a|0;eAa(a,1711224,oAa(1706104)|0);return}function hDa(a){a=a|0;eAa(a,1711216,oAa(1706168)|0);return}function iDa(a){a=a|0;eAa(a,1711208,oAa(1706208)|0);return}function jDa(a){a=a|0;eAa(a,1711200,oAa(1706288)|0);return}function kDa(a){a=a|0;eAa(a,1711192,oAa(1706344)|0);return}function lDa(a){a=a|0;eAa(a,1711184,oAa(1706392)|0);return}function mDa(a){a=a|0;eAa(a,1711168,oAa(1705496)|0);return}function nDa(a){a=a|0;eAa(a,1711152,oAa(1705648)|0);return}function oDa(a){a=a|0;eAa(a,1711136,oAa(1705880)|0);return}function pDa(a){a=a|0;eAa(a,1711120,oAa(1705912)|0);return}function qDa(a){a=a|0;eAa(a,1711112,oAa(1706432)|0);return}function rDa(a){a=a|0;eAa(a,1711104,oAa(1706472)|0);return}function sDa(b){b=b|0;var d=0,e=0;d=c[b>>2]|0;do if(d){e=c[b+4>>2]|0;if((e|0)!=(d|0))c[b+4>>2]=e+(~((e+-4-d|0)>>>2)<<2);if((b+16|0)==(d|0)){a[b+128>>0]=0;break}else{YEa(d);break}}while(0);return}function tDa(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+4>>2]|0;e=c[a>>2]|0;if(d-e>>2>>>0>=b>>>0){if(d-e>>2>>>0>b>>>0?(d|0)!=(e+(b<<2)|0):0)c[a+4>>2]=d+(~((d+-4-(e+(b<<2))|0)>>>2)<<2)}else fEa(a,b-(d-e>>2)|0);return}function uDa(a,b,d){a=a|0;b=b|0;d=d|0;if(b-a>>2>>>0>d>>>0)d=(c[a+(d<<2)>>2]|0)!=0;else d=0;return d|0}function vDa(a){a=a|0;var b=0,e=0;b=d[a+4>>0]|d[a+5>>0]<<8|d[a+6>>0]<<16|d[a+7>>0]<<24;e=d[a+8>>0]|d[a+9>>0]<<8|d[a+10>>0]<<16|d[a+11>>0]<<24;a=(c[a>>2]|0)+(e>>1)|0;if(e&1)b=c[(c[a>>2]|0)+b>>2]|0;Qc[b&511](a);return}function wDa(d,f,g,h,i,j,k,l){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0;c[g>>2]=d;c[j>>2]=h;if(l&2)if((i-h|0)<3)l=1;else{c[j>>2]=h+1;a[h>>0]=-17;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=-69;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=-65;m=4}else m=4;a:do if((m|0)==4){l=c[g>>2]|0;if(l>>>0>>0)while(1){m=b[l>>1]|0;if((m&65535)>>>0>k>>>0){l=2;break a}do if((m&65535)<128){l=c[j>>2]|0;if((i-l|0)<1){l=1;break a}c[j>>2]=l+1;a[l>>0]=m}else{if((m&65535)<2048){l=c[j>>2]|0;if((i-l|0)<2){l=1;break a}c[j>>2]=l+1;a[l>>0]=(m&65535)>>>6|192;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=m&63|128;break}if((m&65535)<55296){l=c[j>>2]|0;if((i-l|0)<3){l=1;break a}c[j>>2]=l+1;a[l>>0]=(m&65535)>>>12|224;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=(m&65535)>>>6&63|128;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=m&63|128;break}if((m&65535)>=56320){if((m&65535)<57344){l=2;break a}l=c[j>>2]|0;if((i-l|0)<3){l=1;break a}c[j>>2]=l+1;a[l>>0]=(m&65535)>>>12|224;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=(m&65535)>>>6&63|128;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=m&63|128;break}if((f-l|0)<4){l=1;break a}l=l+2|0;d=e[l>>1]|0;if((d&64512|0)!=56320){l=2;break a}if((i-(c[j>>2]|0)|0)<4){l=1;break a}if((((m&960)<<10)+65536|(m&65535)<<10&64512|d&1023)>>>0>k>>>0){l=2;break a}c[g>>2]=l;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=(((m&960)>>>6)+1|0)>>>2|240;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=(m&65535)>>>2&15|((m&960)>>>6)+1<<4&48|128;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=(m&65535)<<4&48|d>>>6&15|128;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=d&63|128}while(0);l=(c[g>>2]|0)+2|0;c[g>>2]=l;if(l>>>0>=f>>>0){l=0;break}}else l=0}while(0);return l|0}function xDa(e,f,g,h,i,j,k,l){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;c[g>>2]=e;c[j>>2]=h;e=c[g>>2]|0;if(((((l&4|0)!=0?(f-e|0)>2:0)?(a[e>>0]|0)==-17:0)?(a[e+1>>0]|0)==-69:0)?(a[e+2>>0]|0)==-65:0){c[g>>2]=e+3;e=e+3|0}a:do if(e>>>0>>0){o=c[j>>2]|0;while(1){if(o>>>0>=i>>>0){p=40;break a}n=a[e>>0]|0;if((n&255)>>>0>k>>>0){e=2;break a}do if(n<<24>>24>-1){b[o>>1]=n&255;c[g>>2]=e+1}else{if((n&255)<194){e=2;break a}if((n&255)<224){if((f-e|0)<2){e=1;break a}h=d[e+1>>0]|0;if((h&192|0)!=128){e=2;break a}if((h&63|(n&255)<<6&1984)>>>0>k>>>0){e=2;break a}b[o>>1]=h&63|(n&255)<<6&1984;c[g>>2]=e+2;break}if((n&255)<240){if((f-e|0)<3){e=1;break a}l=a[e+1>>0]|0;h=a[e+2>>0]|0;if((n&255|0)==237){if((l&-32)<<24>>24!=-128){e=2;break a}}else if((n&255|0)==224){if((l&-32)<<24>>24!=-96){e=2;break a}}else if((l&-64)<<24>>24!=-128){e=2;break a}if((h&192|0)!=128){e=2;break a}if((((l&255)<<6&4032|(n&255)<<12|h&63)&65535)>>>0>k>>>0){e=2;break a}b[o>>1]=(l&255)<<6&4032|(n&255)<<12|h&63;c[g>>2]=e+3;break}if((n&255)>=245){e=2;break a}if((f-e|0)<4){e=1;break a}h=a[e+1>>0]|0;m=a[e+2>>0]|0;l=a[e+3>>0]|0;if((n&255|0)==244){if((h&-16)<<24>>24!=-128){e=2;break a}}else if((n&255|0)==240){if((h+112&255)>=48){e=2;break a}}else if((h&-64)<<24>>24!=-128){e=2;break a}if((m&192|0)!=128){e=2;break a}if((l&192|0)!=128){e=2;break a}if((i-o|0)<4){e=1;break a}if(((h&255)<<12&258048|(n&7)<<18|(m&255)<<6&4032|l&63)>>>0>k>>>0){e=2;break a}b[o>>1]=(h&255)<<2&60|(m&255)>>>4&3|(((h&255)>>>4&3|(n&7)<<2)<<6)+16320|55296;o=o+2|0;c[j>>2]=o;b[o>>1]=l&63|(m&255)<<6&960|56320;c[g>>2]=(c[g>>2]|0)+4}while(0);o=(c[j>>2]|0)+2|0;c[j>>2]=o;e=c[g>>2]|0;if(e>>>0>=f>>>0){p=40;break}}}else p=40;while(0);if((p|0)==40)e=e>>>0>>0&1;return e|0}function yDa(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;if((((g&4|0)!=0?(c-b|0)>2:0)?(a[b>>0]|0)==-17:0)?(a[b+1>>0]|0)==-69:0)g=(a[b+2>>0]|0)==-65?b+3|0:b;else g=b;a:do if(g>>>0>>0&(e|0)!=0){h=0;b:while(1){m=a[g>>0]|0;if((m&255)>>>0>f>>>0){h=43;break a}do if(m<<24>>24>-1)g=g+1|0;else{if((m&255)<194){h=43;break a}if((m&255)<224){if((c-g|0)<2){h=43;break a}i=d[g+1>>0]|0;if((i&192|0)!=128){h=43;break a}if((i&63|(m&255)<<6&1984)>>>0>f>>>0){h=43;break a}g=g+2|0;break}if((m&255)<240){k=g;if((c-k|0)<3){h=43;break a}i=a[g+1>>0]|0;j=a[g+2>>0]|0;if((m&255|0)==237){if((i&-32)<<24>>24!=-128){h=23;break b}}else if((m&255|0)==224){if((i&-32)<<24>>24!=-96){h=21;break b}}else if((i&-64)<<24>>24!=-128){h=25;break b}if((j&192|0)!=128){h=43;break a}if(((i&255)<<6&4032|(m&255)<<12&61440|j&63)>>>0>f>>>0){h=43;break a}g=g+3|0;break}if((m&255)>=245){h=43;break a}l=g;if((c-l|0)<4|(e-h|0)>>>0<2){h=43;break a}k=a[g+1>>0]|0;j=a[g+2>>0]|0;i=a[g+3>>0]|0;if((m&255|0)==240){if((k+112&255)>=48){h=33;break b}}else if((m&255|0)==244){if((k&-16)<<24>>24!=-128){h=35;break b}}else if((k&-64)<<24>>24!=-128){h=37;break b}if((j&192|0)!=128){h=43;break a}if((i&192|0)!=128){h=43;break a}if(((k&255)<<12&258048|(m&255)<<18&1835008|(j&255)<<6&4032|i&63)>>>0>f>>>0){h=43;break a}g=g+4|0;h=h+1|0}while(0);h=h+1|0;if(!(g>>>0>>0&h>>>0>>0)){h=43;break a}}if((h|0)==21){g=k-b|0;break}else if((h|0)==23){g=k-b|0;break}else if((h|0)==25){g=k-b|0;break}else if((h|0)==33){g=l-b|0;break}else if((h|0)==35){g=l-b|0;break}else if((h|0)==37){g=l-b|0;break}}else h=43;while(0);if((h|0)==43)g=g-b|0;return g|0}function zDa(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0;c[e>>2]=b;c[h>>2]=f;if(j&2)if((g-f|0)<3)j=1;else{c[h>>2]=f+1;a[f>>0]=-17;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=-69;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=-65;k=4}else k=4;a:do if((k|0)==4){j=c[e>>2]|0;if(j>>>0>>0)while(1){b=c[j>>2]|0;if((b&-2048|0)==55296|b>>>0>i>>>0){j=2;break a}do if(b>>>0>=128){if(b>>>0<2048){j=c[h>>2]|0;if((g-j|0)<2){j=1;break a}c[h>>2]=j+1;a[j>>0]=b>>>6|192;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=b&63|128;break}j=c[h>>2]|0;if(b>>>0<65536){if((g-j|0)<3){j=1;break a}c[h>>2]=j+1;a[j>>0]=b>>>12|224;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=b>>>6&63|128;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=b&63|128;break}else{if((g-j|0)<4){j=1;break a}c[h>>2]=j+1;a[j>>0]=b>>>18|240;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=b>>>12&63|128;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=b>>>6&63|128;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=b&63|128;break}}else{j=c[h>>2]|0;if((g-j|0)<1){j=1;break a}c[h>>2]=j+1;a[j>>0]=b}while(0);j=(c[e>>2]|0)+4|0;c[e>>2]=j;if(j>>>0>=d>>>0){j=0;break}}else j=0}while(0);return j|0}function ADa(b,e,f,g,h,i,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0;c[f>>2]=b;c[i>>2]=g;b=c[f>>2]|0;if(((((k&4|0)!=0?(e-b|0)>2:0)?(a[b>>0]|0)==-17:0)?(a[b+1>>0]|0)==-69:0)?(a[b+2>>0]|0)==-65:0){c[f>>2]=b+3;b=b+3|0}a:do if(b>>>0>>0){n=c[i>>2]|0;while(1){if(n>>>0>=h>>>0){o=39;break a}m=a[b>>0]|0;do if(m<<24>>24>-1){if((m&255)>>>0>j>>>0){b=2;break a}c[n>>2]=m&255;c[f>>2]=b+1}else{if((m&255)<194){b=2;break a}if((m&255)<224){if((e-b|0)<2){b=1;break a}g=d[b+1>>0]|0;if((g&192|0)!=128){b=2;break a}if((g&63|(m&255)<<6&1984)>>>0>j>>>0){b=2;break a}c[n>>2]=g&63|(m&255)<<6&1984;c[f>>2]=b+2;break}if((m&255)<240){if((e-b|0)<3){b=1;break a}k=a[b+1>>0]|0;g=a[b+2>>0]|0;if((m&255|0)==224){if((k&-32)<<24>>24!=-96){b=2;break a}}else if((m&255|0)==237){if((k&-32)<<24>>24!=-128){b=2;break a}}else if((k&-64)<<24>>24!=-128){b=2;break a}if((g&192|0)!=128){b=2;break a}if(((k&255)<<6&4032|(m&255)<<12&61440|g&63)>>>0>j>>>0){b=2;break a}c[n>>2]=(k&255)<<6&4032|(m&255)<<12&61440|g&63;c[f>>2]=b+3;break}if((m&255)>=245){b=2;break a}if((e-b|0)<4){b=1;break a}k=a[b+1>>0]|0;g=a[b+2>>0]|0;l=a[b+3>>0]|0;if((m&255|0)==244){if((k&-16)<<24>>24!=-128){b=2;break a}}else if((m&255|0)==240){if((k+112&255)>=48){b=2;break a}}else if((k&-64)<<24>>24!=-128){b=2;break a}if((g&192|0)!=128){b=2;break a}if((l&192|0)!=128){b=2;break a}if(((k&255)<<12&258048|(m&255)<<18&1835008|(g&255)<<6&4032|l&63)>>>0>j>>>0){b=2;break a}c[n>>2]=(k&255)<<12&258048|(m&255)<<18&1835008|(g&255)<<6&4032|l&63;c[f>>2]=b+4}while(0);n=(c[i>>2]|0)+4|0;c[i>>2]=n;b=c[f>>2]|0;if(b>>>0>=e>>>0){o=39;break}}}else o=39;while(0);if((o|0)==39)b=b>>>0>>0&1;return b|0} -function rz(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+32|0;if((b|0)!=0?(c[b+48>>2]&-5|0)!=2:0){Qz(h);Iz(a,1,b,h);Iz(a,0,b,h);Jz(a,1,b,h);Jz(a,0,b,h);uz(a,b,h);if(c[h>>2]|0){oA(c[a+12>>2]|0,b);if((c[h>>2]|0)>0){f=0;while(1){d=c[(lA(h,f)|0)>>2]|0;a:do if((c[d+72>>2]|0)==4?(c[a+24>>2]|0)>0:0){g=0;while(1){e=g+1|0;if((d|0)==(c[(lA(a+24|0,g)|0)>>2]|0))break;if((e|0)<(c[a+24>>2]|0))g=e;else break a}c[(lA(a+24|0,g)|0)>>2]=0}while(0);FY(b,d,0);f=f+1|0;if((f|0)>=(c[h>>2]|0)){d=1;break}}}else d=1}else d=0;Sz(h)}else d=0;i=h;return d|0}function sz(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;i=i+16|0;if(!d){c[e>>2]=34536;c[e+4>>2]=528;$L(33920,34752,2,1702e3,e)}f=c[d+52>>2]|0;h=c[d+72>>2]|0;g=c[d+48>>2]|0;lV(c[a+12>>2]|0,b[d+16>>1]|0,b[d+18>>1]|0,e+12|0,e+8|0);NY(d,c[a+44>>2]|0,c[(c[a+16>>2]|0)+(c[e+8>>2]<<2)>>2]|0);c[d+72>>2]=h;c[d+48>>2]=g;c[d+52>>2]=f;_X(d);wA(c[a+12>>2]|0,d);i=e;return}function tz(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;g=i;i=i+160|0;Qz(g+128|0);bA(g+24|0,c[a+12>>2]|0);cA(g+24|0);while(1){b=dA(g+24|0)|0;if(!b)break;if(((c[b+72>>2]|0)+-1|0)>>>0>=2)continue;mA(g+128|0,b)}f=c[g+128>>2]|0;if(f){yA(f,c[g+136>>2]|0,24);b=(ll((c[(lA(g+128|0,(f|0)/2|0)|0)>>2]|0)+16|0)|0)<<16>>16;if((f&1|0)==0&(f|0)>1)b=~~+lGa(+(((ll((c[(lA(g+128|0,((f|0)/2|0)+-1|0)|0)>>2]|0)+16|0)|0)<<16>>16)+b|0)*.5);if((f|0)>0){d=0;do{if(((ll((c[(lA(g+128|0,d)|0)>>2]|0)+16|0)|0)<<16>>16|0)<=(b|0)){Qz(g);if(Mz(a,c[(lA(g+128|0,d)|0)>>2]|0,g)|0){e=c[a+12>>2]|0;oA(e,c[(lA(g+128|0,d)|0)>>2]|0);c[(c[(lA(g+128|0,d)|0)>>2]|0)+72>>2]=4;if((c[g>>2]|0)>0){e=0;do{h=c[a+12>>2]|0;oA(h,c[(lA(g,e)|0)>>2]|0);h=c[(lA(g+128|0,d)|0)>>2]|0;FY(h,c[(lA(g,e)|0)>>2]|0,0);e=e+1|0}while((e|0)<(c[g>>2]|0))}sz(a,c[(lA(g+128|0,d)|0)>>2]|0)}Sz(g)}d=d+1|0}while((d|0)<(f|0))}}jA(g+108|0);Sz(g+128|0);i=g;return}function uz(d,e,f){d=d|0;e=e|0;f=f|0;var g=0.0,h=0.0,j=0;j=i;i=i+128|0;if(!((e|0)!=0&(f|0)!=0)){c[j>>2]=34536;c[j+4>>2]=481;$L(33920,34976,2,1702e3,j)}if(eA(c[e+72>>2]|0)|0){bA(j,c[d+12>>2]|0);zA(j,((b[e+20>>1]|0)+(b[e+16>>1]|0)|0)/2|0,((b[e+18>>1]|0)+(b[e+22>>1]|0)|0)/2|0,30);a[j+44>>0]=1;Qz(j+104|0);while(1){d=AA(j)|0;if(!d)break;if((d|0)==(e|0))continue;if(!(eA(c[d+72>>2]|0)|0))continue;g=+BA(b[d+16>>1]|0,b[d+20>>1]|0,b[e+16>>1]|0,b[e+20>>1]|0);h=+CA(b[d+18>>1]|0,b[d+22>>1]|0,b[e+18>>1]|0,b[e+22>>1]|0);if(!(g>=.949999988079071&h>=.949999988079071)){if((c[e+72>>2]|0)!=4)continue;if(!(g>.4000000059604645&h>0.0)?!(g>0.0&h>.5):0)continue}DA(j);mA(f,d)}Sz(j+104|0);jA(j+84|0)}i=j;return}function vz(a){a=a|0;var b=0,c=0;if(!a)return 0;else{c=CL(a+76|0)|0;b=BY(a,3)|0;return ((c|0)<10|(b|0)<3|((BY(a,2)|0)+b|0)<6)^1|0}return 0}function wz(a,b){a=+a;b=b|0;var d=0.0,e=0.0,f=0;f=i;i=i+16|0;if(!b){c[f>>2]=34536;c[f+4>>2]=1026;$L(33920,34752,2,1702e3,f)}e=+AY(b,3);e=e+ +AY(b,2);d=+AY(b,1);if(e>a){i=f;return 1}else{i=f;return e+d>.5&e>.10000000149011612|0}return 0}function xz(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0.0;l=i;i=i+112|0;if(!e){c[l>>2]=34536;c[l+4>>2]=1042;$L(33920,34752,2,1702e3,l)}bA(l,c[d+12>>2]|0);m=+(c[d+44>>2]|0);d=~~+lGa(m*.5);h=~~+lGa(m*3.0);zA(l,((b[e+20>>1]|0)+(b[e+16>>1]|0)|0)/2|0,((b[e+18>>1]|0)+(b[e+22>>1]|0)|0)/2|0,h);a[l+44>>0]=1;h=0;j=0;a:while(1){g=h&j;while(1){f=AA(l)|0;if((f|0)==0|g){k=14;break a}if((f|0)==(e|0))continue;if(EA(e+16|0,f+16|0)|0?(lv(b[e+16>>1]|0,b[e+20>>1]|0,b[f+16>>1]|0,b[f+20>>1]|0)|0)<(d|0):0){d=0;break a}if(!(eA(c[f+72>>2]|0)|0))continue;if(!(FA(e+16|0,f+16|0)|0))continue;if(GA(e+16|0,f+16|0)|0)continue;if((HA(b[e+18>>1]|0,b[e+22>>1]|0,b[f+18>>1]|0,b[f+22>>1]|0)|0)<(d|0))break}h=((b[e+16>>1]|0)-(b[f+16>>1]|0)|0)>(d|0)|h;j=((b[f+20>>1]|0)-(b[e+20>>1]|0)|0)>(d|0)|j}if((k|0)==14)if(h)d=g?3:1;else d=j?2:0;jA(l+84|0);i=l;return d|0}function yz(a,d){a=a|0;d=d|0;var e=0,f=0,h=0,j=0;e=i;i=i+16|0;h=up(a)|0;j=b[d>>1]|0;h=h-(b[d+6>>1]|0)|0;f=(kl(d)|0)<<16>>16;d=Fl(j,h,f,(ll(d)|0)<<16>>16)|0;c[e+8>>2]=d;a=Dq(a,d)|0;c[e+4>>2]=a;xq(a,e);cp(e+4|0);Kl(e+8|0);i=e;return +(+g[e>>2])}function zz(a,b,d){a=a|0;b=+b;d=d|0;var e=0.0,f=0,g=0;g=i;i=i+32|0;if(!d){c[g>>2]=34536;c[g+4>>2]=647;$L(33920,34752,2,1702e3,g)}bk(g+8|0);Cz(d,g+8|0);d=c[g+8>>2]|0;if((d|0)>0){f=0;e=0.0;do{d=Dk(g+8|0,f)|0;if(+yz(c[(c[a+8>>2]|0)+10280>>2]|0,d)>2]|0}while((f|0)<(d|0))}else e=0.0;dk(g+8|0);i=g;return e/+(d|0)>=.30000001192092896|0}function Az(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=c[b>>2]|0;a:do if(e){h=~~+lGa(+(c[a+44>>2]|0)*.03);g=IA(e,c[b+8>>2]|0,d)|0;if((g|0)>-1){a=0;f=g;while(1){e=d-(c[(Ik(b,f)|0)>>2]|0)|0;if((((e|0)>-1?e:0-e|0)|0)>=(h|0))break;a=a+1|0;if((f|0)>0)f=f+-1|0;else break}e=c[b>>2]|0}else a=0;if((g+1|0)<(e|0)){f=a;e=g+1|0;while(1){a=f+1|0;if(((c[(Ik(b,e)|0)>>2]|0)-d|0)>=(h|0)){a=f;break a}e=e+1|0;if((e|0)>=(c[b>>2]|0))break;else f=a}}}else a=0;while(0);return a|0}function Bz(a,d,e,f){a=a|0;d=d|0;e=+e;f=f|0;var g=0;g=i;i=i+16|0;if(!f){c[g>>2]=34536;c[g+4>>2]=761;$L(33920,34752,2,1702e3,g)}if((c[d>>2]|0)!=0?(Az(a,d,b[f+16>>1]|0)|0)>0:0)d=0;else d=!(+yz(c[(c[a+8>>2]|0)+10280>>2]|0,f+16|0)>e);i=g;return d|0}function Cz(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,j=0;j=i;i=i+64|0;if(!((a|0)!=0&(d|0)!=0)){c[j+24>>2]=34536;c[j+28>>2]=719;$L(33920,35016,2,1702e3,j+24|0)}dk(d);g=c[a+44>>2]|0;if(g){b[j+16>>1]=32767;b[j+18>>1]=32767;b[j+20>>1]=-32767;b[j+22>>1]=-32767;fA(j+32|0,a+76|0);gA(j+32|0);a=-2147483648;while(1){if((hA(j+32|0)|0)<<24>>24)break;f=iA(j+32|0)|0;do if((a|0)!=-2147483648)if(+((b[f+8>>1]|0)-a|0)>+(g|0)*3.0){h=c[j+20>>2]|0;c[j+8>>2]=c[j+16>>2];c[j+12>>2]=h;gv(d,j+8|0);h=9;break}else{bja(j+16|0,f+8|0);break}else h=9;while(0);if((h|0)==9){h=0;a=e[f+12>>1]|e[f+14>>1]<<16;c[j+16>>2]=e[f+8>>1]|e[f+10>>1]<<16;c[j+20>>2]=a;a=-2147483648}f=b[f+12>>1]|0;DL(j+32|0)|0;a=(a|0)<(f|0)?f:a}if((a|0)!=-2147483648){h=c[j+20>>2]|0;c[j>>2]=c[j+16>>2];c[j+4>>2]=h;gv(d,j)}}i=j;return}function Dz(a){a=a|0;var d=0,e=0;e=i;i=i+112|0;bA(e,c[a+12>>2]|0);cA(e);d=c[a+20>>2]|0;if(d)YEa(d);d=WEa(8)|0;b[d>>1]=32767;b[d+2>>1]=32767;b[d+4>>1]=-32767;b[d+6>>1]=-32767;c[a+20>>2]=d;while(1){d=dA(e)|0;if(!d)break;bja(c[a+20>>2]|0,d+16|0)}jA(e+84|0);i=e;return}function Ez(d){d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0.0,q=0;o=i;i=i+128|0;if(!(c[d+20>>2]|0)){c[o>>2]=34536;c[o+4>>2]=824;$L(33920,35040,2,1702e3,o)}Qz(o+104|0);p=+(c[(c[d+8>>2]|0)+10296>>2]|0);l=ok(p*.5)|0;h=~~+lGa(p);bA(o,c[d+12>>2]|0);a[o+44>>0]=1;m=c[d+20>>2]|0;j=b[m>>1]|0;j=(((kl(m)|0)<<16>>16|0)/2|0)+(j<<16>>16)|0;if((c[d+24>>2]|0)>0){m=0;do{k=c[(lA(d+24|0,m)|0)>>2]|0;e=b[k+16>>1]|0;q=c[d+20>>2]|0;f=e-(b[q>>1]|0)|0;g=b[k+20>>1]|0;do if(!((f|0)<(l|0)?(f+l|0)<((b[q+4>>1]|0)-g|0):0))if((f|0)>(j|0)){JA(o,e,b[k+22>>1]|0,b[k+18>>1]|0);e=1;n=9;break}else{mA(o+104|0,k);break}else{JA(o,g,b[k+22>>1]|0,b[k+18>>1]|0);e=0;n=9}while(0);do if((n|0)==9){n=0;while(1){g=KA(o,e)|0;if(!g){n=15;break}f=c[g+72>>2]|0;if(!(eA(f)|0))continue;if((lv(b[k+16>>1]|0,b[k+20>>1]|0,b[g+16>>1]|0,b[g+20>>1]|0)|0)>(h|0))continue;if(!(EA(k+16|0,g+16|0)|0))continue;if(!(vx(k+16|0,g+16|0)|0))break}if((n|0)==15){n=0;c[k+72>>2]=5;break}q=kl(g+16|0)|0;if(q<<16>>16<=(kl(k+16|0)|0)<<16>>16|(f|0)==4){mA(o+104|0,k);break}else{c[k+72>>2]=5;break}}while(0);m=m+1|0}while((m|0)<(c[d+24>>2]|0))}nA(d+24|0,o+104|0);jA(o+84|0);Sz(o+104|0);i=o;return}function Fz(a){a=a|0;var d=0,e=0,f=0,g=0;g=i;i=i+128|0;bA(g+24|0,a);cA(g+24|0);Ek(g);d=0;a:while(1){do{e=dA(g+24|0)|0;if(!e)break a}while(!(Zj(c[e+72>>2]|0)|0));if(!d){d=e;continue}f=d+16|0;if(!(vx(e+16|0,f)|0)){d=e;continue}if(GA(e+16|0,f)|0){d=e;continue}a=HA(b[e+18>>1]|0,b[e+22>>1]|0,b[d+18>>1]|0,b[d+22>>1]|0)|0;d=ll(e+16|0)|0;f=ll(f)|0;if((a|0)>=((d<<16>>16>f<<16>>16?f:d)<<16>>16|0)){d=e;continue}zv(g,a);d=e}a=c[g>>2]|0;if((a|0)<8)a=-1;else{$z(a,c[g+8>>2]|0);d=0;e=0;do{e=(c[(Ik(g,d)|0)>>2]|0)+e|0;d=d+1|0}while((d|0)<((a|0)/2|0|0));a=(e|0)/(d|0)|0}Jk(g);jA(g+108|0);i=g;return a|0}function Gz(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+32|0;e=c[a+24>>2]|0;if(e){f=c[a+32>>2]|0;if(b)yA(e,f,25);else yA(e,f,26);Qz(g);if((c[a+24>>2]|0)>0){e=0;do{f=c[(lA(a+24|0,e)|0)>>2]|0;if(Hz(a,b^1,d,f)|0)c[f+72>>2]=5;else mA(g,f);e=e+1|0}while((e|0)<(c[a+24>>2]|0))}nA(a+24|0,g);Sz(g)}i=g;return}function Hz(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0.0,l=0,m=0,n=0,o=0,p=0;o=i;i=i+112|0;if(!g){c[o>>2]=34536;c[o+4>>2]=960;$L(33920,341560,2,1702e3,o)}bA(o,c[d+12>>2]|0);h=b[g+16>>1]|0;j=b[g+20>>1]|0;if(e){NA(o,h,j,b[g+18>>1]|0);h=g+18|0;l=g+22|0}else{NA(o,h,j,b[g+22>>1]|0);h=g+18|0;l=g+22|0}a[o+44>>0]=1;while(1){m=OA(o,e)|0;if(!m){h=0;break}n=HA(b[h>>1]|0,b[l>>1]|0,b[m+18>>1]|0,b[m+22>>1]|0)|0;j=ll(g+16|0)|0;p=ll(m+16|0)|0;if(+(n|0)>+((j<<16>>16>p<<16>>16?p:j)<<16>>16)){h=0;break}if(!(Zj(c[m+72>>2]|0)|0))continue;k=+(c[d+44>>2]|0);if((f|0)>0)j=~~+lGa(k*.02)+f|0;else j=~~+lGa(k*.05);if((FA(g+16|0,m+16|0)|0)^1|(n|0)>(j|0))continue;j=ll(g+16|0)|0;m=ll(m+16|0)|0;if(+((j<<16>>16>m<<16>>16?m:j)<<16>>16)/+((j<<16>>16>16?m:j)<<16>>16)>.5){h=1;break}}jA(o+84|0);i=o;return h|0}function Iz(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+112|0;if(!((f|0)!=0&(g|0)!=0)){c[o>>2]=34536;c[o+4>>2]=1152;$L(33920,35056,2,1702e3,o)}n=~~+lGa(+(c[d+44>>2]|0)*.2);bA(o,c[d+12>>2]|0);JA(o,b[(e?f+16|0:f+20|0)>>1]|0,b[f+18>>1]|0,b[f+22>>1]|0);a[o+44>>0]=1;while(1){m=KA(o,e)|0;if(!m)break;if((m|0)==(f|0))continue;h=b[m+16>>1]|0;j=b[m+20>>1]|0;k=b[f+16>>1]|0;l=b[f+20>>1]|0;if((lv(h,j,k,l)|0)>(n|0))break;if(!((h<<16>>16>16|e^1)&(j<<16>>16>l<<16>>16|e)))continue;h=c[m+72>>2]|0;if((h|0)==5)continue;else if((h|0)==4){l=b[m+18>>1]|0;k=b[m+22>>1]|0;j=b[f+18>>1]|0;h=b[f+22>>1]|0;if(+CA(l,k,j,h)<.6000000238418579?+CA(j,h,l,k)<.6000000238418579:0)continue}else{if(!(eA(h)|0)?(c[m+48>>2]|0)!=1:0)continue;if(!(Kz(c[d+44>>2]|0,f+16|0,m+16|0)|0))continue;if(!(Lz(m)|0))continue}DA(o);mA(g,m)}jA(o+84|0);i=o;return}function Jz(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+128|0;if(!((f|0)!=0&(g|0)!=0?(c[d+20>>2]|0)!=0:0)){c[r>>2]=34536;c[r+4>>2]=1209;$L(33920,35096,2,1702e3,r)}n=~~+lGa(+(c[d+44>>2]|0)*.2);bA(r,c[d+12>>2]|0);o=c[d+20>>2]|0;NA(r,b[o>>1]|0,b[o+4>>1]|0,b[(e?f+18|0:f+22|0)>>1]|0);a[r+44>>0]=1;Qz(r+104|0);o=-1;p=2147483647;a:while(1){b:while(1){m=OA(r,e)|0;if(!m)break a;if((m|0)==(f|0))continue;l=b[m+18>>1]|0;j=b[m+22>>1]|0;k=b[f+18>>1]|0;h=b[f+22>>1]|0;if((HA(l,j,k,h)|0)>(n|0))break a;if(!((l<<16>>16>16|e^1)&(j<<16>>16>h<<16>>16|e)))continue;k=c[m+72>>2]|0;do if((k|0)==5){k=l;break b}else if((k|0)==4){h=b[m+16>>1]|0;l=b[m+20>>1]|0;k=b[f+16>>1]|0;j=b[f+20>>1]|0;if(+BA(h,l,k,j)<.4000000059604645?+BA(k,j,h,l)<.4000000059604645:0)continue b}else{if(!(eA(k)|0)?(c[m+48>>2]|0)!=1:0){k=l;break b}if(Kz(c[d+44>>2]|0,f+16|0,m+16|0)|0){if(Lz(m)|0)break;k=c[m+72>>2]|0}if((k|0)==4)continue b;else{q=20;break b}}while(0);mA(r+104|0,m)}if((q|0)==20){q=0;j=b[m+22>>1]|0;k=b[m+18>>1]|0}m=j<<16>>16;l=k<<16>>16;o=(o|0)<(l|0)?l:o;p=(p|0)>(m|0)?m:p}h=c[r+104>>2]|0;if((h|0)>0){k=0;do{j=c[(lA(r+104|0,k)|0)>>2]|0;if(e){if((b[j+22>>1]|0)>(o|0))q=26}else if((b[j+18>>1]|0)<(p|0))q=26;if((q|0)==26){q=0;mA(g,c[(lA(r+104|0,k)|0)>>2]|0);f=c[d+12>>2]|0;oA(f,c[(lA(r+104|0,k)|0)>>2]|0)}k=k+1|0}while((k|0)<(h|0))}Sz(r+104|0);jA(r+84|0);i=r;return}function Kz(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,f=0;e=~~+lGa(+(a|0)*.25);a=~~+lGa(+(a|0)*.05);f=ll(d)|0;do if(f<<16>>16<=(ll(c)|0)<<16>>16?(f=kl(d)|0,f<<16>>16<=(kl(c)|0)<<16>>16):0){if(!(vx(d,c)|0?(HA(b[d+2>>1]|0,b[d+6>>1]|0,b[c+2>>1]|0,b[c+6>>1]|0)|0)<=(a|0):0)){if(!(EA(d,c)|0)){a=0;break}if((lv(b[d>>1]|0,b[d+4>>1]|0,b[c>>1]|0,b[c+4>>1]|0)|0)>(e|0)){a=0;break}}a=1}else a=0;while(0);return a|0}function Lz(a){a=a|0;var b=0,d=0.0;b=i;i=i+16|0;if(!a){c[b>>2]=34536;c[b+4>>2]=1314;$L(33920,34752,2,1702e3,b)}if(((CL(a+76|0)|0)>=10?(d=+AY(a,3),!(d+ +AY(a,2)>.25)):0)?!(+AY(a,4)>.25):0)a=0;else a=1;i=b;return a|0}function Mz(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;m=i;i=i+32|0;if(!((d|0)!=0&(e|0)!=0)){c[m+8>>2]=34536;c[m+12>>2]=1381;$L(33920,35168,2,1702e3,m+8|0)}Sz(e);c[m>>2]=2147483647;c[m+4>>2]=2147483647;k=0;h=2147483647;g=0;while(1){f=Nz(a,(k|0)!=0,d)|0;c[m+16+(k<<2)>>2]=f;if(!f)f=h;else{c[m+(k<<2)>>2]=HA(b[f+18>>1]|0,b[f+22>>1]|0,b[d+18>>1]|0,b[d+22>>1]|0)|0;o=b[f+16>>1]|0;n=b[f+20>>1]|0;f=(o|0)<(h|0)?o:h;g=(n|0)>(g|0)?n:g}k=k+1|0;if((k|0)==2)break;else h=f}if((c[m+16>>2]|0)==(c[m+20>>2]|0)){c[m+20>>2]=0;c[m+4>>2]=2147483647}if(((b[d+16>>1]|0)>=(f|0)?(b[d+20>>1]|0)<=(g|0):0)?(l=(c[m>>2]|0)>=(c[m+4>>2]|0)&1,j=c[m+16+(l<<2)>>2]|0,Oz(a,c[m+(l<<2)>>2]|0,j)|0):0){mA(e,j);f=c[m+16+((l^1)<<2)>>2]|0;if(Oz(a,c[m+((l^1)<<2)>>2]|0,f)|0){mA(e,f);f=1}else f=1}else f=0;i=m;return f|0}function Nz(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+112|0;if(!f){c[p>>2]=34536;c[p+4>>2]=1435;$L(33920,34752,2,1702e3,p)}o=~~+lGa(+(c[d+44>>2]|0)*.5);bA(p,c[d+12>>2]|0);a[p+44>>0]=1;NA(p,b[f+16>>1]|0,b[f+20>>1]|0,b[(e?f+18|0:f+22|0)>>1]|0);m=2147483647;n=0;a:while(1)while(1){k=OA(p,e)|0;if(!k)break a;if((k|0)==(f|0))continue;if(!(eA(c[k+72>>2]|0)|0))continue;d=b[k+18>>1]|0;g=b[k+22>>1]|0;h=b[f+18>>1]|0;j=b[f+22>>1]|0;l=HA(d,g,h,j)|0;if((l|0)>(o|0))break a;if(!(vx(k+16|0,f+16|0)|0))continue;if(e)if((l|0)<(m|0)?d<<16>>16<=h<<16>>16:0){m=l;n=k;continue a}else continue;else if((l|0)<(m|0)?g<<16>>16>=j<<16>>16:0){m=l;n=k;continue a}else continue}jA(p+84|0);i=p;return n|0}function Oz(a,b,d){a=a|0;b=b|0;d=d|0;if((d|0)!=0?(c[d+72>>2]|0)==4:0)d=(~~+lGa(+(c[a+44>>2]|0)*.1)|0)>=(b|0);else d=0;return d|0}function Pz(){c[8480]=1701984;c[8482]=389976;c[8484]=390024;c[8486]=390056;c[8488]=390112;c[8490]=390152;c[8492]=390184;c[8494]=390240;c[8496]=390280;c[8498]=390328;c[8500]=390376;c[8502]=390400;c[8504]=390432;c[8506]=390504;c[8508]=390552;c[8510]=390592;c[8512]=390640;Wk(34056,0,34072,34104,0,kM()|0);Wk(34128,0,34144,34176,0,kM()|0);Wk(34208,0,34224,34256,0,kM()|0);Wk(34280,0,34296,34336,0,kM()|0);return}function Qz(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;PA(a,4);return}function Rz(a,b,c){a=a|0;b=b|0;c=c|0;return FI(a,b,0,c,0)|0}function Sz(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function Tz(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;QA(a,4);return}function Uz(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){RA(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function Vz(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)>-1&(a|0)>(c|0))return b+(c<<2)|0;else Ja(1701640,1701680,663,1701712);return 0}function Wz(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function Xz(a,b){a=a|0;b=b|0;c[a>>2]=0;Zea(a+4|0);Gba(a,b);return}function Yz(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if((d|0)==-1)b=0;else{if(!(ay(b,d)|0)){c[e>>2]=373648;c[e+4>>2]=451;$L(33920,373616,2,1702e3,e)}b=(a[(c[b>>2]|0)+(d*112|0)+32>>0]|0)!=0}i=e;return b|0}function Zz(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if((d|0)==-1)b=0;else{if(!(ay(b,d)|0)){c[e>>2]=373648;c[e+4>>2]=479;$L(33920,373616,2,1702e3,e)}b=(a[(c[b>>2]|0)+(d*112|0)+36>>0]|0)!=0}i=e;return b|0}function _z(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;a=c[b>>2]|0;if((d|0)<(a|0))a=-1;else a=(a|0)<(d|0)&1;return a|0}function $z(a,b){a=a|0;b=b|0;DEa(b,a,4,27);return}function aA(a){a=a|0;var b=0,d=0,e=0;e=c[8642]|0;d=c[8644]|0;b=IA(e,d,a)|0;if((b|0)<(e|0))b=(c[d+(b<<2)>>2]|0)==(a|0);else b=0;return b|0}function bA(d,e){d=d|0;e=e|0;c[d>>2]=e;b[d+28>>1]=32767;b[d+30>>1]=32767;b[d+32>>1]=-32767;b[d+34>>1]=-32767;a[d+44>>0]=0;c[d+48>>2]=0;c[d+52>>2]=0;c[d+56>>2]=0;c[d+84>>2]=0;c[d+88>>2]=0;c[d+92>>2]=0;c[d+96>>2]=0;g[d+100>>2]=1.0;SA(d+84|0,193);return}function cA(a){a=a|0;var d=0;d=c[a>>2]|0;TA(a,b[d+20>>1]|0,b[d+26>>1]|0);return}function dA(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;while(1){if(!((hA(a+56|0)|0)<<24>>24)){VA(a);b=(c[a+48>>2]|0)+16|0;b=e[b>>1]|e[b+2>>1]<<16;lV(c[a>>2]|0,b<<16>>16,b>>16,d+4|0,d);if((c[d+4>>2]|0)!=(c[a+36>>2]|0))continue;if((c[d>>2]|0)==(c[a+40>>2]|0)){b=10;break}else continue}b=(c[a+36>>2]|0)+1|0;c[a+36>>2]=b;if((b|0)>=(c[(c[a>>2]|0)+8>>2]|0)){b=c[a+40>>2]|0;c[a+40>>2]=b+-1;if((b|0)<1){b=5;break}c[a+36>>2]=0}UA(a)}if((b|0)==5){c[a+48>>2]=0;c[a+52>>2]=0;a=0}else if((b|0)==10)a=c[a+48>>2]|0;i=d;return a|0}function eA(a){a=a|0;return Zj(a)|0|(a|0)==4|0}function fA(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if(!b)$L(33960,35312,2,0,e);if(!d)$L(34008,35312,2,35344,e);c[b>>2]=d;d=c[d>>2]|0;c[b+4>>2]=d;if(d){d=c[d>>2]|0;c[b+8>>2]=d;if(!d)d=0;else d=c[d>>2]|0}else{c[b+8>>2]=0;d=0}c[b+12>>2]=d;c[b+20>>2]=0;a[b+24>>0]=0;a[b+16>>0]=0;a[b+17>>0]=0;i=e;return}function gA(b){b=b|0;var d=0,e=0;e=i;i=i+16|0;if(!b)$L(33960,35536,2,0,e);if(!(c[b>>2]|0))$L(33952,35536,2,0,e);d=c[b+8>>2]|0;if(!d)a[b+17>>0]=1;else c[b+20>>2]=d;a[b+24>>0]=0;i=e;return}function hA(b){b=b|0;var d=0,e=0;e=i;i=i+16|0;if(!b)$L(33960,35504,2,0,e);d=c[b>>2]|0;if(!d){$L(33952,35504,2,0,e);d=c[b>>2]|0}if(c[d>>2]|0)if((c[b+8>>2]|0)==(c[b+20>>2]|0))d=(a[b+24>>0]|0)!=0&1;else d=0;else d=1;i=e;return d|0}function iA(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(!(c[a>>2]|0))$L(33952,35288,2,0,d);b=c[a+8>>2]|0;if(!b){$L(33968,35288,2,0,d);b=c[a+8>>2]|0}i=d;return c[b+4>>2]|0}function jA(a){a=a|0;var b=0;WA(c[a+8>>2]|0);b=c[a>>2]|0;c[a>>2]=0;if(b)YEa(b);return}function kA(b){b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;if(!b)$L(33960,35480,2,0,f);d=c[b>>2]|0;if(!d){$L(33952,35480,2,0,f);d=c[b>>2]|0}d=c[d>>2]|0;if((d|0)!=0?(e=c[b+8>>2]|0,(e|0)!=(d|0)):0)if((e|0)==0?(c[b+4>>2]|0)==(d|0):0)d=(a[b+16>>0]|0)!=0&1;else d=0;else d=1;i=f;return d|0}function lA(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function mA(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){XA(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function nA(a,b){a=a|0;b=b|0;if((b|0)!=(a|0)){if((c[a>>2]|0)>0)c[a>>2]=0;YA(a,b)}return}function oA(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+48|0;k=e[b+16>>1]|e[b+18>>1]<<16;j=e[b+20>>1]|e[b+22>>1]<<16;l=UGa(k|0,j|0,48)|0;d=F;lV(a,k<<16>>16,k>>16,m+40|0,m+36|0);j=_Ga(j|0,0,16)|0;d=_Ga(l|0,d|0,16)|0;lV(a,j>>16,d>>16,m+32|0,m+28|0);d=c[m+36>>2]|0;j=c[m+28>>2]|0;if((d|0)<=(j|0)){g=c[a+8>>2]|0;l=ba(g,d)|0;h=c[m+32>>2]|0;k=c[m+40>>2]|0;while(1){if((k|0)>(h|0))f=g;else{f=k;while(1){fA(m,(c[a+28>>2]|0)+(f+l<<2)|0);gA(m);if(!((hA(m)|0)<<24>>24))do{if((iA(m)|0)==(b|0))ZA(m)|0;DL(m)|0}while((hA(m)|0)<<24>>24==0);if((f|0)<(h|0))f=f+1|0;else break}f=c[a+8>>2]|0}if((d|0)<(j|0)){g=f;l=f+l|0;d=d+1|0}else break}}i=m;return}function pA(a){a=a|0;var b=0,d=0;_A(a+84|0);$A(a+56|0);if((aB(a+56|0)|0)<<24>>24==0?(b=iA(a+56|0)|0,(b|0)==(c[a+52>>2]|0)):0)gA(a+56|0);else{b=a+52|0;d=5}a:do if((d|0)==5){gA(a+56|0);b:do if(!((hA(a+56|0)|0)<<24>>24)){while(1){d=iA(a+56|0)|0;if((d|0)==(c[a+48>>2]|0))break;d=HL(a+56|0,1)|0;if((d|0)==(c[b>>2]|0))break;DL(a+56|0)|0;if((hA(a+56|0)|0)<<24>>24)break b}VA(a);break a}while(0);c[a+48>>2]=0;c[b>>2]=0}while(0);return}function qA(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;bB(a,4);return}function rA(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Pc[c[(c[b>>2]|0)+8>>2]&0](b,+g[(c[a+8>>2]|0)+(d<<2)>>2]);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function sA(a,b){a=a|0;b=+b;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){cB(a);d=c[a>>2]|0}c[a>>2]=d+1;g[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function tA(a,b){a=a|0;b=b|0;var c=0.0,d=0.0;d=+g[a>>2];c=+g[b>>2];if(d-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function wA(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;k=e[b+16>>1]|e[b+18>>1]<<16;h=e[b+20>>1]|e[b+22>>1]<<16;l=UGa(k|0,h|0,48)|0;d=F;lV(a,k<<16>>16,k>>16,m+12|0,m+8|0);h=_Ga(h|0,0,16)|0;d=_Ga(l|0,d|0,16)|0;lV(a,h>>16,d>>16,m+4|0,m);d=c[m+8>>2]|0;h=c[m>>2]|0;if((d|0)<=(h|0)){g=c[a+8>>2]|0;l=ba(g,d)|0;j=c[m+4>>2]|0;k=c[m+12>>2]|0;while(1){if((k|0)>(j|0))f=g;else{f=k;while(1){FL((c[a+28>>2]|0)+(f+l<<2)|0,28,b);if((f|0)<(j|0))f=f+1|0;else break}f=c[a+8>>2]|0}if((d|0)<(h|0)){g=f;l=f+l|0;d=d+1|0}else break}}i=m;return}function xA(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;d=c[a>>2]|0;a=c[b>>2]|0;if(!((d|0)!=0&(a|0)!=0)){c[e>>2]=34536;c[e+4>>2]=77;$L(33920,35448,2,1702e3,e)}b=(ll(d+16|0)|0)<<16>>16;b=b-((ll(a+16|0)|0)<<16>>16)|0;i=e;return b|0}function yA(a,b,c){a=a|0;b=b|0;c=c|0;DEa(b,a,4,c);return}function zA(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a+12>>2]=e;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=3;TA(a,b,d);return}function AA(d){d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+32|0;while(1){if(!((hA(d+56|0)|0)<<24>>24)){VA(d);if(!(a[d+44>>0]|0)){f=16;break}fB(h,d+84|0,c[d+48>>2]|0);if(!(c[h>>2]|0)){f=14;break}else continue}g=(c[d+20>>2]|0)+1|0;c[d+20>>2]=g;f=c[d+16>>2]|0;e=c[d+24>>2]|0;if((g|0)>=(f|0)){c[d+24>>2]=e+1;c[d+20>>2]=0;if((e|0)>2){c[d+16>>2]=f+1;if((f|0)>=(c[d+12>>2]|0)){f=6;break}c[d+24>>2]=0;e=0}else e=e+1|0}kda(h+20|0,e);f=(c[d+16>>2]|0)-(c[d+20>>2]|0)<<16>>16;b[h+20>>1]=ba(f,b[h+20>>1]|0)|0;b[h+22>>1]=ba(b[h+22>>1]|0,f)|0;kda(h+16|0,(c[d+24>>2]|0)+1|0);f=c[d+20>>2]<<16>>16;e=(ba(b[h+16>>1]|0,f)|0)&65535;eB(h+20|0,e,(ba(b[h+18>>1]|0,f)|0)&65535);f=(b[h+20>>1]|0)+(c[d+4>>2]|0)|0;c[d+36>>2]=f;e=(b[h+22>>1]|0)+(c[d+8>>2]|0)|0;c[d+40>>2]=e;if((f|0)<=-1)continue;g=c[d>>2]|0;if(!((e|0)>-1?(f|0)<(c[g+8>>2]|0):0))continue;if((e|0)>=(c[g+12>>2]|0))continue;UA(d)}if((f|0)==6){c[d+48>>2]=0;c[d+52>>2]=0;e=0}else if((f|0)==14)if(!(a[d+44>>0]|0))f=16;else{gB(h+8|0,d+84|0,d+48|0);f=16}if((f|0)==16)e=c[d+48>>2]|0;i=h;return e|0}function BA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0;if(b<<16>>16==a<<16>>16)return +((c<<16>>16>b<<16>>16?1:b<<16>>16>d<<16>>16)?0.0:1.0);else{e=+(((b<<16>>16>d<<16>>16?d:b)<<16>>16)-((a<<16>>16>16?c:a)<<16>>16)|0)/+((b<<16>>16)-(a<<16>>16)|0);return +(!(e<=0.0)?e:0.0)}return 0.0}function CA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0;if(b<<16>>16==a<<16>>16)return +((c<<16>>16>b<<16>>16?1:b<<16>>16>d<<16>>16)?0.0:1.0);else{e=+(((b<<16>>16>d<<16>>16?d:b)<<16>>16)-((a<<16>>16>16?c:a)<<16>>16)|0)/+((b<<16>>16)-(a<<16>>16)|0);return +(!(e<=0.0)?e:0.0)}return 0.0}function DA(a){a=a|0;var b=0,d=0,e=0;if(c[a+48>>2]|0){$A(a+56|0);gA(a+56|0);a:do if(!((hA(a+56|0)|0)<<24>>24)){b=0;d=0;do{while(1){e=iA(a+56|0)|0;if((e|0)!=(c[a+48>>2]|0))break;ZA(a+56|0)|0;DL(a+56|0)|0;if(!((hA(a+56|0)|0)<<24>>24))b=iA(a+56|0)|0;else b=0;c[a+52>>2]=b;if(!((hA(a+56|0)|0)<<24>>24))b=d;else{b=d;break a}}d=iA(a+56|0)|0;DL(a+56|0)|0}while((hA(a+56|0)|0)<<24>>24==0)}else b=0;while(0);oA(c[a>>2]|0,c[a+48>>2]|0);c[a+48>>2]=b;pA(a)}return}function EA(a,c){a=a|0;c=c|0;var d=0,e=0,f=0;d=ll(c)|0;f=b[a+2>>1]|0;e=b[c+2>>1]|0;if(f<<16>>16>e<<16>>16)d=(d&65535)-(f&65535)+(e&65535)&65535;e=b[a+6>>1]|0;f=b[c+6>>1]|0;if(e<<16>>16>16)d=(e&65535)+(d&65535)-(f&65535)&65535;d=d<<16>>16;if((d|0)<(((ll(c)|0)<<16>>16|0)/2|0|0))d=(d|0)>=(((ll(a)|0)<<16>>16|0)/2|0|0);else d=1;return d|0}function FA(a,c){a=a|0;c=c|0;if((b[c>>1]|0)>(b[a+4>>1]|0))c=0;else c=(b[c+4>>1]|0)>=(b[a>>1]|0);return c|0}function GA(a,c){a=a|0;c=c|0;if((b[c+2>>1]|0)>(b[a+6>>1]|0))c=0;else c=(b[c+6>>1]|0)>=(b[a+2>>1]|0);return c|0}function HA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ((a<<16>>16>16?c:a)<<16>>16)-((b<<16>>16>d<<16>>16?d:b)<<16>>16)|0}function IA(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=0;do{f=(e+a|0)/2|0;g=(c[b+(f<<2)>>2]|0)>(d|0);a=g?f:a;e=g?e:f}while((a-e|0)>1);return e|0}function JA(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=c[(c[a>>2]|0)+4>>2]|0;c[a+16>>2]=((e-d<<1)+-1+f|0)/(f|0)|0;c[a+20>>2]=0;TA(a,b,e);return}function KA(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;e=d?-1:1;while(1){if(!((hA(b+56|0)|0)<<24>>24)){VA(b);if(!(a[b+44>>0]|0)){e=14;break}fB(f,b+84|0,c[b+48>>2]|0);if(!(c[f>>2]|0)){e=12;break}else continue}d=c[b+20>>2]|0;c[b+20>>2]=d+1;if((d|0)>=(c[b+16>>2]|0)){d=(c[b+36>>2]|0)+e|0;c[b+36>>2]=d;c[b+20>>2]=0;if((d|0)<0){e=6;break}if((d|0)<(c[(c[b>>2]|0)+8>>2]|0))d=0;else{e=6;break}}else d=d+1|0;d=(c[b+8>>2]|0)-d|0;c[b+40>>2]=d;if((d|0)<=-1)continue;if((d|0)>=(c[(c[b>>2]|0)+12>>2]|0))continue;UA(b)}if((e|0)==6){c[b+48>>2]=0;c[b+52>>2]=0;d=0}else if((e|0)==12)if(!(a[b+44>>0]|0))e=14;else{gB(f+8|0,b+84|0,b+48|0);e=14}if((e|0)==14)d=c[b+48>>2]|0;i=f;return d|0}function LA(a,d){a=a|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;e=c[a>>2]|0;a=c[d>>2]|0;if(!((e|0)!=0&(a|0)!=0)){c[f>>2]=34536;c[f+4>>2]=61;$L(33920,35448,2,1702e3,f)}i=f;return (b[a+22>>1]|0)-(b[e+22>>1]|0)|0}function MA(a,d){a=a|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;e=c[a>>2]|0;a=c[d>>2]|0;if(!((e|0)!=0&(a|0)!=0)){c[f>>2]=34536;c[f+4>>2]=69;$L(33920,35448,2,1702e3,f)}i=f;return (b[e+18>>1]|0)-(b[a+18>>1]|0)|0}function NA(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=c[(c[a>>2]|0)+4>>2]|0;c[a+16>>2]=(~b+d+f|0)/(f|0)|0;c[a+20>>2]=0;TA(a,b,e);return}function OA(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;e=d?-1:1;while(1){if(!((hA(b+56|0)|0)<<24>>24)){VA(b);if(!(a[b+44>>0]|0)){e=14;break}fB(f,b+84|0,c[b+48>>2]|0);if(!(c[f>>2]|0)){e=12;break}else continue}d=c[b+20>>2]|0;c[b+20>>2]=d+1;if((d|0)>=(c[b+16>>2]|0)){d=(c[b+40>>2]|0)+e|0;c[b+40>>2]=d;c[b+20>>2]=0;if((d|0)<0){e=6;break}if((d|0)<(c[(c[b>>2]|0)+12>>2]|0))d=0;else{e=6;break}}else d=d+1|0;d=d+(c[b+4>>2]|0)|0;c[b+36>>2]=d;if((d|0)<=-1)continue;if((d|0)>=(c[(c[b>>2]|0)+8>>2]|0))continue;UA(b)}if((e|0)==6){c[b+48>>2]=0;c[b+52>>2]=0;d=0}else if((e|0)==12)if(!(a[b+44>>0]|0))e=14;else{gB(f+8|0,b+84|0,b+48|0);e=14}if((e|0)==14)d=c[b+48>>2]|0;i=f;return d|0}function PA(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function QA(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function RA(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)QA(a,4);else QA(a,b<<1);return}function SA(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if((b|0)!=1){if(b+-1&b)b=Gua(b)|0}else b=2;f=c[a+4>>2]|0;if(b>>>0<=f>>>0){if(b>>>0>>0){if(f>>>0>2)e=(f+-1&f|0)==0;else e=0;d=~~+aa(+(+((c[a+12>>2]|0)>>>0)/+g[a+16>>2]))>>>0;if(e)d=1<<32-(da(d+-1|0)|0);else d=Gua(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)hB(a,b)}}else hB(a,b);return}function TA(a,b,d){a=a|0;b=b|0;d=d|0;lV(c[a>>2]|0,b,d,a+4|0,a+8|0);c[a+36>>2]=c[a+4>>2];c[a+40>>2]=c[a+8>>2];UA(a);c[a+48>>2]=0;if(!((aB(a+56|0)|0)<<24>>24))b=iA(a+56|0)|0;else b=0;c[a+52>>2]=b;_A(a+84|0);return}function UA(b){b=b|0;var d=0,e=0,f=0;d=i;i=i+32|0;f=c[b>>2]|0;e=ba(c[f+8>>2]|0,c[b+40>>2]|0)|0;fA(d,(c[f+28>>2]|0)+(e+(c[b+36>>2]|0)<<2)|0);c[b+56>>2]=c[d+0>>2];c[b+60>>2]=c[d+4>>2];c[b+64>>2]=c[d+8>>2];c[b+68>>2]=c[d+12>>2];c[b+72>>2]=c[d+16>>2];c[b+76>>2]=c[d+20>>2];a[b+80>>0]=a[d+24>>0]|0;gA(b+56|0);i=d;return}function VA(a){a=a|0;var b=0;c[a+48>>2]=iA(a+56|0)|0;DL(a+56|0)|0;if(!((hA(a+56|0)|0)<<24>>24))b=iA(a+56|0)|0;else b=0;c[a+52>>2]=b;return}function WA(a){a=a|0;var b=0;if(a)do{b=a;a=c[a>>2]|0;YEa(b)}while((a|0)!=0);return}function XA(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)PA(a,4);else PA(a,b<<1);return}function YA(a,b){a=a|0;b=b|0;var d=0;PA(a,(c[b>>2]|0)+(c[a>>2]|0)|0);if((c[b>>2]|0)>0){d=0;do{mA(a,c[(c[b+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0}while((d|0)<(c[b>>2]|0))}return}function ZA(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if(!b)$L(33960,35392,2,0,h);if(!(c[b>>2]|0))$L(33952,35392,2,0,h);if(!(c[b+8>>2]|0))$L(33976,35392,2,0,h);g=c[b>>2]|0;e=c[g>>2]|0;if((e|0)!=0?(e|0)==(c[e>>2]|0):0){c[g>>2]=0;c[b+12>>2]=0;c[b+4>>2]=0;e=c[b+8>>2]|0}else f=10;do if((f|0)==10){d=c[b+4>>2]|0;c[d>>2]=c[b+12>>2];f=c[b+8>>2]|0;if((f|0)==(e|0)){c[g>>2]=d;a[b+16>>0]=1;break}else{a[b+16>>0]=0;e=f;break}}while(0);a[b+17>>0]=(e|0)==(c[b+20>>2]|0)&1;d=c[e+4>>2]|0;if(e)YEa(e);c[b+8>>2]=0;i=h;return d|0}function _A(a){a=a|0;var b=0,d=0;if(c[a+12>>2]|0){WA(c[a+8>>2]|0);c[a+8>>2]=0;b=c[a+4>>2]|0;if(b){d=0;do{c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(b|0))}c[a+12>>2]=0}return}function $A(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;if(!a)$L(33960,35416,2,0,f);b=c[a>>2]|0;if(!b){$L(33952,35416,2,0,f);b=c[a>>2]|0}b=c[b>>2]|0;if(b){d=c[b>>2]|0;c[a+8>>2]=d;c[a+4>>2]=b;if(!d)e=8;else c[a+12>>2]=c[d>>2]}else{c[a+8>>2]=0;c[a+4>>2]=0;e=8}if((e|0)==8)c[a+12>>2]=0;i=f;return}function aB(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if(!b){$L(33952,35368,2,0,d);b=c[a>>2]|0}i=d;return (c[b>>2]|0)==0|0}function bB(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){h=0;do{g[d+(h<<2)>>2]=+g[f+(h<<2)>>2];h=h+1|0}while((h|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function cB(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)bB(a,4);else bB(a,b<<1);return}function dB(a,d){a=a|0;d=d|0;var e=0,f=0;f=c[a>>2]|0;e=c[d>>2]|0;d=b[f+16>>1]|0;a=b[e+16>>1]|0;do if(d<<16>>16==a<<16>>16){d=b[f+20>>1]|0;a=b[e+20>>1]|0;if(d<<16>>16!=a<<16>>16){a=(d<<16>>16)-(a<<16>>16)|0;break}d=b[f+18>>1]|0;a=b[e+18>>1]|0;if(d<<16>>16==a<<16>>16){a=(b[f+22>>1]|0)-(b[e+22>>1]|0)|0;break}else{a=(d<<16>>16)-(a<<16>>16)|0;break}}else a=(d<<16>>16)-(a<<16>>16)|0;while(0);return a|0}function eB(a,c,d){a=a|0;c=c|0;d=d|0;b[a>>1]=(e[a>>1]|0)+(c&65535);b[a+2>>1]=(e[a+2>>1]|0)+(d&65535);return}function fB(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=c[b+4>>2]|0;a:do if(g){if(!(g+-1&g))f=g+-1&((d>>>0)/192|0);else f=(((d>>>0)/192|0)>>>0)%(g>>>0)|0;b=c[(c[b>>2]|0)+(f<<2)>>2]|0;if(b){do{b=c[b>>2]|0;if(!b){h=13;break a}e=c[b+4>>2]|0;if(!(g+-1&g))e=e&g+-1;else e=(e>>>0)%(g>>>0)|0;if((e|0)!=(f|0)){h=13;break a}}while((c[b+8>>2]|0)!=(d|0));c[a>>2]=b}else h=13}else h=13;while(0);if((h|0)==13)c[a>>2]=0;return}function gB(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,j=0,k=0.0,l=0.0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;o=c[e>>2]|0;n=c[d+4>>2]|0;a:do if(n){if(!(n+-1&n))h=n+-1&((o>>>0)/192|0);else h=(((o>>>0)/192|0)>>>0)%(n>>>0)|0;f=c[(c[d>>2]|0)+(h<<2)>>2]|0;if(!f)m=12;else while(1){f=c[f>>2]|0;if(!f){m=12;break a}j=c[f+4>>2]|0;if(!(n+-1&n))j=j&n+-1;else j=(j>>>0)%(n>>>0)|0;if((j|0)!=(h|0)){m=12;break a}if((c[f+8>>2]|0)==(o|0)){h=0;break}}}else{h=0;m=12}while(0);if((m|0)==12){iB(p,d,e,(o>>>0)/192|0);m=c[p>>2]|0;c[p>>2]=0;k=+(((c[d+12>>2]|0)+1|0)>>>0);l=+g[d+16>>2];do if(k>+(n>>>0)*l|(n|0)==0){if(n>>>0>2)h=(n+-1&n|0)==0;else h=0;f=(h&1|n<<1)^1;n=~~+aa(+(k/l))>>>0;SA(d,f>>>0>>0?n:f);f=c[d+4>>2]|0;if(!(f+-1&f)){j=f;h=f+-1&((o>>>0)/192|0);break}else{j=f;h=(((o>>>0)/192|0)>>>0)%(f>>>0)|0;break}}else j=n;while(0);f=c[(c[d>>2]|0)+(h<<2)>>2]|0;if(!f){c[m>>2]=c[d+8>>2];c[d+8>>2]=m;c[(c[d>>2]|0)+(h<<2)>>2]=d+8;f=c[m>>2]|0;if(f){f=c[f+4>>2]|0;h=j+-1|0;if(!(h&j))f=f&h;else f=(f>>>0)%(j>>>0)|0;c[(c[d>>2]|0)+(f<<2)>>2]=m}}else{c[m>>2]=c[f>>2];c[f>>2]=m}c[d+12>>2]=(c[d+12>>2]|0)+1;h=1;f=m}c[b>>2]=f;a[b+4>>0]=h;i=p;return}function hB(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(b)e=WEa(b<<2)|0;else e=0;d=c[a>>2]|0;c[a>>2]=e;if(d)YEa(d);c[a+4>>2]=b;a:do if(b){d=0;do{c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(b|0));g=c[a+8>>2]|0;if(g){d=c[g+4>>2]|0;if(!(b+-1&b))d=d&b+-1;else d=(d>>>0)%(b>>>0)|0;c[(c[a>>2]|0)+(d<<2)>>2]=a+8;e=c[g>>2]|0;if(e){h=g;f=e;e=g;while(1){k=e;b:while(1){e=f;while(1){f=c[e+4>>2]|0;if(!(b+-1&b))j=f&b+-1;else j=(f>>>0)%(b>>>0)|0;if((j|0)==(d|0))break;f=(c[a>>2]|0)+(j<<2)|0;if(!(c[f>>2]|0))break b;g=e+8|0;i=e;while(1){f=c[i>>2]|0;if(!f){f=0;break}if((c[g>>2]|0)==(c[f+8>>2]|0))i=f;else break}c[h>>2]=f;c[i>>2]=c[c[(c[a>>2]|0)+(j<<2)>>2]>>2];c[c[(c[a>>2]|0)+(j<<2)>>2]>>2]=e;e=c[h>>2]|0;if(!e)break a}f=c[e>>2]|0;if(!f)break a;else{h=e;k=e}}c[f>>2]=k;f=c[e>>2]|0;if(!f)break;else{h=e;d=j}}}}}while(0);return}function iB(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=WEa(12)|0;c[f+8>>2]=c[d>>2];c[f+4>>2]=e;c[f>>2]=0;c[a>>2]=f;c[a+4>>2]=b+8;c[a+8>>2]=1;return}function jB(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;l=i;i=i+128|0;c[l+88>>2]=0;c[l+60>>2]=0;c[l+32>>2]=0;c[l+4>>2]=0;c[l>>2]=0;pk(l+88|0,g+8|0);rk(l+88|0);g=0;a:while(1){if(sk(l+88|0)|0)break;pk(l+60|0,(tk(l+88|0)|0)+28|0);rk(l+60|0);while(1){if(sk(l+60|0)|0)break;pk(l+32|0,(tk(l+60|0)|0)+20|0);while(1){if(Ov(l+32|0)|0)break;h=tk(l+32|0)|0;while(1){if(Ov(l+32|0)|0)break;if(a[h+256>>0]|0)break;if(b[(c[(RL(l+32|0,1)|0)+4>>2]|0)+10>>1]&2048)break;if(b[(c[(RL(l+32|0,1)|0)+4>>2]|0)+10>>1]&1024)break;j=c[(tk(l+60|0)|0)+4>>2]|0;kB(d,l+32|0,j,c[(tk(l+88|0)|0)+4>>2]|0);j=OL(l+32|0)|0;g=g+1|0;if(!e){h=j;continue}a[e+5>>0]=1;b[e+2>>1]=((g*5|0)/(f|0)|0)+90;if(Kw(e)|0)break a;h=c[e+8>>2]|0;if(!h){h=j;continue}if(bd[h&63](c[e+12>>2]|0,c[d+12952>>2]|0)|0)break a;else h=j}if(!(Ov(l+32|0)|0)){c[l+4>>2]=c[l+32>>2];c[l+8>>2]=c[l+36>>2];c[l+12>>2]=c[l+40>>2];c[l+16>>2]=c[l+44>>2];c[l+20>>2]=c[l+48>>2];c[l+24>>2]=c[l+52>>2];a[l+28>>0]=a[l+56>>0]|0;k=(c[(c[h+4>>2]|0)+20>>2]|0)==0&1;if((kw(d,h,60)|0)<<24>>24)c[d+8060>>2]=10;OL(l+4|0)|0;g=g+1|0;if(e){a[e+5>>0]=1;b[e+2>>1]=((g*5|0)/(f|0)|0)+90;if(Kw(e)|0)break a;j=c[e+8>>2]|0;if((j|0)!=0?bd[j&63](c[e+12>>2]|0,c[d+12952>>2]|0)|0:0)break a;else j=k}else j=k;while(1){if(Ov(l+4|0)|0)break;if((b[(c[(RL(l+4|0,1)|0)+4>>2]|0)+10>>1]&2048)==0?(b[(c[(RL(l+4|0,1)|0)+4>>2]|0)+10>>1]&1024)==0:0)break;if((kw(d,h,60)|0)<<24>>24)c[d+8060>>2]=10;m=c[(c[h+4>>2]|0)+20>>2]|0;k=OL(l+4|0)|0;j=(m|0)==0?1:j;h=k}if((kw(d,h,60)|0)<<24>>24)c[d+8060>>2]=10;b:do if(j<<24>>24==0?(c[(c[h+4>>2]|0)+20>>2]|0)!=0:0){LL(l,l+32|0,l+4|0);h=c[(tk(l+60|0)|0)+4>>2]|0;lB(d,l,h,c[(tk(l+88|0)|0)+4>>2]|0);h=NL(l)|0;yB(l+32|0,l);h=h&65535;while(1){if(!(h<<16>>16>0&((Ov(l+32|0)|0)^1)))break b;OL(l+32|0)|0;h=h+-1<<16>>16}}else{c[l+32>>2]=c[l+4>>2];c[l+36>>2]=c[l+8>>2];c[l+40>>2]=c[l+12>>2];c[l+44>>2]=c[l+16>>2];c[l+48>>2]=c[l+20>>2];c[l+52>>2]=c[l+24>>2];a[l+56>>0]=a[l+28>>0]|0}while(0);if(a[d+6466>>0]|0)c[d+8060>>2]=0}m=c[(tk(l+60|0)|0)+4>>2]|0;kB(d,l+32|0,m,c[(tk(l+88|0)|0)+4>>2]|0)}OL(l+60|0)|0}OL(l+88|0)|0}KL(l,231);i=l;return}function kB(b,d,f,g){b=b|0;d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0;j=i;i=i+48|0;c[j+36>>2]=0;pk(j+8|0,j+36|0);h=tk(d)|0;k=e[(c[h+4>>2]|0)+10>>1]|0;a:do if((((k&512|0)==0?(a[h+256>>0]|0)==0:0)?!((a[h+257>>0]|0)!=0|(k&256|0)==0):0)?(tB(b,h,j+4|0)|0)<<16>>16>=0:0){if((c[b+8060>>2]|0)>1){c[j>>2]=VM(c[(jk(c[h+140>>2]|0)|0)>>2]|0)|0;jN(35728,j)}PL((c[h+4>>2]|0)+24|0,29);Pv(j+8|0,pv(d)|0);uB(b,j+36|0,f,g);h=NL(j+36|0)|0;yB(d,j+36|0);h=h&65535;while(1){if(!(h<<16>>16>1&((Ov(d)|0)^1)))break a;OL(d)|0;h=h+-1<<16>>16}}while(0);KL(j+36|0,231);i=j;return}function lB(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+16|0;c[j>>2]=0;f=mB(a,b)|0;nB(a,b,f,1,0);a:do if(f<<16>>16==999){g=999;f=0}else{oB(b,j);g=f;f=0;while(1){if(!(c[j>>2]|0))break a;pB(a,j,d,e);h=mB(a,j)|0;nB(a,j,h,2,f);if(h<<16>>16>g<<16>>16){KL(b,231);Sfa(b,j);g=h;f=1}if(h<<16>>16<999)qB(j);if(g<<16>>16==999){g=999;break}}}while(0);nB(a,b,g,3,f);KL(j,231);i=j;return}function mB(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+48|0;pk(t+12|0,e);PM(t+8|0,35608);q=c[t+8>>2]|0;l=0;f=0;g=0;h=0;k=0;e=0;r=0;while(1){p=tk(t+12|0)|0;o=rB(d,p)|0;r=r+1<<16>>16;do if(!(a[p+220>>0]|0)){n=b[p+216>>1]|0;if(f<<24>>24!=0?(sB(d,p,0)|0)<<24>>24!=0:0)f=0;else s=6;a:do if((s|0)==6){s=0;do if(g<<24>>24){if(!(o<<24>>24)){OM(t+4|0,d+9100|0);m=a[(XM(c[(jk(c[p+140>>2]|0)|0)>>2]|0,0)|0)>>0]|0;j=c[t+4>>2]|0;m=UM(j,m)|0;RM(j);if(!(m<<24>>24))break;else{f=0;break a}}if((a[(VM(c[(lk(c[p+140>>2]|0)|0)>>2]|0)|0)>>0]|0)==1?(a[(XM(c[(jk(c[p+140>>2]|0)|0)>>2]|0,0)|0)>>0]|0)==49:0){f=0;break a}}while(0);f=o<<24>>24!=0;l=(h<<24>>24!=0&1)+l<<16>>16;e=(k&65535)+(e&65535)&65535}while(0);j=f?n:0;m=f&1;if(n<<16>>16>0){f=0;g=0;k=e;while(1){e=(a[(XM(c[(jk(c[p+140>>2]|0)|0)>>2]|0,f)|0)>>0]|0)==49;k=((g<<24>>24!=0|e&(f&65535)<<16>>16>0)&1)+k<<16>>16;f=f+1|0;if((f&65535)<<16>>16>=n<<16>>16)break;else g=e&1}if(a[d+8018>>0]|0){g=0;f=0;h=0;e=k;do{k=h;h=UM(q,a[(XM(c[(jk(c[p+140>>2]|0)|0)>>2]|0,f)|0)>>0]|0)|0;if(!(k<<24>>24==0?!(h<<24>>24!=0&(g&65535)<<16>>16>0):0))e=e+1<<16>>16;k=g;g=g+1|0;f=(a[(XM(c[(lk(c[p+140>>2]|0)|0)>>2]|0,k)|0)>>0]|0)+f<<16>>16}while((g&65535)<<16>>16>16);k=e}}else k=e;h=sB(d,p,(n<<16>>16)+-1|0)|0;if(((n<<16>>16)+-1|0)>0){e=0;f=0;g=0;do{f=f+1<<16>>16;g=(a[(XM(c[(lk(c[p+140>>2]|0)|0)>>2]|0,e)|0)>>0]|0)+(g&65535)|0;e=f<<16>>16}while((e|0)<((n<<16>>16)+-1|0));e=g&65535}else e=0;if(!(o<<24>>24)){OM(t,d+9100|0);f=XM(c[(jk(c[p+140>>2]|0)|0)>>2]|0,e<<16>>16)|0;g=c[t>>2]|0;f=(UM(g,a[f>>0]|0)|0)<<24>>24!=0&1;RM(g);g=h;h=m;e=k;break}else{f=(a[(XM(c[(jk(c[p+140>>2]|0)|0)>>2]|0,e<<16>>16)|0)>>0]|0)==49&1;g=h;h=m;e=k;break}}else{l=(h<<24>>24!=0&1)+l<<16>>16;f=0;g=0;h=0;j=0;e=(k&65535)+(e&65535)&65535}while(0);do OL(t+12|0)|0;while((a[(tk(t+12|0)|0)+257>>0]|0)!=0);if(xk(t+12|0)|0)break;else k=j}RM(q);i=t;return ((h&255)+l<<16>>16<<16>>16==r<<16>>16?999:(j&65535)+(e&65535)&65535)|0}function nB(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+48|0;pk(j+8|0,e);e=c[b+8060>>2]|0;do if((e|0)>0){if(g<<16>>16==1){fN(b+12956|0,1714496);rk(j+8|0);if(!(sk(j+8|0)|0))do{if(!(a[(tk(j+8|0)|0)+257>>0]|0)){bN(b+12956|0,jk(c[(tk(j+8|0)|0)+140>>2]|0)|0);hN(b+12956|0,32)}OL(j+8|0)|0}while(!(sk(j+8|0)|0));e=c[b+8060>>2]|0}if((e|0)<=1){if(!(h<<24>>24))break;c[j>>2]=VM(c[b+12956>>2]|0)|0;jN(35704,j);rk(j+8|0);if(!(sk(j+8|0)|0))do{if(!(a[(tk(j+8|0)|0)+257>>0]|0)){f=VM(c[(jk(c[(tk(j+8|0)|0)+140>>2]|0)|0)>>2]|0)|0;b=d[(c[(tk(j+8|0)|0)+140>>2]|0)+52>>0]|0;c[j>>2]=f;c[j+4>>2]=b;jN(35688,j)}OL(j+8|0)|0}while(!(sk(j+8|0)|0));jN(35696,j);break}if((g<<16>>16|0)==1){c[j>>2]=f<<16>>16;jN(35624,j)}else if((g<<16>>16|0)==3){c[j>>2]=f<<16>>16;jN(35664,j)}else if((g<<16>>16|0)==2){c[j>>2]=f<<16>>16;jN(35648,j)}rk(j+8|0);if(!(sk(j+8|0)|0))do{if(!(a[(tk(j+8|0)|0)+257>>0]|0)){f=VM(c[(jk(c[(tk(j+8|0)|0)+140>>2]|0)|0)>>2]|0)|0;b=d[(c[(tk(j+8|0)|0)+140>>2]|0)+52>>0]|0;c[j>>2]=f;c[j+4>>2]=b;jN(35688,j)}OL(j+8|0)|0}while(!(sk(j+8|0)|0));jN(35696,j)}while(0);i=j;return}function oB(b,c){b=b|0;c=c|0;var d=0;d=i;i=i+64|0;pk(d+28|0,b);pk(d,c);rk(d+28|0);if(!(sk(d+28|0)|0))do{c=tk(d+28|0)|0;if(!(a[c+256>>0]|0)){b=zB(c)|0;a[b+256>>0]=0;a[b+257>>0]=0;Ck(d,b)}OL(d+28|0)|0}while(!(sk(d+28|0)|0));i=d;return}function pB(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+64|0;pk(g+36|0,d);c[b+5136>>2]=0;rk(g+36|0);if(!(sk(g+36|0)|0))do{d=tk(g+36|0)|0;if((a[d+257>>0]|0)==0?(c[d+160>>2]|0)==0:0){c[g>>2]=d;c[g+4>>2]=e;c[g+8>>2]=f;c[g+12>>2]=0;Ew(g+16|0);Zv(b,2,g);_v(b,2,0,g);Aw(g+16|0)}c[b+5136>>2]=c[d+140>>2];OL(g+36|0)|0}while(!(sk(g+36|0)|0));i=g;return}function qB(b){b=b|0;var d=0,f=0,h=0,j=0,k=0,l=0;l=i;i=i+80|0;pk(l+44|0,b);pk(l+16|0,b);rk(l+44|0);f=32767;j=-32767;while(1){if(sk(l+44|0)|0)break;d=tk(l+44|0)|0;if(!(a[d+257>>0]|0)){yla(l+8|0,c[d+4>>2]|0);h=c[l+12>>2]&65535;if(j<<16>>16>-32767){k=(c[l+8>>2]&65535)-(j&65535)|0;f=(k<<16>>16|0)<(f<<16>>16|0)?k&65535:f}}else h=j;OL(l+44|0)|0;j=h}k=f<<16>>16;a:do if(f<<16>>16==32767)KL(b,231);else{pk(l+44|0,b);f=-32767;while(1){h=f&65535;if(f<<16>>16!=-32767?xk(l+44|0)|0:0)break a;j=tk(l+44|0)|0;do if(!(a[j+257>>0]|0)){yla(l,c[j+4>>2]|0);d=c[l+4>>2]&65535;if(f<<16>>16>-32767){if(((c[l>>2]|0)-h<<16>>16|0)>(k|0)){c[l+16>>2]=c[l+44>>2];c[l+20>>2]=c[l+48>>2];c[l+24>>2]=c[l+52>>2];c[l+28>>2]=c[l+56>>2];c[l+32>>2]=c[l+60>>2];c[l+36>>2]=c[l+64>>2];a[l+40>>0]=a[l+68>>0]|0;break}f=tk(l+16|0)|0;if(!(a[f+256>>0]|0)){h=WEa(28)|0;AB(h);Fla(h,c[f+4>>2]|0);b=WEa(260)|0;zx(b,h);a[b+256>>0]=1;g[b+244>>2]=+g[f+244>>2];a[f+257>>0]=1;BB(l+16|0,b);f=b}h=f+4|0;tv((c[h>>2]|0)+10|0,4,(e[(c[j+4>>2]|0)+10>>1]|0)>>>4&1);if(a[j+256>>0]|0){Bla(c[h>>2]|0,c[j+4>>2]|0);h=pv(l+44|0)|0;if(h){Qga(h);YEa(h)}}else{CB(f,j);a[j+257>>0]=1}a[f+223>>0]=0;aga(f)}}else d=f;while(0);OL(l+44|0)|0;f=d}}while(0);i=l;return}function rB(b,d){b=b|0;d=d|0;a:do if(!(a[d+223>>0]|0)){b=c[b+8036>>2]|0;b:do if((b|0)>0){do if(!(a[d+221>>0]|0)){if((b|0)==3)break;else if((b|0)!=2)break b;if((lx(d+212|0)|0)<<16>>16)break b}while(0);if((FEa(VM(c[(jk(c[d+140>>2]|0)|0)>>2]|0)|0,32)|0)==0?(d=a[(c[d+140>>2]|0)+52>>0]|0,d<<24>>24==6|d<<24>>24==10|d<<24>>24==11|d<<24>>24==8):0){b=1;break a}}while(0);b=0}else b=1;while(0);return b|0}function sB(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;h=i;i=i+16|0;if((e|0)>0){g=0;f=0;do{f=(a[(XM(c[(lk(c[d+140>>2]|0)|0)>>2]|0,g)|0)>>0]|0)+f|0;g=g+1|0}while((g|0)!=(e|0))}else{e=0;f=0}j=c[d+68>>2]|0;g=(VM(c[(jk(c[d+140>>2]|0)|0)>>2]|0)|0)+f|0;if(!(Yy(j,g,a[(XM(c[(lk(c[d+140>>2]|0)|0)>>2]|0,e)|0)>>0]|0)|0))if((a[(c[d+140>>2]|0)+52>>0]|0)==6){OM(h,b+8084|0);d=VM(c[(jk(c[d+140>>2]|0)|0)>>2]|0)|0;j=c[h>>2]|0;f=(UM(j,a[d+f>>0]|0)|0)<<24>>24!=0&1;RM(j)}else f=0;else f=1;i=h;return f|0}function tB(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,j=0,l=0.0,m=0,n=0,o=0;o=i;i=i+2064|0;l=+h[a+7984>>3]*128.0;do if(c[b+156>>2]|0){m=c[(c[b+160>>2]|0)+8>>2]|0;if((m|0)<513){if((m|0)<5){b=-1;break}}else{c[o>>2]=35784;c[o+4>>2]=697;$L(35568,35760,2,1702e3,o)}j=0;do{f=c[b+156>>2]|0;if((j|0)>=(c[f>>2]|0))break;f=c[(Vy(f,j)|0)>>2]|0;if(!((oja(kk(b+212|0,j&65535)|0)|0)<<24>>24))e=102.4000015258789;else e=+xB(f);g[o+8+(j<<2)>>2]=e;if((c[a+8060>>2]|0)>5){h[k>>3]=e;c[o>>2]=c[k>>2];c[o+4>>2]=c[k+4>>2];jN(35808,o)}j=j+1|0}while((j|0)<(m|0));if((c[a+8060>>2]|0)>5)jN(1714256,o);n=c[a+7956>>2]|0;b=0;f=0;do{if((f|0)>=(n|0))break;f=(+g[o+8+(b<<2)>>2]>=102.4000015258789&1)+f|0;b=b+1|0}while((b|0)<(m|0));if((f|0)>=(n|0)){a=m+-1|0;f=0;while(1){if((f|0)>=(n|0)){j=a;break}f=(+g[o+8+(a<<2)>>2]>=102.4000015258789&1)+f|0;j=a+-1|0;if((a|0)>0)a=j;else break}if(!((f|0)<(n|0)|(b|0)>(j|0))){g[d>>2]=l;f=-1;while(1){e=+g[o+8+(b<<2)>>2];if(e>2]=e;f=b}else e=l;if((b|0)<(j|0)){l=e;b=b+1|0}else break}b=f&65535}else b=-1}else b=-1}else b=-1;while(0);i=o;return b|0}function uB(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+64|0;pk(k+32|0,d);c[k+28>>2]=0;pk(k,k+28|0);g=vB(b,d)|0;nB(b,d,g,1,0);j=tk(k+32|0)|0;a[j+256>>0]=1;qv(k,zB(j)|0);a[j+256>>0]=0;wB(b,k+28|0);a:do if(g<<16>>16==999){h=999;g=0}else{h=g;g=0;while(1){if(!(c[k+28>>2]|0))break a;pB(b,k+28|0,e,f);j=vB(b,k+28|0)|0;nB(b,k+28|0,j,2,g);if(j<<16>>16>h<<16>>16){KL(d,231);Sfa(d,k+28|0);h=j;g=1}if(j<<16>>16<999)wB(b,k+28|0);if(h<<16>>16==999){h=999;break}}}while(0);nB(b,d,h,3,g);KL(k+28|0,231);i=k;return}function vB(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0.0,m=0,n=0;n=i;i=i+32|0;pk(n,d);l=+h[b+7984>>3]*128.0;rk(n);if(sk(n)|0)b=0;else{b=0;do{k=tk(n)|0;d=c[k+156>>2]|0;do if(d){if(((a[k+223>>0]|0)==0?(a[k+221>>0]|0)==0:0)?(m=c[k+140>>2]|0,j=a[m+52>>0]|0,!(j<<24>>24==10|j<<24>>24==11|j<<24>>24==8)):0){if((GH(m,c[k+204>>2]|0)|0)<<16>>16<=0)break;d=c[k+156>>2]|0}e=c[d>>2]|0;f=HN(c[k+68>>2]|0,1701816)|0;if((e|0)>0?(c[(c[k+140>>2]|0)+28>>2]|0)>0:0){g=0;j=0;do{d=c[(Vy(c[k+156>>2]|0,g)|0)>>2]|0;if((bx(c[k+140>>2]|0,g)|0)!=(f|0)?!(+xB(d)>24==0&1)+b<<16>>16;else b=(b&65535)+65535&65535;j=j+1<<16>>16;g=j<<16>>16}while((g|0)<(e|0)?(g|0)<(c[(c[k+140>>2]|0)+28>>2]|0):0)}}while(0);OL(n)|0}while(!(sk(n)|0))}i=n;return (b<<16>>16<0?0:b)|0}function wB(d,f){d=d|0;f=f|0;var h=0,j=0.0,k=0.0,l=0,m=0;m=i;i=i+192|0;pk(m+148|0,f);c[m+64>>2]=0;c[m+92>>2]=0;c[m+4>>2]=0;c[m>>2]=0;c[m+36>>2]=0;c[m+120>>2]=0;rk(m+148|0);l=-1;j=9999.0;while(1){if(sk(m+148|0)|0)break;h=tB(d,tk(m+148|0)|0,m+32|0)|0;if(h<<16>>16>-1?(k=+g[m+32>>2],j>k):0){c[m+64>>2]=c[m+148>>2];c[m+68>>2]=c[m+152>>2];c[m+72>>2]=c[m+156>>2];c[m+76>>2]=c[m+160>>2];c[m+80>>2]=c[m+164>>2];c[m+84>>2]=c[m+168>>2];a[m+88>>0]=a[m+172>>0]|0;h=h<<16>>16;j=k}else h=l;OL(m+148|0)|0;l=h}if((l|0)<0){KL(f,231);f=m}else{h=tk(m+64|0)|0;pk(m+36|0,m);pk(m+92|0,(c[h+4>>2]|0)+20|0);f=0;while(1){if((f<<16>>16|0)>=(l|0))break;Ck(m+36|0,pv(m+92|0)|0);OL(m+92|0)|0;f=f+1<<16>>16}fla(m+184|0,tk(m+92|0)|0);d=b[m+184>>1]|0;f=pv(m+92|0)|0;if(f){KL(f+4|0,230);YEa(f)}f=WEa(28)|0;wla(f,m,c[h+4>>2]|0);b[f+10>>1]=e[f+10>>1]&65519;l=c[h+4>>2]|0;b[l+10>>1]=e[l+10>>1]&65527;a[l+8>>0]=1;pk(m+120|0,f+24|0);pk(m+4|0,(c[h+4>>2]|0)+24|0);while(1){if(vk(m+4|0)|0)break;fla(m+176|0,tk(m+4|0)|0);if((b[m+176>>1]|0)>=d<<16>>16)break;Ck(m+120|0,pv(m+4|0)|0);OL(m+4|0)|0}d=WEa(260)|0;zx(d,f);a[d+256>>0]=1;BB(m+64|0,d);aga(h);f=m}KL(f,224);i=m;return}function xB(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,j=0;g=i;i=i+16|0;b[g+8>>1]=32767;b[g+10>>1]=32767;b[g+12>>1]=-32767;b[g+14>>1]=-32767;e=c[a>>2]|0;if(e){d=0;f=0;do{f=f+1<<16>>16;zba(g+8|0,e);j=ll(g+8|0)|0;h=kl(g+8|0)|0;h=j<<16>>16>h<<16>>16?j:h;d=d<<16>>16>16?h:d;e=c[e+20>>2]|0}while((e|0)!=0);if(f<<16>>16>5)d=d<<16>>16<<1&65535}else d=0;Eba(g,c[a>>2]|0);a=c[g>>2]|0;j=c[g+4>>2]|0;c[g+8>>2]=a;c[g+12>>2]=j;h=UGa(a|0,j|0,16)|0;j=UGa(a|0,j|0,48)|0;if((h&65535)<<16>>16>256|(j&65535)<<16>>16<32)d=((d<<16>>16|0)/2|0)&65535;i=g;return +(+(d<<16>>16))}function yB(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;if(!b)$L(35584,35856,2,0,j);if(!(c[b>>2]|0))$L(35576,35856,2,0,j);if(!d)$L(35592,35856,2,320032,j);f=c[d>>2]|0;if(f){g=c[b>>2]|0;if(!(c[g>>2]|0)){c[g>>2]=f;c[b+4>>2]=f;h=c[f>>2]|0;c[b+8>>2]=h;c[b+12>>2]=c[h>>2];a[b+16>>0]=0}else{h=c[b+4>>2]|0;c[h>>2]=c[f>>2];e=c[b+8>>2]|0;if(!e){c[f>>2]=c[b+12>>2];if(a[b+16>>0]|0)c[g>>2]=f;if(!(a[b+17>>0]|0))e=b+12|0;else{c[b+20>>2]=c[h>>2];e=b+12|0}}else{c[f>>2]=e;e=b+12|0}h=c[h>>2]|0;c[b+8>>2]=h;c[e>>2]=c[h>>2]}c[d>>2]=0}i=j;return}function zB(a){a=a|0;var b=0;b=WEa(260)|0;qy(b,a);a=c[a+136>>2]|0;if(a)c[b+136>>2]=Rea(a)|0;return b|0}function AB(a){a=a|0;c[a+4>>2]=0;c[a>>2]=0;b[a+10>>1]=0;b[a+12>>1]=0;NM(a+16|0);c[a+20>>2]=0;c[a+24>>2]=0;return}function BB(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if(!b)$L(35584,35816,2,0,g);if(!(c[b>>2]|0))$L(35576,35816,2,0,g);if(!d)$L(35592,35816,2,319904,g);if(c[d>>2]|0)$L(35600,35816,2,0,g);f=c[b>>2]|0;do if(c[f>>2]|0){c[c[b+4>>2]>>2]=d;e=c[b+8>>2]|0;if(e){c[d>>2]=e;c[b+12>>2]=e;e=b+8|0;break}c[d>>2]=c[b+12>>2];if(a[b+16>>0]|0)c[f>>2]=d;if(!(a[b+17>>0]|0))e=b+8|0;else{c[b+20>>2]=d;e=b+8|0}}else{c[d>>2]=d;c[f>>2]=d;c[b+12>>2]=d;c[b+4>>2]=d;e=b+8|0}while(0);c[e>>2]=d;i=g;return}function CB(a,d){a=a|0;d=d|0;var f=0,g=0;f=c[a+4>>2]|0;if(!(b[f+10>>1]&8))g=(e[(c[d+4>>2]|0)+10>>1]|0)>>>3&1;else g=1;tv(f+10|0,3,g);g=c[a+4>>2]|0;if(!(b[g+10>>1]&16))f=(e[(c[d+4>>2]|0)+10>>1]|0)>>>4&1;else f=1;tv(g+10|0,4,f);Cla(c[a+4>>2]|0,c[d+4>>2]|0);return}function DB(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;n=i;i=i+48|0;e=c[d+156>>2]|0;m=c[e>>2]|0;a:do if((m|0)>0){g=e;e=0;l=0;while(1){f=c[(Vy(g,l)|0)>>2]|0;k=bx(c[d+140>>2]|0,l)|0;if(!(!(Yz(a+184|0,k)|0)?!(az(a+184|0,k)|0):0)){Eba(n+40|0,c[f>>2]|0);f=b[n+46>>1]|0;f=(f|0)>255?255:f;FB(a+184|0,k,n+36|0,n+32|0,n+28|0,n+24|0);h=c[n+24>>2]|0;j=c[n+28>>2]|0;if((h-j|0)<=48){g=c[a+8108>>2]|0;if((f|0)<(j-g|0))g=1;else g=(f|0)>(g+h|0);e=(g&1)+e|0;if((c[a+6076>>2]|0)>0){o=MN(a+184|0,k)|0;k=c[a+8108>>2]|0;c[n>>2]=o;c[n+4>>2]=g?35952:372960;c[n+8>>2]=f;c[n+12>>2]=j;c[n+16>>2]=h;c[n+20>>2]=k;jN(35896,n)}}}f=l+1|0;if((f|0)==(m|0))break a;g=c[d+156>>2]|0;l=f}}else e=0;while(0);i=n;return e|0}function EB(a,d,e){a=a|0;d=d|0;e=e|0;var f=0.0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0;x=i;i=i+96|0;Aka(x+56|0,0,255);Aka(x+40|0,-255,255);v=c[c[d+156>>2]>>2]|0;j=0;do{Bka(x+56|0);Bka(x+40|0);if((v|0)>0){q=(j|0)==0;p=0;do{l=c[(Vy(c[d+156>>2]|0,p)|0)>>2]|0;m=bx(c[d+140>>2]|0,p)|0;if(!(!(Yz(a+184|0,m)|0)?!(az(a+184|0,m)|0):0))w=6;a:do if((w|0)==6?(w=0,Eba(x+80|0,c[l>>2]|0),r=(b[x+86>>1]|0)+j|0,r=(r|0)>255?255:r,Eba(x+88|0,c[l>>2]|0),s=(b[x+90>>1]|0)+j|0,FB(a+184|0,m,x+32|0,x+72|0,x+36|0,x+76|0),t=c[x+76>>2]|0,u=c[x+36>>2]|0,(t-u|0)<=48):0){l=c[a+8108>>2]|0;n=(u-l-r|0)<(r-t-l|0)?r-t-l|0:u-l-r|0;if((c[a+6076>>2]|0)>1){m=MN(a+184|0,m)|0;o=c[x+32>>2]|0;l=c[x+72>>2]|0;c[x>>2]=m;c[x+4>>2]=r+-64;c[x+8>>2]=o;c[x+12>>2]=l;c[x+16>>2]=u;c[x+20>>2]=t;c[x+24>>2]=s;c[x+28>>2]=r;jN(35960,x);l=c[a+8108>>2]|0}else o=c[x+32>>2]|0;if((o|0)>(l+s|0))if(q)l=c[x+72>>2]|0;else w=28;else{m=s-l|0;l=c[x+72>>2]|0;if((m|0)<=(l|0)&(u|0)>64?(t+-64|0)>127&(n|0)>0:0){l=GB(r+-64<<7,t+-64|0)|0;m=GB(r+-64<<7,u+-64|0)|0;if((c[a+6076>>2]|0)>1){c[x>>2]=l;c[x+4>>2]=m;jN(36024,x)}if((l|0)>(m|0))break;while(1){Fka(x+56|0,l,n);if((l|0)<(m|0))l=l+1|0;else break a}}if(!((m|0)>(l|0)&q))if(q){Fka(x+40|0,0,64);w=28}else w=28}if((w|0)==28){w=0;if((c[a+6076>>2]|0)<=1)break;jN(36088,x);break}m=o-s|0;n=l-s|0;if((c[a+6076>>2]|0)>1){c[x>>2]=m;c[x+4>>2]=n;jN(36056,x)}l=(m|0)>-1?m:0-m|0;if((n|0)>(m|0))l=(l|0)/(n-m|0)|0;if((n|0)>=(m|0))while(1){Fka(x+40|0,m,l);if((m|0)<(n|0))m=m+1|0;else break}}while(0);p=p+1|0}while((p|0)<(v|0))}o=c[x+64>>2]|0;n=(c[x+48>>2]|0)>(o|0);if(n){j=ok(+Mka(x+40|0))|0;if((c[a+6076>>2]|0)>1){c[x>>2]=j;jN(36104,x)}}q=(j|0)==0;m=q?0:1;l=q?0:j}while(!(q|n^1));f=+(0-l|0)/+g[d+56>>2];g[e>>2]=f;if((c[a+6076>>2]|0)>1){h[k>>3]=f;c[x>>2]=c[k>>2];c[x+4>>2]=c[k+4>>2];jN(36136,x)}do if(!o)if(m)f=+g[d+244>>2];else f=0.0;else{f=+Mka(x+56|0);if((c[a+6076>>2]|0)>1){h[k>>3]=f;c[x>>2]=c[k>>2];c[x+4>>2]=c[k+4>>2];jN(36160,x);y=f/+g[d+56>>2];h[k>>3]=f;c[x>>2]=c[k>>2];c[x+4>>2]=c[k+4>>2];h[k>>3]=y;c[x+8>>2]=c[k>>2];c[x+12>>2]=c[k+4>>2];jN(36176,x)}y=+Q(+(f+-128.0));if(y>=+(c[a+8132>>2]|0)){f=f/+g[d+56>>2];break}if(m)f=+g[d+244>>2];else f=0.0}while(0);Eka(x+40|0);Eka(x+56|0);i=x;return +f}function FB(a,b,e,f,g,h){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+16|0;if((b|0)==-1){c[g>>2]=0;c[e>>2]=0;c[h>>2]=256;c[f>>2]=256}else{if(!(ay(a,b)|0)){c[j>>2]=373648;c[j+4>>2]=534;$L(35888,373616,2,1702e3,j)}a=c[a>>2]|0;c[e>>2]=d[a+(b*112|0)+39>>0];c[f>>2]=d[a+(b*112|0)+40>>0];c[g>>2]=d[a+(b*112|0)+41>>0];c[h>>2]=d[a+(b*112|0)+42>>0]}i=j;return}function GB(a,b){a=a|0;b=b|0;if((b|0)<0)return 0-(GB(a,0-b|0)|0)|0;else return (((a|0)>-1?(b|0)/2|0:0-((b|0)/2|0)|0)+a|0)/(b|0)|0|0;return 0}function HB(a,b,d,e,f,g,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;XC(a,b,d,e,f,g,h,i,j);c[a>>2]=36240;c[a+60>>2]=1714256;c[a+64>>2]=1714256;return}function IB(a){a=a|0;ZC(a);return}function JB(a){a=a|0;ZC(a);YEa(a);return}function KB(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;if(!(c[(c[a+12>>2]|0)+16>>2]|0))b=0;else{NM(d+8|0);b=c[(c[a+12>>2]|0)+16>>2]|0;if(!(c[b+140>>2]|0)){c[d>>2]=36272;c[d+4>>2]=50;$L(36224,362136,2,1702e3,d)}fN(d+8|0,kC(b,c[a+24>>2]|0,0)|0);e=(SM(d+8|0)|0)+1|0;b=XEa((e|0)>-1?e:-1)|0;a=c[d+8>>2]|0;RGa(b|0,VM(a)|0,e|0)|0;RM(a)}i=d;return b|0}function LB(a,b){a=a|0;b=b|0;c[a+60>>2]=b;return}function MB(a,b){a=a|0;b=b|0;c[a+64>>2]=b;return}function NB(a,b){a=a|0;b=b|0;var d=0.0,e=0,f=0,h=0,j=0,k=0,l=0;l=i;i=i+144|0;e=c[a+12>>2]|0;a:do if(!(c[e+16>>2]|0))d=0.0;else{j=l+8|0;h=e+0|0;f=j+124|0;do{c[j>>2]=c[h>>2];j=j+4|0;h=h+4|0}while((j|0)<(f|0));e=c[l+24>>2]|0;h=c[e+140>>2]|0;if(!h){c[l>>2]=36272;c[l+4>>2]=100;$L(36224,362136,2,1702e3,l)}b:do switch(b|0){case 1:{f=1;d=0.0;while(1){e=c[e+140>>2]|0;if(!e){c[l>>2]=36272;c[l+4>>2]=114;$L(36224,362136,2,1702e3,l)}d=d+ +g[e+40>>2];ck(l+8|0)|0;if((c[l+32>>2]|0)!=(c[l+20>>2]|0)){k=23;break b}if((c[(c[(c[l+28>>2]|0)+4>>2]|0)+60>>2]|0)!=(c[(c[(c[l+16>>2]|0)+4>>2]|0)+60>>2]|0)){k=23;break b}e=c[l+24>>2]|0;f=f+1|0}}case 4:{f=1;d=+g[(c[h+20>>2]|0)+(c[a+24>>2]<<2)>>2]+0.0;break}case 2:{f=1;d=0.0;while(1){e=c[e+140>>2]|0;if(!e){c[l>>2]=36272;c[l+4>>2]=124;$L(36224,362136,2,1702e3,l)}d=d+ +g[e+40>>2];ck(l+8|0)|0;if((c[l+28>>2]|0)!=(c[l+16>>2]|0)){k=23;break b}e=c[l+24>>2]|0;f=f+1|0}}case 0:{f=1;d=0.0;while(1){e=c[e+140>>2]|0;if(!e){c[l>>2]=36272;c[l+4>>2]=105;$L(36224,362136,2,1702e3,l)}d=d+ +g[e+40>>2];ck(l+8|0)|0;if((c[l+32>>2]|0)!=(c[l+20>>2]|0)){k=23;break b}e=c[l+24>>2]|0;f=f+1|0}}case 3:{f=1;d=+g[h+40>>2]+0.0;break}default:{d=0.0;break a}}while(0);if((k|0)==23)if((f|0)<=0){d=0.0;break}d=d/+(f|0)*5.0+100.0;d=d<0.0?0.0:d;d=d>100.0?100.0:d}while(0);i=l;return +d}function OB(b,d,e,f,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0;n=c[b+12>>2]|0;m=c[n+16>>2]|0;do if(!m)m=0;else{o=c[m+228>>2]|0;if(!o){c[l>>2]=-1;m=0;break}c[l>>2]=c[o+8>>2];l=c[o+4>>2]|0;a[d>>0]=l>>>1&1;a[e>>0]=l&1;a[f>>0]=0;a[h>>0]=l>>>2&1;a[i>>0]=l>>>3&1;a[j>>0]=a[m+224>>0]|0;n=c[(c[n+20>>2]|0)+4>>2]|0;m=c[b+40>>2]|0;if((m|0)>0)m=~~((+g[n+24>>2]+ +g[n+20>>2]-+g[n+28>>2])*72.0/+(m|0)+.5);else m=0;c[k>>2]=m;m=c[o>>2]|0}while(0);return m|0}function PB(a){a=a|0;var b=0;if((a|0)!=0?(b=c[a+204>>2]|0,(b|0)!=0):0)b=VM(c[b+12>>2]|0)|0;else b=0;return b|0}function QB(a){a=a|0;var b=0,d=0;b=c[(c[a+12>>2]|0)+16>>2]|0;if(b){d=lC(b)|0;b=mC(c[(c[a+12>>2]|0)+16>>2]|0)|0;if(b|d^1)if(d|b^1)return (b|d?3:0)|0;else b=1;else b=2}else b=0;return b|0}function RB(b){b=b|0;var d=0;if((b|0)!=0?(d=(a[(c[b+140>>2]|0)+52>>0]|0)+-8<<24>>24,(d&255)<4):0)return (13>>>(d&15)&1)!=0|0;return 0}function SB(b){b=b|0;if(!b)b=0;else b=(a[(c[b+140>>2]|0)+52>>0]|0)==6;return b|0}function TB(a){a=a|0;var b=0;if((a|0)!=0?(b=c[a+152>>2]|0,(b|0)!=0):0)b=nC(b)|0;else b=0;return b|0}function UB(a){a=a|0;var b=0;if((a|0)!=0?(b=c[a+152>>2]|0,(b|0)!=0):0){a=c[b+92>>2]|0;return (a|0)!=4&(a|0)!=10|0}return 0}function VB(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+64|0;d=c[(c[a+12>>2]|0)+16>>2]|0;if(UB(d)|0){d=c[d+68>>2]|0;if(!d){c[e>>2]=36272;c[e+4>>2]=261;$L(36224,36304,2,1702e3,e);d=c[(c[(c[a+12>>2]|0)+16>>2]|0)+68>>2]|0}uia(e,b,d);d=jaa(c[(c[(c[a+12>>2]|0)+16>>2]|0)+152>>2]|0,e)|0;wia(e)}else d=0;i=e;return d|0}function WB(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;if(UB(a)|0){oC(b,c[a+152>>2]|0);e=(SM(b)|0)+1|0;a=XEa((e|0)>-1?e:-1)|0;d=c[b>>2]|0;RGa(a|0,VM(d)|0,e|0)|0;RM(d)}else a=0;i=b;return a|0}function XB(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if(!(c[(c[a+12>>2]|0)+16>>2]|0))a=0;else{NM(e+8|0);a=c[(c[a+12>>2]|0)+16>>2]|0;b=c[a+140>>2]|0;a=c[a+68>>2]|0;if(!b){c[e>>2]=36272;c[e+4>>2]=284;$L(36224,362136,2,1702e3,e)}if((c[b+28>>2]|0)>0){d=0;do{dN(e+8|0,pC(a,bx(b,d)|0)|0);d=d+1|0}while((d|0)<(c[b+28>>2]|0))}b=(SM(e+8|0)|0)+1|0;a=XEa((b|0)>-1?b:-1)|0;d=c[e+8>>2]|0;RGa(a|0,VM(d)|0,b|0)|0;RM(d)}i=e;return a|0}function YB(a,b){a=a|0;b=b|0;var d=0;if((a|0)!=0?(d=c[a+152>>2]|0,(d|0)!=0):0){c[b>>2]=c[d+160>>2];d=c[d+156>>2]|0}else d=0;return d|0}function ZB(a){a=a|0;var b=0;if((c[a+28>>2]|0)==0?(b=c[(c[a+12>>2]|0)+16>>2]|0,(b|0)!=0):0)b=(qC(c[b+140>>2]|0,c[a+24>>2]|0)|0)==2;else b=0;return b|0}function _B(a){a=a|0;var b=0;if((c[a+28>>2]|0)==0?(b=c[(c[a+12>>2]|0)+16>>2]|0,(b|0)!=0):0)b=(qC(c[b+140>>2]|0,c[a+24>>2]|0)|0)==1;else b=0;return b|0}function $B(a){a=a|0;var b=0;if((c[a+28>>2]|0)==0?(b=c[(c[a+12>>2]|0)+16>>2]|0,(b|0)!=0):0)b=(qC(c[b+140>>2]|0,c[a+24>>2]|0)|0)==3;else b=0;return b|0}function aC(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;d=c[(c[b+12>>2]|0)+16>>2]|0;if(!d){c[e>>2]=36272;c[e+4>>2]=332;$L(36224,36336,2,1702e3,e);d=c[(c[b+12>>2]|0)+16>>2]|0}c[a>>2]=d;d=d+148|0;if(!(c[d>>2]|0))c[a+4>>2]=0;else{b=WEa(28)|0;pk(b,d);c[a+4>>2]=b;rk(b)}i=e;return}function bC(a){a=a|0;if(a)YEa(a);return}function cC(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)b=0;else{OL(b)|0;b=(sk(c[a+4>>2]|0)|0)^1}return b|0}function dC(a){a=a|0;if(!a)a=0;else a=VM(c[(jk(tk(a)|0)|0)>>2]|0)|0;return a|0}function eC(a){a=a|0;var b=0.0;if(!a)b=0.0;else{b=+g[(tk(a)|0)+40>>2]*5.0+100.0;b=b<0.0?0.0:b;b=b>100.0?100.0:b}return +b}function fC(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;d=c[(c[b+12>>2]|0)+16>>2]|0;if(!d){c[g>>2]=36272;c[g+4>>2]=379;$L(36224,36336,2,1702e3,g);d=c[(c[b+12>>2]|0)+16>>2]|0}c[a>>2]=d;e=c[d+136>>2]|0;if(((e|0)!=0?(f=vga(e,c[(c[d+140>>2]|0)+16>>2]|0,c[b+24>>2]|0)|0,(f|0)!=0):0)?(c[f>>2]|0)!=0:0){b=WEa(28)|0;pk(b,f);c[a+4>>2]=b;rk(b)}else c[a+4>>2]=0;i=g;return}function gC(a){a=a|0;if(a)YEa(a);return}function hC(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)b=0;else{OL(b)|0;b=(sk(c[a+4>>2]|0)|0)^1}return b|0}function iC(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)b=0;else{b=c[(tk(b)|0)+4>>2]|0;b=NN(c[(c[a>>2]|0)+68>>2]|0,b)|0}return b|0}function jC(a){a=a|0;var b=0.0;if(!a)b=0.0;else{b=+g[(tk(a)|0)+36>>2]*5.0+100.0;b=b<0.0?0.0:b;b=b>100.0?100.0:b}return +b}function kC(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;if(((((b|0)>=0?(f=c[a+140>>2]|0,(f|0)!=0):0)?(c[f+28>>2]|0)>(b|0):0)?(g=bx(f,b)|0,(g|0)>=0):0)?(e=c[a+68>>2]|0,(g|0)<(c[e+8>>2]|0)):0){e=rC(e,g)|0;e=NN(c[a+68>>2]|0,(e|0)>0&d&(e|0)!=-1?e:g)|0}else e=0;return e|0}function lC(a){a=a|0;var b=0,d=0,e=0;a:do if(((c[a+68>>2]|0)!=0?(b=c[a+140>>2]|0,(b|0)!=0):0)?(c[b+28>>2]|0)>=1:0){d=0;while(1){b=bx(b,d)|0;if(((b|0)>=0?(e=c[a+68>>2]|0,(b|0)<(c[e+8>>2]|0)):0)?(b=sC(e,b)|0,(b|0)==1|(b|0)==5|(b|0)==13):0){b=1;break a}d=d+1|0;b=c[a+140>>2]|0;if((d|0)>=(c[b+28>>2]|0)){b=0;break}}}else b=0;while(0);return b|0}function mC(a){a=a|0;var b=0,d=0,e=0;a:do if(((c[a+68>>2]|0)!=0?(b=c[a+140>>2]|0,(b|0)!=0):0)?(c[b+28>>2]|0)>=1:0){d=0;while(1){b=bx(b,d)|0;if(((b|0)>=0?(e=c[a+68>>2]|0,(b|0)<(c[e+8>>2]|0)):0)?(sC(e,b)|0)==0:0){b=1;break a}d=d+1|0;b=c[a+140>>2]|0;if((d|0)>=(c[b+28>>2]|0)){b=0;break}}}else b=0;while(0);return b|0}function nC(a){a=a|0;if((SM(a+96|0)|0)>0)a=1;else a=(SM(a+100|0)|0)>0;return a|0}function oC(a,b){a=a|0;b=b|0;var d=0;NM(a);if((c[b+72>>2]|0)>0){d=0;do{bN(a,fk(b+72|0,d)|0);d=d+1|0}while((d|0)<(c[b+72>>2]|0))}return}function pC(a,b){a=a|0;b=b|0;if((b|0)==0?tC(a)|0:0)a=1701816;else a=VM(c[(c[a>>2]|0)+(b*112|0)+104>>2]|0)|0;return a|0}function qC(a,b){a=a|0;b=b|0;if((b|0)>=0?(c[a+28>>2]|0)>(b|0):0)b=c[(c[a+12>>2]|0)+(b<<2)>>2]|0;else b=0;return b|0}function rC(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if((b|0)==-1)a=-1;else{if(!(ay(a,b)|0)){c[d>>2]=373648;c[d+4>>2]=647;$L(36224,373616,2,1702e3,d)}a=c[(c[a>>2]|0)+(b*112|0)+80>>2]|0}i=d;return a|0}function sC(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if((b|0)==-1)a=10;else{if(!(ay(a,b)|0)){c[d>>2]=373648;c[d+4>>2]=640;$L(36224,373616,2,1702e3,d)}a=c[(c[a>>2]|0)+(b*112|0)+76>>2]|0}i=d;return a|0}function tC(a){a=a|0;if(!(uC(a,2)|0))a=0;else a=(HGa(MN(a,2)|0,129496)|0)==0;return a|0}function uC(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if((b|0)==-1)a=0;else{if(!(ay(a,b)|0)){c[d>>2]=373648;c[d+4>>2]=684;$L(36224,373616,2,1702e3,d)}a=c[(c[a>>2]|0)+(b*112|0)+108>>2]|0}i=d;return a|0}function vC(a){a=a|0;var b=0.0,d=0.0,e=0.0,f=0.0;f=+g[a>>2];d=+g[a+4>>2];e=f>2]=f>2];if(!(d>e))if(d>b){f=e;b=d}else f=e;else{c[a+1940>>2]=2;f=d;b=e}d=+g[a+12>>2];if(!(d>f))if(d>b){e=f;b=d}else e=f;else{c[a+1940>>2]=3;e=d;b=f}g[a+1952>>2]=e-b;return}function wC(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0.0,h=0,i=0.0,j=0;e=+g[a+(b*480|0)+20>>2];f=+g[a+(b*480|0)+24>>2];c[a+1944>>2]=1;d=+g[a+(b*480|0)+24>>2];if(e>2]=2;j=3;f=e}else{d=e;j=3}while(1){h=a+(b*480|0)+(j<<2)+16|0;e=+g[h>>2];if(!(e>d))if(e>f)i=d;else{i=d;e=f}else{c[a+1944>>2]=j;i=+g[h>>2];e=d}j=j+1|0;if((j|0)==120)break;else{d=i;f=e}}g[a+1948>>2]=(i/e+-1.0)/.2999999523162842;return}function xC(a){a=a|0;var b=0;b=i;i=i+16|0;c[b>>2]=0;jN(36456,b);yC(a,0);c[b>>2]=1;jN(36456,b);yC(a,1);c[b>>2]=2;jN(36456,b);yC(a,2);c[b>>2]=3;jN(36456,b);yC(a,3);i=b;return}function yC(a,b){a=a|0;b=b|0;var d=0.0,e=0,f=0;f=i;i=i+16|0;e=0;do{d=+g[a+(b*480|0)+(e<<2)+16>>2];if(d!=0.0){c[f>>2]=af(c[a+1936>>2]|0,e)|0;h[k>>3]=d;c[f+4>>2]=c[k>>2];c[f+8>>2]=c[k+4>>2];jN(36480,f)}e=e+1|0}while((e|0)!=120);i=f;return}function zC(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+32|0;f=c[a+10280>>2]|0;if(!f){c[g>>2]=36496;c[g+4>>2]=165;$L(36416,327112,2,1702e3,g)}c[g+24>>2]=0;c[g+20>>2]=1;c[g+16>>2]=0;c[g+12>>2]=0;if((Ip(f)|0)<70)e=70;else e=Ip(f)|0;q0(e,0,f,g+24|0,g+20|0,0,g+16|0,g+12|0);e=c0(f)|0;c[g+8>>2]=e;if(e){wq(f,f,e)|0;cp(g+8|0)}x8(a+10336|0,c[a+10280>>2]|0,b,d);TL(g+12|0,232);TL(g+16|0,232);i=g;return}function AC(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;h=i;i=i+32|0;OM(h+24|0,b);g=c[h+24>>2]|0;b=KEa(VM(g)|0,46)|0;if(b)a[(XM(g,b-(VM(g)|0)|0)|0)>>0]=0;b=c[e+10280>>2]|0;if(!b){c[h>>2]=36496;c[h+4>>2]=200;$L(36416,36520,2,1702e3,h);b=c[e+10280>>2]|0}b=Cp(b)|0;f=up(c[e+10280>>2]|0)|0;c[h+20>>2]=0;OM(h+16|0,h+24|0);j=rca(h+16|0,f,h+20|0)|0;RM(c[h+16>>2]|0);if(!j)sca(b,f,h+20|0);c[h+12>>2]=0;c[h+8>>2]=0;zC(e,h+20|0,h+8|0);if(!(c[h+8>>2]|0))x8(e+10336|0,c[e+10280>>2]|0,h+20|0,h+8|0);else y8(e+10336|0,h+8|0);j=BC(h+8|0,d,e)|0;KL(h+8|0,233);KL(h+12|0,233);KL(h+20|0,222);RM(g);i=h;return j|0}function BC(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0.0;g=i;i=i+96|0;c[g+60>>2]=0;pk(g+60|0,a);c[g+56>>2]=0;fA(g+28|0,g+56|0);rk(g+60|0);while(1){if(sk(g+60|0)|0)break;a=tk(g+60|0)|0;e=c[(c[a+24>>2]|0)+4>>2]|0;if(!((e|0)!=0?!(Zj(c[e+12>>2]|0)|0):0))f=5;a:do if((f|0)==5){f=0;c[g>>2]=0;pk(g,a+4|0);rk(g);while(1){if(sk(g)|0)break a;a=tk(g)|0;fla(g+88|0,c[a+4>>2]|0);e=ll(g+88|0)|0;h=+Q(+(+(e<<16>>16)/+((kl(g+88|0)|0)<<16>>16)));if(!(e<<16>>16<10?1:(1.0/h>h?1.0/h:h)>2.0))JC(g+28|0,a);OL(g)|0}}while(0);OL(g+60|0)|0}f=CC(0,g+56|0,b,d)|0;BL(g+56|0);i=g;return f|0}function CC(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+2064|0;YGa(h+100|0,0,1956)|0;g=(d|0)==0?h+100|0:d;c[g+1936>>2]=e+184;c[h+88>>2]=g;c[h+96>>2]=a;IC(h+44|0,a,g,e);fA(h+16|0,b);if((KC(h+16|0)|0)<251)d=KC(h+16|0)|0;else d=250;c[h>>2]=KC(h+16|0)|0;jN(36552,h);c[h>>2]=d;jN(36592,h);if((d|0)<25){jN(36624,h);d=0}else{f=KC(h+16|0)|0;f=XEa(f>>>0>1073741823?-1:f<<2)|0;gA(h+16|0);if(!((hA(h+16|0)|0)<<24>>24)){a=0;while(1){b=a+1|0;c[f+(a<<2)>>2]=iA(h+16|0)|0;DL(h+16|0)|0;if(!((hA(h+16|0)|0)<<24>>24))a=b;else break}}else b=0;LC(h+4|0,b);if((d|0)>0){b=0;do{DC(c[(c[f+((MC(h+4|0)|0)<<2)>>2]|0)+4>>2]|0,h+88|0,h+44|0,e);b=b+1|0}while((b|0)!=(d|0))}else d=0;ZEa(f);vC(g);wC(g,c[g+1940>>2]|0)}i=h;return d|0}function DC(d,e,f,h){d=d|0;e=e|0;f=f|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0.0,q=0.0,r=0,s=0.0;r=i;i=i+32|0;a[h+938>>0]=1;a[h+954>>0]=0;n=Bba((a[h+9394>>0]|0)!=0,d)|0;Eba(r+24|0,c[n>>2]|0);g[r+16>>2]=1.0;g[r+20>>2]=0.0;c[r+0>>2]=0;c[r+4>>2]=0;c[r+8>>2]=0;c[r+12>>2]=0;j=b[r+24>>1]|0;l=b[r+28>>1]|0;m=b[r+26>>1]|0;k=b[r+30>>1]|0;o=0;do{if(!(o&-3)){d=ll(r+24|0)|0;p=+((l<<16>>16)+(j<<16>>16)|0)*.5;q=+(((o|0)==0?m:k)<<16>>16)}else{d=kl(r+24|0)|0;p=+(((o|0)==1?j:l)<<16>>16);q=+((k<<16>>16)+(m<<16>>16)|0)*.5}s=128.0/+(d<<16>>16);d=WEa(56)|0;Xz(d,n);Fba(d,0,r+16|0,0,p,q,s,s,64.0,0,0);jpa(h,d,r+(o<<2)|0);Bk(d);YEa(d);p=+g[r+16>>2];q=+g[r+20>>2];g[r+20>>2]=p+q*0.0;g[r+16>>2]=p*0.0-q;o=o+1|0}while((o|0)<4);if(n){Bk(n);YEa(n)}FC(e,r);GC(f,r);d=EC(e)|0;HC(c[f>>2]|0,d);d=r+16|0;do{d=d+-4|0;KL(d,229)}while((d|0)!=(r|0));i=r;return}function EC(a){a=a|0;vC(c[a>>2]|0);return c[(c[a>>2]|0)+1940>>2]|0}function FC(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0,h=0,j=0,k=0.0,l=0,m=0;m=i;i=i+48|0;c[m+32>>2]=0;c[m+36>>2]=0;c[m+40>>2]=0;c[m+44>>2]=0;l=0;e=0.0;do{pk(m,b+(l<<2)|0);do if(!(vk(m)|0)){j=c[a+8>>2]|0;if((j|0)!=0?(c[j>>2]|0)!=0:0){rk(m);if(sk(m)|0)break;do{f=c[(tk(m)|0)+40>>2]|0;h=c[a+8>>2]|0;a:do if((c[h>>2]|0)>0){j=0;while(1){if((c[(Ik(h,j)|0)>>2]|0)==(f|0))break;j=j+1|0;h=c[a+8>>2]|0;if((j|0)>=(c[h>>2]|0)){f=0;break a}}f=tk(m)|0}else f=0;while(0);OL(m)|0}while((f|0)==0&((sk(m)|0)^1))}else f=tk(m)|0;if(f){k=+g[f+36>>2]*.05+1.0;g[m+32+(l<<2)>>2]=k;e=e+k}}while(0);l=l+1|0}while((l|0)!=4);b:do if(!(e==0.0)){h=0;j=0;d=0.0;do{k=+g[m+32+(h<<2)>>2];if(k>0.0){j=j+1|0;d=d==0.0|k>2];if(d==0.0){g[m+32>>2]=k;d=k;e=k+e}if(+g[m+36>>2]==0.0){g[m+36>>2]=k;e=k+e}if(+g[m+40>>2]==0.0){g[m+40>>2]=k;e=k+e}if(+g[m+44>>2]==0.0){g[m+44>>2]=k;e=k+e}if(e!=0.0){j=c[a>>2]|0;h=0;while(1){k=+$(+(d/e));f=j+(h<<2)|0;g[f>>2]=k+ +g[f>>2];f=h+1|0;if((h|0)==3)break b;d=+g[m+32+(f<<2)>>2];h=f}}}while(0);i=m;return}function GC(d,e){d=d|0;e=e|0;var f=0,h=0,j=0,k=0,l=0.0,m=0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;x=i;i=i+160|0;v=0;do{f=x+32|0;h=f+120|0;do{a[f>>0]=0;f=f+1|0}while((f|0)<(h|0));c[x>>2]=0;pk(x,e+(v<<2)|0);rk(x);a:do if(!(sk(x)|0)){j=-1;f=-1;l=-1.0;s=1714496;h=0;b:while(1){q=tk(x)|0;r=c[q+40>>2]|0;k=c[d+40>>2]|0;if((k|0)!=0?(t=c[k>>2]|0,(t|0)!=0):0){c:do if((t|0)>0){p=0;while(1){y=(c[(Ik(k,p)|0)>>2]|0)==(r|0);o=p+1|0;k=c[d+40>>2]|0;m=c[k>>2]|0;if(y){k=p;break c}if((o|0)>=(m|0)){k=o;break}else p=o}}else{m=t;k=0}while(0);if((k|0)==(m|0))k=s;else w=9}else w=9;do if((w|0)==9){w=0;if(!(a[x+32+r>>0]|0)){a[x+32+r>>0]=1;p=MN((c[d+36>>2]|0)+184|0,c[q+4>>2]|0)|0;n=-+g[q+36>>2];if(!(l<0.0))if(l+1.0>n){k=s;h=h+1|0}else k=s;else{j=b[q+28>>1]|0;f=r;l=n;k=p;h=1}if((SGa(k|0)|0)==1?(u=a[p>>0]|0,u<<24>>24>47):0)if(u<<24>>24<58|(h|0)>1)break b;else break;if((h|0)>1)break a}else k=s}while(0);OL(x)|0;if(sk(x)|0)break;else s=k}if((h|0)==1){y=(c[d>>2]|0)+(v*480|0)+(f<<2)+16|0;g[y>>2]=+g[y>>2]+1.0;if(((j|0)>-1?(f|0)==(c[d+28>>2]|0):0)?(c[(Ex((c[d+36>>2]|0)+1996|0,j)|0)+4>>2]&16|0)!=0:0){y=c[d>>2]|0;r=y+(v*480|0)+(f<<2)+16|0;g[r>>2]=+g[r>>2]+-1.0;y=y+(v*480|0)+(c[d+32>>2]<<2)+16|0;g[y>>2]=+g[y>>2]+1.0}if((f|0)==(c[d+12>>2]|0)){y=(c[d>>2]|0)+(v*480|0)+(c[d+8>>2]<<2)+16|0;g[y>>2]=+g[y>>2]+1.0}if((f|0)==(c[d+16>>2]|0)){y=(c[d>>2]|0)+(v*480|0)+(c[d+8>>2]<<2)+16|0;g[y>>2]=+g[y>>2]+1.0}if((f|0)==(c[d+24>>2]|0)){y=(c[d>>2]|0)+(v*480|0)+(c[d+4>>2]<<2)+16|0;g[y>>2]=+g[y>>2]+1.0}if((f|0)==(c[d+20>>2]|0)){y=c[d>>2]|0;r=y+(v*480|0)+(c[d+4>>2]<<2)+16|0;g[r>>2]=+g[r>>2]+.699999988079071;y=y+(v*480|0)+(c[d+8>>2]<<2)+16|0;g[y>>2]=+g[y>>2]+.30000001192092896}}}while(0);v=v+1|0}while((v|0)!=4);i=x;return}function HC(a,b){a=a|0;b=b|0;wC(a,b);return}function IC(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a>>2]=d;c[a+36>>2]=e;c[a+40>>2]=b;c[a+12>>2]=GN(e+184|0,130112)|0;c[a+16>>2]=GN((c[a+36>>2]|0)+184|0,130096)|0;c[a+20>>2]=GN((c[a+36>>2]|0)+184|0,130088)|0;c[a+24>>2]=GN((c[a+36>>2]|0)+184|0,37408)|0;c[a+8>>2]=GN((c[a+36>>2]|0)+184|0,37384)|0;c[a+4>>2]=GN((c[a+36>>2]|0)+184|0,37400)|0;c[a+28>>2]=GN((c[a+36>>2]|0)+184|0,130056)|0;c[a+32>>2]=GN((c[a+36>>2]|0)+184|0,36448)|0;return}function JC(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+16|0;if(!a)$L(36432,36688,2,0,d);if(!(c[a>>2]|0))$L(36424,36688,2,0,d);if(!b)$L(36440,36688,2,312520,d);do if(!((kA(a)|0)<<24>>24))if(!((OC(a)|0)<<24>>24)){e=WEa(8)|0;c[e>>2]=0;c[e+4>>2]=b;a=c[a>>2]|0;b=c[a>>2]|0;c[e>>2]=c[b>>2];c[b>>2]=e;c[a>>2]=e;break}else{PC(a,b);c[c[a>>2]>>2]=c[a+4>>2];break}else NC(a,b);while(0);i=d;return}function KC(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(!a)$L(36432,36664,2,0,d);b=c[a>>2]|0;if(!b){$L(36424,36664,2,0,d);b=c[a>>2]|0}a=CL(b)|0;i=d;return a|0}function LC(a,b){a=a|0;b=b|0;c[a>>2]=b;c[a+4>>2]=0;c[a+8>>2]=~~+aa(+(+$(+(+(b|0)))/.6931471805599453));return}function MC(a){a=a|0;var b=0,d=0,e=0,f=0;f=c[a+8>>2]|0;b=c[a+4>>2]|0;if((b|0)<(1<=(1<>2]=d;b=QC(f,e)|0;if((b|0)<(c[a>>2]|0))break;else e=d}b=(d|0)>(1<>2]|0))$L(36424,36792,2,0,h);if(!d)$L(36440,36792,2,312520,h);g=WEa(8)|0;c[g>>2]=0;c[g+4>>2]=d;e=c[b>>2]|0;f=c[e>>2]|0;if(!f){c[g>>2]=g;c[e>>2]=g;c[b+12>>2]=g;c[b+4>>2]=g;a[b+16>>0]=0;c[b+8>>2]=0}else{c[g>>2]=c[b+12>>2];d=c[b+8>>2]|0;if(!d){c[c[b+4>>2]>>2]=g;if(a[b+16>>0]|0){c[e>>2]=g;a[b+16>>0]=0}}else{c[d>>2]=g;if((c[b+4>>2]|0)==(d|0))c[b+4>>2]=g;if((d|0)==(f|0))c[e>>2]=g}c[b+12>>2]=g}i=h;return}function OC(b){b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;if(!b)$L(36432,36760,2,0,f);d=c[b>>2]|0;if(!d){$L(36424,36760,2,0,f);d=c[b>>2]|0}d=c[d>>2]|0;if((d|0)!=0?(e=c[b+8>>2]|0,(e|0)!=(c[d>>2]|0)):0)if((e|0)==0?(c[b+4>>2]|0)==(d|0):0)d=(a[b+16>>0]|0)==0&1;else d=0;else d=1;i=f;return d|0}function PC(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if(!b)$L(36432,36720,2,0,g);if(!(c[b>>2]|0))$L(36424,36720,2,0,g);if(!d)$L(36440,36720,2,312520,g);f=WEa(8)|0;c[f>>2]=0;c[f+4>>2]=d;e=c[b>>2]|0;if(!(c[e>>2]|0)){c[f>>2]=f;c[e>>2]=f;c[b+12>>2]=f;c[b+4>>2]=f;a[b+16>>0]=1;c[b+8>>2]=0}else{c[c[b+4>>2]>>2]=f;d=c[b+8>>2]|0;if(!d){c[f>>2]=c[b+12>>2];if(a[b+16>>0]|0)c[e>>2]=f}else{c[f>>2]=d;if((c[b+12>>2]|0)==(d|0))c[b+12>>2]=f}c[b+4>>2]=f}i=g;return}function QC(a,b){a=a|0;b=b|0;var c=0;if(!a)b=0;else{c=b;b=0;while(1){a=a+-1|0;b=(b|c&1)<<((a|0)>0&1);if(!a)break;else c=c>>1}}return b|0}function RC(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;_ga(d,0);e=c[d+16>>2]|0;if(e)do{kw(b,e,120)|0;if((a[b+8378>>0]|0)!=0?(c[d+24>>2]|0)!=(c[d+36>>2]|0):0){e=c[d+28>>2]|0;g=1}else{g=c[d+28>>2]|0;e=g;g=(g|0)==0&1}if(!e)f=0;else f=c[e+4>>2]|0;e=c[d+36>>2]|0;if(!e)e=0;else e=c[e+4>>2]|0;e=TC(c[(c[d+16>>2]|0)+4>>2]|0,c[(c[d+24>>2]|0)+4>>2]|0,f,e)|0;SC(b,c[d+16>>2]|0,e,g);ck(d)|0;e=c[d+16>>2]|0}while((e|0)!=0);return}function SC(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;m=HN(c[e+68>>2]|0,1701816)|0;k=c[e+240>>2]|0;if((k|0)==0?(c[(c[e+140>>2]|0)+28>>2]|0)!=0:0)n=27;else n=3;do if((n|0)==3)if((a[d+8714>>0]|0)==0?(a[d+8698>>0]|0)==0:0){do if((k|0)!=3){if(a[d+12960>>0]|0){if((k|0)!=1){n=16;break}j=c[e+4>>2]|0;if(!(a[j+8>>0]|0)){n=16;break}h=b[j+10>>1]|0;if(h&3072){n=16;break}}else{j=c[e+4>>2]|0;h=b[j+10>>1]|0}n=h&65535;if((n&8|0)==0?(a[j+8>>0]|0)!=0&(n&2048|0)==0&(n&1024|0)==0:0)a[d+12962>>0]=0;if(!(a[d+12962>>0]|0)){j=d+12962|0;h=d+12960|0;k=d+12963|0;n=19}else n=16}else n=16;while(0);if(((n|0)==16?g<<24>>24!=0:0)?(a[d+12963>>0]|0)!=0:0){j=d+12962|0;h=d+12960|0;k=d+12963|0;n=19}if((n|0)==19){a[j>>0]=1;a[h>>0]=1;a[d+12961>>0]=0;a[k>>0]=0}if(b[(c[e+4>>2]|0)+10>>1]&16){if((a[d+12961>>0]|0)==0|g<<24>>24!=0){h=d+12961|0;n=24}}else{if(!(g<<24>>24))break;h=d+12961|0;n=24}if((n|0)==24){a[d+12960>>0]=0;a[h>>0]=1;a[d+12962>>0]=0}if(g<<24>>24)a[d+12963>>0]=1}else n=27;while(0);do if((n|0)==27){a[d+12960>>0]=0;a[d+12961>>0]=f<<24>>24!=0&1;a[d+12963>>0]=g<<24>>24!=0&1;do if(((a[d+7130>>0]|0)!=0?(a[d+12962>>0]|0)!=0:0)?(j=c[e+4>>2]|0,(a[j+8>>0]|0)==0):0){if((b[j+10>>1]&512)!=0?(a[d+8394>>0]|0)!=0:0)break;if((bx(c[e+140>>2]|0,0)|0)==(m|0))Hga(e,0)}while(0);do if(!(f<<24>>24)){j=c[e+4>>2]|0;if((b[j+10>>1]&512)!=0?(a[d+8394>>0]|0)!=0:0){n=37;break}k=b[e+216>>1]|0;if(k<<16>>16<=0){if(!(a[j+8>>0]|0)){k=e+216|0;break}a[d+12962>>0]=0;k=e+216|0;break}if((bx(c[e+140>>2]|0,(k<<16>>16)+-1|0)|0)==(m|0)){a[d+12962>>0]=1;k=e+216|0;break}else{a[d+12962>>0]=0;k=e+216|0;break}}else n=37;while(0);if((n|0)==37){a[d+12962>>0]=0;k=e+216|0}if((c[(c[e+140>>2]|0)+28>>2]|0)!=(b[k>>1]|0)){c[o>>2]=36904;c[o+4>>2]=211;$L(36832,36840,2,1702e3,o)}UC(d,e);kw(d,e,120)|0;if(a[d+8770>>0]|0){Lw(o+8|0,c[e+140>>2]|0);g=c[o+8>>2]|0;f=VM(g)|0;n=kT(d,c[e+140>>2]|0)|0;c[o>>2]=f;c[o+4>>2]=n;jN(36928,o);RM(g)}if((b[(c[e+4>>2]|0)+10>>1]&512)!=0?(a[d+8394>>0]|0)!=0:0)break;if((a[d+8682>>0]|0)!=0?(c[(c[e+140>>2]|0)+28>>2]|0)>0:0){j=0;do{k=j&65535;if((oja(kk(e+212|0,k)|0)|0)<<24>>24)zja(kk(e+212|0,k)|0);j=j+1|0}while((j|0)<(c[(c[e+140>>2]|0)+28>>2]|0))}if((a[d+8666>>0]|0)!=0?(h=c[e+140>>2]|0,(c[h+28>>2]|0)>0):0){j=0;do{if((bx(h,j)|0)!=(m|0)?(l=j&65535,(oja(kk(e+212|0,l)|0)|0)<<24>>24!=0):0)zja(kk(e+212|0,l)|0);j=j+1|0;h=c[e+140>>2]|0}while((j|0)<(c[h+28>>2]|0))}}while(0);i=o;return}function TC(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+16|0;if(b[d+10>>1]&16)if((h|0)!=0&(g|0)!=0&(f|0)==(h|0))if(!(a[g+8>>0]|0)){yla(j+8|0,d);f=c[j+12>>2]|0;yla(j,g);f=((e[h+20>>1]|e[h+22>>1]<<16)-f-(e[h+32>>1]|0)<<16|0)>((c[j+4>>2]|0)-(c[j>>2]|0)<<16|0)?13:10}else f=13;else f=10;else f=0;i=j;return f|0}function UC(d,e){d=d|0;e=e|0;var f=0,i=0,j=0.0,k=0,l=0,m=0,n=0,o=0;o=b[e+216>>1]|0;n=c[e+140>>2]|0;l=c[n+4>>2]|0;i=c[d+8500>>2]|0;do if(!i){if(o<<16>>16>0){i=0;do{f=i&65535;if((oja(kk(e+212|0,f)|0)|0)<<24>>24)zja(kk(e+212|0,f)|0);i=i+1|0}while((i|0)!=(o<<16>>16|0))}}else if((i|0)<=2){if((GH(n,c[e+204>>2]|0)|0)<<16>>16!=0?(k=(VC(n)|0)<<16>>16,o<<16>>16>0?(k|0)>(c[d+8548>>2]|0):0):0){i=0;do{k=i&65535;if((oja(kk(e+212|0,k)|0)|0)<<24>>24!=0?Yz(l,bx(n,i)|0)|0:0)zja(kk(e+212|0,k)|0);i=i+1|0}while((i|0)!=(o<<16>>16|0))}j=+g[n+36>>2]/+(b[e+216>>1]|0);if(!(j>=+h[d+8592>>3])){if((a[e+221>>0]|0)==0?!(j<+h[d+8632>>3]):0)m=20;else if(o<<16>>16>0){f=0;do{i=f&65535;if((oja(kk(e+212|0,i)|0)|0)<<24>>24!=0?!(YN(l,bx(n,f)|0,1701816)|0):0)zja(kk(e+212|0,i)|0);f=f+1|0}while((f|0)!=(o<<16>>16|0));m=20}else i=0;if((m|0)==20)if(o<<16>>16>0){f=0;do{i=f&65535;if((oja(kk(e+212|0,i)|0)|0)<<24>>24){if(b[(kk(e+212|0,i)|0)+2>>1]&4)zja(kk(e+212|0,i)|0);if(b[(kk(e+212|0,i)|0)+2>>1]&8)zja(kk(e+212|0,i)|0);if(b[(kk(e+212|0,i)|0)+2>>1]&16)zja(kk(e+212|0,i)|0)}f=f+1|0}while((f|0)!=(o<<16>>16|0));i=1}else i=0;if((c[d+8500>>2]|0)!=2){if(!(a[d+8570>>0]|0))if(i)m=38;else i=0;else{f=(b[e+216>>1]|0)>(c[d+8548>>2]|0);if(f|i^1)i=f&i;else m=38}if((m|0)==38){k=0;do{f=k&65535;if((oja(kk(e+212|0,f)|0)|0)<<24>>24){if(!((b[(kk(e+212|0,f)|0)>>1]&8)==0?(b[(kk(e+212|0,f)|0)>>1]&16)==0:0))zja(kk(e+212|0,f)|0);if((a[d+8570>>0]|0)==0?(b[(kk(e+212|0,f)|0)>>1]&64)!=0:0)zja(kk(e+212|0,f)|0)}k=k+1|0}while((k|0)!=(o<<16>>16|0))}k=c[e+68>>2]|0;l=VM(c[(jk(n)|0)>>2]|0)|0;if((yw(d,k,l,VM(c[(lk(n)|0)>>2]|0)|0)|0)==0?(l=VM(c[(jk(n)|0)>>2]|0)|0,(WC(d,l,VM(c[(lk(n)|0)>>2]|0)|0)|0)<<24>>24==0):0)break;if(!((b[e+216>>1]|0)<=(c[d+8548>>2]|0)|i^1)){i=0;do{f=i&65535;do if((oja(kk(e+212|0,f)|0)|0)<<24>>24){if((((ija(b[(kk(e+212|0,f)|0)>>1]|0)|0)<<24>>24!=0?(b[(kk(e+212|0,f)|0)>>1]&8)==0:0)?(b[(kk(e+212|0,f)|0)>>1]&16)==0:0)?(b[(kk(e+212|0,f)|0)>>1]&64)==0:0)break;zja(kk(e+212|0,f)|0)}while(0);i=i+1|0}while((i|0)!=(o<<16>>16|0))}}}}while(0);return}function VC(a){a=a|0;var b=0,d=0,e=0;if((c[a+28>>2]|0)>0){b=0;d=0;do{e=c[a+4>>2]|0;b=((Yz(e,bx(a,d)|0)|0)&1)+b|0;d=d+1|0}while((d|0)<(c[a+28>>2]|0));b=b&65535}else b=0;return b|0}function WC(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=a[d>>0]|0;if(e<<24>>24==1){c=(a[c>>0]|0)==40?c+1|0:c;g=a[c>>0]|0;if(g<<24>>24==45|g<<24>>24==43|g<<24>>24==46|g<<24>>24==36)c=c+1|0}a:do if(!(a[c>>0]|0))c=1;else{g=d;f=c;c=e;d=0;while(1){if(!(Yy(b+184|0,f,c<<24>>24)|0)){if(!(d<<24>>24))break;if((a[g>>0]|0)!=1)break;d=a[f>>0]|0;if((d+-44&255)<3){d=1;e=0}else{h=11;break}}else{d=a[g>>0]|0;e=1}c=g+1|0;d=f+(d<<24>>24)|0;if(!(a[d>>0]|0)){c=1;break a}g=c;f=d;c=a[c>>0]|0;d=e}do if((h|0)==11){c=a[f+1>>0]|0;if(!(c<<24>>24))if(d<<24>>24==41|d<<24>>24==37){c=1;break a}else break;if((d<<24>>24==37?(i=a[g+1>>0]|0,i<<24>>24==1&c<<24>>24==41):0)?(a[f+((i<<24>>24)+1)>>0]|0)==0:0){c=1;break a}}while(0);c=0}while(0);return c|0}function XC(a,d,e,f,g,h,i,j,k){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;c[a>>2]=36984;c[a+4>>2]=d;c[a+8>>2]=e;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;c[a+28>>2]=0;b[a+32>>1]=0;c[a+36>>2]=f;c[a+40>>2]=g;c[a+44>>2]=h;c[a+48>>2]=i;c[a+52>>2]=j;c[a+56>>2]=k;e=WEa(124)|0;ak(e,d);c[a+12>>2]=e;YC(a);return}function YC(a){a=a|0;_ga(c[a+12>>2]|0,1);aD(a,0);return}function ZC(a){a=a|0;var b=0;c[a>>2]=36984;b=c[a+12>>2]|0;if(b)YEa(b);b=c[a+28>>2]|0;if(b)YEa(b);return}function _C(a){a=a|0;ZC(a);YEa(a);return}function $C(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;c[b>>2]=36984;c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[b+16>>2]=0;c[b+20>>2]=c[d+20>>2];c[b+24>>2]=c[d+24>>2];c[b+28>>2]=0;a[b+32>>0]=a[d+32>>0]|0;a[b+33>>0]=a[d+33>>0]|0;c[b+36>>2]=c[d+36>>2];c[b+40>>2]=c[d+40>>2];c[b+44>>2]=c[d+44>>2];c[b+48>>2]=c[d+48>>2];c[b+52>>2]=c[d+52>>2];c[b+56>>2]=c[d+56>>2];e=WEa(124)|0;f=e+0|0;g=(c[d+12>>2]|0)+0|0;h=f+124|0;do{c[f>>2]=c[g>>2];f=f+4|0;g=g+4|0}while((f|0)<(h|0));c[b+12>>2]=e;aD(b,c[d+24>>2]|0);return}function aD(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;d=c[(c[a+12>>2]|0)+16>>2]|0;if(d){f=c[d+140>>2]|0;if(f){e=c[f+28>>2]|0;c[a+20>>2]=e;h=c[d+160>>2]|0;if(((h|0)!=0?(c[h+8>>2]|0)!=(e|0):0)?(f=VM(c[(jk(f)|0)>>2]|0)|0,h=c[(c[d+160>>2]|0)+8>>2]|0,c[g>>2]=e,c[g+4>>2]=f,c[g+8>>2]=h,jN(37016,g),jv(c[d+160>>2]|0),(c[(c[d+160>>2]|0)+8>>2]|0)!=(c[a+20>>2]|0)):0){c[g>>2]=37128;c[g+4>>2]=595;$L(36952,37080,2,1702e3,g)}c[a+16>>2]=0;d=c[a+28>>2]|0;if(d){YEa(d);c[a+28>>2]=0}}else{d=c[d+4>>2]|0;c[a+16>>2]=d;c[a+20>>2]=NL(d+20|0)|0;d=c[a+28>>2]|0;if(!d){d=WEa(28)|0;c[d>>2]=0;c[a+28>>2]=d}pk(d,(c[a+16>>2]|0)+20|0)}c[a+24>>2]=0;if((b|0)>0){d=0;do{e=c[a+28>>2]|0;if(e){OL(e)|0;d=c[a+24>>2]|0}d=d+1|0;c[a+24>>2]=d}while((d|0)<(b|0))}}else{c[a+20>>2]=0;c[a+24>>2]=0;c[a+16>>2]=0}i=g;return}function bD(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];a[b+32>>0]=a[d+32>>0]|0;a[b+33>>0]=a[d+33>>0]|0;c[b+36>>2]=c[d+36>>2];c[b+40>>2]=c[d+40>>2];c[b+44>>2]=c[d+44>>2];c[b+48>>2]=c[d+48>>2];c[b+52>>2]=c[d+52>>2];c[b+56>>2]=c[d+56>>2];e=c[b+12>>2]|0;if(e)YEa(e);e=WEa(124)|0;f=e+0|0;g=(c[d+12>>2]|0)+0|0;h=f+124|0;do{c[f>>2]=c[g>>2];f=f+4|0;g=g+4|0}while((f|0)<(h|0));c[b+12>>2]=e;aD(b,c[d+24>>2]|0);return}function cD(a,b){a=a|0;b=b|0;if(!((a|0)==0&(a|0)==(b|0)))if((b|0)==0|(a|0)==0)b=0;else b=Tga(a,b)|0;else b=1;return b|0}function dD(a){a=a|0;var b=0,d=0,e=0,f=0;d=i;i=i+256|0;if(c[(c[a+12>>2]|0)+24>>2]|0){ak(d+124|0,c[a+4>>2]|0);b=d+0|0;e=d+124|0;f=b+124|0;do{c[b>>2]=c[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(f|0));bha(d);if((Uga(d,c[a+12>>2]|0)|0)<1)do{b=d+124|0;e=d+0|0;f=b+124|0;do{c[b>>2]=c[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(f|0));bha(d)}while((Uga(d,c[a+12>>2]|0)|0)<1);b=(c[a+12>>2]|0)+0|0;e=d+124|0;f=b+124|0;do{c[b>>2]=c[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(f|0));aD(a,0)}i=d;return}function eD(a){a=a|0;var b=0;b=i;i=i+64|0;$C(b,a);dD(b);a=(c[(c[b+12>>2]|0)+20>>2]|0)==(c[(c[a+12>>2]|0)+20>>2]|0);ZC(b);i=b;return a|0}function fD(a){a=a|0;aha(c[a+12>>2]|0)|0;aD(a,0);return}function gD(a,b){a=a|0;b=b|0;var d=0;d=c[a+12>>2]|0;a:do if(!(c[d+24>>2]|0))d=0;else{switch(((c[d+16>>2]|0)==0?0:b)|0){case 2:{vD(d);d=c[a+12>>2]|0;if((c[d+20>>2]|0)==(c[d+8>>2]|0))do{vD(d);d=c[a+12>>2]|0}while((c[d+20>>2]|0)==(c[d+8>>2]|0));break}case 0:{cha(d);break}case 3:{vD(d);break}case 1:{bha(d);break}case 4:{d=c[a+28>>2]|0;if(d)OL(d)|0;b=(c[a+24>>2]|0)+1|0;c[a+24>>2]=b;if((b|0)<(c[a+20>>2]|0)){d=1;break a}vD(c[a+12>>2]|0);break}default:{}}aD(a,0);d=(c[(c[a+12>>2]|0)+24>>2]|0)!=0}while(0);return d|0}function hD(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+12>>2]|0;e=c[d+24>>2]|0;a:do if(e)if(!(c[d+16>>2]|0))d=1;else switch(b|0){case 0:{if(c[a+24>>2]|0){d=0;break a}d=(e|0)!=(c[d+12>>2]|0);break a}case 2:{if(c[a+24>>2]|0){d=0;break a}d=(c[d+20>>2]|0)!=(c[d+8>>2]|0);break a}case 4:{d=1;break a}case 1:{if(c[a+24>>2]|0){d=0;break a}if((e|0)!=(c[d+12>>2]|0)){d=1;break a}d=(c[(c[(c[d+20>>2]|0)+4>>2]|0)+60>>2]|0)!=(c[(c[(c[d+8>>2]|0)+4>>2]|0)+60>>2]|0);break a}case 3:{d=(c[a+24>>2]|0)==0;break a}default:{d=0;break a}}else d=0;while(0);return d|0}function iD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+64|0;if(jD(a,c)|0)c=1;else{$C(d,a);gD(d,c)|0;a:do if(jD(d,c)|0)c=1;else while(1){if((c|0)<=(b|0)){c=1;break a}c=c+-1|0;if(!(hD(d,c)|0)){c=0;break}}while(0);ZC(d)}i=d;return c|0}function jD(a,b){a=a|0;b=b|0;var d=0;d=c[a+12>>2]|0;do if((c[d+24>>2]|0)!=0?!((c[d+16>>2]|0)==0&(b|0)!=0):0){if((b|0)==4?(c[a+24>>2]|0)>=(c[a+20>>2]|0):0){b=1;break}b=0}else b=1;while(0);return b|0}function kD(a,b){a=a|0;b=b|0;var d=0;d=Uga(c[a+12>>2]|0,c[b+12>>2]|0)|0;if(!d){a=c[a+24>>2]|0;d=c[b+24>>2]|0;if((a|0)<(d|0))d=-1;else d=(a|0)!=(d|0)&1}return d|0}function lD(d,f,g,h,j,k){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+128|0;if(jD(d,f)|0)l=0;else{b[q+8>>1]=32767;b[q+10>>1]=32767;b[q+12>>1]=-32767;b[q+14>>1]=-32767;a:do switch(f|0){case 4:{m=c[d+28>>2]|0;if(!m){l=Dk((c[(c[(c[d+12>>2]|0)+16>>2]|0)+160>>2]|0)+12|0,c[d+24>>2]|0)|0;m=e[l+4>>1]|e[l+6>>1]<<16;c[q+8>>2]=e[l>>1]|e[l+2>>1]<<16;c[q+12>>2]=m;m=0;break a}else{fla(q+56|0,tk(m)|0);m=c[q+60>>2]|0;c[q+8>>2]=c[q+56>>2];c[q+12>>2]=m;m=0;break a}}case 2:{m=c[(c[(c[d+12>>2]|0)+20>>2]|0)+4>>2]|0;l=0;n=6;break}case 1:{l=c[(c[(c[d+12>>2]|0)+20>>2]|0)+4>>2]|0;m=l;l=c[l+60>>2]|0;n=6;break}case 0:{ufa(q+32|0,c[(c[(c[d+12>>2]|0)+24>>2]|0)+4>>2]|0,(a[d+32>>0]|0)!=0,(a[d+33>>0]|0)!=0);m=c[q+36>>2]|0;c[q+8>>2]=c[q+32>>2];c[q+12>>2]=m;m=0;break}case 3:{zla(q+48|0,c[(c[(c[d+12>>2]|0)+16>>2]|0)+4>>2]|0,(a[d+32>>0]|0)!=0,(a[d+33>>0]|0)!=0);m=c[q+52>>2]|0;c[q+8>>2]=c[q+48>>2];c[q+12>>2]=m;m=0;break}default:m=0}while(0);if((n|0)==6){Kfa(q+40|0,m,(a[d+32>>0]|0)!=0,(a[d+33>>0]|0)!=0);m=c[q+44>>2]|0;c[q+8>>2]=c[q+40>>2];c[q+12>>2]=m;m=l}if((f|0)==1){$C(q+64|0,d);YC(q+64|0);do{l=c[q+76>>2]|0;n=c[l+24>>2]|0;if(((((n|0)!=0?(c[n+4>>2]|0)==(c[(c[(c[d+12>>2]|0)+24>>2]|0)+4>>2]|0):0)?(o=c[l+20>>2]|0,(o|0)!=0):0)?(p=c[o+4>>2]|0,(p|0)!=0):0)?(c[p+60>>2]|0)==(m|0):0){n=e[p+16>>1]|e[p+18>>1]<<16;c[q+16>>2]=e[p+12>>1]|e[p+14>>1]<<16;c[q+20>>2]=n;dja(q+24|0,q+8|0,q+16|0);n=c[q+28>>2]|0;c[q+8>>2]=c[q+24>>2];c[q+12>>2]=n}}while(gD(q+64|0,2)|0);ZC(q+64|0);n=22}else if(!((f|0)==4?(c[d+28>>2]|0)==0:0))n=22;if((n|0)==22){o=(c[(c[(c[d+12>>2]|0)+24>>2]|0)+4>>2]|0)+68|0;p=c[o+4>>2]|0;c[q>>2]=c[o>>2];c[q+4>>2]=p;wD(q+8|0,q)}o=up(c[(c[d+8>>2]|0)+10280>>2]|0)|0;f=Cp(c[(c[d+8>>2]|0)+10280>>2]|0)|0;p=c[q+8>>2]|0;if((p&65535)<<16>>16<0)l=0;else l=(p<<16>>16|0)>(f|0)?f:p<<16>>16;c[g>>2]=l;l=o-(b[q+14>>1]|0)|0;if((l|0)<0)l=0;else l=(l|0)>(o|0)?o:l;c[h>>2]=l;m=b[q+12>>1]|0;l=c[g>>2]|0;if((m|0)>=(l|0))l=(m|0)>(f|0)?f:m;c[j>>2]=l;l=c[h>>2]|0;if((o-(p>>16)|0)>=(l|0))l=(o-(p>>16)|0)>(o|0)?o:o-(p>>16)|0;c[k>>2]=l;l=1}i=q;return l|0}function mD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return nD(a,b,0,c,d,e,f)|0}function nD(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0;if(lD(a,b,e,f,g,h)|0){b=c[a+44>>2]|0;i=((c[e>>2]|0)/(c[a+36>>2]|0)|0)-d+b|0;j=(c[a+52>>2]|0)+b|0;if((i|0)>=(b|0))b=(i|0)>(j|0)?j:i;c[e>>2]=b;b=c[a+48>>2]|0;j=((c[f>>2]|0)/(c[a+36>>2]|0)|0)-d+b|0;i=(c[a+56>>2]|0)+b|0;if((j|0)>=(b|0))b=(j|0)>(i|0)?i:j;c[f>>2]=b;b=c[a+36>>2]|0;i=c[a+44>>2]|0;b=(((c[g>>2]|0)+-1+b|0)/(b|0)|0)+d+i|0;i=(c[a+52>>2]|0)+i|0;j=c[e>>2]|0;if((b|0)>=(j|0))j=(b|0)>(i|0)?i:b;c[g>>2]=j;b=c[a+36>>2]|0;j=c[a+48>>2]|0;b=(((c[h>>2]|0)+-1+b|0)/(b|0)|0)+d+j|0;j=(c[a+56>>2]|0)+j|0;i=c[f>>2]|0;if((b|0)>=(i|0))i=(b|0)>(j|0)?j:b;c[h>>2]=i;i=1}else i=0;return i|0}function oD(a){a=a|0;var b=0;if((a|0)!=0?(b=c[a+4>>2]|0,(b|0)!=0):0){b=c[b+4>>2]|0;if(!b)b=1;else b=c[b+12>>2]|0}else b=0;return b|0}function pD(a){a=a|0;var d=0,e=0,f=0,g=0,h=0.0;g=i;i=i+32|0;d=c[(c[a+12>>2]|0)+24>>2]|0;if(((d|0)!=0?(e=c[d+4>>2]|0,(e|0)!=0):0)?(f=c[e+4>>2]|0,(f|0)!=0):0){pk(g,f);d=Ir(xD(g)|0)|0;rk(g);if(!(sk(g)|0))do{f=tk(g)|0;f=(f|0)==0?0:f+4|0;h=+(c[a+36>>2]|0);Kr(d,+(b[f>>1]|0)/h+ +(c[a+44>>2]|0),+((c[a+56>>2]|0)+(c[a+48>>2]|0)|0)-+(b[f+2>>1]|0)/h);OL(g)|0}while(!(sk(g)|0))}else d=0;i=g;return d|0}function qD(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;h=i;i=i+32|0;do if(lD(a,d,h+4|0,h+12|0,h+8|0,h+20|0)|0){if(((d|0)==4?(e=c[a+28>>2]|0,(e|0)!=0):0)?(gla(tk(e)|0)|0)!=0:0){e=nla(tk(c[a+28>>2]|0)|0)|0;break}f=c[h+4>>2]|0;g=c[h+12>>2]|0;e=Fl(f,g,(c[h+8>>2]|0)-f|0,(c[h+20>>2]|0)-g|0)|0;c[h>>2]=e;e=Dq(c[(c[a+8>>2]|0)+10280>>2]|0,e)|0;Kl(h);if(d>>>0<2){b[h+24>>1]=32767;b[h+26>>1]=32767;b[h+28>>1]=-32767;b[h+30>>1]=-32767;j=c[(c[(c[a+12>>2]|0)+24>>2]|0)+4>>2]|0;j=yha(j+4|0,j+68|0,h+24|0)|0;c[h+16>>2]=j;d=f-(b[h+24>>1]|0)|0;a=up(c[(c[a+8>>2]|0)+10280>>2]|0)|0;a=(b[h+30>>1]|0)-a+g|0;f=Cp(e)|0;g=up(e)|0;fs(e,(d|0)>-1?0:0-d|0,(a|0)>-1?0:0-a|0,f,g,16,j,(d|0)>0?d:0,(a|0)>0?a:0);cp(h+16|0)}}else e=0;while(0);i=h;return e|0}function rD(a,d,e,f,g,h){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0;k=i;i=i+32|0;do if(nD(a,d,0,g,h,k+16|0,k+12|0)|0){if(!f){j=qD(a,d)|0;break}j=(c[g>>2]|0)-e|0;c[g>>2]=(j|0)<0?0:j;j=(c[h>>2]|0)-e|0;j=(j|0)<0?0:j;c[h>>2]=j;n=(c[k+16>>2]|0)+e|0;l=c[a+52>>2]|0;n=(n|0)>(l|0)?l:n;c[k+16>>2]=n;l=(c[k+12>>2]|0)+e|0;m=c[a+56>>2]|0;l=(l|0)>(m|0)?m:l;c[k+12>>2]=l;m=c[g>>2]|0;j=Fl(m,j,n-m|0,l-j|0)|0;c[k+8>>2]=j;j=Dq(f,j)|0;Kl(k+8|0);if(d>>>0<2){b[k+24>>1]=32767;b[k+26>>1]=32767;b[k+28>>1]=-32767;b[k+30>>1]=-32767;a=c[(c[(c[a+12>>2]|0)+24>>2]|0)+4>>2]|0;a=yha(a+4|0,a+68|0,k+24|0)|0;c[k+4>>2]=a;l=(c[g>>2]|0)-(b[k+24>>1]|0)|0;m=c[h>>2]|0;f=up(f)|0;m=(b[k+30>>1]|0)-f+m|0;f=Cp(j)|0;h=up(j)|0;n=_o(f,h,1)|0;c[k>>2]=n;fs(n,(l|0)>-1?0:0-l|0,(m|0)>-1?0:0-m|0,f,h,24,a,(l|0)>0?l:0,(m|0)>0?m:0);cp(k+4|0);bo(n,n,e<<1|1,e<<1|1)|0;rq(n,n)|0;qq(j,n,-1);cp(k)}}else j=0;while(0);i=k;return j|0}function sD(a,d,f,h,j,k){a=a|0;d=d|0;f=f|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0.0;p=i;i=i+16|0;n=c[a+12>>2]|0;l=c[n+16>>2]|0;if(!l)l=0;else{o=c[(c[n+20>>2]|0)+4>>2]|0;if((d+-3|0)>>>0<2){yla(p,c[l+4>>2]|0);d=b[p>>1]|0;m=b[p+4>>1]|0;l=c[a+12>>2]|0}else{d=e[o+12>>1]|e[o+14>>1]<<16;m=e[o+16>>1]|e[o+18>>1]<<16;c[p>>2]=d;c[p+4>>2]=m;d=d&65535;m=m&65535;l=n}n=~~(+zk(o,+(d<<16>>16))+.5);b[p+12>>1]=d;b[p+14>>1]=n;o=~~(+zk(o,+(m<<16>>16))+.5);b[p+8>>1]=m;b[p+10>>1]=o;l=(c[(c[l+24>>2]|0)+4>>2]|0)+68|0;q=+g[l>>2];yD(p+12|0,q,+g[l+4>>2]);l=(c[(c[(c[a+12>>2]|0)+24>>2]|0)+4>>2]|0)+68|0;q=+g[l>>2];yD(p+8|0,q,+g[l+4>>2]);c[f>>2]=(c[a+44>>2]|0)+((b[p+12>>1]|0)/(c[a+36>>2]|0)|0);c[h>>2]=(c[a+48>>2]|0)+(((c[a+56>>2]|0)-(b[p+14>>1]|0)|0)/(c[a+36>>2]|0)|0);c[j>>2]=(c[a+44>>2]|0)+((b[p+8>>1]|0)/(c[a+36>>2]|0)|0);c[k>>2]=(c[a+48>>2]|0)+(((c[a+56>>2]|0)-(b[p+10>>1]|0)|0)/(c[a+36>>2]|0)|0);l=1}i=p;return l|0}function tD(a,b,e,f,h){a=a|0;b=b|0;e=e|0;f=f|0;h=h|0;var i=0.0,j=0.0,k=0.0,l=0.0;k=+g[a+76>>2];l=+g[a+80>>2];i=+g[a+68>>2];j=+g[a+72>>2];do if(i*(k*0.0+l)-j*(k+l*-0.0)==0.0)if((k*0.0+l)*j+i*(k+l*-0.0)>0.0){c[b>>2]=0;break}else{c[b>>2]=2;break}else if(i*(k*0.0+l)-j*(k+l*-0.0)>0.0){c[b>>2]=1;break}else{c[b>>2]=3;break}while(0);b=+g[a+76>>2]==0.0;c[e>>2]=b?2:d[a+29>>0]|0;c[f>>2]=b?1:2;l=+g[a+84>>2];g[h>>2]=-+uk(l,+g[a+88>>2]);return}function uD(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;c[d>>2]=0;if((((b|0)!=0?(h=c[b+4>>2]|0,(h|0)!=0):0)?(i=c[h+60>>2]|0,(i|0)!=0):0)?(j=c[i+4>>2]|0,(j|0)!=0):0){a[e>>0]=a[i+8>>0]|0;a[f>>0]=a[i+9>>0]|0;c[g>>2]=(c[j+8>>2]|0)-(c[j+12>>2]|0)}return}function vD(a){a=a|0;$ga(a,0,1)|0;return}function wD(a,d){a=a|0;d=d|0;var f=0,h=0;f=i;i=i+16|0;yD(a,+g[d>>2],+g[d+4>>2]);yD(a+4|0,+g[d>>2],+g[d+4>>2]);c[f+12>>2]=e[a>>1]|e[a+2>>1]<<16;c[f+8>>2]=e[a+4>>1]|e[a+6>>1]<<16;_ia(f,f+12|0,f+8|0);h=c[f>>2]|0;d=c[f+4>>2]|0;b[a>>1]=h;b[a+2>>1]=h>>>16;b[a+4>>1]=d;b[a+6>>1]=d>>>16;i=f;return}function xD(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(!a)$L(36968,37200,2,0,d);b=c[a>>2]|0;if(!b){$L(36960,37200,2,0,d);b=c[a>>2]|0}a=NL(b)|0;i=d;return a|0}function yD(a,c,d){a=a|0;c=+c;d=+d;var e=0,f=0.0,g=0.0;f=+(b[a>>1]|0);g=+(b[a+2>>1]|0);e=~~+P(+(f*c-g*d+.5));b[a+2>>1]=~~+P(+(g*c+f*d+.5));b[a>>1]=e;return}function zD(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+80|0;h=c[b+10280>>2]|0;if(!h){c[n>>2]=37256;c[n+4>>2]=111;$L(37224,37232,2,1702e3,n);h=c[b+10280>>2]|0}l=Cp(h)|0;m=up(c[b+10280>>2]|0)|0;h=c[b+5260>>2]|0;if((d|0)!=0&(h+-1|0)>>>0>2?(SM(d)|0)>0:0){OM(n+16|0,d);d=c[n+16>>2]|0;j=KEa(VM(d)|0,46)|0;if(j)a[(XM(d,j-(VM(d)|0)|0)|0)>>0]=0;OM(n+32|0,n+16|0);rca(n+32|0,m,e)|0;RM(c[n+32>>2]|0);RM(d)}a:do if(!(c[e>>2]|0)){pk(n+36|0,e);d=WEa(96)|0;sfa(d,1714496,1,0,0,0,0,l&65535,m&65535);a[d+29>>0]=a[b+12904>>0]|0;qv(n+36|0,d);c[n+64>>2]=0;c[n+68>>2]=0;b:do if((h|0)>=2){switch(h|0){case 2:case 3:case 4:case 11:case 12:break b;default:{}}c[b+12916>>2]=1065353216;c[b+12920>>2]=0;c[b+12924>>2]=1065353216;c[b+12928>>2]=0;if((h|0)!=9){k=24;break a}f=c[b+10280>>2]|0;h=rq(0,f)|0;c[n>>2]=h;j=ep(f)|0;c[n+12>>2]=j;dq(j);Bt(j,j,h,4)|0;rq(j,j)|0;cp(n);h=sq(0,f,j)|0;c[n+24>>2]=h;Om(h,n+20|0);c[n+28>>2]=0;h=1;d=2147483647;c:while(1){cp(n+24|0);co(j,j,3,3)|0;g=sq(0,f,j)|0;c[n+24>>2]=g;Om(g,n+8|0);g=c[n+8>>2]|0;do if(!((h|0)==1?1:(g|0)>(c[n+20>>2]|0))){j=(g|0)<(d|0);if(!((h|0)>1&j))if(j){g=d;break}else break c;else{cp(n+28|0);c[n+28>>2]=tp(0,c[n+24>>2]|0)|0;break}}else c[n+20>>2]=g;while(0);h=h+1|0;if((h|0)>=8)break;j=c[n+12>>2]|0;d=g}cp(n+24|0);cp(n+12|0);h=c[n+28>>2]|0;if(!h){h=9;k=24;break a}cp(b+10280|0);c[b+10280>>2]=h;h=9;k=24;break a}while(0);AD(b,h,e,n+68|0,(a[b+5826>>0]|0)!=0?n+64|0:0,f,g);if(h)k=24}else{c[n+64>>2]=0;c[n+68>>2]=0;c[b+12916>>2]=1065353216;c[b+12920>>2]=0;c[b+12924>>2]=1065353216;c[b+12928>>2]=0;h=6;k=24}while(0);do if((k|0)==24){if(c[e>>2]|0){Z7(b+10336|0,h,b+12924|0,l,m,c[b+10280>>2]|0,c[b+10292>>2]|0,c[b+10288>>2]|0,(a[b+9378>>0]|0)!=0|(c[b+5396>>2]|0)!=0,n+64|0,e,n+68|0);break}if(c[77789]|0)jN(37288,n)}while(0);KL(n+68|0,233);KL(n+64|0,234);i=n;return}function AD(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0;m=i;i=i+80|0;if(a[311674]|0){n=(a[311754]|0)==0;l=c[b+10280>>2]|0;k=Cp(l)|0;k=_o(k,up(l)|0,8)|0;c[m+32>>2]=k;if(n){Xp(k,64);qq(k,l,0)}else{Wp(k);qq(k,l,192)}qT();Ou(VM(c[77958]|0)|0,k,3);cp(m+32|0)}c[m+64>>2]=0;c[m+68>>2]=0;c[m+72>>2]=0;c[m+28>>2]=0;k=BD(b,d,e,h,j,m+28|0,m+64|0,m+68|0)|0;if(k){pk(m,m+28|0);l=tk(m)|0;h=c[m+68>>2]|0;if(h){n=c[m+64>>2]|0;vq(n,n,h)}h=c[b+12992>>2]|0;if(h)fX(k,h);SW(k,d,l,c[m+64>>2]|0,c[b+10292>>2]|0,c[b+10288>>2]|0,m+72|0,g,f);eX(k,b+12916|0,b+12924|0);Qc[c[(c[k>>2]|0)+4>>2]&511](k)}cp(m+64|0);cp(m+68|0);KL(e,222);pk(m+36|0,e);yk(m+36|0,m+72|0);if(a[311674]|0)Ya(VM(c[77958]|0)|0)|0;KL(m+28|0,233);KL(m+72|0,222);i=m;return}function BD(b,d,f,j,l,m,n,o){b=b|0;d=d|0;f=f|0;j=j|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0.0,q=0.0,r=0.0,s=0,t=0,u=0,v=0,w=0.0;v=i;i=i+96|0;c[v+64>>2]=0;c[v+60>>2]=1;c[v+52>>2]=0;c[v+56>>2]=0;if(!(c[b+10280>>2]|0)){c[v>>2]=37256;c[v+4>>2]=319;$L(37224,37232,2,1702e3,v)}if(a[b+5242>>0]|0)Ou(37304,c[b+10280>>2]|0,3);q0(c[b+10296>>2]|0,(a[b+9362>>0]|0)!=0,c[b+10280>>2]|0,v+64|0,v+60|0,o,v+52|0,v+56|0);if(a[b+5242>>0]|0)Ou(37320,c[b+10280>>2]|0,3);c[n>>2]=c0(c[b+10280>>2]|0)|0;if(a[b+5242>>0]|0)Ou(37336,c[b+10280>>2]|0,3);if((d+-1|0)>>>0>=3)TL(v+52|0,232);x8(b+10336|0,c[b+10280>>2]|0,f,m);pk(v+24|0,m);s=c[m>>2]|0;if(!((s|0)!=0?(s|0)==(c[s>>2]|0):0)){c[v>>2]=37256;c[v+4>>2]=342;$L(37224,37360,2,1702e3,v)}t=tk(v+24|0)|0;f=(c[t+24>>2]|0)+16|0;s=e[f+4>>1]|e[f+6>>1]<<16;c[v+16>>2]=e[f>>1]|e[f+2>>1]<<16;c[v+20>>2]=s;if(+g[t+36>>2]>=2.0){m=WEa(304)|0;MW(m,~~+g[t+36>>2],v+16|0,v+20|0,c[b+10296>>2]|0,(a[b+9378>>0]|0)!=0,+h[b+9520>>3],v+52|0,v+56|0,c[v+64>>2]|0,c[v+60>>2]|0);PW(m,d,c[n>>2]|0,t);f=c[b+12992>>2]|0;if(f)bd[c[(c[f>>2]|0)+8>>2]&63](f,t)|0;c[v+68>>2]=0;if(!((d|0)==5|(a[b+9458>>0]|0)!=0))if((a[b+9442>>0]|0)!=0?(d|0)<4|(d|0)==12:0)s=QW(+h[b+9480>>3],t,v+68|0)|0;else s=0;else s=1;if(((d|0)<2|(d|0)==12)&(j|0)!=0&(l|0)!=0){Ek(v+72|0);if((j|0)!=(b|0)?(CD(b+184|0,j+184|0,v+72|0),(c[b+12964>>2]|0)>0):0){f=0;do{CD((c[(Xj(b+12964|0,f)|0)>>2]|0)+184|0,j+184|0,v+72|0);f=f+1|0}while((f|0)<(c[b+12964>>2]|0))}CC(v+72|0,v+68|0,l,j)|0;do if(d){f=c[l+1940>>2]|0;q=+g[l+(f<<2)>>2];r=+h[b+9328>>3];if(f){p=q-+g[l>>2];p=p>2];p=w>2];p=w>2];if(q>2]|0;o=af(j+184|0,l)|0;do if(((l|0)!=(c[j+240>>2]|0)?(l|0)!=(c[j+244>>2]|0):0)?(l|0)!=(c[j+248>>2]|0):0){if(!(HGa(37384,o)|0)){u=34;break}if(!(HGa(37400,o)|0)){u=34;break}if(HGa(37408,o)|0)o=1;else u=34}else u=34;while(0);if((u|0)==34){a[m+128>>0]=1;o=0}if(p>3]=p;c[v>>2]=c[k>>2];c[v+4>>2]=c[k+4>>2];jN(37416,v);o=0;f=0;break}else{c[v>>2]=CL(v+68|0)|0;h[k>>3]=p;c[v+4>>2]=c[k>>2];c[v+8>>2]=c[k+4>>2];c[v+12>>2]=f;jN(37488,v);o=0;break}else o=0}else{Qc[c[(c[m>>2]|0)+4>>2]&511](m);o=1;f=0}while(0);Jk(v+72|0);if(!o)u=41;else{o=1;f=v+68|0}}else{f=0;u=41}if((u|0)==41){BL(v+68|0);RW(m,t,s,f);o=0;f=v+68|0}BL(f);if(!o)u=43;else m=0}else{m=0;u=43}TL(v+56|0,232);TL(v+52|0,232);i=v;return m|0}function CD(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=c[a+20>>2]|0;if((e|0)>0){f=0;do{if((f|0)!=(c[a+36>>2]|0)){zv(d,aO(b,af(a,f)|0)|0);e=c[a+20>>2]|0}f=f+1|0}while((f|0)<(e|0))}return}function DD(a,c){a=a|0;c=c|0;if(((b[c>>1]|0)<=(b[a+4>>1]|0)?(b[c+4>>1]|0)>=(b[a>>1]|0):0)?(b[c+2>>1]|0)<=(b[a+6>>1]|0):0)c=(b[c+6>>1]|0)>=(b[a+2>>1]|0);else c=0;return c|0}function ED(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+32|0;FD(j+12|0);if((c[b>>2]|0)>0){h=0;do{a:do if((c[(c[(Jw(b,h)|0)>>2]|0)+136>>2]|0)!=0?(f=c[(c[(Jw(b,h)|0)>>2]|0)+136>>2]|0,g=Vc[c[(c[f>>2]|0)+12>>2]&63](f,0,0)|0,(c[(c[f+4>>2]|0)+(g<<2)>>2]|0)==0):0){g=0;while(1){if((g|0)>=(c[(Jw(b,h)|0)+16>>2]|0))break a;if((g|0)<(c[a+12964>>2]|0))e=c[(Xj(a+12964|0,g)|0)>>2]|0;else e=a;f=c[(Fw((Jw(b,h)|0)+16|0,g)|0)>>2]|0;if((c[c[f+72>>2]>>2]|0)>0){d=0;do{GD(j,d,e,f);HD(j+12|0,c[j>>2]|0,c[j+4>>2]|0,c[j+8>>2]|0);d=d+1|0}while((d|0)<(c[c[f+72>>2]>>2]|0))}g=g+1|0}}while(0);h=h+1|0}while((h|0)<(c[b>>2]|0))}f=c[j+12>>2]|0;if((c[a+9556>>2]|0)>1){if((f|0)>0){e=c[j+20>>2]|0;d=0;do{a=c[(JD(f,e,d)|0)+4>>2]|0;a=mT(a,c[(JD(f,e,d)|0)>>2]|0,0)|0;c[c[(JD(f,e,d)|0)+8>>2]>>2]=a;d=d+1|0}while((d|0)<(f|0))}}else if((f|0)>0){e=c[j+20>>2]|0;d=0;do{a=c[(JD(f,e,d)|0)+4>>2]|0;a=mT(a,c[(JD(f,e,d)|0)>>2]|0,0)|0;c[c[(JD(f,e,d)|0)+8>>2]>>2]=a;d=d+1|0}while((d|0)<(f|0))}ID(j+12|0);i=j;return}function FD(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;KD(a,4);return}function GD(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a>>2]=c[(Vy(c[e+72>>2]|0,b)|0)>>2];c[a+4>>2]=d;d=c[e+136>>2]|0;e=Vc[c[(c[d>>2]|0)+12>>2]&63](d,b,b)|0;c[a+8>>2]=(c[d+4>>2]|0)+(e<<2);return}function HD(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=c[a>>2]|0;if((f|0)==(c[a+4>>2]|0)){LD(a);f=c[a>>2]|0}c[a>>2]=f+1;a=c[a+8>>2]|0;c[a+(f*12|0)>>2]=b;c[a+(f*12|0)+4>>2]=d;c[a+(f*12|0)+8>>2]=e;return}function ID(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=i;i=i+16|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;g=(c[a+8>>2]|0)+(d*12|0)|0;c[e+0>>2]=c[g+0>>2];c[e+4>>2]=c[g+4>>2];c[e+8>>2]=c[g+8>>2];Rc[f&63](b,e);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function JD(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)>-1&(a|0)>(c|0))return b+(c*12|0)|0;else Ja(1701640,1701680,663,1701712);return 0}function KD(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){g=XEa(b>>>0>357913941?-1:b*12|0)|0;if(b){d=g;do{c[d>>2]=0;c[d+8>>2]=0;d=d+12|0}while((d|0)!=(g+(b*12|0)|0))}e=c[a>>2]|0;if((e|0)>0){f=0;do{h=g+(f*12|0)|0;d=c[a+8>>2]|0;i=d+(f*12|0)|0;c[h+0>>2]=c[i+0>>2];c[h+4>>2]=c[i+4>>2];c[h+8>>2]=c[i+8>>2];f=f+1|0}while((f|0)!=(e|0))}else d=c[a+8>>2]|0;if(d)ZEa(d);c[a+8>>2]=g;c[a+4>>2]=b}return}function LD(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)KD(a,4);else KD(a,b<<1);return}function MD(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if(d){PM(e+4|0,130304);gN(e+8|0,e+4|0,b);PM(e,130312);gN(a,e+8|0,e);RM(c[e>>2]|0);RM(c[e+8>>2]|0);RM(c[e+4>>2]|0)}else OM(a,b);i=e;return}function ND(a){a=a|0;if((a+-97|0)>>>0<26)return 1;else return (a+-65|0)>>>0<26|0;return 0}function OD(a){a=a|0;return (FGa(37584,a,6)|0)!=0|0}function PD(a){a=a|0;return (FGa(37592,a,10)|0)!=0|0}function QD(b,c){b=b|0;c=c|0;var d=0,e=0;d=a[b>>0]|0;a:do if(d<<24>>24){e=b;while(1){b=e+1|0;if(!(FEa(c,d<<24>>24)|0)){b=e;break a}d=a[b>>0]|0;if(!(d<<24>>24))break;else e=b}}while(0);return b|0}function RD(b){b=b|0;var c=0;c=a[b>>0]|0;if(!(c<<24>>24))return b|0;else{c=(FEa(37640,c<<24>>24)|0)==0;return (c?b:b+1|0)|0}return 0}function SD(b){b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=0;c=VM(b)|0;while(1){b=a[c>>0]|0;if(!(b<<24>>24!=0&(g|0)<3))break;f=RD(RD(c)|0)|0;c=QD(f,37608)|0;if((c|0)==(f|0)){c=QD(f,37624)|0;if((c|0)==(f|0)){d=a[f>>0]|0;a:do if(!(d<<24>>24))c=f;else{c=f;while(1){e=c+1|0;if(!(ND(d<<24>>24)|0))break a;d=a[e>>0]|0;if(!(d<<24>>24)){c=e;break}else c=e}}while(0);if((c-f|0)==1)b=c;else break}else b=c}else b=c;c=QD(QD(b,37656)|0,37648)|0;if((c|0)==(b|0)){h=10;break}else g=g+1|0}if((h|0)==10)b=a[b>>0]|0;return b<<24>>24==0|0}function TD(b){b=b|0;if((SM(b)|0)==1)b=(FGa(37664,a[(XM(c[b>>2]|0,0)|0)>>0]|0,9)|0)!=0;else b=0;return b|0}function UD(a){a=a|0;if(TD(a)|0)a=1;else a=SD(c[a>>2]|0)|0;return a|0}function VD(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;if((a|0)!=0&(b|0)!=0?(c[b+28>>2]|0)>=(d|0):0){lN(e,MN(a,bx(b,d)|0)|0,-1);d=nN(e)|0}else d=0;i=e;return d|0}function WD(a,b){a=a|0;b=b|0;var d=0,e=0;a:do if((c[a+8>>2]|0)>(b|0)){d=b;while(1){e=c[a>>2]|0;b=d+1|0;if(!(Zz(e,bx(c[a+4>>2]|0,d)|0)|0)){b=d;break a}if((b|0)<(c[a+8>>2]|0))d=b;else break}}while(0);return b|0}function XD(a,b){a=a|0;b=b|0;var d=0;a:do if((c[a+8>>2]|0)>(b|0))do{d=c[a>>2]|0;if(!(az(d,bx(c[a+4>>2]|0,b)|0)|0)?(d=VD(c[a>>2]|0,c[a+4>>2]|0,b)|0,!((d|0)==73|(d|0)==79|(d|0)==108|(d|0)==111)):0)break a;b=b+1|0}while((b|0)<(c[a+8>>2]|0));while(0);return b|0}function YD(a,b){a=a|0;b=b|0;var d=0,e=0;a:do if((c[a+8>>2]|0)>(b|0)){d=b;while(1){e=VD(c[a>>2]|0,c[a+4>>2]|0,d)|0;if((e|0)>239){b=d;break a}b=d+1|0;if(!(FGa(37608,e,13)|0)){b=d;break a}if((b|0)<(c[a+8>>2]|0))d=b;else break}}while(0);return b|0}function ZD(a,b){a=a|0;b=b|0;var d=0,e=0;a:do if((c[a+8>>2]|0)>(b|0)){d=b;while(1){e=c[a>>2]|0;b=d+1|0;if(!(Yz(e,bx(c[a+4>>2]|0,d)|0)|0)){b=d;break a}if((b|0)<(c[a+8>>2]|0))d=b;else break}}while(0);return b|0}function _D(a){a=a|0;var b=0;b=i;i=i+16|0;if((a|0)>=128)if((a|0)==9675|(a|0)==9679|(a|0)==9658|(a|0)==11037|(a|0)==9642|(a|0)==9632|(a|0)==9633|(a|0)==183|(a|0)==9702|(a|0)==8226|(a|0)==176)a=1;else a=0;else{NM(b);hN(b,a&255);a=TD(b)|0;RM(c[b>>2]|0)}i=b;return a|0}function $D(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;d=c[b+28>>2]|0;if((d|0)==1)if(_D(VD(a,b,0)|0)|0)d=1;else{d=c[b+28>>2]|0;e=4}else e=4;if((e|0)==4){c[g>>2]=a;c[g+4>>2]=b;c[g+8>>2]=d;f=0;a=0;while(1){if(!((a|0)<(d|0)&(f|0)<3)){d=a;break}e=WD(g,a)|0;if((e|0)>(a+1|0)){d=a;break}d=YD(g,e)|0;if((d|0)==(e|0)){d=XD(g,e)|0;if((d|0)==(e|0)){d=ZD(g,e)|0;if((d-e|0)!=1){d=a;break}}}a=WD(g,d)|0;if((a|0)==(d|0))break;d=c[b+28>>2]|0;f=f+1|0}d=(d|0)==(c[b+28>>2]|0)}i=g;return d|0}function aE(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;a[f>>0]=0;a[g>>0]=0;a[h>>0]=0;do if(SM(e)|0){if(d){if(!(c[d+28>>2]|0)){i=4;break}if(b){if($D(b,d)|0){a[f>>0]=1;a[g>>0]=1;a[h>>0]=1}if(nx(b,bx(d,0)|0)|0)a[g>>0]=1;if(!(Zz(b,bx(d,0)|0)|0))break;a[g>>0]=1;a[h>>0]=1;break}}if(UD(e)|0){a[f>>0]=1;a[g>>0]=1}f=a[(XM(c[e>>2]|0,0)|0)>>0]|0;if(OD(f<<24>>24)|0)a[g>>0]=1;if(PD(f<<24>>24)|0)a[h>>0]=1;if((f+-65&255)<26)a[g>>0]=1}else i=4;while(0);if((i|0)==4)a[h>>0]=1;return}function bE(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;a[f>>0]=0;a[g>>0]=0;a[h>>0]=0;do if(!(SM(e)|0))i=4;else{if(d){if(!(c[d+28>>2]|0)){i=4;break}if(b){if($D(b,d)|0){a[f>>0]=1;a[g>>0]=1}if(!(Zz(b,bx(d,(c[d+28>>2]|0)+-1|0)|0)|0))break;a[h>>0]=1;break}}if(UD(e)|0){a[f>>0]=1;a[g>>0]=1}f=(SM(e)|0)+-1|0;f=a[(XM(c[e>>2]|0,f)|0)>>0]|0;if(!(OD(f)|0)?!(PD(f)|0):0)break;a[h>>0]=1}while(0);if((i|0)==4)a[h>>0]=1;return}function cE(a){a=a|0;var b=0;b=i;i=i+16|0;PM(b+4|0,37680);Wj(a,b+4|0);RM(c[b+4>>2]|0);PM(b,37704);Wj(a,b);RM(c[b>>2]|0);i=b;return}function dE(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;j=i;i=i+64|0;e=c[a+8>>2]|0;f=c[a+12>>2]|0;g=c[a+16>>2]|0;c[j>>2]=c[a+4>>2];c[j+4>>2]=e;c[j+8>>2]=f;c[j+12>>2]=g;wGa(j+32|0,30,37712,j)|0;PM(j+28|0,j+32|0);Wj(d,j+28|0);RM(c[j+28>>2]|0);NM(j+24|0);hN(j+24|0,(eE(a)|0)&255);dN(j+24|0,37736);if((c[a+20>>2]|0)>0){g=0;e=0;do{if(c[($E(a+20|0,g)|0)+4>>2]|0){if((e|0)>0)dN(j+24|0,364960);k=aF(c[($E(a+20|0,g)|0)+4>>2]|0)|0;f=c[($E(a+20|0,g)|0)+4>>2]|0;do if(!k){if((f|0)==(-559083233|0)){dN(j+24|0,37744);break}if((c[($E(a+20|0,g)|0)+4>>2]|0)==(-559052657|0))dN(j+24|0,37752)}else{bF(j+20|0,(fE(b,f)|0)+1|0);bN(j+24|0,j+20|0);RM(c[j+20>>2]|0)}while(0);e=e+1|0}g=g+1|0}while((g|0)<(c[a+20>>2]|0));if(!e)h=15}else h=15;if((h|0)==15)dN(j+24|0,385040);OM(j+16|0,j+24|0);Wj(d,j+16|0);RM(c[j+16>>2]|0);RM(c[j+24>>2]|0);i=j;return}function eE(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;b=c[a+20>>2]|0;do if(!b)b=85;else{if((b|0)>0){e=0;b=0;f=0;while(1){d=c[($E(a+20|0,f)|0)>>2]|0;if((d|0)==67)d=1;else if((d|0)==83){d=e;b=1}else{c[g>>2]=c[($E(a+20|0,f)|0)>>2];jN(37760,g);d=e}f=f+1|0;if((f|0)>=(c[a+20>>2]|0))break;else e=d}if(b&d){b=77;break}}else b=0;b=b?83:67}while(0);i=g;return b|0}function fE(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a>>2]|0;a:do if((c[d>>2]|0)>0){e=d;d=0;while(1){if((c[(cF(e,d)|0)>>2]|0)==(b|0))break a;d=d+1|0;e=c[a>>2]|0;if((d|0)>=(c[e>>2]|0)){d=-1;break}}}else d=-1;while(0);return d|0}function gE(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;d=c[a+20>>2]|0;do if(!d)d=85;else{if((d|0)>0){f=0;d=0;g=0;while(1){do if((c[($E(a+20|0,g)|0)+4>>2]|0)==(b|0)){e=c[($E(a+20|0,g)|0)>>2]|0;if((e|0)==83){e=f;d=1;break}else if((e|0)==67){e=1;break}else{c[h>>2]=c[($E(a+20|0,g)|0)>>2];jN(37760,h);e=f;break}}else e=f;while(0);g=g+1|0;if((g|0)>=(c[a+20>>2]|0))break;else f=e}if(d&e){d=77;break}}else d=0;d=d?83:67}while(0);i=h;return d|0}function hE(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;b=eE(a)|0;if((b|0)==85)d=3;else if((b|0)!=83?(jN(37808,e),(b|0)==67):0)d=3;if((d|0)==3){c[e+8>>2]=83;c[e+12>>2]=0;dF(a+20|0,e+8|0)}i=e;return}function iE(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;b=eE(a)|0;if((b|0)==85)d=3;else if((b|0)!=67?(jN(37872,e),(b|0)==83):0)d=3;if((d|0)==3){c[e+8>>2]=67;c[e+12>>2]=0;dF(a+20|0,e+8|0)}i=e;return}function jE(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+8>>2]=83;c[d+12>>2]=b;dF(a+20|0,d+8|0);c[d>>2]=83;c[d+4>>2]=0;b=eF(a+20|0,d)|0;if((b|0)>-1)fF(a+20|0,b);i=d;return}function kE(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+8>>2]=67;c[d+12>>2]=b;dF(a+20|0,d+8|0);c[d>>2]=67;c[d+4>>2]=0;b=eF(a+20|0,d)|0;if((b|0)>-1)fF(a+20|0,b);i=d;return}function lE(a,b){a=a|0;b=b|0;var d=0;if((c[a+20>>2]|0)>0){d=0;do{if((c[($E(a+20|0,d)|0)>>2]|0)==83?aF(c[($E(a+20|0,d)|0)+4>>2]|0)|0:0)gF(b,c[($E(a+20|0,d)|0)+4>>2]|0);d=d+1|0}while((d|0)<(c[a+20>>2]|0))}return}function mE(a,b){a=a|0;b=b|0;var d=0;if((c[a+20>>2]|0)>0){d=0;do{if(aF(c[($E(a+20|0,d)|0)+4>>2]|0)|0)gF(b,c[($E(a+20|0,d)|0)+4>>2]|0);d=d+1|0}while((d|0)<(c[a+20>>2]|0))}return}function nE(a,b){a=a|0;b=b|0;var d=0;if((c[a+20>>2]|0)>0){d=0;do{if(c[($E(a+20|0,d)|0)+4>>2]|0)gF(b,c[($E(a+20|0,d)|0)+4>>2]|0);d=d+1|0}while((d|0)<(c[a+20>>2]|0))}return}function oE(a){a=a|0;if((c[a+20>>2]|0)==1?(c[($E(a+20|0,0)|0)>>2]|0)==83:0)a=c[($E(a+20|0,0)|0)+4>>2]|0;else a=0;return a|0}function pE(a){a=a|0;if((c[a+20>>2]|0)==1?(c[($E(a+20|0,0)|0)>>2]|0)==67:0)a=c[($E(a+20|0,0)|0)+4>>2]|0;else a=0;return a|0}function qE(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if((c[a>>2]|0)>0){d=0;e=0;do{g=b-(c[(iF(a,e)|0)>>2]|0)|0;f=b-(c[(iF(a,d)|0)>>2]|0)|0;d=(((g|0)>-1?g:0-g|0)|0)<(((f|0)>-1?f:0-f|0)|0)?e:d;e=e+1|0}while((e|0)<(c[a>>2]|0))}else d=0;return d|0}function rE(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;jF(b);$z(c[a+4>>2]|0,c[a+12>>2]|0);if((c[a+4>>2]|0)>0){g=0;while(1){f=c[(Ik(a+4|0,g)|0)>>2]|0;d=g+1|0;a:do if((d|0)<(c[a+4>>2]|0)){e=f;do{h=c[(Ik(a+4|0,d)|0)>>2]|0;if((h|0)>((c[a>>2]|0)+f|0))break a;e=c[(Ik(a+4|0,d)|0)>>2]|0;d=d+1|0}while((d|0)<(c[a+4>>2]|0))}else e=f;while(0);kF(b,(e+f|0)/2|0,d-g|0);if((d|0)<(c[a+4>>2]|0))g=d;else break}}return}function sE(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;l=i;i=i+144|0;if(lF(0,1,37936,c[a>>2]|0,b,d)|0){c[l+112>>2]=e;mF(l+116|0);c[l+88>>2]=e;mF(l+92|0);nF(l+68|0);nF(l+48|0);if((d|0)>(b|0)){h=b;do{zv(l+116|0,c[(oF(a,h)|0)+8>>2]|0);zv(l+92|0,c[(oF(a,h)|0)+12>>2]|0);h=h+1|0}while((h|0)<(d|0))}rE(l+112|0,l+68|0);rE(l+88|0,l+48|0);c[l+24>>2]=e;mF(l+28|0);c[l>>2]=e;mF(l+4|0);k=(d-b|0)>19?2:(d-b|0)>7&1;if((d|0)>(b|0)){e=b;do{m=qE(l+68|0,c[(oF(a,e)|0)+8>>2]|0)|0;h=qE(l+48|0,c[(oF(a,e)|0)+12>>2]|0)|0;if(!((c[(iF(l+68|0,m)|0)+4>>2]|0)<=(k|0)?(c[(iF(l+48|0,h)|0)+4>>2]|0)<=(k|0):0)){zv(l+28|0,c[(oF(a,e)|0)+8>>2]|0);zv(l+4|0,c[(oF(a,e)|0)+12>>2]|0)}e=e+1|0}while((e|0)<(d|0))}rE(l+24|0,f);rE(l,g);h=c[f>>2]|0;e=c[g>>2]|0;if((h|0)==1&(e|0)>3){if((d|0)>(b|0))j=14}else if(!((h|0)<4|(e|0)!=1|(d|0)>(b|0)^1))j=14;if((j|0)==14)do{m=qE(l+68|0,c[(oF(a,b)|0)+8>>2]|0)|0;h=qE(l+48|0,c[(oF(a,b)|0)+12>>2]|0)|0;if((c[(iF(l+68|0,m)|0)+4>>2]|0)<=(k|0)?(c[(iF(l+48|0,h)|0)+4>>2]|0)<=(k|0):0){zv(l+28|0,c[(oF(a,b)|0)+8>>2]|0);zv(l+4|0,c[(oF(a,b)|0)+12>>2]|0)}b=b+1|0}while((b|0)<(d|0));rE(l+24|0,f);rE(l,g);if((c[f>>2]|0)==3){d=c[g>>2]|0;if((d|0)>3){e=3;d=-1;a:while(1){h=(d|0)<0;while(1){b=e+-1|0;if((e|0)<=0)break a;if(h){e=b;d=b;continue a}m=c[(iF(f,b)|0)+4>>2]|0;if((m|0)<(c[(iF(f,d)|0)+4>>2]|0)){e=b;d=b;continue a}else e=b}}if((d|0)>-1?(c[(iF(f,d)|0)+4>>2]|0)<=(k|0):0){pF(f,d);j=28}else j=28}}else j=28;if((j|0)==28)d=c[g>>2]|0;if((d|0)==3?(c[f>>2]|0)>3:0){d=3;h=-1;b:while(1){e=(h|0)<0;while(1){b=d+-1|0;if((d|0)<=0)break b;if(e){d=b;h=b;continue b}m=c[(iF(g,b)|0)+4>>2]|0;if((m|0)<(c[(iF(g,h)|0)+4>>2]|0)){d=b;h=b;continue b}else d=b}}if((h|0)>-1?(c[(iF(g,h)|0)+4>>2]|0)<=(k|0):0)pF(g,h)}Jk(l+4|0);Jk(l+28|0);jF(l+48|0);jF(l+68|0);Jk(l+92|0);Jk(l+116|0)}i=l;return}function tE(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;if((lF(0,0,37960,c[a>>2]|0,b,d)|0)&(b|0)<(d|0)){i=b;do{g=uE(a,i,e)|0;h=vE(a,i,e)|0;do if(h|g^1){if(!(g|h^1)){kE(oF(a,i)|0,e);break}if(!(h^1|g^1)){do if((i|0)>(b|0)){if((f|0)<=0){g=oF(a,i+-1|0)|0;h=oF(a,i)|0;h=wE(g,h,c[e>>2]|0)|0;g=oF(a,i)|0;if(h){h=15;break}else{h=16;break}}h=(c[e>>2]|0)==1;g=oF(a,i+-1|0)|0;if(h){h=(c[g+12>>2]|0)>(f|0);g=oF(a,i)|0;if(h){h=15;break}else{h=16;break}}else{h=(c[g+8>>2]|0)>(f|0);g=oF(a,i)|0;if(h){h=15;break}else{h=16;break}}}else{g=oF(a,i)|0;if((i|0)==(b|0))h=15;else h=16}while(0);if((h|0)==15){jE(g,e);break}else if((h|0)==16){kE(g,e);break}}}else jE(oF(a,i)|0,e);while(0);i=i+1|0}while((i|0)!=(d|0))}return}function uE(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;i=i+16|0;if(aF(d)|0){h=c[(oF(a,b)|0)+4>>2]|0;g=c[(oF(a,b)|0)+8>>2]|0;f=c[(oF(a,b)|0)+12>>2]|0;d=Dfa(d,h,g,f,c[(oF(a,b)|0)+16>>2]|0)|0}else{jN(38528,e);d=0}i=e;return d|0} -function v9(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){YEa(d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0))}return}function w9(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){c9(d+24|0);YEa(d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0))}return}function x9(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(b)e=WEa(b<<2)|0;else e=0;d=c[a>>2]|0;c[a>>2]=e;if(d)YEa(d);c[a+4>>2]=b;a:do if(b){d=0;do{c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(b|0));g=c[a+8>>2]|0;if(g){d=c[g+4>>2]|0;if(!(b+-1&b))d=d&b+-1;else d=(d>>>0)%(b>>>0)|0;c[(c[a>>2]|0)+(d<<2)>>2]=a+8;e=c[g>>2]|0;if(e){h=g;f=e;e=g;while(1){k=e;b:while(1){e=f;while(1){f=c[e+4>>2]|0;if(!(b+-1&b))j=f&b+-1;else j=(f>>>0)%(b>>>0)|0;if((j|0)==(d|0))break;f=(c[a>>2]|0)+(j<<2)|0;if(!(c[f>>2]|0))break b;g=e+8|0;i=e;while(1){f=c[i>>2]|0;if(!f){f=0;break}if((c[g>>2]|0)==(c[f+8>>2]|0))i=f;else break}c[h>>2]=f;c[i>>2]=c[c[(c[a>>2]|0)+(j<<2)>>2]>>2];c[c[(c[a>>2]|0)+(j<<2)>>2]>>2]=e;e=c[h>>2]|0;if(!e)break a}f=c[e>>2]|0;if(!f)break a;else{h=e;k=e}}c[f>>2]=k;f=c[e>>2]|0;if(!f)break;else{h=e;d=j}}}}}while(0);return}function y9(a){a=a|0;var b=0,d=0;if(c[a+12>>2]|0){t9(c[a+8>>2]|0);c[a+8>>2]=0;b=c[a+4>>2]|0;if(b){d=0;do{c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(b|0))}c[a+12>>2]=0}return}function z9(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=WEa(12)|0;c[f+8>>2]=c[d>>2];c[f+4>>2]=e;c[f>>2]=0;c[a>>2]=f;c[a+4>>2]=b+8;c[a+8>>2]=1;return}function A9(d,e){d=d|0;e=e|0;var f=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0;s=i;i=i+96|0;c[s+48>>2]=0;c[s+20>>2]=0;pk(s+48|0,e);rk(s+48|0);if(!(sk(s+48|0)|0)){q=1;while(1){e=tk(s+48|0)|0;p=WEa(16)|0;$$(p,e);B9(d,e,p,s+80|0,s+78|0,s+76|0);if(((a[d+38>>0]|0)!=0?(a[d+54>>0]|0)!=0:0)?(r=b[s+78>>1]|0,+(r<<16>>16)/+(b[s+76>>1]|0)<3.0):0)b[s+76>>1]=~~+P(+(+(r<<16>>16)/3.0));Lk(s+20|0,e+92|0);Mk(s+20|0);if(!((Nk(s+20|0)|0)<<24>>24)){e=(a[s+80>>0]|0)!=0;f=q&65535;j=b[s+78>>1]|0;l=b[s+76>>1]|0;o=1;while(1){m=Ok(s+20|0)|0;n=c[m+16>>2]|0;if(!((n|0)==6|(n|0)==3)){if((c[d+376>>2]|0)>0&e){t=+g[m+20>>2];c[s>>2]=q;c[s+4>>2]=o;c[s+8>>2]=n;h[k>>3]=t;c[s+12>>2]=c[k>>2];c[s+16>>2]=c[k+4>>2];jN(352376,s)}}else{if(!((c[d+376>>2]|0)<1|e)){c[s>>2]=q;c[s+4>>2]=o;jN(352336,s)}C9(d,m,p,f,o&65535,j,l)}VL(s+20|0);if(!((Nk(s+20|0)|0)<<24>>24))o=o+1|0;else break}}S9(c[p+8>>2]|0);YEa(p);OL(s+48|0)|0;if(sk(s+48|0)|0)break;else q=q+1|0}}i=s;return}function B9(d,e,f,j,k,l){d=d|0;e=e|0;f=f|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0.0,x=0.0,y=0,z=0,A=0.0;y=i;i=i+256|0;c[y+216>>2]=0;c[y+136>>2]=0;Aka(y+168|0,0,128);Aka(y+184|0,0,128);Aka(y+200|0,0,128);b[y+80>>1]=32767;b[y+82>>1]=32767;b[y+84>>1]=-32767;b[y+86>>1]=-32767;Lk(y+216|0,e+92|0);Mk(y+216|0);m=128;while(1){if((Nk(y+216|0)|0)<<24>>24)break;v=Ok(y+216|0)|0;a:do if(c[v+120>>2]|0){if((a[d+70>>0]|0)!=0?(u=c[v+16>>2]|0,!((u|0)==6|(u|0)==3)):0)break;pk(y+136|0,v+120|0);rk(y+136|0);p=b[(RL(y+136|0,-1)|0)+12>>1]|0;do if(!(a[d+102>>0]|0))if(!(a[d+262>>0]|0)){Zaa(y+120|0,y+136|0);o=c[y+120>>2]|0;q=c[y+124>>2]|0;c[y+80>>2]=o;c[y+84>>2]=q;n=o;break}else{D9(y+112|0,d,v,y+136|0);o=c[y+112>>2]|0;q=c[y+116>>2]|0;c[y+80>>2]=o;c[y+84>>2]=q;n=o;break}else{_aa(y+96|0,y+136|0);o=c[y+96>>2]|0;q=c[y+100>>2]|0;c[y+80>>2]=o;c[y+84>>2]=q;n=o}while(0);u=p-(o<<16>>16)|0;t=kl(y+80|0)|0;m=t<<16>>16>16?t:m;while(1){t=q&65535;if(sk(y+136|0)|0)break a;do if(!(a[d+102>>0]|0))if(!(a[d+262>>0]|0)){Zaa(y+128|0,y+136|0);o=c[y+128>>2]|0;s=c[y+132>>2]|0;c[y+80>>2]=o;c[y+84>>2]=s;r=o&65535;p=s;break}else{D9(y,d,v,y+136|0);o=c[y>>2]|0;s=c[y+4>>2]|0;c[y+80>>2]=o;c[y+84>>2]=s;r=o&65535;p=s;break}else{_aa(y+48|0,y+136|0);o=c[y+48>>2]|0;s=c[y+52>>2]|0;c[y+80>>2]=o;c[y+84>>2]=s;r=o&65535;p=s}while(0);z=kl(y+80|0)|0;m=z<<16>>16>16?z:m;if((E9(d,v,u,f,t,r)|0)<<24>>24){n=o;q=s;continue}Fka(y+184|0,(r&65535)-q<<16>>16,1);Fka(y+168|0,(((r<<16>>16)-((n<<16>>16)+(t<<16>>16))+(p<<16>>16)|0)/2|0)<<16>>16,1);n=o;q=s}}while(0);VL(y+216|0)}do if((c[y+192>>2]|0)<2){b[l>>1]=m;b[k>>1]=-1;a[j>>0]=1}else{A=+Jka(y+168|0,.75);A=A-+Jka(y+168|0,.25);w=+Jka(y+184|0,.75);a[j>>0]=A*2.0>w-+Jka(y+184|0,.25)&1;b[l>>1]=~~+P(+(+Mka(y+184|0)));Lk(y+216|0,e+92|0);Mk(y+216|0);while(1){if((Nk(y+216|0)|0)<<24>>24)break;j=Ok(y+216|0)|0;b:do if(c[j+120>>2]|0){if((a[d+70>>0]|0)!=0?(z=c[j+16>>2]|0,!((z|0)==6|(z|0)==3)):0)break;w=+h[d+1488>>3]*+(b[l>>1]|0);A=+h[d+1528>>3]*+g[j+44>>2];w=!(w>=A)?A:w;pk(y+136|0,j+120|0);rk(y+136|0);m=b[(RL(y+136|0,-1)|0)+12>>1]|0;do if(!(a[d+102>>0]|0))if(!(a[d+262>>0]|0)){Zaa(y+72|0,y+136|0);p=c[y+72>>2]|0;o=c[y+76>>2]|0;c[y+80>>2]=p;c[y+84>>2]=o;n=p;break}else{D9(y+16|0,d,j,y+136|0);p=c[y+16>>2]|0;o=c[y+20>>2]|0;c[y+80>>2]=p;c[y+84>>2]=o;n=p;break}else{_aa(y+56|0,y+136|0);p=c[y+56>>2]|0;o=c[y+60>>2]|0;c[y+80>>2]=p;c[y+84>>2]=o;n=p}while(0);v=(n<<16>>16)-m|0;c:while(1){q=o&65535;n=UGa(p|0,o|0,48)|0;m=F;if(sk(y+136|0)|0)break b;do if(!(a[d+102>>0]|0))if(!(a[d+262>>0]|0)){Zaa(y+64|0,y+136|0);s=c[y+64>>2]|0;u=c[y+68>>2]|0;c[y+80>>2]=s;c[y+84>>2]=u;r=s&65535;break}else{D9(y+32|0,d,j,y+136|0);s=c[y+32>>2]|0;u=c[y+36>>2]|0;c[y+80>>2]=s;c[y+84>>2]=u;r=s&65535;break}else{_aa(y+24|0,y+136|0);s=c[y+24>>2]|0;u=c[y+28>>2]|0;c[y+80>>2]=s;c[y+84>>2]=u;r=s&65535}while(0);t=(r&65535)-o<<16>>16;if(!(+(t|0)>w)){o=u;p=s;continue}if((E9(d,j,v,f,q,r)|0)<<24>>24){o=u;p=s;continue}do if((a[d+134>>0]|0)!=0?(x=+g[j+44>>2],!(+(t|0)>+h[d+888>>3]*x)):0){if(+(t|0)>x*+h[d+848>>3]){if(!(a[d+166>>0]|0))break;z=_Ga(n|0,m|0,48)|0;p=p|z;o=o&65535|F;c[y+8>>2]=p;c[y+12>>2]=o;if((F9(d,x,y+8|0)|0)<<24>>24==0?(c[y+104>>2]=s,c[y+108>>2]=u,(F9(d,x,y+104|0)|0)<<24>>24==0):0)break}else{z=_Ga(n|0,m|0,48)|0;p=p|z;o=o&65535|F}c[y+88>>2]=p;c[y+92>>2]=o;if(!((G9(d,j,y+88|0)|0)<<24>>24)){o=u;p=s;continue c}c[y+40>>2]=s;c[y+44>>2]=u;if(!((G9(d,j,y+40|0)|0)<<24>>24)){o=u;p=s;continue c}}while(0);Fka(y+200|0,t,1);o=u;p=s}}while(0);VL(y+216|0)}if((c[y+208>>2]|0)<3){b[k>>1]=-1;break}z=~~+P(+(+Mka(y+200|0)))<<16>>16;m=(b[l>>1]|0)*3|0;if((z|0)>=(m|0))m=~~+P(+(+Mka(y+200|0)))<<16>>16;b[k>>1]=m}while(0);Eka(y+200|0);Eka(y+184|0);Eka(y+168|0);i=y;return}function C9(d,e,f,j,l,m,n){d=d|0;e=e|0;f=f|0;j=j|0;l=l|0;m=m|0;n=n|0;var o=0,p=0,q=0.0,r=0.0,s=0.0,t=0,u=0.0,v=0,w=0,x=0.0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0.0,L=0.0,M=0.0,N=0.0,O=0,Q=0;Q=i;i=i+240|0;pk(Q+136|0,e+120|0);Aka(Q+168|0,0,128);Aka(Q+184|0,0,128);Aka(Q+200|0,0,128);Aka(Q+216|0,0,128);if(m<<16>>16>0)O=m;else O=~~+P(+(+g[e+44>>2]*.5));if(c[e+120>>2]|0){r=+h[d+568>>3];if(r>0.0)I=(~~+P(+(+((O<<16>>16)-(n<<16>>16)|0)*r+.5))<<16>>16)+(n<<16>>16)|0;else I=((O<<16>>16)+(n<<16>>16)|0)/2|0;pk(Q+136|0,e+120|0);rk(Q+136|0);w=b[(RL(Q+136|0,-1)|0)+12>>1]|0;do if(!(a[d+102>>0]|0))if(!(a[d+262>>0]|0)){Zaa(Q+128|0,Q+136|0);o=c[Q+128>>2]|0;p=c[Q+132>>2]|0;t=UGa(o|0,p|0,16)|0;v=UGa(o|0,p|0,48)|0;G=d+262|0;v=v&65535;p=p&65535;t=t&65535;o=o&65535;break}else{D9(Q+96|0,d,e,Q+136|0);o=c[Q+96>>2]|0;p=c[Q+100>>2]|0;t=UGa(o|0,p|0,16)|0;v=UGa(o|0,p|0,48)|0;G=d+262|0;v=v&65535;p=p&65535;t=t&65535;o=o&65535;break}else{_aa(Q+24|0,Q+136|0);o=c[Q+24>>2]|0;p=c[Q+28>>2]|0;t=UGa(o|0,p|0,16)|0;v=UGa(o|0,p|0,48)|0;G=d+262|0;v=v&65535;p=p&65535;t=t&65535;o=o&65535}while(0);H=w-(o<<16>>16)|0;E=I<<16>>16;w=o;D=0;a:while(1){A=v;v=t;while(1){y=p&65535;o=v&65535;if(sk(Q+136|0)|0)break a;do if(!(a[d+102>>0]|0))if(!(a[G>>0]|0)){Zaa(Q+120|0,Q+136|0);C=c[Q+120>>2]|0;B=c[Q+124>>2]|0;t=UGa(C|0,B|0,16)|0;v=UGa(C|0,B|0,48)|0;C=C&65535;v=v&65535;B=B&65535;t=t&65535;break}else{D9(Q,d,e,Q+136|0);C=c[Q>>2]|0;B=c[Q+4>>2]|0;t=UGa(C|0,B|0,16)|0;v=UGa(C|0,B|0,48)|0;C=C&65535;v=v&65535;B=B&65535;t=t&65535;break}else{_aa(Q+16|0,Q+136|0);C=c[Q+16>>2]|0;B=c[Q+20>>2]|0;t=UGa(C|0,B|0,16)|0;v=UGa(C|0,B|0,48)|0;C=C&65535;v=v&65535;B=B&65535;t=t&65535}while(0);if((E9(d,e,H,f,p,C)|0)<<24>>24)break;z=(C&65535)-(p&65535)<<16>>16;if((z|0)<(E|0))Fka(Q+216|0,z,1);else{do if((a[d+150>>0]|0)!=0?(u=+g[e+44>>2],!(+(z|0)>+h[d+888>>3]*u)):0){if(+(z|0)>u*+h[d+848>>3]){if(!(a[d+166>>0]|0)){J=32;break}A=_Ga(A&65535|0,0,48)|0;p=y|F;y=_Ga(o|0,0,16)|0;p=p|F;w=A|y|w&65535;c[Q+112>>2]=w;c[Q+116>>2]=p;if((F9(d,u,Q+112|0)|0)<<24>>24==0?(o=_Ga(v&65535|0,0,48)|0,y=B&65535|F,A=_Ga(t&65535|0,0,16)|0,c[Q+8>>2]=o|A|C&65535,c[Q+12>>2]=y|F,(F9(d,u,Q+8|0)|0)<<24>>24==0):0){J=32;break}}else{A=_Ga(A&65535|0,0,48)|0;p=y|F;y=_Ga(o|0,0,16)|0;w=A|y|w&65535;p=p|F}c[Q+104>>2]=w;c[Q+108>>2]=p;if((G9(d,e,Q+104|0)|0)<<24>>24!=0?(A=_Ga(v&65535|0,0,48)|0,y=B&65535|F,w=_Ga(t&65535|0,0,16)|0,c[Q+32>>2]=A|w|C&65535,c[Q+36>>2]=y|F,(G9(d,e,Q+32|0)|0)<<24>>24!=0):0)J=32}else J=32;while(0);if((J|0)==32){J=0;Fka(Q+184|0,z,1)}Fka(Q+200|0,z,1)}Fka(Q+168|0,z,1);A=v;w=C;p=B;v=t}p=B;w=C;D=D+1<<16>>16}if(D<<16>>16<=1)if(D<<16>>16>0)G=(c[Q+176>>2]|0)<=(c[d+448>>2]|0);else G=0;else G=1}else{G=0;I=0;H=0}v=G&1;p=c[Q+192>>2]|0;do if((p|0)<(c[d+400>>2]|0)){if(G){if((p|0)>0){J=43;break}}else if((p|0)>0?(c[Q+176>>2]|0)<=(c[d+472>>2]|0):0){J=43;break}if((a[d+198>>0]|0)!=0?(I9(d,e,f,Q+168|0,v,j,l)|0)<<24>>24!=0:0)break;if((a[d+150>>0]|0)!=0?(c[d+376>>2]|0)>5:0){c[Q+40>>2]=j<<16>>16;c[Q+44>>2]=l<<16>>16;jN(352440,Q+40|0)}if(!((a[d+182>>0]|0)!=0&m<<16>>16>0)){H9(d,e,Q+168|0,Q+200|0,Q+216|0,O,n);break}r=+(O<<16>>16);g[e+80>>2]=r;if((c[Q+176>>2]|0)>(c[d+424>>2]|0)){u=+Mka(Q+168|0);g[e+76>>2]=u;r=+g[e+80>>2]}else{g[e+76>>2]=+(n<<16>>16);u=+(n<<16>>16)}c[e+72>>2]=~~+P(+((r+u)/+h[d+528>>3]))}else J=43;while(0);if((J|0)==43)H9(d,e,Q+168|0,Q+184|0,Q+216|0,O,n);if(!((a[d+358>>0]|0)==0|G))J9(d,e,Q+168|0);p=c[d+496>>2]|0;do if(!p){if(G?(x=+g[e+80>>2],q=+h[d+1248>>3],s=+g[e+76>>2],x>2]|0)>5){p=c[e+72>>2]|0;c[Q+40>>2]=j<<16>>16;c[Q+44>>2]=l<<16>>16;h[k>>3]=s;c[Q+48>>2]=c[k>>2];c[Q+52>>2]=c[k+4>>2];c[Q+56>>2]=p;h[k>>3]=x;c[Q+60>>2]=c[k>>2];c[Q+64>>2]=c[k+4>>2];jN(352488,Q+40|0);p=e+72|0;s=+g[e+76>>2];q=+h[d+1248>>3]}else p=e+72|0;m=~~(q*s);c[p>>2]=m;u=+g[e+44>>2];g[e+80>>2]=!(+(m+1|0)>=u)?u:+(m+1|0)}}else if((p|0)==1){x=+g[e+80>>2];u=+h[d+1448>>3];r=+g[e+76>>2];if(!(r>=2.5))s=2.5;else s=r;if(!(x>3]*+g[e+44>>2]):0)q=x;else{if(m<<16>>16>0?+(O<<16>>16)>=u*r:0)q=+(O<<16>>16);else{if(!(r>=2.5))s=2.5;else s=r;q=+g[e+44>>2]*.5;if(u*s>=q){if(!(r>=2.5))s=2.5;else s=r;q=u*s}}if((c[d+376>>2]|0)>5){p=c[e+72>>2]|0;c[Q+40>>2]=j<<16>>16;c[Q+44>>2]=l<<16>>16;h[k>>3]=r;c[Q+48>>2]=c[k>>2];c[Q+52>>2]=c[k+4>>2];c[Q+56>>2]=p;h[k>>3]=x;c[Q+60>>2]=c[k>>2];c[Q+64>>2]=c[k+4>>2];h[k>>3]=q;c[Q+68>>2]=c[k>>2];c[Q+72>>2]=c[k+4>>2];jN(352544,Q+40|0);p=e+72|0;r=+g[e+76>>2]}else p=e+72|0;g[e+80>>2]=q;c[p>>2]=~~+P(+((q+r)/+h[d+528>>3]))}if(!(r>=2.5))s=2.5;else s=r;t=~~+P(+(+h[d+1568>>3]*s));p=c[e+72>>2]|0;if((p|0)>(t|0)){if((c[d+376>>2]|0)>5){c[Q+40>>2]=j<<16>>16;c[Q+44>>2]=l<<16>>16;h[k>>3]=r;c[Q+48>>2]=c[k>>2];c[Q+52>>2]=c[k+4>>2];c[Q+56>>2]=p;h[k>>3]=q;c[Q+60>>2]=c[k>>2];c[Q+64>>2]=c[k+4>>2];c[Q+68>>2]=t;jN(352608,Q+40|0);q=+g[e+80>>2]}c[e+72>>2]=t;if(!(q<=+(t|0)))p=t;else{g[e+80>>2]=+(t|0)+1.0;q=+(t|0)+1.0;p=t}}if(G){s=+g[e+76>>2];u=+h[d+1248>>3]*s;r=+g[e+44>>2];x=+h[d+1288>>3]*r;u=!(u>=x)?x:u;if(!(q=(~~+P(+((u+s)*.5))|0):0)break;if((c[d+376>>2]|0)>5){c[Q+40>>2]=j<<16>>16;c[Q+44>>2]=l<<16>>16;h[k>>3]=s;c[Q+48>>2]=c[k>>2];c[Q+52>>2]=c[k+4>>2];c[Q+56>>2]=p;h[k>>3]=q;c[Q+60>>2]=c[k>>2];c[Q+64>>2]=c[k+4>>2];jN(352664,Q+40|0);q=+g[e+44>>2]}else q=r;c[e+72>>2]=~~u;g[e+80>>2]=!(+(~~u+1|0)>=q)?q:+(~~u+1|0)}}while(0);b:do if(!(a[d+38>>0]|0)){p=~~+aa(+(+h[d+808>>3]*+g[e+44>>2]));w=~~+g[e+80>>2];p=(p|0)>(w|0)?w:p;c[e+64>>2]=p;w=c[e+72>>2]|0;if((p|0)<=(w|0)){c[e+64>>2]=w+1;p=w+1|0}u=+g[e+76>>2];c[e+68>>2]=~~((+(w|0)+u)*.5);if((~~((+(w|0)+u)*.5)|0)<0){v=w;o=~~((+(w|0)+u)*.5)}else{o=0;t=0;v=0;while(1){m=mx(Q+168|0,o)|0;v=(m|0)>(v<<16>>16|0)?m&65535:v;if(+(t<<16>>16)>u?+(m|0)<+(v<<16>>16)*.1:0)break;t=t+1<<16>>16;o=t<<16>>16;if((o|0)>(~~((+(w|0)+u)*.5)|0)){v=w;o=~~((+(w|0)+u)*.5);break b}}c[e+68>>2]=o;v=w}}else{o=c[e+72>>2]|0;c[e+68>>2]=o;c[e+64>>2]=o+1;v=o;p=o+1|0}while(0);s=+h[d+1408>>3];if(s>0.0?(K=+g[e+80>>2],L=+(v|0),K>L):0){m=~~+aa(+(+(v|0)+s*(K-L)));p=(p|0)<(m|0)?m:p;c[e+64>>2]=p}q=+h[d+1328>>3];do if(q>0.0){if(!G?(a[d+246>>0]|0)==0:0){t=p;break}t=~~+aa(+(q*+g[e+76>>2]));t=(p|0)<(t|0)?t:p;c[e+64>>2]=t}else t=p;while(0);q=+h[d+1368>>3];if(q>0.0?(M=+g[e+76>>2],N=+(v|0),M>2]=o;p=e+72|0}else p=e+72|0;if((o|0)>(v|0)){c[e+68>>2]=v;o=v}if((c[d+376>>2]|0)>5?(u=+g[e+76>>2],K=+g[e+80>>2],c[Q+40>>2]=j<<16>>16,c[Q+44>>2]=l<<16>>16,c[Q+48>>2]=H,c[Q+52>>2]=n<<16>>16,c[Q+56>>2]=O<<16>>16,c[Q+60>>2]=I<<16>>16,h[k>>3]=u,c[Q+64>>2]=c[k>>2],c[Q+68>>2]=c[k+4>>2],c[Q+72>>2]=o,c[Q+76>>2]=v,c[Q+80>>2]=t,h[k>>3]=K,c[Q+84>>2]=c[k>>2],c[Q+88>>2]=c[k+4>>2],jN(352712,Q+40|0),(c[d+376>>2]|0)>10):0){K=+g[e+80>>2];d=c[p>>2]|0;h[k>>3]=+g[e+76>>2];c[Q+40>>2]=c[k>>2];c[Q+44>>2]=c[k+4>>2];h[k>>3]=K;c[Q+48>>2]=c[k>>2];c[Q+52>>2]=c[k+4>>2];c[Q+56>>2]=d;jN(352792,Q+40|0)}Eka(Q+216|0);Eka(Q+200|0);Eka(Q+184|0);Eka(Q+168|0);i=Q;return}function D9(a,d,f,j){a=a|0;d=d|0;f=f|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0.0;m=i;i=i+32|0;b[m+8>>1]=32767;b[m+10>>1]=32767;b[m+12>>1]=-32767;b[m+14>>1]=-32767;b[a>>1]=32767;b[a+2>>1]=32767;b[a+4>>1]=-32767;b[a+6>>1]=-32767;l=tk(j)|0;if((c[l+24>>2]|0)<0){d=e[l+16>>1]|e[l+18>>1]<<16;l=e[l+20>>1]|e[l+22>>1]<<16;b[a>>1]=d;b[a+2>>1]=d>>>16;b[a+4>>1]=l;b[a+6>>1]=l>>>16;while(1){OL(j)|0;f=tk(j)|0;if(!(c[f+4>>2]|0))continue;if(!(c[f+24>>2]&1073741824))break}}else{n=e[l+12>>1]|e[l+14>>1]<<16;c[m+8>>2]=e[l+8>>1]|e[l+10>>1]<<16;c[m+12>>2]=n;R9(m,l,f,m+26|0);n=c[m>>2]|0;k=c[m+4>>2]|0;b[a>>1]=n;b[a+2>>1]=n>>>16;b[a+4>>1]=k;b[a+6>>1]=k>>>16;while(1){OL(j)|0;k=tk(j)|0;if(c[k+4>>2]|0){if(c[k+24>>2]&1073741824){R9(m+16|0,k,f,m+24|0);bja(a,m+16|0);o=b[m+26>>1]|0;n=b[m+24>>1]|0;b[m+26>>1]=o<<16>>16<=n<<16>>16?o:n}}else bja(m+8|0,k+8|0);if(!(c[k+4>>2]|0))continue;if(!(c[k+24>>2]&1073741824))break}o=kl(a)|0;if((o<<16>>16>0?+(b[a>>1]|0)+ +(o<<16>>16)*+h[d+1728>>3]<+(b[m+26>>1]|0):0)?(p=+((ll(a)|0)<<16>>16),p>+g[f+44>>2]*.7):0){k=e[a>>1]|e[a+2>>1]<<16;f=e[a+4>>1]|e[a+6>>1]<<16}else{k=c[m+8>>2]|0;f=c[m+12>>2]|0;b[a>>1]=k;b[a+2>>1]=k>>>16;b[a+4>>1]=f;b[a+6>>1]=f>>>16}b[l+16>>1]=k;b[l+18>>1]=k>>>16;b[l+20>>1]=f;b[l+22>>1]=f>>>16;c[l+24>>2]=c[l+24>>2]|-2147483648}i=m;return}function E9(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var i=0.0,j=0.0;j=+h[a+1088>>3];do if(!(j>999.0)){if(j>0.0){b=+(((f&65535)-(e&65535)<<16)+65536>>16|0)>j*+g[b+44>>2]&1;break}i=+g[b+44>>2];if(+(((f&65535)-(e&65535)<<16)+65536>>16|0)>+h[a+1128>>3]*i)b=1;else{if(j==0.0){if(+(((f&65535)-(e&65535)<<16)+65536>>16|0)>i*2.1?+(c|0)>i*20.0:0){b=1;break}if(+(((f&65535)-(e&65535)<<16)+65536>>16|0)>i*1.75){if(+(c|0)>i*35.0){b=1;break}if((a0(d,e,f)|0)<<24>>24){b=1;break}}}else if(+(((f&65535)-(e&65535)<<16)+65536>>16|0)>i*+h[40845]?(a0(d,e,f)|0)<<24>>24!=0:0){b=1;break}b=0}}else b=0;while(0);return b|0}function F9(a,b,c){a=a|0;b=+b;c=c|0;var d=0;d=kl(c)|0;if(!(+(d<<16>>16)<=+h[a+648>>3]*b)){b=+(d<<16>>16)/+((ll(c)|0)<<16>>16);d=b<=+h[a+688>>3]&1}else d=1;return d|0}function G9(a,b,d){a=a|0;b=b|0;d=d|0;var f=0.0,j=0.0,k=0,l=0;l=i;i=i+16|0;f=+h[a+728>>3];if(f>0.0){j=+h[a+768>>3];k=kl(d)|0;a=+(k<<16>>16)>=f*+g[b+44>>2];if(!(j>0.0)|a^1)a=!(j>0.0)&a;else a=+(k<<16>>16)/+((ll(d)|0)<<16>>16)>j}else{k=e[d+4>>1]|e[d+6>>1]<<16;c[l>>2]=e[d>>1]|e[d+2>>1]<<16;c[l+4>>2]=k;a=(F9(a,+g[b+44>>2],l)|0)<<24>>24==0}i=l;return a&1|0}function H9(b,d,e,f,i,j,k){b=b|0;d=d|0;e=e|0;f=f|0;i=i|0;j=j|0;k=k|0;var l=0.0,m=0,n=0.0,o=0.0,p=0.0,q=0;m=c[f+8>>2]|0;do if((m|0)<(c[b+400>>2]|0)){if((m|0)<=0){g[d+80>>2]=+(j<<16>>16);break}o=+Hka(f);g[d+80>>2]=o;do if(o>+(j<<16>>16)*1.5)if(!(a[b+118>>0]|0)){g[d+80>>2]=+(j<<16>>16);o=+(j<<16>>16);break}else{g[d+80>>2]=+(j<<16>>16)*1.5;o=+(j<<16>>16)*1.5;break}while(0);if(o<+(((k<<16>>16)*3|0)+1|0))g[d+80>>2]=+(((k<<16>>16)*3|0)+1|0)}else{o=+Mka(f);g[d+80>>2]=o;do if(o>+(j<<16>>16)*1.5)if(!(a[b+118>>0]|0)){g[d+80>>2]=+(j<<16>>16);o=+(j<<16>>16);break}else{g[d+80>>2]=+(j<<16>>16)*1.5;o=+(j<<16>>16)*1.5;break}while(0);if(o<+(k<<16>>16<<1|1|0))g[d+80>>2]=+(k<<16>>16<<1|1|0)}while(0);if(a[b+214>>0]|0){m=c[b+424>>2]|0;if((c[i+8>>2]|0)>(m|0)){l=+Mka(i);g[d+76>>2]=l}else q=20}else{m=c[b+424>>2]|0;q=20}do if((q|0)==20)if((c[e+8>>2]|0)>(m|0)){l=+Mka(e);g[d+76>>2]=l;break}else{g[d+76>>2]=+(k<<16>>16);l=+(k<<16>>16);break}while(0);n=+h[b+608>>3];p=+g[d+80>>2];if(n>0.0)m=~~+P(+(l+.5+n*(p-l)));else m=~~+P(+((p+l)*.5));c[d+72>>2]=m;do if((a[b+54>>0]|0)!=0?(c[b+496>>2]|0)==1:0){n=+h[b+1448>>3];if(!(l>=2.5))o=2.5;else o=l;if(!(p>3]*+g[d+44>>2]):0)break;if(l>2.5){g[d+76>>2]=p/n;l=p/n}c[d+72>>2]=~~+P(+((p+l)/+h[b+528>>3]))}while(0);return}function I9(d,e,f,j,l,m,n){d=d|0;e=e|0;f=f|0;j=j|0;l=l|0;m=m|0;n=n|0;var o=0,p=0.0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=i;i=i+192|0;pk(D+112|0,e+120|0);Aka(D+144|0,0,128);Aka(D+160|0,0,128);Aka(D+176|0,0,128);p=+Mka(j);p=p*+h[d+1488>>3];q=+h[d+1528>>3]*+g[e+44>>2];p=!(p>=q)?q:p;B=K9(j,~~+aa(+p))|0;A=c[j+8>>2]|0;do if(((A<<16>>16|0)>(c[d+424>>2]|0)?!(+(B<<16>>16)/+((A&65535)<<16>>16)<+h[d+1208>>3]):0)?((A<<16>>16)-(B<<16>>16)|0)>=1:0){pk(D+112|0,e+120|0);rk(D+112|0);r=b[(RL(D+112|0,-1)|0)+12>>1]|0;do if(!(a[d+102>>0]|0))if(!(a[d+262>>0]|0)){Zaa(D+104|0,D+112|0);u=c[D+104>>2]|0;o=c[D+108>>2]|0;s=UGa(u|0,o|0,16)|0;t=UGa(u|0,o|0,48)|0;B=d+262|0;u=u&65535;t=t&65535;o=o&65535;s=s&65535;break}else{D9(D+24|0,d,e,D+112|0);u=c[D+24>>2]|0;o=c[D+28>>2]|0;s=UGa(u|0,o|0,16)|0;t=UGa(u|0,o|0,48)|0;B=d+262|0;u=u&65535;t=t&65535;o=o&65535;s=s&65535;break}else{_aa(D+96|0,D+112|0);u=c[D+96>>2]|0;o=c[D+100>>2]|0;s=UGa(u|0,o|0,16)|0;t=UGa(u|0,o|0,48)|0;B=d+262|0;u=u&65535;t=t&65535;o=o&65535;s=s&65535}while(0);A=r-(u<<16>>16)|0;while(1){v=o&65535;r=s&65535;if(sk(D+112|0)|0)break;do if(!(a[d+102>>0]|0))if(!(a[B>>0]|0)){Zaa(D,D+112|0);y=c[D>>2]|0;x=c[D+4>>2]|0;s=UGa(y|0,x|0,16)|0;z=UGa(y|0,x|0,48)|0;y=y&65535;z=z&65535;x=x&65535;s=s&65535;break}else{D9(D+16|0,d,e,D+112|0);y=c[D+16>>2]|0;x=c[D+20>>2]|0;s=UGa(y|0,x|0,16)|0;z=UGa(y|0,x|0,48)|0;y=y&65535;z=z&65535;x=x&65535;s=s&65535;break}else{_aa(D+40|0,D+112|0);y=c[D+40>>2]|0;x=c[D+44>>2]|0;s=UGa(y|0,x|0,16)|0;z=UGa(y|0,x|0,48)|0;y=y&65535;z=z&65535;x=x&65535;s=s&65535}while(0);w=(y&65535)-(o&65535)<<16>>16;if((E9(d,e,A,f,o,y)|0)<<24>>24==0&+(w|0)>p){q=+g[e+44>>2];do if(!(+(w|0)>+h[d+888>>3]*q)){if(+(w|0)>q*+h[d+848>>3]){if(!(a[d+166>>0]|0)){C=27;break}t=_Ga(t&65535|0,0,48)|0;o=v|F;v=_Ga(r|0,0,16)|0;r=o|F;u=t|v|u&65535;c[D+88>>2]=u;c[D+92>>2]=r;if((F9(d,q,D+88|0)|0)<<24>>24==0?(o=_Ga(z&65535|0,0,48)|0,v=x&65535|F,t=_Ga(s&65535|0,0,16)|0,c[D+8>>2]=o|t|y&65535,c[D+12>>2]=v|F,(F9(d,q,D+8|0)|0)<<24>>24==0):0){C=27;break}}else{t=_Ga(t&65535|0,0,48)|0;v=v|F;r=_Ga(r|0,0,16)|0;u=t|r|u&65535;r=v|F}c[D+80>>2]=u;c[D+84>>2]=r;if((G9(d,e,D+80|0)|0)<<24>>24!=0?(r=_Ga(z&65535|0,0,48)|0,v=x&65535|F,u=_Ga(s&65535|0,0,16)|0,c[D+32>>2]=r|u|y&65535,c[D+36>>2]=v|F,(G9(d,e,D+32|0)|0)<<24>>24!=0):0)C=27}else C=27;while(0);if((C|0)==27){C=0;Fka(D+144|0,w,1)}Fka(D+160|0,w,1)}if(!(+(w|0)>2]|0;r=c[d+400>>2]|0;do if((o|0)<(r|0)){if(l<<24>>24!=0&(o|0)>0){g[e+80>>2]=+Hka(D+144|0);break}if((c[D+168>>2]|0)<(r|0)){g[e+80>>2]=+Hka(D+160|0);break}else{g[e+80>>2]=+Mka(D+160|0);break}}else g[e+80>>2]=+Mka(D+144|0);while(0);if(!(a[d+214>>0]|0)){q=+Mka(j);g[e+76>>2]=q}else{q=+Mka(D+176|0);g[e+76>>2]=q}p=+g[e+80>>2];o=~~+P(+((p+q)*.5));c[e+72>>2]=o;if(!(q>=+(o|0))?!(+(o|0)>=p|(o|0)<1):0){if((c[d+376>>2]|0)<=5){o=1;break}c[D+48>>2]=m<<16>>16;c[D+52>>2]=n<<16>>16;h[k>>3]=q;c[D+56>>2]=c[k>>2];c[D+60>>2]=c[k+4>>2];c[D+64>>2]=o;h[k>>3]=p;c[D+68>>2]=c[k>>2];c[D+72>>2]=c[k+4>>2];jN(352984,D+48|0);o=1;break}if((c[d+376>>2]|0)>5){c[D+48>>2]=m<<16>>16;c[D+52>>2]=n<<16>>16;h[k>>3]=q;c[D+56>>2]=c[k>>2];c[D+60>>2]=c[k+4>>2];c[D+64>>2]=o;h[k>>3]=p;c[D+68>>2]=c[k>>2];c[D+72>>2]=c[k+4>>2];jN(352920,D+48|0)}g[e+76>>2]=0.0;c[e+72>>2]=0;g[e+80>>2]=0.0;o=0}else C=4;while(0);if((C|0)==4)if((c[d+376>>2]|0)>5){c[D+48>>2]=m<<16>>16;c[D+52>>2]=n<<16>>16;jN(352872,D+48|0);o=0}else o=0;Eka(D+176|0);Eka(D+160|0);Eka(D+144|0);i=D;return o|0}function J9(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,j=0,l=0,m=0,n=0,o=0.0,p=0.0,q=0,r=0,s=0;s=i;i=i+32|0;o=+g[b+80>>2];p=+g[b+76>>2];if((c[a+376>>2]|0)>10)jN(353032,s);f=c[d+8>>2]|0;if(!(o<=10.0)&(f|0)>25&!(o<=p*3.0)?!(+((K9(d,~~+aa(+(p+(o-p)/3.0+.5)))|0)<<16>>16)<+(f|0)*.75):0){if((c[a+376>>2]|0)>10)jN(353056,s);n=~~+P(+((o-p)/3.0+.5));n=n<<16>>16<3?3:n;f=~~+aa(+p);m=~~+P(+o);a:do if(f<<16>>16>16){f=f<<16>>16;l=0;j=0;while(1){if(mx(d,f)|0)if(j<<16>>16>16)j=0;else break;else{l=j<<16>>16==0?f&65535:l;j=j+1<<16>>16}f=f+1|0;if((f&65535)<<16>>16>=m<<16>>16){f=f&65535;break a}}f=f&65535}else{l=0;j=0}while(0);if((c[a+376>>2]|0)>10){d=c[b+72>>2]|0;c[s>>2]=n<<16>>16;c[s+4>>2]=j<<16>>16;c[s+8>>2]=l<<16>>16;c[s+12>>2]=d;jN(353064,s)}if(j<<16>>16>=n<<16>>16?(e=c[b+72>>2]|0,q=l<<16>>16,r=f+-1<<16>>16<<16>>16,(e|0)<(q|0)|(e|0)>(r|0)):0){if((c[a+376>>2]|0)>10){jN(353128,s);e=c[b+72>>2]|0}if((e|0)<(q|0)){if((c[a+376>>2]|0)>5){h[k>>3]=p;c[s>>2]=c[k>>2];c[s+4>>2]=c[k+4>>2];h[k>>3]=o;c[s+8>>2]=c[k>>2];c[s+12>>2]=c[k+4>>2];c[s+16>>2]=q;c[s+20>>2]=r;c[s+24>>2]=e;c[s+28>>2]=q;jN(353136,s)}c[b+72>>2]=q;e=q}if((e|0)>(r|0)){if((c[a+376>>2]|0)>5){h[k>>3]=p;c[s>>2]=c[k>>2];c[s+4>>2]=c[k+4>>2];h[k>>3]=o;c[s+8>>2]=c[k>>2];c[s+12>>2]=c[k+4>>2];c[s+16>>2]=q;c[s+20>>2]=r;c[s+24>>2]=e;c[s+28>>2]=r;jN(353136,s)}c[b+72>>2]=r}}}i=s;return}function K9(a,b){a=a|0;b=b|0;var c=0,d=0;if(b<<16>>16>0){c=0;d=0;do{d=(mx(a,c)|0)+(d&65535)|0;c=c+1|0}while((c&65535)<<16>>16!=b<<16>>16);c=d&65535}else c=0;return c|0}function L9(d,f){d=d|0;f=f|0;var j=0,l=0,m=0.0,n=0,o=0,p=0,q=0,r=0.0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0;E=i;i=i+336|0;a[E+320>>0]=0;a[E+321>>0]=0;a[E+322>>0]=0;a[E+323>>0]=0;a[E+324>>0]=0;c[E+96>>2]=0;c[E+92>>2]=0;pk(E+64|0,E+92|0);c[E+152>>2]=0;c[E+156>>2]=0;c[E+184>>2]=0;c[E+124>>2]=0;b[E>>1]=32767;b[E+2>>1]=32767;b[E+4>>1]=-32767;b[E+6>>1]=-32767;b[E+232>>1]=32767;b[E+272>>1]=32767;Lk(E+184|0,f+84|0);if(!((uZ(E+184|0)|0)<<24>>24)){yla(E+280|0,Ok(E+184|0)|0);l=b[E+284>>1]|0}else l=2147483647;pk(E+64|0,E+92|0);pk(E+124|0,f+120|0);Lk(E+156|0,E+152|0);if(!(vk(E+124|0)|0)){if((b[(tk(E+124|0)|0)+8>>1]|0)>(l|0)){C=hv(E+184|0)|0;nZ(E+156|0,C);B=e[C+10>>1]|0;a[C+8>>0]=0;b[C+10>>1]=B&62455|8;yla(E+296|0,C);m=+M9(C);l=(e[(tk(E+124|0)|0)+8>>1]|0)-l|0;if(+(l<<16>>16|0)>m*+h[d+1168>>3]){n=~~+P(+(+(l<<16>>16|0)/+g[f+80>>2]))&255;n=n<<24>>24==0?1:n}else n=0;if((c[d+376>>2]|0)>5){B=b[(tk(E+124|0)|0)+8>>1]|0;C=b[(tk(E+124|0)|0)+10>>1]|0;c[E+24>>2]=B<<16>>16;c[E+28>>2]=C;h[k>>3]=m;c[E+32>>2]=c[k>>2];c[E+36>>2]=c[k+4>>2];c[E+40>>2]=l<<16>>16;jN(353200,E+24|0)}if(!((uZ(E+184|0)|0)<<24>>24)){VL(E+184|0);yla(E+216|0,Ok(E+184|0)|0);j=0;o=l&65535;l=b[E+220>>1]|0}else{j=0;o=l&65535;l=2147483647}}else{j=1;o=32767;n=0};c[E+24>>2]=c[E+124>>2];c[E+28>>2]=c[E+128>>2];c[E+32>>2]=c[E+132>>2];c[E+36>>2]=c[E+136>>2];c[E+40>>2]=c[E+140>>2];c[E+44>>2]=c[E+144>>2];c[E+48>>2]=c[E+148>>2];N9(d,f,E+24|0,E,E+232|0,E+272|0);A=j;z=o;y=o;B=0;C=0;j=-32767;x=0;while(1){o=tk(E+124|0)|0;p=e[o+12>>1]|e[o+14>>1]<<16;q=c[o+4>>2]|0;if(c[o+24>>2]&1073741824){if((q|0)!=0?(pk(E+96|0,(tk(E+64|0)|0)+4|0),SL(E+96|0),yk(E+96|0,(c[o+4>>2]|0)+4|0),D=c[o+4>>2]|0,(D|0)!=0):0){KL(D+4|0,230);YEa(D)}}else{if(q)Ck(E+64|0,q);j=_Ga(p|0,0,16)|0;j=j>>16}OL(E+124|0)|0;u=tk(E+124|0)|0;w=e[u+8>>1]|e[u+10>>1]<<16;s=e[u+12>>1]|e[u+14>>1]<<16;do if((c[u+24>>2]&1073741824|0)==0?(c[u+4>>2]|0)!=0:0){o=c[E>>2]|0;t=c[E+4>>2]|0;p=b[E+232>>1]|0;q=b[E+272>>1]|0;c[E+24>>2]=c[E+124>>2];c[E+28>>2]=c[E+128>>2];c[E+32>>2]=c[E+132>>2];c[E+36>>2]=c[E+136>>2];c[E+40>>2]=c[E+140>>2];c[E+44>>2]=c[E+144>>2];c[E+48>>2]=c[E+148>>2];N9(d,f,E+24|0,E,E+232|0,E+272|0);u=(a[d+294>>0]|0)==0;v=(w<<16>>16|0)>(l|0);if((!v?(G=u?b[E+232>>1]|0:b[E+272>>1]|0,c[E+56>>2]=w,c[E+60>>2]=s,c[E+8>>2]=o,c[E+12>>2]=t,t=c[E+4>>2]|0,c[E+16>>2]=c[E>>2],c[E+20>>2]=t,(O9(d,f,E+56|0,u?z:y,E+8|0,p,q,E+16|0,G,E+322|0,E+320|0,E+321|0,E+323|0,E+324|0)|0)<<24>>24==0):0)?!(xk(E+124|0)|0):0){s=A;u=B;t=C;o=x;break}o=WEa(28)|0;vla(o,E+92|0,n,0);y=x+1<<16>>16;nZ(E+156|0,o);if(A<<24>>24)b[o+10>>1]=e[o+10>>1]|8;if(!(C<<24>>24)){if(B<<24>>24)b[o+10>>1]=e[o+10>>1]|2048}else b[o+10>>1]=e[o+10>>1]|1024;if(v){u=hv(E+184|0)|0;nZ(E+156|0,u);r=+M9(u);yla(E+224|0,u);s=(e[E+224>>1]|0)-j|0;m=+h[d+1168>>3];if(+(s<<16>>16|0)>r*m){q=~~+P(+(+(s<<16>>16|0)/+g[f+80>>2]))&255;q=q<<24>>24==0?1:q}else q=0;a[E+322>>0]=q;if((c[d+376>>2]|0)>5){yla(E+304|0,u);z=b[E+304>>1]|0;yla(E+288|0,u);A=b[E+290>>1]|0;c[E+24>>2]=z<<16>>16;c[E+28>>2]=A;h[k>>3]=r;c[E+32>>2]=c[k>>2];c[E+36>>2]=c[k+4>>2];c[E+40>>2]=s<<16>>16;c[E+44>>2]=q&255;jN(353256,E+24|0);m=+h[d+1168>>3]}a[u+8>>0]=q;b[u+10>>1]=e[u+10>>1]&62463;l=(w&65535)-l|0;if(+(l<<16>>16|0)>r*m){o=~~(+(l<<16>>16|0)/+g[f+80>>2])&255;o=o<<24>>24==0?1:o}else o=0;a[E+322>>0]=o;if((c[d+376>>2]|0)>5){c[E+24>>2]=l<<16>>16;c[E+28>>2]=o&255;jN(353312,E+24|0)}a[E+320>>0]=0;a[E+321>>0]=0;if(!((uZ(E+184|0)|0)<<24>>24)){VL(E+184|0);yla(E+248|0,Ok(E+184|0)|0);p=l&65535;q=s&65535;l=b[E+252>>1]|0;o=u}else{p=l&65535;q=s&65535;l=2147483647;o=u}}if(xk(E+124|0)|0?(uZ(E+184|0)|0)<<24>>24!=0:0){s=o+10|0;b[s>>1]=e[s>>1]|16;s=0;u=B;t=C;o=y;break}s=0;n=a[E+322>>0]|0;u=a[E+321>>0]|0;t=a[E+320>>0]|0;o=y}else{s=A;p=z;q=y;u=B;t=C;o=x}while(0);if(xk(E+124|0)|0)break;else{A=s;z=p;y=q;B=u;C=t;x=o}}while(1){if((uZ(E+184|0)|0)<<24>>24)break;n=hv(E+184|0)|0;nZ(E+156|0,n);m=+M9(n);yla(E+240|0,n);j=(e[E+240>>1]|0)-j<<16>>16;if(+(j|0)>m*+h[d+1168>>3]){l=~~+P(+(+(j|0)/+g[f+80>>2]))&255;l=l<<24>>24==0?1:l}else l=0;a[E+322>>0]=l;if((c[d+376>>2]|0)>5){yla(E+256|0,n);C=b[E+256>>1]|0;yla(E+264|0,n);D=b[E+266>>1]|0;c[E+24>>2]=C<<16>>16;c[E+28>>2]=D;h[k>>3]=m;c[E+32>>2]=c[k>>2];c[E+36>>2]=c[k+4>>2];c[E+40>>2]=j;c[E+44>>2]=l&255;jN(353336,E+24|0)}a[n+8>>0]=l;b[n+10>>1]=e[n+10>>1]&62463;yla(E+312|0,n);j=b[E+316>>1]|0;if(!((uZ(E+184|0)|0)<<24>>24)){VL(E+184|0);continue}else{b[n+10>>1]=e[n+10>>1]|16;continue}}j=WEa(64)|0;Jfa(j,f,~~+g[f+76>>2],~~+g[f+80>>2]);Lk(E+156|0,j+36|0);uX(E+156|0,E+152|0);Lfa(j);if((c[d+376>>2]|0)>4){D=e[j+12>>1]|e[j+14>>1]<<16;f=e[j+16>>1]|e[j+18>>1]<<16;C=UGa(D|0,f|0,48)|0;d=F;f=_Ga(f|0,0,16)|0;d=_Ga(C|0,d|0,16)|0;c[E+24>>2]=o<<16>>16;c[E+28>>2]=D<<16>>16;c[E+32>>2]=D>>16;c[E+36>>2]=f>>16;c[E+40>>2]=d>>16;jN(353400,E+24|0)}}else j=0;TL(E+152|0,227);KL(E+92|0,224);i=E;return j|0}function M9(a){a=a|0;var d=0.0,e=0,f=0,g=0,h=0;h=i;i=i+48|0;c[h+8>>2]=0;pk(h+8|0,a+20|0);if(!(vk(h+8|0)|0)?(rk(h+8|0),fla(h+40|0,tk(h+8|0)|0),e=b[h+44>>1]|0,OL(h+8|0)|0,!(sk(h+8|0)|0)):0){f=0;g=0;a=e;do{fla(h,tk(h+8|0)|0);e=a;a=c[h+4>>2]&65535;g=g-(e<<16>>16)+(c[h>>2]<<16>>16)|0;f=f+1<<16>>16;OL(h+8|0)|0}while(!(sk(h+8|0)|0));if(f<<16>>16>0)d=+(g|0)/+(f<<16>>16);else d=0.0}else d=0.0;i=h;return +d}function N9(a,d,f,g,h,j){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0;l=i;i=i+64|0;c[l+24>>2]=c[f+0>>2];c[l+28>>2]=c[f+4>>2];c[l+32>>2]=c[f+8>>2];c[l+36>>2]=c[f+12>>2];c[l+40>>2]=c[f+16>>2];c[l+44>>2]=c[f+20>>2];c[l+48>>2]=c[f+24>>2];Zaa(l+16|0,f);m=c[l+16>>2]|0;k=c[l+20>>2]|0;b[g>>1]=m;b[g+2>>1]=m>>>16;b[g+4>>1]=k;b[g+6>>1]=k>>>16;D9(l+8|0,a,d,l+24|0);k=c[l+12>>2]|0;if(xk(f)|0){b[h>>1]=32767;k=32767}else{m=(tk(f)|0)+8|0;b[h>>1]=(e[m>>1]|e[m+2>>1]<<16)-(e[g+4>>1]|0);D9(l,a,d,l+24|0);k=(c[l>>2]|0)-k&65535}b[j>>1]=k;i=l;return}function O9(b,d,f,j,k,l,m,n,o,p,q,r,s,t){b=b|0;d=d|0;f=f|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;s=s|0;t=t|0;var u=0,v=0.0,w=0,x=0,y=0,z=0,A=0.0,B=0.0,C=0,D=0,E=0,F=0,G=0,H=0;G=i;i=i+144|0;do if(!(a[t>>0]|0)){v=+g[d+76>>2];if(!(v>+h[b+1648>>3]*+g[d+44>>2])){A=+h[b+1688>>3];if(A>=0.0?+(l<<16>>16)>0]|0)!=0?(a[b+294>>0]|0)!=0:0)F=m;else F=l;if(a[b+38>>0]|0){m=F<<16>>16;u=(m|0)>(c[d+68>>2]|0);if(F<<16>>16==32767|u^1){u=u&1;break}if((m|0)>=(c[d+64>>2]|0)){b=~~(+(F<<16>>16)/+g[d+80>>2])&255;a[p>>0]=b<<24>>24==0?1:b;a[q>>0]=0;a[r>>0]=0;u=u&1;break}if((m|0)>(c[d+72>>2]|0)){a[p>>0]=1;a[q>>0]=1;a[r>>0]=0;u=u&1;break}else{a[p>>0]=0;a[q>>0]=0;a[r>>0]=1;u=u&1;break}}if(rl(k)|0)a[s>>0]=1;E=F<<16>>16;u=(E|0)>(c[d+72>>2]|0)&1;A=+(F<<16>>16);H=~~(A/+g[d+80>>2])&255;a[p>>0]=H<<24>>24==0?1:H;a[q>>0]=0;a[r>>0]=0;do if(a[b+278>>0]|0){H=c[d+68>>2]|0;m=m<<16>>16;if((l<<16>>16|0)<=(H|0)&(m|0)>(H|0)){a[r>>0]=1;u=1;break}H=c[d+72>>2]|0;if(!((l<<16>>16|0)<=(H|0)&(m|0)>(H|0))){H=c[d+64>>2]|0;if((l<<16>>16|0)>=(H|0)|(m|0)<(H|0)){C=27;break}else{u=1;break}}if(!(a[b+326>>0]|0)){a[r>>0]=1;u=1;break}else{a[q>>0]=1;u=1;break}}else C=27;while(0);a:do if((C|0)==27){if(((a[b+86>>0]|0)!=0?(H=e[k+4>>1]|e[k+6>>1]<<16,c[G+88>>2]=e[k>>1]|e[k+2>>1]<<16,c[G+92>>2]=H,(Q9(d,G+88|0)|0)<<24>>24==0):0)?(H=e[f+4>>1]|e[f+6>>1]<<16,c[G+40>>2]=e[f>>1]|e[f+2>>1]<<16,c[G+44>>2]=H,(Q9(d,G+40|0)|0)<<24>>24!=0):0){a[t>>0]=1;break}if((E|0)<(c[d+64>>2]|0)?(D=c[d+72>>2]|0,(E|0)>(D|0)):0){v=+h[b+1808>>3];if(v>0.0){B=+g[d+76>>2];v=B+v*(+g[d+80>>2]-B)}else v=99999.0;if(((kl(k)|0)<<16>>16>0?(H=e[k+4>>1]|e[k+6>>1]<<16,c[G+32>>2]=e[k>>1]|e[k+2>>1]<<16,c[G+36>>2]=H,H=(F9(b,+g[d+44>>2],G+32|0)|0)<<24>>24==0,!(H|(a[s>>0]|0)==0)):0)?+(F<<16>>16)<=+(j<<16>>16)*+h[b+928>>3]:0){if(!((a[b+230>>0]|0)!=0|A>v)){u=0;break}if(!(a[b+342>>0]|0)){a[q>>0]=1;break}else{a[r>>0]=1;break}}if(((kl(k)|0)<<16>>16>0?(H=e[k+4>>1]|e[k+6>>1]<<16,c[G+8>>2]=e[k>>1]|e[k+2>>1]<<16,c[G+12>>2]=H,H=(F9(b,+g[d+44>>2],G+8|0)|0)<<24>>24!=0,H&(a[s>>0]|0)==0):0)?+(F<<16>>16)*+h[b+928>>3]<=+(j<<16>>16):0){if(!((a[b+230>>0]|0)!=0|A>v)){u=0;break}if(!(a[b+342>>0]|0)){a[q>>0]=1;break}else{a[r>>0]=1;break}}if(((kl(n)|0)<<16>>16>0?(H=e[n+4>>1]|e[n+6>>1]<<16,c[G+80>>2]=e[n>>1]|e[n+2>>1]<<16,c[G+84>>2]=H,(F9(b,+g[d+44>>2],G+80|0)|0)<<24>>24!=0&(o<<16>>16|0)>(D|0)):0)?+(F<<16>>16)<=+(o<<16>>16)*+h[b+928>>3]:0){if(!((a[b+230>>0]|0)!=0|A>v)){u=0;break}if(!(a[b+342>>0]|0)){a[q>>0]=1;break}else{a[r>>0]=1;break}}if(((kl(n)|0)<<16>>16>0?(H=e[n+4>>1]|e[n+6>>1]<<16,c[G+96>>2]=e[n>>1]|e[n+2>>1]<<16,c[G+100>>2]=H,!((F9(b,+g[d+44>>2],G+96|0)|0)<<24>>24==0|(o<<16>>16|0)>(D|0))):0)?+(F<<16>>16)*+h[b+928>>3]<=+(o<<16>>16):0){if(!((a[b+230>>0]|0)!=0|A>v)){u=0;break}if(!(a[b+342>>0]|0)){a[q>>0]=1;break}else{a[r>>0]=1;break}}if(!((kl(n)|0)<<16>>16>0?(H=e[n+4>>1]|e[n+6>>1]<<16,c[G+112>>2]=e[n>>1]|e[n+2>>1]<<16,c[G+116>>2]=H,(F9(b,+g[d+44>>2],G+112|0)|0)<<24>>24!=0):0)){if((kl(k)|0)<<16>>16<=0)break;H=e[k+4>>1]|e[k+6>>1]<<16;c[G+136>>2]=e[k>>1]|e[k+2>>1]<<16;c[G+140>>2]=H;if(!((F9(b,+g[d+44>>2],G+136|0)|0)<<24>>24))break}a[q>>0]=1;break}if((E|0)>(c[d+68>>2]|0)?(E|0)<=(c[d+72>>2]|0):0){if(((((kl(k)|0)<<16>>16>0?(kl(n)|0)<<16>>16>0:0)?+(F<<16>>16)>=+((j<<16>>16>=o<<16>>16?j:o)<<16>>16)*+h[b+968>>3]:0)?(H=e[k+4>>1]|e[k+6>>1]<<16,c[G+48>>2]=e[k>>1]|e[k+2>>1]<<16,c[G+52>>2]=H,(G9(b,d,G+48|0)|0)<<24>>24!=0):0)?(H=e[n+4>>1]|e[n+6>>1]<<16,c[G>>2]=e[n>>1]|e[n+2>>1]<<16,c[G+4>>2]=H,(G9(b,d,G)|0)<<24>>24!=0):0){do if(a[b+326>>0]|0){B=+h[b+1608>>3];if(!(B<=0.0)?!(B*+g[d+76>>2]>+g[d+80>>2]):0)break;a[q>>0]=1;u=1;break a}while(0);a[r>>0]=1;u=1;break}do if((((((kl(k)|0)<<16>>16>0?(kl(n)|0)<<16>>16>0&F<<16>>16>5:0)?+(F<<16>>16)>=+((j<<16>>16>=o<<16>>16?j:o)<<16>>16)*+h[b+1008>>3]:0)?(w=e[k>>1]|e[k+2>>1]<<16,x=e[k+4>>1]|e[k+6>>1]<<16,c[G+64>>2]=w,c[G+68>>2]=x,B=+g[d+44>>2],(F9(b,B,G+64|0)|0)<<24>>24==0):0)?(c[G+56>>2]=w,c[G+60>>2]=x,(Q9(d,G+56|0)|0)<<24>>24==0):0)?(y=e[n>>1]|e[n+2>>1]<<16,z=e[n+4>>1]|e[n+6>>1]<<16,c[G+16>>2]=y,c[G+20>>2]=z,(F9(b,B,G+16|0)|0)<<24>>24==0):0){c[G+72>>2]=y;c[G+76>>2]=z;if((Q9(d,G+72|0)|0)<<24>>24)break;a[r>>0]=1;u=1;break a}while(0);v=+h[b+1048>>3];if(((v>0.0?(kl(k)|0)<<16>>16>0:0)?(kl(n)|0)<<16>>16>0:0)?+(F<<16>>16)>=+((j<<16>>16>=o<<16>>16?j:o)<<16>>16)*v:0){if(a[b+310>>0]|0){H=e[k+4>>1]|e[k+6>>1]<<16;c[G+24>>2]=e[k>>1]|e[k+2>>1]<<16;c[G+28>>2]=H;if((Q9(d,G+24|0)|0)<<24>>24)break;H=e[n+4>>1]|e[n+6>>1]<<16;c[G+104>>2]=e[n>>1]|e[n+2>>1]<<16;c[G+108>>2]=H;if((Q9(d,G+104|0)|0)<<24>>24)break}a[r>>0]=1;u=1}}}while(0);if((c[b+376>>2]|0)>10){c[G+120>>2]=u&255;c[G+124>>2]=E;c[G+128>>2]=j<<16>>16;c[G+132>>2]=o<<16>>16;jN(353496,G+120|0)}if(!(u<<24>>24))m=0;else m=(a[r>>0]|0)==0&1;a[s>>0]=m}else{a[t>>0]=0;u=1}while(0);i=G;return u|0}function P9(a,d){a=a|0;d=d|0;var f=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+144|0;c[m+80>>2]=0;c[m+108>>2]=0;pk(m+112|0,m+108|0);c[m+48>>2]=0;c[m+20>>2]=0;c[m+52>>2]=0;pk(m+112|0,m+108|0);pk(m+52|0,d+120|0);Lk(m+20|0,m+48|0);if(!(vk(m+52|0)|0)){k=1;h=0;while(1){f=tk(m+52|0)|0;j=c[f+4>>2]|0;if(!(c[f+24>>2]&1073741824)){if(j)Ck(m+112|0,j)}else if((j|0)!=0?(pk(m+80|0,(tk(m+112|0)|0)+4|0),SL(m+80|0),yk(m+80|0,(c[f+4>>2]|0)+4|0),l=c[f+4>>2]|0,(l|0)!=0):0){KL(l+4|0,230);YEa(l)}OL(m+52|0)|0;j=(c[(tk(m+52|0)|0)+24>>2]&1073741824|0)!=0;if(!(j|(c[m+108>>2]|0)==0)){f=WEa(28)|0;vla(f,m+108|0,1,0);h=h+1<<16>>16;nZ(m+20|0,f);if(k)b[f+10>>1]=e[f+10>>1]|0|8;if(xk(m+52|0)|0){b[f+10>>1]=e[f+10>>1]|0|16;j=0}else j=0}else j=k;if(xk(m+52|0)|0)break;else k=j}f=WEa(64)|0;Jfa(f,d,~~+g[d+76>>2],~~+g[d+80>>2]);Lk(m+20|0,f+36|0);uX(m+20|0,m+48|0);Lfa(f);if((c[a+376>>2]|0)>4){l=e[f+12>>1]|e[f+14>>1]<<16;d=e[f+16>>1]|e[f+18>>1]<<16;k=UGa(l|0,d|0,48)|0;a=F;d=_Ga(d|0,0,16)|0;a=_Ga(k|0,a|0,16)|0;c[m>>2]=h<<16>>16;c[m+4>>2]=l<<16>>16;c[m+8>>2]=l>>16;c[m+12>>2]=d>>16;c[m+16>>2]=a>>16;jN(353448,m)}}else f=0;TL(m+48|0,227);KL(m+108|0,224);i=m;return f|0}function Q9(a,c){a=a|0;c=c|0;var d=0.0,e=0.0,f=0.0;f=+((ll(c)|0)<<16>>16);e=+g[a+44>>2];if(!(f<=e*.66)?(d=+fia(a+92|0,+((b[c>>1]|0)+(b[c+4>>1]|0)|0)*.5),!(+(b[c+6>>1]|0)>1]|0)>d+e*.5&1;else c=1;return c|0}function R9(a,d,f,h){a=a|0;d=d|0;f=f|0;h=h|0;var j=0.0,k=0.0,l=0,m=0.0,n=0,o=0,p=0,q=0;p=i;i=i+32|0;l=e[d+8>>1]|e[d+10>>1]<<16;q=e[d+12>>1]|e[d+14>>1]<<16;o=UGa(l|0,q|0,16)|0;n=UGa(l|0,q|0,48)|0;q=_Ga(q|0,0,16)|0;m=+fia(f+92|0,+((q>>16)+(l<<16>>16)|0)*.5);g[p+8>>2]=2147483648.0;g[p>>2]=-2147483648.0;Xaa(c[d+4>>2]|0,m+ +g[f+44>>2]*1.1,32767.0,p+8|0,p);j=+g[p+8>>2];if(j>+g[p>>2])l=32767;else l=~~+P(+j);b[h>>1]=l;g[p+8>>2]=2147483648.0;g[p>>2]=-2147483648.0;Xaa(c[d+4>>2]|0,m,32767.0,p+8|0,p);k=+g[p+8>>2];do if(!(k>+g[p>>2])){g[p>>2]=2147483648.0;g[p+4>>2]=-2147483648.0;Xaa(c[d+4>>2]|0,-32767.0,m+ +g[f+44>>2],p,p+4|0);j=+g[p+4>>2];if(+g[p>>2]>j){b[a>>1]=32767;b[a+2>>1]=32767;b[a+4>>1]=-32767;b[a+6>>1]=-32767;break}else{b[p+16>>1]=~~+P(+k);b[p+18>>1]=o;b[p+12>>1]=~~+aa(+j);b[p+14>>1]=n;_ia(a,p+16|0,p+12|0);break}}else{b[a>>1]=32767;b[a+2>>1]=32767;b[a+4>>1]=-32767;b[a+6>>1]=-32767}while(0);i=p;return}function S9(a){a=a|0;if(a)jM(a);return}function T9(){c[88390]=1701984;Wk(353568,0,353584,353616,0,kM()|0);Wk(353640,0,353656,353616,0,kM()|0);Wk(353680,0,353696,353728,0,kM()|0);Wk(353768,0,353784,353808,0,kM()|0);Wk(353832,0,353848,353872,0,kM()|0);Wk(353904,0,353920,353952,0,kM()|0);Wk(353976,0,353992,354016,0,kM()|0);rJ(354032,3,354056,354080,0,kM()|0);rJ(354120,0,354144,354168,0,kM()|0);rJ(354192,2,354216,354240,0,kM()|0);tJ(354264,.05,354304,354336,kM()|0);tJ(354360,.1,354400,354432,kM()|0);tJ(354456,.4,354496,354520,kM()|0);tJ(354560,4.0,354600,354624,kM()|0);tJ(354648,3.5,354688,354720,kM()|0);tJ(354752,.6,354792,354824,kM()|0);tJ(354848,.3,354888,354824,kM()|0);tJ(354920,.2,354960,354824,kM()|0);tJ(354992,.25,355032,355064,kM()|0);tJ(355088,.15,355128,355160,kM()|0);tJ(355192,.75,355232,355256,kM()|0);tJ(355288,.04,355328,355360,kM()|0);tJ(355384,.016,355424,355448,kM()|0);tJ(355480,.09,355520,355544,kM()|0);rJ(355576,5,355600,355632,0,kM()|0);tJ(355664,.08,355704,355736,kM()|0);Wk(355776,0,355792,355824,0,kM()|0);tJ(355856,.5,355896,355064,kM()|0);tJ(355920,.15,355960,355160,kM()|0);tJ(355984,.25,356024,354824,kM()|0);tJ(356056,.75,356096,354824,kM()|0);tJ(356128,.6,356168,356200,kM()|0);tJ(356224,.3,356264,356296,kM()|0);tJ(356328,2.8,356368,356400,kM()|0);tJ(356432,2.0,356472,356400,kM()|0);tJ(356504,1.5,356544,356568,kM()|0);tJ(356600,.2,356640,356664,kM()|0);tJ(356696,.5,356736,356760,kM()|0);return}function U9(a){a=a|0;var d=0,f=0,j=0,k=0,l=0,m=0,n=0.0,o=0;m=i;i=i+112|0;c[m+56>>2]=0;c[m+88>>2]=0;c[m+92>>2]=0;c[m+96>>2]=0;pk(m+28|0,m+56|0);pk(m,a+8|0);pk(m+60|0,m+88|0);a:do if(c[a+92>>2]|0){rk(m);while(1){if(sk(m)|0)break;d=pv(m)|0;k=(e[d+12>>1]|e[d+14>>1]<<16)&65535;l=V9(a+92|0,d)|0;if(!l)break a;n=+g[l+44>>2];W9(d,l+92|0,n,n*+h[44618],m+56|0);pk(m+28|0,m+56|0);rk(m+28|0);f=d;while(1){if(sk(m+28|0)|0)break;d=b[(tk(m+28|0)|0)+4>>1]|0;o=(b[(tk(m+28|0)|0)+6>>1]|0)-(d<<16>>16)|0;j=c[81443]|0;if((o|0)>(j+1|0)){L$(f,d,+(j|0)+.5,m+92|0,m+96|0);if(c[m+92>>2]|0){o=WEa(120)|0;j=WEa(8)|0;ala(j,m+92|0);TX(o,j);Ck(m+60|0,o)}o=b[(tk(m+28|0)|0)+6>>1]|0;L$(0,o,+(c[81443]|0)+.5,m+92|0,m+96|0);if(!(c[m+92>>2]|0))f=0;else{f=WEa(120)|0;o=WEa(8)|0;ala(o,m+92|0);TX(f,o);bba(l,f);f=0}}d=pv(m+28|0)|0;if(d)YEa(d);OL(m+28|0)|0}if((c[m+96>>2]|0)!=0?(L$(0,k,+(c[81443]|0)+.5,m+92|0,m+96|0),(c[m+92>>2]|0)!=0):0){o=WEa(120)|0;l=WEa(8)|0;ala(l,m+92|0);TX(o,l);Ck(m+60|0,o)}if(f){d=c[f+4>>2]|0;if(d){KL(d+4|0,230);YEa(d)}QX(f);YEa(f)}OL(m)|0}if(!(vk(m+60|0)|0)){qk(m+60|0);rk(m+60|0);while(1){if(sk(m+60|0)|0)break a;Ck(m,pv(m+60|0)|0);OL(m+60|0)|0}}}while(0);KL(m+96|0,230);KL(m+92|0,230);KL(m+88|0,234);KL(m+56|0,228);i=m;return}function V9(a,c){a=a|0;c=c|0;var d=0.0,e=0,f=0,h=0.0,j=0,k=0,l=0.0,m=0,n=0,o=0,p=0.0;o=i;i=i+32|0;m=b[c+8>>1]|0;n=b[c+12>>1]|0;Lk(o,a);if(!((uZ(o)|0)<<24>>24)){a=Ok(o)|0;Mk(o);l=+fia(a+92|0,+(((((n<<16>>16)+(m<<16>>16)|0)/2|0)&65535)<<16>>16));a:do if(l+ +g[a+56>>2]>+(b[c+14>>1]|0)){f=a+92|0;j=a+56|0;e=0;d=-2147483648.0;k=a;while(1){if((Nk(o)|0)<<24>>24){j=e;a=k;break a}d=+(b[c+14>>1]|0);d=d-+fia(f,+(((((n<<16>>16)+(m<<16>>16)|0)/2|0)&65535)<<16>>16));d=d+ +g[j>>2];VL(o);a=Ok(o)|0;f=a+92|0;l=+fia(f,+(((((n<<16>>16)+(m<<16>>16)|0)/2|0)&65535)<<16>>16));j=a+56|0;if(!(l+ +g[j>>2]>+(b[c+14>>1]|0))){j=k;break}else{e=k;k=a}}}else{j=0;d=-2147483648.0}while(0);e=a+92|0;l=+fia(e,+(((((n<<16>>16)+(m<<16>>16)|0)/2|0)&65535)<<16>>16));f=a+44|0;k=a+52|0;b:do if(l+ +g[f>>2]+ +g[k>>2]>=+(b[c+10>>1]|0)){l=d;while(1){if((Nk(o)|0)<<24>>24){d=l;break b}h=+fia(e,+(((((n<<16>>16)+(m<<16>>16)|0)/2|0)&65535)<<16>>16));h=h+ +g[f>>2]+ +g[k>>2];p=+(b[c+14>>1]|0);h=p>1]|0;p=+fia(e,+(((((n<<16>>16)+(m<<16>>16)|0)/2|0)&65535)<<16>>16));d=+g[a+56>>2];if(+(f<<16>>16)>p+d)d=h-+(f<<16>>16);else d=h-(+fia(e,+(((((n<<16>>16)+(m<<16>>16)|0)/2|0)&65535)<<16>>16))+d);k=d>l;j=k?a:j;d=k?d:l;VL(o);a=Ok(o)|0;p=+fia(a+92|0,+(((((n<<16>>16)+(m<<16>>16)|0)/2|0)&65535)<<16>>16));if(!(p+ +g[a+44>>2]+ +g[a+52>>2]>=+(b[c+10>>1]|0))){e=a+92|0;f=a+44|0;k=a+52|0;break}else{e=a+92|0;f=a+44|0;k=a+52|0;l=d}}}while(0);if(!(d<0.0?(p=+fia(e,+(((((n<<16>>16)+(m<<16>>16)|0)/2|0)&65535)<<16>>16)),p+ +g[f>>2]+ +g[k>>2]-+(b[c+10>>1]|0)>d):0))a=j}else a=0;i=o;return a|0}function W9(a,d,f,g,h){a=a|0;d=d|0;f=+f;g=+g;h=h|0;var j=0,k=0,l=0;l=i;i=i+128|0;j=(e[a+8>>1]|e[a+10>>1]<<16)&65535;k=(e[a+12>>1]|e[a+14>>1]<<16)&65535;pk(l+88|0,h);Aka(l+72|0,j<<16>>16,(k<<16>>16)+1|0);Aka(l+56|0,j<<16>>16,(k<<16>>16)+1|0);Aka(l+40|0,j<<16>>16,(k<<16>>16)+1|0);c[l+8>>2]=0;h=c[a+4>>2]|0;if(!h){c[l>>2]=357136;c[l+4>>2]=190;$L(356792,357104,2,1702e3,l);h=c[a+4>>2]|0}pk(l+8|0,h+4|0);rk(l+8|0);while(1){if(sk(l+8|0)|0)break;X9(tk(l+8|0)|0,d,f,g,l+40|0,l+56|0,l+72|0);OL(l+8|0)|0}if(j<<16>>16>16){h=j<<16>>16;while(1){if((mx(l+56|0,h)|0)>0){a=h+1|0;a:do if((a&65535)<<16>>16>16){a=a<<16>>16;while(1){h=a+1|0;if((mx(l+56|0,a)|0)<=0)break;if((h&65535)<<16>>16>16)a=h;else{a=h&65535;break a}}a=a&65535}else a=a&65535;while(0);d=WEa(8)|0;j=(a&65535)<<16|j&65535;c[d>>2]=0;b[d+4>>1]=j;b[d+6>>1]=j>>>16;Ck(l+88|0,d)}else a=j;a=a+1<<16>>16;if(a<<16>>16>16){h=a<<16>>16;j=a}else break}}Eka(l+40|0);Eka(l+56|0);Eka(l+72|0);i=l;return}function X9(a,d,f,g,h,j,k){a=a|0;d=d|0;f=+f;g=+g;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0;r=i;i=i+48|0;pk(r+4|0,a+28|0);c[r+32>>2]=e[a+12>>1]|e[a+14>>1]<<16;o=b[a+16>>1]|0;if(o<<16>>16>0){q=0;do{yV(r,c[a+20>>2]|0,q);p=c[r>>2]|0;do if((p&65535)<<16>>16>0){l=c[r+32>>2]|0;s=g+ +fia(d,+((l&65535)<<16>>16));m=~~+P(+(s+.5));n=~~+P(+(f+s+.5));if((l>>>16&65535)<<16>>16>16){Fka(h,l<<16>>16,0-(l>>16)|0);break}Fka(h,l<<16>>16,0-(m<<16>>16)|0);if((l>>>16&65535)<<16>>16>16){Fka(j,l<<16>>16,(m<<16>>16)-(l>>16)|0);break}else{Fka(j,l<<16>>16,(m<<16>>16)-(n<<16>>16)|0);Fka(k,l<<16>>16,(n<<16>>16)-(l>>16)|0);break}}else if((p&65535)<<16>>16<0){n=c[r+32>>2]|0;s=g+ +fia(d,+((n<<16>>16)+-1|0));m=~~+P(+(s+.5));l=~~+P(+(f+s+.5));if((n>>>16&65535)<<16>>16>16){Fka(h,(n<<16>>16)+-1|0,n>>16);break}Fka(h,(n<<16>>16)+-1|0,m<<16>>16);if((n>>>16&65535)<<16>>16>16){Fka(j,(n<<16>>16)+-1|0,(n>>16)-(m<<16>>16)|0);break}else{Fka(j,(n<<16>>16)+-1|0,(l<<16>>16)-(m<<16>>16)|0);Fka(k,(n<<16>>16)+-1|0,(n>>16)-(l<<16>>16)|0);break}}while(0);eB(r+32|0,p&65535,p>>>16&65535);q=q+1|0}while((q&65535)<<16>>16!=o<<16>>16)}rk(r+4|0);if(!(sk(r+4|0)|0))do{X9(tk(r+4|0)|0,d,f,g,h,j,k);OL(r+4|0)|0}while(!(sk(r+4|0)|0));i=r;return}function Y9(){c[89198]=1701984;c[89200]=389976;c[89202]=390024;c[89204]=390056;c[89206]=390112;c[89208]=390152;c[89210]=390184;c[89212]=390240;c[89214]=390280;c[89216]=390328;c[89218]=390376;c[89220]=390400;c[89222]=390432;c[89224]=390504;c[89226]=390552;c[89228]=390592;c[89230]=390640;tJ(356928,.1,356968,357e3,kM()|0);Wk(357024,1,357040,357072,0,kM()|0);return}function Z9(a,d,f){a=a|0;d=d|0;f=f|0;var h=0,j=0,k=0;k=i;i=i+176|0;Lk(k+56|0,d);pk(k+112|0,f);Mk(k+56|0);if(!((Nk(k+56|0)|0)<<24>>24))do{f=Ok(k+56|0)|0;c[k+140>>2]=0;pk(k+144|0,k+140|0);pk(k+28|0,f+120|0);while(1){if(vk(k+28|0)|0)break;h=pv(k+28|0)|0;do if(!(c[h+24>>2]&1073741824)){if(a?!(vk(k+144|0)|0):0){d=8;break}d=c[h+4>>2]|0;if(!d)d=14;else{Ck(k+144|0,d);d=14}}else d=8;while(0);if((d|0)==8){d=0;if((c[h+4>>2]|0)!=0?(pk(k,(tk(k+144|0)|0)+4|0),SL(k),yk(k,(c[h+4>>2]|0)+4|0),j=c[h+4>>2]|0,(j|0)!=0):0){KL(j+4|0,230);YEa(j)}if(h)d=14}if((d|0)==14){QX(h);YEa(h)}OL(k+28|0)|0}h=WEa(64)|0;Jfa(h,f,~~+g[f+76>>2],~~+g[f+80>>2]);Lk(k+84|0,h+36|0);d=WEa(28)|0;vla(d,k+140|0,0,0);b[d+10>>1]=e[d+10>>1]|0|24;tv(d+10|0,8,a&1);nZ(k+84|0,d);Ck(k+112|0,h);KL(k+140|0,224);VL(k+56|0)}while((Nk(k+56|0)|0)<<24>>24==0);i=k;return}function _9(b,d,f,g){b=b|0;d=d|0;f=+f;g=g|0;var h=0;h=i;i=i+32|0;c[h+4>>2]=0;if(!(a[b+8>>0]|0))b8(g,f,0.0,-1.0,(a[328282]|0)==0&1);else{c[h>>2]=e[d>>1]|e[d+2>>1]<<16;ZV(h,g)}A9(b,g);pk(h+4|0,g);rk(h+4|0);if(!(sk(h+4|0)|0))do{$9(b,tk(h+4|0)|0,1.0,0.0);OL(h+4|0)|0}while(!(sk(h+4|0)|0));i=h;return}function $9(d,e,f,h){d=d|0;e=e|0;f=+f;h=+h;var j=0,k=0,l=0,m=0;m=i;i=i+64|0;Lk(m+36|0,e+92|0);pk(m+8|0,(c[e+24>>2]|0)+52|0);if(!((uZ(m+36|0)|0)<<24>>24)){Mk(m+36|0);if(!((Nk(m+36|0)|0)<<24>>24)){j=0;do{l=Ok(m+36|0)|0;a:do if(!(c[l+120>>2]|0)){if(c[l+84>>2]|0)j=aaa(l,e)|0}else{k=c[(c[e+24>>2]|0)+4>>2]|0;if(a[357498]|0){j=P9(d,l)|0;break}do if(!(a[357394]|0)){if((k|0)!=0?!(Zj(c[k+12>>2]|0)|0):0)break;k=c[l+16>>2]|0;if((k|0)==5|(k|0)==1){j=J$(l)|0;break a}else if((k|0)==6|(k|0)==3)break;else{c[m>>2]=357568;c[m+4>>2]=540;$L(357160,357560,2,1702e3,m);break a}}while(0);j=L9(d,l)|0}while(0);if(j)Ck(m+8|0,j);VL(m+36|0)}while((Nk(m+36|0)|0)<<24>>24==0)}d=c[e+24>>2]|0;h=+g[e+52>>2];l=~~+g[e+56>>2];e=~~+g[e+60>>2];a[d+28>>0]=h==0.0&1;a[d+30>>0]=l;b[d+32>>1]=e;b[d+34>>1]=~~h;wfa(d)}i=m;return}function aaa(a,d){a=a|0;d=d|0;var e=0,f=0;e=i;i=i+64|0;b[e+8>>1]=32767;b[e+10>>1]=32767;b[e+12>>1]=-32767;b[e+14>>1]=-32767;Lk(e+16|0,a+84|0);if(!((uZ(e+16|0)|0)<<24>>24)){yla(e,Ok(e+16|0)|0);f=c[e+4>>2]|0;c[e+8>>2]=c[e>>2];c[e+12>>2]=f;Mk(e+16|0);while(1){if((Nk(e+16|0)|0)<<24>>24)break;yla(e+48|0,Ok(e+16|0)|0);bja(e+8|0,e+48|0);VL(e+16|0)}g[a+44>>2]=+g[d+48>>2];f=WEa(64)|0;Jfa(f,a,~~+g[d+56>>2],~~+g[d+60>>2]);Lk(e+16|0,f+36|0);uX(e+16|0,a+84|0);Lfa(f);d=f}else d=0;i=e;return d|0}function baa(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;l=i;i=i+64|0;c[l+32>>2]=0;c[l+28>>2]=0;pk(l,l+28|0);if((d|0)>0){k=0;do{g=pv(a)|0;j=c[g+4>>2]|0;if(!(c[g+24>>2]&1073741824)){if(j)Ck(l,j)}else if((j|0)!=0?(pk(l+32|0,(tk(l)|0)+4|0),SL(l+32|0),yk(l+32|0,(c[g+4>>2]|0)+4|0),h=c[g+4>>2]|0,(h|0)!=0):0){KL(h+4|0,230);YEa(h)}if(g){QX(g);YEa(g)}OL(a)|0;k=k+1|0}while((k|0)<(d|0))}g=WEa(28)|0;vla(g,l+28|0,1,0);if(f<<24>>24)b[g+10>>1]=e[g+10>>1]|0|8;if(xk(a)|0)b[g+10>>1]=e[g+10>>1]|0|16;KL(l+28|0,224);i=l;return g|0}function caa(){c[89290]=1701984;c[89292]=357176;c[89298]=389976;c[89300]=390024;c[89302]=390056;c[89304]=390112;c[89306]=390152;c[89308]=390184;c[89310]=390240;c[89312]=390280;c[89314]=390328;c[89316]=390376;c[89318]=390400;c[89320]=390432;c[89322]=390504;c[89324]=390552;c[89326]=390592;c[89328]=390640;Wk(357320,1,357336,357360,0,kM()|0);Wk(357384,0,357400,357432,0,kM()|0);Wk(357488,0,357504,357528,0,kM()|0);return}function daa(a){a=a|0;if(a){KX(a);YEa(a)}return}function eaa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;d=EY(b,1)|0;a:do if(d){if((EY(d,0)|0)!=(b|0)){c[g>>2]=357648;c[g+4>>2]=34;$L(357592,357600,2,1702e3,g)}e=c[a+8>>2]|0;if(e)if((EY(e,0)|0)!=(b|0)?(DZ(a+16|0),(Kv(a+16|0)|0)<<24>>24==0):0)while(1){if((Ok(a+16|0)|0)==(d|0)){e=a+16|0;d=a+8|0;break a}VL(a+16|0);if((Kv(a+16|0)|0)<<24>>24){e=a+16|0;d=a+8|0;break}}else{e=a+16|0;d=a+8|0}else{d=a+8|0;f=6}}else{d=a+8|0;f=6}while(0);if((f|0)==6){xZ(a+16|0);e=a+16|0}nZ(e,b);c[d>>2]=b;i=g;return}function faa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+64|0;gaa(a,b,c,d,e);pk(h+28|0,f);SL(h+28|0);yk(h+28|0,a+44|0);pk(h,g);SL(h);yk(h,a+48|0);i=h;return}function gaa(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0;n=i;i=i+96|0;DZ(a+16|0);if(!((uZ(a+16|0)|0)<<24>>24)){do{c[n+92>>2]=0;Lk(n+64|0,n+92|0);j=0;while(1){h=hv(a+16|0)|0;if((c[h+48>>2]|0)!=5?(k=c[h+72>>2]|0,(k|0)==6|(Zj(k)|0)^1):0)k=j;else k=1;c[h+92>>2]=0;VL(a+16|0);nZ(n+64|0,h);j=EY(h,0)|0;if(!((uZ(a+16|0)|0)<<24>>24==0?!((j|0)!=(Ok(a+16|0)|0)|(j|0)==0):0))m=10;do if((m|0)==10){m=0;if(((uZ(a+16|0)|0)<<24>>24==0?(l=Ok(a+16|0)|0,o=c[h+72>>2]|0,j=c[l+72>>2]|0,!((o&-2|0)==12|(BZ(o,j)|0)^1|(j&-2|0)==12)):0)?(b[l+18>>1]|0)<=(b[h+22>>1]|0):0){if(!k?(b[h+18>>1]|0)>(b[l+22>>1]|0):0){j=0;break}j=l}else j=0}while(0);if((uZ(a+16|0)|0)<<24>>24==0&(j|0)!=0)j=k;else break}if(!k){j=XY(d,e,n+92|0,g)|0;if(j){pk(n+36|0,a+48|0);qv(n+36|0,j);pk(n+8|0,a+44|0);qv(n+8|0,c[j+24>>2]|0)}}else TY(d,e,f,n+92|0,g,a+44|0,a+48|0);TL(n+92|0,238)}while((uZ(a+16|0)|0)<<24>>24==0);h=a+48|0;j=a+44|0}else{h=a+48|0;j=a+44|0}Lk(a+16|0,a+12|0);c[a+8>>2]=0;o=NL(j)|0;if((o|0)!=(NL(h)|0)){c[n>>2]=357648;c[n+4>>2]=141;$L(357592,357680,2,1702e3,n)}i=n;return}function haa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+64|0;pk(d+28|0,a+44|0);yB(d+28|0,b);pk(d,a+48|0);yB(d,c);i=d;return}function iaa(a){a=a|0;return c[357744+(a<<2)>>2]|0}function jaa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;if(!b)d=0;else{d=c[b+4>>2]|0;NM(f+4|0);if((c[b+28>>2]|0)>0){e=0;do{dN(f+4|0,pC(d,bx(b,e)|0)|0);e=e+1|0}while((e|0)<(c[b+28>>2]|0))}oC(f,a);d=ZM(f,f+4|0)|0;RM(c[f>>2]|0);RM(c[f+4>>2]|0);d=d<<24>>24!=0}i=f;return d|0}function kaa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+16|0;dN(f,357792);if((c[b+72>>2]|0)>0){g=0;do{bN(f,fk(b+72|0,g)|0);g=g+1|0}while((g|0)<(c[b+72>>2]|0))}if(!(a[b>>0]|0))dN(f,357800);if(e){dN(f,357824);NM(h);Iia(e,h,0);bN(f,h);RM(c[h>>2]|0)}if((SM(d)|0)>0){dN(f,1714256);bN(f,d)}dN(f,1714256);i=h;return}function laa(a,d){a=a|0;d=d|0;var e=0,f=0,h=0,j=0,k=0;f=i;i=i+16|0;c[a+68>>2]=~~(+g[d+36>>2]*5.0);b[f+12>>1]=0;b[f+14>>1]=0;b[f+8>>1]=0;b[f+10>>1]=0;if((c[a+12>>2]|0)>0){e=0;do{k=Dk(a+16|0,e)|0;j=b[k+4>>1]|0;h=b[k+2>>1]|0;efa(d,b[k>>1]|0,b[k+6>>1]|0,f+12|0);efa(d,j,h,f+8|0);$ia(f,b[f+12>>1]|0,b[f+10>>1]|0,b[f+8>>1]|0,b[f+14>>1]|0);Ica(a+36|0,e,f);e=e+1|0}while((e|0)<(c[a+12>>2]|0))}i=f;return}function maa(d,e,f,g,h,j){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0;n=i;i=i+16|0;NM(n+4|0);a:do if((c[d+92>>2]|0)!=10){b:do if((a[d>>0]|0)!=0?(fN(n+4|0,357840),cN(n+4|0,357872,e),cN(n+4|0,357888,f),dN(n+4|0,357904),(c[d+44>>2]|0)>1):0){eja(Dk(d+48|0,0)|0,n+4|0);c:do if((c[d+44>>2]|0)>1){l=1;while(1){eja(Dk(d+48|0,l)|0,n+4|0);k=e-(b[(Dk(d+48|0,l+-1|0)|0)+4>>1]|0)|0;if((((k|0)>-1?k:0-k|0)|0)<(c[d+68>>2]|0)?(k=f-(b[(Dk(d+48|0,l)|0)>>1]|0)|0,(((k|0)>-1?k:0-k|0)|0)<(c[d+68>>2]|0)):0)break;k=l+1|0;if((k|0)<(c[d+44>>2]|0))l=k;else break c}dN(n+4|0,357936);hN(n+4|0,10);if((l|0)<=0)break b;a[h>>0]=1;c[h+68>>2]=c[d+68>>2];a[j>>0]=1;c[j+68>>2]=c[d+68>>2];if((c[d+44>>2]|0)<=0)break a;k=0;while(1){h=(k|0)==(l|0)?j:h;Ica(h+36|0,k,Dk(d+48|0,k)|0);Ica(h+4|0,k,Dk(d+16|0,k)|0);OM(n,fk(d+72|0,k)|0);Wj(h+72|0,n);RM(c[n>>2]|0);k=k+1|0;if((k|0)>=(c[d+44>>2]|0))break a}}while(0);hN(n+4|0,10)}while(0);if((c[d+92>>2]|0)!=10){dN(n+4|0,357952);dN(n+4|0,(a[d>>0]|0)!=0?1714256:357976);yaa(h,9,n+4|0,0,g);yaa(j,9,n+4|0,0,g)}else m=15}else m=15;while(0);if((m|0)==15){c[h+92>>2]=10;c[j+92>>2]=10}RM(c[n+4>>2]|0);i=n;return}function naa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=i;i=i+16|0;NM(g);f=c[a+92>>2]|0;if((f|0)!=9)fN(g,1714496);h=c[b+92>>2]|0;if((h|0)==9|(h|0)==10|(h|0)==0)b=f;else{dN(g,358e3);bN(g,b+96|0);b=c[b+92>>2]|0}h=c[d+92>>2]|0;if(!((h|0)==9|(h|0)==10|(h|0)==0)){dN(g,358024);bN(g,d+96|0);f=c[d+92>>2]|0;if(b)f=(b|0)==(f|0)?b:11}else f=b;c[a+92>>2]=f;if(!((f|0)==0|(f|0)==10))yaa(a,f,g,0,e);RM(c[g>>2]|0);i=g;return}function oaa(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0;l=i;i=i+48|0;a:do if(((a[d>>0]|0)!=0?(c[d+92>>2]|0)==0:0)?(c[d+44>>2]|0)>0:0){k=0;while(1){m=Dk(d+48|0,k)|0;j=k+1|0;if(gja(b[f>>1]|0,b[f+4>>1]|0,b[m>>1]|0,b[m+4>>1]|0,(c[d+68>>2]|0)/2|0)|0)break;if((j|0)<(c[d+44>>2]|0))k=j;else break a}j=VM(c[(fk(d+72|0,k)|0)>>2]|0)|0;pk(l+8|0,g);rk(l+8|0);b:do if(!(sk(l+8|0)|0)){g=0;f=-1;while(1){k=tk(l+8|0)|0;if(!(HGa(j,pC(e,c[k+4>>2]|0)|0)|0))break;if((c[k+68>>2]|0)==1){g=1;f=c[k+4>>2]|0}OL(l+8|0)|0;if(sk(l+8|0)|0)break b}if(!g)break a;PM(l,358104);dN(l,MN(e,f)|0);dN(l,358136);dN(l,j);yaa(d,8,l,0,h);RM(c[l>>2]|0);break a}while(0);PM(l+4|0,358048);dN(l+4|0,j);dN(l+4|0,358064);yaa(d,1,l+4|0,0,h);RM(c[l+4>>2]|0)}while(0);i=l;return}function paa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;l=i;i=i+48|0;k=c[d+92>>2]|0;if((!((k|0)==4|(k|0)==10)?(a[d>>0]|0)!=0:0)?(c[c[e+72>>2]>>2]|0)!=0:0){NM(l+4|0);k=c[c[e+72>>2]>>2]|0;a:do if((c[d+12>>2]|0)>0&(k|0)>0){g=0;while(1){h=b[(Dk(d+48|0,0)|0)+4>>1]|0;j=c[(Vy(c[e+72>>2]|0,g)|0)>>2]|0;Eba(l+32|0,c[j>>2]|0);if((b[l+36>>1]|0)>=((h<<16>>16)-(c[d+68>>2]|0)|0)?(Eba(l+24|0,c[j>>2]|0),(b[l+28>>1]|0)>((c[d+68>>2]|0)+(h<<16>>16)|0)):0)break;g=g+1|0;if(!((c[d+12>>2]|0)>0&(g|0)<(k|0))){g=9;break a}}NM(l);cN(l,358160,c[d+68>>2]|0);dN(l,358200);Eba(l+16|0,c[c[(Vy(c[e+72>>2]|0,g)|0)>>2]>>2]|0);eja(l+16|0,l);cN(l,358224,h<<16>>16);g=12}else g=9;while(0);if((g|0)==9?(c[d+44>>2]|0)>0:0){NM(l);cN(l,358256,c[d+44>>2]|0);dN(l,358280);g=12}if((g|0)==12){dN(l,358296);if((k|0)>0){g=0;do{Eba(l+8|0,c[c[(Vy(c[e+72>>2]|0,g)|0)>>2]>>2]|0);eja(l+8|0,l);hN(l,10);g=g+1|0}while((g|0)<(k|0))}dN(l,358328);if((c[d+44>>2]|0)>0){g=0;do{eja(Dk(d+48|0,g)|0,l);hN(l,10);g=g+1|0}while((g|0)<(c[d+44>>2]|0))}yaa(d,2,l,c[e+140>>2]|0,f);RM(c[l>>2]|0)}RM(c[l+4>>2]|0)}i=l;return}function qaa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;k=i;i=i+48|0;a:do if(f?(a[b+152>>0]=1,h=c[d+140>>2]|0,(c[h+28>>2]|0)>0):0){j=0;f=h;b:while(1){pk(k+12|0,vga(c[d+136>>2]|0,c[f+16>>2]|0,j)|0);if(vk(k+12|0)|0){c[k>>2]=358384;c[k+4>>2]=377;$L(357736,358360,2,1702e3,k)}rk(k+12|0);if(sk(k+12|0)|0){f=11;break}while(1){if(!(uC(e,c[(tk(k+12|0)|0)+4>>2]|0)|0))break;OL(k+12|0)|0;if(sk(k+12|0)|0){f=11;break b}}f=tk(k+12|0)|0;if(!f){f=11;break}h=c[f+4>>2]|0;if((h|0)!=(bx(c[d+140>>2]|0,j)|0)){f=13;break}j=j+1|0;f=c[d+140>>2]|0;if((j|0)>=(c[f+28>>2]|0))break a}if((f|0)==11){c[k>>2]=358384;c[k+4>>2]=386;$L(357736,358408,2,1702e3,k)}else if((f|0)==13){a[b+152>>0]=0;break}}while(0);NM(k+8|0);if(!(a[b+152>>0]|0)){fN(k+8|0,358504);f=d+140|0}else{fN(k+8|0,358432);dN(k+8|0,358488);dN(k+8|0,xia(a[(c[d+140>>2]|0)+52>>0]|0)|0);f=d+140|0}yaa(b,(a[b+152>>0]|0)!=0?1:7,k+8|0,c[f>>2]|0,g);RM(c[k+8>>2]|0);i=k;return}function raa(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+32|0;MR(d+164|0);if((c[d+92>>2]|0)==0?(a[d>>0]|0)!=0:0){NM(s);dN(s,358544);p=c[e>>2]|0;do if(p){Eba(s+16|0,c[c[(Vy(e,0)|0)>>2]>>2]|0);h=0;q=0;g=b[s+20>>1]|0;r=0;a:while(1){if((h|0)<(p|0))n=q;else{h=15;break}while(1){if((r|0)>=(c[d+44>>2]|0)){h=7;break a}m=n+1|0;h=h+1|0;k=(h|0)<(p|0);if(k){Eba(s+8|0,c[c[(Vy(e,h)|0)>>2]>>2]|0);o=b[s+12>>1]|0}else o=g;l=b[(Dk(d+48|0,r)|0)+4>>1]|0;j=g<<16>>16;cN(s,358592,j);cN(s,1701816,l<<16>>16);dN(s,1714256);g=c[d+68>>2]|0;if((j|0)>(g+(l<<16>>16)|0)){h=16;break a}if((j|0)>=((l<<16>>16)-g|0)?((h|0)>=(p|0)?1:(o<<16>>16|0)>(g+(l<<16>>16)|0)):0)break;if(!k){h=15;break a}else{n=m;g=o}}zv(d+112|0,q);zv(d+132|0,n);cN(s,358616,q);cN(s,358624,n);dN(s,1714256);q=m;g=o;r=r+1|0}if((h|0)==7){g=c[d+68>>2]|0;h=16}else if((h|0)==15){if((c[d+112>>2]|0)==(c[d+44>>2]|0))break;cN(s,358632,c[d+68>>2]|0);dN(s,358688)}if((h|0)==16)cN(s,358632,g);dN(s,358704);cN(s,358712,c[d+112>>2]|0);cN(s,358728,c[d+44>>2]|0);dN(s,1714256);yaa(d,11,s,0,f);Jk(d+112|0);Jk(d+132|0)}while(0);RM(c[s>>2]|0)}i=s;return}function saa(b,d){b=b|0;d=d|0;if(((c[b+92>>2]|0)==0?(a[b+104>>0]|0)==0:0)?(a[b>>0]|0)!=0:0)d=(jaa(b,d)|0)^1;else d=0;return d|0}function taa(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0;k=i;i=i+16|0;a[b+104>>0]=1;if(f)jN(358744,k);dN(g,358784);a:do if((c[b+112>>2]|0)>0){j=0;while(1){cN(g,358616,c[(Ik(b+112|0,j)|0)>>2]|0);cN(g,358624,c[(Ik(b+132|0,j)|0)>>2]|0);dN(g,1714256);l=c[(Ik(b+112|0,j)|0)>>2]|0;if(!(Oea(e,l,c[(Ik(b+132|0,j)|0)>>2]|0)|0)?(n=c[(c[h>>2]|0)+8>>2]|0,m=c[(Ik(b+112|0,j)|0)>>2]|0,l=c[(Ik(b+132|0,j)|0)>>2]|0,!(Vc[n&63](h,m,l)|0)):0)break;j=j+1|0;if((j|0)>=(c[b+112>>2]|0))break a}a[b+104>>0]=0;dN(g,358808);yaa(b,5,g,d,f)}while(0);i=k;return}function uaa(a){a=a|0;return a<<24>>24!=0|0}function vaa(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0;do if(a[b+104>>0]|0){a[b+104>>0]=0;if(a[b+152>>0]|0){fN(e,358432);dN(e,358488);dN(e,xia(a[c+52>>0]|0)|0);yaa(b,1,e,c,d);break}f=+g[b+108>>2];if(f<+g[c+36>>2]){dN(e,358840);yaa(b,6,e,c,d);break}if(!(f>=1.0e5)){eN(e,358936,f);eN(e,358976,+g[c+36>>2])}else dN(e,358888);yaa(b,3,e,c,d)}while(0);return}function waa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;d=c[b+152>>2]|0;do if(d){if((c[d+92>>2]|0)==10){PM(g+8|0,359024);yaa(d,10,g+8|0,c[b+140>>2]|0,a);RM(c[g+8>>2]|0);break}e=jaa(d,c[b+140>>2]|0)|0;d=c[b+152>>2]|0;f=(c[d+92>>2]|0)==0;if(!(e|f^1)){PM(g+4|0,359040);yaa(c[b+152>>2]|0,11,g+4|0,c[b+140>>2]|0,a);RM(c[g+4>>2]|0);break}if(!(f|e^1)){if(a){c[g>>2]=VM(c[d+96>>2]|0)|0;jN(359080,g);d=c[b+152>>2]|0}c[d+92>>2]=0;fN(d+96|0,1714496)}}else{f=WEa(184)|0;Ax(f);c[b+152>>2]=f;PM(g+12|0,359008);yaa(f,4,g+12|0,c[b+140>>2]|0,a);RM(c[g+12>>2]|0)}while(0);i=g;return}function xaa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;if(((c[b+92>>2]|0)!=10?!(jaa(b,d)|0):0)?(fN(b+100|0,359096),dN(b+100|0,xia(a[d+52>>0]|0)|0),dN(b+100|0,359120),PM(f+4|0,1714496),kaa(b,f+4|0,d,b+100|0),RM(c[f+4>>2]|0),e):0){c[f>>2]=VM(c[b+100>>2]|0)|0;jN(1701528,f)}i=f;return}function yaa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+16|0;c[a+92>>2]=b;fN(a+96|0,c[357744+(b<<2)>>2]|0);dN(a+96|0,359128);kaa(a,d,e,a+96|0);if(f){c[g>>2]=VM(c[a+96>>2]|0)|0;jN(359144,g)}i=g;return}function zaa(a){a=a|0;if(a){QX(a);YEa(a)}return}function Aaa(a){a=a|0;if(a){r1(a);YEa(a)}return}function Baa(a){a=a|0;if(a){gba(a);YEa(a)}return}function Caa(a,b,d){a=a|0;b=+b;d=+d;var e=0;e=i;i=i+16|0;g[e>>2]=b;g[e+4>>2]=d;kla(c[a+4>>2]|0,e);d=+g[e>>2];Daa(a,d,+g[e+4>>2]);SX(a);i=e;return}function Daa(a,d,e){a=a|0;d=+d;e=+e;var f=0,h=0,j=0;f=i;i=i+32|0;g[f>>2]=d;g[f+4>>2]=e;if(sZ(a)|0){if(!(d>=.866)){c[f+8>>2]=359312;c[f+12>>2]=66;$L(359272,359280,2,1702e3,f+8|0)}j=(((b[a+12>>1]|0)+(b[a+8>>1]|0)|0)/2|0)&65535;h=b[a+56>>1]|0;b[f+20>>1]=j;b[f+22>>1]=h;h=b[a+58>>1]|0;b[f+16>>1]=j;b[f+18>>1]=h;yD(f+20|0,d,e);b[a+56>>1]=b[f+22>>1]|0;yD(f+16|0,d,e);b[a+58>>1]=b[f+18>>1]|0;wD(a+8|0,f)}else{wD(a+8|0,f);b[a+56>>1]=b[a+14>>1]|0;b[a+58>>1]=b[a+10>>1]|0}i=f;return}function Eaa(a){a=a|0;var c=0;c=0-(e[a+12>>1]|0)|0;b[a+12>>1]=0-(e[a+8>>1]|0);b[a+8>>1]=c;return}function Faa(a,d){a=a|0;d=d|0;bja(a+8|0,d+8|0);b[a+56>>1]=b[a+14>>1]|0;b[a+58>>1]=b[a+10>>1]|0;c[d+24>>2]=c[d+24>>2]|1073741824;return}function Gaa(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+32|0;d=c[a+4>>2]|0;if((d|0)!=0?(c[b+4>>2]|0)!=0:0){pk(e,d+4|0);yk(e,(c[b+4>>2]|0)+4|0)}SX(a);i=e;return}function Haa(d,e,f,h){d=d|0;e=e|0;f=f|0;h=+h;var j=0,k=0,l=0.0,m=0.0,n=0,o=0,p=0,q=0,r=0.0,s=0,t=0,u=0.0,v=0;t=i;i=i+80|0;c[t+20>>2]=0;s=kl(d+8|0)|0;p=~~+P(+(+(s<<16>>16)/h));a:do if((p<<16>>16>1?(c[d+4>>2]|0)!=0:0)?((p&65535)+65535&65535)<<16>>16>-1:0){q=(p&65535)+65535&65535;r=+(b[d+12>>1]|0);while(1){c[t+20>>2]=c[e+0>>2];c[t+24>>2]=c[e+4>>2];c[t+28>>2]=c[e+8>>2];c[t+32>>2]=c[e+12>>2];c[t+36>>2]=c[e+16>>2];c[t+40>>2]=c[e+20>>2];a[t+44>>0]=a[e+24>>0]|0;l=r;r=r-+((s<<16>>16)+1|0)/+(p<<16>>16);h=2147483648.0;m=-2147483648.0;do{n=tk(t+20|0)|0;Iaa(c[n+4>>2]|0,r,l,t+60|0,t+48|0);OL(t+20|0)|0;u=+g[t+60>>2];h=u>2];m=u>m?u:m}while((n|0)!=(tk(f)|0));if(h>1]|0;o=o<<16>>16>16?n:o;n=~~+P(+h);k=~~+aa(+l);j=~~+aa(+m);if(!(q<<16>>16))break;v=WEa(120)|0;kba(v);c[t+56>>2]=(n&65535)<<16|o&65535;c[t+52>>2]=(j&65535)<<16|k&65535;_ia(t+8|0,t+56|0,t+52|0);o=c[t+8>>2]|0;k=c[t+12>>2]|0;b[v+8>>1]=o;b[v+10>>1]=o>>>16;b[v+12>>1]=k;b[v+14>>1]=k>>>16;b[v+56>>1]=j;b[v+58>>1]=n;Pv(f,v)}q=q+-1<<16>>16;if(q<<16>>16<=-1)break a}c[t+64>>2]=(n&65535)<<16|o&65535;c[t+16>>2]=(j&65535)<<16|k&65535;_ia(t,t+64|0,t+16|0);f=c[t>>2]|0;v=c[t+4>>2]|0;b[d+8>>1]=f;b[d+10>>1]=f>>>16;b[d+12>>1]=v;b[d+14>>1]=v>>>16}while(0);i=t;return}function Iaa(a,d,f,h,j){a=a|0;d=+d;f=+f;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0.0;n=i;i=i+48|0;b[n+34>>1]=0;b[n+32>>1]=0;b[n+30>>1]=0;b[n+28>>1]=0;pk(n,a+4|0);g[h>>2]=2147483648.0;g[j>>2]=-2147483648.0;rk(n);if(!(sk(n)|0))do{m=tk(n)|0;a=e[m+12>>1]|e[m+14>>1]<<16;c[n+32>>2]=a;a:do if((b[m+16>>1]|0)>0){k=0;l=1;while(1){o=+((a&65535)<<16>>16);if(!(!(o>=d)|!(o<=f)))lba(a>>>16&65535,h,j);yV(n+28|0,c[m+20>>2]|0,k);k=c[n+28>>2]|0;eB(n+32|0,k&65535,k>>>16&65535);if(l<<16>>16>=(b[m+16>>1]|0))break a;a=c[n+32>>2]|0;k=l<<16>>16;l=l+1<<16>>16}}while(0);OL(n)|0}while(!(sk(n)|0));i=n;return}function Jaa(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=0;do{j=d+(k<<2)|0;c[j>>2]=32767;f=c[a+(k<<2)+92>>2]|0;if(f){i=e[f+8>>1]|e[f+10>>1]<<16;f=e[f+12>>1]|e[f+14>>1]<<16;g=UGa(i|0,f|0,16)|0;h=UGa(i|0,f|0,48)|0;if(!(k&-3)){g=b[a+8>>1]|0;h=b[a+12>>1]|0;f=((g<<16>>16<(i&65535)<<16>>16?i&65535:g)<<16>>16)-((h<<16>>16>(f&65535)<<16>>16?f&65535:h)<<16>>16)|0}else{i=b[a+10>>1]|0;f=b[a+14>>1]|0;f=((i<<16>>16<(g&65535)<<16>>16?g&65535:i)<<16>>16)-((f<<16>>16>(h&65535)<<16>>16?h&65535:f)<<16>>16)|0}c[j>>2]=f}k=k+1|0}while((k|0)!=4);return}function Kaa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;k=i;i=i+16|0;j=kl(a+8|0)|0;l=ll(a+8|0)|0;j=(j<<16>>16>16?l:j)<<16>>16;Jaa(a,k);a=c[k>>2]|0;l=c[k+8>>2]|0;c[b>>2]=(a|0)>(l|0)?l:a;a=(a|0)<(l|0)?l:a;c[d>>2]=a;if((a|0)>(j|0)?(g=c[b>>2]|0,(g|0)<(j|0)):0)c[d>>2]=g;l=c[k+12>>2]|0;a=c[k+4>>2]|0;c[e>>2]=(l|0)>(a|0)?a:l;l=(l|0)<(a|0)?a:l;c[f>>2]=l;if((l|0)>(j|0)?(h=c[e>>2]|0,(h|0)<(j|0)):0)c[f>>2]=h;i=k;return}function Laa(b){b=b|0;var d=0,e=0,f=0;e=0;do{d=b+(e<<2)+92|0;f=c[d>>2]|0;if(((f|0)!=0?(c[f+84>>2]|0)==0:0)?(c[f+40>>2]|0)==0:0){c[d>>2]=0;a[b+e+108>>0]=0}e=e+1|0}while((e|0)!=4);return}function Maa(a){a=a|0;return (d[a+111>>0]|0)+((d[a+110>>0]|0)+((d[a+109>>0]|0)+(d[a+108>>0]|0)))|0}function Naa(a){a=a|0;var b=0,d=0;b=c[a+92>>2]|0;if(!b)b=0;else b=(c[b+40>>2]|0)==0&1;d=c[a+96>>2]|0;if(d)b=((c[d+40>>2]|0)==0&1)+b|0;d=c[a+100>>2]|0;if(d)b=((c[d+40>>2]|0)==0&1)+b|0;d=c[a+104>>2]|0;if(d)b=((c[d+40>>2]|0)==0&1)+b|0;return b|0}function Oaa(b){b=b|0;var d=0,e=0.0,f=0,h=0;d=c[b+4>>2]|0;do if(d){f=ll(b+8|0)|0;h=kl(b+8|0)|0;if(+(h<<16>>16)>+(f<<16>>16)*2.0){d=hla(d)|0;e=+g[b+76>>2];if(e>0.0|(d|0)<1)d=~~(+(d|0)-e*2.0);else d=d-(((gla(c[b+4>>2]|0)|0)<<2|0)/(d|0)|0)|0;if(+(d-((kl(b+8|0)|0)<<16>>16<<1)|0)>+((h<<16>>16)+(f<<16>>16)<<1|0)*1.5){a[b+113>>0]=0;a[b+112>>0]=1;d=1;break}}e=+((ll(b+8|0)|0)<<16>>16);if(e>+((kl(b+8|0)|0)<<16>>16)*2.0){d=hla(c[b+4>>2]|0)|0;e=+g[b+72>>2];if(e>0.0|(d|0)<1)d=~~(+(d|0)-e*2.0);else d=d-(((gla(c[b+4>>2]|0)|0)<<2|0)/(d|0)|0)|0;if(+(d-((ll(b+8|0)|0)<<16>>16<<1)|0)>+((h<<16>>16)+(f<<16>>16)<<1|0)*1.5){a[b+113>>0]=1;a[b+112>>0]=0;d=1}else d=0}else d=0}else d=0;while(0);return d|0}function Paa(a,c){a=a|0;c=c|0;var d=0,e=0,f=0;e=b[a+8>>1]|0;d=b[c+8>>1]|0;if(e<<16>>16>16?e<<16>>16<(b[c+48>>1]|0):0)d=0;else f=3;do if((f|0)==3){if(d<<16>>16>16?d<<16>>16<(b[a+48>>1]|0):0){d=0;break}d=b[a+12>>1]|0;e=b[c+12>>1]|0;if(d<<16>>16>e<<16>>16?d<<16>>16>(b[c+50>>1]|0):0){d=0;break}if(e<<16>>16>d<<16>>16?e<<16>>16>(b[a+50>>1]|0):0){d=0;break}d=1}while(0);return d|0}function Qaa(a,b,c,d,e,f){a=+a;b=+b;c=+c;d=d|0;e=+e;f=+f;var h=0.0,i=0,j=0,k=0.0,l=0,m=0;k=+g[d+80>>2];if(a==0.0)l=1;else l=+g[d+72>>2]==0.0;if(b==0.0)m=1;else m=+g[d+76>>2]==0.0;if(!l?(h=a-+g[d+72>>2],h<=a*e+f):0)j=a*e+f>=-h;else j=0;if(!m){h=b-+g[d+76>>2];if(!(h<=b*e+f)){d=0;i=13}else{d=b*e+f>=-h;i=11}}else{d=0;i=11}if((i|0)==11)if(l&m?(c-k<=c*e+f?c*e+f>=-(c-k):0):0)d=1;else i=13;if((i|0)==13)if(d&l|j)return d|m|0;else d=0;return d|0}function Raa(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var h=0.0,j=0.0,k=0,l=0;l=i;i=i+16|0;h=+(b[d+14>>1]|0);g[l+4>>2]=h;j=+(b[d+10>>1]|0);g[l>>2]=j;k=c[d+4>>2]|0;if(k){Saa(k,+(e|0),+(f|0),1.0,0.0,l,l+4|0);h=+g[l+4>>2];j=+g[l>>2]}if(h>1]|0);g[l+4>>2]=h;j=+(b[d+10>>1]|0);g[l>>2]=j}mba(a,+(e|0),j);mba(l+8|0,+(f|0),h);bja(a,l+8|0);i=l;return}function Saa(a,d,f,h,j,k,l){a=a|0;d=+d;f=+f;h=+h;j=+j;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;p=i;i=i+48|0;b[p+34>>1]=0;b[p+32>>1]=0;b[p+30>>1]=0;b[p+28>>1]=0;pk(p,a+4|0);g[k>>2]=2147483648.0;g[l>>2]=-2147483648.0;rk(p);if(!(sk(p)|0))do{o=tk(p)|0;c[p+32>>2]=e[o+12>>1]|e[o+14>>1]<<16;yD(p+32|0,h,j);if((b[o+16>>1]|0)>0){n=0;a=0;while(1){m=c[p+32>>2]|0;if(!(!(+((m&65535)<<16>>16)>=d)|!(+((m&65535)<<16>>16)<=f)))lba(m>>>16&65535,k,l);yV(p+28|0,c[o+20>>2]|0,n);yD(p+28|0,h,j);n=c[p+28>>2]|0;eB(p+32|0,n&65535,n>>>16&65535);a=a+1<<16>>16;if(a<<16>>16<(b[o+16>>1]|0))n=a<<16>>16;else break}}OL(p)|0}while(!(sk(p)|0));i=p;return}function Taa(a){a=a|0;var d=0;b[a+60>>1]=b[a+10>>1]|0;d=c[a+4>>2]|0;if(d)b[a+60>>1]=mla(d)|0;return}function Uaa(a){a=a|0;var b=0;b=i;i=i+32|0;pk(b,a);rk(b);if(!(sk(b)|0))do{Laa(tk(b)|0);OL(b)|0}while(!(sk(b)|0));i=b;return}function Vaa(a){a=a|0;var b=0;b=i;i=i+32|0;pk(b,a);rk(b);if(!(sk(b)|0))do{a=tk(b)|0;if((c[a+84>>2]|0)==0?(c[a+40>>2]|0)==0:0){a=c[a+4>>2]|0;if(a){KL(a+4|0,230);YEa(a)}a=pv(b)|0;if(a){QX(a);YEa(a)}}OL(b)|0}while(!(sk(b)|0));i=b;return}function Waa(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+48|0;if((a|0)!=0&(d|0)!=0){g=up(d)|0;h=up(a)|0;g=ok(+(g|0)/+(h|0))|0;h=h+-1|0}else{g=1;h=-1}pk(j+4|0,e);rk(j+4|0);if(!(sk(j+4|0)|0))do{e=(tk(j+4|0)|0)+4|0;f=c[e>>2]|0;if(f){c[j>>2]=128;if((a|0)!=0&(d|0)!=0){fla(j+32|0,f);Qp(a,((((b[j+36>>1]|0)+(b[j+32>>1]|0)|0)/2|0)<<16>>16|0)/(g|0)|0,h-(((((b[j+34>>1]|0)+(b[j+38>>1]|0)|0)/2|0)<<16>>16|0)/(g|0)|0)|0,j);f=c[e>>2]|0;e=c[j>>2]|0}else e=128;lla(f,e,d)}OL(j+4|0)|0}while(!(sk(j+4|0)|0));i=j;return}function Xaa(a,d,f,h,j){a=a|0;d=+d;f=+f;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0.0;n=i;i=i+48|0;b[n+34>>1]=0;b[n+32>>1]=0;b[n+30>>1]=0;b[n+28>>1]=0;pk(n,a+4|0);g[h>>2]=2147483648.0;g[j>>2]=-2147483648.0;rk(n);if(!(sk(n)|0))do{m=tk(n)|0;a=e[m+12>>1]|e[m+14>>1]<<16;c[n+32>>2]=a;a:do if((b[m+16>>1]|0)>0){a=a>>>16&65535;k=0;l=1;while(1){o=+(a<<16>>16);if(!(!(o>=d)|!(o<=f)))lba(b[n+32>>1]|0,h,j);yV(n+28|0,c[m+20>>2]|0,k);k=c[n+28>>2]|0;eB(n+32|0,k&65535,k>>>16&65535);if(l<<16>>16>=(b[m+16>>1]|0))break a;a=b[n+34>>1]|0;k=l<<16>>16;l=l+1<<16>>16}}while(0);OL(n)|0}while(!(sk(n)|0));i=n;return}function Yaa(a,b,d){a=a|0;b=+b;d=+d;var e=0;e=i;i=i+64|0;c[e+56>>2]=0;pk(e+28|0,a+4|0);pk(e,e+56|0);rk(e+28|0);while(1){if(sk(e+28|0)|0)break;a=WEa(32)|0;Uca(a,tk(e+28|0)|0,b,d);Ck(e,a);OL(e+28|0)|0}a=WEa(8)|0;ala(a,e+56|0);KL(e+56|0,230);i=e;return a|0}function Zaa(a,d){a=a|0;d=d|0;var f=0,g=0;f=(tk(d)|0)+8|0;g=e[f>>1]|e[f+2>>1]<<16;f=e[f+4>>1]|e[f+6>>1]<<16;b[a>>1]=g;b[a+2>>1]=g>>>16;b[a+4>>1]=f;b[a+6>>1]=f>>>16;while(1){OL(d)|0;f=tk(d)|0;if((c[f+4>>2]|0)==0?(bja(a,f+8|0),(c[f+4>>2]|0)==0):0)continue;if(!(c[f+24>>2]&1073741824))break}return}function _aa(a,d){a=a|0;d=d|0;var f=0,g=0;f=(tk(d)|0)+8|0;g=e[f>>1]|e[f+2>>1]<<16;f=e[f+4>>1]|e[f+6>>1]<<16;b[a>>1]=g;b[a+2>>1]=g>>>16;b[a+4>>1]=f;b[a+6>>1]=f>>>16;do OL(d)|0;while((c[(tk(d)|0)+24>>2]&1073741824|0)!=0);return}function $aa(d,e,f,h,j){d=d|0;e=e|0;f=+f;h=+h;j=+j;var k=0,l=0,m=0;l=i;i=i+32|0;c[d+4>>2]=0;c[d>>2]=0;c[d+84>>2]=0;c[d+88>>2]=0;c[d+92>>2]=0;c[d+96>>2]=0;c[d+100>>2]=0;Cka(d+104|0);a[d+9>>0]=0;a[d+10>>0]=0;k=d+12|0;m=k+72|0;do{b[k>>1]=0;k=k+2|0}while((k|0)<(m|0));k=d+120|0;m=k+44|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(m|0));c[d+164>>2]=-1;g[d+124>>2]=h;g[d+128>>2]=f;g[d+132>>2]=h;pk(l,d+120|0);qv(l,e);if(!(f-h-j>0.0)){if((f-h)*3.0>2]=+g[d+128>>2]+(j/3.0+h-f)*.5;g[d+124>>2]=+g[d+124>>2]-(j/3.0+h-f)*.5}}else{g[d+128>>2]=+g[d+128>>2]-(f-h-j)*.5;g[d+124>>2]=(f-h-j)*.5+ +g[d+124>>2]}i=l;return}function aba(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=+d;e=+e;var f=0.0,h=0.0,j=0.0,k=0;k=i;i=i+32|0;pk(k,a+120|0);qv(k,b);h=+g[a+124>>2];j=+g[a+128>>2];if(h+e-j>0.0){if(jd)f=f+(h-d);if(f>0.0){f=f+f;f=fd)g[a+124>>2]=h-(h+e-j)*(h-d)/f;if(j>2]=j+(h+e-j)*(c-j)/f}}i=k;return}function bba(a,c){a=a|0;c=c|0;var d=0;d=i;i=i+32|0;pk(d,a+120|0);do if(!(vk(d)|0)){rk(d);a:do if(!(sk(d)|0))do{a=b[(tk(d)|0)+8>>1]|0;if(a<<16>>16>(b[c+8>>1]|0))break a;OL(d)|0}while(!(sk(d)|0));while(0);if(sk(d)|0){qv(d,c);break}else{Qv(d,c);break}}else BB(d,c);while(0);i=d;return}function cba(a){a=a|0;var d=0,f=0,g=0,h=0;h=i;i=i+48|0;b[h>>1]=32767;b[h+2>>1]=32767;b[h+4>>1]=-32767;b[h+6>>1]=-32767;pk(h+8|0,a+120|0);if(!(vk(h+8|0)|0)){f=(tk(h+8|0)|0)+8|0;d=e[f>>1]|e[f+2>>1]<<16;f=e[f+4>>1]|e[f+6>>1]<<16;c[h>>2]=d;c[h+4>>2]=f;rk(h+8|0);if(sk(h+8|0)|0){g=d&65535;d=f&65535}else{do{bja(h,(tk(h+8|0)|0)+8|0);OL(h+8|0)|0}while(!(sk(h+8|0)|0));g=b[h>>1]|0;d=b[h+4>>1]|0}Dka(a+104|0,(g<<16>>16)+-10|0,(d<<16>>16)+10|0)|0;b[a+12>>1]=(g&65535)+65526;b[a+14>>1]=(d&65535)+10;rk(h+8|0);if(!(sk(h+8|0)|0))do{d=c[(tk(h+8|0)|0)+4>>2]|0;if(d)dba(d,a+104|0);OL(h+8|0)|0}while(!(sk(h+8|0)|0))}i=h;return}function dba(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+32|0;pk(c,a+4|0);rk(c);if(!(sk(c)|0))do{eba(tk(c)|0,b);OL(c)|0}while(!(sk(c)|0));i=c;return}function eba(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,j=0,k=0;j=i;i=i+48|0;pk(j+4|0,a+28|0);c[j+32>>2]=e[a+12>>1]|e[a+14>>1]<<16;f=b[a+16>>1]|0;if(f<<16>>16>0){h=0;do{yV(j,c[a+20>>2]|0,h);g=c[j>>2]|0;if((g&65535)<<16>>16<=0){if((g&65535)<<16>>16<0){k=c[j+32>>2]|0;Fka(d,(k<<16>>16)+-1|0,k>>16)}}else{k=c[j+32>>2]|0;Fka(d,k<<16>>16,0-(k>>16)|0)}eB(j+32|0,g&65535,g>>>16&65535);h=h+1|0}while((h&65535)<<16>>16!=f<<16>>16)}rk(j+4|0);if(!(sk(j+4|0)|0))do{eba(tk(j+4|0)|0,d);OL(j+4|0)|0}while(!(sk(j+4|0)|0));i=j;return}function fba(a,b){a=a|0;b=b|0;var d=0,e=0;d=a+0|0;e=d+96|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));c[a+24>>2]=b;return}function gba(a){a=a|0;nba(a+4|0);nba(a+8|0);nba(a+12|0);nba(a+16|0);nba(a+20|0);TL(a+92|0,245);KL(a+20|0,234);KL(a+16|0,234);KL(a+12|0,234);KL(a+8|0,234);KL(a+4|0,234);return}function hba(a){a=a|0;var b=0,d=0,e=0,f=0.0;b=i;i=i+48|0;f=+g[a+36>>2];e=ok(f*.25)|0;d=ok(f*4.0)|0;c[b+40>>2]=0;c[b+36>>2]=0;c[b+32>>2]=0;c[b+28>>2]=0;oba(e,d,a+4|0,b+40|0,b+36|0,b+32|0,b+28|0);oba(e,d,a+20|0,b+40|0,b+36|0,b+32|0,b+28|0);oba(e,d,a+16|0,b+40|0,b+36|0,b+32|0,b+28|0);oba(e,d,a+12|0,b+40|0,b+36|0,b+32|0,b+28|0);pk(b,a+4|0);yk(b,b+32|0);pk(b,a+20|0);yk(b,b+28|0);pk(b,a+16|0);yk(b,b+36|0);pk(b,a+12|0);yk(b,b+40|0);KL(b+28|0,234);KL(b+32|0,234);KL(b+36|0,234);KL(b+40|0,234);i=b;return}function iba(a){a=a|0;Uaa(a+4|0);Uaa(a+16|0);Uaa(a+12|0);Uaa(a+20|0);Vaa(a+4|0);Vaa(a+16|0);Vaa(a+12|0);Vaa(a+20|0);return}function jba(a,b,c){a=a|0;b=b|0;c=c|0;Waa(b,c,a+4|0);Waa(b,c,a+16|0);Waa(b,c,a+12|0);return}function kba(a){a=a|0;c[a>>2]=0;b[a+8>>1]=32767;b[a+10>>1]=32767;b[a+12>>1]=-32767;b[a+14>>1]=-32767;b[a+16>>1]=32767;b[a+18>>1]=32767;b[a+20>>1]=-32767;b[a+22>>1]=-32767;UX(a);return}function lba(a,b,c){a=a|0;b=b|0;c=c|0;if(+(a<<16>>16)<+g[b>>2])g[b>>2]=+(a<<16>>16);if(+(a<<16>>16)>+g[c>>2])g[c>>2]=+(a<<16>>16);return}function mba(a,c,d){a=a|0;c=+c;d=+d;var e=0;b[a>>1]=0;b[a+2>>1]=0>>>16;b[a+4>>1]=0;b[a+6>>1]=0>>>16;e=(~~+P(+d)&65535)<<16|~~+P(+c)&65535;b[a>>1]=e;b[a+2>>1]=e>>>16;e=(~~+aa(+d)&65535)<<16|~~+aa(+c)&65535;b[a+4>>1]=e;b[a+6>>1]=e>>>16;return}function nba(a){a=a|0;var b=0;b=i;i=i+32|0;pk(b,a);rk(b);if(!(sk(b)|0))do{a=c[(tk(b)|0)+4>>2]|0;if(a){KL(a+4|0,230);YEa(a)}OL(b)|0}while(!(sk(b)|0));i=b;return}function oba(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;j=i;i=i+144|0;pk(j+112|0,d);pk(j+84|0,e);pk(j+56|0,f);pk(j+28|0,g);pk(j,c);if(!(vk(j)|0))do{f=pv(j)|0;VX(f);c=(kl(f+8|0)|0)<<16>>16;g=(ll(f+8|0)|0)<<16>>16;if((g|0)<(a|0)?(c|0)<(a|0)|(c|0)>(b|0):0)Ck(j+112|0,f);else h=5;do if((h|0)==5){h=0;if((g|0)>(b|0)){Ck(j+28|0,f);break}if((g|0)<(a|0)){Ck(j+84|0,f);break}else{Ck(j+56|0,f);break}}while(0);OL(j)|0}while(!(vk(j)|0));i=j;return}function pba(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0;j=(ba((h&65535)-(f&65535)<<16>>16,(c&65535)-(e&65535)<<16>>16)|0)-(ba((d&65535)-(f&65535)<<16>>16,(g&65535)-(e&65535)<<16>>16)|0)|0;i=(ba((b&65535)-(f&65535)<<16>>16,(g&65535)-(e&65535)<<16>>16)|0)-(ba((h&65535)-(f&65535)<<16>>16,(a&65535)-(e&65535)<<16>>16)|0)|0;g=(ba((b&65535)-(d&65535)<<16>>16,(g&65535)-(c&65535)<<16>>16)|0)-(ba((h&65535)-(d&65535)<<16>>16,(a&65535)-(c&65535)<<16>>16)|0)|0;h=(ba((b&65535)-(d&65535)<<16>>16,(c&65535)-(e&65535)<<16>>16)|0)-(ba((d&65535)-(f&65535)<<16>>16,(a&65535)-(c&65535)<<16>>16)|0)|0;if((j|0)>0&(i|0)>0|(j&i|0)<0)if((g|0)>0&(h|0)>0)h=1;else return (g&h|0)<0|0;else h=0;return h|0}function qba(d){d=d|0;var e=0,f=0,g=0,h=0,i=0;e=WEa(24)|0;c[e+20>>2]=0;b[e+0>>1]=0;b[e+2>>1]=0;b[e+4>>1]=0;b[e+6>>1]=0;b[e+8>>1]=0;b[e+10>>1]=0;a[e+12>>0]=0;c[e+16>>2]=d;if(c[d+20>>2]|0){g=c[d+24>>2]|0;h=d;do{i=h;h=c[h+12>>2]|0;f=g;g=c[h+24>>2]|0;f=g-f|0;c[i+28>>2]=f;if((f|0)<0)c[i+28>>2]=(b[(c[i+20>>2]|0)+16>>1]|0)+f}while((h|0)!=(d|0))}rba(e);return e|0}function rba(a){a=a|0;var d=0,f=0,g=0,h=0,i=0,j=0;d=c[a+16>>2]|0;f=b[d+2>>1]|0;g=b[d>>1]|0;h=d;do{i=h;h=c[h+12>>2]|0;j=g;g=b[h>>1]|0;b[i+4>>1]=(g&65535)-(j&65535);j=f;f=b[h+2>>1]|0;b[i+6>>1]=(f&65535)-(j&65535)}while((h|0)!=(d|0));j=e[d>>1]|e[d+2>>1]<<16;b[a+8>>1]=j;b[a+10>>1]=j>>>16;xba(a);return}function sba(d,f){d=d|0;f=f|0;var g=0,h=0,i=0;tba(d);g=e[f>>1]|e[f+2>>1]<<16;b[d>>1]=g;b[d+2>>1]=g>>>16;g=e[f+4>>1]|e[f+6>>1]<<16;b[d+4>>1]=g;b[d+6>>1]=g>>>16;g=e[f+8>>1]|e[f+10>>1]<<16;b[d+8>>1]=g;b[d+10>>1]=g>>>16;a[d+12>>0]=a[f+12>>0]|0;g=c[f+16>>2]|0;if(g){i=0;do{h=i;i=WEa(32)|0;aca(i,g);if(!h)c[d+16>>2]=i;else{c[i+16>>2]=h;c[h+12>>2]=i}g=c[g+12>>2]|0}while((g|0)!=(c[f+16>>2]|0));d=c[d+16>>2]|0;c[d+16>>2]=i;c[i+12>>2]=d}return}function tba(a){a=a|0;var b=0,d=0,e=0;b=c[a+16>>2]|0;if(b){d=b;e=b;while(1){b=e;e=c[e+12>>2]|0;if(!b)b=d;else{YEa(b);b=c[a+16>>2]|0}if((e|0)==(b|0))break;else d=b}c[a+16>>2]=0}return}function uba(a,d,e){a=a|0;d=+d;e=+e;var f=0,g=0,h=0,i=0,j=0.0,k=0.0;f=c[a+16>>2]|0;g=f;do{j=+(b[g>>1]|0);i=g+2|0;k=+(b[i>>1]|0);h=~~+P(+(j*d-k*e+.5));b[i>>1]=~~+P(+(k*d+j*e+.5));b[g>>1]=h;g=c[g+12>>2]|0}while((g|0)!=(f|0));rba(a);return}function vba(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,i=0;g=c[a+16>>2]|0;h=g;do{b[h>>1]=(e[h>>1]|0)+(d&65535);i=h+2|0;b[i>>1]=(e[i>>1]|0)+(f&65535);h=c[h+12>>2]|0}while((h|0)!=(g|0));rba(a);return}function wba(a,d){a=a|0;d=+d;var e=0,f=0,g=0;e=c[a+16>>2]|0;f=e;do{b[f>>1]=~~+P(+(+(b[f>>1]|0)*d+.5));g=f+2|0;b[g>>1]=~~+P(+(+(b[g>>1]|0)*d+.5));f=c[f+12>>2]|0}while((f|0)!=(e|0));rba(a);return}function xba(d){d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=c[d+16>>2]|0;f=e[j>>1]|e[j+2>>1]<<16;b[d+8>>1]=f;b[d+10>>1]=f>>>16;f=-2147483647;g=-2147483647;h=2147483647;i=2147483647;k=j;do{if(!((a[k+8>>0]|0)!=0?(a[(c[k+16>>2]|0)+8>>0]|0)!=0:0)){m=b[k>>1]|0;l=b[k+2>>1]|0;f=(m|0)>(f|0)?m:f;g=(l|0)>(g|0)?l:g;h=(m|0)<(h|0)?m:h;i=(l|0)<(i|0)?l:i}k=c[k+12>>2]|0}while((k|0)!=(j|0));b[d>>1]=h;b[d+2>>1]=g;b[d+4>>1]=f;b[d+6>>1]=i;return}function yba(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0;l=i;i=i+16|0;c[g>>2]=2147483647;c[h>>2]=-2147483648;k=c[d+16>>2]|0;j=k;do{if(!((a[k+8>>0]|0)!=0?(a[(c[k+16>>2]|0)+8>>0]|0)!=0:0)){j=ba(f<<16>>16,b[k>>1]|0)|0;c[l>>2]=j-(ba(e<<16>>16,b[k+2>>1]|0)|0);NF(l,g,h);j=c[d+16>>2]|0}k=c[k+12>>2]|0}while((k|0)!=(j|0));i=l;return}function zba(a,c){a=a|0;c=c|0;$ia(a,b[c>>1]|0,b[c+6>>1]|0,b[c+4>>1]|0,b[c+2>>1]|0);return}function Aba(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=b;f=c[b+24>>2]|0;g=b;while(1){if(!(a[g+8>>0]|0)){e=c[g+16>>2]|0;if(a[e+8>>0]|0){d=g;break}if((c[e+20>>2]|0)!=(c[g+20>>2]|0)){d=g;break}e=c[g+24>>2]|0;h=(e|0)<(f|0);d=h?g:d;e=h?e:f}else e=f;g=c[g+12>>2]|0;if((g|0)==(b|0))break;else f=e}return d|0}function Bba(a,b){a=a|0;b=b|0;var d=0;d=WEa(56)|0;c[d>>2]=0;Zea(d+4|0);bca(a,b+4|0,0,d)|0;return d|0}function Cba(a){a=a|0;var b=0;b=WEa(56)|0;c[b>>2]=0;Zea(b+4|0);_ea(b+4|0,a+4|0);return b|0}function Dba(d){d=d|0;var e=0,f=0,h=0,j=0,l=0,m=0,n=0;j=i;i=i+16|0;h=c[d+12>>2]|0;if((h|0)!=0?+g[h+80>>2]!=0.0:0){Eba(j+8|0,c[d>>2]|0);f=b[j+8>>1]|0;h=b[j+12>>1]|0;m=((b[j+10>>1]|0)+(b[j+14>>1]|0)|0)/2|0;e=WEa(56)|0;Xz(e,d);n=(c[d+12>>2]|0)+76|0;l=c[n+4>>2]|0;c[j>>2]=c[n>>2];c[j+4>>2]=l;Fba(e,0,j,d+4|0,+((h+f|0)/2|0|0),+(m|0),1.0,1.0,+(((c[k>>2]=l,+g[k>>2])>0.0?((h+f|0)/2|0)-f|0:h-((h+f|0)/2|0)|0)+64|0),(a[d+8>>0]|0)!=0,c[d+4>>2]|0)}else e=0;i=j;return e|0}function Eba(a,d){a=a|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;if(!d)$ia(a,0,0,0,0);else{zba(e,d);while(1){d=c[d+20>>2]|0;if(!d)break;zba(e+8|0,d);bja(e,e+8|0)}f=c[e>>2]|0;d=c[e+4>>2]|0;b[a>>1]=f;b[a+2>>1]=f>>>16;b[a+4>>1]=d;b[a+6>>1]=d>>>16}i=e;return}function Fba(b,d,e,f,g,h,i,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=+g;h=+h;i=+i;j=+j;k=+k;l=l|0;m=m|0;bfa(b+4|0,d,e,f,g,h,i,j,0.0,k);a[b+8>>0]=l&1;c[b+4>>2]=m;jfa(b+4|0,b);return}function Gba(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;Hba(a);d=c[b>>2]|0;if(d){f=0;do{e=f;f=WEa(24)|0;cca(f,d);if(!(c[a>>2]|0))c[a>>2]=f;else c[e+20>>2]=f;d=c[d+20>>2]|0}while((d|0)!=0)}_ea(a+4|0,b+4|0);return}function Hba(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;if(b)do{d=b;b=c[b+20>>2]|0;tba(d);YEa(d);c[a>>2]=b}while((b|0)!=0);return}function Iba(a,b,d){a=a|0;b=+b;d=+d;if(a)do{uba(a,b,d);a=c[a+20>>2]|0}while((a|0)!=0);return}function Jba(a,b){a=a|0;b=b|0;var d=0;if(a)do{d=e[b>>1]|e[b+2>>1]<<16;vba(a,d&65535,d>>>16&65535);a=c[a+20>>2]|0}while((a|0)!=0);return}function Kba(a,b){a=a|0;b=+b;if(a)do{wba(a,b);a=c[a+20>>2]|0}while((a|0)!=0);return}function Lba(a){a=a|0;if(a)do{xba(a);a=c[a+20>>2]|0}while((a|0)!=0);return}function Mba(a){a=a|0;var b=0;if(!a)a=0;else{b=a;a=0;do{a=a+1|0;b=c[b+20>>2]|0}while((b|0)!=0)}return a|0}function Nba(b){b=b|0;var d=0,e=0,f=0,g=0;a:do if(b)do{f=b+20|0;d=c[f>>2]|0;if(!d)break a;g=b+12|0;e=b;do{if(dca(b,d)|0){c[e+20>>2]=c[d+20>>2];c[d+16>>2]=0;tba(d);YEa(d);a[g>>0]=0}else e=d;d=c[e+20>>2]|0}while((d|0)!=0);b=c[f>>2]|0}while((b|0)!=0);while(0);return}function Oba(a,d){a=a|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;Eba(e+8|0,c[a>>2]|0);Eba(e,c[d>>2]|0);if((((b[e+12>>1]|0)+(b[e+8>>1]|0)|0)/2|0|0)>(((b[e+4>>1]|0)+(b[e>>1]|0)|0)/2|0|0)){f=c[d>>2]|0;c[d>>2]=c[a>>2];c[a>>2]=f}i=e;return}function Pba(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,j=0.0;e=i;i=i+64|0;Eea(e);Eba(e+56|0,c[a>>2]|0);Qba(a,e+56|0,0,e,0,0);Lea(e+48|0,+h[e>>3],+h[e+8>>3],+h[e+16>>3]);a=c[e+56>>2]|0;f=+(+g[e+48>>2]+ +((a&65535)<<16>>16));j=+(+g[e+52>>2]+ +((a>>>16&65535)<<16>>16));g[b>>2]=f;g[b+4>>2]=j;j=+R(+(+WU(e)));f=+R(+(+VU(e)));g[d>>2]=j<1.0?1.0:j;g[d+4>>2]=f<1.0?1.0:f;i=e;return ~~(+h[e>>3]+.5)|0}function Qba(d,e,f,h,j,k){d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0.0,r=0.0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;y=i;i=i+64|0;l=c[d>>2]|0;if(l)do{x=Aba(c[l+16>>2]|0)|0;if(x){o=x;do{a:do if(!(a[o+8>>0]|0)){n=o+20|0;m=o;do{m=c[m+12>>2]|0;if((m|0)==(x|0)){m=x;break}if(a[m+8>>0]|0)break}while((c[m+20>>2]|0)==(c[n>>2]|0));m=c[m+16>>2]|0;t=c[n>>2]|0;v=((kl(e)|0)<<16>>16)+-1|0;w=((ll(e)|0)<<16>>16)+-1|0;if(!t){p=c[m+12>>2]|0;while(1){n=o+12|0;s=c[n>>2]|0;u=b[e>>1]|0;t=b[e+2>>1]|0;r=+((b[s+2>>1]|0)-t|0);g[y+16>>2]=+((b[s>>1]|0)-u|0);g[y+20>>2]=r;r=+((b[o+2>>1]|0)-t|0);g[y+24>>2]=+((b[o>>1]|0)-u|0);g[y+28>>2]=r;if(f)gca(y+16|0,y+24|0,f);if(h)hca(y+16|0,y+24|0,h);if((j|0)!=0&(k|0)!=0)ica(y+16|0,y+24|0,v,w,j,k);o=c[n>>2]|0;if((o|0)==(p|0))break a}}else u=d+4|0;while(1){n=c[u+16>>2]|0;if(!n)break;else u=n}s=b[t+16>>1]|0;p=c[o+24>>2]|0;n=(c[m+28>>2]|0)+(c[m+24>>2]|0)|0;n=((n|0)>(p|0)?0:s)+n|0;eca(y+52|0,t,p);q=+(b[e>>1]|0);r=+(b[e+2>>1]|0);fca(y+32|0,t,y+52|0,p);ffa(d+4|0,u,y+32|0,y);g[y>>2]=+g[y>>2]-q;g[y+4>>2]=+g[y+4>>2]-r;if((p|0)<(n|0))do{o=(p|0)%(s|0)|0;yV(y+48|0,c[t+20>>2]|0,o);z=c[t+24>>2]|0;if(!((z|0)!=0?(a[z+(o*3|0)+1>>0]|0)==0:0)){fca(y+40|0,t,y+52|0,o);ffa(d+4|0,u,y+40|0,y+8|0);g[y+8>>2]=+g[y+8>>2]-q;g[y+12>>2]=+g[y+12>>2]-r;if(f)gca(y+8|0,y,f);if(h)hca(y+8|0,y,h);if((j|0)!=0&(k|0)!=0)ica(y+8|0,y,v,w,j,k);z=c[y+12>>2]|0;c[y>>2]=c[y+8>>2];c[y+4>>2]=z}eB(y+52|0,b[y+48>>1]|0,b[y+50>>1]|0);p=p+1|0}while((p|0)<(n|0))}else m=o;while(0);o=c[m+12>>2]|0}while((o|0)!=(x|0))}l=c[l+20>>2]|0}while((l|0)!=0);i=y;return}function Rba(a,d){a=a|0;d=d|0;var e=0;e=i;i=i+16|0;Eba(e+8|0,c[a>>2]|0);b[d>>1]=32767;b[d+2>>1]=2147450879>>>16;b[d+4>>1]=-2147385343;b[d+6>>1]=-2147385343>>>16;Qba(a,e+8|0,d,0,0,0);c[e>>2]=c[e+8>>2];jca(d,e);i=e;return}function Sba(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+64|0;Ek(f+40|0);g=ll(b)|0;kca(f+20|0,f+40|0);lca(d,g<<16>>16,f+20|0);Jk(f+20|0);g=kl(b)|0;kca(f,f+40|0);lca(e,g<<16>>16,f);Jk(f);Qba(a,b,0,0,d,e);if((c[d>>2]|0)>0){b=0;do{g=mca(d,b)|0;$z(c[g>>2]|0,c[g+8>>2]|0);b=b+1|0}while((b|0)<(c[d>>2]|0))}if((c[e>>2]|0)>0){b=0;do{g=mca(e,b)|0;$z(c[g>>2]|0,c[g+8>>2]|0);b=b+1|0}while((b|0)<(c[e>>2]|0))}Jk(f+40|0);i=f;return}function Tba(b,c){b=b|0;c=c|0;var d=0,f=0;f=i;i=i+32|0;d=WEa(24)|0;WJ(d);a[d+20>>0]=(e[c+10>>1]|0)>>>7&1;pk(f,c+20|0);rk(f);if(!(sk(f)|0))do{YJ(d,Bba(b,tk(f)|0)|0);OL(f)|0}while(!(sk(f)|0));i=f;return d|0}function Uba(d,e,f,g,h,j,k,l,m,n){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=+j;k=+k;l=l|0;m=m|0;n=n|0;var o=0,p=0.0,q=0.0,r=0.0,s=0,t=0,u=0.0,v=0.0,w=0.0,x=0;x=i;i=i+16|0;Vba(x,d);o=c[x>>2]|0;p=+((b[x+4>>1]|0)+(o<<16>>16)|0)*.5;if((m|0)==1|(f|0)==0){u=(m|0)==1?1.0:128.0/j;v=0.0;w=+((o>>>16&65535)<<16>>16);p=+((o&65535)<<16>>16)}else{u=128.0/j;v=64.0;w=+zk(f,p)+k}if((c[d>>2]|0)>0){r=u*1.5;t=0;do{s=c[(Vy(d,t)|0)>>2]|0;Eba(x+8|0,c[s>>2]|0);j=+((b[x+12>>1]|0)+(b[x+8>>1]|0)|0)*.5;if(l){o=b[x+10>>1]|0;j=512.0/+(((ll(x+8|0)|0)<<16>>16)*3|0);if(j>16);j=u}else{q=+(o<<16>>16);j=j>r?r:j}}else if((f|0)!=0&(m|0)!=1){q=+zk(f,j)+k;j=u}else{q=w;j=u}Fba(s,e,0,0,p,q,j,j,v,h,g);t=t+1|0}while((t|0)<(c[d>>2]|0))}if(n){bfa(n,e,0,0,p,w,u,u,0.0,v);a[n+4>>0]=h&1;c[n>>2]=g}i=x;return}function Vba(a,d){a=a|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;b[a>>1]=32767;b[a+2>>1]=32767;b[a+4>>1]=-32767;b[a+6>>1]=-32767;if((c[d>>2]|0)>0){e=0;do{Eba(f,c[c[(Vy(d,e)|0)>>2]>>2]|0);bja(a,f);e=e+1|0}while((e|0)<(c[d>>2]|0))}i=f;return}function Wba(b,d){b=b|0;d=d|0;var e=0,f=0;Xba(b);a[b+20>>0]=a[d+20>>0]|0;if((c[d>>2]|0)>0){e=0;do{f=WEa(56)|0;Xz(f,c[(Vy(d,e)|0)>>2]|0);YJ(b,f);e=e+1|0}while((e|0)<(c[d>>2]|0))}return}function Xba(a){a=a|0;nca(a);aK(a);return}function Yba(a){a=a|0;var b=0;if((c[a>>2]|0)>0){b=0;do{Lba(c[c[(Vy(a,b)|0)>>2]>>2]|0);b=b+1|0}while((b|0)<(c[a>>2]|0))}return}function Zba(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a:do if(((c[a>>2]|0)+-1|0)>(b|0)?(e=Vy(a,b)|0,(b+1|0)<(d|0)):0){i=b+1|0;e=c[c[e>>2]>>2]|0;while(1){if((i|0)>=(c[a>>2]|0)){e=b+1|0;break}h=c[(Vy(a,i)|0)>>2]|0;if(e){while(1){f=e+20|0;g=c[f>>2]|0;if(!g)break;else e=g}c[f>>2]=c[h>>2];c[h>>2]=0;if(h)j=9}else{e=c[h>>2]|0;c[c[(Vy(a,b)|0)>>2]>>2]=e;e=c[c[(Vy(a,b)|0)>>2]>>2]|0;j=9}if((j|0)==9){j=0;Bk(h);YEa(h)}c[(Vy(a,i)|0)>>2]=0;i=i+1|0;if((i|0)>=(d|0)){e=b+1|0;break}}do{if((b+1|0)>=(c[a>>2]|0))break a;zP(a,b+1|0);e=e+1|0}while((e|0)<(d|0))}while(0);return}function _ba(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=i;i=i+16|0;if((d|0)!=0?(c[d+20>>2]|0)!=0:0){n=e?359344:359336;m=b[n>>1]|0;n=b[n+2>>1]|0;e=0;do{a:do if(!(a[d+12>>0]|0)){h=((b[d+4>>1]|0)+(b[d>>1]|0)|0)/2|0;j=b[d+2>>1]|0;k=b[d+6>>1]|0;yba(d,m,n,r+12|0,r+8|0);d=d+20|0;g=c[d>>2]|0;if(g){l=(ba((((k<<16>>16)+(j<<16>>16)|0)/2|0)<<16>>16,m<<16>>16)|0)-(ba(h<<16>>16,n<<16>>16)|0)|0;h=(((k<<16>>16)+(j<<16>>16)|0)/2|0)<<16|h&65535;k=c[r+8>>2]|0;j=c[r+12>>2]|0;while(1){while(1){if((a[g+12>>0]|0)==0?(o=((b[g+4>>1]|0)+(b[g>>1]|0)|0)/2|0,p=((b[g+6>>1]|0)+(b[g+2>>1]|0)|0)/2|0,t=(ba(o<<16>>16,n<<16>>16)|0)-(ba(p<<16>>16,m<<16>>16)|0)|0,yba(g,m,n,r+4|0,r),s=c[r>>2]|0,q=c[r+4>>2]|0,q=((t+l|0)>-1?t+l|0:0-(t+l)|0)-((((k|0)<=(s|0)?k:s)-((j|0)>=(q|0)?j:q)|0)/4|0)|0,(q|0)>(e|0)):0)break;g=c[g+20>>2]|0;if(!g)break a}b[f>>1]=h;b[f+2>>1]=h>>>16;bQ(f,o&65535,p&65535);oca(f);g=c[g+20>>2]|0;if(!g){e=q;break}else e=q}}}else d=d+20|0;while(0);d=c[d>>2]|0}while((d|0)!=0);e=(e|0)>(n<<16>>16|0)}else e=0;i=r;return e|0}function $ba(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;j=e?359344:359336;i=b[j>>1]|0;j=b[j+2>>1]|0;e=c[a>>2]|0;c[a>>2]=0;h=(ba(f<<16>>16,j<<16>>16)|0)-(ba(g<<16>>16,i<<16>>16)|0)|0;if(e){g=0;f=0;do{do if(((ba((((b[e+4>>1]|0)+(b[e>>1]|0)|0)/2|0)<<16>>16,j<<16>>16)|0)-(ba((((b[e+6>>1]|0)+(b[e+2>>1]|0)|0)/2|0)<<16>>16,i<<16>>16)|0)|0)<(h|0))if(!g){c[a>>2]=e;g=e;break}else{c[g+20>>2]=e;g=e;break}else if(!f){c[d>>2]=e;f=e;break}else{c[f+20>>2]=e;f=e;break}while(0);e=c[e+20>>2]|0}while((e|0)!=0);if(g)c[g+20>>2]=0;if(f)c[f+20>>2]=0}return}function aca(a,d){a=a|0;d=d|0;c[a+12>>2]=0;c[a+16>>2]=0;b[a>>1]=0;b[a+2>>1]=0>>>16;b[a+4>>1]=0;b[a+6>>1]=0>>>16;pca(a,d);return}function bca(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+32|0;pk(h,e);rk(h);if(!(sk(h)|0))do{e=tk(h)|0;if((b[e+16>>1]|0)>0){j=Lha(d,e)|0;a[j+12>>0]=f&1;c[g>>2]=j;g=j+20|0}if(c[e+28>>2]|0)g=bca(d,e+28|0,1,g)|0;OL(h)|0}while(!(sk(h)|0));i=h;return g|0}function cca(a,d){a=a|0;d=d|0;c[a+16>>2]=0;c[a+20>>2]=0;b[a+0>>1]=0;b[a+2>>1]=0;b[a+4>>1]=0;b[a+6>>1]=0;b[a+8>>1]=0;b[a+10>>1]=0;sba(a,d);return}function dca(a,b){a=a|0;b=b|0;if(MP(a,b)|0)b=MP(a+4|0,b+4|0)|0;else b=0;return b|0}function eca(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0;h=i;i=i+16|0;g=e[d+12>>1]|e[d+14>>1]<<16;b[a>>1]=g;b[a+2>>1]=g>>>16;if((f|0)>0){g=0;do{yV(h,c[d+20>>2]|0,g);eB(a,b[h>>1]|0,b[h+2>>1]|0);g=g+1|0}while((g|0)!=(f|0))}i=h;return}function fca(d,e,f,h){d=d|0;e=e|0;f=f|0;h=h|0;var j=0.0,k=0.0,l=0,m=0,n=0.0,o=0;o=i;i=i+16|0;yV(o,c[e+20>>2]|0,h);m=b[o>>1]|0;n=+(b[f>>1]|0)+ +(m<<16>>16)*.5;k=+(b[f+2>>1]|0)+ +(b[o+2>>1]|0)*.5;g[d>>2]=n;g[d+4>>2]=k;f=c[e+24>>2]|0;do if((f|0)!=0?(l=a[f+(h*3|0)+1>>0]|0,l<<24>>24!=0):0){j=+(a[f+(h*3|0)>>0]|0)/+(l&255|0);if(!(m<<16>>16)){g[d>>2]=j+n;break}else{g[d+4>>2]=k+j;break}}while(0);i=o;return}function gca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0.0,h=0.0,j=0.0,k=0.0,l=0,m=0,n=0,o=0.0,p=0.0;l=i;i=i+16|0;j=+g[b>>2];k=+g[a>>2];f=+g[a+4>>2];h=+g[b+4>>2]-f;e=ok(!(k<=j)?j:k)|0;d=ok(!(k>=j)?j:k)|0;if((d|0)>(e|0)){n=ok(f+h*(+(e|0)+.5-k)/(j-k))|0;m=ok(f+h*(+(d|0)+-.5-k)/(j-k))|0;$ia(l+8|0,e&65535,((n|0)<=(m|0)?n:m)&65535,d&65535,((n|0)>=(m|0)?n:m)&65535);bja(c,l+8|0);f=+g[a+4>>2]}o=+g[b+4>>2];d=ok(!(f<=o)?o:f)|0;e=ok(!(f>=o)?o:f)|0;if((e|0)>(d|0)){p=+g[a>>2];o=f;a=ok(p+(j-k)*(+(d|0)+.5-o)/h)|0;m=ok(p+(j-k)*(+(e|0)+-.5-o)/h)|0;$ia(l,((a|0)<=(m|0)?a:m)&65535,d&65535,((a|0)>=(m|0)?a:m)&65535,e&65535);bja(c,l)}i=l;return}function hca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0.0,h=0,i=0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0;l=+g[b>>2];m=+g[a>>2];d=+g[a+4>>2];k=+g[b+4>>2]-d;e=ok(!(m<=l)?l:m)|0;h=ok(!(m>=l)?l:m)|0;f=+g[b+4>>2];b=ok(!(d<=f)?f:d)|0;i=ok(!(d>=f)?f:d)|0;if(!((h|0)==(e|0)&(b|0)==(i|0))){j=+R(+((l-m)*(l-m)+k*k))/+(h-e-b+i|0);a:do if((h|0)>(e|0)){f=m;while(1){n=+(e|0)+.5;Gea(c,n,d+k*(n-f)/(l-m),j);e=e+1|0;if((e|0)==(h|0))break a;d=+g[a+4>>2];f=+g[a>>2]}}while(0);if((b|0)<(i|0))do{f=+(b|0)+.5;Gea(c,+g[a>>2]+(l-m)*(f-+g[a+4>>2])/k,f,j);b=b+1|0}while((b|0)!=(i|0))}return}function ica(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var h=0,i=0.0,j=0.0,k=0,l=0.0,m=0.0,n=0.0;m=+g[b>>2];n=+g[a>>2];i=+g[a+4>>2];l=+g[b+4>>2]-i;h=ok(!(n<=m)?m:n)|0;if((h|0)<0)k=0;else k=(h|0)>(c|0)?c:h;h=ok(!(n>=m)?m:n)|0;if((h|0)<0)c=0;else c=(h|0)>(c|0)?c:h;a:do if((k|0)<(c|0)){j=n;h=k;while(1){k=ok(i+l*(+(h|0)+.5-j)/(m-n))|0;zv(mca(f,h)|0,k);h=h+1|0;i=+g[a+4>>2];if((h|0)==(c|0)){j=i;break a}j=+g[a>>2]}}else j=i;while(0);i=+g[b+4>>2];c=ok(!(j<=i)?i:j)|0;if((c|0)<0)c=0;else c=(c|0)>(d|0)?d:c;h=ok(!(j>=i)?i:j)|0;if((h|0)<0)h=0;else h=(h|0)>(d|0)?d:h;b:do if((c|0)<(h|0)){i=j;while(1){d=ok(+g[a>>2]+(m-n)*(+(c|0)+.5-i)/l)|0;zv(mca(e,c)|0,d);c=c+1|0;if((c|0)==(h|0))break b;i=+g[a+4>>2]}}while(0);return}function jca(a,c){a=a|0;c=c|0;eB(a,b[c>>1]|0,b[c+2>>1]|0);eB(a+4|0,b[c>>1]|0,b[c+2>>1]|0);return}function kca(a,b){a=a|0;b=b|0;var d=0;d=c[b>>2]|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;il(a,d);Yv(a,b);return}function lca(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;qca(a,b);c[a>>2]=b;if((b|0)>0){e=0;do{Hv((c[a+8>>2]|0)+(e*20|0)|0,d);e=e+1|0}while((e|0)!=(b|0))}return}function mca(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b*20|0)|0;Ja(1701640,1701680,663,1701712);return 0}function nca(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){Bk(d);YEa(d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0))}return}function oca(a){a=a|0;b[a>>1]=(b[a>>1]|0)/2|0;b[a+2>>1]=(b[a+2>>1]|0)/2|0;return}function pca(f,g){f=f|0;g=g|0;var h=0;h=e[g>>1]|e[g+2>>1]<<16;b[f>>1]=h;b[f+2>>1]=h>>>16;h=e[g+4>>1]|e[g+6>>1]<<16;b[f+4>>1]=h;b[f+6>>1]=h>>>16;h=d[g+8>>0]|d[g+9>>0]<<8|d[g+10>>0]<<16|d[g+11>>0]<<24;a[f+8>>0]=h;a[f+9>>0]=h>>8;a[f+10>>0]=h>>16;a[f+11>>0]=h>>24;c[f+20>>2]=c[g+20>>2];c[f+24>>2]=c[g+24>>2];c[f+28>>2]=c[g+28>>2];return}function qca(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){f=XEa(b>>>0>214748364|(b*20|0)>>>0>4294967291?-1:(b*20|0)+4|0)|0;c[f>>2]=b;if(b){d=f+4|0;do{Ek(d);d=d+20|0}while((d|0)!=(f+4+(b*20|0)|0))}if((c[a>>2]|0)>0){d=0;do{Hv(f+4+(d*20|0)|0,(c[a+8>>2]|0)+(d*20|0)|0);d=d+1|0}while((d|0)<(c[a>>2]|0))}e=c[a+8>>2]|0;if(e){d=c[e+-4>>2]|0;if(d){d=e+(d*20|0)|0;do{d=d+-20|0;Jk(d)}while((d|0)!=(e|0))}ZEa(e+-4|0)}c[a+8>>2]=f+4;c[a+4>>2]=b}return}function rca(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;i=i+64|0;pk(e+16|0,d);dN(a,359352);d=fc(VM(c[a>>2]|0)|0,377400)|0;if(!d)d=0;else{c[e>>2]=e+56;c[e+4>>2]=e+52;c[e+8>>2]=e+48;c[e+12>>2]=e+44;if((tM(d,359360,e)|0)>3)do{f=WEa(96)|0;j=VM(c[a>>2]|0)|0;h=c[e+56>>2]|0;g=b-(c[e+52>>2]|0)|0;sfa(f,j,1,0,0,h&65535,g-(c[e+44>>2]|0)&65535,(c[e+48>>2]|0)+h&65535,g&65535);qv(e+16|0,f);c[e>>2]=e+56;c[e+4>>2]=e+52;c[e+8>>2]=e+48;c[e+12>>2]=e+44}while((tM(d,359360,e)|0)>3);Yb(d|0)|0;d=1}i=e;return d|0}function sca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+32|0;pk(d,c);c=WEa(96)|0;sfa(c,1714496,1,0,0,0,0,a&65535,b&65535);qv(d,c);i=d;return}function tca(a,b){a=a|0;b=b|0;var d=0;OM(a,b);d=c[a>>2]|0;b=KEa(VM(d)|0,46)|0;if(b)TM(a,b-(VM(d)|0)|0);dN(a,359376);return}function uca(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=i;i=i+32|0;DM(g+4|0);tca(g,b);h=c[g>>2]|0;b=EM(h,g+4|0)|0;RM(h);if(b)f=vca(a,GM(g+4|0,0)|0,d,e,f)|0;else f=0;CM(g+4|0);i=g;return f|0}function vca(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;k=i;i=i+80|0;PM(k+60|0,d);ek(k+16|0);YM(k+60|0,10,k+16|0);h=c[k+16>>2]|0;if(!h)d=0;else{if((h|0)>0){j=0;d=0;do{c[k+40>>2]=0;NM(k+48|0);b[k+8>>1]=32767;b[k+10>>1]=32767;b[k+12>>1]=-32767;b[k+14>>1]=-32767;do if(wca(VM(c[(fk(k+16|0,j)|0)>>2]|0)|0,k+40|0,k+48|0,k+8|0)|0){PM(k+64|0,1701816);if((ZM(k+48|0,k+64|0)|0)<<24>>24){RM(c[k+64>>2]|0);break}PM(k+36|0,375816);l=(ZM(k+48|0,k+36|0)|0)<<24>>24==0;RM(c[k+36>>2]|0);RM(c[k+64>>2]|0);if(l?((a|0)<0?1:(c[k+40>>2]|0)==(a|0)):0){if(e){l=c[k+12>>2]|0;c[k>>2]=c[k+8>>2];c[k+4>>2]=l;gv(e,k)}if(f){OM(k+56|0,k+48|0);Wj(f,k+56|0);RM(c[k+56>>2]|0)}if(g){NM(k+52|0);xca(VM(c[k+48>>2]|0)|0,k+8|0,a,k+52|0);OM(k+44|0,k+52|0);Wj(g,k+44|0);RM(c[k+44>>2]|0);RM(c[k+52>>2]|0)}d=d+1|0}}while(0);RM(c[k+48>>2]|0);j=j+1|0}while((j|0)<(h|0))}else d=0;d=(d|0)>0}Vj(k+16|0);RM(c[k+60>>2]|0);i=k;return d|0}function wca(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0;n=i;i=i+1104|0;b[g>>1]=32767;b[g+2>>1]=2147450879>>>16;b[g+4>>1]=-2147385343;b[g+6>>1]=-2147385343>>>16;fN(f,1714496);j=a[d>>0]|0;if(j<<24>>24==-17)if((a[d+1>>0]|0)==-69){m=(a[d+2>>0]|0)==-65?d+3|0:d;j=a[m>>0]|0;l=4}else{j=-17;m=d;k=0;l=5}else{m=d;l=4}if((l|0)==4)if(!(j<<24>>24))h=0;else{k=0;l=5}a:do if((l|0)==5){while(1){l=m+1|0;o=k;k=k+1|0;a[n+72+o>>0]=j;j=a[l>>0]|0;if(j<<24>>24==32|j<<24>>24==0)break;if(!(j<<24>>24!=9&(k|0)<1023))break;else{m=l;l=5}}a[n+72+k>>0]=0;l=(a[l>>0]|0)==0?l:m+2|0;c[e>>2]=0;c[n>>2]=n+20;c[n+4>>2]=n+32;c[n+8>>2]=n+28;c[n+12>>2]=n+24;c[n+16>>2]=e;if(((zEa(l,359432,n)|0)&-2|0)!=4){c[n>>2]=d;jN(359448,n);h=0;break}if((HGa(n+72|0,359544)|0)==0?(h=FEa(l,35)|0,(h|0)!=0):0){RGa(n+72|0,h+1|0,1023)|0;a[n+1095>>0]=0;gk(n+72|0);k=SGa(n+72|0)|0}b:do if((k|0)>0){l=0;while(1){h=n+72+l|0;lN(n+36|0,h,k-l|0);o=a[n+65>>0]|0;o=(o&255)<30?o<<24>>24:30;j=o+l|0;if(!o)break;if((k|0)>(j|0))l=j;else break b}o=a[h>>0]|0;c[n>>2]=h;c[n+4>>2]=o;c[n+8>>2]=l+1;jN(359496,n);h=0;break a}while(0);fN(f,n+72|0);h=c[n+20>>2]|0;j=c[n+28>>2]|0;if((h|0)>(j|0)){c[n+28>>2]=h;c[n+20>>2]=j;m=j}else{m=h;h=j}k=c[n+32>>2]|0;j=c[n+24>>2]|0;if((k|0)>(j|0)){c[n+24>>2]=k;c[n+32>>2]=j;l=j;j=k}else l=k;b[g>>1]=m;b[g+2>>1]=l;b[g+4>>1]=h;b[g+6>>1]=j;h=1}while(0);i=n;return h|0}function xca(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;fN(e,a);cN(e,1701816,b[c>>1]|0);cN(e,1701816,b[c+2>>1]|0);cN(e,1701816,b[c+4>>1]|0);cN(e,1701816,b[c+6>>1]|0);cN(e,1701816,d);return}function yca(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;l=i;i=i+1040|0;c[l+4>>2]=0;a:do if(!(Ic(l+8|0,1023,e|0)|0))k=11;else while(1){c[d>>2]=(c[d>>2]|0)+1;h=a[l+8>>0]|0;if(h<<24>>24==-17)if((a[l+9>>0]|0)==-69){j=(a[l+10>>0]|0)==-65?l+11|0:l+8|0;h=a[j>>0]|0;k=6}else{h=l+8|0;k=7}else{j=l+8|0;k=6}if((k|0)==6?(k=0,!(h<<24>>24==9|h<<24>>24==32|h<<24>>24==0|h<<24>>24==10)):0){h=j;k=7}do if((k|0)==7){k=0;if(wca(h,l+4|0,f,g)|0)if((b|0)<0?1:(c[l+4>>2]|0)==(b|0)){h=1;break a}else break;else{c[l>>2]=c[d>>2];jN(359384,l);break}}while(0);if(!(Ic(l+8|0,1023,e|0)|0)){k=11;break}}while(0);if((k|0)==11){Yb(e|0)|0;h=0}i=l;return h|0}function zca(a){a=a|0;b[a>>1]=32767;b[a+2>>1]=32767;b[a+4>>1]=-32767;b[a+6>>1]=-32767;c[a+8>>2]=0;bk(a+12|0);return}function Aca(a,c){a=a|0;c=c|0;b[a>>1]=32767;b[a+2>>1]=32767;b[a+4>>1]=-32767;b[a+6>>1]=-32767;bk(a+12|0);Bca(a,c);return}function Bca(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,j=0;g=i;i=i+16|0;h=e[d>>1]|e[d+2>>1]<<16;f=e[d+4>>1]|e[d+6>>1]<<16;b[a>>1]=h;b[a+2>>1]=h>>>16;b[a+4>>1]=f;b[a+6>>1]=f>>>16;c[a+8>>2]=c[d+8>>2];dk(a+12|0);dl(a+12|0,c[a+8>>2]|0);if((c[a+8>>2]|0)>0){f=0;do{j=Dk(d+12|0,f)|0;h=e[j+4>>1]|e[j+6>>1]<<16;c[g>>2]=e[j>>1]|e[j+2>>1]<<16;c[g+4>>2]=h;gv(a+12|0,g);f=f+1|0}while((f|0)<(c[a+8>>2]|0))}i=g;return}function Cca(a){a=a|0;dk(a+12|0);return}function Dca(a,b){a=a|0;b=b|0;Bca(a,b);return}function Eca(d){d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+48|0;l=WEa(32)|0;zca(l);m=c[d>>2]|0;c[l+8>>2]=m;dl(l+12|0,m);if((c[l+8>>2]|0)>0){m=0;do{k=c[(Vy(d,m)|0)>>2]|0;b[n+8>>1]=32767;b[n+10>>1]=32767;b[n+12>>1]=-32767;b[n+14>>1]=-32767;f=c[k>>2]|0;if(f)do{h=f+16|0;j=c[h>>2]|0;g=j;do{if(!((a[j+8>>0]|0)!=0?(a[(c[j+16>>2]|0)+8>>0]|0)!=0:0)){b[n+32>>1]=0;b[n+34>>1]=0;hfa(k+4|0,b[j>>1]|0,b[j+2>>1]|0,n+32|0);g=e[n+34>>1]<<16|e[n+32>>1];c[n+20>>2]=g;c[n+16>>2]=g;_ia(n+24|0,n+20|0,n+16|0);bja(n+8|0,n+24|0);g=c[h>>2]|0}j=c[j+12>>2]|0}while((j|0)!=(g|0));f=c[f+20>>2]|0}while((f|0)!=0);k=c[n+12>>2]|0;c[n>>2]=c[n+8>>2];c[n+4>>2]=k;gv(l+12|0,n);m=m+1|0}while((m|0)<(c[l+8>>2]|0))}Fca(l);i=n;return l|0}function Fca(a){a=a|0;var d=0;b[a>>1]=32767;b[a+2>>1]=2147450879>>>16;b[a+4>>1]=-2147385343;b[a+6>>1]=-2147385343>>>16;if((c[a+8>>2]|0)>0){d=0;do{bja(a,Dk(a+12|0,d)|0);d=d+1|0}while((d|0)<(c[a+8>>2]|0))}return}function Gca(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;m=i;i=i+96|0;if((c[a+8>>2]|0)>0){l=0;do{h=Dk(a+12|0,l)|0;j=e[h>>1]|e[h+2>>1]<<16;h=e[h+4>>1]|e[h+6>>1]<<16;k=UGa(j|0,h|0,16)|0;g=UGa(j|0,h|0,48)|0;$ia(m+32|0,j+65535&65535,k+65535&65535,h+1&65535,g+1&65535);g=c[m+32>>2]|0;h=c[m+36>>2]|0;c[m+48>>2]=g;c[m+52>>2]=h;b[m+24>>1]=32767;b[m+26>>1]=32767;b[m+28>>1]=-32767;b[m+30>>1]=-32767;pk(m+56|0,f+20|0);rk(m+56|0);while(1){if(sk(m+56|0)|0)break;fla(m+88|0,tk(m+56|0)|0);if(d){k=c[d+72>>2]|0;c[m>>2]=c[d+68>>2];c[m+4>>2]=k;wD(m+88|0,m)}if(Kk(m+88|0,m+48|0)|0)bja(m+24|0,m+88|0);OL(m+56|0)|0}j=c[m+24>>2]|0;k=c[m+28>>2]|0;if((j&65535)<<16>>16<(k&65535)<<16>>16?(k>>>16&65535)<<16>>16>(j>>>16&65535)<<16>>16:0){if(((j<<16>>16)+2-(g<<16>>16)|0)>>>0<5)b[m+48>>1]=j;n=_Ga(h|0,0,16)|0;if(((k<<16>>16)+2-(n>>16)|0)>>>0<5)b[m+52>>1]=k;if(((k>>16)+2-(h>>16)|0)>>>0<5)b[m+54>>1]=k>>>16;if(((j>>16)+2-(g>>16)|0)>>>0<5)b[m+50>>1]=j>>>16}yla(m+40|0,f);n=c[m+44>>2]|0;c[m+24>>2]=c[m+40>>2];c[m+28>>2]=n;if(d){n=c[d+72>>2]|0;c[m+8>>2]=c[d+68>>2];c[m+12>>2]=n;wD(m+24|0,m+8|0)}n=Dk(a+12|0,l)|0;cja(m+16|0,m+48|0,m+24|0);j=c[m+16>>2]|0;k=c[m+20>>2]|0;b[n>>1]=j;b[n+2>>1]=j>>>16;b[n+4>>1]=k;b[n+6>>1]=k>>>16;l=l+1|0}while((l|0)<(c[a+8>>2]|0))}Fca(a);i=m;return}function Hca(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,i=0;if((d|0)<0)h=0;else{h=c[a+8>>2]|0;h=(h|0)<(d|0)?h:d}if((f|0)<0)d=0;else{d=c[a+8>>2]|0;d=(d|0)<(f|0)?d:f}f=h+1|0;if((d|0)>(f|0)){g=f;do{i=Dk(a+12|0,h)|0;bja(i,Dk(a+12|0,g)|0);g=g+1|0}while((g|0)!=(d|0));h=d+~h|0;d=(c[a+8>>2]|0)-h|0;c[a+8>>2]=d;if((f|0)<(d|0))do{d=Dk(a+12|0,f)|0;i=Dk(a+12|0,f+h|0)|0;g=e[i>>1]|e[i+2>>1]<<16;i=e[i+4>>1]|e[i+6>>1]<<16;b[d>>1]=g;b[d+2>>1]=g>>>16;b[d+4>>1]=i;b[d+6>>1]=i>>>16;f=f+1|0;d=c[a+8>>2]|0}while((f|0)<(d|0));if((c[a+12>>2]|0)>(d|0))c[a+12>>2]=d}return}function Ica(a,b,d){a=a|0;b=b|0;d=d|0;var f=0,g=0;g=i;i=i+16|0;f=e[d>>1]|e[d+2>>1]<<16;d=e[d+4>>1]|e[d+6>>1]<<16;if((c[a+8>>2]|0)>(b|0)){c[g+8>>2]=f;c[g+12>>2]=d;Mca(a+12|0,g+8|0,b)}else{c[g>>2]=f;c[g+4>>2]=d;gv(a+12|0,g)}c[a+8>>2]=c[a+12>>2];Fca(a);i=g;return}function Jca(a,c,d){a=a|0;c=c|0;d=d|0;var f=0;c=Dk(a+12|0,c)|0;f=e[d>>1]|e[d+2>>1]<<16;d=e[d+4>>1]|e[d+6>>1]<<16;b[c>>1]=f;b[c+2>>1]=f>>>16;b[c+4>>1]=d;b[c+6>>1]=d>>>16;Fca(a);return}function Kca(a){a=a|0;c[a+8>>2]=0;dk(a+12|0);b[a>>1]=32767;b[a+2>>1]=2147450879>>>16;b[a+4>>1]=-2147385343;b[a+6>>1]=-2147385343>>>16;return}function Lca(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;a:do if((c[a+8>>2]|0)>0){e=0;do{if((e|0)>=(c[b>>2]|0))break a;Eba(f,c[c[(Vy(b,e)|0)>>2]>>2]|0);if(KW(f,Dk(a+12|0,e)|0)|0)Rc[c[(c[d>>2]|0)+8>>2]&63](d,e);e=e+1|0}while((e|0)<(c[a+8>>2]|0))}while(0);if(d)Qc[c[(c[d>>2]|0)+4>>2]&511](d);i=f;return}function Mca(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;j=i;i=i+16|0;if(!((f|0)>-1?(g=c[a>>2]|0,(g|0)>=(f|0)):0)){c[j>>2]=1701680;c[j+4>>2]=691;$L(359552,375920,2,1702e3,j);g=c[a>>2]|0}if((c[a+4>>2]|0)==(g|0)){Iv(a);h=c[a>>2]|0}else h=g;g=c[a+8>>2]|0;if((h|0)>(f|0))do{m=h;h=h+-1|0;k=g+(h<<3)|0;l=e[k>>1]|e[k+2>>1]<<16;k=e[k+4>>1]|e[k+6>>1]<<16;g=g+(m<<3)|0;b[g>>1]=l;b[g+2>>1]=l>>>16;b[g+4>>1]=k;b[g+6>>1]=k>>>16;g=c[a+8>>2]|0}while((h|0)>(f|0));k=e[d>>1]|e[d+2>>1]<<16;l=e[d+4>>1]|e[d+6>>1]<<16;m=g+(f<<3)|0;b[m>>1]=k;b[m+2>>1]=k>>>16;b[m+4>>1]=l;b[m+6>>1]=l>>>16;c[a>>2]=(c[a>>2]|0)+1;i=j;return}function Nca(a){a=a|0;zoa(a);c[a>>2]=359568;return}function Oca(a){a=a|0;Aoa(a);return}function Pca(a){a=a|0;Aoa(a);YEa(a);return}function Qca(a){a=a|0;if(a){Y$(a);YEa(a)}return}function Rca(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+64|0;pk(c+28|0,b);pk(c,a);rk(c+28|0);if(!(sk(c+28|0)|0))do{Ck(c,ly(tk(c+28|0)|0)|0);OL(c+28|0)|0}while(!(sk(c+28|0)|0));i=c;return}function Sca(d,f,g,h,j){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;k=i;i=i+16|0;c[d>>2]=0;c[k+4>>2]=e[g>>1]|e[g+2>>1]<<16;c[k>>2]=e[h>>1]|e[h+2>>1]<<16;_ia(d+4|0,k+4|0,k);h=e[f>>1]|e[f+2>>1]<<16;b[d+12>>1]=h;b[d+14>>1]=h>>>16;b[d+18>>1]=0;c[d+24>>2]=0;c[d+28>>2]=0;b[d+16>>1]=j;a:do if(j<<16>>16){h=iM(((j<<16>>16)+3|0)/4|0)|0;c[d+20>>2]=h;YGa(h|0,0,((b[d+16>>1]|0)+3|0)/4|0|0)|0;if(j<<16>>16>0){g=0;while(1){lda(h,g,a[f+6>>0]|0);g=g+1<<16>>16;if(g<<16>>16>=j<<16>>16)break a;f=c[f+12>>2]|0;h=c[d+20>>2]|0}}}else c[d+20>>2]=0;while(0);i=k;return}function Tca(f,g,h,j){f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=i;i=i+48|0;c[f>>2]=0;b[f+4>>1]=32767;b[f+6>>1]=32767;b[f+8>>1]=-32767;b[f+10>>1]=-32767;l=e[g>>1]|e[g+2>>1]<<16;b[f+12>>1]=l;b[f+14>>1]=l>>>16;b[f+18>>1]=0;c[f+24>>2]=0;c[f+28>>2]=0;b[p+8>>1]=32767;b[p+10>>1]=32767;b[p+12>>1]=-32767;b[p+14>>1]=-32767;l=e[g>>1]|e[g+2>>1]<<16;c[p+16>>2]=l;b[f+16>>1]=j;if(j<<16>>16>-1)k=j;else{c[p>>2]=359656;c[p+4>>2]=96;$L(359616,359640,2,1702e3,p);k=b[f+16>>1]|0}o=iM(((k<<16>>16)+3|0)/4|0)|0;c[f+20>>2]=o;YGa(o|0,0,((b[f+16>>1]|0)+3|0)/4|0|0)|0;o=a[h+((j<<16>>16)+-1)>>0]|0;if(j<<16>>16>0){n=0;m=o;k=0;do{c[p+20>>2]=l;c[p+24>>2]=l;_ia(p+8|0,p+20|0,p+24|0);bja(f+4|0,p+8|0);l=a[h+n>>0]|0;mda(c[f+20>>2]|0,k,l);q=nda(l,m)|0;m=k<<16>>16;yV(p+28|0,c[f+20>>2]|0,m);eB(p+16|0,b[p+28>>1]|0,b[p+30>>1]|0);do if(q<<24>>24==-64|q<<24>>24==64?k<<16>>16>0:0)if((m+65534<<16|0)>-65536){Z$(p+35|0,c[f+20>>2]|0,m+65534<<16>>16);k=m+65534&65535;m=a[p+35>>0]|0;break}else{a[p+35>>0]=o;k=m+65534&65535;m=o;break}else m=l;while(0);k=k+1<<16>>16;n=n+1|0;l=c[p+16>>2]|0}while((n&65535)<<16>>16>16)}else k=0;if(!((l&65535)<<16>>16==(b[g>>1]|0)?(l>>>16&65535)<<16>>16==(b[g+2>>1]|0):0)){c[p>>2]=359656;c[p+4>>2]=118;$L(359616,359680,2,1702e3,p)}while(1){l=k<<16>>16;Z$(p+34|0,c[f+20>>2]|0,l+-1|0);Z$(p+33|0,c[f+20>>2]|0,0);m=nda(a[p+34>>0]|0,a[p+33>>0]|0)|0;if(m<<24>>24==64|m<<24>>24==-64){q=359624+((d[c[f+20>>2]>>0]&3)<<2)|0;q=e[q>>1]|e[q+2>>1]<<16;eB(f+12|0,q&65535,q>>>16&65535);if((l+65534<<16|0)>0){k=0;do{q=k;k=k+1|0;Z$(p+32|0,c[f+20>>2]|0,k);mda(c[f+20>>2]|0,q&65535,a[p+32>>0]|0)}while((k|0)<(l+65534<<16>>16|0));l=l+65534&65535}else l=l+65534&65535}else l=k;if(l<<16>>16<=1){k=19;break}if(m<<24>>24==64|m<<24>>24==-64)k=l;else{k=21;break}}if((k|0)==19){b[f+16>>1]=l;k=22}else if((k|0)==21?(b[f+16>>1]=l,l<<16>>16<=3):0)k=22;if((k|0)==22){c[p>>2]=359656;c[p+4>>2]=130;$L(359616,359736,2,1702e3,p)}i=p;return}function Uca(f,h,j,k){f=f|0;h=h|0;j=+j;k=+k;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+128|0;g[w+8>>2]=j;g[w+12>>2]=k;c[f>>2]=0;b[f+4>>1]=32767;b[f+6>>1]=32767;b[f+8>>1]=-32767;b[f+10>>1]=-32767;b[f+14>>1]=0;b[f+12>>1]=0;b[f+18>>1]=0;c[f+24>>2]=0;c[f+28>>2]=0;b[w+24>>1]=32767;b[w+26>>1]=32767;b[w+28>>1]=-32767;b[w+30>>1]=-32767;b[w+46>>1]=0;b[w+44>>1]=0;b[w+34>>1]=0;b[w+32>>1]=0;b[w+58>>1]=0;b[w+56>>1]=0;l=b[h+16>>1]|0;b[f+16>>1]=l<<1;do if(!(l&32767)){c[f+20>>2]=0;u=e[h+4>>1]|e[h+6>>1]<<16;v=e[h+8>>1]|e[h+10>>1]<<16;b[f+4>>1]=u;b[f+6>>1]=u>>>16;b[f+8>>1]=v;b[f+10>>1]=v>>>16;wD(f+4|0,w+8|0)}else{t=iM(((l<<17>>16)+3|0)/4|0)|0;c[f+20>>2]=t;YGa(t|0,0,((b[f+16>>1]|0)+3|0)/4|0|0)|0;k=+g[w+8>>2];j=+g[w+12>>2];t=0;do{_$(w+105|0,(t|0)==0?32:0);_$(w+114|0,(t|0)!=0?32:0);m=e[h+12>>1]|e[h+14>>1]<<16;c[w+44>>2]=m;c[w+32>>2]=m;yD(w+32|0,k,j);m=c[w+32>>2]|0;b[f+12>>1]=m;b[f+14>>1]=m>>>16;c[w+52>>2]=m;c[w+48>>2]=m;_ia(w,w+52|0,w+48|0);r=c[w>>2]|0;s=c[w+4>>2]|0;b[f+4>>1]=r;b[f+6>>1]=r>>>16;b[f+8>>1]=s;b[f+10>>1]=s>>>16;if((b[h+16>>1]|0)>0){r=a[w+105>>0]|0;s=a[w+114>>0]|0;n=0;p=0;while(1){yV(w+76|0,c[h+20>>2]|0,p<<16>>16);eB(w+44|0,b[w+76>>1]|0,b[w+78>>1]|0);c[w+56>>2]=c[w+44>>2];yD(w+56|0,k,j);q=c[w+56>>2]|0;o=n;while(1){n=m>>>16;if((q&65535)<<16>>16==(m&65535)<<16>>16?(q>>>16&65535)<<16>>16==(n&65535)<<16>>16:0)break;Yea(w+109|0,+((q-m&65535)<<16>>16),+(((q>>>16)-n&65535)<<16>>16));oda(w+109|0,64);m=a[w+109>>0]|0;n=o+1<<16>>16;do if(!(m&31)){mda(c[f+20>>2]|0,o,m);yV(w+60|0,c[f+20>>2]|0,(n<<16>>16)+-1|0);eB(w+32|0,b[w+60>>1]|0,b[w+62>>1]|0)}else{pda(w+112|0,m,r);mda(c[f+20>>2]|0,o,a[w+112>>0]|0);yV(w+80|0,c[f+20>>2]|0,(n<<16>>16)+-1|0);eB(w+32|0,b[w+80>>1]|0,b[w+82>>1]|0);if(n<<16>>16>=2?(Z$(w+110|0,c[f+20>>2]|0,(n<<16>>16)+-1|0),Z$(w+106|0,c[f+20>>2]|0,(n<<16>>16)+-2|0),l=nda(a[w+110>>0]|0,a[w+106>>0]|0)|0,l<<24>>24==64|l<<24>>24==-64):0){yV(w+92|0,c[f+20>>2]|0,(n<<16>>16)+-1|0);YV(w+32|0,b[w+92>>1]|0,b[w+94>>1]|0);n=(o<<16>>16)+-1|0;yV(w+64|0,c[f+20>>2]|0,n);YV(w+32|0,b[w+64>>1]|0,b[w+66>>1]|0);pda(w+113|0,m,s);mda(c[f+20>>2]|0,n&65535,a[w+113>>0]|0);yV(w+72|0,c[f+20>>2]|0,n);eB(w+32|0,b[w+72>>1]|0,b[w+74>>1]|0);n=o;break}o=o+2<<16>>16;pda(w+111|0,m,s);mda(c[f+20>>2]|0,n,a[w+111>>0]|0);yV(w+84|0,c[f+20>>2]|0,(o<<16>>16)+-1|0);eB(w+32|0,b[w+84>>1]|0,b[w+86>>1]|0);n=o}while(0);a:do if(n<<16>>16>1){o=n<<16>>16;while(1){m=o+-1|0;Z$(w+100|0,c[f+20>>2]|0,m);l=o+-2|0;Z$(w+108|0,c[f+20>>2]|0,l);o=nda(a[w+100>>0]|0,a[w+108>>0]|0)|0;if(!(o<<24>>24==64|o<<24>>24==-64))break a;yV(w+88|0,c[f+20>>2]|0,m);YV(w+32|0,b[w+88>>1]|0,b[w+90>>1]|0);yV(w+68|0,c[f+20>>2]|0,l);YV(w+32|0,b[w+68>>1]|0,b[w+70>>1]|0);if((l&65535)<<16>>16>1){o=l<<16>>16;n=l&65535}else{n=l&65535;break}}}while(0);c[w+36>>2]=q;c[w+40>>2]=q;_ia(w+24|0,w+36|0,w+40|0);bja(f+4|0,w+24|0);m=c[w+32>>2]|0;o=n}p=p+1<<16>>16;if(p<<16>>16>=(b[h+16>>1]|0)){n=q&65535;l=q>>>16&65535;m=o;break}else n=o}}else{l=c[w+56>>2]|0;n=l&65535;l=l>>>16&65535;m=0}if(!(n<<16>>16==(b[f+12>>1]|0)?l<<16>>16==(b[f+14>>1]|0):0)){c[w+16>>2]=359656;c[w+20>>2]=218;$L(359616,359752,2,1702e3,w+16|0)}Z$(w+103|0,c[f+20>>2]|0,(m<<16>>16)+-1|0);Z$(w+101|0,c[f+20>>2]|0,0);l=nda(a[w+103>>0]|0,a[w+101>>0]|0)|0;while(1){if(!(l<<24>>24==-64|l<<24>>24==64)){v=30;break}if(m<<16>>16<=1)break;l=359624+((d[c[f+20>>2]>>0]&3)<<2)|0;l=e[l>>1]|e[l+2>>1]<<16;eB(f+12|0,l&65535,l>>>16&65535);l=(m&65535)+65534|0;if((l<<16|0)>0){m=0;do{s=m;m=m+1|0;Z$(w+107|0,c[f+20>>2]|0,m);mda(c[f+20>>2]|0,s&65535,a[w+107>>0]|0)}while((m|0)<(l<<16>>16|0))}Z$(w+104|0,c[f+20>>2]|0,(l<<16>>16)+-1|0);Z$(w+102|0,c[f+20>>2]|0,0);m=l&65535;l=nda(a[w+104>>0]|0,a[w+102>>0]|0)|0}if((v|0)==30?(v=0,m<<16>>16>3):0)break;t=t+1|0}while((t|0)<2);if(m<<16>>16>(b[f+16>>1]|0)){c[w+16>>2]=359656;c[w+20>>2]=230;$L(359616,359816,2,1702e3,w+16|0)}b[f+16>>1]=m;l=e[f+12>>1]|e[f+14>>1]<<16;c[w+56>>2]=l;if(m<<16>>16>0){l=0;do{yV(w+96|0,c[f+20>>2]|0,l<<16>>16);eB(w+56|0,b[w+96>>1]|0,b[w+98>>1]|0);l=l+1<<16>>16}while(l<<16>>16<(b[f+16>>1]|0));l=c[w+56>>2]|0;if((l&65535)<<16>>16==(b[f+12>>1]|0)){u=l;v=38}}else{u=l;v=38}if((v|0)==38?(u>>>16&65535)<<16>>16==(b[f+14>>1]|0):0)break;c[w+16>>2]=359656;c[w+20>>2]=236;$L(359616,359752,2,1702e3,w+16|0)}while(0);i=w;return}function Vca(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=i;i=i+64|0;pk(e+16|0,d);g=b[a>>1]|0;f=b[a+6>>1]|0;c[e>>2]=(f&65535)<<16|g&65535;d=WEa(32)|0;b[e+48>>1]=g;b[e+50>>1]=f;f=b[a+2>>1]|0;b[e+44>>1]=b[a+4>>1]|0;b[e+46>>1]=f;Sca(d,e,e+48|0,e+44|0,0);qv(e+16|0,d);i=e;return}function Wca(a){a=a|0;var d=0,f=0,g=0,h=0,j=0;j=i;i=i+48|0;pk(j+4|0,a+28|0);c[j+32>>2]=e[a+12>>1]|e[a+14>>1]<<16;f=b[a+16>>1]|0;if(f<<16>>16>0){h=0;d=0;do{yV(j,c[a+20>>2]|0,h);g=c[j>>2]|0;if((g&65535)<<16>>16>=0){if((g&65535)<<16>>16>0)d=d-(b[j+34>>1]|0)|0}else d=(b[j+34>>1]|0)+d|0;eB(j+32|0,g&65535,g>>>16&65535);h=h+1|0}while((h|0)!=(f<<16>>16|0))}else d=0;rk(j+4|0);if(!(sk(j+4|0)|0))do{d=(Wca(tk(j+4|0)|0)|0)+d|0;OL(j+4|0)|0}while(!(sk(j+4|0)|0));i=j;return d|0}function Xca(a){a=a|0;var c=0;c=i;i=i+32|0;pk(c,a+28|0);a=b[a+16>>1]|0;rk(c);if(!(sk(c)|0))do{a=(b[(tk(c)|0)+16>>1]|0)+a|0;OL(c)|0}while(!(sk(c)|0));i=c;return a|0}function Yca(a){a=a|0;var d=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;c[j+4>>2]=e[a+12>>1]|e[a+14>>1]<<16;g=b[a+16>>1]|0;if(g<<16>>16)if(g<<16>>16>0){h=0;d=0;do{yV(j,c[a+20>>2]|0,h);f=c[j>>2]|0;if((f&65535)<<16>>16>=0){if((f&65535)<<16>>16>0)d=d-(b[j+6>>1]|0)|0}else d=(b[j+6>>1]|0)+d|0;eB(j+4|0,f&65535,f>>>16&65535);h=h+1|0}while((h|0)!=(g<<16>>16|0))}else d=0;else d=Jv(a+4|0)|0;i=j;return d|0}function Zca(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+16|0;g=e[a+12>>1]|e[a+14>>1]<<16;c[y+4>>2]=g;w=b[a+16>>1]|0;do if(w<<16>>16>0){q=0;p=0;o=g<<16>>16;u=g>>16;m=1;n=1;t=1;j=1;r=g<<16>>16;h=g>>16;k=g<<16>>16;g=g>>16;v=0;f=0;while(1){yV(y,c[a+20>>2]|0,v);l=c[y>>2]|0;eB(y+4|0,l&65535,l>>>16&65535);do if((l&65535)<<16>>16<0){l=m<<24>>24!=0;if(l){s=b[y+4>>1]|0;k=(s|0)<(k|0)?s:k}if(t<<24>>24){s=b[y+4>>1]|0;if((r-s|0)>(d|0)){q=l?0:q;o=l?r:o;l=u;m=1;t=0;k=s;f=f+1|0}else l=u}else{l=u;t=0}}else{if((l&65535)<<16>>16>0){l=t<<24>>24!=0;if(l){s=b[y+4>>1]|0;s=(s|0)>(r|0)?s:r}else s=r;if(!(m<<24>>24)){l=u;m=0;r=s;break}r=b[y+4>>1]|0;if((r-k|0)<=(d|0)){l=u;r=s;break}q=l?1:q;o=l?k:o;l=u;m=0;t=1;f=f+1|0;break}if((l>>>16&65535)<<16>>16<0){l=n<<24>>24!=0;if(l){s=b[y+6>>1]|0;s=(s|0)<(g|0)?s:g}else s=g;if(!(j<<24>>24)){l=u;j=0;g=s;break}g=b[y+6>>1]|0;if((h-g|0)<=(d|0)){l=u;g=s;break}p=l?0:p;l=l?h:u;n=1;j=0;f=f+1|0;break}else{l=j<<24>>24!=0;if(l){s=b[y+6>>1]|0;s=(s|0)>(h|0)?s:h}else s=h;if(!(n<<24>>24)){l=u;n=0;h=s;break}h=b[y+6>>1]|0;if((h-g|0)<=(d|0)){l=u;h=s;break}p=l?1:p;l=l?g:u;n=0;j=1;f=f+1|0;break}}while(0);v=v+1|0;if((v|0)==(w<<16>>16|0))break;else u=l}if(q<<24>>24!=0&t<<24>>24!=0)if((r-o|0)>(d|0)){m=p;k=n;f=f+1|0;break}else{m=p;k=n;f=f+-1|0;break}else x=31}else{q=0;p=0;o=g<<16>>16;l=g>>16;m=1;n=1;j=1;h=g>>16;k=g<<16>>16;g=g>>16;f=0;x=31}while(0);do if((x|0)==31)if(q<<24>>24==0&m<<24>>24!=0)if((o-k|0)>(d|0)){m=p;k=n;f=f+1|0;break}else{m=p;k=n;f=f+-1|0;break}else{m=p;k=n}while(0);do if(m<<24>>24!=0&j<<24>>24!=0)if((h-l|0)>(d|0)){f=f+1|0;break}else{f=f+-1|0;break}else if(m<<24>>24==0&k<<24>>24!=0)if((l-g|0)>(d|0)){f=f+1|0;break}else{f=f+-1|0;break}while(0);i=y;return f|0} -function qU(a,b,d,e,f,g){a=a|0;b=b|0;d=+d;e=e|0;f=f|0;g=g|0;var j=0.0,l=0.0,m=0,n=0,o=0,p=0,q=0.0,r=0,s=0.0;r=i;i=i+112|0;if(!(d==0.0)?(c[b>>2]|0)>=2:0){vU(r+88|0);if((c[b>>2]|0)>0){m=0;do{AU(r+88|0,+fGa(+h[(zU(b,m)|0)>>3],d));m=m+1|0}while((m|0)<(c[b>>2]|0))}q=+IU(d,r+88|0);Eea(r);m=c[b>>2]|0;if((m|0)>0){n=-2147483647;m=2147483647;p=0;while(1){l=+h[(zU(b,p)|0)>>3];o=ok((l-q)/d)|0;Fea(r,+(o|0),l);n=(o|0)>(n|0)?o:n;o=(o|0)<(m|0)?o:m;p=p+1|0;m=c[b>>2]|0;if((p|0)>=(m|0)){p=n;break}else m=o}}else{o=2147483647;p=-2147483647}h[e>>3]=+Iea(r);if((c[r+88>>2]|0)>0)c[r+88>>2]=0;if((m|0)>0){m=0;do{l=+h[(zU(b,m)|0)>>3];AU(r+88|0,+fGa(l,+h[e>>3]));m=m+1|0}while((m|0)<(c[b>>2]|0));m=c[r+88>>2]|0;if((m|0)>0?(c[a+24>>2]|0)>2:0){n=0;do{l=+h[(zU(r+88|0,n)|0)>>3];c[r+48>>2]=n;h[k>>3]=l;c[r+52>>2]=c[k>>2];c[r+56>>2]=c[k+4>>2];jN(313296,r+48|0);n=n+1|0}while((n|0)<(m|0));n=a+24|0}else n=a+24|0}else n=a+24|0;l=+IU(+h[e>>3],r+88|0);h[f>>3]=l;if((c[n>>2]|0)>1){j=+Jea(+h[r>>3],+h[r+8>>3],+h[r+16>>3],+h[e>>3]);h[k>>3]=l;c[r+48>>2]=c[k>>2];c[r+52>>2]=c[k+4>>2];h[k>>3]=j;c[r+56>>2]=c[k>>2];c[r+60>>2]=c[k+4>>2];jN(313304,r+48|0)}if(g)c[g>>2]=p-o;l=+h[e>>3];j=+Kea(r,l,+Jea(+h[r>>3],+h[r+8>>3],+h[r+16>>3],l));if((c[n>>2]|0)>1){s=+h[f>>3];h[k>>3]=d;c[r+48>>2]=c[k>>2];c[r+52>>2]=c[k+4>>2];h[k>>3]=q;c[r+56>>2]=c[k>>2];c[r+60>>2]=c[k+4>>2];h[k>>3]=l;c[r+64>>2]=c[k>>2];c[r+68>>2]=c[k+4>>2];h[k>>3]=s;c[r+72>>2]=c[k>>2];c[r+76>>2]=c[k+4>>2];h[k>>3]=j;c[r+80>>2]=c[k>>2];c[r+84>>2]=c[k+4>>2];jN(313352,r+48|0)}wU(r+88|0)}else{h[e>>3]=d;h[f>>3]=0.0;if(!g)j=0.0;else{c[g>>2]=0;j=0.0}}i=r;return +j}function rU(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+32|0;g=c[d+4>>2]|0;c[a>>2]=c[d>>2];c[a+4>>2]=g;c[a+8>>2]=b;KU(a+12|0);c[a+32>>2]=0;PM(a+36|0,1714496);pk(f,e);rk(f);while(1){if(sk(f)|0)break;e=tk(f)|0;b=c[(c[e+24>>2]|0)+4>>2]|0;if(!b)b=0;else b=(Zj(c[b+12>>2]|0)|0)^1;g=WEa(64)|0;fU(g,c[a+8>>2]|0,b,e);LU(a+12|0,g);OL(f)|0}i=f;return}function sU(a){a=a|0;cp(a+32|0);RM(c[a+36>>2]|0);MU(a+12|0);return}function tU(a,b){a=a|0;b=b|0;var d=0.0,e=0,f=0,j=0;j=i;i=i+32|0;vU(j+8|0);if((c[a+12>>2]|0)>0){f=0;do{e=c[(NU(a+12|0,f)|0)>>2]|0;if((c[a+8>>2]|0)>0)jN(313416,j);if(gU(e,b)|0)AU(j+8|0,+h[e+32>>3]);f=f+1|0}while((f|0)<(c[a+12>>2]|0))}d=+uk(+g[a>>2],+g[a+4>>2]);if(c[j+8>>2]|0)d=+IU(3.141592653589793,j+8|0);if((c[a+8>>2]|0)>0){h[k>>3]=d;c[j>>2]=c[k>>2];c[j+4>>2]=c[k+4>>2];jN(313448,j)}if((c[a+12>>2]|0)>0){e=0;do{b=c[(NU(a+12|0,e)|0)>>2]|0;hU(b,d);jU(b);e=e+1|0}while((e|0)<(c[a+12>>2]|0))}wU(j+8|0);i=j;return}function uU(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=i;i=i+16|0;b=c[a+32>>2]|0;if(!b)b=0;else b=rr(b)|0;c[j+8>>2]=b;if((c[a+12>>2]|0)>0){h=0;do{g=c[(NU(a+12|0,h)|0)>>2]|0;kU(g,d);lU(g,e,f);b=c[j+8>>2]|0;if(b)mU(g,b);h=h+1|0}while((h|0)<(c[a+12>>2]|0))}if(b){PM(j,313472);gN(j+4|0,a+36|0,j);RM(c[j>>2]|0);a=c[j+4>>2]|0;Ou(VM(a)|0,b,3);cp(j+8|0);RM(a)}i=j;return}function vU(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;OU(a,4);return}function wU(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Pc[c[(c[b>>2]|0)+8>>2]&0](b,+h[(c[a+8>>2]|0)+(d<<3)>>3]);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function xU(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;g[a+148>>2]=c;g[a+152>>2]=d;g[a+160>>2]=+(NL(a+120|0)|0)-d*3.0;g[a+156>>2]=c/+R(+(b*b+1.0));return}function yU(a,b,c){a=a|0;b=b|0;c=c|0;return +(+Ada(a,0,0,b,c))}function zU(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<3)|0;Ja(1701640,1701680,663,1701712);return 0}function AU(a,b){a=a|0;b=+b;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){PU(a);d=c[a>>2]|0}c[a>>2]=d+1;h[(c[a+8>>2]|0)+(d<<3)>>3]=b;return}function BU(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;QU(a,4);return}function CU(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;e=i;i=i+16|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;h=(c[a+8>>2]|0)+(d<<3)|0;g=c[h+4>>2]|0;c[e>>2]=c[h>>2];c[e+4>>2]=g;c[e+8>>2]=c[e+0>>2];c[e+12>>2]=c[e+4>>2];Rc[f&63](b,e+8|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function DU(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<3)|0;Ja(1701640,1701680,663,1701712);return 0}function EU(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;RU(a,4);return}function FU(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){SU(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function GU(a){a=a|0;TU(a);UU(a);return}function HU(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function IU(a,b){a=+a;b=b|0;var d=0,e=0,f=0,g=0,j=0.0,k=0;g=i;i=i+48|0;Eea(g);f=c[b>>2]|0;if((f|0)>0){d=0;do{j=+h[(zU(b,d)|0)>>3];Fea(g,j,a*.5+ +h[(zU(b,d)|0)>>3]);d=d+1|0}while((d|0)!=(f|0))}j=+VU(g);do if(j<+WU(g)){if((f|0)>0)d=0;else{d=XU(b,(f|0)/2|0)|0;break}do{e=zU(b,d)|0;h[e>>3]=a*.5+ +h[e>>3];d=d+1|0}while((d|0)!=(f|0));d=XU(b,(f|0)/2|0)|0;e=0;do{k=zU(b,e)|0;h[k>>3]=+h[k>>3]-a*.5;e=e+1|0}while((e|0)!=(f|0))}else d=XU(b,(f|0)/2|0)|0;while(0);j=+h[(zU(b,d)|0)>>3];i=g;return +j}function JU(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;d=c[a>>2]|0;if((b|0)<0)b=0;else b=(d|0)>(b|0)?b:d+-1|0;c[e>>2]=1;a=YU(a,b,d,e)|0;i=e;return a|0}function KU(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;ZU(a,4);return}function LU(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){_U(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function MU(a){a=a|0;$U(a);aV(a);return}function NU(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function OU(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>536870911?-1:b<<3)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{h[d+(g<<3)>>3]=+h[f+(g<<3)>>3];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function PU(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)OU(a,4);else OU(a,b<<1);return}function QU(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){e=XEa(b>>>0>536870911?-1:b<<3)|0;f=c[a>>2]|0;d=c[a+8>>2]|0;if((f|0)>0){g=0;do{j=d+(g<<3)|0;i=c[j+4>>2]|0;h=e+(g<<3)|0;c[h>>2]=c[j>>2];c[h+4>>2]=i;g=g+1|0}while((g|0)!=(f|0))}if(d)ZEa(d);c[a+8>>2]=e;c[a+4>>2]=b}return}function RU(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function SU(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)RU(a,4);else RU(a,b<<1);return}function TU(a){a=a|0;bV(a);UU(a);return}function UU(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function VU(a){a=a|0;var b=0.0,c=0.0;b=+h[a>>3];if(b>0.0){c=+h[a+16>>3];b=(+h[a+40>>3]-c*c/b)/b}else b=0.0;return +b}function WU(a){a=a|0;var b=0.0,c=0.0;b=+h[a>>3];if(b>0.0){c=+h[a+8>>3];b=(+h[a+24>>3]-c*c/b)/b}else b=0.0;return +b}function XU(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;d=c[a>>2]|0;if((b|0)<0)b=0;else b=(d|0)>(b|0)?b:d+-1|0;c[e>>2]=1;a=cV(a,b,d,e)|0;i=e;return a|0}function YU(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0.0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0;o=0;a:while(1){n=o+1|0;m=d;while(1){d=m-o|0;if((d|0)<2){d=o;break a}if((d|0)==2){p=5;break a}qGa(c[e>>2]|0);dV(a,((rGa()|0)%(d|0)|0)+o|0,o);b:do if((n|0)<(m|0)){l=o;h=n;f=m;while(1){c:while(1){d=c[a+8>>2]|0;j=+g[d+(l<<2)>>2];k=h;while(1){i=+g[d+(k<<2)>>2];if(i=(f|0))break;else l=d}}else{d=o;f=m}while(0);if((d|0)>(b|0))m=d;else break}if((f|0)>(b|0))break;else{d=m;o=f}}do if((p|0)==5){p=c[a+8>>2]|0;d=(o|0)<(b|0);if(+g[p+(o<<2)>>2]<+g[p+(n<<2)>>2]){d=d?n:o;break}else{d=d?o:n;break}}while(0);return d|0}function ZU(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function _U(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)ZU(a,4);else ZU(a,b<<1);return}function $U(a){a=a|0;eV(a);aV(a);return}function aV(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function bV(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){fV(d);YEa(d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0))}return}function cV(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0.0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0;o=0;a:while(1){n=o+1|0;m=d;while(1){d=m-o|0;if((d|0)<2){d=o;break a}if((d|0)==2){p=5;break a}qGa(c[e>>2]|0);gV(a,((rGa()|0)%(d|0)|0)+o|0,o);b:do if((n|0)<(m|0)){l=o;g=n;f=m;while(1){c:while(1){d=c[a+8>>2]|0;j=+h[d+(l<<3)>>3];k=g;while(1){i=+h[d+(k<<3)>>3];if(i=(f|0))break;else l=d}}else{d=o;f=m}while(0);if((d|0)>(b|0))m=d;else break}if((f|0)>(b|0))break;else{d=m;o=f}}do if((p|0)==5){p=c[a+8>>2]|0;d=(o|0)<(b|0);if(+h[p+(o<<3)>>3]<+h[p+(n<<3)>>3]){d=d?n:o;break}else{d=d?o:n;break}}while(0);return d|0}function dV(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=(d|0)){a=c[a+8>>2]|0;e=+g[a+(b<<2)>>2];g[a+(b<<2)>>2]=+g[a+(d<<2)>>2];g[a+(d<<2)>>2]=e}return}function eV(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){GU(d+4|0);YEa(d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0))}return}function fV(a){a=a|0;wU(a+80|0);wda(a+16|0);return}function gV(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=(d|0)){a=c[a+8>>2]|0;e=+h[a+(b<<3)>>3];h[a+(b<<3)>>3]=+h[a+(d<<3)>>3];h[a+(d<<3)>>3]=e}return}function hV(a){a=a|0;c[a>>2]=313504;b[a+20>>1]=0;b[a+22>>1]=0>>>16;b[a+24>>1]=0;b[a+26>>1]=0>>>16;return}function iV(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,i=0;c[a+4>>2]=d;h=e[f>>1]|e[f+2>>1]<<16;b[a+20>>1]=h;b[a+22>>1]=h>>>16;h=e[g>>1]|e[g+2>>1]<<16;b[a+24>>1]=h;b[a+26>>1]=h>>>16;if(!d){c[a+4>>2]=1;d=1}i=((b[g>>1]|0)+-1-(b[f>>1]|0)+d|0)/(d|0)|0;c[a+8>>2]=i;h=((b[g+2>>1]|0)+-1-(b[f+2>>1]|0)+d|0)/(d|0)|0;c[a+12>>2]=h;c[a+16>>2]=ba(i,h)|0;return}function jV(a){a=a|0;return}function kV(a){a=a|0;YEa(a);return}function lV(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;c[f>>2]=(d-(b[a+20>>1]|0)|0)/(c[a+4>>2]|0)|0;c[g>>2]=(e-(b[a+22>>1]|0)|0)/(c[a+4>>2]|0)|0;mV(a,f,g);return}function mV(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=(c[a+8>>2]|0)+-1|0;e=c[b>>2]|0;if((e|0)<0)f=0;else f=(e|0)>(f|0)?f:e;c[b>>2]=f;e=(c[a+12>>2]|0)+-1|0;f=c[d>>2]|0;if((f|0)<0)e=0;else e=(f|0)>(e|0)?e:f;c[d>>2]=e;return}function nV(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;b[a+20>>1]=0;b[a+22>>1]=0>>>16;b[a+24>>1]=0;b[a+26>>1]=0>>>16;c[a>>2]=313520;c[a+28>>2]=0;oV(a,d,e,f);return}function oV(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;iV(a,b,d,e);d=c[a+28>>2]|0;if(d)ZEa(d);e=c[a+16>>2]|0;c[a+28>>2]=XEa(e>>>0>1073741823?-1:e<<2)|0;rV(a);return}function pV(a){a=a|0;c[a>>2]=313520;a=c[a+28>>2]|0;if(a)ZEa(a);return}function qV(a){a=a|0;pV(a);YEa(a);return}function rV(a){a=a|0;var b=0,d=0;if((c[a+16>>2]|0)>0){b=c[a+28>>2]|0;d=0;do{c[b+(d<<2)>>2]=0;d=d+1|0}while((d|0)<(c[a+16>>2]|0))}return}function sV(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;j=WEa(32)|0;nV(j,c[a+4>>2]|0,a+20|0,a+24|0);b=c[a+12>>2]|0;if((b|0)>0){d=c[a+8>>2]|0;h=0;do{if((d|0)>0){g=0;do{d=0;f=-1;do{e=f+h|0;b=-1;do{c[k+4>>2]=b+g;c[k>>2]=e;mV(a,k+4|0,k);d=(wV(a,c[k+4>>2]|0,c[k>>2]|0)|0)+d|0;b=b+1|0}while((b|0)!=2);f=f+1|0}while((f|0)!=2);if((wV(a,g,h)|0)>1)xV(j,g,h,d);g=g+1|0;d=c[a+8>>2]|0}while((g|0)<(d|0));b=c[a+12>>2]|0}h=h+1|0}while((h|0)<(b|0))}i=k;return j|0}function tV(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=i;i=i+32|0;lV(a,b[d>>1]|0,b[d+2>>1]|0,o+12|0,o+8|0);lV(a,b[d+4>>1]|0,b[d+6>>1]|0,o+4|0,o);g=c[o+8>>2]|0;l=c[o>>2]|0;if((g|0)>(l|0))f=0;else{m=c[o+12>>2]|0;n=c[o+4>>2]|0;f=0;do{k=g;g=g+1|0;if((m|0)<=(n|0)){j=m;while(1){if((wV(a,j,k)|0)>(e|0)){p=c[a+4>>2]|0;h=j+1|0;$ia(o+16|0,(ba(p,j)|0)&65535,(ba(p,k)|0)&65535,(ba(p,h)|0)&65535,(ba(p,g)|0)&65535);fja(o+16|0,d);f=(Jv(o+16|0)|0)+f|0}else h=j+1|0;if((j|0)<(n|0))j=h;else break}}}while((k|0)<(l|0))}p=(f<<1|0)>(Jv(d)|0);i=o;return p|0}function uV(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;lV(a,b[d>>1]|0,b[d+2>>1]|0,j+12|0,j+8|0);lV(a,b[d+4>>1]|0,b[d+6>>1]|0,j+4|0,j);d=c[j+8>>2]|0;f=c[j>>2]|0;a:do if((d|0)>(f|0))d=0;else{g=c[j+12>>2]|0;h=c[j+4>>2]|0;while(1){if((g|0)<=(h|0)){e=g;while(1){if(!(wV(a,e,d)|0)){d=1;break a}if((e|0)<(h|0))e=e+1|0;else break}}if((d|0)<(f|0))d=d+1|0;else{d=0;break}}}while(0);i=j;return d|0}function vV(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=_o((b[a+24>>1]|0)-(b[a+20>>1]|0)|0,(b[a+26>>1]|0)-(b[a+22>>1]|0)|0,1)|0;l=c[a+4>>2]|0;e=c[a+12>>2]|0;if((e|0)>0){f=c[a+8>>2]|0;g=0;do if((f|0)>0){e=g+-1|0;h=g+1|0;i=ba(h,l)|0;j=0;do{if(((((wV(a,j,g)|0)>(d|0)?(wV(a,j+-1|0,g)|0)>0:0)?(wV(a,j+1|0,g)|0)>0:0)?(wV(a,j,e)|0)>0:0)?(wV(a,j,h)|0)>0:0){f=ba(j,l)|0;fs(k,f,(b[a+26>>1]|0)-i|0,l,l,30,0,0,0)}j=j+1|0;f=c[a+8>>2]|0}while((j|0)<(f|0));g=h;e=c[a+12>>2]|0}else g=g+1|0;while((g|0)<(e|0))}return k|0}function wV(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+4>>2]=b;c[e>>2]=d;mV(a,e+4|0,e);d=ba(c[a+8>>2]|0,c[e>>2]|0)|0;i=e;return c[(c[a+28>>2]|0)+(d+(c[e+4>>2]|0)<<2)>>2]|0}function xV(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;if(!((b|0)>-1?(c[a+8>>2]|0)>(b|0):0)){c[f>>2]=317200;c[f+4>>2]=125;$L(313488,313600,2,1702e3,f)}if(!((d|0)>-1?(c[a+12>>2]|0)>(d|0):0)){c[f>>2]=317200;c[f+4>>2]=126;$L(313488,313640,2,1702e3,f)}d=(ba(c[a+8>>2]|0,d)|0)+b|0;c[(c[a+28>>2]|0)+(d<<2)>>2]=e;i=f;return}function yV(a,c,f){a=a|0;c=c|0;f=f|0;c=359624+(((d[c+((f|0)/4|0)>>0]|0)>>>(((f|0)%4|0)<<1)&3)<<2)|0;c=e[c>>1]|e[c+2>>1]<<16;b[a>>1]=c;b[a+2>>1]=c>>>16;return}function zV(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+128|0;Cka(q+32|0);fla(q+24|0,d);o=c[q+24>>2]|0;n=c[q+28>>2]|0;m=UGa(o|0,n|0,16)|0;n=UGa(o|0,n|0,48)|0;fla(q+80|0,d);o=kl(q+80|0)|0;Dka(q+32|0,(m&65535)<<16>>16,((n&65535)<<16>>16)+1|0)|0;if(a<<24>>24){fla(q+88|0,d);g=b[q+88>>1]|0;fla(q+96|0,d);j=b[q+98>>1]|0;fla(q+104|0,d);k=b[q+108>>1]|0;fla(q+112|0,d);l=b[q+118>>1]|0;c[q>>2]=g;c[q+4>>2]=j;c[q+8>>2]=k<<16>>16;c[q+12>>2]=l;c[q+16>>2]=e<<16>>16;jN(313920,q)}pk(q+48|0,d+4|0);rk(q+48|0);if(!(sk(q+48|0)|0))do{BV(tk(q+48|0)|0,q+32|0);OL(q+48|0)|0}while(!(sk(q+48|0)|0));if((m&65535)<<16>>16>16){d=0;g=(m&65535)<<16>>16;do{if((g&65535)<<16>>16<=(n&65535)<<16>>16){l=mx(q+32|0,g)|0;d=(l|0)>(d|0)?l:d}g=g+1|0}while((g&65535)<<16>>16>16);l=d}else l=0;if(f<<16>>16<0)k=0;else{d=e<<16>>16;j=e;g=0;do{if(!(j<<16>>16<(m&65535)<<16>>16?1:j<<16>>16>(n&65535)<<16>>16)){k=mx(q+32|0,d)|0;g=(k|0)>(g|0)?k:g}j=j+1<<16>>16;d=j<<16>>16}while((d|0)<=((f<<16>>16)+(e<<16>>16)|0));k=g}d=(f<<16>>16)+(e<<16>>16)+1&65535;if(d<<16>>16>(n&65535)<<16>>16)g=0;else{j=(f<<16>>16)+(e<<16>>16)+1<<16>>16;g=0;while(1){if(d<<16>>16>=(m&65535)<<16>>16){j=mx(q+32|0,j)|0;g=(j|0)>(g|0)?j:g}d=d+1<<16>>16;if(d<<16>>16>(n&65535)<<16>>16)break;else j=d<<16>>16}}if(a<<24>>24){c[q>>2]=l;c[q+4>>2]=k;c[q+8>>2]=g;jN(313984,q)}if(!(k|l|g)){c[q>>2]=(m&65535)<<16>>16;c[q+4>>2]=(n&65535)<<16>>16;c[q+8>>2]=e<<16>>16;c[q+12>>2]=f<<16>>16;jN(314e3,q);Rka(q+32|0)}d=k<<1;if((l|0)>(d|0)?+(l|0)>+(o<<16>>16)*+h[39229]:0)d=1;else p=24;do if((p|0)==24){if((g|0)>(d|0)?+(g|0)>+(o<<16>>16)*+h[39229]:0){d=1;break}d=0}while(0);Eka(q+32|0);i=q;return d|0}function AV(){c[78420]=1701984;c[78422]=389976;c[78424]=390024;c[78426]=390056;c[78428]=390112;c[78430]=390152;c[78432]=390184;c[78434]=390240;c[78436]=390280;c[78438]=390328;c[78440]=390376;c[78442]=390400;c[78444]=390432;c[78446]=390504;c[78448]=390552;c[78450]=390592;c[78452]=390640;tJ(313816,.5,313856,313888,kM()|0);return}function BV(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,j=0;j=i;i=i+48|0;pk(j+4|0,a+28|0);c[j+32>>2]=e[a+12>>1]|e[a+14>>1]<<16;f=b[a+16>>1]|0;if(f<<16>>16>0){h=0;do{yV(j,c[a+20>>2]|0,h);g=c[j>>2]|0;if((g>>>16&65535)<<16>>16<=0){if((g>>>16&65535)<<16>>16<0)Fka(d,(b[j+34>>1]|0)+-1|0,0-(b[j+32>>1]|0)|0)}else Fka(d,b[j+34>>1]|0,b[j+32>>1]|0);eB(j+32|0,g&65535,g>>>16&65535);h=h+1|0}while((h&65535)<<16>>16!=f<<16>>16)}rk(j+4|0);if(!(sk(j+4|0)|0))do{BV(tk(j+4|0)|0,d);OL(j+4|0)|0}while(!(sk(j+4|0)|0));i=j;return}function CV(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;GV(a,b,d,e);c[a>>2]=314048;return}function DV(a){a=a|0;HV(a);return}function EV(a){a=a|0;HV(a);YEa(a);return}function FV(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;pk(d,b);rk(d);if(!(sk(d)|0))do{b=tk(d)|0;if(!(c[b+24>>2]&1073741824))IV(a,1,1,b);OL(d)|0}while(!(sk(d)|0));i=d;return}function GV(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;hV(a);c[a>>2]=314192;c[a+28>>2]=0;KV(a,b,d,e);return}function HV(a){a=a|0;var b=0;c[a>>2]=314192;b=c[a+28>>2]|0;if(b){a=c[b+-4>>2]|0;if(a){a=b+(a<<2)|0;do{a=a+-4|0;BL(a)}while((a|0)!=(b|0))}ZEa(b+-4|0)}return}function IV(a,b,d,f){a=a|0;b=b|0;d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;j=e[f+8>>1]|e[f+10>>1]<<16;l=e[f+12>>1]|e[f+14>>1]<<16;k=UGa(j|0,l|0,48)|0;m=F;lV(a,j<<16>>16,j>>16,n+12|0,n+8|0);l=_Ga(l|0,0,16)|0;m=_Ga(k|0,m|0,16)|0;lV(a,l>>16,m>>16,n+4|0,n);if(!b)c[n+4>>2]=c[n+12>>2];j=c[n+8>>2]|0;if(d){b=c[n>>2]|0;if((j|0)<=(b|0))g=6}else{c[n>>2]=j;b=j;g=6}if((g|0)==6){h=c[a+8>>2]|0;m=ba(h,j)|0;k=c[n+4>>2]|0;l=c[n+12>>2]|0;g=b;while(1){if((l|0)>(k|0))d=h;else{d=l;while(1){FL((c[a+28>>2]|0)+(d+m<<2)|0,38,f);if((d|0)<(k|0))d=d+1|0;else break}d=c[a+8>>2]|0;g=b}if((j|0)<(g|0)){h=d;m=d+m|0;j=j+1|0}else break}}i=n;return}function JV(a){a=a|0;HV(a);YEa(a);return}function KV(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;iV(a,b,d,e);b=c[a+28>>2]|0;if(b){d=c[b+-4>>2]|0;if(d){d=b+(d<<2)|0;do{d=d+-4|0;BL(d)}while((d|0)!=(b|0))}ZEa(b+-4|0)}b=c[a+16>>2]|0;d=XEa(b>>>0>1073741823|b<<2>>>0>4294967291?-1:(b<<2)+4|0)|0;c[d>>2]=b;if(b)YGa(d+4|0,0,b<<2|0)|0;c[a+28>>2]=d+4;return}function LV(a,d){a=a|0;d=d|0;var e=0,f=0;f=c[a>>2]|0;e=c[d>>2]|0;d=b[f+8>>1]|0;a=b[e+8>>1]|0;do if(d<<16>>16==a<<16>>16){d=b[f+12>>1]|0;a=b[e+12>>1]|0;if(d<<16>>16!=a<<16>>16){a=(d<<16>>16)-(a<<16>>16)|0;break}d=b[f+10>>1]|0;a=b[e+10>>1]|0;if(d<<16>>16==a<<16>>16){a=(b[f+14>>1]|0)-(b[e+14>>1]|0)|0;break}else{a=(d<<16>>16)-(a<<16>>16)|0;break}}else a=(d<<16>>16)-(a<<16>>16)|0;while(0);return a|0}function MV(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;CV(a,b,d,e);c[a>>2]=314216;c[a+32>>2]=~~(+(b|0)*(+(b|0)*.03125));c[a+36>>2]=0;return}function NV(a){a=a|0;var b=0;c[a>>2]=314216;b=c[a+36>>2]|0;if(b)Qc[c[(c[b>>2]|0)+4>>2]&511](b);DV(a);return}function OV(a){a=a|0;NV(a);YEa(a);return}function PV(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0.0,j=0;g=i;i=i+64|0;FV(a,e+16|0);FV(a,e+12|0);CV(g+32|0,c[a+4>>2]|0,a+20|0,a+24|0);pk(g,e+4|0);rk(g);while(1){if(sk(g)|0)break;f=tk(g)|0;h=+(hla(c[f+4>>2]|0)|0)*.25;j=Maa(f)|0;if((j|0)==0?1:h*(h/+(c[f+24>>2]<<2>>2|0))<1.5)IV(a,1,1,f);else IV(g+32|0,1,1,f);OL(g)|0}c[a+36>>2]=QV(a,b,d,g+32|0)|0;TV(g+32|0);f=vV(c[a+36>>2]|0,c[a+32>>2]|0)|0;if(b){Ou(314232,f,3);RV(a,e+20|0,3,f);RV(a,e+4|0,12,f);TV(a);FV(a,e+4|0);RV(a,e+20|0,12,f);TV(a);RV(a,e+12|0,-1,f);RV(a,e+16|0,-1,f);RV(a,e+4|0,-1,f);Ou(314256,f,3)}else{RV(a,e+20|0,3,f);RV(a,e+4|0,12,f);TV(a);FV(a,e+4|0);RV(a,e+20|0,12,f);TV(a);RV(a,e+12|0,-1,f);RV(a,e+16|0,-1,f);RV(a,e+4|0,-1,f)}DV(g+32|0);i=g;return f|0}function QV(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;o=i;i=i+48|0;m=UV(a)|0;n=sV(m)|0;j=UV(e)|0;k=up(d)|0;l=ok(+(c[a+32>>2]|0)*.375)|0;e=c[a+12>>2]|0;if((e|0)>0){f=c[a+8>>2]|0;h=0;do{if((f|0)>0){g=0;do{e=wV(n,g,h)|0;f=c[a+32>>2]|0;if(!((f|0)>=(e+l|0)|(e|0)>(f|0))?(f=c[a+4>>2]|0,p=ba(f,g)|0,c[o+36>>2]=p,c[o+32>>2]=p+f,p=k-(ba(f,h)|0)|0,c[o+28>>2]=p,c[o+24>>2]=p-f,f0(d,o+36|0,o+24|0,o+32|0,o+28|0)|0):0)xV(n,g,h,e+l|0);if((b?(e|0)>(c[a+32>>2]|0):0)?(wV(j,g,h)|0)>0:0){s=c[a+4>>2]|0;t=ba(s,g)|0;s=ba(s,h)|0;r=wV(n,g,h)|0;q=wV(j,g,h)|0;f=wV(m,g,h)|0;p=c[a+32>>2]|0;c[o>>2]=t;c[o+4>>2]=s;c[o+8>>2]=r;c[o+12>>2]=q;c[o+16>>2]=f;c[o+20>>2]=p;jN(314280,o)}if(((e|0)>(c[a+32>>2]|0)?(wV(j,g,h)|0)>0:0)?(t=(wV(m,g,h)|0)<<3,(t|0)<=(c[a+32>>2]|0)):0)xV(n,g,h,0);g=g+1|0;f=c[a+8>>2]|0}while((g|0)<(f|0));e=c[a+12>>2]|0}h=h+1|0}while((h|0)<(e|0))}if(m)Qc[c[(c[m>>2]|0)+4>>2]&511](m);if(j)Qc[c[(c[j>>2]|0)+4>>2]&511](j);i=o;return n|0}function RV(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+80|0;o=(b[a+26>>1]|0)-(b[a+20>>1]|0)|0;pk(q+52|0,d);c[q+48>>2]=0;pk(q+20|0,q+48|0);rk(q+52|0);while(1){if(sk(q+52|0)|0)break;n=tk(q+52|0)|0;h=e[n+8>>1]|e[n+10>>1]<<16;d=e[n+12>>1]|e[n+14>>1]<<16;c[q>>2]=h;c[q+4>>2]=d;l=tV(c[a+36>>2]|0,q,c[a+32>>2]|0)|0;m=UGa(h|0,d|0,48)|0;j=UGa(h|0,d|0,16)|0;do if(l)p=7;else{if((f|0)>=0?SV(a,n,f)|0:0){p=7;break}c[n+92>>2]=0;c[n+96>>2]=0;c[n+100>>2]=0;c[n+104>>2]=0;c[n+108>>2]=0}while(0);if((p|0)==7){p=0;if(uV(c[a+36>>2]|0,q)|0){d=ola(c[n+4>>2]|0)|0;c[q+16>>2]=d;l=kl(q)|0;fs(g,(h&65535)<<16>>16,o-((m&65535)<<16>>16)|0,l<<16>>16,(ll(q)|0)<<16>>16,28,d,0,0);cp(q+16|0);d=n+4|0}else{l=Jv(q)|0;k=c[a+4>>2]|0;if((l|0)<(ba(k,k)|0)){l=c[a+36>>2]|0;c[q+8>>2]=h;c[q+12>>2]=d;b[q+12>>1]=d+k;if(((uV(l,q+8|0)|0?(c[q+8>>2]=h,c[q+12>>2]=d,b[q+8>>1]=h-k,uV(l,q+8|0)|0):0)?(c[q+8>>2]=h,c[q+12>>2]=d,b[q+14>>1]=m+k,uV(l,q+8|0)|0):0)?(c[q+8>>2]=h,c[q+12>>2]=d,b[q+10>>1]=j+k,uV(l,q+8|0)|0):0){c[q+8>>2]=h;c[q+12>>2]=d;VV(q+8|0,4,4);d=uV(l,q+8|0)|0;d=d?q:q+8|0}else d=q+8|0;h=c[d>>2]|0;d=c[d+4>>2]|0;c[q>>2]=h;c[q+4>>2]=d;d=UGa(h|0,d|0,48)|0;h=h&65535;d=d&65535}else{h=h&65535;d=m&65535}m=kl(q)|0;fs(g,h<<16>>16,o-(d<<16>>16)|0,m<<16>>16,(ll(q)|0)<<16>>16,30,0,0,0);d=n+4|0}d=c[d>>2]|0;if(d){KL(d+4|0,230);YEa(d)}qv(q+20|0,pv(q+52|0)|0)}OL(q+52|0)|0}KL(q+48|0,234);i=q;return}function SV(b,d,f){b=b|0;d=d|0;f=f|0;var g=0;g=i;i=i+112|0;DT(g+8|0,b);b=e[d+12>>1]|e[d+14>>1]<<16;c[g>>2]=e[d+8>>1]|e[d+10>>1]<<16;c[g+4>>2]=b;WV(g+8|0,g);a[g+52>>0]=1;b=0;a:while(1){if((b|0)>(f|0)){d=0;break}do{d=XV(g+8|0)|0;if(!d){d=0;break a}}while(!(Kk(g,d+8|0)|0));if((b|0)<(f|0))b=b+1|0;else{d=1;break}}GT(g+92|0);i=g;return d|0}function TV(a){a=a|0;var b=0;if((c[a+16>>2]|0)>0){b=0;do{BL((c[a+28>>2]|0)+(b<<2)|0);b=b+1|0}while((b|0)<(c[a+16>>2]|0))}return}function UV(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;f=WEa(32)|0;nV(f,c[a+4>>2]|0,a+20|0,a+24|0);b=c[a+12>>2]|0;if((b|0)>0){d=c[a+8>>2]|0;e=0;do{if((d|0)>0){b=0;do{g=(ba(d,e)|0)+b|0;xV(f,b,e,CL((c[a+28>>2]|0)+(g<<2)|0)|0);b=b+1|0;d=c[a+8>>2]|0}while((b|0)<(d|0));b=c[a+12>>2]|0}e=e+1|0}while((e|0)<(b|0))}return f|0}function VV(a,b,c){a=a|0;b=b|0;c=c|0;YV(a,b&65535,c&65535);eB(a+4|0,b&65535,c&65535);return}function WV(a,d){a=a|0;d=d|0;var f=0,g=0;g=e[d>>1]|e[d+2>>1]<<16;f=e[d+4>>1]|e[d+6>>1]<<16;b[a+28>>1]=g;b[a+30>>1]=g>>>16;b[a+32>>1]=f;b[a+34>>1]=f>>>16;JT(a,b[d>>1]|0,b[d+6>>1]|0);lV(c[a>>2]|0,b[d+4>>1]|0,b[d+2>>1]|0,a+12|0,a+8|0);return}function XV(b){b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;while(1)if(!((hA(b+56|0)|0)<<24>>24)){LT(b);d=c[b+48>>2]|0;if(!(DD(b+28|0,d+8|0)|0))continue;if(!(a[b+44>>0]|0)){e=12;break}MT(f,b+84|0,d);if(!(c[f>>2]|0)){e=10;break}else continue}else{e=c[b+36>>2]|0;c[b+36>>2]=e+1;if((e|0)>=(c[b+12>>2]|0)?(e=c[b+40>>2]|0,c[b+40>>2]=e+-1,c[b+36>>2]=c[b+4>>2],(e|0)<=(c[b+8>>2]|0)):0){e=5;break}KT(b);continue}if((e|0)==5){c[b+48>>2]=0;c[b+52>>2]=0;d=0}else if((e|0)==10)if(!(a[b+44>>0]|0))e=12;else{NT(f+8|0,b+84|0,b+48|0);e=12}if((e|0)==12)d=c[b+48>>2]|0;i=f;return d|0}function YV(a,c,d){a=a|0;c=c|0;d=d|0;b[a>>1]=(e[a>>1]|0)-(c&65535);b[a+2>>1]=(e[a+2>>1]|0)-(d&65535);return}function ZV(d,f){d=d|0;f=f|0;var j=0,l=0,m=0.0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0.0;D=i;i=i+592|0;C=D+556|0;c[D+552>>2]=0;c[D+556>>2]=0;c[D+560>>2]=0;c[D+564>>2]=0;c[D+568>>2]=0;c[D+572>>2]=0;$V(C,4);c[D+552>>2]=e[d>>1]|e[d+2>>1]<<16;c[D+176>>2]=0;pk(D+176|0,f);rk(D+176|0);if(!(sk(D+176|0)|0))do{j=tk(D+176|0)|0;if(c[j+92>>2]|0){if(!(+g[j+48>>2]>0.0)){c[D>>2]=314984;c[D+4>>2]=993;$L(314384,350248,2,1702e3,D)}h8(j)}OL(D+176|0)|0}while(!(sk(D+176|0)|0));c[D+584>>2]=0;z=D+588|0;c[z>>2]=0;rk(D+176|0);if(!(sk(D+176|0)|0))do{Lk(D+204|0,(tk(D+176|0)|0)+92|0);Mk(D+204|0);if(!((Nk(D+204|0)|0)<<24>>24))do{aW(D+232|0);j=Ok(D+204|0)|0;if(!j){c[D>>2]=314984;c[D+4>>2]=482;$L(314384,315024,2,1702e3,D)}if(!(+g[j+44>>2]>0.0)){c[D>>2]=314984;c[D+4>>2]=483;$L(314384,350296,2,1702e3,D)}c[D+388>>2]=j;c[j+16>>2]=6;pk(D+88|0,j+120|0);rk(D+88|0);if(!(sk(D+88|0)|0))do{y=tk(D+88|0)|0;if((c[y+24>>2]&1073741824|0)==0?(c[y+44>>2]|0)!=6:0){bW(D+120|0);y=tk(D+88|0)|0;w=e[y+8>>1]|e[y+10>>1]<<16;x=e[y+12>>1]|e[y+14>>1]<<16;c[D+120>>2]=w;c[D+124>>2]=x;c[D+128>>2]=w;c[D+132>>2]=x;c[D+140>>2]=y;c[D+136>>2]=y;c[D+144>>2]=1;if((c[D+368>>2]|0)!=0?dW(D+120|0,cW(D+368|0)|0)|0:0)eW(cW(D+368|0)|0,D+120|0);else{d=D+40|0;l=D+120|0;o=d+48|0;do{c[d>>2]=c[l>>2];d=d+4|0;l=l+4|0}while((d|0)<(o|0));fW(D+368|0,D+40|0)}y=(tk(D+88|0)|0)+8|0;l=e[y+4>>1]|e[y+6>>1]<<16;c[D+168>>2]=e[y>>1]|e[y+2>>1]<<16;c[D+172>>2]=l;l=ll(D+168|0)|0;if(+(l<<16>>16)*3.0>+((kl(D+168|0)|0)<<16>>16)){sA(D+348|0,+(l<<16>>16));a[D+344>>0]=0}}OL(D+88|0)|0}while(!(sk(D+88|0)|0));gW(D+344|0);g[D+240>>2]=+hW(D+344|0,.875);iW(D+392|0,D+232|0);l=c[C>>2]|0;if((l|0)==(c[D+560>>2]|0)){if(!l)$V(C,4);else $V(C,l<<1);l=c[C>>2]|0}c[C>>2]=l+1;d=c[D+564>>2]|0;jW(d+(l*160|0)|0,D+392|0);kW(D+392|0);if((l|0)<=-1){c[D>>2]=1701680;c[D+4>>2]=669;$L(314384,375960,2,1702e3,D)}j=c[d+(l*160|0)+136>>2]|0;if((j|0)<2)c[D+584>>2]=(c[D+584>>2]|0)+1;if((j|0)>(c[z>>2]|0))c[z>>2]=j;kW(D+232|0);VL(D+204|0)}while((Nk(D+204|0)|0)<<24>>24==0);OL(D+176|0)|0}while(!(sk(D+176|0)|0));a:do if(c[D+556>>2]|0){lW(D+552|0);mW(D+552|0,1);lW(D+552|0);mW(D+552|0,1);j=c[D+556>>2]|0;if((j|0)!=0?(j|0)>((c[D+580>>2]|0)+1+(c[D+576>>2]|0)|0):0){x=0;do{if((j|0)>0){r=0;do{q=nW(C,r)|0;if((c[q+136>>2]|0)>0){l=0;d=0;do{if(!(a[(oW(q+136|0,l)|0)+40>>0]|0))d=l;else{y=oW(q+136|0,d)|0;eW(y,oW(q+136|0,l)|0);c[(oW(q+136|0,l)|0)+44>>2]=1;c[(oW(q+136|0,d)|0)+36>>2]=0;a[(oW(q+136|0,l+-1|0)|0)+40>>0]=0}l=l+1|0;f=c[q+136>>2]|0}while((l|0)<(f|0));if((f|0)>0){p=0;f=0;do{if(!(c[(oW(q+136|0,p)|0)+44>>2]|0)){if((f|0)!=(p|0)){d=oW(q+136|0,f)|0;d=d+0|0;l=(oW(q+136|0,p)|0)+0|0;o=d+48|0;do{c[d>>2]=c[l>>2];d=d+4|0;l=l+4|0}while((d|0)<(o|0))}f=f+1|0}p=p+1|0;d=c[q+136>>2]|0}while((p|0)<(d|0));if((d|0)>(f|0))c[q+136>>2]=f}}r=r+1|0}while((r|0)<(j|0));if((j|0)>0){q=0;do{r=nW(C,q)|0;n=+g[r+4>>2];if((c[r+136>>2]|0)>0){f=0;do{b:do if(!(pW(r,f)|0)){do if((f|0)>0){d=f+-1|0;do if(pW(r,d)|0){if((f|0)>=((c[r+136>>2]|0)+-1|0))break;if(!(pW(r,f+1|0)|0))break;a[(oW(r+136|0,f)|0)+32>>0]=1;break b}while(0);m=+qW(r,f);$ia(D,~~(m-n*.5),0,~~(n*.5+m),1);if(+rW(D,oW(r+136|0,d)|0)>.1)break b;if(pW(r,d)|0)break;w=oW(r+136|0,f)|0;y=e[w+4>>1]|e[w+6>>1]<<16;c[D+88>>2]=e[w>>1]|e[w+2>>1]<<16;c[D+92>>2]=y;bja(D+88|0,oW(r+136|0,d)|0);if(+((kl(D+88|0)|0)<<16>>16)>2]|0)+-1|0)){d=f+1|0;if(+rW(D,oW(r+136|0,d)|0)>.1)break b;if(pW(r,d)|0)break;w=oW(r+136|0,f)|0;y=e[w+4>>1]|e[w+6>>1]<<16;c[D+40>>2]=e[w>>1]|e[w+2>>1]<<16;c[D+44>>2]=y;bja(D+40|0,oW(r+136|0,d)|0);if(+((kl(D+40|0)|0)<<16>>16)>0]=1}while(0);f=f+1|0;d=c[r+136>>2]|0}while((f|0)<(d|0));if((d|0)>0){p=0;do{do if(pW(r,p)|0){do if((p|0)>0){d=p+-1|0;if(!(pW(r,d)|0)){l=0;d=0;break}d=oW(r+136|0,d)|0;d=sW(n,d,oW(r+136|0,p)|0)|0;l=d^1}else{l=0;d=0}while(0);do if((p|0)<((c[r+136>>2]|0)+-1|0)){f=p+1|0;if(!(pW(r,f)|0))break;y=oW(r+136|0,p)|0;y=sW(n,y,oW(r+136|0,f)|0)|0;l=l|y^1;d=y|d}while(0);if(!(l|d^1)){c[(oW(r+136|0,p)|0)+36>>2]=1;break}if(d|l^1)break;c[(oW(r+136|0,p)|0)+36>>2]=2}while(0);p=p+1|0}while((p|0)<(c[r+136>>2]|0))}}q=q+1|0}while((q|0)<(j|0))}}mW(D+552|0,0);w=x;x=x+1|0;j=c[C>>2]|0;y=(j|0)>0;if(y){u=0;v=0}else break;do{s=nW(C,v)|0;if((c[s+136>>2]|0)>=2?!(+g[s+4>>2]==0.0):0){d=0;t=0;do{do if(!(pW(s,t)|0)){l=c[(oW(s+136|0,t)|0)+36>>2]|0;c:do if((t|0)<((c[s+136>>2]|0)+-1|0)?(A=t+1|0,pW(s,A)|0):0){n=+qW(s,A);n=n-+g[s+4>>2]*1.5;if(n>+(b[(oW(s+136|0,t)|0)+4>>1]|0)){do n=n-+g[s+4>>2];while(n>+(b[(oW(s+136|0,t)|0)+4>>1]|0));r=1}else r=0;f=b[(oW(s+136|0,t)|0)+2>>1]|0;m=+g[s+4>>2];$ia(D,~~n,f,~~(n+m),b[(oW(s+136|0,t)|0)+6>>1]|0);b[D+88>>1]=32767;b[D+90>>1]=32767;b[D+92>>1]=-32767;b[D+94>>1]=-32767;f=t;while(1){if(pW(s,f)|0){B=104;break}if(!(tW(D,oW(s+136|0,f)|0)|0)){B=104;break}dja(D+40|0,D+88|0,oW(s+136|0,f)|0);n=+((ll(D+40|0)|0)<<16>>16);if(!(n<+g[s+4>>2]*1.100000023841858)){B=104;break}bja(D+88|0,oW(s+136|0,f)|0);p=f+-1|0;if((f|0)>0)f=p;else break}do if((B|0)==104){B=0;if(!(dW(D,oW(s+136|0,f)|0)|0)){p=f;break}p=(pW(s,f)|0)^1;o=0;break c}while(0);f=t-p|0;if((f|0)<=0){p=0;o=1;break}if((f|0)!=1){p=p+1|0;if((t|0)>(p|0))f=t;else{p=0;o=1;break}while(1){a[(oW(s+136|0,f)|0)+40>>0]=1;f=f+-1|0;if((f|0)<=(p|0)){p=0;o=1;break c}}}if(!r)c[(oW(s+136|0,t)|0)+36>>2]=1;n=+((kl(oW(s+136|0,t)|0)|0)<<16>>16);if(n<=+g[s+4>>2]*.5){bja(D,oW(s+136|0,t)|0);r=oW(s+136|0,t)|0;p=c[D>>2]|0;q=c[D+4>>2]|0;b[r>>1]=p;b[r+2>>1]=p>>>16;b[r+4>>1]=q;b[r+6>>1]=q>>>16}a[(oW(s+136|0,t)|0)+40>>0]=0;a[(oW(s+136|0,t)|0)+32>>0]=1;p=0;o=1}else{p=0;o=0}while(0);d:do if((t|0)>0){f=t+-1|0;if(!(pW(s,f)|0)){B=137;break}m=+qW(s,f);m=m+ +g[s+4>>2]*1.5;r=m<+(b[(oW(s+136|0,t)|0)>>1]|0);n=+g[s+4>>2];if(r){do{m=n+m;r=m<+(b[(oW(s+136|0,t)|0)>>1]|0);n=+g[s+4>>2]}while(r);q=1}else q=0;f=b[(oW(s+136|0,t)|0)+2>>1]|0;$ia(D+168|0,~~(m-n),f,~~m,b[(oW(s+136|0,t)|0)+6>>1]|0);b[D+176>>1]=32767;b[D+178>>1]=32767;b[D+180>>1]=-32767;b[D+182>>1]=-32767;f=c[s+136>>2]|0;if((t|0)<(f|0)){f=t;while(1){if(pW(s,f)|0){r=f;break}if(!(tW(D+168|0,oW(s+136|0,f)|0)|0)){r=f;break}dja(D+204|0,D+176|0,oW(s+136|0,f)|0);n=+((ll(D+204|0)|0)<<16>>16);if(!(n<+g[s+4>>2]*1.100000023841858)){r=f;break}bja(D+176|0,oW(s+136|0,f)|0);f=f+1|0;if((f|0)>=(c[s+136>>2]|0)){r=f;break}}f=c[s+136>>2]|0}else r=t;do if((r|0)<(f|0)){if(!(dW(D+168|0,oW(s+136|0,r)|0)|0))break;p=p|(pW(s,r)|0)^1;B=137;break d}while(0);p=r-t|0;if((p|0)<=0)break;if((p|0)!=1){p=t+1|0;if((p|0)>=(r|0))break;while(1){a[(oW(s+136|0,p)|0)+40>>0]=1;p=p+1|0;if((p|0)>=(r|0))break d}}if(!q)c[(oW(s+136|0,t)|0)+36>>2]=1;n=+((kl(oW(s+136|0,t)|0)|0)<<16>>16);if(n<=+g[s+4>>2]*.5){bja(D+168|0,oW(s+136|0,t)|0);r=oW(s+136|0,t)|0;p=c[D+168>>2]|0;q=c[D+172>>2]|0;b[r>>1]=p;b[r+2>>1]=p>>>16;b[r+4>>1]=q;b[r+6>>1]=q>>>16}a[(oW(s+136|0,t)|0)+40>>0]=0;a[(oW(s+136|0,t)|0)+32>>0]=1}else B=137;while(0);do if((B|0)==137){B=0;if(o|p^1)break;c[(oW(s+136|0,t)|0)+36>>2]=2}while(0);if((c[(oW(s+136|0,t)|0)+36>>2]|0)==(l|0)?(a[(oW(s+136|0,t)|0)+40>>0]|0)==0:0)break;d=1}while(0);t=t+1|0}while((t|0)<(c[s+136>>2]|0))}else d=0;u=d|u;v=v+1|0}while((v|0)<(j|0));if(!u)break}while((w|0)<((c[z>>2]|0)+99|0));if(a[349242]|0){A=(c[z>>2]|0)+100|0;c[D>>2]=x;c[D+4>>2]=A;jN(314728,D)}if(y){o=0;do{q=nW(C,o)|0;do if(!(c[q+68>>2]|0)){g[q>>2]=0.0;c[(c[q+156>>2]|0)+16>>2]=6}else{E=+hW(q+64|0,.5);g[q>>2]=E;g[(c[q+156>>2]|0)+20>>2]=E;E=+hW(q+88|0,.125);n=+g[q>>2];m=n-+g[q+8>>2];if(!(E<=(!(m>=0.0)?0.0:m))){if(!(m>=0.0))m=0.0}else{m=+hW(q+88|0,.125);n=+g[q>>2]}l=c[q+156>>2]|0;g[l+36>>2]=m;g[l+76>>2]=m;g[l+60>>2]=n-m;d=c[q+68>>2]|0;f=c[q+20>>2]|0;if(+(d|0)<+(f|0)*.3499999940395355){c[l+16>>2]=6;break}c[l+16>>2]=+(d|0)>+(f|0)*.75?1:5;g[l+32>>2]=n;g[l+80>>2]=n;A=~~((n+ +uW(q+88|0))*.5);c[(c[q+156>>2]|0)+64>>2]=A;n=+g[q>>2];E=+uW(q+88|0);if(!(n*.25+E>=+hW(q+88|0,.875)))m=+hW(q+88|0,.875);else{m=+g[q>>2];m=m*.25+ +uW(q+88|0)}d=~~m;f=c[q+156>>2]|0;c[f+68>>2]=d;l=c[f+64>>2]|0;n=+g[f+44>>2];r=~~(!(+((l+d|0)/2|0|0)<=n)?n:+((l+d|0)/2|0|0));if((c[q+136>>2]|0)>0){l=0;do{A=c[(oW(q+136|0,l)|0)+28>>2]|0;f=c[q+156>>2]|0;d=c[f+68>>2]|0;if((A|0)>(d|0)){d=c[(oW(q+136|0,l)|0)+28>>2]|0;f=c[q+156>>2]|0;c[f+68>>2]=d}l=l+1|0}while((l|0)<(c[q+136>>2]|0));l=c[f+64>>2]|0;n=+g[f+44>>2]}E=+((d+l|0)/2|0|0);c[f+72>>2]=~~(!(E<=n)?n:E);a[f+10>>0]=0;pk(D,f+88|0);d=WEa(8)|0;A=b[(oW(q+136|0,0)|0)+8>>1]|0;c[d>>2]=0;b[d+4>>1]=A;b[d+6>>1]=0;Ck(D,d);d=b[(oW(q+136|0,0)|0)+12>>1]|0;if((c[q+136>>2]|0)>1){p=1;do{f=p+-1|0;if(!(!(pW(q,f)|0)?!(pW(q,p)|0):0))B=169;do if((B|0)==169){B=0;z=oW(q+136|0,f)|0;A=oW(q+136|0,p)|0;if((lv(b[z+8>>1]|0,b[z+12>>1]|0,b[A+8>>1]|0,b[A+12>>1]|0)|0)<=(r|0))break;A=WEa(8)|0;c[A>>2]=0;b[A+4>>1]=d+1;b[A+6>>1]=0;Ck(D,A);n=+(d|0);E=+g[q>>2];if(n+E<+(b[(oW(q+136|0,p)|0)>>1]|0))do{A=~~(n+ +g[q>>2]);z=WEa(8)|0;c[z>>2]=0;b[z+4>>1]=A+1;b[z+6>>1]=0;Ck(D,z);n=+(A|0);E=+g[q>>2]}while(n+E<+(b[(oW(q+136|0,p)|0)>>1]|0));d=b[(oW(q+136|0,p)|0)>>1]|0}while(0);A=WEa(8)|0;d=(((b[(oW(q+136|0,p)|0)+8>>1]|0)+d|0)/2|0)&65535;c[A>>2]=0;b[A+4>>1]=d;b[A+6>>1]=0;Ck(D,A);d=b[(oW(q+136|0,p)|0)+12>>1]|0;p=p+1|0}while((p|0)<(c[q+136>>2]|0))}A=WEa(8)|0;c[A>>2]=0;b[A+4>>1]=d+1;b[A+6>>1]=0;Ck(D,A)}while(0);o=o+1|0}while((o|0)<(j|0))}if(!(a[349242]|0))break;jN(314792,D);if(y)d=0;else break;while(1){l=nW(C,d)|0;if((c[l+136>>2]|0)>0?(y=c[l+156>>2]|0,z=c[y+16>>2]|0,m=+g[y+20>>2],A=c[y+68>>2]|0,n=+g[y+80>>2],B=c[y+72>>2]|0,E=+g[y+44>>2],c[D>>2]=d,c[D+4>>2]=z,h[k>>3]=m,c[D+8>>2]=c[k>>2],c[D+12>>2]=c[k+4>>2],c[D+16>>2]=A,h[k>>3]=n,c[D+20>>2]=c[k>>2],c[D+24>>2]=c[k+4>>2],c[D+28>>2]=B,h[k>>3]=E,c[D+32>>2]=c[k>>2],c[D+36>>2]=c[k+4>>2],jN(314824,D),(c[l+136>>2]|0)>0):0){f=0;do{z=(pW(l,f)|0)&1;A=vW(l,f)|0;B=c[(oW(l+136|0,f)|0)+24>>2]|0;c[D>>2]=f;c[D+4>>2]=z;c[D+8>>2]=A&1;c[D+12>>2]=B;jN(314936,D);jv(oW(l+136|0,f)|0);f=f+1|0}while((f|0)<(c[l+136>>2]|0))}d=d+1|0;if((d|0)>=(j|0))break a}}if(a[349242]|0)jN(314680,D)}while(0);wW(D+552|0);i=D;return}function _V(){c[78596]=1701984;c[78598]=389976;c[78600]=390024;c[78602]=390056;c[78604]=390112;c[78606]=390152;c[78608]=390184;c[78610]=390240;c[78612]=390280;c[78614]=390328;c[78616]=390376;c[78618]=390400;c[78620]=390432;c[78622]=390504;c[78624]=390552;c[78626]=390592;c[78628]=390640;Wk(314520,0,314536,314568,0,kM()|0);return}function $V(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){f=XEa(b>>>0>26843545|(b*160|0)>>>0>4294967291?-1:(b*160|0)+4|0)|0;c[f>>2]=b;if(b){d=f+4|0;do{aW(d);d=d+160|0}while((d|0)!=(f+4+(b*160|0)|0))}if((c[a>>2]|0)>0){d=0;do{jW(f+4+(d*160|0)|0,(c[a+8>>2]|0)+(d*160|0)|0);d=d+1|0}while((d|0)<(c[a>>2]|0))}e=c[a+8>>2]|0;if(e){d=c[e+-4>>2]|0;if(d){d=e+(d*160|0)|0;do{d=d+-160|0;kW(d)}while((d|0)!=(e|0))}ZEa(e+-4|0)}c[a+8>>2]=f+4;c[a+4>>2]=b}return}function aW(b){b=b|0;g[b>>2]=0.0;g[b+4>>2]=0.0;a[b+16>>0]=0;qA(b+20|0);a[b+40>>0]=0;qA(b+44|0);a[b+64>>0]=0;qA(b+68|0);a[b+88>>0]=0;qA(b+92|0);a[b+112>>0]=0;qA(b+116|0);c[b+136>>2]=0;c[b+140>>2]=0;c[b+144>>2]=0;c[b+148>>2]=0;c[b+152>>2]=0;xW(b+136|0,4);c[b+156>>2]=0;return}function bW(d){d=d|0;b[d>>1]=32767;b[d+2>>1]=32767;b[d+4>>1]=-32767;b[d+6>>1]=-32767;b[d+8>>1]=32767;b[d+10>>1]=32767;b[d+12>>1]=-32767;b[d+14>>1]=-32767;c[d+36>>2]=0;a[d+40>>0]=0;c[d+44>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;c[d+24>>2]=0;c[d+28>>2]=0;a[d+32>>0]=0;return}function cW(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if((b|0)<=0){c[d>>2]=1701680;c[d+4>>2]=669;$L(314384,375960,2,1702e3,d);b=c[a>>2]|0}i=d;return (c[a+8>>2]|0)+((b+-1|0)*48|0)|0}function dW(a,c){a=a|0;c=c|0;var d=0,e=0;d=kl(a)|0;e=kl(c)|0;if((d<<16>>16>e<<16>>16?e:d)<<16>>16)if((lv(b[a>>1]|0,b[a+4>>1]|0,b[c>>1]|0,b[c+4>>1]|0)|0)<-1)a=1;else a=+rW(a,c)>.1;else a=0;return a|0}function eW(a,d){a=a|0;d=d|0;var e=0;e=lv(b[a+8>>1]|0,b[a+12>>1]|0,b[d+8>>1]|0,b[d+12>>1]|0)|0;if((e|0)>(c[a+28>>2]|0))c[a+28>>2]=e;bja(a,d);bja(a+8|0,d+8|0);c[a+20>>2]=c[d+20>>2];c[a+24>>2]=(c[a+24>>2]|0)+(c[d+24>>2]|0);return}function fW(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a>>2]|0;do if((d|0)==(c[a+4>>2]|0))if(!d){xW(a,4);break}else{xW(a,d<<1);break}while(0);e=c[a>>2]|0;c[a>>2]=e+1;e=(c[a+8>>2]|0)+(e*48|0)+0|0;a=b+0|0;d=e+48|0;do{c[e>>2]=c[a>>2];e=e+4|0;a=a+4|0}while((e|0)<(d|0));return}function gW(b){b=b|0;uA(c[b+4>>2]|0,c[b+12>>2]|0,39);a[b>>0]=1;return}function hW(b,d){b=b|0;d=+d;var e=0,f=0,h=0.0;if(!(a[b>>0]|0))gW(b);e=c[b+4>>2]|0;do if(e){if(d>=1.0){d=+g[(zW(b+4|0)|0)>>2];break}if(d<=0.0|(e|0)==1){d=+g[(vA(b+4|0,0)|0)>>2];break}else{f=~~(+(e+-1|0)*d);h=(1.0-(+(e+-1|0)*d-+(f|0)))*+g[(vA(b+4|0,f)|0)>>2];d=h+(+(e+-1|0)*d-+(f|0))*+g[(vA(b+4|0,f+1|0)|0)>>2];break}}else d=0.0;while(0);return +d}function iW(a,b){a=a|0;b=b|0;var d=0;c[a+0>>2]=c[b+0>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];AW(a+16|0,b+16|0);AW(a+40|0,b+40|0);AW(a+64|0,b+64|0);AW(a+88|0,b+88|0);AW(a+112|0,b+112|0);d=c[b+136>>2]|0;c[a+136>>2]=0;c[a+140>>2]=0;c[a+144>>2]=0;c[a+148>>2]=0;c[a+152>>2]=0;xW(a+136|0,d);BW(a+136|0,b+136|0);c[a+156>>2]=c[b+156>>2];return}function jW(a,b){a=a|0;b=b|0;c[a+0>>2]=c[b+0>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];CW(a+16|0,b+16|0);CW(a+40|0,b+40|0);CW(a+64|0,b+64|0);CW(a+88|0,b+88|0);CW(a+112|0,b+112|0);if((b|0)!=(a|0)){if((c[a+136>>2]|0)>0)c[a+136>>2]=0;BW(a+136|0,b+136|0)}c[a+156>>2]=c[b+156>>2];return}function kW(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+48|0;if((c[a+140>>2]|0)>0){d=c[a+148>>2]|0;if((d|0)!=0?(c[a+136>>2]|0)>0:0){b=c[(c[d>>2]|0)+8>>2]|0;f=j+0|0;g=(c[a+144>>2]|0)+0|0;h=f+48|0;do{c[f>>2]=c[g>>2];f=f+4|0;g=g+4|0}while((f|0)<(h|0));Rc[b&63](d,j);if((c[a+136>>2]|0)>1){e=1;do{d=c[a+148>>2]|0;b=c[(c[d>>2]|0)+8>>2]|0;f=j+0|0;g=(c[a+144>>2]|0)+(e*48|0)+0|0;h=f+48|0;do{c[f>>2]=c[g>>2];f=f+4|0;g=g+4|0}while((f|0)<(h|0));Rc[b&63](d,j);e=e+1|0}while((e|0)<(c[a+136>>2]|0))}}b=c[a+144>>2]|0;if(b)ZEa(b+-4|0);c[a+144>>2]=0;c[a+136>>2]=0;c[a+140>>2]=0}b=c[a+148>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+148>>2]=0}b=c[a+152>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+152>>2]=0}rA(a+116|0);rA(a+92|0);rA(a+68|0);rA(a+44|0);rA(a+20|0);i=j;return}function lW(a){a=a|0;var d=0,e=0.0,f=0,h=0,i=0,j=0,k=0;if((c[a+4>>2]|0)>0){i=0;do{h=nW(a+4|0,i)|0;d=c[h+136>>2]|0;if((d|0)>=2){e=+g[h+4>>2];a:do if(e>0.0){if((d|0)>2){d=2;while(1){j=oW(h+136|0,d+-2|0)|0;f=d+-1|0;if(sW(e,j,oW(h+136|0,f)|0)|0?(e=+g[h+4>>2],j=oW(h+136|0,f)|0,sW(e,j,oW(h+136|0,d)|0)|0):0)c[(oW(h+136|0,f)|0)+36>>2]=1;d=d+1|0;if((d|0)>=(c[h+136>>2]|0))break a;e=+g[h+4>>2]}}}else if((d|0)>2){f=2;do{k=oW(h+136|0,f+-2|0)|0;d=f+-1|0;j=oW(h+136|0,d)|0;e=+DW(b[k>>1]|0,b[k+4>>1]|0,b[j>>1]|0,b[j+4>>1]|0);j=oW(h+136|0,d)|0;if(sW(e,j,oW(h+136|0,f)|0)|0)c[(oW(h+136|0,d)|0)+36>>2]=1;f=f+1|0}while((f|0)<(c[h+136>>2]|0))}while(0);k=oW(h+136|0,0)|0;c[k+36>>2]=c[(oW(h+136|0,1)|0)+36>>2];k=oW(h+136|0,(c[h+136>>2]|0)+-1|0)|0;c[k+36>>2]=c[(oW(h+136|0,(c[h+136>>2]|0)+-2|0)|0)+36>>2]}i=i+1|0}while((i|0)<(c[a+4>>2]|0))}return}function mW(d,e){d=d|0;e=e|0;var f=0,h=0.0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0;r=i;i=i+32|0;a[r+8>>0]=0;p=r+12|0;c[p+0>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;c[p+12>>2]=0;c[p+16>>2]=0;EW(p,4);c[d+24>>2]=0;c[d+28>>2]=0;a[r+8>>0]=0;if((c[d+4>>2]|0)>0){q=0;do{o=nW(d+4|0,q)|0;rA(o+68|0);a[o+64>>0]=0;rA(o+20|0);a[o+16>>0]=0;rA(o+92|0);a[o+88>>0]=0;rA(o+44|0);a[o+40>>0]=0;rA(o+116|0);a[o+112>>0]=0;do if(c[o+136>>2]|0){k=vW(o,0)|0;h=+qW(o,0);sA(o+116|0,+((ll(oW(o+136|0,0)|0)|0)<<16>>16));a[o+112>>0]=0;if((c[o+136>>2]|0)>1){m=~~h;n=1;do{l=m;m=~~+qW(o,n);l=m-l|0;f=n+-1|0;t=oW(o+136|0,f)|0;s=oW(o+136|0,n)|0;if((lv(b[t+8>>1]|0,b[t+12>>1]|0,b[s+8>>1]|0,b[s+12>>1]|0)|0)<1)j=0.0;else{s=oW(o+136|0,f)|0;t=oW(o+136|0,n)|0;j=+(lv(b[s+8>>1]|0,b[s+12>>1]|0,b[t+8>>1]|0,b[t+12>>1]|0)|0)}sA(o+116|0,+((ll(oW(o+136|0,n)|0)|0)<<16>>16));a[o+112>>0]=0;do if(+(l|0)>+g[o+8>>2]*.5){sA(o+20|0,+(l|0));a[o+16>>0]=0;sA(o+44|0,j);a[o+40>>0]=0;if(vW(o,n)|0){if(!e){if(!k){k=1;break}h=+g[o+4>>2];if(!(+Q(+(h-+(l|0)))>0]=0;if(!(FW(o,f)|0)?!(FW(o,n)|0):0){sA(o+92|0,j);a[o+88>>0]=0;k=1}else k=1}else k=0}while(0);n=n+1|0}while((n|0)<(c[o+136>>2]|0));f=o+8|0}else f=o+8|0;gW(o+64|0);gW(o+16|0);gW(o+88|0);gW(o+40|0);gW(o+112|0);g[f>>2]=+hW(o+112|0,.875);if(!(c[o+20>>2]|0)){g[o>>2]=0.0;g[o+12>>2]=0.0;break}if((c[o+68>>2]|0)<2){j=+hW(o+16|0,.5);g[o>>2]=j;if(!(j>0.0)){c[r>>2]=314984;c[r+4>>2]=664;$L(314384,315008,2,1702e3,r)}g[o+12>>2]=+hW(o+40|0,.125);break}else{j=+hW(o+64|0,.5);g[o>>2]=j;if(!(j>0.0)){c[r>>2]=314984;c[r+4>>2]=668;$L(314384,315008,2,1702e3,r)}g[o+12>>2]=+hW(o+88|0,.125);break}}while(0);if(c[(nW(d+4|0,q)|0)+68>>2]|0){j=+g[(nW(d+4|0,q)|0)+8>>2];j=j+ +g[(nW(d+4|0,q)|0)+12>>2];h=+g[(nW(d+4|0,q)|0)>>2];k=c[(nW(d+4|0,q)|0)+68>>2]|0;f=c[p>>2]|0;do if((f|0)==(c[r+16>>2]|0))if(!f){EW(p,4);break}else{EW(p,f<<1);break}while(0);f=c[p>>2]|0;c[p>>2]=f+1;t=c[r+20>>2]|0;g[t+(f*12|0)>>2]=j;g[t+(f*12|0)+4>>2]=h;c[t+(f*12|0)+8>>2]=k;a[r+8>>0]=0;f=nW(d+4|0,q)|0;if((c[f+68>>2]|0)>=2?(j=+g[f+8>>2],j/+hW(f+64|0,.5)>1.1):0)c[d+24>>2]=(c[d+24>>2]|0)+1}else c[d+28>>2]=(c[d+28>>2]|0)+1;q=q+1|0}while((q|0)<(c[d+4>>2]|0));f=r+20|0}else f=r+20|0;p=c[r+12>>2]|0;DEa(c[f>>2]|0,p,12,40);a[r+8>>0]=1;if((c[d+4>>2]|0)>0){o=c[r+20>>2]|0;n=0;do{t=(c[(nW(d+4|0,n)|0)+68>>2]|0)>4;f=nW(d+4|0,n)|0;do if(!t){if((c[f+136>>2]|0)>1){h=+g[(nW(d+4|0,n)|0)+8>>2];h=h+ +g[(nW(d+4|0,n)|0)+12>>2];a:do if((p|0)>0){k=0;while(1){f=k+1|0;if(!(+g[(IW(p,o,k)|0)>>2]>2]>h*1.1000000014901161)l=k;else break}t=(f|0)<(l|0);k=t?f:0;l=t?l:p;if((k|0)<(l|0)){j=0.0;f=0;do{t=c[(IW(p,o,k)|0)+8>>2]|0;u=+g[(IW(p,o,k)|0)+4>>2];j=j+h*+(t|0)*u/+g[(IW(p,o,k)|0)>>2];f=(c[(IW(p,o,k)|0)+8>>2]|0)+f|0;k=k+1|0}while((k|0)!=(l|0));h=+(f|0)}else{j=0.0;h=0.0}h=j/h;if(!(h>+g[(nW(d+4|0,n)|0)>>2])?(u=+g[(nW(d+4|0,n)|0)>>2],!(u>+g[(nW(d+4|0,n)|0)+8>>2]*2.0)):0){t=nW(d+4|0,n)|0;g[t+4>>2]=+g[(nW(d+4|0,n)|0)>>2];break}g[(nW(d+4|0,n)|0)+4>>2]=h}}else g[f+4>>2]=+g[(nW(d+4|0,n)|0)>>2];while(0);n=n+1|0}while((n|0)<(c[d+4>>2]|0))}GW(r+8|0);i=r;return}function nW(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b*160|0)|0;Ja(1701640,1701680,663,1701712);return 0}function oW(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b*48|0)|0;Ja(1701640,1701680,663,1701712);return 0}function pW(b,c){b=b|0;c=c|0;return (a[(oW(b+136|0,c)|0)+32>>0]|0)!=0|0}function qW(a,c){a=a|0;c=c|0;var d=0;d=b[(oW(a+136|0,c)|0)>>1]|0;return +(+((b[(oW(a+136|0,c)|0)+4>>1]|0)+d|0)*.5)}function rW(a,c){a=a|0;c=c|0;var d=0.0,e=0,f=0;e=kl(a)|0;f=kl(c)|0;e=e<<16>>16>f<<16>>16?f:e;if(!(e<<16>>16))d=0.0;else d=+(0-(lv(b[a>>1]|0,b[a+4>>1]|0,b[c>>1]|0,b[c+4>>1]|0)|0)|0)/+(e<<16>>16);return +d}function sW(c,d,e){c=+c;d=d|0;e=e|0;var f=0.0,g=0,h=0;do if(((!(+((kl(d)|0)<<16>>16)>=c*1.1000000014901161)?!(+((kl(e)|0)<<16>>16)>=c*1.1000000014901161):0)?!(+((ll(d)|0)<<16>>16)>=c*1.1000000014901161):0)?!(+((ll(e)|0)<<16>>16)>=c*1.1000000014901161):0){h=b[d>>1]|0;d=b[d+4>>1]|0;g=b[e>>1]|0;e=b[e+4>>1]|0;f=+DW(h,d,g,e);if(+Q(+(f-c))c?f.9|0}function uW(b){b=b|0;var d=0.0;if(!(a[b>>0]|0))gW(b);if(!(c[b+4>>2]|0))d=0.0;else d=+g[(vA(b+4|0,0)|0)>>2];return +d}function vW(a,b){a=a|0;b=b|0;return (c[(oW(a+136|0,b)|0)+36>>2]|0)==1|0}function wW(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+160|0;if((c[a+8>>2]|0)>0){b=c[a+16>>2]|0;a:do if((b|0)!=0?(c[a+4>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;iW(e,(c[a+12>>2]|0)+(d*160|0)|0);Rc[f&63](b,e);kW(e);d=d+1|0;if((d|0)>=(c[a+4>>2]|0))break a;b=c[a+16>>2]|0}}while(0);b=c[a+12>>2]|0;if(b){d=c[b+-4>>2]|0;if(d){d=b+(d*160|0)|0;do{d=d+-160|0;kW(d)}while((d|0)!=(b|0))}ZEa(b+-4|0)}c[a+12>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}b=c[a+20>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+20>>2]=0}i=e;return}function xW(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){j=XEa(b>>>0>89478485|(b*48|0)>>>0>4294967291?-1:(b*48|0)+4|0)|0;c[j>>2]=b;if(b){d=j+4|0;do{bW(d);d=d+48|0}while((d|0)!=(j+4+(b*48|0)|0))}e=c[a>>2]|0;d=c[a+8>>2]|0;if((e|0)>0){f=0;do{g=j+4+(f*48|0)+0|0;h=d+(f*48|0)+0|0;i=g+48|0;do{c[g>>2]=c[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(i|0));f=f+1|0}while((f|0)!=(e|0))}if(d)ZEa(d+-4|0);c[a+8>>2]=j+4;c[a+4>>2]=b}return}function yW(a,b){a=a|0;b=b|0;var c=0.0,d=0.0;d=+g[a>>2];c=+g[b>>2];if(d>c)a=1;else a=(d>31;return a|0}function zW(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if((b|0)<=0){c[d>>2]=1701680;c[d+4>>2]=669;$L(314384,375960,2,1702e3,d);b=c[a>>2]|0}i=d;return (c[a+8>>2]|0)+(b+-1<<2)|0}function AW(b,c){b=b|0;c=c|0;a[b>>0]=a[c>>0]|0;JW(b+4|0,c+4|0);a[b>>0]=a[c>>0]|0;return}function BW(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;f=i;i=i+48|0;xW(a,(c[b>>2]|0)+(c[a>>2]|0)|0);if((c[b>>2]|0)>0){d=0;do{e=f+0|0;g=(c[b+8>>2]|0)+(d*48|0)+0|0;h=e+48|0;do{c[e>>2]=c[g>>2];e=e+4|0;g=g+4|0}while((e|0)<(h|0));fW(a,f);d=d+1|0}while((d|0)<(c[b>>2]|0))}i=f;return}function CW(b,c){b=b|0;c=c|0;a[b>>0]=a[c>>0]|0;xS(b+4|0,c+4|0);return}function DW(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return +(+((((b<<16>>16)+(a<<16>>16)-(c<<16>>16)-(d<<16>>16)|0)>-1?(b<<16>>16)+(a<<16>>16)-(c<<16>>16)-(d<<16>>16)|0:0-((b<<16>>16)+(a<<16>>16)-(c<<16>>16)-(d<<16>>16))|0)|0)*.5)}function EW(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){e=XEa(b>>>0>357913941?-1:b*12|0)|0;f=c[a>>2]|0;d=c[a+8>>2]|0;if((f|0)>0){g=0;do{h=e+(g*12|0)|0;i=d+(g*12|0)|0;c[h+0>>2]=c[i+0>>2];c[h+4>>2]=c[i+4>>2];c[h+8>>2]=c[i+8>>2];g=g+1|0}while((g|0)!=(f|0))}if(d)ZEa(d);c[a+8>>2]=e;c[a+4>>2]=b}return}function FW(a,b){a=a|0;b=b|0;var c=0;c=oW(a+136|0,b)|0;return (KW(c,(oW(a+136|0,b)|0)+8|0)|0)^1|0}function GW(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;d=i;i=i+16|0;if((c[a+8>>2]|0)>0){b=c[a+16>>2]|0;if(((b|0)!=0?(c[a+4>>2]|0)>0:0)?(e=c[(c[b>>2]|0)+8>>2]|0,f=c[a+12>>2]|0,c[d+0>>2]=c[f+0>>2],c[d+4>>2]=c[f+4>>2],c[d+8>>2]=c[f+8>>2],Rc[e&63](b,d),(c[a+4>>2]|0)>1):0){b=1;do{f=c[a+16>>2]|0;e=c[(c[f>>2]|0)+8>>2]|0;g=(c[a+12>>2]|0)+(b*12|0)|0;c[d+0>>2]=c[g+0>>2];c[d+4>>2]=c[g+4>>2];c[d+8>>2]=c[g+8>>2];Rc[e&63](f,d);b=b+1|0}while((b|0)<(c[a+4>>2]|0))}b=c[a+12>>2]|0;if(b)ZEa(b);c[a+12>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}b=c[a+20>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+20>>2]=0}i=d;return}function HW(a,b){a=a|0;b=b|0;var c=0.0,d=0.0;d=+g[a>>2];c=+g[b>>2];if(d>c)a=1;else a=(d>31;return a|0}function IW(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)>-1&(a|0)>(c|0))return b+(c*12|0)|0;else Ja(1701640,1701680,663,1701712);return 0}function JW(a,b){a=a|0;b=b|0;var d=0;d=c[b>>2]|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;bB(a,d);AS(a,b);return}function KW(a,c){a=a|0;c=c|0;if(!((LW(a,b[c>>1]|0,b[c+2>>1]|0)|0)<<24>>24))c=0;else c=(LW(a+4|0,b[c+4>>1]|0,b[c+6>>1]|0)|0)<<24>>24!=0;return c|0}function LW(a,c,d){a=a|0;c=c|0;d=d|0;if((b[a>>1]|0)==c<<16>>16)c=(b[a+2>>1]|0)==d<<16>>16&1;else c=0;return c|0}function MW(d,e,f,j,k,l,m,n,o,p,q){d=d|0;e=e|0;f=f|0;j=j|0;k=k|0;l=l|0;m=+m;n=n|0;o=o|0;p=p|0;q=q|0;var r=0;r=i;i=i+32|0;u3(d,e,f,j,n,p,q,k);c[d>>2]=315664;a[d+128>>0]=l&1;c[d+132>>2]=~~(+(e|0)*.5);c[d+136>>2]=(b[j>>1]|0)-(b[f>>1]|0);h[d+144>>3]=m;g[d+160>>2]=1.0;g[d+164>>2]=0.0;g[d+168>>2]=1.0;g[d+172>>2]=0.0;g[d+176>>2]=1.0;g[d+180>>2]=0.0;tX(d+192|0);c[d+212>>2]=0;c[d+216>>2]=0;FZ(d+220|0,e,f,j);c[d+252>>2]=0;c[d+256>>2]=0;c[d+260>>2]=0;c[d+264>>2]=0;c[d+268>>2]=0;c[d+272>>2]=0;z7(d+276|0,k);c[d+292>>2]=0;c[d+296>>2]=0;c[d+300>>2]=0;Lk(r,d+268|0);uX(r,o);i=r;return}function NW(a){a=a|0;var b=0,d=0;d=i;i=i+64|0;c[a>>2]=315664;wX(a+192|0);b=c[a+212>>2]|0;if(b)ZEa(b);b=c[a+216>>2]|0;if(b)Qc[c[(c[b>>2]|0)+4>>2]&511](b);b=c[a+296>>2]|0;if(b){nc(b|0);YEa(b)}cp(a+272|0);b=c[a+292>>2]|0;if(b)do{c[a+292>>2]=c[b+16>>2];afa(b);YEa(b);b=c[a+292>>2]|0}while((b|0)!=0);Lk(d+28|0,a+260|0);Mk(d+28|0);while(1){if((Nk(d+28|0)|0)<<24>>24)break;lY(Ok(d+28|0)|0);VL(d+28|0)}Lk(d+28|0,a+252|0);Mk(d+28|0);while(1){if((Nk(d+28|0)|0)<<24>>24)break;lY(Ok(d+28|0)|0);VL(d+28|0)}pk(d,a+264|0);rk(d);while(1){if(sk(d)|0)break;b=c[(tk(d)|0)+4>>2]|0;if(b){KL(b+4|0,230);YEa(b)}OL(d)|0}A7(a+276|0);TL(a+268|0,232);KL(a+264|0,234);TL(a+260|0,238);TL(a+256|0,238);TL(a+252|0,238);GZ(a+220|0);vX(a+192|0);x3(a);i=d;return}function OW(a){a=a|0;NW(a);YEa(a);return}function PW(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+48|0;xX(b+220|0,c[b+4>>2]|0,b+20|0,b+24|0);g=c[b+216>>2]|0;if(g)Qc[c[(c[g>>2]|0)+4>>2]&511](g);g=WEa(88)|0;p2(g,c[b+4>>2]|0,b+20|0,b+24|0);c[b+216>>2]=g;c[b+132>>2]=~~(+(c[b+4>>2]|0)*.5);hba(f);D3(b,f);cp(b+272|0);s2(c[b+216>>2]|0,f);MV(h,c[b+4>>2]|0,b+20|0,b+24|0);c[b+272>>2]=PV(h,(c[77789]|0)!=0,e,f)|0;u2(c[b+216>>2]|0,d,(a[b+128>>0]|0)!=0,f);TV(c[b+216>>2]|0);NV(h);i=h;return}function QW(a,b,c){a=+a;b=b|0;c=c|0;return y2(a,b,c)|0}function RW(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,j=0.0,l=0,m=0,n=0,o=0,p=0.0,q=0.0;o=i;i=i+48|0;c[a+184>>2]=1065353216;c[a+188>>2]=0;c[a+168>>2]=1065353216;c[a+172>>2]=0;if((e|0)==1){f=1.0;l=0;m=1065353216;n=4}else if((e|0)==2){c[a+168>>2]=-1082130432;c[a+172>>2]=0;if(d){j=-1.0;f=0.0;n=7}else{j=-1.0;f=0.0;n=6}}else if((e|0)!=3)if((e&1|0)!=0^d){j=1.0;f=0.0;n=7}else{j=1.0;f=0.0;n=6}else{f=-1.0;l=0;m=-1082130432;n=4}if((n|0)==4){c[a+168>>2]=l;c[a+172>>2]=m;if(d){j=0.0;n=6}else{j=0.0;n=7}}if((n|0)==6){m=a+172|0;l=a+168|0;d=0}else if((n|0)==7){p=j*0.0-f;f=j+f*0.0;g[a+172>>2]=f;g[a+168>>2]=p;g[a+188>>2]=-1.0;g[a+184>>2]=0.0;m=a+172|0;l=a+168|0;j=p;d=1}q=+j;p=+-f;g[a+176>>2]=q;g[a+180>>2]=p;if(j!=1.0|f!=0.0){i4(a+168|0,b+20|0);i4(a+168|0,b+4|0);i4(a+168|0,b+16|0);i4(a+168|0,b+12|0);k4(a,a+168|0,a+268|0,a+132|0);xX(a+220|0,c[a+4>>2]|0,a+20|0,a+24|0);hba(b);D3(a,b);z2(c[a+216>>2]|0,a+176|0,a+220|0)}if(c[77789]|0){f=+g[l>>2];p=+g[m>>2];j=+g[a+184>>2];q=+g[a+188>>2];c[o>>2]=d;c[o+4>>2]=e;h[k>>3]=f;c[o+8>>2]=c[k>>2];c[o+12>>2]=c[k+4>>2];h[k>>3]=p;c[o+16>>2]=c[k>>2];c[o+20>>2]=c[k+4>>2];h[k>>3]=j;c[o+24>>2]=c[k>>2];c[o+28>>2]=c[k+4>>2];h[k>>3]=q;c[o+32>>2]=c[k>>2];c[o+36>>2]=c[k+4>>2];jN(315680,o)}if(c[a+292>>2]|0){c[o>>2]=315760;c[o+4>>2]=267;$L(315040,315744,2,1702e3,o)}n=WEa(52)|0;Zea(n);c[a+292>>2]=n;bfa(n,0,a+168|0,0,0.0,0.0,1.0,1.0,0.0,0.0);i=o;return}function SW(b,d,e,f,g,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0;o=i;i=i+208|0;vq(f,f,c[b+272>>2]|0);A2(c[b+216>>2]|0,e,b+220|0);D2(c[b+216>>2]|0,b+256|0);O3(b,0,c[b+132>>2]|0,+h[b+144>>3],e);D3(b,e);E2(c[b+216>>2]|0,d,b+176|0,e,c[b+272>>2]|0,c[b+292>>2]|0,(a[b+128>>0]|0)!=0,b+276|0,l,b+220|0,b+256|0);if((d+-11|0)>>>0>=2){j0(f,b+168|0,b+176|0,b+220|0,b+256|0);i0(b+176|0,b+220|0,f);j0(f,b+168|0,b+176|0,b+220|0,b+256|0)}YZ(b+220|0,b+264|0);V3(e);l4(b);Lk(o+180|0,b+256|0);Mk(o+180|0);if(!((Nk(o+180|0)|0)<<24>>24))do{jY(Ok(o+180|0)|0);VL(o+180|0)}while((Nk(o+180|0)|0)<<24>>24==0);TL(b+256|0,238);l=c[b+216>>2]|0;if(l)Qc[c[(c[l>>2]|0)+4>>2]&511](l);c[b+216>>2]=0;jba(e,g,j);l=(a[(c[e+24>>2]|0)+29>>0]|0)!=0;if(l){m4(b);TW(b,e,b+264|0);SZ(b+220|0)}do if((d+-11|0)>>>0>=2){if((d+-1|0)>>>0<3){D3(b,e);N3(b,b+268|0,b+264|0,e,c[b+132>>2]|0,+h[b+144>>3],b+220|0,b+152|0,b+160|0);g=WEa(52)|0;Zea(g);bfa(g,0,b+152|0,c[b+292>>2]|0,0.0,0.0,1.0,1.0,0.0,0.0);c[b+292>>2]=g}else U3(b,b+264|0,e,b+152|0,b+160|0);D3(b,e);VZ(b+220|0,b);if(!(UW(b)|0)){jN(315784,o);$Z(b+220|0);break}TV(b);z3(b,0,0,b+264|0,b);z3(b,1,1,e+4|0,b);ZZ(b+220|0,c[b+212>>2]|0);VW(b);ZZ(b+220|0,c[b+212>>2]|0);WW(b);XW(b,e);YW(b);ZW(b);ZZ(b+220|0,c[b+212>>2]|0);_W(b);if((d+-11|0)>>>0>=2){f=c[b+300>>2]|0;if(f)Vc[c[(c[f>>2]|0)+12>>2]&63](f,b+220|0,c[b+212>>2]|0)|0;if(a[315594]|0){F4(o);I4(o,c[b+4>>2]|0,b+20|0,b+24|0);c[o>>2]=c[b+36>>2];H4(o,(a[(c[e+24>>2]|0)+29>>0]|0)==0);J4(o,b+220|0);R4(o,b+220|0,c[b+212>>2]|0,c[b+84>>2]|0,b+160|0);G4(o)}$W(b);a_(b+220|0,e);d_(b+220|0);c_(b+220|0);g_(b+220|0,1);aX(b);yX(b+220|0);bX(b,e);cX(b,k,m);n=22}else n=20}else n=20;while(0);if((n|0)==20){bX(b,e);TZ(b+220|0,k,m);n=22}if((n|0)==22){if(c[77789]|0){k=NL(k)|0;e=NL(m)|0;c[o>>2]=k;c[o+4>>2]=e;jN(315800,o)}dX(b,l,m)}i=o;return}function TW(a,b,d){a=a|0;b=b|0;d=d|0;zX(d);zX(b+4|0);zX(b+16|0);zX(b+12|0);zX(b+20|0);b=WEa(52)|0;Zea(b);bfa(b,0,0,c[a+292>>2]|0,0.0,0.0,-1.0,1.0,0.0,0.0);c[a+292>>2]=b;return}function UW(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+32|0;tX(h+8|0);if(WZ(a+220|0,h+8|0)|0){b=c[a+232>>2]|0;if((b|0)!=(c[a+12>>2]|0)){c[h>>2]=315760;c[h+4>>2]=577;$L(315040,315832,2,1702e3,h);b=c[a+12>>2]|0}f=1;while(1){if((b|0)>0){d=0;do{e=c[(AX(h+8|0,d)|0)>>2]|0;if(((e|0)!=0?J_(e)|0:0)?(g=M_(e,f)|0,(g|0)!=0):0)H_(g,a+192|0,c[a+84>>2]|0);d=d+1|0;b=c[a+12>>2]|0}while((d|0)<(b|0))}if(c[a+192>>2]|0)break;if(f)f=f^1;else break}if(c[77789]|0)gX(a,315872);hX(a,a+192|0,a+192|0);if(c[77789]|0)gX(a,315896);hX(a,h+8|0,a+192|0);b=XZ(a+220|0,c[a+84>>2]|0)|0;if(b)H_(b,a+192|0,c[a+84>>2]|0);if(c[77789]|0)gX(a,315920);e=(c[a+192>>2]|0)==0;if(!e)jX(a,iX(a,h+8|0)|0);if((c[h+8>>2]|0)>0){d=0;do{b=c[(AX(h+8|0,d)|0)>>2]|0;if(b){E_(b);A_(b);YEa(b)}d=d+1|0}while((d|0)<(c[h+8>>2]|0));b=e^1}else b=e^1}else b=0;vX(h+8|0);i=h;return b|0}function VW(a){a=a|0;var d=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+240|0;bA(q+136|0,a+220|0);cA(q+136|0);d=0;a:while(1){while(1){p=dA(q+136|0)|0;if(!p)break a;if((p|0)==(d|0)?1:(c[p+48>>2]|0)<5)continue;k=c[(c[a+212>>2]|0)+(c[q+176>>2]<<2)>>2]|0;c[q+132>>2]=-1;c[q+128>>2]=-1;PY(p,c[a+36>>2]|0,k,q+132|0,q+128|0);f=c[q+132>>2]|0;if((f|0)>0){c[q+132>>2]=f+-1;f=f+-1|0}g=(f|0)/2|0;c[q+132>>2]=g;j=(c[q+128>>2]|0)/2|0;c[q+128>>2]=j;if((j|0)!=(g+1|0))continue;l=((b[p+18>>1]|0)+(b[p+22>>1]|0)|0)/2|0;m=e[p+16>>1]|e[p+18>>1]<<16;h=e[p+20>>1]|e[p+22>>1]<<16;c[q>>2]=m;c[q+4>>2]=h;o=xT(2,m<<16>>16,m>>16)|0;if(o){jN(316368,q+8|0);oY(p)}g=C_(k,g)|0;if(!g)continue;n=(BX(g,l)|0)+2|0;b[q>>1]=n;g=C_(k,j)|0;if(g)break}f=UGa(m|0,h|0,48)|0;h=F;j=(CX(g,l)|0)+65534|0;b[q+4>>1]=j;DT(q+24|0,a);if(o){l=_Ga(f|0,h|0,16)|0;c[q+8>>2]=n<<16>>16;c[q+12>>2]=m>>16;c[q+16>>2]=j<<16>>16;c[q+20>>2]=l>>16;jN(316408,q+8|0);oY(p)}WV(q+24|0,q);while(1){f=XV(q+24|0)|0;if(!f){g=17;break}if(DD(f+8|0,q)|0){g=26;break}}if((g|0)==17){DA(q+136|0);if(o){c[q+8>>2]=((j<<16>>16)+(n<<16>>16)|0)/2|0;jN(316440,q+8|0);oY(p)}f=LY(p,((j<<16>>16)+(n<<16>>16)|0)/2|0)|0;if(!f)if(o){jN(316480,q+8|0);d=p}else d=p;else{if(o){jN(316464,q+8|0);oY(p);oY(f)}wA(a+220|0,f)}wA(a+220|0,p);pA(q+136|0)}else if((g|0)==26)if(o){n=b[f+10>>1]|0;o=b[f+12>>1]|0;p=b[f+14>>1]|0;c[q+8>>2]=b[f+8>>1];c[q+12>>2]=n;c[q+16>>2]=o;c[q+20>>2]=p;jN(316504,q+8|0)}GT(q+108|0)}jA(q+220|0);i=q;return}function WW(d){d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=i;i=i+224|0;bA(q+120|0,d+220|0);cA(q+120|0);while(1){p=dA(q+120|0)|0;if(!p)break;if(DX(p)|0)continue;g=c[(c[d+212>>2]|0)+(c[q+160>>2]<<2)>>2]|0;f=e[p+16>>1]|e[p+18>>1]<<16;h=e[p+20>>1]|e[p+22>>1]<<16;c[q>>2]=f;c[q+4>>2]=h;o=xT(1,f<<16>>16,f>>16)|0;if(o){jN(316568,q+8|0);oY(p)}j=((b[p+18>>1]|0)+(b[p+22>>1]|0)|0)/2|0;f=D_(g,f<<16>>16,j)|0;n=_Ga(h|0,0,16)|0;if(!((f|0)!=0&(D_(g,n>>16,j)|0)==(f|0))){if(!o)continue;jN(316600,q+8|0);continue}n=(CX(f,j)|0)&65535;b[q>>1]=n;j=(BX(f,j)|0)&65535;b[q+4>>1]=j;bA(q+16|0,d+220|0);a[q+60>>0]=1;EX(q+16|0,q);m=0;a:while(1){h=FX(q+16|0)|0;if(!h)break;if((h|0)==(p|0)){l=m;m=l;continue}if(DX(h)|0){l=m;m=l;continue}if(o){jN(316624,q+8|0);oY(h)}g=b[h+20>>1]|0;if(g<<16>>16>16){l=m;m=l;continue}f=b[h+16>>1]|0;if(f<<16>>16>j<<16>>16){l=m;m=l;continue}if(GX(c[p+24>>2]|0,c[p+28>>2]|0,c[h+24>>2]|0,c[h+28>>2]|0)|0?HX(c[p+48>>2]|0,c[h+48>>2]|0)|0:0){if((f<<16>>16|0)>(c[p+12>>2]|0)?(b[p+20>>1]|0)<(c[h+8>>2]|0):0){l=m;m=l;continue}k=b[p+16>>1]|0;if((g<<16>>16|0)<(c[p+8>>2]|0)?(k<<16>>16|0)>(c[h+12>>2]|0):0){l=m;m=l;continue}r=b[p+20>>1]|0;l=c[d+136>>2]|0;do if(!(+(((k<<16>>16>16?f:k)<<16>>16)-((r<<16>>16>g<<16>>16?g:r)<<16>>16)|0)<+(l|0)*.5)?((kl(p+16|0)|0)<<16>>16|0)>=(l|0):0){if(((kl(h+16|0)|0)<<16>>16|0)<(l|0))break;if(!o){r=m;m=r;continue a}jN(316704,q+8|0);r=m;m=r;continue a}while(0);if(o){jN(316664,q+8|0);oY(p);oY(h)}DA(q+16|0);if(!m){DA(q+120|0);pA(q+16|0)}FY(p,h,c[d+84>>2]|0);m=1;continue}if(!o){r=m;m=r;continue}jN(316736,q+8|0);r=m;m=r}if(m){wA(d+220|0,p);pA(q+120|0)}jA(q+100|0)}jA(q+204|0);i=q;return}function XW(b,d){b=b|0;d=d|0;var f=0,g=0,j=0.0,l=0,m=0,n=0,o=0,p=0,q=0;o=i;i=i+160|0;pk(o+128|0,d+12|0);rk(o+128|0);if(!(sk(o+128|0)|0))do{l=tk(o+128|0)|0;if(!(c[l+84>>2]|0)){f=e[l+8>>1]|e[l+10>>1]<<16;m=e[l+12>>1]|e[l+14>>1]<<16;c[o>>2]=f;c[o+4>>2]=m;f=xT(2,f<<16>>16,f>>16)|0;m=c[b+4>>2]|0;VV(o,m,m);bA(o+24|0,b+220|0);a[o+68>>0]=1;EX(o+24|0,o);m=0;n=0;a:while(1){do{g=FX(o+24|0)|0;if(!g)break a}while(DX(g)|0);q=G7(b+276|0,l+8|0,g,c[b+292>>2]|0,f)|0;p=(n|0)==0|(q|0)<(m|0);m=p?q:m;n=p?g:n}if((n|0)!=0?(j=+(c[n+32>>2]|0)*1.5,+(m|0)>2]=m;h[k>>3]=j;c[o+12>>2]=c[k>>2];c[o+16>>2]=c[k+4>>2];jN(316784,o+8|0);jv(l+8|0);jN(316832,o+8|0);oY(n)}oA(b+220|0,n);ZX(n,l);wA(b+220|0,n);c[l+84>>2]=n;c[l+44>>2]=c[n+52>>2];c[l+40>>2]=c[n+48>>2]}else c[l+40>>2]=0;jA(o+108|0)}OL(o+128|0)|0}while(!(sk(o+128|0)|0));iba(d);i=o;return}function YW(d){d=d|0;var e=0,f=0,g=0;g=i;i=i+144|0;Lk(g+104|0,d+268|0);Mk(g+104|0);if(!((Nk(g+104|0)|0)<<24>>24))do{IX(g+136|0,Ok(g+104|0)|0);f=eY(1,d+32|0,b[g+136>>1]|0,b[g+138>>1]|0,b[g+140>>1]|0,b[g+142>>1]|0)|0;c[f+72>>2]=12;bA(g,d+220|0);a[g+44>>0]=1;EX(g,g+136|0);while(1){e=FX(g)|0;if(!e){e=6;break}if(((c[e+72>>2]|0)+-9|0)>>>0<3){e=7;break}}if((e|0)==6)wA(d+220|0,f);else if((e|0)==7?(0,(f|0)!=0):0){cY(f);YEa(f)}jA(g+84|0);VL(g+104|0)}while((Nk(g+104|0)|0)<<24>>24==0);i=g;return}function ZW(d){d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+144|0;Lk(j+104|0,d+76|0);Mk(j+104|0);if(!((Nk(j+104|0)|0)<<24>>24))do{g=Ok(j+104|0)|0;if((c[g+40>>2]|0)==5){f=b[g+8>>1]|0;h=b[g+12>>1]|0;e=f<<16>>16>h<<16>>16?h:f;f=((f<<16>>16>16?h:f)<<16>>16)+(c[g+32>>2]|0)|0;do if((e<<16>>16|0)==(f|0))if(e<<16>>16>0){h=(e<<16>>16)+-1|0;f=e<<16>>16;break}else{h=e<<16>>16;f=(e<<16>>16)+1|0;break}else h=e<<16>>16;while(0);f=eY(2,d+32|0,h,b[g+10>>1]|0,f,b[g+14>>1]|0)|0;c[f+72>>2]=13;bA(j,d+220|0);a[j+44>>0]=1;EX(j,f+16|0);while(1){e=FX(j)|0;if(!e){e=11;break}if(((c[e+72>>2]|0)+-9|0)>>>0<3){e=12;break}}if((e|0)==11)wA(d+220|0,f);else if((e|0)==12?(0,(f|0)!=0):0){cY(f);YEa(f)}jA(j+84|0)}VL(j+104|0)}while((Nk(j+104|0)|0)<<24>>24==0);i=j;return}function _W(a){a=a|0;var b=0,d=0;d=i;i=i+112|0;bA(d,a+220|0);cA(d);while(1){b=dA(d)|0;if(!b)break;NY(b,c[a+36>>2]|0,c[(c[a+212>>2]|0)+(c[d+40>>2]<<2)>>2]|0)}jA(d+84|0);i=d;return}function $W(d){d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+160|0;Lk(m+120|0,d+268|0);Mk(m+120|0);if(!((Nk(m+120|0)|0)<<24>>24))do{e=Ok(m+120|0)|0;if(!(a[e+38>>0]|0)){IX(m+8|0,e);j=c[m+12>>2]|0;c[m>>2]=c[m+8>>2];c[m+4>>2]=j;VV(m,0,(ll(m+8|0)|0)<<16>>16);bA(m+16|0,d+220|0);a[m+60>>0]=1;EX(m+16|0,m);j=b[m+6>>1]|0;h=b[m+10>>1]|0;e=0;k=0;a:while(1){b:while(1){while(1){f=FX(m+16|0)|0;if(!f){l=14;break a}g=c[f+72>>2]|0;if((g|0)==6)break a;if(Zj(g)|0){g=c[f+24>>2]|0;if((h<<16>>16|0)>(g|0))continue;else break b}else if((c[f+48>>2]|0)==1)break;else continue}g=sP(m+8|0,f+16|0)|0;e=g?f:e}k=k|(g|0)<=(j|0)}if((l|0)==14?(l=0,!((e|0)==0|k^1)):0){oA(d+220|0,e);cY(e);YEa(e)}jA(m+100|0)}VL(m+120|0)}while((Nk(m+120|0)|0)<<24>>24==0);i=m;return}function aX(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+112|0;bA(e+8|0,a+220|0);cA(e+8|0);while(1){b=dA(e+8|0)|0;if(!b)break;d=EY(b,1)|0;if(!d){if(!(EY(b,0)|0))continue;bZ(b,(UL((c[(c[a+212>>2]|0)+(c[e+48>>2]<<2)>>2]|0)+4|0)|0)<<1|1);continue}do if((EY(d,0)|0)!=(b|0)){c[e>>2]=CL(b+84|0)|0;jN(316848,e);oY(b);c[e>>2]=CL(d+88|0)|0;jN(316880,e);oY(d);jN(316920,e);if(!(EY(d,0)|0)){jN(316952,e);break}else{oY(EY(d,0)|0);break}}while(0);if((EY(d,0)|0)==(b|0))continue;c[e>>2]=315760;c[e+4>>2]=1379;$L(315040,357600,2,1702e3,e)}jA(e+92|0);i=e;return}function bX(a,b){a=a|0;b=b|0;JX(b+4|0);JX(b+16|0);JX(b+12|0);JX(b+20|0);JX(a+264|0);return}function cX(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+192|0;c[k+176>>2]=0;Lk(k+148|0,a+260|0);c[k+144>>2]=0;bA(k+40|0,a+220|0);cA(k+40|0);g=0;e=-1;while(1){j=dA(k+40|0)|0;if(!j)break;f=c[k+80>>2]|0;if((f|0)==(e|0))h=e;else{qX(a,k+144|0,k+176|0);h=f}e=c[(c[a+212>>2]|0)+(f<<2)>>2]|0;if((e|0)!=(g|0)){if(!e){c[k>>2]=315760;c[k+4>>2]=1451;$L(315040,316960,2,1702e3,k)}P_(e,a+20|0,a+24|0,c[a+36>>2]|0,a+252|0,k+176|0);if(c[77789]|0){f=c[k+80>>2]|0;g=ba(c[a+4>>2]|0,f)|0;c[k>>2]=f;c[k+4>>2]=g;jN(316984,k)}}else e=g;if((c[j+72>>2]|0)==14){ov(k+148|0,j);g=e;e=h;continue}else{pX(j,k+144|0);g=e;e=h;continue}}qX(a,k+144|0,k+176|0);pk(k+8|0,k+176|0);while(1){if(vk(k+8|0)|0)break;e=pv(k+8|0)|0;faa(e,a+20|0,a+24|0,c[a+36>>2]|0,a+252|0,b,d);if(e){KX(e);YEa(e)}OL(k+8|0)|0}jA(k+124|0);BL(k+144|0);KL(k+176|0,239);i=k;return}function dX(d,e,f){d=d|0;e=e|0;f=f|0;var g=0.0,h=0,j=0,k=0,l=0;k=i;i=i+112|0;if(e){h=c[d+152>>2]|0;j=c[d+156>>2]|0;l=c[d+164>>2]|0;c[d+152>>2]=c[d+160>>2];c[d+156>>2]=l;c[d+160>>2]=h;c[d+164>>2]=j}pk(k+80|0,f);rk(k+80|0);if(!(sk(k+80|0)|0)){j=1;do{f=tk(k+80|0)|0;h=c[f+24>>2]|0;if(e)vfa(h);tfa(h,d+160|0);a[h+29>>0]=e&1;l=c[d+164>>2]|0;c[h+84>>2]=c[d+160>>2];c[h+88>>2]=l;c[h+24>>2]=j;j=j+1|0;rX(k+72|0,d,h);Aka(k+56|0,0,(kl(h+16|0)|0)<<16>>16);Aka(k+40|0,0,(ll(h+16|0)|0)<<16>>16);LX(k+72|0,f+4|0,k+56|0,k+40|0);Lk(k+8|0,f+92|0);Mk(k+8|0);while(1){if((Nk(k+8|0)|0)<<24>>24)break;LX(k+72|0,(Ok(k+8|0)|0)+120|0,k+56|0,k+40|0);VL(k+8|0)}g=+Mka(k+56|0);f=~~(+Mka(k+40|0)+.5);b[h+92>>1]=~~(g+.5);b[h+94>>1]=f;if((c[77789]|0)>1){c[k>>2]=~~(g+.5)<<16>>16;c[k+4>>2]=f<<16>>16;jN(317032,k)}Eka(k+40|0);Eka(k+56|0);OL(k+80|0)|0}while(!(sk(k+80|0)|0))}i=k;return}function eX(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a+164>>2]|0;c[d>>2]=c[a+160>>2];c[d+4>>2]=e;d=c[a+164>>2]|0;c[b>>2]=c[a+160>>2];c[b+4>>2]=d;g[b+4>>2]=-(c[k>>2]=d,+g[k>>2]);return}function fX(a,b){a=a|0;b=b|0;c[a+300>>2]=b;return}function gX(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;d=c[a+192>>2]|0;c[e>>2]=d;c[e+4>>2]=b;jN(315968,e);if((c[77789]|0)>2&(d|0)>0){b=0;do{I_(c[(AX(a+192|0,b)|0)>>2]|0);b=b+1|0}while((b|0)!=(d|0))}i=e;return}function hX(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+32|0;tX(j+8|0);MX(j+8|0,d);h=(b|0)==(d|0)?j+8|0:b;e=c[j+8>>2]|0;f=1;while(1){if((e|0)>0){g=0;do{b=c[(AX(j+8|0,g)|0)>>2]|0;if(!b){c[j>>2]=315760;c[j+4>>2]=644;$L(315040,315936,2,1702e3,j)}b=M_(b,f)|0;if(b){F_(b,c[a+84>>2]|0,h);H_(b,d,c[a+84>>2]|0)}g=g+1|0}while((g|0)<(e|0))}if(c[d>>2]|0){b=11;break}if(f)f=f^1;else{b=10;break}}if((b|0)==10)MX(d,j+8|0);else if((b|0)==11)wX(j+8|0);vX(j+8|0);i=j;return}function iX(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;t=i;i=i+32|0;s=c[e>>2]|0;if((s|0)!=(c[d+12>>2]|0)){c[t>>2]=315760;c[t+4>>2]=682;$L(315040,315984,2,1702e3,t)}j=s>>>0>1073741823?-1:s<<2;f=XEa(j)|0;c[d+212>>2]=f;a:do if((s|0)>0){g=0;while(1){c[f+(g<<2)>>2]=0;g=g+1|0;if((g|0)==(s|0))break a;f=c[d+212>>2]|0}}while(0);n=c[d+192>>2]|0;q=XEa((s|0)>-1?s:-1)|0;r=XEa(j)|0;p=XEa(j)|0;if((s|0)>0){h=n>>>0>1073741823?-1:n<<2;m=0;do{g=c[(AX(e,m)|0)>>2]|0;if(g)j=xT(2,b[g+20>>1]|0,b[g+22>>1]|0)|0;else j=0;f=p+(m<<2)|0;c[f>>2]=XEa(h)|0;k=q+m|0;a[k>>0]=0;c[r+(m<<2)>>2]=2147483647;if((n|0)>0){l=0;do{if((g|0)!=0?(u=c[(AX(d+192|0,l)|0)>>2]|0,K_(u,j,g,c[d+84>>2]|0)|0):0){u=L_(c[(AX(d+192|0,l)|0)>>2]|0,g)|0;c[(c[f>>2]|0)+(l<<2)>>2]=u;a[k>>0]=1}else o=16;if((o|0)==16?(o=0,c[(c[f>>2]|0)+(l<<2)>>2]=2147483647,j):0){c[t>>2]=l;c[t+4>>2]=m;c[t+8>>2]=g;jN(316016,t)}l=l+1|0}while((l|0)!=(n|0))}m=m+1|0}while((m|0)!=(s|0))}if(kX(d,s,q,t+16|0,t+12|0)|0){f=0;do{h=c[t+16>>2]|0;g=c[t+12>>2]|0;if((c[77789]|0)>1){c[t>>2]=h;c[t+4>>2]=g;jN(316064,t)}j=lX(c[d+192>>2]|0,p,r,h,g)|0;if((c[77789]|0)>1){c[t>>2]=j;jN(316104,t);I_(c[(AX(d+192|0,j)|0)>>2]|0)}mX(p,r,q,j,t+16|0,t+12|0);if((c[77789]|0)>1){h=c[t+12>>2]|0;c[t>>2]=c[t+16>>2];c[t+4>>2]=h;jN(316136,t)}else h=c[t+12>>2]|0;nX(p,r,q,j,-1,-1,t+16|0);c[t+12>>2]=h+-1;nX(p,r,q,j,1,s,t+12|0);g=(c[t+12>>2]|0)+1|0;c[t+12>>2]=g;h=c[t+16>>2]|0;if(c[77789]|0){c[t>>2]=j;c[t+4>>2]=h;c[t+8>>2]=g;jN(316160,t)}oX(d,j,h,g,p,r);f=(B_(c[(AX(d+192|0,j)|0)>>2]|0)|0)>1|f}while(kX(d,s,q,t+16|0,t+12|0)|0)}else f=0;if(!(c[c[d+212>>2]>>2]|0))oX(d,0,0,c[d+12>>2]|0,p,r);if((s|0)>0){h=0;do{g=c[p+(h<<2)>>2]|0;if(g)ZEa(g);h=h+1|0}while((h|0)!=(s|0))}ZEa(r);ZEa(q);ZEa(p);i=t;return f|0}function jX(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+32|0;c[g+20>>2]=0;c[g+16>>2]=0;c[g+12>>2]=0;c[g+8>>2]=0;do if((c[a+12>>2]|0)>0){d=0;do{e=c[(c[a+212>>2]|0)+(d<<2)>>2]|0;if(!e){c[g>>2]=315760;c[g+4>>2]=942;$L(315040,316336,2,1702e3,g);e=c[(c[a+212>>2]|0)+(d<<2)>>2]|0}Q_(e,g+16|0,g+8|0,g+20|0,g+12|0);d=d+1|0}while((d|0)<(c[a+12>>2]|0));d=c[g+12>>2]|0;if((d|0)>0&b){d=(c[g+20>>2]|0)/(d|0)|0;break}else{d=c[g+16>>2]|0;e=c[g+8>>2]|0;f=9;break}}else{d=0;e=0;f=9}while(0);if((f|0)==9)d=(d|0)/(e|0)|0;c[a+136>>2]=d;i=g;return}function kX(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;c[g>>2]=e;c[h>>2]=e;o=e;p=0;i=0;a:while(1){n=c[b+12>>2]|0;do{if((i|0)>=(n|0))break a;b:do if((i|0)<(e|0)){j=c[b+212>>2]|0;while(1){if((c[j+(i<<2)>>2]|0)==0?(a[f+i>>0]|0)!=0:0){m=1;l=i;break b}i=i+1|0;if((i|0)>=(e|0)){m=0;l=i;break}}}else{m=0;l=i}while(0);i=l+1|0;c:do if((i|0)<(e|0)){k=c[b+212>>2]|0;j=1;do{if(c[k+(i<<2)>>2]|0)break c;j=(d[f+i>>0]|0)+j|0;i=i+1|0}while((i|0)<(e|0))}else j=1;while(0)}while(!(m&(j|0)>(p|0)));c[g>>2]=l;c[h>>2]=i;o=i;p=j}return (c[g>>2]|0)<(o|0)|0}function lX(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+32|0;Aka(k+8|0,0,a);if((e|0)<(f|0))do{if((a|0)>0){g=b+(e<<2)|0;h=d+(e<<2)|0;j=0;do{if((c[(c[g>>2]|0)+(j<<2)>>2]|0)<(c[h>>2]|0))Fka(k+8|0,j,1);j=j+1|0}while((j|0)!=(a|0))}e=e+1|0}while((e|0)!=(f|0));if((c[k+16>>2]|0)<=0){c[k>>2]=315760;c[k+4>>2]=828;$L(315040,316208,2,1702e3,k)}a=Gka(k+8|0)|0;Eka(k+8|0);i=k;return a|0}function mX(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=c[g>>2]|0;m=c[h>>2]|0;c[g>>2]=m;c[h>>2]=m;a:do if((i|0)<(m|0)){o=0;while(1){while(1){b:do if((i|0)<(m|0))while(1){if((c[(c[b+(i<<2)>>2]|0)+(f<<2)>>2]|0)<(c[d+(i<<2)>>2]|0)){l=1;j=i;break b}j=i+1|0;if(!(a[e+i>>0]|0)){l=1;j=i;break b}if((j|0)<(m|0))i=j;else{l=0;break}}else{l=0;j=i}while(0);i=j+1|0;c:do if((i|0)<(m|0)){k=c[d+(j<<2)>>2]|0;do{if((c[(c[b+(i<<2)>>2]|0)+(f<<2)>>2]|0)>=(k|0)?(a[e+i>>0]|0)!=0:0)break c;i=i+1|0}while((i|0)<(m|0))}while(0);if(l?(n=i-j|0,(n|0)>(o|0)):0)break;if((i|0)>=(m|0))break a}c[g>>2]=j;c[h>>2]=i;if((i|0)<(m|0))o=n;else break}}while(0);return}function nX(b,e,f,g,h,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((c[77789]|0)>2){c[p>>2]=c[k>>2];c[p+4>>2]=h;c[p+8>>2]=j;jN(316240,p)}l=c[k>>2]|0;a:do if((l|0)!=(j|0)){while(1){m=l+h|0;b:do if((m|0)==(j|0)){m=1;n=l;o=0;l=j}else{n=l;o=0;l=m;while(1){if((c[(c[b+(l<<2)>>2]|0)+(g<<2)>>2]|0)<(c[e+(l<<2)>>2]|0)){m=0;break b}o=(d[f+l>>0]|0)+o|0;m=l+h|0;if((m|0)==(j|0)){m=1;n=l;l=j;break}else{n=l;l=m}}}while(0);if((c[77789]|0)>2){c[p>>2]=l;c[p+4>>2]=o;jN(316288,p)}if((o|0)>2)break a;if(m)break;else n=1;c:while(1){while(1){m=l+h|0;if((m|0)==(j|0)){m=j;break c}if((c[(c[b+(m<<2)>>2]|0)+(g<<2)>>2]|0)<(c[e+(m<<2)>>2]|0))break;if(!(a[f+m>>0]|0))l=m;else break c}n=n+1|0;l=m}if((c[77789]|0)>2){c[p>>2]=m;c[p+4>>2]=n;jN(316312,p)}if((n|0)<(o|0))break a;c[k>>2]=l}c[k>>2]=n}while(0);i=p;return}function oX(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=c[(AX(a+192|0,b)|0)>>2]|0;if((d|0)<(e|0))do{c[g+(d<<2)>>2]=c[(c[f+(d<<2)>>2]|0)+(b<<2)>>2];c[(c[a+212>>2]|0)+(d<<2)>>2]=h;d=d+1|0}while((d|0)!=(e|0));return}function pX(a,d){a=a|0;d=d|0;var e=0,f=0;f=i;i=i+32|0;e=((b[a+18>>1]|0)+(b[a+22>>1]|0)|0)/2|0;fA(f,d);gA(f);a:do if(!((hA(f)|0)<<24>>24))do{d=iA(f)|0;if((c[a+72>>2]|0)!=14?(c[d+72>>2]|0)!=14:0){if((d|0)==(EY(a,0)|0))break a;if((((c[d+28>>2]|0)+(c[d+24>>2]|0)|0)/2|0|0)<(e|0))break a}DL(f)|0}while((hA(f)|0)<<24>>24==0);while(0);if(!((hA(f)|0)<<24>>24))PC(f,a);else JC(f,a);i=f;return}function qX(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;fA(e,b);if(!((aB(e)|0)<<24>>24))do{b=ZA(e)|0;SY(b,a+20|0,a+24|0,c[a+36>>2]|0,a+252|0,d);DL(e)|0}while((aB(e)|0)<<24>>24==0);i=e;return}function rX(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,j=0.0,l=0.0,m=0.0,n=0,o=0,p=0.0,q=0.0,r=0.0;o=i;i=i+64|0;f=c[b+184>>2]|0;j=+g[b+188>>2];g[o+8>>2]=1.0;g[o+12>>2]=0.0;if((c[(c[d+4>>2]|0)+12>>2]|0)==7){if(+g[b+176>>2]==0.0)e=b+176|0;else{g[o>>2]=0.0;g[o+4>>2]=-1.0;e=o}n=e;f=c[n>>2]|0;n=c[n+4>>2]|0;c[o+8>>2]=f;c[o+12>>2]=n;tfa(d,o+8|0);l=(c[k>>2]=f,+g[k>>2]);m=(c[k>>2]=n,+g[k>>2]);j=0.0;n=1065353216}else{l=1.0;m=0.0;n=f}r=+g[b+168>>2];q=+g[b+172>>2];p=r*m+l*q;g[o+12>>2]=p;g[o+8>>2]=l*r-m*q;e=c[o+12>>2]|0;c[a>>2]=c[o+8>>2];c[a+4>>2]=e;g[o+12>>2]=-p;e=c[o+8>>2]|0;f=c[o+12>>2]|0;c[d+68>>2]=e;c[d+72>>2]=f;m=+j;c[d+76>>2]=n;g[d+80>>2]=m;if(c[77789]|0){b=c[(c[d+4>>2]|0)+12>>2]|0;p=(c[k>>2]=e,+g[k>>2]);q=(c[k>>2]=f,+g[k>>2]);r=(c[k>>2]=n,+g[k>>2]);c[o+16>>2]=c[d+24>>2];c[o+20>>2]=b;h[k>>3]=p;c[o+24>>2]=c[k>>2];c[o+28>>2]=c[k+4>>2];h[k>>3]=q;c[o+32>>2]=c[k>>2];c[o+36>>2]=c[k+4>>2];h[k>>3]=r;c[o+40>>2]=c[k>>2];c[o+44>>2]=c[k+4>>2];h[k>>3]=j;c[o+48>>2]=c[k>>2];c[o+52>>2]=c[k+4>>2];jN(317064,o+16|0);jv(d+16|0)}i=o;return}function sX(){c[78760]=1701984;c[78762]=389976;c[78764]=390024;c[78766]=390056;c[78768]=390112;c[78770]=390152;c[78772]=390184;c[78774]=390240;c[78776]=390280;c[78778]=390328;c[78780]=390376;c[78782]=390400;c[78784]=390432;c[78786]=390504;c[78788]=390552;c[78790]=390592;c[78792]=390640;Wk(315176,0,315192,315232,0,kM()|0);Wk(315256,0,315272,315312,0,kM()|0);rJ(315344,0,315368,315400,0,kM()|0);Wk(315440,0,315456,315488,0,kM()|0);Wk(315512,0,315528,315560,0,kM()|0);Wk(315584,1,315600,315632,0,kM()|0);return}function tX(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;NX(a,4);return}function uX(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;if(!b)$L(315080,317224,2,0,k);if(!(c[b>>2]|0))$L(315072,317224,2,0,k);if(!d)$L(315128,317224,2,320032,k);e=c[d>>2]|0;if(e){j=c[b>>2]|0;f=c[j>>2]|0;do if(f){g=c[b+8>>2]|0;h=c[e+4>>2]|0;if(!g){f=c[b+4>>2]|0;c[f+4>>2]=h;c[h>>2]=f;if(a[b+16>>0]|0){c[j>>2]=e;a[b+16>>0]=0;e=c[d>>2]|0}j=c[b+12>>2]|0;c[e+4>>2]=j;c[j>>2]=e;c[b+12>>2]=c[f+4>>2];break}else{c[g+4>>2]=h;c[h>>2]=g;if((g|0)==(f|0)){c[j>>2]=e;e=c[d>>2]|0}j=c[b+12>>2]|0;c[e+4>>2]=j;c[j>>2]=e;c[b+12>>2]=c[g+4>>2];break}}else{c[j>>2]=e;c[b+4>>2]=e;c[b+12>>2]=c[e+4>>2];a[b+16>>0]=1;c[b+8>>2]=0}while(0);c[d>>2]=0}i=k;return}function vX(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function wX(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){A_(d);YEa(d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0))}return}function xX(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;iV(a,b,d,e);b=c[a+28>>2]|0;if(b){d=c[b+-4>>2]|0;if(d){d=b+(d<<2)|0;do{d=d+-4|0;BL(d)}while((d|0)!=(b|0))}ZEa(b+-4|0)}b=c[a+16>>2]|0;d=XEa(b>>>0>1073741823|b<<2>>>0>4294967291?-1:(b<<2)+4|0)|0;c[d>>2]=b;if(b)YGa(d+4|0,0,b<<2|0)|0;c[a+28>>2]=d+4;return}function yX(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+64|0;b=ba(c[a+12>>2]|0,c[a+8>>2]|0)|0;if((b|0)>0)do{b=b+-1|0;fA(e+36|0,(c[a+28>>2]|0)+(b<<2)|0);if(!((kA(e+36|0)|0)<<24>>24))do{d=iA(e+36|0)|0;c[e+8>>2]=c[e+36>>2];c[e+12>>2]=c[e+40>>2];c[e+16>>2]=c[e+44>>2];c[e+20>>2]=c[e+48>>2];c[e+24>>2]=c[e+52>>2];c[e+28>>2]=c[e+56>>2];c[e+32>>2]=c[e+60>>2];DL(e+8|0)|0;if(!((OC(e+8|0)|0)<<24>>24))do{if((iA(e+8|0)|0)==(d|0)){c[e>>2]=317200;c[e+4>>2]=650;$L(315040,317176,2,1702e3,e)}DL(e+8|0)|0}while((OC(e+8|0)|0)<<24>>24==0);DL(e+36|0)|0}while((kA(e+36|0)|0)<<24>>24==0)}while((b|0)>0);i=e;return}function zX(a){a=a|0;var b=0;b=i;i=i+32|0;pk(b,a);rk(b);if(!(sk(b)|0))do{Eaa(tk(b)|0);OL(b)|0}while(!(sk(b)|0));i=b;return}function AX(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if(!((b|0)>-1?(c[a>>2]|0)>(b|0):0)){c[d>>2]=1701680;c[d+4>>2]=657;$L(315040,1701640,2,1702e3,d)}i=d;return (c[a+8>>2]|0)+(b<<2)|0}function BX(a,b){a=a|0;b=b|0;return OX(a+80|0,c[a+68>>2]|0,b)|0}function CX(a,b){a=a|0;b=b|0;return OX(a+80|0,c[a+64>>2]|0,b)|0}function DX(a){a=a|0;if(((c[a+48>>2]|0)+-1|0)>>>0<4)a=1;else a=(c[a+72>>2]|0)==14;return a|0}function EX(a,d){a=a|0;d=d|0;var f=0,g=0;g=e[d>>1]|e[d+2>>1]<<16;f=e[d+4>>1]|e[d+6>>1]<<16;b[a+28>>1]=g;b[a+30>>1]=g>>>16;b[a+32>>1]=f;b[a+34>>1]=f>>>16;TA(a,b[d>>1]|0,b[d+6>>1]|0);lV(c[a>>2]|0,b[d+4>>1]|0,b[d+2>>1]|0,a+12|0,a+8|0);return}function FX(b){b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;while(1)if(!((hA(b+56|0)|0)<<24>>24)){VA(b);d=c[b+48>>2]|0;if(!(DD(b+28|0,d+16|0)|0))continue;if(!(a[b+44>>0]|0)){e=12;break}fB(f,b+84|0,d);if(!(c[f>>2]|0)){e=10;break}else continue}else{e=c[b+36>>2]|0;c[b+36>>2]=e+1;if((e|0)>=(c[b+12>>2]|0)?(e=c[b+40>>2]|0,c[b+40>>2]=e+-1,c[b+36>>2]=c[b+4>>2],(e|0)<=(c[b+8>>2]|0)):0){e=5;break}UA(b);continue}if((e|0)==5){c[b+48>>2]=0;c[b+52>>2]=0;d=0}else if((e|0)==10)if(!(a[b+44>>0]|0))e=12;else{gB(f+8|0,b+84|0,b+48|0);e=12}if((e|0)==12)d=c[b+48>>2]|0;i=f;return d|0}function GX(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ((((b|0)>(d|0)?d:b)-((a|0)<(c|0)?c:a)|0)*3|0)>(((b-a|0)>(d-c|0)?d-c|0:b-a|0)|0)|0}function HX(a,b){a=a|0;b=b|0;return PX(a,b)|0}function IX(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=b[d+10>>1]|0;g=b[d+14>>1]|0;f=e<<16>>16>g<<16>>16?g:e;e=((e<<16>>16>16?g:e)<<16>>16)+(c[d+32>>2]|0)|0;do if((e|0)==(f<<16>>16|0))if(f<<16>>16>0){g=(f<<16>>16)+-1|0;e=f<<16>>16;break}else{g=f<<16>>16;e=(f<<16>>16)+1|0;break}else g=f<<16>>16;while(0);$ia(a,b[d+8>>1]|0,g&65535,b[d+12>>1]|0,e&65535);return}function JX(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;pk(d,a);if(!(vk(d)|0))do{a=pv(d)|0;if(!(c[a+84>>2]|0)){b=c[a+4>>2]|0;if(b){KL(b+4|0,230);YEa(b)}if(a){QX(a);YEa(a)}}OL(d)|0}while(!(vk(d)|0));i=d;return}function KX(a){a=a|0;KL(a+48|0,233);KL(a+44|0,222);TL(a+12|0,238);return}function LX(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,j=0;h=i;i=i+64|0;pk(h+28|0,b);rk(h+28|0);if(!(sk(h+28|0)|0))do{b=tk(h+28|0)|0;f=c[b+4>>2]|0;pk(h,f+4|0);j=c[f+4>>2]|0;if((j|0)!=0?(j|0)==(c[j>>2]|0):0){if(+g[a>>2]!=1.0?1:+g[a+4>>2]!=0.0)kla(f,a);SX(b);Fka(d,(kl(b+8|0)|0)<<16>>16,1);Fka(e,(ll(b+8|0)|0)<<16>>16,1)}else{if(!(vk(h)|0))do{Pv(h+28|0,RX(pv(h)|0)|0);OL(h)|0}while(!(vk(h)|0));pv(h+28|0)|0;if(f){KL(f+4|0,230);YEa(f)}if(b){QX(b);YEa(b)}}OL(h+28|0)|0}while(!(sk(h+28|0)|0));i=h;return}function MX(a,b){a=a|0;b=b|0;vX(a);c[a+8>>2]=c[b+8>>2];c[a+4>>2]=c[b+4>>2];c[a>>2]=c[b>>2];c[a+16>>2]=c[b+16>>2];c[a+12>>2]=c[b+12>>2];c[b+0>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;return}function NX(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function OX(a,c,d){a=a|0;c=c|0;d=d|0;var e=0;e=b[a+2>>1]|0;if(e<<16>>16)c=((ba(b[a>>1]|0,d)|0)+c|0)/(e<<16>>16|0)|0;return c|0}function PX(a,b){a=a|0;b=b|0;if((a+-1|0)>>>0<2|((a|0)==(b|0)|(a|0)==5|(b|0)==5)^1)a=0;else a=(b+-1|0)>>>0>1;return a|0}function QX(b){b=b|0;var d=0;if((a[b+116>>0]|0)!=0?(d=c[b+4>>2]|0,(d|0)!=0):0){KL(d+4|0,230);YEa(d)}return}function RX(a){a=a|0;var b=0;b=WEa(8)|0;cla(b,a);a=WEa(120)|0;TX(a,b);return a|0}function SX(a){a=a|0;var d=0,e=0,f=0,g=0;d=i;i=i+16|0;fla(d,c[a+4>>2]|0);f=c[d>>2]|0;e=c[d+4>>2]|0;b[a+8>>1]=f;b[a+10>>1]=f>>>16;b[a+12>>1]=e;b[a+14>>1]=e>>>16;g=UGa(f|0,e|0,48)|0;b[a+56>>1]=g;e=UGa(f|0,e|0,16)|0;b[a+58>>1]=e;b[a+60>>1]=e;i=d;return}function TX(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=i;i=i+16|0;c[a>>2]=0;b[a+8>>1]=32767;b[a+10>>1]=32767;b[a+12>>1]=-32767;b[a+14>>1]=-32767;b[a+16>>1]=32767;b[a+18>>1]=32767;b[a+20>>1]=-32767;b[a+22>>1]=-32767;fla(e,d);g=c[e>>2]|0;f=c[e+4>>2]|0;b[a+8>>1]=g;b[a+10>>1]=g>>>16;b[a+12>>1]=f;b[a+14>>1]=f>>>16;UX(a);c[a+4>>2]=d;d=gla(d)|0;c[a+24>>2]=c[a+24>>2]&-1073741824|d&1073741823;i=e;return}function UX(b){b=b|0;c[b+4>>2]=0;a[b+116>>0]=0;c[b+24>>2]=c[b+24>>2]&-1073741824;g[b+80>>2]=0.0;g[b+72>>2]=0.0;g[b+76>>2]=0.0;VX(b);return}function VX(a){a=a|0;var d=0,e=0;d=c[a+24>>2]|0;c[a+24>>2]=d&1073741823;c[a+28>>2]=0;c[a+32>>2]=0;c[a+36>>2]=0;c[a+40>>2]=5;c[a+44>>2]=0;c[a+88>>2]=5;b[a+48>>1]=0;b[a+50>>1]=0>>>16;b[a+52>>1]=0;b[a+54>>1]=0>>>16;if((+g[a+80>>2]==0.0?(d<<2|0)>0:0)?(e=c[a+4>>2]|0,(e|0)!=0):0)g[a+80>>2]=+(d<<2>>2|0)*2.0/+(hla(e)|0);c[a+84>>2]=0;b[a+56>>1]=b[a+14>>1]|0;e=b[a+10>>1]|0;b[a+58>>1]=e;b[a+60>>1]=e;c[a+64>>2]=0;c[a+68>>2]=0;c[a+92>>2]=0;c[a+96>>2]=0;c[a+100>>2]=0;c[a+104>>2]=0;c[a+108>>2]=0;c[a+112>>2]=0;return}function WX(a){a=a|0;if(a){cY(a);YEa(a)}return}function XX(d,f,g){d=d|0;f=f|0;g=g|0;c[d+4>>2]=0;c[d>>2]=0;c[d+8>>2]=-2147483647;c[d+12>>2]=2147483647;b[d+16>>1]=32767;b[d+18>>1]=32767;b[d+20>>1]=-32767;b[d+22>>1]=-32767;c[d+24>>2]=2147483647;c[d+28>>2]=-2147483647;c[d+32>>2]=0;c[d+36>>2]=2147483647;c[d+40>>2]=-2147483647;c[d+44>>2]=0;c[d+48>>2]=f;c[d+52>>2]=0;c[d+56>>2]=0;c[d+60>>2]=0;c[d+64>>2]=0;c[d+68>>2]=0;c[d+72>>2]=0;c[d+76>>2]=0;g=e[g>>1]|e[g+2>>1]<<16;b[d+80>>1]=g;b[d+82>>1]=g>>>16;c[d+84>>2]=0;c[d+88>>2]=0;c[d+92>>2]=0;b[d+96>>1]=0;a[d+98>>0]=0;c[d+100>>2]=-1;c[d+104>>2]=-1;c[d+108>>2]=0;c[d+112>>2]=0;c[d+116>>2]=0;c[d+120>>2]=0;c[d+124>>2]=0;a[d+128>>0]=0;c[d+132>>2]=0;c[d+136>>2]=0;c[d+140>>2]=0;c[d+144>>2]=0;c[d+148>>2]=0;c[d+152>>2]=0;a[d+164>>0]=1;c[d+168>>2]=0;c[d+172>>2]=0;c[d+176>>2]=0;c[d+180>>2]=0;c[d+184>>2]=0;c[d+188>>2]=0;return}function YX(a,d){a=a|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;e=WEa(192)|0;b[f>>1]=0;b[f+2>>1]=1;XX(e,d,f);c[e+72>>2]=0;c[e+52>>2]=1;d=WEa(120)|0;TX(d,ela(a)|0);ZX(e,d);c[e+8>>2]=b[a>>1];c[e+12>>2]=b[a+4>>1];_X(e);$X(e);aY(e);i=f;return e|0}function ZX(d,f){d=d|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+32|0;h=e[f+8>>1]|e[f+10>>1]<<16;j=e[f+12>>1]|e[f+14>>1]<<16;c[k>>2]=h;c[k+4>>2]=j;if(!(CL(d+76|0)|0)){b[d+16>>1]=h;b[d+18>>1]=h>>>16;b[d+20>>1]=j;b[d+22>>1]=j>>>16}else bja(d+16|0,k);g=(a[d+96>>0]|0)!=0;if((c[d+48>>2]&-5|0)==2){if(!g){EL(d+76|0,41);a[d+96>>0]=1}FL(d+76|0,41,f)}else{if(g){EL(d+76|0,38);a[d+96>>0]=0}FL(d+76|0,38,f)}if(!(a[d+62>>0]|0))c[d+64>>2]=pZ(d)|0;if(!(a[d+63>>0]|0))c[d+68>>2]=qZ(d)|0;if(xT(2,h<<16>>16,h>>16)|0){g=_Ga(j|0,0,16)|0;f=b[d+16>>1]|0;d=b[d+20>>1]|0;c[k+8>>2]=h<<16>>16;c[k+12>>2]=h>>16;c[k+16>>2]=g>>16;c[k+20>>2]=j>>16;c[k+24>>2]=f;c[k+28>>2]=d;jN(317296,k+8|0)}i=k;return}function _X(b){b=b|0;var d=0,e=0;e=i;i=i+48|0;if((a[b+164>>0]|0)!=0?(fA(e+8|0,b+76|0),gA(e+8|0),(hA(e+8|0)|0)<<24>>24==0):0)do{d=iA(e+8|0)|0;if((c[d+44>>2]|0)!=6)c[d+44>>2]=c[b+52>>2];c[d+40>>2]=c[b+48>>2];d=c[d+84>>2]|0;if(!((d|0)==0|(d|0)==(b|0))){c[e>>2]=317376;c[e+4>>2]=1288;$L(317256,318488,2,1702e3,e)}DL(e+8|0)|0}while((hA(e+8|0)|0)<<24>>24==0);i=e;return}function $X(d){d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0;h=i;i=i+176|0;b[d+16>>1]=32767;b[d+18>>1]=2147450879>>>16;b[d+20>>1]=-2147385343;b[d+22>>1]=-2147385343>>>16;fA(h+80|0,d+76|0);if(!((aB(h+80|0)|0)<<24>>24)){gA(h+80|0);if(!((hA(h+80|0)|0)<<24>>24)){f=0;do{g=iA(h+80|0)|0;bja(d+16|0,g+8|0);f=((c[g+44>>2]|0)!=6&1)+f|0;DL(h+80|0)|0}while((hA(h+80|0)|0)<<24>>24==0)}else f=0}else{b[d+16>>1]=c[d+8>>2];b[d+20>>1]=c[d+12>>2];b[d+18>>1]=0;b[d+22>>1]=0;f=0}if(!(a[d+62>>0]|0)){g=pZ(d)|0;c[d+64>>2]=g}else g=c[d+64>>2]|0;g=(g|0)<=(pZ(d)|0);if(!(g|(c[77807]|0)==0)){jN(317960,h+8|0);oY(d)}if(!(a[d+63>>0]|0)){g=qZ(d)|0;c[d+68>>2]=g}else g=c[d+68>>2]|0;g=(g|0)>=(qZ(d)|0);if(!(g|(c[77807]|0)==0)){jN(318e3,h+8|0);oY(d)}if(!((aB(h+80|0)|0)<<24>>24)){if(((c[d+72>>2]|0)+-9|0)>>>0>=3?((c[d+48>>2]|0)+-3|0)>>>0>=2:0){Aka(h+48|0,b[d+18>>1]|0,(b[d+22>>1]|0)+1|0);Aka(h+112|0,b[d+18>>1]|0,(b[d+22>>1]|0)+1|0);Aka(h+64|0,0,((ll(d+16|0)|0)<<16>>16)+1|0);Aka(h+128|0,b[d+16>>1]|0,(b[d+20>>1]|0)+1|0);Aka(h+32|0,b[d+16>>1]|0,(b[d+20>>1]|0)+1|0);Aka(h+16|0,0,((kl(d+16|0)|0)<<16>>16)+1|0);gA(h+80|0);f=(f|0)==0;while(1){if((hA(h+80|0)|0)<<24>>24)break;g=iA(h+80|0)|0;if(!(!f?(c[g+44>>2]|0)==6:0)){k=e[g+8>>1]|e[g+10>>1]<<16;j=e[g+12>>1]|e[g+14>>1]<<16;c[h>>2]=k;c[h+4>>2]=j;g=Jv(h)|0;l=UGa(k|0,j|0,48)|0;l=_Ga(l|0,F|0,16)|0;Fka(h+48|0,l>>16,g);Fka(h+112|0,k>>16,g);Fka(h+64|0,(ll(h)|0)<<16>>16,g);Fka(h+128|0,k<<16>>16,g);j=_Ga(j|0,0,16)|0;Fka(h+32|0,j>>16,g);Fka(h+16|0,(kl(h)|0)<<16>>16,g)}DL(h+80|0)|0}c[d+28>>2]=~~(+Mka(h+48|0)+.5);c[d+24>>2]=~~(+Mka(h+112|0)+.5);c[d+32>>2]=~~(+Mka(h+64|0)+.5);c[d+36>>2]=~~(+Mka(h+128|0)+.5);c[d+40>>2]=~~(+Mka(h+32|0)+.5);c[d+44>>2]=~~(+Mka(h+16|0)+.5);Eka(h+16|0);Eka(h+32|0);Eka(h+128|0);Eka(h+64|0);Eka(h+112|0);Eka(h+48|0);g=b[d+20>>1]|0}else{c[d+28>>2]=b[d+22>>1];c[d+24>>2]=b[d+18>>1];c[d+32>>2]=(ll(d+16|0)|0)<<16>>16;c[d+36>>2]=b[d+16>>1];g=b[d+20>>1]|0;c[d+40>>2]=g<<16>>16;c[d+44>>2]=(kl(d+16|0)|0)<<16>>16}f=c[77807]|0;if(!((f|0)==0?1:(c[d+12>>2]|0)>=(g<<16>>16|0))){jN(318040,h+8|0);oY(d);f=c[77807]|0}if(!((f|0)==0?1:(c[d+8>>2]|0)<=(b[d+16>>1]|0))){jN(318080,h+8|0);oY(d)}f=0;do{c[h+144>>2]=0;fA(h+148|0,h+144|0);g=(f|0)!=0;rZ(h+148|0,g?d+84|0:d+88|0);$A(h+148|0);while(1){if((aB(h+148|0)|0)<<24>>24)break;l=ZA(h+148|0)|0;dY(l,g^1,d);DY(l,g^1,d);DL(h+148|0)|0}BL(h+144|0);f=f+1|0}while((f|0)<2);if(xT(2,b[d+16>>1]|0,b[d+18>>1]|0)|0){c[h+8>>2]=d;jN(318120,h+8|0);oY(d)}}i=h;return}function aY(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+48|0;fA(e+8|0,a+76|0);gA(e+8|0);if(!((hA(e+8|0)|0)<<24>>24))do{b=(iA(e+8|0)|0)+84|0;d=c[b>>2]|0;if(d){if((d|0)!=(a|0)){c[e>>2]=317376;c[e+4>>2]=271;$L(317256,317360,2,1702e3,e)}}else c[b>>2]=a;DL(e+8|0)|0}while((hA(e+8|0)|0)<<24>>24==0);i=e;return}function bY(d,e){d=d|0;e=e|0;var f=0,g=0;g=i;i=i+32|0;c[d+84>>2]=0;f=WEa(192)|0;b[g+28>>1]=0;b[g+30>>1]=1;XX(f,5,g+28|0);c[f+52>>2]=0;ZX(f,d);$X(f);aY(f);_X(f);a[f+97>>0]=1;if(e){Lk(g,e);ov(g,f)}i=g;return}function cY(a){a=a|0;var b=0;b=i;i=i+32|0;fA(b,a+84|0);gA(b);while(1){if((hA(b)|0)<<24>>24)break;dY(iA(b)|0,0,a);DL(b)|0}fA(b,a+88|0);gA(b);while(1){if((hA(b)|0)<<24>>24)break;dY(iA(b)|0,1,a);DL(b)|0}BL(a+88|0);BL(a+84|0);BL(a+76|0);i=b;return}function dY(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+32|0;fA(d,b?a+84|0:a+88|0);gA(d);a:do if(!((hA(d)|0)<<24>>24)){while(1){if((iA(d)|0)==(c|0))break;DL(d)|0;if((hA(d)|0)<<24>>24)break a}ZA(d)|0}while(0);i=d;return}function eY(a,d,e,f,g,h){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;k=i;i=i+16|0;j=WEa(192)|0;XX(j,a,d);$ia(k,e&65535,f&65535,g&65535,h&65535);a=c[k>>2]|0;d=c[k+4>>2]|0;b[j+16>>1]=a;b[j+18>>1]=a>>>16;b[j+20>>1]=d;b[j+22>>1]=d>>>16;c[j+24>>2]=f;c[j+28>>2]=h;c[j+32>>2]=h-f;c[j+44>>2]=g-e;c[j+64>>2]=pZ(j)|0;c[j+68>>2]=qZ(j)|0;i=k;return j|0}function fY(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+32|0;fA(c,a+76|0);gA(c);a:do if(!((hA(c)|0)<<24>>24)){while(1){if((iA(c)|0)==(b|0))break;DL(c)|0;if((hA(c)|0)<<24>>24)break a}ZA(c)|0;$X(a)}while(0);i=c;return}function gY(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+32|0;fA(f,a+76|0);gA(f);if(!((hA(f)|0)<<24>>24)){e=0;while(1){b=iA(f)|0;d=(e|0)==0;do if((c[a+48>>2]&-5|0)==2){if(!d?(d=kl(b+8|0)|0,d<<16>>16<=(kl(e+8|0)|0)<<16>>16):0){b=e;break}}else if(!d?(d=ll(b+8|0)|0,d<<16>>16<=(ll(e+8|0)|0)<<16>>16):0){b=e;break}while(0);DL(f)|0;if(!((hA(f)|0)<<24>>24))e=b;else break}}else b=0;i=f;return b|0}function hY(a,c,d){a=a|0;c=c|0;d=d|0;var e=0;e=i;i=i+32|0;b[a>>1]=32767;b[a+2>>1]=32767;b[a+4>>1]=-32767;b[a+6>>1]=-32767;fA(e,c+76|0);gA(e);if(!((hA(e)|0)<<24>>24))do{if((iA(e)|0)!=(d|0))bja(a,(iA(e)|0)+8|0);DL(e)|0}while((hA(e)|0)<<24>>24==0);i=e;return}function iY(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+48|0;fA(d+8|0,a+76|0);gA(d+8|0);if(!((hA(d+8|0)|0)<<24>>24))do{b=(iA(d+8|0)|0)+84|0;e=c[b>>2]|0;if(!((e|0)==(a|0)|(e|0)==0)){c[d>>2]=317376;c[d+4>>2]=282;$L(317256,317408,2,1702e3,d)}c[b>>2]=0;DL(d+8|0)|0}while((hA(d+8|0)|0)<<24>>24==0);i=d;return}function jY(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;fA(d,a+76|0);gA(d);if(!((hA(d)|0)<<24>>24))do{b=(iA(d)|0)+84|0;if((c[b>>2]|0)==(a|0))c[b>>2]=0;DL(d)|0}while((hA(d)|0)<<24>>24==0);i=d;return}function kY(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;fA(d,a+76|0);gA(d);if(!((hA(d)|0)<<24>>24))do{b=iA(d)|0;if((c[b+44>>2]|0)!=6){if((c[b+84>>2]|0)==(a|0))c[b+84>>2]=0;ZA(d)|0}DL(d)|0}while((hA(d)|0)<<24>>24==0);if(!((aB(d)|0)<<24>>24)){c[a+52>>2]=6;$X(a);b=1}else b=0;i=d;return b|0}function lY(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;fA(d,a+76|0);if(!((aB(d)|0)<<24>>24))do{a=ZA(d)|0;b=c[a+4>>2]|0;if(b){KL(b+4|0,230);YEa(b)}if(a){QX(a);YEa(a)}DL(d)|0}while((aB(d)|0)<<24>>24==0);i=d;return}function mY(b){b=b|0;var d=0,e=0;d=i;i=i+80|0;c[d+64>>2]=0;fA(d+36|0,d+64|0);fA(d+8|0,b+76|0);gA(d+8|0);while(1){if((hA(d+8|0)|0)<<24>>24)break;JL(d+36|0,ZA(d+8|0)|0);DL(d+8|0)|0}rZ(d+8|0,d+64|0);if(!((a[b+62>>0]|0)==0?(a[b+63>>0]|0)==0:0)){c[d>>2]=317376;c[d+4>>2]=344;$L(317256,317464,2,1702e3,d)}e=c[b+8>>2]|0;c[b+8>>2]=0-(c[b+12>>2]|0);c[b+12>>2]=0-e;$X(b);BL(d+64|0);i=d;return}function nY(a){a=a|0;var d=0,e=0,f=0,g=0,h=0;f=i;i=i+16|0;d=b[a+16>>1]|0;e=b[a+20>>1]|0;do if(d<<16>>16>e<<16>>16)if(!(c[77807]|0))d=0;else{jN(317504,f);oY(a);d=0}else{if((c[a+8>>2]|0)<=(d<<16>>16|0)?(c[a+12>>2]|0)>=(e<<16>>16|0):0){d=c[a+64>>2]|0;if((d|0)<=(pZ(a)|0)?(e=c[a+68>>2]|0,(e|0)>=(qZ(a)|0)):0){d=1;break}if(!(c[77807]|0)){d=0;break}h=pZ(a)|0;g=c[a+68>>2]|0;e=qZ(a)|0;c[f>>2]=d;c[f+4>>2]=h;c[f+8>>2]=g;c[f+12>>2]=e;jN(317552,f);oY(a);d=0;break}if(!(c[77807]|0))d=0;else{jN(317528,f);oY(a);d=0}}while(0);i=f;return d|0}function oY(e){e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;f=i;i=i+112|0;t=b[e+22>>1]|0;A=b[e+18>>1]|0;G=(c[e+76>>2]|0)==0?69:32;F=c[e+8>>2]|0;E=(a[e+62>>0]|0)!=0?84:66;D=CX(e,(A+t|0)/2|0)|0;C=b[e+16>>1]|0;B=c[e+36>>2]|0;z=c[e+24>>2]|0;y=b[e+20>>1]|0;x=BX(e,(A+t|0)/2|0)|0;w=(a[e+63>>0]|0)!=0?84:66;v=c[e+12>>2]|0;u=c[e+40>>2]|0;s=c[e+28>>2]|0;r=d[e+60>>0]|0;q=d[e+61>>0]|0;p=c[e+72>>2]|0;o=a[319112+(c[e+48>>2]|0)>>0]|0;n=c[e+52>>2]|0;m=c[e+100>>2]|0;l=c[e+104>>2]|0;k=CL(e+76|0)|0;j=c[e+140>>2]|0;h=c[e+144>>2]|0;g=c[e+148>>2]|0;e=c[e+152>>2]|0;c[f>>2]=G;c[f+4>>2]=F;c[f+8>>2]=E;c[f+12>>2]=D;c[f+16>>2]=C;c[f+20>>2]=B;c[f+24>>2]=A;c[f+28>>2]=z;c[f+32>>2]=y;c[f+36>>2]=x;c[f+40>>2]=w;c[f+44>>2]=v;c[f+48>>2]=u;c[f+52>>2]=t;c[f+56>>2]=s;c[f+60>>2]=r;c[f+64>>2]=q;c[f+68>>2]=p;c[f+72>>2]=o;c[f+76>>2]=n;c[f+80>>2]=m;c[f+84>>2]=l;c[f+88>>2]=k;c[f+92>>2]=j;c[f+96>>2]=h;c[f+100>>2]=g;c[f+104>>2]=e;jN(318968,f);i=f;return}function pY(a,c){a=a|0;c=c|0;var d=0,e=0;d=((((b[c+18>>1]|0)+(b[c+22>>1]|0)|0)/2|0)+(((b[a+18>>1]|0)+(b[a+22>>1]|0)|0)/2|0)|0)/2|0;e=(CX(c,d)|0)/20|0;if((e+1+((CX(a,d)|0)/-20|0)|0)>>>0<3){e=(BX(c,d)|0)/20|0;d=(e-((BX(a,d)|0)/20|0)+1|0)>>>0<3}else d=0;return d|0}function qY(a,b){a=a|0;b=b|0;if((c[a+48>>2]|0)!=6?(c[b+48>>2]|0)!=6:0)b=L3(c[a+32>>2]|0,c[b+32>>2]|0)|0;else b=L3(c[a+44>>2]|0,c[b+44>>2]|0)|0;return b^1|0}function rY(a,c){a=a|0;c=c|0;var d=0,e=0;d=b[a+20>>1]|0;if(d<<16>>16<(b[c+16>>1]|0)?(d<<16>>16|0)<(sY(c)|0):0)d=0;else e=3;do if((e|0)==3){e=b[c+20>>1]|0;d=b[a+16>>1]|0;if(e<<16>>16>16){if((e<<16>>16|0)<(sY(a)|0)){d=0;break}d=b[a+16>>1]|0;e=b[c+20>>1]|0}if(d<<16>>16>e<<16>>16?(d<<16>>16|0)>(tY(c)|0):0){d=0;break}d=b[c+16>>1]|0;if(d<<16>>16>(b[a+20>>1]|0)?(d<<16>>16|0)>(tY(a)|0):0){d=0;break}d=1}while(0);return d|0}function sY(a){a=a|0;var c=0;c=i;i=i+32|0;fA(c,a+76|0);a=b[(iA(c)|0)+48>>1]|0;i=c;return a|0}function tY(a){a=a|0;var c=0;c=i;i=i+32|0;fA(c,a+76|0);IL(c);a=b[(iA(c)|0)+50>>1]|0;i=c;return a|0}function uY(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=i;i=i+64|0;fA(c+28|0,a+76|0);fA(c,b+76|0);gA(c+28|0);gA(c);a:do if(!((hA(c+28|0)|0)<<24>>24)){a=0;b=0;do{if((hA(c)|0)<<24>>24)break a;e=iA(c+28|0)|0;d=iA(c)|0;d=(Qaa(+g[e+72>>2],+g[e+76>>2],+g[e+80>>2],d,.25,2.0)|0)&1;a=d+a|0;b=(d^1)+b|0;DL(c+28|0)|0;DL(c)|0}while((hA(c+28|0)|0)<<24>>24==0)}else{a=0;b=0}while(0);i=c;return (a|0)>(b|0)|0}function vY(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;k=i;i=i+48|0;fA(k+16|0,a+76|0);gA(k+16|0);a:do if(!((hA(k+16|0)|0)<<24>>24)){f=-2147483647;g=2147483647;while(1){h=iA(k+16|0)|0;if(!(sZ(h)|0))break;l=b[h+56>>1]|0;g=(l|0)<(g|0)?l:g;h=b[h+58>>1]|0;f=(h|0)>(f|0)?h:f;DL(k+16|0)|0;if((hA(k+16|0)|0)<<24>>24){h=f;j=6;break a}}if(e){jN(317592,k);jv(h+8|0);f=0}else f=0}else{h=-2147483647;g=2147483647;j=6}while(0);do if((j|0)==6){if((g|0)>(c[d+24>>2]|0))f=(h|0)<(c[d+28>>2]|0);else f=0;if(e)if(f){jN(317624,k);f=1;break}else{l=c[a+24>>2]|0;f=c[a+28>>2]|0;c[k>>2]=h;c[k+4>>2]=g;c[k+8>>2]=l;c[k+12>>2]=f;jN(317640,k);f=0;break}}while(0);i=k;return f|0}function wY(b,d){b=b|0;d=d|0;var e=0;if(d){d=c[d+24>>2]|0;c[b+64>>2]=d;d=(d|0)<=(pZ(b)|0);a[b+62>>0]=d&1;if(!d){d=b+64|0;e=4}}else{a[b+62>>0]=0;d=b+64|0;e=4}if((e|0)==4)c[d>>2]=pZ(b)|0;return}function xY(b,d){b=b|0;d=d|0;var e=0;if(d){d=c[d+24>>2]|0;c[b+68>>2]=d;d=(d|0)>=(qZ(b)|0);a[b+63>>0]=d&1;if(!d){d=b+68|0;e=4}}else{a[b+63>>0]=0;d=b+68|0;e=4}if((e|0)==4)c[d>>2]=qZ(b)|0;return}function yY(d,e,f){d=d|0;e=e|0;f=f|0;var g=0;if(!f){f=a[e+62>>0]|0;a[d+62>>0]=f;if(!(f<<24>>24))g=5;else{c[d+64>>2]=c[e+64>>2];f=b[d+16>>1]|0}}else{a[d+62>>0]=0;g=5}if((g|0)==5){f=pZ(e)|0;f=(OX(d+80|0,f,((b[d+18>>1]|0)+(b[d+22>>1]|0)|0)/2|0)|0)&65535;b[d+16>>1]=f;c[d+64>>2]=pZ(d)|0}if((c[d+8>>2]|0)>(f<<16>>16|0))c[d+8>>2]=c[e+8>>2];return}function zY(d,e,f){d=d|0;e=e|0;f=f|0;var g=0;if(!f){f=a[e+63>>0]|0;a[d+63>>0]=f;if(!(f<<24>>24))g=5;else{c[d+68>>2]=c[e+68>>2];f=b[d+20>>1]|0}}else{a[d+63>>0]=0;g=5}if((g|0)==5){f=qZ(e)|0;f=(OX(d+80|0,f,((b[d+18>>1]|0)+(b[d+22>>1]|0)|0)/2|0)|0)&65535;b[d+20>>1]=f;c[d+68>>2]=qZ(d)|0}if((c[d+12>>2]|0)<(f<<16>>16|0))c[d+12>>2]=c[e+12>>2];return}function AY(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if((b|0)>=6){c[d>>2]=317376;c[d+4>>2]=572;$L(317256,317680,2,1702e3,d)}i=d;return +(+g[a+(b<<2)+168>>2])}function BY(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+48|0;if((b|0)>=6){c[d>>2]=317376;c[d+4>>2]=577;$L(317256,317680,2,1702e3,d)}fA(d+8|0,a+76|0);gA(d+8|0);if(!((hA(d+8|0)|0)<<24>>24)){a=0;do{a=((c[(iA(d+8|0)|0)+88>>2]|0)==(b|0)&1)+a|0;DL(d+8|0)|0}while((hA(d+8|0)|0)<<24>>24==0)}else a=0;i=d;return a|0}function CY(a){a=a|0;var b=0,d=0,e=0,f=0.0;d=i;i=i+32|0;c[a+168>>2]=0;c[a+172>>2]=0;c[a+176>>2]=0;c[a+180>>2]=0;c[a+184>>2]=0;c[a+188>>2]=0;if(c[a+76>>2]|0){fA(d,a+76|0);gA(d);if(!((hA(d)|0)<<24>>24)){do{b=a+(c[(iA(d)|0)+88>>2]<<2)+168|0;g[b>>2]=+g[b>>2]+1.0;DL(d)|0}while((hA(d)|0)<<24>>24==0);b=0}else b=0;do{f=+(CL(a+76|0)|0);e=a+(b<<2)+168|0;g[e>>2]=+g[e>>2]/f;b=b+1|0}while((b|0)!=6)}i=d;return}function DY(a,b,c){a=a|0;b=b|0;c=c|0;if(b){FL(c+88|0,28,a);FL(a+84|0,28,c)}else{FL(c+84|0,28,a);FL(a+88|0,28,c)}return}function EY(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;a=b?a+84|0:a+88|0;b=c[a>>2]|0;if((b|0)!=0?(b|0)==(c[b>>2]|0):0){fA(d,a);a=iA(d)|0}else a=0;i=d;return a|0}function FY(d,e,f){d=d|0;e=e|0;f=f|0;var h=0,j=0,k=0,l=0,m=0;m=i;i=i+96|0;if((a[d+164>>0]|0)!=0^(a[e+164>>0]|0)!=0){c[m>>2]=317376;c[m+4>>2]=656;$L(317256,317704,2,1702e3,m)}if(!(!(xT(2,b[d+16>>1]|0,b[d+18>>1]|0)|0)?!(xT(2,b[e+16>>1]|0,b[e+18>>1]|0)|0):0)){jN(317744,m);oY(d);oY(e)}c[d+168>>2]=0;c[d+172>>2]=0;c[d+176>>2]=0;c[d+180>>2]=0;c[d+184>>2]=0;c[d+188>>2]=0;l=0;do{j=CL(d+76|0)|0;h=CL(e+76|0)|0;k=d+(l<<2)+168|0;if(!((j|0)!=0&(h|0)!=0))g[k>>2]=(+(j|0)*+g[k>>2]+ +(h|0)*+g[e+(l<<2)+168>>2])/+(h+j|0);l=l+1|0}while((l|0)!=6);fA(m+68|0,d+76|0);fA(m+40|0,e+76|0);if(!((aB(m+40|0)|0)<<24>>24))do{h=ZA(m+40|0)|0;j=c[h+84>>2]|0;if(!((j|0)!=(e|0)&(j|0)!=0)){if(!((j|0)==(e|0)|(j|0)==0)){c[m>>2]=317376;c[m+4>>2]=689;$L(317256,317760,2,1702e3,m)}if((j|0)==(e|0))c[h+84>>2]=d;JC(m+68|0,h)}DL(m+40|0)|0}while((aB(m+40|0)|0)<<24>>24==0);h=c[d+8>>2]|0;l=c[e+8>>2]|0;c[d+8>>2]=(h|0)>(l|0)?l:h;h=c[d+12>>2]|0;l=c[e+12>>2]|0;c[d+12>>2]=(h|0)<(l|0)?l:h;h=c[e+64>>2]|0;if((h|0)<(c[d+64>>2]|0)){c[d+64>>2]=h;a[d+62>>0]=a[e+62>>0]|0}h=c[e+68>>2]|0;if((h|0)>(c[d+68>>2]|0)){c[d+68>>2]=h;a[d+63>>0]=a[e+63>>0]|0}l=c[d+52>>2]|0;h=c[e+52>>2]|0;if((l|0)!=6?(h|0)==6|(l|0)>=(h|0):0)h=d+48|0;else{c[d+52>>2]=h;c[d+48>>2]=c[e+48>>2];h=d+48|0}_X(d);if((c[h>>2]&-5|0)==2){EL(d+76|0,41);h=1}else{EL(d+76|0,38);h=0}a[d+96>>0]=h;$X(d);h=0;do{c[m+36>>2]=0;fA(m+8|0,m+36|0);j=(h|0)!=0;rZ(m+8|0,j?e+84|0:e+88|0);$A(m+8|0);while(1){if((aB(m+8|0)|0)<<24>>24)break;l=ZA(m+8|0)|0;dY(l,j^1,e);dY(l,j^1,d);DY(l,j^1,d);DL(m+8|0)|0}BL(m+36|0);h=h+1|0}while((h|0)<2);if(e){cY(e);YEa(e)}if(f)GY(d,f);i=m;return}function GY(d,e){d=d|0;e=e|0;var f=0,g=0;f=((b[d+18>>1]|0)+(b[d+22>>1]|0)|0)/2|0;g=BX(d,f)|0;f=g-(CX(d,f)|0)|0;a[d+60>>0]=(bd[c[(c[e>>2]|0)+8>>2]&63](e,f)|0)&1;if((c[d+48>>2]|0)==7?(a[d+62>>0]|0)!=0:0)e=a[d+63>>0]|0;else e=0;a[d+61>>0]=e;return}function HY(a,d,f,g,h){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;do if(((c[a+48>>2]&-5|0)!=2?(c[d+48>>2]&-5|0)!=2:0)?(c[f+48>>2]&-5|0)!=2:0){j=c[d+24>>2]|0;k=c[d+28>>2]|0;l=c[f+24>>2]|0;m=c[f+28>>2]|0;if(!(GX(j,k,l,m)|0)){if(!h){d=0;break}c[p+8>>2]=((k|0)>(m|0)?m:k)-((j|0)<(l|0)?l:j);c[p+12>>2]=0;jN(317832,p+8|0);d=0;break}m=e[d+20>>1]|e[d+22>>1]<<16;c[p>>2]=e[d+16>>1]|e[d+18>>1]<<16;c[p+4>>2]=m;bja(p,f+16|0);d=b[p+2>>1]|0;if(((d|0)<(c[a+28>>2]|0)?(n=b[p+6>>1]|0,(n|0)>(c[a+24>>2]|0)):0)?(d|0)<((b[a+22>>1]|0)-g|0):0){d=(n|0)<=((b[a+18>>1]|0)+g|0);if(!(d|h^1)){jN(317856,p+8|0);d=0}}else d=1}else o=4;while(0);if((o|0)==4)if(h){jN(317808,p+8|0);d=0}else d=0;i=p;return d|0}function IY(a,b){a=a|0;b=b|0;var d=0,f=0;d=i;i=i+48|0;f=c[a+76>>2]|0;a:do if(((f|0)!=0?(f|0)!=(c[f>>2]|0):0)?(fA(d+8|0,a+76|0),a=(iA(d+8|0)|0)+8|0,f=e[a+4>>1]|e[a+6>>1]<<16,c[d>>2]=e[a>>1]|e[a+2>>1]<<16,c[d+4>>2]=f,DL(d+8|0)|0,(OC(d+8|0)|0)<<24>>24==0):0)while(1){a=iA(d+8|0)|0;bja(d,a+8|0);if(DD(d,b)|0)break;DL(d+8|0)|0;if((OC(d+8|0)|0)<<24>>24){a=0;break a}}else a=0;while(0);i=d;return a|0}function JY(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+48|0;e=KY(b)|0;tZ(e,(a[b+164>>0]|0)!=0);fA(j+8|0,b+76|0);gA(j+8|0);if(!((hA(j+8|0)|0)<<24>>24))do{g=iA(j+8|0)|0;f=c[g+84>>2]|0;if(!((f|0)==(b|0)|(a[b+164>>0]|0)==0|(f|0)==0)){c[j>>2]=317376;c[j+4>>2]=807;$L(317256,317880,2,1702e3,j)}if(!((g|0)!=(d|0)?(c[e+76>>2]|0)==0:0))h=7;if((h|0)==7?(h=0,ZX(e,ZA(j+8|0)|0),(a[b+164>>0]|0)!=0&(f|0)!=0):0)c[g+84>>2]=e;DL(j+8|0)|0}while((hA(j+8|0)|0)<<24>>24==0);if((aB(j+8|0)|0)<<24>>24){c[j>>2]=317376;c[j+4>>2]=814;$L(317256,317944,2,1702e3,j)}if(!(c[e+76>>2]|0))if(!e)e=0;else{cY(e);YEa(e);e=0}else{a[b+63>>0]=0;a[e+62>>0]=0;$X(b);$X(e)}i=j;return e|0}function KY(d){d=d|0;var f=0,g=0,h=0;f=WEa(192)|0;XX(f,c[d+48>>2]|0,d+80|0);c[f+8>>2]=c[d+8>>2];c[f+12>>2]=c[d+12>>2];h=e[d+16>>1]|e[d+18>>1]<<16;g=e[d+20>>1]|e[d+22>>1]<<16;b[f+16>>1]=h;b[f+18>>1]=h>>>16;b[f+20>>1]=g;b[f+22>>1]=g>>>16;c[f+168>>2]=c[d+168>>2];c[f+172>>2]=c[d+172>>2];c[f+176>>2]=c[d+176>>2];c[f+180>>2]=c[d+180>>2];c[f+184>>2]=c[d+184>>2];c[f+188>>2]=c[d+188>>2];c[f+24>>2]=c[d+24>>2];c[f+28>>2]=c[d+28>>2];c[f+32>>2]=c[d+32>>2];c[f+36>>2]=c[d+36>>2];c[f+40>>2]=c[d+40>>2];c[f+44>>2]=c[d+44>>2];a[f+60>>0]=a[d+60>>0]|0;a[f+61>>0]=a[d+61>>0]|0;a[f+62>>0]=a[d+62>>0]|0;a[f+63>>0]=a[d+63>>0]|0;c[f+72>>2]=c[d+72>>2];c[f+52>>2]=c[d+52>>2];c[f+64>>2]=c[d+64>>2];c[f+68>>2]=c[d+68>>2];c[f+100>>2]=c[d+100>>2];c[f+104>>2]=c[d+104>>2];a[f+164>>0]=0;return f|0}function LY(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+48|0;do if((b[d+16>>1]|0)<(e|0)?(b[d+20>>1]|0)>(e|0):0){f=KY(d)|0;tZ(f,(a[d+164>>0]|0)!=0);fA(j+8|0,d+76|0);gA(j+8|0);if(!((hA(j+8|0)|0)<<24>>24))do{g=iA(j+8|0)|0;h=c[g+84>>2]|0;if(!((h|0)==(d|0)|(a[d+164>>0]|0)==0|(h|0)==0)){c[j>>2]=317376;c[j+4>>2]=845;$L(317256,317880,2,1702e3,j)}if((b[g+8>>1]|0)>=(e|0)?(ZX(f,ZA(j+8|0)|0),(a[d+164>>0]|0)!=0&(h|0)!=0):0)c[g+84>>2]=f;DL(j+8|0)|0}while((hA(j+8|0)|0)<<24>>24==0);if((aB(j+8|0)|0)<<24>>24)rZ(j+8|0,f+76|0);if((aB(j+8|0)|0)<<24>>24){c[j>>2]=317376;c[j+4>>2]=857;$L(317256,317944,2,1702e3,j)}if(c[f+76>>2]|0){a[d+63>>0]=0;a[f+62>>0]=0;c[d+12>>2]=e;c[f+8>>2]=e;$X(d);$X(f);break}if(f){cY(f);YEa(f);f=0}else f=0}else f=0;while(0);i=j;return f|0}function MY(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+32|0;fA(c,a+76|0);gA(c);if(!((hA(c)|0)<<24>>24)){a=0;do{a=((DD(b,(iA(c)|0)+8|0)|0)&1)+a|0;DL(c)|0}while((hA(c)|0)<<24>>24==0)}else a=0;i=c;return a|0}function NY(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;h=i;i=i+16|0;c[h>>2]=-1;k=b[a+16>>1]|0;j=b[a+20>>1]|0;g=ll(a+16|0)|0;f=kl(a+16|0)|0;g=O_(e,d,k,j,(g<<16>>16>f<<16>>16?f:g)<<16>>16,((b[a+18>>1]|0)+(b[a+22>>1]|0)|0)/2|0,c[a+8>>2]|0,c[a+12>>2]|0,a+100|0,a+104|0,h)|0;c[a+108>>2]=e;e=c[a+100>>2]|0;d=c[a+104>>2]|0;do if((e|0)<(d|0)&(g|0)==3?(c[a+72>>2]&-2|0)!=12:0){f=c[h>>2]|0;if((f|0)>-1){c[a+100>>2]=f;c[a+104>>2]=f;break}if(!(e&1)){c[a+104>>2]=e;break}if(!(d&1)){c[a+100>>2]=d;break}else{c[a+104>>2]=(d+e|0)/2|0;c[a+100>>2]=(d+e|0)/2|0;break}}while(0);c[a+72>>2]=OY(c[a+48>>2]|0,g)|0;i=h;return}function OY(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if(!b)if((a|0)==6|(a|0)==3|(a|0)==2|(a|0)==1){b=1;d=3}else b=14;else d=3;a:do if((d|0)==3){b:do switch(a|0){case 4:case 3:if((b|0)==3){b=11;break a}else if((b|0)==2){b=10;break a}else if((b|0)==1){b=9;break a}else{c[e>>2]=317376;c[e+4>>2]=1044;$L(317256,318160,2,1702e3,e);break b}case 2:{b=13;break a}case 6:{b=7;break a}case 1:{b=12;break a}case 0:{b=14;break a}default:{if((b+-1|0)>>>0<3)break a;c[e>>2]=317376;c[e+4>>2]=1060;$L(317256,318200,2,1702e3,e)}}while(0);c[e>>2]=317376;c[e+4>>2]=1063;$L(317256,318240,2,1702e3,e);b=14}while(0);i=e;return b|0}function PY(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;c[h>>2]=-1;m=b[a+16>>1]|0;l=b[a+20>>1]|0;j=ll(a+16|0)|0;k=kl(a+16|0)|0;d=O_(e,d,m,l,(j<<16>>16>k<<16>>16?k:j)<<16>>16,((b[a+18>>1]|0)+(b[a+22>>1]|0)|0)/2|0,c[a+8>>2]|0,c[a+12>>2]|0,f,g,h)|0;c[a+72>>2]=OY(c[a+48>>2]|0,d)|0;i=h;return}function QY(a){a=a|0;var d=0,e=0,f=0,g=0.0,j=0.0,l=0.0,m=0.0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;u=i;i=i+96|0;q=(kl(a+16|0)|0)<<16>>16;Aka(u+72|0,0,q);Aka(u+56|0,0,q);fA(u+28|0,a+76|0);d=iA(u+28|0)|0;c[d+44>>2]=2;Fka(u+56|0,(kl(d+8|0)|0)<<16>>16,1);DL(u+28|0)|0;t=1;while(1){if((OC(u+28|0)|0)<<24>>24)break;p=iA(u+28|0)|0;o=b[p+8>>1]|0;f=b[p+12>>1]|0;Fka(u+72|0,o-(b[d+12>>1]|0)|0,1);Fka(u+56|0,(f<<16>>16)-o|0,1);c[p+44>>2]=2;DL(u+28|0)|0;t=t+1|0;d=p}m=+Mka(u+72|0);n=+Mka(u+56|0);g=m<=n?m:n;j=+Jka(u+72|0,.75);j=j-+Jka(u+72|0,.25);l=(m>=n?m:n)*.25;if((c[77789]|0)>3){h[k>>3]=j;c[u>>2]=c[k>>2];c[u+4>>2]=c[k+4>>2];c[u+8>>2]=t;h[k>>3]=l;c[u+12>>2]=c[k>>2];c[u+16>>2]=c[k+4>>2];h[k>>3]=g*.5;c[u+20>>2]=c[k>>2];c[u+24>>2]=c[k+4>>2];jN(318272,u)}if(j4:0){o=~~+aa(+(j*2.0));r=o+~~(m+n+.5)|0;o=~~(m+n+.5)-o|0;p=b[a+16>>1]|0;s=XEa((o+q|0)>>>0>134217727?-1:o+q<<5)|0;if(o+q|0){f=s;do{c[f>>2]=0;c[f+4>>2]=2147483647;c[f+8>>2]=1;e=f+12|0;c[e+0>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;c[e+12>>2]=0;c[e+16>>2]=0;f=f+32|0}while((f|0)!=(s+(o+q<<5)|0))}gA(u+28|0);while(1){if((hA(u+28|0)|0)<<24>>24)break;f=iA(u+28|0)|0;e=b[f+8>>1]|0;d=b[f+12>>1]|0;if(e<<16>>16>16){v=ll(f+8|0)|0;f=s+(((o|0)/2|0)-p+(e<<16>>16)<<5)|0;c[f>>2]=(c[f>>2]|0)+(ba((d<<16>>16)-(e<<16>>16)|0,v<<16>>16)|0)}DL(u+28|0)|0}e=_da(o,r,42,0,o+q|0,s)|0;if((e|0)!=0?(c[e+4>>2]|0)<(t|0):0){gA(u+28|0);d=0;while(1){if((hA(u+28|0)|0)<<24>>24){f=28;break}e=iA(u+28|0)|0;if((OC(u+28|0)|0)<<24>>24!=0?(q=b[(HL(u+28|0,1)|0)+8>>1]|0,v=b[e+12>>1]|0,((q<<16>>16)-(v<<16>>16)+((kl(e+8|0)|0)<<16>>16)|0)>(r|0)):0){ZA(u+28|0)|0;d=1}else{if((kA(u+28|0)|0)<<24>>24!=0?(q=b[e+8>>1]|0,v=b[(HL(u+28|0,-1)|0)+12>>1]|0,((q<<16>>16)-(v<<16>>16)+((kl(e+8|0)|0)<<16>>16)|0)>(r|0)):0){f=25;break}c[e+40>>2]=7;c[e+44>>2]=6}DL(u+28|0)|0}if((f|0)==25){ZA(u+28|0)|0;f=29}else if((f|0)==28?d:0)f=29;if((f|0)==29)$X(a);c[a+48>>2]=7;c[a+52>>2]=6;d=1}else f=31;do if((f|0)==31)if(c[77789]|0)if(!e){jN(318320,u);d=0;break}else{c[u>>2]=(c[e+4>>2]|0)<(t|0)&1;jN(318336,u);d=0;break}else d=0;while(0);ZEa(s)}else d=0;Eka(u+56|0);Eka(u+72|0);i=u;return d|0}function RY(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+48|0;fA(p+12|0,a+76|0);gA(p+12|0);do if(!((hA(p+12|0)|0)<<24>>24)){h=0;g=0;e=0;l=0;f=0;do{o=iA(p+12|0)|0;h=h+1|0;l=(Naa(o)|0)+l|0;g=(Maa(o)|0)+g|0;o=c[o+40>>2]|0;e=((o|0)==1&1)+e|0;f=((o|0)==2&1)+f|0;DL(p+12|0)|0}while((hA(p+12|0)|0)<<24>>24==0);c[a+52>>2]=2;c[a+48>>2]=5;if((e|0)>(f|0)){c[a+52>>2]=0;c[a+48>>2]=1;k=a+52|0;j=a+48|0;f=h;e=l;break}if((f|0)>(e|0)){c[a+52>>2]=0;c[a+48>>2]=2;k=a+52|0;j=a+48|0;f=h;e=l}else{n=a+48|0;k=a+52|0;o=g;e=l;m=8}}else{c[a+52>>2]=2;c[a+48>>2]=5;n=a+48|0;k=a+52|0;h=0;o=0;e=0;m=8}while(0);a:do if((m|0)==8){b:do if((d+1|0)>>>0>2){if((d|0)>0){j=(kl(a+16|0)|0)<<16>>16;f=ll(a+16|0)|0;g=7}else{j=(ll(a+16|0)|0)<<16>>16;f=kl(a+16|0)|0;g=6}c[n>>2]=g;g=(h|0)>7;if(f<<16>>16>10)g=g?2:1;else g=g&1;f=g+(((f<<16>>16)*5|0)<(j|0)&1)|0;g=(d|0)>-1?d:0-d|0;do if((g|0)<=5)if((g|0)>2){c[k>>2]=3;if((f|0)==3)break;else{j=n;f=h;g=o;break a}}else{c[k>>2]=2;break b}while(0);c[k>>2]=(d|0)<0&(f|0)<2?3:4;j=n;f=h;g=o;break a}while(0);if((e|0)<(h|0)){j=n;f=h;g=o}else{c[k>>2]=1;c[n>>2]=0;j=n;f=h;g=o}}while(0);if(xT(2,b[a+16>>1]|0,b[a+18>>1]|0)|0){c[p>>2]=f;c[p+4>>2]=e;c[p+8>>2]=g;jN(318368,p);n=c[k>>2]|0;o=c[j>>2]|0;c[p>>2]=d;c[p+4>>2]=n;c[p+8>>2]=o;jN(318440,p);oY(a)}_X(a);i=p;return}function SY(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;k=i;i=i+48|0;do if(!(a[b+97>>0]|0)){a[b+97>>0]=1;pk(k+16|0,h);h=EY(b,1)|0;if(h){j=c[h+92>>2]|0;if(j){c[b+92>>2]=j;eaa(j,b);break}if(c[77807]|0){jN(318536,k);oY(b);oY(h)}}qk(k+16|0);rk(k+16|0);a:do if(sk(k+16|0)|0)h=0;else{h=0;do{if((h|0)==(c[b+100>>2]|0))break a;OL(k+16|0)|0;h=h+1|0}while(!(sk(k+16|0)|0))}while(0);if((c[77789]|0)>1){c[k>>2]=(h&1|0)!=0?318608:318616;jN(318584,k);oY(b)}j=(sk(k+16|0)|0)^1;if(!((c[77807]|0)==0|j)){c[k>>2]=c[b+100>>2];c[k+4>>2]=h;jN(318624,k)}if(sk(k+16|0)|0){c[k>>2]=317376;c[k+4>>2]=1393;$L(317256,318656,2,1702e3,k)}j=tk(k+16|0)|0;if((!(sk(k+16|0)|0)?(c[b+104>>2]|0)!=(c[b+100>>2]|0):0)?(c[b+72>>2]&-9|0)!=3:0){c[k+12>>2]=0;c[k+8>>2]=0;while(1){if(sk(k+16|0)|0)break;if((h|0)>(c[b+104>>2]|0))break;faa(tk(k+16|0)|0,d,e,f,g,k+12|0,k+8|0);OL(k+16|0)|0;h=h+1|0}haa(j,k+12|0,k+8|0);KL(k+8|0,233);KL(k+12|0,222)}c[b+92>>2]=j;eaa(j,b)}while(0);i=k;return}function TY(a,d,e,f,g,j,l){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0.0;y=i;i=i+192|0;p=(b[d+2>>1]|0)-(b[a+2>>1]|0)|0;Lk(y+56|0,f);Mk(y+56|0);if(!((Nk(y+56|0)|0)<<24>>24)){n=0;q=0;do{o=Ok(y+56|0)|0;if(!(c[o+76>>2]|0)){c[y>>2]=317376;c[y+4>>2]=1437;$L(317256,318680,2,1702e3,y)}Aka(y+120|0,0,(ll(o+16|0)|0)<<16>>16);m=(ll(o+16|0)|0)<<16>>16;n=(m|0)>(n|0)?m:n;fA(y+88|0,o+76|0);m=b[(iA(y+88|0)|0)+10>>1]|0;DL(y+88|0)|0;m=m<<16>>16;while(1){if((OC(y+88|0)|0)<<24>>24)break;u=b[(iA(y+88|0)|0)+10>>1]|0;t=u-m|0;Fka(y+120|0,(t|0)<0?0-t|0:t,1);DL(y+88|0)|0;m=u}c[o+112>>2]=~~(+Mka(y+120|0)+.5);if(!((Kv(y+56|0)|0)<<24>>24)){u=ZL(y+56|0,1)|0;c[o+120>>2]=(c[o+24>>2]|0)-(c[u+24>>2]|0);c[o+116>>2]=(c[o+28>>2]|0)-(c[u+28>>2]|0)}else{c[o+120>>2]=p;c[o+116>>2]=p}if(c[77789]|0){oY(o);z=+Mka(y+120|0);t=c[o+116>>2]|0;u=c[o+120>>2]|0;h[k>>3]=z;c[y>>2]=c[k>>2];c[y+4>>2]=c[k+4>>2];c[y+8>>2]=t;c[y+12>>2]=u;jN(318704,y)}q=q+1|0;Eka(y+120|0);VL(y+56|0)}while((Nk(y+56|0)|0)<<24>>24==0);u=~~(+(n|0)*3.0);if(q){UY(e,p,f);pk(y+136|0,j);pk(y+28|0,l);c[y+84>>2]=0;Lk(y+164|0,y+84|0);Mk(y+56|0);while(1){if((uZ(y+56|0)|0)<<24>>24)break;r=hv(y+56|0)|0;ov(y+164|0,r);VL(y+56|0);if(((uZ(y+56|0)|0)<<24>>24==0?(c[r+120>>2]|0)<=(u|0):0)?VY(r,Ok(y+56|0)|0,e)|0:0){if(!(c[77789]|0))continue;if((uZ(y+56|0)|0)<<24>>24)continue;t=Ok(y+56|0)|0;j=c[r+120>>2]|0;q=c[t+116>>2]|0;l=c[t+120>>2]|0;s=c[r+32>>2]|0;t=c[t+32>>2]|0;c[y>>2]=c[r+116>>2];c[y+4>>2]=j;c[y+8>>2]=q;c[y+12>>2]=l;c[y+16>>2]=s;c[y+20>>2]=t;jN(318856,y);continue}do if((uZ(y+56|0)|0)<<24>>24==0?(c[r+120>>2]|0)<=(u|0):0){s=Ok(y+56|0)|0;if(!((Kv(y+56|0)|0)<<24>>24))t=ZL(y+56|0,1)|0;else t=0;if(!(c[77789]|0)){o=s+32|0;m=r+32|0}else{l=c[r+120>>2]|0;q=c[s+116>>2]|0;j=c[s+120>>2]|0;f=c[r+32>>2]|0;p=c[s+32>>2]|0;if(!t)o=0;else o=c[t+32>>2]|0;c[y>>2]=c[r+116>>2];c[y+4>>2]=l;c[y+8>>2]=q;c[y+12>>2]=j;c[y+16>>2]=f;c[y+20>>2]=p;c[y+24>>2]=o;jN(318760,y);o=s+32|0;m=r+32|0}n=c[m>>2]|0;m=c[o>>2]|0;if((WY(n,m)|0?(w=c[r+120>>2]|0,+(m|0)*3.0>+(w|0)):0)?+(n|0)*3.0>+(c[r+116>>2]|0):0){if((((t|0)!=0?(v=c[t+32>>2]|0,WY(m,v)|0):0)?(x=c[s+120>>2]|0,!(+(v|0)*3.0<=+(x|0))):0)?!((x|0)>(w|0)?1:+(m|0)*3.0<=+(c[s+116>>2]|0)):0)break;ov(y+164|0,hv(y+56|0)|0);VL(y+56|0);if(c[77789]|0)jN(318824,y)}}while(0);m=XY(a,d,y+84|0,g)|0;if(m){qv(y+28|0,m);qv(y+136|0,c[m+24>>2]|0)}Lk(y+164|0,y+84|0)}TL(y+84|0,238)}}i=y;return} -function e6(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(b)e=WEa(b<<2)|0;else e=0;d=c[a>>2]|0;c[a>>2]=e;if(d)YEa(d);c[a+4>>2]=b;a:do if(b){d=0;do{c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(b|0));g=c[a+8>>2]|0;if(g){d=c[g+4>>2]|0;if(!(b+-1&b))d=d&b+-1;else d=(d>>>0)%(b>>>0)|0;c[(c[a>>2]|0)+(d<<2)>>2]=a+8;e=c[g>>2]|0;if(e){h=g;f=e;e=g;while(1){k=e;b:while(1){e=f;while(1){f=c[e+4>>2]|0;if(!(b+-1&b))j=f&b+-1;else j=(f>>>0)%(b>>>0)|0;if((j|0)==(d|0))break;f=(c[a>>2]|0)+(j<<2)|0;if(!(c[f>>2]|0))break b;g=e+8|0;i=e;while(1){f=c[i>>2]|0;if(!f){f=0;break}if((c[g>>2]|0)==(c[f+8>>2]|0))i=f;else break}c[h>>2]=f;c[i>>2]=c[c[(c[a>>2]|0)+(j<<2)>>2]>>2];c[c[(c[a>>2]|0)+(j<<2)>>2]>>2]=e;e=c[h>>2]|0;if(!e)break a}f=c[e>>2]|0;if(!f)break a;else{h=e;k=e}}c[f>>2]=k;f=c[e>>2]|0;if(!f)break;else{h=e;d=j}}}}}while(0);return}function f6(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=WEa(12)|0;c[f+8>>2]=c[d>>2];c[f+4>>2]=e;c[f>>2]=0;c[a>>2]=f;c[a+4>>2]=b+8;c[a+8>>2]=1;return}function g6(d){d=d|0;c[d>>2]=0;c[d+4>>2]=0;b[d+8>>1]=32767;b[d+10>>1]=32767;b[d+12>>1]=-32767;b[d+14>>1]=-32767;mF(d+16|0);mF(d+36|0);a[d+56>>0]=0;c[d+60>>2]=0;c[d+64>>2]=0;c[d+68>>2]=0;c[d+72>>2]=0;c[d+76>>2]=0;c[d+80>>2]=0;c[d+84>>2]=2147483647;return}function h6(a){a=a|0;Jk(a+36|0);Jk(a+16|0);return}function i6(a,b){a=a|0;b=b|0;return ba((a|0)==0?0:a+-1|0,(b|0)==0?0:b+-1|0)|0}function j6(a){a=a|0;return a+8|0}function k6(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+16|0;if(!((b|0)>-1?(e=c[a+36>>2]|0,(((e|0)==0?0:e+-1|0)|0)>(b|0)):0)){c[d>>2]=341984;c[d+4>>2]=120;$L(341944,341952,2,1702e3,d)}e=c[(Ik(a+36|0,b+1|0)|0)>>2]|0;e=e-(c[(Ik(a+36|0,b)|0)>>2]|0)|0;i=d;return e|0}function l6(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+16|0;if(!((b|0)>-1?(e=c[a+16>>2]|0,(((e|0)==0?0:e+-1|0)|0)>(b|0)):0)){c[d>>2]=341984;c[d+4>>2]=124;$L(341944,342016,2,1702e3,d)}e=c[(Ik(a+16|0,b+1|0)|0)>>2]|0;e=e-(c[(Ik(a+16|0,b)|0)>>2]|0)|0;i=d;return e|0}function m6(d){d=d|0;var e=0,f=0;f=i;i=i+112|0;n6(d);bA(f,c[d+4>>2]|0);a[f+44>>0]=1;EX(f,d+8|0);while(1){e=FX(f)|0;if(!e)break;if(S5(e)|0)zv(d+36|0,((b[e+18>>1]|0)+(b[e+22>>1]|0)|0)/2|0);if(!(R6(e)|0))continue;zv(d+16|0,((b[e+20>>1]|0)+(b[e+16>>1]|0)|0)/2|0)}e=c[d+16>>2]|0;if((e|0)>=3?(c[d+36>>2]|0)>=3:0){$z(e,c[d+24>>2]|0);$z(c[d+36>>2]|0,c[d+44>>2]|0);S6(d+16|0);S6(d+36|0);e=b[d+8>>1]|0;c[(Ik(d+16|0,0)|0)>>2]=e<<16>>16;e=b[d+12>>1]|0;c[(Ik(d+16|0,(c[d+16>>2]|0)+-1|0)|0)>>2]=e<<16>>16;e=b[d+10>>1]|0;c[(Ik(d+36|0,0)|0)>>2]=e<<16>>16;e=b[d+14>>1]|0;c[(Ik(d+36|0,(c[d+36>>2]|0)+-1|0)|0)>>2]=e<<16>>16;S6(d+16|0);S6(d+36|0);o6(d);p6(d);e=q6(d)|0;a[d+56>>0]=e&1}else e=0;jA(f+84|0);i=f;return e|0}function n6(b){b=b|0;Jk(b+16|0);Jk(b+36|0);a[b+56>>0]=0;c[b+60>>2]=0;c[b+64>>2]=0;c[b+68>>2]=0;c[b+72>>2]=0;c[b+76>>2]=0;c[b+80>>2]=0;return}function o6(a){a=a|0;c[a+60>>2]=2147483647;c[a+64>>2]=2147483647;c[a+72>>2]=2147483647;c[a+68>>2]=2147483647;C6(a,c[a>>2]|0);C6(a,c[a+4>>2]|0);return}function p6(a){a=a|0;var b=0,d=0,e=0,f=0;d=i;i=i+32|0;Aka(d+16|0,0,1001);Aka(d,0,1001);b=c[a+36>>2]|0;if((b+-1|0)>0&(b|0)!=0){b=0;do{f=k6(a,b)|0;e=c[a+16>>2]|0;Fka(d+16|0,f,(e|0)==0?0:e+-1|0);b=b+1|0;e=c[a+36>>2]|0}while((b|0)<(((e|0)==0?0:e+-1|0)|0))}f=c[a+16>>2]|0;if((f+-1|0)>0&(f|0)!=0){b=0;do{e=l6(a,b)|0;f=c[a+36>>2]|0;Fka(d,e,(f|0)==0?0:f+-1|0);b=b+1|0;f=c[a+16>>2]|0}while((b|0)<(((f|0)==0?0:f+-1|0)|0))}c[a+76>>2]=~~(+Mka(d+16|0)+.5);c[a+80>>2]=~~(+Mka(d)+.5);Eka(d);Eka(d+16|0);i=d;return}function q6(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if((c[a+36>>2]|0)>1?(c[a+16>>2]|0)>1:0){b=0;d=6}else{c[e>>2]=341984;c[e+4>>2]=325;$L(341944,342200,2,1702e3,e);if((c[a+36>>2]|0)>0){b=0;d=6}else d=5}a:do if((d|0)==6)while(1){d=0;if((z6(a,c[(Ik(a+36|0,b)|0)>>2]|0)|0)>0){b=0;break a}b=b+1|0;if((b|0)>=(c[a+36>>2]|0)){d=5;break}else d=6}while(0);b:do if((d|0)==5)if((c[a+16>>2]|0)>0){b=0;while(1){if((A6(a,c[(Ik(a+16|0,b)|0)>>2]|0)|0)>0){b=0;break b}b=b+1|0;if((b|0)>=(c[a+16>>2]|0)){b=1;break}}}else b=1;while(0);i=e;return b|0}function r6(a){a=a|0;n6(a);s6(a);t6(a);if(u6(a)|0){b[a+8>>1]=c[(Ik(a+16|0,0)|0)>>2];b[a+12>>1]=c[(Ik(a+16|0,(c[a+16>>2]|0)+-1|0)|0)>>2];b[a+10>>1]=c[(Ik(a+36|0,0)|0)>>2];b[a+14>>1]=c[(Ik(a+36|0,(c[a+36>>2]|0)+-1|0)|0)>>2];v6(a);o6(a);p6(a);a=1}else a=0;return a|0}function s6(d){d=d|0;var e=0,f=0,g=0,h=0,j=0;h=i;i=i+160|0;mF(h+132|0);mF(h+112|0);bA(h+8|0,c[d>>2]|0);a[h+52>>0]=1;EX(h+8|0,d+8|0);while(1){f=FX(h+8|0)|0;if(!f)break;if(!(Zj(c[f+72>>2]|0)|0))continue;e=b[f+16>>1]|0;if(e<<16>>16>=(b[f+20>>1]|0)){c[h>>2]=341984;c[h+4>>2]=371;$L(341944,342248,2,1702e3,h);e=b[f+16>>1]|0}j=~~(+(c[f+44>>2]|0)*.3*.5+.5);zv(h+132|0,(e<<16>>16)-j|0);zv(h+112|0,(b[f+20>>1]|0)+j|0)}e=c[h+132>>2]|0;if((e|0)!=0?(g=c[h+112>>2]|0,(g|0)!=0):0){$z(e,c[h+140>>2]|0);$z(g,c[h+120>>2]|0);B6(h+132|0,h+112|0,d+16|0)}jA(h+92|0);Jk(h+112|0);Jk(h+132|0);i=h;return}function t6(d){d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+160|0;mF(m+132|0);mF(m+112|0);bA(m+8|0,c[d>>2]|0);a[m+52>>0]=1;EX(m+8|0,d+8|0);h=-2147483648;j=2147483647;a:while(1){do{k=FX(m+8|0)|0;if(!k)break a}while(!(Zj(c[k+72>>2]|0)|0));e=b[k+18>>1]|0;f=b[k+22>>1]|0;if(e<<16>>16>=f<<16>>16){c[m>>2]=341984;c[m+4>>2]=421;$L(341944,342312,2,1702e3,m);e=b[k+18>>1]|0;f=b[k+22>>1]|0}g=e<<16>>16;j=(j|0)>(g|0)?g:j;e=f<<16>>16;h=(h|0)<(e|0)?e:h;f=ll(k+16|0)|0;if((f<<16>>16|0)>(c[d+84>>2]|0))continue;g=g-~~(+(f<<16>>16)*-.2*.5+.5)|0;e=e+~~(+(f<<16>>16)*-.2*.5+.5)|0;if((g|0)>=(e|0))continue;zv(m+132|0,g);zv(m+112|0,e)}e=c[m+132>>2]|0;if((e|0)!=0?(l=c[m+112>>2]|0,(l|0)!=0):0){$z(e,c[m+140>>2]|0);$z(l,c[m+120>>2]|0);B6(m+132|0,m+112|0,d+36|0);c[(Ik(d+36|0,0)|0)>>2]=j;c[(Ik(d+36|0,(c[d+36>>2]|0)+-1|0)|0)>>2]=h}jA(m+92|0);Jk(m+112|0);Jk(m+132|0);i=m;return}function u6(a){a=a|0;var b=0,d=0;b=c[a+36>>2]|0;if((b+-1|0)>1&(b|0)!=0?(d=c[a+16>>2]|0,(d+-1|0)>1&(d|0)!=0):0)b=(i6(d,b)|0)>5;else b=0;return b|0}function v6(d){d=d|0;var f=0,g=0,h=0;g=i;i=i+128|0;bA(g,c[d+4>>2]|0);a[g+44>>0]=1;NA(g,b[d+8>>1]|0,b[d+12>>1]|0,b[d+14>>1]|0);while(1){f=OA(g,0)|0;if(!f)break;if(!(S5(f)|0))break;$ia(g+112|0,b[d+8>>1]|0,(e[d+14>>1]|0)+1&65535,b[d+12>>1]|0,(((b[f+18>>1]|0)+(b[f+22>>1]|0)|0)/2|0)&65535);h=(ll(g+112|0)|0)<<16>>16;if((h|0)>(c[d+76>>2]<<1|0))break;if((y6(c[d>>2]|0,g+112|0)|0)>0)break;b[d+14>>1]=((b[f+18>>1]|0)+(b[f+22>>1]|0)|0)/2|0}NA(g,b[d+8>>1]|0,b[d+12>>1]|0,b[d+10>>1]|0);while(1){f=OA(g,1)|0;if(!f)break;if(!(S5(f)|0))break;$ia(g+104|0,b[d+8>>1]|0,(((b[f+18>>1]|0)+(b[f+22>>1]|0)|0)/2|0)&65535,b[d+12>>1]|0,(e[d+10>>1]|0)+65535&65535);h=(ll(g+104|0)|0)<<16>>16;if((h|0)>(c[d+76>>2]<<1|0))break;if((y6(c[d>>2]|0,g+104|0)|0)>0)break;b[d+10>>1]=((b[f+18>>1]|0)+(b[f+22>>1]|0)|0)/2|0}jA(g+84|0);i=g;return}function w6(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;k=i;i=i+16|0;if(!(!((d|0)<0|(d|0)>(e|0))?(j=c[a+36>>2]|0,(((j|0)==0?0:j+-1|0)|0)>(e|0)):0)){c[k>>2]=341984;c[k+4>>2]=235;$L(341944,342056,2,1702e3,k)}if(!((f|0)>=0?(j=c[a+16>>2]|0,(((j|0)==0?0:j+-1|0)|0)>(f|0)):0)){c[k>>2]=341984;c[k+4>>2]=237;$L(341944,342120,2,1702e3,k)}b[k+8>>1]=32767;b[k+10>>1]=32767;b[k+12>>1]=-32767;b[k+14>>1]=-32767;if((d|0)>(e|0))g=0;else{g=0;do{b[k+10>>1]=c[(Ik(a+36|0,d)|0)>>2];j=d;d=d+1|0;b[k+14>>1]=c[(Ik(a+36|0,d)|0)>>2];if((f|0)>=0){h=0;do{b[k+8>>1]=c[(Ik(a+16|0,h)|0)>>2];l=h;h=h+1|0;b[k+12>>1]=c[(Ik(a+16|0,h)|0)>>2];g=((y6(c[a>>2]|0,k+8|0)|0)>0&1)+g|0}while((l|0)!=(f|0))}}while((j|0)<(e|0))}i=k;return g|0}function x6(a,b){a=a|0;b=b|0;var d=0;d=c[a+16>>2]|0;return w6(a,b,b,(d|0)==0?-1:d+-2|0)|0}function y6(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+112|0;bA(e,b);a[e+44>>0]=1;EX(e,d);b=0;while(1){d=FX(e)|0;if(!d)break;b=((Zj(c[d+72>>2]|0)|0)&1)+b|0}jA(e+84|0);i=e;return b|0}function z6(d,f){d=d|0;f=f|0;var g=0,h=0,j=0,k=0;h=i;i=i+112|0;g=c[d>>2]|0;j=c[g+4>>2]|0;k=e[d+12>>1]|e[d+14>>1]<<16;c[h>>2]=e[d+8>>1]|e[d+10>>1]<<16;c[h+4>>2]=k;b[h+2>>1]=f-j;b[h+6>>1]=j+f;bA(h+8|0,g);a[h+52>>0]=1;EX(h+8|0,h);g=0;a:while(1){while(1){d=FX(h+8|0)|0;if(!d)break a;if(!(Zj(c[d+72>>2]|0)|0))continue;if((b[d+18>>1]|0)<(f|0))break}g=((b[d+22>>1]|0)>(f|0)&1)+g|0}jA(h+92|0);i=h;return g|0}function A6(d,f){d=d|0;f=f|0;var g=0,h=0,j=0,k=0;h=i;i=i+112|0;g=c[d>>2]|0;j=c[g+4>>2]|0;k=e[d+12>>1]|e[d+14>>1]<<16;c[h>>2]=e[d+8>>1]|e[d+10>>1]<<16;c[h+4>>2]=k;b[h>>1]=f-j;b[h+4>>1]=j+f;bA(h+8|0,g);a[h+52>>0]=1;EX(h+8|0,h);g=0;a:while(1){while(1){d=FX(h+8|0)|0;if(!d)break a;if(!(Zj(c[d+72>>2]|0)|0))continue;if((b[d+16>>1]|0)<(f|0))break}g=((b[d+20>>1]|0)>(f|0)&1)+g|0}jA(h+92|0);i=h;return g|0}function B6(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;j=i;i=i+16|0;Jk(d);e=c[a>>2]|0;if((e|0)!=(c[b>>2]|0)){c[j>>2]=341984;c[j+4>>2]=598;$L(341944,342376,2,1702e3,j);e=c[a>>2]|0}if(e){h=c[(T6(a,0)|0)>>2]|0;if((h|0)>=(c[(T6(b,0)|0)>>2]|0)){c[j>>2]=341984;c[j+4>>2]=601;$L(341944,342416,2,1702e3,j)}h=c[(T6(a,(c[a>>2]|0)+-1|0)|0)>>2]|0;if((h|0)>=(c[(T6(b,(c[b>>2]|0)+-1|0)|0)>>2]|0)){c[j>>2]=341984;c[j+4>>2]=603;$L(341944,342456,2,1702e3,j)}zv(d,c[(T6(a,0)|0)>>2]|0);a:do if((c[a>>2]|0)>0){e=2147483647;h=0;f=0;g=0;while(1){while(1){k=c[(Ik(a,f)|0)>>2]|0;if((k|0)>=(c[(Ik(b,h)|0)>>2]|0))break;if(!((e|0)==2147483647|(g|0)<0)){zv(d,((c[(Ik(a,f)|0)>>2]|0)+e|0)/2|0);e=2147483647}f=f+1|0;if((f|0)<(c[a>>2]|0))g=g+1|0;else break a}g=g+-1|0;if(!((e|0)!=2147483647|(g|0)>0))e=c[(Ik(b,h)|0)>>2]|0;if((f|0)>=(c[a>>2]|0))break;else h=h+1|0}}while(0);zv(d,c[(T6(b,(c[b>>2]|0)+-1|0)|0)>>2]|0)}i=j;return}function C6(a,d){a=a|0;d=d|0;var e=0,f=0;f=D6(a,d,b[a+10>>1]|0,1)|0;e=c[a+64>>2]|0;c[a+64>>2]=(e|0)>(f|0)?f:e;e=D6(a,d,b[a+14>>1]|0,0)|0;f=c[a+60>>2]|0;c[a+60>>2]=(f|0)>(e|0)?e:f;f=E6(a,d,b[a+8>>1]|0,1)|0;e=c[a+68>>2]|0;c[a+68>>2]=(e|0)>(f|0)?f:e;e=E6(a,d,b[a+12>>1]|0,0)|0;d=c[a+72>>2]|0;c[a+72>>2]=(d|0)>(e|0)?e:d;return}function D6(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+112|0;bA(h,e);a[h+44>>0]=1;NA(h,b[d+8>>1]|0,b[d+12>>1]|0,f);while(1){e=OA(h,g)|0;if(!e){e=2147483647;break}if(!(Zj(c[e+72>>2]|0)|0)?!(S5(e)|0):0)continue;if(g)e=f-(b[e+22>>1]|0)|0;else e=(b[e+18>>1]|0)-f|0;if((e|0)>-1)break}jA(h+84|0);i=h;return e|0}function E6(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+112|0;bA(h,e);a[h+44>>0]=1;JA(h,f,b[d+10>>1]|0,b[d+14>>1]|0);while(1){e=KA(h,g)|0;if(!e){e=2147483647;break}if(!(Zj(c[e+72>>2]|0)|0)?!(R6(e)|0):0)continue;if(g)e=f-(b[e+20>>1]|0)|0;else e=(b[e+16>>1]|0)-f|0;if((e|0)>-1)break}jA(h+84|0);i=h;return e|0}function F6(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=2147483647;return}function G6(a,b){a=a|0;b=b|0;c[a>>2]=b;return}function H6(a,b){a=a|0;b=b|0;c[a+4>>2]=b;return}function I6(a,b){a=a|0;b=b|0;c[a+8>>2]=b;return}function J6(a,b){a=a|0;b=b|0;c[a+16>>2]=b;return}function K6(a,b){a=a|0;b=b|0;var d=0;d=WEa(88)|0;g6(d);c[d>>2]=c[a>>2];c[d+4>>2]=c[a+4>>2];c[d+84>>2]=c[a+16>>2];if(!(L6(a,b,d)|0)?!(M6(a,b,d)|0):0){h6(d);YEa(d);d=0}return d|0}function L6(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0;g=i;i=i+16|0;if(N6(c[a+4>>2]|0,d)|0?(h=e[d+4>>1]|e[d+6>>1]<<16,c[g>>2]=e[d>>1]|e[d+2>>1]<<16,c[g+4>>2]=h,O6(a,g)|0):0){h=c[g>>2]|0;d=c[g+4>>2]|0;b[f+8>>1]=h;b[f+10>>1]=h>>>16;b[f+12>>1]=d;b[f+14>>1]=d>>>16;d=m6(f)|0}else d=0;i=g;return d|0}function M6(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;z=i;i=i+16|0;x=e[d>>1]|e[d+2>>1]<<16;y=e[d+4>>1]|e[d+6>>1]<<16;u=UGa(x|0,y|0,48)|0;c[z>>2]=x;c[z+4>>2]=y;t=((b[d+6>>1]|0)+(b[d+2>>1]|0)|0)/2|0;h=Q6(a,(x&65535)<<16>>16,b[d+4>>1]|0,t-((c[a+8>>2]|0)/2|0)|0,1)|0;b[z+6>>1]=Q6(a,b[d>>1]|0,b[d+4>>1]|0,((c[a+8>>2]|0)/2|0)+t|0,0)|0;if((h|0)!=2147483647){g=UGa(x|0,y|0,16)|0;g=g&65535;j=0;k=0;r=h;o=10;h=0;p=0;while(1){n=r&65535;b[z+2>>1]=n;l=(ll(z)|0)<<16>>16;do if((l|0)<(c[a+8>>2]|0))w=13;else{A=c[z>>2]|0;l=c[z+4>>2]|0;b[f+8>>1]=A;b[f+10>>1]=A>>>16;b[f+12>>1]=l;b[f+14>>1]=l>>>16;if(r6(f)|0?(s=c[f+16>>2]|0,((s|0)==0?0.0:+(s+-1|0))>=+(k|0)*.7):0){m=+(c[f+76>>2]|0)*2.5;l=c[f+64>>2]|0;if(!(+(l|0)*1.1>=+(j|0))|(l|0)<(p|0))if((x6(f,0)|0)>1?+(k6(f,0)|0)>2]|0;h=c[f+16>>2]|0;w=10}else n=g;else{j=l;h=s;w=10}if((w|0)==10){w=0;h=(h|0)==0?0:h+-1|0;k=(h|0)<(k|0)?k:h;h=1}o=10;l=c[f+64>>2]|0;break}o=o+-1|0;w=13}while(0);if((w|0)==13){w=0;if((o|0)<1){r=g;break}else{n=g;l=p}}A=r;r=Q6(a,b[d>>1]|0,b[d+4>>1]|0,r,1)|0;if((r|0)==(A|0)){r=n;break}else{g=n;p=l}}if(h?(q=Q6(a,b[d>>1]|0,b[d+4>>1]|0,((c[a+8>>2]|0)/2|0)+t|0,0)|0,b[z+2>>1]=r,(q|0)!=-2147483648):0){h=u&65535;j=0;l=10;g=0;p=0;while(1){o=q&65535;b[z+6>>1]=o;A=(ll(z)|0)<<16>>16;do if((A|0)<(c[a+8>>2]|0))w=28;else{u=c[z>>2]|0;A=c[z+4>>2]|0;b[f+8>>1]=u;b[f+10>>1]=u>>>16;b[f+12>>1]=A;b[f+14>>1]=A>>>16;if(r6(f)|0?(v=c[f+16>>2]|0,((v|0)==0?0.0:+(v+-1|0))>=+(k|0)*.7):0){l=c[f+36>>2]|0;l=(l|0)==0?-1:l+-2|0;m=+(c[f+76>>2]|0)*2.5;n=c[f+60>>2]|0;if(!(+(n|0)*1.1>=+(j|0))|(n|0)<(p|0)){if((x6(f,l)|0)>1?+(k6(f,l)|0)>2]|0;g=c[f+60>>2]|0;w=25}}else{h=v;g=n;w=25}if((w|0)==25){w=0;A=(h|0)==0?0:h+-1|0;h=o;j=g;k=(A|0)<(k|0)?k:A;g=1}l=10;n=c[f+60>>2]|0;break}l=l+-1|0;w=28}while(0);if((w|0)==28){w=0;if((l|0)<1)break;else n=p}A=q;q=Q6(a,b[d>>1]|0,b[d+4>>1]|0,q,0)|0;if((A|0)==(q|0))break;else p=n}if(!(h<<16>>16<=r<<16>>16|g&(x&65535)<<16>>16<(y&65535)<<16>>16^1)){A=_Ga(h&65535|0,0,48)|0;g=F;w=_Ga(r&65535|0,0,16)|0;g=y&65535|F|g;b[f+8>>1]=x&65535|w|A;b[f+10>>1]=(x&65535|w|A)>>>16;b[f+12>>1]=g;b[f+14>>1]=g>>>16;g=r6(f)|0}else g=0}else g=0}else g=0;i=z;return g|0}function N6(b,c){b=b|0;c=c|0;var d=0,e=0,f=0;e=i;i=i+112|0;bA(e,b);a[e+44>>0]=1;EX(e,c);c=0;d=0;while(1){b=FX(e)|0;if(!b)break;f=((S5(b)|0)&1)+c|0;c=f;d=((R6(b)|0)&1)+d|0}jA(e+84|0);i=e;return (d|0)>2&(c|0)>2|0}function O6(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if(P6(c[a+4>>2]|0,b)|0){do{d=Jv(b)|0;if(!(P6(c[a+4>>2]|0,b)|0)){c[e>>2]=341984;c[e+4>>2]=829;$L(341944,342536,2,1702e3,e)}if((Jv(b)|0)<(d|0)){c[e>>2]=341984;c[e+4>>2]=830;$L(341944,342544,2,1702e3,e)}}while((Jv(b)|0)>(d|0));d=1}else d=0;i=e;return d|0}function P6(d,f){d=d|0;f=f|0;var g=0,h=0,j=0;h=i;i=i+112|0;bA(h,d);a[h+44>>0]=1;EX(h,f);g=1;a:while(1){do{d=FX(h)|0;if(!d)break a}while((c[d+72>>2]&-2|0)!=12);if(g){j=e[d+16>>1]|e[d+18>>1]<<16;g=e[d+20>>1]|e[d+22>>1]<<16;b[f>>1]=j;b[f+2>>1]=j>>>16;b[f+4>>1]=g;b[f+6>>1]=g>>>16;g=0;continue}else{bja(f,d+16|0);g=0;continue}}jA(h+84|0);i=h;return g^1|0}function Q6(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;j=i;i=i+112|0;bA(j,c[d>>2]|0);a[j+44>>0]=1;NA(j,e,f,g);e=g;a:while(1){while(1){f=OA(j,h)|0;if(!f)break a;if(!(Zj(c[f+72>>2]|0)|0))continue;k=c[f+48>>2]|0;if(!((k|0)==1|(k|0)==7))continue;k=(ll(f+16|0)|0)<<16>>16;if((k|0)<=(c[d+16>>2]|0))break}if(h){if((e|0)<(g|0)?(e|0)>(b[f+22>>1]|0):0)break;k=b[f+18>>1]|0;e=(e|0)>(k|0)?k:e;continue}else{if((e|0)>(g|0)?(e|0)<(b[f+18>>1]|0):0)break;k=b[f+22>>1]|0;e=(e|0)<(k|0)?k:e;continue}}jA(j+84|0);i=j;return e|0}function R6(a){a=a|0;if((c[a+48>>2]&-5|0)==2)a=(c[a+72>>2]&-2|0)==12;else a=0;return a|0}function S6(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=c[a>>2]|0;if(b){if((b|0)>1){g=c[a+8>>2]|0;d=b;f=1;b=0;do{e=c[g+(f<<2)>>2]|0;if((c[g+(b<<2)>>2]|0)!=(e|0)){b=b+1|0;c[g+(b<<2)>>2]=e;d=c[a>>2]|0}f=f+1|0}while((f|0)<(d|0))}else b=0;c[a>>2]=b+1}return}function T6(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if(!((b|0)>-1?(c[a>>2]|0)>(b|0):0)){c[d>>2]=1701680;c[d+4>>2]=657;$L(341944,1701640,2,1702e3,d)}i=d;return (c[a+8>>2]|0)+(b<<2)|0}function U6(a){a=a|0;if(a)YEa(a);return}function V6(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=i;i=i+32|0;f=WEa(20)|0;b7(f,a,b);d=WEa(4)|0;c[d>>2]=0;pk(e,d);qv(e,f);if(b)c[a+52>>2]=d;else c[a+56>>2]=d;i=e;return}function W6(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if((a|0)==(b|0))b=0;else{c[d+12>>2]=-2147483647;c[d+8>>2]=2147483647;if((c[77789]|0)>3)jN(343024,d);X6(a,d+12|0,d+8|0);X6(b,d+12|0,d+8|0);if((c[77789]|0)>3){a=c[d+12>>2]|0;b=c[d+8>>2]|0;c[d>>2]=a;c[d+4>>2]=b;jN(343064,d)}else{b=c[d+8>>2]|0;a=c[d+12>>2]|0}b=(b|0)>=(a|0)}i=d;return b|0}function X6(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=i;i=i+48|0;pk(f+8|0,a);rk(f+8|0);if(!(sk(f+8|0)|0))do{e=tk(f+8|0)|0;if((c[77789]|0)>3){a=c[e+16>>2]|0;c[f>>2]=c[e+12>>2];c[f+4>>2]=a;jN(343128,f);Z6(c[e+4>>2]|0,343152);a=e+16|0}else a=e+16|0;g=c[b>>2]|0;e=c[e+12>>2]|0;c[b>>2]=(g|0)<(e|0)?e:g;e=c[d>>2]|0;a=c[a>>2]|0;c[d>>2]=(e|0)>(a|0)?a:e;OL(f+8|0)|0}while(!(sk(f+8|0)|0));i=f;return}function Y6(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+64|0;if((b|0)!=(d|0)){pk(g+32|0,d);if((c[77789]|0)>3)jN(343096,g);rk(g+32|0);if(!(sk(g+32|0)|0))do{f=tk(g+32|0)|0;if((c[77789]|0)>3)Z6(c[f+4>>2]|0,343120);e=c[f+4>>2]|0;if(!(a[f+8>>0]|0))c[e+56>>2]=b;else c[e+52>>2]=b;OL(g+32|0)|0}while(!(sk(g+32|0)|0));pk(g+4|0,b);c[g+32>>2]=c[g+4>>2];c[g+36>>2]=c[g+8>>2];c[g+40>>2]=c[g+12>>2];c[g+44>>2]=c[g+16>>2];c[g+48>>2]=c[g+20>>2];c[g+52>>2]=c[g+24>>2];a[g+56>>0]=a[g+28>>0]|0;yB(g+32|0,d);if(d){KL(d,244);YEa(d)}}i=g;return}function Z6(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;e=i;i=i+48|0;if(!a){c[e>>2]=d;jN(343440,e)}else{o=c[343416+(c[a+40>>2]<<2)>>2]|0;n=b[a+8>>1]|0;m=b[a+10>>1]|0;l=b[a+12>>1]|0;k=b[a+14>>1]|0;j=c[a+32>>2]|0;h=c[a+28>>2]|0;g=c[a+24>>2]|0;f=CL(a+44|0)|0;a=CL(a+48|0)|0;c[e>>2]=d;c[e+4>>2]=o;c[e+8>>2]=n;c[e+12>>2]=m;c[e+16>>2]=l;c[e+20>>2]=k;c[e+24>>2]=j;c[e+28>>2]=h;c[e+32>>2]=g;c[e+36>>2]=f;c[e+40>>2]=a;jN(343456,e)}i=e;return}function _6(b){b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+48|0;c[f+32>>2]=-2147483647;c[f+28>>2]=2147483647;X6(b,f+32|0,f+28|0);d=((c[f+28>>2]|0)+(c[f+32>>2]|0)|0)/2|0;pk(f,b);rk(f);if(!(sk(f)|0))do{g=tk(f)|0;e=c[g+4>>2]|0;if(!(a[g+8>>0]|0)){a7(e,d);c[e+56>>2]=0}else{$6(e,d);c[e+52>>2]=0}OL(f)|0}while(!(sk(f)|0));if(b){KL(b,244);YEa(b)}i=f;return}function $6(a,c){a=a|0;c=c|0;b[a+12>>1]=q4(a,c)|0;b[a+14>>1]=c;return}function a7(a,c){a=a|0;c=c|0;b[a+8>>1]=q4(a,c)|0;b[a+10>>1]=c;return}function b7(d,e,f){d=d|0;e=e|0;f=f|0;c[d>>2]=0;c[d+4>>2]=e;a[d+8>>0]=f&1;if(f){c[d+12>>2]=b[e+14>>1];c[d+16>>2]=c[e+20>>2]}else{c[d+16>>2]=b[e+10>>1];c[d+12>>2]=c[e+16>>2]}return}function c7(a){a=a|0;if(a){d7(a);YEa(a)}return}function d7(a){a=a|0;BL(a+48|0);BL(a+44|0);return}function e7(a,d,f,g,h,j,k){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0;m=i;i=i+16|0;l=WEa(60)|0;v7(l,f,g,a,h);c[m+4>>2]=e[d>>1]|e[d+2>>1]<<16;if(f7(l,m+4|0,0)|0){h=c[l+40>>2]|0;if(!((h|0)==1|(h|0)==4)){x7(m,b[l+12>>1]|0,b[l+14>>1]|0,b[l+8>>1]|0,b[l+10>>1]|0);h=c[m>>2]|0;b[d>>1]=h;b[d+2>>1]=h>>>16;h=CL(l+44|0)|0;f=ba(b[d>>1]|0,h)|0;c[j>>2]=f+(c[j>>2]|0);j=ba(b[d+2>>1]|0,h)|0;c[k>>2]=j+(c[k>>2]|0)}}else{d7(l);YEa(l);l=0}i=m;return l|0}function f7(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+128|0;a[d+36>>0]=0;if(!(c[d+44>>2]|0))if(g){c[t+116>>2]=e[d+8>>1]|e[d+10>>1]<<16;eB(t+116|0,b[d+12>>1]|0,b[d+14>>1]|0);g=c[t+116>>2]|0;b[t+116>>1]=(g<<16>>16|0)/2|0;b[t+118>>1]=(g>>16|0)/2|0;c[d+24>>2]=CZ(b[f>>1]|0,b[f+2>>1]|0,((g<<16>>16|0)/2|0)<<16>>16,((g>>16|0)/2|0)<<16>>16)|0;g=(b[d+10>>1]|0)!=(b[d+14>>1]|0)}else g=0;else{if(!g?(s=c[d+40>>2]|0,!((s|0)==1|(s|0)==4)):0){vda(t+8|0);fA(t+60|0,d+44|0);gA(t+60|0);while(1){if((hA(t+60|0)|0)<<24>>24)break;r=(iA(t+60|0)|0)+8|0;h=e[r>>1]|e[r+2>>1]<<16;r=e[r+4>>1]|e[r+6>>1]<<16;s=UGa(h|0,r|0,16)|0;g=UGa(h|0,r|0,48)|0;q=((c[d+40>>2]|0)+-3|0)>>>0<2;h=q?r:h;b[t+120>>1]=h;b[t+122>>1]=s;yda(t+8|0,t+120|0);if((kA(t+60|0)|0)<<24>>24){b[t+124>>1]=h;b[t+126>>1]=g;yda(t+8|0,t+124|0)}DL(t+60|0)|0}+yU(t+8|0,d+8|0,d+12|0);if((b[d+10>>1]|0)!=(b[d+14>>1]|0)){s=e[d+12>>1]|e[d+14>>1]<<16;b[f>>1]=s;b[f+2>>1]=s>>>16;YV(f,b[d+8>>1]|0,b[d+10>>1]|0)}wda(t+8|0)}g=b[d+10>>1]|0;h=b[d+14>>1]|0;c[d+24>>2]=(c[d+40>>2]|0)>>>0<2?2147483647:-2147483647;fA(t+88|0,d+44|0);c[d+32>>2]=0;gA(t+88|0);if(!((hA(t+88|0)|0)<<24>>24)){s=0;while(1){r=(iA(t+88|0)|0)+8|0;n=e[r>>1]|e[r+2>>1]<<16;r=e[r+4>>1]|e[r+6>>1]<<16;c[t>>2]=n;c[t+4>>2]=r;o=(kl(t)|0)<<16>>16;c[d+32>>2]=(c[d+32>>2]|0)+o;o=s+1|0;p=c[d+40>>2]|0;q=(p+-3|0)>>>0<2?r:n;r=UGa(n|0,r|0,48)|0;r=_Ga(r|0,F|0,16)|0;m=b[f>>1]|0;k=b[f+2>>1]|0;j=CZ(m,k,q<<16>>16,n>>16)|0;l=c[d+24>>2]|0;if(p>>>0<2^(j|0)<(l|0)){j=l;l=m}else{c[d+24>>2]=j;b[d+8>>1]=n&-65536|q&65535;b[d+10>>1]=(n&-65536|q&65535)>>>16;l=b[f>>1]|0;k=b[f+2>>1]|0}k=CZ(l,k,q<<16>>16,r>>16)|0;if(!(p>>>0<2^(k|0)<(j|0))){c[d+24>>2]=k;b[d+8>>1]=r|q&65535;b[d+10>>1]=(r|q&65535)>>>16}p=OC(t+88|0)|0;q=kA(t+88|0)|0;g=p<<24>>24==0?g:n>>16;h=q<<24>>24==0?h:r>>16;DL(t+88|0)|0;if((hA(t+88|0)|0)<<24>>24)break;else s=o}if((s|0)>-1){c[d+32>>2]=(s+(c[d+32>>2]|0)|0)/(o|0)|0;j=f;k=f+2|0}else{j=f;k=f+2|0}}else{j=f;k=f+2|0}y7(t+56|0,b[d+8>>1]|0,b[d+10>>1]|0,b[j>>1]|0,b[k>>1]|0);s=c[t+56>>2]|0;b[d+12>>1]=s;b[d+14>>1]=s>>>16;a[d+37>>0]=1;if((g|0)==(h|0))g=0;else{s=c[d+24>>2]|0;b[d+8>>1]=OX(f,s,g)|0;b[d+10>>1]=g;b[d+12>>1]=OX(f,s,h)|0;b[d+14>>1]=h;g=1}}i=t;return g|0}function g7(d,f,g,h,j){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0;l=i;i=i+32|0;c[d+0>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=c[f+16>>2];c[d+20>>2]=c[f+20>>2];c[d+24>>2]=0;c[d+28>>2]=0;c[d+32>>2]=0;a[d+36>>0]=1;a[d+37>>0]=1;a[d+38>>0]=0;c[d+40>>2]=g;c[d+44>>2]=0;c[d+48>>2]=0;c[d+52>>2]=0;c[d+56>>2]=0;fA(l,d+44|0);JC(l,j);k=e[j+8>>1]|e[j+10>>1]<<16;f=e[j+12>>1]|e[j+14>>1]<<16;if((c[d+40>>2]|0)>>>0<2){b[d+8>>1]=k;b[d+10>>1]=k>>>16;b[d+12>>1]=f&-65536|k&65535;b[d+14>>1]=(f&-65536|k&65535)>>>16;g=k;j=f&-65536|k&65535}else{b[d+8>>1]=f&65535|k&-65536;b[d+10>>1]=(f&65535|k&-65536)>>>16;b[d+12>>1]=f;b[d+14>>1]=f>>>16;g=f;j=f}c[d+24>>2]=CZ(b[h>>1]|0,b[h+2>>1]|0,((j<<16>>16)+(g<<16>>16)|0)/2|0,((f>>16)+(k>>16)|0)/2|0)|0;if((c[77789]|0)>3)Z6(d,343160);i=l;return}function h7(b,c){b=b|0;c=c|0;var d=0,f=0,g=0,h=0,j=0;j=i;i=i+32|0;g=UGa(e[c+8>>1]|e[c+10>>1]<<16|0,e[c+12>>1]|e[c+14>>1]<<16|0,48)|0;fA(j,b+44|0);a:do if(!((aB(j)|0)<<24>>24)){d=iA(j)|0;while(1){f=d+8|0;f=UGa(e[f>>1]|e[f+2>>1]<<16|0,e[f+4>>1]|e[f+6>>1]<<16|0,48)|0;if((kA(j)|0)<<24>>24!=0?1:(f&65535)<<16>>16>(g&65535)<<16>>16)break;if((d|0)==(c|0))break a;DL(j)|0;d=iA(j)|0}if((f&65535)<<16>>16>=(g&65535)<<16>>16){PC(j,c);a[b+36>>0]=1}else h=8}else h=8;while(0);if((h|0)==8){a[b+36>>0]=1;NC(j,c)}i=j;return}function i7(a,c){a=a|0;c=c|0;var d=0,f=0;yD(a+8|0,+g[c>>2],+g[c+4>>2]);yD(a+12|0,+g[c>>2],+g[c+4>>2]);d=(b[a+12>>1]|0)-(b[a+8>>1]|0)|0;c=(b[a+14>>1]|0)-(b[a+10>>1]|0)|0;if((c|0)<0?(((d|0)>-1?d:0-d|0)|0)<(0-c|0):0)f=5;else f=3;if(((f|0)==3?(d|0)<0:0)?(((c|0)>-1?c:0-c|0)|0)<(0-d|0):0)f=5;if((f|0)==5){f=e[a+8>>1]|e[a+10>>1]<<16;d=e[a+12>>1]|e[a+14>>1]<<16;b[a+8>>1]=d;b[a+10>>1]=d>>>16;b[a+12>>1]=f;b[a+14>>1]=f>>>16}return}function j7(a){a=a|0;V6(a,0);V6(a,1);return}function k7(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+32|0;fA(f,a+48|0);gA(f);if(!((hA(f)|0)<<24>>24)){d=0;while(1){b=iA(f)|0;if((c[b+52>>2]|0)!=0?(e=c[b+56>>2]|0,(e|0)!=0):0){if(!d){if(W6(c[a+56>>2]|0,e)|0)Y6(c[a+56>>2]|0,c[b+56>>2]|0)}else{d=d+52|0;if(W6(c[d>>2]|0,e)|0)Y6(c[d>>2]|0,c[b+56>>2]|0)}if((kA(f)|0)<<24>>24!=0?W6(c[a+52>>2]|0,c[b+52>>2]|0)|0:0)Y6(c[a+52>>2]|0,c[b+52>>2]|0)}else{Z6(b,343192);Z6(a,343224);b=d}DL(f)|0;if(!((hA(f)|0)<<24>>24))d=b;else break}}i=f;return}function l7(a,b){a=a|0;b=b|0;if(W6(c[a+56>>2]|0,c[b+56>>2]|0)|0)Y6(c[a+56>>2]|0,c[b+56>>2]|0);if(W6(c[a+52>>2]|0,c[b+52>>2]|0)|0)Y6(c[a+52>>2]|0,c[b+52>>2]|0);return}function m7(a){a=a|0;var b=0;b=c[a+52>>2]|0;if(b)_6(b);b=c[a+56>>2]|0;if(b)_6(b);return}function n7(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0;h=i;i=i+64|0;Lk(h+32|0,d);Mk(h+32|0);if(!((Nk(h+32|0)|0)<<24>>24))do{d=Ok(h+32|0)|0;c[h+4>>2]=c[h+32>>2];c[h+8>>2]=c[h+36>>2];c[h+12>>2]=c[h+40>>2];c[h+16>>2]=c[h+44>>2];c[h+20>>2]=c[h+48>>2];c[h+24>>2]=c[h+52>>2];c[h+28>>2]=c[h+56>>2];VL(h+4|0);a:do if(!((Mv(h+4|0)|0)<<24>>24)){while(1){g=Ok(h+4|0)|0;if(o7(g,b[a+2>>1]|0,d,f)|0)break;VL(h+4|0);if((Mv(h+4|0)|0)<<24>>24)break a}if(c[77789]|0){Z6(g,343256);Z6(d,343264)}p7(g,a,hv(h+32|0)|0);if(c[77789]|0)Z6(g,343280);c[h>>2]=e[g+12>>1]|e[g+14>>1]<<16;YV(h,b[g+8>>1]|0,b[g+10>>1]|0);if((c[77789]|0)!=0?(d=b[h>>1]|0,((d<<16>>16>-1?d<<16>>16:0-(d<<16>>16)|0)|0)>100):0)Z6(g,343296)}while(0);VL(h+32|0)}while((Nk(h+32|0)|0)<<24>>24==0);i=h;return}function o7(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0;n=i;i=i+112|0;m=c[a+40>>2]|0;if((m+-3|0)>>>0<2){h=c[f+40>>2]|0;if((h+-3|0)>>>0<2)k=5;else h=0}else if(m>>>0<2?(h=c[f+40>>2]|0,h>>>0<2):0)k=5;else h=0;if((k|0)==5){j=c[f+20>>2]|0;l=c[f+16>>2]|0;o=c[a+20>>2]|0;k=c[a+16>>2]|0;if((((o|0)<(j|0)?o:j)-((k|0)>(l|0)?k:l)|0)>=0){d=d<<16>>16>-1?d<<16>>16:0-(d<<16>>16)|0;d=(d|0)==0?1:d;j=c[a+24>>2]|0;k=c[f+24>>2]|0;if(((d*10|0)+j|0)<(k|0)|(j-(d*10|0)|0)>(k|0))if(((m|0)==1|(m|0)==4?(h|0)==1|(h|0)==4:0)?!(((d*50|0)+j|0)<(k|0)|(j-(d*50|0)|0)>(k|0)):0)if(!g)h=1;else{h=(m+-3|0)>>>0<2&(j|0)<(k|0)?a:f;f=b[h+14>>1]|0;l=b[h+10>>1]|0;o=q4(h,f<<16>>16)|0;h=q4(h,l<<16>>16)|0;k=(((j-k|0)>-1?j-k|0:0-(j-k)|0)|0)/(d|0)|0;DT(n,g);ET(n,((o|0)>(h|0)?h:o)-((m+-3|0)>>>0<2?0:k)|0,((m+-3|0)>>>0<2?k:0)+((o|0)<(h|0)?h:o)|0,f<<16>>16);while(1){h=FT(n,1)|0;if(!h){h=1;break}d=e[h+8>>1]|e[h+10>>1]<<16;h=e[h+12>>1]|e[h+14>>1]<<16;j=UGa(d|0,h|0,16)|0;o=UGa(d|0,h|0,48)|0;if((o&65535)<<16>>16>l<<16>>16){h=1;break}if((j&65535)<<16>>16>16)continue;g=q4(a,(j&65535)<<16>>16)|0;m=((c[a+40>>2]|0)+-3|0)>>>0<2;o=g-(m?0:k)|0;g=(m?k:0)+g|0;m=_Ga(h|0,0,16)|0;if((((g|0)>(m>>16|0)?m>>16:g)|0)>(((o|0)<(d<<16>>16|0)?d<<16>>16:o)|0)){h=0;break}}GT(n+84|0)}else h=0;else h=1}else h=0}i=n;return h|0}function p7(a,b,d){a=a|0;b=b|0;d=d|0;var f=0,g=0,h=0,j=0,k=0;j=i;i=i+64|0;f=c[a+16>>2]|0;h=c[d+16>>2]|0;c[a+16>>2]=(f|0)>(h|0)?h:f;f=c[a+20>>2]|0;h=c[d+20>>2]|0;c[a+20>>2]=(f|0)<(h|0)?h:f;f=c[d+40>>2]|0;if((f|0)==1|(f|0)==4)c[a+40>>2]=f;fA(j+32|0,a+44|0);fA(j+4|0,d+44|0);if(!((aB(j+4|0)|0)<<24>>24))do{h=ZA(j+4|0)|0;DL(j+4|0)|0;f=UGa(e[h+8>>1]|e[h+10>>1]<<16|0,e[h+12>>1]|e[h+14>>1]<<16|0,16)|0;g=iA(j+32|0)|0;while(1){k=g+8|0;k=UGa(e[k>>1]|e[k+2>>1]<<16|0,e[k+4>>1]|e[k+6>>1]<<16|0,16)|0;if((k&65535)<<16>>16>=(f&65535)<<16>>16){f=10;break}if((kA(j+32|0)|0)<<24>>24){f=8;break}DL(j+32|0)|0;g=iA(j+32|0)|0}if((f|0)==8)JC(j+32|0,h);else if((f|0)==10?(0,(g|0)!=(h|0)):0)PC(j+32|0,h)}while((aB(j+4|0)|0)<<24>>24==0);c[j>>2]=e[b>>1]|e[b+2>>1]<<16;f7(a,j,1)|0;q7(d,a);i=j;return}function q7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=i;i=i+64|0;fA(f+28|0,a+48|0);gA(f+28|0);if(!((hA(f+28|0)|0)<<24>>24))do{d=iA(f+28|0)|0;fA(f,d+48|0);gA(f);a:do if(!((hA(f)|0)<<24>>24))while(1){if((iA(f)|0)==(b|0)){e=0;break a}DL(f)|0;if((hA(f)|0)<<24>>24){e=b;break}}else e=b;while(0);gA(f);if(!((hA(f)|0)<<24>>24)){c=(e|0)==0;do{if((iA(f)|0)==(a|0)?(ZA(f)|0,!c):0)PC(f,e);DL(f)|0}while((hA(f)|0)<<24>>24==0)}if(e)r7(e,d);DL(f+28|0)|0}while((hA(f+28|0)|0)<<24>>24==0);if(a){d7(a);YEa(a)}i=f;return}function r7(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;do if((c[a+40>>2]|0)!=5?(c[b+40>>2]|0)!=5:0){fA(d,a+48|0);if((aB(d)|0)<<24>>24==0?(IL(d),(iA(d)|0)==(b|0)):0)break;CT(d,b)}while(0);i=d;return}function s7(b,d,f){b=b|0;d=d|0;f=f|0;var g=0;g=i;i=i+16|0;if(a[b+36>>0]|0){c[g>>2]=e[d>>1]|e[d+2>>1]<<16;f7(b,g,1)|0}if(a[b+37>>0]|0)t7(b,d,f);i=g;return}function t7(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,j=0,l=0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0.0,C=0;A=i;i=i+96|0;a[d+37>>0]=0;if((b[d+14>>1]|0)!=(b[d+10>>1]|0)?(c[d+44>>2]|0)!=0:0){fA(A+28|0,d+44|0);gA(A+28|0);if(!((hA(A+28|0)|0)<<24>>24)){j=0;l=0;while(1){l=((ll((iA(A+28|0)|0)+8|0)|0)<<16>>16)+l|0;g=j+1|0;DL(A+28|0)|0;if((hA(A+28|0)|0)<<24>>24)break;else j=g}if((j|0)>-1)l=(l|0)/(g|0)|0}else l=0;x=l<<2;y=c[d+40>>2]|0;if((y|0)==1|(y|0)==4)t=l*3|0;else t=x;Aka(A+64|0,0,t+1|0);gA(A+28|0);w=0;v=0;n=0;o=0;y=0;while(1){if((hA(A+28|0)|0)<<24>>24)break;s=iA(A+28|0)|0;j=b[s+10>>1]|0;g=(j+(b[s+14>>1]|0)|0)/2|0;j=xT(2,q4(d,j)|0,j)|0;if(w|j^1)r=w|j;else{c[A>>2]=n;jN(343552,A);Z6(d,343592);r=1}w=(c[d+40>>2]|0)>>>0<2;G3(f,q4(d,g)|0,t,w,s,A+60|0,A+80|0);if(r){p=b[s+10>>1]|0;q=b[s+12>>1]|0;w=b[s+14>>1]|0;g=c[A+60>>2]|0;j=c[A+80>>2]|0;c[A>>2]=b[s+8>>1];c[A+4>>2]=p;c[A+8>>2]=q;c[A+12>>2]=w;c[A+16>>2]=g;c[A+20>>2]=j;jN(343616,A)}else{j=c[A+80>>2]|0;g=c[A+60>>2]|0}if((j*3|0)>(g|0)){if(r){p=b[s+10>>1]|0;q=b[s+12>>1]|0;w=b[s+14>>1]|0;c[A>>2]=b[s+8>>1];c[A+4>>2]=p;c[A+8>>2]=q;c[A+12>>2]=w;c[A+16>>2]=g;c[A+20>>2]=j;jN(343720,A)}ZA(A+28|0)|0;j=v;n=n+1|0;g=y}else{j=(b[s+14>>1]|0)-(b[s+10>>1]|0)+v|0;Fka(A+64|0,g,1);g=b[s+10>>1]|0;if(o){g=(g<<16>>16)-(b[o+6>>1]|0)|0;B=+R(+(+(Jv(o)|0)));m=+R(+(+(Jv(s+8|0)|0)));m=(B<=m?B:m)*11.0;j=(+(g|0)>2]=g;h[k>>3]=m;c[A+4>>2]=c[k>>2];c[A+8>>2]=c[k+4>>2];c[A+12>>2]=j;jN(343664,A)}}else a7(d,g<<16>>16);o=s+8|0;g=(c[s+44>>2]|0)==5|y}DL(A+28|0)|0;w=r;v=j;y=g}if(w)Z6(d,343776);j=b[d+14>>1]|0;g=b[d+10>>1]|0;u=ok(+Mka(A+64|0))|0;a:do if((c[A+72>>2]|0)>0){gA(A+28|0);t=l*3|0;s=n;o=0;while(1){if((hA(A+28|0)|0)<<24>>24){n=s;break a}r=iA(A+28|0)|0;n=c[d+40>>2]|0;p=q4(d,((b[r+10>>1]|0)+(b[r+14>>1]|0)|0)/2|0)|0;if((n|0)==1|(n|0)==4)q=t;else q=x;G3(f,p,q,n>>>0<2,r,A+24|0,A+56|0);n=c[A+24>>2]|0;if(!(+(n|0)>=+(u|0)*.5)){if(w){C=b[r+10>>1]|0;p=b[r+12>>1]|0;q=b[r+14>>1]|0;c[A>>2]=b[r+8>>1];c[A+4>>2]=C;c[A+8>>2]=p;c[A+12>>2]=q;c[A+16>>2]=n;c[A+20>>2]=u;jN(343792,A)}ZA(A+28|0)|0;q=s+1|0}else{if(!o){a7(d,b[r+10>>1]|0);g=b[r+14>>1]|0}q=s;o=r+8|0;j=b[r+10>>1]|0}DL(A+28|0)|0;s=q}}while(0);do if(!o){c[d+28>>2]=0;z=54}else{$6(d,b[o+6>>1]|0);c[d+28>>2]=(v*100|0)/((b[d+14>>1]|0)-(b[d+10>>1]|0)|0)|0;if((n|0)>0?(a[d+36>>0]=1,s7(d,e,f),(c[d+44>>2]|0)==0):0)break;if((g|0)>(j|0)){g=b[d+10>>1]|0;j=b[d+14>>1]|0}m=4.0/+(CL(d+44|0)|0);C=c[d+40>>2]|0;m=+(l|0)*(m+((C|0)==1|(C|0)==4?1.5:.25));C=(ok(m)|0)+1|0;g=F3(f,g,j,d,y,(u|0)>(C|0)?u:C,A+84|0)|0;if(!(+(g|0)>2]|0;c[A>>2]=g;h[k>>3]=m;c[A+4>>2]=c[k>>2];c[A+8>>2]=c[k+4>>2];c[A+12>>2]=z;jN(343912,A);z=55;break}if(w){c[A>>2]=g;h[k>>3]=m;c[A+4>>2]=c[k>>2];c[A+8>>2]=c[k+4>>2];jN(343856,A)}BL(d+44|0);c[d+28>>2]=0;z=54}while(0);if((z|0)==54?w:0)z=55;if((z|0)==55)Z6(d,343968);Eka(A+64|0)}else{c[d+28>>2]=0;Z6(d,343528)}i=A;return}function u7(a){a=a|0;var b=0,d=0;b=i;i=i+32|0;d=c[a+48>>2]|0;if((d|0)!=0?(d|0)==(c[d>>2]|0):0){fA(b,a+48|0);a=iA(b)|0}else a=0;i=b;return a|0}function v7(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+32|0;c[b+0>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=d;c[b+20>>2]=e;c[b+24>>2]=0;c[b+28>>2]=0;c[b+32>>2]=0;a[b+36>>0]=1;a[b+37>>0]=1;c[b+40>>2]=f;c[b+44>>2]=0;c[b+48>>2]=0;c[b+52>>2]=0;c[b+56>>2]=0;fA(h,b+44|0);rZ(h,g);i=h;return}function w7(){c[85646]=1701984;c[85648]=389976;c[85650]=390024;c[85652]=390056;c[85654]=390112;c[85656]=390152;c[85658]=390184;c[85660]=390240;c[85662]=390280;c[85664]=390328;c[85666]=390376;c[85668]=390400;c[85670]=390432;c[85672]=390504;c[85674]=390552;c[85676]=390592;c[85678]=390640;tJ(342720,.5,342760,342800,kM()|0);tJ(342880,.5,342920,342960,kM()|0);return}function x7(a,c,d,e,f){a=a|0;c=c|0;d=d|0;e=e|0;f=f|0;b[a>>1]=(c&65535)-(e&65535);b[a+2>>1]=(d&65535)-(f&65535);return}function y7(a,c,d,e,f){a=a|0;c=c|0;d=d|0;e=e|0;f=f|0;b[a>>1]=(e&65535)+(c&65535);b[a+2>>1]=(f&65535)+(d&65535);return}function z7(a,b){a=a|0;b=b|0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;b=ok(+(b|0)/100.0)|0;c[a>>2]=(b|0)<1?1:b;return}function A7(a){a=a|0;cp(a+12|0);return}function B7(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;i=i+16|0;cp(a+12|0);h=(Cp(e)|0)&65535;$ia(f,0,0,h,(up(e)|0)&65535);c[a+4>>2]=0;c[a+8>>2]=(ll(f)|0)<<16>>16;h=kl(f)|0;g=c[a>>2]|0;c[a+12>>2]=_o((g+-1+(h<<16>>16)|0)/(g|0)|0,(g+-1+((ll(f)|0)<<16>>16)|0)/(g|0)|0,8)|0;C7(a,b+4|0,d,f,e);C7(a,b+20|0,d,f,e);d=Wm(c[a+12>>2]|0)|0;cp(a+12|0);c[a+12>>2]=d;i=f;return}function C7(a,d,f,h,j){a=a|0;d=d|0;f=f|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0;m=i;i=i+96|0;pk(m+56|0,d);rk(m+56|0);if(!(sk(m+56|0)|0))do{d=tk(m+56|0)|0;l=e[d+8>>1]|e[d+10>>1]<<16;k=e[d+12>>1]|e[d+14>>1]<<16;c[m+40>>2]=l;c[m+44>>2]=k;n=_Ga(k|0,0,16)|0;k=UGa(l|0,k|0,48)|0;k=_Ga(k|0,F|0,16)|0;b[m+84>>1]=((n>>16)+(l<<16>>16)|0)/2|0;b[m+86>>1]=((k>>16)+(l>>16)|0)/2|0;d=V7(a,d,m+40|0)|0;wD(m+40|0,f);yD(m+84|0,+g[f>>2],+g[f+4>>2]);if(+g[f>>2]==0.0)d=d^1;fja(m+40|0,h);k=b[m+84>>1]|0;l=b[m+86>>1]|0;o=c[m+40>>2]|0;n=c[m+44>>2]|0;c[m+48>>2]=o;c[m+52>>2]=n;c[m+32>>2]=o;c[m+36>>2]=n;if(d){b[m+52>>1]=k;W7(m+24|0,j,m+48|0);l=c[m+24>>2]|0;d=c[m+28>>2]|0;o=UGa(l|0,d|0,16)|0;n=UGa(l|0,d|0,48)|0;if(!((l&65535)<<16>>16>=(d&65535)<<16>>16?1:(n&65535)<<16>>16<=(o&65535)<<16>>16))b[m+48>>1]=d;b[m+32>>1]=k;W7(m+16|0,j,m+32|0);d=c[m+16>>2]|0;l=c[m+20>>2]|0;o=UGa(d|0,l|0,16)|0;n=UGa(d|0,l|0,48)|0;if(!((d&65535)<<16>>16>=(l&65535)<<16>>16?1:(n&65535)<<16>>16<=(o&65535)<<16>>16))b[m+36>>1]=d}else{b[m+50>>1]=l;W7(m+8|0,j,m+48|0);k=c[m+8>>2]|0;n=c[m+12>>2]|0;d=UGa(k|0,n|0,16)|0;o=UGa(k|0,n|0,48)|0;if(!((k&65535)<<16>>16>=(n&65535)<<16>>16?1:(o&65535)<<16>>16<=(d&65535)<<16>>16))b[m+54>>1]=d;b[m+38>>1]=l;W7(m,j,m+32|0);l=c[m>>2]|0;n=c[m+4>>2]|0;o=UGa(l|0,n|0,16)|0;d=UGa(l|0,n|0,48)|0;if(!((l&65535)<<16>>16>=(n&65535)<<16>>16?1:(d&65535)<<16>>16<=(o&65535)<<16>>16))b[m+34>>1]=d}bja(m+48|0,m+32|0);o=c[m+52>>2]|0;c[m+40>>2]=c[m+48>>2];c[m+44>>2]=o;if((Jv(m+40|0)|0)>0)U7(a,m+40|0);OL(m+56|0)|0}while(!(sk(m+56|0)|0));i=m;return}function D7(d,e,f){d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+64|0;pk(g+28|0,e);pk(g,f);rk(g+28|0);if(!(sk(g+28|0)|0))do{e=tk(g+28|0)|0;do if(E7(d,e+8|0,xT(2,b[e+8>>1]|0,b[e+10>>1]|0)|0)|0){if((a[e+113>>0]|0)!=0?(a[e+112>>0]|0)==0:0)break;c[e+92>>2]=0;c[e+96>>2]=0;c[e+100>>2]=0;c[e+104>>2]=0;c[e+108>>2]=0;qv(g,pv(g+28|0)|0)}while(0);OL(g+28|0)|0}while(!(sk(g+28|0)|0));i=g;return}function E7(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e+4>>2]=0;c[e>>2]=0;M7(a,b,0,d,e+4|0,e)|0;d=c[e+4>>2]|0;b=c[e>>2]|0;if((b+d|0)>5)d=0;else d=(((d|0)<=(b|0)?d:b)|0)<0;i=e;return d|0}function F7(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;h=Cp(c[b+12>>2]|0)|0;j=up(c[b+12>>2]|0)|0;d=_o(h,j,32)|0;c[m+4>>2]=d;k=bp(c[b+12>>2]|0)|0;l=bp(d)|0;e=vp(c[b+12>>2]|0)|0;b=vp(d)|0;if((j|0)>0){g=0;while(1){if((h|0)>0){f=0;do{d=a[(e+f^3)>>0]|0;do if((d&255)>=18)if((d&255)<146){Sp(0,((d&255)<<1)+-34|0,255,m);break}else{Sp(((d&255)<<1)+-290|0,255,255,m);break}else Sp(0,0,(d&255)*15|0,m);while(0);c[b+(f<<2)>>2]=c[m>>2];f=f+1|0}while((f|0)!=(h|0))}g=g+1|0;if((g|0)==(j|0))break;else{b=b+(l<<2)|0;e=e+(k<<2)|0}}d=c[m+4>>2]|0}Ou(343992,d,3);cp(m+4|0);i=m;return}function G7(a,d,f,g,h){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;k=i;i=i+16|0;j=e[f+20>>1]|e[f+22>>1]<<16;c[k>>2]=e[f+16>>1]|e[f+18>>1]<<16;c[k+4>>2]=j;j=c[f+48>>2]|0;if((j|0)==1|(j|0)==7){b[k+6>>1]=c[f+28>>2];b[k+2>>1]=c[f+24>>2]}else{b[k>>1]=c[f+36>>2];b[k+4>>1]=c[f+40>>2]}a=H7(a,d,k,(j|0)==7|(j|0)==1,g,h)|0;i=k;return a|0}function H7(a,c,d,e,f,g){a=a|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;b[q+4>>1]=0;o=q+6|0;b[o>>1]=0;b[q>>1]=0;b[q+2>>1]=0;if(e){m=b[c>>1]|0;n=b[c+4>>1]|0;j=lv(m,n,b[d>>1]|0,b[d+4>>1]|0)|0;j=((kl(c)|0)<<16>>16)+j|0;b[q+4>>1]=((n<<16>>16)+(m<<16>>16)|0)/2|0;b[q>>1]=((n<<16>>16)+(m<<16>>16)|0)/2|0;k=b[c+6>>1]|0;e=b[d+6>>1]|0;l=b[d+2>>1]|0;d=b[c+2>>1]|0;if(((k<<16>>16)-(e<<16>>16)|0)<((l<<16>>16)-(d<<16>>16)|0)){b[o>>1]=d;h=d;k=l<<16>>16>16?d:l}else{b[o>>1]=k;h=k;k=e<<16>>16>k<<16>>16?k:e}b[q+2>>1]=k;if(h<<16>>16==k<<16>>16)e=0;else{l=(((n<<16>>16)+(m<<16>>16)|0)/2|0)&65535;e=(((n<<16>>16)+(m<<16>>16)|0)/2|0)&65535;p=10}}else{n=b[c+2>>1]|0;m=b[c+6>>1]|0;j=HA(n,m,b[d+2>>1]|0,b[d+6>>1]|0)|0;j=((ll(c)|0)<<16>>16)+j|0;k=b[c+4>>1]|0;h=b[d+4>>1]|0;l=b[d>>1]|0;d=b[c>>1]|0;if(((k<<16>>16)-(h<<16>>16)|0)<((l<<16>>16)-(d<<16>>16)|0)){b[q+4>>1]=d;e=d;l=l<<16>>16>16?d:l}else{b[q+4>>1]=k;e=k;l=h<<16>>16>k<<16>>16?k:h}b[q>>1]=l;b[o>>1]=((m<<16>>16)+(n<<16>>16)|0)/2|0;b[q+2>>1]=((m<<16>>16)+(n<<16>>16)|0)/2|0;if(e<<16>>16==l<<16>>16)e=0;else{k=(((m<<16>>16)+(n<<16>>16)|0)/2|0)&65535;h=(((m<<16>>16)+(n<<16>>16)|0)/2|0)&65535;p=10}}do if((p|0)==10){if(f){hfa(f,e,h,q+4|0);hfa(f,l,k,q);h=b[o>>1]|0;k=b[q+2>>1]|0;e=b[q+4>>1]|0;l=b[q>>1]|0}d=h<<16>>16;k=k<<16>>16;h=e<<16>>16;e=l<<16>>16;if((((d-k|0)>-1?d-k|0:0-(d-k)|0)|0)<(((h-e|0)>-1?h-e|0:0-(h-e)|0)|0)){e=J7(a,g,h,e,d)|0;break}else{e=I7(a,g,h,d,k)|0;break}}while(0);i=q;return ((j|0)/4|0)+e|0}function I7(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;o=K7(c[a>>2]|0,c[a+4>>2]|0,c[a+12>>2]|0,e)|0;f=L7(c[a>>2]|0,c[a+8>>2]|0,c[a+12>>2]|0,f)|0;k=L7(c[a>>2]|0,c[a+8>>2]|0,c[a+12>>2]|0,g)|0;if((f|0)==(k|0))e=0;else{j=bp(c[a+12>>2]|0)|0;l=(f|0)<(k|0)?1:-1;n=(vp(c[a+12>>2]|0)|0)+((ba(j,f)|0)<<2)|0;j=ba(j,l)|0;m=n;g=0;n=d[(n+o^3)>>0]|0;h=0;while(1){m=m+(j<<2)|0;e=n;n=d[(m+o^3)>>0]|0;if(b){c[p>>2]=o;c[p+4>>2]=f+l;c[p+8>>2]=n;c[p+12>>2]=e;jN(344008,p)}do if(n>>>0>=e>>>0)if(n>>>0>e>>>0){e=h+1|0;break}else{g=g+1|0;e=h;break}else{g=g+4|0;e=h}while(0);f=f+l|0;if((f|0)==(k|0))break;else h=e}a=c[a>>2]|0;e=(ba(a,g)|0)+((ba(a,e)|0)/4|0)|0}i=p;return e|0}function J7(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;h=K7(c[a>>2]|0,c[a+4>>2]|0,c[a+12>>2]|0,e)|0;o=K7(c[a>>2]|0,c[a+4>>2]|0,c[a+12>>2]|0,f)|0;m=L7(c[a>>2]|0,c[a+8>>2]|0,c[a+12>>2]|0,g)|0;if((h|0)==(o|0))f=0;else{l=bp(c[a+12>>2]|0)|0;n=(h|0)<(o|0)?1:-1;l=(vp(c[a+12>>2]|0)|0)+((ba(l,m)|0)<<2)|0;e=0;j=d[(l+h^3)>>0]|0;f=0;a:while(1){k=j;while(1){h=h+n|0;g=k;k=d[(l+h^3)>>0]|0;if(b){c[p>>2]=h;c[p+4>>2]=m;c[p+8>>2]=k;c[p+12>>2]=g;jN(344008,p)}if(k>>>0>>0){g=8;break}j=f+1|0;if(k>>>0<=g>>>0){g=10;break}if((h|0)==(o|0)){f=j;break a}else f=j}if((g|0)==8)e=e+4|0;else if((g|0)==10)e=e+1|0;if((h|0)==(o|0))break;else j=k}a=c[a>>2]|0;f=(ba(a,e)|0)+((ba(a,f)|0)/4|0)|0}i=p;return f|0}function K7(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=(Cp(c)|0)+-1|0;if(((d-b|0)/(a|0)|0|0)<0)c=0;else c=((d-b|0)/(a|0)|0|0)>(c|0)?c:(d-b|0)/(a|0)|0;return c|0}function L7(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=(up(c)|0)+-1|0;if(((b-d|0)/(a|0)|0|0)<0)c=0;else c=((b-d|0)/(a|0)|0|0)>(c|0)?c:(b-d|0)/(a|0)|0;return c|0}function M7(a,d,e,f,g,h){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;o=P7(a,e,b[d>>1]|0,b[d+4>>1]|0,b[d+6>>1]|0,1)|0;m=P7(a,e,b[d>>1]|0,b[d+4>>1]|0,b[d+2>>1]|0,0)|0;n=Q7(a,e,b[d>>1]|0,b[d+2>>1]|0,b[d+6>>1]|0,1)|0;a=Q7(a,e,b[d+4>>1]|0,b[d+2>>1]|0,b[d+6>>1]|0,0)|0;e=(o|0)<0?0:o;j=(m|0)<1?0-m|0:0;k=(n|0)<0?0:n;l=(a|0)<1?0-a|0:0;if(f){c[p>>2]=o;c[p+4>>2]=0-m;c[p+8>>2]=n;c[p+12>>2]=0-a;jN(344080,p);jv(d)}if((g|0)!=0&(h|0)!=0){c[g>>2]=o;c[h>>2]=0-m}i=p;return ((e|0)>=(j|0)?e:j)-((k|0)>=(l|0)?k:l)|0}function N7(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;k=i;i=i+16|0;j=c[d+76>>2]|0;if((j|0)!=0?(j|0)==(c[j>>2]|0):0)f=O7(a,d+16|0,f,g)|0;else{j=d+16|0;h=5}if((h|0)==5){m=j;h=e[m+4>>1]|e[m+6>>1]<<16;c[k>>2]=e[m>>1]|e[m+2>>1]<<16;c[k+4>>2]=h;b[k>>1]=c[d+36>>2];b[k+4>>1]=c[d+40>>2];h=O7(a,k,f,g)|0;m=j;l=e[m+4>>1]|e[m+6>>1]<<16;c[k>>2]=e[m>>1]|e[m+2>>1]<<16;c[k+4>>2]=l;b[k+6>>1]=c[d+28>>2];b[k+2>>1]=c[d+24>>2];f=O7(a,k,f,g)|0;if(g){c[k+8>>2]=f;c[k+12>>2]=h;jN(344040,k+8|0);jv(j);oY(d)}f=(f|0)>=(0-h|0)?f:h}i=k;return f|0}function O7(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return M7(a,b,c,d,0,0)|0}function P7(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=R7(a,b,-2,c,e,d,e)|0;h=(R7(a,b,2,c,e,d,e)|0)-h|0;g=R7(a,b,-1,c,e,d,e)|0;g=(R7(a,b,3,c,e,d,e)|0)-g|0;g=(g|0)>(h|0)^f?h:g;h=R7(a,b,-3,c,e,d,e)|0;e=(R7(a,b,1,c,e,d,e)|0)-h|0;return ((e|0)>(g|0)^f?g:e)|0}function Q7(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=R7(a,b,-2,c,d,c,e)|0;h=(R7(a,b,2,c,d,c,e)|0)-h|0;g=R7(a,b,-1,c,d,c,e)|0;g=(R7(a,b,3,c,d,c,e)|0)-g|0;g=(g|0)>(h|0)^f?h:g;h=R7(a,b,-3,c,d,c,e)|0;c=(R7(a,b,1,c,d,c,e)|0)-h|0;return ((c|0)>(g|0)^f?g:c)|0}function R7(a,e,f,g,h,j,k){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0;o=i;i=i+16|0;b[o+8>>1]=j;b[o+10>>1]=k;b[o>>1]=g;b[o+2>>1]=h;S7(a,e,o);S7(a,e,o+8|0);T7(a,o);T7(a,o+8|0);m=bp(c[a+12>>2]|0)|0;n=vp(c[a+12>>2]|0)|0;h=c[o+8>>2]|0;g=c[o>>2]|0;if(((((h<<16>>16)-(g<<16>>16)|0)>-1?(h<<16>>16)-(g<<16>>16)|0:0-((h<<16>>16)-(g<<16>>16))|0)|0)<((((h>>16)-(g>>16)|0)>-1?(h>>16)-(g>>16)|0:0-((h>>16)-(g>>16))|0)|0)){l=((h>>16)-(g>>16)|0)>0?1:-1;e=ba(l,0-f|0)|0;b[o>>1]=e+(g<<16>>16);b[o+8>>1]=h+e;T7(a,o);T7(a,o+8|0);h=c[o+8>>2]|0;g=c[o>>2]|0;e=ba((h>>16)-(g>>16)|0,l)|0;if((g>>>16&65535)<<16>>16==(h>>>16&65535)<<16>>16){j=0;l=7}else{j=0;k=g>>16;do{j=(d[(n+((ba(k,m)|0)<<2)+((GB(ba(k-(g>>16)|0,(h<<16>>16)-(g<<16>>16)|0)|0,(h>>16)-(g>>16)|0)|0)+(g<<16>>16))^3)>>0]|0)+j|0;k=k+l|0}while((k|0)!=(h>>16|0));l=7}}else if((h&65535)<<16>>16!=(g&65535)<<16>>16){l=((h<<16>>16)-(g<<16>>16)|0)>0?1:-1;e=ba(l,f)|0;b[o+2>>1]=e+(g>>16);b[o+10>>1]=(h>>>16)+e;T7(a,o);T7(a,o+8|0);h=c[o+8>>2]|0;g=c[o>>2]|0;e=ba((h<<16>>16)-(g<<16>>16)|0,l)|0;if((g&65535)<<16>>16==(h&65535)<<16>>16){j=0;l=7}else{j=0;k=g<<16>>16;do{j=(d[(n+((ba((GB(ba(k-(g<<16>>16)|0,(h>>16)-(g>>16)|0)|0,(h<<16>>16)-(g<<16>>16)|0)|0)+(g>>16)|0,m)|0)<<2)+k^3)>>0]|0)+j|0;k=k+l|0}while((k|0)!=(h<<16>>16|0));l=7}}else j=0;if((l|0)==7)j=GB(j,e+1|0)|0;i=o;return j|0}function S7(a,d,e){a=a|0;d=d|0;e=e|0;if(!d)d=e+2|0;else{hfa(d,b[e>>1]|0,b[e+2>>1]|0,e);d=e+2|0}b[e>>1]=K7(c[a>>2]|0,c[a+4>>2]|0,c[a+12>>2]|0,b[e>>1]|0)|0;b[d>>1]=L7(c[a>>2]|0,c[a+8>>2]|0,c[a+12>>2]|0,b[d>>1]|0)|0;return}function T7(a,d){a=a|0;d=d|0;var e=0,f=0;e=b[d>>1]|0;f=(Cp(c[a+12>>2]|0)|0)+-1|0;if(e<<16>>16<0)e=0;else e=((e<<16>>16|0)>(f|0)?f:e<<16>>16)&65535;b[d>>1]=e;f=b[d+2>>1]|0;e=(up(c[a+12>>2]|0)|0)+-1|0;if(f<<16>>16<0)e=0;else e=((f<<16>>16|0)>(e|0)?e:f<<16>>16)&65535;b[d+2>>1]=e;return}function U7(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=K7(c[d>>2]|0,c[d+4>>2]|0,c[d+12>>2]|0,b[e>>1]|0)|0;f=L7(c[d>>2]|0,c[d+8>>2]|0,c[d+12>>2]|0,b[e+6>>1]|0)|0;k=K7(c[d>>2]|0,c[d+4>>2]|0,c[d+12>>2]|0,b[e+4>>1]|0)|0;i=L7(c[d>>2]|0,c[d+8>>2]|0,c[d+12>>2]|0,b[e+2>>1]|0)|0;j=bp(c[d+12>>2]|0)|0;e=vp(c[d+12>>2]|0)|0;if((f|0)<=(i|0)){h=e+((ba(j,f)|0)<<2)|0;while(1){if((l|0)<=(k|0)){g=l;while(1){d=h+g^3;e=a[d>>0]|0;if(e<<24>>24!=-1)a[d>>0]=(e&255)+1;if((g|0)<(k|0))g=g+1|0;else break}}if((f|0)<(i|0)){h=h+(j<<2)|0;f=f+1|0}else break}}return}function V7(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;j=c[d>>2]|0;h=(a[e+113>>0]|0)==0;do if(!(a[e+112>>0]|0))if(h)l=14;else{i=(kl(f)|0)<<16>>16<<3;h=c[e+92>>2]|0;if((h|0)!=0?(lv(b[f>>1]|0,b[f+4>>1]|0,b[h+8>>1]|0,b[h+12>>1]|0)|0)<=(j<<2|0):0){k=0;g=0;h=i;break}h=c[e+100>>2]|0;if((h|0)!=0?(lv(b[f>>1]|0,b[f+4>>1]|0,b[h+8>>1]|0,b[h+12>>1]|0)|0)<=(j<<2|0):0){k=0;g=0;h=i;break}k=0;g=j;h=i}else if(h){g=(ll(f)|0)<<16>>16<<3;h=c[e+104>>2]|0;if((h|0)!=0?(HA(b[f+2>>1]|0,b[f+6>>1]|0,b[h+10>>1]|0,b[h+14>>1]|0)|0)<=(j<<2|0):0){k=1;h=0;break}h=c[e+96>>2]|0;if((h|0)!=0?(HA(b[f+2>>1]|0,b[f+6>>1]|0,b[h+10>>1]|0,b[h+14>>1]|0)|0)<=(j<<2|0):0){k=1;h=0;break}k=1;h=j}else l=14;while(0);do if((l|0)==14){k=c[e+104>>2]|0;if((k|0)!=0?(c[k+96>>2]|0)==(e|0):0)l=18;else{k=c[e+96>>2]|0;if((k|0)!=0?(c[k+104>>2]|0)==(e|0):0)l=18;else h=0}if((l|0)==18)h=(kl(f)|0)<<16>>16<<1;l=c[e+100>>2]|0;if(!((l|0)!=0?(c[l+92>>2]|0)==(e|0):0)){g=c[e+92>>2]|0;if(!g){k=0;g=0;break}if((c[g+100>>2]|0)!=(e|0)){k=0;g=0;break}}k=1;g=(ll(f)|0)<<16>>16<<1}while(0);VV(f,g,h);g=(c[d>>2]|0)*6|0;h=(b[e+48>>1]|0)-g|0;if((b[f>>1]|0)<(h|0))b[f>>1]=h;g=(b[e+50>>1]|0)+g|0;if((b[f+4>>1]|0)>(g|0))b[f+4>>1]=g;return k|0}function W7(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;g=i;i=i+32|0;f=up(d)|0;k=b[e>>1]|0;j=f-(b[e+6>>1]|0)|0;h=(kl(e)|0)<<16>>16;e=Fl(k,j,h,(ll(e)|0)<<16>>16)|0;c[g+20>>2]=e;c[g+16>>2]=0;Fq(d,e,g+16|0);b[a>>1]=32767;b[a+2>>1]=32767;b[a+4>>1]=-32767;b[a+6>>1]=-32767;e=c[g+16>>2]|0;if(e){Ml(e,g+12|0,g+8|0,g+4|0,g);k=c[g+12>>2]|0;b[a>>1]=k;b[a+4>>1]=(c[g+4>>2]|0)+k;k=f-(c[g+8>>2]|0)|0;b[a+6>>1]=k;b[a+2>>1]=k-(c[g>>2]|0);Kl(g+16|0)}Kl(g+20|0);i=g;return}function X7(d,e){d=d|0;e=e|0;c[d>>2]=e;b[d+6>>1]=0;b[d+4>>1]=0;a[d+8>>0]=0;Wk(d+12|0,0,344152,344184,0,e+364|0);Wk(d+28|0,0,344232,344256,0,(c[d>>2]|0)+364|0);Wk(d+44|0,0,344288,344320,0,(c[d>>2]|0)+364|0);Wk(d+60|0,1,344400,344424,0,(c[d>>2]|0)+364|0);Wk(d+76|0,0,344464,344496,0,(c[d>>2]|0)+364|0);Wk(d+92|0,0,344576,344256,0,(c[d>>2]|0)+364|0);Wk(d+108|0,0,344600,344624,0,(c[d>>2]|0)+364|0);Wk(d+124|0,1,344656,344688,0,(c[d>>2]|0)+364|0);Wk(d+140|0,1,344720,344688,0,(c[d>>2]|0)+364|0);Wk(d+156|0,1,344752,344688,0,(c[d>>2]|0)+364|0);Wk(d+172|0,1,344784,344688,0,(c[d>>2]|0)+364|0);Wk(d+188|0,1,344816,344856,0,(c[d>>2]|0)+364|0);Wk(d+204|0,0,344904,344936,0,(c[d>>2]|0)+364|0);Wk(d+220|0,0,344952,344976,0,(c[d>>2]|0)+364|0);Wk(d+236|0,1,345008,345032,0,(c[d>>2]|0)+364|0);Wk(d+252|0,1,345080,345104,0,(c[d>>2]|0)+364|0);Wk(d+268|0,1,345144,345104,0,(c[d>>2]|0)+364|0);Wk(d+284|0,0,345168,345192,0,(c[d>>2]|0)+364|0);Wk(d+300|0,0,345232,345256,0,(c[d>>2]|0)+364|0);Wk(d+316|0,1,345296,345320,0,(c[d>>2]|0)+364|0);Wk(d+332|0,1,345336,345320,0,(c[d>>2]|0)+364|0);Wk(d+348|0,0,345360,345384,0,(c[d>>2]|0)+364|0);rJ(d+364|0,0,345416,345440,0,(c[d>>2]|0)+364|0);rJ(d+388|0,3,345456,345496,0,(c[d>>2]|0)+364|0);rJ(d+412|0,10,345520,345544,0,(c[d>>2]|0)+364|0);rJ(d+436|0,40,345584,345608,0,(c[d>>2]|0)+364|0);rJ(d+460|0,20,345664,345680,0,(c[d>>2]|0)+364|0);rJ(d+484|0,1,345728,345752,0,(c[d>>2]|0)+364|0);tJ(d+512|0,2.0,345784,345816,(c[d>>2]|0)+364|0);tJ(d+552|0,0.0,345888,345912,(c[d>>2]|0)+364|0);tJ(d+592|0,0.0,345944,345912,(c[d>>2]|0)+364|0);tJ(d+632|0,.3,345968,345992,(c[d>>2]|0)+364|0);tJ(d+672|0,.48,346024,346056,(c[d>>2]|0)+364|0);tJ(d+712|0,.52,346088,346112,(c[d>>2]|0)+364|0);tJ(d+752|0,0.0,346144,346168,(c[d>>2]|0)+364|0);tJ(d+792|0,.6,346200,346224,(c[d>>2]|0)+364|0);tJ(d+832|0,.5,346256,346224,(c[d>>2]|0)+364|0);tJ(d+872|0,.72,346288,346224,(c[d>>2]|0)+364|0);tJ(d+912|0,.83,346320,346336,(c[d>>2]|0)+364|0);tJ(d+952|0,2.0,346368,346392,(c[d>>2]|0)+364|0);tJ(d+992|0,1.3,346424,346392,(c[d>>2]|0)+364|0);tJ(d+1032|0,2.5,346448,346392,(c[d>>2]|0)+364|0);tJ(d+1072|0,-1.0,346472,346496,(c[d>>2]|0)+364|0);tJ(d+1112|0,3.5,346512,346496,(c[d>>2]|0)+364|0);tJ(d+1152|0,1.6,346544,346560,(c[d>>2]|0)+364|0);tJ(d+1192|0,.65,346592,346616,(c[d>>2]|0)+364|0);tJ(d+1232|0,2.25,346664,346688,(c[d>>2]|0)+364|0);tJ(d+1272|0,.33,346728,346752,(c[d>>2]|0)+364|0);tJ(d+1312|0,3.0,346784,346816,(c[d>>2]|0)+364|0);tJ(d+1352|0,.5,346840,346864,(c[d>>2]|0)+364|0);tJ(d+1392|0,.5,346888,346912,(c[d>>2]|0)+364|0);tJ(d+1432|0,1.5,346936,346960,(c[d>>2]|0)+364|0);tJ(d+1472|0,2.2,347008,347032,(c[d>>2]|0)+364|0);tJ(d+1512|0,.28,347064,347096,(c[d>>2]|0)+364|0);tJ(d+1552|0,5.0,347128,347152,(c[d>>2]|0)+364|0);tJ(d+1592|0,0.0,347192,347216,(c[d>>2]|0)+364|0);tJ(d+1632|0,.19,347264,347288,(c[d>>2]|0)+364|0);tJ(d+1672|0,-1.0,347328,347360,(c[d>>2]|0)+364|0);tJ(d+1712|0,0.0,347400,347424,(c[d>>2]|0)+364|0);tJ(d+1752|0,.2,347472,347496,(c[d>>2]|0)+364|0);tJ(d+1792|0,.75,347536,347576,(c[d>>2]|0)+364|0);Wk(d+1832|0,0,347608,347632,0,(c[d>>2]|0)+364|0);Wk(d+1848|0,0,347664,347688,0,(c[d>>2]|0)+364|0);Wk(d+1864|0,0,347712,347688,0,(c[d>>2]|0)+364|0);rJ(d+1880|0,7,347736,347760,0,(c[d>>2]|0)+364|0);rJ(d+1904|0,0,347784,347808,0,(c[d>>2]|0)+364|0);tJ(d+1928|0,95.0,347832,347864,(c[d>>2]|0)+364|0);tJ(d+1968|0,.7,347896,347928,(c[d>>2]|0)+364|0);tJ(d+2008|0,20.0,347968,348e3,(c[d>>2]|0)+364|0);tJ(d+2048|0,.75,348032,348056,(c[d>>2]|0)+364|0);tJ(d+2088|0,.9,348088,348056,(c[d>>2]|0)+364|0);rJ(d+2128|0,10,348112,348144,0,(c[d>>2]|0)+364|0);tJ(d+2152|0,.5,348176,348200,(c[d>>2]|0)+364|0);rJ(d+2192|0,16,348232,348264,0,(c[d>>2]|0)+364|0);tJ(d+2216|0,2.0,348296,348320,(c[d>>2]|0)+364|0);Wk(d+2256|0,1,348352,348376,0,(c[d>>2]|0)+364|0);Wk(d+2272|0,1,348400,348424,0,(c[d>>2]|0)+364|0);tJ(d+2288|0,.2,348448,348472,(c[d>>2]|0)+364|0);tJ(d+2328|0,.4,348512,348536,(c[d>>2]|0)+364|0);tJ(d+2368|0,.015625,348576,348600,(c[d>>2]|0)+364|0);rJ(d+2408|0,1,348656,348680,0,(c[d>>2]|0)+364|0);tJ(d+2432|0,6.0,348712,348320,(c[d>>2]|0)+364|0);Wk(d+2472|0,0,348736,348760,0,(c[d>>2]|0)+364|0);tJ(d+2488|0,0.0,348792,348824,(c[d>>2]|0)+364|0);tJ(d+2528|0,9.99,348848,348880,(c[d>>2]|0)+364|0);return}function Y7(a){a=a|0;wJ(a+2528|0);wJ(a+2488|0);Xk(a+2472|0);wJ(a+2432|0);xJ(a+2408|0);wJ(a+2368|0);wJ(a+2328|0);wJ(a+2288|0);Xk(a+2272|0);Xk(a+2256|0);wJ(a+2216|0);xJ(a+2192|0);wJ(a+2152|0);xJ(a+2128|0);wJ(a+2088|0);wJ(a+2048|0);wJ(a+2008|0);wJ(a+1968|0);wJ(a+1928|0);xJ(a+1904|0);xJ(a+1880|0);Xk(a+1864|0);Xk(a+1848|0);Xk(a+1832|0);wJ(a+1792|0);wJ(a+1752|0);wJ(a+1712|0);wJ(a+1672|0);wJ(a+1632|0);wJ(a+1592|0);wJ(a+1552|0);wJ(a+1512|0);wJ(a+1472|0);wJ(a+1432|0);wJ(a+1392|0);wJ(a+1352|0);wJ(a+1312|0);wJ(a+1272|0);wJ(a+1232|0);wJ(a+1192|0);wJ(a+1152|0);wJ(a+1112|0);wJ(a+1072|0);wJ(a+1032|0);wJ(a+992|0);wJ(a+952|0);wJ(a+912|0);wJ(a+872|0);wJ(a+832|0);wJ(a+792|0);wJ(a+752|0);wJ(a+712|0);wJ(a+672|0);wJ(a+632|0);wJ(a+592|0);wJ(a+552|0);wJ(a+512|0);xJ(a+484|0);xJ(a+460|0);xJ(a+436|0);xJ(a+412|0);xJ(a+388|0);xJ(a+364|0);Xk(a+348|0);Xk(a+332|0);Xk(a+316|0);Xk(a+300|0);Xk(a+284|0);Xk(a+268|0);Xk(a+252|0);Xk(a+236|0);Xk(a+220|0);Xk(a+204|0);Xk(a+188|0);Xk(a+172|0);Xk(a+156|0);Xk(a+140|0);Xk(a+124|0);Xk(a+108|0);Xk(a+92|0);Xk(a+76|0);Xk(a+60|0);Xk(a+44|0);Xk(a+28|0);Xk(a+12|0);return}function Z7(d,f,h,j,k,l,m,n,o,p,q,r){d=d|0;f=f|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;var s=0.0,t=0;t=i;i=i+176|0;b[d+4>>1]=j;b[d+6>>1]=k;if(!(c[r>>2]|0)){x8(d,l,q,r);pk(t+100|0,r);rk(t+100|0);if(!(sk(t+100|0)|0))do{jba(tk(t+100|0)|0,m,n);OL(t+100|0)|0}while(!(sk(t+100|0)|0))}else if((f+-11|0)>>>0>=2)y8(d,r);if(!(c[r>>2]|0)){c[t>>2]=348936;c[t+4>>2]=292;$L(344144,348912,2,1702e3,t)}if((f|0)==5?(g[t+128>>2]=0.0,g[t+132>>2]=1.0,pk(t+136|0,r),rk(t+136|0),!(sk(t+136|0)|0)):0)do{k=tk(t+136|0)|0;m=c[k+24>>2]|0;n=WEa(16)|0;Tha(n,m+16|0,7);c[m+4>>2]=n;$7(k,t+128|0);c[m+68>>2]=0;c[m+72>>2]=-1082130432;c[m+76>>2]=0;c[m+80>>2]=-1082130432;OL(t+136|0)|0}while(!(sk(t+136|0)|0));pk(t+44|0,r);l=tk(t+44|0)|0;if((f+-1|0)>>>0>=6)if((f+-11|0)>>>0<2)s=0.0;else s=+F0((f|0)!=13,l,r);else s=+I0(r);rU(t,c[d+1916>>2]|0,h,r);tU(t,o);uU(t,d+4|0,(a[327810]|0)!=0,(a[328114]|0)!=0,d);l=a8(f)|0;if(l){c[t+40>>2]=e[d+4>>1]|e[d+6>>1]<<16;_9(d,t+40|0,s,r)}else{r=tk(t+44|0)|0;Z9((f|0)==10,r+92|0,(c[r+24>>2]|0)+52|0)}B8(d,l,q);G8(p,q);pk(t+72|0,q);rk(t+72|0);while(1){if(sk(t+72|0)|0)break;zfa(tk(t+72|0)|0);OL(t+72|0)|0}sU(t);i=t;return}function _7(a,b){a=a|0;b=b|0;var d=0.0,e=0,f=0.0,h=0,j=0;h=i;i=i+128|0;switch(a|0){case 1:case 2:case 3:case 4:case 5:case 6:case 11:case 12:break;default:{ak(h,b);_ga(h,0);b=c[h+16>>2]|0;if(!b)b=0;else{f=0.0;e=0;d=0.0;a=0;do{d=d+ +g[(c[b+140>>2]|0)+40>>2];b=a+1|0;a=c[h+20>>2]|0;if((c[h+32>>2]|0)==(a|0))a=b;else{j=(e|0)==0?1:f>2]|0}while((b|0)!=0);b=e}_ga(h,0);if(c[h+16>>2]|0)do{if((c[h+20>>2]|0)!=(b|0))Yga(h);ck(h)|0}while((c[h+16>>2]|0)!=0)}}i=h;return}function $7(a,d){a=a|0;d=d|0;var e=0,f=0,h=0,j=0.0;h=i;i=i+128|0;c[h+104>>2]=a+4;c[h+108>>2]=a+8;c[h+112>>2]=a+12;c[h+116>>2]=a+16;c[h+120>>2]=a+20;c[h+124>>2]=0;e=a+4|0;f=h+104|0;do{pk(h+72|0,e);rk(h+72|0);if(!(sk(h+72|0)|0))do{e=tk(h+72|0)|0;j=+g[d>>2];Caa(e,j,+g[d+4>>2]);OL(h+72|0)|0}while(!(sk(h+72|0)|0));f=f+4|0;e=c[f>>2]|0}while((e|0)!=0);e=c[a+24>>2]|0;if(!(c[e+4>>2]|0)){c[h>>2]=348992;c[h+4>>2]=716;$L(344144,348960,2,1702e3,h);e=c[a+24>>2]|0}tfa(e,d);Aka(h+56|0,0,(kl((c[a+24>>2]|0)+16|0)|0)<<16>>16);Aka(h+40|0,0,(ll((c[a+24>>2]|0)+16|0)|0)<<16>>16);pk(h+8|0,a+4|0);rk(h+8|0);while(1){if(sk(h+8|0)|0)break;Fka(h+56|0,(kl((tk(h+8|0)|0)+8|0)|0)<<16>>16,1);Fka(h+40|0,(ll((tk(h+8|0)|0)+8|0)|0)<<16>>16,1);OL(h+8|0)|0}a=c[a+24>>2]|0;j=+Mka(h+56|0);d=~~(+Mka(h+40|0)+.5);b[a+92>>1]=~~(j+.5);b[a+94>>1]=d;Eka(h+40|0);Eka(h+56|0);i=h;return}function a8(a){a=a|0;if((a+-1|0)>>>0<12)return (3199>>>(a+-1&4095)&1)!=0|0;else return 0;return 0}function b8(a,b,d,e,f){a=a|0;b=+b;d=+d;e=+e;f=f|0;var g=0,h=0,j=0;j=i;i=i+64|0;c[j+28>>2]=0;c[j>>2]=0;pk(j+28|0,a);rk(j+28|0);if(!(sk(j+28|0)|0)){h=1;while(1){c8(tk(j+28|0)|0,h,f);OL(j+28|0)|0;if(sk(j+28|0)|0)break;else h=h+1|0}}d8(a,b);rk(j+28|0);if(!(sk(j+28|0)|0)){g=1;while(1){e8(tk(j+28|0)|0,g,f);OL(j+28|0)|0;if(sk(j+28|0)|0)break;else g=g+1|0}}rk(j+28|0);if(!(sk(j+28|0)|0)){g=1;do{h=tk(j+28|0)|0;f=c[(c[h+24>>2]|0)+4>>2]|0;if(!((f|0)!=0?!(Zj(c[f+12>>2]|0)|0):0)){Lk(j,h+92|0);Mk(j);if(!((Nk(j)|0)<<24>>24)){f=1;while(1){f8(Ok(j)|0,a,f,g);VL(j);if(!((Nk(j)|0)<<24>>24))f=f+1|0;else break}}g=g+1|0}OL(j+28|0)|0}while(!(sk(j+28|0)|0))}i=j;return}function c8(b,d,f){b=b|0;d=d|0;f=f|0;var j=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0.0;m=i;i=i+32|0;l=(c[b+24>>2]|0)+16|0;k=e[l>>1]|e[l+2>>1]<<16;l=e[l+4>>1]|e[l+6>>1]<<16;if(!((a[349242]|0)==0|f<<24>>24!=0^1)){p=UGa(k|0,l|0,48)|0;o=F;n=_Ga(l|0,0,16)|0;l=_Ga(p|0,o|0,16)|0;c[m>>2]=d;c[m+4>>2]=k<<16>>16;c[m+8>>2]=k>>16;c[m+12>>2]=n>>16;c[m+16>>2]=l>>16;jN(350216,m)}j=+g[b+48>>2];o=~~+P(+(j*+h[44346]));c[b+64>>2]=o;p=~~+aa(+(j*+h[44367]));c[b+68>>2]=p;g[b+52>>2]=0.0;g[b+60>>2]=+(o|0);g[b+56>>2]=+(p|0);q=j*+h[44500];g[b+84>>2]=q;g[b+80>>2]=+h[44556]*q;if(c[b+92>>2]|0){if(!(j>0.0)){c[m>>2]=350272;c[m+4>>2]=331;$L(349016,350248,2,1702e3,m)}h8(b);i8(b,d,(a[349242]|0)==0?0:f<<24>>24!=0&1)}i=m;return}function d8(d,e){d=d|0;e=+e;var f=0.0,j=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0,t=0.0;r=i;i=i+176|0;pk(r+88|0,d);c[r+116>>2]=0;Cka(r+144|0);Aka(r+64|0,0,100);q=vk(r+88|0)|0;if(!(q|(a[349762]|0)==0)){Lk(r+116|0,(tk(r+88|0)|0)+92|0);p=b[(Ok(r+116|0)|0)+12>>1]|0;f=+fia((Ok(r+116|0)|0)+92|0,+(p<<16>>16));rk(r+88|0);o=32767;m=-32767;q=0;while(1){if(sk(r+88|0)|0)break;Lk(r+116|0,(tk(r+88|0)|0)+92|0);Mk(r+116|0);l=o;n=q;while(1){if((Nk(r+116|0)|0)<<24>>24)break;d=Ok(r+116|0)|0;j=+g[d+20>>2];if(j>0.0)Fka(r+64|0,~~j,1);j=+fia(d+92|0,+(p<<16>>16));o=~~(+(b[d+12>>1]|0)-e/(e*e+1.0)*(f-j));q=~~(+(b[d+14>>1]|0)-e/(e*e+1.0)*(f-j));VL(r+116|0);l=o<<16>>16>16?o:l;m=q<<16>>16>m<<16>>16?q:m;n=n+1|0}OL(r+88|0)|0;o=l;q=n}if(c[r+72>>2]|0){Dka(r+144|0,o<<16>>16,m<<16>>16)|0;rk(r+88|0);while(1){l=sk(r+88|0)|0;Lk(r+116|0,(tk(r+88|0)|0)+92|0);if(l)break;Mk(r+116|0);while(1){if((Nk(r+116|0)|0)<<24>>24)break;l=Ok(r+116|0)|0;d=b[l+12>>1]|0;if(d<<16>>16<(b[l+14>>1]|0)){n=~~(+(d<<16>>16)-e/(e*e+1.0)*(f-+fia(l+92|0,+(p<<16>>16))));d=d<<16>>16;while(1){Fka(r+144|0,n<<16>>16,mx(l+104|0,d)|0);d=d+1|0;if((d|0)>=(b[l+14>>1]|0))break;else n=n+1<<16>>16}}VL(r+116|0)}OL(r+88|0)|0}d=Ok(r+116|0)|0;j=+Jka(r+64|0,.5);g[r+84>>2]=j;f=+g8(d,r+144|0,o,m,+(~~j<<16>>16)*.75,r+84|0,r+80|0,r+160|0,d+88|0,0);if(a[349482]|0){t=+g[r+84>>2];s=+g[r+80>>2];e=f/+(q|0);c[r>>2]=0;c[r+4>>2]=0;c[r+8>>2]=~~j<<16>>16;h[k>>3]=t;c[r+12>>2]=c[k>>2];c[r+16>>2]=c[k+4>>2];h[k>>3]=f;c[r+20>>2]=c[k>>2];c[r+24>>2]=c[k+4>>2];h[k>>3]=s;c[r+28>>2]=c[k>>2];c[r+32>>2]=c[k+4>>2];h[k>>3]=e;c[r+36>>2]=c[k>>2];c[r+40>>2]=c[k+4>>2];h[k>>3]=f/+(~~j<<16>>16);c[r+44>>2]=c[k>>2];c[r+48>>2]=c[k+4>>2];h[k>>3]=e/+(~~j<<16>>16);c[r+52>>2]=c[k>>2];c[r+56>>2]=c[k+4>>2];jN(350320,r)}KL(d+88|0,228)}}Eka(r+64|0);Eka(r+144|0);i=r;return}function e8(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,j=0.0;h=i;i=i+64|0;c[h+28>>2]=0;c[h+24>>2]=0;c[h+12>>2]=0;c[h+20>>2]=0;c[h+8>>2]=0;c[h+16>>2]=0;c[h+32>>2]=0;Lk(h+36|0,b+92|0);Mk(h+36|0);if(!((Nk(h+36|0)|0)<<24>>24))do{f=Ok(h+36|0)|0;if(!(+g[f+44>>2]>0.0)){c[h>>2]=350272;c[h+4>>2]=569;$L(349016,350296,2,1702e3,h)}if(+g[f+20>>2]>0.0?(l8(f,c[b+24>>2]|0,d),+g[f+20>>2]==0.0):0){j=+g[f+36>>2];g[f+80>>2]=+g[f+32>>2];g[f+76>>2]=j}VL(h+36|0)}while((Nk(h+36|0)|0)<<24>>24==0);m8(b,h+28|0,h+24|0,h+12|0,h+20|0,h+16|0,h+32|0,h+8|0);if(e<<24>>24!=0?(a[353842]|a[349242]|a[353778])<<24>>24!=0:0){jN(350424,h);n8(b,d)}d=c[h+28>>2]|0;f=c[h+24>>2]|0;e=c[88897]|0;do if((d|0)<=(ba(e,f)|0)){if((f|0)>(ba(e,d)|0)){c[b+28>>2]=3;break}if((d|0)>0|(f|0)>0){c[b+28>>2]=0;break}f=c[h+12>>2]|0;d=c[h+20>>2]|0;if((f|0)>(ba(d,e)|0)){c[b+28>>2]=2;break}if((d|0)>(ba(f,e)|0)){c[b+28>>2]=4;break}else{c[b+28>>2]=0;break}}else c[b+28>>2]=1;while(0);i=h;return}function f8(d,e,f,j){d=d|0;e=e|0;f=f|0;j=j|0;var l=0.0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0.0;u=i;i=i+112|0;pk(u+20|0,e);c[u+80>>2]=0;Cka(u+64|0);Cka(u+48|0);e=~~+aa(+(+g[d+44>>2]*+h[44322]));s=c[d+16>>2]|0;do if(!((s|0)==3|(s|0)==1)){Dka(u+64|0,0,e)|0;Dka(u+48|0,0,e)|0;rk(u+20|0);s=1;o=0;n=0;e=0;while(1){if(sk(u+20|0)|0)break;p=tk(u+20|0)|0;q=c[(c[p+24>>2]|0)+4>>2]|0;if((q|0)!=0?!(Zj(c[q+12>>2]|0)|0):0)q=s;else{Lk(u+80|0,p+92|0);Mk(u+80|0);r=(s|0)==(j|0);while(1){if((Nk(u+80|0)|0)<<24>>24)break;p=Ok(u+80|0)|0;m=+g[p+44>>2];if(!(a[d+9>>0]|0)){l=+h[44460];v=+g[d+44>>2];if(mv*(1.0-l):0)t=13;else t=26}else{l=m+ +g[p+52>>2];m=+g[d+44>>2]+ +g[d+52>>2];v=+h[44460];if(lm*(1.0-v):0)t=13;else t=26}a:do if((t|0)==13){t=0;q=c[p+16>>2]|0;if(r){if((q|0)==1){q=c[88897]|0;Fka(u+64|0,~~+g[p+20>>2],q);o=q+o|0;break}switch(q|0){case 3:{o=o-(c[88897]|0)|0;break a}case 6:case 4:{o=o+-1|0;break a}case 5:case 2:{Fka(u+64|0,~~+g[p+20>>2],1);o=o+1|0;break a}default:break a}}else{if((q|0)==1){q=c[88897]|0;Fka(u+48|0,~~+g[p+20>>2],q);n=q+n|0;break}switch(q|0){case 5:case 2:{Fka(u+48|0,~~+g[p+20>>2],1);n=n+1|0;break a}case 3:{n=n-(c[88897]|0)|0;break a}case 6:case 4:{n=n+-1|0;break a}default:break a}}}else if((t|0)==26){t=0;switch(c[p+16>>2]|0){case 5:case 2:{e=e+1|0;break a}case 1:{e=(c[88897]|0)+e|0;break a}case 6:case 4:{e=e+-1|0;break a}case 3:{e=e-(c[88897]|0)|0;break a}default:break a}}while(0);VL(u+80|0)}q=s+1|0}OL(u+20|0)|0;s=q}if((o|0)>(c[88897]|0)){g[d+20>>2]=+Jka(u+64|0,.5);c[d+16>>2]=5;t=41;break}if((n|0)>0){g[d+20>>2]=+Jka(u+48|0,.5);c[d+16>>2]=5;t=41;break}c[d+16>>2]=6;if((o|n|0)==0&(e|0)>0){if((a[349482]|a[349242])<<24>>24){c[u>>2]=f;c[u+4>>2]=j;jN(350032,u);t=41}}else t=41}else{o=0;n=0;e=0;t=41}while(0);if((t|0)==41)if(a[349482]|0){c[u>>2]=o;c[u+4>>2]=n;c[u+8>>2]=e;jN(350104,u);v=+g[d+52>>2];h[k>>3]=+g[d+44>>2];c[u>>2]=c[k>>2];c[u+4>>2]=c[k+4>>2];h[k>>3]=v;c[u+8>>2]=c[k>>2];c[u+12>>2]=c[k+4>>2];jN(350144,u)}e=c[d+16>>2]|0;if((e|0)==5){m=+g[d+20>>2];do if(m<+(c[82409]|0)){if((o|0)>0){m=+Jka(u+64|0,.5);g[d+20>>2]=m;break}if((o|0)==0&(n|0)>0){m=+Jka(u+48|0,.5);g[d+20>>2]=m;break}else{c[u>>2]=f;c[u+4>>2]=j;jN(350160,u);m=+g[d+44>>2];g[d+20>>2]=m;break}}while(0);l=+(c[82409]|0);if(m>2]=l;else l=m;g[d+76>>2]=l*.25;m=l;c[d+64>>2]=~~(m*.6);c[d+68>>2]=~~(m*.4);c[d+72>>2]=(~~(m*.4)+~~(m*.6)|0)/2|0;g[d+80>>2]=l;if((c[d+88>>2]|0)==0?(c[d+120>>2]|0)!=0:0)+g8(d,d+104|0,b[d+12>>1]|0,b[d+14>>1]|0,(l+ +(~~(m*.4)*3|0))*.25,d+20|0,u+16|0,u+108|0,d+88|0,0)}else if((e|0)==3|(e|0)==6){g[d+20>>2]=0.0;KL(d+88|0,228)}Eka(u+48|0);Eka(u+64|0);i=u;return}function g8(d,e,f,j,l,m,n,o,p,q){d=d|0;e=e|0;f=f|0;j=j|0;l=+l;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;var r=0.0,s=0.0,t=0,u=0.0,v=0.0,w=0,x=0,y=0.0,z=0;z=i;i=i+64|0;c[z+44>>2]=0;c[z+16>>2]=0;do if(!(a[349410]|0)){s=+g[m>>2];if(a[349322]|0){g[n>>2]=s;r=+g[m>>2];break}y=+q8(d,e,f,j,l,s,n,o,p,q,0,0);s=+g[m>>2];if(q<<24>>24){h[k>>3]=s;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];h[k>>3]=y;c[z+8>>2]=c[k>>2];c[z+12>>2]=c[k+4>>2];jN(351336,z)}a:do if((c[88551]|0)>=1){r=y;w=1;while(1){u=+(w|0);v=+q8(d,e,f,j,l,u+ +g[m>>2],z+48|0,z+52|0,z+44|0,q,0,0);if(q<<24>>24){h[k>>3]=u+ +g[m>>2];c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];h[k>>3]=v;c[z+8>>2]=c[k>>2];c[z+12>>2]=c[k+4>>2];jN(351376,z)}if(v>1]=b[z+52>>1]|0;g[n>>2]=+g[z+48>>2];s=u+ +g[m>>2];KL(p,228);pk(z+16|0,p);yk(z+16|0,z+44|0);r=v}else KL(z+44|0,228);if(v>y){x=16;break}t=c[88551]|0;if((w|0)<(t|0))w=w+1|0;else break}if((x|0)==16)t=c[88551]|0;if((t|0)>=1){t=1;while(1){u=+(t|0);v=+q8(d,e,f,j,l,+g[m>>2]-u,z+48|0,z+52|0,z+44|0,q,0,0);if(q<<24>>24){h[k>>3]=+g[m>>2]-u;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];h[k>>3]=v;c[z+8>>2]=c[k>>2];c[z+12>>2]=c[k+4>>2];jN(351376,z)}if(v>1]=b[z+52>>1]|0;g[n>>2]=+g[z+48>>2];s=+g[m>>2]-u;KL(p,228);pk(z+16|0,p);yk(z+16|0,z+44|0);r=v}else KL(z+44|0,228);if(v>y)break a;if((t|0)<(c[88551]|0))t=t+1|0;else break}}}else r=y;while(0);g[m>>2]=s;if(a[349482]|0)r8(d,e,f,j,l,s)}else r=+p8(d,e,f,j,l,m,n,o,p,q);while(0);KL(z+44|0,228);i=z;return +r}function h8(d){d=d|0;var f=0,g=0,h=0;h=i;i=i+128|0;f=c[(c[d+24>>2]|0)+4>>2]|0;if(!((f|0)!=0?!(Zj(c[f+12>>2]|0)|0):0))g=3;a:do if((g|0)==3?(c[h+92>>2]=0,c[h+64>>2]=0,c[h+36>>2]=0,Lk(h+8|0,d+92|0),(uZ(h+8|0)|0)<<24>>24==0):0){Mk(h+8|0);while(1){if((Nk(h+8|0)|0)<<24>>24)break a;f=Ok(h+8|0)|0;pk(h+92|0,f+120|0);if(!(vk(h+92|0)|0)){d=c[f+164>>2]|0;if((d|0)==-1){b1(f);d=c[f+164>>2]|0}if(d){Lk(h+36|0,f+84|0);do if((c[(tk(h+92|0)|0)+28>>2]|0)!=0?(c[(tk(h+92|0)|0)+24>>2]&1073741824|0)==0:0){d=c[(tk(h+92|0)|0)+28>>2]|0;c[h+64>>2]=c[h+92>>2];c[h+68>>2]=c[h+96>>2];c[h+72>>2]=c[h+100>>2];c[h+76>>2]=c[h+104>>2];c[h+80>>2]=c[h+108>>2];c[h+84>>2]=c[h+112>>2];a[h+88>>0]=a[h+116>>0]|0;OL(h+64|0)|0;f=1;while(1){if(xk(h+64|0)|0)break;if((c[(tk(h+64|0)|0)+28>>2]|0)!=(d|0))break;OL(h+64|0)|0;f=f+1|0}d=baa(h+92|0,f,(xk(h+92|0)|0)&1)|0;if(!(vk(h+92|0)|0)?(c[(tk(h+92|0)|0)+24>>2]&1073741824|0)!=0:0){jN(351744,h);jv((tk(h+92|0)|0)+8|0);jN(351776,h);yla(h+120|0,d);jv(h+120|0)}if(!(vk(h+92|0)|0)?(c[(tk(h+92|0)|0)+24>>2]&1073741824|0)!=0:0){c[h>>2]=350272;c[h+4>>2]=1805;$L(349016,351800,2,1702e3,h)}b[d+10>>1]=e[d+10>>1]|0|768;nZ(h+36|0,d)}else OL(h+92|0)|0;while(!(xk(h+92|0)|0))}}VL(h+8|0)}}while(0);i=h;return}function i8(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,j=0,k=0,l=0.0;k=i;i=i+48|0;Lk(k+8|0,a+92|0);Mk(k+8|0);if(!((Nk(k+8|0)|0)<<24>>24)){j=1;while(1){f=Ok(k+8|0)|0;if(!(+g[f+44>>2]>0.0)){c[k>>2]=350272;c[k+4>>2]=365;$L(349016,350296,2,1702e3,k)}cba(f);e=~~+aa(+(+g[f+44>>2]*+h[44322]));if((j8(f,e,d)|0)<<24>>24!=0?(k8(f,e,(c[88511]|0)+1|0,a,b,j,d)|0)<<24>>24!=0:0){if(+g[f+20>>2]==0.0){l=+g[f+36>>2];g[f+80>>2]=+g[f+32>>2];g[f+76>>2]=l}}else{g[f+20>>2]=0.0;c[f+16>>2]=0}VL(k+8|0);if(!((Nk(k+8|0)|0)<<24>>24))j=j+1|0;else break}}i=k;return}function j8(a,d,f){a=a|0;d=d|0;f=f|0;var j=0,l=0,m=0.0,n=0.0,o=0,p=0,q=0,r=0.0;q=i;i=i+304|0;pk(q+224|0,a+120|0);Aka(q+208|0,0,d);l=q+32|0;do{Cka(l);l=l+16|0}while((l|0)!=(q+208|0));p=~~(+g[a+44>>2]*+h[44285]+1.5);a:do if(!(vk(q+224|0)|0)){l=b[(tk(q+224|0)|0)+12>>1]|0;OL(q+224|0)|0;l=l<<16>>16;while(1){if(xk(q+224|0)|0)break a;j=tk(q+224|0)|0;if(!(c[j+24>>2]&1073741824)){o=e[j+12>>1]|e[j+14>>1]<<16;l=((e[j+8>>1]|e[j+10>>1]<<16)<<16>>16)-l|0;if((l|0)<(d|0))Fka(q+208|0,l,1);l=_Ga(o|0,0,16)|0;l=l>>16}OL(q+224|0)|0}}while(0);if(c[q+216>>2]|0){n=+g[a+44>>2];m=n*+h[44484];n=n*+h[44492];Oka(q+208|0,p);o=0;do{p=o;o=Pka(q+208|0,m,n,+h[44556],q+32|0)|0}while((o|0)>(p|0)&(o|0)<10);if((o|0)>=1){l=0;do{p=l;l=l+1|0;g[q+256+(p<<2)>>2]=+Jka(q+32+(l<<4)|0,.5)}while((l|0)<(o|0));if(f<<24>>24){c[q>>2]=o;jN(350528,q);l=0;while(1){if((l|0)>=(o|0))break;p=l+1|0;d=c[q+32+(p<<4)+8>>2]|0;h[k>>3]=+g[q+256+(l<<2)>>2];c[q>>2]=c[k>>2];c[q+4>>2]=c[k+4>>2];c[q+8>>2]=d;jN(350552,q);l=p}jN(1714256,q)}DEa(q+256|0,o,4,48);n=+g[a+44>>2];m=n*+h[44500];n=n*+h[44358];j=0;while(1){l=j+1|0;if(!(+g[q+256+(j<<2)>>2]>24)jN(350560,q);if((o|0)>1){g[a+36>>2]=+g[q+256>>2];g[a+32>>2]=+g[q+260>>2];break}else{g[a+36>>2]=m;g[a+32>>2]=+g[q+256>>2];break}}else{g[a+36>>2]=+g[q+256+(l+-1<<2)>>2];b:do if((l|0)<(o|0)){j=l;while(1){l=j+1|0;if(!(+g[q+256+(j<<2)>>2]>2]=+g[q+256+(l<<2)>>2];break}if(f<<24>>24)jN(350600,q);g[a+32>>2]=m*+h[44556]}while(0);m=+g[a+44>>2];n=m*+h[44509];j=0;while(1){l=j+1|0;if(!(+g[q+256+(j<<2)>>2]>24)jN(350640,q);g[a+28>>2]=n;m=+g[q+256>>2];g[a+24>>2]=m}else{g[a+28>>2]=+g[q+256+(l+-1<<2)>>2];if((l|0)!=(o|0)){m=+g[q+256+(l<<2)>>2];g[a+24>>2]=m;break}if(f<<24>>24){jN(350680,q);m=+g[a+44>>2]}g[a+24>>2]=m}while(0);if(f<<24>>24){r=+g[a+32>>2];n=+g[a+28>>2];h[k>>3]=+g[a+36>>2];c[q>>2]=c[k>>2];c[q+4>>2]=c[k+4>>2];h[k>>3]=r;c[q+8>>2]=c[k>>2];c[q+12>>2]=c[k+4>>2];h[k>>3]=n;c[q+16>>2]=c[k>>2];c[q+20>>2]=c[k+4>>2];h[k>>3]=m;c[q+24>>2]=c[k>>2];c[q+28>>2]=c[k+4>>2];jN(350720,q);j=1}else j=1}else j=0}else j=0;l=q+208|0;do{l=l+-16|0;Eka(l)}while((l|0)!=(q+32|0));Eka(q+208|0);i=q;return j|0}function k8(b,d,e,f,j,l,m){b=b|0;d=d|0;e=e|0;f=f|0;j=j|0;l=l|0;m=m|0;var n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0;x=i;i=i+80|0;Aka(x+64|0,0,d);Aka(x+48|0,0,d);g[b+20>>2]=0.0;s=+g[b+24>>2];w=+g[b+44>>2];s=s>w*(+h[44518]+1.0)?w:s;w=+g[b+28>>2];w=w>s?s:w;if(!((o8(b,x+64|0,x+48|0,s,(s+w)*.5,e)|0)<<24>>24)){o=9.999999747378752e-05;u=s;p=+(d|0)*2.0}else{o=+Jka(x+64|0,.75);o=o-+Jka(x+64|0,.25);t=+Jka(x+48|0,.75);p=+Jka(x+48|0,.25);u=+Jka(x+48|0,.5);p=t-p}Bka(x+64|0);Bka(x+48|0);if((o8(b,x+64|0,x+48|0,s,(s+w)*.5,0)|0)<<24>>24){r=+Jka(x+64|0,.75);r=r-+Jka(x+64|0,.25);t=+Jka(x+48|0,.75);t=t-+Jka(x+48|0,.25);if(m<<24>>24){q=+Jka(x+48|0,.5);h[k>>3]=s;c[x>>2]=c[k>>2];c[x+4>>2]=c[k+4>>2];h[k>>3]=r;c[x+8>>2]=c[k>>2];c[x+12>>2]=c[k+4>>2];h[k>>3]=t;c[x+16>>2]=c[k>>2];c[x+20>>2]=c[k+4>>2];h[k>>3]=q;c[x+24>>2]=c[k>>2];c[x+28>>2]=c[k+4>>2];jN(350792,x)}q=+Jka(x+48|0,.5);if((s+w)*.5>q?(o8(b,x+64|0,x+48|0,q,q,0)|0)<<24>>24!=0:0){r=+Jka(x+64|0,.75);r=r-+Jka(x+64|0,.25);t=+Jka(x+48|0,.75);t=t-+Jka(x+48|0,.25);if(m<<24>>24){s=+Jka(x+48|0,.5);h[k>>3]=q;c[x>>2]=c[k>>2];c[x+4>>2]=c[k+4>>2];h[k>>3]=r;c[x+8>>2]=c[k>>2];c[x+12>>2]=c[k+4>>2];h[k>>3]=t;c[x+16>>2]=c[k>>2];c[x+20>>2]=c[k+4>>2];h[k>>3]=s;c[x+24>>2]=c[k>>2];c[x+28>>2]=c[k+4>>2];jN(350872,x)}+Jka(x+48|0,.5)}}else{r=9.999999747378752e-05;t=+(d|0)*3.0}if(!(a[349482]|0))n=+(d|0);else{if(t>+(d|0)&p>+(d|0))e=68;else e=o*t<=p*r?83:77;c[x>>2]=j;c[x+4>>2]=l;c[x+8>>2]=88;h[k>>3]=t;c[x+12>>2]=c[k>>2];c[x+16>>2]=c[k+4>>2];h[k>>3]=r;c[x+20>>2]=c[k>>2];c[x+24>>2]=c[k+4>>2];h[k>>3]=p;c[x+28>>2]=c[k>>2];c[x+32>>2]=c[k+4>>2];h[k>>3]=o;c[x+36>>2]=c[k>>2];c[x+40>>2]=c[k+4>>2];c[x+44>>2]=e;jN(350952,x);n=+(d|0)}if(t>n&p>n){c[b+16>>2]=0;if(!(a[349482]|0))e=0;else{jN(1714256,x);e=0}}else{if(!(o*t<=p*r))if(m<<24>>24){h[k>>3]=t;c[x>>2]=c[k>>2];c[x+4>>2]=c[k+4>>2];h[k>>3]=r;c[x+8>>2]=c[k>>2];c[x+12>>2]=c[k+4>>2];h[k>>3]=p;c[x+16>>2]=c[k>>2];c[x+20>>2]=c[k+4>>2];h[k>>3]=o;c[x+24>>2]=c[k>>2];c[x+28>>2]=c[k+4>>2];jN(351104,x);j=1}else j=1;else{if(m<<24>>24){h[k>>3]=t;c[x>>2]=c[k>>2];c[x+4>>2]=c[k+4>>2];h[k>>3]=r;c[x+8>>2]=c[k>>2];c[x+12>>2]=c[k+4>>2];h[k>>3]=p;c[x+16>>2]=c[k>>2];c[x+20>>2]=c[k+4>>2];h[k>>3]=o;c[x+24>>2]=c[k>>2];c[x+28>>2]=c[k+4>>2];jN(351016,x)}o=+Jka(x+64|0,.75);o=o-+Jka(x+64|0,.25);t=+Jka(x+48|0,.75);p=+Jka(x+48|0,.25);u=+Jka(x+48|0,.5);p=t-p;j=0}s=p;t=o;if(a[349482]|0){q=u;h[k>>3]=s;c[x>>2]=c[k>>2];c[x+4>>2]=c[k+4>>2];h[k>>3]=t;c[x+8>>2]=c[k>>2];c[x+12>>2]=c[k+4>>2];h[k>>3]=q;c[x+16>>2]=c[k>>2];c[x+20>>2]=c[k+4>>2];jN(351184,x);r=p/o;n=+g[f+48>>2];o=p/n;if(s>3]=r;c[x>>2]=c[k>>2];c[x+4>>2]=c[k+4>>2];h[k>>3]=o;c[x+8>>2]=c[k>>2];c[x+12>>2]=c[k+4>>2];c[x+16>>2]=e;jN(351224,x)}if((s>2],s>2]=2;else c[b+16>>2]=4;g[b+20>>2]=u;g[b+76>>2]=+Jka(x+64|0,.5);n=+g[b+20>>2];if(+((~~(w+n)|0)/2|0|0)>n)e=~~n;else e=(~~(w+n)|0)/2|0;c[b+64>>2]=e;c[b+68>>2]=e;g[b+80>>2]=n;c[b+72>>2]=(e<<1|0)/2|0;a[b+10>>0]=j;e=1}Eka(x+48|0);Eka(x+64|0);i=x;return e|0}function l8(d,e,f){d=d|0;e=e|0;f=f|0;var j=0.0,l=0.0,m=0.0,n=0.0,o=0,p=0;p=i;i=i+32|0;g[p+20>>2]=0.0;j=+g[d+28>>2];l=+g[d+20>>2];j=j>l?l:j;if(!e)e=0;else e=c[e+4>>2]|0;a:do if(!(a[349170]|0)){if((e|0)!=0?!(Zj(c[e+12>>2]|0)|0):0){o=6;break}j=+g8(d,d+104|0,b[d+12>>1]|0,b[d+14>>1]|0,(j*3.0+l)*.25,d+20|0,p+20|0,p+24|0,d+88|0,(c[88533]|0)==(f|0)&1);l=+g[d+20>>2];n=+h[44413]*l;e=c[84119]|0;do if(j>2],!((a[d+10>>0]|0)!=0|m>20.0)):0)?!(j==0.0&m>10.0):0){e=0;break}if((j<+h[44425]*l?(a[d+9>>0]|0)==0:0)?((e&3|0)!=3?1:+g[p+20>>2]>20.0):0){c[d+16>>2]=1;e=1;break a}c[d+16>>2]=2;e=2;break a}else{e=(e&3|0)!=3;m=+g[p+20>>2]}while(0);if(!(j>=n)&((e|m>20.0|(b[p+24>>1]|0)>0)^1)){c[d+16>>2]=0;e=0;break}if(j<+h[44437]*l){c[d+16>>2]=4;e=4;break}else{c[d+16>>2]=3;e=3;break}}else o=6;while(0);if((o|0)==6){j=+h[44437]*l;c[d+16>>2]=3;e=3}if(a[349482]|0){if((e|0)==4)e=351280;else if((e|0)==1)e=351288;else if((e|0)==3)e=351272;else if((e|0)==2)e=351296;else e=351264;n=+g[p+20>>2];h[k>>3]=j/l;c[p>>2]=c[k>>2];c[p+4>>2]=c[k+4>>2];h[k>>3]=n;c[p+8>>2]=c[k>>2];c[p+12>>2]=c[k+4>>2];c[p+16>>2]=e;jN(351304,p)}i=p;return}function m8(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;k=i;i=i+32|0;Lk(k,a+92|0);Mk(k);a:do if(!((Nk(k)|0)<<24>>24))while(1){switch(c[(Ok(k)|0)+16>>2]|0){case 6:{c[h>>2]=(c[h>>2]|0)+1;break}case 1:{c[b>>2]=(c[b>>2]|0)+1;break}case 4:{c[f>>2]=(c[f>>2]|0)+1;break}case 2:{c[e>>2]=(c[e>>2]|0)+1;break}case 0:{c[j>>2]=(c[j>>2]|0)+1;break}case 3:{c[d>>2]=(c[d>>2]|0)+1;break}case 5:{c[g>>2]=(c[g>>2]|0)+1;break}default:{}}VL(k);if((Nk(k)|0)<<24>>24)break a}while(0);i=k;return}function n8(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=i;i=i+48|0;c[e+20>>2]=0;c[e+32>>2]=0;c[e+28>>2]=0;c[e+36>>2]=0;c[e+16>>2]=0;c[e+24>>2]=0;c[e+40>>2]=0;m8(b,e+20|0,e+32|0,e+28|0,e+36|0,e+24|0,e+40|0,e+16|0);f=c[e+20>>2]|0;g=c[e+28>>2]|0;b=c[e+24>>2]|0;c[e>>2]=d;c[e+4>>2]=f;c[e+8>>2]=g;c[e+12>>2]=b;jN(350440,e);if((a[353842]|0)!=0?(g|f|b|0)!=0:0)jN(350464,e);f=c[e+32>>2]|0;d=c[e+36>>2]|0;g=c[e+40>>2]|0;c[e>>2]=f;c[e+4>>2]=d;c[e+8>>2]=g;jN(350480,e);if((a[353778]|0)!=0?(d|f|g|0)!=0:0)jN(350464,e);c[e>>2]=c[e+16>>2];jN(350504,e);i=e;return}function o8(a,d,f,g,j,k){a=a|0;d=d|0;f=f|0;g=+g;j=+j;k=k|0;var l=0,m=0,n=0.0,o=0,p=0.0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+48|0;pk(v+16|0,a+120|0);b[v+8>>1]=32767;b[v+10>>1]=32767;b[v+12>>1]=-32767;b[v+14>>1]=-32767;b[v>>1]=32767;b[v+2>>1]=32767;b[v+4>>1]=-32767;b[v+6>>1]=-32767;Bka(d);Bka(f);if(vk(v+16|0)|0)a=0;else{t=(tk(v+16|0)|0)+8|0;s=e[t+4>>1]|e[t+6>>1]<<16;c[v>>2]=e[t>>1]|e[t+2>>1]<<16;c[v+4>>2]=s;s=0;t=0;a=0;while(1){OL(v+16|0)|0;m=tk(v+16|0)|0;do if(!(c[m+24>>2]&1073741824)){q=e[m+8>>1]|e[m+10>>1]<<16;r=e[m+12>>1]|e[m+14>>1]<<16;c[v+8>>2]=q;c[v+12>>2]=r;l=b[v+4>>1]|0;if(!(((q<<16>>16)-l|0)<(k|0)?!(xk(v+16|0)|0):0))u=6;if((u|0)==6?(u=0,(c[m+4>>2]|0)!=0):0){p=+((kl(v)|0)<<16>>16);n=+h[44518];if(p/g1.0-n);else m=1;o=b[v>>1]|0;n=+(m<<31>>31)*g;if(a<<24>>24!=0&(m^1)){Fka(d,(o<<16>>16)-t|0,1);Fka(f,~~(+(o<<16>>16)+(p-n)*.5)-s|0,1)}if(+((q<<16>>16)-l|0)>31>>>31&255^1;else a=0;c[v>>2]=q;c[v+4>>2]=r;m=~~(n+ +(~~(+(o<<16>>16)+(p-n)*.5)|0));break}bja(v,v+8|0);m=s;l=t}else{m=s;l=t}while(0);if(xk(v+16|0)|0)break;else{s=m;t=l}}a=(c[d+8>>2]|0)>2&1}i=v;return a|0}function p8(b,d,e,f,j,l,m,n,o,p){b=b|0;d=d|0;e=e|0;f=f|0;j=+j;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;var q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;C=i;i=i+16|0;g[m>>2]=+g[l>>2];q=+g[l>>2];if((a[349322]|0)==0?(s=c[88551]|0,(~~q<<16>>16|0)>(s|0)):0){B=XEa((s<<1|1)>>>0>268435455|(s<<1|1)<<4>>>0>4294967291?-1:((s<<1|1)<<4)+4|0)|0;c[B>>2]=s<<1|1;r=B+4|0;do{Cka(r);r=r+16|0}while((r|0)!=(B+4+((s<<1|1)<<4)|0));s=c[88551]|0;if((s|0)<(0-s|0))r=s;else{r=s;s=0-s|0;while(1){Dka(B+4+(r+s<<4)|0,0,(~~q<<16>>16)+1+s|0)|0;r=c[88551]|0;if((s|0)<(r|0))s=s+1|0;else break}}if(e<<16>>16<=f<<16>>16){v=e<<16>>16;s=e;while(1){t=0-r|0;if((r|0)>=(t|0)){u=v-(e<<16>>16)|0;while(1){Fka(B+4+(r+t<<4)|0,(u|0)%(t+(~~q<<16>>16)|0)|0,mx(d,v)|0);r=c[88551]|0;if((t|0)<(r|0))t=t+1|0;else break}}s=s+1<<16>>16;if(s<<16>>16>f<<16>>16)break;else v=s<<16>>16}}s=mx(B+4+(r<<4)|0,0)|0;t=0-r|0;if((r|0)<(t|0)){r=0;t=0}else{v=0;u=0;while(1){z=t+(~~q<<16>>16)|0;if((z|0)>0){x=B+4+(r+t<<4)|0;w=t&65535;A=0;y=0;do{D=mx(x,A)|0;E=(D|0)<(s|0);u=E?y:u;v=E?w:v;s=E?D:s;y=y+1<<16>>16;A=y<<16>>16}while((A|0)<(z|0))}if((t|0)<(r|0))t=t+1|0;else{r=v;t=u;break}}}if(p<<24>>24){w=r<<16>>16;h[k>>3]=+g[l>>2];c[C>>2]=c[k>>2];c[C+4>>2]=c[k+4>>2];c[C+8>>2]=w;c[C+12>>2]=s;jN(351408,C)}else w=r<<16>>16;z=w+(~~q<<16>>16)|0;g[l>>2]=+((z&65535)<<16>>16);y=(s<<1)+2|0;x=t<<16>>16;a:do if((x+65534<<16>>16|0)>(x-(z<<16>>16)|0)){t=B+4+((c[88551]|0)+w<<4)|0;r=x+65534<<16>>16;u=x+65534&65535;while(1){s=u+-1<<16>>16;if((mx(t,(r|0)%(z<<16>>16|0)|0)|0)>(y|0)){v=u;break a}r=s<<16>>16;if((r|0)<=(x-(z<<16>>16)|0)){v=s;break}else u=s}}else v=x+65534&65535;while(0);b:do if((x+2<<16>>16|0)<((z<<16>>16)+x|0)){r=B+4+((c[88551]|0)+w<<4)|0;t=x+2<<16>>16;u=x+2&65535;while(1){s=u+1<<16>>16;if((mx(r,(t|0)%(z<<16>>16|0)|0)|0)>(y|0)){s=u;break b}t=s<<16>>16;if((t|0)>=((z<<16>>16)+x|0))break;else u=s}}else s=x+2&65535;while(0);q=+q8(b,d,e,f,j,+((z&65535)<<16>>16),m,n,o,p,v,s);if(p<<24>>24){h[k>>3]=+g[l>>2];c[C>>2]=c[k>>2];c[C+4>>2]=c[k+4>>2];h[k>>3]=q;c[C+8>>2]=c[k>>2];c[C+12>>2]=c[k+4>>2];jN(351464,C)}if(a[349482]|0)r8(b,d,e,f,j,+g[l>>2]);r=B+4+(c[B>>2]<<4)|0;if((B+4|0)!=(r|0))do{r=r+-16|0;Eka(r)}while((r|0)!=(B+4|0));ZEa(B)}i=C;return +q}function q8(d,e,f,j,l,m,n,o,p,q,r,s){d=d|0;e=e|0;f=f|0;j=j|0;l=+l;m=+m;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;s=s|0;var t=0.0,u=0,v=0,w=0,x=0,y=0.0,z=0,A=0.0,B=0,C=0,D=0,E=0,F=0.0,G=0,H=0,I=0.0;H=i;i=i+176|0;pk(H+64|0,d+120|0);c[H+36>>2]=0;c[H+92>>2]=0;c[H+96>>2]=0;pk(H+124|0,p);do if(!(c[84119]&2)){b[o>>1]=0;if(vk(H+64|0)|0){t=l*10.0;break};c[H+36>>2]=c[H+64>>2];c[H+40>>2]=c[H+68>>2];c[H+44>>2]=c[H+72>>2];c[H+48>>2]=c[H+76>>2];c[H+52>>2]=c[H+80>>2];c[H+56>>2]=c[H+84>>2];a[H+60>>0]=a[H+88>>0]|0;Zaa(H+8|0,H+64|0);v=c[H+8>>2]|0;w=c[H+12>>2]|0;rk(H+64|0);v=UGa(v|0,w|0,48)|0;v=v&65535;w=w&65535;p=0;o=0;x=-1;z=0;A=0.0;y=0.0;D=0;while(1){if(p<<16>>16>0)do{Zaa(H+160|0,H+36|0);p=p+-1<<16>>16}while(p<<16>>16>0);while(1){p=p+1<<16>>16;Zaa(H,H+64|0);u=c[H>>2]|0;C=c[H+4>>2]|0;B=UGa(u|0,C|0,48)|0;if(sk(H+64|0)|0)break;if(!(+((u<<16>>16)-(w<<16>>16)|0)>2]*+h[43731],H+152|0,H+92|0,r,s);if(q<<24>>24){u=(NL(H+92|0)|0)+-1|0;c[H+16>>2]=w<<16>>16;c[H+20>>2]=v<<16>>16;c[H+24>>2]=u;h[k>>3]=t;c[H+28>>2]=c[k>>2];c[H+32>>2]=c[k+4>>2];jN(351504,H+16|0);pk(H+96|0,H+92|0);rk(H+96|0);while(1){if(sk(H+96|0)|0)break;if(a[(tk(H+96|0)|0)+4>>0]|0)jN(351560,H+16|0);c[H+16>>2]=c[(tk(H+96|0)|0)+12>>2];jN(351568,H+16|0);OL(H+96|0)|0}jN(1714256,H+16|0)}pk(H+96|0,H+92|0);if((x|0)>-1){I=+((c[(tk(H+96|0)|0)+12>>2]|0)-x|0);I=I-m*+P(+(I/m+.5));z=z+1|0;A=A+I*I}rk(H+96|0);while(1){if(sk(H+96|0)|0)break;u=c[(tk(H+96|0)|0)+12>>2]|0;if(!(vk(H+124|0)|0)?(E=o<<16>>16,F=+(o<<16>>16),!(+(u<<16>>16|0)>m*.5+F)):0){if(+(u<<16>>16|0)>F-m*.5){b[(tk(H+124|0)|0)+4>>1]=((u<<16>>16)+E|0)/2|0;o=(((u<<16>>16)+E|0)/2|0)&65535}}else G=26;if((G|0)==26){while(1){G=0;if(vk(H+124|0)|0)break;if(!(+(u<<16>>16|0)>m*3.0*.5+ +(o<<16>>16)))break;x=WEa(8)|0;G=(o&65535)+(~~m&65535)&65535;c[x>>2]=0;b[x+4>>1]=G;b[x+6>>1]=0;Ck(H+124|0,x);o=G;G=26}o=WEa(8)|0;c[o>>2]=0;b[o+4>>1]=u;b[o+6>>1]=0;Ck(H+124|0,o);o=u&65535}OL(H+96|0)|0}SL(H+96|0);x=c[(tk(H+96|0)|0)+12>>2]|0;if(!(a[355786]|0))u=1;else{u=((NL(H+92|0)|0)+-2|0)/2|0;u=(u|0)<1?1:u}y=y+t*+(u|0);u=(ba((NL(H+92|0)|0)+-1|0,u)|0)+D|0;KL(H+92|0,242);if(sk(H+64|0)|0)break;else{v=B&65535;w=C&65535;D=u}}if((z|0)>0)t=+R(+(A/+(z|0)));else t=0.0;g[n>>2]=t;if((u|0)>0)t=+R(+(y/+(u|0)));else t=l*10.0}else{t=+s8(d,e,f,j,m,H+152|0,o,p,q,r,s);g[n>>2]=+(b[H+152>>1]|0)}while(0);KL(H+92|0,242);i=H;return +t}function r8(e,f,j,l,m,n){e=e|0;f=f|0;j=j|0;l=l|0;m=+m;n=+n;var o=0,p=0.0,q=0,r=0,s=0.0,t=0,u=0,v=0,w=0.0,x=0.0,y=0,z=0,A=0,B=0,C=0.0;B=i;i=i+192|0;pk(B+92|0,e+120|0);c[B+64>>2]=0;c[B+144>>2]=0;c[B+148>>2]=0;if(vk(B+92|0)|0)o=B+144|0;else{y=c[B+92>>2]|0;z=B+96|0;c[B+120>>2]=c[z+0>>2];c[B+124>>2]=c[z+4>>2];c[B+128>>2]=c[z+8>>2];c[B+132>>2]=c[z+12>>2];c[B+136>>2]=c[z+16>>2];a[B+140>>0]=a[z+20>>0]|0;c[B+64>>2]=c[B+92>>2];c[B+68>>2]=c[B+96>>2];c[B+72>>2]=c[B+100>>2];c[B+76>>2]=c[B+104>>2];c[B+80>>2]=c[B+108>>2];c[B+84>>2]=c[B+112>>2];a[B+88>>0]=a[B+116>>0]|0;Zaa(B+8|0,B+92|0);q=c[B+12>>2]|0;rk(B+92|0);q=q&65535;r=0;v=-1;u=0;p=0.0;w=0.0;A=0;x=0.0;while(1){if(r<<16>>16>0){do{Zaa(B+184|0,B+64|0);r=r+-1<<16>>16}while(r<<16>>16>0);t=q}else t=q;do{r=r+1<<16>>16;Zaa(B,B+92|0);q=c[B>>2]|0;o=t;t=c[B+4>>2]&65535;if(sk(B+92|0)|0)break}while(+((q<<16>>16)-(o<<16>>16)|0)>2]*+h[43731],B+176|0,B+144|0,0,0);A=(r&65535)+(A&65535)|0;pk(B+148|0,B+144|0);if((v|0)>-1){C=+((c[(tk(B+148|0)|0)+12>>2]|0)-v|0);C=C-n*+P(+(C/n+.5));o=u+1|0;p=p+C*C}else o=u;SL(B+148|0);v=c[(tk(B+148|0)|0)+12>>2]|0;if(!(a[355786]|0))q=1;else{q=((NL(B+144|0)|0)+-2|0)/2|0;q=(q|0)<1?1:q}w=w+s*+(q|0);x=x+ +(ba((NL(B+144|0)|0)+-1|0,q)|0);KL(B+144|0,242);if(sk(B+92|0)|0)break;else{q=t;u=o}}if((o|0)>0)s=+R(+(p/+(o|0)));else s=0.0;if(x>0.0)p=+R(+(w/x));else p=m*10.0;r=p>3]=p;c[B+16>>2]=c[k>>2];c[B+20>>2]=c[k+4>>2];h[k>>3]=p/n;c[B+24>>2]=c[k>>2];c[B+28>>2]=c[k+4>>2];h[k>>3]=s;c[B+32>>2]=c[k>>2];c[B+36>>2]=c[k+4>>2];c[B+40>>2]=r;jN(351624,B+16|0);c[B+64>>2]=y;r=B+68|0;c[r+0>>2]=c[B+120>>2];c[r+4>>2]=c[B+124>>2];c[r+8>>2]=c[B+128>>2];c[r+12>>2]=c[B+132>>2];c[r+16>>2]=c[B+136>>2];a[r+20>>0]=a[B+140>>0]|0;c[B+92>>2]=y;c[z+0>>2]=c[B+120>>2];c[z+4>>2]=c[B+124>>2];c[z+8>>2]=c[B+128>>2];c[z+12>>2]=c[B+132>>2];c[z+16>>2]=c[B+136>>2];a[z+20>>0]=a[B+140>>0]|0;p=+X1(B+92|0,A&65535,~~n,f,j,l,+g[e+44>>2]*+h[43731],B+176|0,B+144|0,0,0);r=b[B+176>>1]|0;if(r<<16>>16>1)p=p/+(r<<16>>16);p=+R(+p);KL(B+144|0,242);o=p>0]|0)==0:0){q=351288;break}q=351296}else q=p>2];e=d[e+9>>0]|0;h[k>>3]=p;c[B+16>>2]=c[k>>2];c[B+20>>2]=c[k+4>>2];h[k>>3]=p/n;c[B+24>>2]=c[k>>2];c[B+28>>2]=c[k+4>>2];c[B+32>>2]=o?70:80;c[B+36>>2]=r<<16>>16;c[B+40>>2]=q;h[k>>3]=n;c[B+44>>2]=c[k>>2];c[B+48>>2]=c[k+4>>2];h[k>>3]=x;c[B+52>>2]=c[k>>2];c[B+56>>2]=c[k+4>>2];c[B+60>>2]=e;jN(351664,B+16|0);o=B+144|0}KL(o,242);i=B;return}function s8(d,e,f,j,l,m,n,o,p,q,r){d=d|0;e=e|0;f=f|0;j=j|0;l=+l;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;var s=0.0,t=0,u=0,v=0,w=0;w=i;i=i+128|0;pk(w+88|0,d+120|0);c[w+84>>2]=0;c[w+56>>2]=0;pk(w+28|0,o);b[n>>1]=0;if(vk(w+88|0)|0){b[m>>1]=0;s=l*10.0;o=w+84|0}else{rk(w+88|0);u=0;do{Zaa(w,w+88|0);o=c[w>>2]|0;v=c[w+4>>2]|0;u=u+1<<16>>16}while(!(sk(w+88|0)|0));o=UGa(o|0,v|0,48)|0;t=F;s=+X1(w+88|0,u,~~l,e,f,j,+g[d+44>>2]*+h[43731],m,w+84|0,q,r);if(p<<24>>24){p=NL(w+84|0)|0;d=_Ga(v|0,0,16)|0;q=_Ga(o|0,t|0,16)|0;c[w+8>>2]=d>>16;c[w+12>>2]=q>>16;c[w+16>>2]=p+-1;h[k>>3]=s;c[w+20>>2]=c[k>>2];c[w+24>>2]=c[k+4>>2];jN(351576,w+8|0);pk(w+56|0,w+84|0);rk(w+56|0);while(1){if(sk(w+56|0)|0)break;if(a[(tk(w+56|0)|0)+4>>0]|0)jN(351560,w+8|0);c[w+8>>2]=c[(tk(w+56|0)|0)+12>>2];jN(351568,w+8|0);OL(w+56|0)|0}jN(1714256,w+8|0)}pk(w+56|0,w+84|0);rk(w+56|0);while(1){if(sk(w+56|0)|0)break;q=c[(tk(w+56|0)|0)+12>>2]|0;p=WEa(8)|0;c[p>>2]=0;b[p+4>>1]=q;b[p+6>>1]=0;Ck(w+28|0,p);if(Ov(w+56|0)|0)b[n>>1]=b[(tk(w+56|0)|0)+8>>1]|0;OL(w+56|0)|0}KL(w+84|0,242);o=b[m>>1]|0;if(o<<16>>16>0)s=+R(+(s/+(o<<16>>16)));else s=l*10.0;o=w+84|0}KL(o,242);i=w;return +s}function t8(){c[87254]=1701984;c[87256]=357176;c[87258]=389976;c[87260]=390024;c[87262]=390056;c[87264]=390112;c[87266]=390152;c[87268]=390184;c[87270]=390240;c[87272]=390280;c[87274]=390328;c[87276]=390376;c[87278]=390400;c[87280]=390432;c[87282]=390504;c[87284]=390552;c[87286]=390592;c[87288]=390640;Wk(349160,0,349176,349200,0,kM()|0);Wk(349232,0,349248,349280,0,kM()|0);Wk(349312,0,349328,349360,0,kM()|0);Wk(349400,0,349416,349440,0,kM()|0);Wk(349472,0,349488,349520,0,kM()|0);Wk(349544,0,349560,349584,0,kM()|0);Wk(349608,0,349624,349648,0,kM()|0);Wk(349672,0,349688,349712,0,kM()|0);Wk(349752,0,349768,349792,0,kM()|0);tJ(349832,.2,349872,349904,kM()|0);tJ(349928,1.0,349968,349992,kM()|0);return}function u8(a,b){a=a|0;b=b|0;var c=0.0;c=+g[a>>2]-+g[b>>2];if(c>0.0)a=1;else a=(c<0.0)<<31>>31;return a|0}function v8(a,e){a=a|0;e=e|0;var f=0.0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+48|0;s=up(a)|0;t=kl(e+8|0)|0;u=ll(e+8|0)|0;s=Fl(b[e+8>>1]|0,s-(b[e+14>>1]|0)|0,t<<16>>16,u<<16>>16)|0;c[v+40>>2]=s;s=Dq(a,s)|0;c[v+36>>2]=s;Kl(v+40|0);s=Ct(s)|0;c[v+32>>2]=s;cp(v+36|0);r=vp(s)|0;s=bp(s)|0;Aka(v+16|0,0,(t<<16>>16)+1|0);if(u<<16>>16>0){o=0;do{a=ba(o,s)|0;if(t<<16>>16>1){h=(o|0)==0;j=(o|0)==((u<<16>>16)+-1|0);l=d[(r+(a<<2)^3)>>0]|0;m=0;n=1;while(1){k=d[(r+(a<<2)+n^3)>>0]|0;do if((m|0)<(l|0)){if(!h?(l|0)!=(d[(r+(a-s<<2)+(n+-1)^3)>>0]|0):0)break;if(!j?(l|0)!=(d[(r+(a+s<<2)+(n+-1)^3)>>0]|0):0)break;if(l>>>0>k>>>0){Fka(v+16|0,(l<<1)+-1|0,1);break}if(((l|0)==(k|0)?(p=n+1|0,(p|0)<(t<<16>>16|0)):0)?l>>>0>(d[(r+(a<<2)+p^3)>>0]|0)>>>0:0)Fka(v+16|0,l<<1,1)}while(0);n=n+1|0;if((n|0)==(t<<16>>16|0))break;else{m=l;l=k}}}o=o+1|0}while((o|0)!=(u<<16>>16|0))}Aka(v,0,(u<<16>>16)+1|0);if(t<<16>>16>0){a=0;do if(u<<16>>16>1){p=(a|0)==0;o=(a|0)==((t<<16>>16)+-1|0);n=a+1|0;m=a+-1|0;j=d[(r+a^3)>>0]|0;h=0;q=1;while(1){l=ba(q,s)|0;k=d[(r+(l<<2)+a^3)>>0]|0;do if((h|0)<(j|0)){if(!p?(j|0)!=(d[(r+(l-s<<2)+m^3)>>0]|0):0)break;if(!o?(j|0)!=(d[(r+(l-s<<2)+n^3)>>0]|0):0)break;if(j>>>0>k>>>0){Fka(v,(j<<1)+-1|0,1);break}if((j|0)==(k|0)&(q+1|0)<(u<<16>>16|0)?j>>>0>(d[(r+(l+s<<2)+a^3)>>0]|0)>>>0:0)Fka(v,j<<1,1)}while(0);q=q+1|0;if((q|0)==(u<<16>>16|0)){a=n;break}else{h=j;j=k}}}else a=a+1|0;while((a|0)<(t<<16>>16|0))}cp(v+32|0);a=c[v+24>>2]|0;h=((u<<16>>16)+(t<<16>>16)|0)/4|0;do if((a|0)>=(h|0)){g[e+72>>2]=+Jka(v+16|0,.5);if((c[v+8>>2]|0)<(h|0)){g[e+76>>2]=0.0;break}else{g[e+76>>2]=+Jka(v,.5);break}}else{u=c[v+8>>2]|0;if((u|0)>=(h|0)|(u|0)>(a|0)){g[e+72>>2]=0.0;g[e+76>>2]=+Jka(v,.5);break}if((a|0)>2)f=+Jka(v+16|0,.5);else f=0.0;g[e+72>>2]=f;g[e+76>>2]=0.0}while(0);Eka(v);Eka(v+16|0);i=v;return}function w8(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=i;i=i+112|0;pk(e+84|0,b);c[e+56>>2]=0;c[e+28>>2]=0;pk(e,d);rk(e+84|0);if(!(sk(e+84|0)|0))do{d=tk(e+84|0)|0;b=WEa(96)|0;fba(b,d);pk(e+28|0,b+4|0);pk(e+56|0,d+60|0);rk(e+56|0);if(!(sk(e+56|0)|0))do{g=pv(e+56|0)|0;f=WEa(120)|0;TX(f,g);v8(a,f);Ck(e+28|0,f);OL(e+56|0)|0}while(!(sk(e+56|0)|0));pk(e+28|0,b+12|0);pk(e+56|0,d+64|0);rk(e+56|0);if(!(sk(e+56|0)|0))do{f=pv(e+56|0)|0;g=WEa(120)|0;TX(g,f);v8(a,g);Ck(e+28|0,g);OL(e+56|0)|0}while(!(sk(e+56|0)|0));Ck(e,b);OL(e+84|0)|0}while(!(sk(e+84|0)|0));i=e;return}function x8(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+48|0;f=Cp(b)|0;g=up(b)|0;if((f|0)>32767|(g|0)>32767){c[h>>2]=f;c[h+4>>2]=g;jN(351864,h)}else{pk(h+8|0,d);rk(h+8|0);if(!(sk(h+8|0)|0))do{g=tk(h+8|0)|0;f=c[g+4>>2]|0;if(!((f|0)!=0?!(Zj(c[f+12>>2]|0)|0):0))s$(b,g);OL(h+8|0)|0}while(!(sk(h+8|0)|0));w8(b,d,e);y8(a,e)}i=h;return}function y8(a,b){a=a|0;b=b|0;var c=0,d=0.0;c=i;i=i+32|0;pk(c,b);rk(c);if(!(sk(c)|0))do{b=tk(c)|0;d=+z8(a,b+4|0,b+12|0,b+16|0,b+20|0);g[b+32>>2]=d*1.25*2.0;d=+h[41344]*d;g[b+36>>2]=d;g[b+40>>2]=+h[41357]*d;OL(c)|0}while(!(sk(c)|0));i=c;return}function z8(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0;n=i;i=i+128|0;pk(n+100|0,b);pk(n+72|0,d);pk(n+44|0,e);pk(n+16|0,f);Aka(n,0,600);rk(n+100|0);while(1){if(sk(n+100|0)|0)break;d=tk(n+100|0)|0;f=(ll(d+8|0)|0)<<16>>16;if((f|0)>=(c[a+1892>>2]|0)){l=+(c[d+24>>2]<<2>>2|0);m=+(ba((kl(d+8|0)|0)<<16>>16,f)|0);if(l>=+h[a+1984>>3]*m)Ck(n+44|0,pv(n+100|0)|0)}else Ck(n+72|0,pv(n+100|0)|0);OL(n+100|0)|0}rk(n+100|0);while(1){if(sk(n+100|0)|0)break;Fka(n,(ll((tk(n+100|0)|0)+8|0)|0)<<16>>16,1);OL(n+100|0)|0}j=+Jka(n,+h[a+2064>>3]);k=+aa(+(j*1.25*2.0));m=+P(+(j*.5));l=+aa(+(j*+h[41281]));qk(n+44|0);rk(n+44|0);while(1){if(sk(n+44|0)|0)break;g=+((ll((tk(n+44|0)|0)+8|0)|0)<<16>>16);if(!(g>k)){if(g>=m)Ck(n+100|0,pv(n+44|0)|0)}else Ck(n+16|0,pv(n+44|0)|0);OL(n+44|0)|0}Bka(n);rk(n+100|0);while(1){if(sk(n+100|0)|0)break;b=ll((tk(n+100|0)|0)+8|0)|0;e=tk(n+100|0)|0;do if(!(+(b<<16>>16)>16)>k|+((kl(e+8|0)|0)<<16>>16)>l){Ck(n+16|0,pv(n+100|0)|0);break}else{Fka(n,b<<16>>16,1);break}else Ck(n+44|0,pv(n+100|0)|0);while(0);OL(n+100|0)|0}m=+Jka(n,+h[a+2104>>3])*.6666666666666666;Eka(n);i=n;return +(m>j?m:j)}function A8(a){a=a|0;var b=0,d=0,f=0,g=0.0,j=0;f=i;i=i+144|0;pk(f+80|0,a+52|0);if(vk(f+80|0)|0){b=e[a+16>>1]|e[a+18>>1]<<16;d=e[a+20>>1]|e[a+22>>1]<<16;c[f>>2]=b;c[f+4>>2]=d;g=+((ll(f)|0)<<16>>16);c[f+136>>2]=b<<16>>16;j=_Ga(d|0,0,16)|0;c[f+140>>2]=j>>16;d=UGa(b|0,d|0,16)|0;c[f+16>>2]=0;c[f+20>>2]=0;c[f+24>>2]=0;c[f+28>>2]=0;h[f+32>>3]=+((d&65535)<<16>>16);d=WEa(64)|0;Ifa(d,1,f+136|0,f+16|0,g*.5,g*.25,g*.25,0,1);Ck(f+80|0,d)}rk(f+80|0);if(!(sk(f+80|0)|0))do{b=tk(f+80|0)|0;Lk(f+108|0,b+36|0);if((uZ(f+108|0)|0)<<24>>24){d=c[a+52>>2]|0;if((d|0)!=0?(d|0)==(c[d>>2]|0):0)d=a+16|0;else d=b+12|0;j=d;d=e[j+4>>1]|e[j+6>>1]<<16;c[f+8>>2]=e[j>>1]|e[j+2>>1]<<16;c[f+12>>2]=d;d=ela(f+8|0)|0;c[f+76>>2]=0;pk(f+48|0,f+76|0);Ck(f+48|0,d);d=WEa(28)|0;vla(d,f+76|0,0,0);nZ(f+108|0,d);KL(f+76|0,224)}Mk(f+108|0);if(!((Nk(f+108|0)|0)<<24>>24))do{if(!(c[(Ok(f+108|0)|0)+20>>2]|0)){c[f+40>>2]=351936;c[f+44>>2]=394;$L(351856,351904,2,1702e3,f+40|0)}VL(f+108|0)}while((Nk(f+108|0)|0)<<24>>24==0);Lfa(b);OL(f+80|0)|0}while(!(sk(f+80|0)|0));i=f;return}function B8(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+64|0;pk(p+36|0,e);c[p+8>>2]=0;rk(p+36|0);if(sk(p+36|0)|0){g=b+2482|0;f=0;e=0}else{f=0;e=0;do{o=tk(p+36|0)|0;g=c[o+4>>2]|0;if((g|0)!=0?!(Zj(c[g+12>>2]|0)|0):0)A8(o);else{if(d?(pk(p+8|0,o+52|0),rk(p+8|0),!(sk(p+8|0)|0)):0){n=0;g=0;while(1){l=tk(p+8|0)|0;k=g+1|0;C8(b,l);if(a[b+2282>>0]|0)if((c[l+36>>2]|0)!=0?(D8(b,l)|0)<<24>>24==0:0)m=12;else m=13;else m=12;if((m|0)==12){m=0;if(!(c[l+36>>2]|0))m=13;else{if(a[b+2266>>0]|0)E8(b,tk(p+8|0)|0);j=+h[b+2504>>3];if(j>=0.0)F8(l,j,+h[b+2544>>3]);g=n+1|0}}if((m|0)==13){g=pv(p+8|0)|0;if(!g)g=n;else{Ak(g);YEa(g);g=n}}OL(p+8|0)|0;if(sk(p+8|0)|0){l=g;break}else{n=g;g=k}}}else{l=0;k=0}if(!(c[o+52>>2]|0)){g=pv(p+36|0)|0;if(g){wk(g);YEa(g)}}else f=f+1|0;e=e+1|0;if(a[b+2482>>0]|0){c[p>>2]=l;c[p+4>>2]=k;jN(351960,p)}}OL(p+36|0)|0}while(!(sk(p+36|0)|0));g=b+2482|0}if(a[g>>0]|0){c[p>>2]=f;c[p+4>>2]=e;jN(352e3,p)}i=p;return}function C8(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0.0;l=i;i=i+96|0;Lk(l+56|0,d+36|0);Mk(l+56|0);if(!((Nk(l+56|0)|0)<<24>>24))do{f=Ok(l+56|0)|0;m=+h[a+2384>>3];yla(l+88|0,f);d=~~(m*+((ll(l+88|0)|0)<<16>>16)+.5);pk(l+28|0,f+20|0);rk(l+28|0);if(!(sk(l+28|0)|0))do{e=(tk(l+28|0)|0)+4|0;pk(l,e);rk(l);if(!(sk(l)|0))do{dda(tk(l)|0,d,l);OL(l)|0}while(!(sk(l)|0));if((c[e>>2]|0)==0?(g=pv(l+28|0)|0,(g|0)!=0):0){KL(g+4|0,230);YEa(g)}OL(l+28|0)|0}while(!(sk(l+28|0)|0));if(!(c[f+20>>2]|0)){if((Kv(l+56|0)|0)<<24>>24==0?(j=(ZL(l+56|0,1)|0)+10|0,k=b[j>>1]|0,(k&2048)!=0):0)b[j>>1]=k&63487;d=hv(l+56|0)|0;if(d){iv(d);YEa(d)}}VL(l+56|0)}while((Nk(l+56|0)|0)<<24>>24==0);i=l;return}function D8(d,f){d=d|0;f=f|0;var j=0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0,z=0.0,A=0.0,B=0.0,C=0,D=0,E=0;D=i;i=i+144|0;b[D+8>>1]=32767;b[D+10>>1]=32767;b[D+12>>1]=-32767;b[D+14>>1]=-32767;Lk(D+104|0,f+36|0);c[D+76>>2]=0;c[D+48>>2]=0;n=c[82303]|0;l=+(c[82287]|0);if((+(n|0)>+zk(f,l)?(a[d+1858>>0]|0)!=0:0)?(l=+zk(f,l),+(n|0)>2]):0)m=1;else m=0;Mk(D+104|0);if(!((Nk(D+104|0)|0)<<24>>24)){x=m<<24>>24==0;n=-32767;o=0;m=0;j=0;p=0;do{w=Ok(D+104|0)|0;pk(D+76|0,w+20|0);rk(D+76|0);if(!(sk(D+76|0)|0)){do{v=tk(D+76|0)|0;if(!(b[w+10>>1]&256)){pk(D+48|0,v+4|0);rk(D+48|0);if(!(sk(D+48|0)|0))do{u=tk(D+48|0)|0;s=e[u+8>>1]|e[u+10>>1]<<16;c[D+8>>2]=e[u+4>>1]|e[u+6>>1]<<16;c[D+12>>2]=s;s=kl(D+8|0)|0;t=ll(D+8|0)|0;l=+g[f+20>>2];o=(+((s<<16>>16>t<<16>>16?s:t)<<16>>16)<+h[d+2168>>3]*l&1)+o|0;if(((((c[u+28>>2]|0)!=0?(y=+((ll(D+8|0)|0)<<16>>16),z=+h[d+2304>>3],yl*(1.0-z):0)?(A=+((kl(D+8|0)|0)<<16>>16),B=+h[d+2344>>3],Al*(1.0-B):0)j=j+1|0;OL(D+48|0)|0}while(!(sk(D+48|0)|0))}else j=j+1|0;fla(D,v);t=c[D>>2]|0;u=c[D+4>>2]|0;c[D+8>>2]=t;c[D+12>>2]=u;E=kl(D+8|0)|0;n=ll(D+8|0)|0;n=E<<16>>16>n<<16>>16?E:n;l=+g[f+20>>2];E=!(+(n<<16>>16)>=+h[d+2168>>3]*l);q=UGa(t|0,u|0,16)|0;r=UGa(t|0,u|0,48)|0;s=F;if(!E?+(n<<16>>16)>16|0)/(c[d+2140>>2]|0)|0)|0;m=((p|0)<(c[d+2204>>2]|0)&1)+m|0}else{l=l*2.0;C=23}do if((C|0)==23){C=0;if(+((ll(D+8|0)|0)<<16>>16)>l){if((Mv(D+104|0)|0)<<24>>24!=0?xk(D+76|0)|0:0)break;o=o+2|0}}while(0);if(!x){s=_Ga(r|0,s|0,16)|0;E=NL(v+4|0)|0;l=+((q&65535)<<16>>16)-+zk(f,+((t&65535)<<16>>16));c[D+16>>2]=(t&65535)<<16>>16;c[D+20>>2]=(q&65535)<<16>>16;c[D+24>>2]=(u&65535)<<16>>16;c[D+28>>2]=s>>16;c[D+32>>2]=E;c[D+36>>2]=p;h[k>>3]=l;c[D+40>>2]=c[k>>2];c[D+44>>2]=c[k+4>>2];jN(352040,D+16|0)}OL(D+76|0)|0}while(!(sk(D+76|0)|0));n=u&65535}VL(D+104|0)}while((Nk(D+104|0)|0)<<24>>24==0)}else{n=-32767;o=0;m=0;j=0}if(a[d+2482>>0]|0){B=+zk(f,+(n<<16>>16));c[D+16>>2]=n<<16>>16;h[k>>3]=B;c[D+20>>2]=c[k>>2];c[D+24>>2]=c[k+4>>2];jN(352096,D+16|0);if((m|0)>0)l=+(o|0)/+(m|0);else l=9999.0;E=((o|0)>2?+(o|0)>+(m|0)*+h[d+2232>>3]:0)?352152:352168;h[k>>3]=l;c[D+16>>2]=c[k>>2];c[D+20>>2]=c[k+4>>2];c[D+24>>2]=o;c[D+28>>2]=m;c[D+32>>2]=E;jN(352120,D+16|0)}if((j|0)<(c[d+2420>>2]|0)?+(o|0)>+(m|0)*+h[d+2448>>3]:0)j=(o|0)>2&1;else j=0;i=D;return j|0}function E8(d,f){d=d|0;f=f|0;var j=0,k=0,l=0,m=0.0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0.0,u=0.0,v=0.0,w=0.0,x=0,y=0,z=0,A=0,B=0;z=i;i=i+96|0;b[z>>1]=32767;b[z+2>>1]=32767;b[z+4>>1]=-32767;b[z+6>>1]=-32767;Lk(z+64|0,f+36|0);c[z+36>>2]=0;c[z+8>>2]=0;l=U_(z+64|0)|0;if((l|0)!=0?(a[d+1842>>0]|0)==0:0){x=iM(l)|0;Mk(z+64|0);if(!((Nk(z+64|0)|0)<<24>>24)){k=0;j=0;s=0;while(1){r=Ok(z+64|0)|0;pk(z+36|0,r+20|0);rk(z+36|0);do if(!(sk(z+36|0)|0)){l=0;o=0;do{q=tk(z+36|0)|0;if(!(b[r+10>>1]&256)){pk(z+8|0,q+4|0);rk(z+8|0);if(!(sk(z+8|0)|0))do{p=tk(z+8|0)|0;B=e[p+8>>1]|e[p+10>>1]<<16;c[z>>2]=e[p+4>>1]|e[p+6>>1]<<16;c[z+4>>2]=B;B=kl(z)|0;A=ll(z)|0;n=+g[f+20>>2];l=(+((B<<16>>16>A<<16>>16?B:A)<<16>>16)<+h[d+2168>>3]*n&1)+l|0;if(((((c[p+28>>2]|0)!=0?(t=+((ll(z)|0)<<16>>16),u=+h[d+2304>>3],tn*(1.0-u):0)?(v=+((kl(z)|0)<<16>>16),w=+h[d+2344>>3],vn*(1.0-w):0)o=o+1|0;OL(z+8|0)|0}while(!(sk(z+8|0)|0))}else o=o+1|0;fla(z,q);B=kl(z)|0;p=ll(z)|0;p=B<<16>>16>p<<16>>16?B:p;n=+g[f+20>>2];if(+(p<<16>>16)>=+h[d+2168>>3]*n?+(p<<16>>16)>16|0)/(c[d+2140>>2]|0)|0)|0;o=((B|0)<(c[d+2204>>2]|0)&1)+o|0}else{m=n*2.0;y=21}do if((y|0)==21){y=0;if(+((ll(z)|0)<<16>>16)>m){if((Mv(z+64|0)|0)<<24>>24!=0?xk(z+36|0)|0:0)break;l=l+2|0}}while(0);OL(z+36|0)|0}while(!(sk(z+36|0)|0));if((l|0)>2?(b[r+10>>1]&512)==0:0){n=+(l|0);m=+(o|0)*+h[d+2232>>3];if(n>m*2.0){a[x+s>>0]=2;l=1;break}l=x+s|0;if(n>m){a[l>>0]=1;l=0;break}else{a[l>>0]=0;l=0;break}}else y=33}else y=33;while(0);if((y|0)==33){y=0;a[x+s>>0]=0;l=0}k=l+k|0;j=(l^1)+j|0;VL(z+64|0);if(!((Nk(z+64|0)|0)<<24>>24))s=s+1|0;else break}}else{k=0;j=0}Mk(z+64|0);if(!((Nk(z+64|0)|0)<<24>>24)){j=(k|0)>(j|0);l=0;while(1){k=a[x+l>>0]|0;if(k<<24>>24==2)y=39;else if(k<<24>>24==1?j:0)y=39;if((y|0)==39){y=0;B=Ok(z+64|0)|0;Ila(B,+h[d+2168>>3]*+g[f+20>>2])}VL(z+64|0);if(!((Nk(z+64|0)|0)<<24>>24))l=l+1|0;else break}}jM(x)}i=z;return}function F8(a,d,e){a=a|0;d=+d;e=+e;var f=0,j=0,k=0,l=0,m=0,n=0,o=0.0,p=0,q=0.0,r=0.0,s=0,t=0,u=0,v=0,w=0.0;v=i;i=i+96|0;b[v+8>>1]=32767;b[v+10>>1]=32767;b[v+12>>1]=-32767;b[v+14>>1]=-32767;Lk(v+56|0,a+36|0);c[v+28>>2]=0;Mk(v+56|0);f=0;while(1){if((Nk(v+56|0)|0)<<24>>24)break;p=(NL((Ok(v+56|0)|0)+20|0)|0)+f|0;VL(v+56|0);f=p}if(f){u=iM(((c[a+40>>2]|0)+f<<2)+4|0)|0;t=iM(((c[a+40>>2]|0)+f|0)*24|0)|0;c[u>>2]=c[c[a+44>>2]>>2];Mk(v+56|0);f=0;j=0;while(1){if((Nk(v+56|0)|0)<<24>>24)break;pk(v+28|0,(Ok(v+56|0)|0)+20|0);rk(v+28|0);while(1){if(sk(v+28|0)|0)break;fla(v,tk(v+28|0)|0);p=c[v>>2]|0;n=c[v+4>>2]|0;c[v+8>>2]=p;c[v+12>>2]=n;l=_Ga(n|0,0,16)|0;r=+((l>>16)+(p<<16>>16)|0)*.5;n=UGa(p|0,n|0,16)|0;o=+((n&65535)<<16>>16)-+zk(a,r);if(o<0.0){w=+g[a+20>>2];q=w;o=-o/w}else{w=+g[a+20>>2];q=w;o=o/w}if(o>16)/q>e:0){m=u+(f<<2)|0;if(!(+(c[m>>2]|0)>=r))k=n&65535;else{c[m>>2]=p<<16>>16;k=p>>>16&65535}p=f*3|0;h[t+(p<<3)>>3]=0.0;h[t+(p+1<<3)>>3]=0.0;h[t+(p+2<<3)>>3]=+(k<<16>>16);f=f+1|0;c[u+(f<<2)>>2]=(l>>16)+1}else{m=c[u+(f<<2)>>2]|0;if(+(m|0)<=r){p=c[a+44>>2]|0;a:while(1){while(1){l=j+1|0;k=c[p+(l<<2)>>2]|0;if(!(+(k|0)<=r))break a;if((j|0)>=((c[a+40>>2]|0)+-1|0))break a;if((k|0)>(m|0))break;else j=l}n=c[a+48>>2]|0;m=f*3|0;h[t+(m<<3)>>3]=+h[n+(j<<4)>>3];h[t+(m+1<<3)>>3]=+g[n+(j<<4)+8>>2];h[t+(m+2<<3)>>3]=+g[n+(j<<4)+12>>2];j=f+1|0;c[u+(j<<2)>>2]=k;m=k;f=j;j=l}n=c[a+48>>2]|0;p=f*3|0;h[t+(p<<3)>>3]=+h[n+(j<<4)>>3];h[t+(p+1<<3)>>3]=+g[n+(j<<4)+8>>2];h[t+(p+2<<3)>>3]=+g[n+(j<<4)+12>>2];f=f+1|0;c[u+(f<<2)>>2]=k}}OL(v+28|0)|0}VL(v+56|0)}p=c[a+40>>2]|0;m=u+(f<<2)|0;while(1){if((j|0)>=(p|0))break;k=j+1|0;n=c[a+44>>2]|0;if((c[n+(k<<2)>>2]|0)>(c[m>>2]|0)){s=30;break}else j=k}if((s|0)==30){l=c[a+48>>2]|0;m=j+1|0;m=f+((p|0)>(m|0)?p:m)|0;k=j;do{s=f*3|0;h[t+(s<<3)>>3]=+h[l+(k<<4)>>3];h[t+(s+1<<3)>>3]=+g[l+(k<<4)+8>>2];h[t+(s+2<<3)>>3]=+g[l+(k<<4)+12>>2];f=f+1|0;k=k+1|0;c[u+(f<<2)>>2]=c[n+(k<<2)>>2]}while((k|0)<(p|0));f=m-j|0}$ha(v+16|0,f,u,t);bia(a+40|0,v+16|0);cia(v+16|0);jM(u);jM(t)}i=v;return}function G8(a,b){a=a|0;b=b|0;var d=0.0,e=0,f=0,h=0,j=0,l=0.0,m=0.0,n=0,o=0,p=0;o=i;i=i+176|0;I8(o+112|0);pk(o+64|0,b);rk(o+64|0);while(1){if(sk(o+64|0)|0)break;j=tk(o+64|0)|0;b=c[j+4>>2]|0;if(!((b|0)!=0?!(Zj(c[b+12>>2]|0)|0):0))n=5;do if((n|0)==5){n=0;m=+g[j+68>>2];m=+uk(m,+g[j+72>>2]);b=c[o+112>>2]|0;if((b|0)>0){h=c[o+120>>2]|0;d=3402823466385288598117041.0e14;f=0;e=0;do{l=+Q(+(m-+g[(c[(J8(b,h,e)|0)>>2]|0)+16>>2]));if(l>3.141592653589793)l=+Q(+(l+-6.283185307179586));if(l.01){h=WEa(44)|0;K8(h,j);L8(o+112|0,h);break}h=c[o+120>>2]|0;M8((c[(J8(b,h,f)|0)>>2]|0)+24|0,j);bja(c[(J8(b,h,f)|0)>>2]|0,j+16|0);d=+(c[j+40>>2]|0);if(d<+g[(c[(J8(b,h,f)|0)>>2]|0)+20>>2])g[(c[(J8(b,h,f)|0)>>2]|0)+20>>2]=d}while(0);OL(o+64|0)|0}N8(o+92|0);e=c[o+112>>2]|0;if((e|0)>0){b=c[o+120>>2]|0;j=0;do{f=c[(J8(e,b,j)|0)>>2]|0;O8(o+136|0,~~+g[f+20>>2],f,f+4|0);if((c[f+24>>2]|0)>0){h=0;do{pk(o+36|0,(c[(P8(f+24|0,h)|0)>>2]|0)+52|0);rk(o+36|0);while(1){if(sk(o+36|0)|0)break;Lk(o+8|0,(tk(o+36|0)|0)+36|0);Mk(o+8|0);while(1){if((Nk(o+8|0)|0)<<24>>24)break;p=Ok(o+8|0)|0;n=WEa(12)|0;Q8(n,p);R8(o+136|0,n);S8(o+92|0,n);VL(o+8|0)}OL(o+36|0)|0}h=h+1|0}while((h|0)<(c[f+24>>2]|0))}n=c[f+12>>2]|0;c[o>>2]=c[f+8>>2];c[o+4>>2]=n;g[o+4>>2]=-(c[k>>2]=n,+g[k>>2]);H8(a,o,o+136|0);T8(o+136|0);j=j+1|0}while((j|0)<(e|0))}U8(o+92|0);V8(o+112|0);i=o;return}function H8(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+208|0;W8(s+96|0,f);pk(s+64|0,a);rk(s+64|0);while(1){if(sk(s+64|0)|0)break;r=tk(s+64|0)|0;o=e[r+12>>1]|e[r+14>>1]<<16;c[s>>2]=e[r+8>>1]|e[r+10>>1]<<16;c[s+4>>2]=o;wD(s,d);X8(s+96|0,s);o=0;h=0;p=0;q=0;n=Y8(s+96|0)|0;while(1){if(!n)break;f=c[n>>2]|0;do if(!(b[f+10>>1]&512)){Ala(s+200|0,f);j=c[s>>2]|0;g=b[s+200>>1]|0;k=c[s+4>>2]|0;f=b[s+204>>1]|0;g=(((j&65535)<<16>>16>16?g:j&65535)<<16>>16)-(((k&65535)<<16>>16>f<<16>>16?f:k&65535)<<16>>16)|0;l=b[s+202>>1]|0;m=b[s+206>>1]|0;a=(((j>>>16&65535)<<16>>16>16?l:j>>>16&65535)<<16>>16)-(((k>>>16&65535)<<16>>16>m<<16>>16?m:k>>>16&65535)<<16>>16)|0;if((g|0)>0){if((EA(s+200|0,s)|0)&(j&65535)<<16>>16>f<<16>>16)g=(g|0)/2|0;g=g+a|0}else g=a;if((((m<<16>>16)+(l<<16>>16)|0)/2|0|0)>(((k>>16)+(j>>16)|0)/2|0|0)){f=(h|0)==0|(g|0)<(o|0);a=f?g:o;h=f?n:h;g=p;f=q;break}else{f=(q|0)==0|(g|0)<(p|0);a=o;g=f?g:p;f=f?n:q;break}}else{a=o;g=p;f=q}while(0);o=a;p=g;q=f;n=Y8(s+96|0)|0}f=(h|0)==0;if(!f)if(!q)g=22;else{a=(o|0)<(((ll(s)|0)<<16>>16)+p|0);g=17}else{a=0;g=17}if((g|0)==17){g=0;do if(!((q|0)==0|(q|0)==(h|0))){if(!f?(p|0)>=(((ll(s)|0)<<16>>16)+o|0):0)break;p=yx(c[r+4>>2]|0)|0;kla(p,d);pk(s+36|0,(c[q>>2]|0)+24|0);qv(s+36|0,p)}while(0);if(a)g=22}if((g|0)==22){r=yx(c[r+4>>2]|0)|0;kla(r,d);pk(s+8|0,(c[h>>2]|0)+24|0);qv(s+8|0,r)}OL(s+64|0)|0}Z8(s+180|0);i=s;return}function I8(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;a9(a,4);return}function J8(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)>-1&(a|0)>(c|0))return b+(c<<2)|0;else Ja(1701640,1701680,663,1701712);return 0}function K8(a,d){a=a|0;d=d|0;var f=0.0,h=0,i=0;i=e[d+16>>1]|e[d+18>>1]<<16;h=e[d+20>>1]|e[d+22>>1]<<16;b[a>>1]=i;b[a+2>>1]=i>>>16;b[a+4>>1]=h;b[a+6>>1]=h>>>16;h=c[d+72>>2]|0;c[a+8>>2]=c[d+68>>2];c[a+12>>2]=h;f=+g[d+68>>2];g[a+16>>2]=+uk(f,+g[d+72>>2]);g[a+20>>2]=+(c[d+40>>2]|0);b9(a+24|0);M8(a+24|0,d);return}function L8(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){d9(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function M8(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){e9(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function N8(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;f9(a,4);return}function O8(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;hV(a);c[a>>2]=352192;c[a+28>>2]=0;g9(a,b,d,e);return}function P8(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function Q8(a,b){a=a|0;b=b|0;c[a>>2]=b;yla(a+4|0,b);b=(ll(a+4|0)|0)<<16>>16;VV(a+4|0,b,b);return}function R8(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;k=e[b+4>>1]|e[b+6>>1]<<16;h=e[b+8>>1]|e[b+10>>1]<<16;l=UGa(k|0,h|0,48)|0;d=F;lV(a,k<<16>>16,k>>16,m+12|0,m+8|0);h=_Ga(h|0,0,16)|0;d=_Ga(l|0,d|0,16)|0;lV(a,h>>16,d>>16,m+4|0,m);d=c[m+8>>2]|0;h=c[m>>2]|0;if((d|0)<=(h|0)){g=c[a+8>>2]|0;l=ba(g,d)|0;j=c[m+4>>2]|0;k=c[m+12>>2]|0;while(1){if((k|0)>(j|0))f=g;else{f=k;while(1){FL((c[a+28>>2]|0)+(f+l<<2)|0,49,b);if((f|0)<(j|0))f=f+1|0;else break}f=c[a+8>>2]|0}if((d|0)<(h|0)){g=f;l=f+l|0;d=d+1|0}else break}}i=m;return}function S8(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){i9(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function T8(a){a=a|0;var b=0;c[a>>2]=352192;b=c[a+28>>2]|0;if(b){a=c[b+-4>>2]|0;if(a){a=b+(a<<2)|0;do{a=a+-4|0;BL(a)}while((a|0)!=(b|0))}ZEa(b+-4|0)}return}function U8(a){a=a|0;j9(a);k9(a);return}function V8(a){a=a|0;l9(a);m9(a);return}function W8(d,e){d=d|0;e=e|0;c[d>>2]=e;b[d+28>>1]=32767;b[d+30>>1]=32767;b[d+32>>1]=-32767;b[d+34>>1]=-32767;a[d+44>>0]=0;c[d+48>>2]=0;c[d+52>>2]=0;c[d+56>>2]=0;c[d+84>>2]=0;c[d+88>>2]=0;c[d+92>>2]=0;c[d+96>>2]=0;g[d+100>>2]=1.0;n9(d+84|0,193);return}function X8(a,d){a=a|0;d=d|0;var f=0,g=0;g=e[d>>1]|e[d+2>>1]<<16;f=e[d+4>>1]|e[d+6>>1]<<16;b[a+28>>1]=g;b[a+30>>1]=g>>>16;b[a+32>>1]=f;b[a+34>>1]=f>>>16;o9(a,b[d>>1]|0,b[d+6>>1]|0);lV(c[a>>2]|0,b[d+4>>1]|0,b[d+2>>1]|0,a+12|0,a+8|0);return}function Y8(b){b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;while(1)if(!((hA(b+56|0)|0)<<24>>24)){q9(b);d=c[b+48>>2]|0;if(!(DD(b+28|0,d+4|0)|0))continue;if(!(a[b+44>>0]|0)){e=12;break}r9(f,b+84|0,d);if(!(c[f>>2]|0)){e=10;break}else continue}else{e=c[b+36>>2]|0;c[b+36>>2]=e+1;if((e|0)>=(c[b+12>>2]|0)?(e=c[b+40>>2]|0,c[b+40>>2]=e+-1,c[b+36>>2]=c[b+4>>2],(e|0)<=(c[b+8>>2]|0)):0){e=5;break}p9(b);continue}if((e|0)==5){c[b+48>>2]=0;c[b+52>>2]=0;d=0}else if((e|0)==10)if(!(a[b+44>>0]|0))e=12;else{s9(f+8|0,b+84|0,b+48|0);e=12}if((e|0)==12)d=c[b+48>>2]|0;i=f;return d|0}function Z8(a){a=a|0;var b=0;t9(c[a+8>>2]|0);b=c[a>>2]|0;c[a>>2]=0;if(b)YEa(b);return}function _8(a){a=a|0;T8(a);YEa(a);return}function $8(a,b,d){a=a|0;b=b|0;d=d|0;a=i;i=i+16|0;c[a>>2]=b;c[a+4>>2]=d;jN(352312,a);i=a;return}function a9(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function b9(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;u9(a,4);return}function c9(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function d9(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)a9(a,4);else a9(a,b<<1);return}function e9(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)u9(a,4);else u9(a,b<<1);return}function f9(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function g9(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;iV(a,b,d,e);b=c[a+28>>2]|0;if(b){d=c[b+-4>>2]|0;if(d){d=b+(d<<2)|0;do{d=d+-4|0;BL(d)}while((d|0)!=(b|0))}ZEa(b+-4|0)}b=c[a+16>>2]|0;d=XEa(b>>>0>1073741823|b<<2>>>0>4294967291?-1:(b<<2)+4|0)|0;c[d>>2]=b;if(b)YGa(d+4|0,0,b<<2|0)|0;c[a+28>>2]=d+4;return}function h9(a,d){a=a|0;d=d|0;var e=0,f=0;f=c[a>>2]|0;e=c[d>>2]|0;d=b[f+4>>1]|0;a=b[e+4>>1]|0;do if(d<<16>>16==a<<16>>16){d=b[f+8>>1]|0;a=b[e+8>>1]|0;if(d<<16>>16!=a<<16>>16){a=(d<<16>>16)-(a<<16>>16)|0;break}d=b[f+6>>1]|0;a=b[e+6>>1]|0;if(d<<16>>16==a<<16>>16){a=(b[f+10>>1]|0)-(b[e+10>>1]|0)|0;break}else{a=(d<<16>>16)-(a<<16>>16)|0;break}}else a=(d<<16>>16)-(a<<16>>16)|0;while(0);return a|0}function i9(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)f9(a,4);else f9(a,b<<1);return}function j9(a){a=a|0;v9(a);k9(a);return}function k9(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function l9(a){a=a|0;w9(a);m9(a);return}function m9(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function n9(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if((b|0)!=1){if(b+-1&b)b=Gua(b)|0}else b=2;f=c[a+4>>2]|0;if(b>>>0<=f>>>0){if(b>>>0>>0){if(f>>>0>2)e=(f+-1&f|0)==0;else e=0;d=~~+aa(+(+((c[a+12>>2]|0)>>>0)/+g[a+16>>2]))>>>0;if(e)d=1<<32-(da(d+-1|0)|0);else d=Gua(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)x9(a,b)}}else x9(a,b);return}function o9(a,b,d){a=a|0;b=b|0;d=d|0;lV(c[a>>2]|0,b,d,a+4|0,a+8|0);c[a+36>>2]=c[a+4>>2];c[a+40>>2]=c[a+8>>2];p9(a);c[a+48>>2]=0;if(!((aB(a+56|0)|0)<<24>>24))b=iA(a+56|0)|0;else b=0;c[a+52>>2]=b;y9(a+84|0);return}function p9(b){b=b|0;var d=0,e=0,f=0;d=i;i=i+32|0;f=c[b>>2]|0;e=ba(c[f+8>>2]|0,c[b+40>>2]|0)|0;fA(d,(c[f+28>>2]|0)+(e+(c[b+36>>2]|0)<<2)|0);c[b+56>>2]=c[d+0>>2];c[b+60>>2]=c[d+4>>2];c[b+64>>2]=c[d+8>>2];c[b+68>>2]=c[d+12>>2];c[b+72>>2]=c[d+16>>2];c[b+76>>2]=c[d+20>>2];a[b+80>>0]=a[d+24>>0]|0;gA(b+56|0);i=d;return}function q9(a){a=a|0;var b=0;c[a+48>>2]=iA(a+56|0)|0;DL(a+56|0)|0;if(!((hA(a+56|0)|0)<<24>>24))b=iA(a+56|0)|0;else b=0;c[a+52>>2]=b;return}function r9(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=c[b+4>>2]|0;a:do if(g){if(!(g+-1&g))f=g+-1&((d>>>0)/12|0);else f=(((d>>>0)/12|0)>>>0)%(g>>>0)|0;b=c[(c[b>>2]|0)+(f<<2)>>2]|0;if(b){do{b=c[b>>2]|0;if(!b){h=13;break a}e=c[b+4>>2]|0;if(!(g+-1&g))e=e&g+-1;else e=(e>>>0)%(g>>>0)|0;if((e|0)!=(f|0)){h=13;break a}}while((c[b+8>>2]|0)!=(d|0));c[a>>2]=b}else h=13}else h=13;while(0);if((h|0)==13)c[a>>2]=0;return}function s9(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,j=0,k=0.0,l=0.0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;o=c[e>>2]|0;n=c[d+4>>2]|0;a:do if(n){if(!(n+-1&n))h=n+-1&((o>>>0)/12|0);else h=(((o>>>0)/12|0)>>>0)%(n>>>0)|0;f=c[(c[d>>2]|0)+(h<<2)>>2]|0;if(!f)m=12;else while(1){f=c[f>>2]|0;if(!f){m=12;break a}j=c[f+4>>2]|0;if(!(n+-1&n))j=j&n+-1;else j=(j>>>0)%(n>>>0)|0;if((j|0)!=(h|0)){m=12;break a}if((c[f+8>>2]|0)==(o|0)){h=0;break}}}else{h=0;m=12}while(0);if((m|0)==12){z9(p,d,e,(o>>>0)/12|0);m=c[p>>2]|0;c[p>>2]=0;k=+(((c[d+12>>2]|0)+1|0)>>>0);l=+g[d+16>>2];do if(k>+(n>>>0)*l|(n|0)==0){if(n>>>0>2)h=(n+-1&n|0)==0;else h=0;f=(h&1|n<<1)^1;n=~~+aa(+(k/l))>>>0;n9(d,f>>>0>>0?n:f);f=c[d+4>>2]|0;if(!(f+-1&f)){j=f;h=f+-1&((o>>>0)/12|0);break}else{j=f;h=(((o>>>0)/12|0)>>>0)%(f>>>0)|0;break}}else j=n;while(0);f=c[(c[d>>2]|0)+(h<<2)>>2]|0;if(!f){c[m>>2]=c[d+8>>2];c[d+8>>2]=m;c[(c[d>>2]|0)+(h<<2)>>2]=d+8;f=c[m>>2]|0;if(f){f=c[f+4>>2]|0;h=j+-1|0;if(!(h&j))f=f&h;else f=(f>>>0)%(j>>>0)|0;c[(c[d>>2]|0)+(f<<2)>>2]=m}}else{c[m>>2]=c[f>>2];c[f>>2]=m}c[d+12>>2]=(c[d+12>>2]|0)+1;h=1;f=m}c[b>>2]=f;a[b+4>>0]=h;i=p;return}function t9(a){a=a|0;var b=0;if(a)do{b=a;a=c[a>>2]|0;YEa(b)}while((a|0)!=0);return}function u9(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return} -function b2(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var j=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0.0;Q=i;i=i+240|0;c[Q+88>>2]=0;c[Q+116>>2]=0;c[Q+144>>2]=0;pk(Q+172|0,g);c[Q+200>>2]=0;fA(Q+204|0,Q+200|0);N=e<<16>>16<3?3:e;M=((N<<16>>16)+-3|0)<4?(((N<<16>>16)+-3|0)/2|0)&65535:2;c[Q+88>>2]=c[b+0>>2];c[Q+92>>2]=c[b+4>>2];c[Q+96>>2]=c[b+8>>2];c[Q+100>>2]=c[b+12>>2];c[Q+104>>2]=c[b+16>>2];c[Q+108>>2]=c[b+20>>2];a[Q+112>>0]=a[b+24>>0]|0;Zaa(Q+80|0,Q+88|0);g=c[Q+84>>2]&65535;n=(c[Q+80>>2]&65535)+(M<<16>>16)|0;if(d<<16>>16>1){g=1;do{Zaa(Q+48|0,Q+88|0);g=g+1<<16>>16}while(g<<16>>16>16);g=c[Q+52>>2]&65535}o=1-(N<<16>>16)+(M<<16>>16<<1)+(n<<16>>16)|0;L=g<<16>>16;e=WEa(4)|0;c[e>>2]=0;pk(Q+144|0,e);if((o<<16>>16|0)<=(n<<16>>16|0)){l=o<<16>>16;m=o&65535;do{K=WEa(48)|0;c[K>>2]=0;c[K+12>>2]=l;c[K+16>>2]=0;a[K+4>>0]=0;a[K+5>>0]=0;a[K+6>>0]=0;a[K+7>>0]=0;a[K+8>>0]=0;a[K+9>>0]=0;c[K+24>>2]=0;c[K+28>>2]=0;c[K+32>>2]=0;c[K+36>>2]=0;c[K+40>>2]=0;c[K+44>>2]=0;Ck(Q+144|0,K);m=m+1<<16>>16;l=m<<16>>16}while((l|0)<=(n<<16>>16|0))}JL(Q+204|0,e);c[Q+88>>2]=c[b+0>>2];c[Q+92>>2]=c[b+4>>2];c[Q+96>>2]=c[b+8>>2];c[Q+100>>2]=c[b+12>>2];c[Q+104>>2]=c[b+16>>2];c[Q+108>>2]=c[b+20>>2];a[Q+112>>0]=a[b+24>>0]|0;Zaa(Q,Q+88|0);q=c[Q>>2]|0;p=c[Q+4>>2]|0;m=UGa(q|0,p|0,16)|0;b=UGa(q|0,p|0,48)|0;b=b&65535;m=m&65535;q=q&65535;p=p&65535;j=3402823466385288598117041.0e14;e=0;u=0;l=0;K=1;while(1){I=WEa(4)|0;c[I>>2]=0;pk(Q+144|0,I);o=(o<<16>>16)+((N<<16>>16)-(M<<16>>16))|0;v=o&65535;n=(M<<16>>16)+(N<<16>>16)+(n<<16>>16)|0;J=o<<16>>16;if((p<<16>>16|0)<(J|0)?l<<16>>16>16:0){do{Zaa(Q+8|0,Q+88|0);l=l+1<<16>>16;m=c[Q+8>>2]|0;b=c[Q+12>>2]|0}while(((b&65535)<<16>>16|0)<(J|0)?l<<16>>16>16:0);E=UGa(m|0,b|0,16)|0;H=UGa(m|0,b|0,48)|0;H=H&65535;G=b&65535;E=E&65535;q=m&65535}else{H=b;G=p;E=m};c[Q+116>>2]=c[Q+88>>2];c[Q+120>>2]=c[Q+92>>2];c[Q+124>>2]=c[Q+96>>2];c[Q+128>>2]=c[Q+100>>2];c[Q+132>>2]=c[Q+104>>2];c[Q+136>>2]=c[Q+108>>2];a[Q+140>>0]=a[Q+112>>0]|0;A=_Ga(H&65535|0,0,48)|0;C=G&65535|F;D=_Ga(E&65535|0,0,16)|0;C=C|F;D=A|D|q&65535;Zaa(Q+72|0,Q+116|0);A=n<<16>>16;a:do if((J|0)>(A|0)){t=u;p=-1;b=-1}else{B=J;s=G;r=c[Q+72>>2]&65535;x=c[Q+76>>2]&65535;t=q;y=j;z=e;p=-1;m=l;b=-1;while(1){if((B|0)>(((N<<16>>16)-(M<<16>>16)+L<<16)+-65536>>16|0)){j=y;e=z;t=u;break a}w=v<<16>>16>16;if(w&m<<16>>16>16&v<<16>>16>s<<16>>16){s=x;t=r;while(1){Zaa(Q+64|0,Q+116|0);m=m+1<<16>>16;r=c[Q+64>>2]&65535;e=c[Q+68>>2]&65535;if(m<<16>>16>16?v<<16>>16>s<<16>>16:0){s=e;t=r}else{x=e;break}}}e=t<<16>>16;do if(((B|0)>(e+(M<<16>>16)|0)?(O=s<<16>>16,(B|0)<(O-(M<<16>>16)|0)&w):0)?(v<<16>>16>16?1:(m<<16>>16|0)>=((d<<16>>16)+-1|0)):0){j=+(N<<16>>16)*+h[42069];if(+(B-e|0)>j?+(O-B|0)>j:0){P=21;break}w=(mx(f,B)|0)&65535;e=WEa(48)|0;a2(e,v,1,w,K,N,M,iA(Q+204|0)|0)}else P=21;while(0);if((P|0)==21){P=0;w=B-e|0;if((w|0)<1|(w|0)>(M<<16>>16|0)){w=(s<<16>>16)-B|0;if(!((w|0)<1|(w|0)>(M<<16>>16|0))?(v<<16>>16>16?1:(m<<16>>16|0)>=((d<<16>>16)+-1|0)):0)e=(s&65535)-B&65535;else e=0}else e=B-(t&65535)&65535;w=WEa(48)|0;a2(w,v,0,e,K,N,M,iA(Q+204|0)|0);e=w}if(c[e+16>>2]|0){Ck(Q+144|0,e);if((B|0)>=(L-(M<<16>>16)|0)){a[e+5>>0]=1;j=+h[e+40>>3];if(!(j>16|0)==(B+-1|0)?v:b}else{j=y;e=z}else{u=K;p=v;b=v}}else{j=y;e=z}}else{YEa(e);j=y;e=z}v=v+1<<16>>16;B=v<<16>>16;if((B|0)>(A|0)){t=u;break}else{y=j;z=e}}}while(0);if(c[I>>2]|0){m=b<<16>>16;b=(p<<16>>16)+1|0;if((m|0)>(b|0)){rk(Q+144|0);while(1){if(sk(Q+144|0)|0)break;if((c[(tk(Q+144|0)|0)+12>>2]|0)==(((b+m|0)/2|0)<<16>>16|0))break;OL(Q+144|0)|0}if((c[(tk(Q+144|0)|0)+12>>2]|0)==(((b+m|0)/2|0)<<16>>16|0))e=tk(Q+144|0)|0}}else{if(e)break;e=iA(Q+204|0)|0;c[Q+56>>2]=D;c[Q+60>>2]=C;c[Q+16>>2]=c[Q+88>>2];c[Q+20>>2]=c[Q+92>>2];c[Q+24>>2]=c[Q+96>>2];c[Q+28>>2]=c[Q+100>>2];c[Q+32>>2]=c[Q+104>>2];c[Q+36>>2]=c[Q+108>>2];c[Q+40>>2]=c[Q+112>>2];c2(e,Q+56|0,Q+16|0,K,N,M,I);e=0}JL(Q+204|0,I);if((J|0)>=(L|0)){P=46;break}else{b=H;m=E;p=G;u=t;K=K+1<<16>>16}}if((P|0)==46)if(!e){c[Q+16>>2]=336848;c[Q+20>>2]=320;$L(336328,336824,2,1702e3,Q+16|0);e=0}gA(Q+204|0);while(1){if((hA(Q+204|0)|0)<<24>>24)break;pk(Q+144|0,iA(Q+204|0)|0);rk(Q+144|0);while(1){if(sk(Q+144|0)|0)break;if((tk(Q+144|0)|0)==(e|0))break;OL(Q+144|0)|0}if((tk(Q+144|0)|0)==(e|0)){e=pv(Q+144|0)|0;BB(Q+172|0,e);e=c[e+16>>2]|0}DL(Q+204|0)|0}if(e){c[Q+16>>2]=336848;c[Q+20>>2]=346;$L(336328,336872,2,1702e3,Q+16|0)}if(vk(Q+172|0)|0){c[Q+16>>2]=336848;c[Q+20>>2]=347;$L(336328,336896,2,1702e3,Q+16|0)}SL(Q+172|0);j=+h[(tk(Q+172|0)|0)+24>>3];j=j*j/+(t<<16>>16);if(+h[(tk(Q+172|0)|0)+32>>3]-j<0.0){R=+h[(tk(Q+172|0)|0)+32>>3];y=+h[(tk(Q+172|0)|0)+24>>3];h[k>>3]=R;c[Q+16>>2]=c[k>>2];c[Q+20>>2]=c[k+4>>2];h[k>>3]=y;c[Q+24>>2]=c[k>>2];c[Q+28>>2]=c[k+4>>2];c[Q+32>>2]=t<<16>>16;jN(336920,Q+16|0)}AL(Q+200|0);R=+h[(tk(Q+172|0)|0)+32>>3];BL(Q+200|0);i=Q;return +(R-j)}function c2(d,e,f,g,j,k,l){d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;l=l|0;var m=0,o=0.0,p=0.0,q=0,r=0.0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+80|0;pk(w+44|0,l);pk(w+16|0,d);rk(w+16|0);if(sk(w+16|0)|0){m=0;l=0}else{r=3402823466385288598117041.0e14;m=0;l=0;while(1){q=tk(w+16|0)|0;o=+h[q+40>>3];p=r;if(!(o>2]&65535}else o=r;else{l=c[q+12>>2]&65535;m=l}OL(w+16|0)|0;if(sk(w+16|0)|0)break;else r=o}}l=(j<<16>>16)-(k<<16>>16)+(l&65535)|0;t=(k<<16>>16)+(j<<16>>16)+(m&65535)<<16>>16;if((l<<16>>16|0)<=(t|0)){u=c[n>>2]|0;v=l<<16>>16;s=l&65535;do{m=b[e+4>>1]|0;if(s<<16>>16>m<<16>>16){do{Zaa(w,f);q=c[w>>2]|0;m=c[w+4>>2]|0;b[e>>1]=q;b[e+2>>1]=q>>>16;b[e+4>>1]=m;b[e+6>>1]=m>>>16}while(s<<16>>16>(m&65535)<<16>>16);m=m&65535;l=q&65535}else l=b[e>>1]|0;l=v-(l&65535)|0;m=(m<<16>>16)-v|0;m=(m|0)<(l<<16>>16|0)?m:l;l=WEa(48)|0;a2(l,s,0,m&65535,g,j,k,d);if(!(c[l+16>>2]|0))YEa(l);else{if(m&32768){c[w+8>>2]=336848;c[w+12>>2]=412;$L(336328,336960,2,1702e3,w+8|0)}c[w+8>>2]=v;zb(u|0,336976,w+8|0)|0;Ck(w+44|0,l);a[l+4>>0]=1;b[l+6>>1]=(b[l+6>>1]|0)+1<<16>>16}s=s+1<<16>>16;v=s<<16>>16}while((v|0)<=(t|0))}i=w;return}function d2(){c[84082]=1701984;c[84084]=389976;c[84086]=390024;c[84088]=390056;c[84090]=390112;c[84092]=390152;c[84094]=390184;c[84096]=390240;c[84098]=390280;c[84100]=390328;c[84102]=390376;c[84104]=390400;c[84106]=390432;c[84108]=390504;c[84110]=390552;c[84112]=390592;c[84114]=390640;rJ(336464,6,336488,336512,0,kM()|0);tJ(336536,.75,336576,336600,kM()|0);tJ(336640,.25,336680,336712,kM()|0);rJ(336744,1,336768,336792,0,kM()|0);return}function e2(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+80|0;zha(s+8|0,d);c[s+4>>2]=d;g=Cp(b)|0;o=up(b)|0;p=bp(b)|0;r=XEa((g+1|0)>>>0>1073741823?-1:g+1<<2)|0;c[s>>2]=0;q=e[d+12>>1]|e[d+14>>1]<<16;m=e[d+16>>1]|e[d+18>>1]<<16;n=(m<<16>>16)-(q<<16>>16)|0;if((n|0)>-1){h=n;while(1){c[r+(h<<2)>>2]=0;if((h|0)>0)h=h+-1|0;else break}}l=XEa((g|0)>-1?g:-1)|0;if((m>>16|0)>((q>>16)+-1|0)){k=m>>16;do{h=k;k=k+-1|0;if((h|0)<=(q>>16|0)|(h|0)>(m>>16|0)){YGa(l|0,1,n|0)|0;h=k&65535}else{j=vp(b)|0;h=ba(o+-1+(1-h)|0,p)|0;if((n|0)>0){g=0;do{a[l+g>>0]=(c[j+((g+(q<<16>>16)>>5)+h<<2)>>2]|0)>>>(g+q&31^31)&1^1;g=g+1|0}while((g|0)!=(n|0))}h=k&65535;f2(c[d>>2]|0,s+4|0,l,q&65535,m&65535,h)}g2(q&65535,h,n&65535,l,r,s,f)}while((k|0)>((q>>16)+-1|0));g=c[s>>2]|0}else g=0;h2(g);ZEa(r);ZEa(l);i=s;return}function f2(d,e,f,g,h,j){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0;o=i;i=i+32|0;c[o>>2]=0;if(!d){d=Aha(e,j,o+28|0)|0;if(d<<16>>16>g<<16>>16)YGa(f|0,1,(d<<16>>16)-(g<<16>>16)|0)|0;e=b[o+28>>1]|0;if((e+(d<<16>>16)|0)<(h<<16>>16|0))YGa(f+(e+(d<<16>>16)-(g<<16>>16))|0,1,(h<<16>>16)-(d<<16>>16)-e|0)|0}else{n=WEa(4)|0;c[n>>2]=d;m=Wha(n,j)|0;if(!(c[m>>2]|0)){if(g<<16>>16>16)YGa(f|0,1,(h<<16>>16)-(g<<16>>16)|0)|0}else{pk(o,m);rk(o);j=b[(tk(o)|0)+4>>1]|0;e=b[(tk(o)|0)+6>>1]|0;b[o+28>>1]=e;if(g<<16>>16>16){d=j<<16>>16;j=g<<16>>16;while(1){if((j|0)>=(d|0)?!(sk(o)|0):0){OL(o)|0;l=b[(tk(o)|0)+4>>1]|0;k=b[(tk(o)|0)+6>>1]|0;b[o+28>>1]=k;j=d+-1+(e<<16>>16)|0}else{a[f+(j-(g<<16>>16))>>0]=1;k=e;l=d}j=j+1|0;if((j|0)>=(h<<16>>16|0))break;else{e=k;d=l}}}}if(m){KL(m,228);YEa(m)}YEa(n)}i=o;return}function g2(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=i;i=i+16|0;c[s>>2]=h;c[s+4>>2]=b<<16>>16;c[s+8>>2]=d<<16>>16;do if(e<<16>>16>0){q=(((e<<16>>16)+(b<<16>>16)|0)>((b<<16>>16)+1|0)?(e<<16>>16)+(b<<16>>16)|0:(b<<16>>16)+1|0)-(b<<16>>16)|0;o=g;m=1;p=b<<16>>16;k=0;d=1;while(1){n=a[f>>0]|0;f=f+1|0;l=c[o>>2]|0;do if(!l){if((n&255|0)!=(d|0)){k=k2((n&255)-d|0,k,s)|0;c[o>>2]=k;d=n&255}if(m<<24>>24==n<<24>>24){l=m;k=0}else{l=m;k=j2((m&255)-(n&255)|0,k,s)|0}}else{m=1-(m&255)|0;if((n&255|0)==(d|0)){if((m&255|0)==(n&255|0)){i2(k,l,h,j);k=0}else k=j2((m&255)-d|0,l,s)|0;c[o>>2]=0;l=m&255;break}if((m&255|0)==(n&255|0)){c[o>>2]=k2((n&255)-d|0,l,s)|0;l=m&255;d=n&255;break}if(n<<24>>24==1){i2(k,l,h,j);k=j2((m&255)-(n&255)|0,0,s)|0;c[o>>2]=k2((n&255)-d|0,k,s)|0;l=m&255;d=n&255;break}else{t=j2((m&255)-(n&255)|0,l,s)|0;c[o>>2]=k2((n&255)-d|0,k,s)|0;l=m&255;k=t;d=n&255;break}}while(0);p=p+1|0;c[s+4>>2]=p;if((p|0)>=((e<<16>>16)+(b<<16>>16)|0))break;else{o=o+4|0;m=l}}f=c[g+(q<<2)>>2]|0;if(!k)if(f){g=g+(q<<2)|0;r=25;break}else break;if(f){i2(k,f,h,j);c[g+(q<<2)>>2]=0;break}else{c[g+(q<<2)>>2]=k2(ba(d,-2)|0|1,k,s)|0;break}}else{f=c[g>>2]|0;if(f){d=1;r=25}}while(0);if((r|0)==25)c[g>>2]=k2(ba(d,-2)|0|1,f,s)|0;i=s;return}function h2(a){a=a|0;var b=0;if(a)do{b=a;a=c[a+12>>2]|0;YEa(b)}while((a|0)!=0);return}function i2(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;if(((a[d+4>>0]|0)+(b[d>>1]|0)|0)==(b[e>>1]|0)?((a[d+5>>0]|0)+(b[d+2>>1]|0)|0)==(b[e+2>>1]|0):0){i=d;d=e}else i=e;e=i+12|0;h=c[e>>2]|0;if((h|0)==(d|0)){B$(i,g);c[(c[i+8>>2]|0)+12>>2]=c[f>>2];c[f>>2]=i}else{g=d+8|0;f=c[g>>2]|0;c[f+12>>2]=h;c[(c[e>>2]|0)+8>>2]=f;c[e>>2]=d;c[g>>2]=i}return}function j2(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=c[f>>2]|0;h=c[g>>2]|0;if(!h){h=WEa(16)|0;b[h+2>>1]=0;b[h>>1]=0}else c[g>>2]=c[h+12>>2];i=(c[f+8>>2]|0)+1&65535;b[h+2>>1]=i;a[h+5>>0]=0;g=(c[f+4>>2]|0)+((d|0)>0&1)|0;f=(d|0)>0?-1:1;b[h>>1]=g;a[h+4>>0]=f;a[h+6>>0]=(d|0)>0?0:2;do if(!e){c[h+12>>2]=h;c[h+8>>2]=h}else{if(((f<<24>>24)+(g<<16>>16)|0)==(b[e>>1]|0)?i<<16>>16==(b[e+2>>1]|0):0){d=c[e+8>>2]|0;c[h+8>>2]=d;c[d+12>>2]=h;c[h+12>>2]=e;c[e+8>>2]=h;break}d=c[e+12>>2]|0;c[h+12>>2]=d;c[d+8>>2]=h;c[h+8>>2]=e;c[e+12>>2]=h}while(0);return h|0}function k2(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=c[f>>2]|0;h=c[g>>2]|0;if(!h){h=WEa(16)|0;b[h+2>>1]=0;b[h>>1]=0}else c[g>>2]=c[h+12>>2];i=c[f+4>>2]&65535;b[h>>1]=i;a[h+4>>0]=0;g=(c[f+8>>2]|0)+((d|0)>0^1)|0;f=(d|0)>0?1:-1;b[h+2>>1]=g;a[h+5>>0]=f;a[h+6>>0]=(d|0)>0?3:1;do if(!e){c[h+12>>2]=h;c[h+8>>2]=h}else{if(i<<16>>16==(b[e>>1]|0)?((f<<24>>24)+(g<<16>>16)|0)==(b[e+2>>1]|0):0){d=c[e+8>>2]|0;c[h+8>>2]=d;c[d+12>>2]=h;c[h+12>>2]=e;c[e+8>>2]=h;break}d=c[e+12>>2]|0;c[h+12>>2]=d;c[d+8>>2]=h;c[h+8>>2]=e;c[e+12>>2]=h}while(0);return h|0}function l2(a){a=a|0;if(a)YEa(a);return}function m2(a,b,d){a=a|0;b=+b;d=d|0;var e=0;e=WEa(12)|0;c[e>>2]=0;g[e+4>>2]=b;c[e+8>>2]=d;do if(c[a>>2]|0){qk(a+4|0);a:do if(!(Ov(a+4|0)|0))do{if(!(+g[(tk(a+4|0)|0)+4>>2]>2]>2]|0)!=0?(rk(a+4|0),!(sk(a+4|0)|0)):0){while(1){if((c[(tk(a+4|0)|0)+8>>2]|0)==(b|0))break;OL(a+4|0)|0;if(sk(a+4|0)|0)break a}b=pv(a+4|0)|0;if(b)YEa(b)}while(0);return}function o2(a,b){a=a|0;b=b|0;qk(a+4|0);return +(+g[(RL(a+4|0,b&255)|0)+4>>2])}function p2(a,b,d,f){a=a|0;b=b|0;d=d|0;f=f|0;var h=0;h=i;i=i+16|0;CV(a,b,d,f);c[a>>2]=337312;c[a+32>>2]=0;c[a+36>>2]=0;c[a+40>>2]=0;c[h+4>>2]=e[d>>1]|e[d+2>>1]<<16;c[h>>2]=e[f>>1]|e[f+2>>1]<<16;_ia(a+44|0,h+4|0,h);g[a+52>>2]=1.0;c[a+56>>2]=0;c[a+60>>2]=0;c[a+64>>2]=0;c[a+68>>2]=0;c[a+72>>2]=0;c[a+76>>2]=0;c[a+80>>2]=0;c[a+84>>2]=0;i=h;return}function q2(b){b=b|0;var d=0;c[b>>2]=337312;d=c[b+68>>2]|0;do if(d)if(!(a[337234]|0)){nc(d|0);YEa(d);break}else Cb(0);while(0);d=c[b+60>>2]|0;if(d){nc(d|0);YEa(d)}d=c[b+64>>2]|0;if(d){nc(d|0);YEa(d)}d=c[b+72>>2]|0;if(d){nc(d|0);YEa(d)}d=c[b+80>>2]|0;if(d){nc(d|0);YEa(d)}d=c[b+84>>2]|0;if(d){nc(d|0);YEa(d)}d=c[b+76>>2]|0;if(d){nc(d|0);YEa(d)}DV(b);return}function r2(a){a=a|0;q2(a);YEa(a);return}function s2(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+32|0;FV(a,b+4|0);pk(c,b+4|0);rk(c);if(!(sk(c)|0))do{t2(a,0,0,tk(c)|0);OL(c)|0}while(!(sk(c)|0));TV(a);i=c;return}function t2(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=L2(a,0,b,e)|0;f=(L2(a,1,b,e)|0)+f|0;f=(L2(a,2,b,e)|0)+f|0;if(!(((L2(a,3,b,e)|0)+f|0)<1|d^1)){c[e+92>>2]=0;c[e+96>>2]=0;c[e+100>>2]=0;c[e+104>>2]=0;c[e+108>>2]=0;f=kl(e+8|0)|0;f=f<<16>>16>(ll(e+8|0)|0)<<16>>16;c[e+40>>2]=f?1:2}return}function u2(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v2(a,d);if(c)do{}while(w2(a,d)|0);x2(a,b,0);TV(a);return}function v2(a,b){a=a|0;b=b|0;FV(a,b+4|0);FV(a,b+20|0);return}function w2(a,b){a=a|0;b=b|0;var d=0,f=0,h=0,j=0,k=0,l=0,m=0.0;k=i;i=i+112|0;Aka(k+8|0,0,(c[a+4>>2]|0)*5|0);pk(k+84|0,b+4|0);rk(k+84|0);while(1){if(sk(k+84|0)|0)break;d=(tk(k+84|0)|0)+8|0;j=kl(d)|0;d=ll(d)|0;if(+(j<<16>>16)<=+(d<<16>>16)*1.25?+(d<<16>>16)<+(j<<16>>16)*1.25:0)Fka(k+8|0,d<<16>>16,1);OL(k+84|0)|0}j=~~(+Jka(k+8|0,.75)+.5);Eka(k+8|0);pk(k+56|0,b+4|0);rk(k+56|0);if(sk(k+56|0)|0)h=0;else{f=0;do{d=tk(k+56|0)|0;h=c[d+4>>2]|0;if((h|0)!=0?(c[h+4>>2]|0)!=0:0){h=e[d+8>>1]|e[d+10>>1]<<16;l=e[d+12>>1]|e[d+14>>1]<<16;c[k>>2]=h;c[k+4>>2]=l;h=xT(3,h<<16>>16,h>>16)|0;if(h){c[k+8>>2]=~~(+(j|0)*1.25);jN(337568,k+8|0);jv(k)}c[k+52>>2]=0;H2(a,d,h,~~(+(j|0)*1.25),~~(+(j|0)*.25),k,k+52|0);do if(c[k+52>>2]|0){l=kl(k)|0;m=+((ll(k)|0)<<16>>16);if(+(l<<16>>16)>m*1.25|m>+(l<<16>>16)*1.25){if(!h)break;jN(337608,k+8|0);jv(k);break}if((CL(k+52|0)|0)>7){if(!h)break;c[k+8>>2]=CL(k+52|0)|0;jN(337632,k+8|0);break}fA(k+24|0,k+52|0);gA(k+24|0);while(1){if((hA(k+24|0)|0)<<24>>24)break;l=iA(k+24|0)|0;if(!(Qaa(+g[d+72>>2],+g[d+76>>2],+g[d+80>>2],l,.25,2.0)|0))break;DL(k+24|0)|0}if(!((hA(k+24|0)|0)<<24>>24)){if(!h)break;jN(337664,k+8|0);a3(d);break}b3(a,d);gA(k+24|0);while(1){if((hA(k+24|0)|0)<<24>>24)break;l=iA(k+24|0)|0;b3(a,l);c[l+40>>2]=0;Gaa(d,l);if(!(!(+g[a+52>>2]!=1.0)?!(+g[a+56>>2]!=0.0):0)){m=+g[a+52>>2];Daa(d,m,+g[a+56>>2])}DL(k+24|0)|0}IV(a,1,1,d);f=f+1|0;if(h){jN(337688,k+8|0);jv(k)}}while(0);BL(k+52|0)}OL(k+56|0)|0}while(!(sk(k+56|0)|0));h=f}rk(k+56|0);if(sk(k+56|0)|0)d=0;else{d=0;do{f=c[(tk(k+56|0)|0)+4>>2]|0;if(f)d=((c[f+4>>2]|0)!=0&1)+d|0;OL(k+56|0)|0}while(!(sk(k+56|0)|0))}iba(b);i=k;return +(h|0)>+(d|0)*.125|0}function x2(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0.0,j=0;j=i;i=i+112|0;DT(j,b);C0(j);while(1){f=D0(j)|0;if(!f)break;t2(b,0,e,f)}C0(j);while(1){f=D0(j)|0;if(!f)break;I2(b,f)}C0(j);while(1){f=D0(j)|0;if(!f)break;h=+g[b+56>>2];if(c3(h,d)|0){a[f+113>>0]=1;a[f+112>>0]=0;continue}if(d3(h,d)|0){a[f+113>>0]=0;a[f+112>>0]=1;continue}else{J2(b,f);continue}}f=c[84287]|0;if((f|0)!=0&e|(f|0)>1)c[b+64>>2]=0;C0(j);while(1){f=D0(j)|0;if(!f)break;K2(b,d,0,f)}C0(j);while(1){f=D0(j)|0;if(!f)break;K2(b,d,1,f)}C0(j);while(1){f=D0(j)|0;if(!f)break;K2(b,d,1,f)}d=c[84287]|0;if((d|0)!=0&e|(d|0)>1)c[b+68>>2]=0;GT(j+84|0);i=j;return}function y2(a,b,d){a=+a;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;f=i;i=i+128|0;c[f+64>>2]=0;c[f+60>>2]=0;c[f+24>>2]=0;c[f+56>>2]=0;c[f+20>>2]=0;e3(b+4|0,f+64|0,f+60|0,f+24|0,f+56|0,f+20|0);e3(b+20|0,f+64|0,f+60|0,f+24|0,f+56|0,f+20|0);if(!(c[77789]|0)){b=c[f+64>>2]|0;e=c[f+60>>2]|0}else{e=c[f+60>>2]|0;b=c[f+64>>2]|0;j=CL(f+56|0)|0;h=CL(f+24|0)|0;g=CL(f+20|0)|0;c[f>>2]=e;c[f+4>>2]=b;c[f+8>>2]=j;c[f+12>>2]=h;c[f+16>>2]=g;jN(337328,f)}do if(!((d|0)!=0&(b|0)==0&(e|0)==0))if((b|0)<(~~(+(e+b|0)*a)|0)){if(!d){b=0;break}fA(f+96|0,d);rZ(f+96|0,f+56|0);b=0;break}else{if(!d){b=1;break}fA(f+68|0,d);rZ(f+68|0,f+24|0);b=1;break}else{fA(f+28|0,d);rZ(f+28|0,f+20|0);b=0}while(0);BL(f+20|0);BL(f+56|0);BL(f+24|0);i=f;return b|0}function z2(a,d,f){a=a|0;d=d|0;f=f|0;var h=0,j=0;h=i;i=i+16|0;KV(a,c[f+4>>2]|0,f+20|0,f+24|0);c[h+12>>2]=e[a+20>>1]|e[a+22>>1]<<16;c[h+8>>2]=e[a+24>>1]|e[a+26>>1]<<16;_ia(h,h+12|0,h+8|0);j=c[h>>2]|0;f=c[h+4>>2]|0;b[a+44>>1]=j;b[a+46>>1]=j>>>16;b[a+48>>1]=f;b[a+50>>1]=f>>>16;g[a+52>>2]=+g[d>>2];g[a+56>>2]=-+g[d+4>>2];i=h;return}function A2(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+32|0;TV(a);c[e+28>>2]=0;B2(a,b,e+28|0);FV(a,b+4|0);Lk(e,e+28|0);while(1){if((uZ(e)|0)<<24>>24)break;b=hv(e)|0;aY(b);C2(a,b,0);C2(a,b,1);wA(d,b);VL(e)}TL(e+28|0,238);i=e;return}function B2(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+224|0;FV(a,d+16|0);FV(a,d+12|0);DT(j+112|0,a);C0(j+112|0);while(1){f=D0(j+112|0)|0;if(!f)break;t2(a,1,0,f)}Lk(j+84|0,e);C0(j+112|0);while(1){f=D0(j+112|0)|0;if(!f)break;if(c[f+44>>2]|0)continue;if((c[f+100>>2]|0)==0?(c[f+92>>2]|0)==0:0)continue;g=WEa(192)|0;b[j+216>>1]=0;b[j+218>>1]=1;XX(g,5,j+216|0);e=f;do{if(c[e+44>>2]|0)break;ZX(g,e);e=c[e+100>>2]|0}while((e|0)!=0);while(1){f=c[f+92>>2]|0;if(!f)break;if(c[f+44>>2]|0)break;ZX(g,f)}if(QY(g)|0){nZ(j+84|0,g);continue}else{cY(g);YEa(g);continue}}if(c[84287]|0)c[a+60>>2]=0;pk(j+56|0,d+4|0);pk(j+28|0,d+16|0);rk(j+28|0);while(1){if(sk(j+28|0)|0)break;f=tk(j+28|0)|0;e=c[f+44>>2]|0;if((e|0)==2){c[f+44>>2]=0;h=24}else if((e|0)!=6)h=24;if((h|0)==24){h=0;c[f+92>>2]=0;c[f+96>>2]=0;c[f+100>>2]=0;c[f+104>>2]=0;c[f+108>>2]=0;qv(j+56|0,pv(j+28|0)|0)}OL(j+28|0)|0}pk(j,d+12|0);rk(j);while(1){if(sk(j)|0)break;e=tk(j)|0;f=c[e+44>>2]|0;if((f|0)!=6?(c[e+24>>2]&1073741824|0)==0:0){if((f|0)==2){c[e+44>>2]=0;c[e+92>>2]=0;c[e+96>>2]=0;c[e+100>>2]=0;c[e+104>>2]=0;c[e+108>>2]=0}}else qv(j+28|0,pv(j)|0);OL(j)|0}TV(a);GT(j+196|0);i=j;return}function C2(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;l=i;i=i+112|0;DT(l,d);f3(l,b[((f|0)==0?e+16|0:e+20|0)>>1]|0,b[e+18>>1]|0,b[e+22>>1]|0);j=0;k=0;a:while(1){do{g=g3(l,(f|0)==0)|0;if(!g)break a}while(!(GA(g+8|0,e+16|0)|0));h=lv(b[g+8>>1]|0,b[g+12>>1]|0,b[e+16>>1]|0,b[e+20>>1]|0)|0;if((h|0)>(c[d+4>>2]<<1|0))break;m=(j|0)==0|(h|0)<(k|0);j=m?g:j;k=m?h:k}do if(j)if(!f){a[j+115>>0]=1;break}else{a[j+114>>0]=1;break}while(0);GT(l+84|0);i=l;return}function D2(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,j=0,k=0;j=i;i=i+240|0;DT(j+136|0,a);C0(j+136|0);while(1){h=D0(j+136|0)|0;if(!h)break;f=e[h+8>>1]|e[h+10>>1]<<16;g=e[h+12>>1]|e[h+14>>1]<<16;c[j+16>>2]=f;c[j+20>>2]=g;d=ll(j+16|0)|0;if(+(d<<16>>16)<+((kl(j+16|0)|0)<<16>>16)*8.0)continue;c[j+8>>2]=f;c[j+12>>2]=g;VV(j+8|0,(d<<16>>16)*3|0,(d<<16>>16)*3|0);d=xT(2,f<<16>>16,f>>16)|0;DT(j+32|0,a);WV(j+32|0,j+8|0);g=0;a:while(1){do{f=XV(j+32|0)|0;if(!f)break a}while((f|0)==(h|0));k=e[f+12>>1]|e[f+14>>1]<<16;c[j>>2]=e[f+8>>1]|e[f+10>>1]<<16;c[j+4>>2]=k;f=(ll(j)|0)<<16>>16;g=(f|0)>(g|0)?f:g}if(d){c[j+24>>2]=g;jN(337384,j+24|0);jv(j+16|0)}if(+(g|0)*1.75<+((ll(j+16|0)|0)<<16>>16))bY(h,b);GT(j+116|0)}GT(j+220|0);i=j;return}function E2(a,b,d,e,f,g,h,j,k,l,m){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0;n=i;i=i+16|0;c[a+32>>2]=f;c[a+36>>2]=j;c[a+40>>2]=g;TV(a);v2(a,e);if(h)w2(a,e)|0;x2(a,b,0);B7(c[a+36>>2]|0,e,d,c[a+32>>2]|0);D7(c[a+36>>2]|0,e+4|0,e+12|0);D7(c[a+36>>2]|0,e+16|0,e+12|0);TV(a);v2(a,e);x2(a,b,1);if((F2(a,b,d,1,e,k,l,m)|0)==2){c[n>>2]=NL(k)|0;jN(337440,n);TV(a);v2(a,e);x2(a,b,1);F2(a,b,d,0,e,k,l,m)|0}c[a+32>>2]=0;c[a+36>>2]=0;c[a+40>>2]=0;i=n;return}function F2(a,b,d,f,h,j,k,l){a=a|0;b=b|0;d=d|0;f=f|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0.0,o=0;o=i;i=i+16|0;n=+g[a+56>>2];if(!(d3(n,b)|0)){M2(a,k);n=+g[a+56>>2]}if(!(c3(n,b)|0))N2(a,k);if(c[84287]|0){c[a+72>>2]=0;F7(c[a+36>>2]|0)}PZ(k,l);O2(a,k);P2(h,l);c[o+4>>2]=e[a+20>>1]|e[a+22>>1]<<16;c[o>>2]=e[a+24>>1]|e[a+26>>1]<<16;_ia(o+8|0,o+4|0,o);do{}while(QZ(k,3,c[a+32>>2]|0,o+8|0,d)|0);do{}while(QZ(k,2,c[a+32>>2]|0,o+8|0,d)|0);m=NZ(k,0)|0;Q2(a,k,h);R2(h,k);if((j|0)!=0&f?S2(a,m,o+8|0,h,k,j)|0:0)m=2;else{if(c[84287]|0){c[a+80>>2]=0;c[a+76>>2]=0}T2(a,b,k);PZ(k,l);O2(a,k);do{}while(QZ(k,3,c[a+32>>2]|0,o+8|0,d)|0);do{}while(QZ(k,2,c[a+32>>2]|0,o+8|0,d)|0);do{}while(QZ(k,4,c[a+32>>2]|0,o+8|0,d)|0);if(!(c[84287]|0))m=0;else{c[a+84>>2]=0;m=0}}i=o;return m|0}function G2(a,b,f){a=a|0;b=b|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;j=i;i=i+176|0;c[j+8>>2]=b;c[j+12>>2]=f;jN(352312,j+8|0);DT(j+64|0,a);h3(j+64|0,b,f,1);while(1){h=i3(j+64|0)|0;if(!h)break;a=e[h+12>>1]|e[h+14>>1]<<16;c[j>>2]=e[h+8>>1]|e[h+10>>1]<<16;c[j+4>>2]=a;if(!(px(j,+(b|0),+(f|0))|0))continue;if(c[h+4>>2]|0){g=5;break}}if((g|0)==5){a3(h);a=c[h+92>>2]|0;if(a)a3(a);a=c[h+100>>2]|0;if(a)a3(a);a=c[h+104>>2]|0;if(a)a3(a);a=c[h+96>>2]|0;if(a)a3(a);Jaa(h,j+48|0);n=c[j+56>>2]|0;m=c[j+60>>2]|0;l=c[j+52>>2]|0;k=d[h+112>>0]|0;a=d[h+113>>0]|0;b=d[h+108>>0]|0;f=d[h+110>>0]|0;g=d[h+111>>0]|0;h=d[h+109>>0]|0;c[j+8>>2]=c[j+48>>2];c[j+12>>2]=n;c[j+16>>2]=m;c[j+20>>2]=l;c[j+24>>2]=k;c[j+28>>2]=a;c[j+32>>2]=b;c[j+36>>2]=f;c[j+40>>2]=g;c[j+44>>2]=h;jN(337464,j+8|0)}GT(j+148|0);i=j;return}function H2(a,d,f,g,h,j,k){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+144|0;c[r+128>>2]=0;c[r+132>>2]=0;c[r+136>>2]=0;c[r+140>>2]=0;p=((b[j+4>>1]|0)+(b[j>>1]|0)|0)/2|0;l=((b[j+6>>1]|0)+(b[j+2>>1]|0)|0)/2|0;DT(r+24|0,a);h3(r+24|0,p,l,2);l=0;a:while(1){do{p=i3(r+24|0)|0;if(!p){a=1;break a}}while((p|0)==(d|0));m=e[p+8>>1]|e[p+10>>1]<<16;a=e[p+12>>1]|e[p+14>>1]<<16;c[r>>2]=m;c[r+4>>2]=a;a=UGa(m|0,a|0,48)|0;b:do if(!(j3(j,r,f,g,h,r+16|0,r+12|0)|0)){n=c[r+16>>2]|0;o=c[r+12>>2]|0;if(!((n|0)>-1|(n|0)>(o|0))){l=b[j+6>>1]|0;m=r+128+(((a&65535)<<16>>16>l<<16>>16?3:1)<<2)|0;a=c[m>>2]|0;if((a|0)!=0?(o|0)>=(HA(b[j+2>>1]|0,l,b[a+10>>1]|0,b[a+14>>1]|0)|0):0)break;c[m>>2]=p;break}if(!((o|0)>-1|(o|0)>(n|0))){l=b[j>>1]|0;m=r+128+(((m&65535)<<16>>16>l<<16>>16?2:0)<<2)|0;a=c[m>>2]|0;if((a|0)!=0?(n|0)>=(lv(l,b[j+4>>1]|0,b[a+8>>1]|0,b[a+12>>1]|0)|0):0)break;c[m>>2]=p}}else{bja(j,r);FL(k,38,p);if(f){jN(337712,r+8|0);jv(r);a=0}else a=0;while(1){m=r+128+(a<<2)|0;if((l|0)!=0?(o=l+8|0,p=e[o+4>>1]|e[o+6>>1]<<16,c[r>>2]=e[o>>1]|e[o+2>>1]<<16,c[r+4>>2]=p,j3(j,r,f,g,h,r+16|0,r+12|0)|0):0){bja(j,r);FL(k,38,l);if(f){jN(337712,r+8|0);jv(r)}c[m>>2]=0;a=0}else{a=a+1|0;if((a|0)>=4)break b}l=c[r+128+(a<<2)>>2]|0}}while(0);l=c[r+128>>2]|0;if(!l){l=0;continue}if(!((c[r+136>>2]|0)==0|(c[r+140>>2]|0)==0|(c[r+132>>2]|0)==0)){a=1;break}}while(1){if(l){l=l+8|0;if(f){jN(337720,r+8|0);jv(l)}if(DD(j,l)|0){q=29;break}}if((a|0)>=4)break;l=c[r+128+(a<<2)>>2]|0;a=a+1|0}if((q|0)==29?(BL(k),f):0)jN(337752,r+8|0);GT(r+108|0);i=r;return}function I2(b,d){b=b|0;d=d|0;var e=0,f=0.0,h=0,j=0,k=0;k=i;i=i+16|0;e=kl(d+8|0)|0;f=+g[d+80>>2]*3.0;do if(+(e<<16>>16)>f?(h=ll(d+8|0)|0,+(h<<16>>16)>f):0){if((e<<16>>16|0)>(h<<16>>16<<2|0)){c[d+104>>2]=0;a[d+111>>0]=0;c[d+96>>2]=0;a[d+109>>0]=0;break}if((h<<16>>16|0)>(e<<16>>16<<2|0)){c[d+92>>2]=0;a[d+108>>0]=0;c[d+100>>2]=0;a[d+110>>0]=0}else j=7}else j=7;while(0);do if((j|0)==7){e=c[b+4>>2]|0;Kaa(d,k+12|0,k+8|0,k+4|0,k);j=c[k+8>>2]|0;if((!((j|0)<((e|0)/4|0|0)?(j+((e|0)/2|0)|0)<(c[k+4>>2]|0):0)?(a[d+114>>0]|0)==0:0)?(a[d+115>>0]|0)==0:0){j=c[k>>2]|0;if(!((j|0)<((e|0)/4|0|0)?(j+((e|0)/2|0)|0)<(c[k+12>>2]|0):0))break;c[d+92>>2]=0;a[d+108>>0]=0;c[d+100>>2]=0;a[d+110>>0]=0;break}c[d+104>>2]=0;a[d+111>>0]=0;c[d+96>>2]=0;a[d+109>>0]=0}while(0);i=k;return}function J2(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;n=i;i=i+64|0;if(!(Oaa(e)|0)){m=xT(2,b[e+8>>1]|0,b[e+10>>1]|0)|0;if(m){k=c[e+40>>2]|0;c[n>>2]=c[e+44>>2];c[n+4>>2]=k;jN(337968,n);jv(e+8|0)}c[n+24>>2]=0;k3(e,n+24|0);f=c[e+92>>2]|0;if(f)k3(f,n+24|0);f=c[e+96>>2]|0;if(f)k3(f,n+24|0);f=c[e+100>>2]|0;if(f)k3(f,n+24|0);f=c[e+104>>2]|0;if(f)k3(f,n+24|0);if((CL(n+24|0)|0)>=4?(fA(n+28|0,n+24|0),gA(n+28|0),(hA(n+28|0)|0)<<24>>24==0):0){g=0;f=0;do{k=iA(n+28|0)|0;Kaa(k,n+56|0,n+60|0,n+20|0,n+16|0);if(m){h=c[n+60>>2]|0;j=c[n+20>>2]|0;o=c[n+16>>2]|0;c[n>>2]=c[n+56>>2];c[n+4>>2]=h;c[n+8>>2]=j;c[n+12>>2]=o;jN(339256,n)}else{h=c[n+60>>2]|0;j=c[n+20>>2]|0}do if(((h|0)>=(j|0)?(a[k+114>>0]|0)==0:0)?(a[k+115>>0]|0)==0:0)if((c[n+16>>2]|0)<(c[n+56>>2]|0)){f=f+1|0;if(!m)break;jN(339304,n);l=27;break}else{if(!m)break;jN(339320,n);l=27;break}else l=20;while(0);if((l|0)==20){l=0;g=g+1|0;if(m){jN(339288,n);l=27}}if((l|0)==27){l=0;jv(k+8|0)}DL(n+28|0)|0}while((hA(n+28|0)|0)<<24>>24==0)}else{g=0;f=0}if(m){fd[c[(c[d>>2]|0)+8>>2]&15](d,(b[e+8>>1]|0)+1|0,(b[e+10>>1]|0)+1|0);c[n>>2]=g;c[n+4>>2]=f;jN(338024,n)}do if(c[n+24>>2]|0){a[e+113>>0]=1;a[e+112>>0]=1;if((g|0)>(f<<1|0)){a[e+113>>0]=0;break}if((f|0)>(g<<1|0))a[e+112>>0]=0}else{a[e+113>>0]=0;a[e+112>>0]=0}while(0);BL(n+24|0)}i=n;return}function K2(d,e,f,h){d=d|0;e=e|0;f=f|0;h=h|0;var j=0,k=0,l=0,m=0,n=0;n=i;i=i+32|0;if(!(a[h+113>>0]|0))if(f)m=4;else m=18;else if((a[h+112>>0]|0)!=0|f)m=4;else m=18;if((m|0)==4){c[n+28>>2]=0;k3(h,n+28|0);fA(n,n+28|0);gA(n);if(!((hA(n)|0)<<24>>24)){j=0;f=0;do{l=iA(n)|0;k=(a[l+113>>0]|0)==0&1;if(!(a[l+112>>0]|0))f=(k^1)+f|0;else j=k+j|0;DL(n)|0}while((hA(n)|0)<<24>>24==0)}else{j=0;f=0}k=b[h+8>>1]|0;l=b[h+10>>1]|0;if(xT(2,k,l)|0){fd[c[(c[d>>2]|0)+8>>2]&15](d,k+1|0,l+1|0);c[n>>2]=j;c[n+4>>2]=f;jN(338064,n)}if((j|0)>(f|0)?!(c3(+g[d+56>>2],e)|0):0){a[h+113>>0]=0;a[h+112>>0]=1}else m=14;if(((m|0)==14?(f|0)>(j|0):0)?!(d3(+g[d+56>>2],e)|0):0){a[h+112>>0]=0;a[h+113>>0]=1}BL(n+28|0)}else if((m|0)==18?(j=b[h+8>>1]|0,k=b[h+10>>1]|0,xT(2,j,k)|0):0){fd[c[(c[d>>2]|0)+8>>2]&15](d,j+1|0,k+1|0);jN(338088,n)}i=n;return}function L2(d,f,j,l){d=d|0;f=f|0;j=j|0;l=l|0;var m=0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0.0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;J=i;i=i+160|0;G=e[l+8>>1]|e[l+10>>1]<<16;I=e[l+12>>1]|e[l+14>>1]<<16;c[J+16>>2]=G;c[J+20>>2]=I;A=UGa(G|0,I|0,16)|0;B=UGa(G|0,I|0,48)|0;C=xT(2,(G&65535)<<16>>16,(A&65535)<<16>>16)|0;if(C){c[J+24>>2]=f;jN(337784,J+24|0);jv(J+16|0)}D=((I&65535)<<16>>16)-((G&65535)<<16>>16)|0;E=((B&65535)<<16>>16)-((A&65535)<<16>>16)|0;F=(D|0)>=(E|0)?D:E;H=((D|0)<=(E|0)?D:E)<<1;y=(f&-3|0)==0?E:D;z=j?1:(y|0)/3|0;y=j?1:(y|0)/2|0;j=~~(+R(+(+(ba(D,E)|0)))*2.5);x=c[d+4>>2]|0;j=(x|0)>(j|0)?x:j;c[J+8>>2]=G;c[J+12>>2]=I;switch(f|0){case 2:{b[J+12>>1]=I+j;m=8;break}case 1:{b[J+10>>1]=A-j;m=8;break}case 3:{b[J+14>>1]=B+j;m=8;break}case 0:{b[J+8>>1]=G-j;m=8;break}case 4:{j=0;break}default:m=8}if((m|0)==8){DT(J+56|0,d);WV(J+56|0,J+8|0);v=0.0;w=0;x=0;j=0;a:while(1){u=XV(J+56|0)|0;if(!u)break;m=e[u+8>>1]|e[u+10>>1]<<16;o=e[u+12>>1]|e[u+14>>1]<<16;c[J>>2]=m;c[J+4>>2]=o;p=UGa(m|0,o|0,48)|0;q=UGa(m|0,o|0,16)|0;if((u|0)==(l|0)){s=j;t=x;u=w;n=v;j=s;x=t;w=u;v=n;continue}if(((((o&65535)<<16>>16)+((m&65535)<<16>>16)|0)/2|0|0)<(b[l+48>>1]|0)){s=j;t=x;u=w;n=v;j=s;x=t;w=u;v=n;continue}if(((((o&65535)<<16>>16)+((m&65535)<<16>>16)|0)/2|0|0)>(b[l+50>>1]|0)){s=j;t=x;u=w;n=v;j=s;x=t;w=u;v=n;continue}if(C){jN(337808,J+24|0);jv(J)}s=kl(J)|0;t=ll(J)|0;if((((s<<16>>16|0)<=(t<<16>>16|0)?s<<16>>16:t<<16>>16)|0)>(H|0))j=((((s<<16>>16|0)>=(t<<16>>16|0)?s<<16>>16:t<<16>>16)|0)<((F|0)/4|0|0)&1)+j|0;do if(M3((s<<16>>16|0)>=(t<<16>>16|0)?s<<16>>16:t<<16>>16,F)|0){if(!((f&-3|0)==0?L3(t<<16>>16,E)|0:0)){if((f&-3|0)!=1)break;if(!(L3(s<<16>>16,D)|0))break}if(!C){t=x;u=w;n=v;x=t;w=u;v=n;continue a}jN(337824,J+24|0);t=x;u=w;n=v;x=t;w=u;v=n;continue a}while(0);do if(!(f&-3)){d=((p&65535)<<16>>16>(B&65535)<<16>>16?(B&65535)<<16>>16:(p&65535)<<16>>16)-((q&65535)<<16>>16<(A&65535)<<16>>16?(A&65535)<<16>>16:(q&65535)<<16>>16)|0;if((d|0)==(t<<16>>16|0))q=s<<16>>16>t<<16>>16?s<<16>>16:t<<16>>16;else q=d;m=(f|0)==0?((G&65535)<<16>>16)-((m&65535)<<16>>16)|0:((o&65535)<<16>>16)-((I&65535)<<16>>16)|0;if((m|0)>=1){p=m-(s<<16>>16)|0;r=d;m=q;break}if(!C){t=x;u=w;n=v;x=t;w=u;v=n;continue a}jN(337840,J+24|0);t=x;u=w;n=v;x=t;w=u;v=n;continue a}else{d=((o&65535)<<16>>16>(I&65535)<<16>>16?(I&65535)<<16>>16:(o&65535)<<16>>16)-((m&65535)<<16>>16<(G&65535)<<16>>16?(G&65535)<<16>>16:(m&65535)<<16>>16)|0;if((d|0)==(s<<16>>16|0))o=t<<16>>16>s<<16>>16?t<<16>>16:s<<16>>16;else o=d;if((f|0)==1)m=((A&65535)<<16>>16)-((q&65535)<<16>>16)|0;else m=((p&65535)<<16>>16)-((B&65535)<<16>>16)|0;if((m|0)>=1){p=m-(t<<16>>16)|0;r=d;m=o;break}if(!C){t=x;u=w;n=v;x=t;w=u;v=n;continue a}jN(337840,J+24|0);t=x;u=w;n=v;x=t;w=u;v=n;continue a}while(0);if((r|0)<(0-p|0)){if(!C){t=x;u=w;n=v;x=t;w=u;v=n;continue}jN(337856,J+24|0);t=x;u=w;n=v;x=t;w=u;v=n;continue}if((m|0)<(z|0)){if(!C){t=x;u=w;n=v;x=t;w=u;v=n;continue}jN(337880,J+24|0);t=x;u=w;n=v;x=t;w=u;v=n;continue}if(L3(E,t<<16>>16)|0)m=L3(D,s<<16>>16)|0;else m=0;if((r|0)<(y|0)|m)d=0;else d=Qaa(+g[l+72>>2],+g[l+76>>2],+g[l+80>>2],u,.125,1.5)|0;m=(p|0)<1?1:p;n=+(r|0)*(d?2.0:1.0)/+(m|0);if(C){h[k>>3]=n;c[J+24>>2]=c[k>>2];c[J+28>>2]=c[k+4>>2];h[k>>3]=v;c[J+32>>2]=c[k>>2];c[J+36>>2]=c[k+4>>2];c[J+40>>2]=d&1;c[J+44>>2]=r;c[J+48>>2]=m;jN(337904,J+24|0)}t=n>v;v=t?n:v;w=t?d:w;x=t?u:x}c[l+(f<<2)+92>>2]=x;a[l+f+108>>0]=w&1;GT(J+140|0)}i=J;return j|0}function M2(d,e){d=d|0;e=e|0;var f=0,h=0,j=0,k=0,l=0;l=i;i=i+112|0;k=+g[d+56>>2]==0.0?5:4;DT(l,d);C0(l);while(1){h=D0(l)|0;if(!h)break;if(c[h+84>>2]|0)continue;if(!(a[h+113>>0]|0))continue;if(a[h+112>>0]|0)continue;f=l3(h,3)|0;if(!f)continue;j=WEa(192)|0;b[l+104>>1]=0;b[l+106>>1]=1;XX(j,6,l+104|0);ZX(j,h);do{ZX(j,f);f=l3(f,3)|0}while((f|0)!=0);f=l3(h,1)|0;if(f)do{ZX(j,f);f=l3(f,1)|0}while((f|0)!=0);U2(d,k,j,e)}GT(l+84|0);i=l;return}function N2(d,e){d=d|0;e=e|0;var f=0,h=0,j=0,k=0,l=0;l=i;i=i+112|0;k=+g[d+56>>2]==0.0?4:5;DT(l,d);C0(l);while(1){h=D0(l)|0;if(!h)break;if(c[h+84>>2]|0)continue;if(!(a[h+112>>0]|0))continue;if(a[h+113>>0]|0)continue;f=m3(h,2)|0;if(!f)continue;j=WEa(192)|0;b[l+104>>1]=0;b[l+106>>1]=1;XX(j,7,l+104|0);ZX(j,h);do{ZX(j,f);f=m3(f,2)|0}while((f|0)!=0);f=m3(h,0)|0;if(f)do{ZX(j,f);f=l3(f,0)|0}while((f|0)!=0);U2(d,k,j,e)}GT(l+84|0);i=l;return}function O2(b,d){b=b|0;d=d|0;var e=0,f=0;f=WEa(16)|0;c[f>>2]=339056;c[f+4>>2]=b;a[f+8>>0]=49;a[f+9>>0]=0;a[f+10>>0]=0;a[f+11>>0]=0;a[f+12>>0]=0;a[f+13>>0]=0;a[f+14>>0]=0;a[f+15>>0]=0;e=WEa(16)|0;c[e>>2]=338864;c[e+4>>2]=b;a[e+8>>0]=50;a[e+9>>0]=0;a[e+10>>0]=0;a[e+11>>0]=0;a[e+12>>0]=0;a[e+13>>0]=0;a[e+14>>0]=0;a[e+15>>0]=0;JZ(d,f,e);return}function P2(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;pk(d,a+20|0);rk(d);if(!(sk(d)|0))do{a=tk(d)|0;if(!(c[a+84>>2]|0))bY(a,b);OL(d)|0}while(!(sk(d)|0));i=d;return}function Q2(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+128|0;CV(k+96|0,c[d+4>>2]|0,d+20|0,d+24|0);FV(k+96|0,f+12|0);FV(k+96|0,f+4|0);pk(k+64|0,f+12|0);rk(k+64|0);j=0;while(1){if(sk(k+64|0)|0)break;g=tk(k+64|0)|0;if((c[g+84>>2]|0)==0?!(sZ(g)|0):0)g=((V2(d,k+96|0,g)|0)&1)+j|0;else g=j;OL(k+64|0)|0;j=g}pk(k+36|0,f+4|0);rk(k+36|0);g=0;while(1){if(sk(k+36|0)|0)break;f=tk(k+36|0)|0;do if(!(sZ(f)|0)){h=c[f+84>>2]|0;if(!h){if(V2(d,k+96|0,f)|0){b3(d,f);qv(k+64|0,pv(k+36|0)|0);g=g+1|0;break}}else if((a[h+97>>0]|0)==0?(CL(h+76|0)|0)<3:0){fA(k+8|0,h+76|0);gA(k+8|0);while(1){if((hA(k+8|0)|0)<<24>>24)break;if(!(V2(d,k+96|0,iA(k+8|0)|0)|0))break;DL(k+8|0)|0}if(!((hA(k+8|0)|0)<<24>>24))break;while(1){if((aB(k+8|0)|0)<<24>>24)break;f=ZA(k+8|0)|0;c[f+84>>2]=0;DL(k+8|0)|0;b3(d,f);g=g+1|0}qv(k+64|0,pv(k+36|0)|0);oA(e,h);cY(h);YEa(h);break}if(xT(2,b[f+8>>1]|0,b[f+10>>1]|0)|0){jN(338112,k);jv(f+8|0)}}else qv(k+64|0,pv(k+36|0)|0);while(0);OL(k+36|0)|0}if(c[84287]|0){c[k>>2]=j;c[k+4>>2]=g;jN(338160,k)}DV(k+96|0);i=k;return}function R2(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+32|0;pk(f,b+12|0);rk(f);if(!(sk(f)|0))do{e=tk(f)|0;b=c[e+68>>2]|0;if(b){b=c[b+84>>2]|0;if((((b|0)!=0?(a[b+97>>0]|0)==0:0)?(c[e+84>>2]|0)==0:0)?sZ(e)|0:0){oA(d,b);ZX(b,e);c[e+40>>2]=c[b+48>>2];c[e+44>>2]=c[b+52>>2];c[e+84>>2]=b;wA(d,b)}c[e+68>>2]=0}OL(f)|0}while(!(sk(f)|0));i=f;return}function S2(b,d,f,g,h,j){b=b|0;d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0;l=i;i=i+176|0;c[l+168>>2]=0;k=NZ(h,l+168|0)|0;pk(l+140|0,j);j=c[l+168>>2]|0;do if(j){if(+(k|0)>((d|0)==0?4.0:+(d|0)*4.0)?+(k|0)>+(Jv(f)|0)*.001953125:0){b_(h);pk(l+112|0,g+12|0);bA(l+8|0,c[l+168>>2]|0);rk(l+112|0);while(1){if(sk(l+112|0)|0)break;j=tk(l+112|0)|0;c[j+92>>2]=0;c[j+96>>2]=0;c[j+100>>2]=0;c[j+104>>2]=0;c[j+108>>2]=0;if((sZ(j)|0?(c[j+84>>2]|0)==0:0)?(d=e[j+12>>1]|e[j+14>>1]<<16,c[l>>2]=e[j+8>>1]|e[j+10>>1]<<16,c[l+4>>2]=d,d=c[b+4>>2]|0,VV(l,d,d),EX(l+8|0,l),(FX(l+8|0)|0)!=0):0){a[j+116>>0]=1;SX(j);Ck(l+140|0,pv(l+112|0)|0)}OL(l+112|0)|0}$Z(c[l+168>>2]|0);j=c[l+168>>2]|0;if(j)Qc[c[(c[j>>2]|0)+4>>2]&511](j);jA(l+92|0);j=1;break}$Z(j);j=c[l+168>>2]|0;if(j){Qc[c[(c[j>>2]|0)+4>>2]&511](j);j=0}else j=0}else j=0;while(0);i=l;return j|0}function T2(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+144|0;DT(l+32|0,a);c[l+28>>2]=0;fA(l,l+28|0);C0(l+32|0);h=1;j=-1;e=-1;while(1){k=D0(l+32|0)|0;if(!k)break;f=c[l+68>>2]|0;g=c[l+72>>2]|0;if((f|0)==(j|0)&(g|0)==(e|0))f=j;else{Y2(a,b,h,d,l+28|0);fA(l,l+28|0);h=1;e=g}if(c[k+84>>2]|0){h=0;j=f;continue}JC(l,k);h=(c[k+44>>2]|0)==1&h;j=f}Y2(a,b,h,d,l+28|0);BL(l+28|0);GT(l+116|0);i=l;return}function U2(a,b,d,f){a=a|0;b=b|0;d=d|0;f=f|0;var h=0;$X(d);h=e[d+16>>1]|e[d+18>>1]<<16;h=xT(2,h<<16>>16,h>>16)|0;h=N7(c[a+36>>2]|0,d,c[a+40>>2]|0,h)|0;if((h|0)>0){if(c3(+g[a+56>>2],b)|0){h=(CL(d+76|0)|0)==1;h=h?0:-2}}else if((h|0)<0){if(d3(+g[a+56>>2],b)|0){h=(CL(d+76|0)|0)==1;h=h?0:2}}else h=0;RY(d,h);aY(d);wA(f,d);return}function V2(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0.0;D=i;i=i+176|0;B=(c[g+40>>2]|0)+-1|0;if(B>>>0<6?(47>>>(B&63)&1)!=0:0){i=D;return 0}v=e[g+8>>1]|e[g+10>>1]<<16;q=e[g+12>>1]|e[g+14>>1]<<16;c[D+32>>2]=v;c[D+36>>2]=q;z=xT(2,v<<16>>16,v>>16)|0;r=UGa(v|0,q|0,16)|0;s=UGa(v|0,q|0,48)|0;if(z){jN(338200,D);jv(D+32|0)}t=_Ga(q|0,0,16)|0;lV(d,((t>>16)+(v<<16>>16)|0)/2|0,((q>>16)+(v>>16)|0)/2|0,D+56|0,D+60|0);t=ll(D+32|0)|0;b[D+48>>1]=32767;b[D+50>>1]=32767;b[D+52>>1]=-32767;b[D+54>>1]=-32767;c[D+40>>2]=v;c[D+44>>2]=q;E=+(c[d+4>>2]|0);w=ok(E*7.0)|0;VV(D+40|0,w,ok(E*1.75)|0);DT(D+64|0,d);a[D+108>>0]=1;WV(D+64|0,D+40|0);w=-32767;x=32767;A=0;y=0;B=0;h=0;while(1){u=XV(D+64|0)|0;if(!u)break;k=c[u+40>>2]|0;if((k+-1|0)>>>0<2){l=h;m=B;n=y;o=A;p=x;u=w;h=l;B=m;y=n;A=o;x=p;w=u;continue}if((k+-3|0)>>>0<2|(u|0)==(g|0)){l=h;m=B;n=y;o=A;p=x;u=w;h=l;B=m;y=n;A=o;x=p;w=u;continue}o=c[u+84>>2]|0;if((o|0)==(c[g+84>>2]|0)){l=h;m=B;n=y;o=A;p=x;u=w;h=l;B=m;y=n;A=o;x=p;w=u;continue}n=e[u+8>>1]|e[u+10>>1]<<16;m=e[u+12>>1]|e[u+14>>1]<<16;c[D+16>>2]=n;c[D+20>>2]=m;l=UGa(n|0,m|0,16)|0;p=UGa(n|0,m|0,48)|0;if(((o|0)!=0?(c[o+48>>2]&-5|0)!=2:0)?((c[u+44>>2]|0)+-3|0)>>>0<2:0){if(((ll(D+16|0)|0)<<16>>16|0)<(~~(+(t<<16>>16)*1.0625)|0)){if(!z){l=h;m=B;n=y;o=A;p=x;u=w;h=l;B=m;y=n;A=o;x=p;w=u;continue}jN(338272,D);jv(D+16|0);l=h;m=B;n=y;o=A;p=x;u=w;h=l;B=m;y=n;A=o;x=p;w=u;continue}o=(((v&65535)<<16>>16<(n&65535)<<16>>16?n&65535:v&65535)<<16>>16)-(((q&65535)<<16>>16>(m&65535)<<16>>16?m&65535:q&65535)<<16>>16)|0;k=UGa(v|0,q|0,48)|0;n=H7(c[d+36>>2]|0,D+32|0,D+16|0,1,c[d+40>>2]|0,z)|0;if(z){c[D>>2]=o;c[D+4>>2]=(((v>>>16&65535)<<16>>16<(l&65535)<<16>>16?l&65535:v>>>16&65535)<<16>>16)-(((k&65535)<<16>>16>(p&65535)<<16>>16?p&65535:k&65535)<<16>>16);c[D+8>>2]=n;jN(338304,D)}k=c[(c[u+84>>2]|0)+32>>2]|0;if(+(n|0)>+(k|0)*1.25){if(!z){l=h;m=B;n=y;o=A;p=x;u=w;h=l;B=m;y=n;A=o;x=p;w=u;continue}c[D>>2]=k;jN(338336,D);jv(u+8|0);l=h;m=B;n=y;o=A;p=x;u=w;h=l;B=m;y=n;A=o;x=p;w=u;continue}if((o|0)<1){if(z){jN(338384,D);jv(D+16|0)}k=(kl(D+32|0)|0)<<16>>16;Raa(D+24|0,u,((v&65535)<<16>>16)-k|0,((q&65535)<<16>>16)+k|0);k=c[D+24>>2]|0;l=c[D+28>>2]|0;c[D+16>>2]=k;c[D+20>>2]=l;m=UGa(k|0,l|0,16)|0;n=UGa(k|0,l|0,48)|0;o=(((r&65535)<<16>>16<(m&65535)<<16>>16?m&65535:r&65535)<<16>>16)-(((s&65535)<<16>>16>(n&65535)<<16>>16?n&65535:s&65535)<<16>>16)|0;if((y|0)==0|(o|0)<(B|0)){c[D+48>>2]=k;c[D+52>>2]=l;if(!z){l=h;p=A;w=n&65535;x=m&65535;y=u;B=o;h=l;A=p;continue}jN(338416,D);jv(D+16|0);l=h;p=A;w=n&65535;x=m&65535;y=u;B=o;h=l;A=p;continue}else{if(!z){l=h;m=B;n=y;o=A;p=x;u=w;h=l;B=m;y=n;A=o;x=p;w=u;continue}jN(338432,D);jv(D+16|0);l=h;m=B;n=y;o=A;p=x;u=w;h=l;B=m;y=n;A=o;x=p;w=u;continue}}if(!(Paa(g,u)|0)){if(!z){l=h;m=B;n=y;o=A;p=x;u=w;h=l;B=m;y=n;A=o;x=p;w=u;continue}jN(338520,D);jv(D+16|0);l=h;m=B;n=y;o=A;p=x;u=w;h=l;B=m;y=n;A=o;x=p;w=u;continue}if((h|0)==0|(n|0)<(A|0)){if(!z){l=B;m=y;o=x;p=w;A=n;h=u;B=l;y=m;x=o;w=p;continue}jN(338464,D);jv(D+16|0);l=B;m=y;o=x;p=w;A=n;h=u;B=l;y=m;x=o;w=p;continue}else{if(!z){l=h;m=B;n=y;o=A;p=x;u=w;h=l;B=m;y=n;A=o;x=p;w=u;continue}jN(338488,D);jv(D+16|0);l=h;m=B;n=y;o=A;p=x;u=w;h=l;B=m;y=n;A=o;x=p;w=u;continue}}if(!z){l=h;m=B;n=y;o=A;p=x;u=w;h=l;B=m;y=n;A=o;x=p;w=u;continue}jN(338240,D);jv(D+16|0);l=h;m=B;n=y;o=A;p=x;u=w;h=l;B=m;y=n;A=o;x=p;w=u}k=(h|0)==0;do if(!y)if(k){j=0;h=0;C=49}else{j=h+8|0;C=45}else{if(!k?(j=h+8|0,!(EA(D+48|0,j)|0)):0){C=45;break}b[g+56>>1]=w;b[g+58>>1]=x;c[g+68>>2]=y;if(z){jN(338552,D);jv(D+32|0);jv(D+48|0);h=1}else h=1}while(0);if((C|0)==45)if(W2(f,D+32|0,j)|0?X2(d,D+32|0,j)|0:0){b[g+56>>1]=b[h+14>>1]|0;b[g+58>>1]=b[h+10>>1]|0;c[g+68>>2]=h;if(z){jN(338584,D);jv(D+32|0);jv(j);h=1}else h=1}else{j=1;C=49}if((C|0)==49)if(z?(jN(338616,D),jv(D+32|0),c[D>>2]=A,c[D+4>>2]=B,jN(338640,D),j):0){h=h+8|0;C=W2(f,D+32|0,h)|0;h=(X2(d,D+32|0,h)|0)&1;c[D>>2]=C&1;c[D+4>>2]=h;jN(338672,D);h=0}else h=0;GT(D+148|0);i=D;return h|0}function W2(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+112|0;m=ok(+((ll(f)|0)<<16>>16))|0;n=e[f>>1]|e[f+2>>1]<<16;l=e[f+4>>1]|e[f+6>>1]<<16;h=n&65535;j=l&65535;a:while(1){f=b[d>>1]|0;k=b[d+4>>1]|0;k=((f<<16>>16>16?h:f)<<16>>16)-((k<<16>>16>j<<16>>16?j:k)<<16>>16)|0;if((k|0)<=(m|0)){f=1;break}c[p>>2]=n&-65536|h&65535;c[p+4>>2]=l&-65536|j&65535;if(f<<16>>16>j<<16>>16){b[p>>1]=j;b[p+4>>1]=(j&65535)+m}else{b[p+4>>1]=h;b[p>>1]=(h&65535)-m}DT(p+8|0,a);WV(p+8|0,p);do{f=XV(p+8|0)|0;if(!f){o=10;break a}g=b[f+8>>1]|0;f=b[f+12>>1]|0}while((lv(g,f,b[d>>1]|0,b[d+4>>1]|0)|0)>=(k|0));GT(p+92|0);h=g<<16>>16>16?g:h;j=f<<16>>16>j<<16>>16?f:j}if((o|0)==10){GT(p+92|0);f=0}i=p;return f|0}function X2(a,b,d){a=a|0;b=b|0;d=d|0;return g0(b,d,a+44|0,a+52|0,c[a+32>>2]|0)|0}function Y2(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+48|0;do if(c[g>>2]|0){fA(h,g);if(e){e=ZA(h)|0;g=WEa(192)|0;j=c[e+40>>2]|0;b[h+32>>1]=0;b[h+34>>1]=1;XX(g,j,h+32|0);ZX(g,e);c[g+52>>2]=c[e+44>>2];DL(h)|0;if(!((aB(h)|0)<<24>>24))do{ZX(g,ZA(h)|0);DL(h)|0}while((aB(h)|0)<<24>>24==0);U2(a,d,g,f);break}else{if((aB(h)|0)<<24>>24)break;do{e=ZA(h)|0;j=WEa(192)|0;g=c[e+40>>2]|0;b[h+28>>1]=0;b[h+30>>1]=1;XX(j,g,h+28|0);c[j+52>>2]=c[e+44>>2];ZX(j,e);U2(a,d,j,f);DL(h)|0}while((aB(h)|0)<<24>>24==0)}}while(0);i=h;return}function Z2(a,d,f){a=a|0;d=d|0;f=f|0;if((c[d+48>>2]&-5|0)==2){a=e[f+6>>1]|0;b[f+6>>1]=((kl(f)|0)&65535)+a;a=e[f+2>>1]|0;b[f+2>>1]=a-((kl(f)|0)&65535)}else{a=e[f>>1]|0;b[f>>1]=a-((ll(f)|0)&65535);a=e[f+4>>1]|0;b[f+4>>1]=((ll(f)|0)&65535)+a}return 1}function _2(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;h=i;i=i+16|0;if(!((b|0)!=0&(d|0)!=0)){c[h>>2]=338736;c[h+4>>2]=1901;$L(337e3,338704,2,1702e3,h)}if(!((c[b+76>>2]|0)!=0?(c[d+76>>2]|0)!=0:0)){c[h>>2]=338736;c[h+4>>2]=1902;$L(337e3,338768,2,1702e3,h)}e=c[b+52>>2]|0;if((e|0)==1)if((c[d+52>>2]|0)>2)e=0;else g=10;else if((e|0)>2?(c[d+52>>2]|0)==1:0)e=0;else g=10;do if((g|0)==10){e=c[b+48>>2]|0;if(!((e&-5|0)!=2?(c[d+48>>2]&-5|0)!=2:0))g=12;if((g|0)==12?(k=c[b+40>>2]|0,l=c[d+40>>2]|0,f=c[b+36>>2]|0,j=c[d+36>>2]|0,(((k|0)>(l|0)?l:k)-((f|0)<(j|0)?j:f)|0)<1):0){l=c[b+76>>2]|0;if(!((l|0)!=0?(l|0)==(c[l>>2]|0):0)){f=c[d+76>>2]|0;if(!f){e=0;break}if((f|0)!=(c[f>>2]|0)){e=0;break}}if(!(Kk(b+16|0,d+16|0)|0)){e=0;break}}if(!(!((e|0)==1|(e|0)==7)?(l=c[d+48>>2]|0,!((l|0)==1|(l|0)==7)):0))g=20;if((g|0)==20?(j=c[b+28>>2]|0,g=c[d+28>>2]|0,l=c[b+24>>2]|0,k=c[d+24>>2]|0,(((j|0)>(g|0)?g:j)-((l|0)<(k|0)?k:l)|0)<1):0){l=c[b+76>>2]|0;if(!((l|0)!=0?(l|0)==(c[l>>2]|0):0)){e=c[d+76>>2]|0;if(!e){e=0;break}if((e|0)!=(c[e>>2]|0)){e=0;break}}if((!(Kk(b+16|0,d+16|0)|0)?!(vY(b,d,0)|0):0)?!(vY(d,b,0)|0):0){e=0;break}}if(rY(b,d)|0){if((c[b+52>>2]|0)<2?(c[d+52>>2]|0)<2:0){e=1;break}e=X2(a,b+16|0,d+16|0)|0}else e=0}while(0);i=h;return e|0}function $2(){c[84250]=1701984;c[84252]=389976;c[84254]=390024;c[84256]=390056;c[84258]=390112;c[84260]=390152;c[84262]=390184;c[84264]=390240;c[84266]=390280;c[84268]=390328;c[84270]=390376;c[84272]=390400;c[84274]=390432;c[84276]=390504;c[84278]=390552;c[84280]=390592;c[84282]=390640;rJ(337136,0,337160,337200,0,kM()|0);Wk(337224,0,337240,337280,0,kM()|0);return}function a3(a){a=a|0;var b=0,d=0.0,f=0.0,j=0.0,l=0,m=0,n=0,o=0;b=i;i=i+48|0;n=e[a+8>>1]|e[a+10>>1]<<16;m=e[a+12>>1]|e[a+14>>1]<<16;o=UGa(n|0,m|0,48)|0;l=F;m=_Ga(m|0,0,16)|0;l=_Ga(o|0,l|0,16)|0;j=+g[a+72>>2];f=+g[a+76>>2];o=gla(c[a+4>>2]|0)|0;d=+(o|0)*2.0/+(hla(c[a+4>>2]|0)|0);c[b>>2]=n<<16>>16;c[b+4>>2]=n>>16;c[b+8>>2]=m>>16;c[b+12>>2]=l>>16;h[k>>3]=j;c[b+16>>2]=c[k>>2];c[b+20>>2]=c[k+4>>2];h[k>>3]=f;c[b+24>>2]=c[k>>2];c[b+28>>2]=c[k+4>>2];h[k>>3]=d;c[b+32>>2]=c[k>>2];c[b+36>>2]=c[k+4>>2];jN(339368,b);i=b;return}function b3(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+48|0;k=e[b+8>>1]|e[b+10>>1]<<16;j=e[b+12>>1]|e[b+14>>1]<<16;l=UGa(k|0,j|0,48)|0;d=F;lV(a,k<<16>>16,k>>16,m+40|0,m+36|0);j=_Ga(j|0,0,16)|0;d=_Ga(l|0,d|0,16)|0;lV(a,j>>16,d>>16,m+32|0,m+28|0);d=c[m+36>>2]|0;j=c[m+28>>2]|0;if((d|0)<=(j|0)){g=c[a+8>>2]|0;l=ba(g,d)|0;h=c[m+32>>2]|0;k=c[m+40>>2]|0;while(1){if((k|0)>(h|0))f=g;else{f=k;while(1){fA(m,(c[a+28>>2]|0)+(f+l<<2)|0);gA(m);if(!((hA(m)|0)<<24>>24))do{if((iA(m)|0)==(b|0))ZA(m)|0;DL(m)|0}while((hA(m)|0)<<24>>24==0);if((f|0)<(h|0))f=f+1|0;else break}f=c[a+8>>2]|0}if((d|0)<(j|0)){g=f;l=f+l|0;d=d+1|0}else break}}i=m;return}function c3(a,b){a=+a;b=b|0;if(a==0.0)b=(b|0)==5;else b=(b|0)!=5&((b|0)!=12&(b|0)>3);return b|0}function d3(a,b){a=+a;b=b|0;if(a==0.0)b=(b|0)!=5&((b|0)!=12&(b|0)>3);else b=(b|0)==5;return b|0}function e3(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0.0;k=i;i=i+112|0;fA(k+84|0,f);fA(k+56|0,g);fA(k+28|0,h);pk(k,b);rk(k);if(!(sk(k)|0))do{h=tk(k)|0;l=+((ll(h+8|0)|0)<<16>>16);l=l/+((kl(h+8|0)|0)<<16>>16);b=(1.0/l>l?1.0/l:l)<=2.0;g=(a[h+112>>0]|0)==0;if(!(a[h+113>>0]|0))if(!g){c[e>>2]=(c[e>>2]|0)+1;if(b)CT(k+56|0,h)}else j=9;else if(g){c[d>>2]=(c[d>>2]|0)+1;if(b)CT(k+84|0,h)}else j=9;if((j|0)==9?(j=0,b):0)CT(k+28|0,h);OL(k)|0}while(!(sk(k)|0));i=k;return}function f3(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=c[(c[a>>2]|0)+4>>2]|0;c[a+16>>2]=((e-d<<1)+-1+f|0)/(f|0)|0;c[a+20>>2]=0;JT(a,b,e);return}function g3(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;e=d?-1:1;while(1){if(!((hA(b+56|0)|0)<<24>>24)){LT(b);if(!(a[b+44>>0]|0)){e=14;break}MT(f,b+84|0,c[b+48>>2]|0);if(!(c[f>>2]|0)){e=12;break}else continue}d=c[b+20>>2]|0;c[b+20>>2]=d+1;if((d|0)>=(c[b+16>>2]|0)){d=(c[b+36>>2]|0)+e|0;c[b+36>>2]=d;c[b+20>>2]=0;if((d|0)<0){e=6;break}if((d|0)<(c[(c[b>>2]|0)+8>>2]|0))d=0;else{e=6;break}}else d=d+1|0;d=(c[b+8>>2]|0)-d|0;c[b+40>>2]=d;if((d|0)<=-1)continue;if((d|0)>=(c[(c[b>>2]|0)+12>>2]|0))continue;KT(b)}if((e|0)==6){c[b+48>>2]=0;c[b+52>>2]=0;d=0}else if((e|0)==12)if(!(a[b+44>>0]|0))e=14;else{NT(f+8|0,b+84|0,b+48|0);e=14}if((e|0)==14)d=c[b+48>>2]|0;i=f;return d|0}function h3(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a+12>>2]=e;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=3;JT(a,b,d);return}function i3(d){d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+32|0;while(1){if(!((hA(d+56|0)|0)<<24>>24)){LT(d);if(!(a[d+44>>0]|0)){f=16;break}MT(h,d+84|0,c[d+48>>2]|0);if(!(c[h>>2]|0)){f=14;break}else continue}g=(c[d+20>>2]|0)+1|0;c[d+20>>2]=g;f=c[d+16>>2]|0;e=c[d+24>>2]|0;if((g|0)>=(f|0)){c[d+24>>2]=e+1;c[d+20>>2]=0;if((e|0)>2){c[d+16>>2]=f+1;if((f|0)>=(c[d+12>>2]|0)){f=6;break}c[d+24>>2]=0;e=0}else e=e+1|0}kda(h+20|0,e);f=(c[d+16>>2]|0)-(c[d+20>>2]|0)<<16>>16;b[h+20>>1]=ba(f,b[h+20>>1]|0)|0;b[h+22>>1]=ba(b[h+22>>1]|0,f)|0;kda(h+16|0,(c[d+24>>2]|0)+1|0);f=c[d+20>>2]<<16>>16;e=(ba(b[h+16>>1]|0,f)|0)&65535;eB(h+20|0,e,(ba(b[h+18>>1]|0,f)|0)&65535);f=(b[h+20>>1]|0)+(c[d+4>>2]|0)|0;c[d+36>>2]=f;e=(b[h+22>>1]|0)+(c[d+8>>2]|0)|0;c[d+40>>2]=e;if((f|0)<=-1)continue;g=c[d>>2]|0;if(!((e|0)>-1?(f|0)<(c[g+8>>2]|0):0))continue;if((e|0)>=(c[g+12>>2]|0))continue;KT(d)}if((f|0)==6){c[d+48>>2]=0;c[d+52>>2]=0;e=0}else if((f|0)==14)if(!(a[d+44>>0]|0))f=16;else{NT(h+8|0,d+84|0,d+48|0);f=16}if((f|0)==16)e=c[d+48>>2]|0;i=h;return e|0}function j3(a,d,f,g,h,j,k){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0.0,m=0.0,n=0,o=0,p=0,q=0,r=0;q=i;i=i+16|0;c[j>>2]=lv(b[a>>1]|0,b[a+4>>1]|0,b[d>>1]|0,b[d+4>>1]|0)|0;c[k>>2]=HA(b[a+2>>1]|0,b[a+6>>1]|0,b[d+2>>1]|0,b[d+6>>1]|0)|0;r=e[d+4>>1]|e[d+6>>1]<<16;c[q>>2]=e[d>>1]|e[d+2>>1]<<16;c[q+4>>2]=r;bja(q,a);if(f){r=c[k>>2]|0;c[q+8>>2]=c[j>>2];c[q+12>>2]=r;jN(339336,q+8|0);jv(q)}if((((c[j>>2]|0)<=(h|0)?(c[k>>2]|0)<=(h|0):0)?(n=kl(q)|0,(n<<16>>16|0)<=(g|0)):0)?(o=ll(q)|0,(o<<16>>16|0)<=(g|0)):0){r=kl(a)|0;l=+(r<<16>>16)/+((ll(a)|0)<<16>>16);if(l<1.0)m=1.0/l;else m=l;if(+(n<<16>>16)/+(o<<16>>16)<1.0)l=1.0/(+(n<<16>>16)/+(o<<16>>16));else l=+(n<<16>>16)/+(o<<16>>16);if(l<=m*1.0625)a=1;else p=12}else p=12;if((p|0)==12)a=0;i=q;return a|0}function k3(a,b){a=a|0;b=b|0;var d=0;t3(a,b);d=c[a+92>>2]|0;if(d)t3(d,b);d=c[a+96>>2]|0;if(d)t3(d,b);d=c[a+100>>2]|0;if(d)t3(d,b);d=c[a+104>>2]|0;if(d)t3(d,b);return}function l3(b,d){b=b|0;d=d|0;var e=0;e=c[b+(d<<2)+92>>2]|0;do if((e|0)!=0?(c[e+84>>2]|0)==0:0){if((a[e+112>>0]|0)!=0?(a[e+113>>0]|0)==0:0){e=0;break}e=(c[e+((d^2)<<2)+92>>2]|0)==(b|0)?e:0}else e=0;while(0);return e|0}function m3(b,d){b=b|0;d=d|0;var e=0;e=c[b+(d<<2)+92>>2]|0;do if((e|0)!=0?(c[e+84>>2]|0)==0:0){if((a[e+113>>0]|0)!=0?(a[e+112>>0]|0)==0:0){e=0;break}e=(c[e+((d^2)<<2)+92>>2]|0)==(b|0)?e:0}else e=0;while(0);return e|0}function n3(a){a=a|0;return}function o3(a){a=a|0;YEa(a);return}function p3(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0;f=d[a+8>>0]|d[a+9>>0]<<8|d[a+10>>0]<<16|d[a+11>>0]<<24;g=d[a+12>>0]|d[a+13>>0]<<8|d[a+14>>0]<<16|d[a+15>>0]<<24;a=(c[a+4>>2]|0)+(g>>1)|0;if(g&1)f=c[(c[a>>2]|0)+f>>2]|0;return Vc[f&63](a,b,e)|0}function q3(a){a=a|0;return}function r3(a){a=a|0;YEa(a);return}function s3(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0;f=d[a+8>>0]|d[a+9>>0]<<8|d[a+10>>0]<<16|d[a+11>>0]<<24;g=d[a+12>>0]|d[a+13>>0]<<8|d[a+14>>0]<<16|d[a+15>>0]<<24;a=(c[a+4>>2]|0)+(g>>1)|0;if(g&1)f=c[(c[a>>2]|0)+f>>2]|0;return Vc[f&63](a,b,e)|0}function t3(a,b){a=a|0;b=b|0;var d=0,e=0;e=0;do{d=c[a+(e<<2)+92>>2]|0;if(d)FL(b,38,d);e=e+1|0}while((e|0)!=4);return}function u3(d,f,g,h,i,j,k,l){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;uT(d,f,g,h);c[d>>2]=339728;b[d+34>>1]=0;b[d+32>>1]=0;c[d+36>>2]=l;h=(e[h+2>>1]|0)+65535&65535;b[d+40>>1]=0;b[d+42>>1]=h;c[d+44>>2]=0;c[d+48>>2]=0;c[d+76>>2]=0;c[d+80>>2]=0;o4(d+88|0);o4(d+108|0);c[d+84>>2]=0;Lk(d+48|0,d+44|0);uX(d+48|0,i);v3(d,j,k);i=WEa(16)|0;c[i>>2]=340848;c[i+4>>2]=d;a[i+8>>0]=44;a[i+9>>0]=0;a[i+10>>0]=0;a[i+11>>0]=0;a[i+12>>0]=0;a[i+13>>0]=0;a[i+14>>0]=0;a[i+15>>0]=0;c[d+84>>2]=i;return}function v3(a,d,f){a=a|0;d=d|0;f=f|0;var g=0;g=i;i=i+16|0;Gha(a+32|0,d,f);if(c[77789]|0){f=b[a+34>>1]|0;c[g>>2]=b[a+32>>1];c[g+4>>2]=f;jN(340296,g)}Lk(a+48|0,a+44|0);Mk(a+48|0);if(!((Nk(a+48|0)|0)<<24>>24))do{f=Ok(a+48|0)|0;c[g+8>>2]=e[a+32>>1]|e[a+34>>1]<<16;f7(f,g+8|0,1)|0;VL(a+48|0)}while((Nk(a+48|0)|0)<<24>>24==0);Q3(a);i=g;return}function w3(a,c){a=a|0;c=c|0;var d=0;d=i;i=i+32|0;pk(d,a+80|0);rk(d);a:do if(sk(d)|0)a=0;else while(1){a=(tk(d)|0)+4|0;if(((b[a>>1]|0)+-1|0)<=((c|0)/20|0|0)?((c|0)/20|0|0)<=((b[a+2>>1]|0)+1|0):0){a=1;break a}OL(d)|0;if(sk(d)|0){a=0;break}}while(0);i=d;return a|0}function x3(a){a=a|0;var b=0;c[a>>2]=339728;b=c[a+84>>2]|0;if(b)Qc[c[(c[b>>2]|0)+4>>2]&511](b);p4(a+108|0);p4(a+88|0);KL(a+80|0,228);TL(a+76|0,232);TL(a+44|0,232);vT(a);return}function y3(a){a=a|0;x3(a);YEa(a);return}function z3(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;h=i;i=i+48|0;pk(h+8|0,e);rk(h+8|0);if(sk(h+8|0)|0){e=0;g=0}else{e=0;g=0;do{j=(A3(a,b,d,tk(h+8|0)|0,f)|0)&1;g=(j^1)+g|0;e=j+e|0;OL(h+8|0)|0}while(!(sk(h+8|0)|0))}if(c[77789]|0){c[h>>2]=e;c[h+4>>2]=g;jN(339744,h)}i=h;return}function A3(a,d,f,g,h){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;var j=0,k=0;j=i;i=i+16|0;k=e[g+12>>1]|e[g+14>>1]<<16;c[j>>2]=e[g+8>>1]|e[g+10>>1]<<16;c[j+4>>2]=k;b[g+48>>1]=B3(a,j,0)|0;b[g+50>>1]=C3(a,j,0)|0;b[g+52>>1]=B3(a,j,1)|0;b[g+54>>1]=C3(a,j,1)|0;if(!(c[g+24>>2]&1073741824)){IV(h,d,f,g);g=1}else g=0;i=j;return g|0}function B3(a,c,d){a=a|0;c=c|0;d=d|0;d=J3(a,c,d,0)|0;if(!d)d=b[a+20>>1]|0;else d=q4(d,((b[c+2>>1]|0)+(b[c+6>>1]|0)|0)/2|0)|0;return d|0}function C3(a,c,d){a=a|0;c=c|0;d=d|0;d=I3(a,c,d,0)|0;if(!d)d=b[a+24>>1]|0;else d=q4(d,((b[c+2>>1]|0)+(b[c+6>>1]|0)|0)/2|0)|0;return d|0}function D3(a,b){a=a|0;b=b|0;E3(a,b+4|0);E3(a,b+16|0);E3(a,b+12|0);E3(a,b+20|0);return}function E3(a,d){a=a|0;d=d|0;var f=0,g=0;f=i;i=i+48|0;pk(f+8|0,d);rk(f+8|0);if(!(sk(f+8|0)|0))do{d=tk(f+8|0)|0;g=e[d+12>>1]|e[d+14>>1]<<16;c[f>>2]=e[d+8>>1]|e[d+10>>1]<<16;c[f+4>>2]=g;b[d+48>>1]=B3(a,f,0)|0;b[d+50>>1]=C3(a,f,0)|0;b[d+52>>1]=B3(a,f,1)|0;b[d+54>>1]=C3(a,f,1)|0;OL(f+8|0)|0}while(!(sk(f+8|0)|0));i=f;return}function F3(a,d,e,f,g,h,j){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+112|0;o=(c[f+40>>2]|0)>>>0<2;n=q4(f,d)|0;m=q4(f,e)|0;DT(r,a);f3(r,(o?(m|0)>=(n|0):(m|0)<=(n|0))?m:n,d,e);c[j>>2]=0;a:while(1){while(1){n=g3(r,o)|0;if(!n)break a;k=b[n+10>>1]|0;if((k|0)>=(e|0))continue;l=b[n+14>>1]|0;if((l|0)<=(d|0))continue;m=ll(n+8|0)|0;if((m<<16>>16|0)>=(c[a+4>>2]<<1|0)?+(m<<16>>16)>+((kl(n+8|0)|0)<<16>>16)*10.0:0)continue;if(!g)break;if(((c[n+40>>2]|0)+-1|0)>>>0>=4)break}m=q4(f,(l+k|0)/2|0)|0;if(o){k=m-(b[n+12>>1]|0)|0;if((k|0)<0?(p=(b[n+8>>1]|0)-m|0,(p|0)<(c[j>>2]|0)):0)c[j>>2]=p}else{k=(b[n+8>>1]|0)-m|0;if((k|0)<0?(q=(b[n+12>>1]|0)-m|0,(q|0)>(c[j>>2]|0)):0)c[j>>2]=q}h=(k|0)>0&(k|0)<(h|0)?k:h}f=c[j>>2]|0;GT(r+84|0);i=r;return h-((f|0)>-1?f:0-f|0)|0}function G3(a,d,f,g,h,j,k){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+32|0;n=b[h+8>>1]|0;m=b[h+12>>1]|0;if(g){o=n<<16>>16;l=m;n=n<<16>>16}else{o=n<<16>>16;l=n;n=m<<16>>16}p=l<<16>>16;n=g?n-d|0:d-n|0;n=((n|0)>0?n:0)+f|0;c[j>>2]=n;m=b[h+10>>1]|0;o=xT(2,o,m<<16>>16)|0;if(o){jN(339792,q+16|0);m=b[h+10>>1]|0;n=c[j>>2]|0}n=H3(a,h,g,(c[h+44>>2]|0)==5,n,b[h+14>>1]|0,m<<16>>16)|0;if(!n)n=c[j>>2]|0;else{m=e[n+8>>1]|e[n+10>>1]<<16;if(g){n=_Ga(e[n+12>>1]|e[n+14>>1]<<16|0,0,16)|0;n=d-(n>>16)|0}else n=(m<<16>>16)-d|0;c[j>>2]=n}do if((n|0)>=(f|0)){n=e[h+12>>1]|e[h+14>>1]<<16;c[q+8>>2]=e[h+8>>1]|e[h+10>>1]<<16;c[q+12>>2]=n;if(g){b[q+8>>1]=d-f+65535;b[q+12>>1]=d-f;n=C3(a,q+8|0,1)|0;if((n|0)>=(d+-1|0))break;c[j>>2]=d-n;break}else{b[q+8>>1]=f+d;b[q+12>>1]=f+d+1;n=B3(a,q+8|0,1)|0;if((n|0)<=(d+1|0))break;c[j>>2]=n-d;break}}while(0);l=c[j>>2]|0;if((l|0)>(f|0)){c[j>>2]=f;l=f}if(o){jN(339816,q+16|0);l=c[j>>2]|0}m=H3(a,h,g^1,(c[h+44>>2]|0)==5,l,b[h+14>>1]|0,b[h+10>>1]|0)|0;if(g)l=C3(a,h+8|0,1)|0;else l=B3(a,h+8|0,1)|0;do if(m){n=e[m+8>>1]|e[m+10>>1]<<16;m=e[m+12>>1]|e[m+14>>1]<<16;c[q>>2]=n;c[q+4>>2]=m;if(o){jN(339840,q+16|0);jv(q)}if(g){l=(n<<16>>16|0)<(l|0)?n<<16>>16:l;break}else{a=_Ga(m|0,0,16)|0;l=(a>>16|0)>(l|0)?a>>16:l;break}}while(0);c[k>>2]=g?l-p|0:p-l|0;i=q;return}function H3(a,d,e,f,g,h,j){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;u=i;i=i+128|0;DT(u+16|0,a);k=b[d+8>>1]|0;o=b[d+12>>1]|0;f3(u+16|0,(o+k|0)/2|0,j,h);p=xT(3,k,j)|0;q=0;r=0;while(1){a=g3(u+16|0,e)|0;if(!a){t=24;break}if(p){jN(340496,u);jv(a+8|0)}if((a|0)==(d|0)){m=r;n=q;r=m;q=n;continue}if(f?(c[a+40>>2]|0)<5:0){m=r;n=q;r=m;q=n;continue}n=b[a+14>>1]|0;l=b[a+10>>1]|0;if(!(+(((n|0)<=(h|0)?n:h)-((l|0)>=(j|0)?l:j)|0)>+(((h-j|0)<=(n-l|0)?h-j|0:n-l|0)|0)*0.0)){if(!p){m=r;n=q;r=m;q=n;continue}jN(340648,u);m=r;n=q;r=m;q=n;continue}m=b[a+8>>1]|0;v=b[a+12>>1]|0;n=((m|0)>=(k|0)?m:k)-((v|0)<=(o|0)?v:o)|0;if(((v+m|0)/2|0|0)<((o+k|0)/2|0|0)^e|((v+m|0)/2|0|0)==((o+k|0)/2|0|0)){if(!p){n=r;v=q;r=n;q=v;continue}jN(340632,u);n=r;v=q;r=n;q=v;continue}if((n|0)>(g|0)){t=11;break}if((n|0)>0?(s=c[(e?a+36|0:a+32|0)>>2]|0,(s|0)>3):0){t=15;break}if(!((r|0)==0|(n|0)<(q|0)))break;if(!p){q=n;r=a;continue}jN(340616,u);q=n;r=a}if((t|0)==11){if(p){c[u>>2]=n;c[u+4>>2]=g;jN(340528,u)}}else if((t|0)==15){if(p){c[u>>2]=s;c[u+4>>2]=m;c[u+8>>2]=l;jN(340568,u)}}else if((t|0)==24?xT(3,k,b[d+14>>1]|0)|0:0)jN(340672,u);GT(u+100|0);i=u;return r|0}function I3(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=i;i=i+16|0;a:do if(!((uZ(a+48|0)|0)<<24>>24)){n=b[d+6>>1]|0;o=b[d+2>>1]|0;g=b[d+4>>1]|0;if(e)m=((g<<16>>16)+(b[d>>1]|0)|0)/2|0;else m=g<<16>>16;K3(a,m,(o+n|0)/2|0,p+4|0,p);l=(Mv(a+48|0)|0)<<24>>24==0;g=c[p+4>>2]|0;b:do if(l)while(1){if((c[(Ok(a+48|0)|0)+24>>2]|0)<(g|0)){j=g;break b}YL(a+48|0);if((Mv(a+48|0)|0)<<24>>24){j=g;break}}else j=g;while(0);c:do if(!((Kv(a+48|0)|0)<<24>>24))do{if((c[(Ok(a+48|0)|0)+24>>2]|0)>=(j|0))break c;VL(a+48|0)}while((Kv(a+48|0)|0)<<24>>24==0);while(0);k=c[p>>2]|0;g=0;h=-1;d=-1;while(1){l=Ok(a+48|0)|0;e=q4(l,(o+n|0)/2|0)|0;do if((e|0)>=(m|0)){r=b[l+14>>1]|0;q=b[l+10>>1]|0;if((((r|0)<(n|0)?r:n)-((q|0)>(o|0)?q:o)|0)<=0){if(!f){e=h;break}q=c[l+20>>2]|0;r=c[l+16>>2]|0;if((((q|0)<(n|0)?q:n)-((r|0)>(o|0)?r:o)|0)<=0){e=h;break}}if((g|0)==0|(e|0)<(h|0)){g=l;d=k+(c[l+24>>2]|0)-j|0}else e=h}else e=h;while(0);if((Kv(a+48|0)|0)<<24>>24)break a;if((g|0)!=0?(c[l+24>>2]|0)>(d|0):0)break a;VL(a+48|0);if(!((Mv(a+48|0)|0)<<24>>24))h=e;else break}}else g=0;while(0);i=p;return g|0}function J3(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=i;i=i+16|0;a:do if(!((uZ(a+48|0)|0)<<24>>24)){n=b[d+6>>1]|0;o=b[d+2>>1]|0;g=b[d>>1]|0;if(e)m=((b[d+4>>1]|0)+g|0)/2|0;else m=g;K3(a,m,(o+n|0)/2|0,p+4|0,p);l=(Kv(a+48|0)|0)<<24>>24==0;g=c[p>>2]|0;b:do if(l)while(1){if((c[(Ok(a+48|0)|0)+24>>2]|0)>(g|0)){j=g;break b}VL(a+48|0);if((Kv(a+48|0)|0)<<24>>24){j=g;break}}else j=g;while(0);c:do if(!((Mv(a+48|0)|0)<<24>>24))do{if((c[(Ok(a+48|0)|0)+24>>2]|0)<=(j|0))break c;YL(a+48|0)}while((Mv(a+48|0)|0)<<24>>24==0);while(0);k=c[p+4>>2]|0;g=0;h=-1;d=-1;while(1){l=Ok(a+48|0)|0;e=q4(l,(o+n|0)/2|0)|0;do if((e|0)<=(m|0)){r=b[l+14>>1]|0;q=b[l+10>>1]|0;if((((r|0)<(n|0)?r:n)-((q|0)>(o|0)?q:o)|0)<=0){if(!f){e=h;break}q=c[l+20>>2]|0;r=c[l+16>>2]|0;if((((q|0)<(n|0)?q:n)-((r|0)>(o|0)?r:o)|0)<=0){e=h;break}}if((g|0)==0|(e|0)>(h|0)){g=l;d=(c[l+24>>2]|0)-j+k|0}else e=h}else e=h;while(0);if((Mv(a+48|0)|0)<<24>>24)break a;if((g|0)!=0?(c[l+24>>2]|0)<(d|0):0)break a;YL(a+48|0);if(!((Kv(a+48|0)|0)<<24>>24))h=e;else break}}else g=0;while(0);i=p;return g|0}function K3(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;j=b[a+32>>1]|0;i=b[a+34>>1]|0;h=CZ(j,i,d,((b[a+26>>1]|0)+e|0)/2|0)|0;e=CZ(j,i,d,((b[a+22>>1]|0)+e|0)/2|0)|0;c[f>>2]=(h|0)<=(e|0)?h:e;c[g>>2]=(h|0)>=(e|0)?h:e;return}function L3(a,b){a=a|0;b=b|0;if((b<<1|0)<(a|0))a=1;else a=(a<<1|0)<(b|0);return a|0}function M3(a,b){a=a|0;b=b|0;if((b*5|0)<(a|0))a=1;else a=(a*5|0)<(b|0);return a|0}function N3(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;g=g|0;h=h|0;i=i|0;O3(a,c,e,f,d);P3(a,g);n7(a+32|0,a+44|0,a);Q3(a);R3(a);if(S3(a,b,c,d,h,i)|0){UZ(g,h);T3(a)}return}function O3(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;if(b)z3(a,1,0,b,a);z3(a,1,0,e+4|0,a);W3(a,c,d);X3(a,c);n7(a+32|0,a+44|0,a);Q3(a);Y3(a);Z3(a);return}function P3(a,d){a=a|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;e=((b[a+24>>1]|0)-(b[a+20>>1]|0)|0)/20|0;Aka(f,0,e+1|0);e4(a,d,f);if((c[77789]|0)>1)Rka(f);f4(a,e,f);e4(a,d,0);Eka(f);i=f;return}function Q3(a){a=a|0;WL(a+44|0,45);Lk(a+48|0,a+44|0);return}function R3(a){a=a|0;var b=0,d=0;d=i;i=i+64|0;Lk(d+28|0,a+44|0);Lk(d,a+76|0);Mk(d+28|0);if(!((Nk(d+28|0)|0)<<24>>24))do{b=Ok(d+28|0)|0;if((c[b+40>>2]|0)!=5?(c[b+48>>2]|0)!=0:0)s7(b,a+32|0,a);else{nZ(d,hv(d+28|0)|0);Lk(a+48|0,a+44|0)}VL(d+28|0)}while((Nk(d+28|0)|0)<<24>>24==0);i=d;return}function S3(b,d,f,h,j,k){b=b|0;d=d|0;f=f|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0;l=i;i=i+96|0;j4(b,j,k);if(+g[j>>2]<.866025)h=0;else{i4(j,f);i4(j,h+4|0);i4(j,h+16|0);i4(j,h+12|0);if(a[311674]|0){k=bs(VM(c[77958]|0)|0)|0;c[l+4>>2]=k;o=Cp(k)|0;m=up(k)|0;k=ks(k,-+Z(+(+g[j+4>>2]),+(+g[j>>2])),o,m)|0;c[l+40>>2]=k;c[l+36>>2]=((m|0)/2|0)<<16|((o|0)/2|0)&65535;yD(l+36|0,+g[j>>2],+g[j+4>>2]);n=c[l+36>>2]|0;eB(b+40|0,n-((o|0)/2|0)&65535,(n>>>16)-((m|0)/2|0)&65535);n=Cp(k)|0;eB(b+40|0,((o-n|0)/2|0)&65535,(((up(k)|0)-m|0)/2|0)&65535);Ou(VM(c[77958]|0)|0,k,3);cp(l+4|0);cp(l+40|0)}Lk(l+8|0,d);Mk(l+8|0);if(!((Nk(l+8|0)|0)<<24>>24))do{i7(Ok(l+8|0)|0,j);VL(l+8|0)}while((Nk(l+8|0)|0)<<24>>24==0);Lk(l+48|0,b+76|0);Mk(l+48|0);if(!((Nk(l+48|0)|0)<<24>>24))do{i7(Ok(l+48|0)|0,j);VL(l+48|0)}while((Nk(l+48|0)|0)<<24>>24==0);v3(b,0,1);c[l+44>>2]=e[b+20>>1]|e[b+22>>1]<<16;c[l>>2]=e[b+24>>1]|e[b+26>>1]<<16;_ia(l+80|0,l+44|0,l);aja(l+80|0,j);KV(b,c[b+4>>2]|0,l+80|0,l+84|0);z3(b,0,0,f,b);z3(b,1,0,h+4|0,b);h=1}i=l;return h|0}function T3(a){a=a|0;var d=0,e=0;e=i;i=i+64|0;Lk(e+28|0,a+44|0);Mk(e+28|0);if(!((Nk(e+28|0)|0)<<24>>24))do{j7(Ok(e+28|0)|0);VL(e+28|0)}while((Nk(e+28|0)|0)<<24>>24==0);Mk(e+28|0);if(!((Nk(e+28|0)|0)<<24>>24))do{k7(Ok(e+28|0)|0);VL(e+28|0)}while((Nk(e+28|0)|0)<<24>>24==0);Mk(e+28|0);if(!((Nk(e+28|0)|0)<<24>>24))do{a=Ok(e+28|0)|0;if(((c[a+40>>2]|0)+-3|0)>>>0<2?(c[e+0>>2]=c[e+28>>2],c[e+4>>2]=c[e+32>>2],c[e+8>>2]=c[e+36>>2],c[e+12>>2]=c[e+40>>2],c[e+16>>2]=c[e+44>>2],c[e+20>>2]=c[e+48>>2],c[e+24>>2]=c[e+52>>2],VL(e),(Mv(e)|0)<<24>>24==0):0)do{d=Ok(e)|0;if((c[d+40>>2]|0)>>>0<2?(s4(b[a+10>>1]|0,b[a+14>>1]|0,b[d+10>>1]|0,b[d+14>>1]|0)|0)!=0:0)l7(a,d);VL(e)}while((Mv(e)|0)<<24>>24==0);VL(e+28|0)}while((Nk(e+28|0)|0)<<24>>24==0);Mk(e+28|0);if(!((Nk(e+28|0)|0)<<24>>24))do{a=Ok(e+28|0)|0;if((c[a+40>>2]|0)!=5)m7(a);VL(e+28|0)}while((Nk(e+28|0)|0)<<24>>24==0);i=e;return}function U3(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;z3(a,0,0,b,a);z3(a,1,0,c+4|0,a);g[d>>2]=1.0;g[d+4>>2]=0.0;g[e>>2]=1.0;g[e+4>>2]=0.0;return}function V3(a){a=a|0;var b=0,d=0;d=i;i=i+64|0;pk(d+32|0,a+20|0);pk(d+4|0,a+4|0);rk(d+32|0);if(sk(d+32|0)|0)b=0;else{b=0;do{if(c[(tk(d+32|0)|0)+84>>2]|0){qv(d+4|0,pv(d+32|0)|0);b=b+1|0}OL(d+32|0)|0}while(!(sk(d+32|0)|0))}if(c[77789]|0){c[d>>2]=b;jN(339864,d)}iba(a);i=d;return}function W3(a,b,d){a=a|0;b=b|0;d=+d;var e=0,f=0;f=i;i=i+112|0;p4(a+88|0);p4(a+108|0);DT(f,a);C0(f);while(1){e=D0(f)|0;if(!e)break;if(!(_3(a,e,b,d)|0))continue;if(c[e+32>>2]|0)t4(a+88|0,e);if(!(c[e+36>>2]|0))continue;t4(a+108|0,e)}u4(c[a+88>>2]|0,c[a+96>>2]|0,38);u4(c[a+108>>2]|0,c[a+116>>2]|0,46);GT(f+84|0);i=f;return}function X3(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+48|0;c[f+44>>2]=0;c[f+40>>2]=0;c[f+36>>2]=1;d=3;do{e=c4(a,d,0,b,f+44|0,f+40|0,f+36|0)|0;g=d;d=d+3|0}while(((c4(a,g,3,b,f+44|0,f+40|0,f+36|0)|0)+e|0)<1&(d|0)<12);TL(f+44|0,232);if((c[a+88>>2]|0)>0){e=0;do{d=(c[(w4(a+88|0,e)|0)>>2]|0)+32|0;if((c[d>>2]|0)==4)c[d>>2]=3;e=e+1|0}while((e|0)<(c[a+88>>2]|0))}if((c[a+108>>2]|0)>0){e=0;do{d=(c[(w4(a+108|0,e)|0)>>2]|0)+36|0;if((c[d>>2]|0)==4)c[d>>2]=3;e=e+1|0}while((e|0)<(c[a+108>>2]|0))}if(c[77789]|0){g=c[f+36>>2]|0;c[f>>2]=c[f+40>>2];c[f+4>>2]=g;jN(340240,f)}c4(a,12,0,b,f+44|0,f+40|0,f+36|0)|0;c4(a,12,3,b,f+44|0,f+40|0,f+36|0)|0;c4(a,25,1,b,f+44|0,f+40|0,f+36|0)|0;c4(a,25,4,b,f+44|0,f+40|0,f+36|0)|0;Lk(f+8|0,a+44|0);uX(f+8|0,f+44|0);v3(a,c[f+40>>2]|0,c[f+36>>2]|0);TL(f+44|0,232);i=f;return}function Y3(a){a=a|0;var d=0,e=0;e=i;i=i+32|0;Lk(e,a+44|0);Mk(e);if(!((Nk(e)|0)<<24>>24))do{d=Ok(e)|0;do if((c[d+40>>2]|0)!=5){t7(d,a+32|0,a);if((CL(d+44|0)|0)>=3){if(!(xT(3,b[d+8>>1]|0,b[d+10>>1]|0)|0))break;Z6(d,340344);break}if((c[77789]|0)>2)Z6(d,340328);d=hv(e)|0;if(d){d7(d);YEa(d)}Lk(a+48|0,a+44|0)}while(0);VL(e)}while((Nk(e)|0)<<24>>24==0);i=e;return}function Z3(b){b=b|0;var d=0;d=i;i=i+112|0;if(c[77789]|0)jN(340408,d);DT(d,b);C0(d);while(1){b=D0(d)|0;if(!b)break;if((c[b+40>>2]|0)<5)continue;if(!(a[b+113>>0]|0))continue;if(a[b+112>>0]|0)continue;c[b+40>>2]=6}GT(d+84|0);i=d;return}function _3(d,f,g,h){d=d|0;f=f|0;g=g|0;h=+h;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;I=i;i=i+144|0;DT(I+32|0,d);E=e[f+8>>1]|e[f+10>>1]<<16;F=e[f+12>>1]|e[f+14>>1]<<16;c[I>>2]=E;c[I+4>>2]=F;y=b[f+48>>1]|0;z=b[f+50>>1]|0;A=UGa(E|0,F|0,48)|0;B=(A&65535)<<16>>16;C=UGa(E|0,F|0,16)|0;D=(C&65535)<<16>>16;k=ll(I)|0;H=xT(3,(E&65535)<<16>>16,B)|0;if(H){c[I+8>>2]=(E&65535)<<16>>16;c[I+12>>2]=B;c[I+16>>2]=(F&65535)<<16>>16;c[I+20>>2]=D;c[I+24>>2]=y<<16>>16;c[I+28>>2]=z<<16>>16;jN(339904,I+8|0)}x=c[d+4>>2]|0;h3(I+32|0,(((F&65535)<<16>>16)+((E&65535)<<16>>16)|0)/2|0,(D+B|0)/2|0,(((k<<16>>16)*5|0)+-1+x|0)/(x|0)|0);x=(~~(+(k<<16>>16)*h)|0)<(g|0)?g:~~(+(k<<16>>16)*h);G=(c[d+4>>2]|0)*5|0;G=(G|0)<(g|0)?g:G;l=(a[f+114>>0]|0)!=0;m=l?-2147483647:0;j=(a[f+115>>0]|0)!=0;k=j?-2147483647:0;w=~~(+(c[d+36>>2]|0)*.03125);p=l^1;o=j^1;n=m;l=l^1;j=j^1;g=k;a:while(1){while(1){q=i3(I+32|0)|0;if(!q)break a;if((q|0)==(f|0))continue;r=e[q+8>>1]|e[q+10>>1]<<16;t=e[q+12>>1]|e[q+14>>1]<<16;u=UGa(r|0,t|0,16)|0;v=UGa(r|0,t|0,48)|0;if(H){c[I+8>>2]=(r&65535)<<16>>16;c[I+12>>2]=(u&65535)<<16>>16;c[I+16>>2]=(t&65535)<<16>>16;c[I+20>>2]=(v&65535)<<16>>16;jN(339960,I+8|0)}if((t&65535)<<16>>16>z<<16>>16?1:(r&65535)<<16>>16>16)continue;if((E&65535)<<16>>16<(b[q+48>>1]|0))continue;if((F&65535)<<16>>16<=(b[q+50>>1]|0))break}s=(((v&65535)<<16>>16)+((u&65535)<<16>>16)|0)/2|0;q=((t&65535)<<16>>16|0)<(((E&65535)<<16>>16)-x|0);do if(((((t&65535)<<16>>16)+((r&65535)<<16>>16)|0)/2|0|0)>((E&65535)<<16>>16|0)|q){if((((E&65535)<<16>>16)-((r&65535)<<16>>16)|0)<=(w|0)?(w|0)>=(0-(((E&65535)<<16>>16)-((r&65535)<<16>>16))|0):0){if(H)jN(340008,I+8|0);n=((s|0)<(D|0)&(n|0)>-2147483647&1)+n|0;m=((s|0)>(B|0)&(m|0)>-2147483647&1)+m|0;break}if(!((r&65535)<<16>>16>=(E&65535)<<16>>16?1:(t&65535)<<16>>16<(E&65535)<<16>>16)){if(H)jN(340032,I+8|0);n=(((s|0)<(D|0)&(n|0)>-2147483647)<<31>>31)+n|0;m=(((s|0)>(B|0)&(m|0)>-2147483647)<<31>>31)+m|0}}else{if(H)jN(339992,I+8|0);p=0;n=(s|0)<(B|0)?-2147483647:n;m=(s|0)>(D|0)?-2147483647:m}while(0);if(!((r&65535)<<16>>16>=(E&65535)<<16>>16?1:(C&65535)<<16>>16>(v&65535)<<16>>16))if((A&65535)<<16>>16<(u&65535)<<16>>16|q|H^1)l=((A&65535)<<16>>16<(u&65535)<<16>>16|q)&l;else{jN(340056,I+8|0);l=0}q=((r&65535)<<16>>16|0)>(x+((F&65535)<<16>>16)|0);do if(((((t&65535)<<16>>16)+((r&65535)<<16>>16)|0)/2|0|0)<((F&65535)<<16>>16|0)|q){if((((F&65535)<<16>>16)-((t&65535)<<16>>16)|0)<=(w|0)?(w|0)>=(0-(((F&65535)<<16>>16)-((t&65535)<<16>>16))|0):0){if(H)jN(340104,I+8|0);g=((s|0)<(D|0)&(g|0)>-2147483647&1)+g|0;k=((s|0)>(B|0)&(k|0)>-2147483647&1)+k|0;break}if(!((t&65535)<<16>>16<=(F&65535)<<16>>16?1:(r&65535)<<16>>16>(F&65535)<<16>>16)){if(H)jN(340128,I+8|0);g=(((s|0)<(D|0)&(g|0)>-2147483647)<<31>>31)+g|0;k=(((s|0)>(B|0)&(k|0)>-2147483647)<<31>>31)+k|0}}else{if(H)jN(340080,I+8|0);o=0;g=(s|0)<(B|0)?-2147483647:g;k=(s|0)>(D|0)?-2147483647:k}while(0);if(!((t&65535)<<16>>16<=(F&65535)<<16>>16?1:(C&65535)<<16>>16>(v&65535)<<16>>16))if((A&65535)<<16>>16<(u&65535)<<16>>16|q|H^1)j=((A&65535)<<16>>16<(u&65535)<<16>>16|q)&j;else{jN(340152,I+8|0);j=0}if((n|0)==-2147483647&(m|0)==-2147483647&(g|0)==-2147483647&(k|0)==-2147483647){n=-2147483647;m=-2147483647;g=-2147483647;k=-2147483647;break}}do if(p|(m|0)>1|(n|0)>1)c[f+32>>2]=3;else{if(l?$3(d,f,G)|0:0){c[f+32>>2]=2;break}c[f+32>>2]=0}while(0);do if(o|(k|0)>1|(g|0)>1){c[f+36>>2]=3;k=3}else{if(j?a4(d,f,G)|0:0){c[f+36>>2]=2;k=2;break}c[f+36>>2]=0;k=0}while(0);if(H){j=c[f+32>>2]|0;if((j|0)==3)g=340216;else g=(j|0)==2?340224:340232;if((k|0)==3)j=340216;else j=(k|0)==2?340224:340232;c[I+8>>2]=g;c[I+12>>2]=j;jN(340176,I+8|0)}if(!(c[f+32>>2]|0))j=(c[f+36>>2]|0)!=0;else j=1;GT(I+116|0);i=I;return j|0}function $3(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,j=0;g=i;i=i+16|0;h=e[d+8>>1]|e[d+10>>1]<<16;j=e[d+12>>1]|e[d+14>>1]<<16;c[g>>2]=h;c[g+4>>2]=j;b[g+4>>1]=h;b[g>>1]=h-f;a=b4(a,g,d+8|0)|0;i=g;return a|0}function a4(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0;g=i;i=i+16|0;h=e[d+12>>1]|e[d+14>>1]<<16;c[g>>2]=e[d+8>>1]|e[d+10>>1]<<16;c[g+4>>2]=h;b[g>>1]=h;b[g+4>>1]=h+f;a=b4(a,g,d+8|0)|0;i=g;return a|0}function b4(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+112|0;DT(d,a);WV(d,b);while(1){b=XV(d)|0;if(!b){b=1;break}if(!(GA(b+8|0,c)|0))continue;if(!(KW(b+8|0,c)|0)){b=0;break}}GT(d+84|0);i=d;return b|0}function c4(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0;n=i;i=i+32|0;Lk(n,f);k=(d+-3|0)>>>0<2?a+108|0:a+88|0;if((c[k>>2]|0)>0){l=0;f=0;do{j=c[(w4(k,l)|0)>>2]|0;if((d+-3|0)>>>0<2){if((c[j+36>>2]|0)==3)m=5}else if((c[j+32>>2]|0)==3)m=5;if((m|0)==5){m=0;j=d4(a,b,e,d,j,g,h)|0;if(j){ov(n,j);f=f+1|0}}l=l+1|0}while((l|0)<(c[k>>2]|0))}else f=0;i=n;return f|0}function d4(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0;j=i;i=i+96|0;k=(ll(f+8|0)|0)<<16>>16;l=c[a+4>>2]|0;rT(j+48|0,c[g>>2]|0,c[h>>2]|0,(k|0)<(l|0)?l:k,b,d,c[a+36>>2]|0,e);b=j+0|0;d=j+48|0;e=b+48|0;do{c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0}while((b|0)<(e|0));l=yT(a,j,f,g,h)|0;i=j;return l|0}function e4(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+160|0;bA(l+56|0,d);cA(l+56|0);a:while(1){j=dA(l+56|0)|0;if(!j)break;fA(l+28|0,j+76|0);if((aB(l+28|0)|0)<<24>>24)continue;d=iA(l+28|0)|0;IL(l+28|0);h=iA(l+28|0)|0;g=J3(a,d+8|0,1,0)|0;if(!g)continue;if(((c[g+40>>2]|0)+-3|0)>>>0<2)continue;f=I3(a,h+8|0,1,0)|0;if(!f)continue;if((c[f+40>>2]|0)>>>0<2)continue;k=q4(g,b[d+10>>1]|0)|0;k=(q4(f,b[h+10>>1]|0)|0)-k|0;if(e){g4(a,d,h,g,f);if((k|0)<=199)continue;Fka(e,(k|0)/20|0,1);continue}pk(l,a+80|0);rk(l);while(1){if(sk(l)|0)continue a;f=(tk(l)|0)+4|0;g=b[f+2>>1]|0;if((((k|0)/20|0)+1-g|0)>>>0<3)break;OL(l)|0}d=((kl(j+16|0)|0)<<16>>16|0)/20|0;if((d|0)>(g|0))continue;if((d|0)<=(b[f>>1]|0))continue;b[f>>1]=d}jA(l+140|0);i=l;return}function f4(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,j=0,l=0,m=0.0,n=0;n=i;i=i+48|0;pk(n+16|0,a+80|0);j=c[e+8>>2]|0;if((j|0)>0)do{l=Gka(e)|0;a=mx(e,l)|0;Fka(e,l,0-a|0);a:do if((l+-1|0)>0){g=l+-1|0;do{f=mx(e,g)|0;if((f|0)<=0)break a;a=f+a|0;Fka(e,g,0-f|0);g=g+-1|0}while((g|0)>0)}while(0);b:do if((l+1|0)<(d|0)){g=l+1|0;do{f=mx(e,g)|0;if((f|0)<=0)break b;a=f+a|0;Fka(e,g,0-f|0);g=g+1|0}while((g|0)<(d|0))}while(0);if(((a|0)>10?(m=+(a|0),m>+(j|0)*.125):0)?(g=WEa(8)|0,c[g>>2]=0,b[g+4>>1]=0,b[g+6>>1]=l,Ck(n+16|0,g),(c[77789]|0)!=0):0){c[n>>2]=l*20;c[n+4>>2]=a;h[k>>3]=m*100.0/+(j|0);c[n+8>>2]=c[k>>2];c[n+12>>2]=c[k+4>>2];jN(340360,n)}}while((c[e+8>>2]|0)>0);i=n;return}function g4(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;j=i;i=i+16|0;do if((c[f+40>>2]|0)==5){h=J3(a,d+8|0,1,1)|0;if((!((h|0)==0|(h|0)==(f|0))?(c[h+40>>2]|0)>>>0<2:0)?(k=b[d+14>>1]|0,l=q4(h,k)|0,(l|0)>(q4(f,k)|0)):0){h7(h,d);d=h;break}l=WEa(60)|0;g7(l,f,1,a+32|0,d);XL(a+44|0,l);DZ(a+48|0);d=l}else d=f;while(0);do if((c[g+40>>2]|0)==5){f=b[e+12>>1]|0;h=b[e+10>>1]|0;if(xT(3,f,h)|0){l=b[e+14>>1]|0;c[j>>2]=f;c[j+4>>2]=h;c[j+8>>2]=l;jN(340704,j);Z6(g,340728)}f=I3(a,e+8|0,1,1)|0;if((!((f|0)==0|(f|0)==(g|0))?((c[f+40>>2]|0)+-3|0)>>>0<2:0)?(l=b[e+14>>1]|0,k=q4(f,l)|0,(k|0)<(q4(g,l)|0)):0){h7(f,e);if(!(xT(3,b[e+12>>1]|0,b[e+10>>1]|0)|0))break;Z6(f,340760);break}f=WEa(60)|0;g7(f,g,4,a+32|0,e);XL(a+44|0,f);DZ(a+48|0);if(xT(3,b[e+12>>1]|0,b[e+10>>1]|0)|0)Z6(f,340776)}else f=g;while(0);r7(d,f);r7(f,d);i=j;return}function h4(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,j=0.0,l=0.0;g=i;i=i+96|0;Lk(g+56|0,d);d=~~(+(c[a+36>>2]|0)*2.0);Aka(g+40|0,0,d);Aka(g+24|0,0,d);Mk(g+56|0);d=-1;while(1){if((Nk(g+56|0)|0)<<24>>24)break;a=Ok(g+56|0)|0;e=u7(a)|0;if(!((e|0)==0?1:(c[a+40>>2]|0)>>>0>1)){Fka(g+24|0,(b[e+8>>1]|0)-(b[a+8>>1]|0)|0,1);if((d|0)>0?(f=b[a+8>>1]|0,(f|0)>(d|0)):0)Fka(g+40|0,f-d|0,1);d=b[e+8>>1]|0}VL(g+56|0)}d=c[g+48>>2]|0;if(c[77789]|0){l=+Mka(g+40|0);j=+Mka(g+24|0);c[g>>2]=d;h[k>>3]=l;c[g+4>>2]=c[k>>2];c[g+8>>2]=c[k+4>>2];h[k>>3]=j;c[g+12>>2]=c[k>>2];c[g+16>>2]=c[k+4>>2];jN(340440,g)}if((d|0)<10)d=0;else d=~~+Mka(g+40|0);Eka(g+24|0);Eka(g+40|0);i=g;return d|0}function i4(a,b){a=a|0;b=b|0;var c=0,d=0.0;c=i;i=i+32|0;pk(c,b);rk(c);if(!(sk(c)|0))do{b=tk(c)|0;d=+g[a>>2];Daa(b,d,+g[a+4>>2]);OL(c)|0}while(!(sk(c)|0));i=c;return}function j4(a,c,d){a=a|0;c=c|0;d=d|0;var e=0.0,f=0;f=b[a+32>>1]|0;a=b[a+34>>1]|0;e=+R(+(+(x4(f,a,f,a)|0)));g[c>>2]=+(a<<16>>16)/e;g[c+4>>2]=+(f<<16>>16)/e;g[d>>2]=+(a<<16>>16)/e;g[d+4>>2]=-(+(f<<16>>16)/e);return}function k4(a,b,d,f){a=a|0;b=b|0;d=d|0;f=f|0;var g=0,h=0;h=i;i=i+112|0;c[h+4>>2]=0;Lk(h+40|0,h+4|0);c[h+36>>2]=0;Lk(h+8|0,h+36|0);while(1){if((uZ(a+48|0)|0)<<24>>24)break;g=hv(a+48|0)|0;if((c[g+40>>2]|0)==5){i7(g,b);nZ(h+40|0,g)}else nZ(h+8|0,g);VL(a+48|0)}g=h4(a,h+36|0)|0;if((g|0)>(c[f>>2]|0))c[f>>2]=g;Lk(h+72|0,d);Mk(h+72|0);while(1){if((Nk(h+72|0)|0)<<24>>24)break;i7(Ok(h+72|0)|0,b);VL(h+72|0)}uX(a+48|0,d);DZ(a+48|0);Lk(h+72|0,d);uX(h+72|0,h+4|0);c[h+68>>2]=e[a+20>>1]|e[a+22>>1]<<16;c[h>>2]=e[a+24>>1]|e[a+26>>1]<<16;_ia(h+104|0,h+68|0,h);aja(h+104|0,b);KV(a,c[a+4>>2]|0,h+104|0,h+108|0);TL(h+36|0,232);TL(h+4|0,232);i=h;return}function l4(a){a=a|0;var b=0;DZ(a+48|0);Mk(a+48|0);if(!((Nk(a+48|0)|0)<<24>>24))do{if((c[(Ok(a+48|0)|0)+40>>2]|0)!=5?(b=hv(a+48|0)|0,(b|0)!=0):0){d7(b);YEa(b)}VL(a+48|0)}while((Nk(a+48|0)|0)<<24>>24==0);TV(a);return}function m4(a){a=a|0;var d=0,f=0;d=i;i=i+48|0;c[d+36>>2]=0;Lk(d+8|0,d+36|0);DZ(a+48|0);while(1){if((uZ(a+48|0)|0)<<24>>24)break;f=hv(a+48|0)|0;VL(a+48|0);y4(f);_L(d+8|0,f)}uX(a+48|0,d+36|0);DZ(a+48|0);c[d+4>>2]=e[a+20>>1]|e[a+22>>1]<<16;c[d>>2]=e[a+24>>1]|e[a+26>>1]<<16;_ia(d+40|0,d+4|0,d);f=e[d+40>>1]|0;b[d+40>>1]=0-(e[d+44>>1]|0);b[d+44>>1]=0-f;KV(a,c[a+4>>2]|0,d+40|0,d+44|0);TL(d+36|0,232);i=d;return}function n4(){c[84858]=1701984;c[84860]=389976;c[84862]=390024;c[84864]=390056;c[84866]=390112;c[84868]=390152;c[84870]=390184;c[84872]=390240;c[84874]=390280;c[84876]=390328;c[84878]=390376;c[84880]=390400;c[84882]=390432;c[84884]=390504;c[84886]=390552;c[84888]=390592;c[84890]=390640;Wk(339568,0,339584,339624,0,kM()|0);Wk(339648,0,339664,339696,0,kM()|0);return}function o4(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;C4(a,4);return}function p4(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function q4(a,c){a=a|0;c=c|0;var d=0,e=0,f=0;d=b[a+14>>1]|0;e=b[a+10>>1]|0;f=b[a+8>>1]|0;if(d<<16>>16==e<<16>>16)d=f<<16>>16;else d=((ba((b[a+12>>1]|0)-(f<<16>>16)|0,c-(e<<16>>16)|0)|0)/((d<<16>>16)-(e<<16>>16)|0)|0)+(f<<16>>16)|0;return d|0}function r4(a,b){a=a|0;b=b|0;return (c[(c[a>>2]|0)+24>>2]|0)-(c[(c[b>>2]|0)+24>>2]|0)|0}function s4(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ((d<<16>>16>b<<16>>16?b:d)<<16>>16)-((c<<16>>16>16?a:c)<<16>>16)|0}function t4(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){D4(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function u4(a,b,c){a=a|0;b=b|0;c=c|0;DEa(b,a,4,c);return}function v4(a,d){a=a|0;d=d|0;var e=0,f=0;f=c[a>>2]|0;e=c[d>>2]|0;d=b[e+12>>1]|0;a=b[f+12>>1]|0;do if(d<<16>>16==a<<16>>16){d=b[e+8>>1]|0;a=b[f+8>>1]|0;if(d<<16>>16!=a<<16>>16){a=(d<<16>>16)-(a<<16>>16)|0;break}d=b[f+10>>1]|0;a=b[e+10>>1]|0;if(d<<16>>16==a<<16>>16){a=(b[f+14>>1]|0)-(b[e+14>>1]|0)|0;break}else{a=(d<<16>>16)-(a<<16>>16)|0;break}}else a=(d<<16>>16)-(a<<16>>16)|0;while(0);return a|0}function w4(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function x4(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return (ba(d<<16>>16,b<<16>>16)|0)+(ba(c<<16>>16,a<<16>>16)|0)|0}function y4(a){a=a|0;var d=0;b[a+8>>1]=0-(e[a+8>>1]|0);b[a+12>>1]=0-(e[a+12>>1]|0);c[a+24>>2]=0-(c[a+24>>2]|0);d=c[a+40>>2]|0;if((d|0)==4)c[a+40>>2]=1;else if(!d)c[a+40>>2]=3;else if((d|0)==3)c[a+40>>2]=0;else if((d|0)==1)c[a+40>>2]=4;return}function z4(a){a=a|0;return}function A4(a){a=a|0;YEa(a);return}function B4(a,b){a=a|0;b=b|0;var e=0,f=0;e=d[a+8>>0]|d[a+9>>0]<<8|d[a+10>>0]<<16|d[a+11>>0]<<24;f=d[a+12>>0]|d[a+13>>0]<<8|d[a+14>>0]<<16|d[a+15>>0]<<24;a=(c[a+4>>2]|0)+(f>>1)|0;if(f&1)e=c[(c[a>>2]|0)+e>>2]|0;return bd[e&63](a,b)|0}function C4(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function D4(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)C4(a,4);else C4(a,b<<1);return}function E4(a){a=a|0;if(a)YEa(a);return}function F4(b){b=b|0;c[b+0>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;EZ(b+16|0);EZ(b+48|0);EZ(b+80|0);C5(b+112|0);C5(b+144|0);a[b+176>>0]=1;return}function G4(a){a=a|0;F5(a+16|0);F5(a+48|0);F5(a+80|0);H5(a+112|0);H5(a+144|0);D5(a+144|0);D5(a+112|0);GZ(a+80|0);GZ(a+48|0);GZ(a+16|0);return}function H4(b,c){b=b|0;c=c|0;a[b+176>>0]=c&1;return}function I4(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;xX(a+16|0,b,c,d);xX(a+48|0,b,c,d);xX(a+80|0,b,c,d);I5(a+112|0,b,c,d);I5(a+144|0,b,c,d);return}function J4(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+144|0;K4(b,d);bA(h+32|0,d);a[h+76>>0]=1;cA(h+32|0);while(1){f=dA(h+32|0)|0;if(!f)break;if(!(c[f+48>>2]|0))continue;if((Jv(f+16|0)|0)<1)continue;g=KY(f)|0;d=c[f+72>>2]|0;if((d&-2|0)==12){L4(b,g);continue}if(!(Zj(d)|0)){M4(b,g);continue}fA(h,f+76|0);gA(h);d=0;while(1){if((hA(h)|0)<<24>>24)break;e=iA(h)|0;do if(N4(c[b+4>>2]|0,c[b+8>>2]|0,e)|0){if((c[e+44>>2]|0)!=6){if(!(c[e+40>>2]|0))break;ZX(g,e);break}if(!d){d=KY(f)|0;c[d+52>>2]=6}ZX(d,e)}while(0);DL(h)|0}$X(g);f=aZ(g)|0;O4(b,g);P4(b,f);if(!d)continue;$X(d);Q4(b,d)}d_(b+16|0);g_(b+16|0,0);jA(h+116|0);i=h;return}function K4(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+192|0;Aka(e+168|0,0,501);Aka(e+152|0,0,501);Aka(e+136|0,0,501);bA(e+32|0,d);a[e+76>>0]=1;cA(e+32|0);while(1){d=dA(e+32|0)|0;if(!d)break;if(!(Zj(c[d+72>>2]|0)|0))continue;fA(e,d+76|0);gA(e);while(1){if((hA(e)|0)<<24>>24)break;Fka(e+168|0,(ll((iA(e)|0)+8|0)|0)<<16>>16,1);Fka(e+152|0,(kl((iA(e)|0)+8|0)|0)<<16>>16,1);DL(e)|0}Fka(e+136|0,c[d+140>>2]|0,1);Fka(e+136|0,c[d+144>>2]|0,1)}c[b+4>>2]=~~(+Mka(e+168|0)+.5);c[b+8>>2]=~~(+Mka(e+152|0)+.5);c[b+12>>2]=~~(+Mka(e+136|0)+.5);jA(e+116|0);Eka(e+136|0);Eka(e+152|0);Eka(e+168|0);i=e;return}function L4(a,b){a=a|0;b=b|0;wA(a+48|0,b);return}function M4(a,b){a=a|0;b=b|0;wA(a+16|0,b);return}function N4(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0;d=+(ba(b,a)|0)*.05;if(+((ll(c+8|0)|0)<<16>>16)>+(a|0)*.3?+((kl(c+8|0)|0)<<16>>16)>+(b|0)*.4:0)c=+(Jv(c+8|0)|0)>d;else c=0;return c|0}function O4(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if(!b){c[d>>2]=341576;c[d+4>>2]=408;$L(340984,341560,2,1702e3,d)}if(!(e5(c[a+4>>2]|0,c[a+8>>2]|0,b)|0)){if(b){cY(b);YEa(b)}}else wA(a+16|0,b);i=d;return}function P4(a,d){a=a|0;d=d|0;var e=0,f=0,g=0.0,h=0,j=0;j=i;i=i+48|0;if(!d){c[j>>2]=341576;c[j+4>>2]=450;$L(340984,341560,2,1702e3,j)}if(!(c[d+76>>2]|0)){if(d){cY(d);YEa(d)}}else{e=c[d+44>>2]|0;if((e|0)<=0){c[j>>2]=341576;c[j+4>>2]=458;$L(340984,341608,2,1702e3,j);e=c[d+44>>2]|0}g=+(e|0)*2.0;a:while(1){fA(j+8|0,d+76|0);gA(j+8|0);if(!((hA(j+8|0)|0)<<24>>24))f=-2147483648;else break;while(1){e=iA(j+8|0)|0;if((f|0)!=-2147483648?(h=b[e+8>>1]|0,+(h-f|0)>g):0)break;e=b[e+12>>1]|0;DL(j+8|0)|0;if(!((hA(j+8|0)|0)<<24>>24))f=(f|0)<(e|0)?e:f;else break a}f=LY(d,(h+f|0)/2|0)|0;f5(a,d);d=f}f5(a,d)}i=j;return}function Q4(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if(!b){c[e>>2]=341576;c[e+4>>2]=424;$L(340984,341560,2,1702e3,e)}if((c[b+76>>2]|0)!=0?(Jv(b+16|0)|0)>0:0)wA(a+48|0,b);else d=6;if((d|0)==6?(b|0)!=0:0){cY(b);YEa(b)}i=e;return}function R4(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;S4(b,e);T4(b);c[h+8>>2]=0;U4(b,e,h+8|0);V4(b,h+8|0);W4(h+8|0,b+112|0);X4(b);c[h+4>>2]=0;Y4(b,h+4|0);c[h>>2]=0;Z4(b,h+4|0,h);W4(h,b+144|0);_4(b);$4(b);_4(b);j=(a[341450]|0)==0;a5(b);if(!j){b5(b);_4(b);b5(b)}if(a[341130]|0)c5(b,g);d5(b,d,e,f);KL(h,243);KL(h+4|0,243);KL(h+8|0,243);i=h;return}function S4(a,b){a=a|0;b=b|0;j5(a);k5(a+16|0,b);K4(a,a+16|0);return}function T4(a){a=a|0;l5(a);m5(a);n5(a);m5(a);return}function U4(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;h=i;i=i+16|0;e=c[a+28>>2]|0;if((e|0)>0){f=0;do{g=c[b+(f<<2)>>2]|0;if(!g)f=f+1|0;else{c[h>>2]=0;j=c[a+20>>2]|0;e=f+1|0;N_(g,ba(j,f)|0,ba(j,e)|0,h);g5(h,d);KL(h,243);f=e;e=c[a+28>>2]|0}}while((f|0)<(e|0))}i=h;return}function V4(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,j=0;j=i;i=i+144|0;pk(j+112|0,d);rk(j+112|0);if(!(sk(j+112|0)|0))do{g=tk(j+112|0)|0;h=e[g+8>>1]|e[g+10>>1]<<16;c[j>>2]=e[g+4>>1]|e[g+6>>1]<<16;c[j+4>>2]=h;bA(j+8|0,b+16|0);a[j+52>>0]=1;EX(j+8|0,j);h=0;d=0;a:while(1){while(1){f=FX(j+8|0)|0;if(!f)break a;f=c[f+72>>2]|0;if((f|0)==6)break;d=((f|0)==1&1)+d|0}h=h+1|0}if(!(d|h)){d=pv(j+112|0)|0;if(d)YEa(d)}else{c[g+12>>2]=h;c[g+16>>2]=d;s5(g)}jA(j+92|0);OL(j+112|0)|0}while(!(sk(j+112|0)|0));i=j;return}function W4(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+32|0;pk(c,a);rk(c);if(!(sk(c)|0))do{J5(b,pv(c)|0);OL(c)|0}while(!(sk(c)|0));i=c;return}function X4(a){a=a|0;var d=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;k=i;i=i+224|0;h=c[a+20>>2]|0;K5(k+112|0,a+112|0);L5(k+112|0);while(1){j=M5(k+112|0)|0;if(!j)break;if((c[j+20>>2]|0)!=1)continue;d=0;do{g=e[j+4>>1]|e[j+6>>1]<<16;l=e[j+8>>1]|e[j+10>>1]<<16;c[k>>2]=g;c[k+4>>2]=l;l=UGa(g|0,l|0,48)|0;l=_Ga(l|0,F|0,16)|0;m=b[a+42>>1]|0;f=b[a+38>>1]|0;b[k+6>>1]=((l>>16)+h|0)>(m|0)?m:(l>>16)+h|0;b[k+2>>1]=((g>>16)-h|0)<(f|0)?f:(g>>16)-h|0;K5(k+8|0,a+112|0);N5(k+8|0,k);g=0;a:while(1){b:while(1){while(1){f=O5(k+8|0)|0;if(!f)break a;if((f|0)==(j|0))continue;if(+hP(f+4|0,k)>=.9)break;if((c[f+20>>2]|0)!=2)continue;if(!(vx(f+4|0,k)|0))continue;if(!(sP(k,f+4|0)|0))break b}i5(j,f+4|0);P5(k+8|0);Q5(k+112|0);YEa(f);d=1}i5(j,f+4|0);P5(k+8|0);Q5(k+112|0);YEa(f);d=1;g=1}R5(k+92|0)}while(g);if(!d)continue;P5(k+112|0);J5(a+112|0,j);Q5(k+112|0)}R5(k+196|0);i=k;return}function Y4(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+240|0;pk(j+208|0,e);bA(j+104|0,d+16|0);cA(j+104|0);while(1){f=dA(j+104|0)|0;if(!f)break;if(a[f+128>>0]|0)continue;if((c[f+72>>2]|0)!=6)continue;e=WEa(24)|0;c[e>>2]=0;b[e+4>>1]=32767;b[e+6>>1]=32767;b[e+8>>1]=-32767;b[e+10>>1]=-32767;c[e+12>>2]=0;c[e+16>>2]=0;c[e+20>>2]=0;i5(e,f+16|0);a[f+128>>0]=1;bA(j,d+16|0);NA(j,b[f+16>>1]|0,b[f+20>>1]|0,b[f+18>>1]|0);h=0;a:while(1){while(1){g=OA(j,1)|0;if(!g)break a;if(a[g+128>>0]|0)continue;if(!(S5(g)|0))break}if((c[g+72>>2]|0)!=6)break;i5(e,g+16|0);a[g+128>>0]=1;h=1}if(h)Ck(j+208|0,e);else{a[f+128>>0]=0;YEa(e)}jA(j+84|0)}jA(j+188|0);i=j;return}function Z4(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+208|0;pk(n+24|0,f);pk(n+52|0,g);K5(n+80|0,d+112|0);L5(n+80|0);m=(b[d+42>>1]|0)-(b[d+38>>1]|0)|0;if((m|0)<=0){c[n+16>>2]=341576;c[n+20>>2]=1346;$L(340984,341680,2,1702e3,n+16|0)}k=XEa((m|0)>-1?m:-1)|0;a:while(1){g=M5(n+80|0)|0;if(!g)break;l=e[g+4>>1]|e[g+6>>1]<<16;j=e[g+8>>1]|e[g+10>>1]<<16;c[n+8>>2]=l;c[n+12>>2]=j;if((m|0)>0)YGa(k|0,0,m|0)|0;qk(n+24|0);rk(n+24|0);while(1){if(sk(n+24|0)|0)break;f=(tk(n+24|0)|0)+4|0;g=e[f+4>>1]|e[f+6>>1]<<16;c[n>>2]=e[f>>1]|e[f+2>>1]<<16;c[n+4>>2]=g;cja(n+192|0,n,n+8|0);g=b[n+194>>1]|0;f=b[n+198>>1]|0;if(g<<16>>16>16)YGa(k+((g<<16>>16)-(b[d+38>>1]|0))|0,1,(((g<<16>>16)+1|0)>(f<<16>>16|0)?(g<<16>>16)+1|0:f<<16>>16)-(g<<16>>16)|0)|0;OL(n+24|0)|0}b[n+186>>1]=32767;b[n+190>>1]=-32767;b[n+184>>1]=l;b[n+188>>1]=j;if((m|0)>1){f=32767;h=1}else continue;while(1){g=(a[k+h>>0]|0)==0;if(!(a[k+(h+-1)>>0]|0)){if(!g){f=(e[d+38>>1]|0)+h&65535;b[n+186>>1]=f}}else if(g?(g=(e[d+38>>1]|0)+h&65535,b[n+190>>1]=g,!(g<<16>>16<=f<<16>>16?1:(l&65535)<<16>>16>=(j&65535)<<16>>16)):0){g=WEa(24)|0;c[g>>2]=0;b[g+4>>1]=32767;b[g+6>>1]=32767;b[g+8>>1]=-32767;b[g+10>>1]=-32767;c[g+12>>2]=0;c[g+16>>2]=0;c[g+20>>2]=0;i5(g,n+184|0);Ck(n+52|0,g)}g=h+1|0;if((g|0)<(m|0))h=g;else continue a}}ZEa(k);R5(n+164|0);i=n;return}function _4(a){a=a|0;var d=0,f=0,g=0,h=0,j=0;j=i;i=i+224|0;K5(j+112|0,a+144|0);L5(j+112|0);while(1){h=M5(j+112|0)|0;if(!h)break;d=0;do{g=e[h+8>>1]|e[h+10>>1]<<16;c[j>>2]=e[h+4>>1]|e[h+6>>1]<<16;c[j+4>>2]=g;b[j>>1]=b[a+36>>1]|0;b[j+4>>1]=b[a+40>>1]|0;K5(j+8|0,a+144|0);N5(j+8|0,j);g=0;a:while(1){b:while(1){while(1){f=O5(j+8|0)|0;if(!f)break a;if((f|0)==(h|0))continue;if(+hP(f+4|0,h+4|0)>=.9)break;if(t5(a,h+4|0,f+4|0)|0)break b}i5(h,f+4|0);P5(j+8|0);Q5(j+112|0);YEa(f);d=1}i5(h,f+4|0);P5(j+8|0);Q5(j+112|0);YEa(f);d=1;g=1}R5(j+92|0)}while(g);if(!d)continue;P5(j+112|0);J5(a+144|0,h);Q5(j+112|0)}R5(j+196|0);i=j;return}function $4(a){a=a|0;var d=0,f=0,g=0,h=0;f=i;i=i+144|0;c[f+140>>2]=0;fA(f+112|0,f+140|0);K5(f+8|0,a+144|0);L5(f+8|0);while(1){d=M5(f+8|0)|0;if(!d)break;g=e[d+8>>1]|e[d+10>>1]<<16;c[f>>2]=e[d+4>>1]|e[d+6>>1]<<16;c[f+4>>2]=g;u5(a,d+4|0,f);g=c[f>>2]|0;h=c[f+4>>2]|0;if((g&65535)<<16>>16<(h&65535)<<16>>16?(h>>>16&65535)<<16>>16>(g>>>16&65535)<<16>>16:0){h=WEa(24)|0;c[h>>2]=0;b[h+4>>1]=32767;b[h+6>>1]=32767;b[h+8>>1]=-32767;b[h+10>>1]=-32767;c[h+12>>2]=0;c[h+16>>2]=0;c[h+20>>2]=0;i5(h,f);CT(f+112|0,h)}P5(f+8|0);YEa(d)}T5(a+144|0);$A(f+112|0);gA(f+112|0);while(1){if((hA(f+112|0)|0)<<24>>24)break;J5(a+144|0,ZA(f+112|0)|0);DL(f+112|0)|0}R5(f+92|0);BL(f+140|0);i=f;return}function a5(d){d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;m=i;i=i+256|0;k=(b[d+40>>1]|0)-(b[d+36>>1]|0)|0;if((k|0)<=0){c[m+16>>2]=341576;c[m+20>>2]=1718;$L(340984,341696,2,1702e3,m+16|0)}l=XEa(k>>>0>1073741823?-1:k<<2)|0;K5(m+16|0,d+144|0);L5(m+16|0);while(1){j=M5(m+16|0)|0;if(!j)break;h=e[j+8>>1]|e[j+10>>1]<<16;c[m+8>>2]=e[j+4>>1]|e[j+6>>1]<<16;c[m+12>>2]=h;if((k|0)>0)YGa(l|0,0,k<<2|0)|0;bA(m+152|0,d+16|0);a[m+196>>0]=1;EX(m+152|0,m+8|0);a:while(1){f=FX(m+152|0)|0;if(!f)break;if(!(Zj(c[f+72>>2]|0)|0))continue;if((c[f+52>>2]|0)==6)continue;h=e[f+20>>1]|e[f+22>>1]<<16;c[m>>2]=e[f+16>>1]|e[f+18>>1]<<16;c[m+4>>2]=h;if(+hP(m,m+8|0)<.6)continue;fA(m+120|0,f+76|0);gA(m+120|0);f=0;while(1){if((hA(m+120|0)|0)<<24>>24)continue a;h=iA(m+120|0)|0;g=b[h+8>>1]|0;h=b[h+12>>1]|0;f=(g|0)>=(f|0)?g:f;if((f|0)<(h|0)){g=b[d+36>>1]|0;do{n=l+(f-g<<2)|0;c[n>>2]=(c[n>>2]|0)+1;f=f+1|0}while((f|0)!=(h|0))}DL(m+120|0)|0;f=h}}if(!(z5(d,l,k)|0)){P5(m+16|0);YEa(j)}jA(m+236|0)}ZEa(l);R5(m+100|0);i=m;return}function b5(a){a=a|0;var d=0,f=0,g=0,h=0,j=0;g=i;i=i+160|0;F6(g+136|0);H6(g+136|0,a+48|0);G6(g+136|0,a+80|0);J6(g+136|0,~~(+(c[a+4>>2]|0)*2.0));I6(g+136|0,~~(+(c[a+28>>2]|0)*1.5));c[g+132>>2]=0;fA(g+104|0,g+132|0);K5(g,a+144|0);L5(g);while(1){d=M5(g)|0;if(!d)break;P5(g);f=K6(g+136|0,d+4|0)|0;if(!f){YEa(d);continue}else{h=j6(f)|0;j=e[h>>1]|e[h+2>>1]<<16;h=e[h+4>>1]|e[h+6>>1]<<16;b[d+4>>1]=j;b[d+6>>1]=j>>>16;b[d+8>>1]=h;b[d+10>>1]=h>>>16;h6(f);YEa(f);CT(g+104|0,d);continue}}gA(g+104|0);while(1){if((hA(g+104|0)|0)<<24>>24)break;J5(a+144|0,ZA(g+104|0)|0);DL(g+104|0)|0}R5(g+84|0);BL(g+132|0);i=g;return}function c5(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;k=i;i=i+288|0;f=bs(341712)|0;c[k+268>>2]=f;if(!f)jN(341728,k);else{j=up(f)|0;h=Cp(f)|0;c[k+264>>2]=Nl(10)|0;c[k+40>>2]=Nl(10)|0;bA(k+160|0,a+16|0);cA(k+160|0);while(1){f=dA(k+160|0)|0;if(!f)break;g=e[f+20>>1]|e[f+22>>1]<<16;c[k+32>>2]=e[f+16>>1]|e[f+18>>1]<<16;c[k+36>>2]=g;aja(k+32|0,d);g=c[k+32>>2]|0;l=b[k+38>>1]|0;g=Fl(g<<16>>16,j-l|0,(b[k+36>>1]|0)-(g<<16>>16)|0,l-(g>>16)|0)|0;if((c[f+72>>2]|0)==6){Ql(c[k+40>>2]|0,g,0);continue}else{Ql(c[k+264>>2]|0,g,0);continue}}g=Yl(c[k+268>>2]|0,c[k+264>>2]|0,3,-16777216)|0;c[k+272>>2]=Yl(g,c[k+40>>2]|0,3,65280)|0;c[k+152>>2]=Nl(10)|0;g=fc(341768,377008)|0;K5(k+48|0,a+144|0);L5(k+48|0);while(1){f=M5(k+48|0)|0;if(!f)break;l=e[f+8>>1]|e[f+10>>1]<<16;c[k+16>>2]=e[f+4>>1]|e[f+6>>1]<<16;c[k+20>>2]=l;aja(k+16|0,d);$ia(k+280|0,0,0,h+65535&65535,j+65535&65535);cja(k+24|0,k+16|0,k+280|0);l=c[k+24>>2]|0;a=c[k+28>>2]|0;c[k+16>>2]=l;c[k+20>>2]=a;m=UGa(l|0,a|0,48)|0;f=F;n=_Ga(m|0,f|0,16)|0;o=_Ga(a|0,0,16)|0;n=Fl(l<<16>>16,j-(n>>16)|0,(o>>16)-(l<<16>>16)|0,(n>>16)-(l>>16)|0)|0;Ql(c[k+152>>2]|0,n,0);f=_Ga(m|0,f|0,16)|0;a=_Ga(a|0,0,16)|0;c[k>>2]=l<<16>>16;c[k+4>>2]=j-(f>>16);c[k+8>>2]=a>>16;c[k+12>>2]=j-(l>>16);zb(g|0,341784,k|0)|0}Yb(g|0)|0;o=Yl(c[k+272>>2]|0,c[k+152>>2]|0,5,2147418112)|0;c[k+272>>2]=o;Ou(341808,o,3);Rl(k+264|0);Rl(k+40|0);Rl(k+152|0);cp(k+268|0);cp(k+272|0);R5(k+132|0);jA(k+244|0)}i=k;return}function d5(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;l=i;i=i+352|0;bA(l+24|0,d);cA(l+24|0);while(1){h=dA(l+24|0)|0;if(!h)break;if((c[h+72>>2]|0)!=6)continue;c[h+72>>2]=c[h+124>>2]}K5(l+136|0,a+144|0);L5(l+136|0);while(1){h=M5(l+136|0)|0;if(!h)break;k=e[h+8>>1]|e[h+10>>1]<<16;c[l+8>>2]=e[h+4>>1]|e[h+6>>1]<<16;c[l+12>>2]=k;bA(l+240|0,d);EX(l+240|0,l+8|0);k=0;a:while(1){h=(k|0)==0;while(1){j=FX(l+240|0)|0;if(!j)break a;if(!(Zj(c[j+72>>2]|0)|0))continue;m=e[j+20>>1]|e[j+22>>1]<<16;c[l>>2]=e[j+16>>1]|e[j+18>>1]<<16;c[l+4>>2]=m;if(!(+hP(l,l+8|0)>.6))continue;DA(l+240|0);if(h){k=j;continue a}FY(k,j,g)}}if(!h){lV(d,b[k+16>>1]|0,b[k+18>>1]|0,l+16|0,l+128|0);NY(k,c[a>>2]|0,c[f+(c[l+128>>2]<<2)>>2]|0);j=k+72|0;h=c[j>>2]|0;if((h|0)!=6){c[k+124>>2]=h;c[j>>2]=6}c[k+48>>2]=7;c[k+52>>2]=3;_X(k);wA(d,k)}jA(l+324|0)}R5(l+220|0);jA(l+108|0);i=l;return}function e5(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0;e=+(ba(b,a)|0)*.8;if(+(c[d+32>>2]|0)>+(a|0)*.5?+(c[d+44>>2]|0)>+(b|0)*.6:0){f=+(Jv(d+16|0)|0);d=f>e*+(CL(d+76|0)|0)}else d=0;return d|0}function f5(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if(!b){c[d>>2]=341576;c[d+4>>2]=416;$L(340984,341560,2,1702e3,d)}if(!(e5(c[a+4>>2]|0,c[a+8>>2]|0,b)|0)){if(b){cY(b);YEa(b)}}else wA(a+80|0,b);i=d;return}function g5(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+80|0;pk(d+44|0,a);pk(d+16|0,b);rk(d+44|0);if(!(sk(d+44|0)|0))do{b=(tk(d+44|0)|0)+4|0;a=e[b+4>>1]|e[b+6>>1]<<16;c[d+8>>2]=e[b>>1]|e[b+2>>1]<<16;c[d+12>>2]=a;rk(d+16|0);while(1){if(sk(d+16|0)|0){a=8;break}b=tk(d+16|0)|0;a=e[b+8>>1]|e[b+10>>1]<<16;c[d>>2]=e[b+4>>1]|e[b+6>>1]<<16;c[d+4>>2]=a;if(h5(d+8|0,d)|0){a=5;break}OL(d+16|0)|0}if((a|0)==5){i5(b,d+8|0);b=pv(d+44|0)|0;if(b)YEa(b)}else if((a|0)==8)Ck(d+16|0,pv(d+44|0)|0);OL(d+44|0)|0}while(!(sk(d+44|0)|0));i=d;return}function h5(a,c){a=a|0;c=c|0;var d=0;d=(b[a>>1]|0)-(b[c>>1]|0)|0;if((((d|0)>-1?d:0-d|0)|0)<20?(d=(b[a+4>>1]|0)-(b[c+4>>1]|0)|0,(((d|0)>-1?d:0-d|0)|0)<20):0){d=(b[a+6>>1]|0)-(b[c+2>>1]|0)|0;if((((d|0)>-1?d:0-d|0)|0)<5)a=1;else{a=(b[c+6>>1]|0)-(b[a+2>>1]|0)|0;a=(((a|0)>-1?a:0-a|0)|0)<5}}else a=0;return a|0}function i5(a,d){a=a|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;dja(e,a+4|0,d);f=c[e>>2]|0;d=c[e+4>>2]|0;b[a+4>>1]=f;b[a+6>>1]=f>>>16;b[a+8>>1]=d;b[a+10>>1]=d>>>16;i=e;return}function j5(a){a=a|0;var b=0,d=0;d=i;i=i+112|0;bA(d,a+16|0);cA(d);while(1){b=dA(d)|0;if(!b)break;a=EY(b,1)|0;if(a)c[b+132>>2]=a;a=EY(b,0)|0;if(!a)continue;c[b+136>>2]=a}jA(d+84|0);i=d;return}function k5(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+208|0;bA(o+104|0,a);cA(o+104|0);while(1){n=dA(o+104|0)|0;if(!n)break;k=c[d+(c[o+144>>2]<<2)>>2]|0;l=e[n+16>>1]|e[n+18>>1]<<16;m=e[n+20>>1]|e[n+22>>1]<<16;g=UGa(l|0,m|0,48)|0;f=F;h=((b[n+18>>1]|0)+(b[n+22>>1]|0)|0)/2|0;j=D_(k,(l&65535)<<16>>16,h)|0;k=D_(k,(m&65535)<<16>>16,h)|0;if(j){j=((l&65535)<<16>>16)-(CX(j,h)|0)|0;c[n+148>>2]=(j|0)>0?j:0}if(k){k=(BX(k,h)|0)-((m&65535)<<16>>16)|0;c[n+152>>2]=(k|0)>0?k:0}bA(o,a);g=_Ga(g|0,f|0,16)|0;JA(o,(l&65535)<<16>>16,l>>16,g>>16);while(1){f=KA(o,1)|0;if(!f)break;if(((c[f+72>>2]|0)+-9|0)>>>0>=3)continue;f=b[f+20>>1]|0;if(f<<16>>16>=(l&65535)<<16>>16)continue;k=c[n+148>>2]|0;c[n+148>>2]=(((l&65535)<<16>>16)-(f<<16>>16)|0)>(k|0)?k:((l&65535)<<16>>16)-(f<<16>>16)|0}JA(o,(l&65535)<<16>>16,l>>16,g>>16);while(1){f=KA(o,0)|0;if(!f)break;if(((c[f+72>>2]|0)+-9|0)>>>0>=3)continue;f=b[f+16>>1]|0;if(f<<16>>16<=(m&65535)<<16>>16)continue;l=c[n+152>>2]|0;c[n+152>>2]=((f<<16>>16)-((m&65535)<<16>>16)|0)>(l|0)?l:(f<<16>>16)-((m&65535)<<16>>16)|0}f=EY(n,1)|0;if(!f)f=2147483647;else{f=(b[f+18>>1]|0)-(b[n+18>>1]|0)|0;f=(f|0)>0?f:0}c[n+140>>2]=f;f=EY(n,0)|0;if(!f)f=2147483647;else{f=(b[n+18>>1]|0)-(b[f+18>>1]|0)|0;f=(f|0)>0?f:0}c[n+144>>2]=f;jA(o+84|0)}jA(o+188|0);i=o;return}function l5(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+112|0;bA(e,a+16|0);cA(e);while(1){d=dA(e)|0;if(!d)break;if(!(Zj(c[d+72>>2]|0)|0))continue;if(+(c[d+32>>2]|0)>+(c[a+4>>2]|0)*2.0)continue;if(!(o5(d)|0)?!(p5(a,d)|0):0)continue;b=c[d+72>>2]|0;if((b|0)==6)continue;c[d+124>>2]=b;c[d+72>>2]=6}jA(e+84|0);i=e;return}function m5(a){a=a|0;q5(a);r5(a);return}function n5(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+112|0;bA(f,a+16|0);cA(f);while(1){d=dA(f)|0;if(!d)break;a=c[d+72>>2]|0;if((a|0)>5|(a|0)==0)continue;e=c[d+132>>2]|0;b=c[d+136>>2]|0;if(!((e|0)!=0&(b|0)!=0))continue;if((c[e+72>>2]|0)!=6)continue;if((a|0)==6?1:(c[b+72>>2]|0)!=6)continue;c[d+124>>2]=a;c[d+72>>2]=6}cA(f);while(1){a=dA(f)|0;if(!a)break;if((c[a+72>>2]|0)!=6)continue;b=c[a+132>>2]|0;d=c[a+136>>2]|0;if(!b)continue;if(!((d|0)!=0?(c[b+72>>2]|0)!=6:0))continue;if((c[d+72>>2]|0)==6)continue;c[a+72>>2]=c[a+124>>2]}jA(f+84|0);i=f;return}function o5(a){a=a|0;var d=0,e=0,f=0,g=0,h=0.0,j=0;j=i;i=i+48|0;if(!(Zj(c[a+72>>2]|0)|0)){c[j>>2]=341576;c[j+4>>2]=872;$L(340984,341640,2,1702e3,j)}fA(j+8|0,a+76|0);g=(kl(a+16|0)|0)<<16>>16;d=c[a+32>>2]|0;if((g|0)<(d*10|0))if((CL(a+76|0)|0)<10)d=1;else{d=c[a+32>>2]|0;e=6}else e=6;a:do if((e|0)==6){h=+(d|0);gA(j+8|0);if(!((hA(j+8|0)|0)<<24>>24)){d=-1;e=-1;do{f=iA(j+8|0)|0;g=b[f+12>>1]|0;do if((e|0)==-1)e=g;else{f=(b[f+8>>1]|0)-e|0;if((f|0)<0?+(0-f|0)<+(c[a+32>>2]|0)*4.0:0){e=(e|0)>=(g|0)?e:g;break}if(+(f|0)>h*4.0){d=1;break a}d=(f|0)>(d|0)?f:d;e=g}while(0);DL(j+8|0)|0}while((hA(j+8|0)|0)<<24>>24==0)}else d=-1;g=(kl(a+16|0)|0)<<16>>16;if((g|0)<=((c[a+32>>2]|0)*20|0)?(CL(a+76|0)|0)<=20:0)if((d|0)==-1)d=1;else d=+(d|0)>2]|0)==6)a=1;else{g=c[a+4>>2]<<1;h=(b[d+22>>1]|0)+g|0;g=(b[d+18>>1]|0)-g|0;bA(j+8|0,a+48|0);f=0;a:while(1){a=(f|0)==0;JA(j+8|0,b[(a?d+20|0:d+16|0)>>1]|0,g,h);while(1){e=KA(j+8|0,a)|0;if(!e)break;if((c[e+52>>2]|0)!=6)continue;if((e|0)==(d|0)){c[j>>2]=341576;c[j+4>>2]=982;$L(340984,341664,2,1702e3,j)}if(!(iZ(c[d+100>>2]|0,c[d+104>>2]|0,e)|0))break;if(GX(c[e+24>>2]|0,c[e+28>>2]|0,c[d+24>>2]|0,c[d+28>>2]|0)|0){a=1;break a}}f=f+1|0;if((f|0)>=2){a=0;break}}jA(j+92|0)}i=j;return a|0}function q5(d){d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0.0;l=i;i=i+112|0;bA(l,d+16|0);cA(l);while(1){k=dA(l)|0;if(!k)break;if((c[k+72>>2]|0)!=6)continue;j=c[k+132>>2]|0;if(!j)continue;if((c[j+72>>2]|0)!=1)continue;h=kl(j+16|0)|0;if((h<<16>>16|0)<((kl(k+16|0)|0)<<16>>16<<1|0))continue;e=b[k+16>>1]|0;f=b[k+20>>1]|0;g=b[j+16>>1]|0;h=b[j+20>>1]|0;if(!(a[d+176>>0]|0)){m=(f<<16>>16>16?h:f)<<16>>16;f=m-(((f<<16>>16)+(e<<16>>16)|0)/2|0)|0;e=m-(((h<<16>>16)+(g<<16>>16)|0)/2|0)|0}else{m=(e<<16>>16>g<<16>>16?g:e)<<16>>16;f=(((f<<16>>16)+(e<<16>>16)|0)/2|0)-m|0;e=(((h<<16>>16)+(g<<16>>16)|0)/2|0)-m|0}if(+(f|0)*1.3>+(e|0))continue;if(!(qY(k,j)|0))continue;if(!(uY(k,j)|0))continue;if(+(c[k+148>>2]|0)>+(c[k+32>>2]|0)*3.0)continue;n=+((kl(j+16|0)|0)<<16>>16);if(n<+(c[j+152>>2]|0)*3.0)continue;e=c[k+140>>2]|0;if((e|0)>=(c[k+144>>2]|0))continue;if((e|0)>(c[d+12>>2]<<1|0))continue;if((c[k+72>>2]|0)!=6)continue;c[k+72>>2]=c[k+124>>2]}jA(l+84|0);i=l;return}function r5(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;k=i;i=i+112|0;bA(k,a+16|0);cA(k);d=0;e=0;f=-2147483648;g=2147483647;a:while(1){do{a=dA(k)|0;if(!a)break a}while(!(Zj(c[a+72>>2]|0)|0));n=b[a+22>>1]|0;l=b[a+18>>1]|0;o=(n|0)>(f|0);m=(l|0)<(g|0);d=m?a:d;e=o?a:e;f=o?n:f;g=m?l:g}if((e|0)!=0?(h=e+72|0,(c[h>>2]|0)==6):0)c[h>>2]=c[e+124>>2];if((d|0)!=0?(j=d+72|0,(c[j>>2]|0)==6):0)c[j>>2]=c[d+124>>2];jA(k+84|0);i=k;return}function s5(a){a=a|0;var b=0,d=0;b=c[a+12>>2]|0;d=c[a+16>>2]|0;do if(!(+(b|0)>+(d|0)*3.0))if((d|0)>(b|0)){c[a+20>>2]=1;break}else{c[a+20>>2]=3;break}else c[a+20>>2]=2;while(0);return}function t5(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+112|0;if(DD(b,d)|0)a=1;else{dja(e+104|0,b,d);bA(e,a+16|0);EX(e,e+104|0);while(1){a=FX(e)|0;if(!a){a=0;break}if(!(DD(a+16|0,b)|0))continue;if(!(DD(a+16|0,d)|0))continue;if(((c[a+72>>2]|0)+-9|0)>>>0>=3){a=1;break}}jA(e+84|0)}i=e;return a|0}function u5(a,b,d){a=a|0;b=b|0;d=d|0;var f=0,g=0;f=i;i=i+16|0;g=e[b+4>>1]|e[b+6>>1]<<16;c[f>>2]=e[b>>1]|e[b+2>>1]<<16;c[f+4>>2]=g;v5(a,b,f,d);w5(a,b,f,d);x5(a,d);i=f;return}function v5(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;j=i;i=i+112|0;h=0;do{bA(j+8|0,(h|0)==0?a+80|0:a+48|0);EX(j+8|0,e);while(1){g=FX(j+8|0)|0;if(!g)break;if(((c[g+72>>2]|0)+-9|0)>>>0<3)continue;if(!(+hP(g+16|0,d)>.6))continue;dja(j,f,g+16|0);k=c[j>>2]|0;g=c[j+4>>2]|0;b[f>>1]=k;b[f+2>>1]=k>>>16;b[f+4>>1]=g;b[f+6>>1]=g>>>16}jA(j+92|0);h=h+1|0}while((h|0)<2);i=j;return}function w5(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+112|0;bA(h+8|0,d+48|0);a[h+52>>0]=1;EX(h+8|0,f);while(1){f=FX(h+8|0)|0;if(!f)break;if((c[f+72>>2]&-2|0)!=12)continue;if(sP(g,f+16|0)|0)continue;if(!(y5(d,f,e)|0))continue;dja(h,g,f+16|0);j=c[h>>2]|0;f=c[h+4>>2]|0;b[g>>1]=j;b[g+2>>1]=j>>>16;b[g+4>>1]=f;b[g+6>>1]=f>>>16}jA(h+92|0);i=h;return}function x5(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;g=i;i=i+112|0;bA(g,a+16|0);NA(g,b[d>>1]|0,b[d+4>>1]|0,b[d+6>>1]|0);a=0;a:while(1){f=(a|0)==0;e=a+16|0;while(1){a=OA(g,0)|0;if(!a)break a;if(((b[a+18>>1]|0)-(b[d+6>>1]|0)|0)>(c[a+32>>2]<<2|0))break a;h=c[a+72>>2]|0;if((h|0)==6|(h|0)==12|(h|0)==13)break;if(f)continue a;if(!(EA(a+16|0,e)|0))break a}b[d+6>>1]=b[a+22>>1]|0;a=0}jA(g+84|0);i=g;return}function y5(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+112|0;if(S5(d)|0?vx(d+16|0,e)|0:0){dja(m+104|0,d+16|0,e);g=0;h=0;l=0;f=0;do{bA(m,(l|0)==0?b+16|0:b+48|0);a[m+44>>0]=1;EX(m,m+104|0);a:while(1){while(1){j=FX(m)|0;if(!j)break a;if(+hP(j+16|0,e)>.6)continue;k=c[j+72>>2]|0;if((k+-9|0)>>>0>=3)break}f=f+1|0;if((k|0)==6|(k|0)==12|(k|0)==13){g=g+1|0;h=h+1|0;continue}else{k=(c[d+32>>2]|0)*10|0;g=((c[j+148>>2]|0)>(k|0)&1)+g|0;h=((c[j+152>>2]|0)>(k|0)&1)+h|0;continue}}jA(m+84|0);l=l+1|0}while((l|0)<2);f=(f|0)/2|0;f=(h|0)>(f|0)|(g|0)>(f|0)}else f=0;i=m;return f|0}function z5(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,g=0,h=0;if((d|0)>0){e=0;g=0;do{h=c[b+(e<<2)>>2]|0;g=(h|0)>(g|0)?h:g;e=e+1|0}while((e|0)!=(d|0));if((g|0)>=3){f=+(g|0);if((g|0)>5)f=f*.45;else f=f*.35;e=0;do{h=b+(e<<2)|0;c[h>>2]=+(c[h>>2]|0)>=f&1;e=e+1|0}while((e|0)!=(d|0));if((d|0)>1){h=1;e=0;g=-1;do{if(!(c[b+(h+-1<<2)>>2]|0))if((g|0)!=-1){if(c[b+(h<<2)>>2]|0){g=h-g|0;e=(g|0)>(e|0)?g:e;g=-1}}else g=-1;else g=(c[b+(h<<2)>>2]|0)==0?h:g;h=h+1|0}while((h|0)!=(d|0))}else e=0;e=+(e|0)>+(c[a+4>>2]|0)*2.0}else e=0}else e=0;return e|0}function A5(a){a=a|0;c[a>>2]=0;b[a+4>>1]=32767;b[a+6>>1]=32767;b[a+8>>1]=-32767;b[a+10>>1]=-32767;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;return}function B5(){c[85246]=1701984;c[85248]=389976;c[85250]=390024;c[85252]=390056;c[85254]=390112;c[85256]=390152;c[85258]=390184;c[85260]=390240;c[85262]=390280;c[85264]=390328;c[85266]=390376;c[85268]=390400;c[85270]=390432;c[85272]=390504;c[85274]=390552;c[85276]=390592;c[85278]=390640;Wk(341120,0,341136,341168,0,kM()|0);Wk(341200,0,341216,341240,0,kM()|0);Wk(341264,0,341280,341312,0,kM()|0);Wk(341352,0,341368,341400,0,kM()|0);Wk(341440,0,341456,341496,0,kM()|0);return}function C5(a){a=a|0;hV(a);c[a>>2]=341824;c[a+28>>2]=0;return}function D5(a){a=a|0;var b=0;c[a>>2]=341824;b=c[a+28>>2]|0;if(b){a=c[b+-4>>2]|0;if(a){a=b+(a<<2)|0;do{a=a+-4|0;BL(a)}while((a|0)!=(b|0))}ZEa(b+-4|0)}return}function E5(a){a=a|0;if(a){cY(a);YEa(a)}return}function F5(a){a=a|0;var b=0;b=i;i=i+144|0;if(c[a+28>>2]|0){bA(b+32|0,a);cA(b+32|0);c[b+28>>2]=0;fA(b,b+28|0);while(1){a=dA(b+32|0)|0;if(!a)break;CT(b,a)}gA(b);while(1){if((hA(b)|0)<<24>>24)break;E5(iA(b)|0);DL(b)|0}BL(b+28|0);jA(b+116|0)}i=b;return}function G5(a){a=a|0;if(a)YEa(a);return}function H5(a){a=a|0;var b=0;b=i;i=i+144|0;if(c[a+28>>2]|0){K5(b+32|0,a);L5(b+32|0);c[b+28>>2]=0;fA(b,b+28|0);while(1){a=M5(b+32|0)|0;if(!a)break;CT(b,a)}gA(b);while(1){if((hA(b)|0)<<24>>24)break;G5(iA(b)|0);DL(b)|0}BL(b+28|0);R5(b+116|0)}i=b;return}function I5(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;iV(a,b,d,e);b=c[a+28>>2]|0;if(b){d=c[b+-4>>2]|0;if(d){d=b+(d<<2)|0;do{d=d+-4|0;BL(d)}while((d|0)!=(b|0))}ZEa(b+-4|0)}b=c[a+16>>2]|0;d=XEa(b>>>0>1073741823|b<<2>>>0>4294967291?-1:(b<<2)+4|0)|0;c[d>>2]=b;if(b)YGa(d+4|0,0,b<<2|0)|0;c[a+28>>2]=d+4;return}function J5(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;k=e[b+4>>1]|e[b+6>>1]<<16;h=e[b+8>>1]|e[b+10>>1]<<16;l=UGa(k|0,h|0,48)|0;d=F;lV(a,k<<16>>16,k>>16,m+12|0,m+8|0);h=_Ga(h|0,0,16)|0;d=_Ga(l|0,d|0,16)|0;lV(a,h>>16,d>>16,m+4|0,m);d=c[m+8>>2]|0;h=c[m>>2]|0;if((d|0)<=(h|0)){g=c[a+8>>2]|0;l=ba(g,d)|0;j=c[m+4>>2]|0;k=c[m+12>>2]|0;while(1){if((k|0)>(j|0))f=g;else{f=k;while(1){FL((c[a+28>>2]|0)+(f+l<<2)|0,47,b);if((f|0)<(j|0))f=f+1|0;else break}f=c[a+8>>2]|0}if((d|0)<(h|0)){g=f;l=f+l|0;d=d+1|0}else break}}i=m;return}function K5(d,e){d=d|0;e=e|0;c[d>>2]=e;b[d+28>>1]=32767;b[d+30>>1]=32767;b[d+32>>1]=-32767;b[d+34>>1]=-32767;a[d+44>>0]=0;c[d+48>>2]=0;c[d+52>>2]=0;c[d+56>>2]=0;c[d+84>>2]=0;c[d+88>>2]=0;c[d+92>>2]=0;c[d+96>>2]=0;g[d+100>>2]=1.0;X5(d+84|0,193);return}function L5(a){a=a|0;var d=0;d=c[a>>2]|0;Y5(a,b[d+20>>1]|0,b[d+26>>1]|0);return}function M5(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;while(1){if(!((hA(a+56|0)|0)<<24>>24)){_5(a);b=(c[a+48>>2]|0)+4|0;b=e[b>>1]|e[b+2>>1]<<16;lV(c[a>>2]|0,b<<16>>16,b>>16,d+4|0,d);if((c[d+4>>2]|0)!=(c[a+36>>2]|0))continue;if((c[d>>2]|0)==(c[a+40>>2]|0)){b=10;break}else continue}b=(c[a+36>>2]|0)+1|0;c[a+36>>2]=b;if((b|0)>=(c[(c[a>>2]|0)+8>>2]|0)){b=c[a+40>>2]|0;c[a+40>>2]=b+-1;if((b|0)<1){b=5;break}c[a+36>>2]=0}Z5(a)}if((b|0)==5){c[a+48>>2]=0;c[a+52>>2]=0;a=0}else if((b|0)==10)a=c[a+48>>2]|0;i=d;return a|0}function N5(a,d){a=a|0;d=d|0;var f=0,g=0;g=e[d>>1]|e[d+2>>1]<<16;f=e[d+4>>1]|e[d+6>>1]<<16;b[a+28>>1]=g;b[a+30>>1]=g>>>16;b[a+32>>1]=f;b[a+34>>1]=f>>>16;Y5(a,b[d>>1]|0,b[d+6>>1]|0);lV(c[a>>2]|0,b[d+4>>1]|0,b[d+2>>1]|0,a+12|0,a+8|0);return}function O5(b){b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;while(1)if(!((hA(b+56|0)|0)<<24>>24)){_5(b);d=c[b+48>>2]|0;if(!(DD(b+28|0,d+4|0)|0))continue;if(!(a[b+44>>0]|0)){e=12;break}$5(f,b+84|0,d);if(!(c[f>>2]|0)){e=10;break}else continue}else{e=c[b+36>>2]|0;c[b+36>>2]=e+1;if((e|0)>=(c[b+12>>2]|0)?(e=c[b+40>>2]|0,c[b+40>>2]=e+-1,c[b+36>>2]=c[b+4>>2],(e|0)<=(c[b+8>>2]|0)):0){e=5;break}Z5(b);continue}if((e|0)==5){c[b+48>>2]=0;c[b+52>>2]=0;d=0}else if((e|0)==10)if(!(a[b+44>>0]|0))e=12;else{a6(f+8|0,b+84|0,b+48|0);e=12}if((e|0)==12)d=c[b+48>>2]|0;i=f;return d|0}function P5(a){a=a|0;var b=0,d=0,e=0;if(c[a+48>>2]|0){$A(a+56|0);gA(a+56|0);a:do if(!((hA(a+56|0)|0)<<24>>24)){b=0;d=0;do{while(1){e=iA(a+56|0)|0;if((e|0)!=(c[a+48>>2]|0))break;ZA(a+56|0)|0;DL(a+56|0)|0;if(!((hA(a+56|0)|0)<<24>>24))b=iA(a+56|0)|0;else b=0;c[a+52>>2]=b;if(!((hA(a+56|0)|0)<<24>>24))b=d;else{b=d;break a}}d=iA(a+56|0)|0;DL(a+56|0)|0}while((hA(a+56|0)|0)<<24>>24==0)}else b=0;while(0);b6(c[a>>2]|0,c[a+48>>2]|0);c[a+48>>2]=b;Q5(a)}return}function Q5(a){a=a|0;var b=0,d=0;c6(a+84|0);$A(a+56|0);if((aB(a+56|0)|0)<<24>>24==0?(b=iA(a+56|0)|0,(b|0)==(c[a+52>>2]|0)):0)gA(a+56|0);else{b=a+52|0;d=5}a:do if((d|0)==5){gA(a+56|0);b:do if(!((hA(a+56|0)|0)<<24>>24)){while(1){d=iA(a+56|0)|0;if((d|0)==(c[a+48>>2]|0))break;d=HL(a+56|0,1)|0;if((d|0)==(c[b>>2]|0))break;DL(a+56|0)|0;if((hA(a+56|0)|0)<<24>>24)break b}_5(a);break a}while(0);c[a+48>>2]=0;c[b>>2]=0}while(0);return}function R5(a){a=a|0;var b=0;d6(c[a+8>>2]|0);b=c[a>>2]|0;c[a>>2]=0;if(b)YEa(b);return}function S5(a){a=a|0;var b=0;b=c[a+48>>2]|0;if((b|0)==1|(b|0)==7)a=(c[a+72>>2]&-2|0)==12;else a=0;return a|0}function T5(a){a=a|0;var b=0;if((c[a+16>>2]|0)>0){b=0;do{BL((c[a+28>>2]|0)+(b<<2)|0);b=b+1|0}while((b|0)<(c[a+16>>2]|0))}return}function U5(a){a=a|0;D5(a);YEa(a);return}function V5(a,b,d){a=a|0;b=b|0;d=d|0;a=i;i=i+16|0;c[a>>2]=b;c[a+4>>2]=d;jN(352312,a);i=a;return}function W5(a,d){a=a|0;d=d|0;var e=0,f=0;f=c[a>>2]|0;e=c[d>>2]|0;d=b[f+4>>1]|0;a=b[e+4>>1]|0;do if(d<<16>>16==a<<16>>16){d=b[f+8>>1]|0;a=b[e+8>>1]|0;if(d<<16>>16!=a<<16>>16){a=(d<<16>>16)-(a<<16>>16)|0;break}d=b[f+6>>1]|0;a=b[e+6>>1]|0;if(d<<16>>16==a<<16>>16){a=(b[f+10>>1]|0)-(b[e+10>>1]|0)|0;break}else{a=(d<<16>>16)-(a<<16>>16)|0;break}}else a=(d<<16>>16)-(a<<16>>16)|0;while(0);return a|0}function X5(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if((b|0)!=1){if(b+-1&b)b=Gua(b)|0}else b=2;f=c[a+4>>2]|0;if(b>>>0<=f>>>0){if(b>>>0>>0){if(f>>>0>2)e=(f+-1&f|0)==0;else e=0;d=~~+aa(+(+((c[a+12>>2]|0)>>>0)/+g[a+16>>2]))>>>0;if(e)d=1<<32-(da(d+-1|0)|0);else d=Gua(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)e6(a,b)}}else e6(a,b);return}function Y5(a,b,d){a=a|0;b=b|0;d=d|0;lV(c[a>>2]|0,b,d,a+4|0,a+8|0);c[a+36>>2]=c[a+4>>2];c[a+40>>2]=c[a+8>>2];Z5(a);c[a+48>>2]=0;if(!((aB(a+56|0)|0)<<24>>24))b=iA(a+56|0)|0;else b=0;c[a+52>>2]=b;c6(a+84|0);return}function Z5(b){b=b|0;var d=0,e=0,f=0;d=i;i=i+32|0;f=c[b>>2]|0;e=ba(c[f+8>>2]|0,c[b+40>>2]|0)|0;fA(d,(c[f+28>>2]|0)+(e+(c[b+36>>2]|0)<<2)|0);c[b+56>>2]=c[d+0>>2];c[b+60>>2]=c[d+4>>2];c[b+64>>2]=c[d+8>>2];c[b+68>>2]=c[d+12>>2];c[b+72>>2]=c[d+16>>2];c[b+76>>2]=c[d+20>>2];a[b+80>>0]=a[d+24>>0]|0;gA(b+56|0);i=d;return}function _5(a){a=a|0;var b=0;c[a+48>>2]=iA(a+56|0)|0;DL(a+56|0)|0;if(!((hA(a+56|0)|0)<<24>>24))b=iA(a+56|0)|0;else b=0;c[a+52>>2]=b;return}function $5(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=c[b+4>>2]|0;a:do if(g){if(!(g+-1&g))f=g+-1&((d>>>0)/24|0);else f=(((d>>>0)/24|0)>>>0)%(g>>>0)|0;b=c[(c[b>>2]|0)+(f<<2)>>2]|0;if(b){do{b=c[b>>2]|0;if(!b){h=13;break a}e=c[b+4>>2]|0;if(!(g+-1&g))e=e&g+-1;else e=(e>>>0)%(g>>>0)|0;if((e|0)!=(f|0)){h=13;break a}}while((c[b+8>>2]|0)!=(d|0));c[a>>2]=b}else h=13}else h=13;while(0);if((h|0)==13)c[a>>2]=0;return}function a6(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,j=0,k=0.0,l=0.0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;o=c[e>>2]|0;n=c[d+4>>2]|0;a:do if(n){if(!(n+-1&n))h=n+-1&((o>>>0)/24|0);else h=(((o>>>0)/24|0)>>>0)%(n>>>0)|0;f=c[(c[d>>2]|0)+(h<<2)>>2]|0;if(!f)m=12;else while(1){f=c[f>>2]|0;if(!f){m=12;break a}j=c[f+4>>2]|0;if(!(n+-1&n))j=j&n+-1;else j=(j>>>0)%(n>>>0)|0;if((j|0)!=(h|0)){m=12;break a}if((c[f+8>>2]|0)==(o|0)){h=0;break}}}else{h=0;m=12}while(0);if((m|0)==12){f6(p,d,e,(o>>>0)/24|0);m=c[p>>2]|0;c[p>>2]=0;k=+(((c[d+12>>2]|0)+1|0)>>>0);l=+g[d+16>>2];do if(k>+(n>>>0)*l|(n|0)==0){if(n>>>0>2)h=(n+-1&n|0)==0;else h=0;f=(h&1|n<<1)^1;n=~~+aa(+(k/l))>>>0;X5(d,f>>>0>>0?n:f);f=c[d+4>>2]|0;if(!(f+-1&f)){j=f;h=f+-1&((o>>>0)/24|0);break}else{j=f;h=(((o>>>0)/24|0)>>>0)%(f>>>0)|0;break}}else j=n;while(0);f=c[(c[d>>2]|0)+(h<<2)>>2]|0;if(!f){c[m>>2]=c[d+8>>2];c[d+8>>2]=m;c[(c[d>>2]|0)+(h<<2)>>2]=d+8;f=c[m>>2]|0;if(f){f=c[f+4>>2]|0;h=j+-1|0;if(!(h&j))f=f&h;else f=(f>>>0)%(j>>>0)|0;c[(c[d>>2]|0)+(f<<2)>>2]=m}}else{c[m>>2]=c[f>>2];c[f>>2]=m}c[d+12>>2]=(c[d+12>>2]|0)+1;h=1;f=m}c[b>>2]=f;a[b+4>>0]=h;i=p;return}function b6(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+48|0;k=e[b+4>>1]|e[b+6>>1]<<16;j=e[b+8>>1]|e[b+10>>1]<<16;l=UGa(k|0,j|0,48)|0;d=F;lV(a,k<<16>>16,k>>16,m+40|0,m+36|0);j=_Ga(j|0,0,16)|0;d=_Ga(l|0,d|0,16)|0;lV(a,j>>16,d>>16,m+32|0,m+28|0);d=c[m+36>>2]|0;j=c[m+28>>2]|0;if((d|0)<=(j|0)){g=c[a+8>>2]|0;l=ba(g,d)|0;h=c[m+32>>2]|0;k=c[m+40>>2]|0;while(1){if((k|0)>(h|0))f=g;else{f=k;while(1){fA(m,(c[a+28>>2]|0)+(f+l<<2)|0);gA(m);if(!((hA(m)|0)<<24>>24))do{if((iA(m)|0)==(b|0))ZA(m)|0;DL(m)|0}while((hA(m)|0)<<24>>24==0);if((f|0)<(h|0))f=f+1|0;else break}f=c[a+8>>2]|0}if((d|0)<(j|0)){g=f;l=f+l|0;d=d+1|0}else break}}i=m;return}function c6(a){a=a|0;var b=0,d=0;if(c[a+12>>2]|0){d6(c[a+8>>2]|0);c[a+8>>2]=0;b=c[a+4>>2]|0;if(b){d=0;do{c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(b|0))}c[a+12>>2]=0}return}function d6(a){a=a|0;var b=0;if(a)do{b=a;a=c[a>>2]|0;YEa(b)}while((a|0)!=0);return} -function BDa(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;if((((g&4|0)!=0?(c-b|0)>2:0)?(a[b>>0]|0)==-17:0)?(a[b+1>>0]|0)==-69:0)g=(a[b+2>>0]|0)==-65?b+3|0:b;else g=b;a:do if(g>>>0>>0&(e|0)!=0){m=0;b:while(1){l=a[g>>0]|0;do if(l<<24>>24>-1){if((l&255)>>>0>f>>>0){h=43;break a}g=g+1|0}else{if((l&255)<194){h=43;break a}if((l&255)<224){if((c-g|0)<2){h=43;break a}h=d[g+1>>0]|0;if((h&192|0)!=128){h=43;break a}if((h&63|(l&255)<<6&1984)>>>0>f>>>0){h=43;break a}g=g+2|0;break}if((l&255)<240){j=g;if((c-j|0)<3){h=43;break a}h=a[g+1>>0]|0;i=a[g+2>>0]|0;if((l&255|0)==224){if((h&-32)<<24>>24!=-96){h=21;break b}}else if((l&255|0)==237){if((h&-32)<<24>>24!=-128){h=23;break b}}else if((h&-64)<<24>>24!=-128){h=25;break b}if((i&192|0)!=128){h=43;break a}if(((h&255)<<6&4032|(l&255)<<12&61440|i&63)>>>0>f>>>0){h=43;break a}g=g+3|0;break}if((l&255)>=245){h=43;break a}k=g;if((c-k|0)<4){h=43;break a}j=a[g+1>>0]|0;i=a[g+2>>0]|0;h=a[g+3>>0]|0;if((l&255|0)==240){if((j+112&255)>=48){h=33;break b}}else if((l&255|0)==244){if((j&-16)<<24>>24!=-128){h=35;break b}}else if((j&-64)<<24>>24!=-128){h=37;break b}if((i&192|0)!=128){h=43;break a}if((h&192|0)!=128){h=43;break a}if(((j&255)<<12&258048|(l&255)<<18&1835008|(i&255)<<6&4032|h&63)>>>0>f>>>0){h=43;break a}g=g+4|0}while(0);m=m+1|0;if(!(g>>>0>>0&m>>>0>>0)){h=43;break a}}if((h|0)==21){g=j-b|0;break}else if((h|0)==23){g=j-b|0;break}else if((h|0)==25){g=j-b|0;break}else if((h|0)==33){g=k-b|0;break}else if((h|0)==35){g=k-b|0;break}else if((h|0)==37){g=k-b|0;break}}else h=43;while(0);if((h|0)==43)g=g-b|0;return g|0}function CDa(a){a=a|0;zva(a);YEa(a);return}function DDa(b,d){b=b|0;d=d|0;Tc[c[(c[b>>2]|0)+24>>2]&127](b)|0;d=pAa(c[d>>2]|0,1706672)|0;c[b+36>>2]=d;a[b+44>>0]=(Tc[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;return}function EDa(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+16|0;while(1){b=c[a+36>>2]|0;b=Uc[c[(c[b>>2]|0)+20>>2]&31](b,c[a+40>>2]|0,e+8|0,e+16|0,e)|0;f=(c[e>>2]|0)-(e+8)|0;if((xb(e+8|0,1,f|0,c[a+32>>2]|0)|0)!=(f|0)){b=-1;break}if((b|0)==2){b=-1;break}else if((b|0)!=1){d=4;break}}if((d|0)==4)b=((oc(c[a+32>>2]|0)|0)!=0)<<31>>31;i=e;return b|0}function FDa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;a:do if(!(a[b+44>>0]|0))if((e|0)>0){f=d;d=0;while(1){if((bd[c[(c[b>>2]|0)+52>>2]&63](b,c[f>>2]|0)|0)==-1)break a;d=d+1|0;if((d|0)<(e|0))f=f+4|0;else break}}else d=0;else d=xb(d|0,4,e|0,c[b+32>>2]|0)|0;while(0);return d|0}function GDa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;h=i;i=i+32|0;a:do if((d|0)!=-1){c[h+8>>2]=d;if(a[b+44>>0]|0)if((xb(h+8|0,4,1,c[b+32>>2]|0)|0)==1){g=11;break}else{e=-1;break}c[h+4>>2]=h+16;f=h+8|0;while(1){e=c[b+36>>2]|0;e=hd[c[(c[e>>2]|0)+12>>2]&15](e,c[b+40>>2]|0,f,h+12|0,h,h+16|0,h+24|0,h+4|0)|0;if((c[h>>2]|0)==(f|0)){e=-1;break a}if((e|0)==3)break;if(e>>>0>=2){e=-1;break a}j=(c[h+4>>2]|0)-(h+16)|0;if((xb(h+16|0,1,j|0,c[b+32>>2]|0)|0)!=(j|0)){e=-1;break a}if((e|0)==1)f=(e|0)==1?c[h>>2]|0:f;else{g=11;break a}}if((xb(f|0,1,1,c[b+32>>2]|0)|0)!=1)e=-1;else g=11}else g=11;while(0);if((g|0)==11)e=(d|0)==-1?0:d;i=h;return e|0}function HDa(a){a=a|0;zva(a);YEa(a);return}function IDa(b,d){b=b|0;d=d|0;d=pAa(c[d>>2]|0,1706672)|0;c[b+36>>2]=d;c[b+44>>2]=Tc[c[(c[d>>2]|0)+24>>2]&127](d)|0;d=c[b+36>>2]|0;a[b+53>>0]=(Tc[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;if((c[b+44>>2]|0)>8)xza(1703296);else return}function JDa(a){a=a|0;return gEa(a,0)|0}function KDa(a){a=a|0;return gEa(a,1)|0}function LDa(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+32|0;e=(a[b+52>>0]|0)!=0;a:do if((d|0)==-1)if(e)d=-1;else{d=c[b+48>>2]|0;a[b+52>>0]=(d|0)!=-1&1}else{b:do if(e){c[f+4>>2]=c[b+48>>2];e=c[b+36>>2]|0;e=hd[c[(c[e>>2]|0)+12>>2]&15](e,c[b+40>>2]|0,f+4|0,f+8|0,f,f+16|0,f+24|0,f+8|0)|0;if((e|0)==1|(e|0)==2){d=-1;break a}else if((e|0)==3){a[f+16>>0]=c[b+48>>2];c[f+8>>2]=f+17}while(1){e=c[f+8>>2]|0;if(e>>>0<=(f+16|0)>>>0)break b;c[f+8>>2]=e+-1;if((lc(a[e+-1>>0]|0,c[b+32>>2]|0)|0)==-1){d=-1;break a}}}while(0);c[b+48>>2]=d;a[b+52>>0]=1}while(0);i=f;return d|0}function MDa(a){a=a|0;jva(a);YEa(a);return}function NDa(b,d){b=b|0;d=d|0;Tc[c[(c[b>>2]|0)+24>>2]&127](b)|0;d=pAa(c[d>>2]|0,1706664)|0;c[b+36>>2]=d;a[b+44>>0]=(Tc[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;return}function ODa(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+16|0;while(1){b=c[a+36>>2]|0;b=Uc[c[(c[b>>2]|0)+20>>2]&31](b,c[a+40>>2]|0,e+8|0,e+16|0,e)|0;f=(c[e>>2]|0)-(e+8)|0;if((xb(e+8|0,1,f|0,c[a+32>>2]|0)|0)!=(f|0)){b=-1;break}if((b|0)==2){b=-1;break}else if((b|0)!=1){d=4;break}}if((d|0)==4)b=((oc(c[a+32>>2]|0)|0)!=0)<<31>>31;i=e;return b|0}function PDa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0;a:do if(!(a[b+44>>0]|0))if((f|0)>0){g=e;e=0;while(1){if((bd[c[(c[b>>2]|0)+52>>2]&63](b,d[g>>0]|0)|0)==-1)break a;e=e+1|0;if((e|0)<(f|0))g=g+1|0;else break}}else e=0;else e=xb(e|0,1,f|0,c[b+32>>2]|0)|0;while(0);return e|0}function QDa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;h=i;i=i+32|0;a:do if((d|0)!=-1){a[h+8>>0]=d;if(a[b+44>>0]|0)if((xb(h+8|0,1,1,c[b+32>>2]|0)|0)==1){g=11;break}else{e=-1;break}c[h+4>>2]=h+16;f=h+8|0;while(1){e=c[b+36>>2]|0;e=hd[c[(c[e>>2]|0)+12>>2]&15](e,c[b+40>>2]|0,f,h+9|0,h,h+16|0,h+24|0,h+4|0)|0;if((c[h>>2]|0)==(f|0)){e=-1;break a}if((e|0)==3)break;if(e>>>0>=2){e=-1;break a}j=(c[h+4>>2]|0)-(h+16)|0;if((xb(h+16|0,1,j|0,c[b+32>>2]|0)|0)!=(j|0)){e=-1;break a}if((e|0)==1)f=(e|0)==1?c[h>>2]|0:f;else{g=11;break a}}if((xb(f|0,1,1,c[b+32>>2]|0)|0)!=1)e=-1;else g=11}else g=11;while(0);if((g|0)==11)e=(d|0)==-1?0:d;i=h;return e|0}function RDa(a){a=a|0;jva(a);YEa(a);return}function SDa(b,d){b=b|0;d=d|0;d=pAa(c[d>>2]|0,1706664)|0;c[b+36>>2]=d;c[b+44>>2]=Tc[c[(c[d>>2]|0)+24>>2]&127](d)|0;d=c[b+36>>2]|0;a[b+53>>0]=(Tc[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;if((c[b+44>>2]|0)>8)xza(1703296);else return}function TDa(a){a=a|0;return hEa(a,0)|0}function UDa(a){a=a|0;return hEa(a,1)|0}function VDa(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+32|0;e=(a[b+52>>0]|0)!=0;a:do if((d|0)==-1)if(e)d=-1;else{d=c[b+48>>2]|0;a[b+52>>0]=(d|0)!=-1&1}else{b:do if(e){a[f+8>>0]=c[b+48>>2];e=c[b+36>>2]|0;e=hd[c[(c[e>>2]|0)+12>>2]&15](e,c[b+40>>2]|0,f+8|0,f+9|0,f,f+16|0,f+24|0,f+4|0)|0;if((e|0)==3){a[f+16>>0]=c[b+48>>2];c[f+4>>2]=f+17}else if((e|0)==1|(e|0)==2){d=-1;break a}while(1){e=c[f+4>>2]|0;if(e>>>0<=(f+16|0)>>>0)break b;c[f+4>>2]=e+-1;if((lc(a[e+-1>>0]|0,c[b+32>>2]|0)|0)==-1){d=-1;break a}}}while(0);c[b+48>>2]=d;a[b+52>>0]=1}while(0);i=f;return d|0}function WDa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+16|0;a:do if((a|0)==(b|0)){c[d>>2]=4;a=0}else{g=Ub()|0;h=c[g>>2]|0;c[g>>2]=0;Dwa()|0;a=nEa(a,j,e)|0;e=F;f=c[g>>2]|0;if(!f)c[g>>2]=h;if((c[j>>2]|0)!=(b|0)){c[d>>2]=4;a=0;break}do if((f|0)==34){c[d>>2]=4;if((e|0)>0|(e|0)==0&a>>>0>0){a=2147483647;break a}}else{if((e|0)<-1|(e|0)==-1&a>>>0<2147483648){c[d>>2]=4;break}if((e|0)>0|(e|0)==0&a>>>0>2147483647){c[d>>2]=4;a=2147483647;break a}else break a}while(0);a=-2147483648}while(0);i=j;return a|0}function XDa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+16|0;do if((a|0)!=(b|0)){g=Ub()|0;h=c[g>>2]|0;c[g>>2]=0;Dwa()|0;e=nEa(a,j,e)|0;a=F;f=c[g>>2]|0;if(!f)c[g>>2]=h;if((c[j>>2]|0)!=(b|0)){c[d>>2]=4;a=0;e=0;break}if((f|0)==34){c[d>>2]=4;F=(a|0)>0|(a|0)==0&e>>>0>0?2147483647:-2147483648;i=j;return ((a|0)>0|(a|0)==0&e>>>0>0?-1:0)|0}}else{c[d>>2]=4;a=0;e=0}while(0);F=a;i=j;return e|0}function YDa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+16|0;do if((b|0)!=(d|0)){if((a[b>>0]|0)==45){c[e>>2]=4;b=0;break}h=Ub()|0;j=c[h>>2]|0;c[h>>2]=0;Dwa()|0;f=mEa(b,k,f)|0;b=F;g=c[h>>2]|0;if(!g)c[h>>2]=j;if((c[k>>2]|0)!=(d|0)){c[e>>2]=4;b=0;break}if((g|0)==34|(b>>>0>0|(b|0)==0&f>>>0>65535)){c[e>>2]=4;b=-1;break}else{b=f&65535;break}}else{c[e>>2]=4;b=0}while(0);i=k;return b|0}function ZDa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+16|0;do if((b|0)!=(d|0)){if((a[b>>0]|0)==45){c[e>>2]=4;b=0;break}h=Ub()|0;j=c[h>>2]|0;c[h>>2]=0;Dwa()|0;b=mEa(b,k,f)|0;f=F;g=c[h>>2]|0;if(!g)c[h>>2]=j;if((c[k>>2]|0)!=(d|0)){c[e>>2]=4;b=0;break}if((g|0)==34|(f>>>0>0|(f|0)==0&b>>>0>4294967295)){c[e>>2]=4;b=-1;break}else break}else{c[e>>2]=4;b=0}while(0);i=k;return b|0}function _Da(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+16|0;do if((b|0)!=(d|0)){if((a[b>>0]|0)==45){c[e>>2]=4;b=0;break}h=Ub()|0;j=c[h>>2]|0;c[h>>2]=0;Dwa()|0;b=mEa(b,k,f)|0;f=F;g=c[h>>2]|0;if(!g)c[h>>2]=j;if((c[k>>2]|0)!=(d|0)){c[e>>2]=4;b=0;break}if((g|0)==34|(f>>>0>0|(f|0)==0&b>>>0>4294967295)){c[e>>2]=4;b=-1;break}else break}else{c[e>>2]=4;b=0}while(0);i=k;return b|0}function $Da(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=i;i=i+16|0;do if((b|0)!=(d|0)){if((a[b>>0]|0)==45){c[e>>2]=4;b=0;f=0;break}g=Ub()|0;h=c[g>>2]|0;c[g>>2]=0;Dwa()|0;f=mEa(b,j,f)|0;b=c[g>>2]|0;if(!b)c[g>>2]=h;if((c[j>>2]|0)!=(d|0)){c[e>>2]=4;b=0;f=0;break}if((b|0)==34){c[e>>2]=4;b=-1;f=-1}else b=F}else{c[e>>2]=4;b=0;f=0}while(0);F=b;i=j;return f|0}function aEa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0;h=i;i=i+16|0;do if((a|0)==(b|0)){c[d>>2]=4;e=0.0}else{f=Ub()|0;g=c[f>>2]|0;c[f>>2]=0;Dwa()|0;e=+BGa(a,h);a=c[f>>2]|0;if(!a)c[f>>2]=g;if((c[h>>2]|0)!=(b|0)){c[d>>2]=4;e=0.0;break}if((a|0)==34)c[d>>2]=4}while(0);i=h;return +e}function bEa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0;h=i;i=i+16|0;do if((a|0)!=(b|0)){f=Ub()|0;g=c[f>>2]|0;c[f>>2]=0;Dwa()|0;e=+BGa(a,h);a=c[f>>2]|0;if(!a)c[f>>2]=g;if((c[h>>2]|0)!=(b|0)){c[d>>2]=4;e=0.0;break}if((a|0)==34)c[d>>2]=4}else{c[d>>2]=4;e=0.0}while(0);i=h;return +e}function cEa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0;h=i;i=i+16|0;do if((a|0)!=(b|0)){f=Ub()|0;g=c[f>>2]|0;c[f>>2]=0;Dwa()|0;e=+BGa(a,h);a=c[f>>2]|0;if(!a)c[f>>2]=g;if((c[h>>2]|0)!=(b|0)){c[d>>2]=4;e=0.0;break}if((a|0)==34)c[d>>2]=4}else{c[d>>2]=4;e=0.0}while(0);i=h;return +e}function dEa(b,d){b=b|0;d=d|0;var e=0;if(d>>>0>1073741823)bAa();if((a[b+128>>0]|0)==0&d>>>0<29){a[b+128>>0]=1;e=b+16|0}else e=WEa(d<<2)|0;c[b+4>>2]=e;c[b>>2]=e;c[b+8>>2]=e+(d<<2);return}function eEa(a,b){a=a|0;b=b|0;var d=0;d=c[a+4>>2]|0;do{if(!d)d=0;else{c[d>>2]=0;d=c[a+4>>2]|0}d=d+4|0;c[a+4>>2]=d;b=b+-1|0}while((b|0)!=0);return}function fEa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+32|0;d=c[a+8>>2]|0;f=c[a+4>>2]|0;if(d-f>>2>>>0>>0){e=c[a>>2]|0;if(((f-e>>2)+b|0)>>>0>1073741823)bAa();if(d-e>>2>>>0<536870911)d=d-e>>1>>>0<((f-e>>2)+b|0)>>>0?(f-e>>2)+b|0:d-e>>1;else d=1073741823;iEa(g,d,f-e>>2,a+16|0);jEa(g,b);kEa(a,g);lEa(g)}else eEa(a,b);i=g;return}function gEa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;k=i;i=i+32|0;a:do if(a[b+52>>0]|0){e=c[b+48>>2]|0;if(d){c[b+48>>2]=-1;a[b+52>>0]=0}}else{e=c[b+44>>2]|0;e=(e|0)>1?e:1;if((e|0)>0){g=0;do{f=Bc(c[b+32>>2]|0)|0;if((f|0)==-1){e=-1;break a}a[k+16+g>>0]=f;g=g+1|0}while((g|0)<(e|0))}b:do if(!(a[b+53>>0]|0)){while(1){h=c[b+40>>2]|0;g=c[h>>2]|0;f=c[h+4>>2]|0;l=c[b+36>>2]|0;j=k+16+e|0;h=hd[c[(c[l>>2]|0)+16>>2]&15](l,h,k+16|0,j,k+4|0,k+8|0,k+12|0,k)|0;if((h|0)==2){e=-1;break a}else if((h|0)==3)break;else if((h|0)!=1)break b;l=c[b+40>>2]|0;c[l>>2]=g;c[l+4>>2]=f;if((e|0)==8){e=-1;break a}f=Bc(c[b+32>>2]|0)|0;if((f|0)==-1){e=-1;break a}a[j>>0]=f;e=e+1|0}c[k+8>>2]=a[k+16>>0]}else c[k+8>>2]=a[k+16>>0];while(0);if(d){e=c[k+8>>2]|0;c[b+48>>2]=e;break}while(1){if((e|0)<=0)break;e=e+-1|0;if((lc(a[k+16+e>>0]|0,c[b+32>>2]|0)|0)==-1){e=-1;break a}}e=c[k+8>>2]|0}while(0);i=k;return e|0}function hEa(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;l=i;i=i+32|0;a:do if(a[b+52>>0]|0){f=c[b+48>>2]|0;if(e){c[b+48>>2]=-1;a[b+52>>0]=0}}else{f=c[b+44>>2]|0;f=(f|0)>1?f:1;if((f|0)>0){h=0;do{g=Bc(c[b+32>>2]|0)|0;if((g|0)==-1){f=-1;break a}a[l+16+h>>0]=g;h=h+1|0}while((h|0)<(f|0))}b:do if(!(a[b+53>>0]|0)){while(1){j=c[b+40>>2]|0;h=c[j>>2]|0;g=c[j+4>>2]|0;m=c[b+36>>2]|0;k=l+16+f|0;j=hd[c[(c[m>>2]|0)+16>>2]&15](m,j,l+16|0,k,l+4|0,l+8|0,l+9|0,l)|0;if((j|0)==3)break;else if((j|0)==2){f=-1;break a}else if((j|0)!=1)break b;m=c[b+40>>2]|0;c[m>>2]=h;c[m+4>>2]=g;if((f|0)==8){f=-1;break a}g=Bc(c[b+32>>2]|0)|0;if((g|0)==-1){f=-1;break a}a[k>>0]=g;f=f+1|0}a[l+8>>0]=a[l+16>>0]|0}else a[l+8>>0]=a[l+16>>0]|0;while(0);if(e){f=a[l+8>>0]|0;c[b+48>>2]=f&255}else{while(1){if((f|0)<=0)break;f=f+-1|0;if((lc(d[l+16+f>>0]|0,c[b+32>>2]|0)|0)==-1){f=-1;break a}}f=a[l+8>>0]|0}f=f&255}while(0);i=l;return f|0}function iEa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;c[b+12>>2]=0;c[b+16>>2]=f;do if(d)if((a[f+112>>0]|0)==0&d>>>0<29){a[f+112>>0]=1;break}else{f=WEa(d<<2)|0;break}else f=0;while(0);c[b>>2]=f;e=f+(e<<2)|0;c[b+8>>2]=e;c[b+4>>2]=e;c[b+12>>2]=f+(d<<2);return}function jEa(a,b){a=a|0;b=b|0;var d=0;d=c[a+8>>2]|0;do{if(!d)d=0;else{c[d>>2]=0;d=c[a+8>>2]|0}d=d+4|0;c[a+8>>2]=d;b=b+-1|0}while((b|0)!=0);return}function kEa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=c[a>>2]|0;d=(c[a+4>>2]|0)-e|0;f=(c[b+4>>2]|0)+(0-(d>>2)<<2)|0;c[b+4>>2]=f;VGa(f|0,e|0,d|0)|0;d=c[a>>2]|0;c[a>>2]=c[b+4>>2];c[b+4>>2]=d;d=c[a+4>>2]|0;c[a+4>>2]=c[b+8>>2];c[b+8>>2]=d;d=c[a+8>>2]|0;c[a+8>>2]=c[b+12>>2];c[b+12>>2]=d;c[b>>2]=c[b+4>>2];return}function lEa(b){b=b|0;var d=0,e=0;d=c[b+4>>2]|0;e=c[b+8>>2]|0;if((e|0)!=(d|0))c[b+8>>2]=e+(~((e+-4-d|0)>>>2)<<2);e=c[b>>2]|0;do if(e){d=c[b+16>>2]|0;if((d|0)==(e|0)){a[d+112>>0]=0;break}else{YEa(e);break}}while(0);return}function mEa(a,b,c){a=a|0;b=b|0;c=c|0;a=CGa(a,b,c)|0;return a|0}function nEa(a,b,c){a=a|0;b=b|0;c=c|0;a=DGa(a,b,c)|0;return a|0}function oEa(a){a=a|0;return (a+-48|0)>>>0<10|0}function pEa(a){a=a|0;return ZFa(a)|0}function qEa(a,b,c){a=a|0;b=b|0;c=c|0;return rEa(0,a,b,(c|0)!=0?c:1714472)|0}function rEa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+16|0;c[k>>2]=b;j=(f|0)==0?1714480:f;f=c[j>>2]|0;a:do if(!d){if(!f){e=0;i=k;return e|0}}else{if(!b){c[k>>2]=k;b=k}if(!e){e=-2;i=k;return e|0}do if(!f){f=a[d>>0]|0;if(f<<24>>24>-1){c[b>>2]=f&255;e=f<<24>>24!=0&1;i=k;return e|0}else{if(((f&255)+-194|0)>>>0>50)break a;h=e+-1|0;f=c[1714264+((f&255)+-194<<2)>>2]|0;d=d+1|0;break}}else h=e;while(0);b:do if(h){g=a[d>>0]|0;if((((g&255)>>>3)+-16|((g&255)>>>3)+(f>>26))>>>0>7)break a;while(1){d=d+1|0;f=(g&255)+-128|f<<6;h=h+-1|0;if((f|0)>=0)break;if(!h)break b;g=a[d>>0]|0;if((g&-64)<<24>>24!=-128)break a}c[j>>2]=0;c[b>>2]=f;e=e-h|0;i=k;return e|0}while(0);c[j>>2]=f;e=-2;i=k;return e|0}while(0);c[j>>2]=0;c[(Ub()|0)>>2]=84;e=-1;i=k;return e|0}function sEa(a){a=a|0;if(!a)a=1;else a=(c[a>>2]|0)==0;return a&1|0}function tEa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+1040|0;j=c[b>>2]|0;c[n>>2]=j;e=(a|0)!=0?e:256;g=(a|0)!=0?a:n+8|0;a:do if((j|0)!=0&(e|0)!=0){l=e;k=j;e=0;while(1){h=d>>>2;j=h>>>0>=l>>>0;if(!(j|d>>>0>131)){h=l;j=k;m=7;break a}j=j?l:h;d=d-j|0;j=uEa(g,n,j,f)|0;if((j|0)==-1){e=-1;break a}if((g|0)==(n+8|0)){h=l;g=n+8|0}else{h=l-j|0;g=g+(j<<2)|0}e=j+e|0;j=c[n>>2]|0;if((j|0)!=0&(h|0)!=0){l=h;k=j}else{m=7;break}}}else{h=e;e=0;m=7}while(0);b:do if((m|0)==7)if((j|0)!=0&(h|0)!=0&(d|0)!=0){k=d;while(1){d=rEa(g,j,k,f)|0;if((d+2|0)>>>0<3)break;j=j+d|0;c[n>>2]=j;h=h+-1|0;e=e+1|0;if(!((h|0)!=0&(k|0)!=(d|0)))break b;else{k=k-d|0;g=g+4|0}}if(!d){c[n>>2]=0;break}else if((d|0)==-1){e=-1;break}else{c[f>>2]=0;break}}while(0);if(!a){i=n;return e|0}c[b>>2]=c[n>>2];i=n;return e|0}function uEa(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;h=c[e>>2]|0;if((g|0)!=0?(i=c[g>>2]|0,(i|0)!=0):0)if(!b){g=f;j=h;m=16}else{c[g>>2]=0;g=f;k=i;l=h;m=36}else if(!b){g=f;m=7}else{g=f;m=6}a:while(1)if((m|0)==6){if(!g){m=26;break}while(1){i=a[h>>0]|0;b:do if(((i&255)+-1|0)>>>0<127?(h&3|0)==0&g>>>0>4:0){do{i=c[h>>2]|0;if((i+-16843009|i)&-2139062144){i=i&255;break b}c[b>>2]=i&255;c[b+4>>2]=d[h+1>>0];c[b+8>>2]=d[h+2>>0];l=h;h=h+4|0;m=b;b=b+16|0;c[m+12>>2]=d[l+3>>0];g=g+-4|0}while(g>>>0>4);i=a[h>>0]|0}while(0);j=i&255;if((j+-1|0)>>>0>=127)break;h=h+1|0;c[b>>2]=j;g=g+-1|0;if(!g){m=26;break a}else b=b+4|0}if((j+-194|0)>>>0>50){m=48;break}k=c[1714264+(j+-194<<2)>>2]|0;l=h+1|0;m=36;continue}else if((m|0)==7){i=a[h>>0]|0;if(((i&255)+-1|0)>>>0<127?(h&3|0)==0:0){i=c[h>>2]|0;if(!((i+-16843009|i)&-2139062144))do{h=h+4|0;g=g+-4|0;i=c[h>>2]|0}while(((i+-16843009|i)&-2139062144|0)==0);k=i&255;i=i&255}else k=i;i=i&255;if((i+-1|0)>>>0<127){g=g+-1|0;h=h+1|0;m=7;continue}if((i+-194|0)>>>0>50){i=k;m=48;break}i=c[1714264+(i+-194<<2)>>2]|0;j=h+1|0;m=16;continue}else if((m|0)==16){m=(d[j>>0]|0)>>>3;if((m+-16|m+(i>>26))>>>0>7){m=17;break}h=j+1|0;if(i&33554432){if((a[h>>0]&-64)<<24>>24!=-128){m=20;break}h=j+2|0;if(i&524288){if((a[h>>0]&-64)<<24>>24!=-128){m=23;break}h=j+3|0}}g=g+-1|0;m=7;continue}else if((m|0)==36){i=d[l>>0]|0;if(((i>>>3)+-16|(i>>>3)+(k>>26))>>>0>7){m=37;break}h=l+1|0;k=i+-128|k<<6;if((k|0)<0){j=d[h>>0]|0;if((j&192|0)!=128){m=40;break}h=l+2|0;if((j+-128|k<<6|0)<0){i=d[h>>0]|0;if((i&192|0)!=128){m=43;break}i=i+-128|(j+-128|k<<6)<<6;h=l+3|0}else i=j+-128|k<<6}else i=k;c[b>>2]=i;b=b+4|0;g=g+-1|0;m=6;continue}if((m|0)==17){h=j+-1|0;m=46}else if((m|0)==20){h=j+-1|0;m=46}else if((m|0)==23){h=j+-1|0;m=46}else if((m|0)==26){c[e>>2]=h;e=f;return e|0}else if((m|0)==37){i=k;h=l+-1|0;m=46}else if((m|0)==40){i=k;h=l+-1|0;m=46}else if((m|0)==43){i=j+-128|k<<6;h=l+-1|0;m=46}if((m|0)==46)if(!i){i=a[h>>0]|0;m=48}if((m|0)==48)if(!(i<<24>>24)){if(b){c[b>>2]=0;c[e>>2]=0}e=f-g|0;return e|0}c[(Ub()|0)>>2]=84;if(!b){e=-1;return e|0}c[e>>2]=h;e=-1;return e|0}function vEa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=i;i=i+16|0;c[j>>2]=b;if(!e){e=0;i=j;return e|0}do if(f){if(!b){c[j>>2]=j;h=j}else h=b;b=a[e>>0]|0;if(b<<24>>24>-1){c[h>>2]=b&255;e=b<<24>>24!=0&1;i=j;return e|0}if(((b&255)+-194|0)>>>0<=50){g=c[1714264+((b&255)+-194<<2)>>2]|0;if(f>>>0<4?(g&-2147483648>>>((f*6|0)+-6|0)|0)!=0:0)break;f=d[e+1>>0]|0;if(((f>>>3)+-16|(f>>>3)+(g>>26))>>>0<=7){if((f+-128|g<<6|0)>=0){c[h>>2]=f+-128|g<<6;e=2;i=j;return e|0}b=d[e+2>>0]|0;if((b&192|0)==128){f=b+-128|(f+-128|g<<6)<<6;if((f|0)>=0){c[h>>2]=f;e=3;i=j;return e|0}b=d[e+3>>0]|0;if((b&192|0)==128){c[h>>2]=b+-128|f<<6;e=4;i=j;return e|0}}}}}while(0);c[(Ub()|0)>>2]=84;e=-1;i=j;return e|0}function wEa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+272|0;g=c[b>>2]|0;c[l>>2]=g;e=(a|0)!=0?e:256;f=(a|0)!=0?a:l+8|0;a:do if((g|0)!=0&(e|0)!=0){h=e;j=d;e=0;while(1){d=j>>>0>=h>>>0;if(!(d|j>>>0>32)){d=j;k=7;break a}g=d?h:j;d=j-g|0;g=xEa(f,l,g)|0;if((g|0)==-1){e=-1;break a}if((f|0)==(l+8|0))f=l+8|0;else{h=h-g|0;f=f+g|0}e=g+e|0;g=c[l>>2]|0;if((g|0)!=0&(h|0)!=0)j=d;else{k=7;break}}}else{h=e;e=0;k=7}while(0);b:do if((k|0)==7)if((g|0)!=0&(h|0)!=0&(d|0)!=0){j=d;while(1){d=pGa(f,c[g>>2]|0)|0;if((d+1|0)>>>0<2)break;g=g+4|0;c[l>>2]=g;j=j+-1|0;e=e+1|0;if(!((h|0)!=(d|0)&(j|0)!=0))break b;else{h=h-d|0;f=f+d|0}}if(!d)c[l>>2]=0;else e=-1}while(0);if(!a){i=l;return e|0}c[b>>2]=c[l>>2];i=l;return e|0}function xEa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;if(!b){h=c[d>>2]|0;g=c[h>>2]|0;if(!g){d=0;i=m;return d|0}else f=0;while(1){if(g>>>0>127){g=pGa(m,g)|0;if((g|0)==-1){f=-1;l=26;break}}else g=1;f=g+f|0;h=h+4|0;g=c[h>>2]|0;if(!g){l=26;break}}if((l|0)==26){i=m;return f|0}}a:do if(e>>>0>3){g=e;h=c[d>>2]|0;while(1){j=c[h>>2]|0;if((j+-1|0)>>>0>126){if(!j)break;j=pGa(b,j)|0;if((j|0)==-1){f=-1;l=26;break}b=b+j|0;g=g-j|0}else{a[b>>0]=j;b=b+1|0;g=g+-1|0;h=c[d>>2]|0}h=h+4|0;c[d>>2]=h;if(g>>>0<=3)break a}if((l|0)==26){i=m;return f|0}a[b>>0]=0;c[d>>2]=0;d=e-g|0;i=m;return d|0}else g=e;while(0);if(!g){d=e;i=m;return d|0}l=c[d>>2]|0;while(1){h=c[l>>2]|0;if((h+-1|0)>>>0>126){if(!h){l=19;break}j=pGa(m,h)|0;if((j|0)==-1){f=-1;l=26;break}if(g>>>0>>0){l=22;break}pGa(b,c[l>>2]|0)|0;k=b+j|0;h=g-j|0;j=l}else{a[b>>0]=h;k=b+1|0;h=g+-1|0;j=c[d>>2]|0}l=j+4|0;c[d>>2]=l;if(!h){f=e;l=26;break}else{b=k;g=h}}if((l|0)==19){a[b>>0]=0;c[d>>2]=0;d=e-g|0;i=m;return d|0}else if((l|0)==22){d=e-g|0;i=m;return d|0}else if((l|0)==26){i=m;return f|0}return 0}function yEa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=c[a+84>>2]|0;e=FGa(f,0,d+256|0)|0;if(!e)e=d+256|0;else e=e-f|0;d=e>>>0>>0?e:d;VGa(b|0,f|0,d|0)|0;c[a+4>>2]=f+d;b=f+e|0;c[a+8>>2]=b;c[a+84>>2]=b;return d|0}function zEa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=d;d=CEa(a,b,e)|0;i=e;return d|0}function AEa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;f=UFa(240)|0;do if(f){c[h>>2]=c[d>>2];e=zGa(f,240,b,h)|0;if(e>>>0<240){b=XFa(f,e+1|0)|0;c[a>>2]=(b|0)!=0?b:f;break}VFa(f);if((e|0)>=0?(g=UFa(e+1|0)|0,c[a>>2]=g,(g|0)!=0):0)e=zGa(g,e+1|0,b,d)|0;else e=-1}else e=-1;while(0);i=h;return e|0}function BEa(e,f,j){e=e|0;f=f|0;j=j|0;var k=0,l=0,m=0,n=0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=i;i=i+304|0;l=a[f>>0]|0;if(!(l<<24>>24)){A=0;i=B;return A|0}z=B+43|0;p=l;k=0;t=0;r=0;l=0;a:while(1){b:do if(!(YFa(p&255)|0)){n=p<<24>>24==37;c:do if(n){p=f+1|0;m=a[p>>0]|0;do if(m<<24>>24==42){m=0;f=f+2|0}else if(m<<24>>24==37)break c;else{if(((m&255)+-48|0)>>>0<10?(a[f+2>>0]|0)==36:0){c[B+16>>2]=c[j>>2];n=(m&255)+-48|0;while(1){y=c[B+16>>2]|0;m=c[y>>2]|0;c[B+16>>2]=y+4;if(n>>>0>1)n=n+-1|0;else break}f=f+3|0;break}f=c[j>>2]|0;m=c[f>>2]|0;c[j>>2]=f+4;f=p}while(0);n=a[f>>0]|0;if(((n&255)+-48|0)>>>0<10){q=n&255;n=0;while(1){p=(n*10|0)+-48+q|0;f=f+1|0;n=a[f>>0]|0;q=n&255;if((q+-48|0)>>>0>=10){s=p;break}else n=p}}else s=0;if(n<<24>>24==109){f=f+1|0;n=a[f>>0]|0;y=(m|0)!=0&1;q=0;l=0}else{y=0;q=r}p=f+1|0;switch(n&255|0){case 106:{f=p;p=3;break}case 76:{f=p;p=2;break}case 110:case 112:case 67:case 83:case 91:case 99:case 115:case 88:case 71:case 70:case 69:case 65:case 103:case 102:case 101:case 97:case 120:case 117:case 111:case 105:case 100:{p=0;break}case 104:{x=(a[p>>0]|0)==104;f=x?f+2|0:p;p=x?-2:-1;break}case 108:{x=(a[p>>0]|0)==108;f=x?f+2|0:p;p=x?3:1;break}case 116:case 122:{f=p;p=1;break}default:{n=y;f=q;A=163;break a}}x=d[f>>0]|0;w=(x&47|0)==3?x|32:x;x=(x&47|0)==3?1:p;if((w|0)==110){if(!m){n=t;break b}switch(x|0){case 3:{n=m;c[n>>2]=t;c[n+4>>2]=((t|0)<0)<<31>>31;n=t;break b}case 0:{c[m>>2]=t;n=t;break b}case 1:{c[m>>2]=t;n=t;break b}case -1:{b[m>>1]=t;n=t;break b}case -2:{a[m>>0]=t;n=t;break b}default:{n=t;break b}}}else if((w|0)==99)v=(s|0)<1?1:s;else if((w|0)==91)v=s;else{aGa(e,0);do{p=c[e+4>>2]|0;if(p>>>0<(c[e+100>>2]|0)>>>0){c[e+4>>2]=p+1;p=d[p>>0]|0}else p=bGa(e)|0}while((YFa(p)|0)!=0);p=c[e+4>>2]|0;if(c[e+100>>2]|0){c[e+4>>2]=p+-1;p=p+-1|0}t=(c[e+108>>2]|0)+t+p-(c[e+8>>2]|0)|0;v=s}aGa(e,v);p=c[e+4>>2]|0;n=c[e+100>>2]|0;if(p>>>0>>0)c[e+4>>2]=p+1;else{if((bGa(e)|0)<0){n=y;f=q;A=163;break a}n=c[e+100>>2]|0}if(n)c[e+4>>2]=(c[e+4>>2]|0)+-1;d:do switch(w|0){case 91:case 99:case 115:{e:do if((w&239|0)==99){YGa(B+33|0,-1,257)|0;a[B+33>>0]=0;if((w|0)==115){a[B+66>>0]=0;a[z+0>>0]=0;a[z+1>>0]=0;a[z+2>>0]=0;a[z+3>>0]=0;a[z+4>>0]=0}}else{p=f+1|0;r=(a[p>>0]|0)==94;s=r?p:f;f=r?f+2|0:p;YGa(B+33|0,r&1|0,257)|0;a[B+33>>0]=0;p=a[f>>0]|0;if(p<<24>>24==45){a[B+79>>0]=r&1^1;r=(r&1^1)&255;f=s+2|0}else if(p<<24>>24==93){a[B+127>>0]=r&1^1;r=(r&1^1)&255;f=s+2|0}else r=(r&1^1)&255;while(1){p=a[f>>0]|0;if(p<<24>>24==45){s=f+1|0;p=a[s>>0]|0;if(!(p<<24>>24==93|p<<24>>24==0)){f=a[f+-1>>0]|0;if((f&255)<(p&255)){f=f&255;do{f=f+1|0;a[B+33+f>>0]=r;p=a[s>>0]|0}while((f|0)<(p&255|0));f=s}else f=s}else p=45}else if(p<<24>>24==93)break e;else if(!(p<<24>>24)){n=y;f=q;A=163;break a}a[B+33+((p&255)+1)>>0]=r;f=f+1|0}}while(0);r=(w|0)==99?v+1|0:31;u=(y|0)!=0;f:do if((x|0)==1){if(u){l=UFa(r<<2)|0;if(!l){n=y;f=0;A=163;break a}}else l=m;c[B+8>>2]=0;c[B+12>>2]=0;q=0;n=r;g:while(1){if(!l){s=u&(q|0)==(n|0);while(1){p=c[e+4>>2]|0;if(p>>>0<(c[e+100>>2]|0)>>>0){c[e+4>>2]=p+1;p=d[p>>0]|0}else p=bGa(e)|0;if(!(a[B+33+(p+1)>>0]|0)){l=0;break g}a[B+32>>0]=p;p=rEa(B,B+32|0,1,B+8|0)|0;if((p|0)==-2)continue;else if((p|0)==-1){n=y;f=0;l=0;A=163;break a}if(s)break}}else{if(!u){A=99;break}while(1){while(1){p=c[e+4>>2]|0;if(p>>>0<(c[e+100>>2]|0)>>>0){c[e+4>>2]=p+1;p=d[p>>0]|0}else p=bGa(e)|0;if(!(a[B+33+(p+1)>>0]|0))break g;a[B+32>>0]=p;p=rEa(B,B+32|0,1,B+8|0)|0;if((p|0)==-1){n=y;f=0;A=163;break a}else if((p|0)!=-2)break}c[l+(q<<2)>>2]=c[B>>2];q=q+1|0;if((q|0)==(n|0)){q=n;break}}}p=n<<1|1;r=XFa(l,p<<2)|0;if(!r){n=y;f=0;A=163;break a}n=p;l=r}h:do if((A|0)==99)while(1){A=0;while(1){p=c[e+4>>2]|0;if(p>>>0<(c[e+100>>2]|0)>>>0){c[e+4>>2]=p+1;p=d[p>>0]|0}else p=bGa(e)|0;if(!(a[B+33+(p+1)>>0]|0))break h;a[B+32>>0]=p;p=rEa(B,B+32|0,1,B+8|0)|0;if((p|0)==-1){n=0;f=0;A=163;break a}else if((p|0)!=-2)break}c[l+(q<<2)>>2]=c[B>>2];q=q+1|0;A=99}while(0);if(!(sEa(B+8|0)|0)){n=y;f=0;A=163;break a}else p=0}else{if(u){p=UFa(r)|0;if(!p){n=y;f=0;l=0;A=163;break a}else q=0;while(1){do{n=c[e+4>>2]|0;if(n>>>0<(c[e+100>>2]|0)>>>0){c[e+4>>2]=n+1;n=d[n>>0]|0}else n=bGa(e)|0;if(!(a[B+33+(n+1)>>0]|0)){l=0;break f}a[p+q>>0]=n;q=q+1|0}while((q|0)!=(r|0));q=r<<1|1;n=XFa(p,q)|0;if(!n){n=y;f=p;l=0;A=163;break a}else{s=r;r=q;p=n;q=s}}}if(!m)while(1){p=c[e+4>>2]|0;if(p>>>0>>0){c[e+4>>2]=p+1;p=d[p>>0]|0}else p=bGa(e)|0;if(!(a[B+33+(p+1)>>0]|0)){q=0;p=0;l=0;break f}n=c[e+100>>2]|0}else{q=0;while(1){p=c[e+4>>2]|0;if(p>>>0>>0){c[e+4>>2]=p+1;p=d[p>>0]|0}else p=bGa(e)|0;if(!(a[B+33+(p+1)>>0]|0)){p=m;l=0;break f}a[m+q>>0]=p;n=c[e+100>>2]|0;q=q+1|0}}}while(0);n=c[e+4>>2]|0;if(c[e+100>>2]|0){c[e+4>>2]=n+-1;n=n+-1|0}n=n-(c[e+8>>2]|0)+(c[e+108>>2]|0)|0;if(!n){n=y;f=p;break a}if(!((n|0)==(v|0)|(w|0)==99^1)){n=y;f=p;break a}do if(u)if((x|0)==1){c[m>>2]=l;break}else{c[m>>2]=p;break}while(0);if((w|0)!=99){if(l)c[l+(q<<2)>>2]=0;if(!p)p=0;else a[p+q>>0]=0}break}case 111:{p=8;A=145;break}case 117:case 100:{p=10;A=145;break}case 105:{p=0;A=145;break}case 120:case 88:case 112:{p=16;A=145;break}case 71:case 103:case 70:case 102:case 69:case 101:case 65:case 97:{o=+$Fa(e,x,0);if((c[e+108>>2]|0)==((c[e+8>>2]|0)-(c[e+4>>2]|0)|0)){n=y;f=q;break a}if(m)if(!x){g[m>>2]=o;p=q;break d}else if((x|0)==1){h[m>>3]=o;p=q;break d}else if((x|0)==2){h[m>>3]=o;p=q;break d}else{p=q;break d}else p=q;break}default:p=q}while(0);i:do if((A|0)==145){A=0;p=_Fa(e,p,0,-1,-1)|0;if((c[e+108>>2]|0)==((c[e+8>>2]|0)-(c[e+4>>2]|0)|0)){n=y;f=q;break a}if((w|0)==112&(m|0)!=0){c[m>>2]=p;p=q;break}if(!m)p=q;else switch(x|0){case -2:{a[m>>0]=p;p=q;break i}case -1:{b[m>>1]=p;p=q;break i}case 0:{c[m>>2]=p;p=q;break i}case 1:{c[m>>2]=p;p=q;break i}case 3:{y=m;c[y>>2]=p;c[y+4>>2]=F;p=q;break i}default:{p=q;break i}}}while(0);k=((m|0)!=0&1)+k|0;n=(c[e+108>>2]|0)+t+(c[e+4>>2]|0)-(c[e+8>>2]|0)|0;q=p;break b}while(0);f=f+(n&1)|0;aGa(e,0);m=c[e+4>>2]|0;if(m>>>0<(c[e+100>>2]|0)>>>0){c[e+4>>2]=m+1;m=d[m>>0]|0}else m=bGa(e)|0;if((m|0)!=(d[f>>0]|0)){A=19;break a}n=t+1|0;q=r}else{while(1){m=f+1|0;if(!(YFa(d[m>>0]|0)|0))break;else f=m}aGa(e,0);do{m=c[e+4>>2]|0;if(m>>>0<(c[e+100>>2]|0)>>>0){c[e+4>>2]=m+1;m=d[m>>0]|0}else m=bGa(e)|0}while((YFa(m)|0)!=0);m=c[e+4>>2]|0;if(c[e+100>>2]|0){c[e+4>>2]=m+-1;m=m+-1|0}n=(c[e+108>>2]|0)+t+m-(c[e+8>>2]|0)|0;q=r}while(0);f=f+1|0;p=a[f>>0]|0;if(!(p<<24>>24)){A=167;break}else{t=n;r=q}}if((A|0)==19){if(c[e+100>>2]|0)c[e+4>>2]=(c[e+4>>2]|0)+-1;if((m|0)>-1|(k|0)!=0){A=k;i=B;return A|0}else{k=0;f=r;A=164}}else if((A|0)==163){if(!k){k=n;A=164}}else if((A|0)==167){i=B;return k|0}if((A|0)==164){n=k;k=-1}if(!n){A=k;i=B;return A|0}VFa(f);VFa(l);A=k;i=B;return A|0}function CEa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=i;i=i+112|0;e=f+0|0;g=e+112|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(g|0));c[f+32>>2]=58;c[f+44>>2]=a;c[f+76>>2]=-1;c[f+84>>2]=a;g=BEa(f,b,d)|0;i=f;return g|0}function DEa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+944|0;t=ba(d,b)|0;if(!t){i=x;return}c[x+4>>2]=d;c[x>>2]=d;f=d;g=d;b=2;while(1){f=f+d+g|0;c[x+(b<<2)>>2]=f;if(f>>>0>>0){s=g;g=f;b=b+1|0;f=s}else break}if((t-d|0)>0){s=d>>>0>256?256:d;f=1;h=0;b=a;g=1;do{do if((f&3|0)!=3){r=g+-1|0;a:do if((c[x+(r<<2)>>2]|0)>>>0<(a+(t-d)-b|0)>>>0){c[x+192>>2]=b;if((g|0)>1){l=g;k=b;p=b;n=1;while(1){q=k+(0-d)|0;m=l+-2|0;k=k+(0-((c[x+(m<<2)>>2]|0)+d))|0;if((bd[e&63](p,k)|0)>-1?(bd[e&63](p,q)|0)>-1:0){o=n;break}o=n+1|0;n=x+192+(n<<2)|0;if((bd[e&63](k,q)|0)>-1){c[n>>2]=k;l=l+-1|0}else{c[n>>2]=q;k=q;l=m}if((l|0)<=1)break;p=c[x+192>>2]|0;n=o}if((o|0)>=2?(v=x+192+(o<<2)|0,c[v>>2]=x+680,(d|0)!=0):0){if((o|0)>0){k=d;l=x+680|0}else{j=c[x+192>>2]|0;VGa(x+680|0,j|0,s|0)|0;if((s|0)==(d|0))break;else{l=d;k=s}while(1){l=l-k|0;k=l>>>0>256?256:l;VGa(x+680|0,j|0,k|0)|0;if((l|0)==(k|0))break a}}while(1){j=k>>>0>256?256:k;m=c[x+192>>2]|0;VGa(l|0,m|0,j|0)|0;n=0;do{q=n;n=n+1|0;p=m;m=c[x+192+(n<<2)>>2]|0;VGa(p|0,m|0,j|0)|0;c[x+192+(q<<2)>>2]=p+j}while((n|0)!=(o|0));if((k|0)==(j|0))break a;k=k-j|0;l=c[v>>2]|0}}}}else TEa(b,d,e,f,h,g,0,x);while(0);if((g|0)==1){l=f<<1;h=f>>>31|h<<1;g=0;break}else{q=r>>>0>31?0:f;g=r>>>0>31?g+-33|0:r;l=q<>>(32-g|0)|(r>>>0>31?f:h)<>2]=b;b:do if((g|0)>1){j=g;l=b;o=b;m=1;while(1){p=l+(0-d)|0;q=j+-2|0;l=l+(0-((c[x+(q<<2)>>2]|0)+d))|0;if((bd[e&63](o,l)|0)>-1?(bd[e&63](o,p)|0)>-1:0){n=m;break}n=m+1|0;k=x+192+(m<<2)|0;if((bd[e&63](l,p)|0)>-1){c[k>>2]=l;j=j+-1|0}else{c[k>>2]=p;l=p;j=q}if((j|0)<=1)break;o=c[x+192>>2]|0;m=n}if((n|0)>=2?(u=x+192+(n<<2)|0,c[u>>2]=x+424,(d|0)!=0):0){if((n|0)>0){j=d;l=x+424|0}else{k=c[x+192>>2]|0;VGa(x+424|0,k|0,s|0)|0;if((s|0)==(d|0))break;else{j=d;l=s}while(1){j=j-l|0;l=j>>>0>256?256:j;VGa(x+424|0,k|0,l|0)|0;if((j|0)==(l|0))break b}}while(1){m=j>>>0>256?256:j;k=c[x+192>>2]|0;VGa(l|0,k|0,m|0)|0;l=k;k=0;do{r=k;k=k+1|0;q=l;l=c[x+192+(k<<2)>>2]|0;VGa(q|0,l|0,m|0)|0;c[x+192+(r<<2)>>2]=q+m}while((k|0)!=(n|0));if((j|0)==(m|0))break b;j=j-m|0;l=c[u>>2]|0}}}while(0);l=f>>>2|h<<30;h=h>>>2;g=g+2|0}while(0);f=l|1;b=b+d|0}while(b>>>0<(a+(t-d)|0)>>>0)}else{h=0;f=1;b=a;g=1}TEa(b,d,e,f,h,g,0,x);if((g|0)==1&(f|0)==1&(h|0)==0){i=x;return}else{n=f;m=b;o=g}while(1){if((o|0)>=2){u=n>>>30;a=o+-2|0;s=(n<<1&2147483646|u<<31)^3;t=(u|h<<2)>>>1;TEa(m+(0-((c[x+(a<<2)>>2]|0)+d))|0,d,e,s,t,o+-1|0,1,x);v=m+(0-d)|0;TEa(v,d,e,s<<1|1,t<<1|u&1,a,1,x);n=s<<1|1;h=t<<1|u&1;m=v;o=a;continue}b=n+-1|0;do if(b){if(!(b&1)){f=0;do{f=f+1|0;b=b>>>1}while((b&1|0)==0);if(!f)w=54}else w=54;if((w|0)==54){w=0;if(!h){f=64;w=59;break}if(!(h&1)){f=h;g=0}else{b=0;g=n;f=0;break}while(1){b=g+1|0;f=f>>>1;if(f&1)break;else g=b}if(!b){b=0;g=n;f=0;break}else f=g+33|0}if(f>>>0>31)w=59;else{b=f;g=n}}else{f=32;w=59}while(0);if((w|0)==59){w=0;b=f+-32|0;g=h;h=0}n=h<<32-b|g>>>b;h=h>>>b;o=f+o|0;if((o|0)==1&(n|0)==1&(h|0)==0)break;else m=m+(0-d)|0}i=x;return}function EEa(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;while(1){if(!d){e=0;d=4;break}d=d+-1|0;e=b+d|0;if((a[e>>0]|0)==(c&255)<<24>>24){d=4;break}}if((d|0)==4)return e|0;return 0}function FEa(b,c){b=b|0;c=c|0;b=GEa(b,c)|0;return ((a[b>>0]|0)==(c&255)<<24>>24?b:0)|0}function GEa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;if(!(d&255)){d=b+(SGa(b|0)|0)|0;return d|0}a:do if(b&3){e=b;while(1){g=a[e>>0]|0;b=e+1|0;if(g<<24>>24==0?1:g<<24>>24==(d&255)<<24>>24){b=e;break}if(!(b&3))break a;else e=b}return b|0}while(0);g=ba(d&255,16843009)|0;e=c[b>>2]|0;b:do if(!((e&-2139062144^-2139062144)&e+-16843009)){f=b;while(1){e=e^g;b=f+4|0;if((e&-2139062144^-2139062144)&e+-16843009){b=f;break b}e=c[b>>2]|0;if((e&-2139062144^-2139062144)&e+-16843009)break;else f=b}}while(0);while(1){g=a[b>>0]|0;if(g<<24>>24==0?1:g<<24>>24==(d&255)<<24>>24)break;else b=b+1|0}return b|0}function HEa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+32|0;e=a[d>>0]|0;if(e<<24>>24!=0?(a[d+1>>0]|0)!=0:0){c[g+0>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;c[g+12>>2]=0;c[g+16>>2]=0;c[g+20>>2]=0;c[g+24>>2]=0;c[g+28>>2]=0;do{f=g+(((e&255)>>>5&255)<<2)|0;c[f>>2]=c[f>>2]|1<<(e&31);d=d+1|0;e=a[d>>0]|0}while(e<<24>>24!=0);e=a[b>>0]|0;a:do if(!(e<<24>>24))e=b;else{f=b;d=e;while(1){e=f+1|0;if(c[g+(((d&255)>>>5&255)<<2)>>2]&1<<(d&31)){e=f;break a}d=a[e>>0]|0;if(!(d<<24>>24))break;else f=e}}while(0);b=e-b|0;i=g;return b|0}b=(GEa(b,e<<24>>24)|0)-b|0;i=g;return b|0}function IEa(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;b=b+(SGa(b|0)|0)|0;a:do if(d){f=c;e=b;while(1){c=a[f>>0]|0;if(!(c<<24>>24)){b=e;break a}d=d+-1|0;b=e+1|0;a[e>>0]=c;if(!d)break;else{f=f+1|0;e=b}}}while(0);a[b>>0]=0;return}function JEa(b,c){b=b|0;c=c|0;b=b+(HEa(b,c)|0)|0;return ((a[b>>0]|0)!=0?b:0)|0}function KEa(a,b){a=a|0;b=b|0;return EEa(a,b,(SGa(a|0)|0)+1|0)|0}function LEa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+32|0;c[g+0>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;c[g+12>>2]=0;c[g+16>>2]=0;c[g+20>>2]=0;c[g+24>>2]=0;c[g+28>>2]=0;f=a[d>>0]|0;if(!(f<<24>>24)){b=0;i=g;return b|0}if(!(a[d+1>>0]|0)){d=b;while(1)if((a[d>>0]|0)==f<<24>>24)d=d+1|0;else break;b=d-b|0;i=g;return b|0}else{e=d;d=f}do{f=g+(((d&255)>>>5&255)<<2)|0;c[f>>2]=c[f>>2]|1<<(d&31);e=e+1|0;d=a[e>>0]|0}while(d<<24>>24!=0);d=a[b>>0]|0;a:do if(!(d<<24>>24))d=b;else{f=b;e=d;while(1){d=f+1|0;if(!(c[g+(((e&255)>>>5&255)<<2)>>2]&1<<(e&31))){d=f;break a}e=a[d>>0]|0;if(!(e<<24>>24))break;else f=d}}while(0);b=d-b|0;i=g;return b|0}function MEa(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+1056|0;p=a[e>>0]|0;if(!(p<<24>>24)){t=b;i=u;return t|0}q=FEa(b,p<<24>>24)|0;if(!q){t=0;i=u;return t|0}o=a[e+1>>0]|0;if(!(o<<24>>24)){t=q;i=u;return t|0}m=a[q+1>>0]|0;if(!(m<<24>>24)){t=0;i=u;return t|0}n=a[e+2>>0]|0;if(!(n<<24>>24)){g=q+1|0;j=q;f=m;h=d[q>>0]<<8|m&255;while(1){b=h&65535;if((b|0)==(o&255|(p&255)<<8|0)){g=j;break}f=j+2|0;h=a[f>>0]|0;if(!(h<<24>>24)){f=0;break}else{j=g;g=f;f=h;h=h&255|b<<8}}t=f<<24>>24==0?0:g;i=u;return t|0}j=a[q+2>>0]|0;if(!(j<<24>>24)){t=0;i=u;return t|0}f=a[e+3>>0]|0;if(!(f<<24>>24)){f=(j&255)<<8|(m&255)<<16|d[q>>0]<<24;if((f|0)==((o&255)<<16|(p&255)<<24|(n&255)<<8|0)){g=q+2|0;f=0}else{g=q+2|0;do{g=g+1|0;h=a[g>>0]|0;f=(h&255|f)<<8}while(!(h<<24>>24==0?1:(f|0)==((o&255)<<16|(p&255)<<24|(n&255)<<8|0)));f=h<<24>>24==0}t=f?0:g+-2|0;i=u;return t|0}b=a[q+3>>0]|0;if(!(b<<24>>24)){t=0;i=u;return t|0}if(!(a[e+4>>0]|0)){h=(j&255)<<8|(m&255)<<16|b&255|d[q>>0]<<24;if((h|0)==((o&255)<<16|(p&255)<<24|(n&255)<<8|f&255|0)){g=q+3|0;f=0}else{g=q+3|0;do{g=g+1|0;b=a[g>>0]|0;h=b&255|h<<8}while(!(b<<24>>24==0?1:(h|0)==((o&255)<<16|(p&255)<<24|(n&255)<<8|f&255|0)));f=b<<24>>24==0}t=f?0:g+-3|0;i=u;return t|0};c[u+1024>>2]=0;c[u+1028>>2]=0;c[u+1032>>2]=0;c[u+1036>>2]=0;c[u+1040>>2]=0;c[u+1044>>2]=0;c[u+1048>>2]=0;c[u+1052>>2]=0;b=p;o=0;while(1){if(!(a[q+o>>0]|0)){l=0;k=79;break}r=u+1024+(((b&255)>>>5&255)<<2)|0;c[r>>2]=c[r>>2]|1<<(b&31);r=o+1|0;c[u+((b&255)<<2)>>2]=r;b=a[e+r>>0]|0;if(!(b<<24>>24))break;else o=r}if((k|0)==79){i=u;return l|0}a:do if(r>>>0>1){b=1;m=-1;j=0;b:while(1){g=1;while(1){c:while(1){k=b;f=1;while(1){b=a[e+(f+m)>>0]|0;h=a[e+k>>0]|0;if(b<<24>>24!=h<<24>>24)break c;if((f|0)==(g|0))break;f=f+1|0;b=f+j|0;if(b>>>0>=r>>>0){j=m;break b}else k=b}j=j+g|0;b=j+1|0;if(b>>>0>=r>>>0){j=m;break b}}g=k-m|0;if((b&255)<=(h&255))break;b=k+1|0;if(b>>>0>=r>>>0){j=m;break b}else j=k}b=j+2|0;if(b>>>0>=r>>>0){g=1;break}else{m=j;j=j+1|0}}b=1;n=-1;h=0;while(1){k=b;b=1;while(1){f=k;d:while(1){m=1;while(1){k=a[e+(m+n)>>0]|0;l=a[e+f>>0]|0;if(k<<24>>24!=l<<24>>24)break d;if((m|0)==(b|0))break;m=m+1|0;f=m+h|0;if(f>>>0>=r>>>0){h=n;break a}}h=h+b|0;f=h+1|0;if(f>>>0>=r>>>0){h=n;break a}}b=f-n|0;if((k&255)>=(l&255))break;k=f+1|0;if(k>>>0>=r>>>0){h=n;break a}else h=f}b=h+2|0;if(b>>>0>=r>>>0){b=1;break}else{n=h;h=h+1|0}}}else{j=-1;h=-1;g=1;b=1}while(0);p=(h+1|0)>>>0>(j+1|0)>>>0;n=p?b:g;p=p?h:j;if(!(GGa(e,e+n|0,p+1|0)|0))if((r|0)!=(n|0)){l=q;m=0;h=q;e:while(1){j=l;do if((h-j|0)>>>0>>0){b=FGa(h,0,r|63)|0;if(b)if((b-j|0)>>>0>>0){l=0;k=79;break e}else break;else{b=h+(r|63)|0;break}}else b=h;while(0);j=a[l+o>>0]|0;if(!(1<<(j&31)&c[u+1024+(((j&255)>>>5&255)<<2)>>2])){l=l+r|0;m=0;h=b;continue}j=c[u+((j&255)<<2)>>2]|0;if((r|0)!=(j|0)){l=l+((m|0)!=0&(r-j|0)>>>0>>0?r-n|0:r-j|0)|0;m=0;h=b;continue}h=(p+1|0)>>>0>m>>>0?p+1|0:m;j=a[e+h>>0]|0;f:do if(!(j<<24>>24))j=p+1|0;else{while(1){g=h+1|0;if(j<<24>>24!=(a[l+h>>0]|0))break;j=a[e+g>>0]|0;if(!(j<<24>>24)){j=p+1|0;break f}else h=g}l=l+(h-p)|0;m=0;h=b;continue e}while(0);do{if(j>>>0<=m>>>0){k=79;break e}j=j+-1|0}while((a[e+j>>0]|0)==(a[l+j>>0]|0));l=l+n|0;m=r-n|0;h=b}if((k|0)==79){i=u;return l|0}}else{s=r|63;t=r}else{s=r|63;t=(p>>>0>(r-p+-1|0)>>>0?p:r-p+-1|0)+1|0}l=q;h=q;g:while(1){j=l;do if((h-j|0)>>>0>>0){b=FGa(h,0,s)|0;if(b)if((b-j|0)>>>0>>0){l=0;k=79;break g}else{h=b;break}else{h=h+s|0;break}}while(0);b=a[l+o>>0]|0;if(!(1<<(b&31)&c[u+1024+(((b&255)>>>5&255)<<2)>>2])){l=l+r|0;continue}b=c[u+((b&255)<<2)>>2]|0;if((r|0)!=(b|0)){l=l+(r-b)|0;continue}b=a[e+(p+1)>>0]|0;h:do if(!(b<<24>>24))j=p+1|0;else{g=p+1|0;while(1){j=g+1|0;if(b<<24>>24!=(a[l+g>>0]|0))break;b=a[e+j>>0]|0;if(!(b<<24>>24)){j=p+1|0;break h}else g=j}l=l+(g-p)|0;continue g}while(0);do{if(!j){k=79;break g}j=j+-1|0}while((a[e+j>>0]|0)==(a[l+j>>0]|0));l=l+t|0}if((k|0)==79){i=u;return l|0}return 0}function NEa(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;if(!b){b=c[d>>2]|0;if(!b){d=0;return d|0}}e=LEa(b,59800)|0;g=b+e|0;if(!(a[g>>0]|0)){c[d>>2]=0;d=0;return d|0}e=(HEa(g,59800)|0)+e|0;f=b+e|0;c[d>>2]=f;if(!(a[f>>0]|0)){c[d>>2]=0;d=g;return d|0}else{c[d>>2]=b+(e+1);a[f>>0]=0;d=g;return d|0}return 0}function OEa(a){a=a|0;var b=0;b=a;while(1)if(!(c[b>>2]|0))break;else b=b+4|0;return b-a>>2|0}function PEa(a,b,d){a=a|0;b=b|0;d=d|0;if(!d)return;while(1){d=d+-1|0;c[a>>2]=c[b>>2];if(!d)break;else{b=b+4|0;a=a+4|0}}return}function QEa(a,b,d){a=a|0;b=b|0;d=d|0;if(a-b>>2>>>0>>0){if(!d)return;do{d=d+-1|0;c[a+(d<<2)>>2]=c[b+(d<<2)>>2]}while((d|0)!=0);return}else{if(!d)return;while(1){d=d+-1|0;c[a>>2]=c[b>>2];if(!d)break;else{b=b+4|0;a=a+4|0}}return}}function REa(a,b,d){a=a|0;b=b|0;d=d|0;if(!d)return;while(1){d=d+-1|0;c[a>>2]=b;if(!d)break;else a=a+4|0}return}function SEa(a,b,c){a=a|0;b=b|0;c=c|0;return yEa(a,b,c)|0}function TEa(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+720|0;c[s>>2]=a;a:do if((e|0)==1&(f|0)==0){l=a;e=1;p=18}else{l=a;m=(f|0)==0;n=f;f=a;a=1;k=e;while(1){o=l+(0-(c[j+(g<<2)>>2]|0))|0;if((bd[d&63](o,f)|0)<1){e=a;p=18;break a}if((h|0)==0&(g|0)>1){f=c[j+(g+-2<<2)>>2]|0;if((bd[d&63](l+(0-b)|0,o)|0)>-1){e=a;break a}if((bd[d&63](l+(0-(f+b))|0,o)|0)>-1){e=a;break a}}e=a+1|0;c[s+(a<<2)>>2]=o;a=k+-1|0;do if(a){if(!(a&1)){f=0;do{f=f+1|0;a=a>>>1}while((a&1|0)==0);if(!f)p=10}else p=10;if((p|0)==10){p=0;if(m){f=64;p=15;break}if(!(n&1)){f=n;l=0}else{h=0;l=k;a=n;f=0;break}while(1){a=l+1|0;f=f>>>1;if(f&1)break;else l=a}if(!a){h=0;l=k;a=n;f=0;break}else f=l+33|0}if(f>>>0>31)p=15;else{h=f;l=k;a=n}}else{f=32;p=15}while(0);if((p|0)==15){p=0;h=f+-32|0;l=n;a=0}k=a<<32-h|l>>>h;a=a>>>h;g=f+g|0;if((k|0)==1&(a|0)==0){l=o;break a}l=o;h=0;m=(a|0)==0;n=a;f=c[s>>2]|0;a=e}}while(0);if((p|0)==18)if(h){i=s;return}b:do if((e|0)>=2?(q=s+(e<<2)|0,c[q>>2]=s+456,(b|0)!=0):0){if((e|0)>0){a=b;h=s+456|0}else{h=b>>>0>256?256:b;k=c[s>>2]|0;VGa(s+456|0,k|0,h|0)|0;if((h|0)==(b|0))break;else e=b;while(1){e=e-h|0;h=e>>>0>256?256:e;VGa(s+456|0,k|0,h|0)|0;if((e|0)==(h|0))break b}}while(1){f=a>>>0>256?256:a;k=c[s>>2]|0;VGa(h|0,k|0,f|0)|0;h=k;k=0;do{p=k;k=k+1|0;o=h;h=c[s+(k<<2)>>2]|0;VGa(o|0,h|0,f|0)|0;c[s+(p<<2)>>2]=o+f}while((k|0)!=(e|0));if((a|0)==(f|0))break b;a=a-f|0;h=c[q>>2]|0}}while(0);c[s+228>>2]=l;c:do if((g|0)>1){e=l;k=l;a=1;while(1){f=e+(0-b)|0;l=g+-2|0;e=e+(0-((c[j+(l<<2)>>2]|0)+b))|0;if((bd[d&63](k,e)|0)>-1?(bd[d&63](k,f)|0)>-1:0){h=a;break}h=a+1|0;k=s+228+(a<<2)|0;if((bd[d&63](e,f)|0)>-1){c[k>>2]=e;g=g+-1|0}else{c[k>>2]=f;e=f;g=l}if((g|0)<=1)break;k=c[s+228>>2]|0;a=h}if((h|0)>=2?(r=s+228+(h<<2)|0,c[r>>2]=s+456,(b|0)!=0):0){if((h|0)>0)g=s+456|0;else{k=b>>>0>256?256:b;g=c[s+228>>2]|0;VGa(s+456|0,g|0,k|0)|0;if((k|0)==(b|0))break;while(1){b=b-k|0;k=b>>>0>256?256:b;VGa(s+456|0,g|0,k|0)|0;if((b|0)==(k|0))break c}}while(1){e=b>>>0>256?256:b;k=c[s+228>>2]|0;VGa(g|0,k|0,e|0)|0;g=k;k=0;do{j=k;k=k+1|0;d=g;g=c[s+228+(k<<2)>>2]|0;VGa(d|0,g|0,e|0)|0;c[s+228+(j<<2)>>2]=d+e}while((k|0)!=(h|0));if((b|0)==(e|0))break c;b=b-e|0;g=c[r>>2]|0}}}while(0);i=s;return}function UEa(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d>>2]=b;b=c[n>>2]|0;Ib(b|0,a|0,d|0)|0;Fc(10,b|0)|0;dc()}function VEa(){var a=0,b=0;a=i;i=i+16|0;if(!(tb(1714688,3)|0)){b=hc(c[428670]|0)|0;i=a;return b|0}else UEa(1714696,a);return 0}function WEa(a){a=a|0;var b=0;b=(a|0)==0?1:a;a=UFa(b)|0;a:do if(!a){while(1){a=eFa()|0;if(!a)break;gd[a&3]();a=UFa(b)|0;if(a)break a}b=Kb(4)|0;c[b>>2]=1714872;Gc(b|0,1714920,206)}while(0);return a|0}function XEa(a){a=a|0;return WEa(a)|0}function YEa(a){a=a|0;VFa(a);return}function ZEa(a){a=a|0;YEa(a);return}function _Ea(a){a=a|0;c[a>>2]=1714872;return}function $Ea(a){a=a|0;return}function aFa(a){a=a|0;YEa(a);return}function bFa(a){a=a|0;return 1714888}function cFa(a){a=a|0;var b=0;b=i;i=i+16|0;gd[a&3]();UEa(1714936,b)}function dFa(){var a=0,b=0;a=VEa()|0;if(((a|0)!=0?(b=c[a>>2]|0,(b|0)!=0):0)?((c[b+52>>2]|0)==1129074247?(c[b+48>>2]&-256|0)==1126902528:0):0)cFa(c[b+12>>2]|0);b=c[428626]|0;c[428626]=b+0;cFa(b)}function eFa(){var a=0;a=c[428744]|0;c[428744]=a+0;return a|0}function fFa(a){a=a|0;c[a>>2]=1715016;SFa(a+4|0);return}function gFa(a){a=a|0;fFa(a);YEa(a);return}function hFa(a){a=a|0;return c[a+4>>2]|0}function iFa(a){a=a|0;c[a>>2]=1715040;SFa(a+4|0);return}function jFa(a){a=a|0;iFa(a);YEa(a);return}function kFa(a){a=a|0;return c[a+4>>2]|0}function lFa(a){a=a|0;fFa(a);YEa(a);return}function mFa(a){a=a|0;iFa(a);YEa(a);return}function nFa(a){a=a|0;c[a>>2]=1715264;return}function oFa(a){a=a|0;return}function pFa(a){a=a|0;YEa(a);return}function qFa(a){a=a|0;return 1715280}function rFa(a){a=a|0;return}function sFa(a){a=a|0;return}function tFa(a){a=a|0;return}function uFa(a){a=a|0;YEa(a);return}function vFa(a){a=a|0;YEa(a);return}function wFa(a){a=a|0;YEa(a);return}function xFa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+64|0;if((a|0)!=(b|0))if((b|0)!=0?(f=DFa(b,1715448)|0,(f|0)!=0):0){b=g+0|0;e=b+56|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(e|0));c[g>>2]=f;c[g+8>>2]=a;c[g+12>>2]=-1;c[g+48>>2]=1;id[c[(c[f>>2]|0)+28>>2]&15](f,g,c[d>>2]|0,1);if((c[g+24>>2]|0)==1){c[d>>2]=c[g+16>>2];b=1}else b=0}else b=0;else b=1;i=g;return b|0}function yFa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=c[b+16>>2]|0;do if(f){if((f|0)!=(d|0)){c[b+36>>2]=(c[b+36>>2]|0)+1;c[b+24>>2]=2;a[b+54>>0]=1;break}if((c[b+24>>2]|0)==2)c[b+24>>2]=e}else{c[b+16>>2]=d;c[b+24>>2]=e;c[b+36>>2]=1}while(0);return}function zFa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if((c[b+8>>2]|0)==(a|0))yFa(b,d,e);return}function AFa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if((a|0)==(c[b+8>>2]|0))yFa(b,d,e);else{a=c[a+8>>2]|0;id[c[(c[a>>2]|0)+28>>2]&15](a,b,d,e)}return}function BFa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=c[a+4>>2]|0;if(!(f&1))g=f>>8;else g=c[(c[d>>2]|0)+(f>>8)>>2]|0;a=c[a>>2]|0;id[c[(c[a>>2]|0)+28>>2]&15](a,b,d+g|0,(f&2|0)!=0?e:2);return}function CFa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a:do if((b|0)!=(c[d+8>>2]|0)){g=c[b+12>>2]|0;BFa(b+16|0,d,e,f);if((g|0)>1){h=b+24|0;do{BFa(h,d,e,f);if(a[d+54>>0]|0)break a;h=h+8|0}while(h>>>0<(b+(g<<3)+16|0)>>>0)}}else yFa(d,e,f);while(0);return}function DFa(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+64|0;h=c[d>>2]|0;g=d+(c[h+-8>>2]|0)|0;h=c[h+-4>>2]|0;c[j>>2]=e;c[j+4>>2]=d;c[j+8>>2]=1715392;d=j+12|0;f=d+40|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(f|0));b[j+52>>1]=0;a[j+54>>0]=0;do if((h|0)==(e|0)){c[j+48>>2]=1;Zc[c[(c[h>>2]|0)+20>>2]&15](h,j,g,g,1,0);d=(c[j+24>>2]|0)==1?g:0}else{Oc[c[(c[h>>2]|0)+24>>2]&7](h,j,g,1,0);d=c[j+36>>2]|0;if(!d){d=((c[j+40>>2]|0)==1?(c[j+28>>2]|0)==1:0)&(c[j+32>>2]|0)==1?c[j+20>>2]|0:0;break}else if((d|0)!=1){d=0;break}if((c[j+24>>2]|0)!=1?!(((c[j+40>>2]|0)==0?(c[j+28>>2]|0)==1:0)&(c[j+32>>2]|0)==1):0){d=0;break}d=c[j+16>>2]|0}while(0);i=j;return d|0}function EFa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;a[b+53>>0]=1;do if((c[b+4>>2]|0)==(e|0)){a[b+52>>0]=1;e=c[b+16>>2]|0;if(!e){c[b+16>>2]=d;c[b+24>>2]=f;c[b+36>>2]=1;if(!((f|0)==1?(c[b+48>>2]|0)==1:0))break;a[b+54>>0]=1;break}if((e|0)!=(d|0)){c[b+36>>2]=(c[b+36>>2]|0)+1;a[b+54>>0]=1;break}e=c[b+24>>2]|0;if((e|0)==2){c[b+24>>2]=f;e=f}if((e|0)==1?(c[b+48>>2]|0)==1:0)a[b+54>>0]=1}while(0);return}function FFa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;a:do if((b|0)==(c[d+8>>2]|0)){if((c[d+4>>2]|0)==(e|0)?(c[d+28>>2]|0)!=1:0)c[d+28>>2]=f}else{if((b|0)!=(c[d>>2]|0)){j=c[b+12>>2]|0;HFa(b+16|0,d,e,f,g);if((j|0)<=1)break;i=c[b+8>>2]|0;if((i&2|0)==0?(c[d+36>>2]|0)!=1:0){if(!(i&1)){i=b+24|0;while(1){if(a[d+54>>0]|0)break a;if((c[d+36>>2]|0)==1)break a;HFa(i,d,e,f,g);i=i+8|0;if(i>>>0>=(b+(j<<3)+16|0)>>>0)break a}}i=b+24|0;while(1){if(a[d+54>>0]|0)break a;if((c[d+36>>2]|0)==1?(c[d+24>>2]|0)==1:0)break a;HFa(i,d,e,f,g);i=i+8|0;if(i>>>0>=(b+(j<<3)+16|0)>>>0)break a}}i=b+24|0;while(1){if(a[d+54>>0]|0)break a;HFa(i,d,e,f,g);i=i+8|0;if(i>>>0>=(b+(j<<3)+16|0)>>>0)break a}}if((c[d+16>>2]|0)!=(e|0)?(c[d+20>>2]|0)!=(e|0):0){c[d+32>>2]=f;if((c[d+44>>2]|0)==4)break;j=c[b+12>>2]|0;b:do if((j|0)>0){i=0;h=0;f=b+16|0;c:do{a[d+52>>0]=0;a[d+53>>0]=0;GFa(f,d,e,e,1,g);if(a[d+54>>0]|0)break;do if(a[d+53>>0]|0){if(!(a[d+52>>0]|0))if(!(c[b+8>>2]&1)){h=1;break c}else{h=1;break}if((c[d+24>>2]|0)==1){i=25;break b}if(!(c[b+8>>2]&2)){i=25;break b}else{i=1;h=1}}while(0);f=f+8|0}while(f>>>0<(b+(j<<3)+16|0)>>>0);if(i)i=24;else i=21}else{h=0;i=21}while(0);if((i|0)==21){c[d+20>>2]=e;c[d+40>>2]=(c[d+40>>2]|0)+1;if((c[d+36>>2]|0)==1?(c[d+24>>2]|0)==2:0){a[d+54>>0]=1;if(h)i=25;else i=26}else i=24}if((i|0)==24)if(h)i=25;else i=26;if((i|0)==25){c[d+44>>2]=3;break}else if((i|0)==26){c[d+44>>2]=4;break}}if((f|0)==1)c[d+32>>2]=1}while(0);return}function GFa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=c[a+4>>2]|0;if(!(h&1))i=h>>8;else i=c[(c[e>>2]|0)+(h>>8)>>2]|0;a=c[a>>2]|0;Zc[c[(c[a>>2]|0)+20>>2]&15](a,b,d,e+i|0,(h&2|0)!=0?f:2,g);return}function HFa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=c[a+4>>2]|0;if(!(g&1))h=g>>8;else h=c[(c[d>>2]|0)+(g>>8)>>2]|0;a=c[a>>2]|0;Oc[c[(c[a>>2]|0)+24>>2]&7](a,b,d+h|0,(g&2|0)!=0?e:2,f);return}function IFa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;a:do if((b|0)==(c[d+8>>2]|0)){if((c[d+4>>2]|0)==(e|0)?(c[d+28>>2]|0)!=1:0)c[d+28>>2]=f}else{if((b|0)!=(c[d>>2]|0)){h=c[b+8>>2]|0;Oc[c[(c[h>>2]|0)+24>>2]&7](h,d,e,f,g);break}if((c[d+16>>2]|0)!=(e|0)?(c[d+20>>2]|0)!=(e|0):0){c[d+32>>2]=f;if((c[d+44>>2]|0)==4)break;a[d+52>>0]=0;a[d+53>>0]=0;b=c[b+8>>2]|0;Zc[c[(c[b>>2]|0)+20>>2]&15](b,d,e,e,1,g);if(a[d+53>>0]|0){if(!(a[d+52>>0]|0)){f=1;h=13}}else{f=0;h=13}do if((h|0)==13){c[d+20>>2]=e;c[d+40>>2]=(c[d+40>>2]|0)+1;if((c[d+36>>2]|0)==1?(c[d+24>>2]|0)==2:0){a[d+54>>0]=1;if(f)break}else h=16;if((h|0)==16?f:0)break;c[d+44>>2]=4;break a}while(0);c[d+44>>2]=3;break}if((f|0)==1)c[d+32>>2]=1}while(0);return}function JFa(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;do if((c[d+8>>2]|0)==(b|0)){if((c[d+4>>2]|0)==(e|0)?(c[d+28>>2]|0)!=1:0)c[d+28>>2]=f}else if((c[d>>2]|0)==(b|0)){if((c[d+16>>2]|0)!=(e|0)?(c[d+20>>2]|0)!=(e|0):0){c[d+32>>2]=f;c[d+20>>2]=e;c[d+40>>2]=(c[d+40>>2]|0)+1;if((c[d+36>>2]|0)==1?(c[d+24>>2]|0)==2:0)a[d+54>>0]=1;c[d+44>>2]=4;break}if((f|0)==1)c[d+32>>2]=1}while(0);return}function KFa(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;if((b|0)==(c[d+8>>2]|0))EFa(d,e,f,g);else{i=a[d+52>>0]|0;j=a[d+53>>0]|0;k=c[b+12>>2]|0;a[d+52>>0]=0;a[d+53>>0]=0;GFa(b+16|0,d,e,f,g,h);a:do if((k|0)>1){l=b+24|0;do{if(a[d+54>>0]|0)break a;if(!(a[d+52>>0]|0)){if((a[d+53>>0]|0)!=0?(c[b+8>>2]&1|0)==0:0)break a}else{if((c[d+24>>2]|0)==1)break a;if(!(c[b+8>>2]&2))break a}a[d+52>>0]=0;a[d+53>>0]=0;GFa(l,d,e,f,g,h);l=l+8|0}while(l>>>0<(b+(k<<3)+16|0)>>>0)}while(0);a[d+52>>0]=i;a[d+53>>0]=j}return}function LFa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if((a|0)==(c[b+8>>2]|0))EFa(b,d,e,f);else{a=c[a+8>>2]|0;Zc[c[(c[a>>2]|0)+20>>2]&15](a,b,d,e,f,g)}return}function MFa(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if((c[b+8>>2]|0)==(a|0))EFa(b,d,e,f);return}function NFa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=c[d>>2];a=Vc[c[(c[a>>2]|0)+16>>2]&63](a,b,e)|0;if(a)c[d>>2]=c[e>>2];i=e;return a&1|0}function OFa(a){a=a|0;if(!a)a=0;else a=(DFa(a,1715560)|0)!=0;return a&1|0}function PFa(){var a=0;a=Kb(4)|0;_Ea(a);Gc(a|0,1714920,206)}function QFa(){var a=0,b=0,d=0,e=0;e=i;i=i+16|0;a=VEa()|0;if((a|0)!=0?(d=c[a>>2]|0,(d|0)!=0):0){b=c[d+48>>2]|0;a=c[d+52>>2]|0;if(!((b&-256|0)==1126902528&(a|0)==1129074247)){c[e>>2]=1714512;UEa(1714624,e)}if((b|0)==1126902529&(a|0)==1129074247)a=c[d+44>>2]|0;else a=d+80|0;c[e+12>>2]=a;d=c[d>>2]|0;a=c[d+4>>2]|0;if(xFa(1715e3,d,e+12|0)|0){d=c[e+12>>2]|0;d=Tc[c[(c[d>>2]|0)+8>>2]&127](d)|0;c[e>>2]=1714512;c[e+4>>2]=a;c[e+8>>2]=d;UEa(1714528,e)}else{c[e>>2]=1714512;c[e+4>>2]=a;UEa(1714576,e)}}UEa(1714664,e)}function RFa(){var a=0;a=i;i=i+16|0;if(!(kc(1714680,257)|0)){i=a;return}else UEa(1714752,a)}function SFa(a){a=a|0;var b=0,d=0;d=(c[a>>2]|0)+-4|0;b=c[d>>2]|0;c[d>>2]=b+-1;if((b+-1|0)<0)YEa((c[a>>2]|0)+-12|0);return}function TFa(a){a=a|0;var b=0;b=i;i=i+16|0;VFa(a);if(!(Dc(c[428670]|0,0)|0)){i=b;return}else UEa(1714808,b)}function UFa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;do if(a>>>0<245){if(a>>>0<11)b=16;else b=a+11&-8;a=b>>>3;i=c[428952]|0;if(i>>>a&3){b=c[1715848+(((i>>>a&1^1)+a<<1)+2<<2)>>2]|0;d=c[b+8>>2]|0;do if((1715848+((i>>>a&1^1)+a<<1<<2)|0)!=(d|0)){if(d>>>0<(c[428956]|0)>>>0)dc();if((c[d+12>>2]|0)==(b|0)){c[d+12>>2]=1715848+((i>>>a&1^1)+a<<1<<2);c[1715848+(((i>>>a&1^1)+a<<1)+2<<2)>>2]=d;break}else dc()}else c[428952]=i&~(1<<(i>>>a&1^1)+a);while(0);c[b+4>>2]=(i>>>a&1^1)+a<<3|3;c[b+((i>>>a&1^1)+a<<3|4)>>2]=c[b+((i>>>a&1^1)+a<<3|4)>>2]|1;F=b+8|0;return F|0}h=c[428954]|0;if(b>>>0>h>>>0){if(i>>>a){e=(i>>>a<>>a<>>(e>>>12&16)>>>(e>>>(e>>>12&16)>>>5&8);f=a>>>(a>>>2&4)>>>(a>>>(a>>>2&4)>>>1&2);f=(e>>>(e>>>12&16)>>>5&8|e>>>12&16|a>>>2&4|a>>>(a>>>2&4)>>>1&2|f>>>1&1)+(f>>>(f>>>1&1))|0;a=c[1715848+((f<<1)+2<<2)>>2]|0;e=c[a+8>>2]|0;do if((1715848+(f<<1<<2)|0)!=(e|0)){if(e>>>0<(c[428956]|0)>>>0)dc();if((c[e+12>>2]|0)==(a|0)){c[e+12>>2]=1715848+(f<<1<<2);c[1715848+((f<<1)+2<<2)>>2]=e;k=c[428954]|0;break}else dc()}else{c[428952]=i&~(1<>2]=b|3;h=a+b|0;c[a+(b|4)>>2]=g|1;c[a+(f<<3)>>2]=g;if(k){f=c[428957]|0;b=k>>>3;e=c[428952]|0;if(e&1<>2]|0;if(d>>>0<(c[428956]|0)>>>0)dc();else{j=1715848+((b<<1)+2<<2)|0;l=d}}else{c[428952]=e|1<>2]=f;c[l+12>>2]=f;c[f+8>>2]=l;c[f+12>>2]=1715848+(b<<1<<2)}c[428954]=g;c[428957]=h;F=a+8|0;return F|0}a=c[428953]|0;if(a){j=((a&0-a)+-1|0)>>>(((a&0-a)+-1|0)>>>12&16);k=j>>>(j>>>5&8)>>>(j>>>(j>>>5&8)>>>2&4);k=c[1716112+((j>>>5&8|((a&0-a)+-1|0)>>>12&16|j>>>(j>>>5&8)>>>2&4|k>>>1&2|k>>>(k>>>1&2)>>>1&1)+(k>>>(k>>>1&2)>>>(k>>>(k>>>1&2)>>>1&1))<<2)>>2]|0;j=(c[k+4>>2]&-8)-b|0;f=k;while(1){d=c[f+16>>2]|0;if(!d){d=c[f+20>>2]|0;if(!d)break}f=(c[d+4>>2]&-8)-b|0;F=f>>>0>>0;j=F?f:j;f=d;k=F?d:k}a=c[428956]|0;if(k>>>0>>0)dc();i=k+b|0;if(k>>>0>=i>>>0)dc();d=c[k+24>>2]|0;f=c[k+12>>2]|0;do if((f|0)==(k|0)){e=k+20|0;f=c[e>>2]|0;if(!f){e=k+16|0;f=c[e>>2]|0;if(!f){m=0;break}}while(1){h=f+20|0;g=c[h>>2]|0;if(g){f=g;e=h;continue}h=f+16|0;g=c[h>>2]|0;if(!g)break;else{f=g;e=h}}if(e>>>0>>0)dc();else{c[e>>2]=0;m=f;break}}else{e=c[k+8>>2]|0;if(e>>>0>>0)dc();if((c[e+12>>2]|0)!=(k|0))dc();if((c[f+8>>2]|0)==(k|0)){c[e+12>>2]=f;c[f+8>>2]=e;m=f;break}else dc()}while(0);do if(d){e=c[k+28>>2]|0;if((k|0)==(c[1716112+(e<<2)>>2]|0)){c[1716112+(e<<2)>>2]=m;if(!m){c[428953]=c[428953]&~(1<>>0<(c[428956]|0)>>>0)dc();if((c[d+16>>2]|0)==(k|0))c[d+16>>2]=m;else c[d+20>>2]=m;if(!m)break}f=c[428956]|0;if(m>>>0>>0)dc();c[m+24>>2]=d;e=c[k+16>>2]|0;do if(e)if(e>>>0>>0)dc();else{c[m+16>>2]=e;c[e+24>>2]=m;break}while(0);e=c[k+20>>2]|0;if(e)if(e>>>0<(c[428956]|0)>>>0)dc();else{c[m+20>>2]=e;c[e+24>>2]=m;break}}while(0);if(j>>>0<16){F=j+b|0;c[k+4>>2]=F|3;F=k+(F+4)|0;c[F>>2]=c[F>>2]|1}else{c[k+4>>2]=b|3;c[k+(b|4)>>2]=j|1;c[k+(j+b)>>2]=j;d=c[428954]|0;if(d){b=c[428957]|0;e=c[428952]|0;if(e&1<<(d>>>3)){e=c[1715848+((d>>>3<<1)+2<<2)>>2]|0;if(e>>>0<(c[428956]|0)>>>0)dc();else{o=1715848+((d>>>3<<1)+2<<2)|0;n=e}}else{c[428952]=e|1<<(d>>>3);o=1715848+((d>>>3<<1)+2<<2)|0;n=1715848+(d>>>3<<1<<2)|0}c[o>>2]=b;c[n+12>>2]=b;c[b+8>>2]=n;c[b+12>>2]=1715848+(d>>>3<<1<<2)}c[428954]=j;c[428957]=i}F=k+8|0;return F|0}else q=b}else q=b}else if(a>>>0<=4294967231){o=a+11&-8;j=c[428953]|0;if(j){if((a+11|0)>>>8)if(o>>>0>16777215)k=31;else{k=(a+11|0)>>>8<<((((a+11|0)>>>8)+1048320|0)>>>16&8);k=14-((k+520192|0)>>>16&4|(((a+11|0)>>>8)+1048320|0)>>>16&8|((k<<((k+520192|0)>>>16&4))+245760|0)>>>16&2)+(k<<((k+520192|0)>>>16&4)<<(((k<<((k+520192|0)>>>16&4))+245760|0)>>>16&2)>>>15)|0;k=o>>>(k+7|0)&1|k<<1}else k=0;f=c[1716112+(k<<2)>>2]|0;a:do if(!f){g=0-o|0;a=0;h=0}else{if((k|0)==31)h=0;else h=25-(k>>>1)|0;g=0-o|0;a=0;i=o<>2]&-8;if((e-o|0)>>>0>>0)if((e|0)==(o|0)){g=e-o|0;a=f;h=f;break a}else{g=e-o|0;h=f}n=c[f+20>>2]|0;f=c[f+(i>>>31<<2)+16>>2]|0;a=(n|0)==0|(n|0)==(f|0)?a:n;if(!f)break;else i=i<<1}}while(0);if((a|0)==0&(h|0)==0){a=2<>>(m>>>12&16)>>>(m>>>(m>>>12&16)>>>5&8);a=n>>>(n>>>2&4)>>>(n>>>(n>>>2&4)>>>1&2);a=c[1716112+((m>>>(m>>>12&16)>>>5&8|m>>>12&16|n>>>2&4|n>>>(n>>>2&4)>>>1&2|a>>>1&1)+(a>>>(a>>>1&1))<<2)>>2]|0}if(!a){k=g;n=h}else while(1){n=(c[a+4>>2]&-8)-o|0;f=n>>>0>>0;g=f?n:g;h=f?a:h;f=c[a+16>>2]|0;if(f){a=f;continue}a=c[a+20>>2]|0;if(!a){k=g;n=h;break}}if((n|0)!=0?k>>>0<((c[428954]|0)-o|0)>>>0:0){a=c[428956]|0;if(n>>>0>>0)dc();l=n+o|0;if(n>>>0>=l>>>0)dc();d=c[n+24>>2]|0;f=c[n+12>>2]|0;do if((f|0)==(n|0)){h=n+20|0;f=c[h>>2]|0;if(!f){h=n+16|0;f=c[h>>2]|0;if(!f){p=0;break}}while(1){g=f+20|0;e=c[g>>2]|0;if(e){f=e;h=g;continue}g=f+16|0;e=c[g>>2]|0;if(!e)break;else{f=e;h=g}}if(h>>>0>>0)dc();else{c[h>>2]=0;p=f;break}}else{e=c[n+8>>2]|0;if(e>>>0>>0)dc();if((c[e+12>>2]|0)!=(n|0))dc();if((c[f+8>>2]|0)==(n|0)){c[e+12>>2]=f;c[f+8>>2]=e;p=f;break}else dc()}while(0);do if(d){f=c[n+28>>2]|0;if((n|0)==(c[1716112+(f<<2)>>2]|0)){c[1716112+(f<<2)>>2]=p;if(!p){c[428953]=c[428953]&~(1<>>0<(c[428956]|0)>>>0)dc();if((c[d+16>>2]|0)==(n|0))c[d+16>>2]=p;else c[d+20>>2]=p;if(!p)break}e=c[428956]|0;if(p>>>0>>0)dc();c[p+24>>2]=d;f=c[n+16>>2]|0;do if(f)if(f>>>0>>0)dc();else{c[p+16>>2]=f;c[f+24>>2]=p;break}while(0);e=c[n+20>>2]|0;if(e)if(e>>>0<(c[428956]|0)>>>0)dc();else{c[p+20>>2]=e;c[e+24>>2]=p;break}}while(0);b:do if(k>>>0>=16){c[n+4>>2]=o|3;c[n+(o|4)>>2]=k|1;c[n+(k+o)>>2]=k;f=k>>>3;if(k>>>0<256){d=c[428952]|0;do if(!(d&1<>2]|0;if(d>>>0>=(c[428956]|0)>>>0){b=1715848+((f<<1)+2<<2)|0;q=d;break}dc()}while(0);c[b>>2]=l;c[q+12>>2]=l;c[n+(o+8)>>2]=q;c[n+(o+12)>>2]=1715848+(f<<1<<2);break}d=k>>>8;if(d)if(k>>>0>16777215)f=31;else{f=d<<((d+1048320|0)>>>16&8)<<(((d<<((d+1048320|0)>>>16&8))+520192|0)>>>16&4);f=14-(((d<<((d+1048320|0)>>>16&8))+520192|0)>>>16&4|(d+1048320|0)>>>16&8|(f+245760|0)>>>16&2)+(f<<((f+245760|0)>>>16&2)>>>15)|0;f=k>>>(f+7|0)&1|f<<1}else f=0;e=1716112+(f<<2)|0;c[n+(o+28)>>2]=f;c[n+(o+20)>>2]=0;c[n+(o+16)>>2]=0;d=c[428953]|0;b=1<>2]=l;c[n+(o+24)>>2]=e;c[n+(o+12)>>2]=l;c[n+(o+8)>>2]=l;break}e=c[e>>2]|0;if((f|0)==31)d=0;else d=25-(f>>>1)|0;c:do if((c[e+4>>2]&-8|0)!=(k|0)){f=k<>>31<<2)+16|0;d=c[b>>2]|0;if(!d)break;if((c[d+4>>2]&-8|0)==(k|0)){s=d;break c}else{f=f<<1;e=d}}if(b>>>0<(c[428956]|0)>>>0)dc();else{c[b>>2]=l;c[n+(o+24)>>2]=e;c[n+(o+12)>>2]=l;c[n+(o+8)>>2]=l;break b}}else s=e;while(0);d=s+8|0;b=c[d>>2]|0;F=c[428956]|0;if(s>>>0>=F>>>0&b>>>0>=F>>>0){c[b+12>>2]=l;c[d>>2]=l;c[n+(o+8)>>2]=b;c[n+(o+12)>>2]=s;c[n+(o+24)>>2]=0;break}else dc()}else{F=k+o|0;c[n+4>>2]=F|3;F=n+(F+4)|0;c[F>>2]=c[F>>2]|1}while(0);F=n+8|0;return F|0}else q=o}else q=o}else q=-1;while(0);a=c[428954]|0;if(a>>>0>=q>>>0){d=a-q|0;b=c[428957]|0;if(d>>>0>15){c[428957]=b+q;c[428954]=d;c[b+(q+4)>>2]=d|1;c[b+a>>2]=d;c[b+4>>2]=q|3}else{c[428954]=0;c[428957]=0;c[b+4>>2]=a|3;c[b+(a+4)>>2]=c[b+(a+4)>>2]|1}F=b+8|0;return F|0}a=c[428955]|0;if(a>>>0>q>>>0){E=a-q|0;c[428955]=E;F=c[428958]|0;c[428958]=F+q;c[F+(q+4)>>2]=E|1;c[F+4>>2]=q|3;F=F+8|0;return F|0}do if(!(c[429070]|0)){a=Ra(30)|0;if(!(a+-1&a)){c[429072]=a;c[429071]=a;c[429073]=-1;c[429074]=-1;c[429075]=0;c[429063]=0;c[429070]=(yb(0)|0)&-16^1431655768;break}else dc()}while(0);k=q+48|0;g=c[429072]|0;j=q+47|0;l=g+j&0-g;if(l>>>0<=q>>>0){F=0;return F|0}a=c[429062]|0;if((a|0)!=0?(s=c[429060]|0,(s+l|0)>>>0<=s>>>0|(s+l|0)>>>0>a>>>0):0){F=0;return F|0}d:do if(!(c[429063]&4)){h=c[428958]|0;e:do if(h){f=1716256|0;while(1){a=c[f>>2]|0;if(a>>>0<=h>>>0?(d=f+4|0,(a+(c[d>>2]|0)|0)>>>0>h>>>0):0)break;a=c[f+8>>2]|0;if(!a){w=181;break e}else f=a}if(f){a=g+j-(c[428955]|0)&0-g;if(a>>>0<2147483647){h=Oa(a|0)|0;if((h|0)==((c[f>>2]|0)+(c[d>>2]|0)|0))w=190;else w=191}else a=0}else w=181}else w=181;while(0);do if((w|0)==181){h=Oa(0)|0;if((h|0)!=(-1|0)){a=c[429071]|0;if(!(a+-1&h))a=l;else a=l-h+(a+-1+h&0-a)|0;g=c[429060]|0;f=g+a|0;if(a>>>0>q>>>0&a>>>0<2147483647){s=c[429062]|0;if((s|0)!=0?f>>>0<=g>>>0|f>>>0>s>>>0:0){a=0;break}g=Oa(a|0)|0;if((g|0)==(h|0))w=190;else{h=g;w=191}}else a=0}else a=0}while(0);f:do if((w|0)==190){if((h|0)!=(-1|0)){s=h;p=a;w=201;break d}}else if((w|0)==191){g=0-a|0;do if((h|0)!=(-1|0)&a>>>0<2147483647&k>>>0>a>>>0?(r=c[429072]|0,r=j-a+r&0-r,r>>>0<2147483647):0)if((Oa(r|0)|0)==(-1|0)){Oa(g|0)|0;a=0;break f}else{a=r+a|0;break}while(0);if((h|0)==(-1|0))a=0;else{s=h;p=a;w=201;break d}}while(0);c[429063]=c[429063]|4;w=198}else{a=0;w=198}while(0);if((((w|0)==198?l>>>0<2147483647:0)?(t=Oa(l|0)|0,u=Oa(0)|0,(t|0)!=(-1|0)&(u|0)!=(-1|0)&t>>>0>>0):0)?(v=(u-t|0)>>>0>(q+40|0)>>>0,v):0){s=t;p=v?u-t|0:a;w=201}if((w|0)==201){h=(c[429060]|0)+p|0;c[429060]=h;if(h>>>0>(c[429061]|0)>>>0)c[429061]=h;k=c[428958]|0;g:do if(k){e=1716256|0;while(1){a=c[e>>2]|0;h=e+4|0;g=c[h>>2]|0;if((s|0)==(a+g|0)){w=213;break}f=c[e+8>>2]|0;if(!f)break;else e=f}if(((w|0)==213?(c[e+12>>2]&8|0)==0:0)?k>>>0>=a>>>0&k>>>0>>0:0){c[h>>2]=g+p;d=(c[428955]|0)+p|0;if(!(k+8&7))b=0;else b=0-(k+8)&7;F=d-b|0;c[428958]=k+b;c[428955]=F;c[k+(b+4)>>2]=F|1;c[k+(d+4)>>2]=40;c[428959]=c[429074];break}a=c[428956]|0;if(s>>>0>>0){c[428956]=s;a=s}h=s+p|0;f=1716256|0;while(1){if((c[f>>2]|0)==(h|0)){w=223;break}g=c[f+8>>2]|0;if(!g)break;else f=g}if((w|0)==223?(c[f+12>>2]&8|0)==0:0){c[f>>2]=s;f=f+4|0;c[f>>2]=(c[f>>2]|0)+p;f=s+8|0;if(!(f&7))o=0;else o=0-f&7;f=s+(p+8)|0;if(!(f&7))b=0;else b=0-f&7;f=s+(b+p)|0;m=o+q|0;n=s+m|0;l=f-(s+o)-q|0;c[s+(o+4)>>2]=q|3;h:do if((f|0)!=(k|0)){if((f|0)==(c[428957]|0)){F=(c[428954]|0)+l|0;c[428954]=F;c[428957]=n;c[s+(m+4)>>2]=F|1;c[s+(F+m)>>2]=F;break}k=p+4|0;j=c[s+(k+b)>>2]|0;if((j&3|0)==1){i:do if(j>>>0>=256){i=c[s+((b|24)+p)>>2]|0;h=c[s+(p+12+b)>>2]|0;do if((h|0)==(f|0)){g=b|16;e=s+(k+g)|0;h=c[e>>2]|0;if(!h){g=s+(g+p)|0;h=c[g>>2]|0;if(!h){C=0;break}}else g=e;while(1){e=h+20|0;d=c[e>>2]|0;if(d){h=d;g=e;continue}e=h+16|0;d=c[e>>2]|0;if(!d)break;else{h=d;g=e}}if(g>>>0>>0)dc();else{c[g>>2]=0;C=h;break}}else{g=c[s+((b|8)+p)>>2]|0;if(g>>>0>>0)dc();if((c[g+12>>2]|0)!=(f|0))dc();if((c[h+8>>2]|0)==(f|0)){c[g+12>>2]=h;c[h+8>>2]=g;C=h;break}else dc()}while(0);if(!i)break;a=c[s+(p+28+b)>>2]|0;do if((f|0)!=(c[1716112+(a<<2)>>2]|0)){if(i>>>0<(c[428956]|0)>>>0)dc();if((c[i+16>>2]|0)==(f|0))c[i+16>>2]=C;else c[i+20>>2]=C;if(!C)break i}else{c[1716112+(a<<2)>>2]=C;if(C)break;c[428953]=c[428953]&~(1<>>0>>0)dc();c[C+24>>2]=i;a=b|16;h=c[s+(a+p)>>2]|0;do if(h)if(h>>>0>>0)dc();else{c[C+16>>2]=h;c[h+24>>2]=C;break}while(0);h=c[s+(k+a)>>2]|0;if(!h)break;if(h>>>0<(c[428956]|0)>>>0)dc();else{c[C+20>>2]=h;c[h+24>>2]=C;break}}else{h=c[s+((b|8)+p)>>2]|0;g=c[s+(p+12+b)>>2]|0;do if((h|0)!=(1715848+(j>>>3<<1<<2)|0)){if(h>>>0>>0)dc();if((c[h+12>>2]|0)==(f|0))break;dc()}while(0);if((g|0)==(h|0)){c[428952]=c[428952]&~(1<<(j>>>3));break}do if((g|0)==(1715848+(j>>>3<<1<<2)|0))A=g+8|0;else{if(g>>>0>>0)dc();if((c[g+8>>2]|0)==(f|0)){A=g+8|0;break}dc()}while(0);c[h+12>>2]=g;c[A>>2]=h}while(0);f=s+((j&-8|b)+p)|0;a=(j&-8)+l|0}else a=l;f=f+4|0;c[f>>2]=c[f>>2]&-2;c[s+(m+4)>>2]=a|1;c[s+(a+m)>>2]=a;f=a>>>3;if(a>>>0<256){e=c[428952]|0;do if(!(e&1<>2]|0;if(e>>>0>=(c[428956]|0)>>>0){D=1715848+((f<<1)+2<<2)|0;E=e;break}dc()}while(0);c[D>>2]=n;c[E+12>>2]=n;c[s+(m+8)>>2]=E;c[s+(m+12)>>2]=1715848+(f<<1<<2);break}d=a>>>8;do if(!d)b=0;else{if(a>>>0>16777215){b=31;break}b=d<<((d+1048320|0)>>>16&8)<<(((d<<((d+1048320|0)>>>16&8))+520192|0)>>>16&4);b=14-(((d<<((d+1048320|0)>>>16&8))+520192|0)>>>16&4|(d+1048320|0)>>>16&8|(b+245760|0)>>>16&2)+(b<<((b+245760|0)>>>16&2)>>>15)|0;b=a>>>(b+7|0)&1|b<<1}while(0);f=1716112+(b<<2)|0;c[s+(m+28)>>2]=b;c[s+(m+20)>>2]=0;c[s+(m+16)>>2]=0;e=c[428953]|0;d=1<>2]=n;c[s+(m+24)>>2]=f;c[s+(m+12)>>2]=n;c[s+(m+8)>>2]=n;break}f=c[f>>2]|0;if((b|0)==31)e=0;else e=25-(b>>>1)|0;j:do if((c[f+4>>2]&-8|0)!=(a|0)){b=a<>>31<<2)+16|0;e=c[d>>2]|0;if(!e)break;if((c[e+4>>2]&-8|0)==(a|0)){F=e;break j}else{b=b<<1;f=e}}if(d>>>0<(c[428956]|0)>>>0)dc();else{c[d>>2]=n;c[s+(m+24)>>2]=f;c[s+(m+12)>>2]=n;c[s+(m+8)>>2]=n;break h}}else F=f;while(0);d=F+8|0;b=c[d>>2]|0;E=c[428956]|0;if(F>>>0>=E>>>0&b>>>0>=E>>>0){c[b+12>>2]=n;c[d>>2]=n;c[s+(m+8)>>2]=b;c[s+(m+12)>>2]=F;c[s+(m+24)>>2]=0;break}else dc()}else{F=(c[428955]|0)+l|0;c[428955]=F;c[428958]=n;c[s+(m+4)>>2]=F|1}while(0);F=s+(o|8)|0;return F|0}f=1716256|0;while(1){a=c[f>>2]|0;if(a>>>0<=k>>>0?(x=c[f+4>>2]|0,(a+x|0)>>>0>k>>>0):0)break;f=c[f+8>>2]|0}if(!(a+(x+-39)&7))f=0;else f=0-(a+(x+-39))&7;h=a+(x+-47+f)|0;h=h>>>0<(k+16|0)>>>0?k:h;f=s+8|0;if(!(f&7))f=0;else f=0-f&7;F=p+-40-f|0;c[428958]=s+f;c[428955]=F;c[s+(f+4)>>2]=F|1;c[s+(p+-36)>>2]=40;c[428959]=c[429074];c[h+4>>2]=27;c[h+8>>2]=c[429064];c[h+12>>2]=c[429065];c[h+16>>2]=c[429066];c[h+20>>2]=c[429067];c[429064]=s;c[429065]=p;c[429067]=0;c[429066]=h+8;c[h+28>>2]=7;if((h+32|0)>>>0<(a+x|0)>>>0){e=h+28|0;do{F=e;e=e+4|0;c[e>>2]=7}while((F+8|0)>>>0<(a+x|0)>>>0)}if((h|0)!=(k|0)){c[k+(h-k+4)>>2]=c[k+(h-k+4)>>2]&-2;c[k+4>>2]=h-k|1;c[k+(h-k)>>2]=h-k;if((h-k|0)>>>0<256){d=c[428952]|0;do if(!(d&1<<((h-k|0)>>>3))){c[428952]=d|1<<((h-k|0)>>>3);y=1715848+(((h-k|0)>>>3<<1)+2<<2)|0;z=1715848+((h-k|0)>>>3<<1<<2)|0}else{d=c[1715848+(((h-k|0)>>>3<<1)+2<<2)>>2]|0;if(d>>>0>=(c[428956]|0)>>>0){y=1715848+(((h-k|0)>>>3<<1)+2<<2)|0;z=d;break}dc()}while(0);c[y>>2]=k;c[z+12>>2]=k;c[k+8>>2]=z;c[k+12>>2]=1715848+((h-k|0)>>>3<<1<<2);break}if((h-k|0)>>>8)if((h-k|0)>>>0>16777215)f=31;else{f=(h-k|0)>>>8<<((((h-k|0)>>>8)+1048320|0)>>>16&8);f=14-((f+520192|0)>>>16&4|(((h-k|0)>>>8)+1048320|0)>>>16&8|((f<<((f+520192|0)>>>16&4))+245760|0)>>>16&2)+(f<<((f+520192|0)>>>16&4)<<(((f<<((f+520192|0)>>>16&4))+245760|0)>>>16&2)>>>15)|0;f=(h-k|0)>>>(f+7|0)&1|f<<1}else f=0;d=1716112+(f<<2)|0;c[k+28>>2]=f;c[k+20>>2]=0;c[k+16>>2]=0;b=c[428953]|0;e=1<>2]=k;c[k+24>>2]=d;c[k+12>>2]=k;c[k+8>>2]=k;break}e=c[d>>2]|0;if((f|0)==31)d=0;else d=25-(f>>>1)|0;k:do if((c[e+4>>2]&-8|0)!=(h-k|0)){f=h-k<>>31<<2)+16|0;d=c[b>>2]|0;if(!d)break;if((c[d+4>>2]&-8|0)==(h-k|0)){B=d;break k}else{f=f<<1;e=d}}if(b>>>0<(c[428956]|0)>>>0)dc();else{c[b>>2]=k;c[k+24>>2]=e;c[k+12>>2]=k;c[k+8>>2]=k;break g}}else B=e;while(0);d=B+8|0;b=c[d>>2]|0;F=c[428956]|0;if(B>>>0>=F>>>0&b>>>0>=F>>>0){c[b+12>>2]=k;c[d>>2]=k;c[k+8>>2]=b;c[k+12>>2]=B;c[k+24>>2]=0;break}else dc()}}else{F=c[428956]|0;if((F|0)==0|s>>>0>>0)c[428956]=s;c[429064]=s;c[429065]=p;c[429067]=0;c[428961]=c[429070];c[428960]=-1;d=0;do{F=d<<1;c[1715848+(F+3<<2)>>2]=1715848+(F<<2);c[1715848+(F+2<<2)>>2]=1715848+(F<<2);d=d+1|0}while((d|0)!=32);d=s+8|0;if(!(d&7))d=0;else d=0-d&7;F=p+-40-d|0;c[428958]=s+d;c[428955]=F;c[s+(d+4)>>2]=F|1;c[s+(p+-36)>>2]=40;c[428959]=c[429074]}while(0);b=c[428955]|0;if(b>>>0>q>>>0){E=b-q|0;c[428955]=E;F=c[428958]|0;c[428958]=F+q;c[F+(q+4)>>2]=E|1;c[F+4>>2]=q|3;F=F+8|0;return F|0}}c[(Ub()|0)>>2]=12;F=0;return F|0}function VFa(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;if(!a)return;i=c[428956]|0;if((a+-8|0)>>>0>>0)dc();p=c[a+-4>>2]|0;if((p&3|0)==1)dc();o=a+((p&-8)+-8)|0;do if(!(p&1)){k=c[a+-8>>2]|0;if(!(p&3))return;l=a+(-8-k)|0;m=k+(p&-8)|0;if(l>>>0>>0)dc();if((l|0)==(c[428957]|0)){f=c[a+((p&-8)+-4)>>2]|0;if((f&3|0)!=3){t=l;g=m;break}c[428954]=m;c[a+((p&-8)+-4)>>2]=f&-2;c[a+(-8-k+4)>>2]=m|1;c[o>>2]=m;return}if(k>>>0<256){f=c[a+(-8-k+8)>>2]|0;e=c[a+(-8-k+12)>>2]|0;if((f|0)!=(1715848+(k>>>3<<1<<2)|0)){if(f>>>0>>0)dc();if((c[f+12>>2]|0)!=(l|0))dc()}if((e|0)==(f|0)){c[428952]=c[428952]&~(1<<(k>>>3));t=l;g=m;break}if((e|0)!=(1715848+(k>>>3<<1<<2)|0)){if(e>>>0>>0)dc();if((c[e+8>>2]|0)!=(l|0))dc();else d=e+8|0}else d=e+8|0;c[f+12>>2]=e;c[d>>2]=f;t=l;g=m;break}b=c[a+(-8-k+24)>>2]|0;f=c[a+(-8-k+12)>>2]|0;do if((f|0)==(l|0)){f=c[a+(-8-k+20)>>2]|0;if(!f){f=c[a+(-8-k+16)>>2]|0;if(!f){j=0;break}else h=a+(-8-k+16)|0}else h=a+(-8-k+20)|0;while(1){e=f+20|0;d=c[e>>2]|0;if(d){f=d;h=e;continue}e=f+16|0;d=c[e>>2]|0;if(!d)break;else{f=d;h=e}}if(h>>>0>>0)dc();else{c[h>>2]=0;j=f;break}}else{e=c[a+(-8-k+8)>>2]|0;if(e>>>0>>0)dc();if((c[e+12>>2]|0)!=(l|0))dc();if((c[f+8>>2]|0)==(l|0)){c[e+12>>2]=f;c[f+8>>2]=e;j=f;break}else dc()}while(0);if(b){f=c[a+(-8-k+28)>>2]|0;if((l|0)==(c[1716112+(f<<2)>>2]|0)){c[1716112+(f<<2)>>2]=j;if(!j){c[428953]=c[428953]&~(1<>>0<(c[428956]|0)>>>0)dc();if((c[b+16>>2]|0)==(l|0))c[b+16>>2]=j;else c[b+20>>2]=j;if(!j){t=l;g=m;break}}e=c[428956]|0;if(j>>>0>>0)dc();c[j+24>>2]=b;f=c[a+(-8-k+16)>>2]|0;do if(f)if(f>>>0>>0)dc();else{c[j+16>>2]=f;c[f+24>>2]=j;break}while(0);f=c[a+(-8-k+20)>>2]|0;if(f)if(f>>>0<(c[428956]|0)>>>0)dc();else{c[j+20>>2]=f;c[f+24>>2]=j;t=l;g=m;break}else{t=l;g=m}}else{t=l;g=m}}else{t=a+-8|0;g=p&-8}while(0);if(t>>>0>=o>>>0)dc();d=c[a+((p&-8)+-4)>>2]|0;if(!(d&1))dc();if(!(d&2)){if((o|0)==(c[428958]|0)){u=(c[428955]|0)+g|0;c[428955]=u;c[428958]=t;c[t+4>>2]=u|1;if((t|0)!=(c[428957]|0))return;c[428957]=0;c[428954]=0;return}if((o|0)==(c[428957]|0)){u=(c[428954]|0)+g|0;c[428954]=u;c[428957]=t;c[t+4>>2]=u|1;c[t+u>>2]=u;return}g=(d&-8)+g|0;do if(d>>>0>=256){h=c[a+((p&-8)+16)>>2]|0;f=c[a+(p&-8|4)>>2]|0;do if((f|0)==(o|0)){f=c[a+((p&-8)+12)>>2]|0;if(!f){f=c[a+((p&-8)+8)>>2]|0;if(!f){q=0;break}else b=a+((p&-8)+8)|0}else b=a+((p&-8)+12)|0;while(1){e=f+20|0;d=c[e>>2]|0;if(d){f=d;b=e;continue}e=f+16|0;d=c[e>>2]|0;if(!d)break;else{f=d;b=e}}if(b>>>0<(c[428956]|0)>>>0)dc();else{c[b>>2]=0;q=f;break}}else{e=c[a+(p&-8)>>2]|0;if(e>>>0<(c[428956]|0)>>>0)dc();if((c[e+12>>2]|0)!=(o|0))dc();if((c[f+8>>2]|0)==(o|0)){c[e+12>>2]=f;c[f+8>>2]=e;q=f;break}else dc()}while(0);if(h){f=c[a+((p&-8)+20)>>2]|0;if((o|0)==(c[1716112+(f<<2)>>2]|0)){c[1716112+(f<<2)>>2]=q;if(!q){c[428953]=c[428953]&~(1<>>0<(c[428956]|0)>>>0)dc();if((c[h+16>>2]|0)==(o|0))c[h+16>>2]=q;else c[h+20>>2]=q;if(!q)break}e=c[428956]|0;if(q>>>0>>0)dc();c[q+24>>2]=h;f=c[a+((p&-8)+8)>>2]|0;do if(f)if(f>>>0>>0)dc();else{c[q+16>>2]=f;c[f+24>>2]=q;break}while(0);d=c[a+((p&-8)+12)>>2]|0;if(d)if(d>>>0<(c[428956]|0)>>>0)dc();else{c[q+20>>2]=d;c[d+24>>2]=q;break}}}else{e=c[a+(p&-8)>>2]|0;f=c[a+(p&-8|4)>>2]|0;if((e|0)!=(1715848+(d>>>3<<1<<2)|0)){if(e>>>0<(c[428956]|0)>>>0)dc();if((c[e+12>>2]|0)!=(o|0))dc()}if((f|0)==(e|0)){c[428952]=c[428952]&~(1<<(d>>>3));break}if((f|0)!=(1715848+(d>>>3<<1<<2)|0)){if(f>>>0<(c[428956]|0)>>>0)dc();if((c[f+8>>2]|0)!=(o|0))dc();else n=f+8|0}else n=f+8|0;c[e+12>>2]=f;c[n>>2]=e}while(0);c[t+4>>2]=g|1;c[t+g>>2]=g;if((t|0)==(c[428957]|0)){c[428954]=g;return}}else{c[a+((p&-8)+-4)>>2]=d&-2;c[t+4>>2]=g|1;c[t+g>>2]=g}e=g>>>3;if(g>>>0<256){d=c[428952]|0;if(d&1<>2]|0;if(d>>>0<(c[428956]|0)>>>0)dc();else{r=1715848+((e<<1)+2<<2)|0;s=d}}else{c[428952]=d|1<>2]=t;c[s+12>>2]=t;c[t+8>>2]=s;c[t+12>>2]=1715848+(e<<1<<2);return}b=g>>>8;if(b)if(g>>>0>16777215)f=31;else{f=b<<((b+1048320|0)>>>16&8)<<(((b<<((b+1048320|0)>>>16&8))+520192|0)>>>16&4);f=14-(((b<<((b+1048320|0)>>>16&8))+520192|0)>>>16&4|(b+1048320|0)>>>16&8|(f+245760|0)>>>16&2)+(f<<((f+245760|0)>>>16&2)>>>15)|0;f=g>>>(f+7|0)&1|f<<1}else f=0;d=1716112+(f<<2)|0;c[t+28>>2]=f;c[t+20>>2]=0;c[t+16>>2]=0;b=c[428953]|0;e=1<>2]|0;if((f|0)==31)d=0;else d=25-(f>>>1)|0;b:do if((c[e+4>>2]&-8|0)!=(g|0)){f=g<>>31<<2)+16|0;d=c[b>>2]|0;if(!d)break;if((c[d+4>>2]&-8|0)==(g|0)){u=d;break b}else{f=f<<1;e=d}}if(b>>>0<(c[428956]|0)>>>0)dc();else{c[b>>2]=t;c[t+24>>2]=e;c[t+12>>2]=t;c[t+8>>2]=t;break a}}else u=e;while(0);b=u+8|0;d=c[b>>2]|0;s=c[428956]|0;if(u>>>0>=s>>>0&d>>>0>=s>>>0){c[d+12>>2]=t;c[b>>2]=t;c[t+8>>2]=d;c[t+12>>2]=u;c[t+24>>2]=0;break}else dc()}else{c[428953]=b|e;c[d>>2]=t;c[t+24>>2]=d;c[t+12>>2]=t;c[t+8>>2]=t}while(0);u=(c[428960]|0)+-1|0;c[428960]=u;if(!u)b=1716264|0;else return;while(1){b=c[b>>2]|0;if(!b)break;else b=b+8|0}c[428960]=-1;return}function WFa(a,b){a=a|0;b=b|0;var d=0;if(a){d=ba(b,a)|0;if((b|a)>>>0>65535)d=((d>>>0)/(a>>>0)|0|0)==(b|0)?d:-1}else d=0;b=UFa(d)|0;if(!b)return b|0;if(!(c[b+-4>>2]&3))return b|0;YGa(b|0,0,d|0)|0;return b|0}function XFa(a,b){a=a|0;b=b|0;var d=0,e=0;if(!a){a=UFa(b)|0;return a|0}if(b>>>0>4294967231){c[(Ub()|0)>>2]=12;a=0;return a|0}if(b>>>0<11)d=16;else d=b+11&-8;d=JGa(a+-8|0,d)|0;if(d){a=d+8|0;return a|0}d=UFa(b)|0;if(!d){a=0;return a|0}e=c[a+-4>>2]|0;e=(e&-8)-((e&3|0)==0?8:4)|0;VGa(d|0,a|0,(e>>>0>>0?e:b)|0)|0;VFa(a);a=d;return a|0}function YFa(a){a=a|0;if((a|0)==32)a=1;else a=(a+-9|0)>>>0<5;return a&1|0}function ZFa(a){a=a|0;if((a+-48|0)>>>0<10){a=1;a=a&1;return a|0}a=((a|32)+-97|0)>>>0<6;a=a&1;return a|0}function _Fa(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if(e>>>0>36){c[(Ub()|0)>>2]=22;h=0;b=0;F=h;return b|0}do{i=c[b+4>>2]|0;if(i>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=i+1;i=d[i>>0]|0}else i=bGa(b)|0}while((YFa(i)|0)!=0);do if((i|0)==43|(i|0)==45){k=((i|0)==45)<<31>>31;j=c[b+4>>2]|0;if(j>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=j+1;i=d[j>>0]|0;break}else{i=bGa(b)|0;break}}else k=0;while(0);do if((e&-17|0)==0&(i|0)==48){j=c[b+4>>2]|0;if(j>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=j+1;i=d[j>>0]|0}else i=bGa(b)|0;if((i|32|0)!=120)if(!e){e=8;q=46;break}else{q=32;break}i=c[b+4>>2]|0;if(i>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=i+1;i=d[i>>0]|0}else i=bGa(b)|0;if((d[i+1716305>>0]|0)>15){e=(c[b+100>>2]|0)==0;if(!e)c[b+4>>2]=(c[b+4>>2]|0)+-1;if(!f){aGa(b,0);h=0;b=0;F=h;return b|0}if(e){h=0;b=0;F=h;return b|0}c[b+4>>2]=(c[b+4>>2]|0)+-1;h=0;b=0;F=h;return b|0}else{e=16;q=46}}else{e=(e|0)==0?10:e;if((d[i+1716305>>0]|0)>>>0>>0)q=32;else{if(c[b+100>>2]|0)c[b+4>>2]=(c[b+4>>2]|0)+-1;aGa(b,0);c[(Ub()|0)>>2]=22;h=0;b=0;F=h;return b|0}}while(0);if((q|0)==32)if((e|0)==10){j=i+-48|0;if(j>>>0<10){e=j;j=0;do{j=(j*10|0)+e|0;i=c[b+4>>2]|0;if(i>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=i+1;i=d[i>>0]|0}else i=bGa(b)|0;e=i+-48|0}while(e>>>0<10&j>>>0<429496729);m=0}else{j=0;m=0}l=i+-48|0;if(l>>>0<10){do{e=eHa(j|0,m|0,10,0)|0;n=F;f=((l|0)<0)<<31>>31;if(n>>>0>~f>>>0|(n|0)==(~f|0)&e>>>0>~l>>>0)break;j=QGa(e|0,n|0,l|0,f|0)|0;m=F;i=c[b+4>>2]|0;if(i>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=i+1;i=d[i>>0]|0}else i=bGa(b)|0;l=i+-48|0}while(l>>>0<10&(m>>>0<429496729|(m|0)==429496729&j>>>0<2576980378));if(l>>>0<=9){e=10;q=72}}}else q=46;a:do if((q|0)==46){if(!(e+-1&e)){q=a[1716568+((e*23|0)>>>5&7)>>0]|0;j=a[i+1716305>>0]|0;if((j&255)>>>0>>0){l=j&255;j=0;do{j=l|j<>2]|0;if(i>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=i+1;i=d[i>>0]|0}else i=bGa(b)|0;m=a[i+1716305>>0]|0;l=m&255}while(l>>>0>>0&j>>>0<134217728);l=0}else{m=j;l=0;j=0}o=UGa(-1,-1,q|0)|0;f=F;if((m&255)>>>0>=e>>>0|(l>>>0>f>>>0|(l|0)==(f|0)&j>>>0>o>>>0)){m=l;q=72;break}while(1){j=_Ga(j|0,l|0,q|0)|0;l=F;j=m&255|j;m=c[b+4>>2]|0;if(m>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=m+1;i=d[m>>0]|0}else i=bGa(b)|0;m=a[i+1716305>>0]|0;if((m&255)>>>0>=e>>>0|(l>>>0>f>>>0|(l|0)==(f|0)&j>>>0>o>>>0)){m=l;q=72;break a}}}j=a[i+1716305>>0]|0;if((j&255)>>>0>>0){l=j&255;m=0;do{m=l+(ba(m,e)|0)|0;j=c[b+4>>2]|0;if(j>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=j+1;i=d[j>>0]|0}else i=bGa(b)|0;j=a[i+1716305>>0]|0;l=j&255}while(l>>>0>>0&m>>>0<119304647);f=m;m=0}else{f=0;m=0}if((j&255)>>>0>>0){p=fHa(-1,-1,e|0,0)|0;q=F;o=f;while(1){if(m>>>0>q>>>0|(m|0)==(q|0)&o>>>0>p>>>0){j=o;q=72;break a}n=eHa(o|0,m|0,e|0,0)|0;l=F;f=j&255;if(l>>>0>4294967295|(l|0)==-1&n>>>0>~f>>>0){j=o;q=72;break a}f=QGa(f|0,0,n|0,l|0)|0;n=F;m=c[b+4>>2]|0;if(m>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=m+1;i=d[m>>0]|0}else i=bGa(b)|0;j=a[i+1716305>>0]|0;if((j&255)>>>0>=e>>>0){j=f;m=n;q=72;break}else{m=n;o=f}}}else{j=f;q=72}}while(0);if((q|0)==72)if((d[i+1716305>>0]|0)>>>0>>0){do{i=c[b+4>>2]|0;if(i>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=i+1;i=d[i>>0]|0}else i=bGa(b)|0}while((d[i+1716305>>0]|0)>>>0>>0);c[(Ub()|0)>>2]=34;m=h;j=g}if(c[b+100>>2]|0)c[b+4>>2]=(c[b+4>>2]|0)+-1;if(!(m>>>0>>0|(m|0)==(h|0)&j>>>0>>0)){if(!((g&1|0)!=0|0!=0|(k|0)!=0)){c[(Ub()|0)>>2]=34;b=QGa(g|0,h|0,-1,-1)|0;h=F;F=h;return b|0}if(m>>>0>h>>>0|(m|0)==(h|0)&j>>>0>g>>>0){c[(Ub()|0)>>2]=34;b=g;F=h;return b|0}}b=((k|0)<0)<<31>>31;b=PGa(j^k|0,m^b|0,k|0,b|0)|0;h=F;F=h;return b|0}function $Fa(b,e,f){b=b|0;e=e|0;f=f|0;var g=0.0,h=0,j=0.0,k=0,l=0,m=0,n=0,o=0.0,p=0,q=0,r=0,s=0.0,t=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0.0,H=0.0;E=i;i=i+512|0;if((e|0)==1){D=53;C=-1074}else if(!e){D=24;C=-149}else if((e|0)==2){D=53;C=-1074}else{s=0.0;i=E;return +s}do{e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;e=d[e>>0]|0}else e=bGa(b)|0}while((YFa(e)|0)!=0);do if((e|0)==43|(e|0)==45){h=1-(((e|0)==45&1)<<1)|0;k=c[b+4>>2]|0;if(k>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=k+1;e=d[k>>0]|0;B=h;break}else{e=bGa(b)|0;B=h;break}}else B=1;while(0);k=0;do{if((e|32|0)!=(a[1716584+k>>0]|0))break;do if(k>>>0<7){e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;e=d[e>>0]|0;break}else{e=bGa(b)|0;break}}while(0);k=k+1|0}while(k>>>0<8);do if((k|0)==3)t=23;else if((k|0)!=8){if(k>>>0>3&(f|0)!=0)if((k|0)==8)break;else{t=23;break}a:do if(!k){n=0;while(1){if((e|32|0)!=(a[1717176+n>>0]|0)){k=n;break a}do if(n>>>0<2){k=c[b+4>>2]|0;if(k>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=k+1;e=d[k>>0]|0;break}else{e=bGa(b)|0;break}}while(0);k=n+1|0;if(k>>>0<3)n=k;else break}}while(0);if((k|0)==3){h=c[b+4>>2]|0;if(h>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=h+1;h=d[h>>0]|0}else h=bGa(b)|0;if((h|0)==40)e=1;else{if(!(c[b+100>>2]|0)){s=u;i=E;return +s}c[b+4>>2]=(c[b+4>>2]|0)+-1;s=u;i=E;return +s}while(1){h=c[b+4>>2]|0;if(h>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=h+1;h=d[h>>0]|0}else h=bGa(b)|0;if(!((h+-48|0)>>>0<10|(h+-65|0)>>>0<26)?!((h+-97|0)>>>0<26|(h|0)==95):0)break;e=e+1|0}if((h|0)==41){s=u;i=E;return +s}h=(c[b+100>>2]|0)==0;if(!h)c[b+4>>2]=(c[b+4>>2]|0)+-1;if(!f){c[(Ub()|0)>>2]=22;aGa(b,0);s=0.0;i=E;return +s}if((e|0)==0|h){s=u;i=E;return +s}c[b+4>>2]=(c[b+4>>2]|0)+(0-e);s=u;i=E;return +s}else if(!k){do if((e|0)==48){e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;e=d[e>>0]|0}else e=bGa(b)|0;if((e|32|0)!=120){if(!(c[b+100>>2]|0)){e=48;break}c[b+4>>2]=(c[b+4>>2]|0)+-1;e=48;break}e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;k=d[e>>0]|0;p=0}else{k=bGa(b)|0;p=0}while(1){if((k|0)==46){t=68;break}else if((k|0)!=48){w=0;z=0;n=0;l=0;x=0;r=0;o=1.0;h=0;g=0.0;break}e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;k=d[e>>0]|0;p=1;continue}else{k=bGa(b)|0;p=1;continue}}if((t|0)==68){k=c[b+4>>2]|0;if(k>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=k+1;k=d[k>>0]|0}else k=bGa(b)|0;if((k|0)==48){n=0;l=0;do{k=c[b+4>>2]|0;if(k>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=k+1;k=d[k>>0]|0}else k=bGa(b)|0;n=QGa(n|0,l|0,-1,-1)|0;l=F}while((k|0)==48);w=0;z=0;p=1;x=1;r=0;o=1.0;h=0;g=0.0}else{w=0;z=0;n=0;l=0;x=1;r=0;o=1.0;h=0;g=0.0}}b:while(1){q=k+-48|0;do if(q>>>0>=10){e=k|32;m=(k|0)==46;if(!((e+-97|0)>>>0<6|m))break b;if(m)if(!x){n=z;l=w;k=z;x=1;s=o;break}else{k=46;break b}else{q=(k|0)>57?e+-87|0:q;t=81;break}}else t=81;while(0);if((t|0)==81){t=0;do if(!((w|0)<0|(w|0)==0&z>>>0<8)){if((w|0)<0|(w|0)==0&z>>>0<14){o=o*.0625;s=o;g=g+o*+(q|0);break}if((q|0)==0|(r|0)!=0)s=o;else{r=1;s=o;g=g+o*.5}}else{s=o;h=q+(h<<4)|0}while(0);k=QGa(z|0,w|0,1,0)|0;w=F;p=1}q=c[b+4>>2]|0;if(q>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=q+1;z=k;k=d[q>>0]|0;o=s;continue}else{z=k;k=bGa(b)|0;o=s;continue}}if(!p){h=(c[b+100>>2]|0)==0;if(!h)c[b+4>>2]=(c[b+4>>2]|0)+-1;if(f){if(!h?(y=c[b+4>>2]|0,c[b+4>>2]=y+-1,(x|0)!=0):0)c[b+4>>2]=y+-2}else aGa(b,0);s=+(B|0)*0.0;i=E;return +s}q=(x|0)==0;p=q?z:n;q=q?w:l;if((w|0)<0|(w|0)==0&z>>>0<8){l=z;n=w;do{h=h<<4;l=QGa(l|0,n|0,1,0)|0;n=F}while((n|0)<0|(n|0)==0&l>>>0<8)}do if((k|32|0)==112){e=LGa(b,f)|0;k=F;if((e|0)==0&(k|0)==-2147483648)if(!f){aGa(b,0);s=0.0;i=E;return +s}else{if(!(c[b+100>>2]|0)){e=0;k=0;break}c[b+4>>2]=(c[b+4>>2]|0)+-1;e=0;k=0;break}}else if(!(c[b+100>>2]|0)){e=0;k=0}else{c[b+4>>2]=(c[b+4>>2]|0)+-1;e=0;k=0}while(0);A=_Ga(p|0,q|0,2)|0;A=QGa(A|0,F|0,-32,-1)|0;e=QGa(A|0,F|0,e|0,k|0)|0;k=F;if(!h){s=+(B|0)*0.0;i=E;return +s}if((k|0)>0|(k|0)==0&e>>>0>(0-C|0)>>>0){c[(Ub()|0)>>2]=34;s=+(B|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;i=E;return +s}A=C+-106|0;if((k|0)<(((A|0)<0)<<31>>31|0)|(k|0)==(((A|0)<0)<<31>>31|0)&e>>>0>>0){c[(Ub()|0)>>2]=34;s=+(B|0)*2.2250738585072014e-308*2.2250738585072014e-308;i=E;return +s}if((h|0)>-1){do{h=h<<1;if(!(g>=.5))j=g;else{j=g+-1.0;h=h|1}g=g+j;e=QGa(e|0,k|0,-1,-1)|0;k=F}while((h|0)>-1);q=h;o=g}else{q=h;o=g}h=PGa(32,0,C|0,((C|0)<0)<<31>>31|0)|0;h=QGa(e|0,k|0,h|0,F|0)|0;C=F;if(0>(C|0)|0==(C|0)&D>>>0>h>>>0)if((h|0)<0){h=0;t=124}else t=122;else{h=D;t=122}if((t|0)==122)if((h|0)<53)t=124;else{k=h;j=+(B|0);g=0.0}if((t|0)==124){g=+(B|0);k=h;j=g;g=+dGa(+mGa(1.0,84-h|0),g)}D=(k|0)<32&o!=0.0&(q&1|0)==0;g=j*(D?0.0:o)+(g+j*+(((D&1)+q|0)>>>0))-g;if(!(g!=0.0))c[(Ub()|0)>>2]=34;s=+nGa(g,e);i=E;return +s}while(0);A=C+D|0;l=0;while(1){if((e|0)==46){t=135;break}else if((e|0)!=48){k=0;n=0;w=0;break}e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;e=d[e>>0]|0;l=1;continue}else{e=bGa(b)|0;l=1;continue}}if((t|0)==135){e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;e=d[e>>0]|0}else e=bGa(b)|0;if((e|0)==48){k=0;e=0;while(1){k=QGa(k|0,e|0,-1,-1)|0;n=F;e=c[b+4>>2]|0;if(e>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=e+1;e=d[e>>0]|0}else e=bGa(b)|0;if((e|0)==48)e=n;else{l=1;w=1;break}}}else{k=0;n=0;w=1}}c[E>>2]=0;q=e+-48|0;p=(e|0)==46;c:do if(q>>>0<10|p){h=0;r=0;m=l;x=w;y=0;l=0;z=0;d:while(1){do if(p)if(!x){k=h;n=r;x=1;w=z}else break d;else{t=QGa(h|0,r|0,1,0)|0;r=F;w=(e|0)!=48;if((l|0)>=125){if(!w){h=t;w=z;break}c[E+496>>2]=c[E+496>>2]|1;h=t;w=z;break}p=E+(l<<2)|0;if(y)q=e+-48+((c[p>>2]|0)*10|0)|0;c[p>>2]=q;q=y+1|0;h=t;m=1;y=(q|0)==9?0:q;l=((q|0)==9&1)+l|0;w=w?t:z}while(0);p=c[b+4>>2]|0;if(p>>>0<(c[b+100>>2]|0)>>>0){c[b+4>>2]=p+1;e=d[p>>0]|0}else e=bGa(b)|0;q=e+-48|0;p=(e|0)==46;if(!(q>>>0<10|p)){p=x;q=w;t=158;break c}else z=w}p=(m|0)!=0;e=y;q=z;t=166}else{h=0;r=0;m=l;p=w;y=0;l=0;q=0;t=158}while(0);do if((t|0)==158){p=(p|0)==0;k=p?h:k;n=p?r:n;p=(m|0)!=0;if(!(p&(e|32|0)==101))if((e|0)>-1){e=y;t=166;break}else{e=y;t=168;break}m=LGa(b,f)|0;e=F;do if((m|0)==0&(e|0)==-2147483648)if(!f){aGa(b,0);s=0.0;i=E;return +s}else{if(!(c[b+100>>2]|0)){m=0;e=0;break}c[b+4>>2]=(c[b+4>>2]|0)+-1;m=0;e=0;break}while(0);k=QGa(m|0,e|0,k|0,n|0)|0;m=F;p=r;e=y}while(0);if((t|0)==166)if(c[b+100>>2]|0){c[b+4>>2]=(c[b+4>>2]|0)+-1;if(p){m=n;p=r}else t=169}else t=168;if((t|0)==168)if(p){m=n;p=r}else t=169;if((t|0)==169){c[(Ub()|0)>>2]=22;aGa(b,0);s=0.0;i=E;return +s}n=c[E>>2]|0;if(!n){s=+(B|0)*0.0;i=E;return +s}if((k|0)==(h|0)&(m|0)==(p|0)&((p|0)<0|(p|0)==0&h>>>0<10)?D>>>0>30|(n>>>D|0)==0:0){s=+(B|0)*+(n>>>0);i=E;return +s}b=(C|0)/-2|0;if((m|0)>(((b|0)<0)<<31>>31|0)|(m|0)==(((b|0)<0)<<31>>31|0)&k>>>0>b>>>0){c[(Ub()|0)>>2]=34;s=+(B|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;i=E;return +s}b=C+-106|0;if((m|0)<(((b|0)<0)<<31>>31|0)|(m|0)==(((b|0)<0)<<31>>31|0)&k>>>0>>0){c[(Ub()|0)>>2]=34;s=+(B|0)*2.2250738585072014e-308*2.2250738585072014e-308;i=E;return +s}if(e){if((e|0)<9){h=E+(l<<2)|0;m=c[h>>2]|0;do{m=m*10|0;e=e+1|0}while((e|0)!=9);c[h>>2]=m}l=l+1|0}if((q|0)<9?(q|0)<=(k|0)&(k|0)<18:0){if((k|0)==9){s=+(B|0)*+((c[E>>2]|0)>>>0);i=E;return +s}if((k|0)<9){s=+(B|0)*+((c[E>>2]|0)>>>0)/+(c[1716608+(8-k<<2)>>2]|0);i=E;return +s}b=D+27+(ba(k,-3)|0)|0;e=c[E>>2]|0;if((b|0)>30|(e>>>b|0)==0){s=+(B|0)*+(e>>>0)*+(c[1716608+(k+-10<<2)>>2]|0);i=E;return +s}}e=(k|0)%9|0;if(!e){e=0;h=0}else{q=(k|0)>-1?e:e+9|0;n=c[1716608+(8-q<<2)>>2]|0;if(l){e=0;m=0;h=0;do{z=E+(h<<2)|0;f=c[z>>2]|0;b=((f>>>0)/(n>>>0)|0)+m|0;c[z>>2]=b;m=ba((f>>>0)%(n>>>0)|0,1e9/(n|0)|0)|0;f=h;h=h+1|0;if((f|0)==(e|0)&(b|0)==0){e=h&127;k=k+-9|0}}while((h|0)!=(l|0));if(m){c[E+(l<<2)>>2]=m;l=l+1|0}}else{e=0;l=0}h=0;k=9-q+k|0}e:while(1){r=E+(e<<2)|0;if((k|0)<18){do{m=0;n=l+127|0;while(1){q=n&127;n=_Ga(c[E+(q<<2)>>2]|0,0,29)|0;m=QGa(n|0,F|0,m|0,0)|0;n=F;if(n>>>0>0|(n|0)==0&m>>>0>1e9){p=fHa(m|0,n|0,1e9,0)|0;m=gHa(m|0,n|0,1e9,0)|0}else p=0;c[E+(q<<2)>>2]=m;n=(q|0)==(e|0);if(!((q|0)!=(l+127&127|0)|n))l=(m|0)==0?q:l;if(n)break;else{m=p;n=q+-1|0}}h=h+-29|0}while((p|0)==0);n=p}else{if((k|0)!=18)break;while(1){if((c[r>>2]|0)>>>0>=9007199){k=18;break e}m=0;n=l+127|0;while(1){q=n&127;n=_Ga(c[E+(q<<2)>>2]|0,0,29)|0;n=QGa(n|0,F|0,m|0,0)|0;m=F;if(m>>>0>0|(m|0)==0&n>>>0>1e9){p=fHa(n|0,m|0,1e9,0)|0;n=gHa(n|0,m|0,1e9,0)|0}else p=0;c[E+(q<<2)>>2]=n;m=(q|0)==(e|0);if(!((q|0)!=(l+127&127|0)|m))l=(n|0)==0?q:l;if(m)break;else{m=p;n=q+-1|0}}h=h+-29|0;if(p){n=p;break}}}e=e+127&127;if((e|0)==(l|0)){b=l+127&127;l=E+((l+126&127)<<2)|0;c[l>>2]=c[l>>2]|c[E+(b<<2)>>2];l=b}c[E+(e<<2)>>2]=n;k=k+9|0}f:while(1){t=l+1&127;w=E+((l+127&127)<<2)|0;while(1){m=(k|0)==18;r=(k|0)>27?9:1;z=e;while(1){q=0;while(1){n=q+z&127;if((n|0)==(l|0)){n=2;break}p=c[E+(n<<2)>>2]|0;e=c[1716600+(q<<2)>>2]|0;if(p>>>0>>0){n=2;break}n=q+1|0;if(p>>>0>e>>>0){n=q;break}if((n|0)<2)q=n;else break}if((n|0)==2&m)break f;h=r+h|0;if((z|0)==(l|0))z=l;else break}e=z;p=0;n=z;do{z=E+(n<<2)|0;f=c[z>>2]|0;b=(f>>>r)+p|0;c[z>>2]=b;p=ba(f&(1<>>r)|0;b=(n|0)==(e|0)&(b|0)==0;n=n+1&127;k=b?k+-9|0:k;e=b?n:e}while((n|0)!=(l|0));if(!p)continue;if((t|0)!=(e|0))break;c[w>>2]=c[w>>2]|1}c[E+(l<<2)>>2]=p;l=t}k=z&127;if((k|0)==(l|0)){c[E+(t+-1<<2)>>2]=0;l=t}j=+((c[E+(k<<2)>>2]|0)>>>0);n=z+1&127;if((n|0)==(l|0)){l=l+1&127;c[E+(l+-1<<2)>>2]=0}s=+(B|0);o=s*(j*1.0e9+ +((c[E+(n<<2)>>2]|0)>>>0));q=h+53|0;r=q-C|0;if((r|0)<(D|0))if((r|0)<0){k=0;e=1;t=242}else{k=r;e=1;t=241}else{k=D;e=0;t=241}if((t|0)==241)if((k|0)<53)t=242;else{g=0.0;j=0.0}if((t|0)==242){H=+dGa(+mGa(1.0,105-k|0),o);G=+gGa(o,+mGa(1.0,53-k|0));g=H;j=G;o=H+(o-G)}n=z+2&127;do if((n|0)!=(l|0)){n=c[E+(n<<2)>>2]|0;do if(n>>>0>=5e8){if(n>>>0>5e8){j=s*.75+j;break}if((z+3&127|0)==(l|0)){j=s*.5+j;break}else{j=s*.75+j;break}}else{if((n|0)==0?(z+3&127|0)==(l|0):0)break;j=s*.25+j}while(0);if((53-k|0)<=1)break;if(+gGa(j,1.0)!=0.0)break;j=j+1.0}while(0);g=o+j-g;do if((q&2147483647|0)>(-2-A|0)){if(+Q(+g)>=9007199254740992.0){e=(e|0)!=0&(k|0)==(r|0)?0:e;h=h+1|0;g=g*.5}if((h+50|0)<=(0-A|0)?!((e|0)!=0&j!=0.0):0)break;c[(Ub()|0)>>2]=34}while(0);H=+nGa(g,h);i=E;return +H}else{if(c[b+100>>2]|0)c[b+4>>2]=(c[b+4>>2]|0)+-1;c[(Ub()|0)>>2]=22;aGa(b,0);H=0.0;i=E;return +H}}while(0);if(((t|0)==23?(c[b+100>>2]|0)!=0:0)?(q=c[b+4>>2]|0,c[b+4>>2]=q+-1,!(k>>>0<4|(f|0)==0)):0)c[b+4>>2]=q+(2-k);H=+(B|0)*v;i=E;return +H}function aGa(a,b){a=a|0;b=b|0;var d=0,e=0;c[a+104>>2]=b;d=c[a+8>>2]|0;e=c[a+4>>2]|0;c[a+108>>2]=d-e;if(!((b|0)!=0&(d-e|0)>(b|0))){e=d;b=a+100|0;c[b>>2]=e;return}e=e+b|0;b=a+100|0;c[b>>2]=e;return}function bGa(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0;h=c[b+104>>2]|0;if(!((h|0)!=0?(c[b+108>>2]|0)>=(h|0):0))i=3;if((i|0)==3?(j=uGa(b)|0,(j|0)>=0):0){g=c[b+104>>2]|0;h=c[b+8>>2]|0;e=c[b+4>>2]|0;if((g|0)!=0?(f=g-(c[b+108>>2]|0)+-1|0,(h-e|0)>(f|0)):0)c[b+100>>2]=e+f;else i=8;if((i|0)==8)c[b+100>>2]=h;if(h)c[b+108>>2]=h+1-e+(c[b+108>>2]|0);e=e+-1|0;if((d[e>>0]|0|0)==(j|0))return j|0;a[e>>0]=j;return j|0}c[b+100>>2]=0;j=-1;return j|0}function cGa(a,b){a=+a;b=+b;var d=0,e=0;h[k>>3]=a;e=c[k>>2]|0;d=c[k+4>>2]|0;h[k>>3]=b;d=c[k+4>>2]&-2147483648|d&2147483647;c[k>>2]=e;c[k+4>>2]=d;return +(+h[k>>3])}function dGa(a,b){a=+a;b=+b;return +(+cGa(a,b))}function eGa(a,b){a=+a;b=+b;var d=0,e=0;d=(g[k>>2]=a,c[k>>2]|0);if((d&2147483647)>>>0>2139095040)return +b;e=(g[k>>2]=b,c[k>>2]|0);if((e&2147483647)>>>0>2139095040){b=a;return +b}if((e^d|0)<0){b=(d|0)<0?b:a;return +b}else{b=a>3]=a;j=c[k>>2]|0;p=c[k+4>>2]|0;h[k>>3]=b;n=c[k>>2]|0;o=c[k+4>>2]|0;i=UGa(j|0,p|0,52)|0;l=UGa(n|0,o|0,52)|0;e=_Ga(n|0,o|0,1)|0;d=F;if(!((e|0)==0&(d|0)==0)?!((o&2147483647)>>>0>2146435072|(o&2147483647|0)==2146435072&n>>>0>0|(i&2047|0)==2047):0){g=_Ga(j|0,p|0,1)|0;f=F;if(!(f>>>0>d>>>0|(f|0)==(d|0)&g>>>0>e>>>0)){if(!((g|0)==(e|0)&(f|0)==(d|0)))return +a;a=a*0.0;return +a}if(!(i&2047)){f=_Ga(j|0,p|0,12)|0;e=F;if((e|0)>-1|(e|0)==-1&f>>>0>4294967295){d=0;do{d=d+-1|0;f=_Ga(f|0,e|0,1)|0;e=F}while((e|0)>-1|(e|0)==-1&f>>>0>4294967295)}else d=0;j=_Ga(j|0,p|0,1-d|0)|0;m=F}else{m=p&1048575|1048576;d=i&2047}if(!(l&2047)){f=_Ga(n|0,o|0,12)|0;e=F;if((e|0)>-1|(e|0)==-1&f>>>0>4294967295){g=0;do{g=g+-1|0;f=_Ga(f|0,e|0,1)|0;e=F}while((e|0)>-1|(e|0)==-1&f>>>0>4294967295)}else g=0;n=_Ga(n|0,o|0,1-g|0)|0;o=F}else{o=o&1048575|1048576;g=l&2047}e=PGa(j|0,m|0,n|0,o|0)|0;f=F;a:do if((d|0)>(g|0)){l=(f|0)>-1|(f|0)==-1&e>>>0>4294967295;i=m;while(1){if(l){if((j|0)==(n|0)&(i|0)==(o|0))break}else{e=j;f=i}j=_Ga(e|0,f|0,1)|0;i=F;d=d+-1|0;e=PGa(j|0,i|0,n|0,o|0)|0;f=F;if((d|0)>(g|0))l=(f|0)>-1|(f|0)==-1&e>>>0>4294967295;else{g=(f|0)>-1|(f|0)==-1&e>>>0>4294967295;break a}}a=a*0.0;return +a}else{g=(f|0)>-1|(f|0)==-1&e>>>0>4294967295;i=m}while(0);if(g){if((j|0)==(n|0)&(i|0)==(o|0)){a=a*0.0;return +a}}else{f=i;e=j}if(f>>>0<1048576|(f|0)==1048576&e>>>0<0)do{e=_Ga(e|0,f|0,1)|0;f=F;d=d+-1|0}while(f>>>0<1048576|(f|0)==1048576&e>>>0<0);if((d|0)>0){o=QGa(e|0,f|0,0,-1048576)|0;n=F;e=_Ga(d|0,0,52)|0;d=n|F;e=o|e}else{e=UGa(e|0,f|0,1-d|0)|0;d=F}c[k>>2]=e;c[k+4>>2]=d|p&-2147483648;a=+h[k>>3];return +a}a=a*b/(a*b);return +a}function gGa(a,b){a=+a;b=+b;return +(+fGa(a,b))}function hGa(a,b){a=+a;b=b|0;var d=0,e=0,f=0;h[k>>3]=a;d=c[k>>2]|0;e=c[k+4>>2]|0;f=UGa(d|0,e|0,52)|0;if(!(f&2047)){if(a!=0.0){a=+hGa(a*18446744073709551616.0,b);d=(c[b>>2]|0)+-64|0}else d=0;c[b>>2]=d;return +a}else if((f&2047|0)==2047)return +a;else{c[b>>2]=(f&2047)+-1022;c[k>>2]=d;c[k+4>>2]=e&-2146435073|1071644672;a=+h[k>>3];return +a}return 0.0}function iGa(a,b){a=+a;b=b|0;return +(+hGa(a,b))}function jGa(a){a=+a;var b=0,d=0,e=0,f=0.0,g=0.0;h[k>>3]=a;b=c[k>>2]|0;d=c[k+4>>2]|0;do if(!(d>>>0<1048576|(d|0)<0)){if(d>>>0>2146435071)return +a;if((d|0)==1072693248&((b|0)==0&0==0)){a=0.0;return +a}else e=-1023}else{if((b|0)==0&(d&2147483647|0)==0){a=-1.0/(a*a);return +a}if((d|0)>=0){h[k>>3]=a*18014398509481984.0;d=c[k+4>>2]|0;b=c[k>>2]|0;e=-1077;break}a=(a-a)/0.0;return +a}while(0);d=d+614242|0;c[k>>2]=b;c[k+4>>2]=(d&1048575)+1072079006;a=+h[k>>3]+-1.0;g=a/(a+2.0)*(a/(a+2.0));h[k>>3]=a-a*(a*.5);b=c[k+4>>2]|0;c[k>>2]=0;c[k+4>>2]=b;f=+h[k>>3];a=a/(a+2.0)*(a*(a*.5)+(g*g*(g*g*(g*g*.15313837699209373+.22222198432149784)+.3999999999940942)+g*(g*g*(g*g*(g*g*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)))+(a-f-a*(a*.5));g=+(e+(d>>>20)|0);a=g+f*1.4426950407214463+(f*1.4426950407214463+(g-(g+f*1.4426950407214463))+(a*1.4426950407214463+(f+a)*1.6751713164886512e-10));return +a}function kGa(a){a=+a;var b=0.0,d=0,e=0.0,f=0,g=0;g=i;i=i+16|0;h[k>>3]=a;f=c[k+4>>2]|0;d=UGa(c[k>>2]|0,f|0,52)|0;if((d&2047)>>>0>1074){e=a;i=g;return +e}if((f|0)<0)e=-a;else e=a;b=e+4503599627370496.0;if((d&2047)>>>0<1022){h[g>>3]=b;e=a*0.0;i=g;return +e}b=b+-4503599627370496.0-e;if(!(b>.5)){a=e+b;if(b<=-.5)a=a+1.0}else a=e+b+-1.0;if((f|0)>=0){e=a;i=g;return +e}e=-a;i=g;return +e}function lGa(a){a=+a;var b=0.0,d=0.0,e=0,f=0;f=i;i=i+16|0;e=(g[k>>2]=a,c[k>>2]|0);do if((e>>>23&255)>>>0<=149){if((e|0)<0)d=-a;else d=a;b=d+8388608.0;if((e>>>23&255)>>>0<126){g[f>>2]=b;a=a*0.0;break}b=b+-8388608.0-d;if(!(b>.5)){a=d+b;if(b<=-.5)a=a+1.0}else a=d+b+-1.0;if((e|0)<0)a=-a}while(0);i=f;return +a}function mGa(a,b){a=+a;b=b|0;var d=0;if((b|0)>1023)if((b+-1023|0)>1023){b=(b+-2046|0)>1023?1023:b+-2046|0;a=a*8988465674311579538646525.0e283*8988465674311579538646525.0e283}else{b=b+-1023|0;a=a*8988465674311579538646525.0e283}else if((b|0)<-1022)if((b+1022|0)<-1022){b=(b+2044|0)<-1022?-1022:b+2044|0;a=a*2.2250738585072014e-308*2.2250738585072014e-308}else{b=b+1022|0;a=a*2.2250738585072014e-308}d=_Ga(b+1023|0,0,52)|0;b=F;c[k>>2]=d;c[k+4>>2]=b;return +(a*+h[k>>3])}function nGa(a,b){a=+a;b=b|0;return +(+mGa(a,b))}function oGa(a,b){a=a|0;b=b|0;if(!a)a=0;else a=pGa(a,b)|0;return a|0}function pGa(b,d){b=b|0;d=d|0;if(!b){d=1;return d|0}if(d>>>0<128){a[b>>0]=d;d=1;return d|0}if(d>>>0<2048){a[b>>0]=d>>>6|192;a[b+1>>0]=d&63|128;d=2;return d|0}if(d>>>0<55296|(d&-8192|0)==57344){a[b>>0]=d>>>12|224;a[b+1>>0]=d>>>6&63|128;a[b+2>>0]=d&63|128;d=3;return d|0}if((d+-65536|0)>>>0<1048576){a[b>>0]=d>>>18|240;a[b+1>>0]=d>>>12&63|128;a[b+2>>0]=d>>>6&63|128;a[b+3>>0]=d&63|128;d=4;return d|0}else{c[(Ub()|0)>>2]=84;d=-1;return d|0}return 0}function qGa(a){a=a|0;c[429160]=a+-1;c[429161]=0;return}function rGa(){var a=0,b=0;b=eHa(c[429160]|0,c[429161]|0,1284865837,1481765933)|0;b=QGa(b|0,F|0,1,0)|0;a=F;c[429160]=b;c[429161]=a;a=UGa(b|0,a|0,33)|0;return a|0}function sGa(b){b=b|0;var d=0;d=a[b+74>>0]|0;a[b+74>>0]=d+255|d;if((c[b+20>>2]|0)>>>0>(c[b+44>>2]|0)>>>0)Vc[c[b+36>>2]&63](b,0,0)|0;c[b+16>>2]=0;c[b+28>>2]=0;c[b+20>>2]=0;d=c[b>>2]|0;if(!(d&20)){d=c[b+44>>2]|0;c[b+8>>2]=d;c[b+4>>2]=d;b=0;return b|0}if(!(d&4)){b=-1;return b|0}c[b>>2]=d|32;b=-1;return b|0}function tGa(b){b=b|0;var d=0;d=a[b+74>>0]|0;a[b+74>>0]=d+255|d;d=c[b>>2]|0;if(!(d&8)){c[b+8>>2]=0;c[b+4>>2]=0;d=c[b+44>>2]|0;c[b+28>>2]=d;c[b+20>>2]=d;c[b+16>>2]=d+(c[b+48>>2]|0);b=0;return b|0}else{c[b>>2]=d|32;b=-1;return b|0}return 0}function uGa(a){a=a|0;var b=0;b=i;i=i+16|0;if((c[a+8>>2]|0)==0?(sGa(a)|0)!=0:0)a=-1;else if((Vc[c[a+32>>2]&63](a,b,1)|0)==1)a=d[b>>0]|0;else a=-1;i=b;return a|0}function vGa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=c[e+16>>2]|0;do if(!f)if(!(tGa(e)|0)){f=c[e+16>>2]|0;break}else return;while(0);h=c[e+20>>2]|0;if((f-h|0)>>>0>>0){Vc[c[e+36>>2]&63](e,b,d)|0;return}a:do if((a[e+75>>0]|0)>-1){g=d;while(1){if(!g){f=h;break a}f=g+-1|0;if((a[b+f>>0]|0)==10)break;else g=f}if((Vc[c[e+36>>2]&63](e,b,g)|0)>>>0>>0)return;else{d=d-g|0;b=b+g|0;f=c[e+20>>2]|0;break}}else f=h;while(0);VGa(f|0,b|0,d|0)|0;c[e+20>>2]=(c[e+20>>2]|0)+d;return}function wGa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+16|0;c[f>>2]=e;e=zGa(a,b,d,f)|0;i=f;return e|0}function xGa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=d;d=AGa(a,b,e)|0;i=e;return d|0}function yGa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+224|0;e=g+80|0;f=e+40|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));c[g+120>>2]=c[d>>2];if((MGa(0,b,g+120|0,g,g+80|0)|0)<0){a=-1;i=g;return a|0}if(!(c[a+48>>2]|0)){d=c[a+44>>2]|0;c[a+44>>2]=g+136;c[a+28>>2]=g+136;c[a+20>>2]=g+136;c[a+48>>2]=80;c[a+16>>2]=g+216;e=MGa(a,b,g+120|0,g,g+80|0)|0;if(d){Vc[c[a+36>>2]&63](a,0,0)|0;e=(c[a+20>>2]|0)==0?-1:e;c[a+44>>2]=d;c[a+48>>2]=0;c[a+16>>2]=0;c[a+28>>2]=0;c[a+20>>2]=0}}else e=MGa(a,b,g+120|0,g,g+80|0)|0;a=e;i=g;return a|0}function zGa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+128|0;g=k+0|0;h=1717216|0;j=g+112|0;do{c[g>>2]=c[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(j|0));if((d+-1|0)>>>0>2147483646)if(!d){b=k+112|0;d=1}else{c[(Ub()|0)>>2]=75;e=-1;i=k;return e|0}j=-2-b|0;j=d>>>0>j>>>0?j:d;c[k+48>>2]=j;c[k+20>>2]=b;c[k+44>>2]=b;d=b+j|0;c[k+16>>2]=d;c[k+28>>2]=d;d=yGa(k,e,f)|0;if(!j){e=d;i=k;return e|0}e=c[k+20>>2]|0;a[e+(((e|0)==(c[k+16>>2]|0))<<31>>31)>>0]=0;e=d;i=k;return e|0}function AGa(a,b,c){a=a|0;b=b|0;c=c|0;return zGa(a,2147483647,b,c)|0}function BGa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,g=0;g=i;i=i+112|0;d=g+0|0;e=d+112|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));c[g+4>>2]=a;c[g+8>>2]=-1;c[g+44>>2]=a;c[g+76>>2]=-1;aGa(g,0);f=+$Fa(g,2,1);d=(c[g+4>>2]|0)-(c[g+8>>2]|0)+(c[g+108>>2]|0)|0;if(!b){i=g;return +f}if(d)a=a+d|0;c[b>>2]=a;i=g;return +f}function CGa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+112|0;c[f>>2]=0;c[f+4>>2]=a;c[f+44>>2]=a;c[f+8>>2]=(a|0)<0?-1:a+2147483647|0;c[f+76>>2]=-1;aGa(f,0);d=_Fa(f,d,1,-1,-1)|0;e=F;if(!b){F=e;i=f;return d|0}c[b>>2]=a+((c[f+4>>2]|0)+(c[f+108>>2]|0)-(c[f+8>>2]|0));F=e;i=f;return d|0}function DGa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+112|0;c[f>>2]=0;c[f+4>>2]=a;c[f+44>>2]=a;c[f+8>>2]=(a|0)<0?-1:a+2147483647|0;c[f+76>>2]=-1;aGa(f,0);d=_Fa(f,d,1,0,-2147483648)|0;e=F;if(!b){F=e;i=f;return d|0}c[b>>2]=a+((c[f+4>>2]|0)+(c[f+108>>2]|0)-(c[f+8>>2]|0));F=e;i=f;return d|0}function EGa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+112|0;c[e>>2]=0;c[e+4>>2]=a;c[e+44>>2]=a;c[e+8>>2]=(a|0)<0?-1:a+2147483647|0;c[e+76>>2]=-1;aGa(e,0);d=_Fa(e,d,1,-2147483648,0)|0;if(!b){i=e;return d|0}c[b>>2]=a+((c[e+4>>2]|0)+(c[e+108>>2]|0)-(c[e+8>>2]|0));i=e;return d|0}function FGa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;a:do if((b&3|0)!=0&(e|0)!=0){f=e;while(1){if((a[b>>0]|0)==(d&255)<<24>>24)break a;b=b+1|0;e=f+-1|0;if((b&3|0)!=0&(e|0)!=0)f=e;else{f=e;e=(e|0)!=0;g=5;break}}}else{f=e;e=(e|0)!=0;g=5}while(0);b:do if((g|0)==5)if(e){if((a[b>>0]|0)!=(d&255)<<24>>24){e=ba(d&255,16843009)|0;c:do if(f>>>0>3)do{g=c[b>>2]^e;if((g&-2139062144^-2139062144)&g+-16843009)break c;b=b+4|0;f=f+-4|0}while(f>>>0>3);while(0);if(!f)f=0;else while(1){if((a[b>>0]|0)==(d&255)<<24>>24)break b;b=b+1|0;f=f+-1|0;if(!f){f=0;break}}}}else f=0;while(0);return ((f|0)!=0?b:0)|0}function GGa(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(!d){g=0;return g|0}while(1){e=a[b>>0]|0;f=a[c>>0]|0;if(e<<24>>24!=f<<24>>24)break;d=d+-1|0;if(!d){d=0;g=5;break}else{b=b+1|0;c=c+1|0}}if((g|0)==5)return d|0;g=(e&255)-(f&255)|0;return g|0}function HGa(b,c){b=b|0;c=c|0;var d=0,e=0;e=a[b>>0]|0;d=a[c>>0]|0;if(e<<24>>24==0?1:e<<24>>24!=d<<24>>24)c=e;else{do{b=b+1|0;c=c+1|0;e=a[b>>0]|0;d=a[c>>0]|0}while(!(e<<24>>24==0?1:e<<24>>24!=d<<24>>24));c=e}return (c&255)-(d&255)|0}function IGa(b,c,e){b=b|0;c=c|0;e=e|0;var f=0,g=0;if(!e){b=0;return b|0}f=a[b>>0]|0;a:do if(!(f<<24>>24))f=0;else while(1){e=e+-1|0;g=a[c>>0]|0;if(!(g<<24>>24!=0&(e|0)!=0&f<<24>>24==g<<24>>24))break a;b=b+1|0;c=c+1|0;f=a[b>>0]|0;if(!(f<<24>>24)){f=0;break}}while(0);g=(f&255)-(d[c>>0]|0)|0;return g|0}function JGa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=c[a+4>>2]|0;j=a+(n&-8)|0;i=c[428956]|0;if(!((n&3|0)!=1&a>>>0>=i>>>0&a>>>0>>0))dc();m=c[a+(n&-8|4)>>2]|0;if(!(m&1))dc();if(!(n&3)){if(b>>>0<256){a=0;return a|0}if((n&-8)>>>0>=(b+4|0)>>>0?((n&-8)-b|0)>>>0<=c[429072]<<1>>>0:0)return a|0;a=0;return a|0}if((n&-8)>>>0>=b>>>0){if(((n&-8)-b|0)>>>0<=15)return a|0;c[a+4>>2]=n&1|b|2;c[a+(b+4)>>2]=(n&-8)-b|3;c[a+(n&-8|4)>>2]=c[a+(n&-8|4)>>2]|1;KGa(a+b|0,(n&-8)-b|0);return a|0}if((j|0)==(c[428958]|0)){d=(c[428955]|0)+(n&-8)|0;if(d>>>0<=b>>>0){a=0;return a|0}c[a+4>>2]=n&1|b|2;c[a+(b+4)>>2]=d-b|1;c[428958]=a+b;c[428955]=d-b;return a|0}if((j|0)==(c[428957]|0)){d=(c[428954]|0)+(n&-8)|0;if(d>>>0>>0){a=0;return a|0}if((d-b|0)>>>0>15){c[a+4>>2]=n&1|b|2;c[a+(b+4)>>2]=d-b|1;c[a+d>>2]=d-b;c[a+(d+4)>>2]=c[a+(d+4)>>2]&-2;e=a+b|0;d=d-b|0}else{c[a+4>>2]=n&1|d|2;c[a+(d+4)>>2]=c[a+(d+4)>>2]|1;e=0;d=0}c[428954]=d;c[428957]=e;return a|0}if(m&2){a=0;return a|0}if(((m&-8)+(n&-8)|0)>>>0>>0){a=0;return a|0}l=(m&-8)+(n&-8)-b|0;do if(m>>>0>=256){h=c[a+((n&-8)+24)>>2]|0;e=c[a+((n&-8)+12)>>2]|0;do if((e|0)==(j|0)){e=c[a+((n&-8)+20)>>2]|0;if(!e){e=c[a+((n&-8)+16)>>2]|0;if(!e){k=0;break}else g=a+((n&-8)+16)|0}else g=a+((n&-8)+20)|0;while(1){f=e+20|0;d=c[f>>2]|0;if(d){e=d;g=f;continue}f=e+16|0;d=c[f>>2]|0;if(!d)break;else{e=d;g=f}}if(g>>>0>>0)dc();else{c[g>>2]=0;k=e;break}}else{f=c[a+((n&-8)+8)>>2]|0;if(f>>>0>>0)dc();if((c[f+12>>2]|0)!=(j|0))dc();if((c[e+8>>2]|0)==(j|0)){c[f+12>>2]=e;c[e+8>>2]=f;k=e;break}else dc()}while(0);if(h){e=c[a+((n&-8)+28)>>2]|0;if((j|0)==(c[1716112+(e<<2)>>2]|0)){c[1716112+(e<<2)>>2]=k;if(!k){c[428953]=c[428953]&~(1<>>0<(c[428956]|0)>>>0)dc();if((c[h+16>>2]|0)==(j|0))c[h+16>>2]=k;else c[h+20>>2]=k;if(!k)break}d=c[428956]|0;if(k>>>0>>0)dc();c[k+24>>2]=h;e=c[a+((n&-8)+16)>>2]|0;do if(e)if(e>>>0>>0)dc();else{c[k+16>>2]=e;c[e+24>>2]=k;break}while(0);e=c[a+((n&-8)+20)>>2]|0;if(e)if(e>>>0<(c[428956]|0)>>>0)dc();else{c[k+20>>2]=e;c[e+24>>2]=k;break}}}else{e=c[a+((n&-8)+8)>>2]|0;d=c[a+((n&-8)+12)>>2]|0;if((e|0)!=(1715848+(m>>>3<<1<<2)|0)){if(e>>>0>>0)dc();if((c[e+12>>2]|0)!=(j|0))dc()}if((d|0)==(e|0)){c[428952]=c[428952]&~(1<<(m>>>3));break}if((d|0)!=(1715848+(m>>>3<<1<<2)|0)){if(d>>>0>>0)dc();if((c[d+8>>2]|0)!=(j|0))dc();else f=d+8|0}else f=d+8|0;c[e+12>>2]=d;c[f>>2]=e}while(0);if(l>>>0<16){c[a+4>>2]=(m&-8)+(n&-8)|n&1|2;c[a+((m&-8)+(n&-8)|4)>>2]=c[a+((m&-8)+(n&-8)|4)>>2]|1;return a|0}else{c[a+4>>2]=n&1|b|2;c[a+(b+4)>>2]=l|3;c[a+((m&-8)+(n&-8)|4)>>2]=c[a+((m&-8)+(n&-8)|4)>>2]|1;KGa(a+b|0,l);return a|0}return 0}function KGa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=c[a+4>>2]|0;do if(!(g&1)){l=c[a>>2]|0;if(!(g&3))return;i=c[428956]|0;if((a+(0-l)|0)>>>0>>0)dc();if((a+(0-l)|0)==(c[428957]|0)){g=c[a+(b+4)>>2]|0;if((g&3|0)!=3){q=a+(0-l)|0;h=l+b|0;break}c[428954]=l+b;c[a+(b+4)>>2]=g&-2;c[a+(4-l)>>2]=l+b|1;c[a+b>>2]=l+b;return}if(l>>>0<256){g=c[a+(8-l)>>2]|0;f=c[a+(12-l)>>2]|0;if((g|0)!=(1715848+(l>>>3<<1<<2)|0)){if(g>>>0>>0)dc();if((c[g+12>>2]|0)!=(a+(0-l)|0))dc()}if((f|0)==(g|0)){c[428952]=c[428952]&~(1<<(l>>>3));q=a+(0-l)|0;h=l+b|0;break}if((f|0)!=(1715848+(l>>>3<<1<<2)|0)){if(f>>>0>>0)dc();if((c[f+8>>2]|0)!=(a+(0-l)|0))dc();else e=f+8|0}else e=f+8|0;c[g+12>>2]=f;c[e>>2]=g;q=a+(0-l)|0;h=l+b|0;break}j=c[a+(24-l)>>2]|0;g=c[a+(12-l)>>2]|0;do if((g|0)==(a+(0-l)|0)){g=c[a+(16-l+4)>>2]|0;if(!g){g=c[a+(16-l)>>2]|0;if(!g){k=0;break}else d=a+(16-l)|0}else d=a+(16-l+4)|0;while(1){f=g+20|0;e=c[f>>2]|0;if(e){g=e;d=f;continue}f=g+16|0;e=c[f>>2]|0;if(!e)break;else{g=e;d=f}}if(d>>>0>>0)dc();else{c[d>>2]=0;k=g;break}}else{f=c[a+(8-l)>>2]|0;if(f>>>0>>0)dc();if((c[f+12>>2]|0)!=(a+(0-l)|0))dc();if((c[g+8>>2]|0)==(a+(0-l)|0)){c[f+12>>2]=g;c[g+8>>2]=f;k=g;break}else dc()}while(0);if(j){g=c[a+(28-l)>>2]|0;if((a+(0-l)|0)==(c[1716112+(g<<2)>>2]|0)){c[1716112+(g<<2)>>2]=k;if(!k){c[428953]=c[428953]&~(1<>>0<(c[428956]|0)>>>0)dc();if((c[j+16>>2]|0)==(a+(0-l)|0))c[j+16>>2]=k;else c[j+20>>2]=k;if(!k){q=a+(0-l)|0;h=l+b|0;break}}f=c[428956]|0;if(k>>>0>>0)dc();c[k+24>>2]=j;g=c[a+(16-l)>>2]|0;do if(g)if(g>>>0>>0)dc();else{c[k+16>>2]=g;c[g+24>>2]=k;break}while(0);g=c[a+(16-l+4)>>2]|0;if(g)if(g>>>0<(c[428956]|0)>>>0)dc();else{c[k+20>>2]=g;c[g+24>>2]=k;q=a+(0-l)|0;h=l+b|0;break}else{q=a+(0-l)|0;h=l+b|0}}else{q=a+(0-l)|0;h=l+b|0}}else{q=a;h=b}while(0);j=c[428956]|0;if((a+b|0)>>>0>>0)dc();e=c[a+(b+4)>>2]|0;if(!(e&2)){if((a+b|0)==(c[428958]|0)){p=(c[428955]|0)+h|0;c[428955]=p;c[428958]=q;c[q+4>>2]=p|1;if((q|0)!=(c[428957]|0))return;c[428957]=0;c[428954]=0;return}if((a+b|0)==(c[428957]|0)){p=(c[428954]|0)+h|0;c[428954]=p;c[428957]=q;c[q+4>>2]=p|1;c[q+p>>2]=p;return}h=(e&-8)+h|0;do if(e>>>0>=256){i=c[a+(b+24)>>2]|0;g=c[a+(b+12)>>2]|0;do if((g|0)==(a+b|0)){g=c[a+(b+20)>>2]|0;if(!g){g=c[a+(b+16)>>2]|0;if(!g){n=0;break}else d=a+(b+16)|0}else d=a+(b+20)|0;while(1){f=g+20|0;e=c[f>>2]|0;if(e){g=e;d=f;continue}f=g+16|0;e=c[f>>2]|0;if(!e)break;else{g=e;d=f}}if(d>>>0>>0)dc();else{c[d>>2]=0;n=g;break}}else{f=c[a+(b+8)>>2]|0;if(f>>>0>>0)dc();if((c[f+12>>2]|0)!=(a+b|0))dc();if((c[g+8>>2]|0)==(a+b|0)){c[f+12>>2]=g;c[g+8>>2]=f;n=g;break}else dc()}while(0);if(i){g=c[a+(b+28)>>2]|0;if((a+b|0)==(c[1716112+(g<<2)>>2]|0)){c[1716112+(g<<2)>>2]=n;if(!n){c[428953]=c[428953]&~(1<>>0<(c[428956]|0)>>>0)dc();if((c[i+16>>2]|0)==(a+b|0))c[i+16>>2]=n;else c[i+20>>2]=n;if(!n)break}f=c[428956]|0;if(n>>>0>>0)dc();c[n+24>>2]=i;g=c[a+(b+16)>>2]|0;do if(g)if(g>>>0>>0)dc();else{c[n+16>>2]=g;c[g+24>>2]=n;break}while(0);f=c[a+(b+20)>>2]|0;if(f)if(f>>>0<(c[428956]|0)>>>0)dc();else{c[n+20>>2]=f;c[f+24>>2]=n;break}}}else{g=c[a+(b+8)>>2]|0;f=c[a+(b+12)>>2]|0;if((g|0)!=(1715848+(e>>>3<<1<<2)|0)){if(g>>>0>>0)dc();if((c[g+12>>2]|0)!=(a+b|0))dc()}if((f|0)==(g|0)){c[428952]=c[428952]&~(1<<(e>>>3));break}if((f|0)!=(1715848+(e>>>3<<1<<2)|0)){if(f>>>0>>0)dc();if((c[f+8>>2]|0)!=(a+b|0))dc();else m=f+8|0}else m=f+8|0;c[g+12>>2]=f;c[m>>2]=g}while(0);c[q+4>>2]=h|1;c[q+h>>2]=h;if((q|0)==(c[428957]|0)){c[428954]=h;return}}else{c[a+(b+4)>>2]=e&-2;c[q+4>>2]=h|1;c[q+h>>2]=h}e=h>>>3;if(h>>>0<256){f=c[428952]|0;if(f&1<>2]|0;if(f>>>0<(c[428956]|0)>>>0)dc();else{o=1715848+((e<<1)+2<<2)|0;p=f}}else{c[428952]=f|1<>2]=q;c[p+12>>2]=q;c[q+8>>2]=p;c[q+12>>2]=1715848+(e<<1<<2);return}d=h>>>8;if(d)if(h>>>0>16777215)g=31;else{g=d<<((d+1048320|0)>>>16&8)<<(((d<<((d+1048320|0)>>>16&8))+520192|0)>>>16&4);g=14-(((d<<((d+1048320|0)>>>16&8))+520192|0)>>>16&4|(d+1048320|0)>>>16&8|(g+245760|0)>>>16&2)+(g<<((g+245760|0)>>>16&2)>>>15)|0;g=h>>>(g+7|0)&1|g<<1}else g=0;f=1716112+(g<<2)|0;c[q+28>>2]=g;c[q+20>>2]=0;c[q+16>>2]=0;e=c[428953]|0;d=1<>2]=q;c[q+24>>2]=f;c[q+12>>2]=q;c[q+8>>2]=q;return}f=c[f>>2]|0;if((g|0)==31)d=0;else d=25-(g>>>1)|0;a:do if((c[f+4>>2]&-8|0)!=(h|0)){g=h<>>31<<2)+16|0;f=c[e>>2]|0;if(!f)break;if((c[f+4>>2]&-8|0)==(h|0))break a;else{g=g<<1;d=f}}if(e>>>0<(c[428956]|0)>>>0)dc();c[e>>2]=q;c[q+24>>2]=d;c[q+12>>2]=q;c[q+8>>2]=q;return}while(0);d=f+8|0;e=c[d>>2]|0;p=c[428956]|0;if(!(f>>>0>=p>>>0&e>>>0>=p>>>0))dc();c[e+12>>2]=q;c[d>>2]=q;c[q+8>>2]=e;c[q+12>>2]=f;c[q+24>>2]=0;return}function LGa(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0;e=c[a+4>>2]|0;if(e>>>0<(c[a+100>>2]|0)>>>0){c[a+4>>2]=e+1;e=d[e>>0]|0}else e=bGa(a)|0;if((e|0)==43|(e|0)==45){f=(e|0)==45&1;e=c[a+4>>2]|0;if(e>>>0<(c[a+100>>2]|0)>>>0){c[a+4>>2]=e+1;e=d[e>>0]|0}else e=bGa(a)|0;if((e+-48|0)>>>0>9&(b|0)!=0?(c[a+100>>2]|0)!=0:0)c[a+4>>2]=(c[a+4>>2]|0)+-1}else f=0;if((e+-48|0)>>>0>9){if(!(c[a+100>>2]|0)){h=-2147483648;a=0;F=h;return a|0}c[a+4>>2]=(c[a+4>>2]|0)+-1;h=-2147483648;a=0;F=h;return a|0}else h=0;do{h=e+-48+(h*10|0)|0;e=c[a+4>>2]|0;if(e>>>0<(c[a+100>>2]|0)>>>0){c[a+4>>2]=e+1;e=d[e>>0]|0}else e=bGa(a)|0;g=(e+-48|0)>>>0<10}while(g&(h|0)<214748364);b=((h|0)<0)<<31>>31;if(g){g=h;do{b=eHa(g|0,b|0,10,0)|0;g=F;e=QGa(e|0,((e|0)<0)<<31>>31|0,-48,-1)|0;g=QGa(e|0,F|0,b|0,g|0)|0;b=F;e=c[a+4>>2]|0;if(e>>>0<(c[a+100>>2]|0)>>>0){c[a+4>>2]=e+1;e=d[e>>0]|0}else e=bGa(a)|0}while((e+-48|0)>>>0<10&((b|0)<21474836|(b|0)==21474836&g>>>0<2061584302))}else g=h;if((e+-48|0)>>>0<10)do{e=c[a+4>>2]|0;if(e>>>0<(c[a+100>>2]|0)>>>0){c[a+4>>2]=e+1;e=d[e>>0]|0}else e=bGa(a)|0}while((e+-48|0)>>>0<10);if(c[a+100>>2]|0)c[a+4>>2]=(c[a+4>>2]|0)+-1;f=(f|0)!=0;a=PGa(0,0,g|0,b|0)|0;h=f?F:b;a=f?a:g;F=h;return a|0} -function Wu(a,d,f,g,j,l){a=a|0;d=d|0;f=f|0;g=g|0;j=j|0;l=l|0;var m=0,n=0.0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+160|0;if((c[a+5508>>2]|0)>1){c[x+8>>2]=l;jN(28984,x+8|0)}ak(x+24|0,d);d=c[x+40>>2]|0;a:do if(d){b:while(1){u=d+160|0;m=c[u>>2]|0;if(Kk(m,g)|0){if((c[a+5508>>2]|0)>1){jN(29032,x+8|0);jv(c[u>>2]|0);m=c[u>>2]|0}r=c[m+8>>2]|0;if((r|0)>0){v=d+184|0;t=0;while(1){b[x+152>>1]=32767;b[x+154>>1]=32767;b[x+156>>1]=-32767;b[x+158>>1]=-32767;m=t;p=0;do{q=Dk((c[u>>2]|0)+12|0,m)|0;s=e[q+4>>1]|e[q+6>>1]<<16;c[x>>2]=e[q>>1]|e[q+2>>1]<<16;c[x+4>>2]=s;if(!(Kk(x,g)|0))break;if((SM(fk(v,m)|0)|0)>0)break;n=+kv(x,g);o=+kv(x,j);if((c[a+5508>>2]|0)>2){jN(29056,x+8|0);jv(x);h[k>>3]=n;c[x+8>>2]=c[k>>2];c[x+12>>2]=c[k+4>>2];h[k>>3]=o;c[x+16>>2]=c[k>>2];c[x+20>>2]=c[k+4>>2];jN(29072,x+8|0)}if(n>o)break;bja(x+152|0,x);p=p+1|0;m=p+t|0}while((m|0)<(r|0));s=t+1|0;if((p|0)>0)break b;if((s|0)<(r|0))t=s;else break}}}d=ck(x+24|0)|0;if(!d){w=36;break a}}if((c[a+5508>>2]|0)>1){c[x+8>>2]=t;c[x+12>>2]=m;jN(29112,x+8|0)}if(!(hja(x+152|0,g)|0)){q=b[g>>1]|0;r=b[g+4>>1]|0;if((lv(q,r,b[j>>1]|0,b[j+4>>1]|0)|0)<-3){d=0;break}if((f|0)!=0?(lv(b[f>>1]|0,b[f+4>>1]|0,q,r)|0)<-3:0){d=0;break}}Hca(c[u>>2]|0,t,m);m=d+164|0;c[(Ik(m,t)|0)>>2]=p;fN(fk(v,t)|0,l);if((c[a+5508>>2]|0)>2){c[x+8>>2]=p;jN(29144,x+8|0);jv(Dk((c[u>>2]|0)+12|0,t)|0);jN(29176,x+8|0);jv(g);jN(29192,x+8|0);jv(j)}if((p|0)>1){d=1;do{mv(m,s);nv(v,s);d=d+1|0}while((d|0)<(p|0))}if((c[a+5508>>2]|0)>1){jN(29208,x+8|0);if((c[m>>2]|0)>0){d=0;do{c[x+8>>2]=c[(Ik(m,d)|0)>>2];jN(333280,x+8|0);d=d+1|0}while((d|0)<(c[m>>2]|0))}jN(1714256,x+8|0);jN(29224,x+8|0);if((c[v>>2]|0)>0){d=0;do{c[x+8>>2]=VM(c[(fk(v,d)|0)>>2]|0)|0;jN(360528,x+8|0);d=d+1|0}while((d|0)<(c[v>>2]|0))}jN(29248,x+8|0);d=1}else d=1}else w=36;while(0);if((w|0)==36)if((c[a+5508>>2]|0)>0){jN(29256,x+8|0);d=0}else d=0;i=x;return d|0}function Xu(b,d,f,g,j){b=b|0;d=d|0;f=f|0;g=g|0;j=j|0;var l=0,m=0.0,n=0.0,o=0,p=0,q=0;p=i;i=i+192|0;if((c[b+5508>>2]|0)>1){c[p>>2]=j;jN(29264,p)}pk(p+80|0,d);rk(p+80|0);if(!(sk(p+80|0)|0)){d=0;do{l=tk(p+80|0)|0;if(Kk(f,l+16|0)|0?(pk(p+52|0,l+52|0),rk(p+52|0),!(sk(p+52|0)|0)):0)do{l=tk(p+52|0)|0;q=e[l+16>>1]|e[l+18>>1]<<16;c[p+16>>2]=e[l+12>>1]|e[l+14>>1]<<16;c[p+20>>2]=q;if(Kk(f,p+16|0)|0?(Lk(p+24|0,l+36|0),Mk(p+24|0),(Nk(p+24|0)|0)<<24>>24==0):0)do{l=Ok(p+24|0)|0;if((c[b+5508>>2]|0)>2){jN(29312,p);yla(p+168|0,l);jv(p+168|0)}if(!((VM(c[l+16>>2]|0)|0)!=0?(a[(VM(c[l+16>>2]|0)|0)>>0]|0)!=0:0)){yla(p+184|0,l);if(Kk(f,p+184|0)|0?(pk(p+108|0,l+20|0),rk(p+108|0),!(sk(p+108|0)|0)):0)do{fla(p+176|0,tk(p+108|0)|0);do if(Kk(p+176|0,f)|0){m=+kv(p+176|0,f);n=+kv(p+176|0,g);if((c[b+5508>>2]|0)>2){jN(29056,p);jv(p+176|0);h[k>>3]=m;c[p>>2]=c[k>>2];c[p+4>>2]=c[k+4>>2];h[k>>3]=n;c[p+8>>2]=c[k>>2];c[p+12>>2]=c[k+4>>2];jN(29072,p)}if(m>n)break;if((c[b+5508>>2]|0)>2){jN(29328,p);jv(p+176|0);jN(29176,p);jv(f);jN(29192,p);jv(g)}if(!d){d=Ela(l)|0;fN(d+16|0,j);ov(p+24|0,d)}pk(p+136|0,d+20|0);qv(p+136|0,pv(p+108|0)|0)}while(0);OL(p+108|0)|0}while(!(sk(p+108|0)|0))}VL(p+24|0)}while((Nk(p+24|0)|0)<<24>>24==0);OL(p+52|0)|0}while(!(sk(p+52|0)|0));OL(p+80|0)|0}while(!(sk(p+80|0)|0));if(!d)o=28}else o=28;if((o|0)==28)if((c[b+5508>>2]|0)>0){jN(29256,p);d=0}else d=0;i=p;return (d|0)!=0|0}function Yu(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;f=i;i=i+32|0;j=b[d>>1]|0;h=b[d+2>>1]|0;g=b[d+4>>1]|0;d=b[d+6>>1]|0;c[f>>2]=a+1;c[f+4>>2]=e;c[f+8>>2]=j;c[f+12>>2]=h;c[f+16>>2]=g;c[f+20>>2]=d;c[f+24>>2]=28704;jN(29840,f);i=f;return}function Zu(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+160|0;ak(f+24|0,d);d=c[f+40>>2]|0;if(d)do{e=(c[d+4>>2]|0)+16|0;if((VM(c[e>>2]|0)|0)!=0?(a[(VM(c[e>>2]|0)|0)>>0]|0)!=0:0){Ek(f+4|0);if(bv(b,VM(c[e>>2]|0)|0,f+4|0)|0){if(!(cv(b,f+4|0,d)|0)){c[f>>2]=VM(c[e>>2]|0)|0;jN(29408,f);Yga(f+24|0)}}else{c[f>>2]=VM(c[e>>2]|0)|0;jN(29352,f);Yga(f+24|0)}Jk(f+4|0)}ck(f+24|0)|0;d=c[f+40>>2]|0}while((d|0)!=0);i=f;return}function _u(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+144|0;ak(p+8|0,d);d=c[p+24>>2]|0;if(!d){g=0;f=0;e=0}else{g=0;f=0;e=0;do{j=d+184|0;k=c[j>>2]|0;l=WEa(64)|0;rv(l,c[d+68>>2]|0,k);a[l+52>>0]=2;if((k|0)>0){h=d+164|0;m=0;n=0;do{n=((SM(fk(j,m)|0)|0)>0&1)+n|0;sv(l,-1,c[(Ik(h,m)|0)>>2]|0,1.0,-1.0);m=m+1|0}while((m|0)!=(k|0));if((n|0)>0){g=g-n+(c[j>>2]|0)|0;hga(d,l)|0;iga(d,1,0,l)|0;f=n+f|0}else o=8}else o=8;if((o|0)==8){o=0;if((c[b+5508>>2]|0)>0){jN(29672,p);yla(p+136|0,c[d+4>>2]|0);jv(p+136|0)}Yga(p+8|0);wia(l);YEa(l);e=e+1|0}ck(p+8|0)|0;d=c[p+24>>2]|0}while((d|0)!=0)}_ga(p+8|0,0);d=c[p+24>>2]|0;if(d)do{yga(d);zga(d);o=d+4|0;tv((c[o>>2]|0)+10|0,3,(c[p+16>>2]|0)!=(c[p+28>>2]|0)&1);tv((c[o>>2]|0)+10|0,4,(c[p+40>>2]|0)!=(c[p+28>>2]|0)&1);ck(p+8|0)|0;d=c[p+24>>2]|0}while((d|0)!=0);if((c[b+5508>>2]|0)>0){c[p>>2]=f;jN(29712,p);if((g|0)>0){c[p>>2]=g;c[p+4>>2]=0;jN(29744,p)}if((e|0)>0){c[p>>2]=e;jN(29792,p)}}i=p;return}function $u(a,b){a=a|0;b=b|0;var d=0.0,e=0.0,f=0;f=i;i=i+128|0;pk(f,b);Aka(f+112|0,0,(ll((tk(f)|0)+16|0)|0)<<16>>16);rk(f);while(1){if(sk(f)|0)break;pk(f+84|0,(tk(f)|0)+52|0);rk(f+84|0);while(1){if(sk(f+84|0)|0)break;Fka(f+112|0,ok(+g[(tk(f+84|0)|0)+20>>2])|0,1);OL(f+84|0)|0}OL(f)|0}e=+Mka(f+112|0);Eka(f+112|0);pk(f+56|0,b);rk(f+56|0);if(!(sk(f+56|0)|0))do{pk(f+28|0,(tk(f+56|0)|0)+52|0);rk(f+28|0);if(!(sk(f+28|0)|0))do{b=(tk(f+28|0)|0)+20|0;d=+g[b>>2];if(+Q(+(d-e))>e*.125){if(c[a+5508>>2]|0){h[k>>3]=d;c[f>>2]=c[k>>2];c[f+4>>2]=c[k+4>>2];h[k>>3]=e;c[f+8>>2]=c[k>>2];c[f+12>>2]=c[k+4>>2];jN(28840,f)}g[b>>2]=e}OL(f+28|0)|0}while(!(sk(f+28|0)|0));OL(f+56|0)|0}while(!(sk(f+56|0)|0));i=f;return}function av(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var j=0.0,k=0,l=0,m=0;l=i;i=i+48|0;k=c[b+10288>>2]|0;if(!k)k=c[b+10280>>2]|0;if(_fa(h,b+184|0,b,k,c[b+5284>>2]|0,(a[b+2078>>0]|0)!=0,(a[b+9378>>0]|0)!=0,(a[b+9394>>0]|0)!=0,f,e)|0){if(c[b+4332>>2]|0){jN(28888,l);yla(l+32|0,c[h+4>>2]|0);jv(l+32|0)}uv(l+12|0);e=c[c[h+72>>2]>>2]|0;if(!e){c[l>>2]=28960;c[l+4>>2]=263;$L(28656,28920,2,1702e3,l);e=c[c[h+72>>2]>>2]|0}if((e|0)>0){e=0;j=127.0;while(1){f=WEa(72)|0;pia(f,0,j,-j,-1,0.0,0.0,0.0,4);vv(l+12|0,f);e=e+1|0;if((e|0)>=(c[c[h+72>>2]>>2]|0))break;else j=j+-.125}}a:do if(!(a[b+4898>>0]|0)){k=0;while(1){e=aP(b,d,l+12|0,h,l+8|0)|0;if(!e)break a;m=c[l+8>>2]|0;jga(h,m,e);e=c[(wv(c[l+12>>2]|0,c[l+20>>2]|0,m)|0)>>2]|0;j=+g[e+32>>2]/2.718281828459045;g[e+32>>2]=j;g[e+36>>2]=-j;e=WEa(72)|0;f=k+1|0;pia(e,f,j+-.125,-j,-1,0.0,0.0,0.0,4);xv(l+12|0,e,m+1|0);k=f}}while(0);Bga(h);m=c[l+12>>2]|0;gga(h,m,wv(m,c[l+20>>2]|0,0)|0);yv(l+12|0)}else Bga(h);i=l;return}function bv(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:do if(!(a[c>>0]|0))c=1;else while(1){e=FEa(c,32)|0;if(!e)e=c+(SGa(c|0)|0)|0;e=e-c|0;g=IN(b+184|0,c,e)|0;if((g|0)==-1){c=0;break a}while(1){f=c+e|0;if((a[f>>0]|0)==32)e=e+1|0;else break}zv(d,g);if(!(a[f>>0]|0)){c=1;break}else c=f}while(0);return c|0}function cv(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+48|0;m=c[(c[e+160>>2]|0)+8>>2]|0;n=XEa(m>>>0>214748364|(m*20|0)>>>0>4294967291?-1:(m*20|0)+4|0)|0;c[n>>2]=m;if(m){f=n+4|0;do{Av(f);f=f+20|0}while((f|0)!=(n+4+(m*20|0)|0));if((m|0)>0){k=0;do{f=k&65535;j=n+4+(k*20|0)|0;l=1;do{h=l+k|0;if((h|0)>(m|0))break;h=Nc[c[(c[b>>2]|0)+8>>2]&3](b,e+76|0,f,h+65535&65535,29464,c[e+72>>2]|0,c[e+152>>2]|0)|0;if((c[b+5508>>2]|0)>2){c[p>>2]=k;c[p+4>>2]=l;jN(29480,p);Via(29488,h,b+184|0)}Cv(j,h);l=l+1|0}while((l|0)<5);k=k+1|0}while((k|0)<(m|0));f=1}else f=0}else f=0;Jk(e+164|0);Ek(p+16|0);g[p+12>>2]=0.0;dv(b,n+4|0,0,m,d,0,0.0,p+16|0,p+12|0,e+164|0);if(f){f=0;do{Dv(n+4+(f*20|0)|0);f=f+1|0}while((f|0)<(m|0))}f=n+4+((c[n>>2]|0)*20|0)|0;if((n+4|0)!=(f|0))do{f=f+-20|0;Bv(f)}while((f|0)!=(n+4|0));ZEa(n);if(!(c[e+164>>2]|0)){if((c[e+76>>2]|0)>0){f=1;h=0;do{if((a[(c[(Ev(e+76|0,h)|0)>>2]|0)+10>>0]|0)>0)f=f+1|0;else{zv(e+164|0,f);f=1}h=h+1|0}while((h|0)<(c[e+76>>2]|0))}else f=1;zv(e+164|0,f);if((c[e+164>>2]|0)!=(c[d>>2]|0)){Jk(e+164|0);f=0}else o=24}else o=24;if((o|0)==24){Vj(e+184|0);if((c[d>>2]|0)>0){f=0;do{PM(p+8|0,MN(b+184|0,c[(Ik(d,f)|0)>>2]|0)|0);Wj(e+184|0,p+8|0);RM(c[p+8>>2]|0);f=f+1|0}while((f|0)<(c[d>>2]|0));f=1}else f=1}Jk(p+16|0);i=p;return f|0}function dv(a,b,d,e,f,j,l,m,n,o){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;j=j|0;l=+l;m=m|0;n=n|0;o=o|0;var p=0.0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0.0;u=i;i=i+80|0;s=(c[a+2776>>2]|0)+256|0;if((c[b+(d*20|0)>>2]|0)>=1){t=1;while(1){pk(u+52|0,c[(Fv(b+(d*20|0)|0,t+-1|0)|0)>>2]|0);rk(u+52|0);a:do if(sk(u+52|0)|0)p=0.0;else do{q=tk(u+52|0)|0;p=+g[q+32>>2];q=c[q+4>>2]|0;if((q|0)==(c[(Ik(f,j)|0)>>2]|0))break a;if((q|0)<(c[s>>2]|0)?(c[(Gv(s,q)|0)>>2]|0)!=0:0){pk(u+24|0,c[(Gv(s,q)|0)>>2]|0);rk(u+24|0);b:do if(!(sk(u+24|0)|0))do{q=tk(u+24|0)|0;if((c[q+8>>2]|0)==-1?(r=c[q+92>>2]|0,(r|0)==(c[(Ik(f,j)|0)>>2]|0)):0)break b;OL(u+24|0)|0}while(!(sk(u+24|0)|0));while(0);if(!(sk(u+24|0)|0))break a}OL(u+52|0)|0}while(!(sk(u+52|0)|0));while(0);if(!(sk(u+52|0)|0)){zv(m,t);q=t+d|0;r=c[f>>2]|0;do if(!((q|0)==(e|0)&(j+1|0)==(r|0))){if((q|0)<(e|0)&(j+1|0)<(r|0)){if((c[a+5508>>2]|0)>3){w=c[(Ik(f,j)|0)>>2]|0;v=MN(a+184|0,c[(Ik(f,j)|0)>>2]|0)|0;r=c[(tk(u+52|0)|0)+4>>2]|0;r=(r|0)==(c[(Ik(f,j)|0)>>2]|0);c[u>>2]=w;c[u+4>>2]=v;c[u+8>>2]=r?29624:29632;c[u+12>>2]=d;c[u+16>>2]=t;jN(29568,u)}dv(a,b,q,e,f,j+1|0,p+l,m,n,o);if((c[a+5508>>2]|0)>3){v=c[(Ik(f,j)|0)>>2]|0;w=MN(a+184|0,c[(Ik(f,j)|0)>>2]|0)|0;c[u>>2]=v;c[u+4>>2]=w;jN(29640,u)}}}else{p=p+l;if((c[a+5508>>2]|0)>2){x=+g[n>>2];v=c[m>>2]|0;w=c[o>>2]|0;h[k>>3]=p;c[u>>2]=c[k>>2];c[u+4>>2]=c[k+4>>2];h[k>>3]=x;c[u+8>>2]=c[k>>2];c[u+12>>2]=c[k+4>>2];c[u+16>>2]=v;c[u+20>>2]=w;jN(29504,u)}if((c[o>>2]|0)!=0?!(p<+g[n>>2]):0)break;Hv(o,m);g[n>>2]=p}while(0);c[m>>2]=(c[m>>2]|0)+-1}if((t|0)<(c[b+(d*20|0)>>2]|0))t=t+1|0;else break}}i=u;return}function ev(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;h=i;i=i+144|0;ak(h+20|0,b);b=c[h+36>>2]|0;if(b)do{e=WEa(64)|0;f=b+184|0;rv(e,c[b+68>>2]|0,c[f>>2]|0);if((c[f>>2]|0)>0){d=b+164|0;g=0;do{ek(h);YM(fk(f,g)|0,32,h);j=HN(a+184|0,VM(c[(fk(h,0)|0)>>2]|0)|0)|0;sv(e,j,c[(Ik(d,g)|0)>>2]|0,0.0,0.0);Vj(h);g=g+1|0}while((g|0)<(c[f>>2]|0))}fga(b);hga(b,e)|0;iga(b,1,0,e)|0;b=ck(h+20|0)|0}while((b|0)!=0);i=h;return}function fv(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+128|0;ak(f+4|0,d);e=c[f+20>>2]|0;if(!e)d=0;else{d=0;do{ppa(a,VM(c[b>>2]|0)|0,e);d=d+1|0;e=ck(f+4|0)|0}while((e|0)!=0)}c[f>>2]=d;jN(29896,f);i=f;return}function gv(a,d){a=a|0;d=d|0;var f=0,g=0;f=c[a>>2]|0;if((f|0)==(c[a+4>>2]|0)){Iv(a);f=c[a>>2]|0}c[a>>2]=f+1;g=e[d>>1]|e[d+2>>1]<<16;d=e[d+4>>1]|e[d+6>>1]<<16;a=(c[a+8>>2]|0)+(f<<3)|0;b[a>>1]=g;b[a+2>>1]=g>>>16;b[a+4>>1]=d;b[a+6>>1]=d>>>16;return}function hv(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if(!b)$L(28672,30368,2,0,h);if(!(c[b>>2]|0))$L(28664,30368,2,0,h);if(!(c[b+8>>2]|0))$L(28680,30368,2,0,h);g=c[b>>2]|0;d=c[g>>2]|0;if((d|0)!=0?(d|0)==(c[d+4>>2]|0):0){c[g>>2]=0;c[b+12>>2]=0;c[b+4>>2]=0;d=c[b+8>>2]|0}else f=10;do if((f|0)==10){f=c[b+12>>2]|0;e=c[b+4>>2]|0;c[e+4>>2]=f;c[f>>2]=e;f=c[b+8>>2]|0;if((f|0)==(d|0)){c[g>>2]=e;a[b+16>>0]=1;break}else{a[b+16>>0]=0;d=f;break}}while(0);a[b+17>>0]=(d|0)==(c[b+20>>2]|0)&1;c[d+4>>2]=0;c[d>>2]=0;c[b+8>>2]=0;i=h;return d|0}function iv(a){a=a|0;KL(a+24|0,224);KL(a+20|0,224);RM(c[a+16>>2]|0);return}function jv(a){a=a|0;var d=0,e=0,f=0,g=0;d=i;i=i+16|0;g=b[a+2>>1]|0;f=b[a+4>>1]|0;e=b[a+6>>1]|0;c[d>>2]=b[a>>1];c[d+4>>2]=g;c[d+8>>2]=f;c[d+12>>2]=e;jN(30336,d);i=d;return}function kv(a,b){a=a|0;b=b|0;var c=0,d=0;d=i;i=i+16|0;cja(d,a,b);c=Jv(d)|0;a=Jv(a)|0;b=Jv(b)|0;i=d;return +(+(a-c|0)/+(a|0)*+(b-c|0)/+(b|0))}function lv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ((a<<16>>16>16?c:a)<<16>>16)-((b<<16>>16>d<<16>>16?d:b)<<16>>16)|0}function mv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;if(!((b|0)>-1?(d=c[a>>2]|0,(d|0)>(b|0)):0)){c[f>>2]=1701680;c[f+4>>2]=705;$L(28656,1701640,2,1702e3,f);d=c[a>>2]|0}d=d+-1|0;if((d|0)>(b|0)){e=c[a+8>>2]|0;do{d=b;b=b+1|0;c[e+(d<<2)>>2]=c[e+(b<<2)>>2];d=(c[a>>2]|0)+-1|0}while((b|0)<(d|0))}c[a>>2]=d;i=f;return}function nv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;if(!((b|0)>-1?(d=c[a>>2]|0,(d|0)>(b|0)):0)){c[e>>2]=1701680;c[e+4>>2]=705;$L(28656,1701640,2,1702e3,e);d=c[a>>2]|0}d=d+-1|0;if((d|0)>(b|0))do{d=c[a+8>>2]|0;f=b;b=b+1|0;aN(d+(f<<2)|0,d+(b<<2)|0);d=(c[a>>2]|0)+-1|0}while((b|0)<(d|0));c[a>>2]=d;i=e;return}function ov(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+16|0;if(!a)$L(28672,30160,2,0,d);if(!(c[a>>2]|0))$L(28664,30160,2,0,d);if(!b)$L(28688,30160,2,319904,d);if(c[b+4>>2]|0)$L(28696,30160,2,0,d);do if(!((Kv(a)|0)<<24>>24))if(!((Mv(a)|0)<<24>>24)){a=c[a>>2]|0;e=c[a>>2]|0;c[b+4>>2]=c[e+4>>2];c[b>>2]=e;c[c[e+4>>2]>>2]=b;c[e+4>>2]=b;c[a>>2]=b;break}else{Nv(a,b);c[c[a>>2]>>2]=b;break}else Lv(a,b);while(0);i=d;return}function pv(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if(!b)$L(28672,3e4,2,0,h);if(!(c[b>>2]|0))$L(28664,3e4,2,0,h);if(!(c[b+8>>2]|0))$L(28680,3e4,2,0,h);f=c[b>>2]|0;g=c[f>>2]|0;if((g|0)!=0?(g|0)==(c[g>>2]|0):0){c[f>>2]=0;c[b+12>>2]=0;c[b+4>>2]=0;d=c[b+8>>2]|0}else e=10;do if((e|0)==10){e=c[b+4>>2]|0;c[e>>2]=c[b+12>>2];d=c[b+8>>2]|0;if((d|0)==(g|0)){c[f>>2]=e;a[b+16>>0]=1;d=g;break}else{a[b+16>>0]=0;break}}while(0);a[b+17>>0]=(d|0)==(c[b+20>>2]|0)&1;c[d>>2]=0;c[b+8>>2]=0;i=h;return d|0}function qv(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+16|0;if(!a)$L(28672,30024,2,0,d);if(!(c[a>>2]|0))$L(28664,30024,2,0,d);if(!b)$L(28688,30024,2,319904,d);if(c[b>>2]|0)$L(28696,30024,2,0,d);do if(!(Ov(a)|0))if(xk(a)|0){Qv(a,b);c[c[a>>2]>>2]=b;break}else{a=c[a>>2]|0;e=c[a>>2]|0;c[b>>2]=c[e>>2];c[e>>2]=b;c[a>>2]=b;break}else Pv(a,b);while(0);i=d;return}function rv(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=0;c[a+4>>2]=b;NM(a+56|0);NM(a+60|0);Rv(a,d);return}function sv(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=+e;f=+f;var g=0;g=c[a+28>>2]|0;if((c[a+24>>2]|0)>(g|0)){c[a+28>>2]=g+1;Sv(a,b,d,e,f,g);return}else Ja(29936,306312,452,29960)}function tv(a,c,d){a=a|0;c=c|0;d=d|0;var f=0;f=e[a>>1]|0;if(!(d<<24>>24))f=f&(1<<(c&255)^65535);else f=f|1<<(c&255);b[a>>1]=f;return}function uv(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;Tv(a,4);return}function vv(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){Uv(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function wv(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)>-1&(a|0)>(c|0))return b+(c<<2)|0;else Ja(1701640,1701680,663,1701712);return 0}function xv(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;g=i;i=i+16|0;if(!((d|0)>-1?(e=c[a>>2]|0,(e|0)>=(d|0)):0)){c[g>>2]=1701680;c[g+4>>2]=691;$L(28656,375920,2,1702e3,g);e=c[a>>2]|0}if((c[a+4>>2]|0)==(e|0)){Uv(a);e=c[a>>2]|0}if((e|0)>(d|0)){f=e;do{h=f;f=f+-1|0;j=c[a+8>>2]|0;c[j+(h<<2)>>2]=c[j+(f<<2)>>2]}while((f|0)>(d|0))}c[(c[a+8>>2]|0)+(d<<2)>>2]=b;c[a>>2]=e+1;i=g;return}function yv(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function zv(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){Vv(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function Av(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;Wv(a,4);return}function Bv(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function Cv(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){Xv(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function Dv(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){KL(d,229);YEa(d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0))}return}function Ev(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function Fv(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function Gv(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function Hv(a,b){a=a|0;b=b|0;if((b|0)!=(a|0)){if((c[a>>2]|0)>0)c[a>>2]=0;Yv(a,b)}return}function Iv(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)dl(a,4);else dl(a,b<<1);return}function Jv(a){a=a|0;var b=0;if(rl(a)|0)a=0;else{b=(kl(a)|0)<<16>>16;a=ba((ll(a)|0)<<16>>16,b)|0}return a|0}function Kv(b){b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;if(!b)$L(28672,30304,2,0,f);d=c[b>>2]|0;if(!d){$L(28664,30304,2,0,f);d=c[b>>2]|0}d=c[d>>2]|0;if((d|0)!=0?(e=c[b+8>>2]|0,(e|0)!=(d|0)):0)if((e|0)==0?(c[b+4>>2]|0)==(d|0):0)d=(a[b+16>>0]|0)!=0&1;else d=0;else d=1;i=f;return d|0}function Lv(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if(!b)$L(28672,30264,2,0,h);if(!(c[b>>2]|0))$L(28664,30264,2,0,h);if(!d)$L(28688,30264,2,319904,h);if(c[d+4>>2]|0)$L(28696,30264,2,0,h);f=c[b>>2]|0;g=c[f>>2]|0;if(!g){c[d+4>>2]=d;c[d>>2]=d;c[f>>2]=d;c[b+12>>2]=d;c[b+4>>2]=d;a[b+16>>0]=0;c[b+8>>2]=0}else{e=c[b+12>>2]|0;c[d+4>>2]=e;c[e>>2]=d;e=c[b+8>>2]|0;if(!e){g=c[b+4>>2]|0;c[d>>2]=g;c[g+4>>2]=d;if(a[b+16>>0]|0){c[f>>2]=d;a[b+16>>0]=0}}else{c[d>>2]=e;c[e+4>>2]=d;if((c[b+4>>2]|0)==(e|0))c[b+4>>2]=d;if((e|0)==(g|0))c[f>>2]=d}c[b+12>>2]=d}i=h;return}function Mv(b){b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;if(!b)$L(28672,30232,2,0,f);d=c[b>>2]|0;if(!d){$L(28664,30232,2,0,f);d=c[b>>2]|0}d=c[d>>2]|0;if((d|0)!=0?(e=c[b+8>>2]|0,(e|0)!=(c[d+4>>2]|0)):0)if((e|0)==0?(c[b+4>>2]|0)==(d|0):0)d=(a[b+16>>0]|0)==0&1;else d=0;else d=1;i=f;return d|0}function Nv(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if(!b)$L(28672,30192,2,0,g);if(!(c[b>>2]|0))$L(28664,30192,2,0,g);if(!d)$L(28688,30192,2,319904,g);if(c[d+4>>2]|0)$L(28696,30192,2,0,g);f=c[b>>2]|0;if(!(c[f>>2]|0)){c[d+4>>2]=d;c[d>>2]=d;c[f>>2]=d;c[b+12>>2]=d;c[b+4>>2]=d;a[b+16>>0]=1;c[b+8>>2]=0}else{e=c[b+4>>2]|0;c[e+4>>2]=d;c[d>>2]=e;e=c[b+8>>2]|0;if(!e){e=c[b+12>>2]|0;c[d+4>>2]=e;c[e>>2]=d;if(a[b+16>>0]|0)c[f>>2]=d}else{c[d+4>>2]=e;c[e>>2]=d;if((c[b+12>>2]|0)==(e|0))c[b+12>>2]=d}c[b+4>>2]=d}i=g;return}function Ov(b){b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;if(!b)$L(28672,30136,2,0,f);d=c[b>>2]|0;if(!d){$L(28664,30136,2,0,f);d=c[b>>2]|0}d=c[d>>2]|0;if((d|0)!=0?(e=c[b+8>>2]|0,(e|0)!=(d|0)):0)if((e|0)==0?(c[b+4>>2]|0)==(d|0):0)d=(a[b+16>>0]|0)!=0;else d=0;else d=1;i=f;return d|0}function Pv(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if(!b)$L(28672,30096,2,0,h);if(!(c[b>>2]|0))$L(28664,30096,2,0,h);if(!d)$L(28688,30096,2,319904,h);if(c[d>>2]|0)$L(28696,30096,2,0,h);f=c[b>>2]|0;g=c[f>>2]|0;if(!g){c[d>>2]=d;c[f>>2]=d;c[b+12>>2]=d;c[b+4>>2]=d;a[b+16>>0]=0;c[b+8>>2]=0}else{c[d>>2]=c[b+12>>2];e=c[b+8>>2]|0;if(!e){c[c[b+4>>2]>>2]=d;if(a[b+16>>0]|0){c[f>>2]=d;a[b+16>>0]=0}}else{c[e>>2]=d;if((c[b+4>>2]|0)==(e|0))c[b+4>>2]=d;if((e|0)==(g|0))c[f>>2]=d}c[b+12>>2]=d}i=h;return}function Qv(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if(!b)$L(28672,30056,2,0,g);if(!(c[b>>2]|0))$L(28664,30056,2,0,g);if(!d)$L(28688,30056,2,319904,g);if(c[d>>2]|0)$L(28696,30056,2,0,g);f=c[b>>2]|0;if(!(c[f>>2]|0)){c[d>>2]=d;c[f>>2]=d;c[b+12>>2]=d;c[b+4>>2]=d;a[b+16>>0]=1;c[b+8>>2]=0}else{c[c[b+4>>2]>>2]=d;e=c[b+8>>2]|0;if(!e){c[d>>2]=c[b+12>>2];if(a[b+16>>0]|0)c[f>>2]=d}else{c[d>>2]=e;if((c[b+12>>2]|0)==(e|0))c[b+12>>2]=d}c[b+4>>2]=d}i=g;return}function Rv(b,d){b=b|0;d=d|0;c[b+24>>2]=d;if((d|0)>0){d=d>>>0>1073741823?-1:d<<2;c[b+8>>2]=XEa(d)|0;c[b+12>>2]=XEa(d)|0;c[b+16>>2]=XEa(d)|0;d=XEa(d)|0}else{c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;d=0}c[b+20>>2]=d;c[b+28>>2]=0;g[b+32>>2]=1.0;g[b+36>>2]=0.0;g[b+40>>2]=3402823466385288598117041.0e14;g[b+44>>2]=0.0;g[b+48>>2]=3402823466385288598117041.0e14;a[b+52>>0]=0;a[b+53>>0]=0;a[b+54>>0]=0;return}function Sv(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=+e;f=+f;h=h|0;if((c[a+28>>2]|0)<=(h|0))Ja(32912,306312,463,32928);c[(c[a+8>>2]|0)+(h<<2)>>2]=b;c[(c[a+16>>2]|0)+(h<<2)>>2]=d;g[(c[a+20>>2]|0)+(h<<2)>>2]=f;c[(c[a+12>>2]|0)+(h<<2)>>2]=0;g[a+36>>2]=+g[a+36>>2]+e;if(+g[a+40>>2]>f)g[a+40>>2]=f;return}function Tv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function Uv(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)Tv(a,4);else Tv(a,b<<1);return}function Vv(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)il(a,4);else il(a,b<<1);return}function Wv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function Xv(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)Wv(a,4);else Wv(a,b<<1);return}function Yv(a,b){a=a|0;b=b|0;var d=0;il(a,(c[b>>2]|0)+(c[a>>2]|0)|0);if((c[b>>2]|0)>0){d=0;do{zv(a,c[(c[b+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0}while((d|0)<(c[b>>2]|0))}return}function Zv(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0;i=c[e>>2]|0;if((d|0)!=1){if(!(a[i+223>>0]|0))if((d|0)==2?(g[i+248>>2]=0.0,+g[i+244>>2]==0.0):0){g[i+244>>2]=+g[(c[e+4>>2]|0)+20>>2];h=9}else h=9}else{h=c[b+10288>>2]|0;if(!h)h=c[b+10280>>2]|0;_fa(i,b+184|0,b,h,c[b+5284>>2]|0,(a[b+2078>>0]|0)!=0,(a[b+9378>>0]|0)!=0,(a[b+9394>>0]|0)!=0,c[e+4>>2]|0,c[e+8>>2]|0)|0;h=9}if((h|0)==9?(Bw(e+16|0),f=c[b+12964>>2]|0,(f|0)>=0):0){j=0;while(1){if((j|0)<(f|0))f=c[(Xj(b+12964|0,j)|0)>>2]|0;else f=b;i=WEa(260)|0;Cw(i);Zfa(i,c[e>>2]|0);Dw(e+16|0,i);if(!((d|0)!=1?(c[f+5284>>2]|0)==1:0)){h=c[b+10288>>2]|0;if(!h)h=c[b+10280>>2]|0;_fa(i,f+184|0,f,h,c[f+5284>>2]|0,(a[f+2078>>0]|0)!=0,(a[f+9378>>0]|0)!=0,(a[f+9394>>0]|0)!=0,c[e+4>>2]|0,c[e+8>>2]|0)|0}f=c[b+12964>>2]|0;if((j|0)>=(f|0))break;else j=j+1|0}}return}function _v(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+48|0;m=(d|0)==1?13:14;l=(d|0)==1?0:0;Ew(q+12|0);n=c[f>>2]|0;o=Ta()|0;if((c[b+608>>2]|0)==0?(c[b+6604>>2]|0)==0:0)d=n+223|0;else{j=a[n+223>>0]|0;d=VM(c[(c[b+12984>>2]|0)+12>>2]|0)|0;c[q>>2]=j<<24>>24!=0?31696:31712;c[q+4>>2]=d;jN(31664,q);yla(q+32|0,c[n+4>>2]|0);jv(q+32|0);d=n+223|0}if(!(a[d>>0]|0)){g=c[b+12964>>2]|0;d=c[b+12984>>2]|0;if((d|0)!=(b|0))if((g|0)>0){j=0;while(1){g=j+1|0;if((d|0)==(c[(Xj(b+12964|0,j)|0)>>2]|0)){g=j;break}if((g|0)>=(c[b+12964>>2]|0))break;d=c[b+12984>>2]|0;j=g}d=c[b+12984>>2]|0}else g=0;else d=b;lw(d,f,m,l,Fw(f+16|0,g)|0,q+12|0)|0;d=c[b+12984>>2]|0;a:do if(!(Gw(q+12|0)|0)){if((c[b+12984>>2]|0)==(b|0))g=0;else{g=(lw(b,f,m,l,Fw(f+16|0,c[b+12964>>2]|0)|0,q+12|0)|0)>0;d=g?b:d;g=0}while(1){if(Gw(q+12|0)|0)break a;if((g|0)>=(c[b+12964>>2]|0))break a;j=c[b+12984>>2]|0;if((j|0)!=(c[(Xj(b+12964|0,g)|0)>>2]|0)?(j=c[(Xj(b+12964|0,g)|0)>>2]|0,(lw(j,f,m,l,Fw(f+16|0,g)|0,q+12|0)|0)>0):0)d=c[(Xj(b+12964|0,g)|0)>>2]|0;g=g+1|0}}while(0);c[b+12984>>2]=d;d=c[q+12>>2]|0;if(!d)jN(31768,q);else if((d|0)==1?(a[(c[(Fw(q+12|0,0)|0)>>2]|0)+256>>0]|0)==0:0){p=c[f>>2]|0;wga(p,c[(Fw(q+12|0,0)|0)>>2]|0);p=27}else p=26;if((p|0)==26){c[f>>2]=c[(Hw(q+12|0)|0)>>2];Xga(e,q+12|0);p=27}if((p|0)==27?(c[(c[f>>2]|0)+160>>2]|0)==0:0){c[q>>2]=30504;c[q+4>>2]=1345;$L(30400,31728,2,1702e3,q)}d=Ta()|0;if(a[b+5642>>0]|0){c[q>>2]=VM(c[(jk(c[n+140>>2]|0)|0)>>2]|0)|0;h[k>>3]=+(d-o|0)/1.0e6;c[q+4>>2]=c[k>>2];c[q+8>>2]=c[k+4>>2];jN(31792,q)}}else if(!(a[n+220>>0]|0))c[b+12984>>2]=c[n+204>>2];Aw(q+12|0);i=q;return}function $v(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+160|0;ak(f+36|0,d);_ga(f+36|0,0);d=c[f+52>>2]|0;if(d)do{zw(f,d,c[(c[f+56>>2]|0)+4>>2]|0,c[(c[f+60>>2]|0)+4>>2]|0);Iw(e,f);Aw(f+16|0);ck(f+36|0)|0;d=c[f+52>>2]|0}while((d|0)!=0);if((c[e>>2]|0)>0){d=0;do{Zv(a,b,Jw(e,d)|0);if((d|0)>0){g=Jw(e,d+-1|0)|0;c[(Jw(e,d)|0)+12>>2]=g}d=d+1|0}while((d|0)<(c[e>>2]|0))}i=f;return}function aw(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=i;i=i+32|0;_ga(g,0);a:do if((c[h>>2]|0)>0){j=0;while(1){n=Jw(h,j)|0;if((j|0)>0)c[n+12>>2]=Jw(h,j+-1|0)|0;if(f){a[f+5>>0]=1;if((e|0)==1)k=((j*50|0)/(c[h>>2]|0)|0)+30|0;else k=((j*10|0)/(c[h>>2]|0)|0)+80|0;b[f+2>>1]=k;if(Kw(f)|0)break;k=c[f+8>>2]|0;if((k|0)!=0?bd[k&63](c[f+12>>2]|0,c[h>>2]|0)|0:0)break}if((e|0)==1)k=((j*50|0)/(c[h>>2]|0)|0)+30|0;else k=((j*10|0)/(c[h>>2]|0)|0)+80|0;mc(30408,k|0)|0;if(a[(c[n>>2]|0)+220>>0]|0){k=c[n+16>>2]|0;b:do if((k|0)>0){m=0;while(1){q=(a[(c[(Fw(n+16|0,m)|0)>>2]|0)+220>>0]|0)==0;l=m+1|0;k=c[n+16>>2]|0;if(q){l=m;break b}if((l|0)<(k|0))m=l;else break}}else l=0;while(0);if((l|0)<=(k|0))o=23}else o=23;if((o|0)==23){o=0;k=c[g+16>>2]|0;c:do if(!k)o=26;else while(1){if((k|0)==(c[n>>2]|0))break c;ck(g)|0;k=c[g+16>>2]|0;if(!k){o=26;break}}while(0);if((o|0)==26){o=0;c[p>>2]=30504;c[p+4>>2]=258;$L(30400,30480,2,1702e3,p)}a[p+16>>0]=0;if(bw(d,e,g,p+16|0)|0)Zv(d,e,n);_v(d,e,g,n);if(!((a[d+5626>>0]|0)==0?(c[d+5844>>2]|0)==0:0)){m=VM(c[(jk(c[(c[n>>2]|0)+140>>2]|0)|0)>>2]|0)|0;Lw(p+12|0,c[(c[n>>2]|0)+140>>2]|0);q=c[p+12>>2]|0;n=VM(q)|0;c[p>>2]=e;c[p+4>>2]=m;c[p+8>>2]=n;jN(30528,p);RM(q)}ck(g)|0;if((a[p+16>>0]|0)!=0?(c[g+16>>2]|0)!=0:0)Zga(g)}j=j+1|0;if((j|0)>=(c[h>>2]|0)){j=1;break a}}if((j|0)<(c[h>>2]|0)){do{$fa(c[(Jw(h,j)|0)>>2]|0,d+184|0);j=j+1|0}while((j|0)<(c[h>>2]|0));j=0}else j=0}else j=1;while(0);i=p;return j|0}function bw(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+176|0;a[g>>0]=0;p=c[(c[f+16>>2]|0)+4>>2]|0;if(((c[p+24>>2]|0)!=0?(c[p+20>>2]|0)!=0:0)?(o=NL(p+24|0)|0,(o|0)<=(c[b+6052>>2]|0)):0){PL(p+24|0,22);Nw(q+76|0);Jla(p,q+76|0);Ow(q+36|0);Ow(q+96|0);Pw(q+136|0);mw(b,q+76|0,e,p,f,q+36|0,q+96|0,q+136|0);Ow(q+16|0);Pw(q+56|0);Nw(q+116|0);m=c[q+96>>2]|0;if((m|0)>0){h=c[q+76>>2]|0;n=c[q+84>>2]|0;l=0;k=0;j=0;do{if(a[(Qw(q+96|0,l)|0)>>0]|0){j=(d[(Qw(q+36|0,l)|0)>>0]|0)+j|0;Rw(q+16|0,(a[(Qw(q+36|0,l)|0)>>0]|0)!=0)|0;Tw(q+56|0,c[(Sw(q+136|0,l)|0)>>2]|0);Vw(q+116|0,c[(Uw(h,n,l)|0)>>2]|0);c[(Uw(h,n,l)|0)>>2]=0;k=k+1|0}l=l+1|0}while((l|0)<(m|0));o=k;n=j}else{o=0;n=0}Kla(p,q+16|0,q+56|0,q+116|0,0)|0;nw(b,q+76|0,e,p,f,q+36|0,q+136|0);j=c[q+36>>2]|0;if((j|0)>0){l=c[q+76>>2]|0;m=c[q+84>>2]|0;k=0;h=0;do{e=a[(Qw(q+36|0,k)|0)>>0]|0;h=(e&255)+h+((c[(Uw(l,m,k)|0)>>2]|0)!=0&1)|0;k=k+1|0}while((k|0)<(j|0))}else h=0;if(c[b+5844>>2]|0){c[q>>2]=n;c[q+4>>2]=o;c[q+8>>2]=h;c[q+12>>2]=0;jN(31160,q);yla(q+160|0,p);jv(q+160|0)}if(Kla(p,q+36|0,q+136|0,q+76|0,g)|0)Zga(f);Ww(q+116|0);Xw(q+56|0);Yw(q+16|0);Xw(q+136|0);Yw(q+96|0);Yw(q+36|0);Ww(q+76|0);h=(h|n|0)!=0}else h=0;i=q;return h|0}function cw(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;j=i;i=i+176|0;ak(j+44|0,e);if(a[d+6394>>0]|0){a[d+6410>>0]=1;a[d+8666>>0]=1}_ga(j+44|0,0);if((c[d+4084>>2]|0)<=0){if(a[(c[d+1964>>2]|0)+8>>0]|0)xpa(d)}else wpa(d);if((c[d+12964>>2]|0)>0){h=0;do{k=(c[(c[(Xj(d+12964|0,h)|0)>>2]|0)+4084>>2]|0)>0;g=c[(Xj(d+12964|0,h)|0)>>2]|0;if(!k){if(a[(c[g+1964>>2]|0)+8>>0]|0)xpa(c[(Xj(d+12964|0,h)|0)>>2]|0)}else wpa(g);h=h+1|0}while((h|0)<(c[d+12964>>2]|0))}Zw(j+24|0);$v(d,1,e,j+24|0);if(c[d+9556>>2]|0)ED(d,j+24|0);c[d+12948>>2]=c[j+24>>2];c[d+12952>>2]=0;b[d+12936>>1]=0;b[d+12938>>1]=0;b[d+12940>>1]=0;b[d+12942>>1]=0;b[d+12944>>1]=0;c[d+12984>>2]=d;do if(aw(d,1,f,j+44|0,j+24|0)|0){_ga(j+44|0,0);while(1){g=c[j+60>>2]|0;if(!g)break;if(!(b[(c[g+4>>2]|0)+10>>1]&512)){if((a[(c[g+140>>2]|0)+52>>0]|0)==10)c[d+12952>>2]=(c[d+12952>>2]|0)+1;g=c[g+152>>2]|0;if((g|0)!=0?(SM(g+100|0)|0)>0:0){OM(j+20|0,(c[(c[j+60>>2]|0)+152>>2]|0)+100|0);Wj(e+40|0,j+20|0);RM(c[j+20>>2]|0)}}else dw(g);ck(j+44|0)|0}_w(j+24|0);if(((c[d+6372>>2]|0)!=0?(a[d+6410>>0]|0)==0:0)?$w(d)|0:0){_ga(j+44|0,0);Zw(j);$v(d,2,e,j);if(c[d+9556>>2]|0)ED(d,j);c[d+12984>>2]=d;k=aw(d,2,f,j+44|0,j)|0;_w(j);if(!k){g=0;break}}if($w(d)|0){if((((a[d+6410>>0]|0)==0?(a[d+5658>>0]|0)!=0:0)?(a[d+8698>>0]|0)==0:0)?(a[d+12904>>0]|0)==0:0)jB(d,f,c[d+12948>>2]|0,e);if(a[d+5786>>0]|0)ew(d,e);if(a[d+5770>>0]|0)fw(d,e);gw(d,e,f);hw(d,e);iw(d,e);jw(e)}if(!((f|0)==0?(a[d+8410>>0]|0)==0:0))RC(d,j+44|0);_7(c[d+5260>>2]|0,e);_ga(j+44|0,0);g=c[j+60>>2]|0;if(g)do{k=c[g+140>>2]|0;if(!((k|0)!=0?(c[k+28>>2]|0)!=0:0))Yga(j+44|0);ck(j+44|0)|0;g=c[j+60>>2]|0}while((g|0)!=0);if(f)b[f+2>>1]=100;mc(30408,100)|0;g=1}else{_w(j+24|0);g=0}while(0);i=j;return g|0}function dw(b){b=b|0;var d=0,e=0,f=0,h=0,j=0,k=0,l=0,m=0,n=0;m=i;i=i+112|0;k=c[b+140>>2]|0;ax(m+56|0,c[k+28>>2]|0);if((c[k+28>>2]|0)>0){d=0;do{cx(m+56|0,bx(k,d)|0);d=d+1|0}while((d|0)<(c[k+28>>2]|0))}c[m+76>>2]=-1;h=dx(m+56|0,m+76|0)|0;d=c[m+76>>2]|0;e=c[b+140>>2]|0;do if((c[e+28>>2]|0)>0){f=0;j=0;do{e=sia(d,vga(c[b+136>>2]|0,c[e+16>>2]|0,j)|0)|0;do if(e){if((f|0)!=0?!(+g[e+32>>2]<+g[f+32>>2]):0)break;f=e}while(0);j=j+1|0;e=c[b+140>>2]|0}while((j|0)<(c[e+28>>2]|0));if(!f){d=c[m+76>>2]|0;l=12;break}a[b+223>>0]=1;pk(m+28|0,(c[b+4>>2]|0)+20|0);d=tk(m+28|0)|0;OL(m+28|0)|0;while(1){if(xk(m+28|0)|0)break;j=tk(m+28|0)|0;fla(m+96|0,j);fla(m+88|0,d);OL(m+28|0)|0;d=j}h=c[b+140>>2]|0;if((c[h+28>>2]|0)>0){j=f+4|0;e=h;d=0;do{n=c[j>>2]|0;if(!(sia(n,vga(c[b+136>>2]|0,c[e+16>>2]|0,d)|0)|0)){pk(m,vga(c[b+136>>2]|0,c[(c[b+140>>2]|0)+16>>2]|0,d)|0);n=WEa(72)|0;qia(n,f);Qv(m,n)}d=d+1|0;e=c[b+140>>2]|0}while((d|0)<(c[e+28>>2]|0));if((c[h+28>>2]|0)>0){d=0;do{n=bx(h,d)|0;e=c[j>>2]|0;if((n|0)!=(e|0))ex(h,e,d);d=d+1|0}while((d|0)<(c[h+28>>2]|0))}}Cja(b+212|0,c[k+28>>2]&65535)}else l=12;while(0);if((l|0)==12){QN(m+80|0,c[b+68>>2]|0,d);n=c[m+80>>2]|0;c[m>>2]=VM(n)|0;c[m+4>>2]=h;jN(32104,m);RM(n)}fx(m+56|0);i=m;return}function ew(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;h=i;i=i+160|0;ak(h+36|0,b);b=c[h+52>>2]|0;if(b)do{d=b+148|0;j=c[d>>2]|0;if(!((j|0)!=0?(j|0)==(c[j>>2]|0):0))g=5;a:do if(((g|0)==5?(g=0,e=c[b+140>>2]|0,f=b+204|0,(Gma((c[f>>2]|0)+2744|0,e,0)|0)==0):0)?(pk(h+8|0,d),rk(h+8|0),!(sk(h+8|0)|0)):0){while(1){d=tk(h+8|0)|0;if(Gma((c[f>>2]|0)+2744|0,d,0)|0)break;OL(h+8|0)|0;if(sk(h+8|0)|0)break a}if(c[a+5804>>2]|0){k=VM(c[(jk(e)|0)>>2]|0)|0;j=VM(c[(jk(d)|0)>>2]|0)|0;c[h>>2]=k;c[h+4>>2]=j;jN(32848,h)}xga(b,d)}while(0);b=ck(h+36|0)|0}while((b|0)!=0);i=h;return}function fw(d,e){d=d|0;e=e|0;var f=0,h=0.0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0.0,r=0;p=i;i=i+816|0;ak(p+588|0,e);n=c[p+604>>2]|0;while(1){a:do if(ck(p+588|0)|0)do{o=c[p+604>>2]|0;if((o|0)!=0?(a[o+257>>0]|0)==0:0)break a}while((ck(p+588|0)|0)!=0);while(0);o=c[p+604>>2]|0;if(!o)break;if(!n){n=o;continue}if((c[o+68>>2]|0)!=(c[n+68>>2]|0)){n=o;continue}if((b[(c[n+4>>2]|0)+10>>1]&512)==0?(b[(c[o+4>>2]|0)+10>>1]&512)==0:0){gx(p+68|0);gx(p+152|0);k=n+140|0;OM(p+64|0,jk(c[k>>2]|0)|0);OM(p+712|0,jk(c[o+140>>2]|0)|0);hx(p+88|0,c[o+68>>2]|0);Fia(c[k>>2]|0,p+584|0,p+404|0);Gia(p+176|0,c[k>>2]|0,c[p+584>>2]|0,c[p+404>>2]|0);Lia(p+88|0,p+176|0);wia(p+176|0);hx(p+240|0,c[o+68>>2]|0);Fia(c[o+140>>2]|0,p+304|0,p+308|0);Gia(p+312|0,c[o+140>>2]|0,c[p+304>>2]|0,c[p+308>>2]|0);Lia(p+240|0,p+312|0);wia(p+312|0);m=Hma((c[o+204>>2]|0)+2744|0,p+88|0,p+240|0)|0;f=c[d+5804>>2]|0;do if(m){if(f){m=VM(c[p+64>>2]|0)|0;n=VM(c[p+712>>2]|0)|0;c[p>>2]=m;c[p+4>>2]=n;jN(30608,p)}}else{if((f|0)>2){m=VM(c[p+64>>2]|0)|0;f=VM(c[p+712>>2]|0)|0;c[p>>2]=m;c[p+4>>2]=f;jN(30656,p);f=c[d+5804>>2]|0}do if((f|0)>1){m=c[n+148>>2]|0;if(!((m|0)!=0?(m|0)==(c[m>>2]|0):0))rga(n);m=c[o+148>>2]|0;if((m|0)!=0?(m|0)==(c[m>>2]|0):0)break;rga(o)}while(0);pk(p+376|0,n+148|0);rk(p+376|0);e=0;h=0.0;while(1){if(sk(p+376|0)|0)break;m=tk(p+376|0)|0;hx(p,c[o+68>>2]|0);Fia(m,p+580|0,p+576|0);Gia(p+408|0,m,c[p+580>>2]|0,c[p+576>>2]|0);Lia(p,p+408|0);wia(p+408|0);pk(p+472|0,o+148|0);rk(p+472|0);while(1){if(sk(p+472|0)|0)break;f=tk(p+472|0)|0;hx(p+504|0,c[o+68>>2]|0);Fia(f,p+568|0,p+572|0);Gia(p+720|0,f,c[p+568>>2]|0,c[p+572>>2]|0);Lia(p+504|0,p+720|0);wia(p+720|0);if(Hma((c[o+204>>2]|0)+2744|0,p,p+504|0)|0){ix(p+68|0,m);ix(p+152|0,f);l=c[p+68>>2]|0;q=+g[m+36>>2]+ +g[f+36>>2];j=(l|0)==1|q>2]|0;if((m|0)>0){k=c[k>>2]|0;j=c[p+76>>2]|0;if(Uia(k,c[(jx(m,j,e)|0)>>2]|0)|0?(k=c[o+140>>2]|0,Uia(k,c[(jx(c[p+152>>2]|0,c[p+160>>2]|0,e)|0)>>2]|0)|0):0){if((c[d+5804>>2]|0)<=1)break;m=VM(c[p+64>>2]|0)|0;n=VM(c[p+712>>2]|0)|0;c[p>>2]=m;c[p+4>>2]=n;jN(30696,p);break}OM(p+784|0,jk(c[(jx(m,j,e)|0)>>2]|0)|0);k=c[p+152>>2]|0;l=c[p+160>>2]|0;OM(p+788|0,jk(c[(jx(k,l,e)|0)>>2]|0)|0);if((_M(p+784|0,p+64|0)|0)<<24>>24)xga(n,c[(jx(m,j,e)|0)>>2]|0);if((_M(p+788|0,p+712|0)|0)<<24>>24)xga(o,c[(jx(k,l,e)|0)>>2]|0);if((c[d+5804>>2]|0)>0){NM(p+792|0);f=ba(k,m)|0;do if((f|0)==1)fN(p+792|0,30760);else{if((c[d+5804>>2]|0)<=1){cN(p+792|0,30840,f);dN(p+792|0,30856);break}NM(p+796|0);f=0;do{if((f|0)>0)dN(p+796|0,1701792);e=c[(jx(m,j,f)|0)>>2]|0;n=c[(jx(k,l,f)|0)>>2]|0;e=jk(e)|0;PM(p+808|0,1701816);gN(p+804|0,e,p+808|0);gN(p+800|0,p+804|0,jk(n)|0);bN(p+796|0,p+800|0);RM(c[p+800>>2]|0);RM(c[p+804>>2]|0);RM(c[p+808>>2]|0);f=f+1|0}while((f|0)<(m|0)&(f|0)<20);fN(p+792|0,30800);bN(p+792|0,p+796|0);dN(p+792|0,30832);RM(c[p+796>>2]|0)}while(0);r=VM(c[p+64>>2]|0)|0;l=VM(c[p+712>>2]|0)|0;e=c[p+784>>2]|0;j=VM(e)|0;f=c[p+788>>2]|0;k=VM(f)|0;n=c[p+792>>2]|0;m=VM(n)|0;c[p>>2]=r;c[p+4>>2]=l;c[p+8>>2]=j;c[p+12>>2]=k;c[p+16>>2]=m;jN(30880,p);RM(n)}else{e=c[p+784>>2]|0;f=c[p+788>>2]|0}RM(f);RM(e)}}while(0);wia(p+240|0);wia(p+88|0);RM(c[p+712>>2]|0);RM(c[p+64>>2]|0);kx(p+152|0);kx(p+68|0);n=o;continue}if(!(c[d+5804>>2]|0)){n=o;continue}jN(30552,p);n=o}i=p;return}function gw(d,f,g){d=d|0;f=f|0;g=g|0;var j=0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=i;i=i+192|0;ak(r+64|0,f);a:do if(!(a[d+6410>>0]|0)){p=0;do{q=c[r+80>>2]|0;if(!q)break a;p=p+1|0;if(!g){m=p*5|0;j=c[d+12948>>2]|0}else{a[g+5>>0]=1;m=p*5|0;j=c[d+12948>>2]|0;b[g+2>>1]=((m|0)/(j|0)|0)+95}mc(30408,((m|0)/(j|0)|0)+95|0)|0;if(!(c[q+156>>2]|0))ck(r+64|0)|0;else{kw(d,q,70)|0;dha(r+64|0);m=b[q+216>>1]|0;j=(lx(q+212|0)|0)&65535;n=Cy(q)|0;b[d+12936>>1]=(e[d+12936>>1]|0)+(n&65535);o=Dy(d,q)|0;b[d+12938>>1]=(e[d+12938>>1]|0)+(o&65535);Fy(q,r+190|0,r+188|0);b[d+12940>>1]=(e[d+12940>>1]|0)+(e[r+190>>1]|0);s=a[(c[q+140>>2]|0)+52>>0]|0;if(s<<24>>24==10|s<<24>>24==11|s<<24>>24==8){b[d+12942>>1]=(m&65535)-j+(e[d+12942>>1]|0);b[d+12944>>1]=(e[d+12944>>1]|0)+(e[r+188>>1]|0)}kw(d,q,80)|0;if(!(n<<16>>16!=0|(a[d+7026>>0]|0)==0|o<<16>>16>16))Mja(q+212|0);kw(d,q,90)|0;ck(r+64|0)|0}}while((a[d+6410>>0]|0)==0)}while(0);if(!(a[d+7058>>0]|0)){j=f;m=f+4|0}else{n=c[f>>2]|0;j=c[f+4>>2]|0;p=b[d+12936>>1]|0;g=b[d+12938>>1]|0;q=b[d+12940>>1]|0;o=b[d+12944>>1]|0;m=b[d+12942>>1]|0;if(m<<16>>16>0)l=+(o<<16>>16)/+(m<<16>>16);else l=0.0;c[r>>2]=n;c[r+4>>2]=j;h[k>>3]=+(j|0)/+(n|0);c[r+8>>2]=c[k>>2];c[r+12>>2]=c[k+4>>2];c[r+16>>2]=p<<16>>16;h[k>>3]=+(p<<16>>16)/+(n|0);c[r+20>>2]=c[k>>2];c[r+24>>2]=c[k+4>>2];c[r+28>>2]=g<<16>>16;h[k>>3]=+(g<<16>>16)/+(n|0);c[r+32>>2]=c[k>>2];c[r+36>>2]=c[k+4>>2];c[r+40>>2]=q<<16>>16;h[k>>3]=+(q<<16>>16)/+(n|0);c[r+44>>2]=c[k>>2];c[r+48>>2]=c[k+4>>2];c[r+52>>2]=o<<16>>16;h[k>>3]=l;c[r+56>>2]=c[k>>2];c[r+60>>2]=c[k+4>>2];jN(30936,r);j=f;m=f+4|0}l=+(c[j>>2]|0);if((+(c[m>>2]|0)/l<=+h[d+6192>>3]?+(b[d+12936>>1]|0)/l>=+h[d+6232>>3]:0)?+(b[d+12938>>1]|0)/l<=+h[d+6272>>3]:0)j=+(b[d+12940>>1]|0)/l>=+h[d+6312>>3]&1;else j=0;if(!(a[d+6410>>0]|0))Hy(d,r+64|0,j);i=r;return}function hw(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+160|0;ak(h+24|0,d);Aka(h+8|0,0,c[b+12988>>2]|0);_ga(h+24|0,0);while(1){e=c[h+40>>2]|0;if(!e)break;d=c[e+228>>2]|0;if(d)Fka(h+8|0,c[d+8>>2]|0,a[e+236>>0]|0);b=c[e+232>>2]|0;if(b)Fka(h+8|0,c[b+8>>2]|0,a[e+237>>0]|0);ck(h+24|0)|0}a:do if((c[h+16>>2]|0)>0?(g=(Gka(h+8|0)|0)<<16>>16,e=mx(h+8|0,g)|0,e=(e|0)<127?e&255:127,Fka(h+8|0,g,0-(e<<24>>24)|0),e<<24>>24!=0):0){_ga(h+24|0,0);while(1){d=c[h+40>>2]|0;if(!d){f=17;break}b=c[d+228>>2]|0;if((b|0)!=0?(c[b+8>>2]|0)==(g|0):0)break;b=c[d+232>>2]|0;if((b|0)!=0?(c[b+8>>2]|0)==(g|0):0)break;ck(h+24|0)|0}if((f|0)==17){c[h>>2]=30504;c[h+4>>2]=2012;$L(30400,32824,2,1702e3,h);b=0}_ga(h+24|0,0);e=b+4|0;while(1){d=c[h+40>>2]|0;if(!d)break a;f=c[(c[d+140>>2]|0)+28>>2]|0;g=a[d+236>>0]|0;do if((g|0)!=(f|0)){if((f|0)>3?(g|0)>=((f*3|0)/4|0|0):0)break;c[d+228>>2]=b;a[d+236>>0]=1;g=c[e>>2]|0;a[d+226>>0]=((g&1)<<1&255)+-1<<24>>24;a[d+227>>0]=(g&2)+-1<<24>>24}while(0);ck(h+24|0)|0}}while(0);Eka(h+8|0);i=h;return}function iw(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=i;i=i+144|0;if(a[b+4994>>0]|0){ak(f+8|0,d);_ga(f+8|0,0);e=c[f+24>>2]|0;if(!e)e=d+20|0;else{do{waa((a[b+4978>>0]|0)!=0,e);g=Ik(d+20|0,c[(c[e+152>>2]|0)+92>>2]|0)|0;c[g>>2]=(c[g>>2]|0)+1;ck(f+8|0)|0;e=c[f+24>>2]|0}while((e|0)!=0);e=d+20|0}jN(31064,f);b=0;do{h=iaa(b)|0;g=c[(Ik(e,b)|0)>>2]|0;c[f>>2]=h;c[f+4>>2]=g;jN(321272,f);b=b+1|0}while((b|0)!=12);if((c[d+40>>2]|0)>0?(jN(31080,f),(c[d+40>>2]|0)>0):0){e=0;do{c[f>>2]=VM(c[(fk(d+40|0,e)|0)>>2]|0)|0;jN(1701528,f);e=e+1|0}while((e|0)<(c[d+40>>2]|0))}}i=f;return}function jw(d){d=d|0;var e=0,f=0.0,h=0.0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+128|0;ak(q,d);_ga(q,0);d=c[q+16>>2]|0;if(d)do{if(!(b[(c[d+4>>2]|0)+10>>1]&512)){h=+g[d+244>>2];p=d+140|0;e=c[p>>2]|0;j=+g[e+44>>2];f=+g[e+48>>2];if(hf)h=(j+f)*.5;j=+(c[(c[(c[q+24>>2]|0)+4>>2]|0)+40>>2]|0);o=d+68|0;k=c[o>>2]|0;if(((a[k+34>>0]|0)!=0?(h,!(j*.6666666666666666-(j-j*.6666666666666666)*.5<=h?!(h<=j*.6666666666666666+(j-j*.6666666666666666)*.5):1)):0)?(c[e+28>>2]|0)>0:0){l=0;m=0;n=0;while(1){if(nx(k,bx(e,l)|0)|0)n=n+1|0;else{e=c[o>>2]|0;m=((ox(e,bx(c[p>>2]|0,l)|0)|0)&1)+m|0}l=l+1|0;e=c[p>>2]|0;if((l|0)>=(c[e+28>>2]|0))break;k=c[o>>2]|0}if((n|0)>0&(m|0)==0)a[d+224>>0]=1}Aga(c[d+72>>2]|0,e,a[d+224>>0]|0)}else ck(q)|0;ck(q)|0;d=c[q+16>>2]|0}while((d|0)!=0);i=q;return}function kw(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;if((a[b+6466>>0]|0)!=0?(a[b+8770>>0]=0,c[b+6076>>2]=0,yla(f+8|0,c[d+4>>2]|0),px(f+8|0,+h[b+6488>>3],+h[b+6528>>3])|0):0)if((e|0)<0)b=1;else{a[b+8770>>0]=1;c[b+6076>>2]=2;jN(32160,f);do switch(e|0){case 80:{jN(32400,f);e=0;break}case 110:{jN(32488,f);e=0;break}case 20:{jN(32240,f);e=0;break}case 50:{jN(32336,f);e=1;break}case 30:{jN(32272,f);e=0;break}case 120:{jN(32520,f);e=1;break}case 100:{jN(32448,f);e=0;break}case 40:{jN(32304,f);e=0;break}case 10:{jN(32208,f);e=0;break}case 0:{jN(32176,f);Dla(c[d+4>>2]|0);e=0;break}case 90:{jN(32416,f);e=0;break}case 60:{jN(32368,f);e=0;break}case 70:{jN(32384,f);e=0;break}default:e=0}while(0);b=c[d+140>>2]|0;if(b){c[f>>2]=VM(c[(jk(b)|0)>>2]|0)|0;jN(32544,f);Gja(d+212|0,c[14658]|0);jN(1714256,f);if(e<<24>>24!=0?(c[f>>2]=VM(c[(jk(c[d+140>>2]|0)|0)>>2]|0)|0,jN(32552,f),(a[(XM(c[(jk(c[d+140>>2]|0)|0)>>2]|0,0)|0)>>0]|0)!=0):0){b=0;e=0;do{c[f>>2]=a[(XM(c[(jk(c[d+140>>2]|0)|0)>>2]|0,b)|0)>>0];jN(32560,f);g=kk(d+212|0,e)|0;Aja(g,c[14658]|0);e=e+1<<16>>16;b=e<<16>>16}while((a[(XM(c[(jk(c[d+140>>2]|0)|0)>>2]|0,b)|0)>>0]|0)!=0)}}else jN(32576,f);c[f>>2]=(a[d+221>>0]|0)!=0?366296:357560;jN(32600,f);c[f>>2]=(a[d+223>>0]|0)!=0?366296:357560;jN(32624,f);b=1}else b=0;i=f;return b|0}function lw(b,e,f,j,l,m){b=b|0;e=e|0;f=f|0;j=j|0;l=l|0;m=m|0;var n=0,o=0.0,p=0.0,q=0,r=0,s=0,t=0,u=0.0,v=0.0,w=0,x=0,y=0,z=0.0,A=0.0;y=i;i=i+128|0;if((c[b+608>>2]|0)==0?(c[b+6604>>2]|0)==0:0)w=0;else{s=VM(c[b+12>>2]|0)|0;w=c[b+5284>>2]|0;c[y>>2]=s;c[y+4>>2]=w;jN(31104,y);w=1}Ew(y+104|0);if(j&1)f=c[(c[b+(j>>1)>>2]|0)+f>>2]|0;id[f&15](b+(j>>1)|0,e,l,y+104|0);n=c[y+104>>2]|0;if(!n){Dw(y+104|0,c[l>>2]|0);c[l>>2]=0;n=c[y+104>>2]|0}if(w&(n|0)>0){n=0;do{oga(c[(Fw(y+104|0,n)|0)>>2]|0);n=n+1|0}while((n|0)<(c[y+104>>2]|0))}v=+h[b+864>>3];u=+h[b+904>>3];Ew(y+60|0);f=c[m>>2]|0;j=c[y+104>>2]|0;if((f|0)>0|(j|0)>0){l=f;e=j;s=0;t=0;f=0;j=0;do{g[y+92>>2]=0.0;g[y+56>>2]=0.0;g[y+96>>2]=0.0;g[y+100>>2]=0.0;a[y+124>>0]=0;a[y+125>>0]=0;a[y+126>>0]=1;a[y+127>>0]=1;a:do if((s|0)<(l|0)|(t|0)<(e|0)){l=s;r=t;while(1){while(1){c[y+52>>2]=-2147483647;c[y+84>>2]=2147483647;qx(m,l,y+92|0,y+96|0,y+124|0,y+126|0,y+52|0,y+84|0);c[y+80>>2]=-2147483647;c[y+88>>2]=2147483647;qx(y+104|0,r,y+56|0,y+100|0,y+125|0,y+127|0,y+80|0,y+88|0);e=c[y+52>>2]|0;n=c[y+80>>2]|0;b=c[y+84>>2]|0;q=c[y+88>>2]|0;if((((e|0)>=(n|0)?e:n)|0)<(((b|0)<=(q|0)?b:q)|0)){e=l;n=r;break a}if((e|0)<(n|0)){e=c[m>>2]|0;b=c[y+104>>2]|0;if(!((l|0)<(e|0)|(r|0)==(b|0)))break}else{b=c[y+104>>2]|0;e=c[m>>2]|0;if((r|0)==(b|0))b=r;else break}l=l+1|0;if(!((l|0)<(e|0)|(r|0)<(b|0))){e=l;n=r;break a}}n=r+1|0;if((l|0)<(e|0)|(n|0)<(b|0))r=n;else{e=l;break}}}else{e=s;n=t}while(0);l=(a[y+124>>0]|0)==0;b:do if(!(a[y+125>>0]|0)){do if(l){o=+g[y+100>>2];p=+g[y+96>>2];if(o>p?+g[y+56>>2]<+g[y+92>>2]:0)break;if((!((a[y+126>>0]|0)!=0|(a[y+127>>0]|0)==0)?+g[y+56>>2]>2]:0)?o>p-u:0)break;if((s|0)>(e|0)){r=33032;break b}else{b=s;x=31;break b}}while(0);if((t|0)>(n|0))r=33024;else{b=t;while(1){Dw(y+60|0,c[(Fw(y+104|0,b)|0)>>2]|0);c[(Fw(y+104|0,b)|0)>>2]=0;j=j+1|0;if((b|0)<(n|0))b=b+1|0;else{r=33024;break}}}}else if((s|0)>(e|0)|l^1)r=33032;else{b=s;x=31}while(0);if((x|0)==31)while(1){x=0;Dw(y+60|0,c[(Fw(m,b)|0)>>2]|0);c[(Fw(m,b)|0)>>2]=0;f=f+1|0;if((b|0)<(e|0)){b=b+1|0;x=31}else{r=33032;break}}l=c[m>>2]|0;q=s;s=((e|0)<(l|0)&1)+e|0;e=c[y+104>>2]|0;b=t;t=((n|0)<(e|0)&1)+n|0;if(w){A=+g[y+56>>2];z=+g[y+92>>2];o=+g[y+100>>2];p=+g[y+96>>2];e=d[y+127>>0]|0;l=d[y+126>>0]|0;c[y>>2]=t-b;c[y+4>>2]=r;c[y+8>>2]=s-q;h[k>>3]=A;c[y+12>>2]=c[k>>2];c[y+16>>2]=c[k+4>>2];h[k>>3]=z;c[y+20>>2]=c[k>>2];c[y+24>>2]=c[k+4>>2];h[k>>3]=o;c[y+28>>2]=c[k>>2];c[y+32>>2]=c[k+4>>2];h[k>>3]=p;c[y+36>>2]=c[k>>2];c[y+40>>2]=c[k+4>>2];c[y+44>>2]=e;c[y+48>>2]=l;jN(32944,y);l=c[m>>2]|0;e=c[y+104>>2]|0}}while((s|0)<(l|0)|(t|0)<(e|0))}else{f=0;j=0}sx(m);n=c[y+60>>2]|0;if((n|0)>0){e=0;do{Dw(m,c[(Fw(y+60|0,e)|0)>>2]|0);e=e+1|0}while((e|0)<(n|0))}rx(y+60|0);Aw(y+104|0);i=y;return j-f|0}function mw(b,d,e,f,g,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;p=i;i=i+64|0;Ow(p+32|0);tx(j,c[d>>2]|0);tx(k,c[d>>2]|0);ux(l,c[d>>2]|0);pk(p+4|0,f+20|0);rk(p+4|0);while(1){if(sk(p+4|0)|0)break;o=tk(p+4|0)|0;fla(p+56|0,o);tx(p+32|0,c[d>>2]|0);m=c[d>>2]|0;if((m|0)>0){n=0;f=0;do{if(vx(p+56|0,(c[(Uw(m,c[d+8>>2]|0,n)|0)>>2]|0)+4|0)|0?(a[(Qw(j,n)|0)>>0]|0)==0:0){a[(Qw(p+32|0,n)|0)>>0]=1;a[(Qw(k,n)|0)>>0]=1;f=f+1|0}n=n+1|0;m=c[d>>2]|0}while((n|0)<(m|0))}else f=0;if(c[b+5844>>2]|0){c[p>>2]=f;jN(31224,p);jv(p+56|0)}if(((f|0)>0?(f|0)<(c[b+6028>>2]|0):0)?(n=ow(b,e,+h[b+5872>>3],g,o,d,f,p+32|0)|0,n&(c[p+32>>2]|0)>0):0){f=0;do{if(a[(Qw(p+32|0,f)|0)>>0]|0){a[(Qw(j,f)|0)>>0]=1;c[(Sw(l,f)|0)>>2]=o}f=f+1|0}while((f|0)<(c[p+32>>2]|0))}OL(p+4|0)|0}Yw(p+32|0);i=p;return}function nw(d,f,g,j,k,l,m){d=d|0;f=f|0;g=g|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+96|0;Ow(x+12|0);tx(l,c[f>>2]|0);ux(m,c[f>>2]|0);o=c[f>>2]|0;if((o|0)>0){n=0;do{a:do if(c[(Uw(o,c[f+8>>2]|0,n)|0)>>2]|0){tx(x+12|0,c[f>>2]|0);u=(c[(Uw(c[f>>2]|0,c[f+8>>2]|0,n)|0)>>2]|0)+4|0;o=e[u+4>>1]|e[u+6>>1]<<16;c[x>>2]=e[u>>1]|e[u+2>>1]<<16;c[x+4>>2]=o;o=c[f>>2]|0;b:do if((n|0)<(o|0)){p=0;do{if(!(c[(Uw(o,c[f+8>>2]|0,n)|0)>>2]|0))break b;a[(Qw(x+12|0,n)|0)>>0]=1;bja(x,(c[(Uw(c[f>>2]|0,c[f+8>>2]|0,n)|0)>>2]|0)+4|0);n=n+1|0;p=p+1|0;o=c[f>>2]|0}while((n|0)<(o|0))}else p=0;while(0);pk(x+32|0,j+20|0);o=b[x>>1]|0;while(1){if(Ov(x+32|0)|0)break;fla(x+80|0,RL(x+32|0,1)|0);if((b[x+80>>1]|0)>o<<16>>16)break;OL(x+32|0)|0}if(c[d+5844>>2]|0){c[x+8>>2]=p;jN(31264,x+8|0)}t=tk(x+32|0)|0;fla(x+72|0,t);if(Ov(x+32|0)|0)u=0;else u=RL(x+32|0,1)|0;q=o<<16>>16>(b[x+76>>1]|0);if(q)s=0;else s=(b[x+4>>1]|0)>=(b[x+72>>1]|0);r=(u|0)==0;if(!((!(s|r)?(fla(x+64|0,u),o<<16>>16<=(b[x+68>>1]|0)):0)?(b[x+4>>1]|0)>=(b[x+64>>1]|0):0))w=20;if((w|0)==20?(w=0,ow(d,g,+h[d+5912>>3],k,t,f,p,x+12|0)|0):0){if(c[d+5844>>2]|0)jN(31296,x+8|0);if((c[x+12>>2]|0)>0)o=0;else break;while(1){if(a[(Qw(x+12|0,o)|0)>>0]|0){a[(Qw(l,o)|0)>>0]=1;c[(Sw(m,o)|0)>>2]=t}o=o+1|0;if((o|0)>=(c[x+12>>2]|0))break a}}do if(!r){if((!q?(v=b[x+4>>1]|0,v<<16>>16>=(b[x+72>>1]|0)):0)?(fla(x+88|0,u),o<<16>>16>(b[x+92>>1]|0)?1:v<<16>>16<(b[x+88>>1]|0)):0)break;if(ow(d,g,+h[d+5912>>3],k,u,f,p,x+12|0)|0){if(c[d+5844>>2]|0)jN(31320,x+8|0);if((c[x+12>>2]|0)>0)o=0;else break a;while(1){if(a[(Qw(x+12|0,o)|0)>>0]|0){a[(Qw(l,o)|0)>>0]=1;c[(Sw(m,o)|0)>>2]=u}o=o+1|0;if((o|0)>=(c[x+12>>2]|0))break a}}}while(0);if(ow(d,g,+h[d+5952>>3],k,0,f,p,x+12|0)|0){if(c[d+5844>>2]|0)jN(31344,x+8|0);if((c[x+12>>2]|0)>0){o=0;do{if(a[(Qw(x+12|0,o)|0)>>0]|0){a[(Qw(l,o)|0)>>0]=1;c[(Sw(m,o)|0)>>2]=0}o=o+1|0}while((o|0)<(c[x+12>>2]|0))}}}while(0);n=n+1|0;o=c[f>>2]|0}while((n|0)<(o|0))}Yw(x+12|0);i=x;return}function ow(e,f,j,l,m,n,o,p){e=e|0;f=f|0;j=+j;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;var q=0,r=0.0,s=0.0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+112|0;NM(x+48|0);if(m){s=+pw(e,f,l,m,x+48|0,x+44|0);if(!(c[e+5844>>2]|0))r=s;else{w=VM(c[x+48>>2]|0)|0;r=+g[x+44>>2];c[x>>2]=w;h[k>>3]=s;c[x+4>>2]=c[k>>2];c[x+8>>2]=c[k+4>>2];h[k>>3]=r;c[x+12>>2]=c[k>>2];c[x+16>>2]=c[k+4>>2];jN(31368,x);fla(x+88|0,m);jv(x+88|0);r=s}j=r-(s-j)*+h[e+5992>>3]}wx(x+20|0,p);NM(x+72|0);wx(x+52|0,p);s=+qw(e,x+20|0,n,f,l,m,x+72|0);if(c[e+5844>>2]|0){b[x+96>>1]=32767;b[x+98>>1]=32767;b[x+100>>1]=-32767;b[x+102>>1]=-32767;if((c[x+20>>2]|0)>0){q=0;do{if(a[(Qw(x+20|0,q)|0)>>0]|0)bja(x+96|0,(c[(Uw(c[n>>2]|0,c[n+8>>2]|0,q)|0)>>2]|0)+4|0);q=q+1|0}while((q|0)<(c[x+20>>2]|0))}c[x>>2]=VM(c[x+72>>2]|0)|0;h[k>>3]=s;c[x+4>>2]=c[k>>2];c[x+8>>2]=c[k+4>>2];h[k>>3]=s-j;c[x+12>>2]=c[k>>2];c[x+16>>2]=c[k+4>>2];jN(31416,x);jv(x+96|0)}w=o;o=0;a:while(1){v=(w|0)>1;q=c[n>>2]|0;do{u=(m|0)==0|(s0;q=o;while(1){if(v&(q|0)>-1^1|u^1)break a;if(t){r=s;o=-1;u=0;break}else q=-1}while(1){if(!(a[(Qw(x+20|0,u)|0)>>0]|0))s=r;else{a[(Qw(x+20|0,u)|0)>>0]=0;NM(x+40|0);s=+qw(e,x+20|0,n,f,l,m,x+40|0);if(c[e+5844>>2]|0){b[x+80>>1]=32767;b[x+82>>1]=32767;b[x+84>>1]=-32767;b[x+86>>1]=-32767;if((c[n>>2]|0)>0){t=0;do{if(a[(Qw(x+20|0,t)|0)>>0]|0)bja(x+80|0,(c[(Uw(c[n>>2]|0,c[n+8>>2]|0,t)|0)>>2]|0)+4|0);c[x>>2]=d[(Qw(x+20|0,t)|0)>>0];jN(383336,x);t=t+1|0}while((t|0)<(c[n>>2]|0))}c[x>>2]=VM(c[x+40>>2]|0)|0;h[k>>3]=s;c[x+4>>2]=c[k>>2];c[x+8>>2]=c[k+4>>2];h[k>>3]=s-j;c[x+12>>2]=c[k>>2];c[x+16>>2]=c[k+4>>2];jN(31472,x);jv(x+80|0)}if(s>r){xx(x+52|0,x+20|0);o=u}else s=r;a[(Qw(x+20|0,u)|0)>>0]=1;RM(c[x+40>>2]|0)}u=u+1|0;q=c[n>>2]|0;if((u|0)>=(q|0))break;else r=s}}while((o|0)<=-1);a[(Qw(x+20|0,o)|0)>>0]=0;w=w+-1|0}if(s>=j){xx(p,x+52|0);if(!(c[e+5844>>2]|0))q=1;else{c[x>>2]=(m|0)!=0?31544:305200;jN(31520,x);if((c[x+52>>2]|0)>0){q=0;do{c[x>>2]=d[(Qw(x+52|0,q)|0)>>0];jN(383336,x);q=q+1|0}while((q|0)<(c[x+52>>2]|0))}h[k>>3]=s;c[x>>2]=c[k>>2];c[x+4>>2]=c[k+4>>2];h[k>>3]=j;c[x+8>>2]=c[k>>2];c[x+12>>2]=c[k+4>>2];jN(31552,x);q=1}}else q=0;Yw(x+52|0);RM(c[x+72>>2]|0);Yw(x+20|0);RM(c[x+48>>2]|0);i=x;return q|0}function pw(a,b,d,f,j,l){a=a|0;b=b|0;d=d|0;f=f|0;j=j|0;l=l|0;var m=0.0,n=0.0,o=0,p=0,q=0,r=0.0;p=i;i=i+192|0;q=c[(c[d+16>>2]|0)+4>>2]|0;o=e[q+10>>1]|0;o=xla(q,(o&8|0)!=0,(o&16|0)!=0,yx(f)|0)|0;o=Vga(d,c[d+16>>2]|0,o)|0;ak(p+68|0,c[d>>2]|0);f=c[p+84>>2]|0;if(!((f|0)==(o|0)|(f|0)==0))do{ck(p+68|0)|0;f=c[p+84>>2]|0}while(!((f|0)==(o|0)|(f|0)==0));if((f|0)!=(o|0)){c[p>>2]=30504;c[p+4>>2]=1260;$L(30400,31600,2,1702e3,p);f=c[p+84>>2]|0}zw(p+32|0,f,c[(c[p+88>>2]|0)+4>>2]|0,c[(c[p+92>>2]|0)+4>>2]|0);Zv(a,1,p+32|0);_v(a,b,p+68|0,p+32|0);if(!(c[a+5844>>2]|0))f=p+32|0;else{r=+g[(c[p+36>>2]|0)+20>>2];f=c[(c[p+32>>2]|0)+144>>2]|0;m=+g[f+44>>2];n=+g[f+48>>2];h[k>>3]=+g[o+244>>2];c[p>>2]=c[k>>2];c[p+4>>2]=c[k+4>>2];h[k>>3]=r;c[p+8>>2]=c[k>>2];c[p+12>>2]=c[k+4>>2];h[k>>3]=m;c[p+16>>2]=c[k>>2];c[p+20>>2]=c[k+4>>2];h[k>>3]=n;c[p+24>>2]=c[k>>2];c[p+28>>2]=c[k+4>>2];jN(31624,p);f=p+32|0}f=c[(c[f>>2]|0)+144>>2]|0;n=+g[f+40>>2];m=+g[f+36>>2];if(m>0.0)m=n*n/m;else m=0.0;g[l>>2]=m;aN(j,jk(f)|0);Yga(p+68|0);Wga(d);Aw(p+48|0);i=p;return +n}function qw(b,d,e,f,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;var l=0.0,m=0,n=0,o=0;o=i;i=i+32|0;c[o+4>>2]=0;if(!j)n=0;else{pk(o+4|0,j+4|0);n=tk(o+4|0)|0}if((c[d>>2]|0)>0){m=0;do{do if(a[(Qw(d,m)|0)>>0]|0)if(!j){j=WEa(8)|0;cla(j,c[(Uw(c[e>>2]|0,c[e+8>>2]|0,m)|0)>>2]|0);pk(o+4|0,j+4|0);break}else{Qv(o+4|0,c[(Uw(c[e>>2]|0,c[e+8>>2]|0,m)|0)>>2]|0);break}while(0);m=m+1|0}while((m|0)<(c[d>>2]|0))}l=+pw(b,f,h,j,k,o);qk(o+4|0);if(n){if((tk(o+4|0)|0)!=(n|0))do{pv(o+4|0)|0;OL(o+4|0)|0}while((tk(o+4|0)|0)!=(n|0))}else{if(!(vk(o+4|0)|0))do{pv(o+4|0)|0;OL(o+4|0)|0}while(!(vk(o+4|0)|0));if(j){KL(j+4|0,230);YEa(j)}l=-+g[o>>2]}i=o;return +l}function rw(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0;g=c[e+12>>2]|0;if(!g)g=0;else g=c[(c[g>>2]|0)+140>>2]|0;c[d+5136>>2]=g;g=c[f>>2]|0;tw(d,1,g);if((a[g+220>>0]|0)==0?(b[(c[g+4>>2]|0)+10>>1]&512)==0:0){a[g+222>>0]=(Cpa(d,g)|0)&1;if((Tu(d,g,c[d+6372>>2]&65535)|0)<<24>>24!=0?(Fga(g),ppa(d,0,g),h=c[g+152>>2]|0,(h|0)!=0):0)xaa(h,c[g+140>>2]|0,(a[d+4978>>0]|0)!=0);if((a[d+5722>>0]|0)!=0?!(lga(g)|0):0)BI(d,c[g+140>>2]|0)}return}function sw(d,e,f,h){d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0;j=c[d+5284>>2]|0;if(!(!((j|0)==2|(j|0)==0)?((j|0)==1?1:(c[(c[e>>2]|0)+140>>2]|0)!=0):0)){j=c[e+4>>2]|0;i=c[e+8>>2]|0;f=c[f>>2]|0;h=c[e+12>>2]|0;if(!h)h=0;else h=c[(c[h>>2]|0)+140>>2]|0;c[d+5136>>2]=h;kw(d,f,30)|0;if(!(a[f+223>>0]|0)){g[f+248>>2]=0.0;if(+g[f+244>>2]==0.0)g[f+244>>2]=+g[j+20>>2];tw(d,2,f);kw(d,f,40)|0}tI(d,f);if(((((a[f+220>>0]|0)==0?(b[(c[f+4>>2]|0)+10>>1]&512)==0:0)?(a[d+216>>0]|0)!=0:0)?(a[d+218>>0]|0)!=0:0)?+g[i+80>>2]==0.0:0)vw(d,f,i,j);kw(d,f,50)|0}return}function tw(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;h=i;i=i+16|0;if(!(a[f+220>>0]|0)){zI(d,e,f);if((a[f+220>>0]|0)==0?(b[(c[f+4>>2]|0)+10>>1]&512)==0:0){Jga(f);if(a[d+5690>>0]|0)Mga(f);g=c[f+140>>2]|0;if((c[g+28>>2]|0)!=(c[(c[f+160>>2]|0)+8>>2]|0)){Lw(h+12|0,g);g=c[h+12>>2]|0;l=VM(g)|0;k=c[(c[f+140>>2]|0)+28>>2]|0;j=c[(c[f+160>>2]|0)+8>>2]|0;c[h>>2]=l;c[h+4>>2]=k;c[h+8>>2]=j;jN(32016,h);RM(g)}a[f+221>>0]=(AI(d,f)|0)&1;wH(d,f,e&65535)}xw(d,f);if(!(c[f+144>>2]|0)){c[h>>2]=30504;c[h+4>>2]=1595;$L(30400,32072,2,1702e3,h)}}i=h;return}function uw(b,d,e,f){b=b|0;d=+d;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;g=i;i=i+32|0;j=VM(c[(jk(c[e+140>>2]|0)|0)>>2]|0)|0;Lw(g+20|0,c[e+140>>2]|0);k=c[g+20>>2]|0;h=VM(k)|0;c[g>>2]=j;c[g+4>>2]=h;jN(31816,g);RM(k);Gja(e+212|0,c[14658]|0);k=VM(c[(jk(c[f+140>>2]|0)|0)>>2]|0)|0;Lw(g+16|0,c[f+140>>2]|0);h=c[g+16>>2]|0;j=VM(h)|0;c[g>>2]=k;c[g+4>>2]=j;jN(31840,g);RM(h);Gja(f+212|0,c[14658]|0);f=(a[f+238>>0]|0)!=0?31872:31880;c[g>>2]=(a[e+238>>0]|0)!=0?31872:31880;c[g+4>>2]=f;c[g+8>>2]=d>.1?31888:372960;c[g+12>>2]=b?352168:1714496;jN(31856,g);i=g;return}function vw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0.0,h=0.0,j=0.0,k=0,l=0;l=i;i=i+16|0;e=DB(a,b)|0;do if(e){g[l+4>>2]=0.0;h=+EB(a,b,l+4|0);j=+g[l+4>>2];if(!(j!=0.0)){if(!(h>=+g[b+244>>2]*.5))break;ww(a,e,0.0,h,b,c,d)|0;break}if((ww(a,e,j,+g[b+244>>2],b,c,d)|0?(k=DB(a,b)|0,(k|0)>0):0)?(f=+EB(a,b,l),f>=+g[b+244>>2]*.5):0)ww(a,k,j,f,b,c,d)|0}while(0);i=l;return}function ww(b,d,e,f,j,l,m){b=b|0;d=d|0;e=+e;f=+f;j=j|0;l=l|0;m=m|0;var n=0,o=0,p=0.0,q=0.0;o=i;i=i+304|0;zx(o+32|0,c[j+4>>2]|0);if(c[j+152>>2]|0){n=WEa(184)|0;Ax(n);c[o+184>>2]=n;Bx(n,c[j+152>>2]|0)}g[o+276>>2]=f;g[o+284>>2]=e;g[o+280>>2]=0.0;n=c[b+10288>>2]|0;if(!n)n=c[b+10280>>2]|0;_fa(o+32|0,b+184|0,b,n,c[b+5284>>2]|0,(a[b+2078>>0]|0)!=0,(a[b+9378>>0]|0)!=0,(a[b+9394>>0]|0)!=0,m,l)|0;tw(b,2,o+32|0);if(!(a[o+252>>0]|0)){l=DB(b,o+32|0)|0;if((c[b+6076>>2]|0)>0){q=+g[j+244>>2];c[o>>2]=d;h[k>>3]=q;c[o+4>>2]=c[k>>2];c[o+8>>2]=c[k+4>>2];c[o+12>>2]=l;h[k>>3]=f;c[o+16>>2]=c[k>>2];c[o+20>>2]=c[k+4>>2];jN(31904,o);m=c[j+140>>2]|0;q=+g[m+40>>2];n=c[o+172>>2]|0;p=+g[n+36>>2];e=+g[n+40>>2];h[k>>3]=+g[m+36>>2];c[o>>2]=c[k>>2];c[o+4>>2]=c[k+4>>2];h[k>>3]=q;c[o+8>>2]=c[k>>2];c[o+12>>2]=c[k+4>>2];h[k>>3]=p;c[o+16>>2]=c[k>>2];c[o+20>>2]=c[k+4>>2];h[k>>3]=e;c[o+24>>2]=c[k>>2];c[o+28>>2]=c[k+4>>2];jN(31968,o)}if((l|0)<(d|0)){l=c[o+172>>2]|0;n=c[j+140>>2]|0;if(+g[l+40>>2]>+g[n+40>>2])l=1;else l=+g[l+36>>2]<+g[n+36>>2]}else l=0;if((c[b+6076>>2]|0)>0)uw(l,f,j,o+32|0);if(l){wga(j,o+32|0);l=1}else l=0}else l=0;Qga(o+32|0);i=o;return l|0}function xw(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+48|0;if(c[e+72>>2]|0){if(!(c[e+140>>2]|0)){c[r>>2]=30504;c[r+4>>2]=1903;$L(30400,32640,2,1702e3,r)}o=c[d+1996>>2]|0;if(o){Ek(r+20|0);Cx(r+20|0,o,0);a[e+226>>0]=0;a[e+227>>0]=0;if(a[d+5738>>0]|0){Lw(r+16|0,c[e+140>>2]|0);p=c[r+16>>2]|0;c[r>>2]=VM(p)|0;jN(32672,r);RM(p)}if((c[(c[e+140>>2]|0)+28>>2]|0)>0){f=0;do{h=uga(e,f)|0;if((h|0)!=0?(c[h+8>>2]|0)>0:0){j=0;do{g=c[(Dx(h+8|0,j)|0)>>2]|0;if((g|0)>-1&(g|0)<(o|0)){n=b[(Dx(h+8|0,j)|0)+4>>1]|0;p=Ik(r+20|0,g)|0;c[p>>2]=(c[p>>2]|0)+(n&65535)}j=j+1|0}while((j|0)<(c[h+8>>2]|0))}f=f+1|0}while((f|0)<(c[(c[e+140>>2]|0)+28>>2]|0))}if((o|0)>0){g=0;f=-1;k=-1;l=0;h=0;while(1){if((a[d+5738>>0]|0)!=0?(c[(Ik(r+20|0,g)|0)>>2]|0)>0:0){n=c[(Ex(d+1996|0,g)|0)>>2]|0;p=c[(Ik(r+20|0,g)|0)>>2]|0;c[r>>2]=n;c[r+4>>2]=p;jN(32696,r)}p=(c[(Ik(r+20|0,g)|0)>>2]|0)>(l|0);j=c[(Ik(r+20|0,g)|0)>>2]|0;if(!p)if((j|0)>(h|0)){m=f;n=g&65535;j=l;p=c[(Ik(r+20|0,g)|0)>>2]|0}else{m=f;n=k;j=l;p=h}else{m=g&65535;n=f;p=l}g=g+1|0;if((g|0)>=(o|0))break;else{f=m;k=n;l=j;h=p}}k=m<<16>>16;if(m<<16>>16>-1)h=Ex(d+1996|0,k)|0;else h=0;c[e+228>>2]=h;f=n<<16>>16;if(n<<16>>16>-1)h=Ex(d+1996|0,f)|0;else h=0;c[e+232>>2]=h;if((j|0)<65535)h=1;else h=(j|0)>8388479?127:((j|0)/65535|0)&255;a[e+236>>0]=h;if((p|0)<-65534){l=0;n=e+236|0;m=f;h=k}else{g=e+236|0;h=p;q=32}}else{c[e+228>>2]=0;c[e+232>>2]=0;a[e+236>>0]=1;g=e+236|0;f=-1;k=-1;j=0;h=0;q=32}if((q|0)==32){l=(h|0)>8388479?127:((h|0)/65535|0)&255;n=g;m=f;h=k}a[e+237>>0]=l;if((j|0)>0){h=Ex(d+1996|0,h)|0;g=c[h>>2]|0;h=c[h+4>>2]|0;do if(a[d+5738>>0]|0){f=a[n>>0]|0;if((a[e+237>>0]|0)>0){q=c[(Ex(d+1996|0,m)|0)>>2]|0;d=a[e+237>>0]|0;c[r>>2]=g;c[r+4>>2]=f;c[r+8>>2]=q;c[r+12>>2]=d;jN(32728,r);break}else{c[r>>2]=g;c[r+4>>2]=f;jN(32776,r);break}}while(0);d=a[n>>0]|0;a[e+226>>0]=ba(d,(h<<1&2)+-1|0)|0;a[e+227>>0]=ba(d,(h&2)+-1|0)|0}Jk(r+20|0)}}i=r;return}function yw(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+16|0;do if((SGa(f|0)|0)>>>0>20)g=0;else{if((a[e>>0]|0)!=0?(OM(t+8|0,b+6116|0),o=c[t+8>>2]|0,p=(UM(o,a[e>>0]|0)|0)<<24>>24==0,RM(o),!p):0){p=1;h=a[f>>0]|0}else{p=0;h=0}l=e+h|0;a:do if(a[l>>0]|0){k=p;g=0;while(1){j=f+k|0;if(!(Fx(d,l,a[j>>0]|0)|0))break;k=k+1|0;h=(a[j>>0]|0)+h|0;j=g+1|0;l=e+h|0;if(!(a[l>>0]|0)){g=j;break}else g=j}if((g|0)<=1){l=e+h|0;if(!(a[e+h>>0]|0)){o=k;n=g;m=13}else while(1){j=f+k|0;if(!(Gx(d,l,a[j>>0]|0)|0)){o=k;n=g;m=13;break a}k=k+1|0;h=(a[j>>0]|0)+h|0;if(!(a[e+h>>0]|0)){l=e+h|0;o=k;n=g;m=13;break}else l=e+h|0}}else{g=2;m=24}}else{l=e+h|0;o=p;n=0;m=13}while(0);b:do if((m|0)==13?(o-p|0)>=(c[b+6348>>2]|0):0){g=a[f+o>>0]|0;do if(g<<24>>24==1){l=a[l>>0]|0;if(l<<24>>24==39){j=a[f+(o+1)>>0]|0;if(j<<24>>24!=1){k=o;break}l=(g<<24>>24)+h|0;if((a[e+l>>0]|0)!=115){k=o;break}k=o+2|0;h=(j<<24>>24)+l|0;break}else if(l<<24>>24!=45){k=o;break}k=o+1|0;h=(g<<24>>24)+h|0;if(a[e+h>>0]|0){j=e+h|0;do{l=f+k|0;if(!(Gx(d,j,a[l>>0]|0)|0))break;k=k+1|0;h=(a[l>>0]|0)+h|0;j=e+h|0}while((a[j>>0]|0)!=0);if((k|0)<(o+3|0))break b}}else k=o;while(0);g=(n|0)>0?3:1;m=24}while(0);if((m|0)==24){l=f+k|0;if(((a[l>>0]|0)==1?(q=e+h|0,(a[q>>0]|0)!=0):0)?(OM(t+4|0,b+6140|0),p=c[t+4>>2]|0,q=(UM(p,a[q>>0]|0)|0)<<24>>24==0,RM(p),!q):0){k=k+1|0;h=(a[l>>0]|0)+h|0}l=f+k|0;if((((a[l>>0]|0)==1?(r=e+h|0,s=a[r>>0]|0,s<<24>>24!=0&(k|0)>0):0)?(a[e+(h-(a[f+(k+-1)>>0]|0))>>0]|0)!=s<<24>>24:0)?(OM(t,b+6164|0),s=c[t>>2]|0,b=(UM(s,a[r>>0]|0)|0)<<24>>24==0,RM(s),!b):0)h=(a[l>>0]|0)+h|0;if(!(a[e+h>>0]|0))break}c:do if(a[e>>0]|0){b=Fx(d,e,a[f>>0]|0)|0;h=(a[e>>0]|0)==0;if(b){if(h){g=0;h=5;break}else{j=e;l=0;g=0}while(1){h=f+l|0;if(!(Fx(d,j,a[h>>0]|0)|0)){h=5;break c}k=a[f+(l|1)>>0]|0;if(k<<24>>24!=1){h=5;break c}h=(a[h>>0]|0)+g|0;if((a[e+h>>0]|0)!=46){h=5;break c}j=e+(h+(k<<24>>24))|0;if(!(a[j>>0]|0)){g=h+(k<<24>>24)|0;h=5;break c}else{l=l+2|0;g=h+(k<<24>>24)|0}}}if(!h?Gx(d,e,a[f>>0]|0)|0:0)if(!(a[e>>0]|0)){g=0;h=4}else{k=e;l=0;g=0;while(1){h=f+l|0;if(!(Gx(d,k,a[h>>0]|0)|0)){h=4;break c}j=a[f+(l|1)>>0]|0;if(j<<24>>24!=1){h=4;break c}h=(a[h>>0]|0)+g|0;if((a[e+h>>0]|0)!=46){h=4;break c}k=e+(h+(j<<24>>24))|0;if(!(a[k>>0]|0)){g=h+(j<<24>>24)|0;h=4;break}else{l=l+2|0;g=h+(j<<24>>24)|0}}}else{g=0;h=0}}else{g=0;h=0}while(0);i=t;return ((a[e+g>>0]|0)==0?h:0)|0}while(0);i=t;return g|0}function zw(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a>>2]=b;c[a+4>>2]=d;c[a+8>>2]=e;c[a+12>>2]=0;Ew(a+16|0);return}function Aw(a){a=a|0;sx(a);rx(a);return}function Bw(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){Qga(d);YEa(d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0));if((b|0)>0)c[a>>2]=0}return}function Cw(a){a=a|0;c[a>>2]=0;Zea(a+16|0);Hx(a+76|0);Ek(a+96|0);Ek(a+116|0);c[a+148>>2]=0;Ek(a+164|0);ek(a+184|0);c[a+212>>2]=0;b[a+216>>1]=0;Rga(a);Sga(a);return}function Dw(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){Kx(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function Ew(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;Lx(a,4);return}function Fw(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function Gw(b){b=b|0;var d=0;a:do if((c[b>>2]|0)>0){d=0;while(1){if(a[(c[(Fw(b,d)|0)>>2]|0)+220>>0]|0){d=0;break a}if(!(a[(c[(Fw(b,d)|0)>>2]|0)+221>>0]|0)){d=0;break a}d=d+1|0;if((d|0)>=(c[b>>2]|0)){d=1;break}}}else d=1;while(0);return d|0}function Hw(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if((b|0)<=0){c[d>>2]=1701680;c[d+4>>2]=669;$L(30400,375960,2,1702e3,d);b=c[a>>2]|0}i=d;return (c[a+8>>2]|0)+(b+-1<<2)|0}function Iw(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){Mx(a);d=c[a>>2]|0}c[a>>2]=d+1;a=c[a+8>>2]|0;e=a+(d*36|0)|0;c[e+0>>2]=c[b+0>>2];c[e+4>>2]=c[b+4>>2];c[e+8>>2]=c[b+8>>2];c[e+12>>2]=c[b+12>>2];Nx(a+(d*36|0)+16|0,b+16|0);return}function Jw(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b*36|0)|0;Ja(1701640,1701680,663,1701712);return 0}function Kw(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if((c[a+16>>2]|0)==0?(c[a+20>>2]|0)==0:0)b=0;else{Ab(e|0,0)|0;b=c[e>>2]|0;d=c[a+16>>2]|0;if((b|0)<=(d|0))if((b|0)==(d|0))b=(c[e+4>>2]|0)>(c[a+20>>2]|0);else b=0;else b=1}i=e;return b|0}function Lw(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;NM(a);if((c[b+28>>2]|0)>0){d=0;do{QN(e,c[b+4>>2]|0,c[(c[b+8>>2]|0)+(d<<2)>>2]|0);bN(a,e);RM(c[e>>2]|0);dN(a,1701816);d=d+1|0}while((d|0)<(c[b+28>>2]|0))}i=e;return}function Mw(a,d){a=a|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;f=c[d>>2]|0;fla(e+8|0,c[a>>2]|0);d=((b[e+12>>1]|0)+(b[e+8>>1]|0)|0)/2|0;fla(e,f);i=e;return d-(((b[e+4>>1]|0)+(b[e>>1]|0)|0)/2|0)|0}function Nw(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;Ox(a,4);return}function Ow(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;Px(a,4);return}function Pw(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;Qx(a,4);return}function Qw(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+b|0;Ja(1701640,1701680,663,1701712);return 0}function Rw(b,d){b=b|0;d=d|0;var e=0;e=c[b>>2]|0;if((e|0)==(c[b+4>>2]|0)){Rx(b);e=c[b>>2]|0}c[b>>2]=e+1;a[(c[b+8>>2]|0)+e>>0]=d&1;return e|0}function Sw(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function Tw(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){Sx(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function Uw(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)>-1&(a|0)>(c|0))return b+(c<<2)|0;else Ja(1701640,1701680,663,1701712);return 0}function Vw(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){Tx(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function Ww(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function Xw(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function Yw(b){b=b|0;var d=0,e=0;if((c[b+4>>2]|0)>0){d=c[b+12>>2]|0;a:do if((d|0)!=0?(c[b>>2]|0)>0:0){e=0;while(1){Rc[c[(c[d>>2]|0)+8>>2]&63](d,(a[(c[b+8>>2]|0)+e>>0]|0)!=0);e=e+1|0;if((e|0)>=(c[b>>2]|0))break a;d=c[b+12>>2]|0}}while(0);ZEa(c[b+8>>2]|0);c[b+8>>2]=0;c[b>>2]=0;c[b+4>>2]=0}d=c[b+12>>2]|0;if(d){Qc[c[(c[d>>2]|0)+4>>2]&511](d);c[b+12>>2]=0}d=c[b+16>>2]|0;if(d){Qc[c[(c[d>>2]|0)+4>>2]&511](d);c[b+16>>2]=0}return}function Zw(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;Ux(a,4);return}function _w(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;e=i;i=i+48|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;g=c[a+8>>2]|0;h=g+(d*36|0)|0;c[e+0>>2]=c[h+0>>2];c[e+4>>2]=c[h+4>>2];c[e+8>>2]=c[h+8>>2];c[e+12>>2]=c[h+12>>2];Vx(e+16|0,g+(d*36|0)+16|0);Rc[f&63](b,e);Aw(e+16|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b){d=c[b+-4>>2]|0;if(d){d=b+(d*36|0)|0;do{Aw(d+-20|0);d=d+-36|0}while((d|0)!=(b|0))}ZEa(b+-4|0)}c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function $w(a){a=a|0;var b=0;a:do if((c[a+5284>>2]|0)==1)if((c[a+12964>>2]|0)>0){b=0;while(1){if((c[(c[(Xj(a+12964|0,b)|0)>>2]|0)+5284>>2]|0)!=1){b=1;break a}b=b+1|0;if((b|0)>=(c[a+12964>>2]|0)){b=0;break}}}else b=0;else b=1;while(0);return b|0}function ax(a,b){a=a|0;b=b|0;Wx(a);Xx(a,b);return}function bx(a,b){a=a|0;b=b|0;if((c[a+28>>2]|0)>(b|0))return c[(c[a+8>>2]|0)+(b<<2)>>2]|0;else Ja(32912,306312,313,33040);return 0}function cx(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;a:do if((c[a>>2]|0)>0){e=0;while(1){d=e+1|0;if((c[(Yx(a,e)|0)>>2]|0)==(b|0))break;if((d|0)<(c[a>>2]|0))e=d;else{f=5;break a}}b=(Yx(a,e)|0)+4|0;c[b>>2]=(c[b>>2]|0)+1}else f=5;while(0);if((f|0)==5)Zx(a,b,1);return}function dx(a,b){a=a|0;b=b|0;var d=0,e=0;if((c[a>>2]|0)>0){d=-2147483647;e=0;do{if((c[(Yx(a,e)|0)+4>>2]|0)>(d|0)){d=c[(Yx(a,e)|0)+4>>2]|0;if(b)c[b>>2]=c[(Yx(a,e)|0)>>2]}e=e+1|0}while((e|0)<(c[a>>2]|0))}else d=-2147483647;return d|0}function ex(a,b,d){a=a|0;b=b|0;d=d|0;if((c[a+28>>2]|0)>(d|0)){c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}else Ja(32912,306312,357,32928)}function fx(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;e=i;i=i+16|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;h=(c[a+8>>2]|0)+(d<<3)|0;g=c[h+4>>2]|0;c[e>>2]=c[h>>2];c[e+4>>2]=g;c[e+8>>2]=c[e+0>>2];c[e+12>>2]=c[e+4>>2];Rc[f&63](b,e+8|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function gx(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;_x(a,4);return}function hx(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=b;NM(a+56|0);NM(a+60|0);Rv(a,8);return}function ix(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){$x(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function jx(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)>-1&(a|0)>(c|0))return b+(c<<2)|0;else Ja(1701640,1701680,663,1701712);return 0}function kx(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function lx(a){a=a|0;var b=0;b=e[a+4>>1]|0;return b-((Dja(a)|0)&65535)&65535|0}function mx(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a>>2]|0;do if((d|0)<(b|0)){e=c[a+4>>2]|0;a=c[a+12>>2]|0;if((e+-1|0)>(b|0)){a=a+(b-d<<2)|0;break}else{a=a+(e+~d<<2)|0;break}}else a=c[a+12>>2]|0;while(0);return c[a>>2]|0}function nx(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if((d|0)==-1)b=0;else{if(!(ay(b,d)|0)){c[e>>2]=373648;c[e+4>>2]=465;$L(30400,373616,2,1702e3,e)}b=(a[(c[b>>2]|0)+(d*112|0)+34>>0]|0)!=0}i=e;return b|0}function ox(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if((d|0)==-1)b=0;else{if(!(ay(b,d)|0)){c[e>>2]=373648;c[e+4>>2]=458;$L(30400,373616,2,1702e3,e)}b=(a[(c[b>>2]|0)+(d*112|0)+33>>0]|0)!=0}i=e;return b|0}function px(a,c,d){a=a|0;c=+c;d=+d;if((+(b[a>>1]|0)<=c?+(b[a+4>>1]|0)>=c:0)?+(b[a+2>>1]|0)<=d:0)a=+(b[a+6>>1]|0)>=d;else a=0;return a|0}function qx(d,e,f,h,j,k,l,m){d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0.0,q=0.0;o=i;i=i+16|0;c[l>>2]=-2147483647;c[m>>2]=2147483647;if((c[d>>2]|0)>(e|0)){n=c[(c[(Fw(d,e)|0)>>2]|0)+140>>2]|0;if(n){g[f>>2]=+g[n+36>>2]+ +g[f>>2];p=+g[h>>2];q=+g[n+40>>2];g[h>>2]=!(p<=q)?q:p;if(((a[n+52>>0]|0)+-7&255)>=6)a[k>>0]=0}else a[j>>0]=1;yla(o+8|0,c[(c[(Fw(d,e)|0)>>2]|0)+4>>2]|0);c[l>>2]=b[o+12>>1];if((e+1|0)<(c[d>>2]|0)){yla(o,c[(c[(Fw(d,e+1|0)|0)>>2]|0)+4>>2]|0);c[m>>2]=b[o>>1]}}else{a[k>>0]=0;a[j>>0]=1}i=o;return}function rx(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function sx(a){a=a|0;by(a);rx(a);return}function tx(a,b){a=a|0;b=b|0;Px(a,b);c[a>>2]=b;if((b|0)>0)YGa(c[a+8>>2]|0,0,b|0)|0;return}function ux(a,b){a=a|0;b=b|0;var d=0;Qx(a,b);c[a>>2]=b;if((b|0)>0){d=0;do{c[(c[a+8>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(b|0))}return}function vx(a,c){a=a|0;c=c|0;var d=0,e=0,f=0;d=kl(c)|0;e=b[a>>1]|0;f=b[c>>1]|0;if(e<<16>>16>f<<16>>16)d=(d&65535)-(e&65535)+(f&65535)&65535;e=b[a+4>>1]|0;f=b[c+4>>1]|0;if(e<<16>>16>16)d=(e&65535)+(d&65535)-(f&65535)&65535;d=d<<16>>16;if((d|0)<(((kl(c)|0)<<16>>16|0)/2|0|0))d=(d|0)>=(((kl(a)|0)<<16>>16|0)/2|0|0);else d=1;return d|0}function wx(a,b){a=a|0;b=b|0;var d=0;d=c[b>>2]|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;Px(a,d);cy(a,b);return}function xx(a,b){a=a|0;b=b|0;if((b|0)!=(a|0)){if((c[a>>2]|0)>0)c[a>>2]=0;cy(a,b)}return}function yx(a){a=a|0;var b=0;b=WEa(8)|0;c[b>>2]=0;c[b+4>>2]=0;dy(b,a);return b|0}function zx(a,d){a=a|0;d=d|0;c[a>>2]=0;Zea(a+16|0);Hx(a+76|0);Ek(a+96|0);Ek(a+116|0);c[a+148>>2]=0;Ek(a+164|0);ek(a+184|0);c[a+212>>2]=0;b[a+216>>1]=0;Rga(a);Sga(a);c[a+4>>2]=d;return}function Ax(b){b=b|0;a[b>>0]=0;zca(b+4|0);zca(b+36|0);ek(b+72|0);c[b+92>>2]=0;NM(b+96|0);NM(b+100|0);Ek(b+112|0);Ek(b+132|0);c[b+156>>2]=0;ey(b+164|0);fy(b);return}function Bx(b,d){b=b|0;d=d|0;a[b>>0]=a[d>>0]|0;Dca(b+4|0,d+4|0);hy(b+72|0,d+72|0);d=c[d+92>>2]|0;if(!((d|0)==4|(d|0)==10))d=0;c[b+92>>2]=d;return}function Cx(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;il(a,b);c[a>>2]=b;if((b|0)>0){a=c[a+8>>2]|0;e=0;do{c[a+(e<<2)>>2]=d;e=e+1|0}while((e|0)!=(b|0))}return}function Dx(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<3)|0;Ja(1701640,1701680,663,1701712);return 0}function Ex(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;if(!((b|0)>-1?(c[a>>2]|0)>(b|0):0)){c[d>>2]=1701680;c[d+4>>2]=657;$L(30400,1701640,2,1702e3,d)}i=d;return (c[a+8>>2]|0)+(b<<4)|0}function Fx(a,b,c){a=a|0;b=b|0;c=c|0;return nx(a,IN(a,b,c)|0)|0}function Gx(a,b,c){a=a|0;b=b|0;c=c|0;return ox(a,IN(a,b,c)|0)|0}function Hx(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;iy(a,4);return}function Ix(a){a=a|0;if(a)hM(a);return}function Jx(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function Kx(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)Lx(a,4);else Lx(a,b<<1);return}function Lx(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function Mx(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)Ux(a,4);else Ux(a,b<<1);return}function Nx(a,b){a=a|0;b=b|0;if((b|0)!=(a|0)){Bw(a);jy(a,b)}return}function Ox(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function Px(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;if(!((d|0)<1?1:(c[b+4>>2]|0)>=(d|0))){f=XEa((d|0)>-1?d:-1)|0;g=c[b>>2]|0;e=c[b+8>>2]|0;if((g|0)>0){h=0;do{a[f+h>>0]=a[e+h>>0]|0;h=h+1|0}while((h|0)!=(g|0))}ZEa(e);c[b+8>>2]=f;c[b+4>>2]=d}return}function Qx(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function Rx(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)Px(a,4);else Px(a,b<<1);return}function Sx(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)Qx(a,4);else Qx(a,b<<1);return}function Tx(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)Ox(a,4);else Ox(a,b<<1);return}function Ux(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){f=XEa(b>>>0>119304647|(b*36|0)>>>0>4294967291?-1:(b*36|0)+4|0)|0;c[f>>2]=b;if(b){d=f+4|0;do{c[d+0>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;Ew(d+16|0);d=d+36|0}while((d|0)!=(f+4+(b*36|0)|0))}if((c[a>>2]|0)>0){d=0;do{g=f+4+(d*36|0)|0;e=c[a+8>>2]|0;h=e+(d*36|0)|0;c[g+0>>2]=c[h+0>>2];c[g+4>>2]=c[h+4>>2];c[g+8>>2]=c[h+8>>2];c[g+12>>2]=c[h+12>>2];Nx(f+4+(d*36|0)+16|0,e+(d*36|0)+16|0);d=d+1|0}while((d|0)<(c[a>>2]|0))}e=c[a+8>>2]|0;if(e){d=c[e+-4>>2]|0;if(d){d=e+(d*36|0)|0;do{Aw(d+-20|0);d=d+-36|0}while((d|0)!=(e|0))}ZEa(e+-4|0)}c[a+8>>2]=f+4;c[a+4>>2]=b}return}function Vx(a,b){a=a|0;b=b|0;var d=0;Ew(a);d=c[b>>2]|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;Lx(a,d);jy(a,b);return}function Wx(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;Xx(a,4);return}function Xx(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){e=XEa(b>>>0>536870911?-1:b<<3)|0;f=c[a>>2]|0;d=c[a+8>>2]|0;if((f|0)>0){g=0;do{j=d+(g<<3)|0;i=c[j+4>>2]|0;h=e+(g<<3)|0;c[h>>2]=c[j>>2];c[h+4>>2]=i;g=g+1|0}while((g|0)!=(f|0))}if(d)ZEa(d);c[a+8>>2]=e;c[a+4>>2]=b}return}function Yx(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<3)|0;Ja(1701640,1701680,663,1701712);return 0}function Zx(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a>>2]|0;if((e|0)==(c[a+4>>2]|0)){ky(a);e=c[a>>2]|0}c[a>>2]=e+1;a=(c[a+8>>2]|0)+(e<<3)|0;c[a>>2]=b;c[a+4>>2]=d;return}function _x(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function $x(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)_x(a,4);else _x(a,b<<1);return}function ay(a,b){a=a|0;b=b|0;if((b|0)==-1)return 0;else return ((b|0)>-1?(c[a+8>>2]|0)>(b|0):0)|0;return 0}function by(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){Qga(d);YEa(d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0))}return}function cy(b,d){b=b|0;d=d|0;var e=0;Px(b,(c[d>>2]|0)+(c[b>>2]|0)|0);if((c[d>>2]|0)>0){e=0;do{Rw(b,(a[(c[d+8>>2]|0)+e>>0]|0)!=0)|0;e=e+1|0}while((e|0)<(c[d>>2]|0))}return}function dy(a,b){a=a|0;b=b|0;if(c[a+4>>2]|0)KL(a+4|0,230);Rca(a+4|0,b+4|0);return}function ey(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;my(a,4);return}function fy(b){b=b|0;var d=0;Kca(b+36|0);c[b+68>>2]=0;d=c[b+92>>2]|0;if(!((d|0)==4|(d|0)==10))c[b+92>>2]=0;fN(b+96|0,1714496);a[b+104>>0]=0;g[b+108>>2]=1.0e5;Jk(b+112|0);Jk(b+132|0);a[b+152>>0]=0;ZEa(c[b+156>>2]|0);c[b+156>>2]=0;c[b+160>>2]=0;return}function gy(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+32|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;ny(e,(c[a+8>>2]|0)+(d*20|0)|0);Rc[f&63](b,e);oy(e);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b){d=c[b+-4>>2]|0;if(d){d=b+(d*20|0)|0;do{d=d+-20|0;oy(d)}while((d|0)!=(b|0))}ZEa(b+-4|0)}c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function hy(a,b){a=a|0;b=b|0;if((b|0)!=(a|0)){if((c[a>>2]|0)>0)c[a>>2]=0;py(a,b)}return}function iy(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function jy(a,b){a=a|0;b=b|0;var d=0,e=0;Lx(a,(c[b>>2]|0)+(c[a>>2]|0)|0);if((c[b>>2]|0)>0){d=0;do{e=WEa(260)|0;qy(e,c[(c[b+8>>2]|0)+(d<<2)>>2]|0);Dw(a,e);d=d+1|0}while((d|0)<(c[b>>2]|0))}return}function ky(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)Xx(a,4);else Xx(a,b<<1);return}function ly(a){a=a|0;var d=0;d=WEa(32)|0;c[d>>2]=0;b[d+4>>1]=32767;b[d+6>>1]=32767;b[d+8>>1]=-32767;b[d+10>>1]=-32767;b[d+14>>1]=0;b[d+12>>1]=0;b[d+18>>1]=0;b[d+20>>1]=0;b[d+22>>1]=0;b[d+24>>1]=0;b[d+26>>1]=0;b[d+28>>1]=0;b[d+30>>1]=0;jda(d,a);return d|0}function my(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){f=XEa(b>>>0>214748364|(b*20|0)>>>0>4294967291?-1:(b*20|0)+4|0)|0;c[f>>2]=b;if(b){d=f+4|0;do{ry(d);d=d+20|0}while((d|0)!=(f+4+(b*20|0)|0))}if((c[a>>2]|0)>0){d=0;do{sy(f+4+(d*20|0)|0,(c[a+8>>2]|0)+(d*20|0)|0);d=d+1|0}while((d|0)<(c[a>>2]|0))}e=c[a+8>>2]|0;if(e){d=c[e+-4>>2]|0;if(d){d=e+(d*20|0)|0;do{d=d+-20|0;oy(d)}while((d|0)!=(e|0))}ZEa(e+-4|0)}c[a+8>>2]=f+4;c[a+4>>2]=b}return}function ny(a,b){a=a|0;b=b|0;var d=0;d=c[b>>2]|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;ty(a,d);uy(a,b);return}function oy(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+112|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;vy(e,(c[a+8>>2]|0)+(d*104|0)|0);Rc[f&63](b,e);RM(c[e+96>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b){d=c[b+-4>>2]|0;if(d){d=b+(d*104|0)|0;do{RM(c[d+-8>>2]|0);d=d+-104|0}while((d|0)!=(b|0))}ZEa(b+-4|0)}c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function py(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;el(a,(c[b>>2]|0)+(c[a>>2]|0)|0);if((c[b>>2]|0)>0){d=0;do{OM(e,(c[b+8>>2]|0)+(d<<2)|0);wy(a,e);RM(c[e>>2]|0);d=d+1|0}while((d|0)<(c[b>>2]|0))}i=e;return}function qy(a,d){a=a|0;d=d|0;c[a>>2]=0;Zea(a+16|0);Hx(a+76|0);Ek(a+96|0);Ek(a+116|0);c[a+148>>2]=0;Ek(a+164|0);ek(a+184|0);c[a+212>>2]=0;b[a+216>>1]=0;Sga(a);Wfa(a,d);return}function ry(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;ty(a,4);return}function sy(a,b){a=a|0;b=b|0;if((b|0)!=(a|0)){if((c[a>>2]|0)>0)c[a>>2]=0;uy(a,b)}return}function ty(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){f=XEa(b>>>0>41297762|(b*104|0)>>>0>4294967291?-1:(b*104|0)+4|0)|0;c[f>>2]=b;if(b){d=f+4|0;do{xy(d);d=d+104|0}while((d|0)!=(f+4+(b*104|0)|0))}if((c[a>>2]|0)>0){d=0;do{yy(f+4+(d*104|0)|0,(c[a+8>>2]|0)+(d*104|0)|0);d=d+1|0}while((d|0)<(c[a>>2]|0))}e=c[a+8>>2]|0;if(e){d=c[e+-4>>2]|0;if(d){d=e+(d*104|0)|0;do{RM(c[d+-8>>2]|0);d=d+-104|0}while((d|0)!=(e|0))}ZEa(e+-4|0)}c[a+8>>2]=f+4;c[a+4>>2]=b}return}function uy(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+112|0;ty(a,(c[b>>2]|0)+(c[a>>2]|0)|0);if((c[b>>2]|0)>0){d=0;do{vy(e,(c[b+8>>2]|0)+(d*104|0)|0);zy(a,e);RM(c[e+96>>2]|0);d=d+1|0}while((d|0)<(c[b>>2]|0))}i=e;return}function vy(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;NM(a+96|0);d=a+0|0;e=b+0|0;f=d+96|0;do{c[d>>2]=c[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));aN(a+96|0,b+96|0);g[a+100>>2]=+g[b+100>>2];return}function wy(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;OM(d,b);Wj(a,d);RM(c[d>>2]|0);i=d;return}function xy(a){a=a|0;var b=0;NM(a+96|0);g[a+100>>2]=0.0;a=a+0|0;b=a+96|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function yy(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=a+0|0;e=b+0|0;f=d+96|0;do{c[d>>2]=c[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));aN(a+96|0,b+96|0);g[a+100>>2]=+g[b+100>>2];return}function zy(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+112|0;vy(d,b);Ay(a,d);RM(c[d+96>>2]|0);i=d;return}function Ay(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){By(a);d=c[a>>2]|0}c[a>>2]=d+1;yy((c[a+8>>2]|0)+(d*104|0)|0,b);return}function By(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)ty(a,4);else ty(a,b<<1);return}function Cy(d){d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;e=c[d+8>>2]|0;if(((e|0)!=0?(f=c[d+156>>2]|0,(f|0)!=0):0)?(c[f>>2]|0)!=0:0){c[g>>2]=d;b[g+4>>1]=0;b[g+6>>1]=0;d=WEa(16)|0;c[d>>2]=33784;c[d+4>>2]=g;a[d+8>>0]=43;a[d+9>>0]=0;a[d+10>>0]=0;a[d+11>>0]=0;a[d+12>>0]=0;a[d+13>>0]=0;a[d+14>>0]=0;a[d+15>>0]=0;Lca(e,f,d);e=b[g+4>>1]|0}else e=0;i=g;return e|0}function Dy(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=c[d+156>>2]|0;if((e|0)!=0?(c[e>>2]|0)>0:0){f=0;g=0;h=0;while(1){i=c[(Vy(e,f)|0)>>2]|0;j=a[(XM(c[(jk(c[d+140>>2]|0)|0)>>2]|0,h<<16>>16)|0)>>0]|0;g=((Ey(b,j,(Mba(c[i>>2]|0)|0)&65535)|0)&65535)+(g&65535)|0;f=f+1|0;e=c[d+156>>2]|0;if((f|0)>=(c[e>>2]|0))break;else h=h+1<<16>>16}e=g&65535}else e=0;return e|0}function Ey(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=i;i=i+16|0;OM(e+4|0,a+6628|0);g=c[e+4>>2]|0;f=(UM(g,b)|0)<<24>>24==0;RM(g);if(f){OM(e,a+6652|0);g=c[e>>2]|0;b=(UM(g,b)|0)<<24>>24==0;RM(g);b=(d<<16>>16)-(b?1:2)|0;b=((b|0)>-1?b:0-b|0)&65535}else b=0;i=e;return b|0}function Fy(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=i;i=i+16|0;g=c[d+8>>2]|0;if(((g|0)!=0?(h=c[d+156>>2]|0,(h|0)!=0):0)?(c[h>>2]|0)!=0:0){c[j>>2]=d;b[j+4>>1]=0;b[j+6>>1]=0;d=WEa(16)|0;c[d>>2]=33784;c[d+4>>2]=j;a[d+8>>0]=44;a[d+9>>0]=0;a[d+10>>0]=0;a[d+11>>0]=0;a[d+12>>0]=0;a[d+13>>0]=0;a[d+14>>0]=0;a[d+15>>0]=0;Lca(g,h,d);d=c[j+4>>2]|0;b[e>>1]=d;b[f>>1]=d>>>16}i=j;return}function Gy(d){d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;e=c[d+8>>2]|0;if(((e|0)!=0?(f=c[d+156>>2]|0,(f|0)!=0):0)?(c[f>>2]|0)!=0:0){c[g>>2]=d;b[g+4>>1]=0;b[g+6>>1]=0;d=WEa(16)|0;c[d>>2]=33784;c[d+4>>2]=g;a[d+8>>0]=45;a[d+9>>0]=0;a[d+10>>0]=0;a[d+11>>0]=0;a[d+12>>0]=0;a[d+13>>0]=0;a[d+14>>0]=0;a[d+15>>0]=0;Lca(e,f,d)}i=g;return}function Hy(b,c,d){b=b|0;c=c|0;d=d|0;if((a[b+6690>>0]|0)!=0&d<<24>>24!=0)Iy(b,c);Jy(b,c,d);if(a[b+7130>>0]|0){Ky(b,c);Ly(b,c)}return}function Iy(d,e){d=d|0;e=e|0;var f=0,g=0,i=0;_ga(e,0);f=c[e+16>>2]|0;if(f)do{kw(d,f,100)|0;do if(!(a[d+7074>>0]|0)){f=c[e+20>>2]|0;i=c[f+8>>2]|0;if((i|0)>0?+(c[f+12>>2]|0)/+(i|0)<=+h[d+7096>>3]:0){f=c[e+16>>2]|0;do if((Eja(f+212|0)|0)<<24>>24){if((a[d+5674>>0]|0)==0?(g=c[f+68>>2]|0,i=VM(c[(jk(c[f+140>>2]|0)|0)>>2]|0)|0,(yw(d,g,i,VM(c[(lk(c[f+140>>2]|0)|0)>>2]|0)|0)|0)==0):0)break;Gy(f)}while(0);ck(e)|0;break}if(c[e+16>>2]|0)do ck(e)|0;while((c[e+16>>2]|0)!=0?(c[e+20>>2]|0)==(f|0):0)}else{g=c[e+16>>2]|0;if((b[g+216>>1]|0)>0){i=0;do{f=i&65535;if((pja(kk(g+212|0,f)|0)|0)<<24>>24)yja(kk(g+212|0,f)|0);i=i+1|0}while((i|0)<(b[g+216>>1]|0))}ck(e)|0}while(0);kw(d,c[e+16>>2]|0,110)|0;f=c[e+16>>2]|0}while((f|0)!=0);_ga(e,0);d=c[e>>2]|0;c[d>>2]=0;c[d+4>>2]=0;if(c[e+16>>2]|0){i=0;d=0;while(1){f=c[e+24>>2]|0;if((i|0)==(f|0))f=i;else{c[f+8>>2]=0;c[f+12>>2]=0}g=c[e+20>>2]|0;if((d|0)==(g|0))g=d;else{c[g+8>>2]=0;c[g+12>>2]=0;c[g+16>>2]=0}dha(e);ck(e)|0;if(!(c[e+16>>2]|0))break;else{i=f;d=g}}}return}function Jy(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0.0,w=0;u=i;i=i+16|0;b[u+14>>1]=0;j=c[e>>2]|0;g=c[j+4>>2]|0;j=c[j>>2]|0;a:do if(+(g|0)*100.0/+(j|0)>+h[d+6728>>3]){My(e);if(a[d+7042>>0]|0){e=c[e>>2]|0;d=c[e+4>>2]|0;c[u>>2]=c[e>>2];c[u+4>>2]=d;jN(33064,u)}}else{if(a[d+7042>>0]|0){c[u>>2]=j;c[u+4>>2]=g;jN(33104,u)}_ga(e,0);g=c[e+16>>2]|0;if(g){j=g;p=c[e+24>>2]|0;while(1){k=c[(c[p+4>>2]|0)+24>>2]|0;l=c[p+8>>2]|0;if((l|0)>0?(s=c[p+12>>2]|0,+(s|0)*100.0/+(l|0)>+h[d+6768>>3]):0){if(!(a[d+5754>>0]|0))k=p;else{c[u>>2]=k<<16>>16;c[u+4>>2]=l;c[u+8>>2]=s;jN(33152,u);g=c[e+16>>2]|0;j=g;k=c[e+24>>2]|0}if((g|0)!=0&(k|0)==(p|0)){l=0;while(1){if(a[d+6882>>0]|0){if((lx(g+212|0)|0)<<16>>16<=0){j=(b[g+216>>1]|0)<(c[d+6948>>2]|0);if(j){j=j&1;q=17}else j=j&1}else{j=1;q=17}if((q|0)==17){q=0;if(((a[d+6914>>0]|0)!=0?(t=g+216|0,(b[t>>1]|0)>=(c[d+6948>>2]|0)):0)?(m=c[g+68>>2]|0,o=g+140|0,n=VM(c[(jk(c[o>>2]|0)|0)>>2]|0)|0,(yw(d,m,n,VM(c[(lk(c[o>>2]|0)|0)>>2]|0)|0)|0)!=0):0){Fy(g,u+14|0,u+12|0);j=(b[u+14>>1]|0)!=(b[t>>1]|0)&1}}if(!(j<<24>>24))j=0;else q=22}else{j=1;q=22}if((q|0)==22){q=0;if(((a[d+6706>>0]|0)!=0&l<<24>>24!=0?(c[e+8>>2]|0)==(c[e+20>>2]|0):0)?(a[(c[g+4>>2]|0)+8>>0]|0)==1:0)a[g+258>>0]=1;Oja(g+212|0)}ck(e)|0;g=c[e+16>>2]|0;k=c[e+24>>2]|0;if((g|0)!=0&(k|0)==(p|0))l=j;else{j=g;break}}}}else{if(!(a[d+5754>>0]|0))k=p;else{j=c[p+12>>2]|0;c[u>>2]=k<<16>>16;c[u+4>>2]=l;c[u+8>>2]=j;jN(33200,u);j=c[e+16>>2]|0;g=j;k=c[e+24>>2]|0}if((g|0)!=0&(k|0)==(p|0)){n=c[e+20>>2]|0;o=0;while(1){o=(o<<16>>16)+1|0;l=c[n+8>>2]|0;b:do if(((l|0)>0?(r=c[n+12>>2]|0,+(r|0)*100.0/+(l|0)>+h[d+6808>>3]):0)?+(c[n+16>>2]|0)*100.0/+(r|0)<+h[d+6848>>3]:0){if(a[d+5754>>0]|0){c[u>>2]=o;c[u+4>>2]=l;c[u+8>>2]=r;jN(33256,u);g=c[e+16>>2]|0;j=g}if(!g)break a;else m=0;while(1){l=c[e+20>>2]|0;if((l|0)!=(n|0)){g=j;break b}do if((a[d+6970>>0]|0)==0&f<<24>>24!=0){v=+((lx(g+212|0)|0)<<16>>16);k=v/+(b[g+216>>1]|0)>+h[d+6992>>3]&1;q=49}else{if(!(a[d+6898>>0]|0)){k=1;q=50;break}if((lx(g+212|0)|0)<<16>>16<=0){k=(b[g+216>>1]|0)<(c[d+6948>>2]|0);if(k)k=k&1;else{k=k&1;q=49;break}}else k=1;if(!(a[d+6930>>0]|0)){q=49;break}l=g+216|0;if((b[l>>1]|0)<(c[d+6948>>2]|0)){q=49;break}w=c[g+68>>2]|0;q=g+140|0;j=VM(c[(jk(c[q>>2]|0)|0)>>2]|0)|0;if(!(yw(d,w,j,VM(c[(lk(c[q>>2]|0)|0)>>2]|0)|0)|0)){q=49;break}Fy(g,u+14|0,u+12|0);k=(b[u+14>>1]|0)!=(b[l>>1]|0)&1;q=49}while(0);if((q|0)==49){q=0;if(!(k<<24>>24))k=0;else q=50}if((q|0)==50){q=0;do if((a[d+6706>>0]|0)!=0&m<<24>>24!=0){if((c[e+8>>2]|0)!=(c[e+20>>2]|0))break;if((a[(c[g+4>>2]|0)+8>>0]|0)!=1)break;a[g+258>>0]=1}while(0);Pja(g+212|0)}ck(e)|0;l=c[e+16>>2]|0;if(!l)break a;else{j=l;g=l;m=k}}}else q=56;while(0);c:do if((q|0)==56){q=0;if(a[d+5754>>0]|0){j=c[n+12>>2]|0;c[u>>2]=o;c[u+4>>2]=l;c[u+8>>2]=j;jN(33304,u);j=c[e+16>>2]|0}if(!j)break a;while(1){l=c[e+20>>2]|0;if((l|0)!=(n|0)){g=j;break c}ck(e)|0;j=c[e+16>>2]|0;if(!j)break a}}while(0);k=c[e+24>>2]|0;if(!((g|0)!=0&(k|0)==(p|0))){j=g;break}else{j=g;n=l}}}}if(!g)break;else p=k}}}while(0);i=u;return}function Ky(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+128|0;c[l+44>>2]=0;c[l+72>>2]=0;c[l+100>>2]=0;_ga(d,0);e=c[d+16>>2]|0;a:do if(e){k=0;g=0;while(1){while(1){f=c[(c[(c[d+24>>2]|0)+4>>2]|0)+4>>2]|0;if(!f)break;if(Zj(c[f+12>>2]|0)|0)break;ck(d)|0;e=c[d+16>>2]|0;if(!e)break a}if(a[b+7178>>0]|0)Ny(e);if(a[b+7162>>0]|0)Oga(e);b:do if(!((Dja(e+212|0)|0)<<16>>16)){j=e+140|0;f=(GH(c[j>>2]|0,c[e+204>>2]|0)|0)&255;h=Oy(b,e,f)|0;if(h){if((Py(b,e,h)|0)<<24>>24){if((c[b+7932>>2]|0)>0){c[l>>2]=VM(c[(jk(c[j>>2]|0)|0)>>2]|0)|0;jN(33360,l)}c[e+240>>2]=1;if(!(g<<24>>24)){f=1;g=0;break}f=c[l+20>>2]|0;if((f|0)==(e|0)){f=1;g=0;break}while(1){if((c[b+7932>>2]|0)>0){c[l>>2]=VM(c[(jk(c[f+140>>2]|0)|0)>>2]|0)|0;jN(33384,l);f=c[l+20>>2]|0}c[f+240>>2]=1;ck(l+4|0)|0;f=c[l+20>>2]|0;if((f|0)==(e|0)){f=1;g=0;break b}}}if((Qy(b,e,h,f)|0)<<24>>24)if(!(k<<24>>24)){if(g<<24>>24){f=0;break}g=l+4|0;f=d+0|0;e=g+124|0;do{c[g>>2]=c[f>>2];g=g+4|0;f=f+4|0}while((g|0)<(e|0));if((c[b+7932>>2]|0)<=1){f=0;g=1;break}c[l>>2]=VM(c[(jk(c[j>>2]|0)|0)>>2]|0)|0;jN(33432,l);f=0;g=1;break}else{if((c[b+7932>>2]|0)>0){c[l>>2]=VM(c[(jk(c[j>>2]|0)|0)>>2]|0)|0;jN(33408,l)}c[e+240>>2]=1;f=k;break}}if((c[b+7932>>2]|0)>2){c[l>>2]=VM(c[(jk(c[j>>2]|0)|0)>>2]|0)|0;jN(33456,l);f=0;g=0}else{f=0;g=0}}else{f=0;g=0}while(0);ck(d)|0;e=c[d+16>>2]|0;if(!e)break;else k=f}}while(0);i=l;return}function Ly(d,f){d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+144|0;c[o+48>>2]=0;c[o+76>>2]=0;c[o+104>>2]=0;_ga(f,0);g=c[f+16>>2]|0;if(g){h=0;j=0;do{m=Ry(d,g,o+134|0)|0;do if(!m){h=0;j=0}else{l=e[(c[g+4>>2]|0)+10>>1]|0;if((l>>>3&1|h)<<24>>24){if((c[d+7932>>2]|0)>0){k=b[o+134>>1]|0;l=VM(c[(jk(c[g+140>>2]|0)|0)>>2]|0)|0;c[o>>2]=k;c[o+4>>2]=l;jN(33616,o)}c[g+240>>2]=m;h=1;break}k=j<<24>>24!=0;if(!(l&16)){if(k)break;j=o+8|0;k=f+0|0;l=j+124|0;do{c[j>>2]=c[k>>2];j=j+4|0;k=k+4|0}while((j|0)<(l|0));j=1;break}if(k?(n=c[o+24>>2]|0,(n|0)!=(g|0)):0){h=n;do{h=Ry(d,h,o+132|0)|0;if((c[d+7932>>2]|0)>0){k=b[o+132>>1]|0;l=VM(c[(jk(c[(c[o+24>>2]|0)+140>>2]|0)|0)>>2]|0)|0;c[o>>2]=k;c[o+4>>2]=l;jN(33648,o)}c[(c[o+24>>2]|0)+240>>2]=h;ck(o+8|0)|0;h=c[o+24>>2]|0}while((h|0)!=(g|0))}if((c[d+7932>>2]|0)>0){k=b[o+134>>1]|0;l=VM(c[(jk(c[g+140>>2]|0)|0)>>2]|0)|0;c[o>>2]=k;c[o+4>>2]=l;jN(33648,o)}c[g+240>>2]=m;h=0;j=0}while(0);if(!(a[d+7162>>0]|0))Oga(g);ck(f)|0;g=c[f+16>>2]|0}while((g|0)!=0)}i=o;return}function My(b){b=b|0;var d=0;_ga(b,0);d=c[b+16>>2]|0;if(d)do{Nja(d+212|0);ck(b)|0;d=c[b+16>>2]|0}while((d|0)!=0);a[(c[b>>2]|0)+12>>0]=1;return}function Ny(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=HN(c[a+68>>2]|0,362280)|0;g=HN(c[a+68>>2]|0,1701816)|0;h=HN(c[a+68>>2]|0,33680)|0;i=HN(c[a+68>>2]|0,33688)|0;if((b[a+216>>1]|0)>0){j=0;do{if((bx(c[a+140>>2]|0,j)|0)==(h|0)?(ex(c[a+140>>2]|0,e,j),d=j&65535,(oja(kk(a+212|0,d)|0)|0)<<24>>24==0):0)wja(kk(a+212|0,d)|0);if((bx(c[a+140>>2]|0,j)|0)==(i|0)?(ex(c[a+140>>2]|0,g,j),f=j&65535,(oja(kk(a+212|0,f)|0)|0)<<24>>24==0):0)wja(kk(a+212|0,f)|0);j=j+1|0}while((j|0)<(b[a+216>>1]|0))}return}function Oy(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;z=i;i=i+32|0;k=VM(c[(jk(c[e+140>>2]|0)|0)>>2]|0)|0;g=VM(c[(lk(c[e+140>>2]|0)|0)>>2]|0)|0;do if(a[k>>0]|0){w=0;o=0;m=0;j=0;v=-1;x=0;r=g;q=0;p=0;n=0;s=0;t=0;l=0;g=0;h=0;u=0;do{x=x+1|0;do if(!(Fx(c[e+68>>2]|0,k,a[r>>0]|0)|0)){if(Gx(c[e+68>>2]|0,k,a[r>>0]|0)|0){g=g+1|0;if((t|0)==3)j=j+1|0;else if((t|0)==2|(t|0)==5){s=s+1|0;p=(p|0)<(s|0)?s:p;if((v|0)==(IN(c[e+68>>2]|0,k,a[r>>0]|0)|0)){t=w+1|0;w=t;q=(q|0)<(t|0)?t:q;t=5;break}else{w=1;v=IN(c[e+68>>2]|0,k,a[r>>0]|0)|0;t=5;break}}w=1;v=IN(c[e+68>>2]|0,k,a[r>>0]|0)|0;s=1;t=2;break}if(Yy(c[e+68>>2]|0,k,a[r>>0]|0)|0){h=h+1|0;if((t|0)==6|(t|0)==3){t=6;break}else if((t|0)==2|(t|0)==1)m=m+1|0;t=3;break}if((a[r>>0]|0)==1?(a[k>>0]|0)==32:0)l=l+1|0;else o=o+1|0;if((t|0)==2|(t|0)==1){m=m+1|0;t=0;break}else if((t|0)==3){j=j+1|0;t=0;break}else{t=0;break}}else{g=g+1|0;if((t|0)==3)j=j+1|0;else if((t|0)==1|(t|0)==4){u=u+1|0;n=(n|0)<(u|0)?u:n;if((v|0)==(IN(c[e+68>>2]|0,k,a[r>>0]|0)|0)){t=w+1|0;w=t;q=(q|0)<(t|0)?t:q;t=4;break}else{w=1;v=IN(c[e+68>>2]|0,k,a[r>>0]|0)|0;t=4;break}}w=1;v=IN(c[e+68>>2]|0,k,a[r>>0]|0)|0;t=1;u=1}while(0);A=r;r=r+1|0;k=k+(a[A>>0]|0)|0}while((a[k>>0]|0)!=0);if((t|0)==2|(t|0)==1){m=m+1|0;s=x;break}else if((t|0)==3){j=j+1|0;s=x;break}else{s=x;break}}else{o=0;m=0;j=0;s=0;r=g;q=0;p=0;n=0;l=0;g=0;h=0}while(0);if(a[d+7842>>0]|0)g=h+g-j|0;do if(((a[d+7794>>0]|0)!=0&(s|0)>3?(g-m<<1|0)>(s|0):0)?(q|0)<(c[d+7908>>2]|0):0){if((a[d+7810>>0]|0)!=0?(yw(d,c[e+68>>2]|0,k,r)|0)!=0:0){g=0;break}if((p|0)<=(c[d+7860>>2]|0)?(n|0)<=(c[d+7884>>2]|0):0)y=41;else g=0}else y=41;while(0);do if((y|0)==41){if((b[e+216>>1]|0)>1?(FEa(k,32)|0)==0:0){A=a[(c[e+140>>2]|0)+52>>0]|0;if(A<<24>>24==6|A<<24>>24==10|A<<24>>24==11|A<<24>>24==8){g=1;break}if((yw(d,c[e+68>>2]|0,k,r)|0)!=0|f<<24>>24!=0){g=1;break}}g=s-o-l-j-m|0;if((c[d+7932>>2]|0)>3){c[z>>2]=VM(c[(jk(c[e+140>>2]|0)|0)>>2]|0)|0;jN(33696,z);c[z>>2]=s;c[z+4>>2]=o;c[z+8>>2]=j;c[z+12>>2]=m;c[z+16>>2]=l;jN(33720,z)}if((l|o|0)==0?(s|0)>(m+j|0)|(s|0)<3:0){g=1;break}if((l|0)<=(g|0)){if((l|0)>0?(l+o<<1|0)>(s|0):0){g=3;break}g=(l<<1)+o|0;if((s|0)<=4){i=z;return (((g|0)<3|(s+-3|0)>>>0>1)&(g|0)<(s|0)?1:2)|0}A=j+g+m|0;if((A|0)<=5?!(+(A|0)/+(s|0)>.5):0)g=1;else g=2}else g=3}while(0);i=z;return g|0}function Py(d,e,f){d=d|0;e=e|0;f=f|0;var j=0,k=0.0,l=0,m=0,n=0,o=0;m=i;i=i+16|0;if((SM(jk(c[e+140>>2]|0)|0)|0)!=0?(j=LEa(VM(c[(jk(c[e+140>>2]|0)|0)>>2]|0)|0,1701816)|0,(j|0)!=(SM(jk(c[e+140>>2]|0)|0)|0)):0){n=b[e+216>>1]|0;o=c[d+7748>>2]|0;j=c[e+140>>2]|0;k=+g[j+36>>2]/+(((n|0)>(o|0)?o:n)|0);if(!(k>+h[d+7200>>3]))if(!((a[d+7234>>0]|0)!=0&(f|0)==3))if(!((f|0)!=1?+g[j+40>>2]<+h[d+7256>>3]:0))if((f|0)!=1?k>+h[d+7296>>3]:0){j=5;l=7}else j=0;else{j=4;l=7}else{j=3;l=7}else{j=2;l=7}}else{j=1;l=7}if((l|0)==7)if((c[d+7932>>2]|0)>2){o=VM(c[(jk(c[e+140>>2]|0)|0)>>2]|0)|0;c[m>>2]=j;c[m+4>>2]=o;jN(33480,m);j=1}else j=1;i=m;return j|0}function Qy(d,e,f,j){d=d|0;e=e|0;f=f|0;j=j|0;var k=0,l=0,m=0,n=0;n=i;i=i+16|0;k=VM(c[(jk(c[e+140>>2]|0)|0)>>2]|0)|0;l=VM(c[(lk(c[e+140>>2]|0)|0)>>2]|0)|0;if((a[d+7826>>0]|0)!=0?(b[e+216>>1]|0)>=3:0)l=(yw(d,c[e+68>>2]|0,k,l)|0)==0&j<<24>>24==0;else l=1;j=b[e+216>>1]|0;k=c[e+140>>2]|0;if(+g[k+36>>2]/(j<<16>>16>10?10.0:+(j<<16>>16))>+h[d+7336>>3])if((c[d+7932>>2]|0)>2){c[n>>2]=VM(c[(jk(k)|0)>>2]|0)|0;jN(33520,n);k=1}else k=1;else k=0;if(l?(m=c[e+140>>2]|0,+g[m+40>>2]<+h[d+7376>>3]):0){if((c[d+7932>>2]|0)>2){c[n>>2]=VM(c[(jk(m)|0)>>2]|0)|0;jN(33552,n)}k=k+1|0}if((f|0)!=1){if((c[d+7932>>2]|0)>2){c[n>>2]=VM(c[(jk(c[e+140>>2]|0)|0)>>2]|0)|0;jN(33584,n)}k=k+1|0}i=n;return (k|0)>=(c[d+7772>>2]|0)|0}function Ry(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,j=0,k=0,l=0,m=0,n=0,o=0.0;n=i;i=i+16|0;m=b[d+216>>1]|0;b[n+8>>1]=32767;b[n+10>>1]=32767;b[n+12>>1]=-32767;b[n+14>>1]=-32767;do if(c[d+240>>2]|0){if(!(m<<16>>16)){b[e>>1]=1;f=3;break}f=c[d+156>>2]|0;if(f){Vba(n,f);f=c[n>>2]|0;j=c[n+4>>2]|0;c[n+8>>2]=f;c[n+12>>2]=j;o=+((ll(n+8|0)|0)<<16>>16);if(o<+h[a+7512>>3]*128.0){b[e>>1]=4;f=3;break}l=UGa(f|0,j|0,16)|0;f=UGa(f|0,j|0,48)|0;if(!((Sy(+h[a+7712>>3],c[d+156>>2]|0)|0)<<24>>24)){k=f&65535;j=l&65535}else{b[e>>1]=5;f=3;break}}else{k=-32767;j=32767}if(+((Ty(c[d+140>>2]|0)|0)<<16>>16)*1.5>+(m<<16>>16)){b[e>>1]=2;f=2;break}f=c[d+140>>2]|0;if(+g[f+40>>2]<+h[a+7472>>3]){b[e>>1]=7;f=2;break}if(+g[f+36>>2]/+(m<<16>>16)>+h[a+7432>>3]){b[e>>1]=8;f=2;break}if(+(k<<16>>16)<64.0-+h[a+7672>>3]*128.0){b[e>>1]=9;f=2;break}if(+(j<<16>>16)>+h[a+7632>>3]*128.0+64.0){b[e>>1]=10;f=2;break}o=+((ll(n+8|0)|0)<<16>>16);if(o>+h[a+7552>>3]*128.0){b[e>>1]=11;f=2;break}o=+((kl(n+8|0)|0)<<16>>16);if(o<+h[a+7592>>3]*128.0){b[e>>1]=3;f=2;break}else{b[e>>1]=0;f=0;break}}else{b[e>>1]=0;f=0}while(0);i=n;return f|0}function Sy(a,d){a=+a;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;j=i;i=i+16|0;b[j>>1]=32767;b[j+2>>1]=32767;b[j+4>>1]=-32767;b[j+6>>1]=-32767;if((c[d>>2]|0)>0){h=0;f=0;e=0;do{g=c[c[(Vy(d,h)|0)>>2]>>2]|0;if(g)do{f=f+1<<16>>16;zba(j,g);l=ll(j)|0;k=kl(j)|0;e=(+((l<<16>>16>k<<16>>16?l:k)<<16>>16)>16;g=c[g+20>>2]|0}while((g|0)!=0);h=h+1|0}while((h|0)<(c[d>>2]|0))}else{f=0;e=0}i=j;return e<<16>>16>=f<<16>>16|0}function Ty(b){b=b|0;var d=0,e=0;e=VM(c[(jk(b)|0)>>2]|0)|0;b=0;while(1){d=a[e>>0]|0;if(!(d<<24>>24))break;else if(d<<24>>24==32)b=b+1|0;e=e+1|0}return b&65535|0}function Uy(a,c){a=a|0;c=c|0;b[a+4>>1]=(b[a+4>>1]|0)+1<<16>>16;return}function Vy(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function Wy(a,d){a=a|0;d=d|0;if(!((oja(kk((c[a>>2]|0)+212|0,d&65535)|0)|0)<<24>>24))b[a+6>>1]=(b[a+6>>1]|0)+1<<16>>16;b[a+4>>1]=(b[a+4>>1]|0)+1<<16>>16;return}function Xy(a,b){a=a|0;b=b|0;if((pja(kk((c[a>>2]|0)+212|0,b&65535)|0)|0)<<24>>24)yja(kk((c[a>>2]|0)+212|0,b&65535)|0);return}function Yy(a,b,c){a=a|0;b=b|0;c=c|0;return az(a,IN(a,b,c)|0)|0}function Zy(a){a=a|0;return}function _y(a){a=a|0;YEa(a);return}function $y(a,b){a=a|0;b=b|0;var e=0,f=0;e=d[a+8>>0]|d[a+9>>0]<<8|d[a+10>>0]<<16|d[a+11>>0]<<24;f=d[a+12>>0]|d[a+13>>0]<<8|d[a+14>>0]<<16|d[a+15>>0]<<24;a=(c[a+4>>2]|0)+(f>>1)|0;if(f&1)e=c[(c[a>>2]|0)+e>>2]|0;Rc[e&63](a,b);return}function az(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if((d|0)==-1)b=0;else{if(!(ay(b,d)|0)){c[e>>2]=373648;c[e+4>>2]=472;$L(33056,373616,2,1702e3,e)}b=(a[(c[b>>2]|0)+(d*112|0)+35>>0]|0)!=0}i=e;return b|0}function bz(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;E$(a);c[a>>2]=34368;Qz(a+24|0);d=(d|0)==0?34384:d;c[a+8>>2]=0;c[a+4>>2]=0;c[a+44>>2]=0;c[a+48>>2]=0;f=WEa(13e3)|0;hJ(f);c[a+4>>2]=f;if(Rz(f,b,d)|0){c[e>>2]=d;c[e+4>>2]=b;jN(34392,e);d=c[a+4>>2]|0;if(d)Qc[c[(c[d>>2]|0)+4>>2]&511](d);c[a+4>>2]=0}c[a+20>>2]=0;i=e;return}function cz(a){a=a|0;var b=0;c[a>>2]=34368;b=c[a+4>>2]|0;if(b)Qc[c[(c[b>>2]|0)+4>>2]&511](b);b=c[a+20>>2]|0;if(b)YEa(b);Sz(a+24|0);return}function dz(a){a=a|0;cz(a);YEa(a);return}function ez(a,b){a=a|0;b=b|0;c[a+8>>2]=b;return}function fz(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+64|0;if(!b){jN(34472,e);a=-1}else{Tz(e+32|0);Uz(e+32|0,b+4|0);Uz(e+32|0,b+20|0);b=c[e+32>>2]|0;if((b|0)>0){a=c[e+40>>2]|0;d=0;do{pk(e+4|0,c[(Vz(b,a,d)|0)>>2]|0);rk(e+4|0);while(1){if(sk(e+4|0)|0)break;c[(tk(e+4|0)|0)+88>>2]=0;OL(e+4|0)|0}d=d+1|0}while((d|0)<(b|0))}Wz(e+32|0);a=0}i=e;return a|0}function gz(a,d,e){a=a|0;d=d|0;e=e|0;var f=0.0,h=0.0,j=0,k=0,l=0,m=0,n=0.0;m=i;i=i+80|0;if(!d){c[m>>2]=34536;c[m+4>>2]=167;$L(33920,34512,2,1702e3,m)}if(((ll(d+8|0)|0)<<16>>16|0)<(e|0)&(e|0)>0)c[d+88>>2]=0;else{c[m+68>>2]=0;c[m+64>>2]=0;e=Bba(0,c[d+4>>2]|0)|0;Eba(m+72|0,c[e>>2]|0);h=128.0/+((ll(m+72|0)|0)<<16>>16);n=+((b[m+76>>1]|0)+(b[m+72>>1]|0)|0)*.5;f=+(b[m+74>>1]|0);k=WEa(56)|0;Xz(k,e);Fba(k,0,0,0,n,f,h,h,64.0,0,0);jpa(c[a+4>>2]|0,k,m+68|0);jpa(c[a+8>>2]|0,k,m+64|0);Bk(k);YEa(k);if(e){Bk(e);YEa(e)}if((NL(m+64|0)|0)>0){pk(m+36|0,m+64|0);k=tk(m+36|0)|0}else k=0;if((NL(m+68|0)|0)>0){pk(m+8|0,m+68|0);e=tk(m+8|0)|0}else e=0;j=(k|0)!=0;if(j)h=+g[k+36>>2];else h=-3402823466385288598117041.0e14;if(!e)f=-3402823466385288598117041.0e14;else f=+g[e+36>>2];if(!(+eGa(h,f)<-5.0)){e=+Q(+(h-f))>1.7999999523162842&f>h;if(e|j^1)e=e?3:0;else e=hz((c[a+8>>2]|0)+184|0,c[k+4>>2]|0)|0;if(!e)if(!(c[(Ex((c[a+8>>2]|0)+1996|0,b[k+28>>1]|0)|0)+4>>2]&1)){e=0;l=21}else c[d+88>>2]=1;else l=21}else{e=4;l=21}if((l|0)==21)c[d+88>>2]=e;KL(m+64|0,229);KL(m+68|0,229)}i=m;return}function hz(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;PM(g,MN(b,d)|0);do if(Yz(b,d)|0)e=0;else{if(!(Zz(b,d)|0)){if((a[34736]|0)==0?(Ia(34736)|0)!=0:0){PM(34728,52968);ib(34736)}if(az(b,d)|0){e=2;break}if((SM(g)|0)==1?(b=XM(c[g>>2]|0,0)|0,(UM(c[8682]|0,a[b>>0]|0)|0)<<24>>24!=0):0){e=2;break}e=3;break}if((a[34592]|0)==0?(Ia(34592)|0)!=0:0){Ek(34568);ib(34592)}if(!(c[8642]|0)){if((a[34656]|0)==0?(Ia(34656)|0)!=0:0){PM(34600,34664);PM(34604,34672);PM(34608,362272);PM(34612,62752);PM(34616,364960);PM(34620,1717208);PM(34624,34680);PM(34628,34688);PM(34632,34696);PM(34636,34704);PM(34640,34712);PM(34644,34720);PM(34648,1714496);ib(34656);f=0}else f=0;while(1){e=34600+(f<<2)|0;if(!(($M(e,1714496)|0)<<24>>24))break;zv(34568,HN(b,VM(c[e>>2]|0)|0)|0);f=f+1|0}$z(c[8642]|0,c[8644]|0)}e=aA(d)|0;e=e?0:3}while(0);RM(c[g>>2]|0);i=g;return e|0}function iz(b){b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+160|0;d=c[b+4>>2]|0;a[d+938>>0]=1;a[d+954>>0]=0;d=c[b+8>>2]|0;e=c[d+1900>>2]|0;f=c[d+1948>>2]|0;c[d+1900>>2]=0;c[d+1948>>2]=0;bA(g+56|0,c[b+12>>2]|0);cA(g+56|0);while(1){d=dA(g+56|0)|0;if(!d)break;if(!(eA(c[d+72>>2]|0)|0))continue;jz(d);fA(g+24|0,d+76|0);Ek(g+4|0);gA(g+24|0);while(1){if((hA(g+24|0)|0)<<24>>24)break;if((c[(iA(g+24|0)|0)+88>>2]|0)!=5)zv(g+4|0,(ll((iA(g+24|0)|0)+8|0)|0)<<16>>16);DL(g+24|0)|0}d=c[g+4>>2]|0;$z(d,c[g+12>>2]|0);d=((c[(Ik(g+4|0,(d|0)/2|0)|0)>>2]|0)/3|0)<<1;gA(g+24|0);while(1){if((hA(g+24|0)|0)<<24>>24)break;if((c[(iA(g+24|0)|0)+88>>2]|0)!=5)gz(b,iA(g+24|0)|0,d);DL(g+24|0)|0}Jk(g+4|0)}d=c[b+8>>2]|0;c[d+1900>>2]=e;c[d+1948>>2]=f;if(a[34138]|0){NM(g);kz(b,34744,g);lz(b,g);RM(c[g>>2]|0)}jA(g+140|0);i=g;return}function jz(a){a=a|0;var d=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;m=i;i=i+80|0;if(!a){c[m+8>>2]=34536;c[m+12>>2]=326;$L(33920,34752,2,1702e3,m+8|0)}fA(m+44|0,a+76|0);gA(m+44|0);if(!((hA(m+44|0)|0)<<24>>24))do{if(c[(iA(m+44|0)|0)+24>>2]&1073741824){c[m+8>>2]=34536;c[m+12>>2]=331;$L(33920,34760,2,1702e3,m+8|0)}DL(m+44|0)|0}while((hA(m+44|0)|0)<<24>>24==0);gA(m+44|0);if(!((hA(m+44|0)|0)<<24>>24))do{d=iA(m+44|0)|0;do if(((c[d+24>>2]&1073741824|0)==0?(c[d+88>>2]|0)!=5:0)?(k=e[d+12>>1]|e[d+14>>1]<<16,c[m>>2]=e[d+8>>1]|e[d+10>>1]<<16,c[m+4>>2]=k,c[m+16>>2]=c[m+44>>2],c[m+20>>2]=c[m+48>>2],c[m+24>>2]=c[m+52>>2],c[m+28>>2]=c[m+56>>2],c[m+32>>2]=c[m+60>>2],c[m+36>>2]=c[m+64>>2],c[m+40>>2]=c[m+68>>2],(kA(m+16|0)|0)<<24>>24==0):0){a=k;j=0;a:while(1){while(1){f=DL(m+16|0)|0;if((b[f+8>>1]|0)>=(a&65535)<<16>>16){l=22;break a}g=vx(m,f+8|0)|0;if((b[f+10>>1]|0)>(a>>>16&65535)<<16>>16)h=0;else h=(b[f+14>>1]|0)>=(b[m+2>>1]|0);p=kl(f+8|0)|0;q=kl(m)|0;n=ll(f+8|0)|0;o=ll(m)|0;if(g?h&+((p<<16>>16>q<<16>>16?q:p)<<16>>16)/+((p<<16>>16>16?q:p)<<16>>16)>.4000000059604645&+((n<<16>>16>o<<16>>16?o:n)<<16>>16)/+((n<<16>>16>16?o:n)<<16>>16)>.30000001192092896:0)break;if((kA(m+16|0)|0)<<24>>24){l=22;break a}}c[f+88>>2]=5;bja(m,f+8|0);if((kA(m+16|0)|0)<<24>>24)break;a=c[m+4>>2]|0;j=1}if((l|0)==22?(l=0,!j):0)break;c[d+88>>2]=5}while(0);DL(m+44|0)|0}while((hA(m+44|0)|0)<<24>>24==0);i=m;return}function kz(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+96|0;if(!((d|0)!=0&(b|0)!=0)){c[e>>2]=34536;c[e+4>>2]=1479;$L(33920,35208,2,1702e3,e)}c[e>>2]=c[a+48>>2];wGa(e+36|0,50,35232,e)|0;OM(e+8|0,(c[a+8>>2]|0)+8|0);PM(e+16|0,e+36|0);gN(e+12|0,e+8|0,e+16|0);PM(e+20|0,b);gN(e+28|0,e+12|0,e+20|0);PM(e+32|0,54808);gN(e+24|0,e+28|0,e+32|0);aN(d,e+24|0);RM(c[e+24>>2]|0);RM(c[e+32>>2]|0);RM(c[e+28>>2]|0);RM(c[e+20>>2]|0);RM(c[e+12>>2]|0);RM(c[e+16>>2]|0);RM(c[e+8>>2]|0);i=e;return}function lz(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+144|0;c[d+136>>2]=0;c[d+136>>2]=rr(c[(c[a+8>>2]|0)+10280>>2]|0)|0;bA(d+32|0,c[a+12>>2]|0);cA(d+32|0);a:while(1){a=dA(d+32|0)|0;if(!a)break;fA(d,a+76|0);gA(d);while(1){if((hA(d)|0)<<24>>24)continue a;a=c[d+136>>2]|0;H$(a,iA(d)|0);DL(d)|0}}b=VM(c[b>>2]|0)|0;Ou(b,c[d+136>>2]|0,9);cp(d+136|0);jA(d+116|0);i=d;return}function mz(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+32|0;do if((c[b+4>>2]|0)!=0?(c[b+8>>2]|0)!=0:0){if(!((d|0)!=0&(e|0)!=0)){jN(34856,g);e=-1;break}Sz(b+24|0);c[b+12>>2]=d;c[b+16>>2]=e;c[b+44>>2]=c[(c[b+8>>2]|0)+10296>>2];NM(g+24|0);c[b+48>>2]=(c[b+48>>2]|0)+1;if(a[34066]|0){kz(b,34896,g+24|0);d=VM(c[g+24>>2]|0)|0;Ou(d,c[(c[b+8>>2]|0)+10280>>2]|0,8)}iz(b);nz(b);oz(b);pz(b);if(a[34218]|0){kz(b,34904,g+24|0);qz(b,g+24|0)}while(1){if(!(c[b+24>>2]|0))break;Qz(g+4|0);if((c[b+24>>2]|0)>0){e=0;do{if(rz(b,c[(lA(b+24|0,e)|0)>>2]|0)|0)mA(g+4|0,c[(lA(b+24|0,e)|0)>>2]|0);e=e+1|0}while((e|0)<(c[b+24>>2]|0))}if((c[g+4>>2]|0)>0){e=0;do{sz(b,c[(lA(g+4|0,e)|0)>>2]|0);e=e+1|0}while((e|0)<(c[g+4>>2]|0))}nA(b+24|0,g+4|0);Sz(g+4|0)}tz(b);if(a[34290]|0){kz(b,34912,g+24|0);qz(b,g+24|0)}RM(c[g+24>>2]|0);e=0}else f=3;while(0);if((f|0)==3){jN(34800,g);e=-1}i=g;return e|0}function nz(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+160|0;while(1){Qz(e+136|0);bA(e+32|0,c[a+12>>2]|0);cA(e+32|0);while(1){b=dA(e+32|0)|0;if(!b)break;if(!(eA(c[b+72>>2]|0)|0))continue;Qz(e+8|0);uz(a,b,e+8|0);if(c[e+8>>2]|0){oA(c[a+12>>2]|0,b);if((c[e+8>>2]|0)>0){d=0;do{if(!((c[(lA(e+8|0,d)|0)>>2]|0)!=0?(c[(lA(e+8|0,d)|0)>>2]|0)!=(b|0):0)){c[e>>2]=34536;c[e+4>>2]=459;$L(33920,34920,2,1702e3,e)}FY(b,c[(lA(e+8|0,d)|0)>>2]|0,0);d=d+1|0}while((d|0)<(c[e+8>>2]|0))}pA(e+32|0);mA(e+136|0,b)}Sz(e+8|0)}b=c[e+136>>2]|0;if(!b)break;if((b|0)>0){d=0;do{sz(a,c[(lA(e+136|0,d)|0)>>2]|0);d=d+1|0}while((d|0)<(b|0))}jA(e+116|0);Sz(e+136|0)}jA(e+116|0);Sz(e+136|0);i=e;return}function oz(a){a=a|0;var d=0,e=0,f=0,h=0.0,j=0,k=0;k=i;i=i+192|0;bA(k+80|0,c[a+12>>2]|0);cA(k+80|0);Qz(k+60|0);Qz(k+40|0);Ek(k+20|0);qA(k);while(1){e=dA(k+80|0)|0;if(!e)break;if(!(eA(c[e+72>>2]|0)|0))continue;CY(e);d=vz(e)|0;if(!((wz(.25,e)|0)^1|d^1)){mA(k+60|0,e);continue}f=xz(a,e)|0;if(!((f&-3|0)==1^1|d^1)?wz(.10000000149011612,e)|0:0){mA(k+40|0,e);continue}if((f&-2|0)==2)continue;if((CL(e+76|0)|0)<=20)continue;if((f&-3|0)==1)zv(k+20|0,b[e+16>>1]|0);sA(k,+yz(c[(c[a+8>>2]|0)+10280>>2]|0,e+16|0))}$z(c[k+20>>2]|0,c[k+28>>2]|0);d=c[k>>2]|0;uA(d,c[k+8>>2]|0,23);if(!d)h=.15000000596046448;else h=+g[(vA(k,(d|0)/2|0)|0)>>2]*.8;f=c[k+60>>2]|0;if((f|0)>0){d=0;do{e=c[(lA(k+60|0,d)|0)>>2]|0;do if(zz(a,h,c[(lA(k+60|0,d)|0)>>2]|0)|0){if(((xz(a,c[(lA(k+60|0,d)|0)>>2]|0)|0)&-3|0)==1?(Az(a,k+20|0,b[e+16>>1]|0)|0)>0:0){j=24;break}c[(c[(lA(k+60|0,d)|0)>>2]|0)+72>>2]=4;mA(a+24|0,c[(lA(k+60|0,d)|0)>>2]|0)}else j=24;while(0);if((j|0)==24){j=0;c[(c[(lA(k+60|0,d)|0)>>2]|0)+72>>2]=5}d=d+1|0}while((d|0)<(f|0))}d=c[k+40>>2]|0;if((d|0)>0){e=0;do{if(Bz(a,k+20|0,h,c[(lA(k+40|0,e)|0)>>2]|0)|0){c[(c[(lA(k+40|0,e)|0)>>2]|0)+72>>2]=4;mA(a+24|0,c[(lA(k+40|0,e)|0)>>2]|0)}e=e+1|0}while((e|0)<(d|0))}rA(k);Jk(k+20|0);Sz(k+40|0);Sz(k+60|0);jA(k+164|0);i=k;return}function pz(a){a=a|0;var b=0;Dz(a);Ez(a);b=Fz(c[a+12>>2]|0)|0;Gz(a,1,b);Gz(a,0,b);return}function qz(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;g=i;i=i+128|0;f=c[a+8>>2]|0;e=c[f+10288>>2]|0;if(!e)e=c[f+10280>>2]|0;c[g+112>>2]=rr(e)|0;bA(g+8|0,c[a+12>>2]|0);cA(g+8|0);while(1){e=dA(g+8|0)|0;if(!e)break;h=b[e+16>>1]|0;f=up(c[g+112>>2]|0)|0;f=f-(b[e+22>>1]|0)|0;a=kl(e+16|0)|0;a=Fl(h<<16>>16,f,a<<16>>16,(ll(e+16|0)|0)<<16>>16)|0;c[g>>2]=a;f=c[e+72>>2]|0;do if((f|0)!=4){e=c[g+112>>2]|0;if((f|0)==5){Nn(e,a,5,0,-1,0);break}else{Nn(e,a,5,0,0,-1);break}}else Nn(c[g+112>>2]|0,a,5,-1,0,0);while(0);Kl(g)}h=VM(c[d>>2]|0)|0;Ou(h,c[g+112>>2]|0,9);cp(g+112|0);jA(g+92|0);i=g;return} -function j0(d,f,g,h,j){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0;_=i;i=i+480|0;Z=up(d)|0;d0(d,_+440|0,_+428|0);X=Sl(c[_+440>>2]|0)|0;if((X|0)>0){Y=0;do{Vl(c[_+440>>2]|0,Y,_+248|0,_+288|0,_+432|0,_+436|0);c[_+284>>2]=Mq(c[_+428>>2]|0,Y)|0;V=c[_+248>>2]|0;t=Z-(c[_+288>>2]|0)|0;$ia(_+216|0,V&65535,t-(c[_+436>>2]|0)&65535,(c[_+432>>2]|0)+V&65535,t&65535);wD(_+216|0,f);bA(_+296|0,h);a[_+340>>0]=1;c[_+280>>2]=0;t=c[_+284>>2]|0;V=YX(_+216|0,3)|0;Lk(_+184|0,_+280|0);nZ(_+184|0,V);EX(_+296|0,_+216|0);do{d=FX(_+296|0)|0;if(!d)break;U=e[d+16>>1]|e[d+18>>1]<<16;u=e[d+20>>1]|e[d+22>>1]<<16;c[_+32>>2]=U;c[_+36>>2]=u;V=sP(_+32|0,_+216|0)|0;k=c[d+52>>2]|0;v=UGa(U|0,u|0,48)|0;u=UGa(U|0,u|0,16)|0;a:do if(V){if((k|0)>2){DZ(_+184|0);while(1){if((uZ(_+184|0)|0)<<24>>24)break a;d=hv(_+184|0)|0;lY(d);if(d){cY(d);YEa(d)}VL(_+184|0)}}}else if((k|0)==4){cja(_+24|0,_+32|0,_+216|0);V=c[_+28>>2]|0;c[_+64>>2]=c[_+24>>2];c[_+68>>2]=V;V=h0(_+64|0,_+216|0,g,t)|0;if((V<<1|0)>=(Jv(_+32|0)|0)?sP(_+216|0,_+32|0)|0:0){c[d+52>>2]=5;break}if((c[d+48>>2]|0)==6)d=kl(_+32|0)|0;else d=ll(_+32|0)|0;p=(d<<16>>16|0)/2|0;b[_+38>>1]=v+p;b[_+34>>1]=u-p;if(!(c[_+280>>2]|0)){c[_+72>>2]=327128;c[_+76>>2]=644;$L(326816,327424,2,1702e3,_+72|0)}Lk(_+400|0,_+280|0);do{d=Ok(_+400|0)|0;l=e[d+16>>1]|e[d+18>>1]<<16;m=e[d+20>>1]|e[d+22>>1]<<16;c[_+232>>2]=l;c[_+236>>2]=m;V=DD(_+232|0,_+32|0)|0;n=UGa(l|0,m|0,48)|0;o=UGa(l|0,m|0,16)|0;if(V){if((v+p&65535)<<16>>16<(n&65535)<<16>>16?(c[_+40>>2]=l,c[_+44>>2]=m,b[_+42>>1]=v+p,V=c[_+44>>2]|0,c[_>>2]=c[_+40>>2],c[_+4>>2]=V,(h0(_,_+216|0,g,t)|0)>0):0){o0(f,g,_+216|0,t,_+40|0);Nv(_+400|0,YX(_+40|0,4)|0)}k=c[_+32>>2]|0;if((k&65535)<<16>>16>(l&65535)<<16>>16){c[_+56>>2]=l;c[_+60>>2]=m;b[_+60>>1]=k;if((v+p&65535)<<16>>16<(n&65535)<<16>>16)b[_+62>>1]=v+p;if((k>>>16&65535)<<16>>16>(o&65535)<<16>>16)b[_+58>>1]=k>>>16;V=c[_+60>>2]|0;c[_+8>>2]=c[_+56>>2];c[_+12>>2]=V;if((h0(_+8|0,_+216|0,g,t)|0)>0){o0(f,g,_+216|0,t,_+56|0);Nv(_+400|0,YX(_+56|0,4)|0)}}k=c[_+36>>2]|0;do if((k&65535)<<16>>16<(m&65535)<<16>>16){c[_+48>>2]=l;c[_+52>>2]=m;b[_+48>>1]=k;if((k>>>16&65535)<<16>>16<(n&65535)<<16>>16)b[_+54>>1]=k>>>16;if((u-p&65535)<<16>>16>(o&65535)<<16>>16)b[_+50>>1]=u-p;V=c[_+52>>2]|0;c[_+16>>2]=c[_+48>>2];c[_+20>>2]=V;if((h0(_+16|0,_+216|0,g,t)|0)<=0)break;o0(f,g,_+216|0,t,_+48|0);Nv(_+400|0,YX(_+48|0,4)|0)}while(0);if((u-p&65535)<<16>>16>(o&65535)<<16>>16?(c[_+240>>2]=l,c[_+244>>2]=m,b[_+246>>1]=u-p,V=c[_+244>>2]|0,c[_+224>>2]=c[_+240>>2],c[_+228>>2]=V,(h0(_+224|0,_+216|0,g,t)|0)>0):0){o0(f,g,_+216|0,t,_+240|0);Nv(_+400|0,YX(_+240|0,4)|0)}lY(d);d=hv(_+400|0)|0;if(d){cY(d);YEa(d)}}VL(_+400|0)}while((Mv(_+400|0)|0)<<24>>24==0)}while(0)}while((c[_+280>>2]|0)!=0);if(c[81741]|0){Ou(327160,c[_+284>>2]|0,3);c[_+72>>2]=UL(_+280|0)|0;jN(327184,_+72|0)}cp(_+284|0);b:do if(c[_+280>>2]|0){Lk(_+252|0,_+280|0);V=c[_+280>>2]|0;if((V|0)!=0?(V|0)==(c[V+4>>2]|0):0){q=hv(_+252|0)|0;o=c[_+216>>2]|0;Q=c[_+220>>2]|0;c[_+176>>2]=o;c[_+180>>2]=Q;c[_+32>>2]=0;$ia(_+24|0,b[h+20>>1]|0,b[h+22>>1]|0,b[h+24>>1]|0,b[h+26>>1]|0);c[_+64>>2]=o;c[_+68>>2]=Q;v=UGa(o|0,Q|0,16)|0;t=UGa(o|0,Q|0,48)|0;S=b[_+24>>1]|0;T=b[_+28>>1]|0;U=b[_+30>>1]|0;V=b[_+26>>1]|0;R=Q;t=t&65535;v=v&65535;u=0;while(1){b[_+448>>1]=32767;b[_+450>>1]=32767;b[_+452>>1]=-32767;b[_+454>>1]=-32767;b[_+456>>1]=32767;b[_+458>>1]=32767;b[_+460>>1]=-32767;b[_+462>>1]=-32767;b[_+464>>1]=32767;b[_+466>>1]=32767;b[_+468>>1]=-32767;b[_+470>>1]=-32767;b[_+472>>1]=32767;b[_+474>>1]=32767;b[_+476>>1]=-32767;b[_+478>>1]=-32767;M=o&65535;N=o>>>16&65535;O=R&65535;P=R>>>16&65535;H=v;s=t;d=v;w=t;x=v;y=t;l=R;E=v;F=v;k=t;J=R;p=R;n=R;m=R;G=R;C=v;I=R;B=v;D=v;z=-1;A=0;L=0;while(1){if(!(a[_+32+L>>0]|0)){K=_+448+(L<<3)|0;b[K>>1]=o;b[K+2>>1]=o>>>16;b[K+4>>1]=Q;b[K+6>>1]=Q>>>16;if(!L){bA(_+72|0,h);JA(_+72|0,M<<16>>16,H<<16>>16,s<<16>>16);while(1){v=KA(_+72|0,1)|0;if(!v){v=S<<16>>16;break}if(((c[v+52>>2]|0)+-3|0)>>>0>=2)continue;t=b[v+18>>1]|0;H=b[v+22>>1]|0;if((((t<<16>>16>16?d:t)<<16>>16)-((H<<16>>16>w<<16>>16?w:H)<<16>>16)|0)<0){W=60;break}}c:do if((W|0)==60){v=b[v+20>>1]|0;v=(v<<16>>16>S<<16>>16?v<<16>>16>16:0)?v<<16>>16:S<<16>>16;$ia(_+184|0,v&65535,d,M,w);EX(_+72|0,_+184|0);while(1){while(1){t=FX(_+72|0)|0;if(!t){x=N;d=N;w=y;break c}if(((c[t+52>>2]|0)+-3|0)>>>0>=2)continue;H=b[t+18>>1]|0;W=b[t+22>>1]|0;if((((H<<16>>16>16?x:H)<<16>>16)-((W<<16>>16>y<<16>>16?y:W)<<16>>16)|0)<0)break}W=b[t+20>>1]|0;v=((W<<16>>16|0)>(v|0)?W<<16>>16>16:0)?W<<16>>16:v}}while(0);jA(_+156|0);b[K>>1]=v;t=I;r=J;s=w;v=d;W=100}else if((L|0)==2){bA(_+72|0,h);JA(_+72|0,l<<16>>16,E<<16>>16,l>>16);while(1){v=KA(_+72|0,0)|0;if(!v){v=T<<16>>16;t=I;s=G;r=J;w=k;d=F;break}if(((c[v+52>>2]|0)+-3|0)>>>0>=2)continue;E=b[v+18>>1]|0;H=b[v+22>>1]|0;if((((E<<16>>16>16?F:E)<<16>>16)-((H<<16>>16>k<<16>>16?k:H)<<16>>16)|0)<0){W=71;break}}d:do if((W|0)==71){v=b[v+16>>1]|0;v=(v<<16>>16>16?v<<16>>16>O<<16>>16:0)?v<<16>>16:T<<16>>16;$ia(_+184|0,M,F,v&65535,k);EX(_+72|0,_+184|0);while(1){while(1){t=FX(_+72|0)|0;if(!t){t=R;s=R;r=R;p=R;n=R;m=R;w=P;l=R;d=N;break d}if(((c[t+52>>2]|0)+-3|0)>>>0>=2)continue;J=b[t+18>>1]|0;W=b[t+22>>1]|0;if((((J<<16>>16>16?N:J)<<16>>16)-((W<<16>>16>P<<16>>16?P:W)<<16>>16)|0)<0)break}W=b[t+16>>1]|0;v=((W<<16>>16|0)<(v|0)?W<<16>>16>O<<16>>16:0)?W<<16>>16:v}}while(0);jA(_+156|0);b[_+468>>1]=v;G=s;k=w;F=d;E=d;D=d;B=d;C=d;y=w;x=d;s=w;v=d;W=100}else if((L|0)==3){bA(_+72|0,h);l=J&65535;s=J>>>16&65535;t=p>>>16&65535;r=n>>>16&65535;k=m>>>16&65535;NA(_+72|0,M<<16>>16,J<<16>>16,J>>16);while(1){v=OA(_+72|0,0)|0;if(!v){v=U<<16>>16;break}if(((c[v+52>>2]|0)+-3|0)>>>0>=2)continue;y=b[v+16>>1]|0;H=b[v+20>>1]|0;if((((y<<16>>16>16?M:y)<<16>>16)-((H<<16>>16>l<<16>>16?l:H)<<16>>16)|0)<0){W=82;break}}e:do if((W|0)==82){v=b[v+18>>1]|0;v=(v<<16>>16>16?v<<16>>16>t<<16>>16:0)?v<<16>>16:U<<16>>16;$ia(_+184|0,M,t,l,v&65535);EX(_+72|0,_+184|0);while(1){while(1){t=FX(_+72|0)|0;if(!t){s=r;break e}if(((c[t+52>>2]|0)+-3|0)>>>0>=2)continue;H=b[t+16>>1]|0;W=b[t+20>>1]|0;if((((H<<16>>16>16?M:H)<<16>>16)-((W<<16>>16>l<<16>>16?l:W)<<16>>16)|0)<0)break}W=b[t+18>>1]|0;v=((W<<16>>16|0)<(v|0)?W<<16>>16>r<<16>>16:0)?W<<16>>16:v}}while(0);jA(_+156|0);b[_+478>>1]=v;t=I;r=J;p=J;n=J;m=J;l=J;y=s;x=N;v=N;W=100}else if((L|0)==1){bA(_+72|0,h);l=G>>>16&65535;NA(_+72|0,M<<16>>16,G<<16>>16,C<<16>>16);s=I&65535;w=I>>>16&65535;while(1){v=OA(_+72|0,1)|0;if(!v){v=V<<16>>16;s=B;d=N;break}if(((c[v+52>>2]|0)+-3|0)>>>0>=2)continue;H=b[v+16>>1]|0;J=b[v+20>>1]|0;if((((H<<16>>16>16?M:H)<<16>>16)-((J<<16>>16>s<<16>>16?s:J)<<16>>16)|0)<0){W=93;break}}f:do if((W|0)==93){v=b[v+22>>1]|0;v=(v<<16>>16>V<<16>>16?v<<16>>16>16:0)?v<<16>>16:V<<16>>16;$ia(_+184|0,M,v&65535,s,B);EX(_+72|0,_+184|0);while(1){while(1){t=FX(_+72|0)|0;if(!t){s=D;d=D;break f}if(((c[t+52>>2]|0)+-3|0)>>>0>=2)continue;J=b[t+16>>1]|0;W=b[t+20>>1]|0;if((((J<<16>>16>16?M:J)<<16>>16)-((W<<16>>16>s<<16>>16?s:W)<<16>>16)|0)<0)break}W=b[t+22>>1]|0;v=((W<<16>>16|0)>(v|0)?W<<16>>16>16:0)?W<<16>>16:v}}while(0);jA(_+156|0);b[_+458>>1]=v;t=I;G=I;r=I;p=I;n=I;m=I;k=l;l=I;B=s;C=d;y=w;x=d;s=w;v=d;W=100}else{K=0;t=I;r=J;v=H}if((W|0)==100){W=0;K=Jv(K)|0;K=K-(Jv(_+64|0)|0)|0;w=s;d=v}J=(z|0)<0|(K|0)<(z|0);z=J?K:z;A=J?L:A}else{t=I;r=J;v=H}L=L+1|0;if((L|0)>=4)break;else{H=v;J=r;I=t}}a[_+32+A>>0]=1;p=_+448+(A<<3)|0;o=e[p>>1]|e[p+2>>1]<<16;p=e[p+4>>1]|e[p+6>>1]<<16;c[_+64>>2]=o;c[_+68>>2]=p;u=u+1|0;v=UGa(o|0,p|0,16)|0;n=UGa(o|0,p|0,48)|0;if((u|0)<4){R=p;Q=p;t=n&65535;v=v&65535}else break}c[_+176>>2]=o;c[_+180>>2]=p;while(1){d=q+16|0;r=e[d>>1]|e[d+2>>1]<<16;s=e[d+4>>1]|e[d+6>>1]<<16;c[_+184>>2]=r;c[_+188>>2]=s;if((c[81741]|0)>1){jN(327208,_+72|0);jv(_+184|0);jN(327248,_+72|0);jv(_+176|0)}EX(_+296|0,_+176|0);u=0;v=0;g:while(1){while(1){t=FX(_+296|0)|0;if(!t)break g;do if((c[81741]|0)>1){jN(327264,_+72|0);oY(t);if(sP(_+184|0,t+16|0)|0){jN(327296,_+72|0);break}if(!(sP(_+176|0,t+16|0)|0)){jN(327320,_+72|0);break}if((c[t+52>>2]|0)==4){jN(327344,_+72|0);break}else{jN(327368,_+72|0);break}}while(0);if((c[t+52>>2]&-2|0)==4)continue;p=c[t+48>>2]|0;if((p|0)==4)continue;o=e[t+16>>1]|e[t+18>>1]<<16;n=e[t+20>>1]|e[t+22>>1]<<16;c[_+32>>2]=o;c[_+36>>2]=n;m=UGa(o|0,n|0,16)|0;l=UGa(o|0,n|0,48)|0;if((p|0)==0|(sP(_+176|0,_+32|0)|0)^1)continue;if(sP(_+184|0,_+32|0)|0){DA(_+296|0);n0(t);continue}k=(((o&65535)<<16>>16<(r&65535)<<16>>16?r&65535:o&65535)<<16>>16)-(((n&65535)<<16>>16>(s&65535)<<16>>16?s&65535:n&65535)<<16>>16)|0;k=(k|0)>0?k:0;V=UGa(r|0,s|0,48)|0;V=(((m&65535)<<16>>16<(r>>>16&65535)<<16>>16?r>>>16&65535:m&65535)<<16>>16)-(((l&65535)<<16>>16>(V&65535)<<16>>16?V&65535:l&65535)<<16>>16)|0;V=(V|0)>0?V:0;k=(ba(V,V)|0)+(ba(k,k)|0)|0;if((k|0)>(Jv(_+32|0)|0))continue;if((k|0)<=(Jv(_+184|0)|0))break}V=(v|0)==0|(k|0)<(u|0);u=V?k:u;v=V?t:v}if(!v)break;U=v+16|0;V=e[U+4>>1]|e[U+6>>1]<<16;c[_+24>>2]=e[U>>1]|e[U+2>>1]<<16;c[_+28>>2]=V;if((c[81741]|0)>1){jN(327384,_+72|0);jv(_+184|0);jN(327408,_+72|0);jv(_+24|0)}bja(_+184|0,_+24|0);V=YX(_+184|0,3)|0;n0(q);oA(h,v);n0(v);pA(_+296|0);q=V}Lk(_+252|0,_+280|0);nZ(_+252|0,q);V=e[d+4>>1]|e[d+6>>1]<<16;c[_+216>>2]=e[d>>1]|e[d+2>>1]<<16;c[_+220>>2]=V}bA(_+72|0,h);EX(_+72|0,_+216|0);while(1){d=FX(_+72|0)|0;if(!d)break;if(!(p0(_+216|0,_+280|0,d)|0))continue;if(((c[d+48>>2]|0)+-3|0)>>>0<2){DA(_+72|0);n0(d);continue}else{c[d+52>>2]=1;c[d+48>>2]=0;_X(d);continue}}Lk(_+184|0,j);Mk(_+184|0);while(1){if((Nk(_+184|0)|0)<<24>>24)break;if(p0(_+216|0,_+280|0,Ok(_+184|0)|0)|0)n0(hv(_+184|0)|0);VL(_+184|0)}jA(_+156|0);DZ(_+252|0);while(1){if((uZ(_+252|0)|0)<<24>>24)break b;d=hv(_+252|0)|0;V=e[d+20>>1]|e[d+22>>1]<<16;c[_+216>>2]=e[d+16>>1]|e[d+18>>1]<<16;c[_+220>>2]=V;wA(h,d);if(!((Kv(_+252|0)|0)<<24>>24)){V=ZL(_+252|0,1)|0;DY(d,0,V);DY(V,1,d)}VL(_+252|0)}}while(0);TL(_+280|0,238);jA(_+380|0);Y=Y+1|0}while((Y|0)<(X|0))}Rl(_+440|0);Kq(_+428|0);if(!h){bA(_+72|0,0);cA(_+72|0);while(1){d=dA(_+72|0)|0;if(!d)break;if((c[d+48>>2]|0)!=3)continue;if((kl(d+16|0)|0)<<16>>16>=100?(ll(d+16|0)|0)<<16>>16>=100:0)continue;DA(_+72|0);n0(d)}jA(_+156|0)}i=_;return}function k0(){c[81704]=1701984;c[81706]=389976;c[81708]=390024;c[81710]=390056;c[81712]=390112;c[81714]=390152;c[81716]=390184;c[81718]=390240;c[81720]=390280;c[81722]=390328;c[81724]=390376;c[81726]=390400;c[81728]=390432;c[81730]=390504;c[81732]=390552;c[81734]=390592;c[81736]=390640;rJ(326952,0,326976,327008,0,kM()|0);return}function l0(a,b,d,e,f,g,h,i,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0;l=c[k>>2]|0;a:do if((l|0)==(i|0))l=0;else{m=0;while(1){n=ba(l,b)|0;if((d|0)<(e|0)){o=0;p=d;do{o=((c[a+((p>>5)+n<<2)>>2]&1<<(p&31^31)|0)!=0&1)+o|0;p=p+1|0}while((p|0)!=(e|0))}else o=0;n=(m|0)==0;if(!(n&(o|0)<(f|0))){if(n)c[k>>2]=l;if((o|0)>(h|0)){l=1;break a}if((m|0)<(g|0))m=m+1|0;else{l=0;break a}}else m=0;l=l+j|0;if((l|0)==(i|0)){l=0;break}}}while(0);return l|0}function m0(a,b,d,e,f,g,h,i,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0;l=c[k>>2]|0;a:do if((l|0)==(i|0))a=0;else{r=a+((ba(d,b)|0)<<2)|0;a=0;while(1){if((d|0)<(e|0)){m=l>>5;o=1<<(l&31^31);p=r;n=0;q=d;while(1){n=((c[p+(m<<2)>>2]&o|0)!=0&1)+n|0;q=q+1|0;if((q|0)==(e|0))break;else p=p+(b<<2)|0}}else n=0;m=(a|0)==0;if(!(m&(n|0)<(f|0))){if(m)c[k>>2]=l;if((n|0)>(h|0)){a=1;break a}if((a|0)<(g|0))a=a+1|0;else{a=0;break a}}else a=0;l=l+j|0;if((l|0)==(i|0)){a=0;break}}}while(0);return a|0}function n0(a){a=a|0;if(((c[a+48>>2]|0)+-3|0)>>>0<2)lY(a);else{c[a+52>>2]=1;c[a+48>>2]=0;_X(a);iY(a)}cY(a);YEa(a);return}function o0(a,d,f,g,h){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0;j=i;i=i+32|0;k=e[h+4>>1]|e[h+6>>1]<<16;c[j+8>>2]=e[h>>1]|e[h+2>>1]<<16;c[j+12>>2]=k;wD(j+8|0,d);k=e[f+4>>1]|e[f+6>>1]<<16;c[j>>2]=e[f>>1]|e[f+2>>1]<<16;c[j+4>>2]=k;wD(j,d);d=c[j+8>>2]|0;k=b[j>>1]|0;c[j+28>>2]=(d<<16>>16)-k;l=c[j+12>>2]|0;c[j+24>>2]=(l<<16>>16)-k;f=b[j+6>>1]|0;c[j+20>>2]=f-(l>>16);c[j+16>>2]=f-(d>>16);f0(g,j+28|0,j+20|0,j+24|0,j+16|0)|0;d=f-(c[j+20>>2]|0)|0;f=f-(c[j+16>>2]|0)|0;g=(c[j+24>>2]|0)+k|0;b[j+8>>1]=(c[j+28>>2]|0)+k;b[j+10>>1]=f;b[j+12>>1]=g;b[j+14>>1]=d;wD(j+8|0,a);b[h>>1]=b[j+8>>1]|0;b[h+4>>1]=b[j+12>>1]|0;i=j;return}function p0(a,b,d){a=a|0;b=b|0;d=d|0;var f=0,g=0;f=i;i=i+48|0;do if((c[d+52>>2]|0)<4){g=e[d+20>>1]|e[d+22>>1]<<16;c[f>>2]=e[d+16>>1]|e[d+18>>1]<<16;c[f+4>>2]=g;if(sP(a,f)|0){d=Jv(f)|0;Lk(f+8|0,b);Mk(f+8|0);if(!((Nk(f+8|0)|0)<<24>>24)){a=0;do{cja(f+40|0,f,(Ok(f+8|0)|0)+16|0);a=(Jv(f+40|0)|0)+a|0;VL(f+8|0)}while((Nk(f+8|0)|0)<<24>>24==0);a=a<<1}else a=0;if((d|0)<(a|0)){a=1;break}}a=0}else a=0;while(0);i=f;return a|0}function q0(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0;m=i;i=i+32|0;if(!((d|0)==0|(e|0)==0|(f|0)==0)){c[m+8>>2]=0;c[m+20>>2]=0;c[m+16>>2]=0;c[m+24>>2]=0;c[m+4>>2]=0;if(b)b=Hq(0)|0;else b=0;c[m+12>>2]=b;r0(a,d,m+8|0,m+20|0,m+16|0,m+24|0,m+4|0,g,b);l=c[m+4>>2]|0;s0(l,e,f,m+8|0,c[m+20>>2]|0,d,h);b=c[m+16>>2]|0;if(b){h=c[m+8>>2]|0;if(!h)cp(m+4|0);else sq(l,h,b)|0;if(!(x0(a,c[m+24>>2]|0,c[m+4>>2]|0,c[m+16>>2]|0)|0))cp(m+16|0)}t0(c[m+4>>2]|0,c[e>>2]|0,c[f>>2]|0,m+16|0,c[m+24>>2]|0,d,j);h=c[m+12>>2]|0;b=c[m+8>>2]|0;if((h|0)!=0&(b|0)!=0){Iq(h,b,2);h=c[m+12>>2]|0}b=c[m+16>>2]|0;if((h|0)!=0&(b|0)!=0){Iq(h,b,2);b=c[m+16>>2]|0}h=c[m+8>>2]|0;if((h|0)!=0&(b|0)!=0){sq(c[m+4>>2]|0,h,b)|0;f=bo(0,c[m+4>>2]|0,5,5)|0;c[m+28>>2]=f;Bt(f,f,d,8)|0;wq(d,d,f)|0;cp(m+28|0)}if((g|0)!=0?(k=c[g>>2]|0,(k|0)!=0):0){h=c[m+12>>2]|0;if(h){Iq(h,k,2);k=c[g>>2]|0}wq(d,d,k)|0}k=c[m+12>>2]|0;if(!k)k=0;else{Iq(k,d,2);k=c[m+12>>2]|0}cp(m+8|0);cp(m+20|0);cp(m+16|0);cp(m+24|0);cp(m+4|0);if(k){Jo(k,a);Kq(m+12|0)}}else jN(327448,m);i=m;return}function r0(a,b,d,e,f,g,h,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+96|0;c[s+64>>2]=0;c[s+68>>2]=0;if(k){c[s>>2]=a;c[s+4>>2]=(a|0)/20|0;c[s+8>>2]=(a|0)/4|0;jN(327592,s);p=fo(0,b,(a|0)/60|0,(a|0)/60|0)|0;c[s+64>>2]=p;Iq(k,p,2);q=eo(p,(a|0)/20|0,(a|0)/20|0)|0;c[s+72>>2]=q;Iq(k,q,2);c[s+68>>2]=wq(0,p,q)|0;cp(s+72|0);Iq(k,c[s+68>>2]|0,2)}else{p=fo(0,b,(a|0)/60|0,(a|0)/60|0)|0;c[s+64>>2]=p;q=eo(p,(a|0)/20|0,(a|0)/20|0)|0;c[s+72>>2]=q;c[s+68>>2]=wq(0,p,q)|0;cp(s+72|0)}c[d>>2]=eo(c[s+68>>2]|0,1,(a|0)/4|0)|0;c[f>>2]=eo(c[s+68>>2]|0,(a|0)/4|0,1)|0;cp(s+68|0);c[s+76>>2]=0;c[s+80>>2]=0;uq(c[d>>2]|0,s+76|0);uq(c[f>>2]|0,s+80|0);do if(j){if(c[s+80>>2]|c[s+76>>2]){c[j>>2]=0;break}o=c[s+64>>2]|0;p=c[d>>2]|0;q=c[f>>2]|0;c[s>>2]=sq(0,p,q)|0;l=Jm(p,0)|0;c[s+52>>2]=l;n=Sl(l)|0;c[s+56>>2]=0;if((n|0)>0){m=0;while(1){l=Pl(l,m)|0;c[s+24>>2]=l;Ml(l,s+16|0,s+12|0,s+20|0,s+48|0);l=y0(c[s+24>>2]|0,c[s>>2]|0)|0;if((l|0)>4?(l=ba(l+-1|0,a)|0,(l|0)>=(c[s+48>>2]<<2|0)):0){l=c[s+56>>2]|0;if(!l){l=Cp(p)|0;l=_o(l,up(p)|0,1)|0;c[s+56>>2]=l}aq(l,c[s+24>>2]|0)}Kl(s+24|0);m=m+1|0;if((m|0)==(n|0))break;l=c[s+52>>2]|0}l=c[s+56>>2]|0}else l=0;Rl(s+52|0);cp(s);do if(l){Bt(l,l,o,8)|0;m=Jm(l,0)|0;c[s+44>>2]=m;n=Sl(m)|0;if((n|0)>0){l=0;while(1){m=Pl(m,l)|0;c[s+28>>2]=m;m=Dq(c[s+56>>2]|0,m)|0;c[s+32>>2]=m;yq(m,s+36|0);cp(s+32|0);m=Dq(o,c[s+28>>2]|0)|0;c[s+32>>2]=m;yq(m,s+40|0);cp(s+32|0);if(+(c[s+36>>2]|0)<+(c[s+40>>2]|0)*.75)$p(c[s+56>>2]|0,c[s+28>>2]|0);Kl(s+28|0);l=l+1|0;if((l|0)==(n|0))break;m=c[s+44>>2]|0}l=c[s+56>>2]|0}Rl(s+44|0);uq(l,s+60|0);if(!(c[s+60>>2]|0)){wq(p,p,l)|0;wq(q,q,c[s+56>>2]|0)|0;uq(p,s+76|0);uq(q,s+80|0);break}else{cp(s+56|0);break}}while(0);c[j>>2]=c[s+56>>2]}while(0);cp(s+64|0);c[s+84>>2]=0;c[h>>2]=0;c[s+88>>2]=0;if(!(c[s+76>>2]|0)){l=wq(0,b,c[d>>2]|0)|0;c[s+84>>2]=l;if(!(c[s+80>>2]|0)){wq(l,l,c[f>>2]|0)|0;l=sq(0,c[d>>2]|0,c[f>>2]|0)|0;c[h>>2]=l;c[s+88>>2]=wq(0,c[d>>2]|0,l)|0;l=c[s+84>>2]|0}b=co(0,l,6,1)|0;c[e>>2]=b;Bt(b,b,c[s+84>>2]|0,8)|0;if(!(c[s+80>>2]|0)){b=c[e>>2]|0;vq(b,b,c[f>>2]|0);b=c[e>>2]|0;wq(b,b,c[h>>2]|0)|0}if(!(x0(a,c[e>>2]|0,c[h>>2]|0,c[d>>2]|0)|0)){cp(d);l=36}else l=36}else{cp(d);c[e>>2]=0;if(!(c[s+80>>2]|0)){c[s+84>>2]=wq(0,b,c[f>>2]|0)|0;l=36}else l=37}if((l|0)==36)if(!(c[s+80>>2]|0)){l=co(0,c[s+84>>2]|0,1,6)|0;c[g>>2]=l;Bt(l,l,c[s+84>>2]|0,8)|0;l=c[s+88>>2]|0;if(l){b=c[g>>2]|0;vq(b,b,l);cp(s+88|0)}if(!(x0(a,c[g>>2]|0,c[h>>2]|0,c[f>>2]|0)|0)){cp(f);l=42}else l=42}else l=37;if((l|0)==37?(cp(f),c[g>>2]=0,(c[s+76>>2]|0)==0):0)l=42;if((l|0)==42){if(k){l=c[d>>2]|0;if(l)Iq(k,l,2);l=c[f>>2]|0;if(l)Iq(k,l,2);l=c[s+84>>2]|0;if(l)Iq(k,l,2);l=c[e>>2]|0;if(l)Iq(k,l,2);l=c[g>>2]|0;if(l)Iq(k,l,2);l=c[h>>2]|0;if(l)Iq(k,l,2);if((j|0)!=0?(r=c[j>>2]|0,(r|0)!=0):0)Iq(k,r,2)}cp(s+84|0)}i=s;return}function s0(a,d,e,f,g,h,j){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0;l=i;i=i+32|0;if((f|0)!=0?(k=c[f>>2]|0,(k|0)!=0):0){c[l+4>>2]=0;c[l>>2]=0;v0(0,k,a,l+4|0,l);k=Cp(h)|0;a=up(h)|0;b[l+16>>1]=0;b[l+18>>1]=0;b[l+12>>1]=k;b[l+14>>1]=a;w0(l+16|0,l+12|0,l,d,e,j);if(!(c[j>>2]|0))cp(f);else{z0(0,l,c[f>>2]|0);A0(c[f>>2]|0,g,h);b[l+10>>1]=0;b[l+8>>1]=0;Gha(l+8|0,c[d>>2]|0,c[e>>2]|0);n7(l+8|0,j,0)}KL(l,234);KL(l+4|0,224)}i=l;return}function t0(a,d,e,f,g,h,j){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0;l=i;i=i+64|0;c[l+40>>2]=d;c[l+8>>2]=e;if((f|0)!=0?(k=c[f>>2]|0,(k|0)!=0):0){c[l+4>>2]=0;c[l>>2]=0;v0(1,k,a,l+4|0,l);e=Cp(h)|0;d=up(h)|0;b[l+44>>1]=0;b[l+46>>1]=0;b[l+52>>1]=d;b[l+54>>1]=e;w0(l+44|0,l+52|0,l,l+40|0,l+8|0,j);a:do if(!(c[j>>2]|0))cp(f);else{z0(1,l,c[f>>2]|0);A0(c[f>>2]|0,g,h);b[l+50>>1]=0;b[l+48>>1]=0;Gha(l+48|0,c[l+40>>2]|0,c[l+8>>2]|0);n7(l+48|0,j,0);Lk(l+12|0,j);Mk(l+12|0);while(1){if((Nk(l+12|0)|0)<<24>>24)break a;e=Ok(l+12|0)|0;d=b[e+10>>1]|0;b[e+10>>1]=b[e+8>>1]|0;b[e+8>>1]=d;d=b[e+14>>1]|0;b[e+14>>1]=b[e+12>>1]|0;b[e+12>>1]=d;VL(l+12|0)}}while(0);KL(l,234);KL(l+4|0,224)}i=l;return}function u0(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;h=i;i=i+208|0;c[h+184>>2]=0;pk(h+152|0,h+184|0);f=Sl(c[d>>2]|0)|0;if((f|0)>0){g=0;do{Vl(c[d>>2]|0,g,h+12|0,h+8|0,h+148|0,h+180|0);k=c[h+12>>2]|0;m=c[h+8>>2]|0;l=c[h+148>>2]|0;n=c[h+180>>2]|0;c[h+192>>2]=m<<16|k&65535;j=WEa(32)|0;c[h+16>>2]=m<<16|k&65535;c[h>>2]=n+m<<16|l+k&65535;Sca(j,h+192|0,h+16|0,h,0);Ck(h+152|0,j);g=g+1|0}while((g|0)<(f|0))}B0(h+48|0);c[h+4>>2]=0;c[h+144>>2]=b<<16|a&65535;t$(h+48|0,h+4|0,h+144|0,h+184|0);pk(h+20|0,e);yk(h+20|0,h+108|0);Rl(d);wk(h+48|0);KL(h+184|0,230);i=h;return}function v0(a,d,f,g,h){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=i;i=i+80|0;m=bp(d)|0;n=Cp(d)|0;o=up(d)|0;j=vp(d)|0;if(a){if((o|0)>0){l=0;while(1){if((n|0)>100){k=100;do{q=j+(k>>5<<2)|0;c[q>>2]=c[q>>2]&~(-2147483648>>>(k&28));k=k+100|0}while((k|0)<(n|0))}l=l+1|0;if((l|0)==(o|0))break;else j=j+(m<<2)|0}}}else if((o|0)>100){k=100;do{YGa(j+((ba(k,m)|0)<<2)|0,0,m<<2|0)|0;k=k+100|0}while((k|0)<(o|0))}c[p+76>>2]=Jm(d,0)|0;u0(n,o,p+76|0,g);pk(p+48|0,g);pk(p+20|0,h);rk(p+48|0);if(!(sk(p+48|0)|0))do{g=tk(p+48|0)|0;j=WEa(120)|0;TX(j,g);qv(p+20|0,j);g=b[j+8>>1]|0;d=b[j+10>>1]|0;q=(kl(j+8|0)|0)<<16>>16;q=Fl(g,d,q,(ll(j+8|0)|0)<<16>>16)|0;c[p+16>>2]=q;c[j+64>>2]=y0(q,f)|0;Kl(p+16|0);if(a){$ia(p+8|0,o-(e[j+14>>1]|0)&65535,b[j+8>>1]|0,o-(e[j+10>>1]|0)&65535,b[j+12>>1]|0);d=c[p+8>>2]|0;q=c[p+12>>2]|0;b[j+8>>1]=d;b[j+10>>1]=d>>>16;b[j+12>>1]=q;b[j+14>>1]=q>>>16;g=UGa(d|0,q|0,48)|0;b[j+56>>1]=g;q=UGa(d|0,q|0,16)|0;b[j+58>>1]=q}else{$ia(p,b[j+8>>1]|0,o-(e[j+14>>1]|0)&65535,b[j+12>>1]|0,o-(e[j+10>>1]|0)&65535);d=c[p>>2]|0;q=c[p+4>>2]|0;b[j+8>>1]=d;b[j+10>>1]=d>>>16;b[j+12>>1]=q;b[j+14>>1]=q>>>16;g=UGa(d|0,q|0,48)|0;b[j+56>>1]=g;q=UGa(d|0,q|0,16)|0;b[j+58>>1]=q}OL(p+48|0)|0}while(!(sk(p+48|0)|0));i=p;return}function w0(a,d,e,f,g,h){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0;j=i;i=i+304|0;pk(j+132|0,e);uT(j+160|0,50,a,d);rk(j+132|0);e=0;while(1){if(sk(j+132|0)|0)break;k=tk(j+132|0)|0;c[k+32>>2]=3;m=b[a>>1]|0;b[k+48>>1]=m;l=b[d>>1]|0;b[k+50>>1]=l;b[k+52>>1]=m;b[k+54>>1]=l;IV(j+160|0,0,1,k);OL(j+132|0)|0;e=e+1|0}if(e){DT(j+192|0,j+160|0);Lk(j+104|0,h);c[f>>2]=0;c[g>>2]=1;C0(j+192|0);while(1){h=D0(j+192|0)|0;if(!h)break;if((c[h+32>>2]|0)!=3)continue;d=b[h+8>>1]|0;e=b[h+10>>1]|0;if(xT(2,d,e)|0){c[j+48>>2]=d;c[j+52>>2]=e;jN(327544,j+48|0)}d=c[f>>2]|0;e=c[g>>2]|0;tT(j,d,e,(kl(h+8|0)|0)<<16>>16);e=j+56|0;d=j+0|0;a=e+48|0;do{c[e>>2]=c[d>>2];e=e+4|0;d=d+4|0}while((e|0)<(a|0));d=yT(j+160|0,j+56|0,h,f,g)|0;if(!d)continue;BL(d+44|0);ov(j+104|0,d)}GT(j+276|0)}vT(j+160|0);i=j;return}function x0(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=i;i=i+64|0;c[r+56>>2]=0;g=Jm(f,r+56|0)|0;c[r+16>>2]=g;q=Sl(g)|0;a:do if((q|0)>0){j=g;h=0;g=q;while(1){j=Pl(j,h)|0;c[r+24>>2]=j;Ml(j,r,r+32|0,r+28|0,r+8|0);j=Mq(c[r+56>>2]|0,h)|0;c[r+36>>2]=j;j=Ct(j)|0;c[r+52>>2]=j;n=Cp(j)|0;o=up(j)|0;p=bp(j)|0;j=vp(j)|0;if((o|0)>0){l=j;j=0;k=0;while(1){if((n|0)>0){m=0;do{s=d[(l+m^3)>>0]|0;j=(s|0)>(j|0)?s:j;m=m+1|0}while((m|0)!=(n|0))}k=k+1|0;if((k|0)==(o|0))break;else l=l+(p<<2)|0}}else j=0;cp(r+52|0);m=j<<1;cp(r+36|0);p=c[r+28>>2]|0;s=c[r+8>>2]|0;if((p|0)>11&(s|0)>11&(p|0)<(~~(+(a|0)*.75)|0)?(s|0)<(~~(+(a|0)*.75)|0)&(m|0)>12:0)p=21;else p=11;do if((p|0)==11){p=0;if((e|0)!=0?(y0(c[r+24>>2]|0,e)|0)>=2:0)break;Ml(c[r+24>>2]|0,r+52|0,r+44|0,r+20|0,r+12|0);if((c[r+20>>2]|0)>(c[r+12>>2]|0)){s=up(b)|0;j=c[r+44>>2]|0;k=j+m+(c[r+12>>2]|0)|0;if((s|0)<=(k|0)){k=up(b)|0;j=c[r+44>>2]|0}j=j-m|0;j=(j|0)>0?j:0;c[r+44>>2]=j;m=k-j|0;c[r+12>>2]=m;k=c[r+52>>2]|0;l=c[r+20>>2]|0}else{s=Cp(b)|0;k=c[r+52>>2]|0;j=k+m+(c[r+20>>2]|0)|0;if((s|0)<=(j|0)){j=Cp(b)|0;k=c[r+52>>2]|0}k=k-m|0;k=(k|0)>0?k:0;c[r+52>>2]=k;l=j-k|0;c[r+20>>2]=l;j=c[r+44>>2]|0;m=c[r+12>>2]|0}s=Fl(k,j,l,m)|0;c[r+4>>2]=s;s=Dq(b,s)|0;c[r+40>>2]=s;Kl(r+4|0);yq(s,r+48|0);cp(r+40|0);if(+(c[r+48>>2]|0)>+(ba(c[r+28>>2]|0,c[r+8>>2]|0)|0)*.25)p=21}while(0);if((p|0)==21){$p(f,c[r+24>>2]|0);g=g+-1|0}Kl(r+24|0);h=h+1|0;if((h|0)==(q|0))break a;j=c[r+16>>2]|0}}else g=q;while(0);Kq(r+56|0);Rl(r+16|0);i=r;return g|0}function y0(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if((b|0)!=0?(d=Dq(b,a)|0,c[e+4>>2]=d,d=Jm(d,0)|0,c[e>>2]=d,cp(e+4|0),(d|0)!=0):0){d=Sl(d)|0;Rl(e)}else d=0;i=e;return d|0}function z0(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;g=i;i=i+32|0;f=up(e)|0;pk(g+4|0,d);rk(g+4|0);if(!(sk(g+4|0)|0))do{d=tk(g+4|0)|0;if((c[d+32>>2]|0)!=5){c[g>>2]=0;if(a){k=b[d+10>>1]|0;j=f-(b[d+12>>1]|0)|0;h=(ll(d+8|0)|0)<<16>>16;d=Fl(k,j,h,(kl(d+8|0)|0)<<16>>16)|0}else{h=b[d+8>>1]|0;j=f-(b[d+14>>1]|0)|0;k=(kl(d+8|0)|0)<<16>>16;d=Fl(h,j,k,(ll(d+8|0)|0)<<16>>16)|0}c[g>>2]=d;$p(e,d);Kl(g)}OL(g+4|0)|0}while(!(sk(g+4|0)|0));i=g;return}function A0(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;wq(d,d,a)|0;f=wq(0,d,b)|0;c[e+4>>2]=f;b=bo(0,a,3,3)|0;c[e>>2]=b;Bt(b,b,f,8)|0;wq(d,d,b)|0;cp(e);cp(e+4|0);i=e;return}function B0(d){d=d|0;c[d>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;b[d+16>>1]=32767;b[d+18>>1]=32767;b[d+20>>1]=-32767;b[d+22>>1]=-32767;c[d+4>>2]=0;c[d+24>>2]=0;NM(d+48|0);c[d+52>>2]=0;c[d+56>>2]=0;c[d+60>>2]=0;c[d+64>>2]=0;g[d+68>>2]=1.0;g[d+72>>2]=0.0;g[d+76>>2]=1.0;g[d+80>>2]=0.0;g[d+84>>2]=1.0;g[d+88>>2]=0.0;b[d+94>>1]=0;b[d+92>>1]=0;a[d+29>>0]=0;c[d+4>>2]=0;return}function C0(a){a=a|0;var d=0;d=c[a>>2]|0;JT(a,b[d+20>>1]|0,b[d+26>>1]|0);return}function D0(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;while(1){if(!((hA(a+56|0)|0)<<24>>24)){LT(a);b=(c[a+48>>2]|0)+8|0;b=e[b>>1]|e[b+2>>1]<<16;lV(c[a>>2]|0,b<<16>>16,b>>16,d+4|0,d);if((c[d+4>>2]|0)!=(c[a+36>>2]|0))continue;if((c[d>>2]|0)==(c[a+40>>2]|0)){b=10;break}else continue}b=(c[a+36>>2]|0)+1|0;c[a+36>>2]=b;if((b|0)>=(c[(c[a>>2]|0)+8>>2]|0)){b=c[a+40>>2]|0;c[a+40>>2]=b+-1;if((b|0)<1){b=5;break}c[a+36>>2]=0}KT(a)}if((b|0)==5){c[a+48>>2]=0;c[a+52>>2]=0;a=0}else if((b|0)==10)a=c[a+48>>2]|0;i=d;return a|0}function E0(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0;e=i;i=i+64|0;pk(e+28|0,a+16|0);pk(e,b+4|0);pk(e,(tk(e)|0)+28|0);if(vk(e)|0)d=0.0;else{rk(e);if(!(sk(e)|0))do{f=WEa(8)|0;cla(f,ly(tk(e)|0)|0);bla(f);b=WEa(120)|0;TX(b,f);Ck(e+28|0,b);OL(e)|0}while(!(sk(e)|0));d=+p1(+g[a+36>>2],e+28|0,c)}i=e;return +d}function F0(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,h=0;h=i;i=i+64|0;pk(h+36|0,b+4|0);Lk(h+8|0,b+92|0);yk(h+36|0,b+16|0);yk(h+36|0,b+12|0);yk(h+36|0,b+20|0);f=c[b+4>>2]|0;if(f){if(!((f|0)!=(c[f>>2]|0)|a^1)?(qk(h+36|0),e=+E0(b,c[(tk(h+36|0)|0)+4>>2]|0,h+8|0),e>+g[b+36>>2]):0)g[b+36>>2]=e}else{f=ela((c[b+24>>2]|0)+16|0)|0;a=WEa(120)|0;TX(a,f);Ck(h+36|0,a)}+p1(+g[b+36>>2],h+36|0,h+8|0);Mk(h+8|0);if(!((Nk(h+8|0)|0)<<24>>24))do{G0(Ok(h+8|0)|0);VL(h+8|0)}while((Nk(h+8|0)|0)<<24>>24==0);H0(d,h+4|0,h);i=h;return +(+g[h+4>>2])}function G0(a){a=a|0;var c=0,d=0,e=0,f=0.0,h=0.0;c=i;i=i+96|0;vda(c);pk(c+48|0,a+120|0);rk(c+48|0);while(1){if(sk(c+48|0)|0)break;e=tk(c+48|0)|0;d=b[e+10>>1]|0;b[c+84>>1]=((b[e+12>>1]|0)+(b[e+8>>1]|0)|0)/2|0;b[c+86>>1]=d;yda(c,c+84|0);OL(c+48|0)|0}f=+Gda(c,c+80|0,c+76|0);h=+g[c+76>>2];g[a+136>>2]=+g[c+80>>2];g[a+140>>2]=h;g[a+144>>2]=f;wda(c);i=c;return}function H0(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,j=0,k=0.0,l=0,m=0,n=0.0,o=0,p=0,q=0,r=0;r=i;i=i+64|0;pk(r+32|0,b);c[r+4>>2]=0;rk(r+32|0);if(!(sk(r+32|0)|0)){b=0;j=0;while(1){f=c[(c[(tk(r+32|0)|0)+24>>2]|0)+4>>2]|0;if((f|0)!=0?!(Zj(c[f+12>>2]|0)|0):0)f=j;else{f=(UL((tk(r+32|0)|0)+92|0)|0)+j|0;Lk(r+4|0,(tk(r+32|0)|0)+92|0);Mk(r+4|0);if(!((Nk(r+4|0)|0)<<24>>24))do{b=(NL((Ok(r+4|0)|0)+120|0)|0)+b|0;VL(r+4|0)}while((Nk(r+4|0)|0)<<24>>24==0)}OL(r+32|0)|0;if(sk(r+32|0)|0)break;else j=f}if(f){p=b<<2;o=iM(p)|0;p=iM(p)|0;if((o|0)==0|(p|0)==0)$L(327664,332296,2,0,r);rk(r+32|0);if(!(sk(r+32|0)|0)){f=0;do{b=c[(c[(tk(r+32|0)|0)+24>>2]|0)+4>>2]|0;if(!((b|0)!=0?!(Zj(c[b+12>>2]|0)|0):0)){Lk(r+4|0,(tk(r+32|0)|0)+92|0);Mk(r+4|0);if(!((Nk(r+4|0)|0)<<24>>24))do{j=Ok(r+4|0)|0;m=NL(j+120|0)|0;n=+g[j+144>>2];l=~~+aa(+n);l=(l|0)<1?1:l;if(!(a[328858]|0)){if((m|0)>=(c[82313]|0)){g[o+(f<<2)>>2]=+g[j+136>>2];g[p+(f<<2)>>2]=n;f=f+1|0}}else if((((m|0)/(l|0)|0|0)/(l|0)|0|0)>0){k=+g[j+136>>2];j=((m|0)/(l|0)|0|0)/(l|0)|0;b=f;while(1){g[o+(b<<2)>>2]=k;g[p+(b<<2)>>2]=n;j=j+-1|0;if((j|0)<=0)break;else b=b+1|0}f=f+(((m|0)/(l|0)|0|0)/(l|0)|0)|0}VL(r+4|0)}while((Nk(r+4|0)|0)<<24>>24==0)}OL(r+32|0)|0}while(!(sk(r+32|0)|0));if(!f)q=25}else q=25;if((q|0)==25){rk(r+32|0);if(sk(r+32|0)|0)f=0;else{f=0;do{b=c[(c[(tk(r+32|0)|0)+24>>2]|0)+4>>2]|0;if(!((b|0)!=0?!(Zj(c[b+12>>2]|0)|0):0)){Lk(r+4|0,(tk(r+32|0)|0)+92|0);Mk(r+4|0);if(!((Nk(r+4|0)|0)<<24>>24))do{l=Ok(r+4|0)|0;g[o+(f<<2)>>2]=+g[l+136>>2];g[p+(f<<2)>>2]=+g[l+144>>2];f=f+1|0;VL(r+4|0)}while((Nk(r+4|0)|0)<<24>>24==0)}OL(r+32|0)|0}while(!(sk(r+32|0)|0))}}n=+(f|0);g[d>>2]=+g[o+((Tka(~~(n*+h[41243]),o,f)|0)<<2)>>2];g[e>>2]=+g[p+((Tka(~~(n*+h[41243]),p,f)|0)<<2)>>2];jM(o);jM(p)}else q=8}else q=8;if((q|0)==8){g[d>>2]=0.0;g[e>>2]=0.0}i=r;return}function I0(b){b=b|0;var d=0.0,e=0;e=i;i=i+48|0;c[e>>2]=0;pk(e,b);rk(e);if(!(sk(e)|0))do{J0(tk(e)|0);OL(e)|0}while(!(sk(e)|0));H0(b,e+32|0,e+28|0);pk(e,b);rk(e);b=sk(e)|0;d=+g[e+32>>2];if(!b)do{b=tk(e)|0;tk(e)|0;K0(b,d,1.0,0.0,(a[328282]|0)==0&1);OL(e)|0}while(!(sk(e)|0));i=e;return +d}function J0(a){a=a|0;var b=0;b=i;i=i+32|0;Lk(b,a+92|0);L0(a,0,0,1,1);DZ(b);Mk(b);if(!((Nk(b)|0)<<24>>24))do{G0(Ok(b)|0);VL(b)}while((Nk(b)|0)<<24>>24==0);i=b;return}function K0(b,c,d,e,f){b=b|0;c=+c;d=+d;e=+e;f=f|0;var h=0,j=0;j=i;i=i+64|0;g[j+56>>2]=c;pk(j+28|0,b+4|0);Lk(j,b+92|0);N0(b,c);if(!(a[327954]|0))h=0;else h=f<<24>>24!=0&1;O0(b,c,h);P0(b,c,d,e,f);pk(j+28|0,b+4|0);Lk(j,b+92|0);Mk(j);if(!((Nk(j)|0)<<24>>24))do{yk(j+28|0,(Ok(j)|0)+120|0);VL(j)}while((Nk(j)|0)<<24>>24==0);L0(b,j+56|0,1,0,0);pk(j+28|0,b+4|0);yk(j+28|0,b+20|0);L0(b,j+56|0,2,1,1);pk(j+28|0,b+4|0);yk(j+28|0,b+12|0);yk(j+28|0,b+16|0);L0(b,j+56|0,3,0,0);i=j;return}function L0(d,f,j,l,m){d=d|0;f=f|0;j=j|0;l=l|0;m=m|0;var n=0,o=0,p=0.0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0,x=0,y=0,z=0.0,A=0,B=0,C=0,D=0,E=0.0,F=0,G=0;F=i;i=i+128|0;c[F+112>>2]=0;pk(F+84|0,d+4|0);Lk(F+56|0,d+92|0);if(f){E=+g[f>>2];E=+R(+(E*E+1.0))}else E=1.0;C=c[82287]|0;D=c[82303]|0;q1(F+84|0,37);o=(U_(F+56|0)|0)&65535;if(vk(F+84|0)|0)n=(c[d+24>>2]|0)+16|0;else n=(tk(F+84|0)|0)+8|0;A=b[n>>1]|0;rk(F+84|0);z=1.0-1.0/E;p=0.0;n=A;v=1.0;while(1){if(sk(F+84|0)|0)break;y=(tk(F+84|0)|0)+8|0;if(!f){q=b[y>>1]|0;n=n<<16>>16;t=+g[d+36>>2];if(+((q<<16>>16)-n|0)>t*.5?!((a[328938]|0)==0?1:!(+(n-(A<<16>>16)|0)>t*2.0)):0){x=q;p=p*(+((q<<16>>16)-(A<<16>>16)|0)/+(n-(A<<16>>16)|0))}else x=q}else{q=b[y>>1]|0;x=q;p=z*+(b[y+2>>1]|0)+ +g[f>>2]/E*+(q<<16>>16)}t=+(b[y+6>>1]|0)-p;u=+(b[y+2>>1]|0)-p;a:do if(!((uZ(F+56|0)|0)<<24>>24)){DZ(F+56|0);while(1){if((Kv(F+56|0)|0)<<24>>24)break;if(!(+g[(Ok(F+56|0)|0)+124>>2]>t))break;VL(F+56|0)}n=Ok(F+56|0)|0;do if(+g[n+124>>2]<=t?+g[n+128>>2]>=u:0){c[F+112>>2]=n;s=+g[d+36>>2];q=n1(F+56|0,F+112|0,t,u,s,(px(y,+((C&65535)<<16>>16),+((D&65535)<<16>>16))|0)&1)|0;q=(q|0)!=2|l<<24>>24!=0?q:0;if((q|0)==2){w=31;break}else if(q){n=q;s=v;break a}n=c[F+112>>2]|0;w=30}else w=21;while(0);do if((w|0)==21?(w=0,m<<24>>24==0):0){s=+g[(ZL(F+56|0,-1)|0)+124>>2]-t;r=+g[n+124>>2];if(u>2]-+g[d+36>>2])*.25)){w=31;break}c[F+112>>2]=n;w=30;break}r=+g[n+128>>2];if(s>0.0&s>2]=n;if(!(+g[n+124>>2]-u<=(+g[d+32>>2]-+g[d+36>>2])*.25)){w=31;break}else{w=30;break}}if(!(t-r<=(+g[d+32>>2]-+g[d+36>>2])*(+h[41319]+.25)))w=31;else{c[F+112>>2]=n;w=30}}while(0);if((w|0)==30){w=0;q=pv(F+84|0)|0;aba(n,q,t,u,+g[d+36>>2]);n=0;s=v;break}else if((w|0)==31?(w=0,m<<24>>24==0):0){n=1;s=v;break}if(t-u<+g[d+40>>2]){n=WEa(168)|0;q=pv(F+84|0)|0;$aa(n,q,t,u,+g[d+36>>2]);c[F+112>>2]=n;q=o+1<<16>>16;if(u>+g[(Ok(F+56|0)|0)+124>>2])_L(F+56|0,n);else nZ(F+56|0,n);n=2;o=q;s=1.0/(+(q<<16>>16)*+h[41255]+ +(c[82253]|0))}else{n=1;s=v}}else if(m<<24>>24!=0?t-u<+g[d+40>>2]:0){n=WEa(168)|0;q=pv(F+84|0)|0;$aa(n,q,t,u,+g[d+36>>2]);c[F+112>>2]=n;q=o+1<<16>>16;nZ(F+56|0,n);n=2;o=q;s=1.0/(+(q<<16>>16)*+h[41255]+ +(c[82273]|0))}else{n=1;s=v}while(0);q=(px(y,+((C&65535)<<16>>16),+((D&65535)<<16>>16))|0)^1;do if(!((a[332234]|0)==0|q))if((n|0)==1){c[F+8>>2]=j;jN(334088,F+8|0);break}else{w=c[F+112>>2]|0;v=+g[w+128>>2];h[k>>3]=+g[w+124>>2];c[F+8>>2]=c[k>>2];c[F+12>>2]=c[k+4>>2];h[k>>3]=v;c[F+16>>2]=c[k>>2];c[F+20>>2]=c[k+4>>2];c[F+24>>2]=j;jN(334032,F+8|0);w=44;break}else w=44;while(0);do if((w|0)==44){w=0;if((n|0)!=1){while(1){if((Mv(F+56|0)|0)<<24>>24)break;v=+g[(Ok(F+56|0)|0)+124>>2];if(!(v>+g[(ZL(F+56|0,-1)|0)+124>>2]))break;q=hv(F+56|0)|0;YL(F+56|0);_L(F+56|0,q)}while(1){if((Kv(F+56|0)|0)<<24>>24)break;v=+g[(Ok(F+56|0)|0)+124>>2];if(!(v<+g[(ZL(F+56|0,1)|0)+124>>2]))break;q=hv(F+56|0)|0;VL(F+56|0);nZ(F+56|0,q)}n=c[F+112>>2]|0;pk(F+28|0,n+120|0);SL(F+28|0);G=(RL(F+28|0,-1)|0)+8|0;q=e[G+4>>1]|e[G+6>>1]<<16;c[F>>2]=e[G>>1]|e[G+2>>1]<<16;c[F+4>>2]=q;q=c[n+120>>2]|0;if(!((q|0)!=0?(q|0)==(c[q>>2]|0):0))w=53;if((w|0)==53?(w=0,vx(F,y)|0):0)break;p=p*(1.0-s)+s*(+(b[y+2>>1]|0)-+g[n+132>>2])}}while(0);OL(F+84|0)|0;n=x;v=s}Mk(F+56|0);while(1){if((Nk(F+56|0)|0)<<24>>24)break;if((c[(Ok(F+56|0)|0)+120>>2]|0)==0?(B=hv(F+56|0)|0,(B|0)!=0):0){r1(B);YEa(B)}VL(F+56|0)}i=F;return}function M0(a){a=a|0;var b=0,d=0.0,e=0,f=0;f=i;i=i+80|0;Lk(f+44|0,a+92|0);Mk(f+44|0);if(!((Nk(f+44|0)|0)<<24>>24))do{e=Ok(f+44|0)|0;pk(f+16|0,e+120|0);rk(f+16|0);if(sk(f+16|0)|0)a=1;else{a=0;do{b=(ll((tk(f+16|0)|0)+8|0)|0)<<16>>16;a=(b|0)>(a|0)?b:a;OL(f+16|0)|0}while(!(sk(f+16|0)|0));a=a+1|0}Aka(f,0,a);rk(f+16|0);while(1){if(sk(f+16|0)|0)break;a=ll((tk(f+16|0)|0)+8|0)|0;if(a<<16>>16>7)Fka(f,a<<16>>16,1);OL(f+16|0)|0}d=+Mka(f);rk(f+16|0);b=0;while(1){if(sk(f+16|0)|0)break;a=tk(f+16|0)|0;do if(+((ll(a+8|0)|0)<<16>>16)>2]|0;if(a){KL(a+4|0,230);YEa(a)}a=pv(f+16|0)|0;if(!a)a=b;else{QX(a);YEa(a);a=b}}while(0);OL(f+16|0)|0;b=a}Eka(f);VL(f+44|0)}while((Nk(f+44|0)|0)<<24>>24==0);i=f;return}function N0(a,b){a=a|0;b=+b;var d=0;d=i;i=i+32|0;Lk(d,a+92|0);DZ(d);Mk(d);if(!((Nk(d)|0)<<24>>24))do{if(!(c[(Ok(d)|0)+120>>2]|0)){a=hv(d)|0;if(a){r1(a);YEa(a)}}else g1(b,Ok(d)|0);VL(d)}while((Nk(d)|0)<<24>>24==0);t1(d,43);i=d;return}function O0(a,b,d){a=a|0;b=+b;d=d|0;var e=0,f=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+80|0;Lk(m+40|0,a+92|0);pk(m+12|0,a+4|0);if(U_(m+40|0)|0){Q0(m,a,b);l=c[m>>2]|0;k=c[m+4>>2]|0;Mk(m+40|0);k=UGa(l|0,k|0,48)|0;k=_Ga(k|0,F|0,16)|0;k=(k>>16)+1|0;l=(l>>16)+-1|0;while(1){if((Nk(m+40|0)|0)<<24>>24)break;h=~~+P(+(+g[(Ok(m+40|0)|0)+156>>2]));VL(m+40|0);k=(h|0)<(k|0)?k:h+1|0;l=(h|0)>(l|0)?l:h+-1|0}e=k-l|0;if((e|0)>=0){f=iM(e+1<<2)|0;h=iM(e+1<<2)|0;if((f|0)==0|(h|0)==0)$L(327664,332320,2,0,m+8|0);R0(a,b,l,k,h,f);b=+g[a+32>>2];S0(~~+aa(+(b*.5)),~~+aa(+(b*.75)),e+1|0,h,f);T0(h,f,e+1|0);Mk(m+40|0);while(1){if((Nk(m+40|0)|0)<<24>>24)break;e=Ok(m+40|0)|0;k=~~+P(+(+g[e+156>>2]));if((U0(e,c[f+(k-l<<2)>>2]|0,+g[a+32>>2]*.5,k,m+40|0,d)|0)<<24>>24!=0?(yk(m+12|0,(Ok(m+40|0)|0)+120|0),j=hv(m+40|0)|0,(j|0)!=0):0){r1(j);YEa(j)}VL(m+40|0)}Mk(m+40|0);while(1){if((Nk(m+40|0)|0)<<24>>24)break;yk(m+12|0,(Ok(m+40|0)|0)+120|0);VL(m+40|0)}jM(f);jM(h)}}i=m;return}function P0(b,d,e,f,j){b=b|0;d=+d;e=+e;f=+f;j=j|0;var l=0,m=0,n=0.0,o=0.0,p=0.0,q=0,r=0;r=i;i=i+96|0;g[r+80>>2]=d;pk(r+52|0,b+4|0);Lk(r+24|0,b+92|0);V0(b);if(a[332154]|0){if(UL(b+92|0)|0){if(!(a[328034]|0))l=0;else l=j<<24>>24!=0&1;W0(b,l);l=6}}else l=6;if((l|0)==6?(L0(b,r+80|0,4,1,0),(UL(b+92|0)|0)!=0):0){N0(b,+g[r+80>>2]);if(!(a[332154]|0)){if(!(a[328034]|0))l=0;else l=j<<24>>24!=0&1;W0(b,l)}xZ(r+24|0);do{q=Ok(r+24|0)|0;p=+g[q+128>>2];f=+g[q+124>>2];n=+g[q+156>>2];o=+g[b+36>>2]*+h[41305];a:do if(f>n-o*.25){if((a[328034]|0)!=0&j<<24>>24!=0){h[k>>3]=n;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];h[k>>3]=f;c[r+8>>2]=c[k>>2];c[r+12>>2]=c[k+4>>2];h[k>>3]=n-o*.25;c[r+16>>2]=c[k>>2];c[r+20>>2]=c[k+4>>2];jN(332568,r)}while(1){if((Kv(r+24|0)|0)<<24>>24){d=n-o*.25;break a}l=ZL(r+24|0,1)|0;d=+g[l+128>>2];if(!(d>n-o*.25)){d=n-o*.25;break a}if(!(+g[l+124>>2]>n-o*.25))break;if((a[328034]|0)!=0&j<<24>>24!=0){h[k>>3]=+g[l+156>>2];c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];jN(332616,r)}VL(r+24|0);pk(r+52|0,q+120|0);yk(r+52|0,l+120|0);l=hv(r+24|0)|0;if(l){r1(l);YEa(l)}YL(r+24|0)}m=(a[328034]|0)!=0&j<<24>>24!=0;if(d>2];h[k>>3]=d;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];h[k>>3]=f;c[r+8>>2]=c[k>>2];c[r+12>>2]=c[k+4>>2];jN(332640,r);break}else{if(!m){d=f;break}d=+g[l+156>>2];h[k>>3]=f;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];h[k>>3]=d;c[r+8>>2]=c[k>>2];c[r+12>>2]=c[k+4>>2];jN(332696,r);d=f;break}}else d=f;while(0);b:do if(p>24!=0){h[k>>3]=+g[q+156>>2];c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];h[k>>3]=p;c[r+8>>2]=c[k>>2];c[r+12>>2]=c[k+4>>2];h[k>>3]=n+o*.75;c[r+16>>2]=c[k>>2];c[r+20>>2]=c[k+4>>2];jN(332760,r);e=p}else e=p;while(1){if((Mv(r+24|0)|0)<<24>>24){f=n+o*.75;break b}m=ZL(r+24|0,-1)|0;f=+g[m+124>>2];if(!(f>2]>24!=0){h[k>>3]=+g[m+156>>2];c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];jN(332808,r)}YL(r+24|0);pk(r+52|0,q+120|0);yk(r+52|0,m+120|0);l=hv(r+24|0)|0;if(l){r1(l);YEa(l)}VL(r+24|0)}l=(a[328034]|0)!=0&j<<24>>24!=0;if(f>2];h[k>>3]=f;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];h[k>>3]=p;c[r+8>>2]=c[k>>2];c[r+12>>2]=c[k+4>>2];jN(332640,r);break}else{if(!l){f=p;break}f=+g[m+156>>2];h[k>>3]=e;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];h[k>>3]=f;c[r+8>>2]=c[k>>2];c[r+12>>2]=c[k+4>>2];jN(332696,r);f=p;break}}else f=p;while(0);g[q+124>>2]=d;g[q+128>>2]=f;YL(r+24|0)}while((Kv(r+24|0)|0)<<24>>24==0)}i=r;return}function Q0(a,d,f){a=a|0;d=d|0;f=+f;var h=0,j=0.0,k=0.0,l=0;h=i;i=i+80|0;b[a>>1]=32767;b[a+2>>1]=32767;b[a+4>>1]=-32767;b[a+6>>1]=-32767;b[h+8>>1]=32767;b[h+10>>1]=32767;b[h+12>>1]=-32767;b[h+14>>1]=-32767;Lk(h+44|0,d+92|0);c[h+16>>2]=0;k=+R(+(f*f+1.0));j=+(1.0/k);f=+(-f/k);g[h>>2]=j;g[h+4>>2]=f;Mk(h+44|0);if(!((Nk(h+44|0)|0)<<24>>24))do{pk(h+16|0,(Ok(h+44|0)|0)+120|0);rk(h+16|0);if(!(sk(h+16|0)|0))do{l=(tk(h+16|0)|0)+8|0;d=e[l+4>>1]|e[l+6>>1]<<16;c[h+8>>2]=e[l>>1]|e[l+2>>1]<<16;c[h+12>>2]=d;wD(h+8|0,h);bja(a,h+8|0);OL(h+16|0)|0}while(!(sk(h+16|0)|0));VL(h+44|0)}while((Nk(h+44|0)|0)<<24>>24==0);i=h;return}function R0(a,d,f,h,j,k){a=a|0;d=+d;f=f|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,o=0,p=0.0,q=0.0;o=i;i=i+96|0;Lk(o+56|0,a+92|0);c[o+28>>2]=0;b[o+8>>1]=32767;b[o+10>>1]=32767;b[o+12>>1]=-32767;b[o+14>>1]=-32767;q=+R(+(d*d+1.0));p=+(1.0/q);d=+(-d/q);g[o>>2]=p;g[o+4>>2]=d;if((h-f|0)>-1)YGa(k|0,0,((h+1-f|0)>1?h+1-f<<2:4)|0)|0;Mk(o+56|0);if(!((Nk(o+56|0)|0)<<24>>24)){a=c[n>>2]|0;do{pk(o+28|0,(Ok(o+56|0)|0)+120|0);rk(o+28|0);if(!(sk(o+28|0)|0))do{l=(tk(o+28|0)|0)+8|0;m=e[l+4>>1]|e[l+6>>1]<<16;c[o+8>>2]=e[l>>1]|e[l+2>>1]<<16;c[o+12>>2]=m;wD(o+8|0,o);d=+(b[o+14>>1]|0);m=~~+P(+(+((b[o+12>>1]|0)-(b[o+8>>1]|0)|0)));l=~~+P(+(+(b[o+10>>1]|0)));if(!((l|0)>=(f|0)?(l-f|0)<(h-f+1|0):0)){c[o+16>>2]=l;c[o+20>>2]=f;c[o+24>>2]=h;zb(a|0,332496,o+16|0)|0}c[k+(l-f<<2)>>2]=(c[k+(l-f<<2)>>2]|0)+m;l=~~+P(+d);if(!((l|0)>=(f|0)?(l-f|0)<(h-f+1|0):0)){c[o+16>>2]=l;c[o+20>>2]=f;c[o+24>>2]=h;zb(a|0,332536,o+16|0)|0}c[k+(l-f<<2)>>2]=(c[k+(l-f<<2)>>2]|0)-m;OL(o+28|0)|0}while(!(sk(o+28|0)|0));VL(o+56|0)}while((Nk(o+56|0)|0)<<24>>24==0)}a=c[k>>2]|0;c[j>>2]=a;if((h-f|0)>0){l=1;do{a=(c[k+(l<<2)>>2]|0)+a|0;c[j+(l<<2)>>2]=a;l=l+1|0}while((l|0)<(h-f+1|0))}i=o;return}function S0(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=~~+aa(+(+(b+a|0)/+h[41370]));a:do if((b+a|0)<(d|0)){if((a|0)>0){i=0;g=0;do{g=(c[e+(i<<2)>>2]|0)+g|0;i=i+1|0}while((i|0)!=(a|0));i=a}else{i=0;g=0}if((b|0)>0){b=i+b|0;do{g=(c[e+(i<<2)>>2]|0)+g|0;i=i+1|0}while((i|0)!=(b|0));p=b}else p=i;i=c[e>>2]|0;if((p|0)>1){j=0;b=1;do{o=c[e+(b<<2)>>2]|0;n=(o|0)>(i|0);j=n?j:b;i=n?i:o;b=b+1|0}while((b|0)!=(p|0));k=j}else k=0;if((a|0)>0){b=((g-i|0)/(q|0)|0)+i|0;j=0;do{c[f+(j<<2)>>2]=b;j=j+1|0}while((j|0)!=(a|0))}else a=0;if((p|0)<(d|0)){m=d-p|0;n=p;o=a;l=0;j=k;while(1){b=c[e+(n<<2)>>2]|0;g=g-(c[e+(l<<2)>>2]|0)+b|0;k=(b|0)>(i|0);j=k?j:n;if((j|0)<=(l|0)){k=l+1|0;i=c[e+(k<<2)>>2]|0;j=l+2|0;if((j|0)>(n|0)){l=k;j=k}else{b=k;while(1){l=c[e+(j<<2)>>2]|0;r=(l|0)>(i|0);b=r?b:j;i=r?i:l;if((j|0)<(n|0))j=j+1|0;else{l=k;j=b;break}}}}else{l=l+1|0;i=k?i:b}c[f+(o<<2)>>2]=((g-i|0)/(q|0)|0)+i;if((l|0)==(m|0))break;else{n=n+1|0;o=o+1|0}}a=a+d-p|0}}else{g=c[e>>2]|0;if((d|0)>0){b=g;j=1;i=g;g=0;while(1){i=(b|0)<(i|0)?b:i;g=b+g|0;if((j|0)==(d|0)){a=0;break a}b=c[e+(j<<2)>>2]|0;j=j+1|0}}else{a=0;i=g;g=0}}while(0);if((a|0)<(d|0)){g=((g-i|0)/(q|0)|0)+i|0;do{c[f+(a<<2)>>2]=g;a=a+1|0}while((a|0)!=(d|0))}return}function T0(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=c[b>>2]|0;c[b>>2]=~d;if((d|0)>1){f=~d;j=1;h=0;while(1){i=b+(j<<2)|0;g=c[i>>2]|0;if((c[a+(j<<2)>>2]|0)>=(g|0)?(c[a+(h<<2)>>2]|0)<(e|0):0)if((f|0)<-1){e=h;g=1;while(1){c[b+(e<<2)>>2]=g;g=g+1|0;if(!((g|0)<(~f|0)&(e|0)>0))break;else{e=e+-1|0;f=f+1|0}}e=c[i>>2]|0;f=1}else{e=g;f=1}else e=g;f=f+-1|0;c[i>>2]=f;g=j+1|0;if((g|0)==(d|0))break;else{h=j;j=g}}}return}function U0(a,b,d,e,f,j){a=a|0;b=b|0;d=+d;e=e|0;f=f|0;j=j|0;var l=0,m=0,n=0.0,o=0.0,p=0,q=0,r=0;r=i;i=i+32|0;if(j<<24>>24){o=+g[a+148>>2];h[k>>3]=+g[a+156>>2];c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];h[k>>3]=o;c[r+8>>2]=c[k>>2];c[r+12>>2]=c[k+4>>2];c[r+16>>2]=b;jN(332344,r)}do if(+(((b|0)<0?0-b|0:b)|0)>d)if(j<<24>>24){jN(332376,r);l=1}else l=1;else{if((b|0)<0){if((Kv(f)|0)<<24>>24)if((b|0)>-1)q=9;else{l=0;break}}else q=9;if((q|0)==9?(Mv(f)|0)<<24>>24!=0:0){l=0;break}l=(b>>31&2)+-1|0;while(1){m=ZL(f,l&255)|0;n=+g[m+156>>2];p=~~+P(+n);if((b|0)<0&(p|0)<(e|0)&(p|0)>((b<<1)+e|0)){q=13;break}if((b|0)>-1&(p|0)>(e|0)&(p|0)<((b<<1)+e|0)){q=13;break}if((p|0)==(e|0)|(p|0)==((b<<1)+e|0)){o=+g[a+160>>2];d=+g[m+160>>2];if(o<=d){q=18;break}l=l+((b>>31&2)+-1)|0;if((p|0)!=(e|0))q=21}else{l=l+((b>>31&2)+-1)|0;q=21}if((q|0)==21){q=0;if((p|0)!=((b<<1)+e|0)){q=23;break}}if((l|0)>=(U_(f)|0)){q=23;break}}if((q|0)==13){if(!(j<<24>>24)){l=1;break}c[r>>2]=e+b-p;h[k>>3]=n;c[r+4>>2]=c[k>>2];c[r+8>>2]=c[k+4>>2];jN(332400,r);l=1;break}else if((q|0)==18){if(!(j<<24>>24)){l=1;break}h[k>>3]=n;c[r>>2]=c[k>>2];c[r+4>>2]=c[k+4>>2];h[k>>3]=o;c[r+8>>2]=c[k>>2];c[r+12>>2]=c[k+4>>2];h[k>>3]=d;c[r+16>>2]=c[k>>2];c[r+20>>2]=c[k+4>>2];jN(332432,r);l=1;break}else if((q|0)==23){if(!(j<<24>>24)){l=0;break}jN(332480,r);l=0;break}}while(0);i=r;return l|0}function V0(d){d=d|0;var e=0.0,f=0.0,j=0,l=0;l=i;i=i+64|0;Lk(l+32|0,d+92|0);if(a[328034]|0){d=c[d+24>>2]|0;j=b[d+22>>1]|0;c[l>>2]=b[d+16>>1];c[l+4>>2]=j;jN(332832,l)}Mk(l+32|0);if(!((Nk(l+32|0)|0)<<24>>24))do{j=Ok(l+32|0)|0;e=+g[j+128>>2];f=+g[j+124>>2];if(!(a[328034]|0)){d=j+156|0;e=e-f}else{h[k>>3]=+g[j+156>>2];c[l>>2]=c[k>>2];c[l+4>>2]=c[k+4>>2];h[k>>3]=f;c[l+8>>2]=c[k>>2];c[l+12>>2]=c[k+4>>2];h[k>>3]=e;c[l+16>>2]=c[k>>2];c[l+20>>2]=c[k+4>>2];h[k>>3]=e-f;c[l+24>>2]=c[k>>2];c[l+28>>2]=c[k+4>>2];jN(332872,l);d=j+156|0;e=e-f}f=e;e=+g[d>>2];g[j+124>>2]=e+f*-.25;g[j+128>>2]=e+f*.75;a[j+8>>0]=0;VL(l+32|0)}while((Nk(l+32|0)|0)<<24>>24==0);i=l;return}function W0(b,d){b=b|0;d=d|0;var e=0,f=0.0,j=0.0,l=0,m=0,n=0,o=0,p=0.0,q=0;q=i;i=i+64|0;Lk(q+24|0,b+92|0);o=iM((U_(q+24|0)|0)<<16>>14)|0;if(!o)$L(327664,332912,2,0,q);xZ(q+24|0);n=0;e=0;while(1){m=n;n=Ok(q+24|0)|0;if(m){l=e+1<<16>>16;c[o+(e<<16>>16<<2)>>2]=m;j=+g[n+156>>2];f=j-+g[m+156>>2];g[m+40>>2]=f;if(d<<24>>24){h[k>>3]=j;c[q>>2]=c[k>>2];c[q+4>>2]=c[k+4>>2];h[k>>3]=f;c[q+8>>2]=c[k>>2];c[q+12>>2]=c[k+4>>2];jN(332936,q)}}else l=e;YL(q+24|0);if((Kv(q+24|0)|0)<<24>>24)break;else e=l}c[b+88>>2]=n;j=+g[b+32>>2];f=+fGa(+g[n+148>>2],j);g[b+44>>2]=f;if(d<<24>>24){h[k>>3]=+g[b+36>>2];c[q>>2]=c[k>>2];c[q+4>>2]=c[k+4>>2];h[k>>3]=j;c[q+8>>2]=c[k>>2];c[q+12>>2]=c[k+4>>2];h[k>>3]=f;c[q+16>>2]=c[k>>2];c[q+20>>2]=c[k+4>>2];jN(332968,q)}e=l<<16>>16;if(l<<16>>16>0){j=+g[(c[o+((Uka((e*3|0)/4|0,o,e)|0)<<2)>>2]|0)+40>>2];j=j-+g[(c[o+((Uka((e|0)/4|0,o,e)|0)<<2)>>2]|0)+40>>2];m=c[o+((Uka((e|0)/2|0,o,e)|0)<<2)>>2]|0;c[b+88>>2]=m;if(d<<24>>24){h[k>>3]=+g[m+40>>2];c[q>>2]=c[k>>2];c[q+4>>2]=c[k+4>>2];h[k>>3]=j;c[q+8>>2]=c[k>>2];c[q+12>>2]=c[k+4>>2];jN(333008,q)}if(l<<16>>16>2?(p=+g[m+40>>2],j>2];do if(!(a[332154]|0)){if(p+g[b+36>>2]:0){g[b+36>>2]=p;f=p;break}else e=b+36|0;if(p>f){g[e>>2]=f;break}else{f=+g[e>>2];break}}else if(p>2]=p;f=p;break}else{g[b+36>>2]=f;break}while(0);j=+(c[82409]|0);if(f>2]=j;g[b+32>>2]=p;g[b+40>>2]=p*+h[41357]}g[b+44>>2]=+fGa(+g[m+156>>2],+g[b+32>>2])}if(d<<24>>24){j=+g[b+32>>2];p=+g[b+44>>2];h[k>>3]=+g[b+36>>2];c[q>>2]=c[k>>2];c[q+4>>2]=c[k+4>>2];h[k>>3]=j;c[q+8>>2]=c[k>>2];c[q+12>>2]=c[k+4>>2];h[k>>3]=p;c[q+16>>2]=c[k>>2];c[q+20>>2]=c[k+4>>2];jN(333032,q)}jM(o);i=q;return}function X0(a,b){a=a|0;b=b|0;var d=0.0,e=0.0;e=+g[(c[a>>2]|0)+40>>2];d=+g[(c[b>>2]|0)+40>>2];if(ed&1;return a|0}function Y0(b,d,e){b=b|0;d=d|0;e=+e;var f=0.0,j=0.0,l=0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0;r=i;i=i+192|0;Lk(r+124|0,d+92|0);if(!((uZ(r+124|0)|0)<<24>>24)){u1(~~+g[d+36>>2],r+64|0,r+120|0);o=c[r+64>>2]|0;p=c[r+120>>2]|0;Aka(r+104|0,o,p+1|0);Aka(r+48|0,~~(+(o|0)*.5),~~(+(p|0)*.5)+1|0);Aka(r+152|0,~~(+(o|0)*.5),~~(+(p|0)*.5)+1|0);Aka(r+168|0,o,p+1|0);Aka(r+72|0,~~(+(o|0)*.5),~~(+(p|0)*.5)+1|0);Aka(r+88|0,o,p+1|0);Aka(r+32|0,o,p+1|0);Mk(r+124|0);while(1){if((Nk(r+124|0)|0)<<24>>24)break;l=Ok(r+124|0)|0;if(+g[l+44>>2]<=0.0){s=(c[d+24>>2]|0)+76|0;n=c[s+4>>2]|0;c[r>>2]=c[s>>2];c[r+4>>2]=n;Z0(b,l,r,e,~~+g[d+36>>2])}n=v1(l)|0;if(!n){Fka(r+104|0,~~+g[l+44>>2],c[l+48>>2]|0);Fka(r+48|0,~~+g[l+52>>2],c[l+48>>2]|0);Fka(r+152|0,~~-+g[l+56>>2],c[l+48>>2]|0)}else if((n|0)==2)_0(l,e,o,p,r+88|0,r+32|0);else if((n|0)==1){Fka(r+168|0,~~+g[l+44>>2],c[l+48>>2]|0);Fka(r+72|0,~~-+g[l+56>>2],c[l+48>>2]|0)}VL(r+124|0)}g[r+184>>2]=0.0;g[r+188>>2]=0.0;do if((c[r+112>>2]|0)<=0){if((c[r+176>>2]|0)>0){e=+Mka(r+168|0);g[r+184>>2]=e;f=0.0;j=-+Mka(r+72|0);break}if((c[r+96>>2]|0)<=0){e=+g[d+36>>2]*.5;g[r+184>>2]=e;f=0.0;j=0.0;break}if(!(a[b+22>>0]|0))l=0;else l=+g[(c[d+24>>2]|0)+80>>2]==0.0;$0(r+88|0,r+32|0,l,o,p,r+184|0,r+188|0)|0;f=+g[r+188>>2];if(f==0.0){e=+Mka(r+88|0)*.6666666666666666;g[r+184>>2]=e;j=0.0;break}else{e=+g[r+184>>2];j=0.0;break}}else{e=+Mka(r+104|0);g[r+184>>2]=e;f=+Mka(r+48|0);g[r+188>>2]=f;j=-+Mka(r+152|0)}while(0);m=+(c[82409]|0);if(!(e>2]=m;f=m;l=0;q=25}if((q|0)==25){m=f*.5;g[r+188>>2]=m;e=f;f=m}if(!(l&!(j>=0.0)))j=-(e*.5);g[d+48>>2]=e;if(a[328794]|0){h[k>>3]=e;c[r+8>>2]=c[k>>2];c[r+12>>2]=c[k+4>>2];h[k>>3]=f;c[r+16>>2]=c[k>>2];c[r+20>>2]=c[k+4>>2];h[k>>3]=j;c[r+24>>2]=c[k>>2];c[r+28>>2]=c[k+4>>2];jN(333080,r+8|0)}Mk(r+124|0);while(1){if((Nk(r+124|0)|0)<<24>>24)break;a1(Ok(r+124|0)|0,e,f,j);VL(r+124|0)}Eka(r+32|0);Eka(r+88|0);Eka(r+72|0);Eka(r+168|0);Eka(r+152|0);Eka(r+48|0);Eka(r+104|0)}i=r;return}function Z0(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=+f;h=h|0;var j=0,k=0,l=0;l=i;i=i+48|0;if((c[d+164>>2]|0)==-1)b1(d);u1(h,l+36|0,l+32|0);j=c[l+36>>2]|0;k=c[l+32>>2]|0;Aka(l+16|0,j,k+1|0);Aka(l,j,k+1|0);_0(d,f,j,k,l+16|0,l);g[d+52>>2]=0.0;g[d+44>>2]=0.0;if(!(a[b+22>>0]|0))h=0;else h=+g[e+4>>2]==0.0;h=$0(l+16|0,l,h,j,k,d+44|0,d+52|0)|0;c[d+48>>2]=h;g[d+56>>2]=0.0;if(+g[d+44>>2]>0.0)g[d+56>>2]=+(c1(d,f,h,l+16|0)|0);Eka(l);Eka(l+16|0);i=l;return}function _0(d,e,f,j,k,l){d=d|0;e=+e;f=f|0;j=j|0;k=k|0;l=l|0;var m=0.0,n=0.0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+32|0;pk(u+4|0,d+120|0);if(!(vk(u+4|0)|0)){p=(c[d+164>>2]|0)>0;do{s=tk(u+4|0)|0;if(!(c[s+24>>2]&1073741824)){m=+((b[s+12>>1]|0)+(b[s+8>>1]|0)|0)*.5;n=+(b[s+14>>1]|0);o=+((ll(s+8|0)|0)<<16>>16);if(!(a[328658]|0))m=n-(m*e+ +g[d+148>>2]);else m=n-+fia(d+92|0,m);if(!(!(m>=+(f|0))|!(m<=+(j|0)))?(q=~~+P(+(m+.5)),Fka(k,q,1),o/m<+h[41396]):0)Fka(l,q,1)}a:do if(p?(r=c[s+28>>2]|0,(r|0)!=0):0){OL(u+4|0)|0;if(!(xk(u+4|0)|0))do{if((c[(tk(u+4|0)|0)+28>>2]|0)!=(r|0))break a;OL(u+4|0)|0;if(a[328794]|0)jN(333144,u)}while(!(xk(u+4|0)|0))}else t=17;while(0);if((t|0)==17){t=0;OL(u+4|0)|0}}while(!(xk(u+4|0)|0))}i=u;return}function $0(b,d,e,f,j,l,m){b=b|0;d=d|0;e=e|0;f=f|0;j=j|0;l=l|0;m=m|0;var n=0.0,o=0,p=0,q=0,r=0,s=0.0,t=0.0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+80|0;z=Gka(b)|0;y=mx(b,z)|0;if(a[328794]|0){v=c[b+8>>2]|0;c[A>>2]=f;c[A+4>>2]=j;c[A+8>>2]=z;c[A+12>>2]=y;c[A+16>>2]=v;jN(333192,A);Rka(b);Rka(d)}do if(y){x=d1(b,f,j,A+24|0)|0;x=(x|0)>1&e?1:x;if(a[328794]|0){c[A>>2]=x;jN(333256,A);if((x|0)>0){e=0;do{c[A>>2]=c[A+24+(e<<2)>>2];jN(333280,A);e=e+1|0}while((e|0)!=(x|0))}jN(1714256,A)}if((x+-1|0)>0){e=0;o=0;r=-2147483647;w=0;while(1){p=c[A+24+(w<<2)>>2]|0;o=(p|0)==(r+1|0)&o;v=mx(b,p)|0;v=v-(mx(d,p)|0)|0;w=w+1|0;a:do if(+(v|0)>=+(y|0)*+h[41414]&(o|(v|0)>(e|0))&(w|0)<(x|0)){q=w;while(1){n=+h[41456];s=+h[41466];t=+(y|0)*+h[41427];while(1){u=c[A+24+(q<<2)>>2]|0;if((n<+(u|0)/+(p|0)?+(u|0)/+(p|0)=t:0)break;q=q+1|0;if((q|0)>=(x|0)){p=r;break a}}r=(v|0)>(e|0);e=r?v:e;o=r|o;if(a[328794]|0){c[A>>2]=p;c[A+4>>2]=u-p;c[A+8>>2]=v;h[k>>3]=+(u|0)/+(p|0);c[A+12>>2]=c[k>>2];c[A+16>>2]=c[k+4>>2];jN(333288,A)}g[l>>2]=+(p|0);g[m>>2]=+(u-p|0);q=q+1|0;if((q|0)>=(x|0))break;else r=p}}else p=r;while(0);if((w|0)==(x+-1|0))break;else r=p}}else e=0;n=+g[l>>2];if(!(n==0.0)){if(!(a[328794]|0))break;t=+g[m>>2];h[k>>3]=n;c[A>>2]=c[k>>2];c[A+4>>2]=c[k+4>>2];h[k>>3]=t;c[A+8>>2]=c[k>>2];c[A+12>>2]=c[k+4>>2];jN(333360,A);break}do if((c[d+8>>2]|0)>0){if((f|0)<(j|0))e=f;else{e=Gka(b)|0;break}do{Fka(b,e,0-(mx(d,e)|0)|0);e=e+1|0}while((e|0)!=(j|0));e=Gka(b)|0;do{Fka(b,f,mx(d,f)|0);f=f+1|0}while((f|0)!=(j|0))}else e=z;while(0);g[l>>2]=+(e|0);g[m>>2]=0.0;e=mx(b,e)|0;if(a[328794]|0){h[k>>3]=+g[l>>2];c[A>>2]=c[k>>2];c[A+4>>2]=c[k+4>>2];jN(333328,A)}}else e=0;while(0);i=A;return e|0}function a1(b,d,e,f){b=b|0;d=+d;e=+e;f=+f;var j=0.0,l=0,m=0.0,n=0,o=0,p=0,q=0;q=i;i=i+32|0;l=v1(b)|0;if(a[328794]|0){j=+g[b+52>>2];m=+g[b+56>>2];h[k>>3]=+g[b+44>>2];c[q>>2]=c[k>>2];c[q+4>>2]=c[k+4>>2];h[k>>3]=j;c[q+8>>2]=c[k>>2];c[q+12>>2]=c[k+4>>2];h[k>>3]=m;c[q+16>>2]=c[k>>2];c[q+20>>2]=c[k+4>>2];jN(333456,q)}j=+g[b+44>>2];m=+h[41498];if(!((1.0-m)*d<=j))n=0;else n=(m+1.0)*d>=j;if(!((d+e)*(1.0-m)<=j))o=0;else o=(d+e)*(m+1.0)>=j;do if(!l)if(!(+g[b+56>>2]>=0.0))d=j;else{g[b+56>>2]=j*(f/d);d=j}else if(((l|0)!=3?!((l|0)==1&(n|o)):0)?!((l|0)==2&n):0){if((l|0)==1){if(a[328794]|0){jN(333560,q);j=+g[b+44>>2]}g[b+52>>2]=j*(e/d);d=j;break}if((l|0)==2){a[b+9>>0]=1;l=(a[328794]|0)!=0;if(o){if(l)jN(333592,q);g[b+44>>2]=d;g[b+52>>2]=e;g[b+56>>2]=f;break}do if(l)if(jd){jN(333608,q);break}else{jN(333624,q);break}while(0);m=+g[b+44>>2];g[b+52>>2]=m*(e/(d+e));g[b+44>>2]=m-m*(e/(d+e));g[b+56>>2]=(m-m*(e/(d+e)))*(f/d);d=m-m*(e/(d+e))}else d=j}else p=12;while(0);if((p|0)==12){if(a[328794]|0)jN(333536,q);g[b+44>>2]=d;g[b+52>>2]=e;g[b+56>>2]=f}if(a[328794]|0){m=+g[b+52>>2];e=+g[b+56>>2];h[k>>3]=d;c[q>>2]=c[k>>2];c[q+4>>2]=c[k+4>>2];h[k>>3]=m;c[q+8>>2]=c[k>>2];c[q+12>>2]=c[k+4>>2];h[k>>3]=e;c[q+16>>2]=c[k>>2];c[q+20>>2]=c[k+4>>2];jN(333664,q)}i=q;return}function b1(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=i;i=i+64|0;pk(g+28|0,a+120|0);if(vk(g+28|0)|0)b=0;else{b=0;do{d=tk(g+28|0)|0;do if((((c[d+44>>2]|0)==6?(c[d+24>>2]&1073741824|0)==0:0)?(c[d+4>>2]|0)!=0:0)?(c[g+0>>2]=c[g+28>>2],c[g+4>>2]=c[g+32>>2],c[g+8>>2]=c[g+36>>2],c[g+12>>2]=c[g+40>>2],c[g+16>>2]=c[g+44>>2],c[g+20>>2]=c[g+48>>2],c[g+24>>2]=c[g+52>>2],OL(g)|0,!(xk(g)|0)):0){e=1;do{d=tk(g)|0;if((c[d+44>>2]|0)!=6)break;OL(g)|0;d=tk(g)|0;if(c[d+24>>2]&1073741824){f=14;break}e=e+1|0;if(!(c[d+4>>2]|0)){f=14;break}}while(!(xk(g)|0));if((f|0)==14){f=15;break}if((e|0)>4){b=b+1|0;d=e;do{c[(tk(g+28|0)|0)+28>>2]=b;OL(g+28|0)|0;d=d+-1|0}while((d|0)>0)}else f=15}else f=15;while(0);if((f|0)==15){f=0;c[d+28>>2]=0;OL(g+28|0)|0}}while(!(xk(g+28|0)|0))}c[a+164>>2]=b;i=g;return}function c1(d,e,f,j){d=d|0;e=+e;f=f|0;j=j|0;var k=0,l=0,m=0.0,n=0,o=0.0,p=0.0,q=0;q=i;i=i+64|0;l=Kka(j)|0;o=+g[d+44>>2];m=+h[41456];if(+(l|0)/om)k=~~+P(+(o*m));if((l|0)>(k|0))n=0;else{n=0;while(1){n=(mx(j,l)|0)+n|0;if((l|0)<(k|0))l=l+1|0;else break}}j=~~+P(+(o*+h[41476]+.5));l=~~+P(+(o*+h[41487]));pk(q+32|0,d+120|0);Aka(q+16|0,j,l+1|0);rk(q+32|0);while(1){if(sk(q+32|0)|0)break;k=tk(q+32|0)|0;if((c[k+24>>2]&1073741824|0)==0?(p=+g[d+148>>2]+ +((b[k+12>>1]|0)+(b[k+8>>1]|0)|0)*.5*e-+(b[k+10>>1]|0),!(!(p>=+(j|0))|!(p<=+(l|0)))):0)Fka(q+16|0,~~+P(+(p+.5)),1);OL(q+32|0)|0}k=Gka(q+16|0)|0;l=mx(q+16|0,k)|0;l=+(l+n|0)<+(f|0)*(+h[41441]+ +h[41427])?0:l;k=(l|0)>0?0-k|0:0;if(a[328794]|0){c[q>>2]=k;c[q+4>>2]=n;c[q+8>>2]=l;jN(333400,q);Rka(q+16|0)}Eka(q+16|0);i=q;return k|0}function d1(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if((1-b+d|0)>0){l=0;h=2147483647;g=-1;m=0;while(1){i=m+b|0;k=mx(a,i)|0;do if((k|0)>0){j=(k|0)<(h|0);if((l|0)<12){c[e+(l<<2)>>2]=i;f=l+1|0;h=j?k:h;g=j?l:g;break}if(!j){if((g|0)<11)do{j=g;g=g+1|0;c[e+(j<<2)>>2]=c[e+(g<<2)>>2]}while((g|0)!=11);c[e+44>>2]=i;if((k|0)==(h|0)){f=l;g=11}else{i=1;f=mx(a,c[e>>2]|0)|0;g=0;while(1){h=mx(a,c[e+(i<<2)>>2]|0)|0;l=(h|0)<(f|0);h=l?h:f;g=l?i:g;i=i+1|0;if((i|0)==12){f=12;break}else f=h}}}else f=l}else f=l;while(0);m=m+1|0;if((m|0)==(d+1-b|0))break;else l=f}}else f=0;return f|0}function e1(d,f,j,k){d=d|0;f=+f;j=+j;k=+k;var l=0,m=0,n=0.0,o=0,p=0,q=0,r=0.0;q=i;i=i+144|0;b[q+8>>1]=32767;b[q+10>>1]=32767;b[q+12>>1]=-32767;b[q+14>>1]=-32767;c[q+72>>2]=0;pk(q+100|0,d+8|0);pk(q+16|0,d+20|0);Lk(q+44|0,d+92|0);m=~~(+h[41396]*+g[d+36>>2]+.5);n=+R(+(f*f+1.0));Mk(q+44|0);while(1){if((Nk(q+44|0)|0)<<24>>24)break;o=Ok(q+44|0)|0;pk(q+72|0,o+120|0);rk(q+72|0);while(1){if(sk(q+72|0)|0)break;p=tk(q+72|0)|0;l=e[p+12>>1]|e[p+14>>1]<<16;c[q+8>>2]=e[p+8>>1]|e[p+10>>1]<<16;c[q+12>>2]=l;r=+((kl(q+8|0)|0)<<16>>16);if(r>+g[d+36>>2]*+h[41383]){l=c[p+4>>2]|0;if(!l){c[q>>2]=333768;c[q+4>>2]=1836;$L(327656,333744,2,1702e3,q);l=c[p+4>>2]|0}l=Yaa(l,1.0/n*j- -f/n*-k,-f/n*j+1.0/n*-k)|0;if(!((zV((a[328114]|0)!=0&1,l,~~+g[o+156>>2],~~(+g[d+36>>2]*.625))|0)<<24>>24)){p=w1(p+8|0,m,o+120|0)|0;if((p|0)>(c[82383]|0)?(Ck(q+16|0,pv(q+72|0)|0),(a[328114]|0)!=0):0){c[q>>2]=w1(q+8|0,m,o+120|0)|0;jN(333824,q);jv(q+8|0)}}else{Ck(q+100|0,pv(q+72|0)|0);if(a[328114]|0){jN(333792,q);fla(q+128|0,l);jv(q+128|0);jN(333816,q);jv(q+8|0)}}if(l){KL(l+4|0,230);YEa(l)}}OL(q+72|0)|0}VL(q+44|0)}i=q;return}function f1(d,f,j){d=d|0;f=+f;j=+j;var k=0,l=0,m=0;m=i;i=i+96|0;b[m>>1]=32767;b[m+2>>1]=32767;b[m+4>>1]=-32767;b[m+6>>1]=-32767;c[m+64>>2]=0;c[m+36>>2]=0;Lk(m+8|0,d+92|0);Mk(m+8|0);if(!((Nk(m+8|0)|0)<<24>>24))do{pk(m+64|0,(Ok(m+8|0)|0)+120|0);rk(m+64|0);if(!(sk(m+64|0)|0))do{k=tk(m+64|0)|0;l=e[k+12>>1]|e[k+14>>1]<<16;c[m>>2]=e[k+8>>1]|e[k+10>>1]<<16;c[m+4>>2]=l;c[m+36>>2]=c[m+64>>2];c[m+40>>2]=c[m+68>>2];c[m+44>>2]=c[m+72>>2];c[m+48>>2]=c[m+76>>2];c[m+52>>2]=c[m+80>>2];c[m+56>>2]=c[m+84>>2];a[m+60>>0]=a[m+88>>0]|0;a:do if(!(Ov(m+64|0)|0))do{l=RL(m+64|0,1)|0;if(!(vx(m,l+8|0)|0))break a;Faa(k,l);l=e[k+12>>1]|e[k+14>>1]<<16;c[m>>2]=e[k+8>>1]|e[k+10>>1]<<16;c[m+4>>2]=l;OL(m+64|0)|0}while(!(Ov(m+64|0)|0));while(0);Haa(k,m+36|0,m+64|0,+g[d+36>>2]*.5*+h[41293]);OL(m+64|0)|0}while(!(sk(m+64|0)|0));VL(m+8|0)}while((Nk(m+8|0)|0)<<24>>24==0);i=m;return}function g1(d,e){d=+d;e=e|0;var f=0,h=0.0,j=0.0,k=0,l=0,m=0;k=i;i=i+96|0;g[k+80>>2]=d;vda(k);pk(k+48|0,e+120|0);rk(k+48|0);f=0;while(1){if(sk(k+48|0)|0)break;if(!(c[(tk(k+48|0)|0)+24>>2]&1073741824)){m=tk(k+48|0)|0;l=b[m+10>>1]|0;b[k+84>>1]=((b[m+12>>1]|0)+(b[m+8>>1]|0)|0)/2|0;b[k+86>>1]=l;yda(k,k+84|0);f=f+1|0}OL(k+48|0)|0}h=+Hda(k,d,k+76|0);j=+g[k+76>>2];xU(e,d,j,h);if((a[328434]|0)!=0&(f|0)>(c[83019]|0)){h=+Gda(k,k+80|0,k+76|0);d=+g[k+80>>2];j=+g[k+76>>2]}g[e+136>>2]=d;g[e+140>>2]=j;g[e+144>>2]=h;wda(k);i=k;return}function h1(a,b){a=a|0;b=b|0;var d=0.0,e=0.0;e=+g[(c[a>>2]|0)+148>>2];d=+g[(c[b>>2]|0)+148>>2];if(e>d)a=-1;else a=e>24))do{if(!(c[(Ok(g)|0)+120>>2]|0)){f=hv(g)|0;if(f){r1(f);YEa(f)}}else j1(Ok(g)|0,d);VL(g)}while((Nk(g)|0)<<24>>24==0);if(a[328514]|0)y1(b,d,e);i=g;return}function j1(b,d){b=b|0;d=d|0;var e=0,f=0,j=0;j=i;i=i+16|0;f=iM(((NL(b+120|0)|0)<<2)+4|0)|0;e=(k1(b,d,j+12|0,f)|0)<<24>>24!=0;if(e&(a[328434]|0)==0&(a[328354]|0)==0){e=l1(b,j+12|0,f)|0;d=c[j+12>>2]|0}else{c[f+4>>2]=c[f+(c[j+12>>2]<<2)>>2];c[j+12>>2]=1;e=iM(24)|0;h[e>>3]=0.0;h[e+8>>3]=+g[b+136>>2];h[e+16>>3]=+g[b+140>>2];d=1}$ha(j,d,f,e);bia(b+92|0,j);cia(j);jM(e);jM(f);i=j;return}function k1(b,d,f,j){b=b|0;d=d|0;f=f|0;j=j|0;var k=0,l=0,m=0,n=0,o=0.0,p=0.0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+144|0;pk(x+56|0,b+120|0);c[x+84>>2]=c[x+56>>2];c[x+88>>2]=c[x+60>>2];c[x+92>>2]=c[x+64>>2];c[x+96>>2]=c[x+68>>2];c[x+100>>2]=c[x+72>>2];c[x+104>>2]=c[x+76>>2];c[x+108>>2]=c[x+80>>2];x1(x+112|0);_aa(x+48|0,x+56|0);m=c[x+48>>2]|0;c[j>>2]=(m&65535)<<16>>16;c[f>>2]=1;k=NL(b+120|0)|0;if(a[334570]|0){c[x>>2]=k;c[x+4>>2]=(m&65535)<<16>>16;c[x+8>>2]=m>>16;jN(333864,x)}do if(!((k|0)<=(c[82359]|0)|(k|0)<(c[82337]|0))){rk(x+84|0);if((c[82359]|0)>0){k=0;do{_aa(x+40|0,x+84|0);w=c[x+40>>2]|0;l=c[x+44>>2]|0;t=UGa(w|0,l|0,16)|0;l=_Ga(l|0,0,16)|0;m2(x+112|0,+((t&65535)<<16>>16)-+g[b+136>>2]*(+((l>>16)+(w<<16>>16)|0)*.5)-+g[b+140>>2],k);k=k+1|0;if(sk(x+84|0)|0){n=9;break}l=c[82359]|0}while((k|0)<(l|0));if((n|0)==9){c[j+4>>2]=l>>16;k=0;break}if((l|0)>1){l=0;do{_aa(x+16|0,x+56|0);l=l+1|0}while((l|0)<((c[82359]|0)/2|0|0));n=c[x+16>>2]&65535;w=b+140|0;v=b+136|0;m=k}else{n=m&65535;w=b+140|0;v=b+136|0;l=0;m=k}}else{n=m&65535;w=b+140|0;v=b+136|0;l=0;m=0}q=0;k=0;while(1){_aa(x+24|0,x+84|0);t=c[x+24>>2]|0;b=c[x+28>>2]|0;u=UGa(t|0,b|0,16)|0;o=+o2(x+112|0,(c[82359]|0)/2|0);p=+h[41215]*+g[d+36>>2];if(o>p)s=1;else s=(-o>p)<<31>>31;k=(s|0)==0?k:1;if((s|0)!=(q|0)&(l|0)>(c[82337]|0)){r=c[f>>2]|0;c[f>>2]=r+1;c[j+(r<<2)>>2]=n<<16>>16;r=0}else r=l;n2(x+112|0,m-(c[82359]|0)|0);_aa(x+32|0,x+56|0);n=c[x+32>>2]|0;q=c[x+36>>2]|0;b=_Ga(b|0,0,16)|0;m2(x+112|0,+((u&65535)<<16>>16)-+((b>>16)+(t<<16>>16)|0)*.5*+g[v>>2]-+g[w>>2],m);if(sk(x+84|0)|0)break;else{n=n&65535;l=r+1|0;m=m+1|0;q=s}}l=c[f>>2]|0;if((r|0)>=(c[82337]|0)|(l|0)==1)c[j+(l<<2)>>2]=b>>16;else{c[f>>2]=l+-1;c[j+(l+-1<<2)>>2]=b>>16}if(a[334570]|0){f=c[f>>2]|0;j=_Ga(q|0,0,16)|0;c[x>>2]=f;c[x+4>>2]=j>>16;c[x+8>>2]=n>>16;jN(333912,x)}}else{SL(x+56|0);k=(tk(x+56|0)|0)+8|0;k=_Ga(e[k+4>>1]|e[k+6>>1]<<16|0,0,16)|0;c[j+4>>2]=k>>16;k=0}while(0);KL(x+112|0,241);i=x;return k|0}function l1(d,e,f){d=d|0;e=e|0;f=f|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;t=i;i=i+192|0;pk(t+100|0,d+120|0);c[t+136>>2]=c[t+100>>2];c[t+140>>2]=c[t+104>>2];c[t+144>>2]=c[t+108>>2];c[t+148>>2]=c[t+112>>2];c[t+152>>2]=c[t+116>>2];c[t+156>>2]=c[t+120>>2];c[t+160>>2]=c[t+124>>2];vda(t+32|0);_aa(t,t+100|0);d=c[t>>2]|0;j=UGa(d|0,c[t+4>>2]|0,16)|0;c[f>>2]=(d&65535)<<16>>16;d=d&65535;s=1;while(1){if(xk(t+100|0)|0)break;_aa(t+8|0,t+100|0);d=c[t+8>>2]|0;j=UGa(d|0,c[t+12>>2]|0,16)|0;d=d&65535;s=s+1|0}r=(s|0)/(c[82359]|0)|0;r=(r|0)<1?1:r;c[e>>2]=r;q=(s|0)/(r|0)|0;r=iM(r*24|0)|0;if(a[334570]|0){p=c[e>>2]|0;c[t+80>>2]=s;c[t+84>>2]=d<<16>>16;c[t+88>>2]=j<<16>>16;c[t+92>>2]=p;c[t+96>>2]=q;jN(333952,t+80|0)}if((q|0)>1){d=0;do{_aa(t+168|0,t+136|0);d=d+1|0}while((d|0)<((q|0)/2|0|0))}else d=0;p=s+-1|0;n=d;j=0;o=1;do{m=n+q|0;xda(t+32|0);l=f+(o<<2)|0;while(1){if((j|0)>=(m|0)?!((j|0)<(s|0)?(o|0)==(c[e>>2]|0):0):0)break;_aa(t+16|0,t+100|0);k=c[t+16>>2]|0;u=c[t+20>>2]|0;n=UGa(k|0,u|0,16)|0;u=_Ga(u|0,0,16)|0;b[t+176>>1]=((u>>16)+(k<<16>>16)|0)/2|0;b[t+178>>1]=n;yda(t+32|0,t+176|0);j=j+1|0;if(!((j|0)==(p|0)?1:(j|0)==(m-((q|0)/2|0)|0)))continue;c[l>>2]=k<<16>>16}+Gda(t+32|0,t+128|0,t+132|0);k=o*3|0;h[r+(k+-3<<3)>>3]=0.0;h[r+(k+-2<<3)>>3]=+g[t+128>>2];h[r+(k+-1<<3)>>3]=+g[t+132>>2];k=o+1|0;if((o|0)>=(c[e>>2]|0))break;n=m+q|0;xda(t+32|0);m=n-((q|0)/2|0)|0;while(1){if((d|0)>=(n|0)?!((d|0)<(s|0)?(k|0)==(c[e>>2]|0):0):0)break;_aa(t+24|0,t+136|0);l=c[t+24>>2]|0;v=c[t+28>>2]|0;u=UGa(l|0,v|0,16)|0;v=_Ga(v|0,0,16)|0;b[t+164>>1]=((v>>16)+(l<<16>>16)|0)/2|0;b[t+166>>1]=u;yda(t+32|0,t+164|0);d=d+1|0;if(!((d|0)==(m|0)|(d|0)==(p|0)))continue;c[f+(k<<2)>>2]=l<<16>>16}+Gda(t+32|0,t+128|0,t+132|0);h[r+((k*3|0)+-3<<3)>>3]=0.0;h[r+((k*3|0)+-2<<3)>>3]=+g[t+128>>2];h[r+((k*3|0)+-1<<3)>>3]=+g[t+132>>2];o=o+2|0}while((o|0)<=(c[e>>2]|0));wda(t+32|0);i=t;return r|0}function m1(a,d){a=a|0;d=d|0;var e=0;e=b[(c[a>>2]|0)+8>>1]|0;a=b[(c[d>>2]|0)+8>>1]|0;if(e<<16>>16>16)a=-1;else a=e<<16>>16>a<<16>>16&1;return a|0}function n1(b,d,e,f,j,l){b=b|0;d=d|0;e=+e;f=+f;j=+j;l=l|0;var m=0,n=0.0,o=0.0,p=0,q=0.0,r=0.0,s=0.0,t=0.0,u=0,v=0,w=0.0,x=0.0,y=0;y=i;i=i+96|0;c[y+56>>2]=0;p=Ok(b)|0;o=+g[p+128>>2];if(o>2];if(q>f)n=n-(q-f);if((a[332234]|0)==0|l<<24>>24!=0^1)w=j;else{h[k>>3]=f;c[y>>2]=c[k>>2];c[y+4>>2]=c[k+4>>2];h[k>>3]=e;c[y+8>>2]=c[k>>2];c[y+12>>2]=c[k+4>>2];h[k>>3]=q;c[y+16>>2]=c[k>>2];c[y+20>>2]=c[k+4>>2];h[k>>3]=o;c[y+24>>2]=c[k>>2];c[y+28>>2]=c[k+4>>2];h[k>>3]=j;c[y+32>>2]=c[k>>2];c[y+36>>2]=c[k+4>>2];h[k>>3]=n;c[y+40>>2]=c[k>>2];c[y+44>>2]=c[k+4>>2];jN(334136,y);w=j}m=0;u=p;while(1){if(!((Kv(b)|0)<<24>>24)){VL(b);v=Ok(b)|0;q=+g[v+124>>2];if(q<=e?(x=+g[v+128>>2],x>=f):0){o=+g[u+128>>2];r=x>o?x:o;s=+g[u+124>>2];t=q>24){h[k>>3]=s;c[y>>2]=c[k>>2];c[y+4>>2]=c[k+4>>2];h[k>>3]=o;c[y+8>>2]=c[k>>2];c[y+12>>2]=c[k+4>>2];h[k>>3]=q;c[y+16>>2]=c[k>>2];c[y+20>>2]=c[k+4>>2];h[k>>3]=x;c[y+24>>2]=c[k>>2];c[y+28>>2]=c[k+4>>2];jN(334192,y)}g[v+124>>2]=t;g[v+128>>2]=r;pk(y+56|0,v+120|0);yk(y+56|0,u+120|0);q1(y+56|0,37);YL(b);p=hv(b)|0;if(p){r1(p);YEa(p)}VL(b);r=+g[v+128>>2];n=-1.0}if(r>2];if(t>f)q=q-(t-f);m=!(n>=j+-1.0)|!(q>=j+-1.0)?m:1;p=q>n;o=p?q:n;p=p?v:u;if((a[332234]|0)==0|l<<24>>24!=0^1){u=p;p=v}else{h[k>>3]=f;c[y>>2]=c[k>>2];c[y+4>>2]=c[k+4>>2];h[k>>3]=e;c[y+8>>2]=c[k>>2];c[y+12>>2]=c[k+4>>2];h[k>>3]=t;c[y+16>>2]=c[k>>2];c[y+20>>2]=c[k+4>>2];h[k>>3]=r;c[y+24>>2]=c[k>>2];c[y+28>>2]=c[k+4>>2];h[k>>3]=w;c[y+32>>2]=c[k>>2];c[y+36>>2]=c[k+4>>2];h[k>>3]=q;c[y+40>>2]=c[k>>2];c[y+44>>2]=c[k+4>>2];h[k>>3]=o;c[y+48>>2]=c[k>>2];c[y+52>>2]=c[k+4>>2];jN(334232,y);u=p;p=v}}else{o=n;p=v}}else o=n;if((Kv(b)|0)<<24>>24)break;if(!(+g[p+124>>2]<=e))break;if(!(+g[p+128>>2]>=f))break;else n=o}while(1){if((Ok(b)|0)==(u|0))break;YL(b)}n=w*+h[41319];do if(e-f-o>n){if(!(a[328722]|0)){if(m)break}else if(!(o>2]=u;i=y;return m|0}function o1(){c[81914]=1701984;c[81916]=357176;c[81918]=389976;c[81920]=390024;c[81922]=390056;c[81924]=390112;c[81926]=390152;c[81928]=390184;c[81930]=390240;c[81932]=390280;c[81934]=390328;c[81936]=390376;c[81938]=390400;c[81940]=390432;c[81942]=390504;c[81944]=390552;c[81946]=390592;c[81948]=390640;Wk(327800,0,327816,327840,0,kM()|0);Wk(327864,0,327880,327912,0,kM()|0);Wk(327944,0,327960,327992,0,kM()|0);Wk(328024,0,328040,328072,0,kM()|0);Wk(328104,0,328120,328144,0,kM()|0);Wk(328184,0,328200,328232,0,kM()|0);Wk(328272,0,328288,328312,0,kM()|0);Wk(328344,1,328360,328392,0,kM()|0);Wk(328424,0,328440,328472,0,kM()|0);Wk(328504,1,328520,328544,0,kM()|0);Wk(328576,0,328592,328616,0,kM()|0);Wk(328648,1,328664,328688,0,kM()|0);Wk(328712,1,328728,328752,0,kM()|0);Wk(328784,0,328800,328824,0,kM()|0);Wk(328848,1,328864,328888,0,kM()|0);Wk(328928,1,328944,328976,0,kM()|0);rJ(329e3,4,329024,329056,0,kM()|0);rJ(329080,1,329104,329056,0,kM()|0);rJ(329136,-2147483647,329160,329176,0,kM()|0);rJ(329200,-2147483647,329224,329176,0,kM()|0);rJ(329240,4,329264,329296,0,kM()|0);rJ(329336,8,329360,329384,0,kM()|0);rJ(329424,6,329448,329480,0,kM()|0);rJ(329520,4,329544,329576,0,kM()|0);rJ(329624,10,329648,329672,0,kM()|0);tJ(329704,.02,329744,329776,kM()|0);tJ(329816,.1,329856,329888,kM()|0);tJ(329928,.5,329968,329992,kM()|0);tJ(330024,.02,330064,330088,kM()|0);tJ(330128,.2,330168,330200,kM()|0);tJ(330232,8.0,330272,330296,kM()|0);tJ(330328,1.5,330368,330392,kM()|0);tJ(330424,1.0,330464,330496,kM()|0);tJ(330536,.375,330576,330600,kM()|0);tJ(330640,.25,330680,330696,kM()|0);tJ(330736,1.25,330776,330800,kM()|0);tJ(330840,1.3,330880,330904,kM()|0);tJ(330944,.4,330984,331016,kM()|0);tJ(331048,2.0,331088,331112,kM()|0);tJ(331152,.75,331192,331232,kM()|0);tJ(331296,.4,331336,331368,kM()|0);tJ(331400,.08,331440,331472,kM()|0);tJ(331512,.08,331552,331592,kM()|0);tJ(331632,1.25,331672,331696,kM()|0);tJ(331712,1.8,331752,331776,kM()|0);tJ(331792,.25,331832,331856,kM()|0);tJ(331880,.6,331920,331944,kM()|0);tJ(331968,.1,332008,332040,kM()|0);rJ(332064,12,332088,332112,0,kM()|0);Wk(332144,1,332160,332192,0,kM()|0);Wk(332224,0,332240,332264,0,kM()|0);return}function p1(a,c,d){a=+a;c=c|0;d=d|0;var e=0.0,f=0,g=0,h=0,i=0,j=0;q1(c,37);qk(c);if(!(vk(c)|0)){j=0;g=0;e=0.0;while(1){f=pv(c)|0;h=b[f+14>>1]|0;i=b[f+10>>1]|0;if(!g){g=WEa(168)|0;$aa(g,f,+(h<<16>>16),+(i<<16>>16),a);_L(d,g)}else aba(g,f,+(h<<16>>16),+(i<<16>>16),a);e=e+ +((h<<16>>16)-(i<<16>>16)|0);f=j+1|0;OL(c)|0;if(vk(c)|0)break;else j=f}if((j|0)>-1)e=e/+(f|0)}else e=0.0;return +e}function q1(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if(!a)$L(327704,334296,2,0,e);d=c[a>>2]|0;if(!d){$L(327696,334296,2,0,e);d=c[a>>2]|0}PL(d,b);qk(a);i=e;return}function r1(a){a=a|0;KL(a+120|0,234);Eka(a+104|0);cia(a+92|0);KL(a+88|0,228);TL(a+84|0,227);return}function s1(a,d,f){a=a|0;d=d|0;f=f|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0,u=0,v=0,w=0;w=i;i=i+48|0;u=b[a+12>>1]|0;j=b[d+12>>1]|0;v=b[a+8>>1]|0;h=b[d+8>>1]|0;h=((u<<16>>16>j<<16>>16?j:u)<<16>>16)-((v<<16>>16>16?h:v)<<16>>16)|0;j=(ll(d+8|0)|0)<<16>>16;a:do if((j|0)>((ll(a+8|0)|0)<<16>>16<<1|0)){k=(kl(d+8|0)|0)<<16>>16;if((h<<1|0)<(k|0)?(h|0)<((kl(a+8|0)|0)<<16>>16|0):0){h=0;break}if((j|0)<=(k<<1|0)){s=b[a+10>>1]|0;r=b[d+14>>1]|0;t=(+((s<<16>>16>r<<16>>16?r:s)<<16>>16)-(+g[f+140>>2]+ +g[f+136>>2]*+(v<<16>>16)))*.6;s=(kl(a+8|0)|0)<<16>>16;pk(w+4|0,(c[d+4>>2]|0)+4|0);rk(w+4|0);if(sk(w+4|0)|0)h=0;else{h=0;k=0;m=0;l=0;j=0;f=0;a=0;n=0;while(1){q=tk(w+4|0)|0;r=b[q+16>>1]|0;d=e[q+12>>1]|e[q+14>>1]<<16;c[w>>2]=d;b:do if(r<<16>>16>0){p=k;o=m;m=0;while(1){k=d<<16>>16;d=d>>16;if(((k|0)<((v<<16>>16)-s|0)?1:(k|0)>=(((u<<16>>16)+(v<<16>>16)|0)/2|0|0))|h)if(o?+(j-f|0)>t:0)if(p){h=1;break a}else{h=1;o=0}else o=0;else if(o){h=0;o=1;j=(d|0)>(j|0)?d:j;f=(d|0)<(f|0)?d:f}else{h=0;o=1;j=d;f=d}if(((k|0)>((u<<16>>16)+s|0)?1:(k|0)<=(((u<<16>>16)+(v<<16>>16)|0)/2|0|0))|p)if(l?+(a-n|0)>t:0)if(h){h=1;break a}else{k=1;l=0}else{k=p;l=0}else if(l){k=0;l=1;a=(d|0)>(a|0)?d:a;n=(d|0)<(n|0)?d:n}else{k=0;l=1;a=d;n=d}yV(w+32|0,c[q+20>>2]|0,m);m=m+1|0;eB(w,b[w+32>>1]|0,b[w+34>>1]|0);if((m|0)>=(r<<16>>16|0)){m=o;d=n;break b}d=c[w>>2]|0;p=k}}else d=n;while(0);OL(w+4|0)|0;if(sk(w+4|0)|0){h=0;break}else n=d}}}else h=1}else h=0;while(0);i=w;return h|0}function t1(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if(!a)$L(327704,334320,2,0,e);d=c[a>>2]|0;if(!d){$L(327696,334320,2,0,e);d=c[a>>2]|0}WL(d,b);DZ(a);i=e;return}function u1(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=~~+P(+(+(a|0)*+h[41332]));c[b>>2]=e;f=c[82409]|0;c[b>>2]=(e|0)<(f|0)?f:e;c[d>>2]=~~+aa(+(+(a|0)*3.0));return}function v1(a){a=a|0;if(!(+g[a+44>>2]<=0.0))if(+g[a+52>>2]>0.0)a=0;else a=+g[a+56>>2]!=0.0?1:2;else a=3;return a|0}function w1(a,b,d){a=a|0;b=b|0;d=d|0;var f=0,g=0,h=0;f=i;i=i+48|0;pk(f+8|0,d);rk(f+8|0);if(sk(f+8|0)|0)d=0;else{d=0;do{h=(tk(f+8|0)|0)+8|0;g=e[h+4>>1]|e[h+6>>1]<<16;c[f>>2]=e[h>>1]|e[h+2>>1]<<16;c[f+4>>2]=g;if(((ll(f)|0)<<16>>16|0)>=(b|0))d=((Kk(a,f)|0)&1)+d|0;OL(f+8|0)|0}while(!(sk(f+8|0)|0))}i=f;return d|0}function x1(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;pk(a+4|0,a);return}function y1(d,e,f){d=d|0;e=e|0;f=+f;var h=0,j=0.0,k=0,l=0;l=i;i=i+64|0;Lk(l+36|0,e+92|0);c[l+8>>2]=0;Mk(l+36|0);if(!((Nk(l+36|0)|0)<<24>>24)){h=0;do{k=Ok(l+36|0)|0;z1(d,e,k,2,0);j=+g[k+44>>2];if(j<=0.0&(h|0)!=0){z1(d,e,k,2,h);j=+g[k+44>>2]}if(!(j>0.0)){pk(l+8|0,k+120|0);if(!(a[334642]|0))h=0;else{k=b[(tk(l+8|0)|0)+8>>1]|0;h=b[(tk(l+8|0)|0)+10>>1]|0;c[l>>2]=k;c[l+4>>2]=h;jN(335504,l);h=0}}else h=k+92|0;VL(l+36|0)}while((Nk(l+36|0)|0)<<24>>24==0)}A1(d,e,f);c[(c[e+24>>2]|0)+40>>2]=~~+g[e+48>>2];i=l;return}function z1(d,e,f,j,l){d=d|0;e=e|0;f=f|0;j=j|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0.0,x=0;x=i;i=i+192|0;a[x+176>>0]=0;p=NL(f+120|0)|0;c[x+36>>2]=p;s=iM(p)|0;t=iM(p<<2)|0;u=iM(p<<2)|0;v=iM(p<<3)|0;p=iM(p<<2)|0;q=D1(f,~~+g[e+36>>2],v,x+176|0,x+36|0)|0;w=+(q|0)*+h[41928];w=w<2.0?2.0:w;if(a[334570]|0){h[k>>3]=+g[e+36>>2];c[x+8>>2]=c[k>>2];c[x+12>>2]=c[k+4>>2];c[x+16>>2]=q;h[k>>3]=w;c[x+20>>2]=c[k>>2];c[x+24>>2]=c[k+4>>2];jN(335560,x+8|0)}m=(a[x+176>>0]|0)==0;r=c[x+36>>2]|0;if(m)F1(v,r,t,u,l,f+92|0,w);else E1(v,r,l,f+92|0,+g[f+136>>2]);if((r|0)>1){n=G1(v,r,x+32|0,s,x+40|0,f+92|0,w,p)|0;o=H1(v,r,s,n,t,u)|0;l=I1(t,u,j,o,x+80|0)|0;c[x+28>>2]=l;a:do if(m)while(1){aia(x+64|0,x+80|0,l,t,u,o,j);bia(f+92|0,x+64|0);cia(x+64|0);if(!(a[334786]|0))break a;if(!((J1(f+92|0,w*.5,t,x+80|0,x+28|0)|0)<<24>>24))break a;l=c[x+28>>2]|0}while(0);K1(f,v,r,s,x+40|0,c[x+32>>2]|0,n)}else{g[f+44>>2]=-1.0;g[f+56>>2]=0.0;g[f+52>>2]=0.0}j=c[e+24>>2]|0;iia(f+92|0,+g[f+136>>2],b[j+16>>1]|0,b[j+20>>1]|0);do if(!(a[334490]|0))if(!(a[328586]|0)){r=(c[e+24>>2]|0)+76|0;j=c[r+4>>2]|0;c[x>>2]=c[r>>2];c[x+4>>2]=j;Z0(d,f,x,+g[f+136>>2],~~+g[e+36>>2]);break}else{M1(f,v,q,~~+g[e+36>>2],r,f+92|0);break}else L1(f,v,q,r,f+92|0,w);while(0);jM(s);jM(t);jM(u);jM(v);jM(p);i=x;return}function A1(b,d,e){b=b|0;d=d|0;e=+e;var f=0.0,h=0,j=0,k=0,l=0;l=i;i=i+32|0;Lk(l,d+92|0);h=U_(l)|0;if(!h)g[d+48>>2]=+g[d+36>>2];else{k=iM(h<<2)|0;Mk(l);if(!((Nk(l)|0)<<24>>24)){j=0;while(1){c[k+(j<<2)>>2]=Ok(l)|0;VL(l);if(!((Nk(l)|0)<<24>>24))j=j+1|0;else break}}B1(b,d,k,h);if((a[328586]|a[334490])<<24>>24){f=+(C1(k,h,d)|0);g[d+48>>2]=f;if(f<=0.0){f=+g[d+36>>2]*.5;g[d+48>>2]=f}e=+(c[82409]|0);if(f>2]=e}else Y0(b,d,e);jM(k)}i=l;return}function B1(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0;if((e|0)>0){f=0;while(1){n=c[d+(f<<2)>>2]|0;h=+g[n+44>>2];do if(h<0.0){i=f+-2|0;a:do if((i|0)>-1){j=i;while(1){i=c[d+(j<<2)>>2]|0;if(!(+g[i+44>>2]<0.0)?(hia(c[n+92>>2]|0,c[n+96>>2]|0,i+92|0)|0)<<24>>24!=0:0){m=1;i=j;break a}i=j+-1|0;if((j|0)>0)j=i;else{m=0;break}}}else m=0;while(0);f=f+1|0;b:do if((f|0)<(e|0)){k=f;while(1){j=c[d+(k<<2)>>2]|0;if(!(+g[j+44>>2]<0.0)?(hia(c[n+92>>2]|0,c[n+96>>2]|0,j+92|0)|0)<<24>>24!=0:0){l=1;j=k;break b}j=k+1|0;if((j|0)<(e|0))k=j;else{l=0;break}}}else{l=0;j=f}while(0);if(m){z1(a,b,n,2,(c[d+(i<<2)>>2]|0)+92|0);h=+g[n+44>>2]}if(!(!(h<0.0)|l^1)){z1(a,b,n,2,(c[d+(j<<2)>>2]|0)+92|0);h=+g[n+44>>2]}if(h<0.0){if(m){z1(a,b,n,1,(c[d+(i<<2)>>2]|0)+92|0);break}if(l)z1(a,b,n,1,(c[d+(j<<2)>>2]|0)+92|0)}}else f=f+1|0;while(0);if((f|0)==(e|0)){i=0;break}}do{f=(c[d+(i<<2)>>2]|0)+44|0;h=+g[f>>2];if(h<0.0)g[f>>2]=-h;i=i+1|0}while((i|0)!=(e|0))}return}function C1(b,d,e){b=b|0;d=d|0;e=e|0;var f=0.0,h=0,i=0.0,j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0,s=0,t=0,u=0,v=0.0;if((d|0)>0){o=0.0;j=0;i=0.0;h=0;f=0.0;p=0.0;t=0;r=0;do{s=c[b+(t<<2)>>2]|0;k=+g[s+52>>2];q=+g[s+44>>2];if(k>0.0){o=o+k;p=p+q;r=r+1|0}else{h=h+1|0;f=f+q}k=+g[s+56>>2];if(k<0.0){j=j+1|0;i=i+k}t=t+1|0}while((t|0)!=(d|0));if((r|0)>0?!((a[334938]|0)!=0&(r|0)<(h|0)):0){f=+(r|0);k=p/f;f=k+o/f;if(f0?!((a[334938]|0)!=0?(j|0)<((d|0)/2|0|0):0):0)q=i/+(j|0);else q=k*-.5;if(k>0.0)g[(c[e+24>>2]|0)+44>>2]=(f-q)/k;m=k;n=k*-.25;if((d|0)>0){o=f;p=f-k;h=0;do{j=c[b+(h<<2)>>2]|0;a[j+9>>0]=0;i=+g[j+44>>2];if(+g[j+52>>2]/i<.2){do if(!(i>=m*.85)|!(i<=m*1.15))if(!(i>=o*.85)|!(i<=o*1.15)){v=p*i/f;g[j+52>>2]=v;g[j+44>>2]=i-v;a[j+9>>0]=1;l=v;i=i-v;break}else{l=i-k;g[j+52>>2]=l;g[j+44>>2]=k;a[j+9>>0]=1;i=k;break}else{g[j+52>>2]=p;g[j+44>>2]=k;l=p;i=k}while(0);if(l>2]=i*.42857142857142866}do if(+g[j+56>>2]>n){v=i;if(!(v>=m*.85)|!(v<=m*1.15)){g[j+56>>2]=i*-.5;break}else{g[j+56>>2]=q;break}}while(0);h=h+1|0}while((h|0)!=(d|0))}return ~~k|0}function D1(d,e,f,g,j){d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0.0;q=i;i=i+64|0;pk(q+24|0,d+120|0);Aka(q+8|0,0,300);do if(!(vk(q+24|0)|0)){rk(q+24|0);m=0;o=0;n=0;while(1){k=f+(m<<3)|0;_aa(q,q+24|0);l=c[q>>2]|0;d=c[q+4>>2]|0;b[k>>1]=l;b[k+2>>1]=l>>>16;b[k+4>>1]=d;b[k+6>>1]=d>>>16;d=ll(k)|0;if(+(d<<16>>16)>+(e|0)*.25)Fka(q+8|0,d<<16>>16,1);do if(((m|0)!=0?!(+((ll(k)|0)<<16>>16)>+(e|0)*.25):0)?!(sk(q+24|0)|0):0){l=ll(k)|0;s=+((kl(k)|0)<<16>>16);r=+h[41916];if(+(l<<16>>16)>16)*r:0){k=m+1|0;l=0;d=n;break}else{d=o+1|0;k=m;l=d;d=(o|0)<(n|0)?n:d;break}}else p=8;while(0);if((p|0)==8){p=0;k=m+1|0;l=0;d=n}if(sk(q+24|0)|0)break;else{m=k;o=l;n=d}}a[g>>0]=(d|0)>(c[83809]|0)&1;c[j>>2]=k;if((c[q+16>>2]|0)>1){d=~~+Jka(q+8|0,.25);break}else{d=(ll(f)|0)<<16>>16;break}}else d=0;while(0);Eka(q+8|0);i=q;return d|0}function E1(a,d,e,f,j){a=a|0;d=d|0;e=e|0;f=f|0;j=+j;var k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=i;i=i+112|0;vda(r);n=b[a>>1]|0;q=b[a+(d+-1<<3)+4>>1]|0;a:do if((d|0)>0){m=n;l=0;while(1){s=b[a+(l<<3)+2>>1]|0;b[r+104>>1]=((b[a+(l<<3)+4>>1]|0)+(m<<16>>16)|0)/2|0;b[r+106>>1]=s;yda(r,r+104|0);l=l+1|0;if((l|0)>=(d|0))break a;m=b[a+(l<<3)>>1]|0}}while(0);+Hda(r,j,r+100|0);c[r+80>>2]=n<<16>>16;c[r+84>>2]=q<<16>>16;h[r+48>>3]=0.0;h[r+56>>3]=j;k=+g[r+100>>2];h[r+64>>3]=k;$ha(r+88|0,1,r+80|0,r+48|0);bia(f,r+88|0);cia(r+88|0);if((((e|0)!=0?(o=c[e>>2]|0,(o|0)>2):0)?(p=c[e+4>>2]|0,+(c[p+4>>2]|0)<=+(n<<16>>16)+ +((q<<16>>16)-(n<<16>>16)|0)*.1):0)?+(c[p+(o+-1<<2)>>2]|0)>=+(q<<16>>16)-+((q<<16>>16)-(n<<16>>16)|0)*.1:0){bia(f,e);c[r+72>>2]=(~~(+((q<<16>>16)+(n<<16>>16)|0)*.5*j+k-+fia(e,+((q<<16>>16)+(n<<16>>16)|0)*.5))&65535)<<16;gia(f,r+72|0)}wda(r);i=r;return}function F1(d,e,f,h,j,k,l){d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;l=+l;var m=0,n=0,o=0,p=0.0,q=0.0,r=0,s=0.0,t=0.0,u=0.0,v=0,w=0.0,x=0.0,y=0.0,z=0;z=i;i=i+320|0;n=b[d>>1]|0;r=b[d+(e+-1<<3)+4>>1]|0;if((((j|0)!=0?(m=c[j>>2]|0,(m|0)>=3):0)?(o=c[j+4>>2]|0,!(+(c[o+4>>2]|0)>+(n<<16>>16)+ +((r<<16>>16)-(n<<16>>16)|0)*.1)):0)?!(+(c[o+(m+-1<<2)>>2]|0)<+(r<<16>>16)-+((r<<16>>16)-(n<<16>>16)|0)*.1):0){bia(k,j);y=+fia(j,+(b[d+4>>1]|0));c[z>>2]=(~~(+(b[d+2>>1]|0)-y)&65535)<<16;gia(k,z)}else v=5;if((v|0)==5?(a[334714]|0)==0:0){c[z+32>>2]=(n<<16>>16)+-1;a:do if((e|0)>0){m=0;while(1){c[f+(m<<2)>>2]=((b[d+(m<<3)+4>>1]|0)+(n<<16>>16)|0)/2|0;c[h+(m<<2)>>2]=b[d+(m<<3)+2>>1];m=m+1|0;if((m|0)==(e|0))break a;n=b[d+(m<<3)>>1]|0}}while(0);c[z+36>>2]=(r<<16>>16)+1;aia(z+16|0,z+32|0,1,f,h,e,1);bia(k,z+16|0);cia(z+16|0);if((e|0)>2){r=c[h>>2]|0;q=+fia(k,+(c[f>>2]|0));y=+fia(k,+(c[f+4>>2]|0));m=2;p=0.0;w=0.0;y=+(c[h+4>>2]|0)-y;j=0;q=+(r|0)-q;r=0;s=0.0;u=0.0;n=0;while(1){x=+fia(k,+(c[f+(m<<2)>>2]|0));x=+(c[h+(m<<2)>>2]|0)-x;t=y-q;if(t<0.0)t=-t;if(t1){if(!(s=y)){if(!(s>u)){v=24;break}if(!(u<=y&(j|0)<21)){v=23;break}}else if((j|0)>=21){v=24;break}c[z+128+(j<<2)>>2]=r;g[z+220+(j<<2)>>2]=u;j=j+1|0;v=23}else v=23;while(0);if((v|0)==23){v=0;if(!n){p=y;t=y}else v=24}if((v|0)==24){p=y>p?y:p;if(y>1]|0;s=u;u=y}else{t=w;v=j;o=n}}else{t=w;v=j;o=n}m=m+1|0;if((m|0)==(e|0))break;else{q=y;w=t;y=x;j=v;n=o}}if(p-t>l*1.2){if((v|0)>0){t=l*1.2+t;s=p-l*1.2;j=0;m=1;while(1){p=+g[z+220+(j<<2)>>2];do if(p>t|pl*1.2+q|pt&p>q)?!(q>2]=c[z+128+(j<<2)>>2];break}c[z+32+(m<<2)>>2]=c[z+128+(j<<2)>>2];m=m+1|0}else p=q;while(0);j=j+1|0;if((j|0)==(v|0))break;else q=p}}else m=1;c[z+32+(m<<2)>>2]=(b[d+(e+-1<<3)+4>>1]|0)+1;aia(z+4|0,z+32|0,m,f,h,e,1);bia(k,z+4|0);cia(z+4|0)}}}i=z;return}function G1(d,e,f,h,j,k,l,m){d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;l=+l;m=m|0;var n=0,o=0,p=0.0,q=0,r=0,s=0;q=i;i=i+48|0;c[j+0>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;c[j+16>>2]=0;c[j+20>>2]=0;o=N1(d,e,k,m)|0;c[f>>2]=1;g[q+16>>2]=0.0;g[q+12>>2]=0.0;if((o|0)<(e|0)){n=-1;k=o;do{p=+g[m+(k<<2)>>2];if(a[334570]|0){s=b[d+(k<<3)>>1]|0;r=b[d+(k<<3)+2>>1]|0;c[q>>2]=k;c[q+4>>2]=s;c[q+8>>2]=r;jN(335624,q)}n=O1(p,q+24|0,n,l,q+16|0,q+12|0,f)|0;a[h+k>>0]=n;s=j+(n<<2)|0;c[s>>2]=(c[s>>2]|0)+1;k=k+1|0}while((k|0)!=(e|0))}g[q+16>>2]=0.0;g[q+12>>2]=0.0;c[j>>2]=(c[j>>2]|0)+-1;if((o|0)>-1){n=-1;while(1){p=+g[m+(o<<2)>>2];if(a[334570]|0){r=b[d+(o<<3)>>1]|0;s=b[d+(o<<3)+2>>1]|0;c[q>>2]=o;c[q+4>>2]=r;c[q+8>>2]=s;jN(335624,q)}n=O1(p,q+24|0,n,l,q+16|0,q+12|0,f)|0;a[h+o>>0]=n;s=j+(n<<2)|0;c[s>>2]=(c[s>>2]|0)+1;if((o|0)<=0)break;else o=o+-1|0}}n=c[f>>2]|0;if((n|0)>1){o=1;k=0;do{k=(c[j+(o<<2)>>2]|0)<(c[j+(k<<2)>>2]|0)?k:o;o=o+1|0}while((o|0)!=(n|0))}else k=0;if(a[334858]|0)P1(d,e,h,j,k,l);i=q;return k|0}function H1(d,e,f,g,h,i){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0;if((e|0)>0){k=0;j=0;do{if((a[f+k>>0]|0)==(g|0)){c[h+(j<<2)>>2]=(b[d+(k<<3)+4>>1]|0)+(b[d+(k<<3)>>1]|0)>>1;c[i+(j<<2)>>2]=b[d+(k<<3)+2>>1];j=j+1|0}k=k+1|0}while((k|0)!=(e|0))}else j=0;return j|0}function I1(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+128|0;c[g>>2]=(c[b>>2]|0)+-1;r=(c[b+(f+-1<<2)>>2]|0)+1|0;o=(e|0)<2?0:f;a:do if((o|0)>3){if((o+-1|0)>1){p=c[d>>2]|0;m=0;l=0;h=1;f=0;while(1){k=d+(h<<2)|0;e=c[k>>2]|0;j=h+1|0;do if((p|0)>(e|0)?(e|0)<=(c[d+(j<<2)>>2]|0):0){if((e|0)>=((c[d+(m<<2)>>2]|0)+-1|0)){l=(e|0)<(c[d+(l<<2)>>2]|0)?h:l;break}if((f|0)!=0?(c[s+28+(f+-1<<2)>>2]|0)==(m|0):0){l=h;break}c[s+28+(f<<2)>>2]=m;l=h;f=f+1|0}while(0);n=p;p=c[k>>2]|0;do if((n|0)<(p|0)?(p|0)>=(c[d+(j<<2)>>2]|0):0){if((p|0)<=((c[d+(l<<2)>>2]|0)+1|0)){h=(p|0)>(c[d+(m<<2)>>2]|0)?h:m;n=f;break}if((f|0)!=0?(c[s+28+(f+-1<<2)>>2]|0)==(l|0):0){n=f;break}c[s+28+(f<<2)>>2]=l;n=f+1|0}else{h=m;n=f}while(0);f=(n|0)<22;if(!((j|0)<(o+-1|0)&f)){o=l;p=j;break}else{m=h;h=j;f=n}}}else{f=1;h=0;o=0;p=1;n=0}m=c[d+(p<<2)>>2]|0;l=c[d+(h<<2)>>2]|0;do if((m|0)<(l+-1|0)){if((n|0)!=0?(c[s+28+(n+-1<<2)>>2]|0)==(h|0):0){q=25;break}if(f){e=n+1|0;c[s+28+(n<<2)>>2]=h;if((e|0)<22){c[s+28+(e<<2)>>2]=p;e=n+2|0}}else e=n}else q=25;while(0);b:do if((q|0)==25){k=c[d+(o<<2)>>2]|0;do if((m|0)>(k+1|0)){if((n|0)!=0?(c[s+28+(n+-1<<2)>>2]|0)==(o|0):0)break;if(!f){e=n;break b}e=n+1|0;c[s+28+(n<<2)>>2]=o;if((e|0)>=22)break b;c[s+28+(e<<2)>>2]=p;e=n+2|0;break b}while(0);if((n|0)<=0){e=1;break a}j=c[s+28+(n+-1<<2)>>2]|0;if((j|0)==(o|0)&f){e=n+1|0;f=s+28+(n<<2)|0;if((m|0)>(l|0)){c[f>>2]=p;break}else{c[f>>2]=h;break}}if((j|0)==(h|0)&f){e=n+1|0;f=s+28+(n<<2)|0;if((m|0)<(k|0)){c[f>>2]=p;break}else{c[f>>2]=o;break}}else e=n}while(0);if((a[334570]|0)!=0&(e|0)>0){o=c[s+28>>2]|0;p=c[b+(o<<2)>>2]|0;q=c[d+(o<<2)>>2]|0;c[s>>2]=o;c[s+4>>2]=p;c[s+8>>2]=q;jN(335840,s)}if((e|0)>1){n=c[s+28>>2]|0;o=1;do{j=c[d+(n<<2)>>2]|0;l=n;n=c[s+28+(o<<2)>>2]|0;m=d+(n<<2)|0;k=c[m>>2]|0;c:do if((j|0)<(k|0)){f=l+1|0;while(1){if((f|0)>=(n|0))break c;h=f+1|0;if((c[d+(h<<2)>>2]|0)>((k+j|0)/2|0|0))break;else f=h}}else{f=l+1|0;while(1){if((f|0)>=(n|0))break c;h=f+1|0;if((c[d+(h<<2)>>2]|0)<((k+j|0)/2|0|0))break;else f=h}}while(0);h=f+-1|0;j=b+(n<<2)|0;f=((c[b+(h<<2)>>2]|0)+2+(c[b+(f<<2)>>2]|0)+(c[b+(l<<2)>>2]|0)+(c[j>>2]|0)|0)/4|0;c[g+(o<<2)>>2]=f;if(a[334570]|0){l=c[j>>2]|0;p=c[m>>2]|0;q=c[b+(h<<2)>>2]|0;c[s>>2]=o;c[s+4>>2]=n;c[s+8>>2]=l;c[s+12>>2]=p;c[s+16>>2]=h;c[s+20>>2]=q;c[s+24>>2]=f;jN(335872,s)}o=o+1|0}while((o|0)!=(e|0))}else e=1}else e=1;while(0);c[g+(e<<2)>>2]=r;i=s;return e|0}function J1(b,d,e,f,g){b=b|0;d=+d;e=e|0;f=f|0;g=g|0;var j=0,l=0,m=0,n=0,o=0,p=0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+32|0;r=0;j=1;l=0;a:while(1){while(1){m=c[g>>2]|0;z=j;while(1){if((z|0)>=(m+-1|0))break a;x=c[f+(z+-1<<2)>>2]|0;y=c[f+(z<<2)>>2]|0;j=z+1|0;w=c[f+(j<<2)>>2]|0;q=+dia(b,+(y+x|0)*.5,+(w+y|0)*.5);if(q<0.0)q=-q;if(q>d)break;else z=j}while(1){s=c[e+(l<<2)>>2]|0;if((s|0)<(x|0))l=l+1|0;else{p=s;n=l;break}}while(1){o=n+1|0;if((p|0)>=(y|0)){o=p;v=n;break}p=c[e+(o<<2)>>2]|0;n=o}while(1){p=v+1|0;if((o|0)>=(w|0))break;o=c[e+(p<<2)>>2]|0;v=p}if((m|0)>22){if(!(a[334642]|0))continue;jN(335928,A);continue}u=c[82359]|0;if((v-l|0)>=(u*3|0))break;if(!(a[334642]|0))continue;c[A>>2]=l;c[A+4>>2]=n;c[A+8>>2]=v;c[A+12>>2]=u;jN(336024,A)}t=n-l|0;t=v-(l+(((u*3|0)/2|0|0)>(t|0)?(u*3|0)/2|0:t))|0;t=v-(((u*3|0)/2|0|0)>(t|0)?(u*3|0)/2|0:t)|0;n=(t+(l<<1)|0)/3|0;p=((v<<1)+t|0)/3|0;r=c[e+(t<<2)>>2]|0;q=+((o<<1)+r|0)/3.0;o=c[e+(n<<2)>>2]|0;b:do if(+(o|0)>+((s<<1)+r|0)/3.0){m=n;while(1){n=m+-1|0;if((m-l|0)<=(u|0)){n=m;break b}o=c[e+(n<<2)>>2]|0;if(+(o|0)>+((s<<1)+r|0)/3.0)m=n;else break}}while(0);c:do if(+(o|0)<+((s<<1)+r|0)/3.0){m=n;while(1){n=m+1|0;if((t-m|0)<=((u|0)/2|0|0)){n=m;break c}o=c[e+(n<<2)>>2]|0;if(+(o|0)<+((s<<1)+r|0)/3.0)m=n;else break}}while(0);m=n+-1|0;r=+(o|0)-+((s<<1)+r|0)/3.0>+((s<<1)+r|0)/3.0-+(c[e+(m<<2)>>2]|0)?m:n;o=c[e+(p<<2)>>2]|0;d:do if(+(o|0)>q){n=p;while(1){p=n+-1|0;if((n-t|0)<=((u|0)/2|0|0)){p=n;break d}o=c[e+(p<<2)>>2]|0;if(+(o|0)>q)n=p;else break}}while(0);e:do if(+(o|0)>2]|0;if(+(o|0)q-+(c[e+(m<<2)>>2]|0)?m:p;if(!(a[334642]|0)){p=e+(r+-1<<2)|0;n=e+(r<<2)|0;o=e+(m+-1<<2)|0;m=e+(m<<2)|0}else{q=+dia(b,+(y+x|0)*.5,+(w+y|0)*.5);n=((c[e+(r<<2)>>2]|0)+(c[e+(r+-1<<2)>>2]|0)|0)/2|0;p=((c[e+(m<<2)>>2]|0)+(c[e+(m+-1<<2)>>2]|0)|0)/2|0;c[A>>2]=y;h[k>>3]=q;c[A+4>>2]=c[k>>2];c[A+8>>2]=c[k+4>>2];c[A+12>>2]=n;c[A+16>>2]=p;jN(335976,A);p=e+(r+-1<<2)|0;n=e+(r<<2)|0;o=e+(m+-1<<2)|0;m=e+(m<<2)|0}Q1(f,z,((c[n>>2]|0)+(c[p>>2]|0)|0)/2|0,((c[m>>2]|0)+(c[o>>2]|0)|0)/2|0,g);r=1}i=A;return r|0}function K1(a,e,f,h,j,k,l){a=a|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0.0,n=0,o=0.0,p=0,q=0,r=0,s=0,t=0;s=i;i=i+32|0;if((k|0)>0)YGa(s|0,0,k<<2|0)|0;if((f|0)>0){n=0;r=0;q=0;do{p=d[h+r>>0]|0;if((p|0)==(l|0))q=0;else{t=q+1|0;o=+(b[e+(r<<3)+2>>1]|0);o=o-+fia(a+92|0,+((b[e+(r<<3)+4>>1]|0)+(b[e+(r<<3)>>1]|0)>>1|0));g[s+(p<<2)>>2]=o+ +g[s+(p<<2)>>2];n=(q|0)<(n|0)?n:t;q=t}r=r+1|0}while((r|0)!=(f|0))}else n=0;g[a+44>>2]=(n|0)>2?-1.0:1.0;if((k|0)>0){m=0.0;n=0;q=0;do{do if((q|0)!=(l|0)){p=c[j+(q<<2)>>2]|0;if(!p){g[s+(q<<2)>>2]=0.0;break}t=s+(q<<2)|0;o=+g[t>>2]/+(p|0);g[t>>2]=o;if(o<=-2.0){t=(p|0)>(n|0);m=t?o:m;n=t?p:n}}while(0);q=q+1|0}while((q|0)!=(k|0))}else m=0.0;g[a+56>>2]=m;i=s;return}function L1(a,d,e,f,j,k){a=a|0;d=d|0;e=e|0;f=f|0;j=j|0;k=+k;var l=0.0,m=0.0,n=0,o=0,p=0.0,q=0.0,r=0;r=i;i=i+16|0;Aka(r,0,300);if((f|0)>1){o=0;do{q=+fia(j,+(((b[d+(o<<3)+4>>1]|0)+(b[d+(o<<3)>>1]|0)|0)/2|0|0));n=~~(+(b[d+(o<<3)+6>>1]|0)-q+.5);if((n|0)>(c[82409]|0)?+(n|0)>+(e|0)*+h[41894]:0)Fka(r,n,1);o=o+1|0}while((o|0)!=(f|0));if((c[r+8>>2]|0)>3){e=~~+Jka(r,.25);if((e|0)<1)e=~~+Jka(r,.5)}}else{q=+fia(j,+(((b[d+4>>1]|0)+(b[d>>1]|0)|0)/2|0|0));e=~~(+(b[d+6>>1]|0)-q+.5)}m=+(e|0);if((f|0)>0){o=0;q=0.0;e=0;n=0;l=0.0;do{p=+fia(j,+(((b[d+(e<<3)+4>>1]|0)+(b[d+(e<<3)>>1]|0)|0)/2|0|0));p=+(b[d+(e<<3)+6>>1]|0)-p;if(!(p>m+k)){if(p>m-k){n=n+1|0;l=l+p}}else{o=o+1|0;q=q+p}e=e+1|0}while((e|0)!=(f|0));if((n|0)>0)m=l/+(n|0);l=m*+g[a+44>>2];g[a+44>>2]=l;if((o|0)>0){m=q/+(o|0)-m;e=a+44|0}else{m=0.0;e=a+44|0}}else{l=m*+g[a+44>>2];g[a+44>>2]=l;m=0.0;e=a+44|0}g[a+52>>2]=m;if(l==0.0)g[e>>2]=-1.0;Eka(r);i=r;return}function M1(d,e,f,j,l,m){d=d|0;e=e|0;f=f|0;j=j|0;l=l|0;m=m|0;var n=0,o=0,p=0.0,q=0,r=0,s=0,t=0,u=0.0,v=0.0,w=0;w=i;i=i+1680|0;Aka(w+1656|0,0,200);u=+g[d+44>>2];YGa(w+856|0,0,800)|0;YGa(w+56|0,0,800)|0;if((l|0)>0){t=0;n=0;do{s=e+(t<<3)|0;q=(b[e+(t<<3)+4>>1]|0)+(b[s>>1]|0)|0;p=+fia(m,+((q|0)/2|0|0));if(!(a[335074]|0))r=1;else{r=+Q(+(p-+(b[e+(t<<3)+2>>1]|0)))<=2.0;r=r?8:1}o=~~(+(b[e+(t<<3)+6>>1]|0)-p+.5);if(+((ll(s)|0)<<16>>16)>+(j|0)*.25){if(((o|0)>(c[82409]|0)?+(o|0)>+(f|0)*+h[41894]:0)?(Fka(w+1656|0,o,r),(o|0)<200):0){if(((q|0)/2|0|0)>(c[w+56+(o<<2)>>2]|0))c[w+56+(o<<2)>>2]=(q|0)/2|0;if((q|0)>1?(s=c[w+856+(o<<2)>>2]|0,(s|0)==0?1:((q|0)/2|0|0)<(s|0)):0)c[w+856+(o<<2)>>2]=(q|0)/2|0}n=r+n|0}t=t+1|0}while((t|0)!=(l|0))}else n=0;o=~~(+((!(+h[41916]>1.0)&(a[335002]|0)==0?l:n)|0)*.1);if(a[334570]|0){c[w>>2]=l;c[w+4>>2]=n;c[w+8>>2]=o;jN(336088,w)}R1(w+1656|0,w+16|0);if(a[334570]|0){n=0;do{f=c[w+16+(n<<2)>>2]|0;c[w>>2]=n;c[w+4>>2]=f;jN(336128,w);n=n+1|0}while((n|0)<10);jN(1714256,w)}S1(d,w+16|0,w+856|0,w+56|0,w+1656|0,o);if((a[334570]|0)!=0?(h[k>>3]=+g[d+44>>2],c[w>>2]=c[k>>2],c[w+4>>2]=c[k+4>>2],jN(336144,w),v=+g[d+44>>2],!(!(v<0.0)|(a[334570]|0)==0)):0){h[k>>3]=v;c[w>>2]=c[k>>2];c[w+4>>2]=c[k+4>>2];jN(336168,w)}if(!(u>0.0))g[d+44>>2]=-+g[d+44>>2];Eka(w+1656|0);i=w;return}function N1(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var f=0,h=0.0,i=0.0,j=0,k=0,l=0.0,m=0,n=0.0,o=0,p=0,q=0.0;a:do if((c|0)>0){j=b[a>>1]|0;m=j;f=0;q=2147483648.0;o=0;l=0.0;i=0.0;j=j<<16>>16;while(1){p=(b[a+(o<<3)+4>>1]|0)+(m<<16>>16)>>1;n=i+ +dia(d,+(j|0),+(p|0));h=+(b[a+(o<<3)+2>>1]|0);h=n+(h-+fia(d,+(p|0)));g[e+(o<<2)>>2]=h;if((o|0)>2){i=+g[e+(o+-3<<2)>>2];if(i<0.0)i=-i;i=l-i}else i=l;if(h<0.0)h=-h;i=i+h;k=(o|0)>1&i>1]|0;q=k?i:q;o=j;l=i;i=n;j=p}}else f=0;while(0);return f|0}function O1(b,d,e,f,j,l,m){b=+b;d=d|0;e=e|0;f=+f;j=j|0;l=l|0;m=m|0;var n=0.0,o=0.0,p=0,q=0,r=0.0,s=0.0,t=0,u=0.0,v=0,w=0,x=0;w=i;i=i+32|0;if((e|0)<0){g[d>>2]=b;g[j>>2]=0.0;g[l>>2]=0.0;e=0}o=+g[j>>2];n=b-+g[d+(e<<2)>>2]-o;if(a[334570]|0){h[k>>3]=b;c[w>>2]=c[k>>2];c[w+4>>2]=c[k+4>>2];h[k>>3]=n;c[w+8>>2]=c[k>>2];c[w+12>>2]=c[k+4>>2];h[k>>3]=o;c[w+16>>2]=c[k>>2];c[w+20>>2]=c[k+4>>2];jN(335792,w)}if(n<0.0)o=-n;else o=n;if(o>f*.5){u=+g[j>>2];n=b-+g[d>>2]-u;p=c[m>>2]|0;if((p|0)>1){q=0;t=1;do{s=b-+g[d+(t<<2)>>2]-u;if(s<0.0)o=-s;else o=s;if(n<0.0)r=-n;else r=n;x=of&(p|0)<6){c[m>>2]=p+1;g[d+(p<<2)>>2]=b-u;n=0.0}else p=q;if((p|0)==(e|0))v=19;else e=p}else v=19;do if((v|0)==19){o=n-+g[l>>2];if(o<0.0)o=-o;if(!(o>2]=(n+ +g[j>>2]*3.0)/3.0}while(0);g[l>>2]=n;if(a[334570]|0){c[w>>2]=e;jN(335832,w)}i=w;return e|0}function P1(d,e,f,g,j,l){d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;l=+l;var m=0,n=0,o=0,p=0,q=0.0,r=0.0,s=0,t=0,u=0,v=0.0,w=0.0,x=0,y=0,z=0,A=0,B=0;B=i;i=i+128|0;Yha(B);if((e|0)>0){A=0;m=j;n=0;o=0;do{y=f+A|0;if((a[y>>0]|0)==(m|0))n=n+1|0;else{do if((m|0)!=(j|0)&(n|0)>2){Yha(B);x=(A|0)>(o|0);if(x){p=o;do{Zha(B,+((b[d+(p<<3)+4>>1]|0)+(b[d+(p<<3)>>1]|0)|0)*.5,+(b[d+(p<<3)+2>>1]|0));p=p+1|0}while((p|0)!=(A|0))}_ha(B,1);v=+h[B+16>>3];w=+h[B+24>>3];if(!(a[334570]|0)){s=0;t=1}else{h[k>>3]=v;c[B+96>>2]=c[k>>2];c[B+100>>2]=c[k+4>>2];h[k>>3]=w;c[B+104>>2]=c[k>>2];c[B+108>>2]=c[k+4>>2];jN(335640,B+96|0);s=0;t=1}while(1){p=o-t|0;u=t+A|0;if((u|0)>(e|0)&((p|0)>-1^1)){z=s;p=21;break}if((p|0)>-1?(a[f+p>>0]|0)==(j|0):0){r=+((b[d+(p<<3)+4>>1]|0)+(b[d+(p<<3)>>1]|0)|0)*.5;q=+(b[d+(p<<3)+2>>1]|0);if(a[334570]|0){h[k>>3]=w+v*r-q;c[B+96>>2]=c[k>>2];c[B+100>>2]=c[k+4>>2];h[k>>3]=r;c[B+104>>2]=c[k>>2];c[B+108>>2]=c[k+4>>2];h[k>>3]=q;c[B+112>>2]=c[k>>2];c[B+116>>2]=c[k+4>>2];jN(335672,B+96|0)}s=(w+v*r-q>0]|0)==(j|0):0){p=17;break}if(!(p<<24>>24))t=t+1|0;else{z=s;p=21;break}}if((p|0)==17){p=0;r=+((b[d+(u+-1<<3)+4>>1]|0)+(b[d+(u+-1<<3)>>1]|0)|0)*.5;q=+(b[d+(u+-1<<3)+2>>1]|0);if(a[334570]|0){h[k>>3]=w+v*r-q;c[B+96>>2]=c[k>>2];c[B+100>>2]=c[k+4>>2];h[k>>3]=r;c[B+104>>2]=c[k>>2];c[B+108>>2]=c[k+4>>2];h[k>>3]=q;c[B+112>>2]=c[k>>2];c[B+116>>2]=c[k+4>>2];jN(335672,B+96|0)}if(!(w+v*r-q>24==0):0)break;if(a[334570]|0){t=b[d+(o<<3)>>1]|0;u=b[d+(o<<3)+2>>1]|0;c[B+96>>2]=n;c[B+100>>2]=j;c[B+104>>2]=m;c[B+108>>2]=t;c[B+112>>2]=u;jN(335728,B+96|0)}u=g+(m<<2)|0;c[u>>2]=(c[u>>2]|0)-n;if(x)YGa(f+o|0,j&255|0,A-o|0)|0}while(0);m=a[y>>0]|0;n=1;o=A}A=A+1|0}while((A|0)!=(e|0))}i=B;return}function Q1(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=c[f>>2]|0;if((g|0)>(b|0)){do{c[a+(g+1<<2)>>2]=c[a+(g<<2)>>2];g=g+-1|0}while((g|0)>(b|0));g=c[f>>2]|0}c[f>>2]=g+1;c[a+(b<<2)>>2]=d;c[a+(b+1<<2)>>2]=e;return}function R1(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=(a[335074]|0)!=0?32:12;i=0;j=2147483647;k=0;l=0;while(1){h=0;e=0;do{f=mx(b,h)|0;do if((f|0)>(mx(b,e)|0)){if((f|0)>=(j|0)?!((f|0)==(j|0)&(h|0)>(i|0)):0)break;e=h}while(0);h=h+1|0}while((h|0)!=200);j=mx(b,e)|0;l=j+l|0;c[d+(k<<2)>>2]=(j|0)>((l|0)/(g|0)|0|0)?e:0;k=k+1|0;if((k|0)==10)break;else i=e}return}function S1(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0.0,k=0,l=0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;o=(a[335074]|0)==0;l=0;a:while(1){p=c[d+(l<<2)>>2]|0;k=0;do{do if(((p|0)!=0?(q=c[d+(k<<2)>>2]|0,(q|0)!=0):0)?(mx(h,p)|0)>(i|0):0){if(!o?(s=c[f+(p<<2)>>2]|0,t=c[f+(q<<2)>>2]|0,n=c[e+(p<<2)>>2]|0,r=c[e+(q<<2)>>2]|0,(((s|0)>(t|0)?t:s)|0)<=(((n|0)<(r|0)?r:n)|0)):0)break;if(+(q|0)/+(p|0)>1.2&+(q|0)/+(p|0)<1.8){i=9;break a}}while(0);k=k+1|0}while((k|0)<10);l=l+1|0;if((l|0)>=10){i=28;break}}if((i|0)==9){j=+(mx(h,p)|0)*.5;l=p;b:while(1){i=l+1|0;k=+(q|0)/+(i|0)>1.2&+(q|0)/+(i|0)<1.8;n=0;while(1){do if((c[d+(n<<2)>>2]|0)==(i|0)){if(o){if(!k)break}else{r=c[f+(p<<2)>>2]|0;u=c[f+(q<<2)>>2]|0;t=c[e+(p<<2)>>2]|0;s=c[e+(q<<2)>>2]|0;if((((r|0)>(u|0)?u:r)|0)>(((t|0)<(s|0)?s:t)|0)^1|k^1)break}if(+(mx(h,i)|0)>j){l=i;continue b}}while(0);n=n+1|0;if((n|0)>=10)break b}}j=+(l|0);m=+(mx(h,q)|0)*.5;l=q;c:while(1){n=0;while(1){i=c[d+(n<<2)>>2]|0;do if((i|0)>(l|0)){if(!o?(s=c[f+(p<<2)>>2]|0,r=c[f+(q<<2)>>2]|0,u=c[e+(p<<2)>>2]|0,t=c[e+(q<<2)>>2]|0,(((s|0)>(r|0)?r:s)|0)<=(((u|0)<(t|0)?t:u)|0)):0)break;if(+(i|0)/j>1.2&+(i|0)/j<1.8?+(mx(h,i)|0)>m:0){l=i;continue c}}while(0);n=n+1|0;if((n|0)>=10)break c}}g[b+44>>2]=j;g[b+52>>2]=+(l|0)-j}else if((i|0)==28){l=c[d>>2]|0;j=+(mx(h,l)|0)*.5;d:while(1){k=l+1|0;i=1;while(1){if((c[d+(i<<2)>>2]|0)==(k|0)?+(mx(h,k)|0)>j:0){l=k;continue d}i=i+1|0;if((i|0)>=10)break d}}g[b+52>>2]=0.0;m=+(l|0);g[b+44>>2]=m;if(m==0.0)g[b+44>>2]=-1.0}return}function T1(){c[83586]=1701984;c[83588]=389976;c[83590]=390024;c[83592]=390056;c[83594]=390112;c[83596]=390152;c[83598]=390184;c[83600]=390240;c[83602]=390280;c[83604]=390328;c[83606]=390376;c[83608]=390400;c[83610]=390432;c[83612]=390504;c[83614]=390552;c[83616]=390592;c[83618]=390640;Wk(334480,0,334496,334528,0,kM()|0);Wk(334560,0,334576,334600,0,kM()|0);Wk(334632,0,334648,334672,0,kM()|0);Wk(334704,1,334720,334744,0,kM()|0);Wk(334776,1,334792,334824,0,kM()|0);Wk(334848,1,334864,334896,0,kM()|0);Wk(334928,1,334944,334960,0,kM()|0);Wk(334992,0,335008,335024,0,kM()|0);Wk(335064,0,335080,335104,0,kM()|0);tJ(335136,.4,335176,335192,kM()|0);rJ(335224,10,335248,335272,0,kM()|0);tJ(335312,1.26,335352,335376,kM()|0);tJ(335408,.15,335448,335472,kM()|0);return}function U1(d,e,f,g,i,j,k){d=d|0;e=e|0;f=f|0;g=g|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0.0;if(((((i<<16>>16|0)/2|0)<<16)+-65536|0)>2031616)m=31;else m=((((i<<16>>16|0)/2|0)<<16)+-65536|0)<0?0:(((i<<16>>16|0)/2|0)<<16)+-65536>>16;l=1<>2]=0;h[d+24>>3]=0.0;n=+(ba(k<<16>>16,k<<16>>16)|0);h[d+32>>3]=n;h[d+40>>3]=n;a[d>>0]=0;a[d+1>>0]=0;b[d+2>>1]=0;c[d+8>>2]=j<<16>>16;b[d+4>>1]=0;b[d+6>>1]=0;if(j<<16>>16==f<<16>>16){c[d+12>>2]=0;c[d+16>>2]=0;if((m|0)>=0){i=0;k=0;while(1){i=i>>>1;c[d+16>>2]=i;if((mx(g,k)|0)>0){c[d+16>>2]=i|l;i=i|l}if((k|0)==(m|0))break;else k=k+1|0}}}else{i=c[e+(((j<<16>>16)+~(f<<16>>16)|0)*48|0)+12>>2]<<1&(l<<1)+-1;c[d+12>>2]=i;if((mx(g,j<<16>>16)|0)>0)c[d+12>>2]=i|1;i=(c[e+(((j<<16>>16)+~(f<<16>>16)|0)*48|0)+16>>2]|0)>>>1;c[d+16>>2]=i;if((mx(g,m+(j<<16>>16)|0)|0)>0)c[d+16>>2]=i|l}return}function V1(d,f,g,i,j,k,l,m,n,o,p){d=d|0;f=f|0;g=g|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=+n;o=o|0;p=p|0;var q=0,r=0.0,s=0,t=0,u=0,v=0.0,w=0.0,x=0,y=0,z=0.0,A=0,B=0,C=0,D=0,E=0;if(((((o<<16>>16|0)/2|0)<<16)+-65536|0)>2031616)u=31;else u=((((o<<16>>16|0)/2|0)<<16)+-65536|0)<0?0:(((o<<16>>16|0)/2|0)<<16)+-65536>>16;t=1<>16)+~(g<<16>>16)|0)*48|0)+12>>2]<<1;c[d+12>>2]=q;if((mx(m,i<<16>>16)|0)>0){c[d+12>>2]=q|1;q=q|1}s=(c[f+(((i<<16>>16)+~(g<<16>>16)|0)*48|0)+16>>2]|0)>>>1;c[d+16>>2]=s;if((mx(m,u+(i<<16>>16)|0)|0)>0)c[d+16>>2]=s|t;c[d+8>>2]=i<<16>>16;h[d+40>>3]=3402823466385288598117041.0e14;c[d+20>>2]=0;a[d>>0]=j;a[d+1>>0]=0;b[d+4>>1]=0;b[d+2>>1]=32767;s=(i<<16>>16)-(o<<16>>16)-(p<<16>>16)|0;A=(i<<16>>16)-(o<<16>>16)+(p<<16>>16)|0;if((s|0)<=(A|0)){z=3402823466385288598117041.0e14;u=32767;while(1){if(((s|0)>=(g<<16>>16|0)?(B=s-(g<<16>>16)|0,C=(i<<16>>16)-(c[f+(B*48|0)+8>>2]|0)|0,(a[f+(B*48|0)+1>>0]|0)==0):0)?(D=b[f+(B*48|0)+2>>1]|0,D<<16>>16!=32767):0){w=+h[43743];if(w>0.0){if(!(a[349410]|0))if((s|0)<(i<<16>>16|0)){t=s;p=i<<16>>16;x=0;y=0;do{E=(mx(m,t)|0)<1;x=((E^(mx(m,p)|0)<1)&1)+(x&65535)|0;y=y+1|0;t=y+s|0;p=(i<<16>>16)-y|0}while((t|0)<(p|0));t=x&65535}else t=0;else{p=c[f+(B*48|0)+16>>2]|0;if((p|0)==(q|0))t=0;else{t=0;p=p^q;do{t=t+1<<16>>16;p=p+-1&p}while((p|0)!=0)}}t=~~(+(t<<16>>16)*w/n)}else t=0;p=(e[f+(B*48|0)+4>>1]|0)+1|0;w=+(C|0)+ +h[f+(B*48|0)+24>>3];v=+(ba(C,C)|0);y=(t&65535)+(l&65535)<<16>>16;v=v+ +h[f+(B*48|0)+32>>3]+ +(ba(y,y)|0);r=w/+(p<<16>>16|0);r=(r-+(o<<16>>16))*(r-+(o<<16>>16))+(v/+(p<<16>>16|0)-r*r);if(r>16)|0)<=(u<<16>>16|0):0){h[d+40>>3]=r;c[d+20>>2]=f+(B*48|0);h[d+24>>3]=w;h[d+32>>3]=v;b[d+2>>1]=(j&255)+(D&65535);b[d+6>>1]=(e[f+(B*48|0)+6>>1]|0)+(k&255);b[d+4>>1]=p;u=(j&255)+(D&65535)&65535}else r=z}else r=z;if((s|0)<(A|0)){z=r;s=s+1|0}else break}}return}function W1(d,f,g,i,j,k,l,m,n,o){d=d|0;f=f|0;g=g|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=+n;o=o|0;var p=0,q=0.0,r=0,s=0.0,t=0,u=0,v=0,w=0,x=0;if(((((o<<16>>16|0)/2|0)<<16)+-65536|0)>2031616)t=31;else t=((((o<<16>>16|0)/2|0)<<16)+-65536|0)<0?0:(((o<<16>>16|0)/2|0)<<16)+-65536>>16;p=1<>16)+~(g<<16>>16)|0)*48|0)+12>>2]<<1;c[d+12>>2]=r;if((mx(m,i<<16>>16)|0)>0){c[d+12>>2]=r|1;u=r|1}else u=r;r=(c[f+(((i<<16>>16)+~(g<<16>>16)|0)*48|0)+16>>2]|0)>>>1;c[d+16>>2]=r;if((mx(m,t+(i<<16>>16)|0)|0)>0)c[d+16>>2]=r|p;c[d+8>>2]=i<<16>>16;h[d+40>>3]=3402823466385288598117041.0e14;c[d+20>>2]=0;a[d>>0]=j;a[d+1>>0]=0;b[d+4>>1]=0;b[d+2>>1]=32767;if((((i<<16>>16)-(o<<16>>16)|0)>=(g<<16>>16|0)?(v=(i<<16>>16)-(o<<16>>16)-(g<<16>>16)|0,w=(i<<16>>16)-(c[f+(v*48|0)+8>>2]|0)|0,(a[f+(v*48|0)+1>>0]|0)==0):0)?(x=b[f+(v*48|0)+2>>1]|0,x<<16>>16!=32767):0){s=+h[43743];if(s>0.0){p=c[f+(v*48|0)+16>>2]|0;if((p|0)==(u|0))q=0.0;else{r=0;p=p^u;do{r=r+1<<16>>16;p=p+-1&p}while((p|0)!=0);q=+(r<<16>>16)}p=~~(q*s/n)}else p=0;u=(e[f+(v*48|0)+4>>1]|0)+1|0;s=+(w|0)+ +h[f+(v*48|0)+24>>3];n=+(ba(w,w)|0);l=(p&65535)+(l&65535)<<16>>16;n=n+ +h[f+(v*48|0)+32>>3]+ +(ba(l,l)|0);q=s/+(u<<16>>16|0);h[d+40>>3]=(q-+(o<<16>>16))*(q-+(o<<16>>16))+(n/+(u<<16>>16|0)-q*q);c[d+20>>2]=f+(v*48|0);h[d+24>>3]=s;h[d+32>>3]=n;b[d+2>>1]=(j&255)+(x&65535);b[d+6>>1]=(e[f+(v*48|0)+6>>1]|0)+(k&255);b[d+4>>1]=u}return}function X1(d,e,f,g,j,l,m,n,o,p,q){d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;l=l|0;m=+m;n=n|0;o=o|0;p=p|0;q=q|0;var r=0.0,s=0,t=0,u=0.0,v=0.0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;H=i;i=i+128|0;c[H+64>>2]=0;pk(H+92|0,o);G=f<<16>>16<3?3:f;F=((G<<16>>16)+-3|0)<4?(((G<<16>>16)+-3|0)/2|0)&65535:2;c[H+64>>2]=c[d+0>>2];c[H+68>>2]=c[d+4>>2];c[H+72>>2]=c[d+8>>2];c[H+76>>2]=c[d+12>>2];c[H+80>>2]=c[d+16>>2];c[H+84>>2]=c[d+20>>2];a[H+88>>0]=a[d+24>>0]|0;Zaa(H+56|0,H+64|0);s=j<<16>>16;while(1){t=s&65535;if((mx(g,s)|0)==0?t<<16>>16>16:0)s=s+1|0;else break}B=l<<16>>16;while(1){A=B&65535;if((mx(g,B)|0)==0?A<<16>>16>t<<16>>16:0)B=B+-1|0;else break}if(A<<16>>16>16){c[H>>2]=336240;c[H+4>>2]=358;$L(336208,336216,2,1702e3,H)}if((c[84119]|0)>3)r=+Y1(j,l,G,F,g,m,n,o,p,q);else{C=s-(G<<16>>16)|0;E=iM((((G<<16>>16<<1)-s+B|0)*48|0)+48|0)|0;if((C&65535)<<16>>16>16){l=s-(f<<16>>16>3?f&65535:3)|0;q=s+65535-l|0;j=l<<16>>16;do{U1(E+((j-(C<<16>>16)|0)*48|0)|0,E,C&65535,g,G,j&65535,0);j=j+1|0}while((j&65535)<<16>>16>16);q=(l<<16>>16)+q+1&65535}else q=C&65535;if(F<<16>>16>=0){j=0;do{U1(E+(((q<<16>>16)-(C<<16>>16)|0)*48|0)|0,E,C&65535,g,G,q,j);j=j+1<<16>>16;q=q+1<<16>>16}while(j<<16>>16<=F<<16>>16)};c[H+64>>2]=c[d+0>>2];c[H+68>>2]=c[d+4>>2];c[H+72>>2]=c[d+8>>2];c[H+76>>2]=c[d+12>>2];c[H+80>>2]=c[d+16>>2];c[H+84>>2]=c[d+20>>2];a[H+88>>0]=a[d+24>>0]|0;Zaa(H+48|0,H+64|0);s=c[H+48>>2]|0;f=c[H+52>>2]|0;Zaa(H+32|0,H+64|0);t=UGa(s|0,f|0,48)|0;p=c[H+32>>2]|0;j=c[H+36>>2]|0;l=q<<16>>16;z=B-(F<<16>>16)|0;if((l|0)<(z|0)){d=UGa(p|0,j|0,48)|0;o=p&65535;p=j&65535;j=d&65535;d=s&65535;s=t&65535;t=f&65535;f=1;while(1){if(f<<16>>16>16?(l|0)>((t<<16>>16)+(F<<16>>16)|0):0){Zaa(H+40|0,H+64|0);w=c[H+40>>2]|0;x=c[H+44>>2]|0;t=UGa(w|0,x|0,48)|0;d=o;y=p;o=w&65535;w=j;j=t&65535;p=x&65535;x=f+1<<16>>16}else{y=t;w=s;x=f}do if(q<<16>>16>d<<16>>16){s=d<<16>>16;if((l|0)<=(s+(F<<16>>16)|0)){s=0;f=0;t=l-(d&65535)&65535;break}if(q<<16>>16>16){if(q<<16>>16>=o<<16>>16?x<<16>>16>16:0){t=l-(o&65535)|0;if(((y<<16>>16)-l|0)>=(t<<16>>16|0)){s=0;f=0;t=t&65535;break}s=0;f=0;t=(y&65535)-l&65535;break}t=y<<16>>16;if((l|0)>=(t-(F<<16>>16)|0)){s=0;f=0;t=(y&65535)-l&65535;break}v=+(G<<16>>16)*+h[42069];if(+(l-s|0)>v?+(t-l|0)>v:0){s=0;f=1;t=0;break}s=1;f=0;t=(mx(g,l)|0)&65535}else{s=0;f=0;t=0}}else{s=0;f=0;t=0}while(0);V1(E+((l-(C<<16>>16)|0)*48|0)|0,E,C&65535,q,s,f,t,g,m,G,F);q=q+1<<16>>16;l=q<<16>>16;if((l|0)>=(z|0))break;else{s=w;t=y;f=x}}}else{w=t&65535;y=f&65535}j=q<<16>>16;z=B+(G<<16>>16)|0;if((j|0)<(z|0)){v=2147483647.0;p=32767;o=32767;l=0;d=0;while(1){if(A<<16>>16>q<<16>>16)s=B-j&65535;else s=0;t=j-(C<<16>>16)|0;V1(E+(t*48|0)|0,E,C&65535,q,0,0,s,g,m,G,F);a[E+(t*48|0)+1>>0]=1;s=b[E+(t*48|0)+4>>1]|0;f=b[E+(t*48|0)+2>>1]|0;do if(((f<<16>>16)+(s<<16>>16)|0)<=((p<<16>>16)+(o<<16>>16)|0)){if(f<<16>>16>16){u=+h[E+(t*48|0)+40>>3];t=s;l=q;d=q;break}if(f<<16>>16==o<<16>>16){r=+h[E+(t*48|0)+40>>3];if(r>16)+1|0)&r==v?q:d}}else{u=v;t=p;f=o}}else{u=v;t=p;f=o}while(0);q=q+1<<16>>16;j=q<<16>>16;if((j|0)>=(z|0))break;else{v=u;p=t;o=f}}if(f<<16>>16==32767){j=t;q=d;D=45}else{s=C<<16>>16;j=l;q=d}}else{j=32767;l=0;q=0;D=45}if((D|0)==45){c[H>>2]=336240;c[H+4>>2]=447;$L(336208,336264,2,1702e3,H);s=C<<16>>16;t=j;j=l}q=E+(((((q<<16>>16)+(j<<16>>16)|0)/2|0)-s|0)*48|0)|0;if((y<<16>>16|0)==(c[82287]|0)?((s|0)<(z|0)?(w<<16>>16|0)==(c[82303]|0):0):0){l=s;o=C&65535;do{D=l-s|0;u=+h[E+(D*48|0)+40>>3];m=+h[E+(D*48|0)+24>>3];v=+h[E+(D*48|0)+32>>3];D=c[(c[E+(D*48|0)+20>>2]|0)+8>>2]|0;c[H>>2]=l;h[k>>3]=u;c[H+4>>2]=c[k>>2];c[H+8>>2]=c[k+4>>2];h[k>>3]=m;c[H+12>>2]=c[k>>2];c[H+16>>2]=c[k+4>>2];h[k>>3]=v;c[H+20>>2]=c[k>>2];c[H+24>>2]=c[k+4>>2];c[H+28>>2]=D;jN(336288,H);o=o+1<<16>>16;l=o<<16>>16}while((l|0)<(z|0))}b[n>>1]=-1;do{j=c[q+8>>2]|0;o=(F<<16>>16)-(G<<16>>16)+j<<16>>16;a:do if((o|0)<(j-(F<<16>>16)|0)){l=(F<<16>>16)-(G<<16>>16)+j&65535;do{l=l+1<<16>>16;if(mx(g,o)|0)break a;o=l<<16>>16}while((o|0)<(j-(F<<16>>16)|0))}while(0);if((o|0)<(j-(F<<16>>16)|0))b[n>>1]=(b[n>>1]|0)+1<<16>>16;D=WEa(48)|0;$1(D,q);BB(H+92|0,D);q=c[q+20>>2]|0}while((q|0)!=0);SL(H+92|0);r=+h[(tk(H+92|0)|0)+24>>3];r=r*r/+(t<<16>>16);if(+h[(tk(H+92|0)|0)+32>>3]-r<0.0){m=+h[(tk(H+92|0)|0)+32>>3];v=+h[(tk(H+92|0)|0)+24>>3];h[k>>3]=m;c[H>>2]=c[k>>2];c[H+4>>2]=c[k+4>>2];h[k>>3]=v;c[H+8>>2]=c[k>>2];c[H+12>>2]=c[k+4>>2];c[H+16>>2]=t<<16>>16;jN(336920,H)}jM(E);r=+h[(tk(H+92|0)|0)+32>>3]-r}i=H;return +r}function Y1(d,e,f,g,j,l,m,n,o,p){d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;l=+l;m=m|0;n=n|0;o=o|0;p=p|0;var q=0.0,r=0,s=0,t=0.0,u=0,v=0,w=0.0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;J=i;i=i+48|0;pk(J+20|0,n);I=f<<16>>16<3?3:f;w=+h[42069];n=d<<16>>16;while(1){r=n&65535;if((mx(j,n)|0)==0?r<<16>>16>16:0)n=n+1|0;else break}H=(((I<<16>>16)+-3|0)/2|0|0)<(g<<16>>16|0)?(((I<<16>>16)+-3|0)/2|0)&65535:g;D=e<<16>>16;while(1){C=D&65535;if((mx(j,D)|0)==0?C<<16>>16>r<<16>>16:0)D=D+-1|0;else break}A=((p<<16>>16)-(o<<16>>16)|0)%(f<<16>>16|0)|0;B=n-(I<<16>>16)|0;F=iM((((I<<16>>16<<1)-n+D|0)*48|0)+48|0)|0;G=iM(H<<16>>16<<1|1)|0;if((B&65535)<<16>>16>16){f=n-(f<<16>>16>3?f&65535:3)|0;p=n+65535|0;g=f<<16>>16;do{U1(F+((g-(B<<16>>16)|0)*48|0)|0,F,B&65535,j,I,g&65535,0);g=g+1|0}while((g&65535)<<16>>16>16);e=p;g=(f<<16>>16)+(p-f)+1&65535}else{e=n+65535|0;g=B&65535}n=e&65535;if(H<<16>>16>=0){e=0;do{U1(F+(((g<<16>>16)-(B<<16>>16)|0)*48|0)|0,F,B&65535,j,I,g,e);e=e+1<<16>>16;g=g+1<<16>>16}while(e<<16>>16<=H<<16>>16)}r=g<<16>>16;if((0-(H<<16>>16)&65535)<<16>>16>16){e=0-H<<16>>16<<16>>16;p=0;while(1){a[G+p>>0]=(Nka(j,e+r|0)|0)&1;p=p+1|0;if((p&65535)<<16>>16==(H<<1&65535)<<16>>16)break;else e=e+1|0}s=((H<<1&65535)+-1&65535)+1|0}else s=0;z=~~(+(I<<16>>16)*w)<<16>>16;a:do if((r+z&65535)<<16>>16>16)e=r+z+1&65535;else{e=r+z&65535;while(1){if((mx(j,e<<16>>16)|0)<=0)break a;e=e+-1<<16>>16;if(e<<16>>16>16){e=r+z+1&65535;break}}}while(0);y=D-(H<<16>>16)|0;if((r|0)<(y|0)){x=r;while(1){a[G+s>>0]=(Nka(j,x+(H<<16>>16)|0)|0)&1;s=(s|0)>=(H<<16>>16<<1|0)?0:s+1|0;v=mx(j,x)|0;b:do if((v|0)<1|H<<16>>16<1){r=(v|0)<1^1;u=(v|0)<1?g:n}else{p=1;f=1;while(1){if((mx(j,p+x|0)|0)<=0){r=f;u=n;break b}r=f+1<<16>>16;if((mx(j,x-p|0)|0)<=0){r=f;u=n;break b}if(r<<16>>16>H<<16>>16){u=n;break}else{p=r<<16>>16;f=r}}}while(0);do if(r<<16>>16>H<<16>>16){c:do if((x-(u<<16>>16)|0)>(z|0)?((e<<16>>16)-x|0)>(z|0):0){p=s+(H<<16>>16)|0;if(H<<16>>16<0)r=0;else{f=0;n=0;while(1){r=f+p|0;if(a[G+(r-((r|0)>(H<<16>>16<<1|0)?H<<16>>16<<1|1:0))>>0]|0){r=n;break c}f=p-f|0;r=n+1<<16>>16;if(a[G+(f-((f|0)>(H<<16>>16<<1|0)?H<<16>>16<<1|1:0))>>0]|0){r=n;break c}if(r<<16>>16>H<<16>>16)break;else{f=r<<16>>16;n=r}}}}while(0);if(r<<16>>16>H<<16>>16){p=1;f=0;r=v&65535;break}else{p=0;f=1;r=~~(+(v|0)/l)<<16>>16>r<<16>>16?~~(+(v|0)/l):r;break}}else{p=0;f=0}while(0);if(!(o<<16>>16==0&(A&65535|0)==0|(a[349410]|0)==0)?((x-((o<<16>>16)+(d<<16>>16))|0)%(I<<16>>16|0)|0|0)>(A<<16>>16|0):0)W1(F+((x-(B<<16>>16)|0)*48|0)|0,F,B&65535,g,p,f,r,j,l,I);else V1(F+((x-(B<<16>>16)|0)*48|0)|0,F,B&65535,g,p,f,r,j,l,I,H);g=g+1<<16>>16;x=g<<16>>16;if(e<<16>>16>=g<<16>>16){p=e<<16>>16;f=x+z|0;if((p|0)==(f|0)){e=p;E=44}}else{e=x+z|0;E=44}if((E|0)==44){E=0;f=e;e=z+1+x&65535}p=(mx(j,f)|0)>0;if((x|0)>=(y|0))break;else{e=p?e:f&65535;n=u}}}p=g<<16>>16;x=D+(I<<16>>16)|0;if((p|0)<(x|0)){w=2147483647.0;u=32767;v=32767;f=0;n=0;while(1){if(C<<16>>16>g<<16>>16)e=D-p&65535;else e=0;r=p-(B<<16>>16)|0;V1(F+(r*48|0)|0,F,B&65535,g,0,0,e,j,l,I,H);a[F+(r*48|0)+1>>0]=1;e=b[F+(r*48|0)+4>>1]|0;s=b[F+(r*48|0)+2>>1]|0;do if(((s<<16>>16)+(e<<16>>16)|0)<=((u<<16>>16)+(v<<16>>16)|0)){if(s<<16>>16>16){t=+h[F+(r*48|0)+40>>3];f=g;n=g;break}if(s<<16>>16==v<<16>>16){q=+h[F+(r*48|0)+40>>3];if(q>16)+1|0)&q==w?g:n}}else{t=w;e=u;s=v}}else{t=w;e=u;s=v}while(0);g=g+1<<16>>16;p=g<<16>>16;if((p|0)>=(x|0))break;else{w=t;u=e;v=s}}if(s<<16>>16==32767){p=B<<16>>16;E=56}else p=B<<16>>16}else{p=B<<16>>16;e=32767;f=0;n=0;E=56}if((E|0)==56){c[J>>2]=336240;c[J+4>>2]=662;$L(336208,336264,2,1702e3,J)}b[m>>1]=-1;g=F+(((((n<<16>>16)+(f<<16>>16)|0)/2|0)-p|0)*48|0)|0;do{p=c[g+8>>2]|0;n=(H<<16>>16)-(I<<16>>16)+p<<16>>16;d:do if((n|0)<(p-(H<<16>>16)|0)){f=(H<<16>>16)-(I<<16>>16)+p&65535;do{f=f+1<<16>>16;if(mx(j,n)|0)break d;n=f<<16>>16}while((n|0)<(p-(H<<16>>16)|0))}while(0);if((n|0)<(p-(H<<16>>16)|0))b[m>>1]=(b[m>>1]|0)+1<<16>>16;E=WEa(48)|0;$1(E,g);BB(J+20|0,E);g=c[g+20>>2]|0}while((g|0)!=0);SL(J+20|0);q=+h[(tk(J+20|0)|0)+24>>3];q=q*q/+(e<<16>>16);if(+h[(tk(J+20|0)|0)+32>>3]-q<0.0){w=+h[(tk(J+20|0)|0)+32>>3];l=+h[(tk(J+20|0)|0)+24>>3];h[k>>3]=w;c[J>>2]=c[k>>2];c[J+4>>2]=c[k+4>>2];h[k>>3]=l;c[J+8>>2]=c[k>>2];c[J+12>>2]=c[k+4>>2];c[J+16>>2]=e<<16>>16;jN(336920,J)}jM(G);jM(F);l=+h[(tk(J+20|0)|0)+32>>3]-q;i=J;return +l}function Z1(a){a=a|0;if(a)YEa(a);return}function _1(a){a=a|0;if(a){KL(a,242);YEa(a)}return}function $1(d,e){d=d|0;e=e|0;c[d>>2]=0;c[d+16>>2]=0;h[d+24>>3]=+h[e+24>>3];h[d+32>>3]=+h[e+32>>3];h[d+40>>3]=+h[e+40>>3];a[d+4>>0]=a[e>>0]|0;a[d+5>>0]=a[e+1>>0]|0;b[d+6>>1]=b[e+2>>1]|0;c[d+12>>2]=c[e+8>>2];b[d+8>>1]=b[e+6>>1]|0;return}function a2(e,f,g,j,k,l,m,n){e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0.0,p=0,q=0.0,r=0.0,s=0.0,t=0;t=i;i=i+32|0;c[e>>2]=0;c[e+12>>2]=f<<16>>16;pk(t,n);h[e+40>>3]=3402823466385288598117041.0e14;c[e+16>>2]=0;a[e+4>>0]=g;a[e+5>>0]=0;b[e+8>>1]=0;rk(t);if(sk(t)|0){g=e+6|0;j=32767}else{o=+(ba(j<<16>>16,j<<16>>16)|0);j=32767;do{g=tk(t)|0;p=b[g+6>>1]|0;j=p<<16>>16>16?p:j;n=(f<<16>>16)-(c[g+12>>2]|0)|0;if((!((n|0)<((l<<16>>16)-(m<<16>>16)|0)?1:(n|0)>((m<<16>>16)+(l<<16>>16)|0))?(a[g+5>>0]|0)==0:0)?(q=+(n|0)+ +h[g+24>>3],r=+(ba(n,n)|0),r=o+(r+ +h[g+32>>3]),s=(q/+(k<<16>>16)-+(l<<16>>16))*(q/+(k<<16>>16)-+(l<<16>>16))+(r/+(k<<16>>16)-q/+(k<<16>>16)*(q/+(k<<16>>16))),s<+h[e+40>>3]):0){h[e+40>>3]=s;c[e+16>>2]=g;h[e+24>>3]=q;h[e+32>>3]=r;b[e+6>>1]=(d[e+4>>0]|0)+(p&65535)}OL(t)|0}while(!(sk(t)|0));g=e+6|0}if((b[g>>1]|0)>((j<<16>>16)+1|0))c[e+16>>2]=0;i=t;return} -function vE(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;i=i+16|0;if(aF(d)|0){h=c[(oF(a,b)|0)+4>>2]|0;g=c[(oF(a,b)|0)+8>>2]|0;f=c[(oF(a,b)|0)+12>>2]|0;d=Efa(d,h,g,f,c[(oF(a,b)|0)+16>>2]|0)|0}else{jN(38592,e);d=0}i=e;return d|0}function wE(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;i=i+16|0;g=c[b>>2]|0;do if((c[g+24>>2]|0)!=0?(f=c[d>>2]|0,(c[f+24>>2]|0)!=0):0){if((e|0)==2){d=f;f=(c[b+12>>2]|0)+(c[b+8>>2]|0)|0}else if(!e){jN(38784,j);g=c[b>>2]|0;f=c[d>>2]|0;h=6}else h=6;if((h|0)==6){d=f;f=qF(c[b+8>>2]|0,c[b+12>>2]|0,e)|0}f=f-(c[g+20>>2]|0)|0;if(!(a[g+4>>0]|0)){f=((kl(d+36|0)|0)<<16>>16|0)<(f|0);break}else{f=((kl(d+28|0)|0)<<16>>16|0)<(f|0);break}}else f=1;while(0);i=j;return f|0}function xE(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;m=i;i=i+32|0;k=c[d+12>>2]|0;l=c[d+8>>2]|0;if((k|0)>(l|0)){j=l;h=0;f=0;do{if(rF(d,j)|0){n=c[d+12>>2]|0;g=n;h=((j|0)==(n+-1|0)&1)+h|0;f=f+1|0}else g=c[d+12>>2]|0;j=j+1|0}while((j|0)<(g|0))}else{h=0;f=0}a:do if(+(f|0)<+(k-l|0)*.7)sF(d,1,37984);else{c[d+80>>2]=0;if(!(a[d+20>>0]|0))uF(d);else tF(d);if((b|0)>0){c[m>>2]=(a[d+20>>0]|0)!=0?38144:38152;jN(38040,m);vF(c[d+4>>2]|0,c[d+8>>2]|0,c[d+12>>2]|0)}g=(c[d+64>>2]|0)==3?d+44|0:d+24|0;do if((c[g>>2]|0)==2){c[d+72>>2]=c[(iF(g,1)|0)>>2];c[d+76>>2]=c[(iF((c[d+64>>2]|0)==3?d+44|0:d+24|0,0)|0)>>2]}else{if((k-l+-1|0)!=(f-h|0)){n=c[(iF(g,0)|0)>>2]|0;c[d+76>>2]=n;c[d+72>>2]=n;n=c[(iF((c[d+64>>2]|0)==3?d+24|0:d+44|0,0)|0)>>2]|0;c[d+80>>2]=((c[(iF((c[d+64>>2]|0)==3?d+24|0:d+44|0,1)|0)>>2]|0)+n|0)/2|0;break}g=(a[d+20>>0]|0)!=0?-559083233:-559052657;jE(oF(c[d+4>>2]|0,c[d+8>>2]|0)|0,g);f=(c[d+8>>2]|0)+1|0;if((f|0)>=(c[d+12>>2]|0))break a;while(1){kE(oF(c[d+4>>2]|0,f)|0,g);f=f+1|0;if((f|0)>=(c[d+12>>2]|0))break a}}while(0);wF(m+4|0,d);n=yE(e,m+4|0)|0;tE(c[d+4>>2]|0,c[d+8>>2]|0,c[d+12>>2]|0,n,c[d+80>>2]|0)}while(0);i=m;return}function yE(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[a>>2]|0;a:do if((c[d>>2]|0)>0){f=0;while(1){h=Ffa(c[(cF(d,f)|0)>>2]|0,b)|0;e=f+1|0;d=c[a>>2]|0;if(h)break;if((e|0)<(c[d>>2]|0))f=e;else{g=5;break a}}d=c[(cF(d,f)|0)>>2]|0}else g=5;while(0);if((g|0)==5){h=WEa(20)|0;c[h+0>>2]=c[b+0>>2];c[h+4>>2]=c[b+4>>2];c[h+8>>2]=c[b+8>>2];c[h+12>>2]=c[b+12>>2];c[h+16>>2]=c[b+16>>2];cl(d,h)|0;xF(a+4|0,h);d=h}return d|0}function zE(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+128|0;if(lF(b,4,38160,c[d>>2]|0,e,f)|0){if((b|0)>1){jN(38184,p+8|0);c[p+8>>2]=e;c[p+12>>2]=f;jN(38240,p+8|0);jN(38184,p+8|0)}AE(d,e,f);yF(p+36|0,b,d,e,f);o=p+60|0;h=c[o>>2]|0;do if((h|0)>2){j=c[p+80>>2]|0;if((j|0)>2){sF(p+36|0,2,38288);break}else{n=p+80|0;k=13;break}}else{if((h|0)>=2){n=p+80|0;j=c[p+80>>2]|0;k=13;break}j=c[p+80>>2]|0;if((j|0)<2){sF(p+36|0,1,38344);break}else{n=p+80|0;k=13;break}}while(0);a:do if((k|0)==13){if((j+h|0)==3){xE(b,p+36|0,g);break}do if((j|0)<=2){if((h|0)>2){uF(p+36|0);break}if(!(a[p+56>>0]|0)){uF(p+36|0);break}else{tF(p+36|0);break}}else tF(p+36|0);while(0);m=p+100|0;h=(c[m>>2]|0)==3?n:o;do if((c[h>>2]|0)==2){c[p>>2]=0;c[p+4>>2]=0;j=p+((AF(p+36|0,c[p+44>>2]|0)|0)<<2)|0;c[j>>2]=(c[j>>2]|0)+1;j=c[p+44>>2]|0;l=1;b:while(1){do{k=j;j=j+1|0;h=c[p+48>>2]|0;if((j|0)>=(h|0))break b}while(!(BF(p+36|0,k,j)|0));l=p+((AF(p+36|0,j)|0)<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=0}if(l?BF(p+36|0,h+-1|0,h+-1|0)|0:0){l=p+(1-(AF(p+36|0,(c[p+48>>2]|0)+-1|0)|0)<<2)|0;c[l>>2]=(c[l>>2]|0)+1}j=c[p>>2]|0;j=(j*100|0)/(c[(iF((c[m>>2]|0)==3?n:o,0)|0)+4>>2]|0)|0;h=c[p+4>>2]|0;h=(h*100|0)/(c[(iF((c[m>>2]|0)==3?n:o,1)|0)+4>>2]|0)|0;if((j|0)<20&(h|0)>30|(j+30|0)<(h|0)){c[p+108>>2]=c[(iF((c[m>>2]|0)==3?n:o,1)|0)>>2];c[p+112>>2]=c[(iF((c[m>>2]|0)==3?n:o,0)|0)>>2];break}if((h|0)<20&(j|0)>30|(h+30|0)<(j|0)){c[p+108>>2]=c[(iF((c[m>>2]|0)==3?n:o,0)|0)>>2];c[p+112>>2]=c[(iF((c[m>>2]|0)==3?n:o,1)|0)>>2];break}if((b|0)<=1)break a;c[p+8>>2]=(c[m>>2]|0)==1?38144:38152;jN(38400,p+8|0);c[p+8>>2]=c[(iF((c[m>>2]|0)==3?n:o,0)|0)>>2];c[p+12>>2]=j;jN(38464,p+8|0);c[p+8>>2]=c[(iF((c[m>>2]|0)==3?n:o,1)|0)>>2];c[p+12>>2]=h;jN(38464,p+8|0);vF(c[p+40>>2]|0,c[p+44>>2]|0,c[p+48>>2]|0);break a}else{b=c[(iF(h,0)|0)>>2]|0;c[p+112>>2]=b;c[p+108>>2]=b}while(0);wF(p+16|0,p+36|0);k=yE(g,p+16|0)|0;h=c[(iF((c[m>>2]|0)==3?o:n,0)|0)>>2]|0;c[p+116>>2]=((c[(iF((c[m>>2]|0)==3?o:n,1)|0)>>2]|0)+h|0)/2|0;h=c[p+44>>2]|0;j=(h|0)<((c[p+48>>2]|0)+-1|0);c:do if((c[((c[m>>2]|0)==3?n:o)>>2]|0)==2){if(j){while(1){j=h;h=h+1|0;if(uE(c[p+40>>2]|0,h,k)|0?(b=c[(iF((c[m>>2]|0)==3?o:n,0)|0)>>2]|0,g=oF(c[p+40>>2]|0,j)|0,g=qF(c[g+8>>2]|0,c[g+12>>2]|0,c[m>>2]|0)|0,l=c[p+52>>2]|0,!((b-g|0)<=(l|0)&(l|0)>=(0-(b-g)|0))):0)break;if((h|0)>=((c[p+48>>2]|0)+-1|0))break c}c[p+116>>2]=0}}else if(j){while(1){j=h;h=h+1|0;if(!(BF(p+36|0,j,h)|0)?(b=c[(iF((c[m>>2]|0)==3?o:n,0)|0)>>2]|0,g=oF(c[p+40>>2]|0,j)|0,g=qF(c[g+8>>2]|0,c[g+12>>2]|0,c[m>>2]|0)|0,l=c[p+52>>2]|0,!((b-g|0)<=(l|0)&(l|0)>=(0-(b-g)|0))):0)break;if((h|0)>=((c[p+48>>2]|0)+-1|0))break c}c[p+116>>2]=0}while(0);tE(d,e,f,k,c[p+116>>2]|0)}while(0);zF(p+36|0)}i=p;return}function AE(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;l=i;i=i+32|0;if(lF(0,0,38744,c[a>>2]|0,b,d)|0){f=c[(oF(a,b)|0)+4>>2]|0;f=(c[(oF(a,b)|0)+8>>2]|0)+f|0;g=c[(oF(a,b)|0)+16>>2]|0;g=(c[(oF(a,b)|0)+12>>2]|0)+g|0;if((b|0)<(d|0)){k=f;h=f;f=g;e=g;j=b;while(1){g=oF(a,j)|0;if((c[g+20>>2]|0)>0)c[g+20>>2]=0;if(!(c[(c[g>>2]|0)+24>>2]|0))g=k;else{n=(c[g+8>>2]|0)+(c[g+4>>2]|0)|0;m=(c[g+12>>2]|0)+(c[g+16>>2]|0)|0;h=(n|0)>(h|0)?n:h;g=(n|0)<(k|0)?n:k;e=(m|0)>(e|0)?m:e;f=(m|0)<(f|0)?m:f}j=j+1|0;if((j|0)==(d|0))break;else k=g}Aka(l+16|0,g,h+1|0);Aka(l,f,e+1|0);if((b|0)<(d|0)){f=b;do{e=oF(a,f)|0;if(c[(c[e>>2]|0)+24>>2]|0){Fka(l+16|0,(c[e+8>>2]|0)+(c[e+4>>2]|0)|0,1);Fka(l,(c[e+12>>2]|0)+(c[e+16>>2]|0)|0,1)}f=f+1|0}while((f|0)<(d|0))}}else{Aka(l+16|0,f,f+1|0);Aka(l,g,g+1|0)}e=~~+Jka(l+16|0,.1);g=~~+Jka(l,.1);if((b|0)<(d|0)){f=b;do{n=oF(a,f)|0;m=c[n+4>>2]|0;c[n+4>>2]=e;c[n+8>>2]=m-e+(c[n+8>>2]|0);m=c[n+16>>2]|0;c[n+16>>2]=g;c[n+12>>2]=m-g+(c[n+12>>2]|0);f=f+1|0}while((f|0)<(d|0))}Eka(l);Eka(l+16|0)}i=l;return}function BE(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a>>2]|0;e=c[d>>2]|0;a:do if((e|0)>0)while(1){e=e+-1|0;d=c[(cF(d,e)|0)>>2]|0;if(((hF(b,d)|0)==-1?(CF(a+4|0,d)|0)!=-1:0)?(DF(c[a>>2]|0,e),DF(a+4|0,CF(a+4|0,d)|0),(d|0)!=0):0)YEa(d);if((e|0)<=0)break a;d=c[a>>2]|0}while(0);return}function CE(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a>>2]|0;if((c[d>>2]|0)>0){e=0;do{d=c[(cF(d,e)|0)>>2]|0;if((c[d>>2]|0)!=2)gF(b,d);e=e+1|0;d=c[a>>2]|0}while((e|0)<(c[d>>2]|0))}return}function DE(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;do if((e|0)==-559083233|(e|0)==-559052657){f=oF(a,b)|0;d=oF(a,d)|0;if((e|0)==(-559052657|0)){b=(c[(c[f>>2]|0)+20>>2]<<2|0)/5|0;d=(c[f+16>>2]|0)+(c[f+12>>2]|0)-(c[d+12>>2]|0)-(c[d+16>>2]|0)|0;if((d|0)>(b|0)){d=0;break}d=(b|0)>=(0-d|0);break}else{b=(c[(c[f>>2]|0)+20>>2]<<2|0)/5|0;d=(c[f+4>>2]|0)+(c[f+8>>2]|0)-(c[d+8>>2]|0)-(c[d+4>>2]|0)|0;if((d|0)>(b|0)){d=0;break}d=(b|0)>=(0-d|0);break}}else{jN(38656,g);d=0}while(0);i=g;return d|0}function EE(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=i;i=i+48|0;c[a>>2]=f;c[a+4>>2]=b;c[a+8>>2]=d;c[a+12>>2]=e;EF(a+16|0);if(lF(0,0,38720,c[b>>2]|0,d,e)|0){FF(g+20|0);if((d+-1|0)>(e|0))d=g+20|0;else{d=d+-1|0;while(1){GF(g,g+20|0);HF(a+16|0,g);IF(g);if((d|0)<(e|0))d=d+1|0;else{d=g+20|0;break}}}IF(d)}else{c[a+8>>2]=0;c[a+12>>2]=0}i=g;return}function FE(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;h=i;i=i+48|0;FF(h+20|0);g=c[a+8>>2]|0;b=(g|0)>(b|0)?g:b;g=c[a+12>>2]|0;g=(g|0)<(d|0)?g:d;if(((((b|0)>0)<<31>>31)+b|0)<(g|0)){f=(((b|0)>0)<<31>>31)+b|0;do{if(!(c[(c[(oF(c[a+4>>2]|0,f)|0)>>2]|0)+24>>2]|0))LF(KF(a,f+1|0)|0,h+20|0);else{e=KF(a,f)|0;lE(oF(c[a+4>>2]|0,f)|0,e);FF(h);d=c[e>>2]|0;if((d|0)>0){b=0;do{j=c[a+4>>2]|0;if(!(!(uE(j,f,c[(MF(d,c[e+8>>2]|0,b)|0)>>2]|0)|0)?(j=c[a+4>>2]|0,!(vE(j,f,c[(MF(c[e>>2]|0,c[e+8>>2]|0,b)|0)>>2]|0)|0)):0))gF(h,c[(MF(c[e>>2]|0,c[e+8>>2]|0,b)|0)>>2]|0);b=b+1|0;d=c[e>>2]|0}while((b|0)<(d|0))}LF(KF(a,f+1|0)|0,h);IF(h)}f=f+1|0}while((f|0)<(g|0));b=h+20|0}else b=h+20|0;IF(b);i=h;return}function GE(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+48|0;FE(a,c[a+8>>2]|0,c[a+12>>2]|0);b=c[a+8>>2]|0;if((b|0)<(c[a+12>>2]|0))do{h=oF(c[a+4>>2]|0,b)|0;if(c[(c[h>>2]|0)+24>>2]|0){if((c[(KF(a,b)|0)>>2]|0)>0){e=0;d=0;g=0;while(1){f=KF(a,b)|0;f=c[c[(MF(c[f>>2]|0,c[f+8>>2]|0,d)|0)>>2]>>2]|0;if((f|0)==3){f=e;g=1}else if((f|0)==1)f=1;else{f=1;g=1}d=d+1|0;if((d|0)>=(c[(KF(a,b)|0)>>2]|0)){d=f;break}else e=f}}else{d=0;g=0}a:do if(!b)j=16;else{f=b+-1|0;e=oF(c[a+4>>2]|0,f)|0;do if(d^g)if(d)if(HE(e,h,1)|0){j=16;break a}else break;else if(HE(e,h,3)|0){j=16;break a}else break;else{if(HE(e,h,1)|0){j=16;break a}if(HE(oF(c[a+4>>2]|0,f)|0,h,3)|0){j=16;break a}}while(0);FF(k+20|0);if((b|0)>0)mE(oF(c[a+4>>2]|0,f)|0,k+20|0);else CE(c[a>>2]|0,k+20|0);e=c[k+20>>2]|0;if((e|0)>0){f=c[k+28>>2]|0;g=0;do{d=c[(MF(e,f,g)|0)>>2]|0;if(vE(c[a+4>>2]|0,b,d)|0)kE(h,d);g=g+1|0}while((g|0)<(e|0))}IF(k+20|0)}while(0);if((j|0)==16?(j=0,(c[(KF(a,b)|0)>>2]|0)>0):0){d=0;do{f=c[a+4>>2]|0;g=KF(a,b)|0;if(uE(f,b,c[(MF(c[g>>2]|0,c[g+8>>2]|0,d)|0)>>2]|0)|0){g=KF(a,b)|0;jE(h,c[(MF(c[g>>2]|0,c[g+8>>2]|0,d)|0)>>2]|0)}d=d+1|0}while((d|0)<(c[(KF(a,b)|0)>>2]|0))}if((eE(h)|0)!=85){if((eE(h)|0)==83?(oE(h)|0)==0:0)j=32}else j=32;if((j|0)==32){j=0;FF(k);CE(c[a>>2]|0,k);e=c[k>>2]|0;if((e|0)>0){d=c[k+8>>2]|0;f=0;do{g=c[a+4>>2]|0;if(uE(g,b,c[(MF(e,d,f)|0)>>2]|0)|0)jE(h,c[(MF(e,d,f)|0)>>2]|0);f=f+1|0}while((f|0)<(e|0))}IF(k)}if((eE(h)|0)!=85)FE(a,b+1|0,c[a+12>>2]|0)}b=b+1|0}while((b|0)<(c[a+12>>2]|0));i=k;return}function HE(a,b,d){a=a|0;b=b|0;d=d|0;if(c[(c[a>>2]|0)+24>>2]|0)if(wE(a,b,d)|0)b=ME(c[a>>2]|0,c[b>>2]|0)|0;else b=0;else b=1;return b|0}function IE(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+32|0;FF(e);if((c[a>>2]|0)>0){d=0;do{mE(oF(a,d)|0,e);d=d+1|0}while((d|0)<(c[a>>2]|0))}BE(b,e);IF(e);i=e;return}function JE(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=c[b>>2]|0;a:do if((d|0)>0)do{b:do if((d|0)>0)while(1){e=d+-1|0;f=pE(oF(b,e)|0)|0;if(f){i=d;break b}if((e|0)>0)d=e;else{d=e;j=5;break}}else j=5;while(0);if((j|0)==5){j=0;if(!d)break a;else{i=d;f=0}}h=i;while(1){g=h+-1|0;if((h|0)<=0)break;if((pE(oF(b,g)|0)|0)==(f|0))h=g;else{j=9;break}}if((j|0)==9){j=0;if((oE(oF(b,g)|0)|0)==(f|0)?aF(f)|0:0){e=c[f+16>>2]|0;d=(c[f+8>>2]|0)-(c[f+12>>2]|0)|0;if((d|0)>(e|0))e=0;else e=(e|0)>=(0-d|0);g=e?h+-2|0:g}}d=g+1|0;h=aF(f)|0;c:do if(h){if((c[f>>2]|0)!=2)j=19}else if((g|0)>-1&(h^1)){e=d;while(1){d=e+-1|0;if(!(DE(b,d,e,f)|0)){d=e;j=19;break c}if((d|0)>0)e=d;else{j=19;break}}}else j=19;while(0);do if((j|0)==19){j=0;if(!d){if(h)j=24}else if(h)if(uE(b,d+-1|0,f)|0)break;else j=24;if((j|0)==24){j=0;if((c[f>>2]|0)==1)f=-559083233;else f=-559052657}e=(oF(b,d)|0)+20|0;if((c[e>>2]|0)>0)c[e>>2]=0;jE(oF(b,d)|0,f);e=d+1|0;if((e|0)<(i|0))do{g=(oF(b,e)|0)+20|0;if((c[g>>2]|0)>0)c[g>>2]=0;kE(oF(b,e)|0,f);e=e+1|0}while((e|0)!=(i|0))}while(0)}while((d|0)>0);while(0);IE(b,a);return}function KE(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=i;i=i+16|0;if((b|0)<(d|0)){e=(ll((c[(oF(a,b)|0)>>2]|0)+28|0)|0)<<16>>16;e=((ll((c[(oF(a,d+-1|0)|0)>>2]|0)+28|0)|0)<<16>>16)+e|0;g=(kl((c[(oF(a,b)|0)>>2]|0)+28|0)|0)<<16>>16;Aka(f,0,((((kl((c[(oF(a,d+-1|0)|0)>>2]|0)+28|0)|0)<<16>>16)+g|0)/2|0)+5|0);do{if((c[(c[(oF(a,b)|0)>>2]|0)+24>>2]|0)>1)Fka(f,c[(c[(oF(a,b)|0)>>2]|0)+20>>2]|0,1);b=b+1|0}while((b|0)<(d|0));b=((e|0)/6|0|0)<2?2:(e|0)/6|0;g=~~+Mka(f);Eka(f);b=(g|0)>(b|0)?g:b}else b=1;i=f;return b|0}function LE(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;do if((c[b+24>>2]|0)!=0?(c[f+24>>2]|0)!=0:0){d=((e|0)>(d|0)?e:d)-(c[b+20>>2]|0)|0;if(!(a[b+4>>0]|0)){d=((kl(f+36|0)|0)<<16>>16|0)<(d|0);break}else{d=((kl(f+28|0)|0)<<16>>16|0)<(d|0);break}}else d=1;while(0);return d|0}function ME(b,c){b=b|0;c=c|0;if(!(a[b+4>>0]|0))if(!(a[b+54>>0]|0))c=0;else c=(a[c+56>>0]|0)!=0;else if(!(a[b+57>>0]|0))c=0;else c=(a[c+53>>0]|0)!=0;return c|0}function NE(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+64|0;if((g|0)>(f|0)){l=f;k=0;do{k=(d[(c[(oF(e,l)|0)>>2]|0)+4>>0]|0)+k|0;l=l+1|0}while((l|0)!=(g|0))}else k=0;v=(k|0)>=((g-f|0)/2|0|0);a[j>>0]=1;a:do if(lF(0,2,38848,c[e>>2]|0,f,g)|0){s=c[(oF(e,f)|0)+4>>2]|0;t=c[(oF(e,f)|0)+16>>2]|0;l=c[(oF(e,f+1|0)|0)+8>>2]|0;c[w+52>>2]=l;c[w+48>>2]=l;n=c[(oF(e,f+1|0)|0)+12>>2]|0;c[w+24>>2]=n;c[w+56>>2]=n;do if((f+1|0)<(g|0)){k=0;m=0;l=f+1|0;while(1){if((c[(oF(e,l)|0)+4>>2]|0)!=(s|0)){n=8;break}if((c[(oF(e,l)|0)+16>>2]|0)!=(t|0)){n=8;break}NF((oF(e,l)|0)+8|0,w+48|0,w+52|0);NF((oF(e,l)|0)+12|0,w+56|0,w+24|0);u=c[(oF(e,l)|0)+12>>2]|0;u=u-(c[(oF(e,l)|0)+8>>2]|0)|0;k=(u|0)<(k|0)?u:k;m=(u|0)>(m|0)?u:m;l=l+1|0;if((l|0)>=(g|0)){n=10;break}}if((n|0)==8){jN(38880,w);a[j>>0]=0;c[b+0>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;break a}else if((n|0)==10){u=c[w+52>>2]|0;q=c[w+48>>2]|0;r=c[w+24>>2]|0;p=c[w+56>>2]|0;break}}else{k=0;m=0;u=l;q=l;r=n;p=n}while(0);n=u-q|0;o=r-p|0;if((o|0)>(h|0)&(n|0)>(h|0)){if((m-k|0)>=(h<<1|0)){a[j>>0]=0;c[b+0>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;break}if((g-f|0)<3){c[b+0>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;break}else{c[b>>2]=2;c[b+16>>2]=h;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;break}}if((g-f|0)<3){c[b+0>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;break}l=c[(oF(e,f)|0)+8>>2]|0;g=(u+q|0)/2|0;c[w+4>>2]=1;c[w+20>>2]=h;m=(g|0)<(l|0)?g:l;c[w+8>>2]=m+s;c[w+12>>2]=l-m;c[w+16>>2]=g-m;m=c[(oF(e,f)|0)+12>>2]|0;s=(r+p|0)/2|0;c[w+28>>2]=3;c[w+44>>2]=h;g=(s|0)<(m|0)?s:m;c[w+32>>2]=g+t;c[w+36>>2]=m-g;c[w+40>>2]=s-g;if(v){l=(OF(w+28|0)|0)^1;m=0}else{l=0;m=(OF(w+4|0)|0)^1}if((o|0)>(h|0))if(m|(n|0)<(h|0)^1){a[j>>0]=0;c[b+0>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;break}else{c[b+0>>2]=c[w+4>>2];c[b+4>>2]=c[w+8>>2];c[b+8>>2]=c[w+12>>2];c[b+12>>2]=c[w+16>>2];c[b+16>>2]=c[w+20>>2];break}if((n|0)>(h|0))if(l|(o|0)<(h|0)^1){a[j>>0]=0;c[b+0>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;break}else{c[b+0>>2]=c[w+28>>2];c[b+4>>2]=c[w+32>>2];c[b+8>>2]=c[w+36>>2];c[b+12>>2]=c[w+40>>2];c[b+16>>2]=c[w+44>>2];break}g=c[(oF(e,f)|0)+8>>2]|0;l=c[(oF(e,f)|0)+12>>2]|0;if(v&(n|0)<(h|0)?(g|0)<(q|0)|(g|0)>(u|0):0){c[b+0>>2]=c[w+4>>2];c[b+4>>2]=c[w+8>>2];c[b+8>>2]=c[w+12>>2];c[b+12>>2]=c[w+16>>2];c[b+16>>2]=c[w+20>>2];break}if(!(v|(o|0)<(h|0)^1)?(l|0)<(p|0)|(l|0)>(r|0):0){c[b+0>>2]=c[w+28>>2];c[b+4>>2]=c[w+32>>2];c[b+8>>2]=c[w+36>>2];c[b+12>>2]=c[w+40>>2];c[b+16>>2]=c[w+44>>2];break}a[j>>0]=0;c[b+0>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0}else{c[b+0>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0}while(0);i=w;return}function OE(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;NE(a,d,e,f,g,h+4|0);if((b|0)>1?(c[a>>2]|0)==0:0){jN(38920,h);PF(d,e,f)}i=h;return}function PE(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;if((d+1|0)<(e|0)){f=d+1|0;do{h=oF(b,f+-1|0)|0;g=oF(b,f)|0;i=(a[(c[h>>2]|0)+4>>0]|0)!=0?1:3;j=c[g>>2]|0;if(((a[j+56>>0]|0)==0?(a[j+53>>0]|0)==0:0)?!(wE(h,g,i)|0):0)iE(g);f=f+1|0}while((f|0)!=(e|0))}h=oF(b,d)|0;g=oF(b,d+1|0)|0;f=a[(c[h>>2]|0)+4>>0]|0;do if((eE(h)|0)==85?!(wE(h,g,f<<24>>24!=0?1:3)|0):0){j=c[h>>2]|0;if((a[j+53>>0]|0)==0?(a[j+56>>0]|0)==0:0)break;hE(h)}while(0);if((d+1|0)<(e+-1|0)){d=d+1|0;do{h=oF(b,d+-1|0)|0;g=oF(b,d)|0;d=d+1|0;f=oF(b,d)|0;i=(a[(c[g>>2]|0)+4>>0]|0)!=0?1:3;if(((eE(g)|0)==85?!(wE(g,f,i)|0):0)?HE(h,g,i)|0:0)hE(g)}while((d|0)!=(e+-1|0))}h=oF(b,e+-2|0)|0;f=oF(b,e+-1|0)|0;g=(a[(c[f>>2]|0)+4>>0]|0)!=0?1:3;if(((eE(f)|0)==85?!(wE(f,f,g)|0):0)?HE(h,f,g)|0:0)hE(f);return}function QE(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+48|0;a:do if((lF(b,2,38976,c[d>>2]|0,e,f)|0)&(e|0)<(f|0)){h=e;do{b:do if((h|0)<(f|0))while(1){j=h+1|0;if((eE(oF(d,h)|0)|0)==83)break b;if((j|0)<(f|0))h=j;else{h=j;break}}while(0);if((h|0)>=(f+-1|0))break a;j=h+1|0;n=(c[(c[(oF(d,j)|0)>>2]|0)+20>>2]<<2|0)/5|0;l=0;o=h;while(1){p=o+1|0;if((p|0)>=(f+-1|0)){m=11;break}k=eE(oF(d,p)|0)|0;if((k|0)==85){k=oF(d,o)|0;m=oF(d,p)|0;m=LE(c[k>>2]|0,c[k+8>>2]|0,c[k+12>>2]|0,c[m>>2]|0)|0;a[r+40>>0]=m&1^1;if(m){m=18;break}}else if((k|0)==67)a[r+40>>0]=1;else{m=11;break}NE(r+20|0,d,h,o+2|0,n,r+40|0);m=(a[(c[(oF(d,h)|0)>>2]|0)+4>>0]|0)!=0&(l|0)==1;k=c[r+20>>2]|0;if(m)if((k|0)==1){k=1;m=15}else m=17;else m=15;if((m|0)==15){m=0;if((a[(c[(oF(d,h)|0)>>2]|0)+4>>0]|0)==0&(l|0)==3)if((k|0)==3)k=3;else m=17}if((m|0)==17){m=0;a[r+40>>0]=0}if((a[r+40>>0]|0)!=0&(p|0)<(f|0)){l=k;o=p}else break}if((m|0)==11){a[r+40>>0]=0;m=18}if((m|0)==18)a[r+40>>0]=0;do if((o|0)>=(j|0)?(OE(r,b,d,h,p,((KE(d,h,p)|0)<<2|0)/5|0),q=c[r>>2]|0,(q|0)!=0):0){if(OF(r)|0){if((o|0)==(j|0)){h=j;break}if((h|0)!=(e|0)){h=p;break}if((q|0)==1)k=-559083233;else k=-559052657}else{k=yE(g,r)|0;if(!k){h=p;break}}jE(oF(d,h)|0,k);if((j|0)<(p|0)){do{kE(oF(d,j)|0,k);j=j+1|0}while((j|0)!=(p|0));h=p}else h=p}else h=p;while(0)}while((h|0)<(f|0))}while(0);i=r;return}function RE(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=i;i=i+48|0;if(lF(a,2,39e3,c[b>>2]|0,d,e)|0){if((a|0)>1){jN(39024,g);c[g>>2]=d;c[g+4>>2]=e;jN(39072,g);jN(39024,g)}AE(b,d,e);PE(b,d,e);PM(g+40|0,39120);h=c[g+40>>2]|0;QF((a|0)>2,h,f,b);RM(h);QE(a,b,d,e,f);PM(g+36|0,39144);h=c[g+36>>2]|0;QF((a|0)>2,h,f,b);RM(h);EE(g,b,d,e,f);GE(g);JF(g+16|0)}i=g;return}function SE(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;h=i;i=i+32|0;if((d+-1|0)>1){f=0;g=1;while(1){if(((a[(c[(oF(b,f)|0)>>2]|0)+5>>0]|0)!=0?(a[(c[(oF(b,g)|0)>>2]|0)+5>>0]|0)!=0:0)?(a[(c[(oF(b,f+2|0)|0)>>2]|0)+5>>0]|0)!=0:0){c[h+0>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;c[h+12>>2]=0;c[h+16>>2]=0;f=yE(e,h)|0;jE(oF(b,g)|0,f)}f=g+1|0;if((f|0)==(d+-1|0))break;else{j=g;g=f;f=j}}}i=h;return}function TE(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+64|0;g=c[d>>2]|0;if((g|0)>0)do{j=g+-1|0;FF(n+44|0);nE(oF(d,j)|0,n+44|0);h=c[n+44>>2]|0;do if((h|0)>0){k=c[(MF(h,c[n+52>>2]|0,0)|0)>>2]|0;if(!((k|0)==0|(gE(oF(d,j)|0,k)|0)!=67)){h=j;while(1){j=h+-1|0;if((j|0)<=0)break;if((gE(oF(d,j)|0,k)|0)==67)h=j;else break}if((h|0)<1){g=j;break}if((gE(oF(d,j)|0,k)|0)!=83){g=j;break}}if(k){m=WEa(12)|0;c[m+0>>2]=0;c[m+4>>2]=0;b[m+8>>1]=0;a[m+10>>0]=0;do if((k|0)==-559083233|(k|0)==-559052657){a[m+9>>0]=1;a:do if((g|0)<(c[d>>2]|0)){l=(j|0)==0;h=g;while(1){if((c[(RF(e,h)|0)>>2]|0)!=0?vE(d,j,c[(c[(RF(e,h)|0)>>2]|0)+4>>2]|0)|0:0){if(l)break;if(uE(d,j,c[(c[(RF(e,h)|0)>>2]|0)+4>>2]|0)|0)break}h=h+1|0;if((h|0)>=(c[d>>2]|0))break a}k=c[(c[(RF(e,h)|0)>>2]|0)+4>>2]|0}while(0);h=k;if((h|0)==-559052657){k=c[(oF(d,j)|0)+16>>2]|0;l=c[(oF(d,j)|0)+16>>2]|0;h=(c[(c[(oF(d,j)|0)>>2]|0)+20>>2]<<2|0)/5|0;c[n+4>>2]=3;c[n+20>>2]=h;c[n+8>>2]=l+k;c[n+12>>2]=0;c[n+16>>2]=0;k=yE(f,n+4|0)|0;break}else if((h|0)==-559083233){k=c[(oF(d,j)|0)+4>>2]|0;l=c[(oF(d,j)|0)+8>>2]|0;h=(c[(c[(oF(d,j)|0)>>2]|0)+20>>2]<<2|0)/5|0;c[n+24>>2]=1;c[n+40>>2]=h;c[n+28>>2]=l+k;c[n+32>>2]=0;c[n+36>>2]=0;k=yE(f,n+24|0)|0;break}else break}while(0);h=(oF(d,j)|0)+20|0;if((c[h>>2]|0)>0)c[h>>2]=0;jE(oF(d,j)|0,k);h=j;while(1){h=h+1|0;if((h|0)>=(g|0))break;l=(oF(d,h)|0)+20|0;if((c[l>>2]|0)>0)c[l>>2]=0;kE(oF(d,h)|0,k)}c[m+4>>2]=k;a[m+10>>0]=a[(c[(oF(d,j)|0)>>2]|0)+6>>0]|0;k=(c[k>>2]|0)==3;l=c[(oF(d,j)|0)>>2]|0;a[m+8>>0]=a[(k?l+55|0:l+52|0)>>0]&1;if((j|0)<(g|0)){h=j;do{if(c[(RF(e,h)|0)>>2]|0)jN(39168,n);c[(RF(e,h)|0)>>2]=m;h=h+1|0}while((h|0)<(g|0));g=j}else g=j}else g=j}else g=j;while(0);IF(n+44|0)}while((g|0)>0);i=n;return}function UE(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+64|0;FF(m+40|0);mE(oF(a,b)|0,m+40|0);k=c[m+40>>2]|0;a:do if((k|0)>0){j=c[m+48>>2]|0;l=0;while(1){g=(eE(oF(a,b)|0)|0)!=0;e=1;d=b;f=1;while(1){h=d+-1|0;if((d|0)<1|e^1){e=1;d=b;break}FF(m+20|0);nE(oF(a,h)|0,m+20|0);d=oF(a,h)|0;d=gE(d,c[(MF(k,j,l)|0)>>2]|0)|0;if((d|0)==83){d=g;f=f+1|0}else if((d|0)==67|(d|0)==77){d=0;f=f+1|0}else{d=g;e=0}IF(m+20|0);g=d;d=h}while(1){h=d+1|0;if((h|0)>=(c[a>>2]|0)|e^1)break;FF(m);nE(oF(a,h)|0,m);d=oF(a,h)|0;d=gE(d,c[(MF(k,j,l)|0)>>2]|0)|0;if((d|0)==83){d=g;f=f+1|0}else if((d|0)==67|(d|0)==77){d=0;f=f+1|0}else{d=g;e=0}IF(m);g=d;d=h}if((f|0)>2){d=0;break a}l=l+1|0;if((f|0)>1&(g^1)){d=0;break a}if((l|0)>=(k|0)){d=1;break}}}else d=1;while(0);IF(m+40|0);i=m;return d|0}function VE(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;k=i;i=i+80|0;SF(b);if((d|0)<(e|0)){do{FF(k+60|0);FF(k+40|0);mE(oF(a,d)|0,k+60|0);nE(oF(a,d)|0,k+40|0);do if(!(c[k+60>>2]|0)){if((c[k+40>>2]|0)<=0)if((c[(c[(oF(a,d)|0)>>2]|0)+24>>2]|0)>0){j=14;break}else break;else{h=d;f=0}do{h=h+1|0;if((h|0)>=(c[a>>2]|0))break;FF(k+20|0);FF(k);nE(oF(a,h)|0,k+20|0);mE(oF(a,h)|0,k);if(!(c[k+20>>2]|0)){g=5;f=1}else{l=(c[k>>2]|0)>0;g=l?5:0;f=l?0:f}IF(k);IF(k+20|0)}while((g|0)!=5);if(f&1)j=14}else if(UE(a,d)|0)j=14;while(0);do if((j|0)==14){j=0;if((c[b>>2]|0)!=0?(c[(TF(b)|0)+4>>2]|0)==(d+-1|0):0){c[(TF(b)|0)+4>>2]=d;break}UF(b,d,d)}while(0);IF(k+40|0);IF(k+60|0);d=d+1|0}while((d|0)<(e|0));f=b}else f=b;if((c[f>>2]|0)>0){d=0;do{l=(c[(VF(b,d)|0)+4>>2]|0)+1|0;c[(VF(b,d)|0)+4>>2]=l;d=d+1|0}while((d|0)<(c[f>>2]|0))}i=k;return}function WE(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0;h=i;i=i+32|0;KL(e,225);pk(h,e);if((c[d>>2]|0)>0){e=0;f=0;do{do if(c[(RF(d,f)|0)>>2]|0){if(!((f|0)>0?(j=c[(RF(d,f+-1|0)|0)>>2]|0,(j|0)==(c[(RF(d,f)|0)>>2]|0)):0))g=9}else{if((f|0)!=0?(c[(RF(d,f+-1|0)|0)>>2]|0)==(e|0):0){c[(RF(d,f)|0)>>2]=e;break}e=WEa(12)|0;c[e+0>>2]=0;c[e+4>>2]=0;b[e+8>>1]=0;a[e+10>>0]=0;c[(RF(d,f)|0)>>2]=e;g=9}while(0);if((g|0)==9){g=0;Ck(h,c[(RF(d,f)|0)>>2]|0)}f=f+1|0}while((f|0)<(c[d>>2]|0))}i=h;return}function XE(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;k=i;i=i+144|0;WF(k);c[k+32>>2]=f;XF(k+36|0);YF(d,c[b>>2]|0);h=c[b>>2]|0;g=k+64|0;f=g+40|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(f|0));ZF(k+84|0);_F(k,h,k+64|0);$F(k+84|0);if((c[b>>2]|0)>0){f=0;do{h=oF(k,f)|0;g=aG(b,f)|0;c[h>>2]=g;c[h+4>>2]=0;c[h+8>>2]=c[g+8>>2];c[h+16>>2]=0;c[h+12>>2]=c[g+12>>2];f=f+1|0}while((f|0)<(c[b>>2]|0))}SE(k,c[k>>2]|0,k+32|0);PM(k+20|0,39248);h=c[k+20>>2]|0;QF((a|0)>1,h,k+32|0,k);RM(h);bG(k+104|0);VE(k,k+104|0,0,c[k>>2]|0);h=c[k+104>>2]|0;if((h|0)>0){f=0;do{g=c[(VF(k+104|0,f)|0)>>2]|0;RE(a,k,g,c[(VF(k+104|0,f)|0)+4>>2]|0,k+32|0);bG(k+124|0);g=c[(VF(k+104|0,f)|0)>>2]|0;VE(k,k+124|0,g,c[(VF(k+104|0,f)|0)+4>>2]|0);g=c[k+124>>2]|0;if((g|0)<=1){if((g|0)==1)if(!((c[(VF(k+124|0,0)|0)>>2]|0)==0?(b=c[(VF(k+124|0,0)|0)+4>>2]|0,(b|0)==(c[k>>2]|0)):0)){b=0;j=9}}else{b=0;j=9}if((j|0)==9)while(1){j=0;l=c[(VF(k+124|0,b)|0)>>2]|0;RE(a,k,l,c[(VF(k+124|0,b)|0)+4>>2]|0,k+32|0);b=b+1|0;if((b|0)>=(g|0))break;else j=9}SF(k+124|0);f=f+1|0}while((f|0)<(h|0))}PM(k+28|0,39264);b=c[k+28>>2]|0;QF((a|0)>1,b,k+32|0,k);RM(b);VE(k,k+104|0,0,c[k>>2]|0);b=c[k+104>>2]|0;if((b|0)>0){f=0;do{l=c[(VF(k+104|0,f)|0)>>2]|0;zE(a,k,l,c[(VF(k+104|0,f)|0)+4>>2]|0,k+32|0);f=f+1|0}while((f|0)<(b|0))}JE(k+32|0,k);PM(k+60|0,39280);f=c[k+60>>2]|0;QF((a|0)>1,f,k+32|0,k);RM(f);VE(k,k+104|0,0,c[k>>2]|0);f=c[k+104>>2]|0;if((f|0)>0){g=0;do{h=c[(VF(k+104|0,g)|0)>>2]|0;while(1){if((h|0)>=(c[(VF(k+104|0,g)|0)+4>>2]|0))break;b=(oF(k,h)|0)+20|0;if((c[b>>2]|0)>0)c[b>>2]=0;h=h+1|0}g=g+1|0}while((g|0)<(f|0))}PM(k+56|0,39296);l=c[k+56>>2]|0;QF((a|0)>1,l,k+32|0,k);RM(l);TE(k,d,k+32|0);PM(k+24|0,39312);l=c[k+24>>2]|0;QF((a|0)>0,l,k+32|0,k);RM(l);WE(d,e);SF(k+104|0);Qj(k+36|0);cG(k);i=k;return}function YE(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+208|0;NM(h+200|0);$C(h+140|0,a);a:do if(!(jD(h+140|0,3)|0)){e=1;do{dN(h+200|0,129696);if(e)dN(d+44|0,129696);dN(d+48|0,129696);if(iD(h+140|0,3,4)|0?!(iD(h+140|0,2,4)|0):0){dN(h+200|0,1701816);fN(d+48|0,1714496);e=0}if(iD(h+140|0,2,4)|0)break a}while(gD(h+140|0,4)|0)}while(0);if(SM(h+200|0)|0){e=(c[d+8>>2]|0)/(c[d+20>>2]|0)|0;if((e|0)>0){f=0;do{hN(d,32);f=f+1|0}while((f|0)!=(e|0))}bN(d,h+200|0);g=h+16|0;f=(c[a+12>>2]|0)+0|0;e=g+124|0;do{c[g>>2]=c[f>>2];g=g+4|0;f=f+4|0}while((g|0)<(e|0));e=aha(h+16|0)|0;a=c[h+36>>2]|0;c[d+24>>2]=0;f=0;g=0;do{if(e){f=(f|0)==0?e:f;if((g|0)==(e|0))g=e;else{c[d+24>>2]=(c[d+24>>2]|0)+1;g=e}}e=ck(h+16|0)|0}while((c[h+36>>2]|0)==(a|0));if(f){yla(h+8|0,c[f+4>>2]|0);f=c[h+8>>2]|0;a=c[h+12>>2]|0;b[d+28>>1]=f;b[d+30>>1]=f>>>16;b[d+32>>1]=a;b[d+34>>1]=a>>>16}if(g){yla(h,c[g+4>>2]|0);g=c[h>>2]|0;a=c[h+4>>2]|0;b[d+36>>1]=g;b[d+38>>1]=g>>>16;b[d+40>>1]=a;b[d+42>>1]=a>>>16}}ZC(h+140|0);RM(c[h+200>>2]|0);i=h;return}function ZE(d,f,h){d=d|0;f=f|0;h=h|0;var j=0,k=0,l=0,m=0.0,n=0.0,o=0,p=0;p=i;i=i+160|0;k=c[(c[f+12>>2]|0)+20>>2]|0;if(!k){c[h+12>>2]=0;c[h+8>>2]=0;c[h+20>>2]=1;g[h+16>>2]=1.0;a[h+5>>0]=0;a[h+6>>0]=0;a[h+4>>0]=1}else{k=c[k+4>>2]|0;c[h+8>>2]=b[k+54>>1];c[h+12>>2]=b[k+56>>1];l=c[k+8>>2]|0;if((l|0)<=0){m=+g[k+20>>2];if(!(m>=1.0))n=1.0;else n=m}else{n=+(l|0);m=+g[k+20>>2]}c[h+20>>2]=~~n;g[h+16>>2]=m;a[h+5>>0]=0;a[h+6>>0]=a[k+52>>0]|0;a[h+4>>0]=1}c[h+24>>2]=0;a[h+5>>0]=0;a[h+52>>0]=0;a[h+53>>0]=0;a[h+54>>0]=0;a[h+55>>0]=0;a[h+56>>0]=0;a[h+57>>0]=0;a[h+4>>0]=1;if(d){fN(h,1714496);d=bd[c[(c[f>>2]|0)+32>>2]&63](f,2)|0;o=SGa(d|0)|0;while(1){if((o|0)<=0)break;l=o+-1|0;k=a[d+l>>0]|0;if(k&128){j=14;break}if(!(YFa(k)|0)){j=14;break}else o=l}if((j|0)==14){l=(c[h+8>>2]|0)/(c[h+20>>2]|0)|0;if((l|0)>0){k=0;do{hN(h,32);k=k+1|0}while((k|0)!=(l|0));k=0}else k=0;do{hN(h,a[d+k>>0]|0);k=k+1|0}while((k|0)!=(o|0))}ZEa(d);if(SM(h)|0){l=p+36|0;j=(c[f+12>>2]|0)+0|0;k=l+124|0;do{c[l>>2]=c[j>>2];l=l+4|0;j=j+4|0}while((l|0)<(k|0));Ew(p+16|0);d=aha(p+36|0)|0;o=c[p+56>>2]|0;l=0;k=0;j=0;do{if((d|0)!=0?(SM(jk(c[d+140>>2]|0)|0)|0)>0:0){Dw(p+16|0,d);f=mC(d)|0;j=((lC(d)|0)&1)+j|0;l=(f&1)+l|0;k=((e[(c[d+4>>2]|0)+10>>1]|0)>>>9&1)+k|0}d=ck(p+36|0)|0}while((c[p+56>>2]|0)==(o|0));a[h+4>>0]=(l|0)>=(j|0)&1;a[h+5>>0]=(k|0)>3&1;j=c[p+16>>2]|0;c[h+24>>2]=j;if((j|0)>0){l=c[(Fw(p+16|0,0)|0)>>2]|0;f=c[(Fw(p+16|0,j+-1|0)|0)>>2]|0;fN(h+44|0,VM(c[(jk(c[l+140>>2]|0)|0)>>2]|0)|0);fN(h+48|0,VM(c[(jk(c[f+140>>2]|0)|0)>>2]|0)|0);yla(p+8|0,c[l+4>>2]|0);d=c[p+8>>2]|0;k=c[p+12>>2]|0;b[h+28>>1]=d;b[h+30>>1]=d>>>16;b[h+32>>1]=k;b[h+34>>1]=k>>>16;yla(p,c[f+4>>2]|0);k=c[p>>2]|0;d=c[p+4>>2]|0;b[h+36>>1]=k;b[h+38>>1]=k>>>16;b[h+40>>1]=d;b[h+42>>1]=d>>>16;aE(c[l+68>>2]|0,c[l+140>>2]|0,h+44|0,h+52|0,h+53|0,h+54|0);bE(c[f+68>>2]|0,c[f+140>>2]|0,h+48|0,h+55|0,h+56|0,h+57|0)}rx(p+16|0)}}else YE(f,h);i=p;return}function _E(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;l=i;i=i+192|0;if(!(jD(d,2)|0)){k=c[(c[(c[d+12>>2]|0)+24>>2]|0)+4>>2]|0;KL(k+56|0,225);g=c[k+4>>2]|0;if(!g)j=0;else j=(Zj(c[g+12>>2]|0)|0)^1;wd(l+120|0,d);c[l+120>>2]=2320;if(!(jD(l+120|0,2)|0)){dG(l+100|0);do{g=c[(c[l+132>>2]|0)+20>>2]|0;if(g){c[(c[g+4>>2]|0)+60>>2]=0;g=l+40|0;f=g+60|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(f|0));eG(l+40|0);fG(l+100|0,l+40|0);gG(l+40|0);ZE(b,l+120|0,hG(l+100|0)|0)}if(Vc[c[(c[l+120>>2]|0)+28>>2]&63](l+120|0,0,2)|0)break}while(bd[c[(c[l+120>>2]|0)+20>>2]&63](l+120|0,2)|0);h=c[l+100>>2]|0;if((h|0)>0){g=c[(aG(l+100|0,0)|0)+8>>2]|0;b=c[(aG(l+100|0,0)|0)+12>>2]|0;if((h|0)>1){f=1;do{if((c[(aG(l+100|0,f)|0)+8>>2]|0)<(g|0))g=c[(aG(l+100|0,f)|0)+8>>2]|0;if((c[(aG(l+100|0,f)|0)+12>>2]|0)<(b|0))b=c[(aG(l+100|0,f)|0)+12>>2]|0;f=f+1|0}while((f|0)<(h|0))}if((g|0)>0|(b|0)>0){f=0;do{m=(aG(l+100|0,f)|0)+8|0;c[m>>2]=(c[m>>2]|0)-g;m=(aG(l+100|0,f)|0)+12|0;c[m>>2]=(c[m>>2]|0)-b;f=f+1|0}while((f|0)<(h|0))}}iG(l+20|0);iG(l);if(j){YF(l+20|0,h);WE(l+20|0,k+56|0)}else XE(a,l+100|0,l+20|0,k+56|0,e);kG(l+120|0,d);b=c[l+20>>2]|0;if((b|0)>0){g=0;do{while(1){f=c[(c[l+132>>2]|0)+20>>2]|0;if(f)break;bd[c[(c[l+120>>2]|0)+20>>2]&63](l+120|0,2)|0}m=c[f+4>>2]|0;c[m+60>>2]=c[(RF(l+20|0,g)|0)>>2];bd[c[(c[l+120>>2]|0)+20>>2]&63](l+120|0,2)|0;g=g+1|0}while((g|0)<(b|0))}jG(l);jG(l+20|0);lG(l+100|0)}IB(l+120|0)}i=l;return}function $E(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<3)|0;Ja(1701640,1701680,663,1701712);return 0}function aF(a){a=a|0;if((a|0)==0|(a|0)==-559083233)a=0;else a=(a|0)!=(-559052657|0);return a|0}function bF(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+48|0;c[d>>2]=b;wGa(d+4|0,30,383336,d)|0;PM(a,d+4|0);i=d;return}function cF(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function dF(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+8>>2]=c[b>>2];c[d+12>>2]=c[b+4>>2];if((eF(a,d+8|0)|0)<=-1){c[d>>2]=c[b>>2];c[d+4>>2]=c[b+4>>2];yG(a,d)|0}i=d;return}function eF(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;a:do if((c[a>>2]|0)>0){d=0;while(1){e=c[a+16>>2]|0;if(!e){c[f>>2]=1701680;c[f+4>>2]=722;$L(37576,42952,2,1702e3,f);e=c[a+16>>2]|0}if(Vc[c[(c[e>>2]|0)+8>>2]&63](e,b,(c[a+8>>2]|0)+(d<<3)|0)|0)break a;d=d+1|0;if((d|0)>=(c[a>>2]|0)){d=-1;break}}}else d=-1;while(0);i=f;return d|0}function fF(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=i;i=i+16|0;if(!((b|0)>-1?(d=c[a>>2]|0,(d|0)>(b|0)):0)){c[e>>2]=1701680;c[e+4>>2]=705;$L(37576,1701640,2,1702e3,e);d=c[a>>2]|0}d=d+-1|0;if((d|0)>(b|0))do{f=c[a+8>>2]|0;d=b;b=b+1|0;h=f+(b<<3)|0;g=c[h+4>>2]|0;c[f+(d<<3)>>2]=c[h>>2];c[f+(d<<3)+4>>2]=g;d=(c[a>>2]|0)+-1|0}while((b|0)<(d|0));c[a>>2]=d;i=e;return}function gF(a,b){a=a|0;b=b|0;if((hF(a,b)|0)<=-1)zG(a,b)|0;return}function hF(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;c[e+8>>2]=b;a:do if((c[a>>2]|0)>0){b=0;while(1){d=c[a+16>>2]|0;if(!d){c[e>>2]=1701680;c[e+4>>2]=722;$L(37576,42952,2,1702e3,e);d=c[a+16>>2]|0}if(Vc[c[(c[d>>2]|0)+8>>2]&63](d,e+8|0,(c[a+8>>2]|0)+(b<<2)|0)|0)break a;b=b+1|0;if((b|0)>=(c[a>>2]|0)){b=-1;break}}}else b=-1;while(0);i=e;return b|0}function iF(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<3)|0;Ja(1701640,1701680,663,1701712);return 0}function jF(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;e=i;i=i+16|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;h=(c[a+8>>2]|0)+(d<<3)|0;g=c[h+4>>2]|0;c[e>>2]=c[h>>2];c[e+4>>2]=g;c[e+8>>2]=c[e+0>>2];c[e+12>>2]=c[e+4>>2];Rc[f&63](b,e+8|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function kF(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a>>2]|0;if((e|0)==(c[a+4>>2]|0)){AG(a);e=c[a>>2]|0}c[a>>2]=e+1;a=(c[a+8>>2]|0)+(e<<3)|0;c[a>>2]=b;c[a+4>>2]=d;return}function lF(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;if((f|0)>=0?!((e|0)<(g|0)|(g|0)<(f|0)):0)if((g-f|0)<(b|0))if((a|0)>1){c[h>>2]=f;c[h+4>>2]=g;c[h+8>>2]=d;jN(40328,h);a=0}else a=0;else a=1;else{c[h>>2]=f;c[h+4>>2]=g;c[h+8>>2]=e;jN(40264,h);a=0}i=h;return a|0}function mF(a){a=a|0;Ek(a);c[a+16>>2]=CG()|0;return}function nF(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;DG(a,4);return}function oF(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b*40|0)|0;Ja(1701640,1701680,663,1701712);return 0}function pF(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=i;i=i+16|0;if(!((b|0)>-1?(d=c[a>>2]|0,(d|0)>(b|0)):0)){c[e>>2]=1701680;c[e+4>>2]=705;$L(37576,1701640,2,1702e3,e);d=c[a>>2]|0}d=d+-1|0;if((d|0)>(b|0))do{f=c[a+8>>2]|0;d=b;b=b+1|0;h=f+(b<<3)|0;g=c[h+4>>2]|0;c[f+(d<<3)>>2]=c[h>>2];c[f+(d<<3)+4>>2]=g;d=(c[a>>2]|0)+-1|0}while((b|0)<(d|0));c[a>>2]=d;i=e;return}function qF(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)==3)b=a;else if((c|0)!=1)b=(a|0)>(b|0)?a:b;return b|0}function rF(a,b){a=a|0;b=b|0;if(!(qE(a+24|0,c[(oF(c[a+4>>2]|0,b)|0)+8>>2]|0)|0))b=(qE(a+44|0,c[(oF(c[a+4>>2]|0,b)|0)+12>>2]|0)|0)==0;else b=0;return b|0}function sF(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if((c[a>>2]|0)>=(b|0)){c[e>>2]=d;jN(39504,e);vF(c[a+4>>2]|0,c[a+8>>2]|0,c[a+12>>2]|0)}i=e;return}function tF(a){a=a|0;c[a+64>>2]=1;c[a+68>>2]=c[(oF(c[a+4>>2]|0,c[a+8>>2]|0)|0)+4>>2];return}function uF(a){a=a|0;c[a+64>>2]=3;c[a+68>>2]=c[(oF(c[a+4>>2]|0,c[a+8>>2]|0)|0)+16>>2];return}function vF(a,b,c){a=a|0;b=b|0;c=c|0;PF(a,b,c);return}function wF(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=c[b+68>>2]|0;e=c[b+72>>2]|0;d=c[b+76>>2]|0;g=c[b+16>>2]|0;c[a>>2]=c[b+64>>2];c[a+16>>2]=g;b=(d|0)<(e|0)?d:e;c[a+4>>2]=b+f;c[a+8>>2]=e-b;c[a+12>>2]=d-b;return}function xF(a,b){a=a|0;b=b|0;if((CF(a,b)|0)<=-1)cl(a,b)|0;return}function yF(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=i;i=i+16|0;c[b>>2]=d;c[b+4>>2]=e;c[b+8>>2]=f;c[b+12>>2]=g;nF(b+24|0);nF(b+44|0);c[b+68>>2]=0;d=KE(e,f,g)|0;c[b+16>>2]=d;sE(e,f,g,d,b+24|0,b+44|0);if((c[b>>2]|0)>2){d=c[b+24>>2]|0;g=c[b+44>>2]|0;c[h>>2]=c[b+16>>2];c[h+4>>2]=d;c[h+8>>2]=g;jN(39512,h)}a[b+20>>0]=a[(c[(oF(e,f)|0)>>2]|0)+4>>0]|0;i=h;return}function zF(a){a=a|0;jF(a+44|0);jF(a+24|0);return}function AF(a,b){a=a|0;b=b|0;var d=0;d=(c[a+64>>2]|0)==3?a+44|0:a+24|0;b=oF(c[a+4>>2]|0,b)|0;return qE(d,EG(c[b+8>>2]|0,c[b+12>>2]|0,c[a+64>>2]|0)|0)|0}function BF(a,b,d){a=a|0;b=b|0;d=d|0;b=oF(c[a+4>>2]|0,b)|0;d=oF(c[a+4>>2]|0,d)|0;return wE(b,d,c[a+64>>2]|0)|0}function CF(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;c[e+8>>2]=b;a:do if((c[a>>2]|0)>0){b=0;while(1){d=c[a+16>>2]|0;if(!d){c[e>>2]=1701680;c[e+4>>2]=722;$L(37576,42952,2,1702e3,e);d=c[a+16>>2]|0}if(Vc[c[(c[d>>2]|0)+8>>2]&63](d,e+8|0,(c[a+8>>2]|0)+(b<<2)|0)|0)break a;b=b+1|0;if((b|0)>=(c[a>>2]|0)){b=-1;break}}}else b=-1;while(0);i=e;return b|0}function DF(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;if(!((b|0)>-1?(d=c[a>>2]|0,(d|0)>(b|0)):0)){c[g>>2]=1701680;c[g+4>>2]=705;$L(37576,1701640,2,1702e3,g);d=c[a>>2]|0}f=d+-1|0;if((f|0)>(b|0)){e=d+-1|0;d=b;do{b=d;d=d+1|0;h=c[a+8>>2]|0;c[h+(b<<2)>>2]=c[h+(d<<2)>>2]}while((d|0)!=(e|0))}c[a>>2]=f;i=g;return}function EF(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;FG(a,4);return}function FF(a){a=a|0;GG(a);c[a+16>>2]=IG()|0;return}function GF(a,b){a=a|0;b=b|0;var d=0;d=c[b>>2]|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;JG(a,d);KG(a,b);return}function HF(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){LG(a);d=c[a>>2]|0}c[a>>2]=d+1;LF((c[a+8>>2]|0)+(d*20|0)|0,b);return}function IF(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function JF(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+32|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;GF(e,(c[a+8>>2]|0)+(d*20|0)|0);Rc[f&63](b,e);IF(e);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b){d=c[b+-4>>2]|0;if(d){d=b+(d*20|0)|0;do{d=d+-20|0;IF(d)}while((d|0)!=(b|0))}ZEa(b+-4|0)}c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function KF(a,b){a=a|0;b=b|0;return MG(a+16|0,b+1-(c[a+8>>2]|0)|0)|0}function LF(a,b){a=a|0;b=b|0;if((b|0)!=(a|0)){if((c[a>>2]|0)>0)c[a>>2]=0;KG(a,b)}return}function MF(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)>-1&(a|0)>(c|0))return b+(c<<2)|0;else Ja(1701640,1701680,663,1701712);return 0}function NF(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a>>2]|0;if((e|0)<(c[b>>2]|0)){c[b>>2]=e;e=c[a>>2]|0}if((e|0)>(c[d>>2]|0))c[d>>2]=e;return}function OF(a){a=a|0;var b=0;b=c[a>>2]|0;if((b|0)==3|(b|0)==1){b=(c[a+8>>2]|0)-(c[a+12>>2]|0)|0;a=(((b|0)>-1?b:0-b|0)|0)<=(c[a+16>>2]|0)}else a=0;return a|0}function PF(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;jN(40224,e);if((b|0)<(d|0))do{c[e>>2]=VM(c[c[(oF(a,b)|0)>>2]>>2]|0)|0;jN(1701528,e);b=b+1|0}while((b|0)!=(d|0));jN(40224,e);i=e;return}function QF(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;l=i;i=i+288|0;if(b){c[l>>2]=VM(d)|0;jN(39504,l);NG(l+64|0);ek(l+24|0);OG(l+64|0,l+24|0);Vj(l+24|0);k=PG(l+64|0)|0;PM(l+44|0,40064);Wj(k,l+44|0);RM(c[l+44>>2]|0);k=PG(l+64|0)|0;PM(l+48|0,40072);Wj(k,l+48|0);RM(c[l+48>>2]|0);k=PG(l+64|0)|0;PM(l+52|0,40080);Wj(k,l+52|0);RM(c[l+52>>2]|0);k=PG(l+64|0)|0;PM(l+56|0,40088);Wj(k,l+56|0);RM(c[l+56>>2]|0);k=PG(l+64|0)|0;PM(l+60|0,40104);Wj(k,l+60|0);RM(c[l+60>>2]|0);cE(PG(l+64|0)|0);k=PG(l+64|0)|0;PM(l+188|0,40120);Wj(k,l+188|0);RM(c[l+188>>2]|0);if((c[f>>2]|0)>0){b=0;do{ek(l+112|0);OG(l+64|0,l+112|0);Vj(l+112|0);k=PG(l+64|0)|0;j=c[(oF(f,b)|0)>>2]|0;bF(l+84|0,b);Wj(k,l+84|0);RM(c[l+84>>2]|0);bF(l+88|0,c[j+20>>2]|0);Wj(k,l+88|0);RM(c[l+88>>2]|0);PM(l+92|0,(a[j+5>>0]|0)!=0?40080:1701816);Wj(k,l+92|0);RM(c[l+92>>2]|0);MD(l+136|0,j+44|0,(a[j+4>>0]|0)==0);PM(l+140|0,40128);gN(l+132|0,l+136|0,l+140|0);bF(l+144|0,(kl(j+28|0)|0)<<16>>16);gN(l+276|0,l+132|0,l+144|0);PM(l+148|0,(a[j+53>>0]|0)!=0?40136:40144);gN(l+268|0,l+276|0,l+148|0);PM(l+272|0,(a[j+54>>0]|0)!=0?40152:40160);gN(l+244|0,l+268|0,l+272|0);PM(l+184|0,(a[j+52>>0]|0)!=0?1705320:1705304);gN(l+236|0,l+244|0,l+184|0);PM(l+156|0,129680);gN(l+212|0,l+236|0,l+156|0);Wj(k,l+212|0);RM(c[l+212>>2]|0);RM(c[l+156>>2]|0);RM(c[l+236>>2]|0);RM(c[l+184>>2]|0);RM(c[l+244>>2]|0);RM(c[l+272>>2]|0);RM(c[l+268>>2]|0);RM(c[l+148>>2]|0);RM(c[l+276>>2]|0);RM(c[l+144>>2]|0);RM(c[l+132>>2]|0);RM(c[l+140>>2]|0);RM(c[l+136>>2]|0);MD(l+12|0,j+48|0,(a[j+4>>0]|0)==0);PM(l+196|0,40128);gN(l+180|0,l+12|0,l+196|0);bF(l+200|0,(kl(j+36|0)|0)<<16>>16);gN(l+176|0,l+180|0,l+200|0);PM(l+20|0,(a[j+56>>0]|0)!=0?40136:40144);gN(l+172|0,l+176|0,l+20|0);PM(l+204|0,(a[j+57>>0]|0)!=0?40152:40160);gN(l+168|0,l+172|0,l+204|0);PM(l+8|0,(a[j+55>>0]|0)!=0?1705320:1705304);gN(l+164|0,l+168|0,l+8|0);PM(l+96|0,129680);gN(l+160|0,l+164|0,l+96|0);Wj(k,l+160|0);RM(c[l+160>>2]|0);RM(c[l+96>>2]|0);RM(c[l+164>>2]|0);RM(c[l+8>>2]|0);RM(c[l+168>>2]|0);RM(c[l+204>>2]|0);RM(c[l+172>>2]|0);RM(c[l+20>>2]|0);RM(c[l+176>>2]|0);RM(c[l+200>>2]|0);RM(c[l+180>>2]|0);RM(c[l+196>>2]|0);RM(c[l+12>>2]|0);dE(oF(f,b)|0,e,k);MD(l+208|0,j,(a[j+4>>0]|0)==0);Wj(k,l+208|0);RM(c[l+208>>2]|0);b=b+1|0}while((b|0)<(c[f>>2]|0))}PM(l+100|0,1701816);Ek(l+248|0);k=c[l+64>>2]|0;if((k|0)>0){h=c[l+72>>2]|0;j=0;do{g=c[(QG(k,h,j)|0)>>2]|0;if((g|0)>0){f=0;do{d=0;b=0;while(1){if((d|0)>=(SM(fk(QG(k,h,j)|0,f)|0)|0))break;m=((a[(XM(c[(fk(QG(k,h,j)|0,f)|0)>>2]|0,d)|0)>>0]&-64)<<24>>24!=-128&1)+b|0;d=d+1|0;b=m}if((f|0)<(c[l+248>>2]|0)){if((b|0)>(c[(Ik(l+248|0,f)|0)>>2]|0))c[(Ik(l+248|0,f)|0)>>2]=b}else zv(l+248|0,b);f=f+1|0}while((f|0)<(g|0))}j=j+1|0}while((j|0)<(k|0))}ek(l+216|0);d=c[l+248>>2]|0;if((d|0)>0){b=0;do{PM(l+108|0,40216);bF(l+16|0,c[(Ik(l+248|0,b)|0)>>2]|0);gN(l+152|0,l+108|0,l+16|0);PM(l+192|0,40144);gN(l+104|0,l+152|0,l+192|0);Wj(l+216|0,l+104|0);RM(c[l+104>>2]|0);RM(c[l+192>>2]|0);RM(c[l+152>>2]|0);RM(c[l+16>>2]|0);RM(c[l+108>>2]|0);b=b+1|0}while((b|0)<(d|0))}if((k|0)>0){f=c[l+100>>2]|0;b=c[l+72>>2]|0;g=0;do{d=0;while(1){if((d|0)>=(c[(QG(k,b,g)|0)>>2]|0))break;if((d|0)>0){c[l>>2]=VM(f)|0;jN(383368,l)}m=VM(c[(fk(l+216|0,d)|0)>>2]|0)|0;c[l>>2]=VM(c[(fk(QG(k,b,g)|0,d)|0)>>2]|0)|0;jN(m,l);d=d+1|0}jN(1714256,l);g=g+1|0}while((g|0)<(k|0))}Vj(l+216|0);Jk(l+248|0);RM(c[l+100>>2]|0);jN(40168,l);d=0;while(1){b=c[e>>2]|0;if((d|0)>=(c[b>>2]|0))break;m=d+1|0;Gfa(l+240|0,c[(cF(b,d)|0)>>2]|0);k=c[l+240>>2]|0;j=VM(k)|0;c[l>>2]=m;c[l+4>>2]=j;jN(40200,l);RM(k);d=m}RG(l+64|0)}i=l;return}function RF(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<2)|0;Ja(1701640,1701680,663,1701712);return 0}function SF(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;e=i;i=i+16|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;h=(c[a+8>>2]|0)+(d<<3)|0;g=c[h+4>>2]|0;c[e>>2]=c[h>>2];c[e+4>>2]=g;c[e+8>>2]=c[e+0>>2];c[e+12>>2]=c[e+4>>2];Rc[f&63](b,e+8|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function TF(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if((b|0)<=0){c[d>>2]=1701680;c[d+4>>2]=669;$L(37576,375960,2,1702e3,d);b=c[a>>2]|0}i=d;return (c[a+8>>2]|0)+(b+-1<<3)|0}function UF(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a>>2]|0;if((e|0)==(c[a+4>>2]|0)){SG(a);e=c[a>>2]|0}c[a>>2]=e+1;a=(c[a+8>>2]|0)+(e<<3)|0;c[a>>2]=b;c[a+4>>2]=d;return}function VF(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b<<3)|0;Ja(1701640,1701680,663,1701712);return 0}function WF(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;TG(a,4);return}function XF(a){a=a|0;_j(a);c[a+16>>2]=VG()|0;return}function YF(a,b){a=a|0;b=b|0;var d=0;WG(a,b);c[a>>2]=b;if((b|0)>0){d=0;do{c[(c[a+8>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)!=(b|0))}return}function ZF(a){a=a|0;XG(a);c[a+16>>2]=ZG()|0;return}function _F(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;TG(a,b);c[a>>2]=b;if((b|0)>0){e=0;do{f=c[a+8>>2]|0;g=f+(e*40|0)|0;c[g+0>>2]=c[d+0>>2];c[g+4>>2]=c[d+4>>2];c[g+8>>2]=c[d+8>>2];c[g+12>>2]=c[d+12>>2];c[g+16>>2]=c[d+16>>2];_G(f+(e*40|0)+20|0,d+20|0);e=e+1|0}while((e|0)!=(b|0))}return}function $F(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=i;i=i+16|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;g=c[a+8>>2]|0;c[e>>2]=c[g+(d<<3)>>2];c[e+4>>2]=c[g+(d<<3)+4>>2];Rc[f&63](b,e);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function aG(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b*60|0)|0;Ja(1701640,1701680,663,1701712);return 0}function bG(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;$G(a,4);return}function cG(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;e=i;i=i+48|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;g=c[a+8>>2]|0;h=g+(d*40|0)|0;c[e+0>>2]=c[h+0>>2];c[e+4>>2]=c[h+4>>2];c[e+8>>2]=c[h+8>>2];c[e+12>>2]=c[h+12>>2];c[e+16>>2]=c[h+16>>2];aH(e+20|0,g+(d*40|0)+20|0);Rc[f&63](b,e);$F(e+20|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b){d=c[b+-4>>2]|0;if(d){d=b+(d*40|0)|0;do{$F(d+-20|0);d=d+-40|0}while((d|0)!=(b|0))}ZEa(b+-4|0)}c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function dG(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;bH(a,4);return}function eG(a){a=a|0;NM(a);b[a+28>>1]=32767;b[a+30>>1]=32767;b[a+32>>1]=-32767;b[a+34>>1]=-32767;b[a+36>>1]=32767;b[a+38>>1]=32767;b[a+40>>1]=-32767;b[a+42>>1]=-32767;NM(a+44|0);NM(a+48|0);return}function fG(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){cH(a);d=c[a>>2]|0}c[a>>2]=d+1;dH((c[a+8>>2]|0)+(d*60|0)|0,b);return}function gG(a){a=a|0;RM(c[a+48>>2]|0);RM(c[a+44>>2]|0);RM(c[a>>2]|0);return}function hG(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if((b|0)<=0){c[d>>2]=1701680;c[d+4>>2]=669;$L(37576,375960,2,1702e3,d);b=c[a>>2]|0}i=d;return (c[a+8>>2]|0)+((b+-1|0)*60|0)|0}function iG(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;WG(a,4);return}function jG(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function kG(b,c){b=b|0;c=c|0;eH(b,c);c=d[c+68>>0]|d[c+69>>0]<<8|d[c+70>>0]<<16|d[c+71>>0]<<24;a[b+68>>0]=c;a[b+69>>0]=c>>8;a[b+70>>0]=c>>16;a[b+71>>0]=c>>24;return}function lG(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+64|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;fH(e,(c[a+8>>2]|0)+(d*60|0)|0);Rc[f&63](b,e);gG(e);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b){d=c[b+-4>>2]|0;if(d){d=b+(d*60|0)|0;do{d=d+-60|0;gG(d)}while((d|0)!=(b|0))}ZEa(b+-4|0)}c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function mG(a){a=a|0;return}function nG(a){a=a|0;YEa(a);return}function oG(a,b,d){a=a|0;b=b|0;d=d|0;return bd[c[a+4>>2]&63](b,d)|0}function pG(a){a=a|0;return}function qG(a){a=a|0;YEa(a);return}function rG(a,b,d){a=a|0;b=b|0;d=d|0;return bd[c[a+4>>2]&63](b,d)|0}function sG(a){a=a|0;return}function tG(a){a=a|0;YEa(a);return}function uG(a,b,d){a=a|0;b=b|0;d=d|0;return bd[c[a+4>>2]&63](b,d)|0}function vG(a){a=a|0;return}function wG(a){a=a|0;YEa(a);return}function xG(a,b,d){a=a|0;b=b|0;d=d|0;return bd[c[a+4>>2]&63](b,d)|0}function yG(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){gH(a);d=c[a>>2]|0}c[a>>2]=d+1;e=c[b+4>>2]|0;a=(c[a+8>>2]|0)+(d<<3)|0;c[a>>2]=c[b>>2];c[a+4>>2]=e;return d|0}function zG(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){hH(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return d|0}function AG(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)DG(a,4);else DG(a,b<<1);return}function BG(a,b){a=a|0;b=b|0;return (c[a>>2]|0)==(c[b>>2]|0)|0}function CG(){var a=0;a=WEa(8)|0;c[a>>2]=39592;c[a+4>>2]=30;return a|0}function DG(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){g=XEa(b>>>0>536870911?-1:b<<3)|0;if(b){d=g;do{c[d>>2]=0;c[d+4>>2]=0;d=d+8|0}while((d|0)!=(g+(b<<3)|0))}e=c[a>>2]|0;if((e|0)>0){f=0;do{d=c[a+8>>2]|0;j=d+(f<<3)|0;i=c[j+4>>2]|0;h=g+(f<<3)|0;c[h>>2]=c[j>>2];c[h+4>>2]=i;f=f+1|0}while((f|0)!=(e|0))}else d=c[a+8>>2]|0;if(d)ZEa(d);c[a+8>>2]=g;c[a+4>>2]=b}return}function EG(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)==1)b=a;else if((c|0)!=3)b=(a|0)>(b|0)?a:b;return b|0}function FG(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){g=XEa(b>>>0>214748364|(b*20|0)>>>0>4294967291?-1:(b*20|0)+4|0)|0;c[g>>2]=b;if(b){d=g+4|0;do{FF(d);d=d+20|0}while((d|0)!=(g+4+(b*20|0)|0))}d=c[a+8>>2]|0;if((c[a>>2]|0)>0){e=0;do{LF(g+4+(e*20|0)|0,d+(e*20|0)|0);e=e+1|0;d=c[a+8>>2]|0}while((e|0)<(c[a>>2]|0))}if(d){f=d+-4|0;e=c[f>>2]|0;if(e){e=d+(e*20|0)|0;do{e=e+-20|0;IF(e)}while((e|0)!=(d|0))}ZEa(f)}c[a+8>>2]=g+4;c[a+4>>2]=b}return}function GG(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;JG(a,4);return}function HG(a,b){a=a|0;b=b|0;return (c[a>>2]|0)==(c[b>>2]|0)|0}function IG(){var a=0;a=WEa(8)|0;c[a>>2]=39352;c[a+4>>2]=31;return a|0}function JG(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function KG(a,b){a=a|0;b=b|0;var d=0;JG(a,(c[b>>2]|0)+(c[a>>2]|0)|0);if((c[b>>2]|0)>0){d=0;do{zG(a,c[(c[b+8>>2]|0)+(d<<2)>>2]|0)|0;d=d+1|0}while((d|0)<(c[b>>2]|0))}return}function LG(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)FG(a,4);else FG(a,b<<1);return}function MG(a,b){a=a|0;b=b|0;if((b|0)>-1?(c[a>>2]|0)>(b|0):0)return (c[a+8>>2]|0)+(b*20|0)|0;Ja(1701640,1701680,663,1701712);return 0}function NG(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;iH(a,4);return}function OG(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){jH(a);d=c[a>>2]|0}c[a>>2]=d+1;hy((c[a+8>>2]|0)+(d*20|0)|0,b);return}function PG(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if((b|0)<=0){c[d>>2]=1701680;c[d+4>>2]=669;$L(37576,375960,2,1702e3,d);b=c[a>>2]|0}i=d;return (c[a+8>>2]|0)+((b+-1|0)*20|0)|0}function QG(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)>-1&(a|0)>(c|0))return b+(c*20|0)|0;else Ja(1701640,1701680,663,1701712);return 0}function RG(a){a=a|0;var b=0,d=0,e=0,f=0;e=i;i=i+32|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;kH(e,(c[a+8>>2]|0)+(d*20|0)|0);Rc[f&63](b,e);Vj(e);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b){d=c[b+-4>>2]|0;if(d){d=b+(d*20|0)|0;do{d=d+-20|0;Vj(d)}while((d|0)!=(b|0))}ZEa(b+-4|0)}c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function SG(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)$G(a,4);else $G(a,b<<1);return}function TG(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){f=XEa(b>>>0>107374182|(b*40|0)>>>0>4294967291?-1:(b*40|0)+4|0)|0;c[f>>2]=b;if(b){d=f+4|0;do{ZF(d+20|0);d=d+40|0}while((d|0)!=(f+4+(b*40|0)|0))}if((c[a>>2]|0)>0){d=0;do{g=f+4+(d*40|0)|0;e=c[a+8>>2]|0;h=e+(d*40|0)|0;c[g+0>>2]=c[h+0>>2];c[g+4>>2]=c[h+4>>2];c[g+8>>2]=c[h+8>>2];c[g+12>>2]=c[h+12>>2];c[g+16>>2]=c[h+16>>2];_G(f+4+(d*40|0)+20|0,e+(d*40|0)+20|0);d=d+1|0}while((d|0)<(c[a>>2]|0))}e=c[a+8>>2]|0;if(e){d=c[e+-4>>2]|0;if(d){d=e+(d*40|0)|0;do{$F(d+-20|0);d=d+-40|0}while((d|0)!=(e|0))}ZEa(e+-4|0)}c[a+8>>2]=f+4;c[a+4>>2]=b}return}function UG(a,b){a=a|0;b=b|0;return (c[a>>2]|0)==(c[b>>2]|0)|0}function VG(){var a=0;a=WEa(8)|0;c[a>>2]=39912;c[a+4>>2]=32;return a|0}function WG(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function XG(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;lH(a,4);return}function YG(a,b){a=a|0;b=b|0;return mH(c[a>>2]|0,c[a+4>>2]|0,c[b>>2]|0,c[b+4>>2]|0)|0}function ZG(){var a=0;a=WEa(8)|0;c[a>>2]=39720;c[a+4>>2]=33;return a|0}function _G(a,b){a=a|0;b=b|0;if((b|0)!=(a|0)){if((c[a>>2]|0)>0)c[a>>2]=0;nH(a,b)}return}function $G(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){g=XEa(b>>>0>536870911?-1:b<<3)|0;if(b){d=g;do{c[d>>2]=0;c[d+4>>2]=0;d=d+8|0}while((d|0)!=(g+(b<<3)|0))}e=c[a>>2]|0;if((e|0)>0){f=0;do{d=c[a+8>>2]|0;j=d+(f<<3)|0;i=c[j+4>>2]|0;h=g+(f<<3)|0;c[h>>2]=c[j>>2];c[h+4>>2]=i;f=f+1|0}while((f|0)!=(e|0))}else d=c[a+8>>2]|0;if(d)ZEa(d);c[a+8>>2]=g;c[a+4>>2]=b}return}function aH(a,b){a=a|0;b=b|0;var d=0;d=c[b>>2]|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;lH(a,d);nH(a,b);return}function bH(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){f=XEa(b>>>0>71582788|(b*60|0)>>>0>4294967291?-1:(b*60|0)+4|0)|0;c[f>>2]=b;if(b){d=f+4|0;do{eG(d);d=d+60|0}while((d|0)!=(f+4+(b*60|0)|0))}if((c[a>>2]|0)>0){d=0;do{dH(f+4+(d*60|0)|0,(c[a+8>>2]|0)+(d*60|0)|0);d=d+1|0}while((d|0)<(c[a>>2]|0))}e=c[a+8>>2]|0;if(e){d=c[e+-4>>2]|0;if(d){d=e+(d*60|0)|0;do{d=d+-60|0;gG(d)}while((d|0)!=(e|0))}ZEa(e+-4|0)}c[a+8>>2]=f+4;c[a+4>>2]=b}return}function cH(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)bH(a,4);else bH(a,b<<1);return}function dH(b,c){b=b|0;c=c|0;var d=0,e=0,f=0;aN(b,c);d=b+4|0;e=c+4|0;f=d+40|0;do{a[d>>0]=a[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(f|0));aN(b+44|0,c+44|0);aN(b+48|0,c+48|0);a[b+52>>0]=a[c+52>>0]|0;a[b+53>>0]=a[c+53>>0]|0;a[b+54>>0]=a[c+54>>0]|0;a[b+55>>0]=a[c+55>>0]|0;a[b+56>>0]=a[c+56>>0]|0;a[b+57>>0]=a[c+57>>0]|0;return}function eH(a,b){a=a|0;b=b|0;var d=0;bD(a,b);d=c[b+64>>2]|0;c[a+60>>2]=c[b+60>>2];c[a+64>>2]=d;return}function fH(b,c){b=b|0;c=c|0;var d=0,e=0,f=0;OM(b,c);d=b+4|0;e=c+4|0;f=d+40|0;do{a[d>>0]=a[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(f|0));OM(b+44|0,c+44|0);OM(b+48|0,c+48|0);a[b+52>>0]=a[c+52>>0]|0;a[b+53>>0]=a[c+53>>0]|0;a[b+54>>0]=a[c+54>>0]|0;a[b+55>>0]=a[c+55>>0]|0;a[b+56>>0]=a[c+56>>0]|0;a[b+57>>0]=a[c+57>>0]|0;return}function gH(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)lH(a,4);else lH(a,b<<1);return}function hH(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)JG(a,4);else JG(a,b<<1);return}function iH(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){f=XEa(b>>>0>214748364|(b*20|0)>>>0>4294967291?-1:(b*20|0)+4|0)|0;c[f>>2]=b;if(b){d=f+4|0;do{ek(d);d=d+20|0}while((d|0)!=(f+4+(b*20|0)|0))}if((c[a>>2]|0)>0){d=0;do{hy(f+4+(d*20|0)|0,(c[a+8>>2]|0)+(d*20|0)|0);d=d+1|0}while((d|0)<(c[a>>2]|0))}e=c[a+8>>2]|0;if(e){d=c[e+-4>>2]|0;if(d){d=e+(d*20|0)|0;do{d=d+-20|0;Vj(d)}while((d|0)!=(e|0))}ZEa(e+-4|0)}c[a+8>>2]=f+4;c[a+4>>2]=b}return}function jH(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)iH(a,4);else iH(a,b<<1);return}function kH(a,b){a=a|0;b=b|0;var d=0;d=c[b>>2]|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;el(a,d);py(a,b);return}function lH(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){g=XEa(b>>>0>536870911?-1:b<<3)|0;if(b){d=g;do{c[d>>2]=85;c[d+4>>2]=0;d=d+8|0}while((d|0)!=(g+(b<<3)|0))}e=c[a>>2]|0;if((e|0)>0){f=0;do{d=c[a+8>>2]|0;j=d+(f<<3)|0;i=c[j+4>>2]|0;h=g+(f<<3)|0;c[h>>2]=c[j>>2];c[h+4>>2]=i;f=f+1|0}while((f|0)!=(e|0))}else d=c[a+8>>2]|0;if(d)ZEa(d);c[a+8>>2]=g;c[a+4>>2]=b}return}function mH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ((a|0)==(c|0)?(b|0)==(d|0):0)|0}function nH(a,b){a=a|0;b=b|0;var d=0,e=0;lH(a,(c[b>>2]|0)+(c[a>>2]|0)|0);if((c[b>>2]|0)>0){d=0;do{e=c[b+8>>2]|0;oH(a,c[e+(d<<3)>>2]|0,c[e+(d<<3)+4>>2]|0);d=d+1|0}while((d|0)<(c[b>>2]|0))}return}function oH(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;i=i+16|0;c[e>>2]=b;c[e+4>>2]=d;yG(a,e)|0;i=e;return}function pH(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if(a[b+5378>>0]|0){c[b+6372>>2]=0;a[b+5722>>0]=0;a[b+3826>>0]=1}OM(e,d);b=c[e>>2]|0;d=KEa(VM(b)|0,46)|0;if(d)a[(XM(b,d-(VM(b)|0)|0)|0)>>0]=0;dN(e,40368);d=c[e>>2]|0;b=yoa(VM(d)|0,40376)|0;RM(d);i=e;return b|0}function qH(a,d){a=a|0;d=d|0;var e=0,f=0,h=0;h=i;i=i+16|0;a:do if(!(c[a+24>>2]|0))f=4;else while(1){e=c[a+16>>2]|0;if(e){f=5;break a}ck(a)|0;if(!(c[a+24>>2]|0)){f=4;break}}while(0);if((f|0)==4){e=c[a+16>>2]|0;if(!e)e=0;else f=5}if((f|0)==5){yla(h,c[e+4>>2]|0);f=c[h>>2]|0;a=c[h+4>>2]|0;b[d>>1]=f;b[d+2>>1]=f>>>16;b[d+4>>1]=a;b[d+6>>1]=a>>>16;if((f&65535)<<16>>16<0){g[h+8>>2]=0.0;g[h+12>>2]=-1.0;wD(d,h+8|0);e=1}else e=1}i=h;return e|0}function rH(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;l=i;i=i+160|0;OM(l+132|0,e);h=c[l+132>>2]|0;e=KEa(VM(h)|0,46)|0;if(e)a[(XM(h,e-(VM(h)|0)|0)|0)>>0]=0;dN(l+132|0,359376);k=c[l+132>>2]|0;j=yoa(VM(k)|0,40384)|0;c[l+48>>2]=0;c[l+76>>2]=0;c[l+104>>2]=0;c[l+8>>2]=f;_ga(l+8|0,0);NM(l+140|0);b[l+144>>1]=32767;b[l+146>>1]=32767;b[l+148>>1]=-32767;b[l+150>>1]=-32767;b[l+152>>1]=32767;b[l+154>>1]=32767;b[l+156>>1]=-32767;b[l+158>>1]=-32767;c[l+136>>2]=0;f=0;do{h=qH(l+8|0,l+144|0)|0;a:do if(h&(yca(c[d+5532>>2]|0,l+136|0,j,l+140|0,l+152|0)|0)){while(1){h=b[l+146>>1]|0;e=b[l+154>>1]|0;if(((h<<16>>16)+2-(e<<16>>16)|0)>>>0<5)break;if(e<<16>>16>16){ck(l+8|0)|0;h=qH(l+8|0,l+144|0)|0}else h=yca(c[d+5532>>2]|0,l+136|0,j,l+140|0,l+152|0)|0;if(!h){h=0;break a}}while(1){h=b[l+144>>1]|0;e=b[l+152>>1]|0;if(((h<<16>>16)+2-(e<<16>>16)|0)>>>0<5)break;if(e<<16>>16>h<<16>>16){ck(l+8|0)|0;h=qH(l+8|0,l+144|0)|0}else h=yca(c[d+5532>>2]|0,l+136|0,j,l+140|0,l+152|0)|0;if(!h){h=0;break a}}if(((b[l+148>>1]|0)+2-(b[l+156>>1]|0)|0)>>>0<5?((b[l+150>>1]|0)+2-(b[l+158>>1]|0)|0)>>>0<5:0){sH(d,VM(c[l+140>>2]|0)|0,l+8|0,g);f=f+1|0;h=1}else h=1}else h=0;while(0);ck(l+8|0)|0}while(h);Yb(j|0)|0;_ga(l+8|0,0);e=0;while(1){if(!(c[l+32>>2]|0))break;h=c[l+24>>2]|0;if(h){if(!(c[h+68>>2]|0))$fa(h,d+184|0);e=e+1|0}ck(l+8|0)|0}if(+(f|0)<+(e|0)*.85)jN(40392,l);c[l>>2]=f;c[l+4>>2]=e;jN(40504,l);RM(c[l+140>>2]|0);RM(k);i=l;return}function sH(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;i=i+64|0;oc(c[p>>2]|0)|0;zw(f+28|0,c[d+16>>2]|0,c[(c[d+20>>2]|0)+4>>2]|0,c[(c[d+24>>2]|0)+4>>2]|0);Zv(a,1,f+28|0);_v(a,1,d,f+28|0);d=c[f+28>>2]|0;if(!(c[d+140>>2]|0)){c[f>>2]=40560;c[f+4>>2]=213;$L(40360,362136,2,1702e3,f)}Ek(f+8|0);if(KN(a+184|0,b,1,f+8|0,0,0)|0){h=c[(c[d+136>>2]|0)+12>>2]|0;g=XEa(h>>>0>1073741823?-1:h<<2)|0;tH(0,h,c[d+136>>2]|0,0,g,a+184|0,b,e);ZEa(g)}else{c[f>>2]=b;jN(40592,f)}Jk(f+8|0);Aw(f+44|0);i=f;return}function tH(a,b,d,e,f,j,l,m){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;j=j|0;l=l|0;m=m|0;var n=0.0,o=0.0,p=0,q=0,r=0,s=0,t=0.0,u=0;s=i;i=i+48|0;a:do if((a|0)<(b|0)){r=a;do{if((r-a|0)>=(c[d+16>>2]|0))break a;q=Vc[c[(c[d>>2]|0)+12>>2]&63](d,a,r)|0;if((c[(c[d+4>>2]|0)+(q<<2)>>2]|0)!=0?(q=Vc[c[(c[d>>2]|0)+12>>2]&63](d,a,r)|0,pk(s+20|0,c[(c[d+4>>2]|0)+(q<<2)>>2]|0),rk(s+20|0),!(sk(s+20|0)|0)):0){q=r+1|0;do{c[f+(e<<2)>>2]=tk(s+20|0)|0;if((q|0)<(b|0))tH(q,b,d,e+1|0,f,j,l,m);else{if((e|0)>-1){o=0.0;p=0;n=0.0;do{u=c[f+(p<<2)>>2]|0;Jc(MN(j,c[u+4>>2]|0)|0,m|0)|0;n=n+ +g[u+32>>2];t=+g[u+36>>2];o=o>t?t:o;p=p+1|0}while((p|0)!=(e+1|0))}else{o=0.0;n=0.0}c[s>>2]=l;h[k>>3]=n;c[s+4>>2]=c[k>>2];c[s+8>>2]=c[k+4>>2];h[k>>3]=o;c[s+12>>2]=c[k>>2];c[s+16>>2]=c[k+4>>2];zb(m|0,40632,s|0)|0}OL(s+20|0)|0}while(!(sk(s+20|0)|0))}r=r+1|0}while((r|0)<(b|0))}while(0);i=s;return}function uH(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;if(!(a[d+221>>0]|0))f=0;else f=(FEa(VM(c[(jk(c[d+140>>2]|0)|0)>>2]|0)|0,32)|0)==0&1;a[d+223>>0]=f;g=c[d+140>>2]|0;h=(a[g+54>>0]|0)!=0;g=(a[g+52>>0]|0)+-8<<24>>24;if((g&255)<4)g=(13>>>(g&15)&1)!=0;else g=0;do if(f<<24>>24!=0&e<<16>>16==1&(h|g^1)){if(!((vH(b,d,0)|0)<<24>>24)){f=a[d+223>>0]|0;j=11;break}if(a[b+8770>>0]|0)jN(40656,k);a[d+223>>0]=0;f=0}else j=11;while(0);do if((j|0)==11)if(!(f<<24>>24))f=0;else{if(g){if(!h)break}else if(!((a[(c[d+140>>2]|0)+52>>0]|0)!=6|h))break;if(a[b+8770>>0]|0)jN(40688,k);a[d+223>>0]=0;f=0}while(0);if(a[b+8770>>0]|0){c[k>>2]=f&255;jN(40728,k);Sia(c[d+140>>2]|0,1714496)}i=k;return}function vH(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;p=VM(c[(jk(c[d+140>>2]|0)|0)>>2]|0)|0;o=VM(c[(lk(c[d+140>>2]|0)|0)>>2]|0)|0;k=SGa(o|0)|0;a:do if(JEa(p,VM(c[b+9100>>2]|0)|0)|0){if((k<<16|0)>0){h=0;g=0;f=0;while(1){l=p+f|0;j=o+h|0;if(!(LH(c[d+68>>2]|0,l,a[j>>0]|0)|0)?!(Yy(c[d+68>>2]|0,l,a[j>>0]|0)|0):0)l=1;else{OM(q+8|0,b+9100|0);h=c[q+8>>2]|0;l=UM(h,a[l>>0]|0)|0;RM(h);l=l<<24>>24!=0}g=g+1<<16>>16;h=g<<16>>16;if(!((h|0)<(k<<16>>16|0)&l))break;else f=(a[j>>0]|0)+f<<16>>16}if(!l){g=c[d+140>>2]|0;h=a[g+52>>0]|0;if(h<<24>>24==10|h<<24>>24==8)f=1;else f=(a[b+8882>>0]|0)!=0&h<<24>>24==9|h<<24>>24==11;h=kT(b,g)|0;if((h|0)>0){h=(h|0)!=9|(a[b+8882>>0]|0)!=0;if(!((a[b+8898>>0]|0)!=0&h)){m=h;n=15}}else{m=0;n=15}if((n|0)==15?!(((a[b+8914>>0]|0)!=0|m)&f):0){n=EH(b,p,o)|0;g=FH(b,p,o)|0;do if((a[o+(n<<16>>16)>>0]|0)==1){f=a[p+(g<<16>>16)>>0]|0;if(f<<24>>24==73){a[(XM(c[(jk(c[d+140>>2]|0)|0)>>2]|0,g<<16>>16)|0)>>0]=108;if((GH(c[d+140>>2]|0,c[d+204>>2]|0)|0)<<16>>16>0){f=0;break a}a[(XM(c[(jk(c[d+140>>2]|0)|0)>>2]|0,g<<16>>16)|0)>>0]=73;break}else if(f<<24>>24==108){a[(XM(c[(jk(c[d+140>>2]|0)|0)>>2]|0,g<<16>>16)|0)>>0]=73;if((GH(c[d+140>>2]|0,c[d+204>>2]|0)|0)<<16>>16>0){f=0;break a}a[(XM(c[(jk(c[d+140>>2]|0)|0)>>2]|0,g<<16>>16)|0)>>0]=108;break}else break}while(0);if(!((HH(b,p,o)|0)<<24>>24)){f=yw(b,c[d+68>>2]|0,p,o)|0;if((f&-3|0)==1){f=EH(b,p,o)|0;o=FH(b,p,o)|0;OM(q,b+9100|0);b=c[q>>2]|0;p=(UM(b,a[p+(o<<16>>16)>>0]|0)|0)<<24>>24==0;RM(b);if(p){f=0;break}if(!(e<<24>>24)){f=1;break}sja(kk(d+212|0,f)|0);f=1;break}else{if((f|0)==2){f=0;break}if(!(e<<24>>24)){f=1;break}CH(b,d);f=1;break}}if(!((IH(b,p,o)|0)<<16>>16))l=1;else l=(a[(c[d+140>>2]|0)+52>>0]|0)==6;f=a[p>>0]|0;if(!(f<<24>>24)){f=0;break}h=f;g=p;f=0;j=0;k=0;while(1){if(!(l&h<<24>>24==49)){OM(q+4|0,b+9100|0);o=c[q+4>>2]|0;h=(UM(o,a[g>>0]|0)|0)<<24>>24==0;RM(o);if(h|e<<24>>24==0)f=h?f:1;else{sja(kk(d+212|0,j)|0);f=1}}k=(a[(XM(c[(lk(c[d+140>>2]|0)|0)>>2]|0,j<<16>>16)|0)>>0]|0)+k<<16>>16;g=p+k|0;h=a[g>>0]|0;if(!(h<<24>>24))break a;else j=j+1<<16>>16}}h=EH(b,p,o)|0;g=FH(b,p,o)|0;if((a[o+(h<<16>>16)>>0]|0)!=1){f=0;break}f=a[p+(g<<16>>16)>>0]|0;if(f<<24>>24==108){a[(XM(c[(jk(c[d+140>>2]|0)|0)>>2]|0,g<<16>>16)|0)>>0]=73;p=(GH(c[d+140>>2]|0,c[d+204>>2]|0)|0)<<16>>16>0;a[(XM(c[(jk(c[d+140>>2]|0)|0)>>2]|0,g<<16>>16)|0)>>0]=108;if(!p){f=0;break}if(!(e<<24>>24)){f=1;break}sja(kk(d+212|0,h)|0);f=1;break}else if(f<<24>>24==73){a[(XM(c[(jk(c[d+140>>2]|0)|0)>>2]|0,g<<16>>16)|0)>>0]=108;p=(GH(c[d+140>>2]|0,c[d+204>>2]|0)|0)<<16>>16>0;a[(XM(c[(jk(c[d+140>>2]|0)|0)>>2]|0,g<<16>>16)|0)>>0]=73;if(!p){f=0;break}if(!(e<<24>>24)){f=1;break}sja(kk(d+212|0,h)|0);f=1;break}else{f=0;break}}}if(!(e<<24>>24))f=1;else{CH(b,d);f=1}}else f=0;while(0);i=q;return f|0}function wH(b,e,f){b=b|0;e=e|0;f=f|0;var j=0,l=0,m=0,n=0,o=0,p=0,q=0.0;n=i;i=i+16|0;xH(a[b+8786>>0]|0,e);kw(b,e,-1)|0;uH(b,e,f);Cja(e+212|0,(SM(lk(c[e+140>>2]|0)|0)|0)&65535);yH(e);f=c[b+8748>>2]|0;do if(!f){if(!(a[e+223>>0]|0))zH(e)}else if((f|0)==5){if(128.0/+g[e+56>>2]<=+(c[b+9124>>2]|0)){Hja(e+212|0);break}vH(b,e,1)|0;if((a[b+8930>>0]|0)!=0?(a[e+221>>0]|0)==0:0)Jja(e+212|0);if((a[b+8946>>0]|0)!=0?(FEa(VM(c[(jk(c[e+140>>2]|0)|0)>>2]|0)|0,32)|0)!=0:0)Kja(e+212|0);m=c[e+140>>2]|0;if(a[b+8962>>0]|0){f=a[m+52>>0]|0;if(f<<24>>24==10|f<<24>>24==11|f<<24>>24==8){if(!(a[b+8978>>0]|0))break;j=c[e+68>>2]|0;l=VM(c[(jk(m)|0)>>2]|0)|0;if(yw(b,j,l,VM(c[(lk(m)|0)>>2]|0)|0)|0)break;f=a[m+52>>0]|0}if(f<<24>>24!=6){Lja(e+212|0);break}if((a[b+8994>>0]|0)!=0?(a[(XM(c[(jk(m)|0)>>2]|0,0)|0)>>0]|0)!=0:0){j=0;l=0;while(1){f=j&65535;if((oja(kk(e+212|0,f)|0)|0)<<24>>24==0?(p=c[e+68>>2]|0,o=(VM(c[(jk(m)|0)>>2]|0)|0)+l|0,LH(p,o,a[(XM(c[(lk(m)|0)>>2]|0,j)|0)>>0]|0)|0):0)uja(kk(e+212|0,f)|0);l=(a[(XM(c[(lk(m)|0)>>2]|0,j)|0)>>0]|0)+l|0;if(!(a[(XM(c[(jk(m)|0)>>2]|0,l)|0)>>0]|0))break;else j=j+1|0}}}}else{jN(40752,n);aM()}while(0);if((c[b+9052>>2]|0)>-1)AH(b,e);kw(b,e,10)|0;if(a[b+8770>>0]|0){c[n>>2]=d[(c[e+140>>2]|0)+52>>0];jN(40784,n);p=c[e+140>>2]|0;q=+g[p+36>>2];h[k>>3]=+g[p+40>>2];c[n>>2]=c[k>>2];c[n+4>>2]=c[k+4>>2];h[k>>3]=q;c[n+8>>2]=c[k>>2];c[n+12>>2]=c[k+4>>2];jN(40808,n);c[n>>2]=kT(b,c[e+140>>2]|0)|0;jN(40840,n)}BH(b,e);kw(b,e,20)|0;i=n;return}function xH(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;o=c[d+140>>2]|0;a:do if(b<<24>>24){b=c[d+156>>2]|0;g=c[b>>2]|0;b:do if((c[o+28>>2]|0)>0&(g|0)>0){f=0;while(1){e=c[(Vy(b,f)|0)>>2]|0;j=c[d+68>>2]|0;if(!(!(nx(j,bx(o,f)|0)|0)?(j=c[d+68>>2]|0,!(az(j,bx(o,f)|0)|0)):0))p=5;if((p|0)==5?(p=0,Eba(q,c[e>>2]|0),b=c[q>>2]|0,e=c[q+4>>2]|0,j=UGa(b|0,e|0,16)|0,e=UGa(b|0,e|0,48)|0,(e&65535)<<16>>16<192|(j&65535)<<16>>16>96):0)break a;e=f+1|0;if(!((e|0)<(g|0)?(e|0)<(c[o+28>>2]|0):0))break b;b=c[d+156>>2]|0;f=e}}while(0);g=HN(c[d+68>>2]|0,385040)|0;j=HN(c[d+68>>2]|0,378392)|0;if((((g|0)!=-1?(h=c[c[d+68>>2]>>2]|0,!((j|0)==-1?1:(a[h+(g*112|0)+38>>0]|0)==0)):0)?(a[h+(j*112|0)+38>>0]|0)!=0:0)?(c[o+28>>2]|0)>1:0){b=1;do{if(!((bx(o,b)|0)!=(g|0)?(bx(o,b)|0)!=(j|0):0))p=14;do if((p|0)==14){p=0;f=b+1|0;if((f|0)<(c[o+28>>2]|0)){h=c[d+68>>2]|0;e=b+-1|0;if((JH(h,bx(o,e)|0)|0)<<24>>24!=0?(h=c[d+68>>2]|0,(JH(h,bx(o,f)|0)|0)<<24>>24!=0):0)ex(o,j,b)}else e=b+-1|0;h=c[d+68>>2]|0;do if((JH(h,bx(o,e)|0)|0)<<24>>24!=0?(f|0)<(c[o+28>>2]|0):0){if((bx(o,f)|0)!=(g|0)?(bx(o,f)|0)!=(j|0):0)break;e=b+2|0;if((e|0)<(c[o+28>>2]|0)?(h=c[d+68>>2]|0,(JH(h,bx(o,e)|0)|0)<<24>>24!=0):0){ex(o,j,b);b=f}}while(0);do if(((b|0)>1?(h=c[d+68>>2]|0,(JH(h,bx(o,b+-2|0)|0)|0)<<24>>24!=0):0)?(h=c[d+68>>2]|0,(JH(h,bx(o,b+-1|0)|0)|0)<<24>>24!=0):0){e=b+1|0;if(!((((e|0)<(c[o+28>>2]|0)?(h=c[d+68>>2]|0,!(az(h,bx(o,e)|0)|0)):0)?(h=c[d+68>>2]|0,!(YN(h,bx(o,e)|0,1705304)|0)):0)?(h=c[d+68>>2]|0,!(YN(h,bx(o,e)|0,40920)|0)):0))p=33;if((p|0)==33?(p=0,(b|0)!=((c[o+28>>2]|0)+-1|0)):0)break;ex(o,j,b)}while(0);h=c[d+68>>2]|0;e=b+-1|0;if(((KH(h,bx(o,e)|0)|0)<<24>>24!=0?(k=b+1|0,(k|0)<(c[o+28>>2]|0)):0)?(h=c[d+68>>2]|0,(KH(h,bx(o,k)|0)|0)<<24>>24!=0):0)ex(o,g,b);h=c[d+68>>2]|0;do if((KH(h,bx(o,e)|0)|0)<<24>>24!=0?(l=b+2|0,(l|0)<(c[o+28>>2]|0)):0){e=b+1|0;if((bx(o,e)|0)!=(g|0)?(bx(o,e)|0)!=(j|0):0)break;if((bx(o,l)|0)!=(g|0)?(bx(o,l)|0)!=(j|0):0)break;ex(o,g,b);ex(o,g,e);ex(o,g,l);b=l}while(0);h=c[d+68>>2]|0;do if((KH(h,bx(o,b+-1|0)|0)|0)<<24>>24!=0?(m=b+2|0,(m|0)<(c[o+28>>2]|0)):0){e=b+1|0;if((bx(o,e)|0)!=(g|0)?(bx(o,e)|0)!=(j|0):0)break;h=c[d+68>>2]|0;if(!(nx(h,bx(o,m)|0)|0)){ex(o,g,b);ex(o,g,e);b=e}}while(0);h=c[d+68>>2]|0;e=b+-1|0;if(((KH(h,bx(o,e)|0)|0)<<24>>24!=0?(n=b+1|0,(n|0)<(c[o+28>>2]|0)):0)?(h=c[d+68>>2]|0,!(nx(h,bx(o,n)|0)|0)):0)ex(o,g,b);if((b|0)>1){h=c[d+68>>2]|0;if(!(YN(h,bx(o,e)|0,1717208)|0)?(h=c[d+68>>2]|0,!(YN(h,bx(o,e)|0,364960)|0)):0)break;h=c[d+68>>2]|0;e=b+-2|0;if(!(az(h,bx(o,e)|0)|0)?(bx(o,e)|0)!=(j|0):0)break;if((bx(o,e)|0)==(j|0))ex(o,g,e);c:do if((b|0)<(c[o+28>>2]|0))do{if((bx(o,b)|0)!=(j|0)?(bx(o,b)|0)!=(g|0):0)break c;ex(o,g,b);b=b+1|0}while((b|0)<(c[o+28>>2]|0));while(0);b=b+-1|0}}while(0);b=b+1|0}while((b|0)<(c[o+28>>2]|0))}}while(0);i=q;return}function yH(b){b=b|0;var d=0,e=0;if(a[(XM(c[(jk(c[b+140>>2]|0)|0)>>2]|0,0)|0)>>0]|0){d=0;e=0;while(1){if((a[(XM(c[(jk(c[b+140>>2]|0)|0)>>2]|0,e)|0)>>0]|0)==32)qja(kk(b+212|0,d)|0);d=d<<16>>16;e=(a[(XM(c[(lk(c[b+140>>2]|0)|0)>>2]|0,d)|0)>>0]|0)+e<<16>>16;if(!(a[(XM(c[(jk(c[b+140>>2]|0)|0)>>2]|0,e)|0)>>0]|0))break;else d=d+1&65535}}return}function zH(a){a=a|0;var b=0,d=0,e=0.0;e=+DH(c[a+140>>2]|0);b=c[a+140>>2]|0;if((c[b+28>>2]|0)>0){d=0;do{if(bx(b,d)|0){if(+g[(c[(c[a+140>>2]|0)+20>>2]|0)+(d<<2)>>2]>2]|0}while((d|0)<(c[b+28>>2]|0))}return}function AH(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;m=i;i=i+16|0;yla(m+8|0,c[d+4>>2]|0);l=c[(c[d+160>>2]|0)+8>>2]|0;f=c[a+9052>>2]|0;if(!((((b[m+8>>1]|0)>=(f|0)?(b[m+10>>1]|0)>=(f|0):0)?(k=b[m+12>>1]|0,((k<<16>>16)+f|0)<=((Cp(c[a+10280>>2]|0)|0)+-1|0)):0)?(j=b[m+14>>1]|0,k=c[a+9052>>2]|0,((j<<16>>16)+k|0)<=((up(c[a+10280>>2]|0)|0)+-1|0)):0)){if((b[d+216>>1]|0)!=(l|0)){c[m>>2]=40896;c[m+4>>2]=272;$L(40648,40856,2,1702e3,m)}if((l|0)>0){k=0;do{f=Dk((c[d+160>>2]|0)+12|0,k)|0;n=e[f>>1]|e[f+2>>1]<<16;f=e[f+4>>1]|e[f+6>>1]<<16;g=UGa(n|0,f|0,48)|0;h=F;j=c[a+9052>>2]|0;if(!((!((n<<16>>16|0)<(j|0)|(n>>16|0)<(j|0))?(n=Cp(c[a+10280>>2]|0)|0,f=_Ga(f|0,0,16)|0,((f>>16)+j|0)<=(n+-1|0)):0)?(f=c[a+9052>>2]|0,n=up(c[a+10280>>2]|0)|0,j=_Ga(g|0,h|0,16)|0,(f+(j>>16)|0)<=(n+-1|0)):0))rja(kk(d+212|0,k&65535)|0);k=k+1|0}while((k|0)<(l|0))}}i=m;return}function BH(d,e){d=d|0;e=e|0;var f=0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+32|0;q=c[e+140>>2]|0;b[t+8>>1]=32767;b[t+10>>1]=32767;b[t+12>>1]=-32767;b[t+14>>1]=-32767;if(!(+h[d+8808>>3]<=1.0)?(o=c[c[e+156>>2]>>2]|0,p=HN(c[e+68>>2]|0,362280)|0,(c[q+28>>2]|0)>0&(o|0)>0):0){s=0;f=-9999;do{Eba(t,c[c[(Vy(c[e+156>>2]|0,s)|0)>>2]>>2]|0);l=c[t>>2]|0;k=c[t+4>>2]|0;c[t+8>>2]=l;c[t+12>>2]=k;n=s;s=s+1|0;if((s|0)==(o|0))m=9999;else{Eba(t+16|0,c[c[(Vy(c[e+156>>2]|0,s)|0)>>2]>>2]|0);m=b[t+16>>1]|0}j=+((kl(t+8|0)|0)<<16>>16);do if(j>+g[e+52>>2]*8.0){k=(k&65535)<<16>>16;if((l<<16>>16|0)>(f|0)&(k|0)<(m|0)){j=j/+((ll(t+8|0)|0)<<16>>16);m=c[e+68>>2]|0;if(!(YN(m,bx(q,n)|0,1717208)|0)){if((bx(q,n)|0)!=(p|0)){f=k;break}if(j>=+h[d+8848>>3]?(oja(kk(e+212|0,n&65535)|0)|0)<<24>>24!=0:0)xja(kk(e+212|0,n&65535)|0);if(!(j<=+h[d+8808>>3])){f=k;break}if((oja(kk(e+212|0,n&65535)|0)|0)<<24>>24){f=k;break}vja(kk(e+212|0,n&65535)|0);f=k;break}if(((j>=+h[d+8848>>3]?(r=c[e+68>>2]|0,ay(r,p)|0):0)?(a[(c[r>>2]|0)+(p*112|0)+38>>0]|0)!=0:0)?(ex(q,p,n),(oja(kk(e+212|0,n&65535)|0)|0)<<24>>24!=0):0)xja(kk(e+212|0,n&65535)|0);if(j>+h[d+8808>>3]?(oja(kk(e+212|0,n&65535)|0)|0)<<24>>24==0:0){vja(kk(e+212|0,n&65535)|0);f=k}else f=k}else f=k}else f=(k&65535)<<16>>16;while(0)}while((s|0)<(o|0)?(s|0)<(c[q+28>>2]|0):0)}i=t;return}function CH(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;g=i;i=i+16|0;if(a[(XM(c[(jk(c[d+140>>2]|0)|0)>>2]|0,0)|0)>>0]|0){e=0;f=0;while(1){OM(g,b+9100|0);h=XM(c[(jk(c[d+140>>2]|0)|0)>>2]|0,f)|0;j=c[g>>2]|0;h=(UM(j,a[h>>0]|0)|0)<<24>>24==0;RM(j);if(!h)sja(kk(d+212|0,e)|0);e=e<<16>>16;f=(a[(XM(c[(lk(c[d+140>>2]|0)|0)>>2]|0,e)|0)>>0]|0)+f<<16>>16;if(!(a[(XM(c[(jk(c[d+140>>2]|0)|0)>>2]|0,f)|0)>>0]|0))break;else e=e+1&65535}}i=g;return}function DH(a){a=a|0;var b=0.0,d=0,e=0.0,f=0,h=0,j=0.0;h=i;i=i+32|0;f=c[a+28>>2]|0;qA(h);MH(h,f,0.0);if((f|0)>0){d=0;do{e=+g[(c[a+20>>2]|0)+(d<<2)>>2];g[(vA(h,d)|0)>>2]=e;d=d+1|0}while((d|0)<(f|0))}uA(c[h>>2]|0,c[h+8>>2]|0,23);b=+g[(vA(h,0)|0)>>2]+-1.0;a:do if((f|0)>2){e=0.0;a=0;while(1){d=a;while(1){if((d|0)>=(f+-1|0))break a;a=d+1|0;j=+g[(vA(h,a)|0)>>2];if(j-+g[(vA(h,d)|0)>>2]>e)break;else d=a}b=+g[(vA(h,a)|0)>>2];e=+g[(vA(h,d)|0)>>2];e=b-e;b=+g[(vA(h,d)|0)>>2]}}else e=0.0;while(0);rA(h);i=h;return +(b+e*.5)}function EH(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;a:do if(!(a[c>>0]|0))e=-1;else{g=c;e=0;h=0;while(1){f=d+(e<<16>>16)|0;if(LH(b+184|0,g,a[f>>0]|0)|0)break a;if(Yy(b+184|0,g,a[f>>0]|0)|0)break a;h=(a[f>>0]|0)+h<<16>>16;g=c+h|0;if(!(a[g>>0]|0)){e=-1;break}else e=e+1<<16>>16}}while(0);return e|0}function FH(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;a:do if(!(a[c>>0]|0))e=-1;else{g=0;h=c;i=0;e=0;while(1){f=d+(i<<16>>16)|0;if(LH(b+184|0,h,a[f>>0]|0)|0)break a;if(Yy(b+184|0,h,a[f>>0]|0)|0)break a;e=(a[f>>0]|0)+g|0;g=e<<16>>16;h=c+g|0;if(!(a[h>>0]|0)){e=-1;break}else{i=i+1<<16>>16;e=e&65535}}}while(0);return e|0}function GH(a,b){a=a|0;b=b|0;b=kT(b,a)|0;return ((b|0)==9?0:b&65535)|0}function HH(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;a:do if(!(a[c>>0]|0))e=0;else{f=c;g=0;h=0;while(1){e=d+(g<<16>>16)|0;i=Yy(b+184|0,f,a[e>>0]|0)|0;e=a[e>>0]|0;if(i){if(e<<24>>24!=1){e=1;break a}if((a[f>>0]|0)==49)e=1;else{e=1;break a}}h=(e<<24>>24)+h<<16>>16;f=c+h|0;if(!(a[f>>0]|0)){e=0;break}else g=g+1<<16>>16}}while(0);return e|0}function IH(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;if(!(a[c>>0]|0))e=0;else{f=c;e=0;g=0;h=0;while(1){i=d+(g<<16>>16)|0;e=((LH(b+184|0,f,a[i>>0]|0)|0)&1)+e<<16>>16;h=(a[i>>0]|0)+h<<16>>16;f=c+h|0;if(!(a[f>>0]|0))break;else g=g+1<<16>>16}}return e|0}function JH(a,b){a=a|0;b=b|0;if(nx(a,b)|0)a=(YN(a,b,378392)|0)&1^1;else a=0;return a|0}function KH(a,b){a=a|0;b=b|0;if(az(a,b)|0)a=(YN(a,b,385040)|0)&1^1;else a=0;return a|0}function LH(a,b,c){a=a|0;b=b|0;c=c|0;return Yz(a,IN(a,b,c)|0)|0}function MH(a,b,d){a=a|0;b=b|0;d=+d;var e=0;bB(a,b);c[a>>2]=b;if((b|0)>0){a=c[a+8>>2]|0;e=0;do{g[a+(e<<2)>>2]=d;e=e+1|0}while((e|0)!=(b|0))}return}function NH(b,d){b=b|0;d=d|0;wi(b,d);c[b>>2]=40944;a[b+70>>0]=0;a[b+69>>0]=0;a[b+71>>0]=0;d=(kM()|0)+20|0;d=Sj(56048,d,(c[b+8>>2]|0)+384|0)|0;if(d)a[b+71>>0]=(a[d+10>>0]|0)!=0&1;a[b+68>>0]=(OH(b)|0)&1;PH(b);return}function OH(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+80|0;if(!(c[(c[a+12>>2]|0)+16>>2]|0))a=1;else{wi(f,a);Qc[c[(c[f>>2]|0)+12>>2]&511](f);d=QB(f)|0;e=QB(f)|0;a=QB(f)|0;bd[c[(c[f>>2]|0)+20>>2]&63](f,3)|0;a=(a|0)==1&1;b=(d|0)==2&1;e=(e|0)==1;while(1){if(jD(f,3)|0)break;if(bd[c[(c[f>>2]|0)+24>>2]&63](f,2)|0)break;e=QB(f)|0;bd[c[(c[f>>2]|0)+20>>2]&63](f,3)|0;a=((e|0)==1&1)+a|0;b=((e|0)==2&1)+b|0;e=(e|0)==1}if((d|0)==2|e)a=(d|0)==2^1;else{a:do if(!(jD(f,3)|0)?!(bd[c[(c[f>>2]|0)+24>>2]&63](f,1)|0):0)do{e=QB(f)|0;b=((e|0)==2&1)+b|0;a=((e|0)==1&1)+a|0;if(!(bd[c[(c[f>>2]|0)+20>>2]&63](f,3)|0))break a}while(!(bd[c[(c[f>>2]|0)+24>>2]&63](f,1)|0));while(0);a=(a|0)>=(b|0)}IB(f)}i=f;return a|0}function PH(b){b=b|0;var d=0,e=0,f=0;f=i;i=i+32|0;mF(f);Qc[c[(c[b>>2]|0)+16>>2]&511](b);TH((a[b+68>>0]|0)!=0,b,f);e=c[f>>2]|0;a:do if((e|0)>0){d=0;do{if((c[(Ik(f,d)|0)>>2]|0)>=0)break a;if((c[(Ik(f,d)|0)>>2]|0)!=-1){if((c[(Ik(f,d)|0)>>2]|0)==-2)a[b+70>>0]=0}else a[b+70>>0]=1;d=d+1|0}while((d|0)<(e|0))}else d=0;while(0);if(a[b+70>>0]|0)a[b+69>>0]=1;if((d|0)<(e|0)){d=c[(Ik(f,d)|0)>>2]|0;if((d|0)>0){e=0;do{gD(b,3)|0;e=e+1|0}while((e|0)<(d|0))}XH(b)}Jk(f);i=f;return}function QH(a){a=a|0;var b=0;b=WEa(72)|0;NH(b,a);return b|0}function RH(a){a=a|0;return a<<24>>24!=0|0}function SH(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+32|0;f=a[b+68>>0]|0;e=a[b+70>>0]|0;Jk(d);do if(!(jD(b,3)|0)){if(f<<24>>24==e<<24>>24?(a[(c[(c[(c[b+12>>2]|0)+16>>2]|0)+140>>2]|0)+53>>0]|0)==0:0){Ek(k+8|0);e=c[b+20>>2]|0;if((e|0)>0){f=0;do{zv(k+8|0,iI(c[(c[b+12>>2]|0)+16>>2]|0,f)|0);f=f+1|0;e=c[b+20>>2]|0}while((f|0)<(e|0));if((e|0)>2){f=2;g=0;while(1){do if((c[(Ik(k+8|0,g)|0)>>2]|0)==2?(c[(Ik(k+8|0,f)|0)>>2]|0)==2:0){f=g+1|0;if((c[(Ik(k+8|0,f)|0)>>2]|0)!=3?(c[(Ik(k+8|0,f)|0)>>2]|0)!=6:0)break;c[(Ik(k+8|0,f)|0)>>2]=2}while(0);f=g+3|0;e=c[b+20>>2]|0;if((f|0)>=(e|0))break;else g=g+1|0}}if((e|0)>0){h=0;do{a:do if((c[(Ik(k+8|0,h)|0)>>2]|0)==4){e=h;while(1){e=e+1|0;f=c[b+20>>2]|0;if((e|0)>=(f|0))break;if((c[(Ik(k+8|0,e)|0)>>2]|0)!=4){j=20;break}}if((j|0)==20){j=0;f=c[b+20>>2]|0}if((e|0)<(f|0)?(c[(Ik(k+8|0,e)|0)>>2]|0)==2&(h|0)<(e|0):0){g=h;do{c[(Ik(k+8|0,g)|0)>>2]=2;g=g+1|0}while((g|0)<(e|0));f=h}else f=h;do{g=f;f=f+-1|0;if((g|0)<=0)break a}while((c[(Ik(k+8|0,f)|0)>>2]|0)==4);if(!((c[(Ik(k+8|0,f)|0)>>2]|0)!=2|(f|0)>(h|0)))while(1){c[(Ik(k+8|0,f)|0)>>2]=2;if((f|0)<(h|0))f=f+1|0;else break}}while(0);h=h+1|0;e=c[b+20>>2]|0}while((h|0)<(e|0));if((e|0)>0){f=0;do{if(!(c[(Ik(k+8|0,f)|0)>>2]&-3)){e=f+1|0;b:do if((e|0)<(c[b+20>>2]|0)){g=e;h=f;while(1){e=g;while(1){g=c[(Ik(k+8|0,e)|0)>>2]|0;if(!(g&-3))break;if(!((g|0)==6|(g|0)==10)){e=h;break b}e=e+1|0;if((e|0)>=(c[b+20>>2]|0)){e=h;break b}}g=e+1|0;if((g|0)>=(c[b+20>>2]|0))break;else h=e}}else e=f;while(0);if((f|0)<=(e|0))while(1){c[(Ik(k+8|0,f)|0)>>2]=0;if((f|0)<(e|0))f=f+1|0;else break}}else{c[(Ik(k+8|0,f)|0)>>2]=1;e=f}f=e+1|0;e=c[b+20>>2]|0}while((f|0)<(e|0));if((e|0)>0){e=e+-1|0;do if((c[(Ik(k+8|0,e)|0)>>2]|0)!=1){f=e;while(1){g=f+-1|0;if((f|0)<=0)break;if((c[(Ik(k+8|0,g)|0)>>2]|0)==1)break;else f=g}if((f|0)>(e|0))e=g;else while(1){zv(d,f);if((f|0)<(e|0))f=f+1|0;else{e=g;break}}}else{zv(d,e);e=e+-1|0}while((e|0)>-1);e=c[b+20>>2]|0}}}}if((c[d>>2]|0)!=(e|0)){c[k>>2]=41024;c[k+4>>2]=209;$L(40928,40984,2,1702e3,k)}Jk(k+8|0);break}if((c[b+20>>2]|0)>0){e=0;do{zv(d,e);e=e+1|0}while((e|0)<(c[b+20>>2]|0))}}while(0);i=k;return}function TH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+32|0;jI(d);UH(a,b,d,c);kI(d);i=d;return}function UH(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+96|0;jI(f+68|0);d=(d|0)!=0?d:f+68|0;if((c[d>>2]|0)>0)c[d>>2]=0;wi(f,b);Qc[c[(c[f>>2]|0)+16>>2]&511](f);if(!(jD(f,3)|0)){do{lI(d,QB(f)|0);if(!(bd[c[(c[f>>2]|0)+20>>2]&63](f,3)|0))break}while(!(bd[c[(c[f>>2]|0)+24>>2]&63](f,2)|0));if((c[e>>2]|0)>0)c[e>>2]=0;VH(a,d,e)}IB(f);kI(f+68|0);i=f;return}function VH(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;if((c[d>>2]|0)>0)c[d>>2]=0;f=c[b>>2]|0;if(f){do if(!a)if(!(c[(mI(f,c[b+8>>2]|0,f+-1|0)|0)>>2]|0)){a:do if((f+-1|0)>0){e=f+-1|0;while(1){a=e+-1|0;if(c[(mI(c[b>>2]|0,c[b+8>>2]|0,e)|0)>>2]|0)break a;if((a|0)>0)e=a;else{k=9;break}}}else{a=f+-1|0;k=9}while(0);if((k|0)==9)if((a|0)>-1)e=0;else{g=-1;h=2;i=-1;j=1;a=f+-1|0;break}if((c[(mI(c[b>>2]|0,c[b+8>>2]|0,e)|0)>>2]|0)==1){b:do if((e|0)>-1){a=e;while(1){if((c[(mI(c[b>>2]|0,c[b+8>>2]|0,a)|0)>>2]|0)==2)break b;j=(c[(mI(c[b>>2]|0,c[b+8>>2]|0,a)|0)>>2]|0)==1;e=j?a:e;if((a|0)>0)a=a+-1|0;else break}}while(0);zv(d,-1);if((e|0)<(c[b>>2]|0)){a=e;do{zv(d,a);if((c[(mI(c[b>>2]|0,c[b+8>>2]|0,a)|0)>>2]|0)==3)zv(d,-3);a=a+1|0}while((a|0)<(c[b>>2]|0))}zv(d,-2);g=-1;h=2;i=-1;j=1;a=e+-1|0}else{g=-1;h=2;i=-1;j=1;a=f+-1|0}}else{g=-1;h=2;i=-1;j=1;a=f+-1|0}else{g=f;h=1;i=1;j=2;a=0}while(0);if((a|0)!=(g|0)){f=a;do{if((c[(mI(c[b>>2]|0,c[b+8>>2]|0,f)|0)>>2]|0)!=(j|0)){zv(d,f);if((c[(mI(c[b>>2]|0,c[b+8>>2]|0,f)|0)>>2]|0)==3){zv(d,-3);a=f}else a=f}else{c:do if((f|0)==(g|0)){e=i;a=g}else{a=f;while(1){if((c[(mI(c[b>>2]|0,c[b+8>>2]|0,a)|0)>>2]|0)==(h|0)){e=0;break c}a=a+i|0;if((a|0)==(g|0)){e=i;a=g;break}}}while(0);a=a-e|0;d:do if((a|0)!=(f|0)){while(1){e=a-i|0;if((c[(mI(c[b>>2]|0,c[b+8>>2]|0,a)|0)>>2]|0)==(j|0))break;if((e|0)==(f|0)){k=28;break d}else a=e}zv(d,-1);if((a|0)==(f|0))a=f;else{e=a;do{zv(d,e);e=e-i|0}while((e|0)!=(f|0))}}else k=28;while(0);if((k|0)==28){k=0;zv(d,-1);a=f}zv(d,f);zv(d,-2)}f=a+i|0}while((f|0)!=(g|0))}}return}function WH(a){a=a|0;var b=0,d=0;d=i;i=i+80|0;wi(d,a);Qc[c[(c[d>>2]|0)+16>>2]&511](d);b=0;while(1){if(cD(c[d+12>>2]|0,c[a+12>>2]|0)|0)break;bd[c[(c[d>>2]|0)+20>>2]&63](d,3)|0;b=b+1|0}IB(d);i=d;return b|0}function XH(a){a=a|0;var b=0;b=i;i=i+32|0;if(!(c[a+20>>2]|0))aD(a,0);else{Ek(b);SH(a,b);if((c[b>>2]|0)!=0?(c[(Ik(b,0)|0)>>2]|0)!=0:0)aD(a,c[(Ik(b,0)|0)>>2]|0);Jk(b)}i=b;return}function YH(a){a=a|0;var b=0,d=0;b=i;i=i+32|0;if(!(c[(c[a+12>>2]|0)+16>>2]|0))a=1;else{Ek(b);SH(a,b);if(!(c[b>>2]|0))a=1;else{d=c[(nI(b)|0)>>2]|0;a=(d|0)==(c[a+24>>2]|0)}Jk(b)}i=b;return a|0}function ZH(a){a=a|0;var b=0,d=0;b=i;i=i+32|0;if(!(c[(c[a+12>>2]|0)+16>>2]|0))a=1;else{Ek(b);SH(a,b);if(!(c[b>>2]|0))a=1;else{d=c[(Ik(b,0)|0)>>2]|0;a=(d|0)==(c[a+24>>2]|0)}Jk(b)}i=b;return a|0}function _H(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+32|0;if(c[(c[b+12>>2]|0)+16>>2]|0){h=(a[b+68>>0]|0)!=(a[b+70>>0]|0);mF(j);TH((a[b+68>>0]|0)!=0,b,j);e=oI(j,WH(b)|0)|0;do if((e|0)>=0?(g=c[j>>2]|0,(e+1|0)<(g|0)):0){f=e+1|0;e=0;do{if((c[(Ik(j,f)|0)>>2]|0)>=0)break;e=c[(Ik(j,f)|0)>>2]|0;f=f+1|0}while((f|0)<(g|0));if((e|0)==-3){dN(d,h?130288:130296);break}else if((e|0)!=-2)break;if(!(a[b+68>>0]|0)){dN(d,130296);break}else{dN(d,130288);break}}while(0);Jk(j)}i=j;return}function $H(b){b=b|0;YC(b);a[b+68>>0]=(OH(b)|0)&1;a[b+70>>0]=0;a[b+69>>0]=0;PH(b);return}function aI(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+48|0;e=c[b+12>>2]|0;a:do if(!(c[e+24>>2]|0))e=0;else{b:do switch(d|0){case 3:break;case 2:case 1:case 0:{if(!(gD(b,d)|0)){e=0;break a}if(eD(b)|0)a[b+68>>0]=(OH(b)|0)&1;a[b+70>>0]=0;PH(b);e=(c[(c[b+12>>2]|0)+24>>2]|0)!=0;break a}case 4:{Ek(j+28|0);SH(b,j+28|0);f=c[j+28>>2]|0;e=0;while(1){if((e|0)>=(f|0)){h=10;break}g=c[b+24>>2]|0;d=e+1|0;if((g|0)==(c[(Ik(j+28|0,e)|0)>>2]|0))break;else e=d}if((h|0)==10)d=e+1|0;if((d|0)<(f|0)){aD(b,c[(Ik(j+28|0,d)|0)>>2]|0);a[b+69>>0]=0;Jk(j+28|0);e=1;break a}else{Jk(j+28|0);e=c[b+12>>2]|0;break b}}default:{c[j>>2]=41024;c[j+4>>2]=492;$L(40928,1706872,2,1702e3,j);e=0;break a}}while(0);if(!(c[e+16>>2]|0)){e=bd[c[(c[b>>2]|0)+20>>2]&63](b,0)|0;break}mF(j+8|0);g=WH(b)|0;TH((a[b+68>>0]|0)!=0,b,j+8|0);f=c[j+8>>2]|0;while(1){f=f+-1|0;if((f|0)<=0){e=0;break}if((c[(Ik(j+8|0,f)|0)>>2]|0)>=0){e=0;break}}while(1){if((e|0)>=(f|0)){h=35;break}h=e;e=e+1|0;if((c[(Ik(j+8|0,h)|0)>>2]|0)==(g|0)){h=21;break}}if((h|0)==21){c:do if((e|0)<(f|0))while(1){if((c[(Ik(j+8|0,e)|0)>>2]|0)>=0){d=e;break c}if((c[(Ik(j+8|0,e)|0)>>2]|0)==-1)a[b+70>>0]=1;if((c[(Ik(j+8|0,e)|0)>>2]|0)==-2)a[b+70>>0]=0;e=e+1|0;if((e|0)>=(f|0)){d=e;break}}else d=e;while(0);a[b+69>>0]=(c[(Ik(j+8|0,d+-1|0)|0)>>2]|0)==-1&1;if(bI(b,3)|0){h=c[(Ik(j+8|0,d)|0)>>2]|0;c[j>>2]=g;c[j+4>>2]=h;jN(41056,j)}fD(b);e=0;while(1){if((e|0)>=(c[(Ik(j+8|0,d)|0)>>2]|0))break;gD(b,3)|0;e=e+1|0}XH(b);e=1}else if((h|0)==35){if(bI(b,3)|0){c[j>>2]=g;jN(41088,j)}e=bd[c[(c[b>>2]|0)+20>>2]&63](b,2)|0}Jk(j+8|0)}while(0);i=j;return e|0}function bI(a,b){a=a|0;b=b|0;var d=0;d=kM()|0;a=Rj(45080,d,(c[a+8>>2]|0)+364|0)|0;if(!a)a=1;else a=c[a+12>>2]|0;return (a|0)>=(b|0)|0}function cI(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+80|0;d=c[a+12>>2]|0;if(c[d+24>>2]|0)if(!((c[d+16>>2]|0)==0|(b|0)==4)){d=ZH(a)|0;if((b|0)!=3){wd(e+8|0,a);PH(e+8|0);if(d)a=Tga(c[e+20>>2]|0,c[a+12>>2]|0)|0;else a=0;if((b|0)!=2){Qc[c[(c[e+8>>2]|0)+16>>2]&511](e+8|0);if(a){d=c[e+20>>2]|0;d=(c[d+24>>2]|0)!=(c[d+12>>2]|0)}else d=0;if(b){if(!(d|a^1)){d=c[e+20>>2]|0;d=(c[(c[(c[d+20>>2]|0)+4>>2]|0)+60>>2]|0)!=(c[(c[(c[d+8>>2]|0)+4>>2]|0)+60>>2]|0)}if((b|0)!=1){c[e>>2]=41024;c[e+4>>2]=523;$L(40928,1706872,2,1702e3,e);d=0}}}else d=a;IB(e+8|0)}}else d=1;else d=0;i=e;return d|0}function dI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+80|0;if(jD(a,c)|0)c=1;else{wd(d,a);aI(d,c)|0;a:do if(jD(d,c)|0)c=1;else while(1){if((c|0)<=(b|0)){c=1;break a}c=c+-1|0;if(!(cI(d,c)|0)){c=0;break}}while(0);IB(d)}i=d;return c|0}function eI(b,d){b=b|0;d=d|0;var e=0,f=0;f=i;i=i+160|0;if(!(c[(c[b+12>>2]|0)+16>>2]|0))d=0;else{NM(f+144|0);switch(d|0){case 4:{d=a[b+68>>0]|0;e=a[b+70>>0]|0;if(a[b+69>>0]|0)dN(f+144|0,d<<24>>24!=e<<24>>24?130288:130296);fN(f+144|0,kC(c[(c[b+12>>2]|0)+16>>2]|0,c[b+24>>2]|0,d<<24>>24==e<<24>>24)|0);if(YH(b)|0)_H(b,f+144|0);break}case 3:{hI(b,f+144|0);break}case 0:{wd(f+72|0,b);do{fI(f+72|0,f+144|0);if(!(aI(f+72|0,1)|0))break}while((c[(c[f+84>>2]|0)+24>>2]|0)==(c[(c[b+12>>2]|0)+24>>2]|0));IB(f+72|0);break}case 1:{fI(b,f+144|0);break}case 2:{wd(f,b);PH(f);gI(f,f+144|0);IB(f);break}default:{}}e=(SM(f+144|0)|0)+1|0;d=XEa((e|0)>-1?e:-1)|0;b=c[f+144>>2]|0;RGa(d|0,VM(b)|0,e|0)|0;RM(b)}i=f;return d|0}function fI(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+80|0;wd(d,a);Qc[c[(c[d>>2]|0)+12>>2]&511](d);PH(d);a:do if(!(jD(d,3)|0))do{gI(d,b);if(!(c[(c[d+12>>2]|0)+24>>2]|0))break a}while(!(cI(d,1)|0));while(0);IB(d);i=d;return}function gI(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+48|0;do if(jD(b,3)|0)bd[c[(c[b>>2]|0)+20>>2]&63](b,3)|0;else{if(bI(b,1)|0){mF(k+28|0);jI(k+8|0);UH((a[b+68>>0]|0)!=0,b,k+8|0,k+28|0);f=(a[b+68>>0]|0)!=0?41200:41208;c[k>>2]=c[(c[b+12>>2]|0)+20>>2];c[k+4>>2]=f;jN(41160,k);f=c[k+8>>2]|0;if((f|0)>0){g=0;do{f=c[(mI(f,c[k+16>>2]|0,g)|0)>>2]|0;if(!f)jN(41328,k);else if((f|0)==1)jN(41336,k);else if((f|0)==2)jN(41344,k);else if((f|0)==3)jN(41352,k);else jN(41360,k);g=g+1|0;f=c[k+8>>2]|0}while((g|0)<(f|0))}jN(1714256,k);f=(a[b+68>>0]|0)!=0?41200:41208;c[k>>2]=c[(c[b+12>>2]|0)+20>>2];c[k+4>>2]=f;jN(41216,k);f=c[k+28>>2]|0;if((f|0)>0){g=0;do{c[k>>2]=c[(Ik(k+28|0,g)|0)>>2];jN(333280,k);g=g+1|0}while((g|0)<(f|0))}jN(1714256,k);kI(k+8|0);Jk(k+28|0);g=b+12|0}else g=b+12|0;j=0;do{if(!(a[b+71>>0]|0))f=(j|0)>0&1;else f=d[(c[(c[(c[g>>2]|0)+16>>2]|0)+4>>2]|0)+8>>0]|0;if(f){h=0;do{dN(e,1701816);h=h+1|0}while((h|0)<(f|0))}hI(b,e);j=j+1|0;if(!(bd[c[(c[b>>2]|0)+20>>2]&63](b,3)|0))break}while(!(bd[c[(c[b>>2]|0)+24>>2]&63](b,2)|0));if(bI(b,1)|0){c[k>>2]=j;jN(41256,k)}dN(e,c[b+60>>2]|0);if((c[(c[g>>2]|0)+24>>2]|0)!=0?!(bd[c[(c[b>>2]|0)+24>>2]&63](b,1)|0):0)break;dN(e,c[b+64>>2]|0)}while(0);i=k;return}function hI(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;j=i;i=i+32|0;e=c[(c[b+12>>2]|0)+16>>2]|0;if(e){if(!(c[e+140>>2]|0)){c[j>>2]=41024;c[j+4>>2]=601;$L(40928,41120,2,1702e3,j)}g=a[b+68>>0]|0;e=a[b+70>>0]|0;if(a[b+69>>0]|0)dN(d,g<<24>>24!=e<<24>>24?130288:130296);Ek(j+8|0);SH(b,j+8|0);f=c[j+8>>2]|0;if((f|0)>0){h=0;do{k=c[(c[b+12>>2]|0)+16>>2]|0;dN(d,kC(k,c[(Ik(j+8|0,h)|0)>>2]|0,g<<24>>24==e<<24>>24)|0);h=h+1|0}while((h|0)<(f|0))}_H(b,d);Jk(j+8|0)}i=j;return}function iI(a,b){a=a|0;b=b|0;var d=0;d=c[a+140>>2]|0;if((d|0)!=0?!((b|0)<0?1:(c[d+28>>2]|0)<=(b|0)):0){a=c[a+68>>2]|0;d=sC(a,bx(d,b)|0)|0}else d=10;return d|0}function jI(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;qI(a,4);return}function kI(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function lI(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){rI(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function mI(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)>-1&(a|0)>(c|0))return b+(c<<2)|0;else Ja(1701640,1701680,663,1701712);return 0}function nI(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if((b|0)<=0){c[d>>2]=1701680;c[d+4>>2]=669;$L(40928,375960,2,1702e3,d);b=c[a>>2]|0}i=d;return (c[a+8>>2]|0)+(b+-1<<2)|0}function oI(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;c[e+8>>2]=b;a:do if((c[a>>2]|0)>0){b=0;while(1){d=c[a+16>>2]|0;if(!d){c[e>>2]=1701680;c[e+4>>2]=722;$L(40928,42952,2,1702e3,e);d=c[a+16>>2]|0}if(Vc[c[(c[d>>2]|0)+8>>2]&63](d,e+8|0,(c[a+8>>2]|0)+(b<<2)|0)|0)break a;b=b+1|0;if((b|0)>=(c[a>>2]|0)){b=-1;break}}}else b=-1;while(0);i=e;return b|0}function pI(a){a=a|0;IB(a);YEa(a);return}function qI(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function rI(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)qI(a,4);else qI(a,b<<1);return}function sI(a,d,e,f,g,h,j,k){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+32|0;p=(g|0)==0?s+12|0:g;n=(h|0)==0?s+4|0:h;q=(j|0)==0?s+8|0:j;o=(k|0)==0?s:k;c[o>>2]=0;c[n>>2]=0;c[q>>2]=0;c[p>>2]=0;m=xI(a,d)|0;k=c[(Ik(a+164|0,d)|0)>>2]|0;if((k|0)>0){j=0;l=0;h=0;while(1){Eba(s+16|0,c[c[(Vy(c[a+72>>2]|0,j+m|0)|0)>>2]>>2]|0);if((b[s+18>>1]|0)<(e|0))if((b[s+22>>1]|0)>(f|0))if((h|0)==(j|0)){c[n>>2]=j;c[p>>2]=l;g=0;h=0}else{g=0;h=0}else{d=1;r=7}else{d=2;r=7}if((r|0)==7){r=0;g=d;h=(d|0)==(l|0)?h+1|0:1}j=j+1|0;if((j|0)==(k|0))break;else l=g}}else{g=0;h=0}c[o>>2]=h;c[q>>2]=g;i=s;return}function tI(d,e){d=d|0;e=e|0;var f=0,j=0.0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+80|0;if(((a[e+220>>0]|0)==0?(b[(c[e+4>>2]|0)+10>>1]&512)==0:0)?(c[e+140>>2]|0)!=0:0){uI(d,e,v+56|0,v+40|0,v+52|0,v+24|0,v+44|0,v+60|0,v+64|0,v+68|0);t=c[v+40>>2]|0;p=(t|0)==1?41368:41376;u=c[v+44>>2]|0;q=(u|0)==1?41368:41376;m=c[e+140>>2]|0;f=c[m+28>>2]|0;c[v+28>>2]=0;c[v+16>>2]=0;r=c[v+56>>2]|0;s=c[v+24>>2]|0;j=+g[v+68>>2];a:do if((s+r|0)<(f|0)&j<0.0){n=~~(+h[d+8344>>3]*128.0+64.0);o=~~(+h[d+8304>>3]*128.0+64.0);l=+g[(c[m+20>>2]|0)+(f+-1-s<<2)>>2];do if(!((bx(m,f+-1-s|0)|0)==0|!(l<=j))){sI(e,f+-1-s|0,n,o,0,0,v+36|0,v+16|0);if(!((s|0)<1?1:(c[v+36>>2]|0)==(u|0))){c[v+16>>2]=0;break}m=c[v+16>>2]|0;if((m|0)>0?l<+g[v+60>>2]:0)g[v+60>>2]=l;if((m|0)!=0?(r+1+s|0)>=(f|0):0)break a}while(0);m=c[e+140>>2]|0;l=+g[(c[m+20>>2]|0)+(r<<2)>>2];if((bx(m,r)|0)!=0?+(~~l|0)<=j:0){sI(e,r,n,o,v+32|0,v+28|0,0,0);if(!((r|0)<1?1:(c[v+32>>2]|0)==(t|0))){c[v+28>>2]=0;break}if((c[v+28>>2]|0)>0?+(~~l|0)<+g[v+52>>2]:0)g[v+52>>2]=+(~~l|0)}}while(0);if((s+r+(c[v+28>>2]|0)|0)!=(0-(c[v+16>>2]|0)|0)){if((c[d+8156>>2]|0)>0){c[v>>2]=VM(c[(jk(c[e+140>>2]|0)|0)>>2]|0)|0;jN(41384,v);m=c[v+28>>2]|0;if(m|r){c[v>>2]=r;c[v+4>>2]=m;c[v+8>>2]=p;jN(41432,v)}m=c[v+16>>2]|0;if(m|s){c[v>>2]=s;c[v+4>>2]=m;c[v+8>>2]=q;jN(41456,v)}jN(358704,v);f=c[d+8156>>2]|0;if((f|0)>2){Sia(c[e+140>>2]|0,1714496);f=c[d+8156>>2]|0}if((f|0)>1){h[k>>3]=+g[v+64>>2];c[v>>2]=c[k>>2];c[v+4>>2]=c[k+4>>2];h[k>>3]=j;c[v+8>>2]=c[k>>2];c[v+12>>2]=c[k+4>>2];jN(41480,v);if(r){h[k>>3]=+g[v+52>>2];c[v>>2]=c[k>>2];c[v+4>>2]=c[k+4>>2];jN(41536,v)}if(s){h[k>>3]=+g[v+60>>2];c[v>>2]=c[k>>2];c[v+4>>2]=c[k+4>>2];jN(41568,v)}jN(1714256,v)}}r=xI(e,r)|0;r=(c[v+28>>2]|0)+r|0;m=yI(e,s)|0;m=(c[v+16>>2]|0)+m|0;c[v+20>>2]=0;c[v+48>>2]=0;a[v+72>>0]=0;j=+g[v+52>>2];l=+g[v+60>>2];m=vI(d,r,j,t,m,l,u,e,v+72|0,v+20|0,v+48|0)|0;if(!(a[v+72>>0]|0)){f=c[v+20>>2]|0;if(c[v+48>>2]|f){f=xI(m,f)|0;f=vI(d,f,j,t,yI(m,c[v+48>>2]|0)|0,l,u,m,v+72|0,v+20|0,v+48|0)|0;if(a[v+72>>0]|0)wga(e,f);if(f){Qga(f);YEa(f)}}}else wga(e,m);if(m){Qga(m);YEa(m)}}}i=v;return}function uI(a,d,e,f,j,k,l,m,n,o){a=a|0;d=d|0;e=e|0;f=f|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0.0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0.0;C=i;i=i+16|0;g[o>>2]=0.0;g[n>>2]=0.0;c[k>>2]=0;c[e>>2]=0;g[m>>2]=0.0;g[j>>2]=0.0;x=~~(+h[a+8344>>3]*128.0+64.0);y=~~(+h[a+8304>>3]*128.0+64.0);c[l>>2]=0;c[f>>2]=0;s=c[d+156>>2]|0;B=c[s>>2]|0;a:do if((B|0)>0){t=s;r=0;w=0;u=0;q=0.0;s=0;v=0;p=0.0;while(1){Eba(C,c[c[(Vy(t,r)|0)>>2]>>2]|0);if((b[C+2>>1]|0)<(x|0))if((b[C+6>>1]|0)>(y|0)){if(bx(c[d+140>>2]|0,r)|0){D=+g[(c[(c[d+140>>2]|0)+20>>2]|0)+(r<<2)>>2];q=q+D;s=s+1|0;p=D>2]=w;A=v;u=0;v=0}else{A=u;u=0;v=0}}else{t=1;z=10}else{t=2;z=10}if((z|0)==10){z=0;A=u;u=t;v=(w|0)==(t|0)?v+1|0:1}r=r+1|0;if((r|0)==(B|0))break;t=c[d+156>>2]|0;w=u;u=A}c[l>>2]=u;if((s|0)>2){q=q-p;s=s+-1|0}if((s|0)>0){D=q/+(s|0);g[n>>2]=D;g[o>>2]=+h[a+8184>>3]*D}if(!((s|0)==0|(A|v|0)==0)){g[j>>2]=0.0;c[e>>2]=0;b:do if((A|0)>0){s=c[(c[d+140>>2]|0)+20>>2]|0;r=0;p=0.0;while(1){q=+g[s+(r<<2)>>2];if(q>+g[o>>2])break b;if(q>2]=q;else q=p;r=r+1|0;c[e>>2]=r;if((r|0)>=(A|0))break;else p=q}}while(0);g[m>>2]=0.0;c[k>>2]=0;if((v|0)>0){r=c[(c[d+140>>2]|0)+20>>2]|0;s=0;q=0.0;while(1){p=+g[r+(B+-1-s<<2)>>2];if(p>+g[o>>2])break a;if(p>2]=p;else p=q;s=s+1|0;c[k>>2]=s;if((s|0)>=(v|0))break;else q=p}}}}else c[l>>2]=0;while(0);i=C;return}function vI(b,d,e,f,g,j,k,l,m,n,o){b=b|0;d=d|0;e=+e;f=f|0;g=g|0;j=+j;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+32|0;q=c[c[l+72>>2]>>2]|0;c[o>>2]=0;c[n>>2]=0;c[v+20>>2]=0;c[v+16>>2]=0;c[v+12>>2]=0;c[v+8>>2]=0;p=WEa(260)|0;qy(p,l);if((d|0)>0)TJ(b,p,d,v+12|0,v+20|0);else{c[v+12>>2]=p;p=0}if((g|0)>0)TJ(b,c[v+12>>2]|0,q-(g+d)|0,v+8|0,v+16|0);s=c[b+1900>>2]|0;r=c[b+1948>>2]|0;t=(p|0)!=0;if(t){c[b+1900>>2]=0;c[b+1948>>2]=0;if((c[b+8156>>2]|0)>2){c[v>>2]=d;jN(41600,v)}RJ(b,p);if((c[b+8156>>2]|0)>1){l=tia(f)|0;u=VM(c[(jk(c[p+140>>2]|0)|0)>>2]|0)|0;c[v>>2]=l;c[v+4>>2]=u;jN(41640,v)}c[b+1900>>2]=s;c[b+1948>>2]=r;u=b+8156|0}else u=b+8156|0;if((c[u>>2]|0)>2){c[v>>2]=q-(g+d);jN(41680,v)}q=c[v+8>>2]|0;if(!q)s=0;else{c[b+1900>>2]=0;c[b+1948>>2]=0;if((c[u>>2]|0)>2){c[v>>2]=g;jN(41720,v)}RJ(b,q);if((c[u>>2]|0)>1){d=tia(k)|0;g=VM(c[(jk(c[q+140>>2]|0)|0)>>2]|0)|0;c[v>>2]=d;c[v+4>>2]=g;jN(41760,v)}c[b+1900>>2]=s;c[b+1948>>2]=r;s=q}if(t)q=wI(b,(c[u>>2]|0)>0,p,e*+h[b+8224>>3],n,0)|0;else q=1;r=(s|0)==0;if(r)l=1;else l=(wI(b,(c[u>>2]|0)>0,s,j*+h[b+8224>>3],0,o)|0)&1;g=q?l:0;a[m>>0]=g;if((g<<24>>24==0?(c[n>>2]|0)==0:0)?(c[o>>2]|0)==0:0){l=c[v+12>>2]|0;if(l){Qga(l);YEa(l)}if(p){Qga(p);YEa(p)}if(r)p=0;else{Qga(s);YEa(s);p=0}}else{l=c[v+12>>2]|0;RJ(b,l);if(!r){Cga(s,k);UJ(b,l,s,c[v+16>>2]|0)}if(t){Cga(p,f);UJ(b,p,l,c[v+20>>2]|0);c[v+12>>2]=p}else p=l;if((c[u>>2]|0)>0){k=(a[m>>0]|0)!=0?41824:41832;m=VM(c[(jk(c[p+140>>2]|0)|0)>>2]|0)|0;c[v>>2]=k;c[v+4>>2]=m;jN(41800,v)}}i=v;return p|0}function wI(d,e,f,j,l,m){d=d|0;e=e|0;f=f|0;j=+j;l=l|0;m=m|0;var n=0,o=0.0,p=0,q=0,r=0,s=0.0,t=0.0,u=0,v=0.0,w=0,x=0,y=0.0,z=0,A=0,B=0,C=0;C=i;i=i+48|0;A=c[f+140>>2]|0;n=c[A+28>>2]|0;if((n|0)>0){z=0;q=0;p=0;o=0.0;do{u=c[(Vy(c[f+156>>2]|0,z)|0)>>2]|0;w=bx(A,z)|0;y=+g[(c[A+20>>2]|0)+(z<<2)>>2];x=Zz(c[A+4>>2]|0,w)|0;n=c[f+228>>2]|0;if(!n)n=0;else n=(c[n+4>>2]&1|0)!=0;r=uga(f,z)|0;if((r|0)!=0?(c[d+1996>>2]|0)>0:0){n=b[r+28>>1]|0;if(n<<16>>16>-1?(n=(c[(Ex(d+1996|0,n<<16>>16)|0)+4>>2]&1|0)==0,B=b[r+30>>1]|0,!n):0)if(B<<16>>16<0)n=1;else n=(c[(Ex(d+1996|0,B<<16>>16)|0)+4>>2]&1|0)!=0;else n=0}Eba(C+40|0,c[u>>2]|0);v=+((ll(C+40|0)|0)<<16>>16);r=c[A+4>>2]|0;if(a[r+32>>0]|0){FB(r,w,C+32|0,C+28|0,C+24|0,C+20|0);s=(+((c[C+20>>2]|0)-(c[C+28>>2]|0)|0)+ +((c[C+24>>2]|0)-(c[C+32>>2]|0)|0))*.5;if(!(s>=128.0))t=1.0;else t=v/s}else{t=1.0;s=v}u=t<+h[d+8264>>3];if(e){if(n)jN(41840,C);if(x)jN(41880,C);r=MN(c[A+4>>2]|0,w)|0;if(y>2]=r;h[k>>3]=y;c[C+4>>2]=c[k>>2];c[C+8>>2]=c[k+4>>2];h[k>>3]=j;c[C+12>>2]=c[k>>2];c[C+16>>2]=c[k+4>>2];jN(41920,C)}if(u){c[C>>2]=r;h[k>>3]=v;c[C+4>>2]=c[k>>2];c[C+8>>2]=c[k+4>>2];h[k>>3]=s;c[C+12>>2]=c[k>>2];c[C+16>>2]=c[k+4>>2];jN(42016,C);r=24}else r=23}else r=23;if((r|0)==23){r=0;if(y>2]|0}while((z|0)<(n|0))}else{q=0;p=0;o=0.0}n=(p|0)==(n|0);if(n&e){h[k>>3]=o;c[C>>2]=c[k>>2];c[C+4>>2]=c[k+4>>2];jN(42088,C)}if(!n){if(l)c[l>>2]=q;if(m)c[m>>2]=p}i=C;return n|0}function xI(a,b){a=a|0;b=b|0;var d=0,e=0;if((b|0)>0){e=0;d=0;do{d=(c[(Ik(a+164|0,e)|0)>>2]|0)+d|0;e=e+1|0}while((e|0)!=(b|0))}else d=0;return d|0}function yI(a,b){a=a|0;b=b|0;var d=0,e=0;if((b|0)>0){e=0;d=0;do{d=(c[(Ik(a+164|0,(c[a+164>>2]|0)+~e|0)|0)>>2]|0)+d|0;e=e+1|0}while((e|0)!=(b|0))}else d=0;return d|0}function zI(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0;if(!(b[(c[f+4>>2]|0)+10>>1]&256)){g=0;h=0}else{h=a[d+4174>>0]|0;g=a[d+4354>>0]|0;a[d+4174>>0]=0;a[d+4354>>0]=0}if((e|0)==1)hT(d);else iT(d);QJ(d,f);if(!(c[f+140>>2]|0))$fa(f,c[f+68>>2]|0);if(b[(c[f+4>>2]|0)+10>>1]&256){a[d+4174>>0]=h;a[d+4354>>0]=g}return}function AI(a,b){a=a|0;b=b|0;return vna(a+2744|0,b)|0}function BI(a,b){a=a|0;b=b|0;Dma(a+2744|0,b);return}function CI(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;OM(g,a+4|0);dN(g,42144);dN(g,b);e=c[g>>2]|0;f=fc(VM(e)|0,377400)|0;do if(!f){aN(g,a+4|0);dN(g,42160);dN(g,b);e=c[g>>2]|0;f=fc(VM(e)|0,377400)|0;if(!f){fN(g,b);e=c[g>>2]|0;break}else{Yb(f|0)|0;break}}else Yb(f|0)|0;while(0);lM(VM(e)|0,d,a+364|0);RM(e);i=g;return}function DI(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;j=i;i=i+96|0;dM(b,d,e);fN(b+12|0,(f|0)!=0?f:42176);aN(b+16|0,b+4|0);bN(b+16|0,b+12|0);dN(b+16|0,1717208);PM(j+88|0,42184);gN(j+92|0,b+16|0,j+88|0);RM(c[j+88>>2]|0);e=c[j+92>>2]|0;f=VM(e)|0;do if(iN(b+24|0,f,c[b+9260>>2]|0)|0){if(KI(b+24|0,0)|0?(d=c[b+168>>2]|0,f=LI(b+24|0,0)|0,mM(d,f,F,0,b+364|0),(c[b+9260>>2]|0)!=0):0)jN(42200,j);do if((SM(b+5444|0)|0)>0){d=fc(VM(c[b+5444>>2]|0)|0,377008)|0;if(!d){c[j>>2]=VM(c[b+5444>>2]|0)|0;jN(42256,j);break}oM(d,b+364|0);Yb(d|0)|0;if((c[b+9260>>2]|0)>0){c[j>>2]=VM(c[b+5444>>2]|0)|0;jN(42232,j)}}while(0);if((g|0)!=3)c[b+5284>>2]=g;if(c[b+9260>>2]|0){c[j>>2]=c[b+5284>>2];jN(42296,j)}if(a[b+9410>>0]|0){if(!(c[b+9260>>2]|0)){d=1;break}jN(42360,j);d=1;break}if(KI(b+24|0,1)|0?_N(b+184|0,c[b+168>>2]|0)|0:0){if((c[b+192>>2]|0)>32767){jN(42400,j);d=0;break}if(c[b+9260>>2]|0)jN(42464,j);a[b+12904>>0]=(bO(b+184|0)|0)&1;CN(j+16|0);VN(j+16|0,b+184|0);CK(b+256|0,b+184|0,(a[b+518>>0]|0)!=0);DK(b+256|0,j+16|0,b+184|0);if((a[b+5378>>0]|0)==0?KI(b+24|0,2)|0:0){wM(j+4|0);f=c[b+168>>2]|0;g=LI(b+24|0,2)|0;g=QGa(g|0,F|0,1,0)|0;zM(j+4|0,f,g,F);EK(b+256|0,j+16|0,j+4|0,c[b+480>>2]|0,(a[b+518>>0]|0)!=0,b+184|0);if(c[b+9260>>2]|0)jN(42488,j);xM(c[j+8>>2]|0,a[j+12>>0]|0)}d=0;while(1){c[(c[b+5128>>2]|0)+776>>2]=d;if(KI(b+24|0,16)|0?(l=c[b+5128>>2]|0,k=VM(c[b+12>>2]|0)|0,f=c[b+168>>2]|0,g=LI(b+24|0,16)|0,!(wS(l+772|0,k,f,g,F)|0)):0){d=0;break}d=d+1|0;if((d|0)>=2){h=32;break}}if((h|0)==32)if(!(c[b+9260>>2]|0))d=1;else{sS((c[b+5128>>2]|0)+772|0);d=1}EN(j+16|0)}else d=0}else d=0;while(0);RM(e);i=j;return d|0}function EI(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;l=i;i=i+32|0;PM(l+16|0,d);while(1){j=(SM(l+16|0)|0)>0;d=c[l+16>>2]|0;if(!j)break;g=VM(d)|0;while(1){d=a[g>>0]|0;if(d<<24>>24==126){k=6;break}else if(d<<24>>24!=43){j=e;break}g=g+1|0}if((k|0)==6){k=0;g=g+1|0;j=f}d=SGa(g|0)|0;h=FEa(g,43)|0;if(h){h=h-g|0;d=(h|0)<(d|0)?h:d}PM(l+12|0,g);TM(l+12|0,d);PM(l+8|0,g+d|0);aN(l+16|0,l+8|0);if(!(MI(l+12|0,j)|0)){if(c[b+9260>>2]|0){c[l>>2]=VM(c[l+12>>2]|0)|0;jN(42504,l)}OM(l+4|0,l+12|0);Wj(j,l+4|0);RM(c[l+4>>2]|0)}RM(c[l+8>>2]|0);RM(c[l+12>>2]|0)}RM(d);i=l;return}function FI(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+48|0;ek(n+24|0);ek(n+4|0);EI(b,f,n+24|0,n+4|0);NI(b+12964|0);OI(b+12964|0);if((c[n+24>>2]|0)>0){l=0;f=0;do{do if(!(MI(fk(n+24|0,l)|0,n+4|0)|0)){j=VM(c[(fk(n+24|0,l)|0)>>2]|0)|0;if(f){k=WEa(13e3)|0;hJ(k)}else k=b;h=(GI(k,d,e,j,g)|0)<0;if(!f){if(h){c[n>>2]=j;jN(42536,n);f=0;break}if(c[b+9260>>2]|0){c[n>>2]=j;jN(42568,n)}EI(b,VM(c[k+9284>>2]|0)|0,n+24|0,n+4|0);f=1;break}if(h){c[n>>2]=j;jN(42536,n);if(!k){f=1;break}Qc[c[(c[k>>2]|0)+4>>2]&511](k);f=1;break}if(c[b+9260>>2]|0){c[n>>2]=j;jN(42608,n)}PI(b+12964|0,k);EI(b,VM(c[k+9284>>2]|0)|0,n+24|0,n+4|0);f=1}while(0);l=l+1|0}while((l|0)<(c[n+24>>2]|0));if(f){f=c[b+12964>>2]|0;do if(f){if(!(a[b+9306>>0]|0)){QI((c[b+5128>>2]|0)+772|0);if((c[b+12964>>2]|0)>0){f=0;do{QI((c[(c[(Xj(b+12964|0,f)|0)>>2]|0)+5128>>2]|0)+772|0);f=f+1|0}while((f|0)<(c[b+12964>>2]|0))}if(!(c[b+9260>>2]|0))break;jN(42744,n);break}if((f|0)>0){f=0;do{e=(c[(c[(Xj(b+12964|0,f)|0)>>2]|0)+5128>>2]|0)+772|0;tS(e,(c[b+5128>>2]|0)+772|0);f=f+1|0}while((f|0)<(c[b+12964>>2]|0))}jN(42696,n);if(c[b+9260>>2]|0)sS((c[b+5128>>2]|0)+772|0)}while(0);HI(b);f=0}else m=20}else m=20;if((m|0)==20){jN(42656,n);f=-1}Vj(n+4|0);Vj(n+24|0);i=n;return f|0}function GI(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;do if(DI(b,d,e,f,g)|0){if(a[b+9410>>0]|0){RI(b+24|0);f=0;break}f=c[b+5284>>2]|0;if(f)if((f|0)==1){f=(f|0)==2;d=(KI(b+24|0,11)|0)^1}else{f=(f|0)==2;d=1}else{f=1;d=1}eT(b,e,f,d);RI(b+24|0);f=0}else f=-1;while(0);return f|0}function HI(a){a=a|0;var b=0,d=0;d=i;i=i+32|0;SI(d);c[d+20>>2]=0;b=TI()|0;c[d+16>>2]=b;c[d+20>>2]=b;UI(a+1996|0,d);if((c[a+12964>>2]|0)>0){b=0;do{UI((c[(Xj(a+12964|0,b)|0)>>2]|0)+1996|0,d);b=b+1|0}while((b|0)<(c[a+12964>>2]|0))}WI(d,a+1996|0);if((c[a+12964>>2]|0)>0){b=0;do{WI(d,(c[(Xj(a+12964|0,b)|0)>>2]|0)+1996|0);b=b+1|0}while((b|0)<(c[a+12964>>2]|0))}c[a+12988>>2]=c[d>>2];VI(d);i=d;return}function II(a,b,c){a=a|0;b=b|0;c=c|0;if(DI(a,b,0,c,0)|0){yma(a+2744|0,xma()|0);RI(a+24|0);b=0}else b=-1;return b|0}function JI(a){a=a|0;fT(a);return}function KI(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;i=i+16|0;if(c[a+148>>2]|0){f=c[a+(b<<3)+4>>2]|0;e=c[43104+(b<<2)>>2]|0;c[d>>2]=c[a+(b<<3)>>2];c[d+4>>2]=f;c[d+8>>2]=b;c[d+12>>2]=e;jN(43032,d)}if((c[a+(b<<3)+4>>2]|0)>=0)if(!(Wb(c[a+144>>2]|0,c[a+(b<<3)>>2]|0,0)|0))b=1;else{c[d>>2]=43264;c[d+4>>2]=173;$L(42136,43176,2,1702e3,d);b=1}else b=0;i=d;return b|0}function LI(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;e=c[a+136>>2]|0;f=b;do{f=f+1|0;if((f|0)>=(e|0))break;d=a+(f<<3)|0}while((c[d>>2]|0)==-1?(c[d+4>>2]|0)==-1:0);if(c[a+148>>2]|0){if((f|0)==(e|0)){e=-1;d=-1}else{d=a+(f<<3)|0;e=c[d>>2]|0;d=c[d+4>>2]|0}c[g>>2]=b;c[g+4>>2]=e;c[g+8>>2]=d;jN(42976,g);e=c[a+136>>2]|0}if((f|0)==(e|0)){d=-1;e=-1}else{e=a+(f<<3)|0;e=QGa(c[e>>2]|0,c[e+4>>2]|0,-1,-1)|0;d=F}F=d;i=g;return e|0}function MI(a,b){a=a|0;b=b|0;var d=0;a:do if((c[b>>2]|0)>0){d=0;while(1){if((ZM(fk(b,d)|0,a)|0)<<24>>24){d=1;break a}d=d+1|0;if((d|0)>=(c[b>>2]|0)){d=0;break}}}else d=0;while(0);return d|0}function NI(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if((b|0)>0){e=0;do{d=c[(c[a+8>>2]|0)+(e<<2)>>2]|0;if(d){Qc[c[(c[d>>2]|0)+4>>2]&511](d);b=c[a>>2]|0}e=e+1|0}while((e|0)<(b|0))}return}function OI(a){a=a|0;var b=0,d=0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){Rc[c[(c[b>>2]|0)+8>>2]&63](b,c[(c[a+8>>2]|0)+(d<<2)>>2]|0);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}return}function PI(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){_I(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function QI(a){a=a|0;rA(a+8|0);rA(a+28|0);return}function RI(a){a=a|0;var b=0;b=c[a+144>>2]|0;if(b){Yb(b|0)|0;c[a+144>>2]=0}return}function SI(a){a=a|0;c[a+0>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;$I(a,4);return}function TI(){var a=0;a=WEa(8)|0;c[a>>2]=42784;c[a+4>>2]=34;return a|0}function UI(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((c[a>>2]|0)>0){d=0;do{f=Ex(a,d)|0;c[e+0>>2]=c[f+0>>2];c[e+4>>2]=c[f+4>>2];c[e+8>>2]=c[f+8>>2];c[e+12>>2]=c[f+12>>2];aJ(b,e);d=d+1|0}while((d|0)<(c[a>>2]|0))}i=e;return}function VI(a){a=a|0;bJ(a);bJ(a);return}function WI(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((c[b>>2]|0)>0){d=0;do{f=Ex(b,d)|0;c[e+0>>2]=c[f+0>>2];c[e+4>>2]=c[f+4>>2];c[e+8>>2]=c[f+8>>2];c[e+12>>2]=c[f+12>>2];f=cJ(a,e)|0;c[(Ex(b,d)|0)+8>>2]=f;d=d+1|0}while((d|0)<(c[b>>2]|0))}i=e;return}function XI(a){a=a|0;return}function YI(a){a=a|0;YEa(a);return}function ZI(a,b,d){a=a|0;b=b|0;d=d|0;return bd[c[a+4>>2]&63](b,d)|0}function _I(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)dJ(a,4);else dJ(a,b<<1);return}function $I(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){g=XEa(b>>>0>268435455|b<<4>>>0>4294967291?-1:(b<<4)+4|0)|0;c[g>>2]=b;if(b){d=g+4|0;do{c[d+0>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;d=d+16|0}while((d|0)!=(g+4+(b<<4)|0))}e=c[a>>2]|0;d=c[a+8>>2]|0;if((e|0)>0){f=0;do{h=g+4+(f<<4)|0;i=d+(f<<4)|0;c[h+0>>2]=c[i+0>>2];c[h+4>>2]=c[i+4>>2];c[h+8>>2]=c[i+8>>2];c[h+12>>2]=c[i+12>>2];f=f+1|0}while((f|0)!=(e|0))}if(d)ZEa(d+-4|0);c[a+8>>2]=g+4;c[a+4>>2]=b}return}function aJ(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+32|0;c[d+16>>2]=c[b+0>>2];c[d+20>>2]=c[b+4>>2];c[d+24>>2]=c[b+8>>2];c[d+28>>2]=c[b+12>>2];if((cJ(a,d+16|0)|0)==-1){c[d+0>>2]=c[b+0>>2];c[d+4>>2]=c[b+4>>2];c[d+8>>2]=c[b+8>>2];c[d+12>>2]=c[b+12>>2];eJ(a,d)|0}i=d;return}function bJ(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=i;i=i+16|0;if((c[a+4>>2]|0)>0){b=c[a+12>>2]|0;a:do if((b|0)!=0?(c[a>>2]|0)>0:0){d=0;while(1){f=c[(c[b>>2]|0)+8>>2]|0;g=(c[a+8>>2]|0)+(d<<4)|0;c[e+0>>2]=c[g+0>>2];c[e+4>>2]=c[g+4>>2];c[e+8>>2]=c[g+8>>2];c[e+12>>2]=c[g+12>>2];Rc[f&63](b,e);d=d+1|0;if((d|0)>=(c[a>>2]|0))break a;b=c[a+12>>2]|0}}while(0);b=c[a+8>>2]|0;if(b)ZEa(b+-4|0);c[a+8>>2]=0;c[a>>2]=0;c[a+4>>2]=0}b=c[a+12>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+12>>2]=0}b=c[a+16>>2]|0;if(b){Qc[c[(c[b>>2]|0)+4>>2]&511](b);c[a+16>>2]=0}i=e;return}function cJ(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d+0>>2]=c[b+0>>2];c[d+4>>2]=c[b+4>>2];c[d+8>>2]=c[b+8>>2];c[d+12>>2]=c[b+12>>2];a=fJ(a,d)|0;i=d;return a|0}function dJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!((b|0)<1?1:(c[a+4>>2]|0)>=(b|0))){d=XEa(b>>>0>1073741823?-1:b<<2)|0;e=c[a>>2]|0;f=c[a+8>>2]|0;if((e|0)>0){g=0;do{c[d+(g<<2)>>2]=c[f+(g<<2)>>2];g=g+1|0}while((g|0)!=(e|0))}if(f)ZEa(f);c[a+8>>2]=d;c[a+4>>2]=b}return}function eJ(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){gJ(a);d=c[a>>2]|0}c[a>>2]=d+1;a=(c[a+8>>2]|0)+(d<<4)|0;c[a+0>>2]=c[b+0>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];return d|0}function fJ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+16|0;a:do if((c[a>>2]|0)>0){d=0;while(1){e=c[a+16>>2]|0;if(!e){c[f>>2]=1701680;c[f+4>>2]=722;$L(42136,42952,2,1702e3,f);e=c[a+16>>2]|0}if(Vc[c[(c[e>>2]|0)+8>>2]&63](e,b,(c[a+8>>2]|0)+(d<<4)|0)|0)break a;d=d+1|0;if((d|0)>=(c[a>>2]|0)){d=-1;break}}}else d=-1;while(0);i=f;return d|0}function gJ(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)$I(a,4);else $I(a,b<<1);return} -function js(a,b,d,e,f,g,h,j,k,l,m,o,p,q,r,s){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;o=o|0;p=p|0;q=q|0;r=r|0;s=s|0;var t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;H=i;i=i+16|0;if((e|0)!=1){b=ba(e,b)|0;r=ba(r,e)|0;o=ba(o,e)|0;g=ba(g,e)|0;j=ba(j,e)|0}if((g|0)<0){e=0;r=r-g|0;j=g+j|0}else e=g;if((r|0)<0){e=e-r|0;x=0;j=j+r|0}else x=r;G=j-b+e|0;G=j-((G|0)>0?G:0)|0;z=x-o+G|0;z=G-((z|0)>0?z:0)|0;if((h|0)<0){k=k+h|0;b=0;s=s-h|0}else b=h;if((s|0)<0){k=s+k|0;b=b-s|0;s=0}F=k-d+b|0;F=k-((F|0)>0?F:0)|0;G=s-p+F|0;G=F-((G|0)>0?G:0)|0;a:do if(!((z|0)<1|(G|0)<1)){k=e&31;o=x&31;if(!((e|x)&31)){h=(z&31|0)!=0;if(h)d=c[21816+((z&31)<<2)>>2]|0;else d=0;u=ba(s,q)|0;v=x>>5;w=ba(b,f)|0;x=e>>5;do switch(l|0){case 4:{if((G|0)<=0)break a;k=~d;s=0;j=m+((z>>5)+v+u<<2)|0;e=a+((z>>5)+x+w<<2)|0;while(1){o=m+((ba(s,q)|0)+(u+v)<<2)|0;b=a+((ba(s,f)|0)+(w+x)<<2)|0;if((z>>5|0)>0){r=0;while(1){c[b>>2]=c[b>>2]&~c[o>>2];r=r+1|0;if((r|0)==(z>>5|0)){b=e;o=j;break}else{b=b+4|0;o=o+4|0}}}if(h){F=c[b>>2]|0;c[b>>2]=F&d&~c[o>>2]|F&k}s=s+1|0;if((s|0)==(G|0))break a;else{j=j+(q<<2)|0;e=e+(f<<2)|0}}}case 28:{if((G|0)<=0)break a;k=~d;s=0;j=m+((z>>5)+v+u<<2)|0;e=a+((z>>5)+x+w<<2)|0;while(1){o=m+((ba(s,q)|0)+(u+v)<<2)|0;b=a+((ba(s,f)|0)+(w+x)<<2)|0;if((z>>5|0)>0){r=0;while(1){c[b>>2]=c[b>>2]|c[o>>2];r=r+1|0;if((r|0)==(z>>5|0)){b=e;o=j;break}else{b=b+4|0;o=o+4|0}}}if(h){F=c[b>>2]|0;c[b>>2]=(c[o>>2]|F)&d|F&k}s=s+1|0;if((s|0)==(G|0))break a;else{j=j+(q<<2)|0;e=e+(f<<2)|0}}}case 16:{if((G|0)<=0)break a;k=~d;s=0;j=m+((z>>5)+v+u<<2)|0;e=a+((z>>5)+x+w<<2)|0;while(1){o=m+((ba(s,q)|0)+(u+v)<<2)|0;b=a+((ba(s,f)|0)+(w+x)<<2)|0;if((z>>5|0)>0){r=0;while(1){c[b>>2]=c[b>>2]&c[o>>2];r=r+1|0;if((r|0)==(z>>5|0)){b=e;o=j;break}else{b=b+4|0;o=o+4|0}}}if(h){F=c[b>>2]|0;c[b>>2]=F&d&c[o>>2]|F&k}s=s+1|0;if((s|0)==(G|0))break a;else{j=j+(q<<2)|0;e=e+(f<<2)|0}}}case 22:{if((G|0)<=0)break a;k=~d;s=0;j=m+((z>>5)+v+u<<2)|0;e=a+((z>>5)+x+w<<2)|0;while(1){o=m+((ba(s,q)|0)+(u+v)<<2)|0;b=a+((ba(s,f)|0)+(w+x)<<2)|0;if((z>>5|0)>0){r=0;while(1){c[b>>2]=c[b>>2]|~c[o>>2];r=r+1|0;if((r|0)==(z>>5|0)){b=e;o=j;break}else{b=b+4|0;o=o+4|0}}}if(h){F=c[b>>2]|0;c[b>>2]=(F|~c[o>>2])&d|F&k}s=s+1|0;if((s|0)==(G|0))break a;else{j=j+(q<<2)|0;e=e+(f<<2)|0}}}case 26:{if((G|0)<=0)break a;k=~d;s=0;j=m+((z>>5)+v+u<<2)|0;e=a+((z>>5)+x+w<<2)|0;while(1){o=m+((ba(s,q)|0)+(u+v)<<2)|0;b=a+((ba(s,f)|0)+(w+x)<<2)|0;if((z>>5|0)>0){r=0;while(1){c[b>>2]=c[o>>2]|~c[b>>2];r=r+1|0;if((r|0)==(z>>5|0)){b=e;o=j;break}else{b=b+4|0;o=o+4|0}}}if(h){F=c[b>>2]|0;c[b>>2]=(c[o>>2]|~F)&d|F&k}s=s+1|0;if((s|0)==(G|0))break a;else{j=j+(q<<2)|0;e=e+(f<<2)|0}}}case 2:{if((G|0)<=0)break a;k=~d;s=0;j=m+((z>>5)+v+u<<2)|0;e=a+((z>>5)+x+w<<2)|0;while(1){o=m+((ba(s,q)|0)+(u+v)<<2)|0;b=a+((ba(s,f)|0)+(w+x)<<2)|0;if((z>>5|0)>0){r=0;while(1){c[b>>2]=~(c[b>>2]|c[o>>2]);r=r+1|0;if((r|0)==(z>>5|0)){b=e;o=j;break}else{b=b+4|0;o=o+4|0}}}if(h){F=c[b>>2]|0;c[b>>2]=d&~(c[o>>2]|F)|F&k}s=s+1|0;if((s|0)==(G|0))break a;else{j=j+(q<<2)|0;e=e+(f<<2)|0}}}case 6:{if((G|0)<=0)break a;k=~d;s=0;j=m+((z>>5)+v+u<<2)|0;e=a+((z>>5)+x+w<<2)|0;while(1){o=m+((ba(s,q)|0)+(u+v)<<2)|0;b=a+((ba(s,f)|0)+(w+x)<<2)|0;if((z>>5|0)>0){r=0;while(1){c[b>>2]=~c[o>>2];r=r+1|0;if((r|0)==(z>>5|0)){b=e;o=j;break}else{b=b+4|0;o=o+4|0}}}if(h)c[b>>2]=d&~c[o>>2]|c[b>>2]&k;s=s+1|0;if((s|0)==(G|0))break a;else{j=j+(q<<2)|0;e=e+(f<<2)|0}}}case 18:{if((G|0)<=0)break a;k=~d;s=0;j=m+((z>>5)+v+u<<2)|0;e=a+((z>>5)+x+w<<2)|0;while(1){o=m+((ba(s,q)|0)+(u+v)<<2)|0;b=a+((ba(s,f)|0)+(w+x)<<2)|0;if((z>>5|0)>0){r=0;while(1){c[b>>2]=c[b>>2]^~c[o>>2];r=r+1|0;if((r|0)==(z>>5|0)){b=e;o=j;break}else{b=b+4|0;o=o+4|0}}}if(h){F=c[b>>2]|0;c[b>>2]=(c[o>>2]^~F)&d|F&k}s=s+1|0;if((s|0)==(G|0))break a;else{j=j+(q<<2)|0;e=e+(f<<2)|0}}}case 14:{if((G|0)<=0)break a;k=~d;s=0;j=m+((z>>5)+v+u<<2)|0;e=a+((z>>5)+x+w<<2)|0;while(1){o=m+((ba(s,q)|0)+(u+v)<<2)|0;b=a+((ba(s,f)|0)+(w+x)<<2)|0;if((z>>5|0)>0){r=0;while(1){c[b>>2]=~(c[b>>2]&c[o>>2]);r=r+1|0;if((r|0)==(z>>5|0)){b=e;o=j;break}else{b=b+4|0;o=o+4|0}}}if(h){F=c[b>>2]|0;c[b>>2]=d&~(c[o>>2]&F)|F&k}s=s+1|0;if((s|0)==(G|0))break a;else{j=j+(q<<2)|0;e=e+(f<<2)|0}}}case 12:{if((G|0)<=0)break a;k=~d;s=0;j=m+((z>>5)+v+u<<2)|0;e=a+((z>>5)+x+w<<2)|0;while(1){o=m+((ba(s,q)|0)+(u+v)<<2)|0;b=a+((ba(s,f)|0)+(w+x)<<2)|0;if((z>>5|0)>0){r=0;while(1){c[b>>2]=c[b>>2]^c[o>>2];r=r+1|0;if((r|0)==(z>>5|0)){b=e;o=j;break}else{b=b+4|0;o=o+4|0}}}if(h){F=c[b>>2]|0;c[b>>2]=(c[o>>2]^F)&d|F&k}s=s+1|0;if((s|0)==(G|0))break a;else{j=j+(q<<2)|0;e=e+(f<<2)|0}}}case 24:{if((G|0)<=0)break a;k=~d;s=0;j=m+((z>>5)+v+u<<2)|0;e=a+((z>>5)+x+w<<2)|0;while(1){o=m+((ba(s,q)|0)+(u+v)<<2)|0;b=a+((ba(s,f)|0)+(w+x)<<2)|0;if((z>>5|0)>0){r=0;while(1){c[b>>2]=c[o>>2];r=r+1|0;if((r|0)==(z>>5|0)){b=e;o=j;break}else{b=b+4|0;o=o+4|0}}}if(h)c[b>>2]=c[o>>2]&d|c[b>>2]&k;s=s+1|0;if((s|0)==(G|0))break a;else{j=j+(q<<2)|0;e=e+(f<<2)|0}}}case 8:{if((G|0)<=0)break a;k=~d;s=0;j=m+((z>>5)+v+u<<2)|0;e=a+((z>>5)+x+w<<2)|0;while(1){o=m+((ba(s,q)|0)+(u+v)<<2)|0;b=a+((ba(s,f)|0)+(w+x)<<2)|0;if((z>>5|0)>0){r=0;while(1){c[b>>2]=c[o>>2]&~c[b>>2];r=r+1|0;if((r|0)==(z>>5|0)){b=e;o=j;break}else{b=b+4|0;o=o+4|0}}}if(h){F=c[b>>2]|0;c[b>>2]=d&~F&c[o>>2]|F&k}s=s+1|0;if((s|0)==(G|0))break a;else{j=j+(q<<2)|0;e=e+(f<<2)|0}}}default:{q=c[n>>2]|0;c[H>>2]=l;zb(q|0,21976,H|0)|0;break a}}while(0)}if((k|0)==(o|0)){if(!k){r=0;t=0;h=0;w=0;v=0}else{r=32-k|0;t=c[21680+(32-k<<2)>>2]|0;h=1;w=a+((ba(b,f)|0)+(e>>5)<<2)|0;v=m+((ba(s,q)|0)+(x>>5)<<2)|0}do if((z|0)>=(r|0)){r=z-r>>5;do if(r)if(!h){g=1;k=a+((ba(b,f)|0)+(e>>5)<<2)|0;j=m+((ba(s,q)|0)+(x>>5)<<2)|0;break}else{g=1;k=w+4|0;j=v+4|0;break}else{g=0;r=0;k=0;j=0}while(0);o=z+e&31;if(o){o=c[21816+(o<<2)>>2]|0;if(!h){u=g;y=o;d=1;p=r;e=a+((ba(b,f)|0)+(e>>5)+r<<2)|0;g=m+((ba(s,q)|0)+(x>>5)+r<<2)|0;break}else{F=r+1|0;u=g;y=o;d=1;p=r;e=w+(F<<2)|0;g=v+(F<<2)|0;break}}else{u=g;y=0;d=0;p=r;e=0;g=0}}else{u=0;t=c[21816+(z+32-r<<2)>>2]&t;y=0;d=0;p=0;k=0;e=0;j=0;g=0}while(0);do switch(l|0){case 24:{if((h|0)!=0&(G|0)>0){s=~t;o=0;r=w;b=v;while(1){c[r>>2]=c[b>>2]&t|c[r>>2]&s;o=o+1|0;if((o|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}}if((u|0)!=0&(G|0)>0){r=(p|0)>0;b=0;while(1){if(r){s=0;do{c[k+(s<<2)>>2]=c[j+(s<<2)>>2];s=s+1|0}while((s|0)!=(p|0))}b=b+1|0;if((b|0)==(G|0))break;else{k=k+(f<<2)|0;j=j+(q<<2)|0}}}if(!((d|0)!=0&(G|0)>0))break a;j=~y;s=0;while(1){c[e>>2]=c[g>>2]&y|c[e>>2]&j;s=s+1|0;if((s|0)==(G|0))break a;else{e=e+(f<<2)|0;g=g+(q<<2)|0}}}case 6:{if((h|0)!=0&(G|0)>0){s=~t;o=0;r=w;b=v;while(1){c[r>>2]=t&~c[b>>2]|c[r>>2]&s;o=o+1|0;if((o|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}}if((u|0)!=0&(G|0)>0){r=(p|0)>0;b=0;while(1){if(r){s=0;do{c[k+(s<<2)>>2]=~c[j+(s<<2)>>2];s=s+1|0}while((s|0)!=(p|0))}b=b+1|0;if((b|0)==(G|0))break;else{k=k+(f<<2)|0;j=j+(q<<2)|0}}}if(!((d|0)!=0&(G|0)>0))break a;j=~y;s=0;while(1){c[e>>2]=y&~c[g>>2]|c[e>>2]&j;s=s+1|0;if((s|0)==(G|0))break a;else{e=e+(f<<2)|0;g=g+(q<<2)|0}}}case 28:{if((h|0)!=0&(G|0)>0){s=~t;o=0;r=w;b=v;while(1){F=c[r>>2]|0;c[r>>2]=(c[b>>2]|F)&t|F&s;o=o+1|0;if((o|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}}if((u|0)!=0&(G|0)>0){r=(p|0)>0;b=0;while(1){if(r){s=0;do{F=k+(s<<2)|0;c[F>>2]=c[F>>2]|c[j+(s<<2)>>2];s=s+1|0}while((s|0)!=(p|0))}b=b+1|0;if((b|0)==(G|0))break;else{k=k+(f<<2)|0;j=j+(q<<2)|0}}}if(!((d|0)!=0&(G|0)>0))break a;j=~y;s=0;while(1){F=c[e>>2]|0;c[e>>2]=(c[g>>2]|F)&y|F&j;s=s+1|0;if((s|0)==(G|0))break a;else{e=e+(f<<2)|0;g=g+(q<<2)|0}}}case 16:{if((h|0)!=0&(G|0)>0){s=~t;o=0;r=w;b=v;while(1){F=c[r>>2]|0;c[r>>2]=F&t&c[b>>2]|F&s;o=o+1|0;if((o|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}}if((u|0)!=0&(G|0)>0){r=(p|0)>0;b=0;while(1){if(r){s=0;do{F=k+(s<<2)|0;c[F>>2]=c[F>>2]&c[j+(s<<2)>>2];s=s+1|0}while((s|0)!=(p|0))}b=b+1|0;if((b|0)==(G|0))break;else{k=k+(f<<2)|0;j=j+(q<<2)|0}}}if(!((d|0)!=0&(G|0)>0))break a;j=~y;s=0;while(1){F=c[e>>2]|0;c[e>>2]=F&y&c[g>>2]|F&j;s=s+1|0;if((s|0)==(G|0))break a;else{e=e+(f<<2)|0;g=g+(q<<2)|0}}}case 12:{if((h|0)!=0&(G|0)>0){s=~t;o=0;r=w;b=v;while(1){F=c[r>>2]|0;c[r>>2]=(c[b>>2]^F)&t|F&s;o=o+1|0;if((o|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}}if((u|0)!=0&(G|0)>0){r=(p|0)>0;b=0;while(1){if(r){s=0;do{F=k+(s<<2)|0;c[F>>2]=c[F>>2]^c[j+(s<<2)>>2];s=s+1|0}while((s|0)!=(p|0))}b=b+1|0;if((b|0)==(G|0))break;else{k=k+(f<<2)|0;j=j+(q<<2)|0}}}if(!((d|0)!=0&(G|0)>0))break a;j=~y;s=0;while(1){F=c[e>>2]|0;c[e>>2]=(c[g>>2]^F)&y|F&j;s=s+1|0;if((s|0)==(G|0))break a;else{e=e+(f<<2)|0;g=g+(q<<2)|0}}}case 22:{if((h|0)!=0&(G|0)>0){s=~t;o=0;r=w;b=v;while(1){F=c[r>>2]|0;c[r>>2]=(F|~c[b>>2])&t|F&s;o=o+1|0;if((o|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}}if((u|0)!=0&(G|0)>0){r=(p|0)>0;b=0;while(1){if(r){s=0;do{F=k+(s<<2)|0;c[F>>2]=c[F>>2]|~c[j+(s<<2)>>2];s=s+1|0}while((s|0)!=(p|0))}b=b+1|0;if((b|0)==(G|0))break;else{k=k+(f<<2)|0;j=j+(q<<2)|0}}}if(!((d|0)!=0&(G|0)>0))break a;j=~y;s=0;while(1){F=c[e>>2]|0;c[e>>2]=(F|~c[g>>2])&y|F&j;s=s+1|0;if((s|0)==(G|0))break a;else{e=e+(f<<2)|0;g=g+(q<<2)|0}}}case 4:{if((h|0)!=0&(G|0)>0){s=~t;o=0;r=w;b=v;while(1){F=c[r>>2]|0;c[r>>2]=F&t&~c[b>>2]|F&s;o=o+1|0;if((o|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}}if((u|0)!=0&(G|0)>0){r=(p|0)>0;b=0;while(1){if(r){s=0;do{F=k+(s<<2)|0;c[F>>2]=c[F>>2]&~c[j+(s<<2)>>2];s=s+1|0}while((s|0)!=(p|0))}b=b+1|0;if((b|0)==(G|0))break;else{k=k+(f<<2)|0;j=j+(q<<2)|0}}}if(!((d|0)!=0&(G|0)>0))break a;j=~y;s=0;while(1){F=c[e>>2]|0;c[e>>2]=F&y&~c[g>>2]|F&j;s=s+1|0;if((s|0)==(G|0))break a;else{e=e+(f<<2)|0;g=g+(q<<2)|0}}}case 26:{if((h|0)!=0&(G|0)>0){s=~t;o=0;r=w;b=v;while(1){F=c[r>>2]|0;c[r>>2]=(c[b>>2]|~F)&t|F&s;o=o+1|0;if((o|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}}if((u|0)!=0&(G|0)>0){r=(p|0)>0;b=0;while(1){if(r){s=0;do{F=k+(s<<2)|0;c[F>>2]=c[j+(s<<2)>>2]|~c[F>>2];s=s+1|0}while((s|0)!=(p|0))}b=b+1|0;if((b|0)==(G|0))break;else{k=k+(f<<2)|0;j=j+(q<<2)|0}}}if(!((d|0)!=0&(G|0)>0))break a;j=~y;s=0;while(1){F=c[e>>2]|0;c[e>>2]=(c[g>>2]|~F)&y|F&j;s=s+1|0;if((s|0)==(G|0))break a;else{e=e+(f<<2)|0;g=g+(q<<2)|0}}}case 8:{if((h|0)!=0&(G|0)>0){s=~t;o=0;r=w;b=v;while(1){F=c[r>>2]|0;c[r>>2]=t&~F&c[b>>2]|F&s;o=o+1|0;if((o|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}}if((u|0)!=0&(G|0)>0){r=(p|0)>0;b=0;while(1){if(r){s=0;do{F=k+(s<<2)|0;c[F>>2]=c[j+(s<<2)>>2]&~c[F>>2];s=s+1|0}while((s|0)!=(p|0))}b=b+1|0;if((b|0)==(G|0))break;else{k=k+(f<<2)|0;j=j+(q<<2)|0}}}if(!((d|0)!=0&(G|0)>0))break a;j=~y;s=0;while(1){F=c[e>>2]|0;c[e>>2]=y&~F&c[g>>2]|F&j;s=s+1|0;if((s|0)==(G|0))break a;else{e=e+(f<<2)|0;g=g+(q<<2)|0}}}case 2:{if((h|0)!=0&(G|0)>0){s=~t;o=0;r=w;b=v;while(1){F=c[r>>2]|0;c[r>>2]=t&~(c[b>>2]|F)|F&s;o=o+1|0;if((o|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}}if((u|0)!=0&(G|0)>0){r=(p|0)>0;b=0;while(1){if(r){s=0;do{F=k+(s<<2)|0;c[F>>2]=~(c[F>>2]|c[j+(s<<2)>>2]);s=s+1|0}while((s|0)!=(p|0))}b=b+1|0;if((b|0)==(G|0))break;else{k=k+(f<<2)|0;j=j+(q<<2)|0}}}if(!((d|0)!=0&(G|0)>0))break a;j=~y;s=0;while(1){F=c[e>>2]|0;c[e>>2]=y&~(c[g>>2]|F)|F&j;s=s+1|0;if((s|0)==(G|0))break a;else{e=e+(f<<2)|0;g=g+(q<<2)|0}}}case 14:{if((h|0)!=0&(G|0)>0){s=~t;o=0;r=w;b=v;while(1){F=c[r>>2]|0;c[r>>2]=t&~(c[b>>2]&F)|F&s;o=o+1|0;if((o|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}}if((u|0)!=0&(G|0)>0){r=(p|0)>0;b=0;while(1){if(r){s=0;do{F=k+(s<<2)|0;c[F>>2]=~(c[F>>2]&c[j+(s<<2)>>2]);s=s+1|0}while((s|0)!=(p|0))}b=b+1|0;if((b|0)==(G|0))break;else{k=k+(f<<2)|0;j=j+(q<<2)|0}}}if(!((d|0)!=0&(G|0)>0))break a;j=~y;s=0;while(1){F=c[e>>2]|0;c[e>>2]=y&~(c[g>>2]&F)|F&j;s=s+1|0;if((s|0)==(G|0))break a;else{e=e+(f<<2)|0;g=g+(q<<2)|0}}}case 18:{if((h|0)!=0&(G|0)>0){s=~t;o=0;r=w;b=v;while(1){F=c[r>>2]|0;c[r>>2]=(c[b>>2]^~F)&t|F&s;o=o+1|0;if((o|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}}if((u|0)!=0&(G|0)>0){r=(p|0)>0;b=0;while(1){if(r){s=0;do{F=k+(s<<2)|0;c[F>>2]=c[F>>2]^~c[j+(s<<2)>>2];s=s+1|0}while((s|0)!=(p|0))}b=b+1|0;if((b|0)==(G|0))break;else{k=k+(f<<2)|0;j=j+(q<<2)|0}}}if(!((d|0)!=0&(G|0)>0))break a;j=~y;s=0;while(1){F=c[e>>2]|0;c[e>>2]=(c[g>>2]^~F)&y|F&j;s=s+1|0;if((s|0)==(G|0))break a;else{e=e+(f<<2)|0;g=g+(q<<2)|0}}}default:{q=c[n>>2]|0;c[H>>2]=l;zb(q|0,21952,H|0)|0;break a}}while(0)}g=(o|0)==0?0:32-o|0;v=(k|0)==0?0:32-k|0;if(!(v|g)){D=0;E=0;F=0}else{F=v>>>0>g>>>0?v-g|0:v-g+32|0;D=F;E=c[21680+(F<<2)>>2]|0;F=32-F|0}if(k){r=c[21680+(32-k<<2)>>2]|0;j=a+((ba(b,f)|0)+(e>>5)<<2)|0;t=m+((ba(s,q)|0)+(x>>5)<<2)|0;if((32-k|0)>>>0>(32-o|0)>>>0){o=32-k|0;u=1;w=(g|0)<=(z|0)&1;p=0}else{o=32-k|0;u=1;w=0;p=1}}else{o=0;r=0;u=0;j=0;t=0;w=0;p=0}if((z|0)>=(o|0)){o=z-o>>5;if(!o){g=0;o=0;h=0;k=0}else{g=1;h=a+((ba(b,f)|0)+(v+e>>5)<<2)|0;k=m+((ba(s,q)|0)+(v+x>>5)<<2)|0}d=z+e&31;if(!d){y=r;C=0;A=0;B=o;z=h;r=0;b=0;x=0}else{y=r;C=c[21816+(d<<2)>>2]|0;A=1;B=o;z=h;r=a+((ba(b,f)|0)+(v+e>>5)+o<<2)|0;b=m+((ba(s,q)|0)+(v+x>>5)+o<<2)|0;x=(d|0)>(F|0)&1}}else{g=0;y=c[21816+(z+32-o<<2)>>2]&r;C=0;A=0;B=0;z=0;r=0;k=0;b=0;x=0}do switch(l|0){case 22:{if((u|0)!=0&(G|0)>0){h=(p|0)==0;p=(w|0)==0;s=~E;e=~y;d=0;while(1){o=c[t>>2]|0;if(h){o=o<>2]|0)>>>F&E|o&s}else o=o>>>F;m=c[j>>2]|0;c[j>>2]=(m|~o)&y|m&e;d=d+1|0;if((d|0)==(G|0))break;else{j=j+(f<<2)|0;t=t+(q<<2)|0}}}if((g|0)!=0&(G|0)>0){j=(B|0)>0;e=~E;g=0;s=z;while(1){if(j){o=0;do{a=o;o=o+1|0;m=s+(a<<2)|0;c[m>>2]=c[m>>2]|~((c[k+(o<<2)>>2]|0)>>>F&E|c[k+(a<<2)>>2]<0))break a;k=(x|0)==0;j=~C;e=~E;g=0;while(1){s=c[b>>2]<>2]|0)>>>F&E|s&e;B=c[r>>2]|0;c[r>>2]=(B|~s)&C|B&j;g=g+1|0;if((g|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}break}case 6:{if((u|0)!=0&(G|0)>0){h=(p|0)==0;p=(w|0)==0;s=~E;e=~y;d=0;while(1){o=c[t>>2]|0;if(h){o=o<>2]|0)>>>F&E|o&s}else o=o>>>F;c[j>>2]=c[j>>2]&e|y&~o;d=d+1|0;if((d|0)==(G|0))break;else{j=j+(f<<2)|0;t=t+(q<<2)|0}}}if((g|0)!=0&(G|0)>0){j=(B|0)>0;e=~E;g=0;s=z;while(1){if(j){o=0;do{m=o;o=o+1|0;c[s+(m<<2)>>2]=~((c[k+(o<<2)>>2]|0)>>>F&E|c[k+(m<<2)>>2]<0))break a;k=(x|0)==0;j=~C;e=~E;g=0;while(1){s=c[b>>2]<>2]|0)>>>F&E|s&e;c[r>>2]=c[r>>2]&j|C&~s;g=g+1|0;if((g|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}break}case 28:{if((u|0)!=0&(G|0)>0){h=(p|0)==0;p=(w|0)==0;s=~E;e=~y;d=0;while(1){o=c[t>>2]|0;if(h){o=o<>2]|0)>>>F&E|o&s}else o=o>>>F;m=c[j>>2]|0;c[j>>2]=(m|o)&y|m&e;d=d+1|0;if((d|0)==(G|0))break;else{j=j+(f<<2)|0;t=t+(q<<2)|0}}}if((g|0)!=0&(G|0)>0){j=(B|0)>0;e=~E;g=0;s=z;while(1){if(j){o=0;do{a=o;o=o+1|0;m=s+(a<<2)|0;c[m>>2]=c[m>>2]|c[k+(a<<2)>>2]<>2]|0)>>>F&E}while((o|0)!=(B|0))}g=g+1|0;if((g|0)==(G|0))break;else{s=s+(f<<2)|0;k=k+(q<<2)|0}}}if(!((A|0)!=0&(G|0)>0))break a;k=(x|0)==0;j=~C;e=~E;g=0;while(1){s=c[b>>2]<>2]|0)>>>F&E|s&e;B=c[r>>2]|0;c[r>>2]=(B|s)&C|B&j;g=g+1|0;if((g|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}break}case 12:{if((u|0)!=0&(G|0)>0){h=(p|0)==0;p=(w|0)==0;s=~E;e=~y;d=0;while(1){o=c[t>>2]|0;if(h){o=o<>2]|0)>>>F&E|o&s}else o=o>>>F;m=c[j>>2]|0;c[j>>2]=(m^o)&y|m&e;d=d+1|0;if((d|0)==(G|0))break;else{j=j+(f<<2)|0;t=t+(q<<2)|0}}}if((g|0)!=0&(G|0)>0){j=(B|0)>0;e=~E;g=0;s=z;while(1){if(j){o=0;do{a=o;o=o+1|0;m=s+(a<<2)|0;c[m>>2]=((c[k+(o<<2)>>2]|0)>>>F&E|c[k+(a<<2)>>2]<>2]}while((o|0)!=(B|0))}g=g+1|0;if((g|0)==(G|0))break;else{s=s+(f<<2)|0;k=k+(q<<2)|0}}}if(!((A|0)!=0&(G|0)>0))break a;k=(x|0)==0;j=~C;e=~E;g=0;while(1){s=c[b>>2]<>2]|0)>>>F&E|s&e;B=c[r>>2]|0;c[r>>2]=(B^s)&C|B&j;g=g+1|0;if((g|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}break}case 16:{if((u|0)!=0&(G|0)>0){h=(p|0)==0;s=(w|0)==0;e=~E;p=~y;d=0;while(1){o=c[t>>2]|0;if(h){o=o<>2]|0)>>>F&E|o&e}else o=o>>>F;c[j>>2]=(o&y|p)&c[j>>2];d=d+1|0;if((d|0)==(G|0))break;else{j=j+(f<<2)|0;t=t+(q<<2)|0}}}if((g|0)!=0&(G|0)>0){j=(B|0)>0;e=~E;g=0;s=z;while(1){if(j){o=0;do{a=o;o=o+1|0;m=s+(a<<2)|0;c[m>>2]=((c[k+(o<<2)>>2]|0)>>>F&E|c[k+(a<<2)>>2]<>2]}while((o|0)!=(B|0))}g=g+1|0;if((g|0)==(G|0))break;else{s=s+(f<<2)|0;k=k+(q<<2)|0}}}if(!((A|0)!=0&(G|0)>0))break a;k=(x|0)==0;j=~C;e=~E;g=0;while(1){s=c[b>>2]<>2]|0)>>>F&E|s&e;c[r>>2]=(s&C|j)&c[r>>2];g=g+1|0;if((g|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}break}case 4:{if((u|0)!=0&(G|0)>0){h=(p|0)==0;p=(w|0)==0;s=~E;e=~y;d=0;while(1){o=c[t>>2]|0;if(h){o=o<>2]|0)>>>F&E|o&s}else o=o>>>F;c[j>>2]=(y&~o|e)&c[j>>2];d=d+1|0;if((d|0)==(G|0))break;else{j=j+(f<<2)|0;t=t+(q<<2)|0}}}if((g|0)!=0&(G|0)>0){j=(B|0)>0;e=~E;g=0;s=z;while(1){if(j){o=0;do{a=o;o=o+1|0;m=s+(a<<2)|0;c[m>>2]=c[m>>2]&~((c[k+(o<<2)>>2]|0)>>>F&E|c[k+(a<<2)>>2]<0))break a;k=(x|0)==0;j=~C;e=~E;g=0;while(1){s=c[b>>2]<>2]|0)>>>F&E|s&e;c[r>>2]=(C&~s|j)&c[r>>2];g=g+1|0;if((g|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}break}case 26:{if((u|0)!=0&(G|0)>0){h=(p|0)==0;p=(w|0)==0;s=~E;e=~y;d=0;while(1){o=c[t>>2]|0;if(h){o=o<>2]|0)>>>F&E|o&s}else o=o>>>F;m=c[j>>2]|0;c[j>>2]=(o|~m)&y|m&e;d=d+1|0;if((d|0)==(G|0))break;else{j=j+(f<<2)|0;t=t+(q<<2)|0}}}if((g|0)!=0&(G|0)>0){j=(B|0)>0;e=~E;g=0;s=z;while(1){if(j){o=0;do{a=o;o=o+1|0;m=s+(a<<2)|0;c[m>>2]=c[k+(a<<2)>>2]<>2]|(c[k+(o<<2)>>2]|0)>>>F&E}while((o|0)!=(B|0))}g=g+1|0;if((g|0)==(G|0))break;else{s=s+(f<<2)|0;k=k+(q<<2)|0}}}if(!((A|0)!=0&(G|0)>0))break a;k=(x|0)==0;j=~C;e=~E;g=0;while(1){s=c[b>>2]<>2]|0)>>>F&E|s&e;B=c[r>>2]|0;c[r>>2]=(s|~B)&C|B&j;g=g+1|0;if((g|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}break}case 8:{if((u|0)!=0&(G|0)>0){h=(p|0)==0;p=(w|0)==0;s=~E;e=~y;d=0;while(1){o=c[t>>2]|0;if(h){o=o<>2]|0)>>>F&E|o&s}else o=o>>>F;m=c[j>>2]|0;c[j>>2]=m&e|o&y&~m;d=d+1|0;if((d|0)==(G|0))break;else{j=j+(f<<2)|0;t=t+(q<<2)|0}}}if((g|0)!=0&(G|0)>0){j=(B|0)>0;e=~E;g=0;s=z;while(1){if(j){o=0;do{a=o;o=o+1|0;m=s+(a<<2)|0;c[m>>2]=((c[k+(o<<2)>>2]|0)>>>F&E|c[k+(a<<2)>>2]<>2]}while((o|0)!=(B|0))}g=g+1|0;if((g|0)==(G|0))break;else{s=s+(f<<2)|0;k=k+(q<<2)|0}}}if(!((A|0)!=0&(G|0)>0))break a;k=(x|0)==0;j=~C;e=~E;g=0;while(1){s=c[b>>2]<>2]|0)>>>F&E|s&e;B=c[r>>2]|0;c[r>>2]=B&j|s&C&~B;g=g+1|0;if((g|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}break}case 2:{if((u|0)!=0&(G|0)>0){h=(p|0)==0;p=(w|0)==0;s=~E;e=~y;d=0;while(1){o=c[t>>2]|0;if(h){o=o<>2]|0)>>>F&E|o&s}else o=o>>>F;m=c[j>>2]|0;c[j>>2]=y&~(m|o)|m&e;d=d+1|0;if((d|0)==(G|0))break;else{j=j+(f<<2)|0;t=t+(q<<2)|0}}}if((g|0)!=0&(G|0)>0){j=(B|0)>0;e=~E;g=0;s=z;while(1){if(j){o=0;do{a=o;o=o+1|0;m=s+(a<<2)|0;c[m>>2]=~(c[m>>2]|c[k+(a<<2)>>2]<>2]|0)>>>F&E)}while((o|0)!=(B|0))}g=g+1|0;if((g|0)==(G|0))break;else{s=s+(f<<2)|0;k=k+(q<<2)|0}}}if(!((A|0)!=0&(G|0)>0))break a;k=(x|0)==0;j=~C;e=~E;g=0;while(1){s=c[b>>2]<>2]|0)>>>F&E|s&e;B=c[r>>2]|0;c[r>>2]=C&~(B|s)|B&j;g=g+1|0;if((g|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}break}case 14:{if((u|0)!=0&(G|0)>0){h=(p|0)==0;p=(w|0)==0;s=~E;e=~y;d=0;while(1){o=c[t>>2]|0;if(h){o=o<>2]|0)>>>F&E|o&s}else o=o>>>F;m=c[j>>2]|0;c[j>>2]=y&~(m&o)|m&e;d=d+1|0;if((d|0)==(G|0))break;else{j=j+(f<<2)|0;t=t+(q<<2)|0}}}if((g|0)!=0&(G|0)>0){j=(B|0)>0;e=~E;g=0;s=z;while(1){if(j){o=0;do{a=o;o=o+1|0;m=s+(a<<2)|0;c[m>>2]=~(((c[k+(o<<2)>>2]|0)>>>F&E|c[k+(a<<2)>>2]<>2])}while((o|0)!=(B|0))}g=g+1|0;if((g|0)==(G|0))break;else{s=s+(f<<2)|0;k=k+(q<<2)|0}}}if(!((A|0)!=0&(G|0)>0))break a;k=(x|0)==0;j=~C;e=~E;g=0;while(1){s=c[b>>2]<>2]|0)>>>F&E|s&e;B=c[r>>2]|0;c[r>>2]=C&~(B&s)|B&j;g=g+1|0;if((g|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}break}case 18:{if((u|0)!=0&(G|0)>0){h=(p|0)==0;p=(w|0)==0;s=~E;e=~y;d=0;while(1){o=c[t>>2]|0;if(h){o=o<>2]|0)>>>F&E|o&s}else o=o>>>F;m=c[j>>2]|0;c[j>>2]=(m^~o)&y|m&e;d=d+1|0;if((d|0)==(G|0))break;else{j=j+(f<<2)|0;t=t+(q<<2)|0}}}if((g|0)!=0&(G|0)>0){j=(B|0)>0;e=~E;g=0;s=z;while(1){if(j){o=0;do{a=o;o=o+1|0;m=s+(a<<2)|0;c[m>>2]=((c[k+(o<<2)>>2]|0)>>>F&E|c[k+(a<<2)>>2]<>2]}while((o|0)!=(B|0))}g=g+1|0;if((g|0)==(G|0))break;else{s=s+(f<<2)|0;k=k+(q<<2)|0}}}if(!((A|0)!=0&(G|0)>0))break a;k=(x|0)==0;j=~C;e=~E;g=0;while(1){s=c[b>>2]<>2]|0)>>>F&E|s&e;B=c[r>>2]|0;c[r>>2]=(B^~s)&C|B&j;g=g+1|0;if((g|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}break}case 24:{if((u|0)!=0&(G|0)>0){h=(p|0)==0;p=(w|0)==0;s=~E;e=~y;d=0;while(1){o=c[t>>2]|0;if(h){o=o<>2]|0)>>>F&E|o&s}else o=o>>>F;c[j>>2]=c[j>>2]&e|o&y;d=d+1|0;if((d|0)==(G|0))break;else{j=j+(f<<2)|0;t=t+(q<<2)|0}}}if((g|0)!=0&(G|0)>0){j=(B|0)>0;e=~E;g=0;s=z;while(1){if(j){o=0;do{m=o;o=o+1|0;c[s+(m<<2)>>2]=(c[k+(o<<2)>>2]|0)>>>F&E|c[k+(m<<2)>>2]<0))break a;k=(x|0)==0;j=~C;e=~E;g=0;while(1){s=c[b>>2]<>2]|0)>>>F&E|s&e;c[r>>2]=c[r>>2]&j|s&C;g=g+1|0;if((g|0)==(G|0))break;else{r=r+(f<<2)|0;b=b+(q<<2)|0}}break}default:{q=c[n>>2]|0;c[H>>2]=l;zb(q|0,21952,H|0)|0;break a}}while(0)}while(0);i=H;return}function ks(a,b,d,e){a=a|0;b=+b;d=d|0;e=e|0;var f=0,g=0.0,h=0,j=0,k=0;k=i;i=i+32|0;do if(!a)a=du(28232,22040,0)|0;else{if(b<0.0)g=-b;else g=b;if(g<1.0000000474974513e-03){a=rp(a)|0;break}do if((Dp(a)|0)==1){if(b<0.0)g=-b;else g=b;f=c[n>>2]|0;if(g>.05999999865889549){c[k>>2]=22040;zb(f|0,22056,k|0)|0;j=3;break}else{c[k>>2]=22040;zb(f|0,22112,k|0)|0;j=2;break}}else j=1;while(0);h=(j|0)==1;if((Ap(a)|0)!=0&h)f=dr(a,4)|0;else f=rp(a)|0;c[k+8>>2]=f;a=Ap(f)|0;if((a|0)!=0&(d|0)==0)tm(a,0);a=ls(f,b,d,e)|0;c[k+4>>2]=a;d=Dp(a)|0;c[k+24>>2]=d;if(h&(d|0)<8)f=qr(a,0)|0;else f=rp(a)|0;c[k+12>>2]=f;gp(f,k+16|0,k+20|0,k+24|0);do if((j|0)==2)a=us(f,b)|0;else if((j|0)!=3){d=(c[k+24>>2]|0)==8;a=d?255:-256;if(d){a=ns(f,b,a&255)|0;break}else{a=os(f,b,a)|0;break}}else a=ms(f,(c[k+16>>2]|0)/2|0,(c[k+20>>2]|0)/2|0,b)|0;while(0);cp(k+8|0);cp(k+4|0);cp(k+12|0)}while(0);i=k;return a|0}function ls(a,b,d,e){a=a|0;b=+b;d=d|0;e=e|0;var f=0.0,g=0,h=0.0,j=0,k=0,l=0,m=0;l=i;i=i+16|0;do if(a){if(b<0.0)f=-b;else f=b;if(f<1.0000000474974513e-03){d=rp(a)|0;break}gp(a,l+8|0,l+4|0,l);g=~~(+R(+(+(ba(d,d)|0)+ +(ba(e,e)|0)))+.5);j=c[l+8>>2]|0;k=c[l+4>>2]|0;if(!((j|0)<(g|0)|(k|0)<(g|0))){d=rp(a)|0;break}h=+T(+b);b=+U(+b);f=+(j|0)*h-+(k|0)*b;if(f<0.0)f=-f;d=~~(f+.5);f=h*-+(j|0)-+(k|0)*b;if(f<0.0)f=-f;g=~~(f+.5);f=+(k|0)*h+ +(j|0)*b;if(f<0.0)f=-f;e=~~(f+.5);f=+(k|0)*h+b*-+(j|0);if(f<0.0)f=-f;m=~~(f+.5);g=(d|0)>(g|0)?d:g;g=(j|0)>(g|0)?j:g;e=(e|0)>(m|0)?e:m;e=(k|0)>(e|0)?k:e;d=_o(g,e,c[l>>2]|0)|0;if(!d){d=du(25344,22152,0)|0;break}else{ip(d,a);jp(d,a);hp(d,a);kp(d,a);k=(g-(c[l+8>>2]|0)|0)/2|0;m=(e-(c[l+4>>2]|0)|0)/2|0;_p(d);fs(d,k,m,c[l+8>>2]|0,c[l+4>>2]|0,24,a,0,0);break}}else d=du(28232,22152,0)|0;while(0);i=l;return d|0}function ms(d,e,f,g){d=d|0;e=e|0;f=f|0;g=+g;var h=0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+16|0;a:do if(!d)h=du(28232,22176,0)|0;else{gp(d,w+8|0,w+4|0,w);switch(c[w>>2]|0){case 1:case 2:case 4:case 8:case 16:case 32:break;default:{h=du(22200,22176,0)|0;break a}}if(g<0.0)j=-g;else j=g;if(j<1.0000000474974513e-03){h=rp(d)|0;break}h=fp(d)|0;if(!h){h=du(25344,22176,0)|0;break}_p(h);j=+U(+g);g=+T(+g);s=vp(h)|0;t=bp(h)|0;u=(c[w+8>>2]|0)+-1|0;v=(c[w+4>>2]|0)+-1|0;r=Pp(d)|0;d=c[w+4>>2]|0;if((c[w>>2]|0)==1){if((d|0)>0){k=c[w+8>>2]|0;l=k;p=0;do{n=ba(p,t)|0;o=f-p|0;if((k|0)>0){k=l;m=0;do{d=e-m|0;l=~~(g*+(0-d|0)-j*+(o|0))+e|0;if((!((l|0)<0|(l|0)>(u|0))?(q=~~(g*+(0-o|0)+j*+(d|0))+f|0,!((q|0)<0|(q|0)>(v|0))):0)?(c[(c[r+(q<<2)>>2]|0)+(l>>5<<2)>>2]&1<<(l&31^31)|0)!=0:0){k=s+((m>>5)+n<<2)|0;c[k>>2]=c[k>>2]|-2147483648>>>(m&31);k=c[w+8>>2]|0}m=m+1|0}while((m|0)<(k|0));l=k;d=c[w+4>>2]|0}p=p+1|0}while((p|0)<(d|0))}VFa(r);break}b:do if((d|0)>0){k=c[w+8>>2]|0;o=0;c:while(1){m=ba(o,t)|0;n=f-o|0;if((k|0)>0){l=0;do{k=e-l|0;d=~~(g*+(0-k|0)-j*+(n|0))+e|0;d:do if(!((d|0)<0|(d|0)>(u|0))?(p=~~(g*+(0-n|0)+j*+(k|0))+f|0,!((p|0)<0|(p|0)>(v|0))):0)switch(c[w>>2]|0){case 8:{a[(s+(m<<2)+l^3)>>0]=a[((c[r+(p<<2)>>2]|0)+d^3)>>0]|0;break d}case 4:{q=s+((l>>3)+m<<2)|0;k=l<<2&28;c[q>>2]=((c[(c[r+(p<<2)>>2]|0)+(d>>3<<2)>>2]|0)>>>(d<<2&28^28)&15)<<28-k|c[q>>2]&~(-268435456>>>k);break d}case 16:{b[(s+(m<<2)+(l<<1)^2)>>1]=b[((c[r+(p<<2)>>2]|0)+(d<<1)^2)>>1]|0;break d}case 32:{c[s+(l+m<<2)>>2]=c[(c[r+(p<<2)>>2]|0)+(d<<2)>>2];break d}case 2:{q=s+((l>>4)+m<<2)|0;k=l<<1&30;c[q>>2]=((c[(c[r+(p<<2)>>2]|0)+(d>>4<<2)>>2]|0)>>>(d<<1&30^30)&3)<<30-k|c[q>>2]&~(-1073741824>>>k);break d}default:break c}while(0);l=l+1|0;k=c[w+8>>2]|0}while((l|0)<(k|0));d=c[w+4>>2]|0}o=o+1|0;if((o|0)>=(d|0))break b}h=du(22200,22176,0)|0;break a}while(0);VFa(r)}while(0);i=w;return h|0}function ns(a,b,d){a=a|0;b=+b;d=d|0;var e=0.0,f=0,g=0,h=0,j=0,k=0;f=i;i=i+16|0;do if(a){if((Dp(a)|0)!=8){d=du(22280,22264,0)|0;break}if(b<0.0)e=-b;else e=b;if(e<1.0000000474974513e-03){d=rp(a)|0;break}else{gp(a,f+4|0,f,0);h=vp(a)|0;g=bp(a)|0;a=ep(a)|0;k=vp(a)|0;j=bp(a)|0;qs(k,c[f+4>>2]|0,c[f>>2]|0,j,h,g,b,d);d=a;break}}else d=du(28232,22264,0)|0;while(0);i=f;return d|0}function os(a,b,d){a=a|0;b=+b;d=d|0;var e=0,f=0.0,g=0,h=0,j=0,k=0,l=0;g=i;i=i+16|0;do if(a){if((Dp(a)|0)!=32){e=du(22240,22216,0)|0;break}if(b<0.0)f=-b;else f=b;if(f<1.0000000474974513e-03){e=rp(a)|0;break}gp(a,g+12|0,g+8|0,0);j=vp(a)|0;h=bp(a)|0;e=ep(a)|0;l=vp(e)|0;k=bp(e)|0;ps(l,c[g+12>>2]|0,c[g+8>>2]|0,k,j,h,b,d);if((Hp(a)|0)==4){l=Yp(a,3)|0;c[g+4>>2]=l;l=ns(l,b,-1)|0;c[g>>2]=l;Zp(e,l,3);cp(g+4|0);cp(g)}}else e=du(28232,22216,0)|0;while(0);i=g;return e|0}function ps(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=+h;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0,t=0,u=0,v=0,w=0;r=+U(+h)*16.0;h=+T(+h)*16.0;if((d|0)>0){p=0;do{j=((d|0)/2|0)-p|0;k=ba(p,e)|0;if((b|0)>0){q=0;do{o=((b|0)/2|0)-q|0;l=(~~(h*+(0-o|0)-r*+(j|0))>>4)+((b|0)/2|0)|0;m=(~~(h*+(0-j|0)+r*+(o|0))>>4)+((d|0)/2|0)|0;n=~~(h*+(0-o|0)-r*+(j|0))&15;o=~~(h*+(0-j|0)+r*+(o|0))&15;if((l|m|0)<0|(l|0)>(b+-2|0)|(m|0)>(d+-2|0))c[a+(q+k<<2)>>2]=i;else{m=ba(m,g)|0;w=c[f+(m+l<<2)>>2]|0;u=c[f+(m+l+1<<2)>>2]|0;s=c[f+(l+g+m<<2)>>2]|0;m=c[f+(l+g+m+1<<2)>>2]|0;v=ba(16-n|0,16-o|0)|0;t=ba(16-o|0,n)|0;l=ba(16-n|0,o)|0;o=ba(n,o)|0;Sp(((ba(w>>>24,v)|0)+128+(ba(u>>>24,t)|0)+(ba(s>>>24,l)|0)+(ba(m>>>24,o)|0)|0)>>>8,((ba(w>>>16&255,v)|0)+128+(ba(u>>>16&255,t)|0)+(ba(s>>>16&255,l)|0)+(ba(m>>>16&255,o)|0)|0)>>>8,((ba(w>>>8&255,v)|0)+128+(ba(u>>>8&255,t)|0)+(ba(s>>>8&255,l)|0)+(ba(m>>>8&255,o)|0)|0)>>>8,a+(q+k<<2)|0)}q=q+1|0}while((q|0)!=(b|0))}p=p+1|0}while((p|0)!=(d|0))}return}function qs(b,c,e,f,g,h,i,j){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;h=h|0;i=+i;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0,t=0,u=0,v=0;s=+U(+i)*16.0;i=+T(+i)*16.0;if((e|0)>0){q=0;do{k=((e|0)/2|0)-q|0;if((c|0)>0){l=b+((ba(q,f)|0)<<2)|0;r=0;do{p=((c|0)/2|0)-r|0;m=(~~(i*+(0-p|0)-s*+(k|0))>>4)+((c|0)/2|0)|0;n=(~~(i*+(0-k|0)+s*+(p|0))>>4)+((e|0)/2|0)|0;o=~~(i*+(0-p|0)-s*+(k|0))&15;p=~~(i*+(0-k|0)+s*+(p|0))&15;if((m|n|0)<0|(m|0)>(c+-2|0)|(n|0)>(e+-2|0))a[(l+r^3)>>0]=j;else{v=ba(n,h)|0;n=ba(d[(g+(v<<2)+m^3)>>0]|0,16-o|0)|0;t=ba(d[(g+(v<<2)+(m+1)^3)>>0]|0,o)|0;u=ba(d[(g+(v+h<<2)+m^3)>>0]|0,16-o|0)|0;a[(l+r^3)>>0]=((ba((ba(d[(g+(v+h<<2)+(m+1)^3)>>0]|0,o)|0)+u|0,p)|0)+128+(ba(t+n|0,16-p|0)|0)|0)/256|0}r=r+1|0}while((r|0)!=(c|0))}q=q+1|0}while((q|0)!=(e|0))}return}function rs(a,b,d,e){a=a|0;b=b|0;d=d|0;e=+e;var f=0,g=0.0,j=0;j=i;i=i+16|0;do if(!a)f=du(28232,22304,0)|0;else{if(e<0.0)g=-e;else g=e;if(g<1.0000000474974513e-03){f=rp(a)|0;break}if(e<0.0)g=-e;else g=e;if(g<=.05999999865889549){f=ss(a,b,d,e)|0;break}if(e<0.0)g=-e;else g=e;if(g>.3499999940395355){f=c[n>>2]|0;if(e<0.0)g=-e;else g=e;c[j>>2]=22304;h[k>>3]=g;c[j+4>>2]=c[k>>2];c[j+8>>2]=c[k+4>>2];zb(f|0,22320,j|0)|0}f=ts(a,b,d,e)|0}while(0);i=j;return f|0}function ss(a,b,d,e){a=a|0;b=b|0;d=d|0;e=+e;var f=0,g=0.0,j=0;j=i;i=i+32|0;do if(a){if(e<0.0)g=-e;else g=e;if(g<1.0000000474974513e-03){f=rp(a)|0;break}if(e<0.0)g=-e;else g=e;if(g>.05999999865889549){f=c[n>>2]|0;if(e<0.0)g=-e;else g=e;c[j>>2]=22384;h[k>>3]=g;c[j+4>>2]=c[k>>2];c[j+8>>2]=c[k+4>>2];zb(f|0,22400,j|0)|0}f=Mt(a,d,e)|0;c[j+16>>2]=f;if(!f){f=du(22464,22384,0)|0;break}f=Nt(0,f,b,e)|0;if(!f){f=du(25344,22384,0)|0;break}cp(j+16|0);if((Dp(a)|0)==32?(Hp(a)|0)==4:0){a=Yp(a,3)|0;c[j+16>>2]=a;b=ss(a,b,d,e)|0;c[j+12>>2]=b;Zp(f,b,3);cp(j+16|0);cp(j+12|0)}}else f=du(28232,22384,0)|0;while(0);i=j;return f|0}function ts(a,b,d,e){a=a|0;b=b|0;d=d|0;e=+e;var f=0,g=0.0,j=0,l=0;l=i;i=i+32|0;do if(a){if(e<0.0)g=-e;else g=e;if(g<1.0000000474974513e-03){f=rp(a)|0;break}if(e<0.0)g=-e;else g=e;if(g>.3499999940395355){f=c[n>>2]|0;if(e<0.0)g=-e;else g=e;c[l>>2]=22480;h[k>>3]=g;c[l+4>>2]=c[k>>2];c[l+8>>2]=c[k+4>>2];zb(f|0,22496,l|0)|0}f=Nt(0,a,b,e*.5)|0;if(!f){f=du(25344,22480,0)|0;break}j=Mt(f,d,+Y(+(+U(+e))))|0;c[l+16>>2]=j;if(!j){f=du(22464,22480,0)|0;break}Nt(f,j,b,e*.5)|0;cp(l+16|0);if((Dp(a)|0)==32?(Hp(a)|0)==4:0){a=Yp(a,3)|0;c[l+16>>2]=a;d=ts(a,b,d,e)|0;c[l+12>>2]=d;Zp(f,d,3);cp(l+16|0);cp(l+12|0)}}else f=du(28232,22480,0)|0;while(0);i=l;return f|0}function us(a,b){a=a|0;b=+b;var c=0;if(!a)a=du(28232,22560,0)|0;else{c=(Cp(a)|0)/2|0;a=rs(a,c,(up(a)|0)/2|0,b)|0}return a|0}function vs(a){a=a|0;var b=0,d=0;b=(a|0)<1?50:a;a=WFa(1,16)|0;do if(a){d=WFa(b,4)|0;c[a+12>>2]=d;if(!d){a=du(25176,22584,0)|0;break}else{c[a>>2]=b;c[a+4>>2]=0;c[a+8>>2]=1;break}}else a=du(22600,22584,0)|0;while(0);return a|0}function ws(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;do if(!a)cu(22696,22712,1)|0;else{if(!b){cu(22728,22712,1)|0;break}if(d>>>0>1){cu(22752,22712,1)|0;break}e=Cs(a)|0;f=c[a>>2]|0;do if((e|0)>=(f|0)){f=mu(a+12|0,f<<2,f<<3)|0;c[a+12>>2]=f;if(!f){cu(23144,23120,1)|0;break}else{c[a>>2]=c[a>>2]<<1;break}}while(0);if(!d)c[(c[a+12>>2]|0)+(e<<2)>>2]=b;else{b=eu(b)|0;c[(c[a+12>>2]|0)+(e<<2)>>2]=b}c[a+4>>2]=(c[a+4>>2]|0)+1}while(0);return}function xs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;i=i+16|0;do if(!a)cu(22696,22968,1)|0;else{if(!b){cu(22992,22968,1)|0;break}if(!c){cu(23008,22968,1)|0;break}d=eu(b)|0;b=iu(d,c,e)|0;if(b)ws(a,b,0);b=iu(0,c,e)|0;if(b)do{ws(a,b,0);b=iu(0,c,e)|0}while((b|0)!=0);VFa(d)}while(0);i=e;return}function ys(b){b=b|0;var c=0,d=0,e=0;do if(b){d=SGa(b|0)|0;if((d|0)>0){e=0;c=0;do{c=((a[b+e>>0]|0)==10&1)+c|0;e=e+1|0}while((e|0)!=(d|0))}else c=0;c=vs(c)|0;if(!c){c=du(22600,22640,0)|0;break}else{xs(c,b,22672);break}}else c=du(22616,22640,0)|0;while(0);return c|0}function zs(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;if(a){e=c[a>>2]|0;if(e){As(e);if((Bs(e)|0)<1){b=c[e+12>>2]|0;if(b){if((c[e+4>>2]|0)>0){d=0;do{VFa(c[b+(d<<2)>>2]|0);d=d+1|0;b=c[e+12>>2]|0}while((d|0)<(c[e+4>>2]|0))}VFa(b)}VFa(e)}c[a>>2]=0}}else{a=c[n>>2]|0;c[f>>2]=22680;zb(a|0,25048,f|0)|0}i=f;return}function As(a){a=a|0;if(!a)cu(22696,22848,-1)|0;else c[a+8>>2]=(c[a+8>>2]|0)+-1;return}function Bs(a){a=a|0;if(!a)a=cu(22696,22824,-1)|0;else a=c[a+8>>2]|0;return a|0}function Cs(a){a=a|0;if(!a)a=cu(22696,22776,0)|0;else a=c[a+4>>2]|0;return a|0}function Ds(a,b){a=a|0;b=b|0;do if(!a)b=du(22696,22792,0)|0;else{if((b|0)>=0?(c[a+4>>2]|0)>(b|0):0){b=c[(c[a+12>>2]|0)+(b<<2)>>2]|0;break}b=du(22808,22792,0)|0}while(0);return b|0}function Es(a,b){a=a|0;b=b|0;if(!a)b=du(22696,22872,0)|0;else b=Fs(a,b)|0;return b|0}function Fs(b,c){b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;a:do if(b){if(c>>>0>2){d=du(22912,22888,0)|0;break}g=Cs(b)|0;if(!g)if(!c){d=eu(1714496)|0;break}else if((c|0)==1){d=eu(1714256)|0;break}else{d=eu(1701816)|0;break}if((g|0)<=0){d=du(22936,22888,0)|0;break}do if((g+-1|0)>=0){e=0;f=0;while(1){d=Ds(b,e)|0;if(!d){e=14;break}f=f+2+(SGa(d|0)|0)|0;if((e|0)>=(g+-1|0)){e=16;break}else e=e+1|0}if((e|0)==14){d=du(22952,22888,0)|0;break a}else if((e|0)==16){d=f+1|0;break}}else d=1;while(0);d=WFa(d,1)|0;if(!d){d=du(26320,22888,0)|0;break}if((g+-1|0)>=0){f=0;e=0;do{i=Ds(b,f)|0;h=SGa(i|0)|0;VGa(d+e|0,i|0,h|0)|0;e=h+e|0;if((c|0)==1){a[d+e>>0]=10;e=e+1|0}else if((c|0)==2){a[d+e>>0]=32;e=e+1|0}f=f+1|0}while((f|0)!=(g|0))}}else d=du(22696,22888,0)|0;while(0);return d|0}function Gs(b){b=b|0;var c=0,d=0,e=0,f=0;do if(!b)b=du(23032,23056,0)|0;else{e=xu(b,0)|0;f=jb(e|0)|0;VFa(e);if(!f){b=du(23080,23056,0)|0;break}b=vs(0)|0;if(!b){b=du(23096,23056,0)|0;break}c=Xa(f|0)|0;if(c)do{do if((a[c+10>>0]|0)!=4){d=c+11|0;e=SGa(d|0)|0;if((e|0)==1){if((a[d>>0]|0)==46)break}else if(((e|0)==2?(a[c+12>>0]|0)==46:0)?(a[d>>0]|0)==46:0)break;ws(b,d,1)}while(0);c=Xa(f|0)|0}while((c|0)!=0);db(f|0)|0}while(0);return b|0}function Hs(a,b,c){a=a|0;b=+b;c=+c;var d=0;if(!a)a=du(28232,23176,0)|0;else{d=(b>c?b:c)<.7;a=Is(a,b,c,d?.20000000298023224:.4000000059604645,d?1:2)|0}return a|0}function Is(a,b,d,e,f){a=a|0;b=+b;d=+d;e=+e;f=f|0;var g=0,h=0.0,j=0;j=i;i=i+16|0;a:do if(!a)g=du(28232,23192,0)|0;else{g=Dp(a)|0;switch(g|0){case 1:case 2:case 4:case 8:case 16:case 32:break;default:{g=du(23208,23192,0)|0;break a}}if(!(!(b<=0.0)&!(d<=0.0))){g=du(23240,23192,0)|0;break}if(b==1.0&d==1.0){g=tp(0,a)|0;break}if((g|0)==1){g=Js(a,b,d)|0;break}a=ur(a)|0;c[j+4>>2]=a;if(!a){g=du(24840,23192,0)|0;break}g=Dp(a)|0;h=b>d?b:d;do if(h<.7){g=Ks(a,b,d)|0;c[j>>2]=g;if(h>.2?e>0.0&(f|0)>0:0){g=qn(g,f,e)|0;break}g=rp(g)|0}else{if((g|0)==8)g=Ls(a,b,d)|0;else g=Ms(a,b,d)|0;c[j>>2]=g;if(h<1.4?e>0.0&(f|0)>0:0){g=qn(g,f,e)|0;break}g=rp(g)|0}while(0);cp(j+4|0);cp(j)}while(0);i=j;return g|0}function Js(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;k=i;i=i+16|0;do if(a){if((Dp(a)|0)!=1){e=du(23904,23888,0)|0;break}if(!(!(b<=0.0)&!(d<=0.0))){e=du(23240,23888,0)|0;break}if(b==1.0&d==1.0){e=tp(0,a)|0;break}gp(a,k+4|0,k,0);f=vp(a)|0;g=bp(a)|0;h=~~(+(c[k+4>>2]|0)*b+.5);j=~~(+(c[k>>2]|0)*d+.5);e=_o(h,j,1)|0;if(!e){e=du(25344,23888,0)|0;break}else{jp(e,a);kp(e,a);ip(e,a);Mp(e,b,d);l=vp(e)|0;a=bp(e)|0;mt(l,h,j,a,f,c[k+4>>2]|0,c[k>>2]|0,g);break}}else e=du(28232,23888,0)|0;while(0);i=k;return e|0}function Ks(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,o=0,p=0;p=i;i=i+32|0;do if(!a)a=du(28008,23752,0)|0;else{e=Dp(a)|0;if(!((e|0)==2|(e|0)==4|(e|0)==8|(e|0)==32)){a=du(23768,23752,0)|0;break}if((b>d?b:d)>=.7){o=c[n>>2]|0;c[p>>2]=23752;zb(o|0,23800,p|0)|0;a=Hs(a,b,d)|0;break}if(b==.5&d==.5){a=Ts(a)|0;break}if(b==.25&d==.25){a=Ts(a)|0;c[p+8>>2]=a;a=Ts(a)|0;cp(p+8|0);break}if(b==.125&d==.125){a=Ts(a)|0;c[p+8>>2]=a;a=Ts(a)|0;c[p+4>>2]=a;a=Ts(a)|0;cp(p+8|0);cp(p+4|0);break}if(b==.0625&d==.0625){a=Ts(a)|0;c[p+8>>2]=a;a=Ts(a)|0;c[p+4>>2]=a;a=Ts(a)|0;c[p+12>>2]=a;a=Ts(a)|0;cp(p+8|0);cp(p+4|0);cp(p+12|0);break}do if((e|0)==2|(e|0)==4|(e|0)==8){if(Ap(a)|0){e=c[n>>2]|0;c[p>>2]=23752;zb(e|0,23608,p|0)|0;e=dr(a,4)|0;c[p+24>>2]=e;a=e;e=Dp(e)|0;break}if((e|0)==2|(e|0)==4){a=qr(a,0)|0;c[p+24>>2]=a;e=8}else f=20}else f=20;while(0);if((f|0)==20){a=rp(a)|0;c[p+24>>2]=a}gp(a,p+16|0,p+20|0,0);o=vp(a)|0;f=bp(a)|0;g=~~(+(c[p+16>>2]|0)*b+.5);h=~~(+(c[p+20>>2]|0)*d+.5);if((g|0)<1|(h|0)<1){cp(p+24|0);a=du(23736,23752,0)|0;break}a=_o(g,h,e)|0;if(!a){cp(p+24|0);a=du(25344,23752,0)|0;break}ip(a,c[p+24>>2]|0);Mp(a,b,d);j=vp(a)|0;k=bp(a)|0;l=c[p+16>>2]|0;m=c[p+20>>2]|0;if((e|0)!=8){jt(j,g,h,k,o,l,m,f);if((Hp(c[p+24>>2]|0)|0)==4)Ps(a,c[p+24>>2]|0,b,d)}else kt(j,g,h,k,o,l,m,f);cp(p+24|0)}while(0);i=p;return a|0}function Ls(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;l=i;i=i+16|0;do if(((a|0)!=0?(Dp(a)|0)==8:0)?(Ap(a)|0)==0:0){if((b>d?b:d)<.7){e=c[n>>2]|0;c[l>>2]=23424;zb(e|0,23264,l|0)|0;e=Hs(a,b,d)|0;break}if(b==1.0&d==1.0){e=tp(0,a)|0;break}if(b==2.0&d==2.0){e=Rs(a)|0;break}if(b==4.0&d==4.0){e=Qs(a)|0;break}gp(a,l+8|0,l+4|0,0);f=vp(a)|0;g=bp(a)|0;h=~~(+(c[l+8>>2]|0)*b+.5);j=~~(+(c[l+4>>2]|0)*d+.5);e=_o(h,j,8)|0;if(!e){e=du(25344,23424,0)|0;break}else{kp(e,a);ip(e,a);Mp(e,b,d);m=vp(e)|0;a=bp(e)|0;bt(m,h,j,a,f,c[l+8>>2]|0,c[l+4>>2]|0,g);break}}else k=4;while(0);if((k|0)==4)e=du(23440,23424,0)|0;i=l;return e|0}function Ms(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,o=0;l=i;i=i+16|0;do if((a|0)!=0?(Dp(a)|0)==32:0){if((b>d?b:d)<.7){e=c[n>>2]|0;c[l>>2]=23328;zb(e|0,23264,l|0)|0;e=Hs(a,b,d)|0;break}if(b==1.0&d==1.0){e=tp(0,a)|0;break}if(b==2.0&d==2.0){e=Ns(a)|0;break}if(b==4.0&d==4.0){e=Os(a)|0;break}gp(a,l+8|0,l+4|0,0);f=vp(a)|0;g=bp(a)|0;h=~~(+(c[l+8>>2]|0)*b+.5);j=~~(+(c[l+4>>2]|0)*d+.5);e=_o(h,j,32)|0;if(!e){e=du(25344,23328,0)|0;break}ip(e,a);Mp(e,b,d);o=vp(e)|0;m=bp(e)|0;at(o,h,j,m,f,c[l+8>>2]|0,c[l+4>>2]|0,g);if((Hp(a)|0)==4)Ps(e,a,b,d)}else k=3;while(0);if((k|0)==3)e=du(23344,23328,0)|0;i=l;return e|0}function Ns(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0;g=i;i=i+16|0;do if((a|0)!=0?(Dp(a)|0)==32:0){gp(a,g+4|0,g,0);d=vp(a)|0;e=bp(a)|0;b=_o(c[g+4>>2]<<1,c[g>>2]<<1,32)|0;if(!b){b=du(25344,23376,0)|0;break}ip(b,a);Mp(b,2.0,2.0);j=vp(b)|0;h=bp(b)|0;ct(j,h,d,c[g+4>>2]|0,c[g>>2]|0,e);if((Hp(a)|0)==4)Ps(b,a,2.0,2.0)}else f=3;while(0);if((f|0)==3)b=du(23344,23376,0)|0;i=g;return b|0}function Os(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=i;i=i+32|0;do if((a|0)!=0?(Dp(a)|0)==32:0){g=Yp(a,0)|0;c[e+20>>2]=g;g=Qs(g)|0;c[e+8>>2]=g;cp(e+20|0);f=Yp(a,1)|0;c[e+16>>2]=f;f=Qs(f)|0;c[e+4>>2]=f;cp(e+16|0);b=Yp(a,2)|0;c[e+12>>2]=b;b=Qs(b)|0;c[e>>2]=b;cp(e+12|0);b=lq(g,f,b)|0;if(!b){b=du(25344,23400,0)|0;break}if((Hp(a)|0)==4)Ps(b,a,4.0,4.0);cp(e+8|0);cp(e+4|0);cp(e)}else d=3;while(0);if((d|0)==3)b=du(23344,23400,0)|0;i=e;return b|0}function Ps(a,b,d,e){a=a|0;b=b|0;d=+d;e=+e;var f=0;f=i;i=i+16|0;do if((b|0)!=0&(a|0)!=0){if((Dp(b)|0)==32?(Hp(b)|0)==4:0){if((Dp(a)|0)!=32){cu(24376,24280,1)|0;break}if(d==1.0&e==1.0){kq(a,b);break}else{b=Yp(b,3)|0;c[f+4>>2]=b;b=Hs(b,d,e)|0;c[f>>2]=b;Zp(a,b,3);cp(f+4|0);cp(f);break}}cu(24344,24280,1)|0}else cu(24312,24280,1)|0;while(0);i=f;return}function Qs(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;do if(((a|0)!=0?(Dp(a)|0)==8:0)?(Ap(a)|0)==0:0){gp(a,g+4|0,g,0);d=vp(a)|0;e=bp(a)|0;b=_o(c[g+4>>2]<<2,c[g>>2]<<2,8)|0;if(!b){b=du(25344,23504,0)|0;break}else{ip(b,a);Mp(b,4.0,4.0);h=vp(b)|0;a=bp(b)|0;gt(h,a,d,c[g+4>>2]|0,c[g>>2]|0,e);break}}else f=4;while(0);if((f|0)==4)b=du(23440,23504,0)|0;i=g;return b|0}function Rs(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;do if(((a|0)!=0?(Dp(a)|0)==8:0)?(Ap(a)|0)==0:0){gp(a,g+4|0,g,0);d=vp(a)|0;e=bp(a)|0;b=_o(c[g+4>>2]<<1,c[g>>2]<<1,8)|0;if(!b){b=du(25344,23480,0)|0;break}else{ip(b,a);Mp(b,2.0,2.0);h=vp(b)|0;a=bp(b)|0;et(h,a,d,c[g+4>>2]|0,c[g>>2]|0,e);break}}else f=4;while(0);if((f|0)==4)b=du(23440,23480,0)|0;i=g;return b|0}function Ss(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,o=0;l=i;i=i+16|0;do if(!a)e=du(28008,23528,0)|0;else{if(!(!(b>=.7)&!(d>=.7))){e=c[n>>2]|0;c[l>>2]=23528;zb(e|0,23544,l|0)|0;e=Hs(a,b,d)|0;break}e=Dp(a)|0;do if((e|0)==2|(e|0)==4|(e|0)==8){if(Ap(a)|0){e=c[n>>2]|0;c[l>>2]=23528;zb(e|0,23608,l|0)|0;e=dr(a,4)|0;c[l+4>>2]=e;f=e;e=Dp(e)|0;h=11;break}if((e|0)==2|(e|0)==4){f=qr(a,0)|0;c[l+4>>2]=f;k=8}else h=10}else h=10;while(0);if((h|0)==10){f=rp(a)|0;c[l+4>>2]=f;h=11}if((h|0)==11)if((e|0)==8|(e|0)==32)k=e;else{e=c[n>>2]|0;c[l>>2]=23528;zb(e|0,23656,l|0)|0;cp(l+4|0);e=Hs(a,b,d)|0;break}j=~~(1.0/(b>2]|0)<(j|0)?1:(c[l+8>>2]|0)<(j|0)){cp(l+4|0);e=du(23720,23528,0)|0;break}a=vp(c[l+4>>2]|0)|0;f=bp(c[l+4>>2]|0)|0;g=~~(+(c[l+12>>2]|0)*b+.5);h=~~(+(c[l+8>>2]|0)*d+.5);if((g|0)<1|(h|0)<1){cp(l+4|0);e=du(23736,23528,0)|0;break}e=_o(g,h,k)|0;if(!e){cp(l+4|0);e=du(25344,23528,0)|0;break}ip(e,c[l+4>>2]|0);Mp(e,b,d);o=vp(e)|0;m=bp(e)|0;it(o,g,h,m,a,c[l+12>>2]|0,c[l+8>>2]|0,k,f,j);if((k|0)==32?(Hp(c[l+4>>2]|0)|0)==4:0)Ps(e,c[l+4>>2]|0,b,d);cp(l+4|0)}while(0);i=l;return e|0}function Ts(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;f=i;i=i+16|0;do if(!a)a=du(28008,23864,0)|0;else{b=Dp(a)|0;if((b|0)==2|(b|0)==4|(b|0)==8)e=5;else if((b|0)==32)e=9;else{a=du(23768,23864,0)|0;break}do if((e|0)==5){if(Ap(a)|0){b=c[n>>2]|0;c[f>>2]=23864;zb(b|0,23608,f|0)|0;b=dr(a,4)|0;c[f+4>>2]=b;d=b;b=Dp(b)|0;break}if((b|0)==2|(b|0)==4){d=qr(a,0)|0;c[f+4>>2]=d;b=8}else e=9}while(0);if((e|0)==9){d=rp(a)|0;c[f+4>>2]=d}k=(Cp(d)|0)/2|0;j=(up(d)|0)/2|0;g=vp(d)|0;e=bp(d)|0;a=_o(k,j,b)|0;l=vp(a)|0;h=bp(a)|0;ip(a,d);Mp(a,.5,.5);lt(l,k,j,h,g,b,e);if((Hp(d)|0)==4)Ps(a,d,.5,.5);cp(f+4|0)}while(0);i=f;return a|0}function Us(a,b){a=a|0;b=+b;var d=0,e=0,f=0;d=i;i=i+16|0;a:do if(a){if((Dp(a)|0)!=1){a=du(23944,23928,0)|0;break}if(b<=0.0){a=du(23960,23928,0)|0;break}if(b>=1.0){a=du(23984,23928,0)|0;break}gp(a,d+8|0,d+4|0,0);f=c[d+8>>2]|0;e=c[d+4>>2]|0;if((~~(+(((f|0)<(e|0)?f:e)|0)*b)|0)<2){a=du(24008,23928,0)|0;break}do if(b>.5){a=Js(a,b*2.0,b*2.0)|0;c[d>>2]=a;if(!a){a=du(24840,23928,0)|0;break a}else{a=Vs(a)|0;break}}else{if(b==.5){a=Vs(a)|0;break a}if(b>.33333){a=Js(a,b*3.0,b*3.0)|0;c[d>>2]=a;if(!a){a=du(24840,23928,0)|0;break a}else{a=Ws(a)|0;break}}if(b>.25){a=Js(a,b*4.0,b*4.0)|0;c[d>>2]=a;if(!a){a=du(24840,23928,0)|0;break a}else{a=Xs(a)|0;break}}if(b==.25){a=Xs(a)|0;break a}if(b>.16667){a=Js(a,b*6.0,b*6.0)|0;c[d>>2]=a;if(!a){a=du(24840,23928,0)|0;break a}else{a=Ys(a)|0;break}}if(b==.16667){a=Ys(a)|0;break a}if(b>.125){a=Js(a,b*8.0,b*8.0)|0;c[d>>2]=a;if(!a){a=du(24840,23928,0)|0;break a}else{a=Zs(a)|0;break}}if(b==.125){a=Zs(a)|0;break a}if(b>.0625){a=Js(a,b*8.0,b*8.0)|0;c[d>>2]=a;if(!a){a=du(24840,23928,0)|0;break a}else{a=Zs(a)|0;break}}if(b==.0625){a=_s(a)|0;break a}a=_s(a)|0;c[d>>2]=a;if(!a){a=du(24840,23928,0)|0;break a}if(b*16.0<.7){a=Ss(a,b*16.0,b*16.0)|0;break}else{a=Ls(a,b*16.0,b*16.0)|0;break}}while(0);cp(d);if(!a)a=du(25344,23928,0)|0}else a=du(28232,23928,0)|0;while(0);i=d;return a|0}function Vs(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;do if(a){if((Dp(a)|0)!=1){b=du(23904,24032,0)|0;break}gp(a,l+4|0,l,0);j=c[l+4>>2]|0;k=c[l>>2]|0;if((j+1|0)>>>0<3|(k+1|0)>>>0<3){b=du(23720,24032,0)|0;break}b=_o((j|0)/2|0,(k|0)/2|0,8)|0;if(!b){b=du(25344,24032,0)|0;break}ip(b,a);Mp(b,.5,.5);g=vp(a)|0;h=vp(b)|0;a=bp(a)|0;d=bp(b)|0;e=ot()|0;if(!e){b=du(24048,24032,0)|0;break}f=pt()|0;if(!f){b=du(24064,24032,0)|0;break}else{nt(h,(j|0)/2|0,(k|0)/2|0,d,g,a,e,f);VFa(e);VFa(f);break}}else b=du(28232,24032,0)|0;while(0);i=l;return b|0}function Ws(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;do if(a){if((Dp(a)|0)!=1){b=du(23944,24080,0)|0;break}gp(a,l+4|0,l,0);j=((c[l+4>>2]|0)/3|0)&-8;k=c[l>>2]|0;if((j|0)==0|(k+2|0)>>>0<5){b=du(23720,24080,0)|0;break}b=_o(j,(k|0)/3|0,8)|0;if(!b){b=du(25344,24080,0)|0;break}ip(b,a);Mp(b,.3333300054073334,.3333300054073334);g=vp(a)|0;h=vp(b)|0;a=bp(a)|0;d=bp(b)|0;e=rt()|0;if(!e){b=du(24048,24080,0)|0;break}f=st()|0;if(!f){b=du(24064,24080,0)|0;break}else{qt(h,j,(k|0)/3|0,d,g,a,e,f);VFa(e);VFa(f);break}}else b=du(28232,24080,0)|0;while(0);i=l;return b|0}function Xs(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;do if(a){if((Dp(a)|0)!=1){b=du(23904,24096,0)|0;break}gp(a,l+4|0,l,0);j=((c[l+4>>2]|0)/4|0)&-2;k=c[l>>2]|0;if((j|0)==0|(k+3|0)>>>0<7){b=du(23720,24096,0)|0;break}b=_o(j,(k|0)/4|0,8)|0;if(!b){b=du(25344,24096,0)|0;break}ip(b,a);Mp(b,.25,.25);g=vp(a)|0;h=vp(b)|0;a=bp(a)|0;d=bp(b)|0;e=ut()|0;if(!e){b=du(24048,24096,0)|0;break}f=vt()|0;if(!f){b=du(24064,24096,0)|0;break}else{tt(h,j,(k|0)/4|0,d,g,a,e,f);VFa(e);VFa(f);break}}else b=du(28232,24096,0)|0;while(0);i=l;return b|0}function Ys(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;do if(a){if((Dp(a)|0)!=1){b=du(23944,24112,0)|0;break}gp(a,l+4|0,l,0);j=((c[l+4>>2]|0)/6|0)&-8;k=c[l>>2]|0;if((j|0)==0|(k+5|0)>>>0<11){b=du(23720,24112,0)|0;break}b=_o(j,(k|0)/6|0,8)|0;if(!b){b=du(25344,24112,0)|0;break}ip(b,a);Mp(b,.16666999459266663,.16666999459266663);g=vp(a)|0;h=vp(b)|0;a=bp(a)|0;d=bp(b)|0;e=zq()|0;if(!e){b=du(24128,24112,0)|0;break}f=xt()|0;if(!f){b=du(24064,24112,0)|0;break}else{wt(h,j,(k|0)/6|0,d,g,a,e,f);VFa(e);VFa(f);break}}else b=du(28232,24112,0)|0;while(0);i=l;return b|0}function Zs(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;do if(a){if((Dp(a)|0)!=1){b=du(23904,24144,0)|0;break}gp(a,l+4|0,l,0);j=c[l+4>>2]|0;k=c[l>>2]|0;if((j+7|0)>>>0<15|(k+7|0)>>>0<15){b=du(23720,24144,0)|0;break}b=_o((j|0)/8|0,(k|0)/8|0,8)|0;if(!b){b=du(25344,24144,0)|0;break}ip(b,a);Mp(b,.125,.125);g=vp(a)|0;h=vp(b)|0;a=bp(a)|0;d=bp(b)|0;e=zq()|0;if(!e){b=du(24128,24144,0)|0;break}f=zt()|0;if(!f){b=du(24064,24144,0)|0;break}else{yt(h,(j|0)/8|0,(k|0)/8|0,d,g,a,e,f);VFa(e);VFa(f);break}}else b=du(28232,24144,0)|0;while(0);i=l;return b|0}function _s(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;do if(a){if((Dp(a)|0)!=1){b=du(23904,24160,0)|0;break}gp(a,k+4|0,k,0);h=c[k+4>>2]|0;j=c[k>>2]|0;if((h+15|0)>>>0<31|(j+15|0)>>>0<31){b=du(23720,24160,0)|0;break}b=_o((h|0)/16|0,(j|0)/16|0,8)|0;if(!b){b=du(25344,24160,0)|0;break}ip(b,a);Mp(b,.0625,.0625);f=vp(a)|0;g=vp(b)|0;a=bp(a)|0;d=bp(b)|0;e=zq()|0;if(!e){b=du(24128,24160,0)|0;break}else{At(g,(h|0)/16|0,(j|0)/16|0,d,f,a,e);VFa(e);break}}else b=du(28232,24160,0)|0;while(0);i=k;return b|0}function $s(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+16|0;a:do if(d){gp(d,w+8|0,w+4|0,w);f=c[w>>2]|0;switch(f|0){case 1:case 2:case 4:case 8:case 16:case 32:break;default:{f=du(24208,24184,0)|0;break a}}if((e|0)<1){f=du(24240,24184,0)|0;break}if((e|0)==1){f=tp(0,d)|0;break}if((f|0)==1){f=yl(d,e)|0;break}v=ba(c[w+8>>2]|0,e)|0;f=_o(v,ba(c[w+4>>2]|0,e)|0,f)|0;if(!f){f=du(25344,24184,0)|0;break}jp(f,d);ip(f,d);Mp(f,+(e|0),+(e|0));s=vp(d)|0;t=bp(d)|0;u=vp(f)|0;v=bp(f)|0;switch(c[w>>2]|0){case 16:{g=c[w+4>>2]|0;if((g|0)>0){r=ba(v,e)|0;q=0;do{p=ba(r,q)|0;k=c[w+8>>2]|0;if((k|0)>0){j=s+((ba(q,t)|0)<<2)|0;m=0;do{h=b[(j+(m<<1)^2)>>1]|0;l=ba(m,e)|0;if((e|0)>0){o=0;do{b[(u+(p<<2)+(o+l<<1)^2)>>1]=h;o=o+1|0}while((o|0)!=(e|0))}m=m+1|0}while((m|0)!=(k|0))}if((e|0)>1){g=1;do{VGa(u+((ba(g,v)|0)+p<<2)|0,u+(p<<2)|0,v<<2|0)|0;g=g+1|0}while((g|0)!=(e|0));g=c[w+4>>2]|0}q=q+1|0}while((q|0)<(g|0))}break}case 4:{if((c[w+4>>2]|0)>0){o=ba(v,e)|0;j=0;do{p=ba(j,t)|0;m=ba(o,j)|0;g=c[w+8>>2]|0;if((g|0)>0){l=0;do{k=ba(l,e)|0;if((e|0)>0){g=(c[s+((l>>3)+p<<2)>>2]|0)>>>(l<<2&28^28)&15;h=0;do{r=h+k|0;c[u+((r>>3)+m<<2)>>2]=c[u+((r>>3)+m<<2)>>2]&~(-268435456>>>(r<<2&28))|g<<28-(r<<2&28);h=h+1|0}while((h|0)!=(e|0));g=c[w+8>>2]|0}l=l+1|0}while((l|0)<(g|0))}if((e|0)>1){g=1;do{VGa(u+((ba(g,v)|0)+m<<2)|0,u+(m<<2)|0,v<<2|0)|0;g=g+1|0}while((g|0)!=(e|0))}j=j+1|0}while((j|0)<(c[w+4>>2]|0))}break}case 2:{if((c[w+4>>2]|0)>0){o=ba(v,e)|0;j=0;do{p=ba(j,t)|0;m=ba(o,j)|0;g=c[w+8>>2]|0;if((g|0)>0){l=0;do{k=ba(l,e)|0;if((e|0)>0){g=(c[s+((l>>4)+p<<2)>>2]|0)>>>(l<<1&30^30)&3;h=0;do{r=h+k|0;c[u+((r>>4)+m<<2)>>2]=c[u+((r>>4)+m<<2)>>2]&~(-1073741824>>>(r<<1&30))|g<<30-(r<<1&30);h=h+1|0}while((h|0)!=(e|0));g=c[w+8>>2]|0}l=l+1|0}while((l|0)<(g|0))}if((e|0)>1){g=1;do{VGa(u+((ba(g,v)|0)+m<<2)|0,u+(m<<2)|0,v<<2|0)|0;g=g+1|0}while((g|0)!=(e|0))}j=j+1|0}while((j|0)<(c[w+4>>2]|0))}break}case 8:{if((c[w+4>>2]|0)>0){m=ba(v,e)|0;q=0;do{p=ba(m,q)|0;g=c[w+8>>2]|0;if((g|0)>0){o=s+((ba(q,t)|0)<<2)|0;l=0;do{j=a[(o+l^3)>>0]|0;k=ba(l,e)|0;if((e|0)>0){h=0;do{a[(u+(p<<2)+(h+k)^3)>>0]=j;h=h+1|0}while((h|0)!=(e|0));g=c[w+8>>2]|0}l=l+1|0}while((l|0)<(g|0))}if((e|0)>1){g=1;do{VGa(u+((ba(g,v)|0)+p<<2)|0,u+(p<<2)|0,v<<2|0)|0;g=g+1|0}while((g|0)!=(e|0))}q=q+1|0}while((q|0)<(c[w+4>>2]|0))}break}case 32:{if((c[w+4>>2]|0)>0){l=ba(v,e)|0;q=0;do{p=ba(q,t)|0;o=ba(l,q)|0;g=c[w+8>>2]|0;if((g|0)>0){m=0;do{k=c[s+(m+p<<2)>>2]|0;if((e|0)>0){g=(ba(m,e)|0)+o|0;h=0;do{c[u+(g+h<<2)>>2]=k;h=h+1|0}while((h|0)!=(e|0));g=c[w+8>>2]|0}m=m+1|0}while((m|0)<(g|0))}if((e|0)>1){g=1;do{VGa(u+((ba(g,v)|0)+o<<2)|0,u+(o<<2)|0,v<<2|0)|0;g=g+1|0}while((g|0)!=(e|0))}q=q+1|0}while((q|0)<(c[w+4>>2]|0))}break}default:xb(24264,14,1,c[n>>2]|0)|0}if((c[w>>2]|0)==32?(Hp(d)|0)==4:0)Ps(f,d,+(e|0),+(e|0))}else f=du(28232,24184,0)|0;while(0);i=w;return f|0}function at(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if((d|0)>0){r=0;do{m=~~(+(h|0)*16.0/+(d|0)*+(r|0));n=ba(r,e)|0;o=ba(m>>4,i)|0;if((b|0)>0){s=0;do{p=~~(+(g|0)*16.0/+(b|0)*+(s|0));q=c[f+((p>>4)+o<<2)>>2]|0;j=(p>>4|0)>(g+-2|0);do if(j|(m>>4|0)>(h+-2|0)){if(!((m>>4|0)<=(h+-2|0)|j)){l=c[f+((p>>4)+o+1<<2)>>2]|0;j=l;k=q;break}if((m>>4|0)>(h+-2|0)|j^1){j=q;k=q;l=q}else{l=c[f+(o+i+(p>>4)<<2)>>2]|0;j=q;k=l}}else{j=c[f+((p>>4)+o+1<<2)>>2]|0;k=c[f+(o+i+(p>>4)<<2)>>2]|0;l=c[f+(o+i+(p>>4)+1<<2)>>2]|0}while(0);v=ba(16-(p&15)|0,16-(m&15)|0)|0;t=ba(p&15,16-(m&15)|0)|0;u=ba(16-(p&15)|0,m&15)|0;p=ba(p&15,m&15)|0;c[a+(s+n<<2)>>2]=((ba(l>>>24,p)|0)+(ba(q>>>24,v)|0)+(ba(k>>>24,u)|0)+(ba(j>>>24,t)|0)<<16)+8388608&-16777216|(ba(q>>>8&255,v)|0)+128+(ba(l>>>8&255,p)|0)+(ba(k>>>8&255,u)|0)+(ba(j>>>8&255,t)|0)&65280|((ba(l>>>16&255,p)|0)+(ba(q>>>16&255,v)|0)+(ba(k>>>16&255,u)|0)+(ba(j>>>16&255,t)|0)<<8)+32768&16711680;s=s+1|0}while((s|0)!=(b|0))}r=r+1|0}while((r|0)!=(d|0))}return}function bt(b,c,e,f,g,h,i,j){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if((e|0)>0){s=0;do{n=~~(+(i|0)*16.0/+(e|0)*+(s|0));o=ba(n>>4,j)|0;if((c|0)>0){p=b+((ba(s,f)|0)<<2)|0;t=0;do{q=~~(+(h|0)*16.0/+(c|0)*+(t|0));r=d[(g+(o<<2)+(q>>4)^3)>>0]|0;k=(q>>4|0)>(h+-2|0);do if(k|(n>>4|0)>(i+-2|0)){if(!((n>>4|0)<=(i+-2|0)|k)){m=d[(g+(o<<2)+((q>>4)+1)^3)>>0]|0;k=r;l=m;break}if((n>>4|0)>(i+-2|0)|k^1){k=r;l=r;m=r}else{m=d[(g+(o+j<<2)+(q>>4)^3)>>0]|0;k=m;l=r}}else{k=d[(g+(o+j<<2)+(q>>4)^3)>>0]|0;l=d[(g+(o<<2)+((q>>4)+1)^3)>>0]|0;m=d[(g+(o+j<<2)+((q>>4)+1)^3)>>0]|0}while(0);a[(p+t^3)>>0]=((ba((ba(k,16-(q&15)|0)|0)+(ba(m,q&15)|0)|0,n&15)|0)+128+(ba((ba(l,q&15)|0)+(ba(r,16-(q&15)|0)|0)|0,16-(n&15)|0)|0)|0)/256|0;t=t+1|0}while((t|0)!=(c|0))}s=s+1|0}while((s|0)!=(e|0))}return}function ct(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;if((e+-1|0)>0){g=0;do{dt(a+((ba(b<<1,g)|0)<<2)|0,b,c+((ba(g,f)|0)<<2)|0,d,f,0);g=g+1|0}while((g|0)!=(e+-1|0))}dt(a+((ba(b<<1,e+-1|0)|0)<<2)|0,b,c+((ba(e+-1|0,f)|0)<<2)|0,d,f,1);return}function dt(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if(!g){l=c[d>>2]|0;o=c[d+(f<<2)>>2]|0;if((e+-1|0)>0){j=l>>>8&255;i=o>>>8&255;h=l>>>16&255;g=o>>>16&255;m=0;n=0;k=l>>>24;l=o>>>24;while(1){p=m;m=m+1|0;o=c[d+(m<<2)>>2]|0;p=c[d+(f+1+p<<2)>>2]|0;c[a+(n<<2)>>2]=j<<8|h<<16|k<<24;s=(o>>>24)+k|0;t=(o>>>16&255)+h|0;r=(o>>>8&255)+j|0;c[a+((n|1)<<2)>>2]=t<<15&16711680|s<<23&-16777216|r<<7&65280;q=n+b|0;c[a+(q<<2)>>2]=i+j<<7&65280|g+h<<15&16711680|k+l<<23&-16777216;c[a+(q+1<<2)>>2]=t+g+(p>>>16&255)<<14&16711680|s+l+(p>>>24)<<22&-16777216|r+i+(p>>>8&255)<<6&65280;if((m|0)==(e+-1|0)){k=o>>>8&255;j=p>>>8&255;h=o>>>16&255;g=p>>>16&255;l=o>>>24;i=p>>>24;break}else{j=o>>>8&255;i=p>>>8&255;h=o>>>16&255;g=p>>>16&255;n=n+2|0;k=o>>>24;l=p>>>24}}}else{k=l>>>8&255;j=o>>>8&255;h=l>>>16&255;g=o>>>16&255;l=l>>>24;i=o>>>24}t=k<<8|h<<16|l<<24;c[a+(e+-1<<1<<2)>>2]=t;c[a+((e+-1<<1|1)<<2)>>2]=t;t=j+k<<7&65280|g+h<<15&16711680|l+i<<23&-16777216;c[a+((e+-1<<1)+b<<2)>>2]=t;c[a+((e+-1<<1)+b+1<<2)>>2]=t}else{g=c[d>>2]|0;if((e+-1|0)>0){h=g>>>8&255;j=g>>>16&255;k=0;l=0;i=g>>>24;while(1){k=k+1|0;g=c[d+(k<<2)>>2]|0;s=h<<8|j<<16|i<<24;c[a+(l<<2)>>2]=s;t=l+b|0;c[a+(t<<2)>>2]=s;s=(g>>>16&255)+j<<15&16711680|(g>>>24)+i<<23&-16777216|(g>>>8&255)+h<<7&65280;c[a+((l|1)<<2)>>2]=s;c[a+(t+1<<2)>>2]=s;if((k|0)==(e+-1|0)){h=g>>>8&255;i=g>>>16&255;g=g>>>24;break}else{h=g>>>8&255;j=g>>>16&255;l=l+2|0;i=g>>>24}}}else{h=g>>>8&255;i=g>>>16&255;g=g>>>24}t=h<<8|i<<16|g<<24;c[a+(e+-1<<1<<2)>>2]=t;c[a+((e+-1<<1|1)<<2)>>2]=t;c[a+((e+-1<<1)+b<<2)>>2]=t;c[a+((e+-1<<1)+b+1<<2)>>2]=t}return}function et(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;if((e+-1|0)>0){g=0;do{ft(a+((ba(b<<1,g)|0)<<2)|0,b,c+((ba(g,f)|0)<<2)|0,d,f,0);g=g+1|0}while((g|0)!=(e+-1|0))}ft(a+((ba(b<<1,e+-1|0)|0)<<2)|0,b,c+((ba(e+-1|0,f)|0)<<2)|0,d,f,1);return}function ft(b,e,f,g,h,i){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if(!i){k=c[f>>2]|0;l=c[f+(h<<2)>>2]|0;if((g+-1|0)>3){m=0;j=k>>>24;i=l>>>24;n=0;do{q=k>>>16&255;r=l>>>16&255;p=q+j|0;s=k>>>8;t=l>>>8&255;o=n<<1;c[b+(o<<2)>>2]=q<<8|j<<24|(q+(s&255)|0)>>>1|p>>>1<<16;c[b+(o+e<<2)>>2]=(q+(s&255)+r+t|0)>>>2|(i+j|0)>>>1<<24|(r+q|0)>>>1<<8|(p+i+r|0)>>>2<<16;r=k&255;p=l&255;n=n+1|0;k=c[f+(n<<2)>>2]|0;l=c[f+(n+h<<2)>>2]|0;j=k>>>24;i=l>>>24;q=j+r|0;c[b+((o|1)<<2)>>2]=r<<8|s<<24|((s&255)+r|0)>>>1<<16|q>>>1;c[b+((o|1)+e<<2)>>2]=(t+(s&255)|0)>>>1<<24|(p+r|0)>>>1<<8|(t+p+((s&255)+r)|0)>>>2<<16|(q+p+i|0)>>>2;m=m+4|0}while((m|3|0)<(g+-1|0));m=((g+-5|0)>>>2<<2)+4|0;n=((g+-5|0)>>>2<<3)+8|0}else{m=0;n=0;j=k>>>24;i=l>>>24}if((m|0)<(g+-1|0)){k=j;l=i;while(1){m=m+1|0;j=d[(f+m^3)>>0]|0;i=d[(f+(h<<2)+m^3)>>0]|0;a[(b+n^3)>>0]=k;s=j+k|0;t=n|1;a[(b+t^3)>>0]=(s|0)/2|0;a[(b+(e<<2)+n^3)>>0]=(l+k|0)/2|0;a[(b+(e<<2)+t^3)>>0]=(s+l+i|0)/4|0;if((m|0)==(g+-1|0)){l=b+(e<<2)|0;break}else{n=n+2|0;k=j;l=i}}}else l=b+(e<<2)|0;t=j&255;a[(b+(g+-1<<1)^3)>>0]=t;a[(b+(g+-1<<1|1)^3)>>0]=t;t=((i+j|0)/2|0)&255;a[(l+(g+-1<<1)^3)>>0]=t;a[(l+(g+-1<<1|1)^3)>>0]=t}else{i=d[(f^3)>>0]|0;if((g+-1|0)>0){k=0;l=0;j=i;while(1){k=k+1|0;i=d[(f+k^3)>>0]|0;s=j&255;a[(b+l^3)>>0]=s;a[(b+(e<<2)+l^3)>>0]=s;s=(i+j|0)>>>1&255;t=l|1;a[(b+t^3)>>0]=s;a[(b+(e<<2)+t^3)>>0]=s;if((k|0)==(g+-1|0))break;else{l=l+2|0;j=i}}}t=i&255;a[(b+(g+-1<<1)^3)>>0]=t;a[(b+(g+-1<<1|1)^3)>>0]=t;a[(b+(e<<2)+(g+-1<<1)^3)>>0]=t;a[(b+(e<<2)+(g+-1<<1|1)^3)>>0]=t}return}function gt(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;if((e+-1|0)>0){g=0;do{ht(a+((ba(b<<2,g)|0)<<2)|0,b,c+((ba(g,f)|0)<<2)|0,d,f,0);g=g+1|0}while((g|0)!=(e+-1|0))}ht(a+((ba(b<<2,e+-1|0)|0)<<2)|0,b,c+((ba(e+-1|0,f)|0)<<2)|0,d,f,1);return}function ht(b,c,e,f,g,h){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;o=f+-1<<2;if(!h){n=b+(c*3<<2)|0;i=d[(e^3)>>0]|0;h=d[(e+(g<<2)^3)>>0]|0;if((f+-1|0)>0){j=0;m=0;k=i;l=h;while(1){j=j+1|0;i=d[(e+j^3)>>0]|0;h=d[(e+(g<<2)+j^3)>>0]|0;v=k*3|0;q=l*3|0;a[(b+m^3)>>0]=k;u=m|1;a[(b+u^3)>>0]=(i+v|0)>>>2;t=i+k|0;s=m|2;a[(b+s^3)>>0]=t>>>1;r=(i*3|0)+k|0;p=m|3;a[(b+p^3)>>0]=r>>>2;w=v+l|0;a[(b+(c<<2)+m^3)>>0]=w>>>2;a[(b+(c<<2)+u^3)>>0]=(q+(k*9|0)+(i*3|0)+h|0)>>>4;a[(b+(c<<2)+s^3)>>0]=(w+(i*3|0)+h|0)>>>3;a[(b+(c<<2)+p^3)>>0]=(w+(i*9|0)+(h*3|0)|0)>>>4;a[(b+(c<<1<<2)+m^3)>>0]=(l+k|0)>>>1;a[(b+(c<<1<<2)+u^3)>>0]=(i+v+q+h|0)>>>3;a[(b+(c<<1<<2)+s^3)>>0]=(t+l+h|0)>>>2;a[(b+(c<<1<<2)+p^3)>>0]=(r+l+(h*3|0)|0)>>>3;a[(n+m^3)>>0]=(q+k|0)>>>2;a[(n+u^3)>>0]=(i+v+(l*9|0)+(h*3|0)|0)>>>4;a[(n+s^3)>>0]=(t+q+(h*3|0)|0)>>>3;a[(n+p^3)>>0]=(r+q+(h*9|0)|0)>>>4;if((j|0)==(f+-1|0))break;else{m=m+4|0;k=i;l=h}}}w=i&255;a[(b+(f+-1<<2)^3)>>0]=w;a[(b+(o|1)^3)>>0]=w;a[(b+(o|2)^3)>>0]=w;a[(b+(o|3)^3)>>0]=w;w=((i*3|0)+h|0)>>>2&255;a[(b+(f+-1+c<<2)^3)>>0]=w;a[(b+(c<<2)+(o|1)^3)>>0]=w;a[(b+(c<<2)+(o|2)^3)>>0]=w;a[(b+(c<<2)+(o|3)^3)>>0]=w;w=(h+i|0)>>>1&255;a[(b+(f+-1+(c<<1)<<2)^3)>>0]=w;a[(b+(c<<1<<2)+(o|1)^3)>>0]=w;a[(b+(c<<1<<2)+(o|2)^3)>>0]=w;a[(b+(c<<1<<2)+(o|3)^3)>>0]=w;w=((h*3|0)+i|0)>>>2&255;a[(b+(f+-1+(c*3|0)<<2)^3)>>0]=w;a[(n+(o|1)^3)>>0]=w;a[(n+(o|2)^3)>>0]=w;a[(n+(o|3)^3)>>0]=w}else{l=b+(c*3<<2)|0;h=d[(e^3)>>0]|0;if((f+-1|0)>0){j=0;k=0;i=h;while(1){j=j+1|0;h=d[(e+j^3)>>0]|0;q=i&255;a[(b+k^3)>>0]=q;r=(h+(i*3|0)|0)>>>2&255;s=k|1;a[(b+s^3)>>0]=r;t=(h+i|0)>>>1&255;u=k|2;a[(b+u^3)>>0]=t;v=((h*3|0)+i|0)>>>2&255;w=k|3;a[(b+w^3)>>0]=v;a[(b+(c<<2)+k^3)>>0]=q;a[(b+(c<<2)+s^3)>>0]=r;a[(b+(c<<2)+u^3)>>0]=t;a[(b+(c<<2)+w^3)>>0]=v;a[(b+(c<<1<<2)+k^3)>>0]=q;a[(b+(c<<1<<2)+s^3)>>0]=r;a[(b+(c<<1<<2)+u^3)>>0]=t;a[(b+(c<<1<<2)+w^3)>>0]=v;a[(l+k^3)>>0]=q;a[(l+s^3)>>0]=r;a[(l+u^3)>>0]=t;a[(l+w^3)>>0]=v;if((j|0)==(f+-1|0))break;else{k=k+4|0;i=h}}}w=h&255;a[(b+(f+-1<<2)^3)>>0]=w;a[(b+(o|1)^3)>>0]=w;a[(b+(o|2)^3)>>0]=w;a[(b+(o|3)^3)>>0]=w;a[(b+(f+-1+c<<2)^3)>>0]=w;a[(b+(c<<2)+(o|1)^3)>>0]=w;a[(b+(c<<2)+(o|2)^3)>>0]=w;a[(b+(c<<2)+(o|3)^3)>>0]=w;a[(b+(f+-1+(c<<1)<<2)^3)>>0]=w;a[(b+(c<<1<<2)+(o|1)^3)>>0]=w;a[(b+(c<<1<<2)+(o|2)^3)>>0]=w;a[(b+(c<<1<<2)+(o|3)^3)>>0]=w;a[(b+(f+-1+(c*3|0)<<2)^3)>>0]=w;a[(l+(o|1)^3)>>0]=w;a[(l+(o|2)^3)>>0]=w;a[(l+(o|3)^3)>>0]=w}return}function it(b,e,f,g,h,i,j,k,l,m){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0.0,p=0.0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0,B=0;YGa(b|0,0,ba(f<<2,g)|0)|0;y=WFa(f,4)|0;do if(!y)cu(24392,24424,1)|0;else{z=WFa(e,4)|0;if(!z){cu(24408,24424,1)|0;break}A=1.0/+(ba(m,m)|0);if((f|0)>0){n=0;do{u=~~(+(j|0)/+(f|0)*+(n|0));c[y+(n<<2)>>2]=(u|0)<(j-m|0)?u:j-m|0;n=n+1|0}while((n|0)!=(f|0))}if((e|0)>0){j=0;do{u=~~(+(i|0)/+(e|0)*+(j|0));c[z+(j<<2)>>2]=(u|0)<(i-m|0)?u:i-m|0;j=j+1|0}while((j|0)!=(e|0))}if((k|0)==8){if((f|0)>0){u=0;do{s=c[y+(u<<2)>>2]|0;if((e|0)>0){t=b+((ba(u,g)|0)<<2)|0;v=0;do{k=c[z+(v<<2)>>2]|0;if((m|0)>0){j=0;i=0;do{n=h+((ba(j+s|0,l)|0)<<2)|0;r=0;do{i=(d[(n+(r+k)^3)>>0]|0)+i|0;r=r+1|0}while((r|0)!=(m|0));j=j+1|0}while((j|0)!=(m|0));o=+(i|0)}else o=0.0;a[(t+v^3)>>0]=~~(A*o);v=v+1|0}while((v|0)!=(e|0))}u=u+1|0}while((u|0)!=(f|0))}}else if((f|0)>0){w=0;do{v=c[y+(w<<2)>>2]|0;j=ba(w,g)|0;if((e|0)>0){x=0;do{k=c[z+(x<<2)>>2]|0;if((m|0)>0){u=0;t=0;n=0;i=0;do{r=(ba(n+v|0,l)|0)+k|0;s=0;do{B=c[h+(r+s<<2)>>2]|0;i=(B>>>24)+i|0;t=(B>>>16&255)+t|0;u=(B>>>8&255)+u|0;s=s+1|0}while((s|0)!=(m|0));n=n+1|0}while((n|0)!=(m|0));q=+(u|0);p=+(t|0);o=+(i|0)}else{q=0.0;p=0.0;o=0.0}c[b+(x+j<<2)>>2]=~~(A*q)<<8|~~(A*p)<<16|~~(A*o)<<24;x=x+1|0}while((x|0)!=(e|0))}w=w+1|0}while((w|0)!=(f|0))}VFa(y);VFa(z)}while(0);return}function jt(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;if((d|0)>0){O=0;do{A=~~(+(h|0)*16.0/+(d|0)*+(O|0));B=~~(+(h|0)*16.0/+(d|0)*(+(O|0)+1.0));C=(B>>4)-(A>>4)|0;D=ba(O,e)|0;E=ba(A>>4,i)|0;if((b|0)>0){v=ba(B>>4,i)|0;P=0;do{t=~~(+(g|0)*16.0/+(b|0)*+(P|0));s=~~(+(g|0)*16.0/+(b|0)*(+(P|0)+1.0));u=(s>>4)-(t>>4)|0;if((s>>4|0)>(g+-2|0)|(B>>4|0)>(h+-2|0))c[a+(P+D<<2)>>2]=c[f+((t>>4)+E<<2)>>2];else{F=ba(16-(t&15)+-16+(s&15)+(u<<4)|0,16-(A&15)+-16+(B&15)+(C<<4)|0)|0;J=c[f+((t>>4)+E<<2)>>2]|0;M=c[f+((s>>4)+E<<2)>>2]|0;x=c[f+((t>>4)+v<<2)>>2]|0;r=c[f+((s>>4)+v<<2)>>2]|0;I=ba(16-(t&15)|0,16-(A&15)|0)|0;L=ba(s&15,16-(A&15)|0)|0;w=ba(16-(t&15)|0,B&15)|0;z=ba(s&15,B&15)|0;G=ba(J>>>24,I)|0;H=ba(J>>>16&255,I)|0;I=ba(J>>>8&255,I)|0;J=ba(M>>>24,L)|0;K=ba(M>>>16&255,L)|0;L=ba(M>>>8&255,L)|0;M=ba(x>>>24,w)|0;N=ba(x>>>16&255,w)|0;w=ba(x>>>8&255,w)|0;x=ba(r>>>24,z)|0;y=ba(r>>>16&255,z)|0;z=ba(r>>>8&255,z)|0;if((C|0)>1){o=1;k=0;j=0;l=0;while(1){if((u|0)>1){m=(t>>4)+E+(ba(o,i)|0)|0;n=1;do{r=c[f+(m+n<<2)>>2]|0;l=(r>>>24<<8)+l|0;j=(r>>>8&65280)+j|0;k=(r&65280)+k|0;n=n+1|0}while((n|0)!=(u|0));p=k;q=j;r=l}else{p=k;q=j;r=l}o=o+1|0;if((o|0)==(C|0))break;else{k=p;j=q;l=r}}m=1;l=0;k=0;j=0;do{o=c[f+((t>>4)+E+(ba(m,i)|0)<<2)>>2]|0;j=(ba(o>>>24,16-(t&15)<<4)|0)+j|0;k=(ba(o>>>16&255,16-(t&15)<<4)|0)+k|0;l=(ba(o>>>8&255,16-(t&15)<<4)|0)+l|0;m=m+1|0}while((m|0)!=(C|0));n=1;do{o=c[f+((s>>4)+E+(ba(n,i)|0)<<2)>>2]|0;j=(ba(o>>>24,(s&15)<<4)|0)+j|0;k=(ba(o>>>16&255,(s&15)<<4)|0)+k|0;l=(ba(o>>>8&255,(s&15)<<4)|0)+l|0;n=n+1|0}while((n|0)!=(C|0))}else{p=0;q=0;r=0;l=0;k=0;j=0}if((u|0)>1){n=1;do{s=c[f+(n+((t>>4)+E)<<2)>>2]|0;j=(ba(s>>>24,16-(A&15)<<4)|0)+j|0;k=(ba(s>>>16&255,16-(A&15)<<4)|0)+k|0;l=(ba(s>>>8&255,16-(A&15)<<4)|0)+l|0;n=n+1|0}while((n|0)!=(u|0));n=1;do{s=c[f+(n+((t>>4)+v)<<2)>>2]|0;j=(ba(s>>>24,(B&15)<<4)|0)+j|0;k=(ba(s>>>16&255,(B&15)<<4)|0)+k|0;l=(ba(s>>>8&255,(B&15)<<4)|0)+l|0;n=n+1|0}while((n|0)!=(u|0))}Sp((G+128+J+M+x+r+j|0)/(F|0)|0,(H+128+K+N+y+q+k|0)/(F|0)|0,(I+128+L+w+z+p+l|0)/(F|0)|0,a+(P+D<<2)|0)}P=P+1|0}while((P|0)!=(b|0))}O=O+1|0}while((O|0)!=(d|0))}return}function kt(b,c,e,f,g,h,i,j){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;if((e|0)>0){C=0;do{s=~~(+(i|0)*16.0/+(e|0)*+(C|0));t=~~(+(i|0)*16.0/+(e|0)*(+(C|0)+1.0));u=(t>>4)-(s>>4)|0;v=ba(s>>4,j)|0;if((c|0)>0){w=b+((ba(C,f)|0)<<2)|0;x=g+((ba(t>>4,j)|0)<<2)|0;D=0;do{p=~~(+(h|0)*16.0/+(c|0)*+(D|0));o=~~(+(h|0)*16.0/+(c|0)*(+(D|0)+1.0));q=(o>>4)-(p>>4)|0;if((o>>4|0)>(h+-2|0)|(t>>4|0)>(i+-2|0))a[(w+D^3)>>0]=a[(g+(v<<2)+(p>>4)^3)>>0]|0;else{y=ba(16-(p&15)+-16+(o&15)+(q<<4)|0,16-(s&15)+-16+(t&15)+(u<<4)|0)|0;z=ba(d[(g+(v<<2)+(p>>4)^3)>>0]|0,16-(p&15)|0)|0;A=ba(d[(g+(v<<2)+(o>>4)^3)>>0]|0,o&15)|0;B=ba(d[(x+(p>>4)^3)>>0]|0,16-(p&15)|0)|0;r=ba(d[(x+(o>>4)^3)>>0]|0,o&15)|0;if((u|0)>1){n=1;l=0;while(1){if((q|0)>1){k=g+((ba(n,j)|0)+v<<2)|0;m=1;do{l=((d[(k+(m+(p>>4))^3)>>0]|0)<<8)+l|0;m=m+1|0}while((m|0)!=(q|0));m=l}else m=l;n=n+1|0;if((n|0)==(u|0))break;else l=m}l=1;k=0;do{k=(ba(16-(p&15)<<4,d[(g+((ba(l,j)|0)+v<<2)+(p>>4)^3)>>0]|0)|0)+k|0;l=l+1|0}while((l|0)!=(u|0));l=1;do{k=(ba((o&15)<<4,d[(g+((ba(l,j)|0)+v<<2)+(o>>4)^3)>>0]|0)|0)+k|0;l=l+1|0}while((l|0)!=(u|0))}else{m=0;k=0}if((q|0)>1){l=1;do{k=(ba(16-(s&15)<<4,d[(g+(v<<2)+(l+(p>>4))^3)>>0]|0)|0)+k|0;l=l+1|0}while((l|0)!=(q|0));l=1;do{k=(ba((t&15)<<4,d[(x+(l+(p>>4))^3)>>0]|0)|0)+k|0;l=l+1|0}while((l|0)!=(q|0))}a[(w+D^3)>>0]=(m+128+k+(ba(r+B|0,t&15)|0)+(ba(A+z|0,16-(s&15)|0)|0)|0)/(y|0)|0}D=D+1|0}while((D|0)!=(c|0))}C=C+1|0}while((C|0)!=(e|0))}return}function lt(b,e,f,g,h,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;o=i;i=i+16|0;if((j|0)==8){if((f|0)>0){m=0;do{l=ba(m<<1,k)|0;if((e|0)>0){j=b+((ba(m,g)|0)<<2)|0;n=0;do{p=n<<1;a[(j+n^3)>>0]=((d[(h+(l<<2)+(p|1)^3)>>0]|0)+(d[(h+(l<<2)+p^3)>>0]|0)+(d[(h+(l+k<<2)+p^3)>>0]|0)+(d[(h+(l+k<<2)+(p|1)^3)>>0]|0)|0)>>>2;n=n+1|0}while((n|0)!=(e|0))}m=m+1|0}while((m|0)!=(f|0))}}else if((f|0)>0){m=0;do{j=ba(m<<1,k)|0;l=ba(m,g)|0;if((e|0)>0){n=0;do{p=n<<1;r=c[h+(p+j<<2)>>2]|0;s=c[h+((p+j|1)<<2)>>2]|0;q=c[h+(j+k+p<<2)>>2]|0;p=c[h+(j+k+p+1<<2)>>2]|0;c[o>>2]=p;Sp(((s>>>24)+(r>>>24)+(q>>>24)+(p>>>24)|0)>>>2,((s>>>16&255)+(r>>>16&255)+(q>>>16&255)+(p>>>16&255)|0)>>>2,((s>>>8&255)+(r>>>8&255)+(q>>>8&255)+(p>>>8&255)|0)>>>2,o);c[b+(n+l<<2)>>2]=c[o>>2];n=n+1|0}while((n|0)!=(e|0))}m=m+1|0}while((m|0)!=(f|0))}i=o;return}function mt(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;YGa(a|0,0,ba(e<<2,d)|0)|0;p=WFa(d,4)|0;do if(!p)cu(24392,24440,1)|0;else{q=WFa(b,4)|0;if(!q){cu(24408,24440,1)|0;break}if((d|0)>0){j=0;do{o=~~(+(h|0)/+(d|0)*+(j|0)+.5);c[p+(j<<2)>>2]=(o|0)<(h+-1|0)?o:h+-1|0;j=j+1|0}while((j|0)!=(d|0))}if((b|0)>0){h=0;do{o=~~(+(g|0)/+(b|0)*+(h|0)+.5);c[q+(h<<2)>>2]=(o|0)<(g+-1|0)?o:g+-1|0;h=h+1|0}while((h|0)!=(b|0))}if((d|0)>0){n=0;o=0;j=-1;g=0;do{k=ba(c[p+(n<<2)>>2]|0,i)|0;m=o;o=f+(k<<2)|0;l=ba(n,e)|0;if((o|0)!=(m|0)){if((b|0)>0){m=0;h=j;while(1){j=c[q+(m<<2)>>2]|0;if((j|0)==(h|0))if(!g){j=h;g=0}else{j=a+((m>>5)+l<<2)|0;c[j>>2]=c[j>>2]|-2147483648>>>(m&31);j=h}else{g=(c[f+((j>>5)+k<<2)>>2]|0)>>>(j&31^31)&1;if(!g)g=0;else{h=a+((m>>5)+l<<2)|0;c[h>>2]=c[h>>2]|-2147483648>>>(m&31)}}m=m+1|0;if((m|0)==(b|0))break;else h=j}}}else VGa(a+(l<<2)|0,a+(l-e<<2)|0,e<<2|0)|0;n=n+1|0}while((n|0)!=(d|0))}VFa(p);VFa(q)}while(0);return}function nt(b,e,f,g,h,i,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0;if((f|0)>0){q=0;r=0;while(1){n=ba(r,i)|0;p=b+((ba(q,g)|0)<<2)|0;if((e&-4|0)>0){l=0;m=0;while(1){o=(c[j+((d[(h+(n+i<<2)+m^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(n<<2)+m^3)>>0]|0)<<2)>>2]|0)|0;a[(p+l^3)>>0]=a[k+(o>>>24)>>0]|0;a[(p+(l|1)^3)>>0]=a[k+(o>>>16&255)>>0]|0;a[(p+(l|2)^3)>>0]=a[k+(o>>>8&255)>>0]|0;a[(p+(l|3)^3)>>0]=a[k+(o&255)>>0]|0;l=l+4|0;if((l|0)>=(e&-4|0)){o=(((e&-4)+-1|0)>>>2<<2)+4|0;l=(((e&-4)+-1|0)>>>2)+1|0;break}else m=m+1|0}}else{o=0;l=0}if((e-(e&-4)|0)>0){l=(c[j+((d[(h+(n+i<<2)+l^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(n<<2)+l^3)>>0]|0)<<2)>>2]|0)|0;m=0;do{a[(p+(m+o)^3)>>0]=a[k+(l>>>(24-(m<<3)|0)&255)>>0]|0;m=m+1|0}while((m|0)!=(e-(e&-4)|0))}q=q+1|0;if((q|0)==(f|0))break;else r=r+2|0}}return}function ot(){var a=0,b=0;a=WFa(256,4)|0;if(!a)a=du(24488,24472,0)|0;else{b=0;do{c[a+(b<<2)>>2]=c[24456+((b>>>2&3)<<2)>>2]<<8|c[24456+((b&3)<<2)>>2]|c[24456+((b>>>4&3)<<2)>>2]<<16|c[24456+((b>>>6&3)<<2)>>2]<<24;b=b+1|0}while((b|0)!=256)}return a|0}function pt(){var b=0;b=WFa(5,1)|0;if(!b)b=du(24488,24512,0)|0;else{a[b>>0]=-1;a[b+1>>0]=-64;a[b+2>>0]=-128;a[b+3>>0]=64;a[b+4>>0]=0}return b|0}function qt(b,e,f,g,h,j,k,l){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;s=i;i=i+16|0;if((f|0)>0){o=0;r=0;while(1){m=ba(r,j)|0;if((e|0)>0){n=b+((ba(o,g)|0)<<2)|0;p=0;q=0;while(1){A=d[(h+(m<<2)+q^3)>>0]|0;w=q+1|0;x=(d[(h+(m<<2)+w^3)>>0]|0)<<8;t=q+2|0;u=d[(h+(m<<2)+t^3)>>0]|0;B=d[(h+(m+j<<2)+q^3)>>0]|0;y=(d[(h+(m+j<<2)+w^3)>>0]|0)<<8;v=d[(h+(m+j<<2)+t^3)>>0]|0;z=d[(h+(m+(j<<1)<<2)+q^3)>>0]|0;w=(d[(h+(m+(j<<1)<<2)+w^3)>>0]|0)<<8;t=d[(h+(m+(j<<1)<<2)+t^3)>>0]|0;c[s>>2]=(c[k+(B>>>2<<2)>>2]|0)+(c[k+(A>>>2<<2)>>2]|0)+(c[k+(z>>>2<<2)>>2]|0);a[(n+p^3)>>0]=a[l+(d[(s+2^3)>>0]|0)>>0]|0;a[(n+(p|1)^3)>>0]=a[l+(d[(s+3^3)>>0]|0)>>0]|0;c[s>>2]=(c[k+(((y|B<<16)>>>12&63)<<2)>>2]|0)+(c[k+(((x|A<<16)>>>12&63)<<2)>>2]|0)+(c[k+(((w|z<<16)>>>12&63)<<2)>>2]|0);a[(n+(p|2)^3)>>0]=a[l+(d[(s+2^3)>>0]|0)>>0]|0;a[(n+(p|3)^3)>>0]=a[l+(d[(s+3^3)>>0]|0)>>0]|0;c[s>>2]=(c[k+(((y|v)>>>6&63)<<2)>>2]|0)+(c[k+(((x|u)>>>6&63)<<2)>>2]|0)+(c[k+(((w|t)>>>6&63)<<2)>>2]|0);a[(n+(p|4)^3)>>0]=a[l+(d[(s+2^3)>>0]|0)>>0]|0;a[(n+(p|5)^3)>>0]=a[l+(d[(s+3^3)>>0]|0)>>0]|0;c[s>>2]=(c[k+((v&63)<<2)>>2]|0)+(c[k+((u&63)<<2)>>2]|0)+(c[k+((t&63)<<2)>>2]|0);a[(n+(p|6)^3)>>0]=a[l+(d[(s+2^3)>>0]|0)>>0]|0;a[(n+(p|7)^3)>>0]=a[l+(d[(s+3^3)>>0]|0)>>0]|0;p=p+8|0;if((p|0)>=(e|0))break;else q=q+3|0}}o=o+1|0;if((o|0)==(f|0))break;else r=r+3|0}}i=s;return}function rt(){var a=0,b=0;a=WFa(64,4)|0;if(!a)a=du(24488,24560,0)|0;else{b=0;do{c[a+(b<<2)>>2]=c[24528+((b>>>3&7)<<2)>>2]<<8|c[24528+((b&7)<<2)>>2];b=b+1|0}while((b|0)!=64)}return a|0}function st(){var b=0,c=0;b=WFa(10,1)|0;if(!b)b=du(24488,24576,0)|0;else{c=0;do{a[b+c>>0]=255-((c*255|0)/9|0);c=c+1|0}while((c|0)!=10)}return b|0}function tt(b,e,f,g,h,j,k,l){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;if((f|0)>0){o=0;r=0;while(1){m=ba(r,j)|0;if((e|0)>0){n=b+((ba(o,g)|0)<<2)|0;p=0;q=0;while(1){c[s>>2]=(c[k+((d[(h+(m+j<<2)+q^3)>>0]|0)<<2)>>2]|0)+(c[k+((d[(h+(m<<2)+q^3)>>0]|0)<<2)>>2]|0)+(c[k+((d[(h+(m+(j<<1)<<2)+q^3)>>0]|0)<<2)>>2]|0)+(c[k+((d[(h+(m+(j*3|0)<<2)+q^3)>>0]|0)<<2)>>2]|0);a[(n+p^3)>>0]=a[l+(d[(s+2^3)>>0]|0)>>0]|0;a[(n+(p|1)^3)>>0]=a[l+(d[(s+3^3)>>0]|0)>>0]|0;p=p+2|0;if((p|0)>=(e|0))break;else q=q+1|0}}o=o+1|0;if((o|0)==(f|0))break;else r=r+4|0}}i=s;return}function ut(){var a=0,b=0;a=WFa(256,4)|0;if(!a)a=du(24488,24656,0)|0;else{b=0;do{c[a+(b<<2)>>2]=c[24592+((b>>>4&15)<<2)>>2]<<8|c[24592+((b&15)<<2)>>2];b=b+1|0}while((b|0)!=256)}return a|0}function vt(){var b=0,c=0;b=WFa(17,1)|0;if(!b)b=du(24488,24672,0)|0;else{c=0;do{a[b+c>>0]=255-((c*255|0)/16|0);c=c+1|0}while((c|0)!=17)}return b|0}function wt(b,e,f,g,h,j,k,l){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;s=i;i=i+16|0;if((f|0)>0){o=0;r=0;while(1){m=ba(r,j)|0;if((e|0)>0){n=b+((ba(o,g)|0)<<2)|0;p=0;q=0;while(1){J=d[(h+(m<<2)+q^3)>>0]|0;z=q+1|0;D=(d[(h+(m<<2)+z^3)>>0]|0)<<8;t=q+2|0;x=d[(h+(m<<2)+t^3)>>0]|0;K=d[(h+(m+j<<2)+q^3)>>0]|0;E=(d[(h+(m+j<<2)+z^3)>>0]|0)<<8;y=d[(h+(m+j<<2)+t^3)>>0]|0;I=d[(h+(m+(j<<1)<<2)+q^3)>>0]|0;C=(d[(h+(m+(j<<1)<<2)+z^3)>>0]|0)<<8;w=d[(h+(m+(j<<1)<<2)+t^3)>>0]|0;H=d[(h+(m+(j*3|0)<<2)+q^3)>>0]|0;B=(d[(h+(m+(j*3|0)<<2)+z^3)>>0]|0)<<8;v=d[(h+(m+(j*3|0)<<2)+t^3)>>0]|0;G=d[(h+(m+(j<<2)<<2)+q^3)>>0]|0;A=(d[(h+(m+(j<<2)<<2)+z^3)>>0]|0)<<8;u=d[(h+(m+(j<<2)<<2)+t^3)>>0]|0;F=d[(h+(m+(j*5|0)<<2)+q^3)>>0]|0;z=(d[(h+(m+(j*5|0)<<2)+z^3)>>0]|0)<<8;t=d[(h+(m+(j*5|0)<<2)+t^3)>>0]|0;c[s>>2]=(c[k+(K>>>2<<2)>>2]|0)+(c[k+(J>>>2<<2)>>2]|0)+(c[k+(I>>>2<<2)>>2]|0)+(c[k+(H>>>2<<2)>>2]|0)+(c[k+(G>>>2<<2)>>2]|0)+(c[k+(F>>>2<<2)>>2]|0);a[(n+p^3)>>0]=a[l+(d[(s+3^3)>>0]|0)>>0]|0;c[s>>2]=(c[k+(((E|K<<16)>>>12&63)<<2)>>2]|0)+(c[k+(((D|J<<16)>>>12&63)<<2)>>2]|0)+(c[k+(((C|I<<16)>>>12&63)<<2)>>2]|0)+(c[k+(((B|H<<16)>>>12&63)<<2)>>2]|0)+(c[k+(((A|G<<16)>>>12&63)<<2)>>2]|0)+(c[k+(((z|F<<16)>>>12&63)<<2)>>2]|0);a[(n+(p|1)^3)>>0]=a[l+(d[(s+3^3)>>0]|0)>>0]|0;c[s>>2]=(c[k+(((E|y)>>>6&63)<<2)>>2]|0)+(c[k+(((D|x)>>>6&63)<<2)>>2]|0)+(c[k+(((C|w)>>>6&63)<<2)>>2]|0)+(c[k+(((B|v)>>>6&63)<<2)>>2]|0)+(c[k+(((A|u)>>>6&63)<<2)>>2]|0)+(c[k+(((z|t)>>>6&63)<<2)>>2]|0);a[(n+(p|2)^3)>>0]=a[l+(d[(s+3^3)>>0]|0)>>0]|0;c[s>>2]=(c[k+((y&63)<<2)>>2]|0)+(c[k+((x&63)<<2)>>2]|0)+(c[k+((w&63)<<2)>>2]|0)+(c[k+((v&63)<<2)>>2]|0)+(c[k+((u&63)<<2)>>2]|0)+(c[k+((t&63)<<2)>>2]|0);a[(n+(p|3)^3)>>0]=a[l+(d[(s+3^3)>>0]|0)>>0]|0;p=p+4|0;if((p|0)>=(e|0))break;else q=q+3|0}}o=o+1|0;if((o|0)==(f|0))break;else r=r+6|0}}i=s;return}function xt(){var b=0,c=0;b=WFa(37,1)|0;if(!b)b=du(24488,24688,0)|0;else{c=0;do{a[b+c>>0]=255-((c*255|0)/36|0);c=c+1|0}while((c|0)!=37)}return b|0}function yt(b,e,f,g,h,i,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0;if((f|0)>0){n=0;p=0;while(1){m=ba(p,i)|0;if((e|0)>0){l=b+((ba(n,g)|0)<<2)|0;o=0;do{a[(l+o^3)>>0]=a[k+((c[j+((d[(h+(m+i<<2)+o^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(m<<2)+o^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(m+(i<<1)<<2)+o^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(m+(i*3|0)<<2)+o^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(m+(i<<2)<<2)+o^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(m+(i*5|0)<<2)+o^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(m+(i*6|0)<<2)+o^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(m+(i*7|0)<<2)+o^3)>>0]|0)<<2)>>2]|0))>>0]|0;o=o+1|0}while((o|0)!=(e|0))}n=n+1|0;if((n|0)==(f|0))break;else p=p+8|0}}return}function zt(){var b=0,c=0;b=WFa(65,1)|0;if(!b)b=du(24488,24704,0)|0;else{c=0;do{a[b+c>>0]=255-((c*255|0)/64|0);c=c+1|0}while((c|0)!=65)}return b|0}function At(b,e,f,g,h,i,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0;if((f|0)>0){m=0;o=0;while(1){k=ba(o,i)|0;if((e|0)>0){l=b+((ba(m,g)|0)<<2)|0;n=0;do{p=n<<1;p=(c[j+((d[(h+(k<<2)+(p|1)^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k<<2)+p^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+i<<2)+p^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+i<<2)+(p|1)^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i<<1)<<2)+p^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i<<1)<<2)+(p|1)^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*3|0)<<2)+p^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*3|0)<<2)+(p|1)^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i<<2)<<2)+p^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i<<2)<<2)+(p|1)^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*5|0)<<2)+p^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*5|0)<<2)+(p|1)^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*6|0)<<2)+p^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*6|0)<<2)+(p|1)^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*7|0)<<2)+p^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*7|0)<<2)+(p|1)^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i<<3)<<2)+p^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i<<3)<<2)+(p|1)^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*9|0)<<2)+p^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*9|0)<<2)+(p|1)^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*10|0)<<2)+p^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*10|0)<<2)+(p|1)^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*11|0)<<2)+p^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*11|0)<<2)+(p|1)^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*12|0)<<2)+p^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*12|0)<<2)+(p|1)^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*13|0)<<2)+p^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*13|0)<<2)+(p|1)^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*14|0)<<2)+p^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*14|0)<<2)+(p|1)^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*15|0)<<2)+p^3)>>0]|0)<<2)>>2]|0)+(c[j+((d[(h+(k+(i*15|0)<<2)+(p|1)^3)>>0]|0)<<2)>>2]|0)|0;a[(l+n^3)>>0]=(p|0)<255?255-p&255:0;n=n+1|0}while((n|0)!=(e|0))}m=m+1|0;if((m|0)==(f|0))break;else o=o+16|0}}return}function Bt(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;do if((b|0)!=0?(Dp(b)|0)==1:0){if((d|0)!=0?(Dp(d)|0)==1:0){if(!((e|0)==4|(e|0)==8)){a=du(24808,24720,a)|0;break}a=tp(a,b)|0;if(!a){a=du(25344,24720,0)|0;break}f=ep(b)|0;c[o>>2]=f;if(!f){a=du(24840,24720,a)|0;break}g=up(a)|0;h=up(d)|0;j=vp(a)|0;k=vp(d)|0;l=bp(a)|0;m=bp(d)|0;cq(d);b=0;do{tp(f,a)|0;Dt(j,g,l,k,h,m,e);Fm(a,f,o+4|0);b=b+1|0}while((b|0)<40?(c[o+4>>2]|0)!=1:0);cp(o);break}a=du(24776,24720,a)|0}else n=3;while(0);if((n|0)==3)a=du(24744,24720,a)|0;i=o;return a|0}function Ct(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=i;i=i+16|0;do if((a|0)!=0?(Dp(a)|0)==1:0){gp(a,e+4|0,e,0);b=_o(c[e+4>>2]|0,c[e>>2]|0,8)|0;if(!b){b=du(25344,24856,0)|0;break}else{g=vp(b)|0;f=bp(b)|0;qq(b,a,1);Et(g,c[e+4>>2]|0,c[e>>2]|0,f);break}}else d=3;while(0);if((d|0)==3)b=du(24880,24856,0)|0;i=e;return b|0}function Dt(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;t=(b|0)<(f|0)?b:f;u=(d|0)<(g|0)?d:g;if((h|0)==4){if((t|0)>0){r=~((~g|0)>(~d|0)?~g:~d);m=~((~f|0)>(~b|0)?~f:~b);h=0;do{l=ba(h,d)|0;k=ba(h,g)|0;if((u|0)>0){j=(h|0)>0;q=0;do{o=q+l|0;b=c[a+(o<<2)>>2]|0;p=c[e+(q+k<<2)>>2]|0;if(j)b=c[a+(l-d+q<<2)>>2]|b;if((q|0)>0)b=c[a+(o+-1<<2)>>2]<<31|b;b=b&p;if(!((b|0)==-1|(b|0)==0))while(1){f=(b>>>1|b|b<<1)&p;if((f|0)==(b|0))break;else b=f}c[a+(o<<2)>>2]=b;q=q+1|0}while((q|0)!=(r|0))}h=h+1|0}while((h|0)!=(m|0));o=t+-1|0;while(1){k=ba(o,d)|0;l=ba(o,g)|0;if((u|0)>0){m=(o|0)<(t+-1|0);p=u+-1|0;while(1){j=p+k|0;b=c[a+(j<<2)>>2]|0;h=c[e+(p+l<<2)>>2]|0;if(m)b=c[a+(k+d+p<<2)>>2]|b;if((p|0)<(u+-1|0))b=(c[a+(j+1<<2)>>2]|0)>>>31|b;b=b&h;if(!((b|0)==-1|(b|0)==0))while(1){f=(b>>>1|b|b<<1)&h;if((f|0)==(b|0))break;else b=f}c[a+(j<<2)>>2]=b;if((p|0)>0)p=p+-1|0;else break}}if((o|0)>0)o=o+-1|0;else break}}}else if((h|0)==8){if((t|0)>0){s=~((~g|0)>(~d|0)?~g:~d);p=~((~f|0)>(~b|0)?~f:~b);k=0;do{o=ba(k,d)|0;m=ba(k,g)|0;if((u|0)>0){l=(k|0)>0;j=0;do{q=j+o|0;b=c[a+(q<<2)>>2]|0;r=c[e+(j+m<<2)>>2]|0;if(l){h=j+(o-d)|0;f=c[a+(h<<2)>>2]|0;if((j|0)>0)b=c[a+(h+-1<<2)>>2]<<31|(f|b|f<<1|f>>>1);else b=f|b|f<<1|f>>>1;if((j|0)<(u+-1|0))b=(c[a+(h+1<<2)>>2]|0)>>>31|b}if((j|0)>0)b=c[a+(q+-1<<2)>>2]<<31|b;b=b&r;if(!((b|0)==-1|(b|0)==0))while(1){f=(b>>>1|b|b<<1)&r;if((f|0)==(b|0))break;else b=f}c[a+(q<<2)>>2]=b;j=j+1|0}while((j|0)!=(s|0))}k=k+1|0}while((k|0)!=(p|0));k=t+-1|0;while(1){o=ba(k,d)|0;m=ba(k,g)|0;if((u|0)>0){l=(k|0)<(t+-1|0);j=u+-1|0;while(1){q=j+o|0;b=c[a+(q<<2)>>2]|0;p=c[e+(j+m<<2)>>2]|0;if(l){h=o+d+j|0;f=c[a+(h<<2)>>2]|0;if((j|0)>0)b=c[a+(h+-1<<2)>>2]<<31|(f|b|f<<1|f>>>1);else b=f|b|f<<1|f>>>1;if((j|0)<(u+-1|0))b=(c[a+(h+1<<2)>>2]|0)>>>31|b}if((j|0)<(u+-1|0))b=(c[a+(q+1<<2)>>2]|0)>>>31|b;b=b&p;if(!((b|0)==-1|(b|0)==0))while(1){f=(b>>>1|b|b<<1)&p;if((f|0)==(b|0))break;else b=f}c[a+(q<<2)>>2]=b;if((j|0)>0)j=j+-1|0;else break}}if((k|0)>0)k=k+-1|0;else break}}}else{d=c[n>>2]|0;c[v>>2]=24904;zb(d|0,24928,v|0)|0}i=v;return}function Et(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;if((e+-1|0)>1){i=1;do{h=ba(i,f)|0;if((c+-1|0)>1){j=1;do{g=b+(h<<2)+j^3;if(a[g>>0]|0){l=d[(b+(h-f<<2)+j^3)>>0]|0;k=d[(b+(h<<2)+(j+-1)^3)>>0]|0;k=l>>>0>>0?l:k;a[g>>0]=k>>>0<254?k+1&255:-1}j=j+1|0}while((j|0)!=(c+-1|0))}i=i+1|0}while((i|0)!=(e+-1|0))}if((e+-2|0)>0){i=e+-2|0;do{g=ba(i,f)|0;if((c+-2|0)>0){j=c+-2|0;do{h=b+(g<<2)+j^3;e=a[h>>0]|0;if(e<<24>>24){l=d[(b+(g+f<<2)+j^3)>>0]|0;k=d[(b+(g<<2)+(j+1)^3)>>0]|0;l=(k>>>0>>0?k:l)+1|0;a[h>>0]=l>>>0<(e&255)>>>0?l:e&255}j=j+-1|0}while((j|0)>0)}i=i+-1|0}while((i|0)>0)}return}function Ft(a){a=a|0;var b=0,d=0,e=0,f=0;f=i;i=i+16|0;if(a){e=c[a>>2]|0;if(e){b=c[e+16>>2]|0;if((c[e>>2]|0)>0){d=0;do{VFa(c[b+(d<<2)>>2]|0);d=d+1|0;b=c[e+16>>2]|0}while((d|0)<(c[e>>2]|0))}VFa(b);VFa(c[e+20>>2]|0);VFa(e);c[a>>2]=0}}else{a=c[n>>2]|0;c[f>>2]=25032;zb(a|0,25048,f|0)|0}i=f;return}function Gt(a,b){a=a|0;b=b|0;var d=0;d=WFa(1,24)|0;if(d){c[d>>2]=a;c[d+4>>2]=b;b=Ht(a,b)|0;c[d+16>>2]=b;if(!b)d=du(25008,24976,0)|0}else d=du(24992,24976,0)|0;return d|0}function Ht(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=WFa(a,4)|0;a:do if(d){if((a|0)>0){e=0;while(1){f=WFa(b,4)|0;c[d+(e<<2)>>2]=f;e=e+1|0;if(!f)break;if((e|0)>=(a|0))break a}d=du(25200,25152,0)|0}}else d=du(25176,25152,0)|0;while(0);return d|0}function It(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;if(b)c[b>>2]=0;if(d)c[d>>2]=0;if(e)c[e>>2]=0;if(f)c[f>>2]=0;if(a){if(b)c[b>>2]=c[a>>2];if(d)c[d>>2]=c[a+4>>2];if(e)c[e>>2]=c[a+8>>2];if(f)c[f>>2]=c[a+12>>2]}else cu(25088,25216,1)|0;return}function Jt(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;do if(!((a|0)<1|(b|0)<1)){f=Gt(a,b)|0;if(!f){f=du(24992,25104,0)|0;break}Kt(f,d,e);if((a|0)>0){e=0;do{if((b|0)>0){d=c[(c[f+16>>2]|0)+(e<<2)>>2]|0;g=0;do{c[d+(g<<2)>>2]=1;g=g+1|0}while((g|0)!=(b|0))}e=e+1|0}while((e|0)!=(a|0))}}else f=du(25120,25104,0)|0;while(0);return f|0}function Kt(a,b,d){a=a|0;b=b|0;d=d|0;if(!a)cu(25088,25240,1)|0;else{c[a+8>>2]=b;c[a+12>>2]=d}return}function Lt(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;u=i;i=i+16|0;do if((b|0)!=0&(d|0)!=0&(e|0)!=0&(f|0)!=0){c[f>>2]=0;c[e>>2]=0;c[d>>2]=0;c[b>>2]=0;if(!a){cu(25088,25256,1)|0;break}It(a,u+8|0,u+12|0,u,u+4|0);r=c[u+8>>2]|0;if((r|0)>0){s=c[u+12>>2]|0;p=c[u+4>>2]|0;q=c[u>>2]|0;t=0;k=0;j=0;h=0;g=0;do{if((s|0)>0){l=c[(c[a+16>>2]|0)+(t<<2)>>2]|0;m=q-t|0;n=t-q|0;o=0;do{if((c[l+(o<<2)>>2]|0)==1){v=p-o|0;w=o-p|0;k=(k|0)>(w|0)?k:w;j=(j|0)>(v|0)?j:v;h=(h|0)>(n|0)?h:n;g=(g|0)>(m|0)?g:m}o=o+1|0}while((o|0)!=(s|0))}t=t+1|0}while((t|0)!=(r|0))}else{k=0;j=0;h=0;g=0}c[b>>2]=j;c[d>>2]=g;c[e>>2]=k;c[f>>2]=h}else cu(25280,25256,1)|0;while(0);i=u;return}function Mt(a,b,d){a=a|0;b=b|0;d=+d;var e=0,f=0,g=0.0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;m=i;i=i+16|0;a:do if(!a)e=du(28232,25304,0)|0;else{e=ep(a)|0;if(!e){e=du(25344,25304,0)|0;break}d=+Pt(d);if(!(d==0.0)?(g=+V(+d),!(g==0.0)):0){_p(e);gp(a,m+4|0,m,0);l=d<0.0?-1:1;if(1.0/g<0.0)d=-(1.0/g);else d=1.0/g;k=b-~~(d*.5)|0;fs(e,0,k,c[m+4>>2]|0,~~(d*.5)<<1,24,a,0,k);f=c[m>>2]|0;if((f|0)>(~~(d*.5)+b|0)){h=1;j=~~(d*.5)+b|0;while(1){n=~~(d*(+(h|0)+.5)+.5)+(b-j)|0;o=f-j|0;n=(o|0)<(n|0)?o:n;o=ba(h,0-l|0)|0;fs(e,o,j,c[m+4>>2]|0,n,24,a,0,j);j=n+j|0;f=c[m>>2]|0;if((f|0)<=(j|0))break;else h=h+1|0}}if((k|0)<=0)break;h=-1;f=k;while(1){o=f-b-~~(d*(+(h|0)+-.5)+.5)|0;o=(f|0)<(o|0)?f:o;k=ba(h,0-l|0)|0;f=f-o|0;fs(e,k,f,c[m+4>>2]|0,o,24,a,0,f);if((f|0)<=0)break a;else h=h+-1|0}}e=tp(e,a)|0}while(0);i=m;return e|0}function Nt(a,b,d,e){a=a|0;b=b|0;d=d|0;e=+e;var f=0,g=0,h=0.0,j=0,k=0,l=0,m=0,n=0,o=0;m=i;i=i+16|0;a:do if(!b)a=du(28232,25360,0)|0;else{if((a|0)==(b|0))if(!(Ap(b)|0)){Ot(b,d,e);a=b;break}else{a=du(25320,25360,b)|0;break}if(!a){a=ep(b)|0;if(!a){a=du(25344,25360,0)|0;break}}else wp(a,b)|0;e=+Pt(e);if(!(e==0.0)?(h=+V(+e),!(h==0.0)):0){_p(a);gp(b,m+4|0,m,0);l=e<0.0?-1:1;if(1.0/h<0.0)e=-(1.0/h);else e=1.0/h;k=d-~~(e*.5)|0;fs(a,k,0,~~(e*.5)<<1,c[m>>2]|0,24,b,k,0);f=c[m+4>>2]|0;if((f|0)>(~~(e*.5)+d|0)){g=1;j=~~(e*.5)+d|0;while(1){n=~~(e*(+(g|0)+.5)+.5)+(d-j)|0;o=f-j|0;n=(o|0)<(n|0)?o:n;o=ba(g,l)|0;fs(a,j,o,n,c[m>>2]|0,24,b,j,0);j=n+j|0;f=c[m+4>>2]|0;if((f|0)<=(j|0))break;else g=g+1|0}}if((k|0)>0){g=-1;f=k}else break;while(1){o=f-d-~~(e*(+(g|0)+-.5)+.5)|0;o=(f|0)<(o|0)?f:o;f=f-o|0;k=ba(g,l)|0;fs(a,f,k,o,c[m>>2]|0,24,b,f,0);if((f|0)<=0)break a;else g=g+-1|0}}a=tp(a,b)|0}while(0);i=m;return a|0}function Ot(a,b,d){a=a|0;b=b|0;d=+d;var e=0,f=0.0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;do if(a){if(Ap(a)|0){cu(25320,25376,1)|0;break}d=+Pt(d);if(!(d==0.0)?(f=+V(+d),!(f==0.0)):0){k=d<0.0?-1:1;gp(a,l+4|0,l,0);if(1.0/f<0.0)d=-(1.0/f);else d=1.0/f;if((~~(d*.5)|0)>0)gs(a,b-~~(d*.5)|0,~~(d*.5)<<1,0);e=c[l+4>>2]|0;if((e|0)>(~~(d*.5)+b|0)){j=1;h=~~(d*.5)+b|0;while(1){g=~~(d*(+(j|0)+.5)+.5)+(b-h)|0;if(g){e=e-h|0;g=(e|0)<(g|0)?e:g;gs(a,h,g,ba(j,k)|0);e=c[l+4>>2]|0;h=g+h|0}if((e|0)>(h|0))j=j+1|0;else break}}if((b-~~(d*.5)|0)>0){j=-1;e=b-~~(d*.5)|0;while(1){g=e-b|0;h=~~(d*(+(j|0)+-.5)+.5);if((g|0)!=(h|0)){h=(e|0)<(g-h|0)?e:g-h|0;e=e-h|0;gs(a,e,h,ba(j,k)|0)}if((e|0)>0)j=j+-1|0;else break}}}}else cu(28232,25376,1)|0;while(0);i=l;return}function Pt(a){a=+a;var b=0,d=0;b=i;i=i+16|0;if(a<-1.5707963705062866|a>1.5707963705062866)a=a-+(~~(a/1.5707963705062866)|0)*1.5707963705062866;if(!(a>1.5307964086532593)){if(a<-1.5307964086532593){d=c[n>>2]|0;c[b>>2]=25392;zb(d|0,25472,b|0)|0;a=-1.5307964086532593}}else{d=c[n>>2]|0;c[b>>2]=25392;zb(d|0,25416,b|0)|0;a=1.5307964086532593}i=b;return +a}function Qt(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;do if(a){b=pu(a,d)|0;if(!b){a=du(25552,25528,0)|0;break}a=St(b,c[d>>2]|0)|0;VFa(b);if(!a)a=du(25568,25528,0)|0}else a=du(28120,25528,0)|0;while(0);i=d;return a|0}function Rt(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;do if(a){if(!b){a=cu(28008,25584,1)|0;break}if(!(Tt(b,d+4|0,d)|0)){xb(c[d+4>>2]|0,1,c[d>>2]|0,a|0)|0;VFa(c[d+4>>2]|0);a=0;break}else{a=cu(25608,25584,1)|0;break}}else a=cu(28120,25584,1)|0;while(0);i=d;return a|0}function St(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;h=i;i=i+16|0;a:do if(!b)e=du(27080,25720,0)|0;else{if(d>>>0<28){e=du(25752,25720,0)|0;break}if((((a[b>>0]|0)==115?(a[b+1>>0]|0)==112:0)?(a[b+2>>0]|0)==105:0)?(a[b+3>>0]|0)==120:0){e=_o(c[b+4>>2]|0,c[b+8>>2]|0,c[b+12>>2]|0)|0;if(!e){e=du(25568,25720,0)|0;break}g=c[b+20>>2]|0;do if((g|0)>0){f=Dm(b+24|0,g)|0;if(!f){e=du(25792,25720,0)|0;break a}else{Bp(e,f);break}}while(0);f=vp(e)|0;if((d+-28-(g<<2)|0)!=(c[b+(g+6<<2)>>2]|0)){j=c[n>>2]|0;c[h>>2]=25720;zb(j|0,25808,h|0)|0}VGa(f|0,b+(g+7<<2)|0,d+-28-(g<<2)|0)|0;break}e=du(25768,25720,0)|0}while(0);i=h;return e|0}function Tt(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+32|0;do if((d|0)!=0&(e|0)!=0){c[d>>2]=0;c[e>>2]=0;if(!b){b=cu(28232,25640,1)|0;break}gp(b,l+16|0,l+12|0,l+8|0);h=bp(b)|0;j=vp(b)|0;k=ba(c[l+12>>2]|0,h<<2)|0;c[l+4>>2]=0;c[l>>2]=0;b=Ap(b)|0;if(!b)f=0;else{Cm(b,4,l+4|0,l);f=c[l+4>>2]|0}b=f<<2;g=WFa((k+28+b|0)/4|0,4)|0;if(!g){b=cu(25704,25640,1)|0;break}c[d>>2]=g;c[e>>2]=k+28+b;a[g>>0]=115;a[g+1>>0]=112;a[g+2>>0]=105;a[g+3>>0]=120;c[g+4>>2]=c[l+16>>2];c[g+8>>2]=c[l+12>>2];c[g+12>>2]=c[l+8>>2];c[g+16>>2]=h;c[g+20>>2]=f;if((f|0)>0){e=c[l>>2]|0;VGa(g+24|0,e|0,b|0)|0;b=e}else b=c[l>>2]|0;c[g+(f+6<<2)>>2]=k;VGa(g+(f+7<<2)|0,j|0,k|0)|0;VFa(b);b=0}else b=cu(25664,25640,1)|0;while(0);i=l;return b|0}function Ut(a){a=a|0;var b=0,d=0;b=(a|0)<1?20:a;a=WFa(1,16)|0;do if(a){d=WFa(b,4)|0;c[a+8>>2]=d;if(!d){a=du(25896,25864,0)|0;break}else{c[a>>2]=b;c[a+4>>2]=0;break}}else a=du(25880,25864,0)|0;while(0);return a|0}function Vt(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if(a){d=c[a>>2]|0;if(d){if((c[d+4>>2]|0)>0)do VFa(Wt(d)|0);while((c[d+4>>2]|0)>0);if(c[d+12>>2]|0)Vt(d+12|0);b=c[d+8>>2]|0;if(b)VFa(b);VFa(d);c[a>>2]=0}}else{a=c[n>>2]|0;c[e>>2]=25920;zb(a|0,25936,e|0)|0}i=e;return}function Wt(a){a=a|0;var b=0;if(a){b=c[a+4>>2]|0;if(!b)b=0;else{c[a+4>>2]=b+-1;b=c[(c[a+8>>2]|0)+(b+-1<<2)>>2]|0}}else b=du(25992,26040,0)|0;return b|0}function Xt(a,b){a=a|0;b=b|0;var d=0,e=0;do if(!a)cu(25992,25976,1)|0;else{if(!b){cu(26016,25976,1)|0;break}d=c[a>>2]|0;do if((c[a+4>>2]|0)>=(d|0)){d=mu(a+8|0,d<<2,d<<3)|0;c[a+8>>2]=d;if(!d){cu(26096,26072,1)|0;d=a+8|0;break}else{c[a>>2]=c[a>>2]<<1;d=a+8|0;break}}else d=a+8|0;while(0);e=c[a+4>>2]|0;c[(c[d>>2]|0)+(e<<2)>>2]=b;c[a+4>>2]=e+1}while(0);return}function Yt(a){a=a|0;if(!a)a=cu(25992,26056,1)|0;else a=c[a+4>>2]|0;return a|0}function Zt(){return du(28344,26128,0)|0}function _t(){return cu(28344,26152,1)|0}function $t(){cu(28344,26176,1)|0;return}function au(){cu(28344,26200,1)|0;return}function bu(){return cu(28344,26224,1)|0}function cu(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;f=c[n>>2]|0;c[e>>2]=b;c[e+4>>2]=a;zb(f|0,26248,e|0)|0;i=e;return d|0}function du(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;f=c[n>>2]|0;c[e>>2]=b;c[e+4>>2]=a;zb(f|0,26248,e|0)|0;i=e;return d|0}function eu(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;do if(a){d=SGa(a|0)|0;b=WFa(d+1|0,1)|0;if(!b){b=du(26320,26272,0)|0;break}else{fu(b,a,d);break}}else{b=c[n>>2]|0;c[e>>2]=26272;zb(b|0,26288,e|0)|0;b=0}while(0);i=e;return b|0}function fu(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;if(b){if(!((c|0)==0|(d|0)<1)){a:do if((d|0)>0){e=0;do{f=a[c+e>>0]|0;if(!(f<<24>>24))break a;a[b+e>>0]=f;e=e+1|0}while((e|0)<(d|0))}else e=0;while(0);if((e|0)<(d|0))YGa(b+e|0,0,d-e|0)|0}}else cu(26352,26336,1)|0;return}function gu(a,b){a=a|0;b=b|0;var d=0,e=0;a:do if(!a)cu(26392,26376,1)|0;else{VFa(c[a>>2]|0);do if(b){e=SGa(b|0)|0;d=WFa(e+1|0,1)|0;if(!d){cu(26416,26376,1)|0;break a}else{fu(d,b,e);break}}else d=0;while(0);c[a>>2]=d}while(0);return}function hu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(a)d=SGa(a|0)|0;else d=0;if(b)e=SGa(b|0)|0;else e=0;c=WFa(d+3+e|0,1)|0;if(c){if(a)fu(c,a,d);if(b)IEa(c,b,e)}else c=du(26464,26448,0)|0;return c|0}function iu(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;a:do if(!d)f=du(26504,26488,0)|0;else{if(!e){f=du(26528,26488,0)|0;break}b:do if(!b){g=c[e>>2]|0;if(!g){f=0;break a}else{f=0;j=g}}else{g=a[b>>0]|0;if(g<<24>>24){f=0;do{if(!(FEa(d,g<<24>>24)|0)){j=b;break b}f=f+1|0;g=a[b+f>>0]|0}while(g<<24>>24!=0)}c[e>>2]=0;f=0;break a}while(0);i=j+f|0;g=a[i>>0]|0;c:do if(!(g<<24>>24))h=f;else{b=f;while(1){h=b+1|0;if(FEa(d,g<<24>>24)|0){h=b;break c}g=a[j+h>>0]|0;if(!(g<<24>>24))break;else b=h}}while(0);g=h-f|0;f=WFa(g+1|0,1)|0;fu(f,i,g);g=j+h|0;b=a[g>>0]|0;d:do if(!(b<<24>>24))g=0;else while(1){h=h+1|0;if(!(FEa(d,b<<24>>24)|0))break d;g=j+h|0;b=a[g>>0]|0;if(!(b<<24>>24)){g=0;break}}while(0);c[e>>2]=g}while(0);return f|0}function ju(b){b=b|0;if(b)if(!(a[b>>0]|0))b=0;else b=(MEa(b,1714488)|0)!=0&1;else b=cu(26432,26552,0)|0;return b|0}function ku(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=i;i=i+16|0;if((a|0)!=0&(d|0)!=0){c[g>>2]=Zm(0)|0;f=0;do{lu(a+f|0,b-f|0,d,e,g+8|0,g+4|0);if(!(c[g+4>>2]|0))break;h=(c[g+8>>2]|0)+f|0;_m(c[g>>2]|0,+(h|0));f=h+e|0}while(f>>>0>>0);a=c[g>>2]|0;if(!(en(a)|0)){$m(g);a=c[g>>2]|0}}else a=du(26600,26576,0)|0;i=g;return a|0}function lu(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;if(g)c[g>>2]=0;if(h)c[h>>2]=0;a:do if((b|0)!=0&(e|0)!=0){if(!((g|0)!=0&(h|0)!=0)){cu(26664,26640,1)|0;break}if((d+1-f|0)>0){i=0;k=0;while(1){b:do if(f){j=0;do{if((a[b+(j+k)>>0]|0)!=(a[e+j>>0]|0))break b;i=(j|0)==(f+-1|0)?1:i;j=j+1|0}while(j>>>0>>0)}while(0);j=k+1|0;if((i|0)==1)break;if((j|0)<(d+1-f|0))k=j;else break a}c[g>>2]=k;c[h>>2]=1}}else cu(26600,26640,1)|0;while(0);return}function mu(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;do if(a){f=c[a>>2]|0;if((d|0)<1){if(!f){e=0;break}VFa(f);c[a>>2]=0;e=0;break}e=WFa(1,d)|0;if(!f){if(e)break;e=du(26736,26696,0)|0;break}if(!e){e=du(26736,26696,0)|0;break}else{VGa(e|0,f|0,((b|0)<(d|0)?b:d)|0)|0;VFa(f);c[a>>2]=0;break}}else e=du(26712,26696,0)|0;while(0);return e|0}function nu(a,b){a=a|0;b=b|0;do if(b){c[b>>2]=0;if(!a){a=du(28024,26760,0)|0;break}a=ou(a)|0;if(!a){a=du(26800,26760,0)|0;break}else{b=pu(a,b)|0;Yb(a|0)|0;a=b;break}}else a=du(26776,26760,0)|0;while(0);return a|0}function ou(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+16|0;if(a){e=xu(a,0)|0;b=fc(e|0,377400)|0;VFa(e);if(!b){yu(a,d);b=fc(c[d>>2]|0,377400)|0;VFa(c[d>>2]|0);if(!b)b=du(27272,27256,0)|0}}else b=du(28024,27256,0)|0;i=d;return b|0}function pu(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;do if(!b)d=du(26848,26824,0)|0;else{c[b>>2]=0;if(!a){d=du(26872,26824,0)|0;break}if(!(Na(a|0)|0)){d=qu(a,b)|0;break}f=vl()|0;c[g+4>>2]=f;e=c[f+4>>2]|0;do{d=c[f>>2]|0;if((d-e|0)<4096){xl(f,(d|0)>4096?d:4096);d=c[f+4>>2]|0}else d=e;d=Ha((c[f+12>>2]|0)+d|0,1,4096,a|0)|0;e=(c[f+4>>2]|0)+d|0;c[f+4>>2]=e}while((d|0)==4096);d=WFa(e+1|0,1)|0;if(!d){b=c[n>>2]|0;c[g>>2]=26824;zb(b|0,26888,g|0)|0}else{VGa(d|0,c[f+12>>2]|0,e|0)|0;c[b>>2]=e}wl(g+4|0)}while(0);i=g;return d|0}function qu(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;do if(!b)d=du(26960,26928,0)|0;else{c[b>>2]=0;if(!a){d=du(28120,26928,0)|0;break}Wb(a|0,0,2)|0;f=Na(a|0)|0;Wb(a|0,0,0)|0;if(!f){d=WFa(1,1)|0;break}d=WFa(1,f+1|0)|0;if(!d){d=du(26984,26928,0)|0;break}Wb(a|0,0,0)|0;e=Ha(d|0,1,f|0,a|0)|0;if((f|0)!=(e|0)){h=c[n>>2]|0;c[g>>2]=26928;c[g+4>>2]=f;c[g+8>>2]=e;zb(h|0,27008,g|0)|0}c[b>>2]=e;Wb(a|0,0,0)|0}while(0);i=g;return d|0}function ru(b,c){b=b|0;c=c|0;var d=0,e=0;e=i;i=i+32|0;do if(b){if(!c){d=cu(27104,27064,1)|0;break}if((HGa(27128,27128)|0)==0?(HGa(27128,372360)|0)==0:0){d=cu(27136,27064,1)|0;break}fu(e,27128,2);d=e+(SGa(e|0)|0)|0;a[d>>0]=98;a[d+1>>0]=0;d=su(327520,e)|0;if(!d){d=cu(28048,27064,1)|0;break}else{xb(b|0,1,c|0,d|0)|0;Yb(d|0)|0;d=0;break}}else d=cu(27080,27064,1)|0;while(0);i=e;return d|0}function su(a,b){a=a|0;b=b|0;var c=0;if(a){c=xu(a,0)|0;a=fc(c|0,b|0)|0;VFa(c);if(!a)a=du(28048,27288,0)|0}else a=du(28024,27288,0)|0;return a|0}function tu(a){a=a|0;var b=0,c=0;if(!a)a=cu(27184,27168,0)|0;else{c=Na(a|0)|0;Wb(a|0,0,2)|0;b=Na(a|0)|0;Wb(a|0,c|0,0)|0;a=b}return a|0}function uu(a,b){a=a|0;b=b|0;var c=0;do if(a){c=WFa(b+4|0,1)|0;if(!c){c=du(27240,27200,0)|0;break}else{VGa(c|0,a|0,b|0)|0;break}}else c=du(27216,27200,0)|0;while(0);return c|0}function vu(a){a=a|0;return a|0}function wu(a){a=a|0;return a|0}function xu(b,c){b=b|0;c=c|0;var d=0,e=0,f=0;do if((b|0)!=0|(c|0)!=0){if((b|0)!=0?(a[b>>0]|0)!=0:0)f=eu(b)|0;else{b=Fb(0,0)|0;if(!b){b=du(27792,27760,0)|0;break}else f=b}Gu(f);d=SGa(f|0)|0;b=f+(d+-1)|0;if((a[b>>0]|0)==47&(d|0)!=1){a[b>>0]=0;d=d+-1|0}if(c)e=SGa(c|0)|0;else e=0;b=WFa(d+256+e|0,1)|0;if(!b){b=du(27816,27760,0)|0;break}fu(b,f,d);if((c|0)!=0?(a[c>>0]|0)!=0:0){a[b+(SGa(b|0)|0)>>0]=47;IEa(b,c,e)}VFa(f)}else b=du(27776,27760,0)|0;while(0);return b|0}function yu(a,b){a=a|0;b=b|0;var d=0;do if(b){c[b>>2]=0;if(!a){cu(27592,27536,1)|0;break}a=eu(a)|0;Gu(a);d=KEa(a,47)|0;if(!d){c[b>>2]=a;break}else{c[b>>2]=eu(d+1|0)|0;VFa(a);break}}else cu(27560,27536,1)|0;while(0);return}function zu(a){a=a|0;VFa(a);return}function Au(b){b=b|0;var c=0;do if(b){c=a[b>>0]|0;if(c<<24>>24==0|c<<24>>24==46|c<<24>>24==47){cu(27352,27312,1)|0;break}else{c=Bu(b)|0;b=xu(c,0)|0;cb(b|0,511)|0;VFa(b);VFa(c);break}}else cu(27328,27312,1)|0;while(0);return}function Bu(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;if((b|0)!=0?(a[b>>0]|0)==46:0)d=du(27632,27616,0)|0;else{e=vs(0)|0;c[k+8>>2]=e;h=vs(0)|0;c[k+4>>2]=h;j=Zl(4)|0;c[k>>2]=j;em(j,1714488);xs(e,27392,1714488);d=Cs(e)|0;if((d|0)>0){f=0;do{em(j,Ds(e,f)|0);em(j,1714488);f=f+1|0}while((f|0)!=(d|0))}if(((b|0)!=0?(a[b>>0]|0)!=0:0)?(xs(h,b,1714488),g=Cs(h)|0,(g|0)>0):0){e=0;do{em(j,Ds(h,e)|0);em(j,1714488);e=e+1|0}while((e|0)!=(g|0))}d=cm(j,k+12|0)|0;e=c[k+12>>2]|0;if(e>>>0>1?(a[d+(e+-1)>>0]|0)==47:0)a[d+(e+-1)>>0]=0;zs(k+8|0);zs(k+4|0);$l(k)}i=k;return d|0}function Cu(){var a=0,b=0,d=0,e=0,f=0;f=i;i=i+16|0;e=xu(27392,0)|0;d=Du(e)|0;VFa(e);do if(!d)cu(27416,27400,1)|0;else{Eu(d,f+12|0);if(!(c[f+12>>2]|0)){VFa(d);break}a=Gs(d)|0;c[f+8>>2]=a;if(!a){e=c[n>>2]|0;c[f>>2]=27400;c[f+4>>2]=d;zb(e|0,27440,f|0)|0;VFa(d);break}e=Cs(a)|0;a:do if((e|0)>0){b=0;while(1){a=xu(d,Ds(a,b)|0)|0;Sb(a|0)|0;VFa(a);b=b+1|0;if((b|0)==(e|0))break a;a=c[f+8>>2]|0}}while(0);Sb(d|0)|0;zs(f+8|0);VFa(d)}while(0);i=f;return}function Du(b){b=b|0;var c=0,d=0;if(b){d=SGa(b|0)|0;c=WFa(d+13|0,1)|0;IEa(c,b,d+13|0);if((a[c+(d+-1)>>0]|0)!=47)a[c+d>>0]=47;IEa(c,28288,d+13|0);d=c+((SGa(c|0)|0)+-1)|0;if((a[d>>0]|0)==47)a[d>>0]=0}else c=du(27680,27656,0)|0;return c|0}function Eu(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+80|0;if(((b|0)!=0?(c[b>>2]=0,(a|0)!=0):0)?(d=xu(a,0)|0,(d|0)!=0):0){if((vb(d|0,e|0)|0)!=-1?(c[e+12>>2]&61440|0)==16384:0)c[b>>2]=1;VFa(d)}i=e;return}function Fu(b){b=b|0;if((b|0)!=0?(a[b>>0]|0)!=0:0)Sb(b|0)|0;else cu(27504,27488,1)|0;return}function Gu(b){b=b|0;var c=0,d=0,e=0;if(b){c=SGa(b|0)|0;if(c){e=0;do{d=b+e|0;if((a[d>>0]|0)==92)a[d>>0]=47;e=e+1|0}while((e|0)!=(c|0))}}else cu(27736,27712,1)|0;return}function Hu(b){b=b|0;var d=0,e=0,f=0,g=0;d=i;i=i+272|0;if(((b|0)!=0?(a[b>>0]|0)!=0:0)?(ju(b)|0)!=0:0)b=du(27856,27840,0)|0;else{f=nb()|0;YGa(d+16|0,0,256)|0;Iu(d+12|0);e=xu(13304,0)|0;g=c[d+12>>2]|0;c[d>>2]=e;c[d+4>>2]=g;c[d+8>>2]=f;wGa(d+16|0,256,27880,d)|0;VFa(e);b=hu(d+16|0,b)|0}i=d;return b|0}function Iu(a){a=a|0;var b=0;b=i;i=i+16|0;Ab(b|0,0)|0;if(a)c[a>>2]=c[b+4>>2];i=b;return}function Ju(){var a=0,b=0;b=i;i=i+16|0;a=WFa(100,1)|0;c[b>>2]=1;c[b+4>>2]=72;wGa(a,100,27896,b)|0;i=b;return a|0}function Ku(){var a=0,b=0;b=i;i=i+80|0;c[b>>2]=yb(0)|0;Vb(b+8|0,64,27912,ub(b|0)|0)|0;a=eu(b+8|0)|0;i=b;return a|0}function Lu(){return du(28344,27928,0)|0}function Mu(){return cu(28344,27952,1)|0}function Nu(a){a=a|0;var b=0;if(a){b=Dp(a)|0;a=Np(a)|0;if(!a)a=(b|0)==1?8:3}else a=cu(28008,28160,0)|0;return a|0}function Ou(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;do if(b){if(!a){cu(28024,27992,1)|0;break}d=xu(a,0)|0;a=su(d,373e3)|0;VFa(d);if(!a){cu(28048,27992,1)|0;break}d=(Pu(a,b,c)|0)==0;Yb(a|0)|0;if(!d)cu(28072,27992,1)|0}else cu(28008,27992,1)|0;while(0);return}function Pu(a,b,c){a=a|0;b=b|0;c=c|0;a:do if(!a)c=cu(28120,28104,1)|0;else{if(!b){c=cu(28008,28104,1)|0;break}if((c|0)==17)c=Nu(b)|0;do switch(c|0){case 10:case 9:case 8:case 7:case 6:case 5:case 4:{c=_t()|0;break a}case 14:{c=Sn()|0;break a}case 15:{c=Mu()|0;break a}case 13:{c=Fn()|0;break a}case 18:{c=Rt(a,b)|0;break a}case 2:{c=Yn()|0;break a}case 16:{c=Lo(a,b)|0;break a}case 3:{c=yr()|0;break a}case 11:{c=Br(a,b)|0;break a}case 1:{El(a,b);c=0;break a}case 12:{c=Dr(a,b)|0;break a}default:{c=cu(28144,28104,1)|0;break a}}while(0)}while(0);return c|0}function Qu(a,b){a=a|0;b=b|0;Ru(a,b,2);return}function Ru(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+528|0;do if(b){if((b|0)<0){c[7064]=0;break}if((d&-2|0)!=2){cu(27976,28264,1)|0;break}if(!a){cu(28232,28264,1)|0;break}e=c[7064]|0;if(!e){Cu();Au(28288);e=c[7064]|0}c[7064]=e+1;do if((b|0)!=1)if((Dp(a)|0)==1){e=Us(a,1.0/+(b|0))|0;c[f+8>>2]=e;break}else{e=Hs(a,1.0/+(b|0),1.0/+(b|0))|0;c[f+8>>2]=e;break}else{e=rp(a)|0;c[f+8>>2]=e}while(0);do if((Dp(e)|0)==16){d=ar(e)|0;c[f+4>>2]=d;c[f>>2]=c[7064];wGa(f+16|0,512,28296,f)|0;e=xu(28312,f+16|0)|0;Ou(e,d,3);cp(f+4|0)}else{if((Dp(e)|0)>=8?!((Ap(e)|0)!=0|(d|0)==3):0){c[f>>2]=c[7064];wGa(f+16|0,512,28328,f)|0;e=xu(28312,f+16|0)|0;Ou(e,c[f+8>>2]|0,d);break}c[f>>2]=c[7064];wGa(f+16|0,512,28296,f)|0;e=xu(28312,f+16|0)|0;Ou(e,c[f+8>>2]|0,3)}while(0);VFa(e);cp(f+8|0)}while(0);i=f;return}function Su(){return du(28344,28368,0)|0}function Tu(d,e,f){d=d|0;e=e|0;f=f|0;var j=0,l=0,m=0.0,n=0.0,o=0;l=i;i=i+32|0;if(a[d+5466>>0]|0){j=VM(c[(jk(c[e+140>>2]|0)|0)>>2]|0)|0;o=c[e+140>>2]|0;n=+g[o+36>>2];m=+g[o+40>>2];c[l>>2]=j;h[k>>3]=n;c[l+4>>2]=c[k>>2];c[l+8>>2]=c[k+4>>2];h[k>>3]=m;c[l+12>>2]=c[k>>2];c[l+16>>2]=c[k+4>>2];jN(28384,l)}UK(l+20|0,f);do if(!(f<<16>>16))if(!(a[d+5466>>0]|0))f=0;else{jN(28448,l);f=0}else{j=b[l+20>>1]|0;if(j&1){f=a[e+222>>0]|0;if(!((a[d+5466>>0]|0)==0|f<<24>>24!=0)){jN(28472,l);f=0}}else f=0;if(j&2){f=a[e+221>>0]|f;if(!((a[d+5466>>0]|0)==0|f<<24>>24!=0)){jN(28504,l);f=0;break}}if(f<<24>>24){if((j&4)!=0?(o=a[(c[e+140>>2]|0)+52>>0]|0,!(o<<24>>24==6|o<<24>>24==10|o<<24>>24==11|o<<24>>24==8)):0){if(!(a[d+5466>>0]|0)){f=0;break}jN(28536,l);f=0;break}if((j&16)!=0?(vH(d,e,0)|0)<<24>>24!=0:0){if(!(a[d+5466>>0]|0)){f=0;break}jN(28560,l);f=0;break}if((j&8)!=0?(FEa(VM(c[(jk(c[e+140>>2]|0)|0)>>2]|0)|0,32)|0)!=0:0){if(!(a[d+5466>>0]|0)){f=0;break}jN(28584,l);f=0;break}if((j&32)!=0?(a[(c[e+140>>2]|0)+54>>0]|0)!=0:0){if(!(a[d+5466>>0]|0)){f=0;break}jN(28608,l);f=0;break}if(a[d+5466>>0]|0){c[l>>2]=f&255;jN(28632,l)}}else f=0}while(0);i=l;return f|0}function Uu(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0;m=i;i=i+176|0;bk(m+104|0);ek(m+124|0);ek(m+144|0);if(uca(c[a+5532>>2]|0,d,m+104|0,m+124|0,m+144|0)|0){l=c[m+104>>2]|0;b[m+168>>1]=32767;b[m+170>>1]=32767;b[m+172>>1]=-32767;b[m+174>>1]=-32767;gv(m+104|0,m+168|0);NM(m+72|0);Wj(m+124|0,m+72|0);RM(c[m+72>>2]|0);NM(m+68|0);Wj(m+144|0,m+68|0);RM(c[m+68>>2]|0);if(f)d=0;else d=Vu(a,m+104|0,g)|0;pk(m+12|0,g);rk(m+12|0);if(!(sk(m+12|0)|0))do{pk(m+40|0,(tk(m+12|0)|0)+52|0);rk(m+40|0);if(!(sk(m+40|0)|0))do{Lk(m+76|0,(tk(m+40|0)|0)+36|0);Mk(m+76|0);if(!((Nk(m+76|0)|0)<<24>>24))do{fN((Ok(m+76|0)|0)+16|0,1714496);VL(m+76|0)}while((Nk(m+76|0)|0)<<24>>24==0);OL(m+40|0)|0}while(!(sk(m+40|0)|0));OL(m+12|0)|0}while(!(sk(m+12|0)|0));k=(d|0)==0;if(((c[m+104>>2]|0)+-1|0)>0){f=0;j=0;do{do if(!k)if(!j){n=Dk(m+104|0,0)|0;h=Dk(m+104|0,1)|0;h=Wu(a,d,0,n,h,VM(c[(fk(m+144|0,0)|0)>>2]|0)|0)|0;break}else{o=Dk(m+104|0,j+-1|0)|0;n=Dk(m+104|0,j)|0;h=Dk(m+104|0,j+1|0)|0;h=Wu(a,d,o,n,h,VM(c[(fk(m+144|0,j)|0)>>2]|0)|0)|0;break}else{o=Dk(m+104|0,j)|0;h=Dk(m+104|0,j+1|0)|0;h=Xu(a,g,o,h,VM(c[(fk(m+124|0,j)|0)>>2]|0)|0)|0}while(0);if(!h){n=Dk(m+104|0,j)|0;o=e[n+4>>1]|e[n+6>>1]<<16;c[m>>2]=e[n>>1]|e[n+2>>1]<<16;c[m+4>>2]=o;Yu(j,m,VM(c[(fk(m+124|0,j)|0)>>2]|0)|0);f=f+1|0}j=j+1|0}while((j|0)<((c[m+104>>2]|0)+-1|0))}else f=0;if(k){d=Vu(a,m+104|0,g)|0;Zu(a,d)}if((c[a+5508>>2]|0)>0?(jN(28744,m+8|0),c[m+8>>2]=l,jN(28760,m+8|0),(f|0)>0):0){c[m+8>>2]=f;jN(28800,m+8|0)}_u(a,d)}else d=0;Vj(m+144|0);Vj(m+124|0);dk(m+104|0);i=m;return d|0}function Vu(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,j=0;j=i;i=i+208|0;$u(a,f);pk(j+180|0,f);rk(j+180|0);if(!(sk(j+180|0)|0))do{pk(j+152|0,(tk(j+180|0)|0)+52|0);rk(j+152|0);if(!(sk(j+152|0)|0))do{Lk(j+124|0,(tk(j+152|0)|0)+36|0);Mk(j+124|0);if(!((Nk(j+124|0)|0)<<24>>24))do{g=Ok(j+124|0)|0;if(!(c[g+20>>2]|0)){g=hv(j+124|0)|0;if(g){iv(g);YEa(g)}}else b[g+10>>1]=(e[g+10>>1]|0)&62463;VL(j+124|0)}while((Nk(j+124|0)|0)<<24>>24==0);OL(j+152|0)|0}while(!(sk(j+152|0)|0));OL(j+180|0)|0}while(!(sk(j+180|0)|0));h=WEa(60)|0;Tfa(h,0,f,0);ak(j,h);g=c[j+16>>2]|0;if(g)do{av(a,d,c[(c[j+24>>2]|0)+4>>2]|0,c[(c[j+20>>2]|0)+4>>2]|0,g);ck(j)|0;g=c[j+16>>2]|0}while((g|0)!=0);i=j;return h|0} -function UY(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0.0,j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=i;i=i+176|0;Lk(q+112|0,e);Mk(q+112|0);c[q+0>>2]=c[q+112>>2];c[q+4>>2]=c[q+116>>2];c[q+8>>2]=c[q+120>>2];c[q+12>>2]=c[q+124>>2];c[q+16>>2]=c[q+128>>2];c[q+20>>2]=c[q+132>>2];c[q+24>>2]=c[q+136>>2];f=vZ(d,q)|0;c[q+84>>2]=c[q+112>>2];c[q+88>>2]=c[q+116>>2];c[q+92>>2]=c[q+120>>2];c[q+96>>2]=c[q+124>>2];c[q+100>>2]=c[q+128>>2];c[q+104>>2]=c[q+132>>2];c[q+108>>2]=c[q+136>>2];c[q+56>>2]=c[q+112>>2];c[q+60>>2]=c[q+116>>2];c[q+64>>2]=c[q+120>>2];c[q+68>>2]=c[q+124>>2];c[q+72>>2]=c[q+128>>2];c[q+76>>2]=c[q+132>>2];c[q+80>>2]=c[q+136>>2];e=0;do{if((e|0)>=2?(Nk(q+112|0)|0)<<24>>24==0:0){if((e|0)==3){c[q+56>>2]=c[q+112>>2];c[q+60>>2]=c[q+116>>2];c[q+64>>2]=c[q+120>>2];c[q+68>>2]=c[q+124>>2];c[q+72>>2]=c[q+128>>2];c[q+76>>2]=c[q+132>>2];a[q+80>>0]=a[q+136>>0]|0}c[q+144+(e<<2)>>2]=Ok(q+112|0)|0;VL(q+112|0)}else c[q+144+(e<<2)>>2]=0;e=e+1|0}while((e|0)!=6);e=c[q+152>>2]|0;if(e){n=c[q+156>>2]|0;while(1){m=(n|0)==0;do if(!m)if(!(VY(e,n,b)|0)?!(jZ(b,f,q+144|0)|0):0){if(jZ(b,f,q+144+-4|0)|0?kZ(n,f,b)|0:0){g=f;break}if(jZ(b,f,q+148|0)|0?kZ(e,f,b)|0:0)g=f;else p=18}else g=f;else p=18;while(0);if((p|0)==18){p=0;c[q+28>>2]=c[q+84>>2];c[q+32>>2]=c[q+88>>2];c[q+36>>2]=c[q+92>>2];c[q+40>>2]=c[q+96>>2];c[q+44>>2]=c[q+100>>2];c[q+48>>2]=c[q+104>>2];c[q+52>>2]=c[q+108>>2];f=Ok(q+28|0)|0;if((f|0)!=(e|0)){k=0.0;g=0;h=0.0;while(1){k=k+ +(c[f+120>>2]|0);h=h+ +(c[f+116>>2]|0);j=g+1|0;VL(q+28|0);f=Ok(q+28|0)|0;if((f|0)==(e|0))break;else g=j}if((g|0)>-1){l=~~(h/+(j|0)+.5);j=~~(k/+(j|0)+.5);if(c[77789]|0){jN(319320,q);if(m)jN(319352,q);else{jN(319368,q);f=0;do{g=c[q+144+(f<<2)>>2]|0;do if(!g){jN(383864,q);if((f|0)>0?(o=c[q+144+(f+-1<<2)>>2]|0,(o|0)!=0):0)if(!(EY(o,0)|0)){jN(319416,q);break}else{jN(319400,q);oY(EY(o,0)|0);break}jN(1714256,q)}else{r=c[g+120>>2]|0;c[q>>2]=c[g+116>>2];c[q+4>>2]=r;jN(319440,q)}while(0);f=f+1|0}while((f|0)!=6)}c[q>>2]=l;c[q+4>>2]=j;jN(319464,q)};c[q+28>>2]=c[q+84>>2];c[q+32>>2]=c[q+88>>2];c[q+36>>2]=c[q+92>>2];c[q+40>>2]=c[q+96>>2];c[q+44>>2]=c[q+100>>2];c[q+48>>2]=c[q+104>>2];a[q+52>>0]=a[q+108>>0]|0;g=Ok(q+28|0)|0;if((g|0)!=(e|0)){f=g;while(1){c[f+116>>2]=l;c[f+120>>2]=j;if(c[77789]|0){jN(319488,q);oY(g)}VL(q+28|0);g=Ok(q+28|0)|0;if((g|0)==(e|0))break;else f=g}}}};c[q+84>>2]=c[q+56>>2];c[q+88>>2]=c[q+60>>2];c[q+92>>2]=c[q+64>>2];c[q+96>>2]=c[q+68>>2];c[q+100>>2]=c[q+72>>2];c[q+104>>2]=c[q+76>>2];a[q+108>>0]=a[q+80>>0]|0;c[q+0>>2]=c[q+56>>2];c[q+4>>2]=c[q+60>>2];c[q+8>>2]=c[q+64>>2];c[q+12>>2]=c[q+68>>2];c[q+16>>2]=c[q+72>>2];c[q+20>>2]=c[q+76>>2];c[q+24>>2]=c[q+80>>2];g=vZ(d,q)|0}c[q+144>>2]=c[q+148>>2];c[q+148>>2]=e;c[q+152>>2]=n;f=c[q+160>>2]|0;c[q+156>>2]=f;c[q+160>>2]=c[q+164>>2];if(!((Nk(q+112|0)|0)<<24>>24)){c[q+164>>2]=Ok(q+112|0)|0;VL(q+112|0)}else c[q+164>>2]=0;VL(q+56|0);if(m)break;else{e=n;n=f;f=g}}}i=q;return}function VY(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=c[a+112>>2]|0;f=c[b+112>>2]|0;g=(e+~~(+(d|0)*.013888888888888888+.5)|0)<(f+~~(+(d|0)*.013888888888888888+.5)|0)?f+~~(+(d|0)*.013888888888888888+.5)|0:e+~~(+(d|0)*.013888888888888888+.5)|0;e=mZ(c[a+32>>2]|0,e,d)|0;f=mZ(c[b+32>>2]|0,f,d)|0;e=(e|0)<(f|0)?f:e;f=c[a+120>>2]|0;d=f-(c[b+120>>2]|0)|0;if((d|0)<=(g|0)&(g|0)>=(0-d|0)){a=c[a+116>>2]|0;d=c[b+116>>2]|0;if(!((a-d|0)<=(e|0)&(e|0)>=(0-(a-d)|0)))if((d+a-(f<<1)|0)>(g|0))d=0;else d=(g|0)>=(0-(d+a-(f<<1))|0);else d=1}else d=0;return d|0}function WY(a,b){a=a|0;b=b|0;if(!(+(a|0)<=+(b|0)*1.5))b=0;else b=+(b|0)<=+(a|0)*1.5;return b|0}function XY(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;q=i;i=i+96|0;do if(!(c[e>>2]|0))g=0;else{Lk(q+56|0,e);g=Ok(q+56|0)|0;o=c[g+72>>2]|0;if((o|0)==7){g=YY(e,f)|0;break}h=c[g+120>>2]|0;if((h|0)<(c[g+32>>2]|0))h=(ll(g+16|0)|0)<<16>>16;c[q+52>>2]=0;pk(q+24|0,q+52|0);b[q+22>>1]=0;b[q+20>>1]=0;b[q+18>>1]=0;b[q+16>>1]=0;k=2147483647;l=-2147483647;m=2147483647;n=-2147483647;g=0;while(1){j=(g|0)==0;if(j)ZY(q+56|0,q+20|0,q+16|0);else _Y(q+56|0,q+20|0,q+16|0);wZ(b[a>>1]|0,b[a+2>>1]|0,d,q+20|0);wZ(b[a>>1]|0,b[a+2>>1]|0,d,q+16|0);s=WEa(8)|0;r=c[q+20>>2]|0;c[s>>2]=0;b[s+4>>1]=r;b[s+6>>1]=r>>>16;Ck(q+24|0,s);s=WEa(8)|0;t=c[q+16>>2]|0;c[s>>2]=0;b[s+4>>1]=t;b[s+6>>1]=t>>>16;Ck(q+24|0,s);s=(r<<16>>16|0)<(k|0)?r<<16>>16:k;r=(r<<16>>16|0)>(l|0)?r<<16>>16:l;k=(t<<16>>16|0)<(s|0)?t<<16>>16:s;l=(t<<16>>16|0)>(r|0)?t<<16>>16:r;r=b[q+22>>1]|0;t=(r|0)<(m|0)?r:m;r=(r|0)>(n|0)?r:n;s=b[q+18>>1]|0;m=(s|0)<(t|0)?s:t;n=(s|0)>(r|0)?s:r;if(j?(Mv(q+56|0)|0)<<24>>24!=0:0)p=14;else if((g|0)==1)if(!((Kv(q+56|0)|0)<<24>>24)){g=1;continue}else p=14;if((p|0)==14){p=0;xZ(q+56|0);g=g+1|0}if((g|0)>=2)break}if(c[77789]|0){c[q>>2]=k;c[q+4>>2]=m;c[q+8>>2]=l;c[q+12>>2]=n;jN(318904,q)}g=WEa(96)|0;sfa(g,1714496,1,0,0,k&65535,m&65535,l&65535,n&65535);t=WEa(16)|0;Rha(t,q+52|0,o);c[g+4>>2]=t;g=yZ(0,h,g,e,f)|0;KL(q+52|0,228)}while(0);i=q;return g|0}function YY(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,j=0,k=0;g=i;i=i+48|0;if(!(c[a>>2]|0))d=0;else{Lk(g+12|0,a);f=(Ok(g+12|0)|0)+16|0;d=e[f+4>>1]|e[f+6>>1]<<16;c[g>>2]=e[f>>1]|e[f+2>>1]<<16;c[g+4>>2]=d;d=(kl(g)|0)<<16>>16;f=c[(Ok(g+12|0)|0)+72>>2]|0;Mk(g+12|0);while(1){if((Nk(g+12|0)|0)<<24>>24)break;bja(g,(Ok(g+12|0)|0)+16|0);VL(g+12|0)}if(c[77789]|0){jN(318944,g+8|0);jv(g)}h=WEa(96)|0;k=c[g>>2]|0;j=c[g+4>>2]|0;sfa(h,1714496,1,0,0,k&65535,k>>>16&65535,j&65535,j>>>16&65535);j=WEa(16)|0;Tha(j,g,f);c[h+4>>2]=j;d=yZ(1,d,h,a,b)|0}i=g;return d|0}function ZY(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+80|0;h=Ok(a)|0;g=b[h+22>>1]|0;if(!((Mv(a)|0)<<24>>24)){f=b[(ZL(a,-1)|0)+18>>1]|0;if(f<<16>>16>=g<<16>>16)if(f<<16>>16>g<<16>>16)k=((f<<16>>16)+(g<<16>>16)|0)/2|0;else k=g<<16>>16;else k=f<<16>>16}else k=g<<16>>16;c[l+64>>2]=2147483647;c[l+60>>2]=-2147483647;zZ(h,l+60|0,l+64|0)|0;do{VL(a);f=Ok(a)|0;if((Mv(a)|0)<<24>>24)break}while(zZ(f,l+60|0,l+64|0)|0);c[l+56>>2]=2147483647;c[l+52>>2]=-2147483647;zZ(f,l+52|0,l+56|0)|0;j=c[l+64>>2]|0;if((c[l+52>>2]|0)>(j|0)){c[l+24>>2]=c[a+0>>2];c[l+28>>2]=c[a+4>>2];c[l+32>>2]=c[a+8>>2];c[l+36>>2]=c[a+12>>2];c[l+40>>2]=c[a+16>>2];c[l+44>>2]=c[a+20>>2];c[l+48>>2]=c[a+24>>2];do{VL(l+24|0);g=Ok(l+24|0)|0;if((Mv(l+24|0)|0)<<24>>24)break}while(zZ(g,l+52|0,l+56|0)|0);do{YL(a);g=Ok(a)|0;if((g|0)==(h|0))break}while(zZ(g,l+52|0,l+56|0)|0);VL(a)}f=ZL(a,-1)|0;g=b[f+18>>1]|0;if((Mv(a)|0)<<24>>24==0?(b[(Ok(a)|0)+22>>1]|0)>16:0)g=((b[(Ok(a)|0)+22>>1]|0)+(g<<16>>16)|0)/2|0;else g=g<<16>>16;b[d+2>>1]=k;b[d>>1]=OX(f+80|0,j,k)|0;b[e+2>>1]=g;b[e>>1]=OX(f+80|0,j,g)|0;if((c[77789]|0)!=0?(Mv(a)|0)<<24>>24==0:0){j=OX(f+80|0,c[l+60>>2]|0,g)|0;e=b[e>>1]|0;a=c[f+8>>2]|0;d=b[f+16>>1]|0;c[l>>2]=k;c[l+4>>2]=g;c[l+8>>2]=j;c[l+12>>2]=e;c[l+16>>2]=a;c[l+20>>2]=d;jN(319512,l)}i=l;return}function _Y(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+80|0;h=Ok(a)|0;g=b[h+18>>1]|0;if(!((Kv(a)|0)<<24>>24)){f=b[(ZL(a,1)|0)+22>>1]|0;if(f<<16>>16<=g<<16>>16)if(f<<16>>16>16)k=((f<<16>>16)+(g<<16>>16)|0)/2|0;else k=g<<16>>16;else k=f<<16>>16}else k=g<<16>>16;c[l+64>>2]=2147483647;c[l+60>>2]=-2147483647;AZ(h,l+60|0,l+64|0)|0;do{YL(a);f=Ok(a)|0;if((Kv(a)|0)<<24>>24)break}while(AZ(f,l+60|0,l+64|0)|0);c[l+56>>2]=2147483647;c[l+52>>2]=-2147483647;AZ(f,l+52|0,l+56|0)|0;j=c[l+60>>2]|0;if((c[l+56>>2]|0)<(j|0)){c[l+24>>2]=c[a+0>>2];c[l+28>>2]=c[a+4>>2];c[l+32>>2]=c[a+8>>2];c[l+36>>2]=c[a+12>>2];c[l+40>>2]=c[a+16>>2];c[l+44>>2]=c[a+20>>2];c[l+48>>2]=c[a+24>>2];do{YL(l+24|0);g=Ok(l+24|0)|0;if((Kv(l+24|0)|0)<<24>>24)break}while(AZ(g,l+52|0,l+56|0)|0);do{VL(a);g=Ok(a)|0;if((g|0)==(h|0))break}while(AZ(g,l+52|0,l+56|0)|0);YL(a)}f=ZL(a,1)|0;g=b[f+22>>1]|0;if((Kv(a)|0)<<24>>24==0?(b[(Ok(a)|0)+18>>1]|0)>g<<16>>16:0)g=((b[(Ok(a)|0)+18>>1]|0)+(g<<16>>16)|0)/2|0;else g=g<<16>>16;b[d+2>>1]=k;b[d>>1]=OX(f+80|0,j,k)|0;b[e+2>>1]=g;b[e>>1]=OX(f+80|0,j,g)|0;if((c[77789]|0)!=0?(Kv(a)|0)<<24>>24==0:0){j=b[e>>1]|0;e=OX(f+80|0,c[l+64>>2]|0,g)|0;a=b[f+20>>1]|0;d=c[f+12>>2]|0;c[l>>2]=k;c[l+4>>2]=g;c[l+8>>2]=j;c[l+12>>2]=e;c[l+16>>2]=a;c[l+20>>2]=d;jN(319576,l)}i=l;return}function $Y(a){a=a|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+32|0;fA(h,a+76|0);g=c[((c[a+48>>2]&-5|0)==2?a+44|0:a+32|0)>>2]|0;if(!((aB(h)|0)<<24>>24)){a=0;do{d=ZA(h)|0;e=b[d+14>>1]|0;f=b[d+10>>1]|0;if(!a){a=WEa(168)|0;$aa(a,d,+(e<<16>>16),+(f<<16>>16),+(g|0))}else aba(a,d,+(e<<16>>16),+(f<<16>>16),+(g|0));DL(h)|0}while((aB(h)|0)<<24>>24==0)}else a=0;i=h;return a|0}function aZ(a){a=a|0;var b=0,c=0;c=i;i=i+64|0;b=KY(a)|0;tZ(b,0);fA(c+28|0,b+76|0);fA(c,a+76|0);gA(c);if(!((hA(c)|0)<<24>>24))do{CT(c+28|0,iA(c)|0);DL(c)|0}while((hA(c)|0)<<24>>24==0);i=c;return b|0}function bZ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+32|0;Aka(f+16|0,0,b);Aka(f,0,b);e=c[a+72>>2]|0;d=EY(a,0)|0;while(1){if(!d)break;b=c[d+72>>2]|0;if((c[a+108>>2]|0)==(c[d+108>>2]|0)){Fka(f+16|0,c[d+100>>2]|0,1);Fka(f,c[d+104>>2]|0,1)}e=(b|0)>(e|0)?b:e;d=EY(d,0)|0}c[a+72>>2]=e;b=EY(a,0)|0;while(1){if(!b)break;c[b+72>>2]=e;b=EY(b,0)|0}Eka(f);Eka(f+16|0);i=f;return}function cZ(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(!(BZ(c[a+72>>2]|0,b)|0)){if((b|0)==15){eZ(a,1,a+84|0);eZ(a,0,a+88|0);b=c[a+84>>2]|0;if((b|0)!=0?(b|0)!=(c[b>>2]|0):0)fZ(a,1,a+84|0);b=c[a+88>>2]|0;if((b|0)!=0?(b|0)!=(c[b>>2]|0):0)fZ(a,0,a+88|0)}}else{dZ(a,1,d,e);dZ(a,0,d,e)}return}function dZ(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;h=b?a+84|0:a+88|0;i=c[h>>2]|0;do if((((((i|0)!=0?(i|0)!=(c[i>>2]|0):0)?(eZ(a,b,h),g=c[h>>2]|0,(g|0)!=0):0)?(g|0)!=(c[g>>2]|0):0)?(gZ(a,b,h),f=c[h>>2]|0,(f|0)!=0):0)?(f|0)!=(c[f>>2]|0):0){if(!((c[a+72>>2]&-5|0)!=1|d^1)){hZ(a,b,0,h,e);f=c[h>>2]|0;if(!f)break;if((f|0)==(c[f>>2]|0))break;hZ(a,b,1,h,e);f=c[h>>2]|0}if((f|0)!=0?(f|0)!=(c[f>>2]|0):0)fZ(a,b,h)}while(0);return}function eZ(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=i;i=i+48|0;f=xT(2,b[a+16>>1]|0,b[a+18>>1]|0)|0;if(f){h=CL(e)|0;c[g>>2]=h;c[g+4>>2]=d?319168:319176;jN(319128,g);oY(a)}fA(g+8|0,e);switch(c[a+72>>2]|0){case 6:case 9:case 10:case 11:case 12:case 13:{gA(g+8|0);if(!((hA(g+8|0)|0)<<24>>24))do{e=iA(g+8|0)|0;if((c[e+48>>2]|0)==4?(c[a+48>>2]|0)==4:0){if(f){jN(319208,g);oY(e)}}else{if(f){jN(319184,g);oY(e)}dY(e,d^1,a);ZA(g+8|0)|0}DL(g+8|0)|0}while((hA(g+8|0)|0)<<24>>24==0);break}default:{gA(g+8|0);if(!((hA(g+8|0)|0)<<24>>24))do{e=iA(g+8|0)|0;if(BZ(c[a+72>>2]|0,c[e+72>>2]|0)|0){if(f){jN(319208,g);oY(e)}}else{if(f){jN(319184,g);oY(e)}dY(e,d^1,a);ZA(g+8|0)|0}DL(g+8|0)|0}while((hA(g+8|0)|0)<<24>>24==0)}}i=g;return}function fZ(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;k=i;i=i+48|0;j=xT(2,b[a+16>>1]|0,b[a+18>>1]|0)|0;if(j){h=CL(e)|0;c[k>>2]=h;c[k+4>>2]=d?319168:319176;jN(319272,k);oY(a)}fA(k+8|0,e);e=iA(k+8|0)|0;gA(k+8|0);if(!((hA(k+8|0)|0)<<24>>24)){h=0;while(1){l=iA(k+8|0)|0;m=b[a+20>>1]|0;n=b[l+20>>1]|0;f=b[a+16>>1]|0;g=b[l+16>>1]|0;f=((m<<16>>16>n<<16>>16?n:m)<<16>>16)-((f<<16>>16>16?g:f)<<16>>16)|0;g=(f|0)>(h|0);e=g?l:e;DL(k+8|0)|0;if(!((hA(k+8|0)|0)<<24>>24))h=g?f:h;else{f=e;break}}}else f=e;gA(k+8|0);if(!((hA(k+8|0)|0)<<24>>24))do{e=iA(k+8|0)|0;if((e|0)!=(f|0)){if(j){jN(319184,k);oY(e)}dY(e,d^1,a);ZA(k+8|0)|0}DL(k+8|0)|0}while((hA(k+8|0)|0)<<24>>24==0);i=k;return}function gZ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+96|0;a:do{fA(h+56|0,d);gA(h+56|0);if((hA(h+56|0)|0)<<24>>24)break;b:while(1){e=iA(h+56|0)|0;fA(h+28|0,b?e+84|0:e+88|0);gA(h+28|0);if(!((hA(h+28|0)|0)<<24>>24))do{f=iA(h+28|0)|0;if((f|0)==(a|0)){g=5;break b}fA(h,d);gA(h);if(!((hA(h)|0)<<24>>24))do{if((f|0)==(iA(h)|0)){g=8;break b}DL(h)|0}while((hA(h)|0)<<24>>24==0);DL(h+28|0)|0}while((hA(h+28|0)|0)<<24>>24==0);DL(h+56|0)|0;if((hA(h+56|0)|0)<<24>>24)break a}if((g|0)==5){ZA(h+56|0)|0;dY(e,b^1,a)}else if((g|0)==8){ZA(h)|0;dY(f,b^1,a)}e=c[d>>2]|0;if(!e)break}while((e|0)!=(c[e>>2]|0));i=h;return}function hZ(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;l=i;i=i+80|0;k=xT(2,b[d+16>>1]|0,b[d+18>>1]|0)|0;if(k){j=CL(g)|0;c[l>>2]=j;c[l+4>>2]=e?319168:319176;jN(319232,l);oY(d)}d=c[g>>2]|0;a:do if(d){while(1){if((d|0)==(c[d>>2]|0))break a;fA(l+48|0,g);e=iA(l+48|0)|0;c[l+44>>2]=0;fA(l+16|0,l+44|0);DL(l+48|0)|0;while(1){if((OC(l+48|0)|0)<<24>>24)break;j=iA(l+48|0)|0;if((c[e+100>>2]|0)==(c[j+104>>2]|0)?(c[e+104>>2]|0)==(c[j+100>>2]|0):0)CT(l+16|0,iA(l+48|0)|0);DL(l+48|0)|0}d=MZ(h,e,l+44|0,k,0,l+12|0)|0;if(!d){d=20;break}j=c[l+12>>2]|0;if(!((j|0)<1|f)){d=19;break}if(k){s=c[e+40>>2]|0;t=c[d+40>>2]|0;q=c[e+36>>2]|0;r=c[d+36>>2]|0;o=c[e+28>>2]|0;p=c[d+28>>2]|0;m=c[e+24>>2]|0;n=c[d+24>>2]|0;c[l>>2]=((s|0)>(t|0)?t:s)-((q|0)<(r|0)?r:q);c[l+4>>2]=((o|0)>(p|0)?p:o)-((m|0)<(n|0)?n:m);c[l+8>>2]=j;jN(320344,l)}oA(h,d);oA(h,e);FY(e,d,0);wA(h,e);if((c[l+12>>2]|0)>0)a[e+98>>0]=1;BL(l+44|0);d=c[g>>2]|0;if(!d)break a}if((d|0)==19){BL(l+44|0);break}else if((d|0)==20){BL(l+44|0);break}}while(0);i=l;return}function iZ(a,b,d){a=a|0;b=b|0;d=d|0;if((c[d+100>>2]|0)>(b|0))d=0;else d=(c[d+104>>2]|0)>=(a|0);return d|0}function jZ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=c[d+8>>2]|0;do if(((e|0)!=0?(f=c[d+12>>2]|0,(f|0)!=0):0)?lZ(e,f,b,a)|0:0){e=c[d+4>>2]|0;if((e|0)!=0?kZ(e,b,a)|0:0){e=1;break}e=c[d+16>>2]|0;if(e)e=kZ(e,b,a)|0;else e=0}else e=0;while(0);return e|0}function kZ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=c[a+112>>2]|0;f=mZ(c[a+32>>2]|0,h,d)|0;g=(c[a+120>>2]|0)-b|0;if(((g|0)<=(h+~~(+(d|0)*.013888888888888888+.5)|0)?(h+~~(+(d|0)*.013888888888888888+.5)|0)>=(0-g|0):0)?(e=(c[a+116>>2]|0)-b|0,(e|0)<=(f|0)):0)e=(f|0)>=(0-e|0);else e=0;return e|0}function lZ(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=c[a+112>>2]|0;g=c[b+112>>2]|0;h=(f+~~(+(e|0)*.013888888888888888+.5)|0)<(g+~~(+(e|0)*.013888888888888888+.5)|0)?g+~~(+(e|0)*.013888888888888888+.5)|0:f+~~(+(e|0)*.013888888888888888+.5)|0;f=mZ(c[a+32>>2]|0,f,e)|0;g=mZ(c[b+32>>2]|0,g,e)|0;f=(f|0)<(g|0)?g:f;g=(c[b+120>>2]|0)+(c[a+120>>2]|0)|0;e=(c[b+116>>2]|0)+(c[a+116>>2]|0)|0;if((d-g|0)<=(h|0)&(h|0)>=(0-(d-g)|0)?(d-e|0)<=(f|0)&(f|0)>=(0-(d-e)|0):0)e=1;else if((((d<<1)-g|0)<=(h|0)?(h|0)>=(0-((d<<1)-g)|0):0)?((d<<1)-e|0)<=(f|0):0)e=(f|0)>=(0-((d<<1)-e)|0);else e=0;return e|0}function mZ(a,b,c){a=a|0;b=b|0;c=c|0;return ~~(+(c|0)*.013888888888888888+.5)+b+~~(+(a|0)*.25+.5)|0}function nZ(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if(!b)$L(317272,320056,2,0,h);if(!(c[b>>2]|0))$L(317264,320056,2,0,h);if(!d)$L(317280,320056,2,319904,h);if(c[d+4>>2]|0)$L(317288,320056,2,0,h);f=c[b>>2]|0;g=c[f>>2]|0;do if(g){e=c[b+12>>2]|0;c[d+4>>2]=e;c[e>>2]=d;e=c[b+8>>2]|0;if(e){c[d>>2]=e;c[e+4>>2]=d;c[b+4>>2]=e;if((e|0)!=(g|0)){e=b+8|0;break}c[f>>2]=d;e=b+8|0;break}g=c[b+4>>2]|0;c[d>>2]=g;c[g+4>>2]=d;if(a[b+16>>0]|0)c[f>>2]=d;if(!(a[b+17>>0]|0))e=b+8|0;else{c[b+20>>2]=d;e=b+8|0}}else{c[d+4>>2]=d;c[d>>2]=d;c[f>>2]=d;c[b+12>>2]=d;c[b+4>>2]=d;e=b+8|0}while(0);c[e>>2]=d;i=h;return}function oZ(a,d){a=a|0;d=d|0;var e=0,f=0;f=c[a>>2]|0;e=c[d>>2]|0;d=b[f+10>>1]|0;a=b[e+10>>1]|0;do if(d<<16>>16==a<<16>>16){d=b[f+14>>1]|0;a=b[e+14>>1]|0;if(d<<16>>16!=a<<16>>16){a=(d<<16>>16)-(a<<16>>16)|0;break}d=b[f+8>>1]|0;a=b[e+8>>1]|0;if(d<<16>>16==a<<16>>16){a=(b[f+12>>1]|0)-(b[e+12>>1]|0)|0;break}else{a=(d<<16>>16)-(a<<16>>16)|0;break}}else a=(d<<16>>16)-(a<<16>>16)|0;while(0);return a|0}function pZ(a){a=a|0;return CZ(b[a+80>>1]|0,b[a+82>>1]|0,b[a+16>>1]|0,((b[a+18>>1]|0)+(b[a+22>>1]|0)|0)/2|0)|0}function qZ(a){a=a|0;return CZ(b[a+80>>1]|0,b[a+82>>1]|0,b[a+20>>1]|0,((b[a+18>>1]|0)+(b[a+22>>1]|0)|0)/2|0)|0}function rZ(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;if(!b)$L(317272,32e4,2,0,k);if(!(c[b>>2]|0))$L(317264,32e4,2,0,k);if(!d)$L(317280,32e4,2,320032,k);e=c[d>>2]|0;if(e){j=c[b>>2]|0;f=c[j>>2]|0;do if(f){g=c[b+8>>2]|0;h=c[e>>2]|0;if(!g){f=c[b+4>>2]|0;c[f>>2]=h;if(a[b+16>>0]|0){c[j>>2]=e;a[b+16>>0]=0;e=c[d>>2]|0}c[e>>2]=c[b+12>>2];c[b+12>>2]=c[f>>2];break}else{c[g>>2]=h;if((g|0)==(f|0)){c[j>>2]=e;e=c[d>>2]|0}c[e>>2]=c[b+12>>2];c[b+12>>2]=c[g>>2];break}}else{c[j>>2]=e;c[b+4>>2]=e;c[b+12>>2]=c[e>>2];a[b+16>>0]=1;c[b+8>>2]=0}while(0);c[d>>2]=0}i=k;return}function sZ(a){a=a|0;if((b[a+56>>1]|0)==(b[a+14>>1]|0))a=(b[a+58>>1]|0)!=(b[a+10>>1]|0);else a=1;return a|0}function tZ(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+16|0;if(c[b+76>>2]|0){c[e>>2]=319968;c[e+4>>2]=297;$L(317256,319952,2,1702e3,e)}a[b+164>>0]=d&1;i=e;return}function uZ(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=c[a>>2]|0;if(!b){$L(317264,319928,2,0,d);b=c[a>>2]|0}i=d;return (c[b>>2]|0)==0|0}function vZ(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;Aka(d,0,a);while(1){if((Nk(b)|0)<<24>>24)break;a=Ok(b)|0;VL(b);Fka(d,c[a+120>>2]|0,1);Fka(d,c[a+116>>2]|0,1)}a=~~(+Mka(d)+.5);Eka(d);i=d;return a|0}function wZ(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var f=0;f=b[e>>1]|0;if(f<<16>>16>16){b[e>>1]=a;f=a}a=b[d>>1]|0;if(f<<16>>16>a<<16>>16)b[e>>1]=a;f=b[e+2>>1]|0;if(f<<16>>16>16){b[e+2>>1]=c;f=c}a=b[d+2>>1]|0;if(f<<16>>16>a<<16>>16)b[e+2>>1]=a;return}function xZ(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(!a)$L(317272,319872,2,0,d);b=c[a>>2]|0;if(!b){$L(317264,319872,2,0,d);b=c[a>>2]|0}b=c[b>>2]|0;c[a+8>>2]=b;if(!b){c[a+4>>2]=0;b=0}else{c[a+4>>2]=c[b>>2];b=c[b+4>>2]|0}c[a+12>>2]=b;i=d;return}function yZ(a,d,f,h,j){a=a|0;d=d|0;f=f|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0;n=i;i=i+176|0;l=e[f+20>>1]|e[f+22>>1]<<16;c[n>>2]=e[f+16>>1]|e[f+18>>1]<<16;c[n+4>>2]=l;l=kl(n)|0;k=ll(n)|0;Aka(n+48|0,0,(l<<16>>16>16?k:l)<<16>>16);l=Zj(c[(c[f+4>>2]|0)+12>>2]|0)|0;Lk(n+120|0,h);h=WEa(96)|0;fba(h,f);pk(n+92|0,h+4|0);Lk(n+16|0,j);DZ(n+120|0);while(1){if((uZ(n+120|0)|0)<<24>>24)break;k=hv(n+120|0)|0;fA(n+64|0,k+76|0);while(1){if((aB(n+64|0)|0)<<24>>24)break;j=ZA(n+64|0)|0;do if((c[j+84>>2]|0)!=(k|0)){jN(319640,n+8|0);jv(j+8|0);jN(319672,n+8|0);oY(k);if(!(c[j+84>>2]|0)){jN(319680,n+8|0);break}else{jN(319696,n+8|0);oY(c[j+84>>2]|0);break}}while(0);if((c[j+84>>2]|0)!=(k|0)){c[n+8>>2]=317376;c[n+12>>2]=1595;$L(317256,319712,2,1702e3,n+8|0)}if(l){if((c[j+40>>2]|0)<=4){c[n+8>>2]=317376;c[n+12>>2]=1599;$L(317256,319736,2,1702e3,n+8|0)}pk(n+148|0,(c[j+4>>2]|0)+4|0);if(l?(b[(tk(n+148|0)|0)+16>>1]|0)<=0:0){c[n+8>>2]=317376;c[n+12>>2]=1602;$L(317256,319792,2,1702e3,n+8|0)}}else pk(n+148|0,(c[j+4>>2]|0)+4|0);if(a)Fka(n+48|0,(kl(j+8|0)|0)<<16>>16,1);else Fka(n+48|0,(ll(j+8|0)|0)<<16>>16,1);Ck(n+92|0,j);DL(n+64|0)|0}ov(n+16|0,k);VL(n+120|0)}if(l?vk(n+92|0)|0:0){if(f){wk(f);YEa(f)}gba(h);YEa(h);h=0}else m=28;do if((m|0)==28){g[h+36>>2]=+Mka(n+48|0);if(a){m=(kl(f+16|0)|0)<<16>>16;g[h+32>>2]=+(((m|0)<(d|0)?m:d)|0);g[h+40>>2]=+(m+1|0);break}else{m=(ll(f+16|0)|0)<<16>>16;g[h+32>>2]=+(((m|0)<(d|0)?m:d)|0);g[h+40>>2]=+(m+1|0);break}}while(0);Eka(n+48|0);i=n;return h|0}function zZ(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=b[a+22>>1]|0;f=b[a+18>>1]|0;l=c[a+8>>2]|0;k=b[a+80>>1]|0;j=b[a+82>>1]|0;h=CZ(k,j,l,g)|0;i=b[a+16>>1]|0;g=CZ(k,j,i,g)|0;a=CZ(k,j,l,f)|0;f=CZ(k,j,i,f)|0;a=(h|0)>=(a|0)?h:a;f=(g|0)<=(f|0)?g:f;g=c[e>>2]|0;if((a|0)<=(g|0)?(f|0)>=(c[d>>2]|0):0){c[e>>2]=(g|0)>(f|0)?f:g;l=c[d>>2]|0;c[d>>2]=(l|0)<(a|0)?a:l;a=1}else a=0;return a|0}function AZ(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=b[a+22>>1]|0;f=b[a+18>>1]|0;l=b[a+20>>1]|0;k=b[a+80>>1]|0;j=b[a+82>>1]|0;h=CZ(k,j,l,g)|0;i=c[a+12>>2]|0;g=CZ(k,j,i,g)|0;a=CZ(k,j,l,f)|0;f=CZ(k,j,i,f)|0;a=(h|0)>=(a|0)?h:a;f=(g|0)<=(f|0)?g:f;g=c[e>>2]|0;if((a|0)<=(g|0)?(f|0)>=(c[d>>2]|0):0){c[e>>2]=(g|0)>(f|0)?f:g;l=c[d>>2]|0;c[d>>2]=(l|0)<(a|0)?a:l;a=1}else a=0;return a|0}function BZ(a,b){a=a|0;b=b|0;if((a|0)!=(b|0)?!((a|0)==1&(b|0)==5):0)return (b|0)==1&(a|0)==5|0;return 1}function CZ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return (ba(b<<16>>16,c<<16>>16)|0)-(ba(a<<16>>16,d<<16>>16)|0)|0}function DZ(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if(!a)$L(317272,319840,2,0,e);b=c[a>>2]|0;if(!b){$L(317264,319840,2,0,e);b=c[a>>2]|0}b=c[b>>2]|0;if(b){d=c[b+4>>2]|0;c[a+8>>2]=d;c[a+4>>2]=b;if(!d)b=0;else b=c[d+4>>2]|0}else{c[a+8>>2]=0;c[a+4>>2]=0;b=0}c[a+12>>2]=b;i=e;return}function EZ(a){a=a|0;l_(a);c[a>>2]=320288;return}function FZ(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;m_(a,b,d,e);c[a>>2]=320288;return}function GZ(a){a=a|0;n_(a);return}function HZ(a){a=a|0;n_(a);YEa(a);return}function IZ(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0;g=i;i=i+128|0;c[g+8>>2]=d;c[g+12>>2]=f;jN(352312,g+8|0);bA(g+16|0,b);a[g+60>>0]=1;zA(g+16|0,d,f,1);while(1){b=AA(g+16|0)|0;if(!b)break;h=e[b+20>>1]|e[b+22>>1]<<16;c[g>>2]=e[b+16>>1]|e[b+18>>1]<<16;c[g+4>>2]=h;if(!(px(g,+(d|0),+(f|0))|0))continue;jN(320304,g+8|0);jv(b+16|0);oY(b)}jA(g+100|0);i=g;return}function JZ(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+112|0;bA(f,a);cA(f);while(1){e=dA(f)|0;if(!e)break;if(!(KZ(a,b,d,e)|0))continue;pA(f)}if(b)Qc[c[(c[b>>2]|0)+4>>2]&511](b);if(d)Qc[c[(c[d>>2]|0)+4>>2]&511](d);jA(f+84|0);i=f;return}function KZ(a,b,d,f){a=a|0;b=b|0;d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;l=i;i=i+32|0;a:do if(DX(f)|0)g=0;else{g=0;do{h=e[f+16>>1]|e[f+18>>1]<<16;k=e[f+20>>1]|e[f+22>>1]<<16;c[l>>2]=h;c[l+4>>2]=k;h=xT(2,h<<16>>16,h>>16)|0;if(h){jN(320320,l+8|0);jv(l)}if(!(Vc[c[(c[b>>2]|0)+8>>2]&63](b,f,l)|0))break a;c[l+24>>2]=0;LZ(a,f,l,h,l+24|0);j=MZ(a,f,l+24|0,h,d,l+20|0)|0;k=c[l+20>>2]|0;do if(!((j|0)!=0&(k|0)<1))if(j){if(!h){h=0;break}c[l+8>>2]=k;jN(320392,l+8|0);jv(j+16|0);h=0;break}else{if(!h){h=0;break}jN(320440,l+8|0);h=0;break}else{if(h){q=c[f+40>>2]|0;r=c[j+40>>2]|0;o=c[f+36>>2]|0;p=c[j+36>>2]|0;m=c[f+28>>2]|0;n=c[j+28>>2]|0;h=c[f+24>>2]|0;g=c[j+24>>2]|0;c[l+8>>2]=((q|0)>(r|0)?r:q)-((o|0)<(p|0)?p:o);c[l+12>>2]=((m|0)>(n|0)?n:m)-((h|0)<(g|0)?g:h);c[l+16>>2]=k;jN(320344,l+8|0)}oA(a,j);oA(a,f);FY(f,j,0);wA(a,f);g=1;h=1}while(0);BL(l+24|0)}while(h)}while(0);i=l;return g|0}function LZ(b,d,f,g,h){b=b|0;d=d|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0;m=i;i=i+240|0;k=~~(+(c[b+4>>2]|0)*.25+.5);bA(m+128|0,b);a[m+172>>0]=1;EX(m+128|0,f);a:while(1){f=FX(m+128|0)|0;if(!f)break;if(!(o_(d,f,g)|0))continue;do if(!(sP(d+16|0,f+16|0)|0)?!(sP(f+16|0,d+16|0)|0):0){j=e[d+20>>1]|e[d+22>>1]<<16;c[m+8>>2]=e[d+16>>1]|e[d+18>>1]<<16;c[m+12>>2]=j;bja(m+8|0,f+16|0);bA(m+24|0,b);a[m+68>>0]=1;EX(m+24|0,m+8|0);while(1){j=FX(m+24|0)|0;if(!j){l=17;break}if((j|0)==(d|0)|(j|0)==(f|0))continue;if(HY(j,d,f,k,0)|0)continue;n=e[j+20>>1]|e[j+22>>1]<<16;c[m>>2]=e[j+16>>1]|e[j+18>>1]<<16;c[m+4>>2]=n;if(DD(m,d+16|0)|0)continue;if(DD(m,f+16|0)|0)continue;if(o_(d,j,0)|0)continue;if(!(o_(f,j,0)|0))break}if((l|0)==17){l=0;jA(m+108|0);break}if(g){c[m+16>>2]=k;jN(320960,m+16|0);jv(j+16|0);jN(321032,m+16|0);o_(d,j,1)|0;jN(321040,m+16|0);o_(f,j,1)|0;jN(321048,m+16|0);HY(j,d,f,k,1)|0}jA(m+108|0);continue a}while(0);if(g){jN(321064,m+16|0);jv(f+16|0)}FL(h,28,f)}jA(m+212|0);i=m;return}function MZ(a,b,d,f,g,h){a=a|0;b=b|0;d=d|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=i;i=i+128|0;if(h)c[h>>2]=0;if(!(c[d>>2]|0))j=0;else{o=~~(+(c[a+4>>2]|0)*.25+.5);fA(q+48|0,d);p=e[b+20>>1]|e[b+22>>1]<<16;c[q>>2]=e[b+16>>1]|e[b+18>>1]<<16;c[q+4>>2]=p;gA(q+48|0);while(1){if((hA(q+48|0)|0)<<24>>24)break;bja(q,(iA(q+48|0)|0)+16|0);DL(q+48|0)|0}c[q+104>>2]=0;OZ(a,q,b,q+104|0);if(f){n=CL(d)|0;p=CL(q+104|0)|0;c[q+8>>2]=n;c[q+12>>2]=p;jN(320480,q+8|0);jv(b+16|0);p=q+104|0}else p=q+104|0;c[q+44>>2]=0;GL(q+44|0,p,d);gA(q+48|0);l=0;j=0;n=2147483647;a=0;while(1){if((hA(q+48|0)|0)<<24>>24)break;m=iA(q+48|0)|0;if((g|0)!=0?!(Vc[c[(c[g>>2]|0)+8>>2]&63](g,b,m)|0):0)if(f){jN(320544,q+8|0);jv(m+16|0);k=n}else k=n;else{k=p_(b,m,o,q+104|0)|0;if((j|0)==0|(k|0)<(n|0)){dja(q+120|0,m+16|0,b+16|0);l=Jv(q+120|0)|0;l=l-(Jv(m+16|0)|0)|0;if(f){c[q+8>>2]=k;c[q+12>>2]=l;jN(320576,q+8|0);jv(q);oY(m);j=m}else j=m}else if((k|0)==(n|0)){dja(q+112|0,m+16|0,b+16|0);r=Jv(q+112|0)|0;r=r-(Jv(m+16|0)|0)|0;k=(r|0)<(l|0);l=k?r:l;j=k?m:j;k=n}else k=n;r=p_(b,m,o,q+44|0)|0;a=(r|0)>(a|0)?r:a}DL(q+48|0)|0;n=k}a:do if((n|0)>0&(a|0)<(n|0)){fA(q+76|0,d);gA(q+76|0);if(!((hA(q+76|0)|0)<<24>>24)){b:while(1){k=iA(q+76|0)|0;if(!(vY(k,b,0)|0)?(c[q+16>>2]=c[q+76>>2],c[q+20>>2]=c[q+80>>2],c[q+24>>2]=c[q+84>>2],c[q+28>>2]=c[q+88>>2],c[q+32>>2]=c[q+92>>2],c[q+36>>2]=c[q+96>>2],c[q+40>>2]=c[q+100>>2],gA(q+16|0),(hA(q+16|0)|0)<<24>>24==0):0)do{l=iA(q+16|0)|0;if((l|0)!=(k|0)?!(o_(k,l,0)|0):0)break b;DL(q+16|0)|0}while((hA(q+16|0)|0)<<24>>24==0);DL(q+76|0)|0;if((hA(q+76|0)|0)<<24>>24)break a}if(f){jN(321648,q+8|0);jv(l+16|0);jN(321680,q+8|0);jv(k+16|0);a=n}else a=n}}else a=n;while(0);if(h)c[h>>2]=a;BL(q+44|0);BL(p)}i=q;return j|0}function NZ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+144|0;bA(j+32|0,a);cA(j+32|0);d=0;while(1){g=dA(j+32|0)|0;if(!g)break;c[j+28>>2]=0;OZ(a,g+16|0,g,j+28|0);fA(j,j+28|0);gA(j);h=0;while(1){if((hA(j)|0)<<24>>24)break;cja(j+136|0,(iA(j)|0)+16|0,g+16|0);f=Jv(j+136|0)|0;if((f|0)>0&(b|0)!=0){e=c[b>>2]|0;if(!e){e=WEa(32)|0;m_(e,c[a+4>>2]|0,a+20|0,a+24|0);c[e>>2]=320288;c[b>>2]=e}wA(e,KY(iA(j)|0)|0);if(!h){h=c[b>>2]|0;wA(h,KY(g)|0)}}DL(j)|0;h=1;d=f+d|0}BL(j+28|0)}jA(j+116|0);i=j;return d|0}function OZ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=i;i=i+112|0;bA(e,a);EX(e,b);while(1){b=FX(e)|0;if(!b)break;if((b|0)==(c|0))continue;FL(d,28,b)}jA(e+84|0);i=e;return}function PZ(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+272|0;j=~~(+(c[b+4>>2]|0)*.25+.5);bA(o+144|0,b);cA(o+144|0);while(1){l=dA(o+144|0)|0;if(!l)break;bA(o+40|0,b);a[o+84>>0]=1;EX(o+40|0,l+16|0);m=0;a:while(1){b:while(1){f=FX(o+40|0)|0;if(!f)break a;if((f|0)==(l|0))continue;if(HY(f,l,l,j,0)|0?HY(l,f,f,j,0)|0:0)continue;e=c[l+76>>2]|0;if((e|0)!=0?(e|0)==(c[e>>2]|0):0){if(sP(l+16|0,f+16|0)|0)break}else n=11;if(((n|0)==11?(n=0,g=gY(l)|0,hY(o+256|0,l,g),!(DD(o+256|0,f+16|0)|0)):0)?(e=ll(g+8|0)|0,+(e<<16>>16)>+((ll(o+256|0)|0)<<16>>16)*1.75):0){n=13;break a}e=c[f+76>>2]|0;if(!((e|0)!=0?(e|0)==(c[e>>2]|0):0))n=18;if(((n|0)==18?(n=0,h=gY(f)|0,hY(o+248|0,f,h),!(DD(o+248|0,l+16|0)|0)):0)?(e=ll(h+8|0)|0,+(e<<16>>16)>+((ll(o+248|0)|0)<<16>>16)*1.75):0){n=20;break a}e=MY(l,f+16|0)|0;do if((MY(f,l+16|0)|0)>(e|0)){e=c[l+76>>2]|0;if((e|0)!=0?(e|0)==(c[e>>2]|0):0)break;e=IY(l,f+16|0)|0;if(!e)continue b;DA(o+144|0);e=JY(l,e)|0;wA(b,l);if(e){n=30;break a}c[o>>2]=320664;c[o+4>>2]=606;$L(320096,320640,2,1702e3,o);continue b}while(0);e=IY(f,l+16|0)|0;if(!e)continue;DA(o+40|0);e=JY(f,e)|0;wA(b,f);if(e){n=30;break a}c[o>>2]=320664;c[o+4>>2]=597;$L(320096,320640,2,1702e3,o)}m=m+1|0}if((n|0)==13){n=0;DA(o+144|0);q_(g,l,d);wA(b,l);pA(o+144|0)}else if((n|0)==20){n=0;DA(o+40|0);q_(h,f,d);wA(b,f);pA(o+144|0)}else if((n|0)==30){n=0;wA(b,e);pA(o+144|0);pA(o+40|0)}if(((m|0)>2?(k=c[l+76>>2]|0,(k|0)!=0):0)?(k|0)==(c[k>>2]|0):0){oA(b,l);Lk(o+8|0,d);a[l+97>>0]=1;ov(o+8|0,l);pA(o+144|0)}jA(o+124|0)}jA(o+228|0);i=o;return}function QZ(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;k=i;i=i+112|0;bA(k,a);cA(k);j=0;a:while(1){while(1){h=dA(k)|0;if(!h)break a;if((c[h+52>>2]|0)!=(d|0))continue;if(((c[h+48>>2]|0)+-1|0)>>>0>=2)break}j=RZ(a,e,f,g,xT(2,b[h+16>>1]|0,b[h+18>>1]|0)|0,h)|0|j}jA(k+84|0);i=k;return j|0}function RZ(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=i;i=i+16|0;if(f){jN(321088,r);jv(g+16|0)}h=kl(g+16|0)|0;l=ll(g+16|0)|0;h=(h<<16>>16>l<<16>>16?l:h)<<16>>16;l=c[a+4>>2]<<1;n=1;p=0;k=2147483647;j=5;o=0;do{m=h_(a,o,b,d,e,f,g,r+12|0)|0;if(f){s=c[r+12>>2]|0;c[r>>2]=o;c[r+4>>2]=m;c[r+8>>2]=s;jN(321112,r)}if((m|0)!=5){t=c[r+12>>2]|0;s=(t|0)<(k|0);k=s?t:k;j=s?m:j}p=(m|0)==4|p;n=(m|0)==4&n;o=o+1|0}while((o|0)!=4);if((k|0)<=(((h<<2|0)<(l|0)?l:h<<2)|0)?(q=c[g+52>>2]|0,(q|0)!=4|n):0){k=c[g+48>>2]|0;if((j|0)!=7|p)if((j|0)!=6|p){j=(j|0)==4;h=j?1:q;j=j?5:k}else{h=4;j=6}else{h=4;j=7}if(!((j|0)==(k|0)&(h|0)==(q|0))){c[g+52>>2]=h;c[g+48>>2]=j;_X(g);if(f){jN(321152,r);oY(g);h=1}else h=1}else h=0}else h=0;i=r;return h|0}function SZ(a){a=a|0;var d=0,f=0;f=i;i=i+144|0;c[f+132>>2]=0;Lk(f+104|0,f+132|0);bA(f,a);cA(f);while(1){d=dA(f)|0;if(!d)break;nZ(f+104|0,d)}d=b[a+22>>1]|0;b[f+140>>1]=0-(e[a+24>>1]|0);b[f+142>>1]=d;d=b[a+26>>1]|0;b[f+136>>1]=0-(e[a+20>>1]|0);b[f+138>>1]=d;xX(a,c[a+4>>2]|0,f+140|0,f+136|0);DZ(f+104|0);while(1){if((uZ(f+104|0)|0)<<24>>24)break;d=hv(f+104|0)|0;mY(d);wA(a,d);VL(f+104|0)}jA(f+84|0);TL(f+132|0,238);i=f;return}function TZ(a,b,d){a=a|0;b=b|0;d=d|0;var f=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+240|0;pk(n+112|0,d);pk(n+168|0,b);c[n+196>>2]=0;Lk(n+200|0,n+196|0);bA(n+8|0,a);cA(n+8|0);a:while(1){d=dA(n+8|0)|0;if(!d)break;nZ(n+200|0,d);m=c[d+48>>2]|0;do if((m&-2|0)!=6){if((m|0)==5?(CL(d+76|0)|0)>1:0)break;lY(d);continue a}while(0);b=e[d+16>>1]|e[d+18>>1]<<16;f=e[d+20>>1]|e[d+22>>1]<<16;c[n>>2]=b;c[n+4>>2]=f;j=c[d+44>>2]|0;k=c[d+32>>2]|0;l=$Y(d)|0;if(!l){lY(d);continue}h=WEa(96)|0;d=UGa(b|0,f|0,48)|0;sfa(h,1714496,1,0,0,b&65535,b>>>16&65535,f&65535,d&65535);d=WEa(16)|0;Tha(d,n,(m|0)==6?7:1);c[h+4>>2]=d;d=WEa(96)|0;fba(d,h);Lk(n+140|0,d+92|0);nZ(n+140|0,l);if((m|0)==6){g[d+36>>2]=+(j|0);g[d+32>>2]=+((kl(n)|0)<<16>>16);g[d+40>>2]=+(((kl(n)|0)<<16>>16)+1|0)}else{g[d+36>>2]=+(k|0);g[d+32>>2]=+((ll(n)|0)<<16>>16);g[d+40>>2]=+(((ll(n)|0)<<16>>16)+1|0)}qv(n+168|0,h);qv(n+112|0,d)}r_(a);jA(n+92|0);TL(n+196|0,238);i=n;return}function UZ(a,b){a=a|0;b=b|0;var d=0,f=0;f=i;i=i+160|0;c[f+140>>2]=0;Lk(f+112|0,f+140|0);bA(f+8|0,a);cA(f+8|0);while(1){d=dA(f+8|0)|0;if(!d)break;nZ(f+112|0,d)}c[f+4>>2]=e[a+20>>1]|e[a+22>>1]<<16;c[f>>2]=e[a+24>>1]|e[a+26>>1]<<16;_ia(f+144|0,f+4|0,f);aja(f+144|0,b);xX(a,c[a+4>>2]|0,f+144|0,f+148|0);DZ(f+112|0);while(1){if((uZ(f+112|0)|0)<<24>>24)break;b=hv(f+112|0)|0;$X(b);wA(a,b);VL(f+112|0)}jA(f+92|0);TL(f+140|0,238);i=f;return}function VZ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+112|0;bA(f,a);cA(f);while(1){e=dA(f)|0;if(!e)break;a=J3(b,e+16|0,1,0)|0;do if(a){if((c[a+40>>2]|0)>>>0>=2){a=J3(b,e+16|0,0,0)|0;if(!a)break;if((c[a+40>>2]|0)>>>0>=2)break}wY(e,a)}while(0);d=I3(b,e+16|0,1,0)|0;do if(d){a=c[d+40>>2]|0;if((a+-3|0)>>>0>=2){d=I3(b,e+16|0,0,0)|0;if(!d)break;a=c[d+40>>2]|0}if((a+-3|0)>>>0<2)xY(e,d)}while(0);GY(e,c[b+84>>2]|0)}jA(f+84|0);i=f;return}function WZ(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;j=i;i=i+144|0;e=c[a+12>>2]|0;h=XEa(e>>>0>1073741823|e<<2>>>0>4294967291?-1:(e<<2)+4|0)|0;c[h>>2]=e;if(e)YGa(h+4|0,0,e<<2|0)|0;NX(d,e);bA(j+40|0,a);cA(j+40|0);g=0;a:while(1){while(1){f=dA(j+40|0)|0;if(!f)break a;e=c[f+48>>2]|0;if(!e)continue;else if((e|0)!=5)break;e=c[f+76>>2]|0;if(!e)break;if((e|0)!=(c[e>>2]|0))break}lV(a,b[f+16>>1]|0,b[f+18>>1]|0,j+32|0,j+28|0);Lk(j,h+4+(c[j+28>>2]<<2)|0);ov(j,f);g=1}if(g?(c[a+12>>2]|0)>0:0){f=0;do{e=h+4+(f<<2)|0;if(!(c[e>>2]|0))e=0;else{k=WEa(28)|0;x_(k,e);e=k}s_(d,e);f=f+1|0}while((f|0)<(c[a+12>>2]|0))}e=h+4+(c[h>>2]<<2)|0;if((h+4|0)!=(e|0))do{e=e+-4|0;TL(e,238)}while((e|0)!=(h+4|0));ZEa(h);jA(j+124|0);i=j;return g|0}function XZ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+112|0;bA(j,a);cA(j);h=0;a:while(1){a=(h|0)==0;d=h+64|0;e=h+68|0;while(1){f=dA(j)|0;if(!f)break a;g=c[f+48>>2]|0;if((g|0)==5|(g|0)==0)continue;else if((g|0)==7){if(((c[f+52>>2]|0)+-3|0)>>>0>=4)continue}else if((g+-3|0)>>>0>=2)continue;if(a)break;if((c[f+64>>2]|0)<(c[d>>2]|0))yY(h,f,0);if((c[f+68>>2]|0)<=(c[e>>2]|0))continue;zY(h,f,0)}h=KY(f)|0;c[h+48>>2]=7;yY(h,h,0);zY(h,h,0)}if(a)a=0;else{GY(h,b);a=WEa(28)|0;z_(a,h)}jA(j+84|0);i=j;return a|0}function YZ(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+272|0;pk(k+36|0,b);c[k+120>>2]=0;Lk(k+92|0,k+120|0);bA(k+128|0,a);cA(k+128|0);a:while(1){e=dA(k+128|0)|0;if(!e)break;f=c[e+48>>2]|0;g=c[e+52>>2]|0;b:do if((f+-3|0)>>>0>=2){if(f){fA(k+64|0,e+76|0);gA(k+64|0);d=0;while(1){if((hA(k+64|0)|0)<<24>>24)break;b=iA(k+64|0)|0;if(c[b+40>>2]|0){c[b+40>>2]=f;if((c[b+44>>2]|0)!=6)c[b+44>>2]=g}else{if(!(gla(c[b+4>>2]|0)|0)){c[k>>2]=320664;c[k+4>>2]=953;$L(320096,320696,2,1702e3,k)}c[b+84>>2]=0;ZA(k+64|0)|0;d=1}DL(k+64|0)|0}h=(d&1)!=0;j=18}}else{fA(k+8|0,e+76|0);gA(k+8|0);while(1){if((hA(k+8|0)|0)<<24>>24){h=0;j=18;break b}Ck(k+36|0,iA(k+8|0)|0);DL(k+8|0)|0}}while(0);if(((j|0)==18?(j=0,(f|0)!=0):0)?(c[e+76>>2]|0)!=0:0){if(!h)continue;DA(k+128|0);$X(e);wA(a,e);pA(k+128|0);continue}fA(k+232|0,e+76|0);iY(e);ov(k+92|0,e);DA(k+128|0);gA(k+232|0);while(1){if((hA(k+232|0)|0)<<24>>24)continue a;b=iA(k+232|0)|0;if(!(gla(c[b+4>>2]|0)|0)){d=c[b+4>>2]|0;if(d){KL(d+4|0,230);YEa(d)}if(b){QX(b);YEa(b)}}DL(k+232|0)|0}}jA(k+212|0);TL(k+120|0,238);i=k;return}function ZZ(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+112|0;bA(g+8|0,a);cA(g+8|0);while(1){e=dA(g+8|0)|0;if(!e)break;if(!d)f=0;else f=c[d+(c[g+48>>2]<<2)>>2]|0;_Z(a,f,e);if(!(xT(2,b[e+16>>1]|0,b[e+18>>1]|0)|0))continue;jN(320728,g);oY(e)}jA(g+92|0);i=g;return}function _Z(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;k=e[f+16>>1]|e[f+18>>1]<<16;n=e[f+20>>1]|e[f+22>>1]<<16;c[q>>2]=k;c[q+4>>2]=n;p=((b[f+18>>1]|0)+(b[f+22>>1]|0)|0)/2|0;j=b[a+20>>1]|0;g=b[a+24>>1]|0;if(d){h=D_(d,(k&65535)<<16>>16,p)|0;if(h)j=CX(h,p)|0;h=D_(d,(n&65535)<<16>>16,p)|0;d=UGa(k|0,n|0,48)|0;if(!h){o=k>>>16;m=k&65535;l=d&65535;k=n&65535;d=j}else{o=k>>>16;m=k&65535;l=d&65535;k=n&65535;d=j;g=BX(h,p)|0}}else{l=UGa(k|0,n|0,48)|0;o=UGa(k|0,n|0,16)|0;m=k&65535;l=l&65535;k=n&65535;d=j}o=o<<16>>16;p=l<<16>>16;c[f+8>>2]=j_(a,((ll(q)|0)<<16>>16)+(m<<16>>16)|0,1,d+-20|0,o,p,f)|0;c[f+12>>2]=j_(a,(k<<16>>16)-((ll(q)|0)<<16>>16)|0,0,g+20|0,o,p,f)|0;i=q;return}function $Z(a){a=a|0;var b=0,d=0;d=i;i=i+144|0;c[d+132>>2]=0;Lk(d+104|0,d+132|0);bA(d,a);cA(d);while(1){b=dA(d)|0;if(!b)break;iY(b);ov(d+104|0,b)}r_(a);jA(d+84|0);TL(d+132|0,238);i=d;return}function a_(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+112|0;bA(d,a);cA(d);while(1){a=dA(d)|0;if(!a)break;if((c[a+48>>2]|0)!=5)continue;DA(d);c[a+52>>2]=1;c[a+48>>2]=0;_X(a);iY(a);cY(a);YEa(a)}iba(b);jA(d+84|0);i=d;return}function b_(a){a=a|0;var b=0,d=0;d=i;i=i+112|0;bA(d,a);cA(d);while(1){b=dA(d)|0;if(!b)break;if((c[b+52>>2]|0)==6)continue;DA(d);if(kY(b)|0){wA(a,b);pA(d);continue}else{cY(b);YEa(b);continue}}jA(d+84|0);i=d;return}function c_(a){a=a|0;var d=0,e=0,f=0.0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+160|0;bA(q+48|0,a);cA(q+48|0);a:while(1){m=dA(q+48|0)|0;if(!m)break;if(((c[m+72>>2]|0)+-9|0)>>>0>=3)continue;p=xT(2,b[m+16>>1]|0,b[m+18>>1]|0)|0;a=0;d=0;e=0;l=0;do{fA(q+16|0,(l|0)==0?m+88|0:m+84|0);gA(q+16|0);while(1){if((hA(q+16|0)|0)<<24>>24)break;if(((c[(iA(q+16|0)|0)+72>>2]|0)+-9|0)>>>0<3)break;DL(q+16|0)|0}b:do if((hA(q+16|0)|0)<<24>>24){gA(q+16|0);g=d;while(1){if((hA(q+16|0)|0)<<24>>24){d=g;break b}d=iA(q+16|0)|0;n=c[d+72>>2]|0;if(!((n|0)==6|(Zj(n)|0)^1)){if(p){jN(320760,q);jv(m+16|0);jN(320800,q);jv(d+16|0)}if((b[d+16>>1]|0)>=(b[m+16>>1]|0)?(b[d+20>>1]|0)<=(b[m+20>>1]|0):0){k=HA(b[d+18>>1]|0,b[d+22>>1]|0,b[m+18>>1]|0,b[m+22>>1]|0)|0;n=(a|0)==0|(k|0)<(g|0);a=n?d:a;d=n?k:g;e=n?l:e}else d=g}else d=g;DL(q+16|0)|0;g=d}}while(0);l=l+1|0}while((l|0)<2);if(!a)continue;if(p){jN(320824,q);jv(a+16|0)}o=(e|0)!=0;k=0;n=0;l=0;d=0;m=0;h=a;e=32767;j=0;c:while(1){g=m;while(1){if(!((h|0)!=0&(l|0)<8)){h=n;break c}if(!(Zj(c[h+72>>2]|0)|0))break c;l=l+1|0;j=((ll(h+16|0)|0)<<16>>16)+j|0;g=EY(h,o)|0;if(g)break;else{g=0;h=0}}h=HA(b[h+18>>1]|0,b[h+22>>1]|0,b[g+18>>1]|0,b[g+22>>1]|0)|0;if((h|0)>(k|0)){k=h;m=g;d=(j|0)/(l|0)|0}else{m=n;e=(h|0)<(e|0)?h:e}f=+(k|0);if(!(f>+(d|0)*.5)){n=m;m=g;h=g;continue}if(f>+(e|0)*2.0){h=m;break}else{n=m;m=g;h=g}}if(p?(c[q>>2]=l,c[q+4>>2]=k,c[q+8>>2]=e,c[q+12>>2]=d,jN(320848,q),(h|0)!=0):0){jN(320912,q);jv(h+16|0)}n=(l|0)<8;d=(g|0)==0&n?0:h;if(!n)continue;while(1){if((a|0)==0|(a|0)==(d|0))continue a;c[a+72>>2]=8;_X(a);if(p){jN(320928,q);jv(a+16|0)}a=EY(a,o)|0}}jA(q+132|0);i=q;return}function d_(a){a=a|0;var b=0,d=0;d=i;i=i+112|0;bA(d,a);cA(d);while(1){b=dA(d)|0;if(!b)break;if((c[b+48>>2]&-5|0)==2){e_(a,1,b);e_(a,0,b);continue}else{f_(a,1,b);f_(a,0,b);continue}}jA(d+84|0);i=d;return}function e_(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+112|0;if((c[e+72>>2]|0)!=14){k=c[e+36>>2]|0;l=c[e+40>>2]|0;bA(m,a);JA(m,(l+k|0)/2|0,b[e+18>>1]|0,b[e+22>>1]|0);h=2147483647;j=0;a:while(1){while(1){g=KA(m,d)|0;if(!g)break a;if((g|0)==(e|0))continue;if((c[g+72>>2]|0)==14)continue;a=c[g+36>>2]|0;f=c[g+40>>2]|0;if(((f+a|0)/2|0|0)<((l+k|0)/2|0|0)^d)continue;if((HA(b[e+18>>1]|0,b[e+22>>1]|0,b[g+18>>1]|0,b[g+22>>1]|0)|0)>=0)continue;if(HX(c[e+48>>2]|0,c[g+48>>2]|0)|0)break}a=d?k-f|0:a-l|0;if(!(+(a|0)<=+(l-k|0)*1.75))break;f=(a|0)<(h|0)|(j|0)==0;h=f?a:h;j=f?g:j}if(j)DY(e,d,j);jA(m+84|0)}i=m;return}function f_(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+112|0;if((c[e+72>>2]|0)!=14){k=c[e+28>>2]|0;l=c[e+24>>2]|0;bA(m,a);NA(m,b[e+16>>1]|0,b[e+20>>1]|0,((b[e+18>>1]|0)+(b[e+22>>1]|0)|0)/2|0);j=2147483647;a=0;a:while(1){while(1){while(1){h=OA(m,d^1)|0;if(!h)break a;if((h|0)==(e|0))continue;if((c[h+72>>2]|0)==14)continue;f=c[h+24>>2]|0;g=c[h+28>>2]|0;if(((g+f|0)/2|0|0)>((l+k|0)/2|0|0)^d)continue;if(FA(e+16|0,h+16|0)|0)break;if(t_(e,h)|0)break}if(HX(c[e+48>>2]|0,c[h+48>>2]|0)|0)break;a=(a|0)==0?h:a}f=d?f-k|0:l-g|0;if(!(+(f|0)<=+(k-l|0)*1.75))break;g=(f|0)<(j|0);j=g?f:j;a=g?h:a}if(a)DY(e,d,a);jA(m+84|0)}i=m;return}function g_(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=i;i=i+112|0;bA(e,a);d=1;do{cA(e);while(1){c=dA(e)|0;if(!c)break;cZ(c,d,b,a);pA(e)}d=d+1|0}while((d|0)<16);jA(e+84|0);i=e;return}function h_(a,d,f,g,h,j,k,l){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+192|0;n=e[k+16>>1]|e[k+18>>1]<<16;m=e[k+20>>1]|e[k+22>>1]<<16;c[s+40>>2]=n;c[s+44>>2]=m;b[s+178>>1]=0;b[s+176>>1]=0;q=c[a+4>>2]|0;c[s+48>>2]=n;c[s+52>>2]=m;p=ll(s+40|0)|0;o=kl(s+40|0)|0;p=(p<<16>>16>o<<16>>16?o:p)<<16>>16;q=((p|0)>=(q|0)?p:q)*6|0;VV(s+48|0,q,q);if((d|0)==3){q=UGa(n|0,m|0,48)|0;b[s+54>>1]=q;c[s+176>>2]=131073}else if((d|0)==2){b[s+52>>1]=m;c[s+176>>2]=65538}else if((d|0)==1){q=UGa(n|0,m|0,16)|0;b[s+50>>1]=q;c[s+176>>2]=131073}else if(!d){b[s+48>>1]=n;c[s+176>>2]=65538}else{c[s+8>>2]=320664;c[s+12>>2]=1552;$L(320096,1706872,2,1702e3,s+8|0)}n=c[s+52>>2]|0;c[s>>2]=c[s+48>>2];c[s+4>>2]=n;n=(h0(s,g,h,f)|0)>0;m=s+56|0;do{Ek(m);m=m+20|0}while((m|0)!=(s+156|0));i_(a,k,s+176|0,s+48|0,f,g,h,j,s+56|0);c[s+156>>2]=0;c[s+160>>2]=0;c[s+164>>2]=0;c[s+168>>2]=0;c[s+172>>2]=0;p=n?2:0;q=c[k+48>>2]|0;o=(c[k+52>>2]|0)!=3;d=0;while(1){g=0;k=2147483647;while(1){if((g|0)>=5){m=d;n=0;break}n=c[s+156+(g<<2)>>2]|0;m=s+56+(g*20|0)|0;if((n|0)<(c[m>>2]|0)?(c[(Ik(m,n)|0)>>2]|0)<(k|0):0)n=c[(Ik(m,n)|0)>>2]|0;else n=k;g=g+1|0;k=n}while(1){d=s+156+(n<<2)|0;g=s+56+(n*20|0)|0;a:do if((m|0)<(c[g>>2]|0))do{if((c[(Ik(g,m)|0)>>2]|0)>(k|0))break a;m=m+1|0;c[d>>2]=m}while((m|0)<(c[g>>2]|0));while(0);n=n+1|0;if((n|0)>=5)break;m=c[s+156+(n<<2)>>2]|0}c[l>>2]=k;if(j){d=c[s+156>>2]|0;n=c[s+164>>2]|0;h=c[s+160>>2]|0;g=c[s+168>>2]|0;f=c[s+172>>2]|0;c[s+8>>2]=d;c[s+12>>2]=n;c[s+16>>2]=h;c[s+20>>2]=g;c[s+24>>2]=f;c[s+28>>2]=p;c[s+32>>2]=k;jN(321168,s+8|0)}else{g=c[s+168>>2]|0;h=c[s+160>>2]|0;d=c[s+156>>2]|0;f=c[s+172>>2]|0;n=c[s+164>>2]|0}a=d-f+n-g|0;n=g-(n+f)+h|0;if((f|0)>0&(p-a|0)>3&(p-n|0)>3){r=25;break}if((q|0)!=6|o?(d|0)>0&(a|0)>3:0){r=33;break}if((q|0)!=7|o?(h|0)>0&(n|0)>3:0){r=36;break}if((k|0)==2147483647){n=5;break}}if((r|0)==25){m=c[(Ik(s+136|0,0)|0)>>2]|0;c[l>>2]=m;if((c[s+116>>2]|0)>0?(m|0)>(c[(Ik(s+116|0,0)|0)>>2]|0):0)c[l>>2]=c[(Ik(s+116|0,0)|0)>>2];if((c[s+96>>2]|0)>0?(r=c[l>>2]|0,(r|0)>(c[(Ik(s+96|0,0)|0)>>2]|0)):0){c[l>>2]=c[(Ik(s+96|0,0)|0)>>2];n=4}else n=4}else if((r|0)==33){c[l>>2]=c[(Ik(s+56|0,0)|0)>>2];n=7}else if((r|0)==36){c[l>>2]=c[(Ik(s+76|0,0)|0)>>2];n=6}m=s+156|0;do{m=m+-20|0;Jk(m)}while((m|0)!=(s+56|0));i=s;return n|0}function i_(d,f,g,h,j,k,l,m,n){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+128|0;bA(w+24|0,d);a[w+68>>0]=1;EX(w+24|0,h);while(1){u=FX(w+24|0)|0;if(!u){o=0;break}if(DX(u)|0)continue;if((u|0)==(f|0)|(rY(f,u)|0)^1)continue;h=e[u+16>>1]|e[u+18>>1]<<16;d=e[u+20>>1]|e[u+22>>1]<<16;c[w>>2]=h;c[w+4>>2]=d;t=c[u+48>>2]|0;if((t&-2|0)!=6){q=UGa(h|0,d|0,48)|0;p=UGa(h|0,d|0,16)|0;if((t+-1|0)>>>0<2)continue;else{s=h&65535;r=d&65535;p=p&65535;d=q&65535}}else{if((t+-1|0)>>>0<2|(g0(f+16|0,w,k,l,j)|0)^1)continue;q=UGa(h|0,d|0,48)|0;s=h&65535;r=d&65535;p=h>>>16&65535;d=q&65535}q=b[f+16>>1]|0;h=b[f+20>>1]|0;h=((q<<16>>16>16?s:q)<<16>>16)-((h<<16>>16>r<<16>>16?r:h)<<16>>16)|0;h=(h|0)<0?0:h;r=b[f+18>>1]|0;s=b[f+22>>1]|0;d=((r<<16>>16>16?p:r)<<16>>16)-((s<<16>>16>d<<16>>16?d:s)<<16>>16)|0;d=(d|0)<0?0:d;s=ba(h,b[g>>1]|0)|0;s=(ba(d,b[g+2>>1]|0)|0)+s|0;if(m){c[w+8>>2]=h;c[w+12>>2]=d;c[w+16>>2]=s;jN(321232,w+8|0);jv(w)}if((CL(u+76|0)|0)<5)p=CL(u+76|0)|0;else p=4;d=c[u+52>>2]|0;do if((d|0)==4){d=(t|0)==7?n:n+20|0;if(m){c[w+8>>2]=(t|0)==7?321280:321288;c[w+12>>2]=p;jN(321272,w+8|0)}if(d){o=d;v=22}}else if((t&-2|0)==6&(d&-2|0)==2){o=(t|0)==7?n+40|0:n+60|0;if(!m){v=22;break}c[w+8>>2]=p;jN(321296,w+8|0);v=22;break}else{if(!m){o=n+80|0;v=22;break}c[w+8>>2]=p;jN(321312,w+8|0);o=n+80|0;v=22;break}while(0);if((v|0)==22?(v=0,(p|0)>0):0){d=0;do{zv(o,s);d=d+1|0}while((d|0)<(p|0))}if(!m)continue;oY(u)}do{$z(c[n+(o*20|0)>>2]|0,c[n+(o*20|0)+8>>2]|0);o=o+1|0}while((o|0)!=5);jA(w+108|0);i=w;return}function j_(b,d,f,g,h,j,k){b=b|0;d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0;n=i;i=i+112|0;bA(n+8|0,b);a[n+52>>0]=1;JA(n+8|0,d,h,j);a:while(1){while(1){b=KA(n+8|0,f)|0;if(!b)break a;if((b|0)==(k|0))continue;m=e[b+16>>1]|e[b+18>>1]<<16;b=e[b+20>>1]|e[b+22>>1]<<16;c[n>>2]=m;c[n+4>>2]=b;l=(ll(n)|0)<<16>>16;o=UGa(m|0,b|0,48)|0;o=_Ga(o|0,F|0,16)|0;if((((o>>16|0)<(j|0)?o>>16:j)-((m>>16|0)>(h|0)?m>>16:h)|0)<(~~(+(((j-h|0)>(l|0)?l:j-h|0)|0)*.25+.5)|0))continue;if(f){b=_Ga(b|0,0,16)|0;if((b>>16|0)<(d|0)){l=10;break}else continue}else if((m<<16>>16|0)<(d|0))continue;else{l=8;break}}if((l|0)==8){o=(m<<16>>16|0)<(g|0);g=o?m<<16>>16:g;if(o)continue;else break}else if((l|0)==10){o=(b>>16|0)>=(g|0);g=o?b>>16:g;if(o)continue;else break}}jA(n+92|0);i=n;return g|0}function k_(){c[80024]=1701984;c[80026]=389976;c[80028]=390024;c[80030]=390056;c[80032]=390112;c[80034]=390152;c[80036]=390184;c[80038]=390240;c[80040]=390280;c[80042]=390328;c[80044]=390376;c[80046]=390400;c[80048]=390432;c[80050]=390504;c[80052]=390552;c[80054]=390592;c[80056]=390640;Wk(320232,0,320248,337200,0,kM()|0);return}function l_(a){a=a|0;hV(a);c[a>>2]=321488;c[a+28>>2]=0;return}function m_(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;hV(a);c[a>>2]=321488;c[a+28>>2]=0;xX(a,b,d,e);return}function n_(a){a=a|0;var b=0;c[a>>2]=321488;b=c[a+28>>2]|0;if(b){a=c[b+-4>>2]|0;if(a){a=b+(a<<2)|0;do{a=a+-4|0;BL(a)}while((a|0)!=(b|0))}ZEa(b+-4|0)}return}function o_(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;k=i;i=i+16|0;do if(((b|0)!=(a|0)?(e=c[b+48>>2]|0,HX(c[a+48>>2]|0,e)|0):0)?!(DX(b)|0):0){if(d){jN(321504,k);jv(b+16|0);e=c[b+48>>2]|0}if((e&-5|0)!=2?(c[a+48>>2]&-5|0)!=2:0){f=c[a+28>>2]|0;e=c[b+28>>2]|0;g=c[a+24>>2]|0;h=c[b+24>>2]|0;j=((g|0)<(h|0)?h:g)-((f|0)>(e|0)?e:f)|0;l=ll(a+16|0)|0;m=ll(b+16|0)|0;if((((l<<16>>16>16?m:l)<<16>>16|0)/2|0|0)<=(j|0)){if(!d){e=0;break}c[k>>2]=j;jN(321568,k);e=0;break}if(GX(g,f,h,e)|0){e=1;break}if(vY(a,b,d)|0){e=1;break}e=vY(b,a,d)|0;if(e|d^1)break;jN(321600,k);e=0;break}f=c[a+40>>2]|0;e=c[b+40>>2]|0;m=c[a+36>>2]|0;l=c[b+36>>2]|0;f=((m|0)<(l|0)?l:m)-((f|0)>(e|0)?e:f)|0;e=kl(a+16|0)|0;m=kl(b+16|0)|0;e=(((e<<16>>16>16?m:e)<<16>>16|0)/2|0|0)>(f|0);if(!(e|d^1)){c[k>>2]=f;jN(321536,k);e=0}}else e=0;while(0);i=k;return e|0}function p_(a,b,d,f){a=a|0;b=b|0;d=d|0;f=f|0;var g=0,h=0,j=0,k=0;j=i;i=i+80|0;if(!((a|0)!=0&(b|0)!=0)){c[j>>2]=320664;c[j+4>>2]=247;$L(320096,321712,2,1702e3,j)}fA(j+24|0,f);f=e[a+20>>1]|e[a+22>>1]<<16;c[j+8>>2]=e[a+16>>1]|e[a+18>>1]<<16;c[j+12>>2]=f;bja(j+8|0,b+16|0);gA(j+24|0);f=0;while(1){if((hA(j+24|0)|0)<<24>>24)break;g=iA(j+24|0)|0;if((!((g|0)==(a|0)|(g|0)==(b|0))?(h=e[g+20>>1]|e[g+22>>1]<<16,c[j+16>>2]=e[g+16>>1]|e[g+18>>1]<<16,c[j+20>>2]=h,cja(j+72|0,j+16|0,j+8|0),h=Jv(j+72|0)|0,(h|0)>0):0)?!(HY(g,a,b,d,0)|0):0){cja(j+64|0,j+16|0,a+16|0);g=Jv(j+64|0)|0;f=h+f+((g|0)>0?0-g|0:0)|0;cja(j+56|0,j+16|0,b+16|0);g=Jv(j+56|0)|0;if((g|0)>0){fja(j+56|0,a+16|0);k=Jv(j+56|0)|0;f=f-g+((k|0)>0?k:0)|0}}DL(j+24|0)|0}i=j;return f|0}function q_(a,b,c){a=a|0;b=b|0;c=c|0;fY(b,a);bY(a,c);return}function r_(a){a=a|0;var b=0;if((c[a+16>>2]|0)>0){b=0;do{BL((c[a+28>>2]|0)+(b<<2)|0);b=b+1|0}while((b|0)<(c[a+16>>2]|0))}return}function s_(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;if((d|0)==(c[a+4>>2]|0)){w_(a);d=c[a>>2]|0}c[a>>2]=d+1;c[(c[a+8>>2]|0)+(d<<2)>>2]=b;return}function t_(a,d){a=a|0;d=d|0;if(((c[a+8>>2]|0)<=(b[d+16>>1]|0)?(b[a+16>>1]|0)>=(c[d+8>>2]|0):0)?(b[a+20>>1]|0)<=(c[d+12>>2]|0):0)d=(c[a+12>>2]|0)>=(b[d+20>>1]|0);else d=0;return d|0}function u_(a){a=a|0;n_(a);YEa(a);return}function v_(a,b,d){a=a|0;b=b|0;d=d|0;a=i;i=i+16|0;c[a>>2]=b;c[a+4>>2]=d;jN(352312,a);i=a;return}function w_(a){a=a|0;var b=0;b=c[a+4>>2]|0;if(!b)NX(a,4);else NX(a,b<<1);return}function x_(a,d){a=a|0;d=d|0;var e=0;e=i;i=i+32|0;c[a>>2]=0;c[a+4>>2]=0;b[a+20>>1]=32767;b[a+22>>1]=32767;b[a+24>>1]=-32767;b[a+26>>1]=-32767;Lk(e,a+4|0);uX(e,d);y_(a);i=e;return}function y_(a){a=a|0;var d=0;d=i;i=i+32|0;Lk(d,a+4|0);c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;b[a+20>>1]=32767;b[a+22>>1]=2147450879>>>16;b[a+24>>1]=-2147385343;b[a+26>>1]=-2147385343>>>16;Mk(d);if(!((Nk(d)|0)<<24>>24))do{R_(a,Ok(d)|0);VL(d)}while((Nk(d)|0)<<24>>24==0);i=d;return}function z_(a,d){a=a|0;d=d|0;var e=0;e=i;i=i+32|0;c[a>>2]=0;c[a+4>>2]=0;b[a+20>>1]=32767;b[a+22>>1]=32767;b[a+24>>1]=-32767;b[a+26>>1]=-32767;Lk(e,a+4|0);nZ(e,d);y_(a);i=e;return}function A_(a){a=a|0;TL(a+4|0,238);return}function B_(a){a=a|0;var b=0;b=i;i=i+32|0;Lk(b,a+4|0);Mk(b);if(!((Nk(b)|0)<<24>>24)){a=0;do{a=(d[(Ok(b)|0)+60>>0]|0)+a|0;VL(b)}while((Nk(b)|0)<<24>>24==0)}else a=0;i=b;return a|0}function C_(a,b){a=a|0;b=b|0;var c=0;c=i;i=i+32|0;Lk(c,a+4|0);Mk(c);a:do if((b|0)>0){a=0;do{if((Nk(c)|0)<<24>>24)break a;a=a+1|0;VL(c)}while((a|0)<(b|0))}while(0);if(!((Nk(c)|0)<<24>>24))a=Ok(c)|0;else a=0;i=c;return a|0}function D_(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+32|0;Lk(d,a+4|0);Mk(d);a:do if(!((Nk(d)|0)<<24>>24))while(1){a=Ok(d)|0;if(S_(a,b,c)|0)break a;VL(d);if((Nk(d)|0)<<24>>24){a=0;break}}else a=0;while(0);i=d;return a|0}function E_(a){a=a|0;var b=0;b=i;i=i+32|0;Lk(b,a+4|0);if(!((uZ(b)|0)<<24>>24))do{hv(b)|0;VL(b)}while((uZ(b)|0)<<24>>24==0);i=b;return}function F_(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+64|0;s=c[e>>2]|0;if((s|0)>0){t=0;do{f=c[(AX(e,t)|0)>>2]|0;if(f){Lk(u+36|0,a+4|0);if((uZ(u+36|0)|0)<<24>>24){c[u>>2]=321800;c[u+4>>2]=106;$L(321752,321776,2,1702e3,u)}Mk(u+36|0);Lk(u+8|0,f+4|0);Mk(u+8|0);if(!((Nk(u+8|0)|0)<<24>>24)){f=-2147483648;do{r=Ok(u+8|0)|0;do if((c[r+48>>2]|0)>=5){o=c[r+64>>2]|0;q=c[r+68>>2]|0;g=Ok(u+36|0)|0;a:do if(!((Kv(u+36|0)|0)<<24>>24)){j=g;h=f;while(1){f=c[j+68>>2]|0;if((f|0)>=(o|0)){p=g;f=h;break a}VL(u+36|0);g=Ok(u+36|0)|0;if(!((Kv(u+36|0)|0)<<24>>24)){j=g;h=f}else{p=g;j=g;break}}}else{p=g;j=g}while(0);k=j+64|0;g=c[k>>2]|0;m=c[j+68>>2]|0;if((m|0)<(o|0)|(q|0)<(g|0)){G_(a,KY(r)|0,u+36|0);break}l=p+82|0;n=bd[c[(c[d>>2]|0)+8>>2]&63](d,(m-g|0)/(b[l>>1]|0)|0)|0;if((o|0)<(g|0)&(o|0)>(f|0)){h=pZ(r)|0;o=bd[c[(c[d>>2]|0)+8>>2]&63](d,(m-o|0)/(b[l>>1]|0)|0)|0;j=bd[c[(c[d>>2]|0)+8>>2]&63](d,(m-h|0)/(b[l>>1]|0)|0)|0;if(!(o|n^1)){if((h|0)<(g|0)&j){yY(p,r,1);GY(p,d)}}else{yY(p,r,0);GY(p,d)}g=c[k>>2]|0}if((q|0)>(m|0)){if((Kv(u+36|0)|0)<<24>>24==0?(c[(ZL(u+36|0,1)|0)+64>>2]|0)<=(q|0):0)break;h=qZ(r)|0;q=bd[c[(c[d>>2]|0)+8>>2]&63](d,(q-g|0)/(b[l>>1]|0)|0)|0;g=bd[c[(c[d>>2]|0)+8>>2]&63](d,(h-g|0)/(b[l>>1]|0)|0)|0;if(q|n^1){zY(p,r,0);GY(p,d);break}if((h|0)>(m|0)&g){zY(p,r,1);GY(p,d)}}}while(0);VL(u+8|0)}while((Nk(u+8|0)|0)<<24>>24==0)}}t=t+1|0}while((t|0)!=(s|0))}y_(a);i=u;return}function G_(a,b,d){a=a|0;b=b|0;d=d|0;R_(a,b);a=c[b+68>>2]|0;if((c[(Ok(d)|0)+64>>2]|0)<(a|0))Lv(d,b);else Nv(d,b);return}function H_(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;k=xT(2,b[a+20>>1]|0,b[a+22>>1]|0)|0;if(k){jN(321832,n);I_(a)}a:do if(!(J_(a)|0)){if(k){jN(321872,n);I_(a)}if(a){TL(a+4|0,238);YEa(a)}}else{b:do if((c[d>>2]|0)>0){f=0;while(1){j=c[(AX(d,f)|0)>>2]|0;g=c[a+12>>2]|0;h=c[j+12>>2]|0;if((g|0)==(h|0)){h=c[a+8>>2]|0;g=c[j+8>>2]|0;if((h|0)==(g|0)){if((c[a+16>>2]|0)>(c[j+16>>2]|0)){m=15;break}}else{l=(h|0)>(g|0);m=14}}else{l=(g|0)>(h|0);m=14}if((m|0)==14?(m=0,l):0){m=15;break}f=f+1|0;if(K_(j,0,a,e)|0)break;if((f|0)>=(c[d>>2]|0))break b}if((m|0)==15){if(k)jN(321904,n);T_(d,a,f);break a}if(k)jN(321920,n);if(!a)break a;TL(a+4|0,238);YEa(a);break a}while(0);if(k)jN(321936,n);s_(d,a)}while(0);i=n;return}function I_(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0;d=i;i=i+64|0;Lk(d+32|0,a+4|0);l=U_(d+32|0)|0;k=c[a+8>>2]|0;j=c[a+12>>2]|0;h=c[a+16>>2]|0;g=b[a+20>>1]|0;f=b[a+22>>1]|0;e=b[a+24>>1]|0;a=b[a+26>>1]|0;c[d>>2]=l;c[d+4>>2]=k;c[d+8>>2]=j;c[d+12>>2]=h;c[d+16>>2]=g;c[d+20>>2]=f;c[d+24>>2]=e;c[d+28>>2]=a;jN(322400,d);Mk(d+32|0);if(!((Nk(d+32|0)|0)<<24>>24))do{oY(Ok(d+32|0)|0);VL(d+32|0)}while((Nk(d+32|0)|0)<<24>>24==0);i=d;return}function J_(a){a=a|0;var b=0,d=0,e=0;d=i;i=i+32|0;Lk(d,a+4|0);a:do if((uZ(d)|0)<<24>>24==0?(Mk(d),(Nk(d)|0)<<24>>24==0):0){a=0;do{b=Ok(d)|0;if((c[b+48>>2]&-2|0)==6)if(nY(b)|0)a=1;else{a=0;break a}if((Kv(d)|0)<<24>>24==0?(e=c[(ZL(d,1)|0)+64>>2]|0,(e|0)<(c[b+68>>2]|0)):0){a=0;break a}VL(d)}while((Nk(d)|0)<<24>>24==0)}else a=0;while(0);i=d;return a|0}function K_(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+80|0;if(e){jN(321952,p);I_(d);I_(f)}a:do if(!(c[f+4>>2]|0))if(e){jN(322e3,p);f=1}else f=1;else{Lk(p+44|0,f+4|0);Mk(p+44|0);b:do if(!((Nk(p+44|0)|0)<<24>>24)){c:while(1){o=Ok(p+44|0)|0;d:do if((c[o+48>>2]|0)<5){if(e){jN(322048,p);oY(o)}}else{h=((b[o+18>>1]|0)+(b[o+22>>1]|0)|0)/2|0;l=b[o+16>>1]|0;m=b[o+20>>1]|0;f=D_(d,l,h)|0;n=D_(d,m<<16>>16,h)|0;if((n|0)==0|(f|0)==0){f=12;break c}if((n|0)!=(f|0)?bd[c[(c[g>>2]|0)+8>>2]&63](g,(m<<16>>16)-l|0)|0:0){f=16;break c};c[p+16>>2]=c[p+44>>2];c[p+20>>2]=c[p+48>>2];c[p+24>>2]=c[p+52>>2];c[p+28>>2]=c[p+56>>2];c[p+32>>2]=c[p+60>>2];c[p+36>>2]=c[p+64>>2];c[p+40>>2]=c[p+68>>2];do{if((Kv(p+16|0)|0)<<24>>24)break d;VL(p+16|0);j=Ok(p+16|0)|0}while((c[j+48>>2]&-2|0)!=6);k=b[j+16>>1]|0;if(((k<<16>>16!=m<<16>>16?(n|0)==(D_(d,k<<16>>16,h)|0):0)?(a[o+60>>0]|0)!=0:0)?(a[j+60>>0]|0)!=0:0){f=25;break c}}while(0);VL(p+44|0);if((Nk(p+44|0)|0)<<24>>24)break b}if((f|0)==12){if(!e){f=0;break a}jN(322096,p);oY(o);f=0;break a}else if((f|0)==16){if(!e){f=0;break a}jN(322152,p);oY(o);f=0;break a}else if((f|0)==25){if(!e){f=0;break a}f=b[j+20>>1]|0;jN(322216,p);c[p>>2]=l;c[p+4>>2]=m<<16>>16;c[p+8>>2]=k<<16>>16;c[p+12>>2]=f;jN(322272,p);oY(n);f=0;break a}}while(0);if(e){jN(322304,p);f=1}else f=1}while(0);i=p;return f|0}function L_(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+64|0;Lk(g+28|0,d+4|0);Mk(g+28|0);if(!((Nk(g+28|0)|0)<<24>>24)){d=0;do{e=Ok(g+28|0)|0;if((c[e+48>>2]&-2|0)==6?(f=((b[e+18>>1]|0)+(b[e+22>>1]|0)|0)/2|0,fA(g,e+76|0),gA(g),(hA(g)|0)<<24>>24==0):0)do{e=Ok(g+28|0)|0;if(!(D_(a,((b[e+20>>1]|0)+(b[e+16>>1]|0)|0)/2|0,f)|0))d=((kl(e+16|0)|0)<<16>>16)+d|0;DL(g)|0}while((hA(g)|0)<<24>>24==0);VL(g+28|0)}while((Nk(g+28|0)|0)<<24>>24==0)}else d=0;i=g;return d|0}function M_(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+64|0;c[e+56>>2]=0;Lk(e+28|0,b+4|0);Lk(e,e+56|0);Mk(e+28|0);while(1){if((Nk(e+28|0)|0)<<24>>24)break;b=Ok(e+28|0)|0;do if((c[b+48>>2]&-2|0)==6){if((d?(a[b+60>>0]|0)==0:0)?(a[b+61>>0]|0)==0:0)break;nZ(e,KY(b)|0)}while(0);VL(e+28|0)}if(!((uZ(e)|0)<<24>>24)){b=WEa(28)|0;x_(b,e+56|0)}else b=0;TL(e+56|0,238);i=e;return b|0}function N_(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+80|0;Lk(f+36|0,a+4|0);pk(f+8|0,e);SL(f+8|0);Mk(f+36|0);if(!((Nk(f+36|0)|0)<<24>>24))do{e=Ok(f+36|0)|0;g=CX(e,d)|0;e=BX(e,b)|0;a=WEa(24)|0;A5(a);c[f+4>>2]=g&65535|b<<16;c[f>>2]=e&65535|d<<16;_ia(f+64|0,f+4|0,f);i5(a,f+64|0);Ck(f+8|0,a);VL(f+36|0)}while((Nk(f+36|0)|0)<<24>>24==0);i=f;return}function O_(a,b,d,e,f,g,h,j,k,l,m){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+48|0;c[k>>2]=-1;c[l>>2]=-1;c[m>>2]=-1;Lk(t+8|0,a+4|0);Mk(t+8|0);a:do if(!((Nk(t+8|0)|0)<<24>>24)){p=1;q=0;b:while(1){n=Ok(t+8|0)|0;do if(!(S_(n,d,g)|0)){if((Mv(t+8|0)|0)<<24>>24!=0?S_(n,f+d|0,g)|0:0){r=6;break}if(S_(n,e,g)|0){r=15;break b}if((Kv(t+8|0)|0)<<24>>24!=0?S_(n,e-f|0,g)|0:0){r=15;break b}o=CX(n,g)|0;if((o|0)>(d|0)?(BX(n,g)|0)<(e|0):0){if((c[k>>2]|0)<0)c[k>>2]=p+-1;if(!q)c[m>>2]=p;c[l>>2]=p;o=q;break}if((o|0)>(e|0)){r=30;break b}else o=q}else r=6;while(0);if((r|0)==6){r=0;c[k>>2]=p;if(S_(n,e,g)|0){r=9;break}if((Kv(t+8|0)|0)<<24>>24!=0?S_(n,e-f|0,g)|0:0){r=9;break}if((CX(n,g)|0)<(h|0))o=q;else{c[m>>2]=p;o=1}}VL(t+8|0);p=p+2|0;if(!((Nk(t+8|0)|0)<<24>>24))q=o;else{r=33;break a}}if((r|0)==9){c[l>>2]=p;n=1;break}else if((r|0)==15){if((c[k>>2]|0)<0)c[k>>2]=p+-1;if((BX(n,g)|0)>(j|0))o=q;else{if(!q)c[m>>2]=p;o=q+1|0}c[l>>2]=p;r=33;break}else if((r|0)==30){n=p+-1|0;c[l>>2]=n;o=c[k>>2]|0;if((o|0)>=0){r=37;break}c[k>>2]=n;r=34;break}}else{p=1;o=0;r=33}while(0);if((r|0)==33){n=c[k>>2]|0;q=o;r=34}if((r|0)==34){if((n|0)<0){o=p+-1|0;c[k>>2]=o}else o=n;n=c[l>>2]|0;r=37}do if((r|0)==37){if((n|0)<0){n=p+-1|0;c[l>>2]=n;o=c[k>>2]|0}if((o|n|0)<=-1){c[t>>2]=321800;c[t+4>>2]=481;$L(321752,322336,2,1702e3,t);o=c[k>>2]|0;n=c[l>>2]|0}if((o|0)>(n|0)){c[t>>2]=321800;c[t+4>>2]=482;$L(321752,322376,2,1702e3,t);o=c[k>>2]|0;n=c[l>>2]|0}if((o|0)==(n|0)?+(e-d|0)<+(b|0)*.6666666666666666:0){n=0;break}if((q|0)<2){if(((q|0)==1?(s=c[a+4>>2]|0,(s|0)!=0):0)?(s|0)==(c[s+4>>2]|0):0){n=2;break}n=3}else n=2}while(0);i=t;return n|0}function P_(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;l=i;i=i+96|0;c[l+92>>2]=0;pk(l+64|0,l+92|0);yk(l+64|0,g);qk(l+64|0);pk(l+36|0,g);c[l+32>>2]=0;c[l+28>>2]=0;Lk(l,a+4|0);Mk(l);j=0;while(1){if((Nk(l)|0)<<24>>24)break;h=Ok(l)|0;while(1){if(vk(l+64|0)|0)break;g=tk(l+64|0)|0;a=c[g+4>>2]|0;if((a|0)!=0?(c[a+68>>2]|0)>(c[h+64>>2]|0):0)break;pv(l+64|0)|0;faa(g,b,d,e,f,l+32|0,l+28|0);if(g){KX(g);YEa(g)}OL(l+64|0)|0}a=WEa(52)|0;V_(a,0);Ck(l+36|0,a);a=(j|0)==0?a:j;if((!(vk(l+64|0)|0)?(k=tk(l+64|0)|0,(k|0)!=0):0)?pY(c[k+4>>2]|0,h)|0:0){c[k+4>>2]=h;Ck(l+36|0,pv(l+64|0)|0);OL(l+64|0)|0;haa(a,l+32|0,l+28|0);a=0}else{j=WEa(52)|0;V_(j,h);Ck(l+36|0,j)}VL(l);j=a}while(1){if(vk(l+64|0)|0)break;a=pv(l+64|0)|0;faa(a,b,d,e,f,l+32|0,l+28|0);if(a){KX(a);YEa(a)}OL(l+64|0)|0}f=WEa(52)|0;V_(f,0);Ck(l+36|0,f);haa((j|0)==0?f:j,l+32|0,l+28|0);KL(l+28|0,233);KL(l+32|0,222);KL(l+92|0,239);i=l;return}function Q_(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+32|0;Lk(h,a+4|0);Mk(h);if(!((Nk(h)|0)<<24>>24))do{a=Ok(h)|0;c[d>>2]=(c[d>>2]|0)+(((c[a+68>>2]|0)-(c[a+64>>2]|0)|0)/(b[a+82>>1]|0)|0);c[e>>2]=(c[e>>2]|0)+1;if(!((Kv(h)|0)<<24>>24)){j=ZL(h,1)|0;c[f>>2]=(c[f>>2]|0)+(((c[j+64>>2]|0)-(c[a+68>>2]|0)|0)/(b[a+82>>1]|0)|0);c[g>>2]=(c[g>>2]|0)+1}VL(h)}while((Nk(h)|0)<<24>>24==0);i=h;return}function R_(d,e){d=d|0;e=e|0;var f=0;bja(d+20|0,e+16|0);f=((c[e+68>>2]|0)-(c[e+64>>2]|0)|0)/(b[e+82>>1]|0)|0;if(!(a[e+60>>0]|0)){if((c[e+48>>2]|0)<5)f=(f|0)/2|0;if(a[e+61>>0]|0)c[d+8>>2]=(c[d+8>>2]|0)+1;c[d+16>>2]=(c[d+16>>2]|0)+f}else{c[d+12>>2]=(c[d+12>>2]|0)+f;c[d+8>>2]=(c[d+8>>2]|0)+2}return}function S_(a,b,c){a=a|0;b=b|0;c=c|0;if(((CX(a,c)|0)+-1|0)>(b|0))a=0;else a=((BX(a,c)|0)+1|0)>=(b|0);return a|0}function T_(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;g=i;i=i+16|0;if(!((d|0)>-1?(e=c[a>>2]|0,(e|0)>=(d|0)):0)){c[g>>2]=1701680;c[g+4>>2]=691;$L(321752,375920,2,1702e3,g);e=c[a>>2]|0}if((c[a+4>>2]|0)==(e|0)){w_(a);e=c[a>>2]|0}if((e|0)>(d|0)){f=e;do{h=f;f=f+-1|0;j=c[a+8>>2]|0;c[j+(h<<2)>>2]=c[j+(f<<2)>>2]}while((f|0)>(d|0))}c[(c[a+8>>2]|0)+(d<<2)>>2]=b;c[a>>2]=e+1;i=g;return}function U_(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if(!a)$L(321768,322472,2,0,d);b=c[a>>2]|0;if(!b){$L(321760,322472,2,0,d);b=c[a>>2]|0}a=UL(b)|0;i=d;return a|0}function V_(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=b;c[a+8>>2]=0;c[a+12>>2]=0;Lk(a+16|0,a+12|0);c[a+44>>2]=0;c[a+48>>2]=0;return}function W_(b){b=b|0;c[b>>2]=322856;c[b+4>>2]=0;c[b+24>>2]=0;c[b+8>>2]=0;c[b+28>>2]=-1;a[b+32>>0]=0;c[b+20>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;return}function X_(a){a=a|0;c[a>>2]=322856;Y_(a);return}function Y_(b){b=b|0;cp(b+4|0);cp(b+8|0);c[b+12>>2]=0;c[b+16>>2]=0;cp(b+20|0);c[b+24>>2]=0;c[b+28>>2]=-1;a[b+32>>0]=0;return}function Z_(a){a=a|0;c[a>>2]=322856;Y_(a);YEa(a);return}function __(a,b){a=a|0;b=b|0;Ou(b,a,3);return}function $_(a,b){a=a|0;b=b|0;if(c[a+4>>2]|0)cp(a+4|0);c[a+4>>2]=rp(b)|0;return}function a$(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;l=i;i=i+48|0;j=c[(d?b+12|0:b+16|0)>>2]|0;if(j){if((j+-1|0)>>>0>=2){c[l>>2]=322936;c[l+4>>2]=91;$L(322496,322864,2,1702e3,l)}if(!(c[b+4>>2]|0)){c[l>>2]=322936;c[l+4>>2]=92;$L(322496,322976,2,1702e3,l)}if((c[80661]|0)>0){jN(322992,l);c[l>>2]=(j|0)==1?323048:323056;jN(323024,l);c[l>>2]=(c[b+24>>2]|0)!=0?323096:323104;jN(323064,l)}cp(b+8|0);c[b+8>>2]=tp(0,c[b+4>>2]|0)|0;if(a[322746]|0){cp(b+20|0);c[b+20>>2]=rr(c[b+4>>2]|0)|0}f=rp(c[b+4>>2]|0)|0;c[l+28>>2]=f;if(((a[b+32>>0]|0)!=0?(c[b+28>>2]|0)!=-1:0)?(c[b+24>>2]|0)==0:0){if((c[80661]|0)>0)jN(323112,l);cp(l+28|0);f=tp(0,c[b+4>>2]|0)|0;c[l+28>>2]=f;b$(f,c[b+28>>2]|0);f=c[l+28>>2]|0}c[l+36>>2]=Jm(f,l+32|0)|0;Rl(l+36|0);cp(l+28|0);e=Nl(0)|0;c[l+20>>2]=e;if((Nq(c[l+32>>2]|0)|0)>0){h=0;do{f=c[(c[(c[(c[l+32>>2]|0)+16>>2]|0)+12>>2]|0)+(h<<2)>>2]|0;g=Dq(c[b+4>>2]|0,f)|0;c[l+16>>2]=g;if(!g){c[l>>2]=322936;c[l+4>>2]=136;$L(322496,323152,2,1702e3,l)}e=c$(b,f)|0;do if((e|0)==-1)if((c[b+24>>2]|0)==0|(a[322746]|0)==0)k=27;else{Nn(c[b+20>>2]|0,f,1,-1,0,0);k=27}else{g=c[f+8>>2]|0;if((g|0)>((e|0)/3|0|0)?(c[f+12>>2]|0)>((e|0)/2|0|0):0){k=27;break}if((c[80661]|0)>0){m=c[f+4>>2]|0;e=c[f+12>>2]|0;c[l>>2]=c[f>>2];c[l+4>>2]=m;c[l+8>>2]=g;c[l+12>>2]=e;jN(323168,l)}}while(0);if((k|0)==27){k=0;d$(b,j,c[l+16>>2]|0,e,c[f>>2]|0,c[f+4>>2]|0,c[l+20>>2]|0)}cp(l+16|0);h=h+1|0}while((h|0)<(Nq(c[l+32>>2]|0)|0));e=c[l+20>>2]|0}a:do if((Sl(e)|0)>0){f=0;while(1){m=Pl(e,f)|0;c[l+24>>2]=m;$p(c[b+8>>2]|0,m);Kl(l+24|0);f=f+1|0;if((f|0)>=(Sl(c[l+20>>2]|0)|0))break a;e=c[l+20>>2]|0}}while(0);Rl(l+20|0);Kq(l+32|0);if(!(a[322746]|0))e=1;else{__(c[b+20>>2]|0,d?323216:323240);e=1}}else e=0;i=l;return e|0}function b$(a,b){a=a|0;b=b|0;fo(a,a,(b|0)/8|0,(b|0)/3|0)|0;return}function c$(a,d){a=a|0;d=d|0;var f=0,h=0,j=0,k=0,l=0,m=0.0,n=0.0;f=i;i=i+80|0;a:do if(c[a+24>>2]|0){l=c[d>>2]&65535;k=up(c[a+4>>2]|0)|0;k=k+65535-(c[d+4>>2]|0)-(c[d+12>>2]|0)&65535;j=(c[d+8>>2]|0)+(c[d>>2]|0)&65535;h=up(c[a+4>>2]|0)|0;$ia(f+72|0,l,k,j,h+65535-(c[d+4>>2]|0)&65535);pk(f+36|0,c[a+24>>2]|0);rk(f+36|0);if(sk(f+36|0)|0)d=-1;else{b:while(1){pk(f+8|0,(tk(f+36|0)|0)+52|0);rk(f+8|0);if(!(sk(f+8|0)|0))do{d=tk(f+8|0)|0;l=e[d+16>>1]|e[d+18>>1]<<16;c[f>>2]=e[d+12>>1]|e[d+14>>1]<<16;c[f+4>>2]=l;if(Kk(f,f+72|0)|0?(n=+((b[f+76>>1]|0)+(b[f+72>>1]|0)|0)*.5,l=~~(+zk(d,n)+.5),m=+g[d+20>>2],$ia(f+64|0,~~(n-m*.5),l&65535,~~(m*.5+n),~~(m+ +(l|0))&65535),Kk(f+72|0,f+64|0)|0):0)break b;OL(f+8|0)|0}while(!(sk(f+8|0)|0));OL(f+36|0)|0;if(sk(f+36|0)|0){d=-1;break a}}d=~~+g[d+20>>2]}}else d=c[a+28>>2]|0;while(0);i=f;return d|0}function d$(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+48|0;do if(d){q=Cp(e)|0;k=up(e)|0;e$(e,s+12|0,s+28|0,s+24|0);l=c[s+12>>2]|0;r=(c[s+28>>2]|0)-l|0;if((c[s+24>>2]|0)>((k|0)/2|0|0)){if((c[80661]|0)<=0)break;c[s>>2]=g;c[s+4>>2]=h;jN(323264,s);break}if((r|0)>=((k|0)/3|0|0)){if((c[80661]|0)<=0)break;c[s>>2]=g;c[s+4>>2]=h;jN(323328,s);break}o=Fl(0,l-((r+1|0)/3|0)|0,q,((r+1|0)*5|0)/3|0)|0;c[s+32>>2]=o;p=tp(0,e)|0;c[s+8>>2]=p;$p(p,o);n=(c[s+28>>2]|0)+((f|0)==-1?(r+1|0)*3|0:f-(r+1)|0)|0;c[o+4>>2]=n;c[o+12>>2]=k-n;$p(p,o);Kl(s+32|0);c[s+16>>2]=0;c[s+20>>2]=0;f$(s+16|0,p);cp(s+8|0);a:do if((q|0)>0){p=c[s+16>>2]|0;k=0;do{o=p+(k<<2)|0;c[o>>2]=(c[o>>2]|0)>((r+1|0)/4|0|0)&1;k=k+1|0}while((k|0)!=(q|0));e=0;l=0;do{o=(e|0)<((r+1|0)/2|0|0);f=l;b:while(1){if(c[p+(f<<2)>>2]|0){m=26;break}c:do if((f|0)<(q|0)){m=1;l=f;n=0;while(1){k=n+1|0;if(!m){k=n;break c}l=k+f|0;if((l|0)>=(q|0))break c;m=(c[p+(l<<2)>>2]|0)==0;n=k}}else{l=f;k=0}while(0);do if(!((k|0)<((r+1|0)/2|0|0)|o)){m=(d|0)==1?1:k;if((d|0)==1)if((f|0)==0|(l|0)==(q|0))break;else f=((k|0)/2|0)+f+((m|0)/-2|0)|0;f=Fl(f+g|0,h-((r+1|0)/3|0)+(c[s+12>>2]|0)|0,m,((r+1|0)*5|0)/3|0)|0;c[s+36>>2]=f;if(f){m=22;break b}}while(0);if((l|0)<(q|0))f=l;else break a}if((m|0)==22){Ql(j,f,2);if(a[322746]|0)Nn(c[b+20>>2]|0,c[s+36>>2]|0,1,-128,-1,-128);Kl(s+36|0);e=0}else if((m|0)==26){e=e+1|0;l=f+1|0}}while((l|0)<(q|0))}while(0);l$(s+16|0)}while(0);i=s;return}function e$(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;c[l+8>>2]=0;c[l+12>>2]=0;i$(l+8|0,a);c[l>>2]=0;k=c[l+8>>2]|0;h=j$(k,c[l+12>>2]|0,l)|0;j=((c[l>>2]|0)*70|0)/100|0;a:do if((h|0)>0){g=h;while(1){f=g+-1|0;if((c[k+(g<<2)>>2]|0)<(j|0)){f=g;break a}if((f|0)>0)g=f;else break}}else f=h;while(0);g=h;while(1){if((g|0)>=(up(a)|0))break;if((c[k+(g<<2)>>2]|0)<(j|0))break;else g=g+1|0}if(b)c[b>>2]=f;if(d)c[d>>2]=g;if(e)c[e>>2]=h;l$(l+8|0);i=l;return}function f$(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;l$(a);g=Cp(b)|0;h=up(b)|0;c[a>>2]=XEa(g>>>0>1073741823?-1:g<<2)|0;c[a+4>>2]=g;i=bp(b)|0;d=vp(b)|0;if((g|0)>0)YGa(c[a>>2]|0,0,g<<2|0)|0;if((h|0)>0){e=0;do{b=ba(e,i)|0;if((g|0)>0){f=0;do{if(c[d+((f>>5)+b<<2)>>2]&1<<(f&31^31)){j=(c[a>>2]|0)+(f<<2)|0;c[j>>2]=(c[j>>2]|0)+1}f=f+1|0}while((f|0)!=(g|0))}e=e+1|0}while((e|0)!=(h|0))}return}function g$(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+96|0;if(!(c[b+24>>2]|0)){c[g>>2]=322936;c[g+4>>2]=361;$L(322496,323392,2,1702e3,g)}if((c[80661]|0)>0){jN(323424,g);Afa(c[b+24>>2]|0);c[g>>2]=NL(d)|0;jN(323456,g)}c[g+40>>2]=0;f=c[b+24>>2]|0;if((a[322746]|0)!=0?(c[b+20>>2]|0)!=0:0)e=g+40|0;else e=0;Bfa(f,d,e);if((c[80661]|0)>0){jN(323480,g);Afa(c[b+24>>2]|0)}a:do if((a[322746]|0)!=0?(c[b+20>>2]|0)!=0:0){pk(g+12|0,g+40|0);rk(g+12|0);while(1){if(sk(g+12|0)|0)break;fla(g+88|0,tk(g+12|0)|0);f=h$(c[b+4>>2]|0,g+88|0)|0;c[g+72>>2]=f;Nn(c[b+20>>2]|0,f,1,-1,0,-1);Kl(g+72|0);OL(g+12|0)|0}pk(g+44|0,d);rk(g+44|0);while(1){if(sk(g+44|0)|0)break a;fla(g+80|0,tk(g+44|0)|0);d=h$(c[b+4>>2]|0,g+80|0)|0;c[g+8>>2]=d;Nn(c[b+20>>2]|0,d,3,0,127,0);Kl(g+8|0);OL(g+44|0)|0}}while(0);KL(g+40|0,224);i=g;return}function h$(a,c){a=a|0;c=c|0;var d=0,e=0;e=b[c>>1]|0;d=up(a)|0;d=d+-1-(b[c+6>>1]|0)|0;a=(kl(c)|0)<<16>>16;return Fl(e,d,a,(ll(c)|0)<<16>>16)|0}function i$(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;l$(a);b=Aq(b)|0;c[e+4>>2]=b;d=po(b)|0;c[a+4>>2]=d;c[a>>2]=XEa(d>>>0>1073741823?-1:d<<2)|0;a:do if((d|0)>0){d=0;while(1){c[e>>2]=0;so(b,d,e);c[(c[a>>2]|0)+(d<<2)>>2]=c[e>>2];d=d+1|0;if((d|0)>=(c[a+4>>2]|0))break a;b=c[e+4>>2]|0}}while(0);lo(e+4|0);i=e;return}function j$(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;if((b|0)>0){e=0;f=0;do{e=(c[a+(f<<2)>>2]|0)>(c[a+(e<<2)>>2]|0)?f:e;f=f+1|0}while((f|0)!=(b|0))}else e=0;if(d)c[d>>2]=c[a+(e<<2)>>2];return e|0}function k$(){c[80624]=1701984;c[80626]=389976;c[80628]=390024;c[80630]=390056;c[80632]=390112;c[80634]=390152;c[80636]=390184;c[80638]=390240;c[80640]=390280;c[80642]=390328;c[80644]=390376;c[80646]=390400;c[80648]=390432;c[80650]=390504;c[80652]=390552;c[80654]=390592;c[80656]=390640;rJ(322632,0,322656,322688,0,kM()|0);Wk(322736,0,322752,322784,0,kM()|0);return}function l$(a){a=a|0;var b=0;b=c[a>>2]|0;if(b)ZEa(b);c[a+4>>2]=0;return}function m$(){c[80890]=1701984;c[80892]=389976;c[80894]=390024;c[80896]=390056;c[80898]=390112;c[80900]=390152;c[80902]=390184;c[80904]=390240;c[80906]=390280;c[80908]=390328;c[80910]=390376;c[80912]=390400;c[80914]=390432;c[80916]=390504;c[80918]=390552;c[80920]=390592;c[80922]=390640;Wk(323696,0,323712,323736,0,kM()|0);return}function n$(a,d,f){a=a|0;d=d|0;f=f|0;var g=0;g=e[d>>1]|e[d+2>>1]<<16;b[a+8>>1]=g;b[a+10>>1]=g>>>16;g=e[f>>1]|e[f+2>>1]<<16;b[a+12>>1]=g;b[a+14>>1]=g>>>16;g=(((b[f>>1]|0)-(b[d>>1]|0)|0)/16|0)+1|0;b[a+4>>1]=g;f=(((b[f+2>>1]|0)-(b[d+2>>1]|0)|0)/16|0)+1|0;b[a+6>>1]=f;f=ba(f<<16>>16,g<<16>>16)|0;d=XEa(f>>>0>1073741823|f<<2>>>0>4294967291?-1:(f<<2)+4|0)|0;c[d>>2]=f;if(f)YGa(d+4|0,0,f<<2|0)|0;c[a>>2]=d+4;c[a+16>>2]=0;return}function o$(a,d,e){a=a|0;d=d|0;e=e|0;e=ba(b[a+4>>1]|0,((e<<16>>16)-(b[a+10>>1]|0)|0)/16|0)|0;return (c[a>>2]|0)+(e+(((d<<16>>16)-(b[a+8>>1]|0)|0)/16|0)<<2)|0}function p$(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+48|0;c[y+12>>2]=0;w=e[f+4>>1]|e[f+6>>1]<<16;k=e[f+8>>1]|e[f+10>>1]<<16;u=b[d+8>>1]|0;j=_Ga(k|0,0,16)|0;v=b[d+10>>1]|0;a:do if((h+1<<16>>16<<16>>16|0)>(c[81033]|0))j=(h+1<<16>>16<<16>>16)+g|0;else{s=UGa(w|0,k|0,48)|0;s=_Ga(s|0,F|0,16)|0;k=(((w>>16)-v|0)/16|0)<<16>>16;b:do if((k|0)>((((s>>16)-v|0)/16|0)<<16>>16|0)){k=0;j=0}else{t=(((w<<16>>16)-u|0)/16|0)<<16>>16;r=(((j>>16)-u|0)/16|0)<<16>>16;p=k;k=0;j=0;q=(((w>>16)-v|0)/16|0)&65535;c:while(1){if((t|0)<=(r|0)){m=t;o=(((w<<16>>16)-u|0)/16|0)&65535;do{n=(ba(b[d+4>>1]|0,p)|0)+m|0;pk(y+12|0,(c[d>>2]|0)+(n<<2)|0);if(!(vk(y+12|0)|0)?(rk(y+12|0),!(sk(y+12|0)|0)):0){n=k;while(1){m=tk(y+12|0)|0;if((m|0)!=(f|0)?(_ca(m,f)|0)<<24>>24!=0:0){k=n+1|0;l=c[81005]|0;if((n|0)>=(l|0))break c;l=g-k-j|0;if((l|0)>0){n=c[81081]|0;l=(ba(p$(d,m,l,h+1<<16>>16)|0,n)|0)+j|0}else l=j;j=l+k|0;if((j|0)>(g|0)){x=17;break c}else j=l}else k=n;OL(y+12|0)|0;if(sk(y+12|0)|0)break;else n=k}}o=o+1<<16>>16;m=o<<16>>16}while((m|0)<=(r|0))}q=q+1<<16>>16;p=q<<16>>16;if((p|0)>((((s>>16)-v|0)/16|0)<<16>>16|0))break b}if((x|0)==17){if(!(a[324250]|0))break a;c[y>>2]=k;c[y+4>>2]=l;c[y+8>>2]=g;jN(325032,y);break a}if(a[324250]|0){c[y>>2]=k;c[y+4>>2]=l;jN(324960,y)}j=k+g|0;break a}while(0);j=j+k|0}while(0);i=y;return j|0}function q$(d,f,g){d=d|0;f=f|0;g=g|0;var j=0,l=0,m=0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=i;i=i+48|0;c[C+20>>2]=0;B=e[f+4>>1]|e[f+6>>1]<<16;l=e[f+8>>1]|e[f+10>>1]<<16;A=UGa(B|0,l|0,48)|0;y=b[d+8>>1]|0;z=b[d+10>>1]|0;A=_Ga(A|0,F|0,16)|0;j=(((B>>16)-z|0)/16|0)<<16>>16;a:do if((j|0)<=((((A>>16)-z|0)/16|0)<<16>>16|0)){w=_Ga(l|0,0,16)|0;x=(((B<<16>>16)-y|0)/16|0)<<16>>16;u=j;l=0;j=0;n=0.0;o=0;m=1;v=(((B>>16)-z|0)/16|0)&65535;b:while(1){if((x|0)<=((((w>>16)-y|0)/16|0)<<16>>16|0)){p=x;t=(((B<<16>>16)-y|0)/16|0)&65535;do{s=(ba(b[d+4>>1]|0,u)|0)+p|0;pk(C+20|0,(c[d>>2]|0)+(s<<2)|0);if(!(vk(C+20|0)|0)?(rk(C+20|0),!(sk(C+20|0)|0)):0){p=l;s=m;while(1){q=tk(C+20|0)|0;do if((q|0)!=(f|0)?(_ca(q,f)|0)<<24>>24!=0:0){l=p+1|0;do if((p|0)<(g|0)){m=(g-l|0)/(c[81081]|0)|0;if((m|0)>0){r=q$(d,q,m)|0;r=(ba(c[81081]|0,r)|0)+j|0;break}else{r=(q$(d,q,1)|0)+j|0;break}}else r=j;while(0);j=r+l|0;if((j|0)>(g|0)){m=13;break b}if(!o){o=Yca(f)|0;o=(o|0)<0?0-o|0:o;n=+(Jv(f+4|0)|0);n=n*+h[40610];if(+(o|0)>24){if((a[324506]|0)!=0?(m=(ll(q+4|0)|0)<<16>>16,(m|0)<=(c[81149]|0)):0){j=r;m=s;break}p=Yca(q)|0;p=(p|0)<0?0-p|0:p;if(a[324506]|0){if(+(o-p|0)0){m=23;break b}j=b[q+16>>1]|0;m=ba(j,j)|0;if((m|0)>(ba(c[81171]|0,p)|0)){m=27;break b}}j=Jv(q+4|0)|0;if(+(p|0)<+(j|0)*+h[40598]){m=31;break b}else{j=r;m=s}}else{j=r;m=0}}else{l=p;m=s}while(0);OL(C+20|0)|0;if(sk(C+20|0)|0)break;else{p=l;s=m}}}t=t+1<<16>>16;p=t<<16>>16}while((p|0)<=((((w>>16)-y|0)/16|0)<<16>>16|0))}v=v+1<<16>>16;u=v<<16>>16;if((u|0)>((((A>>16)-z|0)/16|0)<<16>>16|0)){m=37;break a}}if((m|0)==13){if(!(a[324250]|0))break;c[C>>2]=l;c[C+4>>2]=r;jN(325104,C);break}else if((m|0)==23){if(a[324250]|0){c[C>>2]=o;c[C+4>>2]=p;h[k>>3]=n;c[C+8>>2]=c[k>>2];c[C+12>>2]=c[k+4>>2];c[C+16>>2]=r;jN(325152,C)}j=g+1|0;break}else if((m|0)==27){if(a[324250]|0){c[C>>2]=o;c[C+4>>2]=p;h[k>>3]=n;c[C+8>>2]=c[k>>2];c[C+12>>2]=c[k+4>>2];c[C+16>>2]=j;jN(325216,C)}j=g+1|0;break}else if((m|0)==31){if(a[324250]|0){c[C>>2]=o;c[C+4>>2]=p;h[k>>3]=n;c[C+8>>2]=c[k>>2];c[C+12>>2]=c[k+4>>2];c[C+16>>2]=j;jN(325296,C)}j=g+1|0;break}}else{l=0;j=0;m=37}while(0);if((m|0)==37)j=j+l|0;i=C;return j|0}function r$(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+32|0;c[r>>2]=0;q=e[d+4>>1]|e[d+6>>1]<<16;g=e[d+8>>1]|e[d+10>>1]<<16;p=UGa(q|0,g|0,48)|0;n=b[a+8>>1]|0;o=b[a+10>>1]|0;p=_Ga(p|0,F|0,16)|0;h=(((q>>16)-o|0)/16|0)<<16>>16;if((h|0)<=((((p>>16)-o|0)/16|0)<<16>>16|0)){l=_Ga(g|0,0,16)|0;m=(((q<<16>>16)-n|0)/16|0)<<16>>16;k=(((q>>16)-o|0)/16|0)&65535;do{if((m|0)<=((((l>>16)-n|0)/16|0)<<16>>16|0)){g=m;j=(((q<<16>>16)-n|0)/16|0)&65535;do{g=(ba(b[a+4>>1]|0,h)|0)+g|0;pk(r,(c[a>>2]|0)+(g<<2)|0);rk(r);if(!(sk(r)|0))do{if((_ca(tk(r)|0,d)|0)<<24>>24)Ck(f,pv(r)|0);OL(r)|0}while(!(sk(r)|0));j=j+1<<16>>16;g=j<<16>>16}while((g|0)<=((((l>>16)-n|0)/16|0)<<16>>16|0))}k=k+1<<16>>16;h=k<<16>>16}while((h|0)<=((((p>>16)-o|0)/16|0)<<16>>16|0))}i=r;return}function s$(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+48|0;c[d+36>>2]=0;pk(d+8|0,d+36|0);e2(a,(b|0)==0?0:b+4|0,d+8|0);a=e[b+20>>1]|e[b+22>>1]<<16;c[d+4>>2]=e[b+16>>1]|e[b+18>>1]<<16;c[d>>2]=a;t$(b,d+4|0,d,d+36|0);KL(d+36|0,230);i=d;return}function t$(a,b,d,f){a=a|0;b=b|0;d=d|0;f=f|0;var g=0;g=i;i=i+32|0;c[g+4>>2]=e[b>>1]|e[b+2>>1]<<16;c[g>>2]=e[d>>1]|e[d+2>>1]<<16;n$(g+8|0,g+4|0,g);u$(f,g+8|0);v$(a,g+8|0);y$(c[g+8>>2]|0);i=g;return}function u$(a,b){a=a|0;b=b|0;var d=0,f=0,g=0;d=i;i=i+64|0;pk(d+28|0,a);c[d>>2]=0;rk(d+28|0);if(!(sk(d+28|0)|0))do{a=pv(d+28|0)|0;g=e[a+4>>1]|e[a+6>>1]<<16;f=UGa(g|0,e[a+8>>1]|e[a+10>>1]<<16|0,16)|0;pk(d,o$(b,g&65535,f&65535)|0);qv(d,a);OL(d+28|0)|0}while(!(sk(d+28|0)|0));i=d;return}function v$(b,d){b=b|0;d=d|0;var e=0;e=i;i=i+144|0;c[e+140>>2]=0;pk(e+112|0,e+140|0);pk(e+84|0,z$(d)|0);c[e+56>>2]=0;pk(e+28|0,b+60|0);pk(e,b+64|0);while(1){if(vk(e+84|0)|0)break;pk(e+112|0,e+140|0);do{c[e+56>>2]=c[e+84>>2];c[e+60>>2]=c[e+88>>2];c[e+64>>2]=c[e+92>>2];c[e+68>>2]=c[e+96>>2];c[e+72>>2]=c[e+100>>2];c[e+76>>2]=c[e+104>>2];a[e+80>>0]=a[e+108>>0]|0;do{OL(e+84|0)|0;if(xk(e+84|0)|0)break;b=tk(e+56|0)|0}while((_ca(b,tk(e+84|0)|0)|0)<<24>>24==0)}while(!(xk(e+84|0)|0));Ck(e+112|0,pv(e+56|0)|0);dla((w$(d,e+112|0)|0)<<24>>24!=0,e+140|0,e+28|0,e);pk(e+84|0,A$(d)|0)}KL(e+140|0,230);i=e;return}function w$(b,d){b=b|0;d=d|0;var e=0,f=0;f=tk(d)|0;e=c[81105]|0;if(!(a[323922]|0))e=q$(b,f,e)|0;else e=p$(b,f,e,0)|0;if((e|0)<=(c[81105]|0))if((e|0)>0){r$(b,f,d);e=1}else e=1;else e=0;return e|0}function x$(){c[80944]=1701984;c[80946]=389976;c[80948]=390024;c[80950]=390056;c[80952]=390112;c[80954]=390152;c[80956]=390184;c[80958]=390240;c[80960]=390280;c[80962]=390328;c[80964]=390376;c[80966]=390400;c[80968]=390432;c[80970]=390504;c[80972]=390552;c[80974]=390592;c[80976]=390640;Wk(323912,0,323928,323968,0,kM()|0);rJ(324008,10,324032,324064,0,kM()|0);rJ(324120,5,324144,324176,0,kM()|0);Wk(324240,0,324256,324272,0,kM()|0);rJ(324312,10,324336,324368,0,kM()|0);rJ(324408,45,324432,324464,0,kM()|0);Wk(324496,0,324512,324536,0,kM()|0);rJ(324584,12,324608,324632,0,kM()|0);rJ(324672,40,324696,324720,0,kM()|0);tJ(324768,.5,324808,324824,kM()|0);tJ(324864,.875,324904,324920,kM()|0);return}function y$(a){a=a|0;var b=0;if(a){b=c[a+-4>>2]|0;if(b){b=a+(b<<2)|0;do{b=b+-4|0;KL(b,230)}while((b|0)!=(a|0))}ZEa(a+-4|0)}return}function z$(a){a=a|0;var d=0,e=0,f=0,g=0;c[a+16>>2]=0;g=c[a>>2]|0;a:do if(!(c[g>>2]|0)){e=(ba(b[a+6>>1]|0,b[a+4>>1]|0)|0)+-1|0;f=0;while(1){d=f+1|0;if((f|0)>=(e|0)){d=f;break a}c[a+16>>2]=d;if(!(c[g+(d<<2)>>2]|0))f=d;else break}}else d=0;while(0);return g+(d<<2)|0}function A$(a){a=a|0;var d=0,e=0,f=0;d=c[a+16>>2]|0;f=c[a>>2]|0;a:do if(!(c[f+(d<<2)>>2]|0)){e=(ba(b[a+6>>1]|0,b[a+4>>1]|0)|0)+-1|0;do{if((d|0)>=(e|0))break a;d=d+1|0;c[a+16>>2]=d}while((c[f+(d<<2)>>2]|0)==0)}while(0);return f+(d<<2)|0}function B$(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=i;i=i+32|0;c[e+16>>2]=a;b[e+14>>1]=0;b[e+12>>1]=0;b[e+10>>1]=0;b[e+8>>1]=0;if(((C$(a)|0)&-5|0)==3){f=D$(e+16|0,e+12|0,e+8|0)|0;a=WEa(32)|0;g=c[e+16>>2]|0;c[e+4>>2]=c[e+12>>2];c[e>>2]=c[e+8>>2];Sca(a,g,e+4|0,e,f);Ck(d,a)}i=e;return}function C$(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;c[j+4>>2]=325368;f=0;g=b;d=a[(c[b+8>>2]|0)+6>>0]|0;h=0;while(1){h=h+1|0;e=a[g+6>>0]|0;if((e|0)==(d|0))e=d;else{d=e-d|0;if((d|0)>2)d=d+-4|0;else d=(d|0)<-2?d+4|0:d;f=d+f|0}g=c[g+12>>2]|0;d=(g|0)!=(b|0);if(!(d&(h|0)<16e3))break;else d=e}if((f|0)==4|(f|0)==-4?!(d|(h|0)<8):0)d=f>>31&4|3;else if(!d)if((h|0)<8)d=8;else{c[j>>2]=f;$L(j+4|0,325400,0,325424,j);d=5}else d=4;i=j;return d|0}function D$(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=c[a>>2]|0;j=b[i>>1]|0;m=e[i+2>>1]<<16|j&65535;b[f>>1]=m;b[f+2>>1]=m>>>16;b[d>>1]=m;b[d+2>>1]=m>>>16;m=c[a>>2]|0;h=i;l=b[i>>1]|0;n=1;while(1){k=c[h+12>>2]|0;g=b[k>>1]|0;if(g<<16>>16>=j<<16>>16){if(g<<16>>16>(b[f>>1]|0))b[f>>1]=g}else b[d>>1]=g;g=b[k+2>>1]|0;do if(g<<16>>16>=(b[d+2>>1]|0)){h=b[f+2>>1]|0;if(g<<16>>16>h<<16>>16){i=b[k>>1]|0;b[f+2>>1]=g;g=i;i=k;break}if(g<<16>>16==h<<16>>16){g=b[k>>1]|0;j=g<<16>>16>16;g=j?g:l;i=j?k:i}else g=l}else{b[d+2>>1]=g;g=l}while(0);if((k|0)==(m|0))break;j=b[d>>1]|0;h=k;l=g;n=n+1<<16>>16}c[a>>2]=i;return n|0}function E$(a){a=a|0;c[a>>2]=325456;return}function F$(a){a=a|0;return}function G$(a){a=a|0;YEa(a);return}function H$(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;f=i;i=i+16|0;if(!((a|0)!=0?(Dp(a)|0)==32&(d|0)!=0:0)){c[f>>2]=325528;c[f+4>>2]=34;$L(325440,325472,2,1702e3,f)}g=up(a)|0;h=b[d+8>>1]|0;g=g-(b[d+14>>1]|0)|0;e=(kl(d+8|0)|0)<<16>>16;e=Fl(h,g,e,(ll(d+8|0)|0)<<16>>16)|0;c[f+8>>2]=e;d=c[d+88>>2]|0;if((d|0)==1)Nn(a,e,5,0,-1,0);else if((d|0)==4)Nn(a,e,5,0,-1,0);else if((d|0)==2)Nn(a,e,5,0,-1,-1);else if((d|0)==3)Nn(a,e,5,-1,0,0);else Nn(a,e,5,-1,-1,0);Kl(f+8|0);i=f;return}function I$(a){a=a|0;if(a){X$(c[a+12>>2]|0);YEa(a)}return}function J$(f){f=f|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+192|0;c[q+132>>2]=0;c[q+8>>2]=0;c[q+40>>2]=0;pk(q+136|0,q+40|0);c[q+44>>2]=0;Lk(q+104|0,q+44|0);Lk(q+48|0,f+84|0);pk(q+76|0,f+120|0);pk(q+12|0,f+88|0);a[q+180>>0]=0;if(!((uZ(q+48|0)|0)<<24>>24)){yla(q+168|0,Ok(q+48|0)|0);h=b[q+168>>1]|0}else h=32767;b[q+178>>1]=h;a:do if(vk(q+76|0)|0)h=0;else{tk(q+76|0)|0;do if(!(vk(q+12|0)|0)){p=c[f+88>>2]|0;if((p|0)!=0?(p|0)==(c[p>>2]|0):0)break;if(!(vk(q+12|0)|0)){p=c[f+88>>2]|0;if((p|0)!=0?(p|0)==(c[p>>2]|0):0)o=11}else o=11;if((o|0)==11){c[q>>2]=326072;c[q+4>>2]=104;$L(325616,326016,2,1702e3,q)}b[q+176>>1]=b[(tk(q+12|0)|0)+4>>1]|0;j=h;h=0;while(1){if(j<<16>>16>=(b[(tk(q+12|0)|0)+4>>1]|0))break;h=K$(q+48|0,q+178|0,q+176|0,q+180|0,+g[f+20>>2],q+104|0)|0;j=b[q+178>>1]|0}rk(q+12|0);k=b[q+176>>1]|0;if(k<<16>>16<(b[(tk(q+12|0)|0)+4>>1]|0)){n=1;m=-32767}else{OL(q+12|0)|0;n=1;m=-32767}while(1){if(sk(q+12|0)|0)break;p=b[(tk(q+12|0)|0)+4>>1]|0;b:while(1){if(vk(q+76|0)|0)break;if((b[(tk(q+76|0)|0)+8>>1]|0)>p<<16>>16)break;if((b[(tk(q+76|0)|0)+12>>1]|0)>(m|0))m=b[(tk(q+76|0)|0)+12>>1]|0;o=pv(q+76|0)|0;L$(o,p,+(c[81443]|0)+.5,q+132|0,q+8|0);OL(q+76|0)|0;while(1){if(vk(q+76|0)|0)continue b;if(c[(tk(q+76|0)|0)+4>>2]|0)continue b;l=pv(q+76|0)|0;if(l){QX(l);YEa(l)}OL(q+76|0)|0}}if(c[q+8>>2]|0)if(!(c[q+132>>2]|0)){L$(0,p,+(c[81443]|0)+.5,q+132|0,q+8|0);o=32}else o=33;else o=32;if((o|0)==32){o=0;if(!(c[q+132>>2]|0)){l=j<<16>>16;if(j<<16>>16>16)if(j<<16>>16>k<<16>>16)k=~~+P(+(+(l-(k<<16>>16)|0)/+g[f+20>>2]+.5))&255;else k=0;else if(p<<16>>16>k<<16>>16)k=~~+P(+(+((p<<16>>16)-(k<<16>>16)|0)/+g[f+20>>2]+.5))&255;else k=0;if(!(vk(q+136|0)|0)){l=a[q+180>>0]|0;if(l<<24>>24==0&(h|0)!=0)if(!(b[h+10>>1]&512)){a[q+180>>0]=1;l=1}else l=0;h=WEa(28)|0;vla(h,q+40|0,l,0);pk(q+136|0,q+40|0);b[h+10>>1]=e[h+10>>1]|256;nZ(q+104|0,h);if(!(n<<24>>24)){n=0;l=k}else{b[h+10>>1]=e[h+10>>1]|8;n=0;l=k}}else l=(d[q+180>>0]|0)+(k&255)&255;a[q+180>>0]=l;while(1){if(j<<16>>16>=p<<16>>16)break;h=K$(q+48|0,q+178|0,q+176|0,q+180|0,+g[f+20>>2],q+104|0)|0;j=b[q+178>>1]|0}k=b[q+176>>1]|0;l=n}else o=33}if((o|0)==33){l=WEa(8)|0;ala(l,q+132|0);Ck(q+136|0,l);l=n}if(k<<16>>16>16){b[q+176>>1]=p;k=p}OL(q+12|0)|0;n=l}if(!(vk(q+136|0)|0)){h=WEa(28)|0;vla(h,q+40|0,a[q+180>>0]|0,0);b[h+10>>1]=e[h+10>>1]|256;nZ(q+104|0,h);if(n<<24>>24)b[h+10>>1]=e[h+10>>1]|8}if(!h){c[q>>2]=326072;c[q+4>>2]=182;$L(325616,326096,2,1702e3,q)}while(1){if((uZ(q+48|0)|0)<<24>>24)break;K$(q+48|0,q+178|0,q+176|0,q+180|0,+g[f+20>>2],q+104|0)|0}h=(Ok(q+104|0)|0)+10|0;b[h>>1]=e[h>>1]|16;h=WEa(64)|0;Jfa(h,f,~~+g[f+76>>2],~~+g[f+80>>2]);Lk(q+104|0,h+36|0);uX(q+104|0,q+44|0);Lfa(h);break a}while(0);jN(325952,q);f=b[(tk(q+76|0)|0)+8>>1]|0;h=b[(tk(q+76|0)|0)+10>>1]|0;c[q>>2]=f<<16>>16;c[q+4>>2]=h;jN(325984,q);h=0}while(0);TL(q+44|0,227);KL(q+40|0,224);KL(q+8|0,230);KL(q+132|0,230);i=q;return h|0}function K$(c,e,f,g,h,j){c=c|0;e=e|0;f=f|0;g=g|0;h=+h;j=j|0;var k=0,l=0,m=0;m=i;i=i+16|0;l=b[e>>1]|0;k=b[f>>1]|0;if(l<<16>>16>k<<16>>16){l=~~+P(+(+((l<<16>>16)-(k<<16>>16)|0)/h+.5))&255;a[g>>0]=(d[g>>0]|0)+l}l=hv(c)|0;yla(m+8|0,l);b[f>>1]=b[m+12>>1]|0;nZ(j,l);a[l+8>>0]=a[g>>0]|0;VL(c);if(!((uZ(c)|0)<<24>>24)){yla(m,Ok(c)|0);k=b[m>>1]|0}else k=32767;b[e>>1]=k;a[g>>0]=0;i=m;return l|0}function L$(a,b,d,e,f){a=a|0;b=b|0;d=+d;e=e|0;f=f|0;var g=0;if(a)g=c[a+4>>2]|0;else g=0;if((g|0)!=0|(c[f>>2]|0)!=0)M$(g,b,d,e,f);if(!((a|0)==0|(a|0)!=0^1)){QX(a);YEa(a)}return}function M$(a,b,d,e,f){a=a|0;b=b|0;d=+d;e=e|0;f=f|0;var g=0;g=i;i=i+128|0;c[g+112>>2]=0;pk(g+84|0,e);pk(g+56|0,f);pk(g+28|0,g+112|0);c[g>>2]=0;if(!(vk(g+56|0)|0)){while(1){if(vk(g+56|0)|0)break;f=pv(g+56|0)|0;OL(g+56|0)|0;N$(f,b,d,g+84|0,g+28|0)}yB(g+56|0,g+112|0)}if(a){pk(g,a+4|0);rk(g);while(1){if(sk(g)|0)break;N$(pv(g)|0,b,d,g+84|0,g+56|0);OL(g)|0}KL(a+4|0,230);YEa(a)}KL(g+112|0,230);i=g;return}function N$(a,b,d,f,g){a=a|0;b=b|0;d=+d;f=f|0;g=g|0;var h=0,j=0,k=0,l=0;l=i;i=i+112|0;c[l+36>>2]=0;c[l+72>>2]=0;c[l+68>>2]=0;c[l+76>>2]=0;pk(l+8|0,l+36|0);pk(l+40|0,l+72|0);pk(l+80|0,a+28|0);k=(e[a+4>>1]|e[a+6>>1]<<16)&65535;j=(e[a+8>>1]|e[a+10>>1]<<16)&65535;if(((j<<16>>16)+(k<<16>>16)|0)>(b<<16>>16<<1|0))if(+(k<<16>>16)>+(b<<16>>16)-d)Qv(g,a);else h=6;else if(+(j<<16>>16)<+(b<<16>>16)+d)Ck(f,a);else h=6;do if((h|0)==6){if(!((O$(a,b,d,l+68|0,l+76|0)|0)<<24>>24))if(((j<<16>>16)+(k<<16>>16)|0)>(b<<16>>16<<1|0)){Qv(g,a);break}else{Ck(f,a);break}rk(l+80|0);while(1){if(sk(l+80|0)|0)break;h=pv(l+80|0)|0;j=(e[h+4>>1]|e[h+6>>1]<<16)&65535;k=(e[h+8>>1]|e[h+10>>1]<<16)&65535;do if(k<<16>>16>=b<<16>>16){if(j<<16>>16>b<<16>>16){Ck(l+40|0,h);break}if((O$(h,b,0.0,l+68|0,l+76|0)|0)<<24>>24){if(!h)break;Y$(h);YEa(h);break}if(((k<<16>>16)+(j<<16>>16)|0)>(b<<16>>16<<1|0)){Ck(l+40|0,h);break}else{Ck(l+8|0,h);break}}else Ck(l+8|0,h);while(0);OL(l+80|0)|0}P$(l+68|0,l+36|0,d,f);P$(l+76|0,l+72|0,d,g);if(!((c[l+36>>2]|0)==0&(c[l+72>>2]|0)==0)){c[l>>2]=326072;c[l+4>>2]=379;$L(325616,326112,2,1702e3,l)}if(a){Y$(a);YEa(a)}}while(0);KL(l+76|0,240);KL(l+68|0,240);KL(l+72|0,230);KL(l+36|0,230);i=l;return}function O$(a,d,f,g,h){a=a|0;d=d|0;f=+f;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+80|0;t=b[a+16>>1]|0;k=e[a+12>>1]|e[a+14>>1]<<16;c[v+16>>2]=k;c[v+24>>2]=k;a:do if(t<<16>>16>0){o=k&65535;l=k;m=0;k=k&65535;n=0;while(1){if(o<<16>>16>16){l=c[v+16>>2]|0;c[v+24>>2]=l;k=o;n=m&65535}yV(v+64|0,c[a+20>>2]|0,m);eB(v+16|0,b[v+64>>1]|0,b[v+66>>1]|0);m=m+1|0;if((m&65535)<<16>>16==t<<16>>16){m=l;s=n;break a}o=b[v+16>>1]|0}}else{m=k;k=k&65535;s=0}while(0);do if(!(+(k<<16>>16)>=+(d<<16>>16)-f)){l=m>>>16&65535;q=m&65535;n=0;m=0;p=1;k=0;j=s;while(1){r=j;do{yV(v+52|0,c[a+20>>2]|0,r<<16>>16);eB(v+24|0,b[v+52>>1]|0,b[v+54>>1]|0);o=r+1<<16>>16;r=o<<16>>16==t<<16>>16?0:o;o=r<<16>>16==s<<16>>16}while(!((b[v+24>>1]|0)==d<<16>>16|o));if(o){u=12;break}if(j<<16>>16==r<<16>>16){c[v>>2]=326072;c[v+4>>2]=456;$L(325616,326152,2,1702e3,v)}if(!(p<<24>>24)){c[v+8>>2]=(l&65535)<<16|q&65535;q=c[v+24>>2]|0;c[v+20>>2]=q;Q$(j,v+8|0,r,v+20|0,a,g);p=n;j=q}else{j=c[v+24>>2]|0;p=j>>>16&65535;m=j&65535;k=r}l=r<<16>>16;yV(v+60|0,c[a+20>>2]|0,l);if(!(b[v+60>>1]|0)){j=r;do{yV(v+48|0,c[a+20>>2]|0,l);eB(v+24|0,b[v+48>>1]|0,b[v+50>>1]|0);r=j+1<<16>>16;j=r<<16>>16==t<<16>>16?0:r;l=j<<16>>16;yV(v+60|0,c[a+20>>2]|0,l)}while((b[v+60>>1]|0)==0);l=c[v+24>>2]|0}else{l=j;j=r}yV(v+44|0,c[a+20>>2]|0,j<<16>>16);if((b[v+44>>1]|0)>0)do{o=j;do{yV(v+56|0,c[a+20>>2]|0,o<<16>>16);eB(v+24|0,b[v+56>>1]|0,b[v+58>>1]|0);r=o+1<<16>>16;o=r<<16>>16==t<<16>>16?0:r}while((b[v+24>>1]|0)!=d<<16>>16);if(j<<16>>16==o<<16>>16){c[v>>2]=326072;c[v+4>>2]=488;$L(325616,326152,2,1702e3,v)}c[v+12>>2]=l;n=c[v+24>>2]|0;c[v+28>>2]=n;Q$(j,v+12|0,o,v+28|0,a,h);l=o<<16>>16;yV(v+68|0,c[a+20>>2]|0,l);if(!(b[v+68>>1]|0)){j=o;do{yV(v+40|0,c[a+20>>2]|0,l);eB(v+24|0,b[v+40>>1]|0,b[v+42>>1]|0);r=j+1<<16>>16;j=r<<16>>16==t<<16>>16?0:r;l=j<<16>>16;yV(v+68|0,c[a+20>>2]|0,l)}while((b[v+68>>1]|0)==0);l=c[v+24>>2]|0}else{l=n;j=o}yV(v+44|0,c[a+20>>2]|0,j<<16>>16)}while((b[v+44>>1]|0)>0);n=l&65535;l=l>>>16&65535;if(j<<16>>16==s<<16>>16){o=n;n=p;j=s;break}else{q=n;n=p;p=0}}if((u|0)==12)if(!(p<<24>>24))o=q;else{j=0;break}c[v+32>>2]=(l&65535)<<16|o&65535;c[v+36>>2]=(n&65535)<<16|m&65535;Q$(j,v+32|0,k,v+36|0,a,g);j=1}else j=0;while(0);i=v;return j|0}function P$(a,d,e,f){a=a|0;d=d|0;e=+e;f=f|0;var g=0,h=0,j=0;j=i;i=i+96|0;pk(j+64|0,a);pk(j+36|0,d);c[j+8>>2]=0;if(!(vk(j+64|0)|0))do{qk(j+64|0);a=pv(j+64|0)|0;OL(j+64|0)|0;d=tk(j+64|0)|0;g=(c[d+12>>2]|0)==0;if(!(c[a+12>>2]|0)){if(g)h=8}else if(!g)h=8;if((h|0)==8?(h=0,g=b[(RL(j+64|0,1)|0)+24>>1]|0,g<<16>>16==(b[d+24>>1]|0)):0)OL(j+64|0)|0;d=pv(j+64|0)|0;g=(c[d+20>>2]|0)==(a|0);d=U$(a,d)|0;do if(g){if(d){pk(j+8|0,d+28|0);rk(j+36|0);if(!(sk(j+36|0)|0))do{if((_ca(tk(j+36|0)|0,d)|0)<<24>>24)qv(j+8|0,pv(j+36|0)|0);OL(j+36|0)|0}while(!(sk(j+36|0)|0));if(+((kl(d+4|0)|0)<<16>>16)>e){Ck(f,d);break}else{Y$(d);YEa(d);break}}}else if(d){c[j>>2]=326072;c[j+4>>2]=671;$L(325616,326264,2,1702e3,j)}while(0)}while(!(vk(j+64|0)|0));if(!(vk(j+36|0)|0))do{Ck(f,pv(j+36|0)|0);OL(j+36|0)|0}while(!(vk(j+36|0)|0));i=j;return}function Q$(a,d,f,g,h,j){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((b[g>>1]|0)!=(b[d>>1]|0)){c[n>>2]=326072;c[n+4>>2]=536;$L(325616,326184,2,1702e3,n)}if(f<<16>>16==a<<16>>16){c[n>>2]=326072;c[n+4>>2]=537;$L(325616,326216,2,1702e3,n)}if(((f&65535)-(a&65535)<<16|0)<0)m=(b[h+16>>1]|0)+((f&65535)-(a&65535)<<16>>16)|0;else m=(f&65535)-(a&65535)|0;l=b[g+2>>1]|0;k=(l&65535)-(e[d+2>>1]|0)|0;if((k<<16|0)<0)k=0-(k<<16>>16)|0;if((k<<16|0)!=(m<<16|0)){m=WEa(28)|0;c[n+12>>2]=e[d>>1]|e[d+2>>1]<<16;c[n+8>>2]=e[g>>1]|e[g+2>>1]<<16;S$(m,n+12|0,n+8|0,h,a,f);g=WEa(28)|0;c[g>>2]=0;c[g+4>>2]=0;b[g+24>>1]=l;c[g+20>>2]=m;f=e[m+4>>1]|e[m+6>>1]<<16;b[g+4>>1]=f;b[g+6>>1]=f>>>16;f=e[m+8>>1]|e[m+10>>1]<<16;b[g+8>>1]=f;b[g+10>>1]=f>>>16;c[g+12>>2]=0;c[g+16>>2]=0;c[m+20>>2]=g;R$(m,j);R$(g,j)}i=n;return}function R$(a,d){a=a|0;d=d|0;var e=0,f=0;f=i;i=i+32|0;pk(f,d);a:do if((c[d>>2]|0)!=0?(rk(f),!(sk(f)|0)):0){while(1){d=b[(tk(f)|0)+24>>1]|0;if(d<<16>>16>(b[a+24>>1]|0))break;d=b[(tk(f)|0)+24>>1]|0;if(d<<16>>16==(b[a+24>>1]|0)?(b[(c[a+20>>2]|0)+24>>1]|0)>16:0)break;OL(f)|0;if(sk(f)|0){e=9;break a}}BB(f,a)}else e=9;while(0);if((e|0)==9)qv(f,a);i=f;return}function S$(d,f,g,h,j,k){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0;m=i;i=i+16|0;c[d+0>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;l=e[f>>1]|e[f+2>>1]<<16;b[d+4>>1]=l;b[d+6>>1]=l>>>16;l=e[g>>1]|e[g+2>>1]<<16;b[d+8>>1]=l;b[d+10>>1]=l>>>16;b[d+24>>1]=b[f+2>>1]|0;f=(k<<16>>16)-(j<<16>>16)|0;c[d+16>>2]=f;if((f|0)<0){f=(b[h+16>>1]|0)+f|0;c[d+16>>2]=f}if((f|0)<=0){c[m>>2]=326072;c[m+4>>2]=574;$L(325616,326248,2,1702e3,m);f=c[d+16>>2]|0}f=XEa((f|0)>-1?f:-1)|0;c[d+12>>2]=f;a:do if(k<<16>>16<=j<<16>>16){l=b[h+16>>1]|0;b:do if(l<<16>>16>j<<16>>16){g=j<<16>>16;while(1){Z$(m+9|0,c[h+20>>2]|0,g);a[f+(g-(j<<16>>16))>>0]=a[m+9>>0]|0;g=g+1|0;if((g|0)==(l<<16>>16|0)){g=l<<16>>16;break b}f=c[d+12>>2]|0}}else g=j<<16>>16;while(0);if(k<<16>>16>0?(g|0)<((l<<16>>16)+(k<<16>>16)|0):0)do{f=c[d+12>>2]|0;Z$(m+8|0,c[h+20>>2]|0,g-(l<<16>>16)|0);a[f+(g-(j<<16>>16))>>0]=a[m+8>>0]|0;g=g+1|0}while((g|0)!=((l<<16>>16)+(k<<16>>16)|0))}else{g=j<<16>>16;while(1){Z$(m+10|0,c[h+20>>2]|0,g);a[f+(g-(j<<16>>16))>>0]=a[m+10>>0]|0;g=g+1|0;if((g|0)==(k<<16>>16|0))break a;f=c[d+12>>2]|0}}while(0);c[d+20>>2]=0;f=T$(d)|0;if(f){Y$(f);YEa(f)}i=m;return}function T$(a){a=a|0;var d=0,f=0,g=0,h=0,j=0;h=i;i=i+16|0;if((b[a+4>>1]|0)!=(b[a+8>>1]|0)){c[h>>2]=326072;c[h+4>>2]=785;$L(325616,326352,2,1702e3,h)}d=(e[a+6>>1]|0)-(e[a+10>>1]|0)|0;if((d<<16|0)<0){g=32;d=0-(d<<16>>16)|0}else g=96;f=c[a+16>>2]|0;d=d<<16>>16;if((d+f|0)>16e3)d=0;else{j=XEa((d+f|0)>-1?d+f|0:-1)|0;WGa(j|0,c[a+12>>2]|0,f|0)|0;YGa(j+f|0,g|0,d|0)|0;g=WEa(32)|0;c[h+8>>2]=e[a+4>>1]|e[a+6>>1]<<16;Tca(g,h+8|0,j,d+f&65535);ZEa(j);d=g}i=h;return d|0}function U$(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;d=c[a+20>>2]|0;f=(c[a+12>>2]|0)==0;if((d|0)==(b|0)){if(f)d=T$(b)|0;else d=T$(a)|0;if(b){X$(c[b+12>>2]|0);YEa(b)}if(a){X$(c[a+12>>2]|0);YEa(a)}}else{e=(c[b+12>>2]|0)==0;if(f){if(e){c[g>>2]=326072;c[g+4>>2]=719;$L(325616,326280,2,1702e3,g);d=c[a+20>>2]|0}V$(d,b);d=b+20|0}else{if(!e){c[g>>2]=326072;c[g+4>>2]=723;$L(325616,326296,2,1702e3,g)}V$(c[b+20>>2]|0,a);d=b+20|0}c[(c[d>>2]|0)+20>>2]=c[a+20>>2];c[(c[a+20>>2]|0)+20>>2]=c[d>>2];if(a){X$(c[a+12>>2]|0);YEa(a)}if(!b)d=0;else{X$(c[b+12>>2]|0);YEa(b);d=0}}i=g;return d|0}function V$(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;if((b[a+8>>1]|0)!=(b[d+4>>1]|0)){c[m>>2]=326072;c[m+4>>2]=750;$L(325616,326312,2,1702e3,m)}f=(e[d+6>>1]|0)-(e[a+10>>1]|0)|0;if((f<<16|0)<0){l=32;f=0-(f<<16>>16)|0}else l=96;k=c[a+16>>2]|0;f=f<<16>>16;g=c[d+16>>2]|0;h=XEa((f+k+g|0)>-1?f+k+g|0:-1)|0;j=c[a+12>>2]|0;WGa(h|0,j|0,k|0)|0;YGa(h+k|0,l|0,f|0)|0;WGa(h+(f+k)|0,c[d+12>>2]|0,g|0)|0;if(j)ZEa(j);c[a+12>>2]=h;c[a+16>>2]=f+k+g;l=e[d+8>>1]|e[d+10>>1]<<16;b[a+8>>1]=l;b[a+10>>1]=l>>>16;a=(c[a+20>>2]|0)+8|0;d=e[d+8>>1]|e[d+10>>1]<<16;b[a>>1]=d;b[a+2>>1]=d>>>16;i=m;return}function W$(){c[81404]=1701984;c[81406]=357176;c[81408]=389976;c[81410]=390024;c[81412]=390056;c[81414]=390112;c[81416]=390152;c[81418]=390184;c[81420]=390240;c[81422]=390280;c[81424]=390328;c[81426]=390376;c[81428]=390400;c[81430]=390432;c[81432]=390504;c[81434]=390552;c[81436]=390592;c[81438]=390640;rJ(325760,2,325784,325808,0,kM()|0);tJ(325848,.5,325888,325912,kM()|0);return}function X$(a){a=a|0;if(a)ZEa(a);return}function Y$(a){a=a|0;var b=0;b=c[a+20>>2]|0;if(b)jM(b);c[a+20>>2]=0;b=c[a+24>>2]|0;if(b)ZEa(b);KL(a+28|0,230);return}function Z$(a,b,c){a=a|0;b=b|0;c=c|0;_$(a,(d[b+((c|0)/4|0)>>0]|0)>>>(((c|0)%4|0)<<1)<<5&96);return}function _$(b,c){b=b|0;c=c|0;if((((c<<16>>16|0)%128|0)<<16|0)<0)c=(((c<<16>>16|0)%128|0)<<16>>16)+128|0;else c=(c<<16>>16|0)%128|0;a[b>>0]=c;return}function $$(d,f){d=d|0;f=f|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+96|0;c[t+68>>2]=0;c[t+40>>2]=0;Aka(t+24|0,0,128);Lk(t+68|0,f+92|0);c[d+8>>2]=0;b[d+2>>1]=32767;b[d+4>>1]=-32767;b[d>>1]=0;a[d+14>>0]=0;Mk(t+68|0);while(1){if((Nk(t+68|0)|0)<<24>>24)break;f=Ok(t+68|0)|0;if(c[f+120>>2]|0){b[d>>1]=(b[d>>1]|0)+1<<16>>16;Fka(t+24|0,~~+P(+(+g[f+44>>2]+.5))<<16>>16,1);pk(t+40|0,f+120|0);l=b[(tk(t+40|0)|0)+8>>1]|0;k=b[(RL(t+40|0,-1)|0)+12>>1]|0;if((b[d+2>>1]|0)>l<<16>>16)b[d+2>>1]=l;if((b[d+4>>1]|0)>16)b[d+4>>1]=k}VL(t+68|0)}if((b[d>>1]|0)>=3?(b[d+2>>1]|0)<(b[d+4>>1]|0):0){l=(~~+P(+(+Mka(t+24|0)+.5))<<16>>16|0)/2|0;b[d+6>>1]=l;l=((b[d+4>>1]|0)-(b[d+2>>1]|0)|0)/(l<<16>>16|0)|0;b[d+12>>1]=l;l=iM((l<<16>>15)+2|0)|0;c[d+8>>2]=l;k=b[d+12>>1]|0;if(k<<16>>16>=0){f=0;do{b[l+(f<<16>>16<<1)>>1]=0;f=f+1<<16>>16}while(f<<16>>16<=k<<16>>16)}Mk(t+68|0);while(1){if((Nk(t+68|0)|0)<<24>>24)break;o=Ok(t+68|0)|0;if(c[o+120>>2]|0){pk(t+40|0,o+120|0);rk(t+40|0);Zaa(t+8|0,t+40|0);l=c[t+8>>2]|0;k=c[t+12>>2]&65535;if(((a[326586]|0)!=0?(r=b[d+2>>1]|0,(l-(r&65535)<<16|0)>131072?+(l-(r&65535)<<16>>16|0)>+h[40845]*+g[o+44>>2]:0):0)?(j=((l<<16>>16)-(r<<16>>16)|0)/(b[d+6>>1]|0)|0,n=b[d+12>>1]|0,j=(j<<16>>16|0)>(n<<16>>16|0)?n:j&65535,j<<16>>16>=0):0){l=c[d+8>>2]|0;f=0;do{n=l+(f<<16>>16<<1)|0;b[n>>1]=(b[n>>1]|0)+1<<16>>16;f=f+1<<16>>16}while(f<<16>>16<=j<<16>>16);n=o+44|0}else n=o+44|0;while(1){if(sk(t+40|0)|0)break;Zaa(t,t+40|0);l=c[t>>2]|0;o=c[t+4>>2]|0;f=l-(k&65535)<<16;if(((f|0)>131072?+(f>>16|0)>+h[40845]*+g[n>>2]:0)?(f=b[d+2>>1]|0,p=b[d+6>>1]|0,q=(((k<<16>>16)-f|0)/(p|0)|0)&65535,k=b[d+12>>1]|0,p=((((l<<16>>16)-f|0)/(p|0)|0)<<16>>16|0)>(k<<16>>16|0)?k:(((l<<16>>16)-f|0)/(p|0)|0)&65535,q<<16>>16<=p<<16>>16):0){l=c[d+8>>2]|0;k=q;do{f=l+(k<<16>>16<<1)|0;b[f>>1]=(b[f>>1]|0)+1<<16>>16;k=k+1<<16>>16}while(k<<16>>16<=p<<16>>16)}k=o&65535}if(((a[326586]|0)!=0?(o=(e[d+4>>1]|0)-(k&65535)<<16,(o|0)>131072?+(o>>16|0)>+h[40845]*+g[n>>2]:0):0)?(m=((k<<16>>16)-(b[d+2>>1]|0)|0)/(b[d+6>>1]|0)|0,m=(m&32768|0)!=0?0:m&65535,m<<16>>16<=(b[d+12>>1]|0)):0){f=c[d+8>>2]|0;l=m;do{o=f+(l<<16>>16<<1)|0;b[o>>1]=(b[o>>1]|0)+1<<16>>16;l=l+1<<16>>16}while(l<<16>>16<=(b[d+12>>1]|0))}}VL(t+68|0)}j=b[d+12>>1]|0;if(j<<16>>16>=0){n=c[d+8>>2]|0;o=(a[326666]|0)==0;m=0;f=0;while(1){k=n+(m<<1)|0;l=(b[d>>1]|0)/2|0;a:do if((b[k>>1]|0)>(l|0)){b:do if(!o){if(!(f<<16>>16==0?(b[n+(m+1<<1)>>1]|0)<=(l|0):0))s=42;do if((s|0)==42){s=0;if(f<<16>>16==j<<16>>16?(b[n+(m+-1<<1)>>1]|0)<=(l|0):0)break;if(!(f<<16>>16>0?f<<16>>16>16:0))break b;if((b[n+(m+-1<<1)>>1]|0)>(l|0))break b;if((b[n+(m+1<<1)>>1]|0)>(l|0))break b}while(0);b[k>>1]=0;j=b[d+12>>1]|0;break a}while(0);a[d+14>>0]=1}while(0);f=f+1<<16>>16;if(f<<16>>16>j<<16>>16)break;else m=f<<16>>16}}if((a[326522]|0)!=0?(a[d+14>>0]|0)!=0:0)jN(326800,t+16|0)}else{b[d>>1]=0;b[d+4>>1]=0;b[d+2>>1]=0}Eka(t+24|0);i=t;return}function a0(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;if((a[d+14>>0]|0)!=0?(h=b[d+2>>1]|0,i=b[d+6>>1]|0,g=((((e<<16>>16)-h|0)/(i|0)|0)&32768|0)==0?(((e<<16>>16)-h|0)/(i|0)|0)&65535:0,e=b[d+12>>1]|0,i=((((f<<16>>16)-h|0)/(i|0)|0)<<16>>16|0)>(e<<16>>16|0)?e:(((f<<16>>16)-h|0)/(i|0)|0)&65535,g<<16>>16<=i<<16>>16):0){h=c[d+8>>2]|0;f=(b[d>>1]|0)/2|0;do{e=(b[h+(g<<16>>16<<1)>>1]|0)>(f|0);g=g+1<<16>>16}while(!(e|g<<16>>16>i<<16>>16));e=e&1}else e=0;return e|0}function b0(){c[81594]=1701984;c[81596]=389976;c[81598]=390024;c[81600]=390056;c[81602]=390112;c[81604]=390152;c[81606]=390184;c[81608]=390240;c[81610]=390280;c[81612]=390328;c[81614]=390376;c[81616]=390400;c[81618]=390432;c[81620]=390504;c[81622]=390552;c[81624]=390592;c[81626]=390640;Wk(326512,0,326528,326544,0,kM()|0);Wk(326576,0,326592,326608,0,kM()|0);Wk(326656,0,326672,326704,0,kM()|0);tJ(326744,1.75,326784,346496,kM()|0);return}function c0(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;f=i;i=i+48|0;do if((Cp(a)|0)>=100?(up(a)|0)>=100:0){b=Bl(a,1,0,0,0)|0;c[f>>2]=b;Qu(b,c[81741]|0);c[f+16>>2]=0;b=Go(b,f+16|0,c[81741]|0)|0;c[f+28>>2]=b;cp(f);if((c[f+16>>2]|0)==0&(b|0)!=0){cp(f+28|0);b=c[f+28>>2]|0}if(!b){b=Cp(a)|0;b=_o(b,up(a)|0,1)|0;break}b=$s(b,2)|0;c[f+4>>2]=b;Qu(b,c[81741]|0);cp(f+28|0);g=Bt(0,b,a,8)|0;c[f+32>>2]=g;vq(b,b,g);cp(f+32|0);g=Bl(b,1,1,3,3)|0;c[f+36>>2]=g;bo(g,g,5,5)|0;Qu(g,c[81741]|0);d=Bl(b,1,1,1,1)|0;c[f+12>>2]=d;d=Bl(d,3,3,3,0)|0;c[f+24>>2]=d;cp(f+12|0);bo(d,d,5,5)|0;d=$s(d,8)|0;c[f+20>>2]=d;cp(f+24|0);Qu(d,c[81741]|0);sq(d,d,g)|0;cp(f+36|0);bo(d,d,3,3)|0;d=$s(d,16)|0;c[f+8>>2]=d;cp(f+20|0);if(c[81741]|0){Ou(327032,d,3);b=c[f+4>>2]|0;d=c[f+8>>2]|0}sq(b,b,d)|0;cp(f+8|0);if(c[81741]|0){Ou(327064,b,3);b=c[f+4>>2]|0}g=Cp(a)|0;g=_o(g,up(a)|0,1)|0;vq(g,g,b);cp(f+4|0);b=g}else e=3;while(0);if((e|0)==3){b=Cp(a)|0;b=_o(b,up(a)|0,1)|0}i=f;return b|0}function d0(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0;f=i;i=i+48|0;c[b>>2]=0;c[d>>2]=0;if(c[81741]|0)Ou(327088,a,3);c[b>>2]=Jm(a,d)|0;a=Nq(c[d>>2]|0)|0;if((a|0)>0){e=0;do{g=Mq(c[d>>2]|0,e)|0;c[f+32>>2]=g;Qu(g,c[81741]|0);if(e0(c[f+32>>2]|0,f+28|0,f+4|0,f+16|0,f+8|0)|0){k=c[f+28>>2]|0;h=(c[f+16>>2]|0)-k|0;j=c[f+4>>2]|0;g=(c[f+8>>2]|0)-j|0;l=_o(h,g,1)|0;Wp(l);cp(f+32|0);Pq(c[d>>2]|0,e,l);c[f+32>>2]=Mq(c[d>>2]|0,e)|0;Vl(c[b>>2]|0,e,f,f+12|0,f+24|0,f+20|0);g=Fl(k+(c[f>>2]|0)|0,j+(c[f+12>>2]|0)|0,h,g)|0;Wl(c[b>>2]|0,e,g)}cp(f+32|0);e=e+1|0}while((e|0)!=(a|0))}i=f;return}function e0(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0;q=i;i=i+16|0;if(!a){c[q>>2]=327128;c[q+4>>2]=247;$L(326816,327112,2,1702e3,q)}c[b>>2]=0;c[e>>2]=Cp(a)|0;c[d>>2]=0;c[f>>2]=up(a)|0;p=vp(a)|0;o=bp(a)|0;k=c[e>>2]|0;h=0;g=0;a=0;j=0;a:while(1){l=h;n=g;while(1){g=c[b>>2]|0;r=+(k-g|0);g=l0(p,o,g,k,~~(r*.125),~~(r*.1),~~(r*.75),c[f>>2]|0,1,d)|0;h=j;j=g|j;c[f>>2]=(c[f>>2]|0)+-1;if(l0(p,o,c[b>>2]|0,c[e>>2]|0,~~(r*.125),~~(r*.1),~~(r*.75),c[d>>2]|0,-1,f)|0){h=g&(h^1)|l^1;m=1}else{h=g&(h^1);m=l}k=(c[f>>2]|0)+1|0;c[f>>2]=k;l=c[d>>2]|0;if(m0(p,o,l,k,~~(+(k-l|0)*.125),~~(+(k-l|0)*.1),~~(+(k-l|0)*.75),c[e>>2]|0,1,b)|0){h=h|n^1;g=1}else g=n;c[e>>2]=(c[e>>2]|0)+-1;if(m0(p,o,c[d>>2]|0,c[f>>2]|0,~~(+(k-l|0)*.125),~~(+(k-l|0)*.1),~~(+(k-l|0)*.75),c[b>>2]|0,-1,e)|0)break;k=(c[e>>2]|0)+1|0;c[e>>2]=k;if(!h)break a;else{l=m;n=g}}k=(c[e>>2]|0)+1|0;c[e>>2]=k;if(!(h|a^1)){a=1;break}else{h=m;a=1}}if(g&a){i=q;return j&m|0}else{i=q;return 0}return 0}function f0(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;g=i;i=i+32|0;j=c[b>>2]|0;h=c[d>>2]|0;h=Fl(j,h,(c[e>>2]|0)-j|0,(c[f>>2]|0)-h|0)|0;c[g+20>>2]=h;c[g+16>>2]=0;Fq(a,h,g+16|0);a=c[g+16>>2]|0;if(a){Ml(a,g+12|0,g+8|0,g+4|0,g);h=c[g+12>>2]|0;c[b>>2]=h;j=c[g+8>>2]|0;c[d>>2]=j;c[e>>2]=(c[g+4>>2]|0)+h;c[f>>2]=(c[g>>2]|0)+j;Kl(g+16|0)}Kl(g+20|0);i=g;return (a|0)!=0|0}function g0(a,d,f,g,h){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;m=e[a+4>>1]|e[a+6>>1]<<16;c[s+8>>2]=e[a>>1]|e[a+2>>1]<<16;c[s+12>>2]=m;bja(s+8|0,d);m=b[a>>1]|0;n=b[a+4>>1]|0;p=b[d>>1]|0;q=b[d+4>>1]|0;l=lv(m,n,p,q)|0;o=b[a+2>>1]|0;j=b[a+6>>1]|0;k=b[d+2>>1]|0;d=b[d+6>>1]|0;a=HA(o,j,k,d)|0;if((l|0)<(a|0))if((a|0)<1)a=1;else{b[s+14>>1]=o<<16>>16>16?k:o;b[s+10>>1]=j<<16>>16>d<<16>>16?d:j;r=6}else if((l|0)<1)a=1;else{b[s+8>>1]=n<<16>>16>q<<16>>16?q:n;b[s+12>>1]=m<<16>>16>16?p:m;r=6}if((r|0)==6){a=c[s+12>>2]|0;c[s>>2]=c[s+8>>2];c[s+4>>2]=a;a=(h0(s,f,g,h)|0)==0}i=s;return a|0}function h0(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;fja(a,d);if(rl(a)|0)a=0;else{wD(a,f);j=e[d+4>>1]|e[d+6>>1]<<16;c[h>>2]=e[d>>1]|e[d+2>>1]<<16;c[h+4>>2]=j;wD(h,f);f=kl(a)|0;f=_o(f<<16>>16,(ll(a)|0)<<16>>16,1)|0;c[h+12>>2]=f;j=kl(a)|0;d=(ll(a)|0)<<16>>16;fs(f,0,0,j<<16>>16,d,24,g,(b[a>>1]|0)-(b[h>>1]|0)|0,(b[h+6>>1]|0)-(b[a+6>>1]|0)|0);yq(f,h+8|0);cp(h+12|0);a=c[h+8>>2]|0}i=h;return a|0}function i0(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+304|0;c[n+24>>2]=0;Lk(n+28|0,n+24|0);bA(n+192|0,d);cA(n+192|0);while(1){g=dA(n+192|0)|0;if(!g)break;k=c[g+48>>2]|0;if(!((k|0)==0|(k|0)==3|(k|0)==4))continue;nZ(n+28|0,g);DA(n+192|0)}if((f|0)!=0?(l=up(f)|0,Lk(n+56|0,n+24|0),(uZ(n+56|0)|0)<<24>>24==0):0)do{j=hv(n+56|0)|0;g=e[j+16>>1]|e[j+18>>1]<<16;h=e[j+20>>1]|e[j+22>>1]<<16;c[n>>2]=g;c[n+4>>2]=h;k=c[j+48>>2]|0;bA(n+88|0,d);c[n+16>>2]=g;c[n+20>>2]=h;VV(n+16|0,4,4);EX(n+88|0,n+16|0);h=0;a:while(1){do{g=FX(n+88|0)|0;if(!g){m=13;break a}}while(((c[g+52>>2]|0)+-3|0)>>>0>=2);h=e[g+20>>1]|e[g+22>>1]<<16;c[n+8>>2]=e[g+16>>1]|e[g+18>>1]<<16;c[n+12>>2]=h;if(DD(n,n+8|0)|0){g=0;break}else h=1}if((m|0)==13){m=0;if(h)g=1;else{g=c[n+20>>2]|0;c[n>>2]=c[n+16>>2];c[n+4>>2]=g;g=1}}jA(n+172|0);if(g|(k+-3|0)>>>0<2){wD(n,a);g=b[n>>1]|0;h=l-(b[n+6>>1]|0)|0;k=kl(n)|0;fs(f,g,h,k<<16>>16,(ll(n)|0)<<16>>16,30,0,0,0)}n0(j);VL(n+56|0)}while((uZ(n+56|0)|0)<<24>>24==0);jA(n+276|0);TL(n+24|0,238);i=n;return} -function MGa(e,f,g,j,l){e=e|0;f=f|0;g=g|0;j=j|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0.0,s=0,t=0,u=0.0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0;Na=i;i=i+864|0;ka=Na+560|0;va=Na+560|0;za=Na+852|0;sa=Na+569|0;E=0;D=0;v=0;q=0;B=0;a:while(1){do if((v|0)>-1)if((q|0)>(2147483647-v|0)){c[(Ub()|0)>>2]=75;_=-1;break}else{_=q+v|0;break}else _=v;while(0);q=a[f>>0]|0;if(!(q<<24>>24)){N=351;break}else p=f;while(1){if(!(q<<24>>24)){ia=p;ea=p;break}else if(q<<24>>24==37){Ca=p;Ka=p;N=9;break}M=p+1|0;q=a[M>>0]|0;p=M}b:do if((N|0)==9)while(1){N=0;if((a[Ca+1>>0]|0)!=37){ia=Ca;ea=Ka;break b}p=Ka+1|0;q=Ca+2|0;if((a[q>>0]|0)==37){Ca=q;Ka=p}else{ia=q;ea=p;break}}while(0);q=ea-f|0;if(e)vGa(f,q,e);if((ea|0)!=(f|0)){v=_;f=ia;continue}p=ia+1|0;s=a[p>>0]|0;if(((s<<24>>24)+-48|0)>>>0<10){w=(a[ia+2>>0]|0)==36;p=w?ia+3|0:p;t=a[p>>0]|0;C=w?(s<<24>>24)+-48|0:-1;w=w?1:B}else{t=s;C=-1;w=B}s=t<<24>>24;c:do if((s&-32|0)==32){v=0;do{if(!(1<>24)+-32|v;p=p+1|0;t=a[p>>0]|0;s=t<<24>>24}while((s&-32|0)==32)}else v=0;while(0);do if(t<<24>>24==42){s=p+1|0;t=(a[s>>0]|0)+-48|0;if(t>>>0<10?(a[p+2>>0]|0)==36:0){c[l+(t<<2)>>2]=10;w=1;p=p+3|0;t=c[j+((a[s>>0]|0)+-48<<3)>>2]|0}else{if(w){La=-1;N=370;break a}if(!e){p=s;w=0;M=0;break}w=c[g>>2]|0;t=c[w>>2]|0;c[g>>2]=w+4;w=0;p=s}if((t|0)<0){v=v|8192;M=0-t|0}else M=t}else{t=(t<<24>>24)+-48|0;if(t>>>0<10){s=0;do{s=(s*10|0)+t|0;p=p+1|0;t=(a[p>>0]|0)+-48|0}while(t>>>0<10);if((s|0)<0){La=-1;N=370;break a}else M=s}else M=0}while(0);d:do if((a[p>>0]|0)==46){t=p+1|0;x=a[t>>0]|0;if(x<<24>>24!=42){if(((x<<24>>24)+-48|0)>>>0<10){s=0;x=(x<<24>>24)+-48|0}else{p=t;G=0;break}while(1){s=(s*10|0)+x|0;p=p+2|0;x=(a[p>>0]|0)+-48|0;if(x>>>0>=10){G=s;break d}else{L=t;t=p;p=L}}}s=p+2|0;t=(a[s>>0]|0)+-48|0;if(t>>>0<10?(a[p+3>>0]|0)==36:0){c[l+(t<<2)>>2]=10;p=p+4|0;G=c[j+((a[s>>0]|0)+-48<<3)>>2]|0;break}if(w){La=-1;N=370;break a}if(e){p=c[g>>2]|0;G=c[p>>2]|0;c[g>>2]=p+4;p=s}else{p=s;G=0}}else G=-1;while(0);y=0;while(1){t=a[p>>0]|0;if(((t<<24>>24)+-65|0)>>>0>57){La=-1;N=370;break a}L=p+1|0;s=a[1716648+(y*58|0)+((t<<24>>24)+-65)>>0]|0;if(((s&255)+-1|0)>>>0<8){p=L;y=s&255}else break}if(!(s<<24>>24)){La=-1;N=370;break}x=(C|0)>-1;e:do if(s<<24>>24==19)if(x){La=-1;N=370;break a}else{la=E;ma=D;N=62}else{if(x){c[l+(C<<2)>>2]=s&255;ma=j+(C<<3)|0;la=c[ma>>2]|0;ma=c[ma+4>>2]|0;N=62;break}if(!e){La=0;N=370;break a}if((s&255)>20){ta=t;ua=E;wa=D}else do switch(s&255|0){case 17:{na=c[g>>2]|0;c[k>>2]=c[na>>2];c[k+4>>2]=c[na+4>>2];u=+h[k>>3];c[g>>2]=na+8;h[k>>3]=u;na=c[k+4>>2]|0;oa=c[k>>2]|0;N=63;break e}case 10:{na=c[g>>2]|0;oa=c[na>>2]|0;c[g>>2]=na+4;na=((oa|0)<0)<<31>>31;N=63;break e}case 11:{na=c[g>>2]|0;oa=c[na>>2]|0;c[g>>2]=na+4;na=0;N=63;break e}case 9:{na=c[g>>2]|0;oa=c[na>>2]|0;c[g>>2]=na+4;na=D;N=63;break e}case 18:{na=c[g>>2]|0;c[k>>2]=c[na>>2];c[k+4>>2]=c[na+4>>2];u=+h[k>>3];c[g>>2]=na+8;h[k>>3]=u;na=c[k+4>>2]|0;oa=c[k>>2]|0;N=63;break e}case 14:{na=c[g>>2]|0;oa=c[na>>2]|0;c[g>>2]=na+4;na=0;oa=oa&65535;N=63;break e}case 15:{na=c[g>>2]|0;oa=c[na>>2]|0;c[g>>2]=na+4;na=(((oa&255)<<24>>24|0)<0)<<31>>31;oa=oa<<24>>24;N=63;break e}case 16:{na=c[g>>2]|0;oa=c[na>>2]|0;c[g>>2]=na+4;na=0;oa=oa&255;N=63;break e}case 13:{na=c[g>>2]|0;oa=c[na>>2]|0;c[g>>2]=na+4;na=(((oa&65535)<<16>>16|0)<0)<<31>>31;oa=oa<<16>>16;N=63;break e}case 12:{N=c[g>>2]|0;oa=c[N>>2]|0;na=c[N+4>>2]|0;c[g>>2]=N+8;N=63;break e}default:{na=D;oa=E;N=63;break e}}while(0)}while(0);if((N|0)==62){N=0;if(e){na=ma;oa=la;N=63}else{E=la;D=ma;v=_;f=L;B=w;continue}}if((N|0)==63){N=0;ta=a[p>>0]|0;ua=oa;wa=na}A=ta<<24>>24;A=(y|0)!=0&(A&15|0)==3?A&-33:A;t=v&-65537;K=(v&8192|0)==0?v:t;f:do switch(A|0){case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{c[k>>2]=ua;c[k+4>>2]=wa;r=+h[k>>3];c[Na+8>>2]=0;if((wa|0)>=0)if(!(K&2048)){H=K&1;I=(K&1|0)==0?1717137:1717142}else{H=1;I=1717139}else{r=-r;H=1;I=1717136}h[k>>3]=r;E=c[k+4>>2]&2146435072;if(!(E>>>0<2146435072|(E|0)==2146435072&0<0)){if(r!=r|0.0!=0.0){q=0;t=(A&32|0)!=0?1717176:1717184}else{q=H;t=(A&32|0)!=0?1717160:1717168}p=q+3|0;x=(M|0)>(p|0);if((K&8192|0)==0&x){s=M-p|0;YGa(Na+584|0,32,(s>>>0>256?256:s)|0)|0;if(s>>>0>255){f=s;do{vGa(Na+584|0,256,e);f=f+-256|0}while(f>>>0>255);s=s&255}vGa(Na+584|0,s,e)}vGa(I,q,e);vGa(t,3,e);if((K&73728|0)==8192&x){f=M-p|0;YGa(Na+584|0,32,(f>>>0>256?256:f)|0)|0;if(f>>>0>255){q=f;do{vGa(Na+584|0,256,e);q=q+-256|0}while(q>>>0>255);f=f&255}vGa(Na+584|0,f,e)}E=ua;D=wa;v=_;f=L;q=x?M:p;B=w;continue a}r=+iGa(r,Na+8|0)*2.0;if(r!=0.0)c[Na+8>>2]=(c[Na+8>>2]|0)+-1;if((A|32|0)==97){q=(A&32|0)==0?I:I+9|0;B=H|2;s=G>>>0>11?0:12-G|0;do if(s){u=8.0;do{s=s+-1|0;u=u*16.0}while((s|0)!=0);if((a[q>>0]|0)==45){r=-(u+(-r-u));break}else{r=r+u-u;break}}while(0);f=c[Na+8>>2]|0;f=(f|0)<0?0-f|0:f;if((f|0)<0){s=za;t=f;f=((f|0)<0)<<31>>31;while(1){I=gHa(t|0,f|0,10,0)|0;s=s+-1|0;a[s>>0]=I|48;I=t;t=fHa(t|0,f|0,10,0)|0;if(!(f>>>0>9|(f|0)==9&I>>>0>4294967295))break;else f=F}}else{s=za;t=f}if(t)while(1){s=s+-1|0;a[s>>0]=(t>>>0)%10|0|48;if(t>>>0<10)break;else t=(t>>>0)/10|0}if((s|0)==(za|0)){a[Na+851>>0]=48;s=Na+851|0}a[s+-1>>0]=(c[Na+8>>2]>>31&2)+43;p=s+-2|0;a[p>>0]=A+15;if((G|0)<1)if(!(K&8)){s=Na+560|0;do{I=~~r;t=s+1|0;a[s>>0]=d[1717192+I>>0]|A&32;r=(r-+(I|0))*16.0;if((t-ka|0)!=1|r==0.0)s=t;else{a[t>>0]=46;s=s+2|0}}while(r!=0.0)}else{s=Na+560|0;do{I=~~r;t=s+1|0;a[s>>0]=d[1717192+I>>0]|A&32;r=(r-+(I|0))*16.0;if((t-ka|0)==1){a[t>>0]=46;s=s+2|0}else s=t}while(r!=0.0)}else{s=Na+560|0;do{I=~~r;t=s+1|0;a[s>>0]=d[1717192+I>>0]|A&32;r=(r-+(I|0))*16.0;if((t-ka|0)==1){a[t>>0]=46;s=s+2|0}else s=t}while(r!=0.0)}if((G|0)!=0&(-2-ka+s|0)<(G|0))v=za+2+G-p|0;else v=za-ka-p+s|0;z=v+B|0;y=(M|0)>(z|0);if((K&73728|0)==0&y){t=M-z|0;YGa(Na+584|0,32,(t>>>0>256?256:t)|0)|0;if(t>>>0>255){f=t;do{vGa(Na+584|0,256,e);f=f+-256|0}while(f>>>0>255);t=t&255}vGa(Na+584|0,t,e)}vGa(q,B,e);if((K&73728|0)==65536&y){f=M-z|0;YGa(Na+584|0,48,(f>>>0>256?256:f)|0)|0;if(f>>>0>255){q=f;do{vGa(Na+584|0,256,e);q=q+-256|0}while(q>>>0>255);f=f&255}vGa(Na+584|0,f,e)}vGa(Na+560|0,s-ka|0,e);s=v-(za-p)-(s-ka)|0;if((s|0)>0){YGa(Na+584|0,48,(s>>>0>256?256:s)|0)|0;if(s>>>0>255){f=s;do{vGa(Na+584|0,256,e);f=f+-256|0}while(f>>>0>255);s=s&255}vGa(Na+584|0,s,e)}vGa(p,za-p|0,e);if((K&73728|0)==8192&y){f=M-z|0;YGa(Na+584|0,32,(f>>>0>256?256:f)|0)|0;if(f>>>0>255){q=f;do{vGa(Na+584|0,256,e);q=q+-256|0}while(q>>>0>255);f=f&255}vGa(Na+584|0,f,e)}E=ua;D=wa;v=_;f=L;q=y?M:z;B=w;continue a}f=(G|0)<0?6:G;if(r!=0.0){s=(c[Na+8>>2]|0)+-28|0;c[Na+8>>2]=s;r=r*268435456.0}else s=c[Na+8>>2]|0;J=(s|0)<0?Na+16|0:Na+304|0;v=J;do{G=~~r>>>0;c[v>>2]=G;v=v+4|0;r=(r-+(G>>>0))*1.0e9}while(r!=0.0);s=c[Na+8>>2]|0;if((s|0)>0){t=s;s=J;y=v;while(1){x=(t|0)>29?29:t;v=y+-4|0;do if(v>>>0>=s>>>0){t=y;p=0;q=v;while(1){G=_Ga(c[q>>2]|0,0,x|0)|0;G=QGa(G|0,F|0,p|0,0)|0;v=F;E=gHa(G|0,v|0,1e9,0)|0;c[q>>2]=E;p=fHa(G|0,v|0,1e9,0)|0;v=t+-8|0;if(v>>>0>>0)break;else{t=q;q=v}}if(!p)break;s=s+-4|0;c[s>>2]=p}while(0);v=y;while(1){if(v>>>0<=s>>>0)break;t=v+-4|0;if(!(c[t>>2]|0))v=t;else break}t=(c[Na+8>>2]|0)-x|0;c[Na+8>>2]=t;if((t|0)>0)y=v;else break}}else{t=s;s=J}g:do if((t|0)<0){if((A|32|0)==102){q=v;while(1){p=(t|0)<-9?9:0-t|0;do if(s>>>0>>0){t=0;v=s;do{G=c[v>>2]|0;c[v>>2]=(G>>>p)+t;t=ba(G&(1<>>p)|0;v=v+4|0}while(v>>>0>>0);s=(c[s>>2]|0)==0?s+4|0:s;if(!t){t=q;break}c[q>>2]=t;t=q+4|0}else{s=(c[s>>2]|0)==0?s+4|0:s;t=q}while(0);v=(t-J>>2|0)>(((f+25|0)/9|0)+1|0)?J+(((f+25|0)/9|0)+1<<2)|0:t;t=(c[Na+8>>2]|0)+p|0;c[Na+8>>2]=t;if((t|0)>=0){B=v;break g}else q=v}}else q=v;while(1){p=(t|0)<-9?9:0-t|0;do if(s>>>0>>0){t=0;v=s;do{G=c[v>>2]|0;c[v>>2]=(G>>>p)+t;t=ba(G&(1<>>p)|0;v=v+4|0}while(v>>>0>>0);s=(c[s>>2]|0)==0?s+4|0:s;if(!t){t=q;break}c[q>>2]=t;t=q+4|0}else{s=(c[s>>2]|0)==0?s+4|0:s;t=q}while(0);if((t-s>>2|0)>(((f+25|0)/9|0)+1|0))v=s+(((f+25|0)/9|0)+1<<2)|0;else v=t;t=(c[Na+8>>2]|0)+p|0;c[Na+8>>2]=t;if((t|0)>=0){B=v;break}else q=v}}else B=v;while(0);do if(s>>>0>>0){t=(J-s>>2)*9|0;q=c[s>>2]|0;if(q>>>0<10)break;else v=10;do{v=v*10|0;t=t+1|0}while(q>>>0>=v>>>0)}else t=0;while(0);y=f-((A|32|0)!=102?t:0)+(((A|32|0)==103&(f|0)!=0)<<31>>31)|0;if((y|0)<(((B-J>>2)*9|0)+-9|0)){q=J+(((y+9216|0)/9|0)+-1023<<2)|0;if((((y+9216|0)%9|0)+1|0)<9){v=10;p=((y+9216|0)%9|0)+1|0;do{v=v*10|0;p=p+1|0}while((p|0)!=9)}else v=10;x=c[q>>2]|0;z=(x>>>0)%(v>>>0)|0;if((z|0)==0?(J+(((y+9216|0)/9|0)+-1022<<2)|0)==(B|0):0){W=s;T=q;S=t}else N=231;do if((N|0)==231){N=0;r=(((x>>>0)/(v>>>0)|0)&1|0)==0?9007199254740992.0:9007199254740994.0;p=(v|0)/2|0;do if(z>>>0

>>0)u=.5;else{if((z|0)==(p|0)?(J+(((y+9216|0)/9|0)+-1022<<2)|0)==(B|0):0){u=1.0;break}u=1.5}while(0);do if(H){if((a[I>>0]|0)!=45)break;r=-r;u=-u}while(0);c[q>>2]=x-z;if(!(r+u!=r)){W=s;T=q;S=t;break}W=x-z+v|0;c[q>>2]=W;if(W>>>0>999999999)while(1){t=q+-4|0;c[q>>2]=0;if(t>>>0>>0){s=s+-4|0;c[s>>2]=0}W=(c[t>>2]|0)+1|0;c[t>>2]=W;if(W>>>0>999999999)q=t;else{q=t;break}}t=(J-s>>2)*9|0;v=c[s>>2]|0;if(v>>>0<10){W=s;T=q;S=t;break}else p=10;do{p=p*10|0;t=t+1|0}while(v>>>0>=p>>>0);W=s;T=q;S=t}while(0);v=T+4|0;s=W;t=S;v=B>>>0>v>>>0?v:B}else v=B;E=s;z=0-t|0;while(1){if(v>>>0<=s>>>0){C=0;break}q=v+-4|0;if(!(c[q>>2]|0))v=q;else{C=1;break}}do if((A|32|0)==103){if((((f|0)==0&1)+f|0)>(t|0)&(t|0)>-5){y=A+-1|0;f=((f|0)==0&1)+f+-1-t|0}else{y=A+-2|0;f=((f|0)==0&1)+f+-1|0}if(K&8){A=y;break}do if(C){q=c[v+-4>>2]|0;if(!q){p=9;break}if(!((q>>>0)%10|0)){x=10;p=0}else{p=0;break}do{x=x*10|0;p=p+1|0}while(((q>>>0)%(x>>>0)|0|0)==0)}else p=9;while(0);q=((v-J>>2)*9|0)+-9|0;if((y|32|0)==102){G=q-p|0;G=(G|0)<0?0:G;A=y;f=(f|0)<(G|0)?f:G;break}else{G=q+t-p|0;G=(G|0)<0?0:G;A=y;f=(f|0)<(G|0)?f:G;break}}while(0);D=(f|0)!=0;if(D)q=1;else q=(K&8|0)!=0;x=q&1;B=(A|32|0)==102;if(B){t=(t|0)>0?t:0;A=0}else{p=(t|0)<0?z:t;if((p|0)<0){q=za;y=p;p=((p|0)<0)<<31>>31;while(1){G=gHa(y|0,p|0,10,0)|0;q=q+-1|0;a[q>>0]=G|48;G=y;y=fHa(y|0,p|0,10,0)|0;if(!(p>>>0>9|(p|0)==9&G>>>0>4294967295))break;else p=F}}else{q=za;y=p}if(y)while(1){q=q+-1|0;a[q>>0]=(y>>>0)%10|0|48;if(y>>>0<10)break;else y=(y>>>0)/10|0}if((za-q|0)<2)do{q=q+-1|0;a[q>>0]=48}while((za-q|0)<2);a[q+-1>>0]=(t>>31&2)+43;G=q+-2|0;a[G>>0]=A;t=za-G|0;A=G}x=H+1+f+x+t|0;G=(M|0)>(x|0);if((K&73728|0)==0&G){t=M-x|0;YGa(Na+584|0,32,(t>>>0>256?256:t)|0)|0;if(t>>>0>255){q=t;do{vGa(Na+584|0,256,e);q=q+-256|0}while(q>>>0>255);t=t&255}vGa(Na+584|0,t,e)}vGa(I,H,e);if((K&73728|0)==65536&G){t=M-x|0;YGa(Na+584|0,48,(t>>>0>256?256:t)|0)|0;if(t>>>0>255){q=t;do{vGa(Na+584|0,256,e);q=q+-256|0}while(q>>>0>255);t=t&255}vGa(Na+584|0,t,e)}do if(B){z=s>>>0>J>>>0?J:s;q=~J>>>0>~E>>>0?~J:~E;y=((3-q|0)>>>0>(J+1|0)>>>0?3-q|0:J+1|0)+q|0;p=z;do{s=c[p>>2]|0;if(!s)t=sa;else{t=sa;while(1){t=t+-1|0;a[t>>0]=(s>>>0)%10|0|48;if(s>>>0<10)break;else s=(s>>>0)/10|0}}do if((p|0)==(z|0)){if((t|0)!=(sa|0))break;a[Na+568>>0]=48;t=Na+568|0}else{if(t>>>0<=(Na+560|0)>>>0)break;do{t=t+-1|0;a[t>>0]=48}while(t>>>0>(Na+560|0)>>>0)}while(0);vGa(t,sa-t|0,e);p=p+4|0}while(p>>>0<=J>>>0);if(!((K&8|0)==0&(D^1)))vGa(1717208,1,e);if(p>>>0>>0&(f|0)>0){q=(y&-4)+~q|0;while(1){t=c[p>>2]|0;if(t){s=sa;while(1){s=s+-1|0;a[s>>0]=(t>>>0)%10|0|48;if(t>>>0<10)break;else t=(t>>>0)/10|0}if(s>>>0>(Na+560|0)>>>0){Ha=s;N=300}else ja=s}else{Ha=sa;N=300}if((N|0)==300)while(1){N=0;s=Ha+-1|0;a[s>>0]=48;if(s>>>0>(Na+560|0)>>>0)Ha=s;else{ja=s;break}}vGa(ja,(f|0)>9?9:f,e);t=q+8|0;f=f+-9|0;if(t>>>0>>0&(f|0)>0){q=p;p=t}else break}}if((f|0)<=0)break;YGa(Na+584|0,48,(f>>>0>256?256:f)|0)|0;if(f>>>0>255){s=f;do{vGa(Na+584|0,256,e);s=s+-256|0}while(s>>>0>255);f=f&255}vGa(Na+584|0,f,e)}else{y=C?v:s+4|0;do if((f|0)>-1){p=s;do{t=c[p>>2]|0;if(t){q=sa;while(1){v=q+-1|0;a[v>>0]=(t>>>0)%10|0|48;if(t>>>0<10)break;else{q=v;t=(t>>>0)/10|0}}if((v|0)!=(sa|0)){ra=q;Ia=v}else N=312}else N=312;if((N|0)==312){N=0;a[Na+568>>0]=48;ra=sa;Ia=Na+568|0}do if((p|0)==(s|0)){vGa(Ia,1,e);if((f|0)<1&(K&8|0)==0){t=ra;break}vGa(1717208,1,e);t=ra}else{if(Ia>>>0>(Na+560|0)>>>0)t=Ia;else{t=Ia;break}do{t=t+-1|0;a[t>>0]=48}while(t>>>0>(Na+560|0)>>>0)}while(0);I=sa-t|0;vGa(t,(f|0)>(I|0)?I:f,e);f=f-I|0;p=p+4|0}while(p>>>0>>0&(f|0)>-1);if((f|0)<=0)break;YGa(Na+584|0,48,(f>>>0>256?256:f)|0)|0;if(f>>>0>255){s=f;do{vGa(Na+584|0,256,e);s=s+-256|0}while(s>>>0>255);f=f&255}vGa(Na+584|0,f,e)}while(0);vGa(A,za-A|0,e)}while(0);if((K&73728|0)==8192&G){f=M-x|0;YGa(Na+584|0,32,(f>>>0>256?256:f)|0)|0;if(f>>>0>255){q=f;do{vGa(Na+584|0,256,e);q=q+-256|0}while(q>>>0>255);f=f&255}vGa(Na+584|0,f,e)}E=ua;D=wa;v=_;f=L;q=G?M:x;B=w;continue a}case 88:case 120:{Ba=K;Da=G;Ja=A;N=74;break}case 110:switch(y|0){case 0:{c[ua>>2]=_;E=ua;D=wa;v=_;f=L;B=w;continue a}case 1:{c[ua>>2]=_;E=ua;D=wa;v=_;f=L;B=w;continue a}case 4:{a[ua>>0]=_;E=ua;D=wa;v=_;f=L;B=w;continue a}case 2:{E=ua;c[E>>2]=_;c[E+4>>2]=((_|0)<0)<<31>>31;E=ua;D=wa;v=_;f=L;B=w;continue a}case 3:{b[ua>>1]=_;E=ua;D=wa;v=_;f=L;B=w;continue a}case 6:{c[ua>>2]=_;E=ua;D=wa;v=_;f=L;B=w;continue a}case 7:{E=ua;c[E>>2]=_;c[E+4>>2]=((_|0)<0)<<31>>31;E=ua;D=wa;v=_;f=L;B=w;continue a}default:{E=ua;D=wa;v=_;f=L;B=w;continue a}}case 112:{Ba=K|8;Da=G>>>0>8?G:8;Ja=120;N=74;break}case 117:{xa=wa;ya=ua;Fa=0;Ga=1717112;N=85;break}case 109:{Aa=Hc(c[(Ub()|0)>>2]|0)|0;N=95;break}case 99:{a[Na+559>>0]=ua;fa=ua;ga=wa;ha=Na+559|0;n=t;aa=1;ca=0;da=1717112;$=va;break}case 115:{Aa=(ua|0)==0?1717128:ua;N=95;break}case 67:{c[Na>>2]=ua;c[Na+4>>2]=0;pa=Na;qa=Na;Ea=-1;N=100;break}case 83:{f=ua;if(!G){Y=ua;Z=f;X=0;N=105}else{pa=f;qa=ua;Ea=G;N=100}break}case 111:{s=(ua|0)==0&(wa|0)==0;if(s)o=va;else{o=va;f=ua;q=wa;do{o=o+-1|0;a[o>>0]=f&7|48;f=UGa(f|0,q|0,3)|0;q=F}while(!((f|0)==0&(q|0)==0))}U=ua;V=wa;P=K;Q=G;R=((K&8|0)==0|s)&1^1;O=(K&8|0)==0|s?1717112:1717117;N=90;break}case 105:case 100:{if((wa|0)<0){ya=PGa(0,0,ua|0,wa|0)|0;xa=F;Fa=1;Ga=1717112;N=85;break f}if(!(K&2048)){xa=wa;ya=ua;Fa=K&1;Ga=(K&1|0)==0?1717112:1717114;N=85}else{xa=wa;ya=ua;Fa=1;Ga=1717113;N=85}break}default:{fa=ua;ga=wa;ha=f;n=K;aa=G;ca=0;da=1717112;$=va}}while(0);do if((N|0)==74){p=Ja&32;if(!((ua|0)==0&(wa|0)==0)){o=va;q=ua;f=wa;do{o=o+-1|0;a[o>>0]=d[1717192+(q&15)>>0]|p;q=UGa(q|0,f|0,4)|0;f=F}while(!((q|0)==0&(f|0)==0));if(!(Ba&8)){U=ua;V=wa;P=Ba;Q=Da;R=0;O=1717112;N=90}else{U=ua;V=wa;P=Ba;Q=Da;R=2;O=1717112+(Ja>>4)|0;N=90}}else{U=ua;V=wa;o=va;P=Ba;Q=Da;R=0;O=1717112;N=90}}else if((N|0)==85){if(xa>>>0>0|(xa|0)==0&ya>>>0>4294967295){o=va;p=ya;f=xa;while(1){V=gHa(p|0,f|0,10,0)|0;o=o+-1|0;a[o>>0]=V|48;V=p;p=fHa(p|0,f|0,10,0)|0;if(!(f>>>0>9|(f|0)==9&V>>>0>4294967295))break;else f=F}}else{o=va;p=ya}if(!p){U=ya;V=xa;P=K;Q=G;R=Fa;O=Ga;N=90}else while(1){o=o+-1|0;a[o>>0]=(p>>>0)%10|0|48;if(p>>>0<10){U=ya;V=xa;P=K;Q=G;R=Fa;O=Ga;N=90;break}else p=(p>>>0)/10|0}}else if((N|0)==95){N=0;f=FGa(Aa,0,G)|0;if(!f){fa=ua;ga=wa;ha=Aa;n=t;aa=G;ca=0;da=1717112;$=Aa+G|0;break}else{fa=ua;ga=wa;ha=Aa;n=t;aa=f-Aa|0;ca=0;da=1717112;$=f;break}}else if((N|0)==100){q=0;f=0;s=pa;while(1){p=c[s>>2]|0;if(!p)break;f=oGa(Na+852|0,p)|0;if((f|0)<0|f>>>0>(Ea-q|0)>>>0)break;q=f+q|0;if(Ea>>>0>q>>>0)s=s+4|0;else break}if((f|0)<0){La=-1;N=370;break a}else{Y=qa;Z=pa;X=q;N=105}}while(0);if((N|0)==90){N=0;n=(Q|0)>-1?P&-65537:P;p=(U|0)!=0|(V|0)!=0;if(p|(Q|0)!=0){aa=(p&1^1)+(va-o)|0;fa=U;ga=V;ha=o;aa=(Q|0)>(aa|0)?Q:aa;ca=R;da=O;$=va}else{fa=U;ga=V;ha=va;aa=0;ca=R;da=O;$=va}}else if((N|0)==105){N=0;t=(M|0)>(X|0);if((K&73728|0)==0&t){f=M-X|0;YGa(Na+584|0,32,(f>>>0>256?256:f)|0)|0;if(f>>>0>255){q=f;do{vGa(Na+584|0,256,e);q=q+-256|0}while(q>>>0>255);f=f&255}vGa(Na+584|0,f,e)}h:do if(X){f=0;q=Z;while(1){s=c[q>>2]|0;if(!s)break h;s=oGa(Na+852|0,s)|0;f=s+f|0;if((f|0)>(X|0))break h;vGa(Na+852|0,s,e);if(f>>>0>=X>>>0)break;else q=q+4|0}}while(0);if((K&73728|0)==8192&t){f=M-X|0;YGa(Na+584|0,32,(f>>>0>256?256:f)|0)|0;if(f>>>0>255){q=f;do{vGa(Na+584|0,256,e);q=q+-256|0}while(q>>>0>255);f=f&255}vGa(Na+584|0,f,e)}E=Y;D=wa;v=_;f=L;q=t?M:X;B=w;continue}v=$-ha|0;t=(aa|0)<(v|0)?v:aa;x=ca+t|0;q=(M|0)<(x|0)?x:M;p=n&73728;if((p|0)==0&(q|0)>(x|0)){YGa(Na+584|0,32,((q-x|0)>>>0>256?256:q-x|0)|0)|0;if((q-x|0)>>>0>255){s=q-x|0;do{vGa(Na+584|0,256,e);s=s+-256|0}while(s>>>0>255);s=q-x&255}else s=q-x|0;vGa(Na+584|0,s,e)}vGa(da,ca,e);if((p|0)==65536&(q|0)>(x|0)){YGa(Na+584|0,48,((q-x|0)>>>0>256?256:q-x|0)|0)|0;if((q-x|0)>>>0>255){s=q-x|0;do{vGa(Na+584|0,256,e);s=s+-256|0}while(s>>>0>255);s=q-x&255}else s=q-x|0;vGa(Na+584|0,s,e)}if((t|0)>(v|0)){YGa(Na+584|0,48,((t-v|0)>>>0>256?256:t-v|0)|0)|0;if((t-v|0)>>>0>255){s=t-v|0;do{vGa(Na+584|0,256,e);s=s+-256|0}while(s>>>0>255);f=t-v&255}else f=t-v|0;vGa(Na+584|0,f,e)}vGa(ha,v,e);if(!((p|0)==8192&(q|0)>(x|0))){E=fa;D=ga;v=_;f=L;B=w;continue}YGa(Na+584|0,32,((q-x|0)>>>0>256?256:q-x|0)|0)|0;if((q-x|0)>>>0>255){f=q-x|0;do{vGa(Na+584|0,256,e);f=f+-256|0}while(f>>>0>255);f=q-x&255}else f=q-x|0;vGa(Na+584|0,f,e);E=fa;D=ga;v=_;f=L;B=w}if((N|0)==351){if(e){l=_;i=Na;return l|0}if(!B){l=0;i=Na;return l|0}else p=1;while(1){n=c[l+(p<<2)>>2]|0;if(!n){Ma=1;m=p;break}o=j+(p<<3)|0;i:do if(n>>>0<=20)do switch(n|0){case 9:{Ja=c[g>>2]|0;Ka=c[Ja>>2]|0;c[g>>2]=Ja+4;c[o>>2]=Ka;break i}case 10:{Ja=c[g>>2]|0;Ka=c[Ja>>2]|0;c[g>>2]=Ja+4;c[o>>2]=Ka;c[o+4>>2]=((Ka|0)<0)<<31>>31;break i}case 11:{Ja=c[g>>2]|0;Ka=c[Ja>>2]|0;c[g>>2]=Ja+4;c[o>>2]=Ka;c[o+4>>2]=0;break i}case 12:{Ia=c[g>>2]|0;Ja=c[Ia>>2]|0;Ka=c[Ia+4>>2]|0;c[g>>2]=Ia+8;c[o>>2]=Ja;c[o+4>>2]=Ka;break i}case 13:{Ja=c[g>>2]|0;Ka=c[Ja>>2]|0;c[g>>2]=Ja+4;c[o>>2]=(Ka&65535)<<16>>16;c[o+4>>2]=(((Ka&65535)<<16>>16|0)<0)<<31>>31;break i}case 14:{Ja=c[g>>2]|0;Ka=c[Ja>>2]|0;c[g>>2]=Ja+4;c[o>>2]=Ka&65535;c[o+4>>2]=0;break i}case 15:{Ja=c[g>>2]|0;Ka=c[Ja>>2]|0;c[g>>2]=Ja+4;c[o>>2]=(Ka&255)<<24>>24;c[o+4>>2]=(((Ka&255)<<24>>24|0)<0)<<31>>31;break i}case 16:{Ja=c[g>>2]|0;Ka=c[Ja>>2]|0;c[g>>2]=Ja+4;c[o>>2]=Ka&255;c[o+4>>2]=0;break i}case 17:{Ka=c[g>>2]|0;c[k>>2]=c[Ka>>2];c[k+4>>2]=c[Ka+4>>2];u=+h[k>>3];c[g>>2]=Ka+8;h[o>>3]=u;break i}case 18:{Ka=c[g>>2]|0;c[k>>2]=c[Ka>>2];c[k+4>>2]=c[Ka+4>>2];u=+h[k>>3];c[g>>2]=Ka+8;h[o>>3]=u;break i}default:break i}while(0);while(0);p=p+1|0;if((p|0)>=10){La=1;N=370;break}}if((N|0)==370){i=Na;return La|0}while(1){m=m+1|0;if(!Ma){La=-1;N=370;break}if((m|0)>=10){La=1;N=370;break}Ma=(c[l+(m<<2)>>2]|0)==0}if((N|0)==370){i=Na;return La|0}}else if((N|0)==370){i=Na;return La|0}return 0}function NGa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=c[a+20>>2]|0;e=(c[a+16>>2]|0)-f|0;e=e>>>0>d>>>0?d:e;VGa(f|0,b|0,e|0)|0;c[a+20>>2]=(c[a+20>>2]|0)+e;return d|0}function OGa(){}function PGa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=b-d-(c>>>0>a>>>0|0)>>>0;return (F=d,a-c>>>0|0)|0}function QGa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return (F=b+d+(a+c>>>0>>>0>>0|0)>>>0,a+c>>>0|0)|0}function RGa(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;while((e|0)<(d|0)){a[b+e>>0]=f?0:a[c+e>>0]|0;f=f?1:(a[c+e>>0]|0)==0;e=e+1|0}return b|0}function SGa(b){b=b|0;var c=0;c=b;while(a[c>>0]|0)c=c+1|0;return c-b|0}function TGa(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){F=b>>c;return a>>>c|(b&(1<>c-32|0}function UGa(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){F=b>>>c;return a>>>c|(b&(1<>>c-32|0}function VGa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if((e|0)>=4096)return Qa(b|0,d|0,e|0)|0;f=b|0;if((b&3)==(d&3)){while(b&3){if(!e)return f|0;a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0;e=e-1|0}while((e|0)>=4){c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0;e=e-4|0}}while((e|0)>0){a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0;e=e-1|0}return f|0}function WGa(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;if((c|0)<(b|0)&(b|0)<(c+d|0)){e=b;c=c+d|0;b=b+d|0;while((d|0)>0){b=b-1|0;c=c-1|0;d=d-1|0;a[b>>0]=a[c>>0]|0}b=e}else VGa(b,c,d)|0;return b|0}function XGa(a){a=a|0;return (a&255)<<24|(a>>8&255)<<16|(a>>16&255)<<8|a>>>24|0}function YGa(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=b+e|0;if((e|0)>=20){d=d&255;g=b&3;h=d|d<<8|d<<16|d<<24;if(g){g=b+4-g|0;while((b|0)<(g|0)){a[b>>0]=d;b=b+1|0}}while((b|0)<(f&~3|0)){c[b>>2]=h;b=b+4|0}}while((b|0)<(f|0)){a[b>>0]=d;b=b+1|0}return b-e|0}function ZGa(b,c){b=b|0;c=c|0;var d=0,e=0;e=b+(SGa(b)|0)|0;do{a[e+d>>0]=a[c+d>>0];d=d+1|0}while(a[c+(d-1)>>0]|0);return b|0}function _Ga(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){F=b<>>32-c;return a<>0]=a[c+d>>0];d=d+1|0}while(a[c+(d-1)>>0]|0);return b|0}function aHa(b){b=b|0;var c=0;c=a[m+(b&255)>>0]|0;if((c|0)<8)return c|0;c=a[m+(b>>8&255)>>0]|0;if((c|0)<8)return c+8|0;c=a[m+(b>>16&255)>>0]|0;if((c|0)<8)return c+16|0;return (a[m+(b>>>24)>>0]|0)+24|0}function bHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=ba(b&65535,a&65535)|0;e=(c>>>16)+(ba(b&65535,a>>>16)|0)|0;d=ba(b>>>16,a&65535)|0;return (F=(e>>>16)+(ba(b>>>16,a>>>16)|0)+(((e&65535)+d|0)>>>16)|0,e+d<<16|c&65535|0)|0}function cHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;g=b>>31|((b|0)<0?-1:0)<<1;e=((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1;h=d>>31|((d|0)<0?-1:0)<<1;f=((d|0)<0?-1:0)>>31|((d|0)<0?-1:0)<<1;a=PGa(g^a,e^b,g,e)|0;b=F;d=PGa((hHa(a,b,PGa(h^c,f^d,h,f)|0,F,0)|0)^(h^g),F^(f^e),h^g,f^e)|0;return d|0}function dHa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;f=i;i=i+8|0;h=b>>31|((b|0)<0?-1:0)<<1;g=((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1;k=e>>31|((e|0)<0?-1:0)<<1;j=((e|0)<0?-1:0)>>31|((e|0)<0?-1:0)<<1;a=PGa(h^a,g^b,h,g)|0;b=F;hHa(a,b,PGa(k^d,j^e,k,j)|0,F,f|0)|0;e=PGa(c[f>>2]^h,c[f+4>>2]^g,h,g)|0;d=F;i=f;return (F=d,e)|0}function eHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=bHa(a,c)|0;f=F;return (F=(ba(b,c)|0)+(ba(d,a)|0)+f|f&0,e|0|0)|0}function fHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=hHa(a,b,c,d,0)|0;return d|0}function gHa(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;i=i+8|0;hHa(a,b,d,e,f|0)|0;i=f;return (F=c[f+4>>2]|0,c[f>>2]|0)|0}function hHa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(!b)if(!e){if(f){c[f>>2]=(a>>>0)%(d>>>0);c[f+4>>2]=0}e=0;f=(a>>>0)/(d>>>0)>>>0;return (F=e,f)|0}else{if(!f){e=0;f=0;return (F=e,f)|0}c[f>>2]=a|0;c[f+4>>2]=b&0;e=0;f=0;return (F=e,f)|0}do if(d){if(e){h=(da(e|0)|0)-(da(b|0)|0)|0;if(h>>>0<=31){j=h+1|0;i=a>>>((h+1|0)>>>0)&h-31>>31|b<<31-h;m=b>>>((h+1|0)>>>0)&h-31>>31;g=0;h=a<<31-h;break}if(!f){e=0;f=0;return (F=e,f)|0}c[f>>2]=a|0;c[f+4>>2]=b|b&0;e=0;f=0;return (F=e,f)|0}if(d-1&d){h=(da(d|0)|0)+33-(da(b|0)|0)|0;j=h;i=32-h-1>>31&b>>>((h-32|0)>>>0)|(b<<32-h|a>>>(h>>>0))&h-32>>31;m=h-32>>31&b>>>(h>>>0);g=a<<64-h&32-h>>31;h=(b<<64-h|a>>>((h-32|0)>>>0))&32-h>>31|a<<32-h&h-33>>31;break}if(f){c[f>>2]=d-1&a;c[f+4>>2]=0}if((d|0)==1){e=b|b&0;f=a|0|0;return (F=e,f)|0}else{f=aHa(d|0)|0;e=b>>>(f>>>0)|0;f=b<<32-f|a>>>(f>>>0)|0;return (F=e,f)|0}}else{if(!e){if(f){c[f>>2]=(b>>>0)%(d>>>0);c[f+4>>2]=0}e=0;f=(b>>>0)/(d>>>0)>>>0;return (F=e,f)|0}if(!a){if(f){c[f>>2]=0;c[f+4>>2]=(b>>>0)%(e>>>0)}d=0;f=(b>>>0)/(e>>>0)>>>0;return (F=d,f)|0}if(!(e-1&e)){if(f){c[f>>2]=a|0;c[f+4>>2]=e-1&b|b&0}d=0;f=b>>>((aHa(e|0)|0)>>>0);return (F=d,f)|0}h=(da(e|0)|0)-(da(b|0)|0)|0;if(h>>>0<=30){j=h+1|0;i=b<<31-h|a>>>((h+1|0)>>>0);m=b>>>((h+1|0)>>>0);g=0;h=a<<31-h;break}if(!f){e=0;f=0;return (F=e,f)|0}c[f>>2]=a|0;c[f+4>>2]=b|b&0;e=0;f=0;return (F=e,f)|0}while(0);if(!j){j=h;b=m;h=0;a=0}else{k=QGa(d|0|0,e|e&0,-1,-1)|0;l=F;b=m;a=0;do{p=h;h=g>>>31|h<<1;g=a|g<<1;p=i<<1|p>>>31|0;o=i>>>31|b<<1|0;PGa(k,l,p,o)|0;m=F;n=m>>31|((m|0)<0?-1:0)<<1;a=n&1;i=PGa(p,o,n&(d|0),(((m|0)<0?-1:0)>>31|((m|0)<0?-1:0)<<1)&(e|e&0))|0;b=F;j=j-1|0}while((j|0)!=0);j=h;h=0}if(f){c[f>>2]=i;c[f+4>>2]=b}o=(g|0)>>>31|j<<1|(0<<1|g>>>31)&0|h;p=(g<<1|0>>>31)&-2|a;return (F=o,p)|0}function iHa(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;return Nc[a&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0)|0}function jHa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Oc[a&7](b|0,c|0,d|0,e|0,f|0)}function kHa(a,b,c){a=a|0;b=b|0;c=+c;Pc[a&0](b|0,+c)}function lHa(a,b){a=a|0;b=b|0;Qc[a&511](b|0)}function mHa(a,b,c){a=a|0;b=b|0;c=c|0;Rc[a&63](b|0,c|0)}function nHa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;return Sc[a&7](b|0,c|0,d|0,e|0,f|0,g|0)|0}function oHa(a,b){a=a|0;b=b|0;return Tc[a&127](b|0)|0}function pHa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return Uc[a&31](b|0,c|0,d|0,e|0,f|0)|0}function qHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Vc[a&63](b|0,c|0,d|0)|0}function rHa(a,b,c,d,e,f){a=a|0;b=b|0;c=+c;d=d|0;e=e|0;f=f|0;return Wc[a&1](b|0,+c,d|0,e|0,f|0)|0}function sHa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=+g;Xc[a&7](b|0,c|0,d|0,e|0,f|0,+g)}function tHa(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;Yc[a&7](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)}function uHa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;Zc[a&15](b|0,c|0,d|0,e|0,f|0,g|0)}function vHa(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;_c[a&63](b|0,c|0,d|0,e|0,f|0,g|0,h|0)}function wHa(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=+h;$c[a&3](b|0,c|0,d|0,e|0,f|0,g|0,+h)}function xHa(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;ad[a&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0)}function yHa(a,b,c){a=a|0;b=b|0;c=c|0;return bd[a&63](b|0,c|0)|0}function zHa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;return +cd[a&1](b|0,c|0,d|0,e|0,f|0,g|0)}function AHa(a,b,c,d,e,f,g,h,i,j,k,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;dd[a&1](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0,k|0,l|0,m|0)}function BHa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ed[a&15](b|0,c|0,d|0,e|0)|0}function CHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;fd[a&15](b|0,c|0,d|0)}function DHa(a){a=a|0;gd[a&3]()}function EHa(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;return hd[a&15](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)|0}function FHa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;id[a&15](b|0,c|0,d|0,e|0)}function GHa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;ea(0);return 0}function HHa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ea(1)}function IHa(a,b){a=a|0;b=+b;ea(2)}function JHa(a){a=a|0;ea(3)}function KHa(a,b){a=a|0;b=b|0;ea(4)}function LHa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;ea(5);return 0}function MHa(a){a=a|0;ea(6);return 0}function NHa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ea(7);return 0}function OHa(a,b,c){a=a|0;b=b|0;c=c|0;ea(8);return 0}function PHa(a,b,c,d,e){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;ea(9);return 0}function QHa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;ea(10)}function RHa(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;ea(11)}function SHa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;ea(12)}function THa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;ea(13)}function UHa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=+g;ea(14)}function VHa(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;ea(15)}function WHa(a,b){a=a|0;b=b|0;ea(16);return 0}function XHa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;ea(17);return 0.0}function YHa(a,b,c,d,e,f,g,h,i,j,k,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;ea(18)}function ZHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ea(19);return 0}function _Ha(a,b,c){a=a|0;b=b|0;c=c|0;ea(20)}function $Ha(){ea(21)}function aIa(){gc()}function bIa(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;ea(22);return 0}function cIa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ea(23)} - -// EMSCRIPTEN_END_FUNCS -var Nc=[GHa,BS,nD,GHa];var Oc=[HHa,Zla,joa,JFa,IFa,FFa,HHa,HHa];var Pc=[IHa];var Qc=[JHa,yi,Ai,Qk,Rk,Tk,IB,Vk,$H,dD,fD,Zy,_y,cz,dz,JB,YC,ZC,_C,mG,nG,pG,qG,sG,tG,vG,wG,pI,XI,YI,iJ,kJ,mK,nK,oK,xK,bL,cL,sO,tO,tP,uP,xP,$S,aT,oT,pT,vT,wT,jV,kV,pV,qV,DV,EV,HV,JV,NV,OV,NW,OW,GZ,HZ,n_,u_,X_,Z_,F$,G$,q2,r2,n3,o3,q3,r3,x3,y3,z4,A4,D5,U5,T8,_8,Oca,Pca,uea,vea,mfa,ofa,oha,pha,rha,sha,Pla,Qla,dma,ema,nma,oma,goa,hoa,Aoa,Boa,Gqa,Hqa,Qqa,Rqa,Tqa,Uqa,Ksa,Lsa,Nsa,Osa,Qsa,Rsa,Tsa,Usa,$ta,xua,zva,CDa,HDa,jva,MDa,RDa,kva,lva,Ava,Bva,Pva,Rva,Qva,Sva,Tva,Vva,Uva,Wva,Xva,Zva,Yva,_va,$va,bwa,awa,cwa,fva,dwa,fwa,gwa,rAa,kwa,lwa,pwa,qwa,Ewa,Fwa,Ywa,Zwa,lxa,mxa,yxa,zxa,Xxa,Yxa,uya,vya,yya,zya,Cya,Dya,Nya,Oya,Yya,Zya,hza,iza,sza,tza,Bza,Cza,Hza,Iza,Nza,Oza,Tza,Uza,Yza,Zza,fAa,gAa,JAa,KAa,bCa,aBa,ABa,BBa,CBa,DBa,ewa,qAa,tAa,TAa,iBa,qBa,yBa,zBa,$Ea,aFa,fFa,gFa,iFa,jFa,lFa,mFa,oFa,pFa,rFa,uFa,sFa,tFa,vFa,wFa,rfa,Pfa,_ka,Cfa,Hfa,ula,Eha,mia,Qca,Rfa,c7,Baa,zaa,oia,BK,nS,WX,daa,I$,l2,Z1,E4,U6,Aaa,fea,Qfa,Hoa,Toa,hea,_qa,Foa,eta,vza,sAa,VFa,TFa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa,JHa];var Rc=[KHa,Ij,$y,wea,Sqa,DDa,IDa,NDa,SDa,nva,Dva,Gya,Hya,Iya,Jya,Lya,Mya,Rya,Sya,Tya,Uya,Wya,Xya,aza,bza,cza,dza,fza,gza,lza,mza,nza,oza,qza,rza,Xza,aAa,IBa,KBa,MBa,JBa,LBa,NBa,Uy,Wy,Xy,KHa,KHa,KHa,KHa,KHa,KHa,KHa,KHa,KHa,KHa,KHa,KHa,KHa,KHa,KHa,KHa,KHa,KHa];var Sc=[LHa,tua,Tta,wua,lD,LHa,LHa,LHa];var Tc=[MHa,Sk,Uk,wK,yK,vP,pfa,pma,uua,vua,EDa,Iva,Kva,Lva,Hva,JDa,KDa,ODa,sva,uva,vva,rva,TDa,UDa,Axa,PBa,RBa,TBa,ZBa,$Ba,VBa,XBa,Zxa,QBa,SBa,UBa,_Ba,aCa,WBa,YBa,Eya,Fya,Kya,Pya,Qya,Vya,_ya,$ya,eza,jza,kza,pza,eBa,fBa,hBa,EBa,GBa,FBa,HBa,XAa,YAa,_Aa,mBa,nBa,pBa,uBa,vBa,xBa,bFa,hFa,kFa,qFa,kma,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa,MHa];var Uc=[NHa,Rla,cma,ioa,noa,Uta,hwa,mwa,SAa,dBa,gBa,IAa,WAa,ZAa,lBa,oBa,tBa,wBa,NHa,NHa,NHa,NHa,NHa,NHa,NHa,NHa,NHa,NHa,NHa,NHa,NHa,NHa];var Vc=[OHa,dI,mz,iD,oG,rG,uG,xG,ZI,uO,wP,yP,bT,p3,s3,qfa,qha,tha,_la,$la,ama,koa,loa,moa,Vqa,Msa,Psa,Eva,Jva,FDa,Nva,ova,tva,PDa,xva,jwa,owa,Vza,_za,MAa,OAa,RAa,uAa,BAa,EAa,HAa,xFa,NGa,rO,Z2,_2,Iga,Kga,Lga,Nga,cea,dea,iea,SEa,OHa,OHa,OHa,OHa,OHa];var Wc=[PHa,_S];var Xc=[QHa,gxa,jxa,txa,vxa,QHa,QHa,QHa];var Yc=[RHa,wya,Aya,uza,yza,Dza,Fza,RHa];var Zc=[SHa,Fva,pva,_wa,$wa,exa,kxa,nxa,oxa,rxa,wxa,Wza,$za,MFa,LFa,KFa];var _c=[THa,sK,rwa,swa,twa,uwa,vwa,wwa,xwa,ywa,zwa,Awa,Bwa,Gwa,Hwa,Iwa,Jwa,Kwa,Lwa,Mwa,Nwa,Owa,Pwa,Qwa,dxa,fxa,qxa,sxa,Bxa,Cxa,Dxa,Fxa,Hxa,_xa,$xa,aya,cya,eya,Mza,Sza,THa,THa,THa,THa,THa,THa,THa,THa,THa,THa,THa,THa,THa,THa,THa,THa,THa,THa,THa,THa,THa,THa,THa,THa];var $c=[UHa,Jza,Pza,UHa];var ad=[VHa,Jxa,gya,VHa];var bd=[WHa,aI,cI,eI,fz,gD,hD,B4,Mva,GDa,LDa,Ova,wva,QDa,VDa,yva,LAa,NAa,PAa,zAa,CAa,FAa,Mw,tA,xA,LA,MA,_z,dB,Dea,BG,HG,UG,YG,eea,OK,qR,m1,LV,yW,HW,oZ,$da,h1,w3,r4,v4,W5,u8,h9,Gla,Xha,boa,_pa,gea,aea,bea,jea,WHa,WHa,WHa,WHa,WHa,WHa];var cd=[XHa,Ima];var dd=[YHa,jna];var ed=[ZHa,Ssa,Vsa,QAa,wAa,xAa,yAa,GAa,vma,ZHa,ZHa,ZHa,ZHa,ZHa,ZHa,ZHa];var fd=[_Ha,tK,HT,IZ,v_,G2,V5,$8,Wta,Xta,_Ha,_Ha,_Ha,_Ha,_Ha,_Ha];var gd=[$Ha,aIa,QFa,RFa];var hd=[bIa,bBa,cBa,UAa,VAa,jBa,kBa,rBa,sBa,bIa,bIa,bIa,bIa,bIa,bIa,bIa];var id=[cIa,Tla,bma,Qna,Mna,Vta,Gva,qva,iwa,nwa,zFa,AFa,CFa,rw,sw,cIa];return{_emscripten_bind_ResultIterator_BoundingBoxInternal_5:Id,_emscripten_bind_OSResults_print_scores_0:ih,_emscripten_bind_TessBaseAPI_oem_0:fh,_emscripten_bind_TessBaseAPI_Init_3:kg,_emscripten_bind_TessBaseAPI_Init_2:ig,_emscripten_enum_PageIteratorLevel_RIL_PARA:th,_emscripten_enum_TextlineOrder__TEXTLINE_ORDER_LEFT_TO_RIGHT:ai,_emscripten_bind_TessBaseAPI_InitLangMod_2:ng,_emscripten_bind_Pix___destroy___0:Pf,_emscripten_bind_TessBaseAPI_GetComponentImages_4:Hg,_strlen:SGa,_emscripten_bind_TessBaseAPI_SetDebugVariable_2:bg,_emscripten_bind_TessBaseAPI_GetComponentImages_7:Jg,_emscripten_bind_PixColormap_get_n_0:uf,_emscripten_bind_TessBaseAPI_SetImage_1:vg,_emscripten_bind_TessBaseAPI_SetImage_5:wg,_bitshift64Lshr:UGa,_emscripten_bind_TessBaseAPI_GetUnichar_1:ch,_emscripten_bind_ResultIterator_SetBoundingBoxComponents_2:Fd,_emscripten_enum_PolyBlockType_PT_COUNT:Th,_emscripten_bind_Pix_get_special_0:Lf,_emscripten_bind_ResultIterator_IsAtBeginningOf_1:Cd,_emscripten_bind_Box_get_y_0:Je,_emscripten_enum_ParagraphJustification__JUSTIFICATION_RIGHT:$h,_strncpy:RGa,_emscripten_bind_DoublePtr___destroy___0:Qf,_emscripten_bind_OSResults___destroy___0:lh,_emscripten_bind_TessBaseAPI_AllWordConfidences_0:Wg,_emscripten_bind_ResultIterator_GetUTF8Text_1:Sd,_emscripten_bind_Pix_get_yres_0:Jf,_memcpy:VGa,_emscripten_bind_BoolPtr___destroy___0:sd,_emscripten_bind_Pixa_get_pix_0:ph,_emscripten_enum_PageSegMode_PSM_OSD_ONLY:hi,_emscripten_bind_TessBaseAPI_GetUNLVText_0:Ug,_emscripten_enum_TextlineOrder__TEXTLINE_ORDER_TOP_TO_BOTTOM:ci,_emscripten_bind_OSResults_get_unicharset_0:kh,_emscripten_bind_WordChoiceIterator_GetUTF8Text_0:Re,_emscripten_bind_TessBaseAPI_GetStrips_2:Eg,_emscripten_bind_Pixa_get_n_0:mh,_emscripten_enum_PolyBlockType_PT_TABLE:Kh,_emscripten_bind_Pix_get_informat_0:Kf,_emscripten_bind_LongStarPtr___destroy___0:td,_emscripten_bind_TessBaseAPI_ReadDebugConfigFile_1:qg,_emscripten_enum_PageIteratorLevel_RIL_BLOCK:sh,_emscripten_bind_ChoiceIterator_Next_0:We,_emscripten_bind_UNICHARSET_get_script_from_script_id_1:$e,_emscripten_enum_PolyBlockType_PT_HORZ_LINE:Qh,_emscripten_bind_ResultIterator_RestartRow_0:Ad,_emscripten_bind_UNICHARSET___destroy___0:df,_emscripten_bind_TessBaseAPI_Version_0:Tf,_emscripten_bind_PixColormap_get_nalloc_0:tf,_memset:YGa,___cxa_can_catch:NFa,_free:VFa,_emscripten_bind_ResultIterator_Next_1:Bd,_emscripten_enum_OcrEngineMode_OEM_TESSERACT_CUBE_COMBINED:zh,_emscripten_bind_TessBaseAPI_GetDoubleVariable_2:eg,_emscripten_bind_BoxPtr___destroy___0:He,_emscripten_bind_TessBaseAPI_GetBoolVariable_2:dg,_emscripten_bind_TessBaseAPI_GetThresholdedImageScaleFactor_0:Kg,_emscripten_bind_TessBaseAPI_ReadConfigFile_1:pg,_emscripten_bind_Pixa___destroy___0:rh,_emscripten_bind_ResultIterator_Begin_0:xd,_emscripten_bind_PageIterator_SetBoundingBoxComponents_2:te,_emscripten_bind_ETEXT_DESC___destroy___0:ke,_emscripten_bind_Box_get_h_0:Le,_emscripten_bind_TessBaseAPI_SetOutputName_1:$f,___cxa_is_pointer_type:OFa,_emscripten_bind_TessBaseAPI_DetectOS_1:bh,_emscripten_bind_TessBaseAPI_IsValidWord_1:$g,_emscripten_enum_PageSegMode_PSM_AUTO_OSD:ii,_emscripten_bind_TessBaseAPI_Clear_0:Yg,_emscripten_bind_UNICHARSET_get_script_id_from_name_1:bf,_emscripten_bind_PageIterator_BoundingBox_6:ve,_emscripten_bind_PageIterator_BoundingBox_5:ue,_emscripten_bind_ResultIterator_WordIsFromDictionary_0:Zd,_emscripten_bind_Pix_get_xres_0:If,_emscripten_enum_PolyBlockType_PT_EQUATION:Ih,_emscripten_bind_ResultIterator_Cmp_1:Ed,_emscripten_bind_TessBaseAPI_GetInputName_0:Wf,_emscripten_bind_PageIterator_Begin_0:le,_emscripten_enum_OcrEngineMode_OEM_TESSERACT_ONLY:xh,_emscripten_bind_ResultIterator_GetImage_5:Nd,_emscripten_enum_PolyBlockType_PT_FLOWING_IMAGE:Nh,_emscripten_bind_TessBaseAPI_GetSourceYResolution_0:Zf,_emscripten_bind_TessBaseAPI_GetBoxText_1:Tg,_emscripten_bind_TessBaseAPI_GetUTF8Text_0:Rg,_emscripten_bind_Pta___destroy___0:Bf,_emscripten_bind_PageIterator_BlockPolygon_0:ze,_emscripten_bind_Pta_get_nalloc_0:xf,_emscripten_bind_TessBaseAPI_ClearAdaptiveClassifier_0:ug,_emscripten_enum_PageSegMode_PSM_AUTO:ki,_emscripten_bind_TessBaseAPI_GetThresholdedImage_0:zg,_emscripten_enum_PolyBlockType_PT_PULLOUT_IMAGE:Ph,_emscripten_bind_Box_get_refcount_0:Me,_emscripten_bind_TessBaseAPI_GetIterator_0:Qg,_emscripten_bind_ResultIterator_RestartParagraph_0:yd,_emscripten_bind_TessBaseAPI_End_0:Zg,_i64Add:QGa,_emscripten_bind_OSBestResult_get_oconfidence_0:kf,_emscripten_enum_ParagraphJustification__JUSTIFICATION_UNKNOWN:Yh,_emscripten_enum_PolyBlockType_PT_VERTICAL_TEXT:Lh,_emscripten_bind_ChoiceIterator_GetUTF8Text_0:Xe,_emscripten_bind_OSBestResult___destroy___0:lf,_emscripten_bind_Boxa_get_refcount_0:of,_emscripten_enum_PolyBlockType_PT_NOISE:Sh,_emscripten_bind_PageIterator_BoundingBoxInternal_5:we,_emscripten_bind_Pix_get_data_0:Of,_emscripten_bind_TessBaseAPI_AnalyseLayout_1:Ng,_emscripten_bind_TessBaseAPI_AnalyseLayout_0:Mg,_emscripten_bind_TessBaseAPI_PrintVariables_0:gg,_pixDestroy:cp,_emscripten_bind_ResultIterator_IsAtFinalElement_2:Dd,_emscripten_bind_FloatPtr___destroy___0:Ue,_emscripten_bind_PageIterator_Next_1:pe,_emscripten_bind_PageIterator___destroy___0:Fe,_emscripten_bind_TessBaseAPI___destroy___0:gh,_emscripten_bind_TessBaseAPI_IsValidCharacter_1:ah,_llvm_bswap_i32:XGa,_emscripten_bind_Pix_get_spp_0:Ff,_emscripten_bind_Pix_get_text_0:Mf,_emscripten_bind_ResultIterator_BlockType_0:Kd,_strcpy:$Ga,_emscripten_bind_TessBaseAPI_GetTextlines_2:Bg,_emscripten_bind_WritingDirection___destroy___0:Ge,_emscripten_bind_PageIterator_IsAtBeginningOf_1:qe,_emscripten_bind_Pixa_get_refcount_0:oh,_emscripten_bind_PixPtr___destroy___0:_e,_emscripten_bind_Orientation___destroy___0:ff,_emscripten_enum_PolyBlockType_PT_CAPTION_TEXT:Mh,_emscripten_bind_PixColormap_get_array_0:rf,_emscripten_enum_PageSegMode_PSM_SINGLE_BLOCK_VERT_TEXT:mi,_emscripten_bind_ResultIterator_WordRecognitionLanguage_0:Xd,_emscripten_enum_PageSegMode_PSM_SINGLE_CHAR:ri,_emscripten_bind_TessBaseAPI_GetIntVariable_2:cg,_emscripten_bind_ResultIterator_WordDirection_0:Yd,_emscripten_bind_TessBaseAPI_AdaptToWordStr_2:Xg,_emscripten_bind_PageIterator_IsAtFinalElement_2:re,_bitshift64Ashr:TGa,_bitshift64Shl:_Ga,_emscripten_bind_TessBaseAPI_RecognizeForChopTest_1:Pg,_emscripten_bind_OSBestResult_get_orientation_id_0:gf,_emscripten_bind_TessBaseAPI_GetRegions_1:Ag,_emscripten_bind_ResultIterator_ParagraphIsLtr_0:Rd,_emscripten_bind_ResultIterator_ParagraphInfo_4:Qd,_emscripten_enum_PageSegMode_PSM_SINGLE_BLOCK:ni,_emscripten_enum_PageIteratorLevel_RIL_WORD:vh,_emscripten_bind_TessBaseAPI_GetDawg_1:dh,_emscripten_bind_ResultIterator_WordLattice_1:ee,_realloc:XFa,_emscripten_enum_PageIteratorLevel_RIL_SYMBOL:wh,_emscripten_bind_ResultIterator_HasBlamerInfo_0:$d,_emscripten_bind_TessBaseAPI_MeanTextConf_0:Vg,_emscripten_bind_ResultIterator_BoundingBox_6:Hd,_emscripten_bind_TessBaseAPI_GetTextlines_5:Dg,_emscripten_bind_Pix_get_refcount_0:Hf,_emscripten_bind_ResultIterator_SetParagraphSeparator_1:Ud,_emscripten_bind_WordChoiceIterator_WordChoiceIterator_1:Pe,_emscripten_bind_TessBaseAPI_GetHOCRText_1:Sg,_emscripten_bind_TextlineOrder___destroy___0:je,_emscripten_bind_ResultIterator_SymbolIsSuperscript_0:fe,_emscripten_bind_Box_get_x_0:Ie,_emscripten_enum_ParagraphJustification__JUSTIFICATION_LEFT:Zh,_emscripten_bind_VoidPtr___destroy___0:ud,_emscripten_bind_PageIterator_BlockType_0:ye,_emscripten_bind_PageIterator_RestartParagraph_0:me,_emscripten_bind_ResultIterator_SymbolIsSubscript_0:ge,_ptaDestroy:Lr,_emscripten_bind_TessBaseAPI_GetInitLanguagesAsString_0:mg,_emscripten_bind_Box___destroy___0:Ne,_emscripten_enum_PolyBlockType_PT_UNKNOWN:Eh,_emscripten_enum_PageSegMode_PSM_SINGLE_LINE:oi,_emscripten_bind_TessBaseAPI_SetInputImage_1:Xf,_emscripten_bind_TessBaseAPI_SetRectangle_4:yg,_emscripten_bind_TessBaseAPI_TessBaseAPI_0:Sf,_emscripten_bind_ChoiceIterator_Confidence_0:Ye,_emscripten_bind_PageIterator_Baseline_5:Ce,_emscripten_enum_OcrEngineMode_OEM_CUBE_ONLY:yh,_emscripten_bind_ResultIterator_SymbolIsDropcap_0:he,_emscripten_bind_PageIterator_Orientation_4:De,_emscripten_bind_IntPtr___destroy___0:ef,_emscripten_bind_OSBestResult_get_sconfidence_0:jf,_emscripten_enum_WritingDirection__WRITING_DIRECTION_LEFT_TO_RIGHT:Bh,_emscripten_bind_Box_get_w_0:Ke,_emscripten_bind_OSResults_OSResults_0:hh,_emscripten_bind_ResultIterator_GetBinaryImage_1:Md,_emscripten_bind_Pix_get_h_0:Df,_emscripten_bind_TessBaseAPI_GetDatapath_0:_f,_emscripten_bind_PageIterator_ParagraphInfo_4:Ee,_emscripten_enum_PageSegMode_PSM_COUNT:vi,_emscripten_enum_PageSegMode_PSM_SPARSE_TEXT:si,_emscripten_bind_Pixa_get_nalloc_0:nh,_emscripten_bind_OSResults_get_best_result_0:jh,_emscripten_enum_TextlineOrder__TEXTLINE_ORDER_RIGHT_TO_LEFT:bi,_emscripten_bind_ResultIterator_HasTruthString_0:ae,_emscripten_bind_PageIterator_IsWithinFirstTextlineOfParagraph_0:ne,_emscripten_bind_TessBaseAPI_NumDawgs_0:eh,_emscripten_bind_ResultIterator_WordNormedUTF8Text_0:de,_emscripten_bind_Pix_get_colormap_0:Nf,_emscripten_bind_TessBaseAPI_SetVariable_2:ag,_emscripten_enum_PageSegMode_PSM_SINGLE_COLUMN:li,_emscripten_enum_StrongScriptDirection_DIR_RIGHT_TO_LEFT:Wh,_pixaDestroy:Kq,_emscripten_enum_Orientation__ORIENTATION_PAGE_RIGHT:ei,_emscripten_bind_Dawg___destroy___0:Rf,_malloc:UFa,_emscripten_enum_WritingDirection__WRITING_DIRECTION_RIGHT_TO_LEFT:Ch,_memmove:WGa,_emscripten_bind_WordChoiceIterator___destroy___0:Te,_emscripten_bind_TessBaseAPI_DumpPGM_1:Lg,_emscripten_bind_WordChoiceIterator_Next_0:Qe,_emscripten_enum_PolyBlockType_PT_HEADING_TEXT:Gh,_emscripten_bind_UNICHARSET_get_script_table_size_0:cf,_emscripten_bind_PageIterator_Cmp_1:se,_boxaDestroy:Rl,_emscripten_enum_PageIteratorLevel_RIL_TEXTLINE:uh,_emscripten_bind_ResultIterator___destroy___0:ie,_emscripten_bind_ResultIterator_Empty_1:Jd,_emscripten_bind_Pix_get_d_0:Ef,_emscripten_bind_TessBaseAPI_GetConnectedComponents_1:Gg,_emscripten_bind_PixColormap_get_depth_0:sf,_emscripten_enum_PolyBlockType_PT_FLOWING_TEXT:Fh,_emscripten_enum_PolyBlockType_PT_HEADING_IMAGE:Oh,_i64Subtract:PGa,_emscripten_bind_Boxa_get_n_0:mf,_emscripten_bind_ResultIterator_Baseline_5:Od,_emscripten_bind_OSBestResult_get_script_id_0:hf,_emscripten_bind_PageIterator_RestartRow_0:oe,_emscripten_bind_PageIterator_GetImage_5:Be,_calloc:WFa,_emscripten_enum_PageSegMode_PSM_AUTO_ONLY:ji,_emscripten_enum_StrongScriptDirection_DIR_MIX:Xh,_emscripten_bind_TessBaseAPI_GetPageSegMode_0:sg,_emscripten_bind_ResultIterator_WordIsNumeric_0:_d,_emscripten_bind_ResultIterator_IsWithinFirstTextlineOfParagraph_0:zd,_emscripten_enum_StrongScriptDirection_DIR_LEFT_TO_RIGHT:Vh,_emscripten_enum_StrongScriptDirection_DIR_NEUTRAL:Uh,_emscripten_bind_TessBaseAPI_SetSourceResolution_1:xg,_emscripten_bind_TessBaseAPI_InitForAnalysePage_0:og,_emscripten_bind_Boxa_get_nalloc_0:nf,_emscripten_bind_TessBaseAPI_ClearPersistentCache_0:_g,_emscripten_bind_PageIterator_Empty_1:xe,_emscripten_enum_Orientation__ORIENTATION_PAGE_LEFT:gi,_emscripten_bind_TessBaseAPI_TesseractRect_7:tg,_emscripten_enum_PageSegMode_PSM_SINGLE_WORD:pi,_emscripten_enum_OcrEngineMode_OEM_DEFAULT:Ah,_emscripten_bind_ResultIterator_BoundingBox_5:Gd,_emscripten_bind_ResultIterator_WordFontAttributes_8:Wd,_strcat:ZGa,_emscripten_bind_TessBaseAPI_CatchSignals_0:Uf,_emscripten_enum_PolyBlockType_PT_VERT_LINE:Rh,_emscripten_bind_TessBaseAPI_GetWords_1:Fg,_emscripten_bind_TessBaseAPI_SetInputName_1:Vf,_emscripten_bind_Pix_get_wpl_0:Gf,_emscripten_bind_ResultIterator_BlockPolygon_0:Ld,_emscripten_bind_WordChoiceIterator_Confidence_0:Se,_emscripten_bind_ResultIterator_ResultIterator_1:vd,_emscripten_enum_PageSegMode_PSM_SPARSE_TEXT_OSD:ti,_emscripten_bind_ResultIterator_EquivalentToTruth_1:be,_emscripten_bind_ResultIterator_Confidence_1:Vd,_emscripten_bind_PixColormap___destroy___0:vf,_emscripten_bind_TessBaseAPI_GetInputImage_0:Yf,_emscripten_bind_Pta_get_x_0:zf,_emscripten_bind_Pix_get_w_0:Cf,_emscripten_bind_Boxa_get_box_0:pf,_emscripten_enum_Orientation__ORIENTATION_PAGE_DOWN:fi,_emscripten_bind_ResultIterator_WordTruthUTF8Text_0:ce,_emscripten_bind_ResultIterator_Orientation_4:Pd,_emscripten_bind_Boxa___destroy___0:qf,_emscripten_bind_Pta_get_refcount_0:yf,_emscripten_enum_PolyBlockType_PT_INLINE_EQUATION:Jh,_emscripten_enum_PageSegMode_PSM_RAW_LINE:ui,_emscripten_bind_ChoiceIterator___destroy___0:Ze,_emscripten_bind_PixaPtr___destroy___0:Oe,_emscripten_bind_ParagraphJustification___destroy___0:rd,_emscripten_enum_PolyBlockType_PT_PULLOUT_TEXT:Hh,_emscripten_bind_Pixa_get_boxa_0:qh,_emscripten_enum_ParagraphJustification__JUSTIFICATION_CENTER:_h,_emscripten_bind_ResultIterator_SetLineSeparator_1:Td,_emscripten_bind_TessBaseAPI_SetPageSegMode_1:rg,_emscripten_bind_PageIterator_GetBinaryImage_1:Ae,_emscripten_enum_WritingDirection__WRITING_DIRECTION_TOP_TO_BOTTOM:Dh,_emscripten_bind_TessBaseAPI_Recognize_1:Og,_emscripten_bind_Pta_get_n_0:wf,_emscripten_enum_PageSegMode_PSM_CIRCLE_WORD:qi,_emscripten_bind_Pta_get_y_0:Af,_emscripten_bind_ChoiceIterator_ChoiceIterator_1:Ve,_emscripten_bind_TessBaseAPI_GetStringVariable_1:fg,_emscripten_enum_Orientation__ORIENTATION_PAGE_UP:di,__GLOBAL__sub_I_baseapi_cpp:Nj,__GLOBAL__sub_I_equationdetect_cpp:Pz,__GLOBAL__sub_I_tessvars_cpp:PJ,__GLOBAL__sub_I_ccutil_cpp:gL,__GLOBAL__sub_I_tprintf_cpp:kN,__GLOBAL__sub_I_render_cpp:KS,__GLOBAL__sub_I_alignedblob_cpp:BT,__GLOBAL__sub_I_blkocc_cpp:AV,__GLOBAL__sub_I_cjkpitch_cpp:_V,__GLOBAL__sub_I_colfind_cpp:sX,__GLOBAL__sub_I_colpartitiongrid_cpp:k_,__GLOBAL__sub_I_devanagari_processing_cpp:k$,__GLOBAL__sub_I_drawtord_cpp:m$,__GLOBAL__sub_I_edgblob_cpp:x$,__GLOBAL__sub_I_fpchop_cpp:W$,__GLOBAL__sub_I_gap_map_cpp:b0,__GLOBAL__sub_I_imagefind_cpp:k0,__GLOBAL__sub_I_makerow_cpp:o1,__GLOBAL__sub_I_oldbasel_cpp:T1,__GLOBAL__sub_I_pitsync1_cpp:d2,__GLOBAL__sub_I_strokewidth_cpp:$2,__GLOBAL__sub_I_tabfind_cpp:n4,__GLOBAL__sub_I_tablefind_cpp:B5,__GLOBAL__sub_I_tabvector_cpp:w7,__GLOBAL__sub_I_topitch_cpp:t8,__GLOBAL__sub_I_tovars_cpp:T9,__GLOBAL__sub_I_underlin_cpp:Y9,__GLOBAL__sub_I_wordseg_cpp:caa,__GLOBAL__sub_I_polyaprx_cpp:Qha,__GLOBAL__sub_I_split_cpp:ska,__GLOBAL__sub_I_blobclass_cpp:Eqa,__GLOBAL__sub_I_intfx_cpp:wra,__GLOBAL__sub_I_intproto_cpp:Bsa,__GLOBAL__sub_I_mfx_cpp:pta,__GLOBAL__sub_I_normmatch_cpp:wta,__GLOBAL__sub_I_picofeat_cpp:Ota,__GLOBAL__sub_I_protos_cpp:Qta,__GLOBAL__sub_I_iostream_cpp:cCa,runPostSets:OGa,stackAlloc:jd,stackSave:kd,stackRestore:ld,setThrew:md,setTempRet0:pd,getTempRet0:qd,dynCall_iiiiiiii:iHa,dynCall_viiiii:jHa,dynCall_vid:kHa,dynCall_vi:lHa,dynCall_vii:mHa,dynCall_iiiiiii:nHa,dynCall_ii:oHa,dynCall_iiiiii:pHa,dynCall_iiii:qHa,dynCall_iidiii:rHa,dynCall_viiiiid:sHa,dynCall_viiiiiiii:tHa,dynCall_viiiiii:uHa,dynCall_viiiiiii:vHa,dynCall_viiiiiid:wHa,dynCall_viiiiiiiii:xHa,dynCall_iii:yHa,dynCall_diiiiii:zHa,dynCall_viiiiiiiiiiii:AHa,dynCall_iiiii:BHa,dynCall_viii:CHa,dynCall_v:DHa,dynCall_iiiiiiiii:EHa,dynCall_viiii:FHa}}) - - -// EMSCRIPTEN_END_ASM -(Module.ce,Module.de,Wa),de=Module._emscripten_bind_ResultIterator_BoundingBoxInternal_5=N._emscripten_bind_ResultIterator_BoundingBoxInternal_5,ee=Module._emscripten_bind_OSResults_print_scores_0=N._emscripten_bind_OSResults_print_scores_0,fe=Module._emscripten_bind_TessBaseAPI_oem_0=N._emscripten_bind_TessBaseAPI_oem_0,ge=Module._emscripten_bind_TessBaseAPI_Init_3=N._emscripten_bind_TessBaseAPI_Init_3,he=Module._emscripten_bind_TessBaseAPI_Init_2=N._emscripten_bind_TessBaseAPI_Init_2, -ie=Module._emscripten_enum_PageIteratorLevel_RIL_PARA=N._emscripten_enum_PageIteratorLevel_RIL_PARA,je=Module._emscripten_enum_TextlineOrder__TEXTLINE_ORDER_LEFT_TO_RIGHT=N._emscripten_enum_TextlineOrder__TEXTLINE_ORDER_LEFT_TO_RIGHT,ke=Module._emscripten_bind_TessBaseAPI_InitLangMod_2=N._emscripten_bind_TessBaseAPI_InitLangMod_2,le=Module._emscripten_bind_Pix___destroy___0=N._emscripten_bind_Pix___destroy___0,me=Module._emscripten_bind_TessBaseAPI_GetComponentImages_4=N._emscripten_bind_TessBaseAPI_GetComponentImages_4, -$c=Module._strlen=N._strlen,ne=Module._emscripten_bind_TessBaseAPI_SetDebugVariable_2=N._emscripten_bind_TessBaseAPI_SetDebugVariable_2,oe=Module._emscripten_bind_TessBaseAPI_GetComponentImages_7=N._emscripten_bind_TessBaseAPI_GetComponentImages_7,pe=Module._emscripten_bind_PixColormap_get_n_0=N._emscripten_bind_PixColormap_get_n_0,qe=Module._emscripten_bind_TessBaseAPI_SetImage_1=N._emscripten_bind_TessBaseAPI_SetImage_1,re=Module._emscripten_bind_TessBaseAPI_SetImage_5=N._emscripten_bind_TessBaseAPI_SetImage_5, -id=Module._bitshift64Lshr=N._bitshift64Lshr,se=Module._emscripten_bind_TessBaseAPI_GetUnichar_1=N._emscripten_bind_TessBaseAPI_GetUnichar_1,te=Module._emscripten_bind_ResultIterator_SetBoundingBoxComponents_2=N._emscripten_bind_ResultIterator_SetBoundingBoxComponents_2,ue=Module._emscripten_enum_PolyBlockType_PT_COUNT=N._emscripten_enum_PolyBlockType_PT_COUNT,ve=Module._emscripten_bind_Pix_get_special_0=N._emscripten_bind_Pix_get_special_0,we=Module._emscripten_bind_ResultIterator_IsAtBeginningOf_1= -N._emscripten_bind_ResultIterator_IsAtBeginningOf_1,xe=Module._emscripten_bind_Box_get_y_0=N._emscripten_bind_Box_get_y_0,ye=Module._emscripten_enum_ParagraphJustification__JUSTIFICATION_RIGHT=N._emscripten_enum_ParagraphJustification__JUSTIFICATION_RIGHT,Uc=Module._strncpy=N._strncpy,ze=Module._emscripten_bind_DoublePtr___destroy___0=N._emscripten_bind_DoublePtr___destroy___0,Ae=Module._emscripten_bind_OSResults___destroy___0=N._emscripten_bind_OSResults___destroy___0,Be=Module._emscripten_bind_TessBaseAPI_AllWordConfidences_0= -N._emscripten_bind_TessBaseAPI_AllWordConfidences_0,Ce=Module._emscripten_bind_ResultIterator_GetUTF8Text_1=N._emscripten_bind_ResultIterator_GetUTF8Text_1,De=Module._emscripten_bind_Pix_get_yres_0=N._emscripten_bind_Pix_get_yres_0,ud=Module._memcpy=N._memcpy,Ee=Module._emscripten_bind_BoolPtr___destroy___0=N._emscripten_bind_BoolPtr___destroy___0,Fe=Module._emscripten_bind_Pixa_get_pix_0=N._emscripten_bind_Pixa_get_pix_0,Ge=Module._emscripten_enum_PageSegMode_PSM_OSD_ONLY=N._emscripten_enum_PageSegMode_PSM_OSD_ONLY, -He=Module._emscripten_bind_TessBaseAPI_GetUNLVText_0=N._emscripten_bind_TessBaseAPI_GetUNLVText_0,Ie=Module._emscripten_enum_TextlineOrder__TEXTLINE_ORDER_TOP_TO_BOTTOM=N._emscripten_enum_TextlineOrder__TEXTLINE_ORDER_TOP_TO_BOTTOM,Je=Module._emscripten_bind_OSResults_get_unicharset_0=N._emscripten_bind_OSResults_get_unicharset_0,Ke=Module._emscripten_bind_WordChoiceIterator_GetUTF8Text_0=N._emscripten_bind_WordChoiceIterator_GetUTF8Text_0,Le=Module._emscripten_bind_TessBaseAPI_GetStrips_2=N._emscripten_bind_TessBaseAPI_GetStrips_2, -Me=Module._emscripten_bind_Pixa_get_n_0=N._emscripten_bind_Pixa_get_n_0,Ne=Module._emscripten_enum_PolyBlockType_PT_TABLE=N._emscripten_enum_PolyBlockType_PT_TABLE,Oe=Module._emscripten_bind_Pix_get_informat_0=N._emscripten_bind_Pix_get_informat_0,Pe=Module._emscripten_bind_LongStarPtr___destroy___0=N._emscripten_bind_LongStarPtr___destroy___0,Qe=Module._emscripten_bind_TessBaseAPI_ReadDebugConfigFile_1=N._emscripten_bind_TessBaseAPI_ReadDebugConfigFile_1,Re=Module._emscripten_enum_PageIteratorLevel_RIL_BLOCK= -N._emscripten_enum_PageIteratorLevel_RIL_BLOCK,Se=Module._emscripten_bind_ChoiceIterator_Next_0=N._emscripten_bind_ChoiceIterator_Next_0,Te=Module._emscripten_bind_UNICHARSET_get_script_from_script_id_1=N._emscripten_bind_UNICHARSET_get_script_from_script_id_1,Ue=Module._emscripten_enum_PolyBlockType_PT_HORZ_LINE=N._emscripten_enum_PolyBlockType_PT_HORZ_LINE,Ve=Module._emscripten_bind_ResultIterator_RestartRow_0=N._emscripten_bind_ResultIterator_RestartRow_0,We=Module._emscripten_bind_UNICHARSET___destroy___0= -N._emscripten_bind_UNICHARSET___destroy___0,Xe=Module._emscripten_bind_TessBaseAPI_Version_0=N._emscripten_bind_TessBaseAPI_Version_0,Ye=Module._emscripten_bind_PixColormap_get_nalloc_0=N._emscripten_bind_PixColormap_get_nalloc_0,zd=Module._memset=N._memset;Module.___cxa_can_catch=N.___cxa_can_catch; -var Ma=Module._free=N._free,Ze=Module._emscripten_bind_ResultIterator_Next_1=N._emscripten_bind_ResultIterator_Next_1,$e=Module._emscripten_enum_OcrEngineMode_OEM_TESSERACT_CUBE_COMBINED=N._emscripten_enum_OcrEngineMode_OEM_TESSERACT_CUBE_COMBINED,af=Module._emscripten_bind_TessBaseAPI_GetDoubleVariable_2=N._emscripten_bind_TessBaseAPI_GetDoubleVariable_2,bf=Module._emscripten_bind_BoxPtr___destroy___0=N._emscripten_bind_BoxPtr___destroy___0,cf=Module._emscripten_bind_TessBaseAPI_GetBoolVariable_2= -N._emscripten_bind_TessBaseAPI_GetBoolVariable_2,df=Module._emscripten_bind_TessBaseAPI_GetThresholdedImageScaleFactor_0=N._emscripten_bind_TessBaseAPI_GetThresholdedImageScaleFactor_0,ef=Module._emscripten_bind_TessBaseAPI_ReadConfigFile_1=N._emscripten_bind_TessBaseAPI_ReadConfigFile_1,ff=Module._emscripten_bind_Pixa___destroy___0=N._emscripten_bind_Pixa___destroy___0,gf=Module._emscripten_bind_ResultIterator_Begin_0=N._emscripten_bind_ResultIterator_Begin_0,hf=Module._emscripten_bind_PageIterator_SetBoundingBoxComponents_2= -N._emscripten_bind_PageIterator_SetBoundingBoxComponents_2,jf=Module._emscripten_bind_ETEXT_DESC___destroy___0=N._emscripten_bind_ETEXT_DESC___destroy___0,kf=Module._emscripten_bind_Box_get_h_0=N._emscripten_bind_Box_get_h_0,lf=Module._emscripten_bind_TessBaseAPI_SetOutputName_1=N._emscripten_bind_TessBaseAPI_SetOutputName_1;Module.___cxa_is_pointer_type=N.___cxa_is_pointer_type; -var mf=Module._emscripten_bind_TessBaseAPI_DetectOS_1=N._emscripten_bind_TessBaseAPI_DetectOS_1,nf=Module._emscripten_bind_TessBaseAPI_IsValidWord_1=N._emscripten_bind_TessBaseAPI_IsValidWord_1,of=Module._emscripten_enum_PageSegMode_PSM_AUTO_OSD=N._emscripten_enum_PageSegMode_PSM_AUTO_OSD,pf=Module._emscripten_bind_TessBaseAPI_Clear_0=N._emscripten_bind_TessBaseAPI_Clear_0,qf=Module._emscripten_bind_UNICHARSET_get_script_id_from_name_1=N._emscripten_bind_UNICHARSET_get_script_id_from_name_1,rf=Module._emscripten_bind_PageIterator_BoundingBox_6= -N._emscripten_bind_PageIterator_BoundingBox_6,sf=Module._emscripten_bind_PageIterator_BoundingBox_5=N._emscripten_bind_PageIterator_BoundingBox_5,tf=Module._emscripten_bind_ResultIterator_WordIsFromDictionary_0=N._emscripten_bind_ResultIterator_WordIsFromDictionary_0,uf=Module._emscripten_bind_Pix_get_xres_0=N._emscripten_bind_Pix_get_xres_0,vf=Module._emscripten_enum_PolyBlockType_PT_EQUATION=N._emscripten_enum_PolyBlockType_PT_EQUATION,wf=Module._emscripten_bind_ResultIterator_Cmp_1=N._emscripten_bind_ResultIterator_Cmp_1, -xf=Module._emscripten_bind_TessBaseAPI_GetInputName_0=N._emscripten_bind_TessBaseAPI_GetInputName_0,yf=Module._emscripten_bind_PageIterator_Begin_0=N._emscripten_bind_PageIterator_Begin_0,zf=Module._emscripten_enum_OcrEngineMode_OEM_TESSERACT_ONLY=N._emscripten_enum_OcrEngineMode_OEM_TESSERACT_ONLY,Af=Module._emscripten_bind_ResultIterator_GetImage_5=N._emscripten_bind_ResultIterator_GetImage_5,Bf=Module._emscripten_enum_PolyBlockType_PT_FLOWING_IMAGE=N._emscripten_enum_PolyBlockType_PT_FLOWING_IMAGE, -Cf=Module._emscripten_bind_TessBaseAPI_GetSourceYResolution_0=N._emscripten_bind_TessBaseAPI_GetSourceYResolution_0,Df=Module._emscripten_bind_TessBaseAPI_GetBoxText_1=N._emscripten_bind_TessBaseAPI_GetBoxText_1,Ef=Module._emscripten_bind_TessBaseAPI_GetUTF8Text_0=N._emscripten_bind_TessBaseAPI_GetUTF8Text_0,Ff=Module._emscripten_bind_Pta___destroy___0=N._emscripten_bind_Pta___destroy___0,Gf=Module._emscripten_bind_PageIterator_BlockPolygon_0=N._emscripten_bind_PageIterator_BlockPolygon_0,Hf=Module._emscripten_bind_Pta_get_nalloc_0= -N._emscripten_bind_Pta_get_nalloc_0,If=Module._emscripten_bind_TessBaseAPI_ClearAdaptiveClassifier_0=N._emscripten_bind_TessBaseAPI_ClearAdaptiveClassifier_0,Jf=Module._emscripten_enum_PageSegMode_PSM_AUTO=N._emscripten_enum_PageSegMode_PSM_AUTO,Kf=Module._emscripten_bind_TessBaseAPI_GetThresholdedImage_0=N._emscripten_bind_TessBaseAPI_GetThresholdedImage_0,Lf=Module._emscripten_enum_PolyBlockType_PT_PULLOUT_IMAGE=N._emscripten_enum_PolyBlockType_PT_PULLOUT_IMAGE,Mf=Module._emscripten_bind_Box_get_refcount_0= -N._emscripten_bind_Box_get_refcount_0,Nf=Module._emscripten_bind_TessBaseAPI_GetIterator_0=N._emscripten_bind_TessBaseAPI_GetIterator_0,Of=Module._emscripten_bind_ResultIterator_RestartParagraph_0=N._emscripten_bind_ResultIterator_RestartParagraph_0,Pf=Module._emscripten_bind_TessBaseAPI_End_0=N._emscripten_bind_TessBaseAPI_End_0,Jc=Module._i64Add=N._i64Add,Qf=Module._emscripten_bind_OSBestResult_get_oconfidence_0=N._emscripten_bind_OSBestResult_get_oconfidence_0,Rf=Module._emscripten_enum_ParagraphJustification__JUSTIFICATION_UNKNOWN= -N._emscripten_enum_ParagraphJustification__JUSTIFICATION_UNKNOWN,Sf=Module._emscripten_enum_PolyBlockType_PT_VERTICAL_TEXT=N._emscripten_enum_PolyBlockType_PT_VERTICAL_TEXT,Tf=Module._emscripten_bind_ChoiceIterator_GetUTF8Text_0=N._emscripten_bind_ChoiceIterator_GetUTF8Text_0,Uf=Module._emscripten_bind_OSBestResult___destroy___0=N._emscripten_bind_OSBestResult___destroy___0,Vf=Module._emscripten_bind_Boxa_get_refcount_0=N._emscripten_bind_Boxa_get_refcount_0,Wf=Module._emscripten_enum_PolyBlockType_PT_NOISE= -N._emscripten_enum_PolyBlockType_PT_NOISE,Xf=Module._emscripten_bind_PageIterator_BoundingBoxInternal_5=N._emscripten_bind_PageIterator_BoundingBoxInternal_5,Yf=Module._emscripten_bind_Pix_get_data_0=N._emscripten_bind_Pix_get_data_0,Zf=Module._emscripten_bind_TessBaseAPI_AnalyseLayout_1=N._emscripten_bind_TessBaseAPI_AnalyseLayout_1,$f=Module._emscripten_bind_TessBaseAPI_AnalyseLayout_0=N._emscripten_bind_TessBaseAPI_AnalyseLayout_0,ag=Module._emscripten_bind_TessBaseAPI_PrintVariables_0=N._emscripten_bind_TessBaseAPI_PrintVariables_0; -Module._pixDestroy=N._pixDestroy; -var bg=Module._emscripten_bind_ResultIterator_IsAtFinalElement_2=N._emscripten_bind_ResultIterator_IsAtFinalElement_2,cg=Module._emscripten_bind_FloatPtr___destroy___0=N._emscripten_bind_FloatPtr___destroy___0,dg=Module._emscripten_bind_PageIterator_Next_1=N._emscripten_bind_PageIterator_Next_1,eg=Module._emscripten_bind_PageIterator___destroy___0=N._emscripten_bind_PageIterator___destroy___0,fg=Module._emscripten_bind_TessBaseAPI___destroy___0=N._emscripten_bind_TessBaseAPI___destroy___0,gg=Module._emscripten_bind_TessBaseAPI_IsValidCharacter_1= -N._emscripten_bind_TessBaseAPI_IsValidCharacter_1,Ed=Module._llvm_bswap_i32=N._llvm_bswap_i32,hg=Module._emscripten_bind_Pix_get_spp_0=N._emscripten_bind_Pix_get_spp_0,ig=Module._emscripten_bind_Pix_get_text_0=N._emscripten_bind_Pix_get_text_0,jg=Module._emscripten_bind_ResultIterator_BlockType_0=N._emscripten_bind_ResultIterator_BlockType_0,ae=Module._strcpy=N._strcpy,kg=Module._emscripten_bind_TessBaseAPI_GetTextlines_2=N._emscripten_bind_TessBaseAPI_GetTextlines_2,lg=Module._emscripten_bind_WritingDirection___destroy___0= -N._emscripten_bind_WritingDirection___destroy___0,mg=Module._emscripten_bind_PageIterator_IsAtBeginningOf_1=N._emscripten_bind_PageIterator_IsAtBeginningOf_1,ng=Module._emscripten_bind_Pixa_get_refcount_0=N._emscripten_bind_Pixa_get_refcount_0,og=Module._emscripten_bind_PixPtr___destroy___0=N._emscripten_bind_PixPtr___destroy___0,pg=Module._emscripten_bind_Orientation___destroy___0=N._emscripten_bind_Orientation___destroy___0,qg=Module._emscripten_enum_PolyBlockType_PT_CAPTION_TEXT=N._emscripten_enum_PolyBlockType_PT_CAPTION_TEXT, -rg=Module._emscripten_bind_PixColormap_get_array_0=N._emscripten_bind_PixColormap_get_array_0,sg=Module._emscripten_enum_PageSegMode_PSM_SINGLE_BLOCK_VERT_TEXT=N._emscripten_enum_PageSegMode_PSM_SINGLE_BLOCK_VERT_TEXT,tg=Module._emscripten_bind_ResultIterator_WordRecognitionLanguage_0=N._emscripten_bind_ResultIterator_WordRecognitionLanguage_0,ug=Module._emscripten_enum_PageSegMode_PSM_SINGLE_CHAR=N._emscripten_enum_PageSegMode_PSM_SINGLE_CHAR,vg=Module._emscripten_bind_TessBaseAPI_GetIntVariable_2= -N._emscripten_bind_TessBaseAPI_GetIntVariable_2,wg=Module._emscripten_bind_ResultIterator_WordDirection_0=N._emscripten_bind_ResultIterator_WordDirection_0,xg=Module._emscripten_bind_TessBaseAPI_AdaptToWordStr_2=N._emscripten_bind_TessBaseAPI_AdaptToWordStr_2,yg=Module._emscripten_bind_PageIterator_IsAtFinalElement_2=N._emscripten_bind_PageIterator_IsAtFinalElement_2,hd=Module._bitshift64Ashr=N._bitshift64Ashr,Kd=Module._bitshift64Shl=N._bitshift64Shl,zg=Module._emscripten_bind_TessBaseAPI_RecognizeForChopTest_1= -N._emscripten_bind_TessBaseAPI_RecognizeForChopTest_1,Ag=Module._emscripten_bind_OSBestResult_get_orientation_id_0=N._emscripten_bind_OSBestResult_get_orientation_id_0,Bg=Module._emscripten_bind_TessBaseAPI_GetRegions_1=N._emscripten_bind_TessBaseAPI_GetRegions_1,Cg=Module._emscripten_bind_ResultIterator_ParagraphIsLtr_0=N._emscripten_bind_ResultIterator_ParagraphIsLtr_0,Dg=Module._emscripten_bind_ResultIterator_ParagraphInfo_4=N._emscripten_bind_ResultIterator_ParagraphInfo_4,Eg=Module._emscripten_enum_PageSegMode_PSM_SINGLE_BLOCK= -N._emscripten_enum_PageSegMode_PSM_SINGLE_BLOCK,Fg=Module._emscripten_enum_PageIteratorLevel_RIL_WORD=N._emscripten_enum_PageIteratorLevel_RIL_WORD,Gg=Module._emscripten_bind_TessBaseAPI_GetDawg_1=N._emscripten_bind_TessBaseAPI_GetDawg_1,Hg=Module._emscripten_bind_ResultIterator_WordLattice_1=N._emscripten_bind_ResultIterator_WordLattice_1;Module._realloc=N._realloc; -var Ig=Module._emscripten_enum_PageIteratorLevel_RIL_SYMBOL=N._emscripten_enum_PageIteratorLevel_RIL_SYMBOL,Jg=Module._emscripten_bind_ResultIterator_HasBlamerInfo_0=N._emscripten_bind_ResultIterator_HasBlamerInfo_0,Kg=Module._emscripten_bind_TessBaseAPI_MeanTextConf_0=N._emscripten_bind_TessBaseAPI_MeanTextConf_0,Lg=Module._emscripten_bind_ResultIterator_BoundingBox_6=N._emscripten_bind_ResultIterator_BoundingBox_6,Mg=Module._emscripten_bind_TessBaseAPI_GetTextlines_5=N._emscripten_bind_TessBaseAPI_GetTextlines_5, -Ng=Module._emscripten_bind_Pix_get_refcount_0=N._emscripten_bind_Pix_get_refcount_0,Og=Module._emscripten_bind_ResultIterator_SetParagraphSeparator_1=N._emscripten_bind_ResultIterator_SetParagraphSeparator_1,Pg=Module._emscripten_bind_WordChoiceIterator_WordChoiceIterator_1=N._emscripten_bind_WordChoiceIterator_WordChoiceIterator_1,Qg=Module._emscripten_bind_TessBaseAPI_GetHOCRText_1=N._emscripten_bind_TessBaseAPI_GetHOCRText_1,Rg=Module._emscripten_bind_TextlineOrder___destroy___0=N._emscripten_bind_TextlineOrder___destroy___0, -Sg=Module._emscripten_bind_ResultIterator_SymbolIsSuperscript_0=N._emscripten_bind_ResultIterator_SymbolIsSuperscript_0,Tg=Module._emscripten_bind_Box_get_x_0=N._emscripten_bind_Box_get_x_0,Ug=Module._emscripten_enum_ParagraphJustification__JUSTIFICATION_LEFT=N._emscripten_enum_ParagraphJustification__JUSTIFICATION_LEFT,Vg=Module._emscripten_bind_VoidPtr___destroy___0=N._emscripten_bind_VoidPtr___destroy___0,Wg=Module._emscripten_bind_PageIterator_BlockType_0=N._emscripten_bind_PageIterator_BlockType_0, -Xg=Module._emscripten_bind_PageIterator_RestartParagraph_0=N._emscripten_bind_PageIterator_RestartParagraph_0,Yg=Module._emscripten_bind_ResultIterator_SymbolIsSubscript_0=N._emscripten_bind_ResultIterator_SymbolIsSubscript_0;Module._ptaDestroy=N._ptaDestroy; -var Zg=Module._emscripten_bind_TessBaseAPI_GetInitLanguagesAsString_0=N._emscripten_bind_TessBaseAPI_GetInitLanguagesAsString_0,$g=Module._emscripten_bind_Box___destroy___0=N._emscripten_bind_Box___destroy___0,ah=Module._emscripten_enum_PolyBlockType_PT_UNKNOWN=N._emscripten_enum_PolyBlockType_PT_UNKNOWN,bh=Module._emscripten_enum_PageSegMode_PSM_SINGLE_LINE=N._emscripten_enum_PageSegMode_PSM_SINGLE_LINE,ch=Module._emscripten_bind_TessBaseAPI_SetInputImage_1=N._emscripten_bind_TessBaseAPI_SetInputImage_1, -dh=Module._emscripten_bind_TessBaseAPI_SetRectangle_4=N._emscripten_bind_TessBaseAPI_SetRectangle_4,eh=Module._emscripten_bind_TessBaseAPI_TessBaseAPI_0=N._emscripten_bind_TessBaseAPI_TessBaseAPI_0,fh=Module._emscripten_bind_ChoiceIterator_Confidence_0=N._emscripten_bind_ChoiceIterator_Confidence_0,gh=Module._emscripten_bind_PageIterator_Baseline_5=N._emscripten_bind_PageIterator_Baseline_5,hh=Module._emscripten_enum_OcrEngineMode_OEM_CUBE_ONLY=N._emscripten_enum_OcrEngineMode_OEM_CUBE_ONLY,ih=Module._emscripten_bind_ResultIterator_SymbolIsDropcap_0= -N._emscripten_bind_ResultIterator_SymbolIsDropcap_0,jh=Module._emscripten_bind_PageIterator_Orientation_4=N._emscripten_bind_PageIterator_Orientation_4,kh=Module._emscripten_bind_IntPtr___destroy___0=N._emscripten_bind_IntPtr___destroy___0,lh=Module._emscripten_bind_OSBestResult_get_sconfidence_0=N._emscripten_bind_OSBestResult_get_sconfidence_0,mh=Module._emscripten_enum_WritingDirection__WRITING_DIRECTION_LEFT_TO_RIGHT=N._emscripten_enum_WritingDirection__WRITING_DIRECTION_LEFT_TO_RIGHT,nh=Module._emscripten_bind_Box_get_w_0= -N._emscripten_bind_Box_get_w_0,oh=Module._emscripten_bind_OSResults_OSResults_0=N._emscripten_bind_OSResults_OSResults_0,ph=Module._emscripten_bind_ResultIterator_GetBinaryImage_1=N._emscripten_bind_ResultIterator_GetBinaryImage_1,qh=Module._emscripten_bind_Pix_get_h_0=N._emscripten_bind_Pix_get_h_0,rh=Module._emscripten_bind_TessBaseAPI_GetDatapath_0=N._emscripten_bind_TessBaseAPI_GetDatapath_0,sh=Module._emscripten_bind_PageIterator_ParagraphInfo_4=N._emscripten_bind_PageIterator_ParagraphInfo_4, -th=Module._emscripten_enum_PageSegMode_PSM_COUNT=N._emscripten_enum_PageSegMode_PSM_COUNT,uh=Module._emscripten_enum_PageSegMode_PSM_SPARSE_TEXT=N._emscripten_enum_PageSegMode_PSM_SPARSE_TEXT,vh=Module._emscripten_bind_Pixa_get_nalloc_0=N._emscripten_bind_Pixa_get_nalloc_0,wh=Module._emscripten_bind_OSResults_get_best_result_0=N._emscripten_bind_OSResults_get_best_result_0,xh=Module._emscripten_enum_TextlineOrder__TEXTLINE_ORDER_RIGHT_TO_LEFT=N._emscripten_enum_TextlineOrder__TEXTLINE_ORDER_RIGHT_TO_LEFT, -yh=Module._emscripten_bind_ResultIterator_HasTruthString_0=N._emscripten_bind_ResultIterator_HasTruthString_0,zh=Module._emscripten_bind_PageIterator_IsWithinFirstTextlineOfParagraph_0=N._emscripten_bind_PageIterator_IsWithinFirstTextlineOfParagraph_0,Ah=Module._emscripten_bind_TessBaseAPI_NumDawgs_0=N._emscripten_bind_TessBaseAPI_NumDawgs_0,Bh=Module._emscripten_bind_ResultIterator_WordNormedUTF8Text_0=N._emscripten_bind_ResultIterator_WordNormedUTF8Text_0,Ch=Module._emscripten_bind_Pix_get_colormap_0= -N._emscripten_bind_Pix_get_colormap_0,Dh=Module._emscripten_bind_TessBaseAPI_SetVariable_2=N._emscripten_bind_TessBaseAPI_SetVariable_2,Eh=Module._emscripten_enum_PageSegMode_PSM_SINGLE_COLUMN=N._emscripten_enum_PageSegMode_PSM_SINGLE_COLUMN,Fh=Module._emscripten_enum_StrongScriptDirection_DIR_RIGHT_TO_LEFT=N._emscripten_enum_StrongScriptDirection_DIR_RIGHT_TO_LEFT;Module._pixaDestroy=N._pixaDestroy; -var Gh=Module._emscripten_enum_Orientation__ORIENTATION_PAGE_RIGHT=N._emscripten_enum_Orientation__ORIENTATION_PAGE_RIGHT,Hh=Module._emscripten_bind_Dawg___destroy___0=N._emscripten_bind_Dawg___destroy___0,F=Module._malloc=N._malloc,Ih=Module._emscripten_enum_WritingDirection__WRITING_DIRECTION_RIGHT_TO_LEFT=N._emscripten_enum_WritingDirection__WRITING_DIRECTION_RIGHT_TO_LEFT,wd=Module._memmove=N._memmove,Jh=Module._emscripten_bind_WordChoiceIterator___destroy___0=N._emscripten_bind_WordChoiceIterator___destroy___0, -Kh=Module._emscripten_bind_TessBaseAPI_DumpPGM_1=N._emscripten_bind_TessBaseAPI_DumpPGM_1,Lh=Module._emscripten_bind_WordChoiceIterator_Next_0=N._emscripten_bind_WordChoiceIterator_Next_0,Mh=Module._emscripten_enum_PolyBlockType_PT_HEADING_TEXT=N._emscripten_enum_PolyBlockType_PT_HEADING_TEXT,Nh=Module._emscripten_bind_UNICHARSET_get_script_table_size_0=N._emscripten_bind_UNICHARSET_get_script_table_size_0,Oh=Module._emscripten_bind_PageIterator_Cmp_1=N._emscripten_bind_PageIterator_Cmp_1; -Module._boxaDestroy=N._boxaDestroy; -var Ph=Module._emscripten_enum_PageIteratorLevel_RIL_TEXTLINE=N._emscripten_enum_PageIteratorLevel_RIL_TEXTLINE,Qh=Module._emscripten_bind_ResultIterator___destroy___0=N._emscripten_bind_ResultIterator___destroy___0,Rh=Module._emscripten_bind_ResultIterator_Empty_1=N._emscripten_bind_ResultIterator_Empty_1,Sh=Module._emscripten_bind_Pix_get_d_0=N._emscripten_bind_Pix_get_d_0,Th=Module._emscripten_bind_TessBaseAPI_GetConnectedComponents_1=N._emscripten_bind_TessBaseAPI_GetConnectedComponents_1,Uh= -Module._emscripten_bind_PixColormap_get_depth_0=N._emscripten_bind_PixColormap_get_depth_0,Vh=Module._emscripten_enum_PolyBlockType_PT_FLOWING_TEXT=N._emscripten_enum_PolyBlockType_PT_FLOWING_TEXT,Wh=Module._emscripten_enum_PolyBlockType_PT_HEADING_IMAGE=N._emscripten_enum_PolyBlockType_PT_HEADING_IMAGE,Hc=Module._i64Subtract=N._i64Subtract,Xh=Module._emscripten_bind_Boxa_get_n_0=N._emscripten_bind_Boxa_get_n_0,Yh=Module._emscripten_bind_ResultIterator_Baseline_5=N._emscripten_bind_ResultIterator_Baseline_5, -Zh=Module._emscripten_bind_OSBestResult_get_script_id_0=N._emscripten_bind_OSBestResult_get_script_id_0,$h=Module._emscripten_bind_PageIterator_RestartRow_0=N._emscripten_bind_PageIterator_RestartRow_0,ai=Module._emscripten_bind_PageIterator_GetImage_5=N._emscripten_bind_PageIterator_GetImage_5,yd=Module._calloc=N._calloc,bi=Module._emscripten_enum_PageSegMode_PSM_AUTO_ONLY=N._emscripten_enum_PageSegMode_PSM_AUTO_ONLY,ci=Module._emscripten_enum_StrongScriptDirection_DIR_MIX=N._emscripten_enum_StrongScriptDirection_DIR_MIX, -di=Module._emscripten_bind_TessBaseAPI_GetPageSegMode_0=N._emscripten_bind_TessBaseAPI_GetPageSegMode_0,ei=Module._emscripten_bind_ResultIterator_WordIsNumeric_0=N._emscripten_bind_ResultIterator_WordIsNumeric_0,fi=Module._emscripten_bind_ResultIterator_IsWithinFirstTextlineOfParagraph_0=N._emscripten_bind_ResultIterator_IsWithinFirstTextlineOfParagraph_0,gi=Module._emscripten_enum_StrongScriptDirection_DIR_LEFT_TO_RIGHT=N._emscripten_enum_StrongScriptDirection_DIR_LEFT_TO_RIGHT,hi=Module._emscripten_enum_StrongScriptDirection_DIR_NEUTRAL= -N._emscripten_enum_StrongScriptDirection_DIR_NEUTRAL,ii=Module._emscripten_bind_TessBaseAPI_SetSourceResolution_1=N._emscripten_bind_TessBaseAPI_SetSourceResolution_1,ji=Module._emscripten_bind_TessBaseAPI_InitForAnalysePage_0=N._emscripten_bind_TessBaseAPI_InitForAnalysePage_0,ki=Module._emscripten_bind_Boxa_get_nalloc_0=N._emscripten_bind_Boxa_get_nalloc_0,li=Module._emscripten_bind_TessBaseAPI_ClearPersistentCache_0=N._emscripten_bind_TessBaseAPI_ClearPersistentCache_0,mi=Module._emscripten_bind_PageIterator_Empty_1= -N._emscripten_bind_PageIterator_Empty_1,ni=Module._emscripten_enum_Orientation__ORIENTATION_PAGE_LEFT=N._emscripten_enum_Orientation__ORIENTATION_PAGE_LEFT,oi=Module._emscripten_bind_TessBaseAPI_TesseractRect_7=N._emscripten_bind_TessBaseAPI_TesseractRect_7,pi=Module._emscripten_enum_PageSegMode_PSM_SINGLE_WORD=N._emscripten_enum_PageSegMode_PSM_SINGLE_WORD,qi=Module._emscripten_enum_OcrEngineMode_OEM_DEFAULT=N._emscripten_enum_OcrEngineMode_OEM_DEFAULT,ri=Module._emscripten_bind_ResultIterator_BoundingBox_5= -N._emscripten_bind_ResultIterator_BoundingBox_5,si=Module._emscripten_bind_ResultIterator_WordFontAttributes_8=N._emscripten_bind_ResultIterator_WordFontAttributes_8,Fd=Module._strcat=N._strcat,ti=Module._emscripten_bind_TessBaseAPI_CatchSignals_0=N._emscripten_bind_TessBaseAPI_CatchSignals_0,ui=Module._emscripten_enum_PolyBlockType_PT_VERT_LINE=N._emscripten_enum_PolyBlockType_PT_VERT_LINE,vi=Module._emscripten_bind_TessBaseAPI_GetWords_1=N._emscripten_bind_TessBaseAPI_GetWords_1,wi=Module._emscripten_bind_TessBaseAPI_SetInputName_1= -N._emscripten_bind_TessBaseAPI_SetInputName_1,xi=Module._emscripten_bind_Pix_get_wpl_0=N._emscripten_bind_Pix_get_wpl_0,yi=Module._emscripten_bind_ResultIterator_BlockPolygon_0=N._emscripten_bind_ResultIterator_BlockPolygon_0,zi=Module._emscripten_bind_WordChoiceIterator_Confidence_0=N._emscripten_bind_WordChoiceIterator_Confidence_0,Ai=Module._emscripten_bind_ResultIterator_ResultIterator_1=N._emscripten_bind_ResultIterator_ResultIterator_1,Bi=Module._emscripten_enum_PageSegMode_PSM_SPARSE_TEXT_OSD= -N._emscripten_enum_PageSegMode_PSM_SPARSE_TEXT_OSD,Ci=Module._emscripten_bind_ResultIterator_EquivalentToTruth_1=N._emscripten_bind_ResultIterator_EquivalentToTruth_1,Di=Module._emscripten_bind_ResultIterator_Confidence_1=N._emscripten_bind_ResultIterator_Confidence_1,Ei=Module._emscripten_bind_PixColormap___destroy___0=N._emscripten_bind_PixColormap___destroy___0,Fi=Module._emscripten_bind_TessBaseAPI_GetInputImage_0=N._emscripten_bind_TessBaseAPI_GetInputImage_0,Gi=Module._emscripten_bind_Pta_get_x_0= -N._emscripten_bind_Pta_get_x_0,Hi=Module._emscripten_bind_Pix_get_w_0=N._emscripten_bind_Pix_get_w_0,Ii=Module._emscripten_bind_Boxa_get_box_0=N._emscripten_bind_Boxa_get_box_0,Ji=Module._emscripten_enum_Orientation__ORIENTATION_PAGE_DOWN=N._emscripten_enum_Orientation__ORIENTATION_PAGE_DOWN,Ki=Module._emscripten_bind_ResultIterator_WordTruthUTF8Text_0=N._emscripten_bind_ResultIterator_WordTruthUTF8Text_0,Li=Module._emscripten_bind_ResultIterator_Orientation_4=N._emscripten_bind_ResultIterator_Orientation_4, -Mi=Module._emscripten_bind_Boxa___destroy___0=N._emscripten_bind_Boxa___destroy___0,Ni=Module._emscripten_bind_Pta_get_refcount_0=N._emscripten_bind_Pta_get_refcount_0,Oi=Module._emscripten_enum_PolyBlockType_PT_INLINE_EQUATION=N._emscripten_enum_PolyBlockType_PT_INLINE_EQUATION,Pi=Module._emscripten_enum_PageSegMode_PSM_RAW_LINE=N._emscripten_enum_PageSegMode_PSM_RAW_LINE,Qi=Module._emscripten_bind_ChoiceIterator___destroy___0=N._emscripten_bind_ChoiceIterator___destroy___0,Ri=Module._emscripten_bind_PixaPtr___destroy___0= -N._emscripten_bind_PixaPtr___destroy___0,Si=Module._emscripten_bind_ParagraphJustification___destroy___0=N._emscripten_bind_ParagraphJustification___destroy___0,Ti=Module._emscripten_enum_PolyBlockType_PT_PULLOUT_TEXT=N._emscripten_enum_PolyBlockType_PT_PULLOUT_TEXT,Ui=Module._emscripten_bind_Pixa_get_boxa_0=N._emscripten_bind_Pixa_get_boxa_0,Vi=Module._emscripten_enum_ParagraphJustification__JUSTIFICATION_CENTER=N._emscripten_enum_ParagraphJustification__JUSTIFICATION_CENTER,Wi=Module._emscripten_bind_ResultIterator_SetLineSeparator_1= -N._emscripten_bind_ResultIterator_SetLineSeparator_1,Xi=Module._emscripten_bind_TessBaseAPI_SetPageSegMode_1=N._emscripten_bind_TessBaseAPI_SetPageSegMode_1,Yi=Module._emscripten_bind_PageIterator_GetBinaryImage_1=N._emscripten_bind_PageIterator_GetBinaryImage_1,Zi=Module._emscripten_enum_WritingDirection__WRITING_DIRECTION_TOP_TO_BOTTOM=N._emscripten_enum_WritingDirection__WRITING_DIRECTION_TOP_TO_BOTTOM,$i=Module._emscripten_bind_TessBaseAPI_Recognize_1=N._emscripten_bind_TessBaseAPI_Recognize_1, -aj=Module._emscripten_bind_Pta_get_n_0=N._emscripten_bind_Pta_get_n_0,bj=Module._emscripten_enum_PageSegMode_PSM_CIRCLE_WORD=N._emscripten_enum_PageSegMode_PSM_CIRCLE_WORD,cj=Module._emscripten_bind_Pta_get_y_0=N._emscripten_bind_Pta_get_y_0,dj=Module._emscripten_bind_ChoiceIterator_ChoiceIterator_1=N._emscripten_bind_ChoiceIterator_ChoiceIterator_1,ej=Module._emscripten_bind_TessBaseAPI_GetStringVariable_1=N._emscripten_bind_TessBaseAPI_GetStringVariable_1,fj=Module._emscripten_enum_Orientation__ORIENTATION_PAGE_UP= -N._emscripten_enum_Orientation__ORIENTATION_PAGE_UP,zb=Module.__GLOBAL__sub_I_baseapi_cpp=N.__GLOBAL__sub_I_baseapi_cpp,Ab=Module.__GLOBAL__sub_I_equationdetect_cpp=N.__GLOBAL__sub_I_equationdetect_cpp,Bb=Module.__GLOBAL__sub_I_tessvars_cpp=N.__GLOBAL__sub_I_tessvars_cpp,Cb=Module.__GLOBAL__sub_I_ccutil_cpp=N.__GLOBAL__sub_I_ccutil_cpp,Db=Module.__GLOBAL__sub_I_tprintf_cpp=N.__GLOBAL__sub_I_tprintf_cpp,Eb=Module.__GLOBAL__sub_I_render_cpp=N.__GLOBAL__sub_I_render_cpp,Fb=Module.__GLOBAL__sub_I_alignedblob_cpp= -N.__GLOBAL__sub_I_alignedblob_cpp,Gb=Module.__GLOBAL__sub_I_blkocc_cpp=N.__GLOBAL__sub_I_blkocc_cpp,Hb=Module.__GLOBAL__sub_I_cjkpitch_cpp=N.__GLOBAL__sub_I_cjkpitch_cpp,Ib=Module.__GLOBAL__sub_I_colfind_cpp=N.__GLOBAL__sub_I_colfind_cpp,Jb=Module.__GLOBAL__sub_I_colpartitiongrid_cpp=N.__GLOBAL__sub_I_colpartitiongrid_cpp,Kb=Module.__GLOBAL__sub_I_devanagari_processing_cpp=N.__GLOBAL__sub_I_devanagari_processing_cpp,Lb=Module.__GLOBAL__sub_I_drawtord_cpp=N.__GLOBAL__sub_I_drawtord_cpp,Mb=Module.__GLOBAL__sub_I_edgblob_cpp= -N.__GLOBAL__sub_I_edgblob_cpp,Nb=Module.__GLOBAL__sub_I_fpchop_cpp=N.__GLOBAL__sub_I_fpchop_cpp,Ob=Module.__GLOBAL__sub_I_gap_map_cpp=N.__GLOBAL__sub_I_gap_map_cpp,Pb=Module.__GLOBAL__sub_I_imagefind_cpp=N.__GLOBAL__sub_I_imagefind_cpp,Qb=Module.__GLOBAL__sub_I_makerow_cpp=N.__GLOBAL__sub_I_makerow_cpp,Rb=Module.__GLOBAL__sub_I_oldbasel_cpp=N.__GLOBAL__sub_I_oldbasel_cpp,Sb=Module.__GLOBAL__sub_I_pitsync1_cpp=N.__GLOBAL__sub_I_pitsync1_cpp,Tb=Module.__GLOBAL__sub_I_strokewidth_cpp=N.__GLOBAL__sub_I_strokewidth_cpp, -Ub=Module.__GLOBAL__sub_I_tabfind_cpp=N.__GLOBAL__sub_I_tabfind_cpp,Vb=Module.__GLOBAL__sub_I_tablefind_cpp=N.__GLOBAL__sub_I_tablefind_cpp,Wb=Module.__GLOBAL__sub_I_tabvector_cpp=N.__GLOBAL__sub_I_tabvector_cpp,Xb=Module.__GLOBAL__sub_I_topitch_cpp=N.__GLOBAL__sub_I_topitch_cpp,Yb=Module.__GLOBAL__sub_I_tovars_cpp=N.__GLOBAL__sub_I_tovars_cpp,Zb=Module.__GLOBAL__sub_I_underlin_cpp=N.__GLOBAL__sub_I_underlin_cpp,$b=Module.__GLOBAL__sub_I_wordseg_cpp=N.__GLOBAL__sub_I_wordseg_cpp,ac=Module.__GLOBAL__sub_I_polyaprx_cpp= -N.__GLOBAL__sub_I_polyaprx_cpp,bc=Module.__GLOBAL__sub_I_split_cpp=N.__GLOBAL__sub_I_split_cpp,cc=Module.__GLOBAL__sub_I_blobclass_cpp=N.__GLOBAL__sub_I_blobclass_cpp,dc=Module.__GLOBAL__sub_I_intfx_cpp=N.__GLOBAL__sub_I_intfx_cpp,ec=Module.__GLOBAL__sub_I_intproto_cpp=N.__GLOBAL__sub_I_intproto_cpp,fc=Module.__GLOBAL__sub_I_mfx_cpp=N.__GLOBAL__sub_I_mfx_cpp,gc=Module.__GLOBAL__sub_I_normmatch_cpp=N.__GLOBAL__sub_I_normmatch_cpp,hc=Module.__GLOBAL__sub_I_picofeat_cpp=N.__GLOBAL__sub_I_picofeat_cpp, -ic=Module.__GLOBAL__sub_I_protos_cpp=N.__GLOBAL__sub_I_protos_cpp,jc=Module.__GLOBAL__sub_I_iostream_cpp=N.__GLOBAL__sub_I_iostream_cpp;Module.runPostSets=N.runPostSets;Module.dynCall_iiiiiiii=N.dynCall_iiiiiiii;Module.dynCall_viiiii=N.dynCall_viiiii;Module.dynCall_vid=N.dynCall_vid;Module.dynCall_vi=N.dynCall_vi;Module.dynCall_vii=N.dynCall_vii;Module.dynCall_iiiiiii=N.dynCall_iiiiiii;Module.dynCall_ii=N.dynCall_ii;Module.dynCall_iiiiii=N.dynCall_iiiiii;Module.dynCall_iiii=N.dynCall_iiii; -Module.dynCall_iidiii=N.dynCall_iidiii;Module.dynCall_viiiiid=N.dynCall_viiiiid;Module.dynCall_viiiiiiii=N.dynCall_viiiiiiii;Module.dynCall_viiiiii=N.dynCall_viiiiii;Module.dynCall_viiiiiii=N.dynCall_viiiiiii;Module.dynCall_viiiiiid=N.dynCall_viiiiiid;Module.dynCall_viiiiiiiii=N.dynCall_viiiiiiiii;Module.dynCall_iii=N.dynCall_iii;Module.dynCall_diiiiii=N.dynCall_diiiiii;Module.dynCall_viiiiiiiiiiii=N.dynCall_viiiiiiiiiiii;Module.dynCall_iiiii=N.dynCall_iiiii;Module.dynCall_viii=N.dynCall_viii; -Module.dynCall_v=N.dynCall_v;Module.dynCall_iiiiiiiii=N.dynCall_iiiiiiiii;Module.dynCall_viiii=N.dynCall_viiii;q.Xb=N.stackAlloc;q.Zb=N.stackSave;q.Yb=N.stackRestore;q.lf=N.setTempRet0;q.Ge=N.getTempRet0;var sd;function P(a,b){a!=j&&("number"==typeof a?this.ja(a):b==j&&"string"!=typeof a?this.W(a,256):this.W(a,b))}function gj(){return new P(j)}function hj(a,b){var c=ij[a.charCodeAt(b)];return c==j?-1:c}function jj(a){var b=gj();b.Ea(a);return b} -function kj(a){var b=1,c;if(0!=(c=a>>>16))a=c,b+=16;if(0!=(c=a>>8))a=c,b+=8;if(0!=(c=a>>4))a=c,b+=4;if(0!=(c=a>>2))a=c,b+=2;0!=a>>1&&(b+=1);return b}function Q(a,b){this.K=a|0;this.O=b|0}Q.Pc={};Q.Ea=function(a){if(-128<=a&&128>a){var b=Q.Pc[a];if(b)return b}b=new Q(a|0,0>a?-1:0);-128<=a&&128>a&&(Q.Pc[a]=b);return b};Q.ja=function(a){return isNaN(a)||!isFinite(a)?Q.ZERO:a<=-Q.Rc?Q.MIN_VALUE:a+1>=Q.Rc?Q.MAX_VALUE:0>a?Q.ja(-a).L():new Q(a%Q.za|0,a/Q.za|0)};Q.va=function(a,b){return new Q(a,b)}; -Q.W=function(a,b){0==a.length&&f(Error("number format error: empty string"));var c=b||10;(2>c||36l?(l=Q.ja(Math.pow(c,l)),e=e.multiply(l).add(Q.ja(m))):(e=e.multiply(d),e=e.add(Q.ja(m)))}return e};Q.fc=65536; -Q.hh=16777216;Q.za=Q.fc*Q.fc;Q.ih=Q.za/2;Q.jh=Q.za*Q.fc;Q.Zd=Q.za*Q.za;Q.Rc=Q.Zd/2;Q.ZERO=Q.Ea(0);Q.ONE=Q.Ea(1);Q.Qc=Q.Ea(-1);Q.MAX_VALUE=Q.va(-1,2147483647);Q.MIN_VALUE=Q.va(0,-2147483648);Q.Yd=Q.Ea(16777216);n=Q.prototype;n.ac=function(){return this.O*Q.za+this.Fe()}; -n.toString=function(a){a=a||10;(2>a||36g.length;)g="0"+g;d=""+g+d}};n.Fe=function(){return 0<=this.K?this.K:Q.za+this.K}; -n.Ka=function(){return 0==this.O&&0==this.K};n.ca=function(){return 0>this.O};n.vd=function(){return 1==(this.K&1)};n.ha=function(a){return this.O==a.O&&this.K==a.K};n.xd=function(){return 0>this.nc(Q.Yd)};n.Ie=function(a){return 0>>16,c=this.O&65535,d=this.K>>>16,e=a.O>>>16,g=a.O&65535,l=a.K>>>16,m;m=0+((this.K&65535)+(a.K&65535));a=0+(m>>>16);a+=d+l;d=0+(a>>>16);d+=c+g;c=0+(d>>>16);c=c+(b+e)&65535;return Q.va((a&65535)<<16|m&65535,c<<16|d&65535)};n.yb=function(a){return this.add(a.L())}; -n.multiply=function(a){if(this.Ka()||a.Ka())return Q.ZERO;if(this.ha(Q.MIN_VALUE))return a.vd()?Q.MIN_VALUE:Q.ZERO;if(a.ha(Q.MIN_VALUE))return this.vd()?Q.MIN_VALUE:Q.ZERO;if(this.ca())return a.ca()?this.L().multiply(a.L()):this.L().multiply(a).L();if(a.ca())return this.multiply(a.L()).L();if(this.xd()&&a.xd())return Q.ja(this.ac()*a.ac());var b=this.O>>>16,c=this.O&65535,d=this.K>>>16,e=this.K&65535,g=a.O>>>16,l=a.O&65535,m=a.K>>>16,a=a.K&65535,s,w,r,u;u=0+e*a;r=0+(u>>>16);r+=d*a;w=0+(r>>>16);r= -(r&65535)+e*m;w+=r>>>16;r&=65535;w+=c*a;s=0+(w>>>16);w=(w&65535)+d*m;s+=w>>>16;w&=65535;w+=e*l;s+=w>>>16;w&=65535;s=s+(b*a+c*m+d*l+e*g)&65535;return Q.va(r<<16|u&65535,s<<16|w)}; -n.Ia=function(a){a.Ka()&&f(Error("division by zero"));if(this.Ka())return Q.ZERO;if(this.ha(Q.MIN_VALUE)){if(a.ha(Q.ONE)||a.ha(Q.Qc))return Q.MIN_VALUE;if(a.ha(Q.MIN_VALUE))return Q.ONE;var b=this.mf().Ia(a).shiftLeft(1);if(b.ha(Q.ZERO))return a.ca()?Q.ONE:Q.Qc;var c=this.yb(a.multiply(b));return b.add(c.Ia(a))}if(a.ha(Q.MIN_VALUE))return Q.ZERO;if(this.ca())return a.ca()?this.L().Ia(a.L()):this.L().Ia(a).L();if(a.ca())return this.Ia(a.L()).L();for(var d=Q.ZERO,c=this;c.Je(a);){for(var b=Math.max(1, -Math.floor(c.ac()/a.ac())),e=Math.ceil(Math.log(b)/Math.LN2),e=48>=e?1:Math.pow(2,e-48),g=Q.ja(b),l=g.multiply(a);l.ca()||l.Ie(c);)b-=e,g=Q.ja(b),l=g.multiply(a);g.Ka()&&(g=Q.ONE);d=d.add(g);c=c.yb(l)}return d};n.$e=function(){return Q.va(~this.K,~this.O)};n.shiftLeft=function(a){a&=63;if(0==a)return this;var b=this.K;return 32>a?Q.va(b<>>32-a):Q.va(0,b<a?Q.va(this.K>>>a|b<<32-a,b>>a):Q.va(b>>a-32,0<=b?0:-1)}; -n=P.prototype;n.jc=function(a,b,c,d){for(var e=0,g=0;0<=--d;){var l=a*this[e++]+b[c]+g,g=Math.floor(l/67108864);b[c++]=l&67108863}return g};n.G=26;n.ta=67108863;n.jb=67108864;n.Vd=Math.pow(2,52);n.Nc=26;n.Oc=0;var ij=[],lj,mj;lj=48;for(mj=0;9>=mj;++mj)ij[lj++]=mj;lj=97;for(mj=10;36>mj;++mj)ij[lj++]=mj;lj=65;for(mj=10;36>mj;++mj)ij[lj++]=mj;n=P.prototype;n.copyTo=function(a){for(var b=this.n-1;0<=b;--b)a[b]=this[b];a.n=this.n;a.B=this.B}; -n.Ea=function(a){this.n=1;this.B=0>a?-1:0;0a?this[0]=a+DV:this.n=0}; -n.W=function(a,b){var c;if(16==b)c=4;else if(8==b)c=3;else if(256==b)c=8;else if(2==b)c=1;else if(32==b)c=5;else if(4==b)c=2;else{this.Be(a,b);return}this.B=this.n=0;for(var d=a.length,e=k,g=0;0<=--d;){var l=8==c?a[d]&255:hj(a,d);0>l?"-"==a.charAt(d)&&(e=i):(e=k,0==g?this[this.n++]=l:g+c>this.G?(this[this.n-1]|=(l&(1<>this.G-g):this[this.n-1]|=l<=this.G&&(g-=this.G))}8==c&&0!=(a[0]&128)&&(this.B=-1,0>d|l,l=(this[m]&e)<=this.n)b.n=0;else{var d=a%this.G,e=this.G-d,g=(1<>d;for(var l=c+1;l>d;0>=this.G;if(a.n>=this.G;d+=this.B}else{for(d+=this.B;c>=this.G;d-=a.B}b.B=0>d?-1:0;-1>d?b[c++]=this.jb+d:0=d.n)){var e=this.abs();if(e.n>this.Oc:0),w=this.Vd/s,s=(1<l&&P.ZERO.sa(c,c)}}}};n.exp=function(a,b){if(4294967295a)return P.ONE;var c=gj(),d=gj(),e=b.wh(this),g=kj(a)-1;for(e.copyTo(c);0<=--g;)if(b.$h(c,d),0<(a&1<this.B)return"-"+this.L().toString(a);if(16==a)a=4;else if(8==a)a=3;else if(2==a)a=1;else if(32==a)a=5;else if(4==a)a=2;else return this.sf(a);var b=(1<>l))d=i,e="0123456789abcdefghijklmnopqrstuvwxyz".charAt(c);for(;0<=g;)l>(l+=this.G-a)):(c=this[g]>>(l-=a)&b,0>=l&&(l+=this.G,--g)),0this.B?this.L():this};n.Ib=function(a){var b=this.B-a.B;if(0!=b)return b;var c=this.n,b=c-a.n;if(0!=b)return 0>this.B?-b:b;for(;0<=--c;)if(0!=(b=this[c]-a[c]))return b;return 0};P.ZERO=jj(0);P.ONE=jj(1);n=P.prototype; -n.Be=function(a,b){this.Ea(0);b==j&&(b=10);for(var c=this.Wc(b),d=Math.pow(b,c),e=k,g=0,l=0,m=0;ms?"-"==a.charAt(m)&&0==this.Ec()&&(e=i):(l=b*l+s,++g>=c&&(this.bd(d),this.ad(l),l=g=0))}0this.B?-1:0>=this.n||1==this.n&&0>=this[0]?0:1};n.bd=function(a){this[this.n]=this.jc(a-1,this,0,this.n);++this.n;this.Ba()}; -n.ad=function(a){var b=0;if(0!=a){for(;this.n<=b;)this[this.n++]=0;for(this[b]+=a;this[b]>=this.jb;)this[b]-=this.jb,++b>=this.n&&(this[this.n++]=0),++this[b]}};n.sf=function(a){a==j&&(a=10);if(0==this.Ec()||2>a||36this.B){if(1==this.n)return this[0]-this.jb;if(0==this.n)return-1}else{if(1==this.n)return this[0];if(0==this.n)return 0}return(this[1]&(1<<32-this.G)-1)<>=this.G;if(a.n>=this.G;d+=this.B}else{for(d+=this.B;c>=this.G;d+=a.B}b.B=0>d?-1:0;0d&&(b[c++]=this.jb+d);b.n=c;b.Ba()}; -var nj={abs:function(a,b){var c=new Q(a,b),c=c.ca()?c.L():c;y[kc>>2]=c.K;y[kc+4>>2]=c.O},fd:function(){nj.xe||(nj.xe=i,nj.Kd=new P,nj.Kd.W("4294967296",10),nj.Gc=new P,nj.Gc.W("18446744073709551616",10),nj.bi=new P,nj.ci=new P)},Rh:function(a,b){var c=new P;c.W(b.toString(),10);var d=new P;c.We(d);c=new P;c.W(a.toString(),10);var e=new P;c.hc(d,e);return e},stringify:function(a,b,c){a=(new Q(a,b)).toString();c&&"-"==a[0]&&(nj.fd(),c=new P,c.W(a,10),a=new P,nj.Gc.hc(c,a),a=a.toString(10));return a}, -W:function(a,b,c,d,e){nj.fd();var g=new P;g.W(a,b);a=new P;a.W(c,10);c=new P;c.W(d,10);e&&0>g.Ib(P.ZERO)&&(d=new P,g.hc(nj.Gc,d),g=d);d=k;0>g.Ib(a)?(g=a,d=i):0>2]=g.K;y[kc+4>>2]=g.O;d&&f("range error")}};sd=nj; -if(yb)if("function"===typeof Module.locateFile?yb=Module.locateFile(yb):Module.memoryInitializerPrefixURL&&(yb=Module.memoryInitializerPrefixURL+yb),fa){var oj=Module.readBinary(yb);H.set(oj,Qa)}else{wb();var pj=function(a){a.byteLength&&(a=new Uint8Array(a));H.set(a,Qa);xb()},qj=Module.memoryInitializerRequest;qj?qj.response?setTimeout(function(){pj(qj.response)},0):qj.addEventListener("load",function(){200!==qj.status&&0!==qj.status&&console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: "+ -qj.status);(!qj.response||"object"!==typeof qj.response||!qj.response.byteLength)&&console.warn("a problem seems to have happened with Module.memoryInitializerRequest response (expected ArrayBuffer): "+qj.response);pj(qj.response)}):Browser.ee(yb,pj,function(){f("could not load memory initializer "+yb)})}function rj(a){this.name="ExitStatus";this.message="Program terminated with exit("+a+")";this.status=a}rj.prototype=Error(); -var sj,tj=j,vb=function uj(){Module.calledRun||vj();Module.calledRun||(vb=uj)}; -Module.callMain=Module.sh=function(a){function b(){for(var a=0;3>a;a++)d.push(0)}p(0==tb,"cannot call main when async dependencies remain! (listen on __ATMAIN__)");p(0==Ya.length,"cannot call main when preRun functions remain to be called");a=a||[];cb||(cb=i,Xa(Za));var c=a.length+1,d=[C(gb(Module.thisProgram),"i8",Fa)];b();for(var e=0;e 0){ - var n = poly.get_n(), - px = poly.get_x(), - py = poly.get_y(), - polygon = []; - for(var i = 0; i < n; i++){ - polygon.push([px.getValue(i), py.getValue(i)]); - } - Module._ptaDestroy(Module.getPointer(poly)); - } - - block = { - paragraphs: [], - - text: ri.GetUTF8Text(Module.RIL_BLOCK), - confidence: ri.Confidence(Module.RIL_BLOCK), - baseline: ri.getBaseline(Module.RIL_BLOCK), - bbox: ri.getBoundingBox(Module.RIL_BLOCK), - - blocktype: enumToString(ri.BlockType(), 'PT'), - polygon: polygon - } - blocks.push(block) - } - if(ri.IsAtBeginningOf(Module.RIL_PARA)){ - para = { - lines: [], - - text: ri.GetUTF8Text(Module.RIL_PARA), - confidence: ri.Confidence(Module.RIL_PARA), - baseline: ri.getBaseline(Module.RIL_PARA), - bbox: ri.getBoundingBox(Module.RIL_PARA), - - is_ltr: !!ri.ParagraphIsLtr() - } - block.paragraphs.push(para) - } - if(ri.IsAtBeginningOf(Module.RIL_TEXTLINE)){ - textline = { - words: [], - - text: ri.GetUTF8Text(Module.RIL_TEXTLINE), - confidence: ri.Confidence(Module.RIL_TEXTLINE), - baseline: ri.getBaseline(Module.RIL_TEXTLINE), - bbox: ri.getBoundingBox(Module.RIL_TEXTLINE) - } - para.lines.push(textline) - } - if(ri.IsAtBeginningOf(Module.RIL_WORD)){ - var fontInfo = ri.getWordFontAttributes(), - wordDir = ri.WordDirection(); - word = { - symbols: [], - choices: [], - - text: ri.GetUTF8Text(Module.RIL_WORD), - confidence: ri.Confidence(Module.RIL_WORD), - baseline: ri.getBaseline(Module.RIL_WORD), - bbox: ri.getBoundingBox(Module.RIL_WORD), - - is_numeric: !!ri.WordIsNumeric(), - in_dictionary: !!ri.WordIsFromDictionary(), - direction: enumToString(wordDir, 'DIR'), - language: ri.WordRecognitionLanguage(), - - is_bold: fontInfo.is_bold, - is_italic: fontInfo.is_italic, - is_underlined: fontInfo.is_underlined, - is_monospace: fontInfo.is_monospace, - is_serif: fontInfo.is_serif, - is_smallcaps: fontInfo.is_smallcaps, - font_size: fontInfo.pointsize, - font_id: fontInfo.font_id, - font_name: fontInfo.font_name, - } - var wc = new Module.WordChoiceIterator(ri); - do { - word.choices.push({ - text: wc.GetUTF8Text(), - confidence: wc.Confidence() - }) - } while (wc.Next()); - Module.destroy(wc) - textline.words.push(word) - } - - var image = null; - // var pix = ri.GetBinaryImage(Module.RIL_SYMBOL) - // var image = pix2array(pix); - // // for some reason it seems that things stop working if you destroy pics - // Module._pixDestroy(Module.getPointer(pix)); - if(ri.IsAtBeginningOf(Module.RIL_SYMBOL)){ - symbol = { - choices: [], - image: image, - - text: ri.GetUTF8Text(Module.RIL_SYMBOL), - confidence: ri.Confidence(Module.RIL_SYMBOL), - baseline: ri.getBaseline(Module.RIL_SYMBOL), - bbox: ri.getBoundingBox(Module.RIL_SYMBOL), - - is_superscript: !!ri.SymbolIsSuperscript(), - is_subscript: !!ri.SymbolIsSubscript(), - is_dropcap: !!ri.SymbolIsDropcap(), - } - word.symbols.push(symbol) - var ci = new Module.ChoiceIterator(ri); - do { - symbol.choices.push({ - text: ci.GetUTF8Text(), - confidence: ci.Confidence() - }) - } while (ci.Next()); - Module.destroy(ci) - } - } while (ri.Next(Module.RIL_SYMBOL)); - Module.destroy(ri) - - return { - text: base.GetUTF8Text(), - html: deindent(base.GetHOCRText()), - - confidence: base.MeanTextConf(), - - blocks: blocks, - - psm: enumToString(base.GetPageSegMode(), 'PSM'), - oem: enumToString(base.oem(), 'OEM'), - version: base.Version(), - } - } - - function deindent(html){ - var lines = html.split('\n') - if(lines[0].substring(0,2) === " "){ - for (var i = 0; i < lines.length; i++) { - if (lines[i].substring(0,2) === " ") { - lines[i] = lines[i].slice(2) - } - }; - } - return lines.join('\n') - } - - function desaturate(image){ - var width, height; - if(image.data){ - var src = image.data; - width = image.width, height = image.height; - var dst = new Uint8Array(width * height); - var srcLength = src.length | 0, srcLength_16 = (srcLength - 16) | 0; - - for (var i = 0, j = 0; i <= srcLength_16; i += 16, j += 4) { - // convert to grayscale 4 pixels at a time; eveything with alpha get put in front of 50% gray - dst[j] = (((src[i] * 77 + src[i+1] * 151 + src[i+2] * 28) * src[i+3]) + ((255-src[i+3]) << 15) + 32768) >> 16 - dst[j+1] = (((src[i+4] * 77 + src[i+5] * 151 + src[i+6] * 28) * src[i+7]) + ((255-src[i+7]) << 15) + 32768) >> 16 - dst[j+2] = (((src[i+8] * 77 + src[i+9] * 151 + src[i+10] * 28) * src[i+11]) + ((255-src[i+11]) << 15) + 32768) >> 16 - dst[j+3] = (((src[i+12] * 77 + src[i+13] * 151 + src[i+14] * 28) * src[i+15]) + ((255-src[i+15]) << 15) + 32768) >> 16 - - } - for (; i < srcLength; i += 4, ++j) //finish up - dst[j] = (((src[i] * 77 + src[i+1] * 151 + src[i+2] * 28) * src[i+3]) + ((255-src[i+3]) << 15) + 32768) >> 16 - - image = dst; - } - else { - throw 'Expected ImageData' - } - return image - } - - function recognize(index, image, lang, options, cb){ - - - var width = image.width, height = image.height; - - image = desaturate(image) - - var ptr = Module.allocate(image, 'i8', Module.ALLOC_NORMAL); - - loadLanguage(lang, index, function(err, result){ - - if(err){ - console.error("error loading", lang); - Module._free(ptr); - cb(err, null) - } - else { - curindex = index - - base.Init(null, lang) - - postMessage({ - index: index, - 'progress': { - 'initialized_with_lang': true, - 'lang': lang - } - }) - - for (var option in options) { - if (options.hasOwnProperty(option)) { - base.SetVariable(option, options[option]); - postMessage({ - index: index, - 'progress': { - 'set_variable': { - variable: option, - value: options[option] - } - } - }) - } - } - - - base.SetImage(Module.wrapPointer(ptr), width, height, 1, width) - base.SetRectangle(0, 0, width, height) - // base.GetUTF8Text() - base.Recognize(null) - var everything = circularize(DumpLiterallyEverything()) - base.End(); - Module._free(ptr); - cb(null, everything) - - } - }) - } - - function detect(index, image, cb){ - var width = image.width, height = image.height; - image = desaturate(image) - - var ptr = Module.allocate(image, 'i8', Module.ALLOC_NORMAL); - console.log('allocated image') - // base = new Module.TessBaseAPI() - - loadLanguage('osd', index, function(err, result){ - if(err){ - Module._free(ptr); - cb(err) - } - else { - curindex = index - base.Init(null, 'osd') - base.SetPageSegMode(Module.PSM_OSD_ONLY) - console.log('loaded language') - - base.SetImage(Module.wrapPointer(ptr), width, height, 1, width) - base.SetRectangle(0, 0, width, height) - - var results = new Module.OSResults(); - var success = base.DetectOS(results); - if(!success){ - base.End(); - Module._free(ptr); - cb("failed to detect os") - } - else { - var charset = results.get_unicharset() - console.log(charset) - // results.print_scores() - - var best = results.get_best_result() - var oid = best.get_orientation_id(), - sid = best.get_script_id(); - // console.log('orientation id', oid, [0, 270, 180, 90][oid], best.get_oconfidence()) - // console.log('script id', sid, charset.get_script_from_script_id(sid), best.get_sconfidence()) - // console.log(best) - - cb(null, { - tesseract_script_id: sid, - script: charset.get_script_from_script_id(sid), - script_confidence: best.get_sconfidence(), - orientation_degrees: [0, 270, 180, 90][oid], - orientation_confidence: best.get_oconfidence() - }) - - base.End(); - Module._free(ptr); - } - } - }) - } - - return { - recognize: recognize, - detect: detect - } -}) - -onmessage = function(e) { - - if(e.data.init){ - T = tesseractinit(e.data.init.mem) - } - else if(e.data.fun === 'recognize'){ - T.recognize(e.data.index, e.data.image, e.data.lang, e.data.options, function(err, result){ - postMessage({index: e.data.index, err:err, result: result}) - }) - } - else if(e.data.fun === 'detect'){ - T.detect(e.data.index, e.data.image, function(err, result){ - postMessage({index: e.data.index, err:err, result: result}) - }) - } -} -},{"level-js":1,"pako":19,"tesseract.js-core":35}],37:[function(require,module,exports){ -/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */ - -var base64 = require('base64-js') -var ieee754 = require('ieee754') -var isArray = require('is-array') - -exports.Buffer = Buffer -exports.SlowBuffer = SlowBuffer -exports.INSPECT_MAX_BYTES = 50 -Buffer.poolSize = 8192 // not used by this implementation - -var kMaxLength = 0x3fffffff -var rootParent = {} - -/** - * If `Buffer.TYPED_ARRAY_SUPPORT`: - * === true Use Uint8Array implementation (fastest) - * === false Use Object implementation (most compatible, even IE6) - * - * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+, - * Opera 11.6+, iOS 4.2+. - * - * Note: - * - * - Implementation must support adding new properties to `Uint8Array` instances. - * Firefox 4-29 lacked support, fixed in Firefox 30+. - * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438. - * - * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function. - * - * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of - * incorrect length in some situations. - * - * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they will - * get the Object implementation, which is slower but will work correctly. - */ -Buffer.TYPED_ARRAY_SUPPORT = (function () { - try { - var buf = new ArrayBuffer(0) - var arr = new Uint8Array(buf) - arr.foo = function () { return 42 } - return arr.foo() === 42 && // typed array instances can be augmented - typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray` - new Uint8Array(1).subarray(1, 1).byteLength === 0 // ie10 has broken `subarray` - } catch (e) { - return false - } -})() - -/** - * Class: Buffer - * ============= - * - * The Buffer constructor returns instances of `Uint8Array` that are augmented - * with function properties for all the node `Buffer` API functions. We use - * `Uint8Array` so that square bracket notation works as expected -- it returns - * a single octet. - * - * By augmenting the instances, we can avoid modifying the `Uint8Array` - * prototype. - */ -function Buffer (arg) { - if (!(this instanceof Buffer)) { - // Avoid going through an ArgumentsAdaptorTrampoline in the common case. - if (arguments.length > 1) return new Buffer(arg, arguments[1]) - return new Buffer(arg) - } - - this.length = 0 - this.parent = undefined - - // Common case. - if (typeof arg === 'number') { - return fromNumber(this, arg) - } - - // Slightly less common case. - if (typeof arg === 'string') { - return fromString(this, arg, arguments.length > 1 ? arguments[1] : 'utf8') - } - - // Unusual. - return fromObject(this, arg) -} - -function fromNumber (that, length) { - that = allocate(that, length < 0 ? 0 : checked(length) | 0) - if (!Buffer.TYPED_ARRAY_SUPPORT) { - for (var i = 0; i < length; i++) { - that[i] = 0 - } - } - return that -} - -function fromString (that, string, encoding) { - if (typeof encoding !== 'string' || encoding === '') encoding = 'utf8' - - // Assumption: byteLength() return value is always < kMaxLength. - var length = byteLength(string, encoding) | 0 - that = allocate(that, length) - - that.write(string, encoding) - return that -} - -function fromObject (that, object) { - if (Buffer.isBuffer(object)) return fromBuffer(that, object) - - if (isArray(object)) return fromArray(that, object) - - if (object == null) { - throw new TypeError('must start with number, buffer, array or string') - } - - if (typeof ArrayBuffer !== 'undefined' && object.buffer instanceof ArrayBuffer) { - return fromTypedArray(that, object) - } - - if (object.length) return fromArrayLike(that, object) - - return fromJsonObject(that, object) -} - -function fromBuffer (that, buffer) { - var length = checked(buffer.length) | 0 - that = allocate(that, length) - buffer.copy(that, 0, 0, length) - return that -} - -function fromArray (that, array) { - var length = checked(array.length) | 0 - that = allocate(that, length) - for (var i = 0; i < length; i += 1) { - that[i] = array[i] & 255 - } - return that -} - -// Duplicate of fromArray() to keep fromArray() monomorphic. -function fromTypedArray (that, array) { - var length = checked(array.length) | 0 - that = allocate(that, length) - // Truncating the elements is probably not what people expect from typed - // arrays with BYTES_PER_ELEMENT > 1 but it's compatible with the behavior - // of the old Buffer constructor. - for (var i = 0; i < length; i += 1) { - that[i] = array[i] & 255 - } - return that -} - -function fromArrayLike (that, array) { - var length = checked(array.length) | 0 - that = allocate(that, length) - for (var i = 0; i < length; i += 1) { - that[i] = array[i] & 255 - } - return that -} - -// Deserialize { type: 'Buffer', data: [1,2,3,...] } into a Buffer object. -// Returns a zero-length buffer for inputs that don't conform to the spec. -function fromJsonObject (that, object) { - var array - var length = 0 - - if (object.type === 'Buffer' && isArray(object.data)) { - array = object.data - length = checked(array.length) | 0 - } - that = allocate(that, length) - - for (var i = 0; i < length; i += 1) { - that[i] = array[i] & 255 - } - return that -} - -function allocate (that, length) { - if (Buffer.TYPED_ARRAY_SUPPORT) { - // Return an augmented `Uint8Array` instance, for best performance - that = Buffer._augment(new Uint8Array(length)) - } else { - // Fallback: Return an object instance of the Buffer class - that.length = length - that._isBuffer = true - } - - var fromPool = length !== 0 && length <= Buffer.poolSize >>> 1 - if (fromPool) that.parent = rootParent - - return that -} - -function checked (length) { - // Note: cannot use `length < kMaxLength` here because that fails when - // length is NaN (which is otherwise coerced to zero.) - if (length >= kMaxLength) { - throw new RangeError('Attempt to allocate Buffer larger than maximum ' + - 'size: 0x' + kMaxLength.toString(16) + ' bytes') - } - return length | 0 -} - -function SlowBuffer (subject, encoding) { - if (!(this instanceof SlowBuffer)) return new SlowBuffer(subject, encoding) - - var buf = new Buffer(subject, encoding) - delete buf.parent - return buf -} - -Buffer.isBuffer = function isBuffer (b) { - return !!(b != null && b._isBuffer) -} - -Buffer.compare = function compare (a, b) { - if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) { - throw new TypeError('Arguments must be Buffers') - } - - if (a === b) return 0 - - var x = a.length - var y = b.length - - var i = 0 - var len = Math.min(x, y) - while (i < len) { - if (a[i] !== b[i]) break - - ++i - } - - if (i !== len) { - x = a[i] - y = b[i] - } - - if (x < y) return -1 - if (y < x) return 1 - return 0 -} - -Buffer.isEncoding = function isEncoding (encoding) { - switch (String(encoding).toLowerCase()) { - case 'hex': - case 'utf8': - case 'utf-8': - case 'ascii': - case 'binary': - case 'base64': - case 'raw': - case 'ucs2': - case 'ucs-2': - case 'utf16le': - case 'utf-16le': - return true - default: - return false - } -} - -Buffer.concat = function concat (list, length) { - if (!isArray(list)) throw new TypeError('list argument must be an Array of Buffers.') - - if (list.length === 0) { - return new Buffer(0) - } else if (list.length === 1) { - return list[0] - } - - var i - if (length === undefined) { - length = 0 - for (i = 0; i < list.length; i++) { - length += list[i].length - } - } - - var buf = new Buffer(length) - var pos = 0 - for (i = 0; i < list.length; i++) { - var item = list[i] - item.copy(buf, pos) - pos += item.length - } - return buf -} - -function byteLength (string, encoding) { - if (typeof string !== 'string') string = String(string) - - if (string.length === 0) return 0 - - switch (encoding || 'utf8') { - case 'ascii': - case 'binary': - case 'raw': - return string.length - case 'ucs2': - case 'ucs-2': - case 'utf16le': - case 'utf-16le': - return string.length * 2 - case 'hex': - return string.length >>> 1 - case 'utf8': - case 'utf-8': - return utf8ToBytes(string).length - case 'base64': - return base64ToBytes(string).length - default: - return string.length - } -} -Buffer.byteLength = byteLength - -// pre-set for values that may exist in the future -Buffer.prototype.length = undefined -Buffer.prototype.parent = undefined - -// toString(encoding, start=0, end=buffer.length) -Buffer.prototype.toString = function toString (encoding, start, end) { - var loweredCase = false - - start = start | 0 - end = end === undefined || end === Infinity ? this.length : end | 0 - - if (!encoding) encoding = 'utf8' - if (start < 0) start = 0 - if (end > this.length) end = this.length - if (end <= start) return '' - - while (true) { - switch (encoding) { - case 'hex': - return hexSlice(this, start, end) - - case 'utf8': - case 'utf-8': - return utf8Slice(this, start, end) - - case 'ascii': - return asciiSlice(this, start, end) - - case 'binary': - return binarySlice(this, start, end) - - case 'base64': - return base64Slice(this, start, end) - - case 'ucs2': - case 'ucs-2': - case 'utf16le': - case 'utf-16le': - return utf16leSlice(this, start, end) - - default: - if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding) - encoding = (encoding + '').toLowerCase() - loweredCase = true - } - } -} - -Buffer.prototype.equals = function equals (b) { - if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer') - if (this === b) return true - return Buffer.compare(this, b) === 0 -} - -Buffer.prototype.inspect = function inspect () { - var str = '' - var max = exports.INSPECT_MAX_BYTES - if (this.length > 0) { - str = this.toString('hex', 0, max).match(/.{2}/g).join(' ') - if (this.length > max) str += ' ... ' - } - return '' -} - -Buffer.prototype.compare = function compare (b) { - if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer') - if (this === b) return 0 - return Buffer.compare(this, b) -} - -Buffer.prototype.indexOf = function indexOf (val, byteOffset) { - if (byteOffset > 0x7fffffff) byteOffset = 0x7fffffff - else if (byteOffset < -0x80000000) byteOffset = -0x80000000 - byteOffset >>= 0 - - if (this.length === 0) return -1 - if (byteOffset >= this.length) return -1 - - // Negative offsets start from the end of the buffer - if (byteOffset < 0) byteOffset = Math.max(this.length + byteOffset, 0) - - if (typeof val === 'string') { - if (val.length === 0) return -1 // special case: looking for empty string always fails - return String.prototype.indexOf.call(this, val, byteOffset) - } - if (Buffer.isBuffer(val)) { - return arrayIndexOf(this, val, byteOffset) - } - if (typeof val === 'number') { - if (Buffer.TYPED_ARRAY_SUPPORT && Uint8Array.prototype.indexOf === 'function') { - return Uint8Array.prototype.indexOf.call(this, val, byteOffset) - } - return arrayIndexOf(this, [ val ], byteOffset) - } - - function arrayIndexOf (arr, val, byteOffset) { - var foundIndex = -1 - for (var i = 0; byteOffset + i < arr.length; i++) { - if (arr[byteOffset + i] === val[foundIndex === -1 ? 0 : i - foundIndex]) { - if (foundIndex === -1) foundIndex = i - if (i - foundIndex + 1 === val.length) return byteOffset + foundIndex - } else { - foundIndex = -1 - } - } - return -1 - } - - throw new TypeError('val must be string, number or Buffer') -} - -// `get` will be removed in Node 0.13+ -Buffer.prototype.get = function get (offset) { - console.log('.get() is deprecated. Access using array indexes instead.') - return this.readUInt8(offset) -} - -// `set` will be removed in Node 0.13+ -Buffer.prototype.set = function set (v, offset) { - console.log('.set() is deprecated. Access using array indexes instead.') - return this.writeUInt8(v, offset) -} - -function hexWrite (buf, string, offset, length) { - offset = Number(offset) || 0 - var remaining = buf.length - offset - if (!length) { - length = remaining - } else { - length = Number(length) - if (length > remaining) { - length = remaining - } - } - - // must be an even number of digits - var strLen = string.length - if (strLen % 2 !== 0) throw new Error('Invalid hex string') - - if (length > strLen / 2) { - length = strLen / 2 - } - for (var i = 0; i < length; i++) { - var parsed = parseInt(string.substr(i * 2, 2), 16) - if (isNaN(parsed)) throw new Error('Invalid hex string') - buf[offset + i] = parsed - } - return i -} - -function utf8Write (buf, string, offset, length) { - return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length) -} - -function asciiWrite (buf, string, offset, length) { - return blitBuffer(asciiToBytes(string), buf, offset, length) -} - -function binaryWrite (buf, string, offset, length) { - return asciiWrite(buf, string, offset, length) -} - -function base64Write (buf, string, offset, length) { - return blitBuffer(base64ToBytes(string), buf, offset, length) -} - -function ucs2Write (buf, string, offset, length) { - return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length) -} - -Buffer.prototype.write = function write (string, offset, length, encoding) { - // Buffer#write(string) - if (offset === undefined) { - encoding = 'utf8' - length = this.length - offset = 0 - // Buffer#write(string, encoding) - } else if (length === undefined && typeof offset === 'string') { - encoding = offset - length = this.length - offset = 0 - // Buffer#write(string, offset[, length][, encoding]) - } else if (isFinite(offset)) { - offset = offset | 0 - if (isFinite(length)) { - length = length | 0 - if (encoding === undefined) encoding = 'utf8' - } else { - encoding = length - length = undefined - } - // legacy write(string, encoding, offset, length) - remove in v0.13 - } else { - var swap = encoding - encoding = offset - offset = length | 0 - length = swap - } - - var remaining = this.length - offset - if (length === undefined || length > remaining) length = remaining - - if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) { - throw new RangeError('attempt to write outside buffer bounds') - } - - if (!encoding) encoding = 'utf8' - - var loweredCase = false - for (;;) { - switch (encoding) { - case 'hex': - return hexWrite(this, string, offset, length) - - case 'utf8': - case 'utf-8': - return utf8Write(this, string, offset, length) - - case 'ascii': - return asciiWrite(this, string, offset, length) - - case 'binary': - return binaryWrite(this, string, offset, length) - - case 'base64': - // Warning: maxLength not taken into account in base64Write - return base64Write(this, string, offset, length) - - case 'ucs2': - case 'ucs-2': - case 'utf16le': - case 'utf-16le': - return ucs2Write(this, string, offset, length) - - default: - if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding) - encoding = ('' + encoding).toLowerCase() - loweredCase = true - } - } -} - -Buffer.prototype.toJSON = function toJSON () { - return { - type: 'Buffer', - data: Array.prototype.slice.call(this._arr || this, 0) - } -} - -function base64Slice (buf, start, end) { - if (start === 0 && end === buf.length) { - return base64.fromByteArray(buf) - } else { - return base64.fromByteArray(buf.slice(start, end)) - } -} - -function utf8Slice (buf, start, end) { - var res = '' - var tmp = '' - end = Math.min(buf.length, end) - - for (var i = start; i < end; i++) { - if (buf[i] <= 0x7F) { - res += decodeUtf8Char(tmp) + String.fromCharCode(buf[i]) - tmp = '' - } else { - tmp += '%' + buf[i].toString(16) - } - } - - return res + decodeUtf8Char(tmp) -} - -function asciiSlice (buf, start, end) { - var ret = '' - end = Math.min(buf.length, end) - - for (var i = start; i < end; i++) { - ret += String.fromCharCode(buf[i] & 0x7F) - } - return ret -} - -function binarySlice (buf, start, end) { - var ret = '' - end = Math.min(buf.length, end) - - for (var i = start; i < end; i++) { - ret += String.fromCharCode(buf[i]) - } - return ret -} - -function hexSlice (buf, start, end) { - var len = buf.length - - if (!start || start < 0) start = 0 - if (!end || end < 0 || end > len) end = len - - var out = '' - for (var i = start; i < end; i++) { - out += toHex(buf[i]) - } - return out -} - -function utf16leSlice (buf, start, end) { - var bytes = buf.slice(start, end) - var res = '' - for (var i = 0; i < bytes.length; i += 2) { - res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256) - } - return res -} - -Buffer.prototype.slice = function slice (start, end) { - var len = this.length - start = ~~start - end = end === undefined ? len : ~~end - - if (start < 0) { - start += len - if (start < 0) start = 0 - } else if (start > len) { - start = len - } - - if (end < 0) { - end += len - if (end < 0) end = 0 - } else if (end > len) { - end = len - } - - if (end < start) end = start - - var newBuf - if (Buffer.TYPED_ARRAY_SUPPORT) { - newBuf = Buffer._augment(this.subarray(start, end)) - } else { - var sliceLen = end - start - newBuf = new Buffer(sliceLen, undefined) - for (var i = 0; i < sliceLen; i++) { - newBuf[i] = this[i + start] - } - } - - if (newBuf.length) newBuf.parent = this.parent || this - - return newBuf -} - -/* - * Need to make sure that buffer isn't trying to write out of bounds. - */ -function checkOffset (offset, ext, length) { - if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint') - if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length') -} - -Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) { - offset = offset | 0 - byteLength = byteLength | 0 - if (!noAssert) checkOffset(offset, byteLength, this.length) - - var val = this[offset] - var mul = 1 - var i = 0 - while (++i < byteLength && (mul *= 0x100)) { - val += this[offset + i] * mul - } - - return val -} - -Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) { - offset = offset | 0 - byteLength = byteLength | 0 - if (!noAssert) { - checkOffset(offset, byteLength, this.length) - } - - var val = this[offset + --byteLength] - var mul = 1 - while (byteLength > 0 && (mul *= 0x100)) { - val += this[offset + --byteLength] * mul - } - - return val -} - -Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) { - if (!noAssert) checkOffset(offset, 1, this.length) - return this[offset] -} - -Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 2, this.length) - return this[offset] | (this[offset + 1] << 8) -} - -Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 2, this.length) - return (this[offset] << 8) | this[offset + 1] -} - -Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length) - - return ((this[offset]) | - (this[offset + 1] << 8) | - (this[offset + 2] << 16)) + - (this[offset + 3] * 0x1000000) -} - -Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length) - - return (this[offset] * 0x1000000) + - ((this[offset + 1] << 16) | - (this[offset + 2] << 8) | - this[offset + 3]) -} - -Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) { - offset = offset | 0 - byteLength = byteLength | 0 - if (!noAssert) checkOffset(offset, byteLength, this.length) - - var val = this[offset] - var mul = 1 - var i = 0 - while (++i < byteLength && (mul *= 0x100)) { - val += this[offset + i] * mul - } - mul *= 0x80 - - if (val >= mul) val -= Math.pow(2, 8 * byteLength) - - return val -} - -Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) { - offset = offset | 0 - byteLength = byteLength | 0 - if (!noAssert) checkOffset(offset, byteLength, this.length) - - var i = byteLength - var mul = 1 - var val = this[offset + --i] - while (i > 0 && (mul *= 0x100)) { - val += this[offset + --i] * mul - } - mul *= 0x80 - - if (val >= mul) val -= Math.pow(2, 8 * byteLength) - - return val -} - -Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) { - if (!noAssert) checkOffset(offset, 1, this.length) - if (!(this[offset] & 0x80)) return (this[offset]) - return ((0xff - this[offset] + 1) * -1) -} - -Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 2, this.length) - var val = this[offset] | (this[offset + 1] << 8) - return (val & 0x8000) ? val | 0xFFFF0000 : val -} - -Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 2, this.length) - var val = this[offset + 1] | (this[offset] << 8) - return (val & 0x8000) ? val | 0xFFFF0000 : val -} - -Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length) - - return (this[offset]) | - (this[offset + 1] << 8) | - (this[offset + 2] << 16) | - (this[offset + 3] << 24) -} - -Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length) - - return (this[offset] << 24) | - (this[offset + 1] << 16) | - (this[offset + 2] << 8) | - (this[offset + 3]) -} - -Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length) - return ieee754.read(this, offset, true, 23, 4) -} - -Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length) - return ieee754.read(this, offset, false, 23, 4) -} - -Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 8, this.length) - return ieee754.read(this, offset, true, 52, 8) -} - -Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) { - if (!noAssert) checkOffset(offset, 8, this.length) - return ieee754.read(this, offset, false, 52, 8) -} - -function checkInt (buf, value, offset, ext, max, min) { - if (!Buffer.isBuffer(buf)) throw new TypeError('buffer must be a Buffer instance') - if (value > max || value < min) throw new RangeError('value is out of bounds') - if (offset + ext > buf.length) throw new RangeError('index out of range') -} - -Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) { - value = +value - offset = offset | 0 - byteLength = byteLength | 0 - if (!noAssert) checkInt(this, value, offset, byteLength, Math.pow(2, 8 * byteLength), 0) - - var mul = 1 - var i = 0 - this[offset] = value & 0xFF - while (++i < byteLength && (mul *= 0x100)) { - this[offset + i] = (value / mul) & 0xFF - } - - return offset + byteLength -} - -Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) { - value = +value - offset = offset | 0 - byteLength = byteLength | 0 - if (!noAssert) checkInt(this, value, offset, byteLength, Math.pow(2, 8 * byteLength), 0) - - var i = byteLength - 1 - var mul = 1 - this[offset + i] = value & 0xFF - while (--i >= 0 && (mul *= 0x100)) { - this[offset + i] = (value / mul) & 0xFF - } - - return offset + byteLength -} - -Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0) - if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value) - this[offset] = value - return offset + 1 -} - -function objectWriteUInt16 (buf, value, offset, littleEndian) { - if (value < 0) value = 0xffff + value + 1 - for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; i++) { - buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>> - (littleEndian ? i : 1 - i) * 8 - } -} - -Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0) - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = value - this[offset + 1] = (value >>> 8) - } else { - objectWriteUInt16(this, value, offset, true) - } - return offset + 2 -} - -Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0) - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = (value >>> 8) - this[offset + 1] = value - } else { - objectWriteUInt16(this, value, offset, false) - } - return offset + 2 -} - -function objectWriteUInt32 (buf, value, offset, littleEndian) { - if (value < 0) value = 0xffffffff + value + 1 - for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; i++) { - buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff - } -} - -Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0) - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset + 3] = (value >>> 24) - this[offset + 2] = (value >>> 16) - this[offset + 1] = (value >>> 8) - this[offset] = value - } else { - objectWriteUInt32(this, value, offset, true) - } - return offset + 4 -} - -Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0) - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = (value >>> 24) - this[offset + 1] = (value >>> 16) - this[offset + 2] = (value >>> 8) - this[offset + 3] = value - } else { - objectWriteUInt32(this, value, offset, false) - } - return offset + 4 -} - -Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) { - var limit = Math.pow(2, 8 * byteLength - 1) - - checkInt(this, value, offset, byteLength, limit - 1, -limit) - } - - var i = 0 - var mul = 1 - var sub = value < 0 ? 1 : 0 - this[offset] = value & 0xFF - while (++i < byteLength && (mul *= 0x100)) { - this[offset + i] = ((value / mul) >> 0) - sub & 0xFF - } - - return offset + byteLength -} - -Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) { - var limit = Math.pow(2, 8 * byteLength - 1) - - checkInt(this, value, offset, byteLength, limit - 1, -limit) - } - - var i = byteLength - 1 - var mul = 1 - var sub = value < 0 ? 1 : 0 - this[offset + i] = value & 0xFF - while (--i >= 0 && (mul *= 0x100)) { - this[offset + i] = ((value / mul) >> 0) - sub & 0xFF - } - - return offset + byteLength -} - -Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80) - if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value) - if (value < 0) value = 0xff + value + 1 - this[offset] = value - return offset + 1 -} - -Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000) - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = value - this[offset + 1] = (value >>> 8) - } else { - objectWriteUInt16(this, value, offset, true) - } - return offset + 2 -} - -Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000) - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = (value >>> 8) - this[offset + 1] = value - } else { - objectWriteUInt16(this, value, offset, false) - } - return offset + 2 -} - -Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000) - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = value - this[offset + 1] = (value >>> 8) - this[offset + 2] = (value >>> 16) - this[offset + 3] = (value >>> 24) - } else { - objectWriteUInt32(this, value, offset, true) - } - return offset + 4 -} - -Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) { - value = +value - offset = offset | 0 - if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000) - if (value < 0) value = 0xffffffff + value + 1 - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = (value >>> 24) - this[offset + 1] = (value >>> 16) - this[offset + 2] = (value >>> 8) - this[offset + 3] = value - } else { - objectWriteUInt32(this, value, offset, false) - } - return offset + 4 -} - -function checkIEEE754 (buf, value, offset, ext, max, min) { - if (value > max || value < min) throw new RangeError('value is out of bounds') - if (offset + ext > buf.length) throw new RangeError('index out of range') - if (offset < 0) throw new RangeError('index out of range') -} - -function writeFloat (buf, value, offset, littleEndian, noAssert) { - if (!noAssert) { - checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38) - } - ieee754.write(buf, value, offset, littleEndian, 23, 4) - return offset + 4 -} - -Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) { - return writeFloat(this, value, offset, true, noAssert) -} - -Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) { - return writeFloat(this, value, offset, false, noAssert) -} - -function writeDouble (buf, value, offset, littleEndian, noAssert) { - if (!noAssert) { - checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308) - } - ieee754.write(buf, value, offset, littleEndian, 52, 8) - return offset + 8 -} - -Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) { - return writeDouble(this, value, offset, true, noAssert) -} - -Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) { - return writeDouble(this, value, offset, false, noAssert) -} - -// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length) -Buffer.prototype.copy = function copy (target, targetStart, start, end) { - if (!start) start = 0 - if (!end && end !== 0) end = this.length - if (targetStart >= target.length) targetStart = target.length - if (!targetStart) targetStart = 0 - if (end > 0 && end < start) end = start - - // Copy 0 bytes; we're done - if (end === start) return 0 - if (target.length === 0 || this.length === 0) return 0 - - // Fatal error conditions - if (targetStart < 0) { - throw new RangeError('targetStart out of bounds') - } - if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds') - if (end < 0) throw new RangeError('sourceEnd out of bounds') - - // Are we oob? - if (end > this.length) end = this.length - if (target.length - targetStart < end - start) { - end = target.length - targetStart + start - } - - var len = end - start - - if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) { - for (var i = 0; i < len; i++) { - target[i + targetStart] = this[i + start] - } - } else { - target._set(this.subarray(start, start + len), targetStart) - } - - return len -} - -// fill(value, start=0, end=buffer.length) -Buffer.prototype.fill = function fill (value, start, end) { - if (!value) value = 0 - if (!start) start = 0 - if (!end) end = this.length - - if (end < start) throw new RangeError('end < start') - - // Fill 0 bytes; we're done - if (end === start) return - if (this.length === 0) return - - if (start < 0 || start >= this.length) throw new RangeError('start out of bounds') - if (end < 0 || end > this.length) throw new RangeError('end out of bounds') - - var i - if (typeof value === 'number') { - for (i = start; i < end; i++) { - this[i] = value - } - } else { - var bytes = utf8ToBytes(value.toString()) - var len = bytes.length - for (i = start; i < end; i++) { - this[i] = bytes[i % len] - } - } - - return this -} - -/** - * Creates a new `ArrayBuffer` with the *copied* memory of the buffer instance. - * Added in Node 0.12. Only available in browsers that support ArrayBuffer. - */ -Buffer.prototype.toArrayBuffer = function toArrayBuffer () { - if (typeof Uint8Array !== 'undefined') { - if (Buffer.TYPED_ARRAY_SUPPORT) { - return (new Buffer(this)).buffer - } else { - var buf = new Uint8Array(this.length) - for (var i = 0, len = buf.length; i < len; i += 1) { - buf[i] = this[i] - } - return buf.buffer - } - } else { - throw new TypeError('Buffer.toArrayBuffer not supported in this browser') - } -} - -// HELPER FUNCTIONS -// ================ - -var BP = Buffer.prototype - -/** - * Augment a Uint8Array *instance* (not the Uint8Array class!) with Buffer methods - */ -Buffer._augment = function _augment (arr) { - arr.constructor = Buffer - arr._isBuffer = true - - // save reference to original Uint8Array set method before overwriting - arr._set = arr.set - - // deprecated, will be removed in node 0.13+ - arr.get = BP.get - arr.set = BP.set - - arr.write = BP.write - arr.toString = BP.toString - arr.toLocaleString = BP.toString - arr.toJSON = BP.toJSON - arr.equals = BP.equals - arr.compare = BP.compare - arr.indexOf = BP.indexOf - arr.copy = BP.copy - arr.slice = BP.slice - arr.readUIntLE = BP.readUIntLE - arr.readUIntBE = BP.readUIntBE - arr.readUInt8 = BP.readUInt8 - arr.readUInt16LE = BP.readUInt16LE - arr.readUInt16BE = BP.readUInt16BE - arr.readUInt32LE = BP.readUInt32LE - arr.readUInt32BE = BP.readUInt32BE - arr.readIntLE = BP.readIntLE - arr.readIntBE = BP.readIntBE - arr.readInt8 = BP.readInt8 - arr.readInt16LE = BP.readInt16LE - arr.readInt16BE = BP.readInt16BE - arr.readInt32LE = BP.readInt32LE - arr.readInt32BE = BP.readInt32BE - arr.readFloatLE = BP.readFloatLE - arr.readFloatBE = BP.readFloatBE - arr.readDoubleLE = BP.readDoubleLE - arr.readDoubleBE = BP.readDoubleBE - arr.writeUInt8 = BP.writeUInt8 - arr.writeUIntLE = BP.writeUIntLE - arr.writeUIntBE = BP.writeUIntBE - arr.writeUInt16LE = BP.writeUInt16LE - arr.writeUInt16BE = BP.writeUInt16BE - arr.writeUInt32LE = BP.writeUInt32LE - arr.writeUInt32BE = BP.writeUInt32BE - arr.writeIntLE = BP.writeIntLE - arr.writeIntBE = BP.writeIntBE - arr.writeInt8 = BP.writeInt8 - arr.writeInt16LE = BP.writeInt16LE - arr.writeInt16BE = BP.writeInt16BE - arr.writeInt32LE = BP.writeInt32LE - arr.writeInt32BE = BP.writeInt32BE - arr.writeFloatLE = BP.writeFloatLE - arr.writeFloatBE = BP.writeFloatBE - arr.writeDoubleLE = BP.writeDoubleLE - arr.writeDoubleBE = BP.writeDoubleBE - arr.fill = BP.fill - arr.inspect = BP.inspect - arr.toArrayBuffer = BP.toArrayBuffer - - return arr -} - -var INVALID_BASE64_RE = /[^+\/0-9A-z\-]/g - -function base64clean (str) { - // Node strips out invalid characters like \n and \t from the string, base64-js does not - str = stringtrim(str).replace(INVALID_BASE64_RE, '') - // Node converts strings with length < 2 to '' - if (str.length < 2) return '' - // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not - while (str.length % 4 !== 0) { - str = str + '=' - } - return str -} - -function stringtrim (str) { - if (str.trim) return str.trim() - return str.replace(/^\s+|\s+$/g, '') -} - -function toHex (n) { - if (n < 16) return '0' + n.toString(16) - return n.toString(16) -} - -function utf8ToBytes (string, units) { - units = units || Infinity - var codePoint - var length = string.length - var leadSurrogate = null - var bytes = [] - var i = 0 - - for (; i < length; i++) { - codePoint = string.charCodeAt(i) - - // is surrogate component - if (codePoint > 0xD7FF && codePoint < 0xE000) { - // last char was a lead - if (leadSurrogate) { - // 2 leads in a row - if (codePoint < 0xDC00) { - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) - leadSurrogate = codePoint - continue - } else { - // valid surrogate pair - codePoint = leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00 | 0x10000 - leadSurrogate = null - } - } else { - // no lead yet - - if (codePoint > 0xDBFF) { - // unexpected trail - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) - continue - } else if (i + 1 === length) { - // unpaired lead - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) - continue - } else { - // valid lead - leadSurrogate = codePoint - continue - } - } - } else if (leadSurrogate) { - // valid bmp char, but last char was a lead - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) - leadSurrogate = null - } - - // encode utf8 - if (codePoint < 0x80) { - if ((units -= 1) < 0) break - bytes.push(codePoint) - } else if (codePoint < 0x800) { - if ((units -= 2) < 0) break - bytes.push( - codePoint >> 0x6 | 0xC0, - codePoint & 0x3F | 0x80 - ) - } else if (codePoint < 0x10000) { - if ((units -= 3) < 0) break - bytes.push( - codePoint >> 0xC | 0xE0, - codePoint >> 0x6 & 0x3F | 0x80, - codePoint & 0x3F | 0x80 - ) - } else if (codePoint < 0x200000) { - if ((units -= 4) < 0) break - bytes.push( - codePoint >> 0x12 | 0xF0, - codePoint >> 0xC & 0x3F | 0x80, - codePoint >> 0x6 & 0x3F | 0x80, - codePoint & 0x3F | 0x80 - ) - } else { - throw new Error('Invalid code point') - } - } - - return bytes -} - -function asciiToBytes (str) { - var byteArray = [] - for (var i = 0; i < str.length; i++) { - // Node's code seems to be doing this and not & 0x7F.. - byteArray.push(str.charCodeAt(i) & 0xFF) - } - return byteArray -} - -function utf16leToBytes (str, units) { - var c, hi, lo - var byteArray = [] - for (var i = 0; i < str.length; i++) { - if ((units -= 2) < 0) break - - c = str.charCodeAt(i) - hi = c >> 8 - lo = c % 256 - byteArray.push(lo) - byteArray.push(hi) - } - - return byteArray -} - -function base64ToBytes (str) { - return base64.toByteArray(base64clean(str)) -} - -function blitBuffer (src, dst, offset, length) { - for (var i = 0; i < length; i++) { - if ((i + offset >= dst.length) || (i >= src.length)) break - dst[i + offset] = src[i] - } - return i -} - -function decodeUtf8Char (str) { - try { - return decodeURIComponent(str) - } catch (err) { - return String.fromCharCode(0xFFFD) // UTF 8 invalid char - } -} - -},{"base64-js":38,"ieee754":39,"is-array":40}],38:[function(require,module,exports){ -var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; - -;(function (exports) { - 'use strict'; - - var Arr = (typeof Uint8Array !== 'undefined') - ? Uint8Array - : Array - - var PLUS = '+'.charCodeAt(0) - var SLASH = '/'.charCodeAt(0) - var NUMBER = '0'.charCodeAt(0) - var LOWER = 'a'.charCodeAt(0) - var UPPER = 'A'.charCodeAt(0) - var PLUS_URL_SAFE = '-'.charCodeAt(0) - var SLASH_URL_SAFE = '_'.charCodeAt(0) - - function decode (elt) { - var code = elt.charCodeAt(0) - if (code === PLUS || - code === PLUS_URL_SAFE) - return 62 // '+' - if (code === SLASH || - code === SLASH_URL_SAFE) - return 63 // '/' - if (code < NUMBER) - return -1 //no match - if (code < NUMBER + 10) - return code - NUMBER + 26 + 26 - if (code < UPPER + 26) - return code - UPPER - if (code < LOWER + 26) - return code - LOWER + 26 - } - - function b64ToByteArray (b64) { - var i, j, l, tmp, placeHolders, arr - - if (b64.length % 4 > 0) { - throw new Error('Invalid string. Length must be a multiple of 4') - } - - // the number of equal signs (place holders) - // if there are two placeholders, than the two characters before it - // represent one byte - // if there is only one, then the three characters before it represent 2 bytes - // this is just a cheap hack to not do indexOf twice - var len = b64.length - placeHolders = '=' === b64.charAt(len - 2) ? 2 : '=' === b64.charAt(len - 1) ? 1 : 0 - - // base64 is 4/3 + up to two characters of the original data - arr = new Arr(b64.length * 3 / 4 - placeHolders) - - // if there are placeholders, only get up to the last complete 4 chars - l = placeHolders > 0 ? b64.length - 4 : b64.length - - var L = 0 - - function push (v) { - arr[L++] = v - } - - for (i = 0, j = 0; i < l; i += 4, j += 3) { - tmp = (decode(b64.charAt(i)) << 18) | (decode(b64.charAt(i + 1)) << 12) | (decode(b64.charAt(i + 2)) << 6) | decode(b64.charAt(i + 3)) - push((tmp & 0xFF0000) >> 16) - push((tmp & 0xFF00) >> 8) - push(tmp & 0xFF) - } - - if (placeHolders === 2) { - tmp = (decode(b64.charAt(i)) << 2) | (decode(b64.charAt(i + 1)) >> 4) - push(tmp & 0xFF) - } else if (placeHolders === 1) { - tmp = (decode(b64.charAt(i)) << 10) | (decode(b64.charAt(i + 1)) << 4) | (decode(b64.charAt(i + 2)) >> 2) - push((tmp >> 8) & 0xFF) - push(tmp & 0xFF) - } - - return arr - } - - function uint8ToBase64 (uint8) { - var i, - extraBytes = uint8.length % 3, // if we have 1 byte left, pad 2 bytes - output = "", - temp, length - - function encode (num) { - return lookup.charAt(num) - } - - function tripletToBase64 (num) { - return encode(num >> 18 & 0x3F) + encode(num >> 12 & 0x3F) + encode(num >> 6 & 0x3F) + encode(num & 0x3F) - } - - // go through the array every three bytes, we'll deal with trailing stuff later - for (i = 0, length = uint8.length - extraBytes; i < length; i += 3) { - temp = (uint8[i] << 16) + (uint8[i + 1] << 8) + (uint8[i + 2]) - output += tripletToBase64(temp) - } - - // pad the end with zeros, but make sure to not forget the extra bytes - switch (extraBytes) { - case 1: - temp = uint8[uint8.length - 1] - output += encode(temp >> 2) - output += encode((temp << 4) & 0x3F) - output += '==' - break - case 2: - temp = (uint8[uint8.length - 2] << 8) + (uint8[uint8.length - 1]) - output += encode(temp >> 10) - output += encode((temp >> 4) & 0x3F) - output += encode((temp << 2) & 0x3F) - output += '=' - break - } - - return output - } - - exports.toByteArray = b64ToByteArray - exports.fromByteArray = uint8ToBase64 -}(typeof exports === 'undefined' ? (this.base64js = {}) : exports)) - -},{}],39:[function(require,module,exports){ -exports.read = function (buffer, offset, isLE, mLen, nBytes) { - var e, m - var eLen = nBytes * 8 - mLen - 1 - var eMax = (1 << eLen) - 1 - var eBias = eMax >> 1 - var nBits = -7 - var i = isLE ? (nBytes - 1) : 0 - var d = isLE ? -1 : 1 - var s = buffer[offset + i] - - i += d - - e = s & ((1 << (-nBits)) - 1) - s >>= (-nBits) - nBits += eLen - for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {} - - m = e & ((1 << (-nBits)) - 1) - e >>= (-nBits) - nBits += mLen - for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {} - - if (e === 0) { - e = 1 - eBias - } else if (e === eMax) { - return m ? NaN : ((s ? -1 : 1) * Infinity) - } else { - m = m + Math.pow(2, mLen) - e = e - eBias - } - return (s ? -1 : 1) * m * Math.pow(2, e - mLen) -} - -exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { - var e, m, c - var eLen = nBytes * 8 - mLen - 1 - var eMax = (1 << eLen) - 1 - var eBias = eMax >> 1 - var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0) - var i = isLE ? 0 : (nBytes - 1) - var d = isLE ? 1 : -1 - var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0 - - value = Math.abs(value) - - if (isNaN(value) || value === Infinity) { - m = isNaN(value) ? 1 : 0 - e = eMax - } else { - e = Math.floor(Math.log(value) / Math.LN2) - if (value * (c = Math.pow(2, -e)) < 1) { - e-- - c *= 2 - } - if (e + eBias >= 1) { - value += rt / c - } else { - value += rt * Math.pow(2, 1 - eBias) - } - if (value * c >= 2) { - e++ - c /= 2 - } - - if (e + eBias >= eMax) { - m = 0 - e = eMax - } else if (e + eBias >= 1) { - m = (value * c - 1) * Math.pow(2, mLen) - e = e + eBias - } else { - m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen) - e = 0 - } - } - - for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {} - - e = (e << mLen) | m - eLen += mLen - for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {} - - buffer[offset + i - d] |= s * 128 -} - -},{}],40:[function(require,module,exports){ - -/** - * isArray - */ - -var isArray = Array.isArray; - -/** - * toString - */ - -var str = Object.prototype.toString; - -/** - * Whether or not the given `val` - * is an array. - * - * example: - * - * isArray([]); - * // > true - * isArray(arguments); - * // > false - * isArray(''); - * // > false - * - * @param {mixed} val - * @return {bool} - */ - -module.exports = isArray || function (val) { - return !! val && '[object Array]' == str.call(val); -}; - -},{}],41:[function(require,module,exports){ -if (typeof Object.create === 'function') { - // implementation from standard node.js 'util' module - module.exports = function inherits(ctor, superCtor) { - ctor.super_ = superCtor - ctor.prototype = Object.create(superCtor.prototype, { - constructor: { - value: ctor, - enumerable: false, - writable: true, - configurable: true - } - }); - }; -} else { - // old school shim for old browsers - module.exports = function inherits(ctor, superCtor) { - ctor.super_ = superCtor - var TempCtor = function () {} - TempCtor.prototype = superCtor.prototype - ctor.prototype = new TempCtor() - ctor.prototype.constructor = ctor - } -} - -},{}],42:[function(require,module,exports){ -// shim for using process in browser - -var process = module.exports = {}; -var queue = []; -var draining = false; -var currentQueue; -var queueIndex = -1; - -function cleanUpNextTick() { - draining = false; - if (currentQueue.length) { - queue = currentQueue.concat(queue); - } else { - queueIndex = -1; - } - if (queue.length) { - drainQueue(); - } -} - -function drainQueue() { - if (draining) { - return; - } - var timeout = setTimeout(cleanUpNextTick); - draining = true; - - var len = queue.length; - while(len) { - currentQueue = queue; - queue = []; - while (++queueIndex < len) { - currentQueue[queueIndex].run(); - } - queueIndex = -1; - len = queue.length; - } - currentQueue = null; - draining = false; - clearTimeout(timeout); -} - -process.nextTick = function (fun) { - var args = new Array(arguments.length - 1); - if (arguments.length > 1) { - for (var i = 1; i < arguments.length; i++) { - args[i - 1] = arguments[i]; - } - } - queue.push(new Item(fun, args)); - if (queue.length === 1 && !draining) { - setTimeout(drainQueue, 0); - } -}; - -// v8 likes predictible objects -function Item(fun, array) { - this.fun = fun; - this.array = array; -} -Item.prototype.run = function () { - this.fun.apply(null, this.array); -}; -process.title = 'browser'; -process.browser = true; -process.env = {}; -process.argv = []; -process.version = ''; // empty string to avoid regexp issues -process.versions = {}; - -function noop() {} - -process.on = noop; -process.addListener = noop; -process.once = noop; -process.off = noop; -process.removeListener = noop; -process.removeAllListeners = noop; -process.emit = noop; - -process.binding = function (name) { - throw new Error('process.binding is not supported'); -}; - -// TODO(shtylman) -process.cwd = function () { return '/' }; -process.chdir = function (dir) { - throw new Error('process.chdir is not supported'); -}; -process.umask = function() { return 0; }; - -},{}],43:[function(require,module,exports){ -module.exports = function isBuffer(arg) { - return arg && typeof arg === 'object' - && typeof arg.copy === 'function' - && typeof arg.fill === 'function' - && typeof arg.readUInt8 === 'function'; -} -},{}],44:[function(require,module,exports){ -(function (process,global){ -// Copyright Joyent, Inc. and other Node contributors. -// -// Permission is hereby granted, free of charge, to any person obtaining a -// copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to permit -// persons to whom the Software is furnished to do so, subject to the -// following conditions: -// -// The above copyright notice and this permission notice shall be included -// in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -// USE OR OTHER DEALINGS IN THE SOFTWARE. - -var formatRegExp = /%[sdj%]/g; -exports.format = function(f) { - if (!isString(f)) { - var objects = []; - for (var i = 0; i < arguments.length; i++) { - objects.push(inspect(arguments[i])); - } - return objects.join(' '); - } - - var i = 1; - var args = arguments; - var len = args.length; - var str = String(f).replace(formatRegExp, function(x) { - if (x === '%%') return '%'; - if (i >= len) return x; - switch (x) { - case '%s': return String(args[i++]); - case '%d': return Number(args[i++]); - case '%j': - try { - return JSON.stringify(args[i++]); - } catch (_) { - return '[Circular]'; - } - default: - return x; - } - }); - for (var x = args[i]; i < len; x = args[++i]) { - if (isNull(x) || !isObject(x)) { - str += ' ' + x; - } else { - str += ' ' + inspect(x); - } - } - return str; -}; - - -// Mark that a method should not be used. -// Returns a modified function which warns once by default. -// If --no-deprecation is set, then it is a no-op. -exports.deprecate = function(fn, msg) { - // Allow for deprecating things in the process of starting up. - if (isUndefined(global.process)) { - return function() { - return exports.deprecate(fn, msg).apply(this, arguments); - }; - } - - if (process.noDeprecation === true) { - return fn; - } - - var warned = false; - function deprecated() { - if (!warned) { - if (process.throwDeprecation) { - throw new Error(msg); - } else if (process.traceDeprecation) { - console.trace(msg); - } else { - console.error(msg); - } - warned = true; - } - return fn.apply(this, arguments); - } - - return deprecated; -}; - - -var debugs = {}; -var debugEnviron; -exports.debuglog = function(set) { - if (isUndefined(debugEnviron)) - debugEnviron = process.env.NODE_DEBUG || ''; - set = set.toUpperCase(); - if (!debugs[set]) { - if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) { - var pid = process.pid; - debugs[set] = function() { - var msg = exports.format.apply(exports, arguments); - console.error('%s %d: %s', set, pid, msg); - }; - } else { - debugs[set] = function() {}; - } - } - return debugs[set]; -}; - - -/** - * Echos the value of a value. Trys to print the value out - * in the best way possible given the different types. - * - * @param {Object} obj The object to print out. - * @param {Object} opts Optional options object that alters the output. - */ -/* legacy: obj, showHidden, depth, colors*/ -function inspect(obj, opts) { - // default options - var ctx = { - seen: [], - stylize: stylizeNoColor - }; - // legacy... - if (arguments.length >= 3) ctx.depth = arguments[2]; - if (arguments.length >= 4) ctx.colors = arguments[3]; - if (isBoolean(opts)) { - // legacy... - ctx.showHidden = opts; - } else if (opts) { - // got an "options" object - exports._extend(ctx, opts); - } - // set default options - if (isUndefined(ctx.showHidden)) ctx.showHidden = false; - if (isUndefined(ctx.depth)) ctx.depth = 2; - if (isUndefined(ctx.colors)) ctx.colors = false; - if (isUndefined(ctx.customInspect)) ctx.customInspect = true; - if (ctx.colors) ctx.stylize = stylizeWithColor; - return formatValue(ctx, obj, ctx.depth); -} -exports.inspect = inspect; - - -// http://en.wikipedia.org/wiki/ANSI_escape_code#graphics -inspect.colors = { - 'bold' : [1, 22], - 'italic' : [3, 23], - 'underline' : [4, 24], - 'inverse' : [7, 27], - 'white' : [37, 39], - 'grey' : [90, 39], - 'black' : [30, 39], - 'blue' : [34, 39], - 'cyan' : [36, 39], - 'green' : [32, 39], - 'magenta' : [35, 39], - 'red' : [31, 39], - 'yellow' : [33, 39] -}; - -// Don't use 'blue' not visible on cmd.exe -inspect.styles = { - 'special': 'cyan', - 'number': 'yellow', - 'boolean': 'yellow', - 'undefined': 'grey', - 'null': 'bold', - 'string': 'green', - 'date': 'magenta', - // "name": intentionally not styling - 'regexp': 'red' -}; - - -function stylizeWithColor(str, styleType) { - var style = inspect.styles[styleType]; - - if (style) { - return '\u001b[' + inspect.colors[style][0] + 'm' + str + - '\u001b[' + inspect.colors[style][1] + 'm'; - } else { - return str; - } -} - - -function stylizeNoColor(str, styleType) { - return str; -} - - -function arrayToHash(array) { - var hash = {}; - - array.forEach(function(val, idx) { - hash[val] = true; - }); - - return hash; -} - - -function formatValue(ctx, value, recurseTimes) { - // Provide a hook for user-specified inspect functions. - // Check that value is an object with an inspect function on it - if (ctx.customInspect && - value && - isFunction(value.inspect) && - // Filter out the util module, it's inspect function is special - value.inspect !== exports.inspect && - // Also filter out any prototype objects using the circular check. - !(value.constructor && value.constructor.prototype === value)) { - var ret = value.inspect(recurseTimes, ctx); - if (!isString(ret)) { - ret = formatValue(ctx, ret, recurseTimes); - } - return ret; - } - - // Primitive types cannot have properties - var primitive = formatPrimitive(ctx, value); - if (primitive) { - return primitive; - } - - // Look up the keys of the object. - var keys = Object.keys(value); - var visibleKeys = arrayToHash(keys); - - if (ctx.showHidden) { - keys = Object.getOwnPropertyNames(value); - } - - // IE doesn't make error fields non-enumerable - // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx - if (isError(value) - && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) { - return formatError(value); - } - - // Some type of object without properties can be shortcutted. - if (keys.length === 0) { - if (isFunction(value)) { - var name = value.name ? ': ' + value.name : ''; - return ctx.stylize('[Function' + name + ']', 'special'); - } - if (isRegExp(value)) { - return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); - } - if (isDate(value)) { - return ctx.stylize(Date.prototype.toString.call(value), 'date'); - } - if (isError(value)) { - return formatError(value); - } - } - - var base = '', array = false, braces = ['{', '}']; - - // Make Array say that they are Array - if (isArray(value)) { - array = true; - braces = ['[', ']']; - } - - // Make functions say that they are functions - if (isFunction(value)) { - var n = value.name ? ': ' + value.name : ''; - base = ' [Function' + n + ']'; - } - - // Make RegExps say that they are RegExps - if (isRegExp(value)) { - base = ' ' + RegExp.prototype.toString.call(value); - } - - // Make dates with properties first say the date - if (isDate(value)) { - base = ' ' + Date.prototype.toUTCString.call(value); - } - - // Make error with message first say the error - if (isError(value)) { - base = ' ' + formatError(value); - } - - if (keys.length === 0 && (!array || value.length == 0)) { - return braces[0] + base + braces[1]; - } - - if (recurseTimes < 0) { - if (isRegExp(value)) { - return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); - } else { - return ctx.stylize('[Object]', 'special'); - } - } - - ctx.seen.push(value); - - var output; - if (array) { - output = formatArray(ctx, value, recurseTimes, visibleKeys, keys); - } else { - output = keys.map(function(key) { - return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array); - }); - } - - ctx.seen.pop(); - - return reduceToSingleString(output, base, braces); -} - - -function formatPrimitive(ctx, value) { - if (isUndefined(value)) - return ctx.stylize('undefined', 'undefined'); - if (isString(value)) { - var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '') - .replace(/'/g, "\\'") - .replace(/\\"/g, '"') + '\''; - return ctx.stylize(simple, 'string'); - } - if (isNumber(value)) - return ctx.stylize('' + value, 'number'); - if (isBoolean(value)) - return ctx.stylize('' + value, 'boolean'); - // For some reason typeof null is "object", so special case here. - if (isNull(value)) - return ctx.stylize('null', 'null'); -} - - -function formatError(value) { - return '[' + Error.prototype.toString.call(value) + ']'; -} - - -function formatArray(ctx, value, recurseTimes, visibleKeys, keys) { - var output = []; - for (var i = 0, l = value.length; i < l; ++i) { - if (hasOwnProperty(value, String(i))) { - output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, - String(i), true)); - } else { - output.push(''); - } - } - keys.forEach(function(key) { - if (!key.match(/^\d+$/)) { - output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, - key, true)); - } - }); - return output; -} - - -function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) { - var name, str, desc; - desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] }; - if (desc.get) { - if (desc.set) { - str = ctx.stylize('[Getter/Setter]', 'special'); - } else { - str = ctx.stylize('[Getter]', 'special'); - } - } else { - if (desc.set) { - str = ctx.stylize('[Setter]', 'special'); - } - } - if (!hasOwnProperty(visibleKeys, key)) { - name = '[' + key + ']'; - } - if (!str) { - if (ctx.seen.indexOf(desc.value) < 0) { - if (isNull(recurseTimes)) { - str = formatValue(ctx, desc.value, null); - } else { - str = formatValue(ctx, desc.value, recurseTimes - 1); - } - if (str.indexOf('\n') > -1) { - if (array) { - str = str.split('\n').map(function(line) { - return ' ' + line; - }).join('\n').substr(2); - } else { - str = '\n' + str.split('\n').map(function(line) { - return ' ' + line; - }).join('\n'); - } - } - } else { - str = ctx.stylize('[Circular]', 'special'); - } - } - if (isUndefined(name)) { - if (array && key.match(/^\d+$/)) { - return str; - } - name = JSON.stringify('' + key); - if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) { - name = name.substr(1, name.length - 2); - name = ctx.stylize(name, 'name'); - } else { - name = name.replace(/'/g, "\\'") - .replace(/\\"/g, '"') - .replace(/(^"|"$)/g, "'"); - name = ctx.stylize(name, 'string'); - } - } - - return name + ': ' + str; -} - - -function reduceToSingleString(output, base, braces) { - var numLinesEst = 0; - var length = output.reduce(function(prev, cur) { - numLinesEst++; - if (cur.indexOf('\n') >= 0) numLinesEst++; - return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1; - }, 0); - - if (length > 60) { - return braces[0] + - (base === '' ? '' : base + '\n ') + - ' ' + - output.join(',\n ') + - ' ' + - braces[1]; - } - - return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1]; -} - - -// NOTE: These type checking functions intentionally don't use `instanceof` -// because it is fragile and can be easily faked with `Object.create()`. -function isArray(ar) { - return Array.isArray(ar); -} -exports.isArray = isArray; - -function isBoolean(arg) { - return typeof arg === 'boolean'; -} -exports.isBoolean = isBoolean; - -function isNull(arg) { - return arg === null; -} -exports.isNull = isNull; - -function isNullOrUndefined(arg) { - return arg == null; -} -exports.isNullOrUndefined = isNullOrUndefined; - -function isNumber(arg) { - return typeof arg === 'number'; -} -exports.isNumber = isNumber; - -function isString(arg) { - return typeof arg === 'string'; -} -exports.isString = isString; - -function isSymbol(arg) { - return typeof arg === 'symbol'; -} -exports.isSymbol = isSymbol; - -function isUndefined(arg) { - return arg === void 0; -} -exports.isUndefined = isUndefined; - -function isRegExp(re) { - return isObject(re) && objectToString(re) === '[object RegExp]'; -} -exports.isRegExp = isRegExp; - -function isObject(arg) { - return typeof arg === 'object' && arg !== null; -} -exports.isObject = isObject; - -function isDate(d) { - return isObject(d) && objectToString(d) === '[object Date]'; -} -exports.isDate = isDate; - -function isError(e) { - return isObject(e) && - (objectToString(e) === '[object Error]' || e instanceof Error); -} -exports.isError = isError; - -function isFunction(arg) { - return typeof arg === 'function'; -} -exports.isFunction = isFunction; - -function isPrimitive(arg) { - return arg === null || - typeof arg === 'boolean' || - typeof arg === 'number' || - typeof arg === 'string' || - typeof arg === 'symbol' || // ES6 symbol - typeof arg === 'undefined'; -} -exports.isPrimitive = isPrimitive; - -exports.isBuffer = require('./support/isBuffer'); - -function objectToString(o) { - return Object.prototype.toString.call(o); -} - - -function pad(n) { - return n < 10 ? '0' + n.toString(10) : n.toString(10); -} - - -var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', - 'Oct', 'Nov', 'Dec']; - -// 26 Feb 16:19:34 -function timestamp() { - var d = new Date(); - var time = [pad(d.getHours()), - pad(d.getMinutes()), - pad(d.getSeconds())].join(':'); - return [d.getDate(), months[d.getMonth()], time].join(' '); -} - - -// log is just a thin wrapper to console.log that prepends a timestamp -exports.log = function() { - console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments)); -}; - - -/** - * Inherit the prototype methods from one constructor into another. - * - * The Function.prototype.inherits from lang.js rewritten as a standalone - * function (not on Function.prototype). NOTE: If this file is to be loaded - * during bootstrapping this function needs to be rewritten using some native - * functions as prototype setup using normal JavaScript does not work as - * expected during bootstrapping (see mirror.js in r114903). - * - * @param {function} ctor Constructor function which needs to inherit the - * prototype. - * @param {function} superCtor Constructor function to inherit prototype from. - */ -exports.inherits = require('inherits'); - -exports._extend = function(origin, add) { - // Don't do anything if add isn't an object - if (!add || !isObject(add)) return origin; - - var keys = Object.keys(add); - var i = keys.length; - while (i--) { - origin[keys[i]] = add[keys[i]]; - } - return origin; -}; - -function hasOwnProperty(obj, prop) { - return Object.prototype.hasOwnProperty.call(obj, prop); -} - -}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./support/isBuffer":43,"_process":42,"inherits":41}]},{},[36]); diff --git a/package.json b/package.json index ee76085..def39d0 100644 --- a/package.json +++ b/package.json @@ -3,12 +3,25 @@ "version": "1.0.0", "description": "", "main": "Tesseract.js", + "scripts": { + "start": "node devServer.js", + "build": "webpack --config webpack.config.prod.js" + }, "dependencies": { "level-js": "^2.1.6", "pako": "^0.2.7", "tesseract.js-core": "^1.0.0" }, - "devDependencies": {}, + "devDependencies": { + "babel": "^6.5.2", + "babel-core": "^6.7.0", + "babel-loader": "^6.2.4", + "express": "^4.13.4", + "webpack": "^1.13.0", + "webpack-dev-middleware": "^1.5.1", + "babel-preset-stage-1": "^6.5.0", + "babel-preset-es2015": "^6.6.0" + }, "repository": { "type": "git", "url": "https://github.com/naptha/tesseract.js.git" diff --git a/src/Tesseract.js b/src/Tesseract.js deleted file mode 100644 index 47972e5..0000000 --- a/src/Tesseract.js +++ /dev/null @@ -1,130 +0,0 @@ -var Tesseract = (function(){ - - var Tesseract = {} - - //https://cdn.rawgit.com/naptha/tesseract.js/master/worker/worker.js - //https://rawgit.com/naptha/tesseract.js/master/worker/worker.js for testing - //https://cdn.rawgit.com/naptha/tesseract.js/master/worker/worker.js - - var blob = new Blob(["importScripts('__worker__');"]); // changed on build - // console.log('localhost') - var worker = new Worker(window.URL.createObjectURL(blob)); - worker.postMessage({init: {mem: 16777216*6}}) - var bigworker = false - - var index = 0 - var handlers = [] - - worker.onmessage = function(e){ - var handler = handlers[e.data.index] - if(e.data.progress){ - handler.progress(e.data.progress) - } - else if(e.data.err){ - handler.reject(e.data.err) - handler.callback(e.data.err) - } - else { - handler.resolve(e.data.result) - handler.callback(null,e.data.result) - } - } - - function convertToImageData(image){ - if(image.getContext){ - image = image.getContext('2d'); - }else if(image.tagName == "IMG" || image.tagName == "VIDEO"){ - var c = document.createElement('canvas'); - if(image.tagName == "IMG"){ - c.width = image.naturalWidth; - c.height = image.naturalHeight; - }else if(image.tagName == "VIDEO"){ - c.width = image.videoWidth; - c.height = image.videoHeight; - } - var ctx = c.getContext('2d'); - ctx.drawImage(image, 0, 0); - image = ctx; - } - if(image.getImageData) image = image.getImageData(0, 0, image.canvas.width, image.canvas.height); - return image - } - - Tesseract.detect = function(image, progress, callback){ - image = convertToImageData(image) - - if(typeof progress === "undefined"){ - progress = callback = new Function() - } - - if (typeof callback === "undefined"){ - callback = progress - progress = new Function() - } - - var i = index++ - - handlers[i] = { - resolve: new Function(), - reject: new Function() - } - handlers[i].callback = callback - handlers[i].progress = progress - - return new Promise(function(resolve, reject){ - handlers[i].resolve = resolve - handlers[i].reject = reject - worker.postMessage({index: i, fun: 'detect', image: image}) - }) - - } - - Tesseract.recognize = function(image, options, callback){ - var lang = options.lang - if (typeof lang === "undefined"){ - lang = 'eng' - } - - if (!bigworker && ['chi_sim', 'chi_tra', 'jpn'].indexOf(lang) != -1){ - worker.postMessage({init: {mem: 16777216*10}}) - bigworker = true - console.log('started big worker') - } - - if (typeof options === 'string') { - lang = options - options = {} - } - - if (typeof options === "function") { - callback = options - options = {} - } - - image = convertToImageData(image) - - var i = index++ - - handlers[i] = { - resolve: new Function(), - reject: new Function() - } - handlers[i].callback = callback || new Function() - handlers[i].progress = (function(){ - if(typeof options.progress === 'function'){ - var p = options.progress - delete options.progress - return p - } - return function(){} - })() - - return new Promise(function(resolve, reject){ - handlers[i].resolve = resolve - handlers[i].reject = reject - worker.postMessage({index: i, fun: 'recognize', image: image, lang: lang, options: options}) - }) - - } - return Tesseract -})() \ No newline at end of file diff --git a/src/browser/index.js b/src/browser/index.js new file mode 100644 index 0000000..3bad2a0 --- /dev/null +++ b/src/browser/index.js @@ -0,0 +1,65 @@ +//TODO: replace with cdn url +module.exports = function Tesseract(url=location.href+'build/tesseract.worker.js'){ + var blob = new Blob(["importScripts('"+url+"');"]) + var worker = new Worker(window.URL.createObjectURL(blob)); + + var bigworker = false + var jobCounter = 0 + var handlers = {} + + function runAsync(action, args){ + var jobId = jobCounter++ + handlers[jobId] = {} + var message = {jobId, action, args} + console.log(message) + worker.postMessage(message) + return { + then (f){ handlers[jobId].result = f; return this}, + error (f){ handlers[jobId].error = f; return this}, + progress(f){ handlers[jobId].progress = f; return this} + } + } + + worker.onmessage = function(e){ + var {jobId, progress, error, result} = e.data + var handler = handlers[jobId] + if(progress && handler.progress) handler.progress(progress); + if(error && handler.error) handler.error(error); + if(result && handler.result) handler.result(result); + } + + function convertToImageData(image){ + if(image.getContext) image = image.getContext('2d'); + else if(image.tagName == "IMG" || image.tagName == "VIDEO"){ + var c = document.createElement('canvas'); + c.width = image.naturalWidth || image.videoWidth; + c.height = image.naturalHeight || image.videoHeight; + var ctx = c.getContext('2d'); + ctx.drawImage(image, 0, 0); + image = ctx; + } + if(image.getImageData) image = image.getImageData(0, 0, image.canvas.width, image.canvas.height); + return image + } + + runAsync('init', {mem: (1<<24) * 6}) + + return { + detect(image){ + return runAsync('detect', {image: convertToImageData(image)}) + }, + + recognize(image, options='eng'){ + + if (typeof options === 'string') options = {lang: options}; + else options.lang = options.lang || 'eng'; + + if (!bigworker && ['chi_sim', 'chi_tra', 'jpn'].indexOf(options.lang) != -1){ + runAsync('init', {mem: (1<<24) * 10}) + bigworker = true + } + + return runAsync('recognize', {options, image: convertToImageData(image)}) + } + } +} \ No newline at end of file diff --git a/src/worker.js b/src/worker.js deleted file mode 100644 index 9b77e27..0000000 --- a/src/worker.js +++ /dev/null @@ -1,533 +0,0 @@ -var Tesseract304 = require('tesseract.js-core') -var leveljs = require('level-js') -var db; -if (typeof indexedDB === 'undefined'){ - db = { open: function(opts, cb){ cb(true) /*err = true*/ } } -} -else { - db = leveljs('./tessdata') -} - -console.log('hallo') - -var filesizes = {"afr": 1079573, "ara": 1701536, "aze": 1420865, "bel": 1276820, "ben": 6772012, "bul": 1605615, "cat": 1652368, "ces": 1035441, "chi_sim": 17710414, "chi_tra": 24717749, "chr": 320649, "dan-frak": 677656, "dan": 1972936, "deu-frak": 822644, "deu": 991656, "ell": 859719, "eng": 9453554, "enm": 619254, "epo": 1241212, "equ": 821130, "est": 1905040, "eus": 1641190, "fin": 979418, "fra": 1376221, "frk": 5912963, "frm": 5147082, "glg": 1674938, "grc": 3012615, "heb": 1051501, "hin": 6590065, "hrv": 1926995, "hun": 3074473, "ind": 1874776, "isl": 1634041, "ita": 948593, "ita_old": 3436571, "jpn": 13507168, "kan": 4390317, "kor": 5353098, "lav": 1843944, "lit": 1779240, "mal": 5966263, "meme": 88453, "mkd": 1163087, "mlt": 1463001, "msa": 1665427, "nld": 1134708, "nor": 2191610, "osd": 4274649, "pol": 7024662, "por": 909359, "ron": 915680, "rus": 5969957, "slk-frak": 289885, "slk": 2217342, "slv": 1611338, "spa": 883170, "spa_old": 5647453, "sqi": 1667041, "srp": 1770244, "swa": 757916, "swe": 2451917, "tam": 3498763, "tel": 5795246, "tgl": 1496256, "tha": 3811136, "tur": 3563264, "ukr": 937566, "vie": 2195922} - -var pako = require('pako') - -var T; - -var tesseractinit = (function createTesseractInstance(memory){ - - curindex = 0 - - var Module = Tesseract304({ - TOTAL_MEMORY: memory, //must be a multiple of 10 megabytes - TesseractProgress: function(percent){ - postMessage({ - index: curindex, - 'progress': { - 'recognized': Math.max(0,(percent-30)/70) - } - }) - }//, - // onRuntimeInitialized: function(){ - // console.log('wau') - // } - }) - - var base = new Module.TessBaseAPI() - var loaded_langs = [] - var loadLanguage = function(lang, index, cb){ // NodeJS style callback - if(loaded_langs.indexOf(lang) != -1){ - cb(null, lang) - } - else{ - Module.FS_createPath("/","tessdata",true,true) - - var downloadlang = function(shouldcache){ - postMessage({ - index: index, - 'progress': { - 'loaded_lang_model': 0, - cached: false, - requesting: true - } - }) - var xhr = new XMLHttpRequest(); - xhr.open('GET', 'https://cdn.rawgit.com/naptha/tessdata/gh-pages/3.02/'+lang+'.traineddata.gz', true); - xhr.responseType = 'arraybuffer'; - xhr.onerror = function(){ cb(xhr, null) } - xhr.onprogress = function(e){ - postMessage({ - index: index, - 'progress': { - 'loaded_lang_model': e.loaded/filesizes[lang], //this is kinda wrong on safari - cached: false - } - }) - } - xhr.onload = function(){ - if (xhr.status == 200 || (xhr.status == 0 && xhr.response)) { - postMessage({ - index: index, - 'progress': 'unzipping_lang_model' - }) - - var response = new Uint8Array(xhr.response) - - while(response[0] == 0x1f && response[1] == 0x8b){ - response = pako.ungzip(response) - } - console.log('asdf') - - postMessage({ - index: index, - 'progress': { - 'unzipped_lang_model': true, - 'lang_model_size': response.length - } - }) - - Module.FS_createDataFile('tessdata', lang +".traineddata", response, true, false); - - if(shouldcache){ - db.put(lang, response, function(err){ - console.log('cached lang') - }) - } - - postMessage({ - index: index, - 'progress': { - 'created_virtual_datafile': true, - 'cached_file': shouldcache - } - }) - - loaded_langs.push(lang) - - cb(null, lang) - } else cb(xhr, null); - } - xhr.send(null) - } - - db.open({compression: false},function(err){ - // err = true - if (err) { - downloadlang(false) - } - else { - db.get(lang, function (err, value) { - - // err = true - - if (err) { - downloadlang(true) - } - else { - - while(value[0] == 0x1f && value[1] == 0x8b){ - value = pako.ungzip(value) - } - - postMessage({ - index: index, - 'progress': { - loaded_lang_model:1, - cached: true - } - }) - - Module.FS_createDataFile('tessdata', lang +".traineddata", value, true, false); - loaded_langs.push(lang) - cb(null, lang) - } - }) - } - }) - } - } - - function circularize(page){ - page.paragraphs = [] - page.lines = [] - page.words = [] - page.symbols = [] - - page.blocks.forEach(function(block){ - block.page = page; - - block.lines = [] - block.words = [] - block.symbols = [] - - block.paragraphs.forEach(function(para){ - para.block = block; - para.page = page; - - para.words = [] - para.symbols = [] - - para.lines.forEach(function(line){ - line.paragraph = para; - line.block = block; - line.page = page; - - line.symbols = [] - - line.words.forEach(function(word){ - word.line = line; - word.paragraph = para; - word.block = block; - word.page = page; - word.symbols.forEach(function(sym){ - sym.word = word; - sym.line = line; - sym.paragraph = para; - sym.block = block; - sym.page = page; - - sym.line.symbols.push(sym) - sym.paragraph.symbols.push(sym) - sym.block.symbols.push(sym) - sym.page.symbols.push(sym) - }) - word.paragraph.words.push(word) - word.block.words.push(word) - word.page.words.push(word) - }) - line.block.lines.push(line) - line.page.lines.push(line) - }) - para.page.paragraphs.push(para) - }) - }) - return page - } - - function DumpLiterallyEverything(){ - var ri = base.GetIterator(); - var blocks = []; - var block, para, textline, word, symbol; - - function enumToString(value, prefix){ - return (Object.keys(Module) - .filter(function(e){ return e.substr(0, prefix.length + 1) == prefix + '_' }) - .filter(function(e){ return Module[e] === value }) - .map(function(e){ return e.slice(prefix.length + 1) })[0]) - } - - ri.Begin() - do { - if(ri.IsAtBeginningOf(Module.RIL_BLOCK)){ - var poly = ri.BlockPolygon(); - var polygon = null; - // BlockPolygon() returns null when automatic page segmentation is off - if(Module.getPointer(poly) > 0){ - var n = poly.get_n(), - px = poly.get_x(), - py = poly.get_y(), - polygon = []; - for(var i = 0; i < n; i++){ - polygon.push([px.getValue(i), py.getValue(i)]); - } - Module._ptaDestroy(Module.getPointer(poly)); - } - - block = { - paragraphs: [], - - text: ri.GetUTF8Text(Module.RIL_BLOCK), - confidence: ri.Confidence(Module.RIL_BLOCK), - baseline: ri.getBaseline(Module.RIL_BLOCK), - bbox: ri.getBoundingBox(Module.RIL_BLOCK), - - blocktype: enumToString(ri.BlockType(), 'PT'), - polygon: polygon - } - blocks.push(block) - } - if(ri.IsAtBeginningOf(Module.RIL_PARA)){ - para = { - lines: [], - - text: ri.GetUTF8Text(Module.RIL_PARA), - confidence: ri.Confidence(Module.RIL_PARA), - baseline: ri.getBaseline(Module.RIL_PARA), - bbox: ri.getBoundingBox(Module.RIL_PARA), - - is_ltr: !!ri.ParagraphIsLtr() - } - block.paragraphs.push(para) - } - if(ri.IsAtBeginningOf(Module.RIL_TEXTLINE)){ - textline = { - words: [], - - text: ri.GetUTF8Text(Module.RIL_TEXTLINE), - confidence: ri.Confidence(Module.RIL_TEXTLINE), - baseline: ri.getBaseline(Module.RIL_TEXTLINE), - bbox: ri.getBoundingBox(Module.RIL_TEXTLINE) - } - para.lines.push(textline) - } - if(ri.IsAtBeginningOf(Module.RIL_WORD)){ - var fontInfo = ri.getWordFontAttributes(), - wordDir = ri.WordDirection(); - word = { - symbols: [], - choices: [], - - text: ri.GetUTF8Text(Module.RIL_WORD), - confidence: ri.Confidence(Module.RIL_WORD), - baseline: ri.getBaseline(Module.RIL_WORD), - bbox: ri.getBoundingBox(Module.RIL_WORD), - - is_numeric: !!ri.WordIsNumeric(), - in_dictionary: !!ri.WordIsFromDictionary(), - direction: enumToString(wordDir, 'DIR'), - language: ri.WordRecognitionLanguage(), - - is_bold: fontInfo.is_bold, - is_italic: fontInfo.is_italic, - is_underlined: fontInfo.is_underlined, - is_monospace: fontInfo.is_monospace, - is_serif: fontInfo.is_serif, - is_smallcaps: fontInfo.is_smallcaps, - font_size: fontInfo.pointsize, - font_id: fontInfo.font_id, - font_name: fontInfo.font_name, - } - var wc = new Module.WordChoiceIterator(ri); - do { - word.choices.push({ - text: wc.GetUTF8Text(), - confidence: wc.Confidence() - }) - } while (wc.Next()); - Module.destroy(wc) - textline.words.push(word) - } - - var image = null; - // var pix = ri.GetBinaryImage(Module.RIL_SYMBOL) - // var image = pix2array(pix); - // // for some reason it seems that things stop working if you destroy pics - // Module._pixDestroy(Module.getPointer(pix)); - if(ri.IsAtBeginningOf(Module.RIL_SYMBOL)){ - symbol = { - choices: [], - image: image, - - text: ri.GetUTF8Text(Module.RIL_SYMBOL), - confidence: ri.Confidence(Module.RIL_SYMBOL), - baseline: ri.getBaseline(Module.RIL_SYMBOL), - bbox: ri.getBoundingBox(Module.RIL_SYMBOL), - - is_superscript: !!ri.SymbolIsSuperscript(), - is_subscript: !!ri.SymbolIsSubscript(), - is_dropcap: !!ri.SymbolIsDropcap(), - } - word.symbols.push(symbol) - var ci = new Module.ChoiceIterator(ri); - do { - symbol.choices.push({ - text: ci.GetUTF8Text(), - confidence: ci.Confidence() - }) - } while (ci.Next()); - Module.destroy(ci) - } - } while (ri.Next(Module.RIL_SYMBOL)); - Module.destroy(ri) - - return { - text: base.GetUTF8Text(), - html: deindent(base.GetHOCRText()), - - confidence: base.MeanTextConf(), - - blocks: blocks, - - psm: enumToString(base.GetPageSegMode(), 'PSM'), - oem: enumToString(base.oem(), 'OEM'), - version: base.Version(), - } - } - - function deindent(html){ - var lines = html.split('\n') - if(lines[0].substring(0,2) === " "){ - for (var i = 0; i < lines.length; i++) { - if (lines[i].substring(0,2) === " ") { - lines[i] = lines[i].slice(2) - } - }; - } - return lines.join('\n') - } - - function desaturate(image){ - var width, height; - if(image.data){ - var src = image.data; - width = image.width, height = image.height; - var dst = new Uint8Array(width * height); - var srcLength = src.length | 0, srcLength_16 = (srcLength - 16) | 0; - - for (var i = 0, j = 0; i <= srcLength_16; i += 16, j += 4) { - // convert to grayscale 4 pixels at a time; eveything with alpha get put in front of 50% gray - dst[j] = (((src[i] * 77 + src[i+1] * 151 + src[i+2] * 28) * src[i+3]) + ((255-src[i+3]) << 15) + 32768) >> 16 - dst[j+1] = (((src[i+4] * 77 + src[i+5] * 151 + src[i+6] * 28) * src[i+7]) + ((255-src[i+7]) << 15) + 32768) >> 16 - dst[j+2] = (((src[i+8] * 77 + src[i+9] * 151 + src[i+10] * 28) * src[i+11]) + ((255-src[i+11]) << 15) + 32768) >> 16 - dst[j+3] = (((src[i+12] * 77 + src[i+13] * 151 + src[i+14] * 28) * src[i+15]) + ((255-src[i+15]) << 15) + 32768) >> 16 - - } - for (; i < srcLength; i += 4, ++j) //finish up - dst[j] = (((src[i] * 77 + src[i+1] * 151 + src[i+2] * 28) * src[i+3]) + ((255-src[i+3]) << 15) + 32768) >> 16 - - image = dst; - } - else { - throw 'Expected ImageData' - } - return image - } - - function recognize(index, image, lang, options, cb){ - - - var width = image.width, height = image.height; - - image = desaturate(image) - - var ptr = Module.allocate(image, 'i8', Module.ALLOC_NORMAL); - - loadLanguage(lang, index, function(err, result){ - - if(err){ - console.error("error loading", lang); - Module._free(ptr); - cb(err, null) - } - else { - curindex = index - - base.Init(null, lang) - - postMessage({ - index: index, - 'progress': { - 'initialized_with_lang': true, - 'lang': lang - } - }) - - for (var option in options) { - if (options.hasOwnProperty(option)) { - base.SetVariable(option, options[option]); - postMessage({ - index: index, - 'progress': { - 'set_variable': { - variable: option, - value: options[option] - } - } - }) - } - } - - - base.SetImage(Module.wrapPointer(ptr), width, height, 1, width) - base.SetRectangle(0, 0, width, height) - // base.GetUTF8Text() - base.Recognize(null) - var everything = circularize(DumpLiterallyEverything()) - base.End(); - Module._free(ptr); - cb(null, everything) - - } - }) - } - - function detect(index, image, cb){ - var width = image.width, height = image.height; - image = desaturate(image) - - var ptr = Module.allocate(image, 'i8', Module.ALLOC_NORMAL); - console.log('allocated image') - // base = new Module.TessBaseAPI() - - loadLanguage('osd', index, function(err, result){ - if(err){ - Module._free(ptr); - cb(err) - } - else { - curindex = index - base.Init(null, 'osd') - base.SetPageSegMode(Module.PSM_OSD_ONLY) - console.log('loaded language') - - base.SetImage(Module.wrapPointer(ptr), width, height, 1, width) - base.SetRectangle(0, 0, width, height) - - var results = new Module.OSResults(); - var success = base.DetectOS(results); - if(!success){ - base.End(); - Module._free(ptr); - cb("failed to detect os") - } - else { - var charset = results.get_unicharset() - console.log(charset) - // results.print_scores() - - var best = results.get_best_result() - var oid = best.get_orientation_id(), - sid = best.get_script_id(); - // console.log('orientation id', oid, [0, 270, 180, 90][oid], best.get_oconfidence()) - // console.log('script id', sid, charset.get_script_from_script_id(sid), best.get_sconfidence()) - // console.log(best) - - cb(null, { - tesseract_script_id: sid, - script: charset.get_script_from_script_id(sid), - script_confidence: best.get_sconfidence(), - orientation_degrees: [0, 270, 180, 90][oid], - orientation_confidence: best.get_oconfidence() - }) - - base.End(); - Module._free(ptr); - } - } - }) - } - - return { - recognize: recognize, - detect: detect - } -}) - -onmessage = function(e) { - - if(e.data.init){ - T = tesseractinit(e.data.init.mem) - } - else if(e.data.fun === 'recognize'){ - T.recognize(e.data.index, e.data.image, e.data.lang, e.data.options, function(err, result){ - postMessage({index: e.data.index, err:err, result: result}) - }) - } - else if(e.data.fun === 'detect'){ - T.detect(e.data.index, e.data.image, function(err, result){ - postMessage({index: e.data.index, err:err, result: result}) - }) - } -} \ No newline at end of file diff --git a/src/worker/circularize.js b/src/worker/circularize.js new file mode 100644 index 0000000..4ad180f --- /dev/null +++ b/src/worker/circularize.js @@ -0,0 +1,56 @@ +export default function circularize(page){ + page.paragraphs = [] + page.lines = [] + page.words = [] + page.symbols = [] + + page.blocks.forEach(function(block){ + block.page = page; + + block.lines = [] + block.words = [] + block.symbols = [] + + block.paragraphs.forEach(function(para){ + para.block = block; + para.page = page; + + para.words = [] + para.symbols = [] + + para.lines.forEach(function(line){ + line.paragraph = para; + line.block = block; + line.page = page; + + line.symbols = [] + + line.words.forEach(function(word){ + word.line = line; + word.paragraph = para; + word.block = block; + word.page = page; + word.symbols.forEach(function(sym){ + sym.word = word; + sym.line = line; + sym.paragraph = para; + sym.block = block; + sym.page = page; + + sym.line.symbols.push(sym) + sym.paragraph.symbols.push(sym) + sym.block.symbols.push(sym) + sym.page.symbols.push(sym) + }) + word.paragraph.words.push(word) + word.block.words.push(word) + word.page.words.push(word) + }) + line.block.lines.push(line) + line.page.lines.push(line) + }) + para.page.paragraphs.push(para) + }) + }) + return page +} \ No newline at end of file diff --git a/src/worker/db.js b/src/worker/db.js new file mode 100644 index 0000000..a33c458 --- /dev/null +++ b/src/worker/db.js @@ -0,0 +1,3 @@ +import leveljs from 'level-js' +var db = typeof indexedDB === 'undefined' ? { open: (_, cb) => cb(true) } : leveljs('./tessdata') +export default db \ No newline at end of file diff --git a/src/worker/desaturate.js b/src/worker/desaturate.js new file mode 100644 index 0000000..d027e68 --- /dev/null +++ b/src/worker/desaturate.js @@ -0,0 +1,26 @@ +export default function desaturate(image){ + var width, height; + if(image.data){ + var src = image.data; + width = image.width, height = image.height; + var dst = new Uint8Array(width * height); + var srcLength = src.length | 0, srcLength_16 = (srcLength - 16) | 0; + + for (var i = 0, j = 0; i <= srcLength_16; i += 16, j += 4) { + // convert to grayscale 4 pixels at a time; eveything with alpha gets put in front of 50% gray + dst[j] = (((src[i] * 77 + src[i+1] * 151 + src[i+2] * 28) * src[i+3]) + ((255-src[i+3]) << 15) + 32768) >> 16 + dst[j+1] = (((src[i+4] * 77 + src[i+5] * 151 + src[i+6] * 28) * src[i+7]) + ((255-src[i+7]) << 15) + 32768) >> 16 + dst[j+2] = (((src[i+8] * 77 + src[i+9] * 151 + src[i+10] * 28) * src[i+11]) + ((255-src[i+11]) << 15) + 32768) >> 16 + dst[j+3] = (((src[i+12] * 77 + src[i+13] * 151 + src[i+14] * 28) * src[i+15]) + ((255-src[i+15]) << 15) + 32768) >> 16 + + } + for (; i < srcLength; i += 4, ++j) //finish up + dst[j] = (((src[i] * 77 + src[i+1] * 151 + src[i+2] * 28) * src[i+3]) + ((255-src[i+3]) << 15) + 32768) >> 16 + + image = dst; + } + else { + throw 'Expected ImageData' + } + return image +} \ No newline at end of file diff --git a/src/worker/detect.js b/src/worker/detect.js new file mode 100644 index 0000000..1b980a2 --- /dev/null +++ b/src/worker/detect.js @@ -0,0 +1,54 @@ +export default function detect(jobId, module, base, image, cb){ + var width = image.width, height = image.height; + image = desaturate(image) + + var ptr = module.allocate(image, 'i8', module.ALLOC_NORMAL); + console.log('allocated image') + // base = new module.TessBaseAPI() + + loadLanguage('osd', jobId, function(err, result){ + if(err){ + module._free(ptr); + cb(err) + } + else { + base.Init(null, 'osd') + base.SetPageSegMode(module.PSM_OSD_ONLY) + console.log('loaded language') + + base.SetImage(module.wrapPointer(ptr), width, height, 1, width) + base.SetRectangle(0, 0, width, height) + + var results = new module.OSResults(); + var success = base.DetectOS(results); + if(!success){ + base.End(); + module._free(ptr); + cb("failed to detect os") + } + else { + var charset = results.get_unicharset() + console.log(charset) + // results.print_scores() + + var best = results.get_best_result() + var oid = best.get_orientation_id(), + sid = best.get_script_id(); + // console.log('orientation id', oid, [0, 270, 180, 90][oid], best.get_oconfidence()) + // console.log('script id', sid, charset.get_script_from_script_id(sid), best.get_sconfidence()) + // console.log(best) + + cb(null, { + tesseract_script_id: sid, + script: charset.get_script_from_script_id(sid), + script_confidence: best.get_sconfidence(), + orientation_degrees: [0, 270, 180, 90][oid], + orientation_confidence: best.get_oconfidence() + }) + + base.End(); + module._free(ptr); + } + } + }) +} \ No newline at end of file diff --git a/src/worker/dump.js b/src/worker/dump.js new file mode 100644 index 0000000..203e7e0 --- /dev/null +++ b/src/worker/dump.js @@ -0,0 +1,163 @@ +function deindent(html){ + var lines = html.split('\n') + if(lines[0].substring(0,2) === " "){ + for (var i = 0; i < lines.length; i++) { + if (lines[i].substring(0,2) === " ") { + lines[i] = lines[i].slice(2) + } + }; + } + return lines.join('\n') +} + +export default function DumpLiterallyEverything(module, base){ + var ri = base.GetIterator(); + var blocks = []; + var block, para, textline, word, symbol; + + function enumToString(value, prefix){ + return (Object.keys(module) + .filter(function(e){ return e.substr(0, prefix.length + 1) == prefix + '_' }) + .filter(function(e){ return module[e] === value }) + .map(function(e){ return e.slice(prefix.length + 1) })[0]) + } + + const {RIL_BLOCK, RIL_PARA, RIL_TEXTLINE, RIL_WORD, RIL_SYMBOL} = module + + ri.Begin() + do { + if(ri.IsAtBeginningOf(RIL_BLOCK)){ + var poly = ri.BlockPolygon(); + var polygon = null; + // BlockPolygon() returns null when automatic page segmentation is off + if(module.getPointer(poly) > 0){ + var n = poly.get_n(), + px = poly.get_x(), + py = poly.get_y(), + polygon = []; + for(var i = 0; i < n; i++){ + polygon.push([px.getValue(i), py.getValue(i)]); + } + module._ptaDestroy(module.getPointer(poly)); + } + + block = { + paragraphs: [], + + text: ri.GetUTF8Text(RIL_BLOCK), + confidence: ri.Confidence(RIL_BLOCK), + baseline: ri.getBaseline(RIL_BLOCK), + bbox: ri.getBoundingBox(RIL_BLOCK), + + blocktype: enumToString(ri.BlockType(), 'PT'), + polygon: polygon + } + blocks.push(block) + } + if(ri.IsAtBeginningOf(RIL_PARA)){ + para = { + lines: [], + + text: ri.GetUTF8Text(RIL_PARA), + confidence: ri.Confidence(RIL_PARA), + baseline: ri.getBaseline(RIL_PARA), + bbox: ri.getBoundingBox(RIL_PARA), + + is_ltr: !!ri.ParagraphIsLtr() + } + block.paragraphs.push(para) + } + if(ri.IsAtBeginningOf(RIL_TEXTLINE)){ + textline = { + words: [], + + text: ri.GetUTF8Text(RIL_TEXTLINE), + confidence: ri.Confidence(RIL_TEXTLINE), + baseline: ri.getBaseline(RIL_TEXTLINE), + bbox: ri.getBoundingBox(RIL_TEXTLINE) + } + para.lines.push(textline) + } + if(ri.IsAtBeginningOf(RIL_WORD)){ + var fontInfo = ri.getWordFontAttributes(), + wordDir = ri.WordDirection(); + word = { + symbols: [], + choices: [], + + text: ri.GetUTF8Text(RIL_WORD), + confidence: ri.Confidence(RIL_WORD), + baseline: ri.getBaseline(RIL_WORD), + bbox: ri.getBoundingBox(RIL_WORD), + + is_numeric: !!ri.WordIsNumeric(), + in_dictionary: !!ri.WordIsFromDictionary(), + direction: enumToString(wordDir, 'DIR'), + language: ri.WordRecognitionLanguage(), + + is_bold: fontInfo.is_bold, + is_italic: fontInfo.is_italic, + is_underlined: fontInfo.is_underlined, + is_monospace: fontInfo.is_monospace, + is_serif: fontInfo.is_serif, + is_smallcaps: fontInfo.is_smallcaps, + font_size: fontInfo.pointsize, + font_id: fontInfo.font_id, + font_name: fontInfo.font_name, + } + var wc = new module.WordChoiceIterator(ri); + do { + word.choices.push({ + text: wc.GetUTF8Text(), + confidence: wc.Confidence() + }) + } while (wc.Next()); + module.destroy(wc) + textline.words.push(word) + } + + var image = null; + // var pix = ri.GetBinaryImage(RIL_SYMBOL) + // var image = pix2array(pix); + // // for some reason it seems that things stop working if you destroy pics + // module._pixDestroy(module.getPointer(pix)); + if(ri.IsAtBeginningOf(RIL_SYMBOL)){ + symbol = { + choices: [], + image: image, + + text: ri.GetUTF8Text(RIL_SYMBOL), + confidence: ri.Confidence(RIL_SYMBOL), + baseline: ri.getBaseline(RIL_SYMBOL), + bbox: ri.getBoundingBox(RIL_SYMBOL), + + is_superscript: !!ri.SymbolIsSuperscript(), + is_subscript: !!ri.SymbolIsSubscript(), + is_dropcap: !!ri.SymbolIsDropcap(), + } + word.symbols.push(symbol) + var ci = new module.ChoiceIterator(ri); + do { + symbol.choices.push({ + text: ci.GetUTF8Text(), + confidence: ci.Confidence() + }) + } while (ci.Next()); + module.destroy(ci) + } + } while (ri.Next(RIL_SYMBOL)); + module.destroy(ri) + + return { + text: base.GetUTF8Text(), + html: deindent(base.GetHOCRText()), + + confidence: base.MeanTextConf(), + + blocks: blocks, + + psm: enumToString(base.GetPageSegMode(), 'PSM'), + oem: enumToString(base.oem(), 'OEM'), + version: base.Version(), + } +} \ No newline at end of file diff --git a/src/worker/fileSizes.js b/src/worker/fileSizes.js new file mode 100644 index 0000000..7efb8f8 --- /dev/null +++ b/src/worker/fileSizes.js @@ -0,0 +1,2 @@ +const fileSizes = {"afr": 1079573, "ara": 1701536, "aze": 1420865, "bel": 1276820, "ben": 6772012, "bul": 1605615, "cat": 1652368, "ces": 1035441, "chi_sim": 17710414, "chi_tra": 24717749, "chr": 320649, "dan-frak": 677656, "dan": 1972936, "deu-frak": 822644, "deu": 991656, "ell": 859719, "eng": 9453554, "enm": 619254, "epo": 1241212, "equ": 821130, "est": 1905040, "eus": 1641190, "fin": 979418, "fra": 1376221, "frk": 5912963, "frm": 5147082, "glg": 1674938, "grc": 3012615, "heb": 1051501, "hin": 6590065, "hrv": 1926995, "hun": 3074473, "ind": 1874776, "isl": 1634041, "ita": 948593, "ita_old": 3436571, "jpn": 13507168, "kan": 4390317, "kor": 5353098, "lav": 1843944, "lit": 1779240, "mal": 5966263, "meme": 88453, "mkd": 1163087, "mlt": 1463001, "msa": 1665427, "nld": 1134708, "nor": 2191610, "osd": 4274649, "pol": 7024662, "por": 909359, "ron": 915680, "rus": 5969957, "slk-frak": 289885, "slk": 2217342, "slv": 1611338, "spa": 883170, "spa_old": 5647453, "sqi": 1667041, "srp": 1770244, "swa": 757916, "swe": 2451917, "tam": 3498763, "tel": 5795246, "tgl": 1496256, "tha": 3811136, "tur": 3563264, "ukr": 937566, "vie": 2195922} +export default fileSizes; \ No newline at end of file diff --git a/src/worker/index.js b/src/worker/index.js new file mode 100644 index 0000000..3172df8 --- /dev/null +++ b/src/worker/index.js @@ -0,0 +1,39 @@ +import TesseractCore from 'tesseract.js-core' +import pako from 'pako' + +import recognize from './recognize' +import detect from './detect' + +var module, base, jobId + +onmessage = function(e) { + var {action, args} = e.data; + jobId = e.data.jobId + + console.log('worker got action', action) + + if(action == 'init'){ + + module = TesseractCore({ + TOTAL_MEMORY: args.mem, //must be a multiple of 10 megabytes + TesseractProgress(percent){ + postMessage({ jobId, + 'progress': { + 'recognized': Math.max(0,(percent-30)/70) + } + }) + }, + onRuntimeInitialized() {} + }) + module.FS_createPath("/","tessdata",true,true) + base = new module.TessBaseAPI() + + } else if(action === 'recognize'){ + var {image, options} = args + recognize(jobId, module, base, image, options, + (error, result) => postMessage({jobId, error, result})) + } else if(action === 'detect'){ + detect(jobId, module, base, args.image, + (error, result) => postMessage({jobId, error, result})) + } +} \ No newline at end of file diff --git a/src/worker/loadLanguage.js b/src/worker/loadLanguage.js new file mode 100644 index 0000000..386b08e --- /dev/null +++ b/src/worker/loadLanguage.js @@ -0,0 +1,88 @@ +import pako from 'pako' +import db from './db' +import fileSizes from './fileSizes' + +function getLanguageData(lang, progress, cb, url='https://cdn.rawgit.com/naptha/tessdata/gh-pages/3.02/'+lang+'.traineddata.gz'){ + var xhr = new XMLHttpRequest(); + xhr.responseType = 'arraybuffer'; + xhr.open('GET', url, true); + xhr.onerror = e => { + xhr.onprogress = xhr.onload = null + cb(xhr, null) + } + xhr.onprogress = e => progress({ + 'loaded_lang_model': e.loaded/fileSizes[lang], //this is kinda wrong on safari + cached: false + }) + xhr.onload = e => { + if (!(xhr.status == 200 || (xhr.status == 0 && xhr.response))) return cb(xhr, null); + + progress({'unzipping_lang_model': true}) + + var response = new Uint8Array(xhr.response) + while(response[0] == 0x1f && response[1] == 0x8b) response = pako.ungzip(response); + + progress({ + 'unzipped_lang_model': true, + 'lang_model_size': response.length + }) + + cb(null, response) + } + + progress({ + 'loaded_lang_model': 0, + cached: false, + requesting: true + }) + + xhr.send() +} + +// var loaded_langs = [] + +export default function loadLanguage(lang, jobId, cb, url){ + + console.log('loadLanguage jobId', jobId) + + // if(loaded_langs.indexOf(lang) != -1) return cb(null, lang); + + function progressMessage(progress){ + postMessage({ jobId, progress }) + } + + function finish(err, data) { + if(err) return cb(err); + // loaded_langs.push(lang) + cb(null, data) + } + + function createDataFile(err, data){ + progressMessage({ created_virtual_datafile: true}) + finish(err, data) + } + + function createDataFileCached(err, data) { + if(err) return createDataFile(err); + + db.put(lang, data, err => console.log('cached', lang, err)) + progressMessage({cached_lang: lang}) + createDataFile(null, data) + } + + + db.open({compression: false}, err => { + if (err) return getLanguageData(lang, progressMessage, createDataFile, url); + + db.get(lang, (err, data) => { + + if (err) return getLanguageData(lang, progressMessage, createDataFileCached, url) + + while(data[0] == 0x1f && data[1] == 0x8b) data = pako.ungzip(data); + + progressMessage({ loaded_lang_model: lang, from_cache: true }) + + cb(null, data) + }) + }) +} \ No newline at end of file diff --git a/src/worker/recognize.js b/src/worker/recognize.js new file mode 100644 index 0000000..f1107b9 --- /dev/null +++ b/src/worker/recognize.js @@ -0,0 +1,71 @@ +import desaturate from './desaturate' +import loadLanguage from './loadLanguage' +import circularize from './circularize' +import dump from './dump' + +var loaded_langs = [] + +export default function recognize(jobId, module, base, image, options, cb){ + + console.log('recognize id', jobId) + var {lang} = options + var width = image.width, height = image.height; + + image = desaturate(image) + + var ptr = module.allocate(image, 'i8', module.ALLOC_NORMAL); + + + function run() { + base.Init(null, lang) + + postMessage({ + jobId, + 'progress': { + 'initialized_with_lang': lang + } + }) + + for (var option in options) { + if (options.hasOwnProperty(option)) { + base.SetVariable(option, options[option]); + postMessage({ + jobId: jobId, + 'progress': { + 'set_variable': { + variable: option, + value: options[option] + } + } + }) + } + } + + + base.SetImage(module.wrapPointer(ptr), width, height, 1, width) + base.SetRectangle(0, 0, width, height) + // base.GetUTF8Text() + base.Recognize(null) + var everything = circularize(dump(module, base)) + base.End(); + module._free(ptr); + cb(null, everything) + } + + + + if(loaded_langs.indexOf(lang) == -1) loadLanguage(lang, jobId, function(err, result){ + + if(err){ + console.error("error loading", lang); + module._free(ptr); + return cb(err, null); + } + + loaded_langs.push(lang) + module.FS_createDataFile('tessdata', lang +".traineddata", result, true, false); + run() + + }) + else run(); +} \ No newline at end of file diff --git a/webpack.config.dev.js b/webpack.config.dev.js new file mode 100644 index 0000000..25316a0 --- /dev/null +++ b/webpack.config.dev.js @@ -0,0 +1,42 @@ +var path = require('path'); +var webpack = require('webpack'); + +function config({entry, output, include}) { + return { + devtool: 'cheap-module-eval-source-map', + entry, + output: Object.assign({}, output, { + path: path.join(__dirname, 'build'), + publicPath: '/build/', + }), + plugins: [ + new webpack.NoErrorsPlugin() + ], + module: { + loaders: [{ + test: /\.js$/, + loaders: ['babel'], + include + }] + }, + node: { + fs: "empty" + } + } +} + +module.exports = [{ + entry: './src/browser/index.js', + output: { + filename: 'tesseract.js', + library: "Tesseract", + libraryTarget: "umd" + }, + include: [path.join(__dirname, 'src/browser')] +}, { + entry: './src/worker/index.js', + output: { + filename: 'tesseract.worker.js', + }, + include: [path.join(__dirname, 'src/worker')] +}].map(config); \ No newline at end of file diff --git a/webpack.config.prod.js b/webpack.config.prod.js new file mode 100644 index 0000000..302e5eb --- /dev/null +++ b/webpack.config.prod.js @@ -0,0 +1,46 @@ +var path = require('path'); +var webpack = require('webpack'); + +function config({entry, output, include}) { + return { + entry, + output: Object.assign({}, output, { + path: path.join(__dirname, 'dist') + }), + plugins: [ + new webpack.optimize.OccurenceOrderPlugin(), + new webpack.optimize.DedupePlugin(), + new webpack.optimize.UglifyJsPlugin({ + compressor: { + warnings: false + } + }) + ], + module: { + loaders: [{ + test: /\.js$/, + loaders: ['babel'], + include + }] + }, + node: { + fs: "empty" + } + } +} + +module.exports = [{ + entry: './src/browser/index.js', + output: { + filename: 'tesseract.js', + library: "Tesseract", + libraryTarget: "umd" + }, + include: [path.join(__dirname, 'src/browser')] +}, { + entry: './src/worker/index.js', + output: { + filename: 'tesseract.worker.js', + }, + include: [path.join(__dirname, 'src/worker')] +}].map(config); \ No newline at end of file